text: "use strict";(self.webpackChunkng_libs=self.webpackChunkng_libs||[]).push([[179],{3752:(tt,Se,T)=>{var u=T(2313),m=T(5e3),de=T(6360),_e=T(1458);const se=[{path:"",loadChildren:()=>T.e(151).then(T.bind(T,7151)).then(q=>q.HomeModule),pathMatch:"full"},{path:"if-non-nullish",loadChildren:()=>Promise.all([T.e(592),T.e(967)]).then(T.bind(T,5967)).then(q=>q.IfNonNullishModule)},{path:"form-stepper",loadChildren:()=>Promise.all([T.e(592),T.e(178)]).then(T.bind(T,178)).then(q=>q.FormStepperModule)}];let z=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275mod=m.oAB({type:q}),q.\u0275inj=m.cJS({imports:[[_e.Bz.forRoot(se)],_e.Bz]}),q})();var le=T(2654),j=T(2198),Y=T(508),Q=T(9808),X=T(925);const te=["*",[["mat-toolbar-row"]]],Ce=["*","mat-toolbar-row"],ve=(0,Y.pj)(class{constructor(q){this._elementRef=q}});let he=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275dir=m.lG2({type:q,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),q})(),pe=(()=>{class q extends ve{constructor(A,V,Oe){super(A),this._platform=V,this._document=Oe}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return q.\u0275fac=function(A){return new(A||q)(m.Y36(m.SBq),m.Y36(X.t4),m.Y36(Q.K0))},q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-toolbar"]],contentQueries:function(A,V,Oe){if(1&A&&m.Suo(Oe,he,5),2&A){let Be;m.iGM(Be=m.CRH())&&(V._toolbarRows=Be)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(A,V){2&A&&m.ekj("mat-toolbar-multiple-rows",V._toolbarRows.length>0)("mat-toolbar-single-row",0===V._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[m.qOj],ngContentSelectors:Ce,decls:2,vars:0,template:function(A,V){1&A&&(m.F$t(te),m.Hsn(0),m.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),q})(),Le=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275mod=m.oAB({type:q}),q.\u0275inj=m.cJS({imports:[[Y.BQ],Y.BQ]}),q})();var ze=T(7423),Dt=T(8099),Ke=T(5126),ge=T(3191),Ue=T(1159),_t=T(8929),Kt=T(3753),en=T(6787),At=T(4850),Rt=T(3489);function xt(q){return fe=>fe.lift(new ft(q))}class ft{constructor(fe){this.value=fe}call(fe,A){return A.subscribe(new Tt(fe,this.value))}}class Tt extends Rt.L{constructor(fe,A){super(fe),this.value=A}_next(fe){this.destination.next(this.value)}}var He=T(7625),jn=T(5778),mn=T(2986),Ft=T(1059),Lt=T(13),lt=T(1777),an=T(5664),In=T(226);const pn=["*"],Et=["content"];function $t(q,fe){if(1&q){const A=m.EpF();m.TgZ(0,"div",2),m.NdJ("click",function(){return m.CHM(A),m.oxw()._onBackdropClicked()}),m.qZA()}if(2&q){const A=m.oxw();m.ekj("mat-drawer-shown",A._isShowingBackdrop())}}function Bt(q,fe){1&q&&(m.TgZ(0,"mat-drawer-content"),m.Hsn(1,2),m.qZA())}const Pt=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Xt=["mat-drawer","mat-drawer-content","*"];function Cn(q,fe){if(1&q){const A=m.EpF();m.TgZ(0,"div",2),m.NdJ("click",function(){return m.CHM(A),m.oxw()._onBackdropClicked()}),m.qZA()}if(2&q){const A=m.oxw();m.ekj("mat-drawer-shown",A._isShowingBackdrop())}}function gn(q,fe){1&q&&(m.TgZ(0,"mat-sidenav-content"),m.Hsn(1,2),m.qZA())}const zt=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Gt=["mat-sidenav","mat-sidenav-content","*"],Sn={transformDrawer:(0,lt.X$)("transform",[(0,lt.SB)("open, open-instant",(0,lt.oB)({transform:"none",visibility:"visible"})),(0,lt.SB)("void",(0,lt.oB)({"box-shadow":"none",visibility:"hidden"})),(0,lt.eR)("void => open-instant",(0,lt.jt)("0ms")),(0,lt.eR)("void <=> open, open-instant => void",(0,lt.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},ct=new m.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function tn(){return!1}}),wn=new m.OlP("MAT_DRAWER_CONTAINER");let ke=(()=>{class q extends Ke.PQ{constructor(A,V,Oe,Be,gt){super(Oe,Be,gt),this._changeDetectorRef=A,this._container=V}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return q.\u0275fac=function(A){return new(A||q)(m.Y36(m.sBO),m.Y36((0,m.Gpc)(()=>J)),m.Y36(m.SBq),m.Y36(Ke.mF),m.Y36(m.R0b))},q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(A,V){2&A&&m.Udp("margin-left",V._container._contentMargins.left,"px")("margin-right",V._container._contentMargins.right,"px")},features:[m._Bn([{provide:Ke.PQ,useExisting:q}]),m.qOj],ngContentSelectors:pn,decls:1,vars:0,template:function(A,V){1&A&&(m.F$t(),m.Hsn(0))},encapsulation:2,changeDetection:0}),q})(),Ae=(()=>{class q{constructor(A,V,Oe,Be,gt,dn,Ht,on){this._elementRef=A,this._focusTrapFactory=V,this._focusMonitor=Oe,this._platform=Be,this._ngZone=gt,this._interactivityChecker=dn,this._doc=Ht,this._container=on,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new _t.xQ,this._animationEnd=new _t.xQ,this._animationState="void",this.openedChange=new m.vpe(!0),this._openedStream=this.openedChange.pipe((0,j.h)(St=>St),(0,At.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,j.h)(St=>St.fromState!==St.toState&&0===St.toState.indexOf("open")),xt(void 0)),this._closedStream=this.openedChange.pipe((0,j.h)(St=>!St),(0,At.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,j.h)(St=>St.fromState!==St.toState&&"void"===St.toState),xt(void 0)),this._destroyed=new _t.xQ,this.onPositionChanged=new m.vpe,this._modeChanged=new _t.xQ,this.openedChange.subscribe(St=>{St?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,Kt.R)(this._elementRef.nativeElement,"keydown").pipe((0,j.h)(St=>St.keyCode===Ue.hY&&!this.disableClose&&!(0,Ue.Vb)(St)),(0,He.R)(this._destroyed)).subscribe(St=>this._ngZone.run(()=>{this.close(),St.stopPropagation(),St.preventDefault()}))}),this._animationEnd.pipe((0,jn.x)((St,Ct)=>St.fromState===Ct.fromState&&St.toState===Ct.toState)).subscribe(St=>{const{fromState:Ct,toState:It}=St;(0===It.indexOf("open")&&"void"===Ct||"void"===It&&0===Ct.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(A){(A="end"===A?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(A),this._position=A,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(A){this._mode=A,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(A){this._disableClose=(0,ge.Ig)(A)}get autoFocus(){const A=this._autoFocus;return null==A?"side"===this.mode?"dialog":"first-tabbable":A}set autoFocus(A){("true"===A||"false"===A||null==A)&&(A=(0,ge.Ig)(A)),this._autoFocus=A}get opened(){return this._opened}set opened(A){this.toggle((0,ge.Ig)(A))}_forceFocus(A,V){this._interactivityChecker.isFocusable(A)||(A.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{A.addEventListener("blur",()=>A.removeAttribute("tabindex")),A.addEventListener("mousedown",()=>A.removeAttribute("tabindex"))})),A.focus(V)}_focusByCssSelector(A,V){let Oe=this._elementRef.nativeElement.querySelector(A);Oe&&this._forceFocus(Oe,V)}_takeFocus(){if(!this._focusTrap)return;const A=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(V=>{!V&&"function"==typeof this._elementRef.nativeElement.focus&&A.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(A){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,A):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const A=this._doc.activeElement;return!!A&&this._elementRef.nativeElement.contains(A)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var A;this._focusTrap&&this._focusTrap.destroy(),null===(A=this._anchor)||void 0===A||A.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(A){return this.toggle(!0,A)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(A=!this.opened,V){A&&V&&(this._openedVia=V);const Oe=this._setOpen(A,!A&&this._isFocusWithinDrawer(),this._openedVia||"program");return A||(this._openedVia=null),Oe}_setOpen(A,V,Oe){return this._opened=A,A?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",V&&this._restoreFocus(Oe)),this._updateFocusTrapState(),new Promise(Be=>{this.openedChange.pipe((0,mn.q)(1)).subscribe(gt=>Be(gt?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(A){const V=this._elementRef.nativeElement,Oe=V.parentNode;"end"===A?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Oe.insertBefore(this._anchor,V)),Oe.appendChild(V)):this._anchor&&this._anchor.parentNode.insertBefore(V,this._anchor)}}return q.\u0275fac=function(A){return new(A||q)(m.Y36(m.SBq),m.Y36(an.qV),m.Y36(an.tE),m.Y36(X.t4),m.Y36(m.R0b),m.Y36(an.ic),m.Y36(Q.K0,8),m.Y36(wn,8))},q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-drawer"]],viewQuery:function(A,V){if(1&A&&m.Gf(Et,5),2&A){let Oe;m.iGM(Oe=m.CRH())&&(V._content=Oe.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(A,V){1&A&&m.WFA("@transform.start",function(Be){return V._animationStarted.next(Be)})("@transform.done",function(Be){return V._animationEnd.next(Be)}),2&A&&(m.uIk("align",null),m.d8E("@transform",V._animationState),m.ekj("mat-drawer-end","end"===V.position)("mat-drawer-over","over"===V.mode)("mat-drawer-push","push"===V.mode)("mat-drawer-side","side"===V.mode)("mat-drawer-opened",V.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:pn,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(A,V){1&A&&(m.F$t(),m.TgZ(0,"div",0,1),m.Hsn(2),m.qZA())},directives:[Ke.PQ],encapsulation:2,data:{animation:[Sn.transformDrawer]},changeDetection:0}),q})(),J=(()=>{class q{constructor(A,V,Oe,Be,gt,dn=!1,Ht){this._dir=A,this._element=V,this._ngZone=Oe,this._changeDetectorRef=Be,this._animationMode=Ht,this._drawers=new m.n_E,this.backdropClick=new m.vpe,this._destroyed=new _t.xQ,this._doCheckSubject=new _t.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new _t.xQ,A&&A.change.pipe((0,He.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),gt.change().pipe((0,He.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=dn}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(A){this._autosize=(0,ge.Ig)(A)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(A){this._backdropOverride=null==A?null:(0,ge.Ig)(A)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Ft.O)(this._allDrawers),(0,He.R)(this._destroyed)).subscribe(A=>{this._drawers.reset(A.filter(V=>!V._container||V._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Ft.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(A=>{this._watchDrawerToggle(A),this._watchDrawerPosition(A),this._watchDrawerMode(A)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Lt.b)(10),(0,He.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(A=>A.open())}close(){this._drawers.forEach(A=>A.close())}updateContentMargins(){let A=0,V=0;if(this._left&&this._left.opened)if("side"==this._left.mode)A+=this._left._getWidth();else if("push"==this._left.mode){const Oe=this._left._getWidth();A+=Oe,V-=Oe}if(this._right&&this._right.opened)if("side"==this._right.mode)V+=this._right._getWidth();else if("push"==this._right.mode){const Oe=this._right._getWidth();V+=Oe,A-=Oe}A=A||null,V=V||null,(A!==this._contentMargins.left||V!==this._contentMargins.right)&&(this._contentMargins={left:A,right:V},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(A){A._animationStarted.pipe((0,j.h)(V=>V.fromState!==V.toState),(0,He.R)(this._drawers.changes)).subscribe(V=>{"open-instant"!==V.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==A.mode&&A.openedChange.pipe((0,He.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(A.opened))}_watchDrawerPosition(A){!A||A.onPositionChanged.pipe((0,He.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,mn.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(A){A&&A._modeChanged.pipe((0,He.R)((0,en.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(A){const V=this._element.nativeElement.classList,Oe="mat-drawer-container-has-open";A?V.add(Oe):V.remove(Oe)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(A=>{"end"==A.position?this._end=A:this._start=A}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(A=>A&&!A.disableClose&&this._canHaveBackdrop(A)).forEach(A=>A._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(A){return"side"!==A.mode||!!this._backdropOverride}_isDrawerOpen(A){return null!=A&&A.opened}}return q.\u0275fac=function(A){return new(A||q)(m.Y36(In.Is,8),m.Y36(m.SBq),m.Y36(m.R0b),m.Y36(m.sBO),m.Y36(Ke.rL),m.Y36(ct),m.Y36(de.Qb,8))},q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-drawer-container"]],contentQueries:function(A,V,Oe){if(1&A&&(m.Suo(Oe,ke,5),m.Suo(Oe,Ae,5)),2&A){let Be;m.iGM(Be=m.CRH())&&(V._content=Be.first),m.iGM(Be=m.CRH())&&(V._allDrawers=Be)}},viewQuery:function(A,V){if(1&A&&m.Gf(ke,5),2&A){let Oe;m.iGM(Oe=m.CRH())&&(V._userContent=Oe.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(A,V){2&A&&m.ekj("mat-drawer-container-explicit-backdrop",V._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[m._Bn([{provide:wn,useExisting:q}])],ngContentSelectors:Xt,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(A,V){1&A&&(m.F$t(Pt),m.YNc(0,$t,1,2,"div",0),m.Hsn(1),m.Hsn(2,1),m.YNc(3,Bt,2,0,"mat-drawer-content",1)),2&A&&(m.Q6J("ngIf",V.hasBackdrop),m.xp6(3),m.Q6J("ngIf",!V._content))},directives:[ke,Q.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),q})(),Me=(()=>{class q extends ke{constructor(A,V,Oe,Be,gt){super(A,V,Oe,Be,gt)}}return q.\u0275fac=function(A){return new(A||q)(m.Y36(m.sBO),m.Y36((0,m.Gpc)(()=>et)),m.Y36(m.SBq),m.Y36(Ke.mF),m.Y36(m.R0b))},q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(A,V){2&A&&m.Udp("margin-left",V._container._contentMargins.left,"px")("margin-right",V._container._contentMargins.right,"px")},features:[m._Bn([{provide:Ke.PQ,useExisting:q}]),m.qOj],ngContentSelectors:pn,decls:1,vars:0,template:function(A,V){1&A&&(m.F$t(),m.Hsn(0))},encapsulation:2,changeDetection:0}),q})(),Ge=(()=>{class q extends Ae{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(A){this._fixedInViewport=(0,ge.Ig)(A)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(A){this._fixedTopGap=(0,ge.su)(A)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(A){this._fixedBottomGap=(0,ge.su)(A)}}return q.\u0275fac=function(){let fe;return function(V){return(fe||(fe=m.n5z(q)))(V||q)}}(),q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(A,V){2&A&&(m.uIk("align",null),m.Udp("top",V.fixedInViewport?V.fixedTopGap:null,"px")("bottom",V.fixedInViewport?V.fixedBottomGap:null,"px"),m.ekj("mat-drawer-end","end"===V.position)("mat-drawer-over","over"===V.mode)("mat-drawer-push","push"===V.mode)("mat-drawer-side","side"===V.mode)("mat-drawer-opened",V.opened)("mat-sidenav-fixed",V.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[m.qOj],ngContentSelectors:pn,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(A,V){1&A&&(m.F$t(),m.TgZ(0,"div",0,1),m.Hsn(2),m.qZA())},directives:[Ke.PQ],encapsulation:2,data:{animation:[Sn.transformDrawer]},changeDetection:0}),q})(),et=(()=>{class q extends J{}return q.\u0275fac=function(){let fe;return function(V){return(fe||(fe=m.n5z(q)))(V||q)}}(),q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-sidenav-container"]],contentQueries:function(A,V,Oe){if(1&A&&(m.Suo(Oe,Me,5),m.Suo(Oe,Ge,5)),2&A){let Be;m.iGM(Be=m.CRH())&&(V._content=Be.first),m.iGM(Be=m.CRH())&&(V._allDrawers=Be)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(A,V){2&A&&m.ekj("mat-drawer-container-explicit-backdrop",V._backdropOverride)},exportAs:["matSidenavContainer"],features:[m._Bn([{provide:wn,useExisting:q}]),m.qOj],ngContentSelectors:Gt,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(A,V){1&A&&(m.F$t(zt),m.YNc(0,Cn,1,2,"div",0),m.Hsn(1),m.Hsn(2,1),m.YNc(3,gn,2,0,"mat-sidenav-content",1)),2&A&&(m.Q6J("ngIf",V.hasBackdrop),m.xp6(3),m.Q6J("ngIf",!V._content))},directives:[Me,Q.O5],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),q})(),Nt=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275mod=m.oAB({type:q}),q.\u0275inj=m.cJS({imports:[[Q.ez,Y.BQ,X.ud,Ke.ZD],Ke.ZD,Y.BQ]}),q})();T(3075);let rn=(()=>{class q{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(A){this._vertical=(0,ge.Ig)(A)}get inset(){return this._inset}set inset(A){this._inset=(0,ge.Ig)(A)}}return q.\u0275fac=function(A){return new(A||q)},q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(A,V){2&A&&(m.uIk("aria-orientation",V.vertical?"vertical":"horizontal"),m.ekj("mat-divider-vertical",V.vertical)("mat-divider-horizontal",!V.vertical)("mat-divider-inset",V.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(A,V){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),q})(),Ee=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275mod=m.oAB({type:q}),q.\u0275inj=m.cJS({imports:[[Y.BQ],Y.BQ]}),q})();const B=["*"],k=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],ee=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],sn=(0,Y.Id)((0,Y.Kr)(class{})),cn=(0,Y.Kr)(class{}),Jt=new m.OlP("MatList"),Fn=new m.OlP("MatNavList");let ye=(()=>{class q extends sn{constructor(){super(...arguments),this._stateChanges=new _t.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return q.\u0275fac=function(){let fe;return function(V){return(fe||(fe=m.n5z(q)))(V||q)}}(),q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[m._Bn([{provide:Fn,useExisting:q}]),m.qOj,m.TTD],ngContentSelectors:B,decls:1,vars:0,template:function(A,V){1&A&&(m.F$t(),m.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),q})(),re=(()=>{class q extends sn{constructor(A){super(),this._elementRef=A,this._stateChanges=new _t.xQ,"action-list"===this._getListType()&&A.nativeElement.classList.add("mat-action-list")}_getListType(){const A=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===A?"list":"mat-action-list"===A?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return q.\u0275fac=function(A){return new(A||q)(m.Y36(m.SBq))},q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[m._Bn([{provide:Jt,useExisting:q}]),m.qOj,m.TTD],ngContentSelectors:B,decls:1,vars:0,template:function(A,V){1&A&&(m.F$t(),m.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),q})(),G=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275dir=m.lG2({type:q,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),q})(),oe=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275dir=m.lG2({type:q,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),q})(),W=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275dir=m.lG2({type:q,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-subheader"]}),q})(),U=(()=>{class q extends cn{constructor(A,V,Oe,Be){super(),this._element=A,this._isInteractiveList=!1,this._destroyed=new _t.xQ,this._disabled=!1,this._isInteractiveList=!!(Oe||Be&&"action-list"===Be._getListType()),this._list=Oe||Be;const gt=this._getHostElement();"button"===gt.nodeName.toLowerCase()&&!gt.hasAttribute("type")&&gt.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,He.R)(this._destroyed)).subscribe(()=>{V.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(A){this._disabled=(0,ge.Ig)(A)}ngAfterContentInit(){(0,Y.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return q.\u0275fac=function(A){return new(A||q)(m.Y36(m.SBq),m.Y36(m.sBO),m.Y36(Fn,8),m.Y36(Jt,8))},q.\u0275cmp=m.Xpm({type:q,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(A,V,Oe){if(1&A&&(m.Suo(Oe,G,5),m.Suo(Oe,oe,5),m.Suo(Oe,Y.X2,5)),2&A){let Be;m.iGM(Be=m.CRH())&&(V._avatar=Be.first),m.iGM(Be=m.CRH())&&(V._icon=Be.first),m.iGM(Be=m.CRH())&&(V._lines=Be)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(A,V){2&A&&m.ekj("mat-list-item-disabled",V.disabled)("mat-list-item-avatar",V._avatar||V._icon)("mat-list-item-with-avatar",V._avatar||V._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[m.qOj],ngContentSelectors:ee,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(A,V){1&A&&(m.F$t(k),m.TgZ(0,"span",0),m._UZ(1,"span",1),m.Hsn(2),m.TgZ(3,"span",2),m.Hsn(4,1),m.qZA(),m.Hsn(5,2),m.qZA()),2&A&&(m.xp6(1),m.Q6J("matRippleTrigger",V._getHostElement())("matRippleDisabled",V._isRippleDisabled()))},directives:[Y.wG],encapsulation:2,changeDetection:0}),q})(),st=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275mod=m.oAB({type:q}),q.\u0275inj=m.cJS({imports:[[Y.uc,Y.si,Y.BQ,Y.us,Q.ez],Y.uc,Y.BQ,Y.us,Ee]}),q})(),Wt=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275cmp=m.Xpm({type:q,selectors:[["app-menu"]],decls:22,vars:0,consts:[["matSubheader",""],["mat-list-item","","routerLink","/if-non-nullish","routerLinkActive","active",2,"position","absolute","left","-9999px"],["mat-list-item","","routerLink","/if-non-nullish","routerLinkActive","active"],["mat-list-item","","routerLink","/form-stepper/demo/onboarding","routerLinkActive","active"],["mat-list-item","","routerLink","/form-stepper/one-level/onboarding","routerLinkActive","active"],["mat-list-item","","routerLink","/form-stepper/custom/onboarding","routerLinkActive","active"]],template:function(A,V){1&A&&(m.TgZ(0,"mat-list"),m.TgZ(1,"h3",0),m.TgZ(2,"mat-icon"),m._uU(3,"grade"),m.qZA(),m._uU(4," \xa0 IfNonNullish"),m.qZA(),m.TgZ(5,"mat-nav-list"),m.TgZ(6,"a",1),m._uU(7," Demo "),m.qZA(),m.TgZ(8,"a",2),m._uU(9,"Demo"),m.qZA(),m.qZA(),m._UZ(10,"mat-divider"),m.TgZ(11,"h3",0),m.TgZ(12,"mat-icon"),m._uU(13,"grade"),m.qZA(),m._uU(14," \xa0 FormStepper"),m.qZA(),m.TgZ(15,"mat-nav-list"),m.TgZ(16,"a",3),m._uU(17,"Full demo"),m.qZA(),m.TgZ(18,"a",4),m._uU(19,"One level"),m.qZA(),m.TgZ(20,"a",5),m._uU(21,"Custom"),m.qZA(),m.qZA(),m.qZA())},directives:[re,W,Dt.Hw,ye,U,_e.yS,_e.Od,rn],styles:["mat-divider[_ngcontent-%COMP%] + h3[_ngcontent-%COMP%]{margin-top:1.5rem}.active[_ngcontent-%COMP%]{background-color:#eee}"]}),q})();const Ut=["sidenav"],je=["*"];let yt=(()=>{class q{constructor(A){this.router=A,this.subscription=new le.w}ngOnInit(){this.subscription.add(this.router.events.pipe((0,j.h)(A=>A instanceof _e.m2)).subscribe(()=>this.sidenav.close()))}ngOnDestroy(){this.subscription.unsubscribe()}}return q.\u0275fac=function(A){return new(A||q)(m.Y36(_e.F0))},q.\u0275cmp=m.Xpm({type:q,selectors:[["app-layout"]],viewQuery:function(A,V){if(1&A&&m.Gf(Ut,5),2&A){let Oe;m.iGM(Oe=m.CRH())&&(V.sidenav=Oe.first)}},ngContentSelectors:je,decls:17,vars:1,consts:[[1,"header"],["mat-icon-button","",3,"click"],["routerLink","/",1,"header__brand"],["src","assets/angular-brands.svg","alt","Github","height","28"],[1,"header__spacer"],["href","https://github.com/avine/ng-libs","mat-icon-button",""],["src","assets/github-brands.svg","alt","Github","height","28"],[1,"container",3,"hasBackdrop"],["mode","push",1,"container__sidenav"],["sidenav",""],[1,"container__content"],[1,"container__main"]],template:function(A,V){if(1&A){const Oe=m.EpF();m.F$t(),m.TgZ(0,"mat-toolbar",0),m.TgZ(1,"button",1),m.NdJ("click",function(){return m.CHM(Oe),m.MAs(12).toggle()}),m.TgZ(2,"mat-icon"),m._uU(3,"menu"),m.qZA(),m.qZA(),m.TgZ(4,"h1",2),m._uU(5,"ng-libs"),m.qZA(),m._UZ(6,"img",3),m._UZ(7,"span",4),m.TgZ(8,"a",5),m._UZ(9,"img",6),m.qZA(),m.qZA(),m.TgZ(10,"mat-sidenav-container",7),m.TgZ(11,"mat-sidenav",8,9),m._UZ(13,"app-menu"),m.qZA(),m.TgZ(14,"mat-sidenav-content",10),m.TgZ(15,"div",11),m.Hsn(16),m.qZA(),m.qZA(),m.qZA()}2&A&&(m.xp6(10),m.Q6J("hasBackdrop",!1))},directives:[pe,ze.lW,Dt.Hw,_e.rH,ze.zs,et,Ge,Wt,Me],styles:[".header[_ngcontent-%COMP%]{border-bottom:1px solid #eeeeee}.header__brand[_ngcontent-%COMP%]{padding:0 .5rem 0 1rem;cursor:pointer}.header__spacer[_ngcontent-%COMP%]{flex:1 1 auto}.container[_ngcontent-%COMP%]{height:calc(100vh - 56px)}.container__sidenav[_ngcontent-%COMP%]{min-width:300px;padding:1.5rem}.container__content[_ngcontent-%COMP%]{box-sizing:border-box;padding:1.5rem;background-color:#fff}.container__main[_ngcontent-%COMP%]{position:relative;margin:0 auto;max-width:1024px}"],changeDetection:0}),q})(),pt=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275cmp=m.Xpm({type:q,selectors:[["app-root"]],decls:2,vars:0,template:function(A,V){1&A&&(m.TgZ(0,"app-layout"),m._UZ(1,"router-outlet"),m.qZA())},directives:[yt,_e.lC],styles:[".link[_ngcontent-%COMP%]{text-decoration:none;color:inherit}h1[_ngcontent-%COMP%]{margin:16px 0 36px;line-height:48px;text-align:center;font-size:36px}img[_ngcontent-%COMP%]{margin-left:8px;height:36px;vertical-align:middle}"]}),q})();const nn=[ze.ot,Dt.Ps,st,Nt,Le];let Pn=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275mod=m.oAB({type:q}),q.\u0275inj=m.cJS({imports:[[Q.ez,_e.Bz,nn]]}),q})(),un=(()=>{class q{}return q.\u0275fac=function(A){return new(A||q)},q.\u0275mod=m.oAB({type:q,bootstrap:[pt]}),q.\u0275inj=m.cJS({providers:[],imports:[[u.b2,de.PW,z,Pn]]}),q})();(0,m.G48)(),u.q6().bootstrapModule(un).catch(q=>console.error(q))},591:(tt,Se,T)=>{T.d(Se,{X:()=>de});var u=T(8929),m=T(5279);class de extends u.xQ{constructor(se){super(),this._value=se}get value(){return this.getValue()}_subscribe(se){const z=super._subscribe(se);return z&&!z.closed&&se.next(this._value),z}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new m.N;return this._value}next(se){super.next(this._value=se)}}},2916:(tt,Se,T)=>{T.d(Se,{y:()=>X});var u=T(3489),de=T(7668),_e=T(3292),z=T(3821),le=T(5379);var Q=T(2830);let X=(()=>{class Ce{constructor(he){this._isScalar=!1,he&&(this._subscribe=he)}lift(he){const pe=new Ce;return pe.source=this,pe.operator=he,pe}subscribe(he,pe,ce){const{operator:Le}=this,ze=function se(Ce,ve,he){if(Ce){if(Ce instanceof u.L)return Ce;if(Ce[de.b])return Ce[de.b]()}return Ce||ve||he?new u.L(Ce,ve,he):new u.L(_e.c)}(he,pe,ce);if(ze.add(Le?Le.call(ze,this.source):this.source||Q.v.useDeprecatedSynchronousErrorHandling&&!ze.syncErrorThrowable?this._subscribe(ze):this._trySubscribe(ze)),Q.v.useDeprecatedSynchronousErrorHandling&&ze.syncErrorThrowable&&(ze.syncErrorThrowable=!1,ze.syncErrorThrown))throw ze.syncErrorValue;return ze}_trySubscribe(he){try{return this._subscribe(he)}catch(pe){Q.v.useDeprecatedSynchronousErrorHandling&&(he.syncErrorThrown=!0,he.syncErrorValue=pe),function m(Ce){for(;Ce;){const{closed:ve,destination:he,isStopped:pe}=Ce;if(ve||pe)return!1;Ce=he&&he instanceof u.L?he:null}return!0}(he)?he.error(pe):console.warn(pe)}}forEach(he,pe){return new(pe=te(pe))((ce,Le)=>{let ze;ze=this.subscribe(Dt=>{try{he(Dt)}catch(Ke){Le(Ke),ze&&ze.unsubscribe()}},Le,ce)})}_subscribe(he){const{source:pe}=this;return pe&&pe.subscribe(he)}[z.L](){return this}pipe(...he){return 0===he.length?this:function Y(Ce){return 0===Ce.length?le.y:1===Ce.length?Ce[0]:function(he){return Ce.reduce((pe,ce)=>ce(pe),he)}}(he)(this)}toPromise(he){return new(he=te(he))((pe,ce)=>{let Le;this.subscribe(ze=>Le=ze,ze=>ce(ze),()=>pe(Le))})}}return Ce.create=ve=>new Ce(ve),Ce})();function te(Ce){if(Ce||(Ce=Q.v.Promise||Promise),!Ce)throw new Error("no Promise impl found");return Ce}},3292:(tt,Se,T)=>{T.d(Se,{c:()=>de});var u=T(2830),m=T(2782);const de={closed:!0,next(_e){},error(_e){if(u.v.useDeprecatedSynchronousErrorHandling)throw _e;(0,m.z)(_e)},complete(){}}},8929:(tt,Se,T)=>{T.d(Se,{Yc:()=>le,xQ:()=>j});var u=T(2916),m=T(3489),de=T(2654),_e=T(5279),se=T(5283),z=T(7668);class le extends m.L{constructor(X){super(X),this.destination=X}}let j=(()=>{class Q extends u.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[z.b](){return new le(this)}lift(te){const Ce=new Y(this,this);return Ce.operator=te,Ce}next(te){if(this.closed)throw new _e.N;if(!this.isStopped){const{observers:Ce}=this,ve=Ce.length,he=Ce.slice();for(let pe=0;pe<ve;pe++)he[pe].next(te)}}error(te){if(this.closed)throw new _e.N;this.hasError=!0,this.thrownError=te,this.isStopped=!0;const{observers:Ce}=this,ve=Ce.length,he=Ce.slice();for(let pe=0;pe<ve;pe++)he[pe].error(te);this.observers.length=0}complete(){if(this.closed)throw new _e.N;this.isStopped=!0;const{observers:te}=this,Ce=te.length,ve=te.slice();for(let he=0;he<Ce;he++)ve[he].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(te){if(this.closed)throw new _e.N;return super._trySubscribe(te)}_subscribe(te){if(this.closed)throw new _e.N;return this.hasError?(te.error(this.thrownError),de.w.EMPTY):this.isStopped?(te.complete(),de.w.EMPTY):(this.observers.push(te),new se.W(this,te))}asObservable(){const te=new u.y;return te.source=this,te}}return Q.create=(X,te)=>new Y(X,te),Q})();class Y extends j{constructor(X,te){super(),this.destination=X,this.source=te}next(X){const{destination:te}=this;te&&te.next&&te.next(X)}error(X){const{destination:te}=this;te&&te.error&&this.destination.error(X)}complete(){const{destination:X}=this;X&&X.complete&&this.destination.complete()}_subscribe(X){const{source:te}=this;return te?this.source.subscribe(X):de.w.EMPTY}}},5283:(tt,Se,T)=>{T.d(Se,{W:()=>m});var u=T(2654);class m extends u.w{constructor(_e,se){super(),this.subject=_e,this.subscriber=se,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const _e=this.subject,se=_e.observers;if(this.subject=null,!se||0===se.length||_e.isStopped||_e.closed)return;const z=se.indexOf(this.subscriber);-1!==z&&se.splice(z,1)}}},3489:(tt,Se,T)=>{T.d(Se,{L:()=>le});var u=T(7043),m=T(3292),de=T(2654),_e=T(7668),se=T(2830),z=T(2782);class le extends de.w{constructor(Q,X,te){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=m.c;break;case 1:if(!Q){this.destination=m.c;break}if("object"==typeof Q){Q instanceof le?(this.syncErrorThrowable=Q.syncErrorThrowable,this.destination=Q,Q.add(this)):(this.syncErrorThrowable=!0,this.destination=new j(this,Q));break}default:this.syncErrorThrowable=!0,this.destination=new j(this,Q,X,te)}}[_e.b](){return this}static create(Q,X,te){const Ce=new le(Q,X,te);return Ce.syncErrorThrowable=!1,Ce}next(Q){this.isStopped||this._next(Q)}error(Q){this.isStopped||(this.isStopped=!0,this._error(Q))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(Q){this.destination.next(Q)}_error(Q){this.destination.error(Q),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:Q}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=Q,this}}class j extends le{constructor(Q,X,te,Ce){super(),this._parentSubscriber=Q;let ve,he=this;(0,u.m)(X)?ve=X:X&&(ve=X.next,te=X.error,Ce=X.complete,X!==m.c&&(he=Object.create(X),(0,u.m)(he.unsubscribe)&&this.add(he.unsubscribe.bind(he)),he.unsubscribe=this.unsubscribe.bind(this))),this._context=he,this._next=ve,this._error=te,this._complete=Ce}next(Q){if(!this.isStopped&&this._next){const{_parentSubscriber:X}=this;se.v.useDeprecatedSynchronousErrorHandling&&X.syncErrorThrowable?this.__tryOrSetError(X,this._next,Q)&&this.unsubscribe():this.__tryOrUnsub(this._next,Q)}}error(Q){if(!this.isStopped){const{_parentSubscriber:X}=this,{useDeprecatedSynchronousErrorHandling:te}=se.v;if(this._error)te&&X.syncErrorThrowable?(this.__tryOrSetError(X,this._error,Q),this.unsubscribe()):(this.__tryOrUnsub(this._error,Q),this.unsubscribe());else if(X.syncErrorThrowable)te?(X.syncErrorValue=Q,X.syncErrorThrown=!0):(0,z.z)(Q),this.unsubscribe();else{if(this.unsubscribe(),te)throw Q;(0,z.z)(Q)}}}complete(){if(!this.isStopped){const{_parentSubscriber:Q}=this;if(this._complete){const X=()=>this._complete.call(this._context);se.v.useDeprecatedSynchronousErrorHandling&&Q.syncErrorThrowable?(this.__tryOrSetError(Q,X),this.unsubscribe()):(this.__tryOrUnsub(X),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(Q,X){try{Q.call(this._context,X)}catch(te){if(this.unsubscribe(),se.v.useDeprecatedSynchronousErrorHandling)throw te;(0,z.z)(te)}}__tryOrSetError(Q,X,te){if(!se.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{X.call(this._context,te)}catch(Ce){return se.v.useDeprecatedSynchronousErrorHandling?(Q.syncErrorValue=Ce,Q.syncErrorThrown=!0,!0):((0,z.z)(Ce),!0)}return!1}_unsubscribe(){const{_parentSubscriber:Q}=this;this._context=null,this._parentSubscriber=null,Q.unsubscribe()}}},2654:(tt,Se,T)=>{T.d(Se,{w:()=>z});var u=T(6688),m=T(7830),de=T(7043);const se=(()=>{function j(Y){return Error.call(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((Q,X)=>`${X+1}) ${Q.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=Y,this}return j.prototype=Object.create(Error.prototype),j})();class z{constructor(Y){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,Y&&(this._ctorUnsubscribe=!0,this._unsubscribe=Y)}unsubscribe(){let Y;if(this.closed)return;let{_parentOrParents:Q,_ctorUnsubscribe:X,_unsubscribe:te,_subscriptions:Ce}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,Q instanceof z)Q.remove(this);else if(null!==Q)for(let ve=0;ve<Q.length;++ve)Q[ve].remove(this);if((0,de.m)(te)){X&&(this._unsubscribe=void 0);try{te.call(this)}catch(ve){Y=ve instanceof se?le(ve.errors):[ve]}}if((0,u.k)(Ce)){let ve=-1,he=Ce.length;for(;++ve<he;){const pe=Ce[ve];if((0,m.K)(pe))try{pe.unsubscribe()}catch(ce){Y=Y||[],ce instanceof se?Y=Y.concat(le(ce.errors)):Y.push(ce)}}}if(Y)throw new se(Y)}add(Y){let Q=Y;if(!Y)return z.EMPTY;switch(typeof Y){case"function":Q=new z(Y);case"object":if(Q===this||Q.closed||"function"!=typeof Q.unsubscribe)return Q;if(this.closed)return Q.unsubscribe(),Q;if(!(Q instanceof z)){const Ce=Q;Q=new z,Q._subscriptions=[Ce]}break;default:throw new Error("unrecognized teardown "+Y+" added to Subscription.")}let{_parentOrParents:X}=Q;if(null===X)Q._parentOrParents=this;else if(X instanceof z){if(X===this)return Q;Q._parentOrParents=[X,this]}else{if(-1!==X.indexOf(this))return Q;X.push(this)}const te=this._subscriptions;return null===te?this._subscriptions=[Q]:te.push(Q),Q}remove(Y){const Q=this._subscriptions;if(Q){const X=Q.indexOf(Y);-1!==X&&Q.splice(X,1)}}}var j;function le(j){return j.reduce((Y,Q)=>Y.concat(Q instanceof se?Q.errors:Q),[])}z.EMPTY=((j=new z).closed=!0,j)},2830:(tt,Se,T)=>{T.d(Se,{v:()=>m});let u=!1;const m={Promise:void 0,set useDeprecatedSynchronousErrorHandling(de){if(de){const _e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+_e.stack)}else u&&console.log("RxJS: Back to a better error behavior. Thank you. <3");u=de},get useDeprecatedSynchronousErrorHandling(){return u}}},1177:(tt,Se,T)=>{T.d(Se,{IY:()=>_e,Ds:()=>z,ft:()=>j});var u=T(3489),m=T(2916),de=T(9249);class _e extends u.L{constructor(Q){super(),this.parent=Q}_next(Q){this.parent.notifyNext(Q)}_error(Q){this.parent.notifyError(Q),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class z extends u.L{notifyNext(Q){this.destination.next(Q)}notifyError(Q){this.destination.error(Q)}notifyComplete(){this.destination.complete()}}function j(Y,Q){if(Q.closed)return;if(Y instanceof m.y)return Y.subscribe(Q);let X;try{X=(0,de.s)(Y)(Q)}catch(te){Q.error(te)}return X}},1762:(tt,Se,T)=>{T.d(Se,{c:()=>se,N:()=>z});var u=T(8929),m=T(2916),de=T(2654),_e=T(4327);class se extends m.y{constructor(X,te){super(),this.source=X,this.subjectFactory=te,this._refCount=0,this._isComplete=!1}_subscribe(X){return this.getSubject().subscribe(X)}getSubject(){const X=this._subject;return(!X||X.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let X=this._connection;return X||(this._isComplete=!1,X=this._connection=new de.w,X.add(this.source.subscribe(new le(this.getSubject(),this))),X.closed&&(this._connection=null,X=de.w.EMPTY)),X}refCount(){return(0,_e.x)()(this)}}const z=(()=>{const Q=se.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Q._subscribe},_isComplete:{value:Q._isComplete,writable:!0},getSubject:{value:Q.getSubject},connect:{value:Q.connect},refCount:{value:Q.refCount}}})();class le extends u.Yc{constructor(X,te){super(X),this.connectable=te}_error(X){this._unsubscribe(),super._error(X)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const X=this.connectable;if(X){this.connectable=null;const te=X._connection;X._refCount=0,X._subject=null,X._connection=null,te&&te.unsubscribe()}}}},3426:(tt,Se,T)=>{T.d(Se,{aj:()=>X});var u=T(2866),m=T(6688),de=T(3489);class _e extends de.L{notifyNext(he,pe,ce,Le,ze){this.destination.next(pe)}notifyError(he,pe){this.destination.error(he)}notifyComplete(he){this.destination.complete()}}class se extends de.L{constructor(he,pe,ce){super(),this.parent=he,this.outerValue=pe,this.outerIndex=ce,this.index=0}_next(he){this.parent.notifyNext(this.outerValue,he,this.outerIndex,this.index++,this)}_error(he){this.parent.notifyError(he,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var z=T(9249),le=T(2916);function j(ve,he,pe,ce,Le=new se(ve,pe,ce)){if(!Le.closed)return he instanceof le.y?he.subscribe(Le):(0,z.s)(he)(Le)}var Y=T(3009);const Q={};function X(...ve){let he,pe;return(0,u.K)(ve[ve.length-1])&&(pe=ve.pop()),"function"==typeof ve[ve.length-1]&&(he=ve.pop()),1===ve.length&&(0,m.k)(ve[0])&&(ve=ve[0]),(0,Y.n)(ve,pe).lift(new te(he))}class te{constructor(he){this.resultSelector=he}call(he,pe){return pe.subscribe(new Ce(he,this.resultSelector))}}class Ce extends _e{constructor(he,pe){super(he),this.resultSelector=pe,this.active=0,this.values=[],this.observables=[]}_next(he){this.values.push(Q),this.observables.push(he)}_complete(){const he=this.observables,pe=he.length;if(0===pe)this.destination.complete();else{this.active=pe,this.toRespond=pe;for(let ce=0;ce<pe;ce++)this.add(j(this,he[ce],void 0,ce))}}notifyComplete(he){0==(this.active-=1)&&this.destination.complete()}notifyNext(he,pe,ce){const Le=this.values,Dt=this.toRespond?Le[ce]===Q?--this.toRespond:this.toRespond:0;Le[ce]=pe,0===Dt&&(this.resultSelector?this._tryResultSelector(Le):this.destination.next(Le.slice()))}_tryResultSelector(he){let pe;try{pe=this.resultSelector.apply(this,he)}catch(ce){return void this.destination.error(ce)}this.destination.next(pe)}}},1221:(tt,Se,T)=>{T.d(Se,{z:()=>_e});var u=T(1086),m=T(9146);function _e(...se){return function de(){return(0,m.J)(1)}()((0,u.of)(...se))}},8896:(tt,Se,T)=>{T.d(Se,{E:()=>m,c:()=>de});var u=T(2916);const m=new u.y(se=>se.complete());function de(se){return se?function _e(se){return new u.y(z=>se.schedule(()=>z.complete()))}(se):m}},567:(tt,Se,T)=>{T.d(Se,{D:()=>z});var u=T(2916),m=T(6688),de=T(4850),_e=T(7830),se=T(5254);function z(...j){if(1===j.length){const Y=j[0];if((0,m.k)(Y))return le(Y,null);if((0,_e.K)(Y)&&Object.getPrototypeOf(Y)===Object.prototype){const Q=Object.keys(Y);return le(Q.map(X=>Y[X]),Q)}}if("function"==typeof j[j.length-1]){const Y=j.pop();return le(j=1===j.length&&(0,m.k)(j[0])?j[0]:j,null).pipe((0,de.U)(Q=>Y(...Q)))}return le(j,null)}function le(j,Y){return new u.y(Q=>{const X=j.length;if(0===X)return void Q.complete();const te=new Array(X);let Ce=0,ve=0;for(let he=0;he<X;he++){const pe=(0,se.D)(j[he]);let ce=!1;Q.add(pe.subscribe({next:Le=>{ce||(ce=!0,ve++),te[he]=Le},error:Le=>Q.error(Le),complete:()=>{Ce++,(Ce===X||!ce)&&(ve===X&&Q.next(Y?Y.reduce((Le,ze,Dt)=>(Le[ze]=te[Dt],Le),{}):te),Q.complete())}}))}})}},5254:(tt,Se,T)=>{T.d(Se,{D:()=>he});var u=T(2916),m=T(9249),de=T(2654),_e=T(3821),le=T(6454),j=T(5430),X=T(8955),te=T(8515);function he(pe,ce){return ce?function ve(pe,ce){if(null!=pe){if(function Q(pe){return pe&&"function"==typeof pe[_e.L]}(pe))return function se(pe,ce){return new u.y(Le=>{const ze=new de.w;return ze.add(ce.schedule(()=>{const Dt=pe[_e.L]();ze.add(Dt.subscribe({next(Ke){ze.add(ce.schedule(()=>Le.next(Ke)))},error(Ke){ze.add(ce.schedule(()=>Le.error(Ke)))},complete(){ze.add(ce.schedule(()=>Le.complete()))}}))})),ze})}(pe,ce);if((0,X.t)(pe))return function z(pe,ce){return new u.y(Le=>{const ze=new de.w;return ze.add(ce.schedule(()=>pe.then(Dt=>{ze.add(ce.schedule(()=>{Le.next(Dt),ze.add(ce.schedule(()=>Le.complete()))}))},Dt=>{ze.add(ce.schedule(()=>Le.error(Dt)))}))),ze})}(pe,ce);if((0,te.z)(pe))return(0,le.r)(pe,ce);if(function Ce(pe){return pe&&"function"==typeof pe[j.hZ]}(pe)||"string"==typeof pe)return function Y(pe,ce){if(!pe)throw new Error("Iterable cannot be null");return new u.y(Le=>{const ze=new de.w;let Dt;return ze.add(()=>{Dt&&"function"==typeof Dt.return&&Dt.return()}),ze.add(ce.schedule(()=>{Dt=pe[j.hZ](),ze.add(ce.schedule(function(){if(Le.closed)return;let Ke,ge;try{const Ue=Dt.next();Ke=Ue.value,ge=Ue.done}catch(Ue){return void Le.error(Ue)}ge?Le.complete():(Le.next(Ke),this.schedule())}))})),ze})}(pe,ce)}throw new TypeError((null!==pe&&typeof pe||pe)+" is not observable")}(pe,ce):pe instanceof u.y?pe:new u.y((0,m.s)(pe))}},3009:(tt,Se,T)=>{T.d(Se,{n:()=>_e});var u=T(2916),m=T(3650),de=T(6454);function _e(se,z){return z?(0,de.r)(se,z):new u.y((0,m.V)(se))}},3753:(tt,Se,T)=>{T.d(Se,{R:()=>z});var u=T(2916),m=T(6688),de=T(7043),_e=T(4850);function z(X,te,Ce,ve){return(0,de.m)(Ce)&&(ve=Ce,Ce=void 0),ve?z(X,te,Ce).pipe((0,_e.U)(he=>(0,m.k)(he)?ve(...he):ve(he))):new u.y(he=>{le(X,te,function pe(ce){he.next(arguments.length>1?Array.prototype.slice.call(arguments):ce)},he,Ce)})}function le(X,te,Ce,ve,he){let pe;if(function Q(X){return X&&"function"==typeof X.addEventListener&&"function"==typeof X.removeEventListener}(X)){const ce=X;X.addEventListener(te,Ce,he),pe=()=>ce.removeEventListener(te,Ce,he)}else if(function Y(X){return X&&"function"==typeof X.on&&"function"==typeof X.off}(X)){const ce=X;X.on(te,Ce),pe=()=>ce.off(te,Ce)}else if(function j(X){return X&&"function"==typeof X.addListener&&"function"==typeof X.removeListener}(X)){const ce=X;X.addListener(te,Ce),pe=()=>ce.removeListener(te,Ce)}else{if(!X||!X.length)throw new TypeError("Invalid event target");for(let ce=0,Le=X.length;ce<Le;ce++)le(X[ce],te,Ce,ve,he)}ve.add(pe)}},6787:(tt,Se,T)=>{T.d(Se,{T:()=>se});var u=T(2916),m=T(2866),de=T(9146),_e=T(3009);function se(...z){let le=Number.POSITIVE_INFINITY,j=null,Y=z[z.length-1];return(0,m.K)(Y)?(j=z.pop(),z.length>1&&"number"==typeof z[z.length-1]&&(le=z.pop())):"number"==typeof Y&&(le=z.pop()),null===j&&1===z.length&&z[0]instanceof u.y?z[0]:(0,de.J)(le)((0,_e.n)(z,j))}},1086:(tt,Se,T)=>{T.d(Se,{of:()=>_e});var u=T(2866),m=T(3009),de=T(6454);function _e(...se){let z=se[se.length-1];return(0,u.K)(z)?(se.pop(),(0,de.r)(se,z)):(0,m.n)(se)}},1737:(tt,Se,T)=>{T.d(Se,{_:()=>m});var u=T(2916);function m(_e,se){return new u.y(se?z=>se.schedule(de,0,{error:_e,subscriber:z}):z=>z.error(_e))}function de({error:_e,subscriber:se}){se.error(_e)}},7221:(tt,Se,T)=>{T.d(Se,{K:()=>m});var u=T(1177);function m(se){return function(le){const j=new de(se),Y=le.lift(j);return j.caught=Y}}class de{constructor(z){this.selector=z}call(z,le){return le.subscribe(new _e(z,this.selector,this.caught))}}class _e extends u.Ds{constructor(z,le,j){super(z),this.selector=le,this.caught=j}error(z){if(!this.isStopped){let le;try{le=this.selector(z,this.caught)}catch(Q){return void super.error(Q)}this._unsubscribeAndRecycle();const j=new u.IY(this);this.add(j);const Y=(0,u.ft)(le,j);Y!==j&&this.add(Y)}}}},1406:(tt,Se,T)=>{T.d(Se,{b:()=>m});var u=T(1709);function m(de,_e){return(0,u.zg)(de,_e,1)}},13:(tt,Se,T)=>{T.d(Se,{b:()=>de});var u=T(3489),m=T(353);function de(le,j=m.P){return Y=>Y.lift(new _e(le,j))}class _e{constructor(j,Y){this.dueTime=j,this.scheduler=Y}call(j,Y){return Y.subscribe(new se(j,this.dueTime,this.scheduler))}}class se extends u.L{constructor(j,Y,Q){super(j),this.dueTime=Y,this.scheduler=Q,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(j){this.clearDebounce(),this.lastValue=j,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(z,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:j}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(j)}}clearDebounce(){const j=this.debouncedSubscription;null!==j&&(this.remove(j),j.unsubscribe(),this.debouncedSubscription=null)}}function z(le){le.debouncedNext()}},5778:(tt,Se,T)=>{T.d(Se,{x:()=>m});var u=T(3489);function m(se,z){return le=>le.lift(new de(se,z))}class de{constructor(z,le){this.compare=z,this.keySelector=le}call(z,le){return le.subscribe(new _e(z,this.compare,this.keySelector))}}class _e extends u.L{constructor(z,le,j){super(z),this.keySelector=j,this.hasKey=!1,"function"==typeof le&&(this.compare=le)}compare(z,le){return z===le}_next(z){let le;try{const{keySelector:Y}=this;le=Y?Y(z):z}catch(Y){return this.destination.error(Y)}let j=!1;if(this.hasKey)try{const{compare:Y}=this;j=Y(this.key,le)}catch(Y){return this.destination.error(Y)}else this.hasKey=!0;j||(this.key=le,this.destination.next(z))}}},2198:(tt,Se,T)=>{T.d(Se,{h:()=>m});var u=T(3489);function m(se,z){return function(j){return j.lift(new de(se,z))}}class de{constructor(z,le){this.predicate=z,this.thisArg=le}call(z,le){return le.subscribe(new _e(z,this.predicate,this.thisArg))}}class _e extends u.L{constructor(z,le,j){super(z),this.predicate=le,this.thisArg=j,this.count=0}_next(z){let le;try{le=this.predicate.call(this.thisArg,z,this.count++)}catch(j){return void this.destination.error(j)}le&&this.destination.next(z)}}},537:(tt,Se,T)=>{T.d(Se,{x:()=>de});var u=T(3489),m=T(2654);function de(z){return le=>le.lift(new _e(z))}class _e{constructor(le){this.callback=le}call(le,j){return j.subscribe(new se(le,this.callback))}}class se extends u.L{constructor(le,j){super(le),this.add(new m.w(j))}}},4850:(tt,Se,T)=>{T.d(Se,{U:()=>m});var u=T(3489);function m(se,z){return function(j){if("function"!=typeof se)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return j.lift(new de(se,z))}}class de{constructor(z,le){this.project=z,this.thisArg=le}call(z,le){return le.subscribe(new _e(z,this.project,this.thisArg))}}class _e extends u.L{constructor(z,le,j){super(z),this.project=le,this.count=0,this.thisArg=j||this}_next(z){let le;try{le=this.project.call(this.thisArg,z,this.count++)}catch(j){return void this.destination.error(j)}this.destination.next(le)}}},9146:(tt,Se,T)=>{T.d(Se,{J:()=>de});var u=T(1709),m=T(5379);function de(_e=Number.POSITIVE_INFINITY){return(0,u.zg)(m.y,_e)}},1709:(tt,Se,T)=>{T.d(Se,{zg:()=>_e});var u=T(4850),m=T(5254),de=T(1177);function _e(j,Y,Q=Number.POSITIVE_INFINITY){return"function"==typeof Y?X=>X.pipe(_e((te,Ce)=>(0,m.D)(j(te,Ce)).pipe((0,u.U)((ve,he)=>Y(te,ve,Ce,he))),Q)):("number"==typeof Y&&(Q=Y),X=>X.lift(new se(j,Q)))}class se{constructor(Y,Q=Number.POSITIVE_INFINITY){this.project=Y,this.concurrent=Q}call(Y,Q){return Q.subscribe(new z(Y,this.project,this.concurrent))}}class z extends de.Ds{constructor(Y,Q,X=Number.POSITIVE_INFINITY){super(Y),this.project=Q,this.concurrent=X,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(Y){this.active<this.concurrent?this._tryNext(Y):this.buffer.push(Y)}_tryNext(Y){let Q;const X=this.index++;try{Q=this.project(Y,X)}catch(te){return void this.destination.error(te)}this.active++,this._innerSub(Q)}_innerSub(Y){const Q=new de.IY(this),X=this.destination;X.add(Q);const te=(0,de.ft)(Y,Q);te!==Q&&X.add(te)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(Y){this.destination.next(Y)}notifyComplete(){const Y=this.buffer;this.active--,Y.length>0?this._next(Y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},4327:(tt,Se,T)=>{T.d(Se,{x:()=>m});var u=T(3489);function m(){return function(z){return z.lift(new de(z))}}class de{constructor(z){this.connectable=z}call(z,le){const{connectable:j}=this;j._refCount++;const Y=new _e(z,j),Q=le.subscribe(Y);return Y.closed||(Y.connection=j.connect()),Q}}class _e extends u.L{constructor(z,le){super(z),this.connectable=le}_unsubscribe(){const{connectable:z}=this;if(!z)return void(this.connection=null);this.connectable=null;const le=z._refCount;if(le<=0)return void(this.connection=null);if(z._refCount=le-1,le>1)return void(this.connection=null);const{connection:j}=this,Y=z._connection;this.connection=null,Y&&(!j||Y===j)&&Y.unsubscribe()}}},2474:(tt,Se,T)=>{T.d(Se,{B:()=>le});var u=T(1762);class de{constructor(Y,Q){this.subjectFactory=Y,this.selector=Q}call(Y,Q){const{selector:X}=this,te=this.subjectFactory(),Ce=X(te).subscribe(Y);return Ce.add(Q.subscribe(te)),Ce}}var _e=T(4327),se=T(8929);function z(){return new se.xQ}function le(){return j=>(0,_e.x)()(function m(j,Y){return function(X){let te;if(te="function"==typeof j?j:function(){return j},"function"==typeof Y)return X.lift(new de(te,Y));const Ce=Object.create(X,u.N);return Ce.source=X,Ce.subjectFactory=te,Ce}}(z)(j))}},1307:(tt,Se,T)=>{T.d(Se,{T:()=>m});var u=T(3489);function m(se){return z=>z.lift(new de(se))}class de{constructor(z){this.total=z}call(z,le){return le.subscribe(new _e(z,this.total))}}class _e extends u.L{constructor(z,le){super(z),this.total=le,this.count=0}_next(z){++this.count>this.total&&this.destination.next(z)}}},1059:(tt,Se,T)=>{T.d(Se,{O:()=>de});var u=T(1221),m=T(2866);function de(..._e){const se=_e[_e.length-1];return(0,m.K)(se)?(_e.pop(),z=>(0,u.z)(_e,z,se)):z=>(0,u.z)(_e,z)}},2986:(tt,Se,T)=>{T.d(Se,{q:()=>_e});var u=T(3489),m=T(4231),de=T(8896);function _e(le){return j=>0===le?(0,de.c)():j.lift(new se(le))}class se{constructor(j){if(this.total=j,this.total<0)throw new m.W}call(j,Y){return Y.subscribe(new z(j,this.total))}}class z extends u.L{constructor(j,Y){super(j),this.total=Y,this.count=0}_next(j){const Y=this.total,Q=++this.count;Q<=Y&&(this.destination.next(j),Q===Y&&(this.destination.complete(),this.unsubscribe()))}}},7625:(tt,Se,T)=>{T.d(Se,{R:()=>m});var u=T(1177);function m(se){return z=>z.lift(new de(se))}class de{constructor(z){this.notifier=z}call(z,le){const j=new _e(z),Y=(0,u.ft)(this.notifier,new u.IY(j));return Y&&!j.seenValue?(j.add(Y),le.subscribe(j)):j}}class _e extends u.Ds{constructor(z){super(z),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},2868:(tt,Se,T)=>{T.d(Se,{b:()=>_e});var u=T(3489);function m(){}var de=T(7043);function _e(le,j,Y){return function(X){return X.lift(new se(le,j,Y))}}class se{constructor(j,Y,Q){this.nextOrObserver=j,this.error=Y,this.complete=Q}call(j,Y){return Y.subscribe(new z(j,this.nextOrObserver,this.error,this.complete))}}class z extends u.L{constructor(j,Y,Q,X){super(j),this._tapNext=m,this._tapError=m,this._tapComplete=m,this._tapError=Q||m,this._tapComplete=X||m,(0,de.m)(Y)?(this._context=this,this._tapNext=Y):Y&&(this._context=Y,this._tapNext=Y.next||m,this._tapError=Y.error||m,this._tapComplete=Y.complete||m)}_next(j){try{this._tapNext.call(this._context,j)}catch(Y){return void this.destination.error(Y)}this.destination.next(j)}_error(j){try{this._tapError.call(this._context,j)}catch(Y){return void this.destination.error(Y)}this.destination.error(j)}_complete(){try{this._tapComplete.call(this._context)}catch(j){return void this.destination.error(j)}return this.destination.complete()}}},6454:(tt,Se,T)=>{T.d(Se,{r:()=>de});var u=T(2916),m=T(2654);function de(_e,se){return new u.y(z=>{const le=new m.w;let j=0;return le.add(se.schedule(function(){j!==_e.length?(z.next(_e[j++]),z.closed||le.add(this.schedule())):z.complete()})),le})}},6686:(tt,Se,T)=>{T.d(Se,{o:()=>de});var u=T(2654);class m extends u.w{constructor(se,z){super()}schedule(se,z=0){return this}}class de extends m{constructor(se,z){super(se,z),this.scheduler=se,this.work=z,this.pending=!1}schedule(se,z=0){if(this.closed)return this;this.state=se;const le=this.id,j=this.scheduler;return null!=le&&(this.id=this.recycleAsyncId(j,le,z)),this.pending=!0,this.delay=z,this.id=this.id||this.requestAsyncId(j,this.id,z),this}requestAsyncId(se,z,le=0){return setInterval(se.flush.bind(se,this),le)}recycleAsyncId(se,z,le=0){if(null!==le&&this.delay===le&&!1===this.pending)return z;clearInterval(z)}execute(se,z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const le=this._execute(se,z);if(le)return le;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(se,z){let j,le=!1;try{this.work(se)}catch(Y){le=!0,j=!!Y&&Y||new Error(Y)}if(le)return this.unsubscribe(),j}_unsubscribe(){const se=this.id,z=this.scheduler,le=z.actions,j=le.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==j&&le.splice(j,1),null!=se&&(this.id=this.recycleAsyncId(z,se,null)),this.delay=null}}},2268:(tt,Se,T)=>{T.d(Se,{v:()=>m});let u=(()=>{class de{constructor(se,z=de.now){this.SchedulerAction=se,this.now=z}schedule(se,z=0,le){return new this.SchedulerAction(this,se).schedule(le,z)}}return de.now=()=>Date.now(),de})();class m extends u{constructor(_e,se=u.now){super(_e,()=>m.delegate&&m.delegate!==this?m.delegate.now():se()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(_e,se=0,z){return m.delegate&&m.delegate!==this?m.delegate.schedule(_e,se,z):super.schedule(_e,se,z)}flush(_e){const{actions:se}=this;if(this.active)return void se.push(_e);let z;this.active=!0;do{if(z=_e.execute(_e.state,_e.delay))break}while(_e=se.shift());if(this.active=!1,z){for(;_e=se.shift();)_e.unsubscribe();throw z}}}},353:(tt,Se,T)=>{T.d(Se,{P:()=>_e});var u=T(6686);const _e=new(T(2268).v)(u.o)},5430:(tt,Se,T)=>{T.d(Se,{hZ:()=>m});const m=function u(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(tt,Se,T)=>{T.d(Se,{L:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(tt,Se,T)=>{T.d(Se,{b:()=>u});const u="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(tt,Se,T)=>{T.d(Se,{W:()=>m});const m=(()=>{function de(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return de.prototype=Object.create(Error.prototype),de})()},5279:(tt,Se,T)=>{T.d(Se,{N:()=>m});const m=(()=>{function de(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return de.prototype=Object.create(Error.prototype),de})()},2782:(tt,Se,T)=>{function u(m){setTimeout(()=>{throw m},0)}T.d(Se,{z:()=>u})},5379:(tt,Se,T)=>{function u(m){return m}T.d(Se,{y:()=>u})},6688:(tt,Se,T)=>{T.d(Se,{k:()=>u});const u=Array.isArray||(m=>m&&"number"==typeof m.length)},8515:(tt,Se,T)=>{T.d(Se,{z:()=>u});const u=m=>m&&"number"==typeof m.length&&"function"!=typeof m},7043:(tt,Se,T)=>{function u(m){return"function"==typeof m}T.d(Se,{m:()=>u})},4241:(tt,Se,T)=>{T.d(Se,{k:()=>m});var u=T(6688);function m(de){return!(0,u.k)(de)&&de-parseFloat(de)+1>=0}},7830:(tt,Se,T)=>{function u(m){return null!==m&&"object"==typeof m}T.d(Se,{K:()=>u})},8955:(tt,Se,T)=>{function u(m){return!!m&&"function"!=typeof m.subscribe&&"function"==typeof m.then}T.d(Se,{t:()=>u})},2866:(tt,Se,T)=>{function u(m){return m&&"function"==typeof m.schedule}T.d(Se,{K:()=>u})},9249:(tt,Se,T)=>{T.d(Se,{s:()=>X});var u=T(3650),m=T(2782),_e=T(5430),z=T(3821),j=T(8515),Y=T(8955),Q=T(7830);const X=te=>{if(te&&"function"==typeof te[z.L])return(te=>Ce=>{const ve=te[z.L]();if("function"!=typeof ve.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return ve.subscribe(Ce)})(te);if((0,j.z)(te))return(0,u.V)(te);if((0,Y.t)(te))return(te=>Ce=>(te.then(ve=>{Ce.closed||(Ce.next(ve),Ce.complete())},ve=>Ce.error(ve)).then(null,m.z),Ce))(te);if(te&&"function"==typeof te[_e.hZ])return(te=>Ce=>{const ve=te[_e.hZ]();for(;;){let he;try{he=ve.next()}catch(pe){return Ce.error(pe),Ce}if(he.done){Ce.complete();break}if(Ce.next(he.value),Ce.closed)break}return"function"==typeof ve.return&&Ce.add(()=>{ve.return&&ve.return()}),Ce})(te);{const ve=`You provided ${(0,Q.K)(te)?"an invalid object":`'${te}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(ve)}}},3650:(tt,Se,T)=>{T.d(Se,{V:()=>u});const u=m=>de=>{for(let _e=0,se=m.length;_e<se&&!de.closed;_e++)de.next(m[_e]);de.complete()}},1777:(tt,Se,T)=>{T.d(Se,{l3:()=>de,_j:()=>u,LC:()=>m,ZN:()=>Le,jt:()=>se,F4:()=>Q,vP:()=>le,SB:()=>Y,oB:()=>j,eR:()=>X,X$:()=>_e,ZE:()=>ze,k1:()=>Dt});class u{}class m{}const de="*";function _e(Ke,ge){return{type:7,name:Ke,definitions:ge,options:{}}}function se(Ke,ge=null){return{type:4,styles:ge,timings:Ke}}function le(Ke,ge=null){return{type:2,steps:Ke,options:ge}}function j(Ke){return{type:6,styles:Ke,offset:null}}function Y(Ke,ge,Ue){return{type:0,name:Ke,styles:ge,options:Ue}}function Q(Ke){return{type:5,steps:Ke}}function X(Ke,ge,Ue=null){return{type:1,expr:Ke,animation:ge,options:Ue}}function ce(Ke){Promise.resolve(null).then(Ke)}class Le{constructor(ge=0,Ue=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ge+Ue}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}onStart(ge){this._onStartFns.push(ge)}onDone(ge){this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ce(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ge=>ge()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(ge){this._position=this.totalTime?ge*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ge){const Ue="start"==ge?this._onStartFns:this._onDoneFns;Ue.forEach(_t=>_t()),Ue.length=0}}class ze{constructor(ge){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ge;let Ue=0,_t=0,Kt=0;const en=this.players.length;0==en?ce(()=>this._onFinish()):this.players.forEach(At=>{At.onDone(()=>{++Ue==en&&this._onFinish()}),At.onDestroy(()=>{++_t==en&&this._onDestroy()}),At.onStart(()=>{++Kt==en&&this._onStart()})}),this.totalTime=this.players.reduce((At,Rt)=>Math.max(At,Rt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}init(){this.players.forEach(ge=>ge.init())}onStart(ge){this._onStartFns.push(ge)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ge=>ge()),this._onStartFns=[])}onDone(ge){this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ge=>ge.play())}pause(){this.players.forEach(ge=>ge.pause())}restart(){this.players.forEach(ge=>ge.restart())}finish(){this._onFinish(),this.players.forEach(ge=>ge.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ge=>ge.destroy()),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this.players.forEach(ge=>ge.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ge){const Ue=ge*this.totalTime;this.players.forEach(_t=>{const Kt=_t.totalTime?Math.min(1,Ue/_t.totalTime):1;_t.setPosition(Kt)})}getPosition(){const ge=this.players.reduce((Ue,_t)=>null===Ue||_t.totalTime>Ue.totalTime?_t:Ue,null);return null!=ge?ge.getPosition():0}beforeDestroy(){this.players.forEach(ge=>{ge.beforeDestroy&&ge.beforeDestroy()})}triggerCallback(ge){const Ue="start"==ge?this._onStartFns:this._onDoneFns;Ue.forEach(_t=>_t()),Ue.length=0}}const Dt="!"},5664:(tt,Se,T)=>{T.d(Se,{Em:()=>Tt,tE:()=>Mt,qV:()=>gn,qm:()=>rn,ic:()=>jn,X6:()=>wn,yG:()=>tn});var u=T(9808),m=T(5e3),de=T(925),_e=T(8929),se=T(2654),z=T(591),le=T(1086),j=T(1159),Y=T(2868),Q=T(13),X=T(2198),te=T(4850),Ce=T(2986),ve=T(1307),he=T(5778),pe=T(7625),ce=T(3191);class Tt extends class xt{constructor(O){this._items=O,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new _e.xQ,this._typeaheadSubscription=se.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=k=>k.disabled,this._pressedLetters=[],this.tabOut=new _e.xQ,this.change=new _e.xQ,O instanceof m.n_E&&O.changes.subscribe(k=>{if(this._activeItem){const we=k.toArray().indexOf(this._activeItem);we>-1&&we!==this._activeItemIndex&&(this._activeItemIndex=we)}})}skipPredicate(O){return this._skipPredicateFn=O,this}withWrap(O=!0){return this._wrap=O,this}withVerticalOrientation(O=!0){return this._vertical=O,this}withHorizontalOrientation(O){return this._horizontal=O,this}withAllowedModifierKeys(O){return this._allowedModifierKeys=O,this}withTypeAhead(O=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Y.b)(k=>this._pressedLetters.push(k)),(0,Q.b)(O),(0,X.h)(()=>this._pressedLetters.length>0),(0,te.U)(()=>this._pressedLetters.join(""))).subscribe(k=>{const ee=this._getItemsArray();for(let we=1;we<ee.length+1;we++){const $e=(this._activeItemIndex+we)%ee.length,Ot=ee[$e];if(!this._skipPredicateFn(Ot)&&0===Ot.getLabel().toUpperCase().trim().indexOf(k)){this.setActiveItem($e);break}}this._pressedLetters=[]}),this}withHomeAndEnd(O=!0){return this._homeAndEnd=O,this}setActiveItem(O){const k=this._activeItem;this.updateActiveItem(O),this._activeItem!==k&&this.change.next(this._activeItemIndex)}onKeydown(O){const k=O.keyCode,we=["altKey","ctrlKey","metaKey","shiftKey"].every($e=>!O[$e]||this._allowedModifierKeys.indexOf($e)>-1);switch(k){case j.Mf:return void this.tabOut.next();case j.JH:if(this._vertical&&we){this.setNextItemActive();break}return;case j.LH:if(this._vertical&&we){this.setPreviousItemActive();break}return;case j.SV:if(this._horizontal&&we){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case j.oh:if(this._horizontal&&we){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case j.Sd:if(this._homeAndEnd&&we){this.setFirstItemActive();break}return;case j.uR:if(this._homeAndEnd&&we){this.setLastItemActive();break}return;default:return void((we||(0,j.Vb)(O,"shiftKey"))&&(O.key&&1===O.key.length?this._letterKeyStream.next(O.key.toLocaleUpperCase()):(k>=j.A&&k<=j.Z||k>=j.xE&&k<=j.aO)&&this._letterKeyStream.next(String.fromCharCode(k))))}this._pressedLetters=[],O.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(O){const k=this._getItemsArray(),ee="number"==typeof O?O:k.indexOf(O),we=k[ee];this._activeItem=null==we?null:we,this._activeItemIndex=ee}_setActiveItemByDelta(O){this._wrap?this._setActiveInWrapMode(O):this._setActiveInDefaultMode(O)}_setActiveInWrapMode(O){const k=this._getItemsArray();for(let ee=1;ee<=k.length;ee++){const we=(this._activeItemIndex+O*ee+k.length)%k.length;if(!this._skipPredicateFn(k[we]))return void this.setActiveItem(we)}}_setActiveInDefaultMode(O){this._setActiveItemByIndex(this._activeItemIndex+O,O)}_setActiveItemByIndex(O,k){const ee=this._getItemsArray();if(ee[O]){for(;this._skipPredicateFn(ee[O]);)if(!ee[O+=k])return;this.setActiveItem(O)}}_getItemsArray(){return this._items instanceof m.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(O){return this._origin=O,this}setActiveItem(O){super.setActiveItem(O),this.activeItem&&this.activeItem.focus(this._origin)}}let jn=(()=>{class B{constructor(k){this._platform=k}isDisabled(k){return k.hasAttribute("disabled")}isVisible(k){return function Ft(B){return!!(B.offsetWidth||B.offsetHeight||"function"==typeof B.getClientRects&&B.getClientRects().length)}(k)&&"visible"===getComputedStyle(k).visibility}isTabbable(k){if(!this._platform.isBrowser)return!1;const ee=function mn(B){try{return B.frameElement}catch(O){return null}}(function Xt(B){return B.ownerDocument&&B.ownerDocument.defaultView||window}(k));if(ee&&(-1===$t(ee)||!this.isVisible(ee)))return!1;let we=k.nodeName.toLowerCase(),$e=$t(k);return k.hasAttribute("contenteditable")?-1!==$e:!("iframe"===we||"object"===we||this._platform.WEBKIT&&this._platform.IOS&&!function Bt(B){let O=B.nodeName.toLowerCase(),k="input"===O&&B.type;return"text"===k||"password"===k||"select"===O||"textarea"===O}(k))&&("audio"===we?!!k.hasAttribute("controls")&&-1!==$e:"video"===we?-1!==$e&&(null!==$e||this._platform.FIREFOX||k.hasAttribute("controls")):k.tabIndex>=0)}isFocusable(k,ee){return function Pt(B){return!function lt(B){return function In(B){return"input"==B.nodeName.toLowerCase()}(B)&&"hidden"==B.type}(B)&&(function Lt(B){let O=B.nodeName.toLowerCase();return"input"===O||"select"===O||"button"===O||"textarea"===O}(B)||function an(B){return function pn(B){return"a"==B.nodeName.toLowerCase()}(B)&&B.hasAttribute("href")}(B)||B.hasAttribute("contenteditable")||Et(B))}(k)&&!this.isDisabled(k)&&((null==ee?void 0:ee.ignoreVisibility)||this.isVisible(k))}}return B.\u0275fac=function(k){return new(k||B)(m.LFG(de.t4))},B.\u0275prov=m.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})();function Et(B){if(!B.hasAttribute("tabindex")||void 0===B.tabIndex)return!1;let O=B.getAttribute("tabindex");return!(!O||isNaN(parseInt(O,10)))}function $t(B){if(!Et(B))return null;const O=parseInt(B.getAttribute("tabindex")||"",10);return isNaN(O)?-1:O}class Cn{constructor(O,k,ee,we,$e=!1){this._element=O,this._checker=k,this._ngZone=ee,this._document=we,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,$e||this.attachAnchors()}get enabled(){return this._enabled}set enabled(O){this._enabled=O,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(O,this._startAnchor),this._toggleAnchorTabIndex(O,this._endAnchor))}destroy(){const O=this._startAnchor,k=this._endAnchor;O&&(O.removeEventListener("focus",this.startAnchorListener),O.remove()),k&&(k.removeEventListener("focus",this.endAnchorListener),k.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(O){return new Promise(k=>{this._executeOnStable(()=>k(this.focusInitialElement(O)))})}focusFirstTabbableElementWhenReady(O){return new Promise(k=>{this._executeOnStable(()=>k(this.focusFirstTabbableElement(O)))})}focusLastTabbableElementWhenReady(O){return new Promise(k=>{this._executeOnStable(()=>k(this.focusLastTabbableElement(O)))})}_getRegionBoundary(O){const k=this._element.querySelectorAll(`[cdk-focus-region-${O}], [cdkFocusRegion${O}], [cdk-focus-${O}]`);return"start"==O?k.length?k[0]:this._getFirstTabbableElement(this._element):k.length?k[k.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(O){const k=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(k){if(!this._checker.isFocusable(k)){const ee=this._getFirstTabbableElement(k);return null==ee||ee.focus(O),!!ee}return k.focus(O),!0}return this.focusFirstTabbableElement(O)}focusFirstTabbableElement(O){const k=this._getRegionBoundary("start");return k&&k.focus(O),!!k}focusLastTabbableElement(O){const k=this._getRegionBoundary("end");return k&&k.focus(O),!!k}hasAttached(){return this._hasAttached}_getFirstTabbableElement(O){if(this._checker.isFocusable(O)&&this._checker.isTabbable(O))return O;const k=O.children;for(let ee=0;ee<k.length;ee++){const we=k[ee].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(k[ee]):null;if(we)return we}return null}_getLastTabbableElement(O){if(this._checker.isFocusable(O)&&this._checker.isTabbable(O))return O;const k=O.children;for(let ee=k.length-1;ee>=0;ee--){const we=k[ee].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(k[ee]):null;if(we)return we}return null}_createAnchor(){const O=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,O),O.classList.add("cdk-visually-hidden"),O.classList.add("cdk-focus-trap-anchor"),O.setAttribute("aria-hidden","true"),O}_toggleAnchorTabIndex(O,k){O?k.setAttribute("tabindex","0"):k.removeAttribute("tabindex")}toggleAnchors(O){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(O,this._startAnchor),this._toggleAnchorTabIndex(O,this._endAnchor))}_executeOnStable(O){this._ngZone.isStable?O():this._ngZone.onStable.pipe((0,Ce.q)(1)).subscribe(O)}}let gn=(()=>{class B{constructor(k,ee,we){this._checker=k,this._ngZone=ee,this._document=we}create(k,ee=!1){return new Cn(k,this._checker,this._ngZone,this._document,ee)}}return B.\u0275fac=function(k){return new(k||B)(m.LFG(jn),m.LFG(m.R0b),m.LFG(u.K0))},B.\u0275prov=m.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})();function wn(B){return 0===B.buttons||0===B.offsetX&&0===B.offsetY}function tn(B){const O=B.touches&&B.touches[0]||B.changedTouches&&B.changedTouches[0];return!(!O||-1!==O.identifier||null!=O.radiusX&&1!==O.radiusX||null!=O.radiusY&&1!==O.radiusY)}const ke=new m.OlP("cdk-input-modality-detector-options"),Ae={ignoreKeys:[j.zL,j.jx,j.b2,j.MW,j.JU]},Me=(0,de.i$)({passive:!0,capture:!0});let Ge=(()=>{class B{constructor(k,ee,we,$e){this._platform=k,this._mostRecentTarget=null,this._modality=new z.X(null),this._lastTouchMs=0,this._onKeydown=Ot=>{var jt,sn;(null===(sn=null===(jt=this._options)||void 0===jt?void 0:jt.ignoreKeys)||void 0===sn?void 0:sn.some(cn=>cn===Ot.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,de.sA)(Ot))},this._onMousedown=Ot=>{Date.now()-this._lastTouchMs<650||(this._modality.next(wn(Ot)?"keyboard":"mouse"),this._mostRecentTarget=(0,de.sA)(Ot))},this._onTouchstart=Ot=>{tn(Ot)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,de.sA)(Ot))},this._options=Object.assign(Object.assign({},Ae),$e),this.modalityDetected=this._modality.pipe((0,ve.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,he.x)()),k.isBrowser&&ee.runOutsideAngular(()=>{we.addEventListener("keydown",this._onKeydown,Me),we.addEventListener("mousedown",this._onMousedown,Me),we.addEventListener("touchstart",this._onTouchstart,Me)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Me),document.removeEventListener("mousedown",this._onMousedown,Me),document.removeEventListener("touchstart",this._onTouchstart,Me))}}return B.\u0275fac=function(k){return new(k||B)(m.LFG(de.t4),m.LFG(m.R0b),m.LFG(u.K0),m.LFG(ke,8))},B.\u0275prov=m.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})();const Yn=new m.OlP("cdk-focus-monitor-default-options"),vn=(0,de.i$)({passive:!0,capture:!0});let Mt=(()=>{class B{constructor(k,ee,we,$e,Ot){this._ngZone=k,this._platform=ee,this._inputModalityDetector=we,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new _e.xQ,this._rootNodeFocusAndBlurListener=jt=>{const sn=(0,de.sA)(jt),cn="focus"===jt.type?this._onFocus:this._onBlur;for(let Jt=sn;Jt;Jt=Jt.parentElement)cn.call(this,jt,Jt)},this._document=$e,this._detectionMode=(null==Ot?void 0:Ot.detectionMode)||0}monitor(k,ee=!1){const we=(0,ce.fI)(k);if(!this._platform.isBrowser||1!==we.nodeType)return(0,le.of)(null);const $e=(0,de.kV)(we)||this._getDocument(),Ot=this._elementInfo.get(we);if(Ot)return ee&&(Ot.checkChildren=!0),Ot.subject;const jt={checkChildren:ee,subject:new _e.xQ,rootNode:$e};return this._elementInfo.set(we,jt),this._registerGlobalListeners(jt),jt.subject}stopMonitoring(k){const ee=(0,ce.fI)(k),we=this._elementInfo.get(ee);we&&(we.subject.complete(),this._setClasses(ee),this._elementInfo.delete(ee),this._removeGlobalListeners(we))}focusVia(k,ee,we){const $e=(0,ce.fI)(k);$e===this._getDocument().activeElement?this._getClosestElementsInfo($e).forEach(([jt,sn])=>this._originChanged(jt,ee,sn)):(this._setOrigin(ee),"function"==typeof $e.focus&&$e.focus(we))}ngOnDestroy(){this._elementInfo.forEach((k,ee)=>this.stopMonitoring(ee))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(k){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(k)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(k){return 1===this._detectionMode||!!(null==k?void 0:k.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(k,ee){k.classList.toggle("cdk-focused",!!ee),k.classList.toggle("cdk-touch-focused","touch"===ee),k.classList.toggle("cdk-keyboard-focused","keyboard"===ee),k.classList.toggle("cdk-mouse-focused","mouse"===ee),k.classList.toggle("cdk-program-focused","program"===ee)}_setOrigin(k,ee=!1){this._ngZone.runOutsideAngular(()=>{this._origin=k,this._originFromTouchInteraction="touch"===k&&ee,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(k,ee){const we=this._elementInfo.get(ee),$e=(0,de.sA)(k);!we||!we.checkChildren&&ee!==$e||this._originChanged(ee,this._getFocusOrigin($e),we)}_onBlur(k,ee){const we=this._elementInfo.get(ee);!we||we.checkChildren&&k.relatedTarget instanceof Node&&ee.contains(k.relatedTarget)||(this._setClasses(ee),this._emitOrigin(we.subject,null))}_emitOrigin(k,ee){this._ngZone.run(()=>k.next(ee))}_registerGlobalListeners(k){if(!this._platform.isBrowser)return;const ee=k.rootNode,we=this._rootNodeFocusListenerCount.get(ee)||0;we||this._ngZone.runOutsideAngular(()=>{ee.addEventListener("focus",this._rootNodeFocusAndBlurListener,vn),ee.addEventListener("blur",this._rootNodeFocusAndBlurListener,vn)}),this._rootNodeFocusListenerCount.set(ee,we+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,pe.R)(this._stopInputModalityDetector)).subscribe($e=>{this._setOrigin($e,!0)}))}_removeGlobalListeners(k){const ee=k.rootNode;if(this._rootNodeFocusListenerCount.has(ee)){const we=this._rootNodeFocusListenerCount.get(ee);we>1?this._rootNodeFocusListenerCount.set(ee,we-1):(ee.removeEventListener("focus",this._rootNodeFocusAndBlurListener,vn),ee.removeEventListener("blur",this._rootNodeFocusAndBlurListener,vn),this._rootNodeFocusListenerCount.delete(ee))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(k,ee,we){this._setClasses(k,ee),this._emitOrigin(we.subject,ee),this._lastFocusOrigin=ee}_getClosestElementsInfo(k){const ee=[];return this._elementInfo.forEach((we,$e)=>{($e===k||we.checkChildren&&$e.contains(k))&&ee.push([$e,we])}),ee}}return B.\u0275fac=function(k){return new(k||B)(m.LFG(m.R0b),m.LFG(de.t4),m.LFG(Ge),m.LFG(u.K0,8),m.LFG(Yn,8))},B.\u0275prov=m.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})();const Dn="cdk-high-contrast-black-on-white",_n="cdk-high-contrast-white-on-black",it="cdk-high-contrast-active";let rn=(()=>{class B{constructor(k,ee){this._platform=k,this._document=ee}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const k=this._document.createElement("div");k.style.backgroundColor="rgb(1,2,3)",k.style.position="absolute",this._document.body.appendChild(k);const ee=this._document.defaultView||window,we=ee&&ee.getComputedStyle?ee.getComputedStyle(k):null,$e=(we&&we.backgroundColor||"").replace(/ /g,"");switch(k.remove(),$e){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const k=this._document.body.classList;k.remove(it),k.remove(Dn),k.remove(_n),this._hasCheckedHighContrastMode=!0;const ee=this.getHighContrastMode();1===ee?(k.add(it),k.add(Dn)):2===ee&&(k.add(it),k.add(_n))}}}return B.\u0275fac=function(k){return new(k||B)(m.LFG(de.t4),m.LFG(u.K0))},B.\u0275prov=m.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})()},226:(tt,Se,T)=>{T.d(Se,{vT:()=>Y,Is:()=>le});var u=T(5e3),m=T(9808);const de=new u.OlP("cdk-dir-doc",{providedIn:"root",factory:function _e(){return(0,u.f3M)(m.K0)}}),se=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let le=(()=>{class Q{constructor(te){if(this.value="ltr",this.change=new u.vpe,te){const ve=te.documentElement?te.documentElement.dir:null;this.value=function z(Q){const X=(null==Q?void 0:Q.toLowerCase())||"";return"auto"===X&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?se.test(navigator.language)?"rtl":"ltr":"rtl"===X?"rtl":"ltr"}((te.body?te.body.dir:null)||ve||"ltr")}}ngOnDestroy(){this.change.complete()}}return Q.\u0275fac=function(te){return new(te||Q)(u.LFG(de,8))},Q.\u0275prov=u.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),Y=(()=>{class Q{}return Q.\u0275fac=function(te){return new(te||Q)},Q.\u0275mod=u.oAB({type:Q}),Q.\u0275inj=u.cJS({}),Q})()},3191:(tt,Se,T)=>{T.d(Se,{Eq:()=>se,Ig:()=>m,HM:()=>z,fI:()=>le,su:()=>de});var u=T(5e3);function m(Y){return null!=Y&&"false"!=`${Y}`}function de(Y,Q=0){return function _e(Y){return!isNaN(parseFloat(Y))&&!isNaN(Number(Y))}(Y)?Number(Y):Q}function se(Y){return Array.isArray(Y)?Y:[Y]}function z(Y){return null==Y?"":"string"==typeof Y?Y:`${Y}px`}function le(Y){return Y instanceof u.SBq?Y.nativeElement:Y}},1159:(tt,Se,T)=>{T.d(Se,{A:()=>In,zL:()=>j,jx:()=>le,JH:()=>Dt,uR:()=>he,K5:()=>se,hY:()=>X,Sd:()=>pe,oh:()=>ce,b2:()=>St,MW:()=>Pe,aO:()=>mn,SV:()=>ze,JU:()=>z,L_:()=>te,Mf:()=>de,LH:()=>Le,Z:()=>Ye,xE:()=>Kt,Vb:()=>Ct});const de=9,se=13,z=16,le=17,j=18,X=27,te=32,he=35,pe=36,ce=37,Le=38,ze=39,Dt=40,Kt=48,mn=57,In=65,Ye=90,Pe=91,St=224;function Ct(It,...Qn){return Qn.length?Qn.some(ai=>It[ai]):It.altKey||It.shiftKey||It.ctrlKey||It.metaKey}},925:(tt,Se,T)=>{T.d(Se,{t4:()=>_e,ud:()=>se,sA:()=>Dt,kV:()=>Le,Oy:()=>Ke,_i:()=>he,qK:()=>j,i$:()=>X,Mq:()=>ve});var u=T(5e3),m=T(9808);let de;try{de="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(ge){de=!1}let z,_e=(()=>{class ge{constructor(_t){this._platformId=_t,this.isBrowser=this._platformId?(0,m.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!de)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return ge.\u0275fac=function(_t){return new(_t||ge)(u.LFG(u.Lbi))},ge.\u0275prov=u.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})(),se=(()=>{class ge{}return ge.\u0275fac=function(_t){return new(_t||ge)},ge.\u0275mod=u.oAB({type:ge}),ge.\u0275inj=u.cJS({}),ge})();const le=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function j(){if(z)return z;if("object"!=typeof document||!document)return z=new Set(le),z;let ge=document.createElement("input");return z=new Set(le.filter(Ue=>(ge.setAttribute("type",Ue),ge.type===Ue))),z}let Y,te,Ce,pe;function X(ge){return function Q(){if(null==Y&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Y=!0}))}finally{Y=Y||!1}return Y}()?ge:!!ge.capture}function ve(){if(null==Ce){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ce=!1,Ce;if("scrollBehavior"in document.documentElement.style)Ce=!0;else{const ge=Element.prototype.scrollTo;Ce=!!ge&&!/\{\s*\[native code\]\s*\}/.test(ge.toString())}}return Ce}function he(){if("object"!=typeof document||!document)return 0;if(null==te){const ge=document.createElement("div"),Ue=ge.style;ge.dir="rtl",Ue.width="1px",Ue.overflow="auto",Ue.visibility="hidden",Ue.pointerEvents="none",Ue.position="absolute";const _t=document.createElement("div"),Kt=_t.style;Kt.width="2px",Kt.height="1px",ge.appendChild(_t),document.body.appendChild(ge),te=0,0===ge.scrollLeft&&(ge.scrollLeft=1,te=0===ge.scrollLeft?1:2),ge.remove()}return te}function Le(ge){if(function ce(){if(null==pe){const ge="undefined"!=typeof document?document.head:null;pe=!(!ge||!ge.createShadowRoot&&!ge.attachShadow)}return pe}()){const Ue=ge.getRootNode?ge.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&Ue instanceof ShadowRoot)return Ue}return null}function Dt(ge){return ge.composedPath?ge.composedPath()[0]:ge.target}function Ke(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},5126:(tt,Se,T)=>{T.d(Se,{PQ:()=>Cn,ZD:()=>wn,mF:()=>Xt,Cl:()=>tn,rL:()=>zt});var u=T(3191),m=T(5e3),de=T(6686),se=T(2268);new class z extends se.v{flush(Ae){this.active=!0,this.scheduled=void 0;const{actions:J}=this;let Me,Ge=-1,et=J.length;Ae=Ae||J.shift();do{if(Me=Ae.execute(Ae.state,Ae.delay))break}while(++Ge<et&&(Ae=J.shift()));if(this.active=!1,Me){for(;++Ge<et&&(Ae=J.shift());)Ae.unsubscribe();throw Me}}}(class _e extends de.o{constructor(Ae,J){super(Ae,J),this.scheduler=Ae,this.work=J}requestAsyncId(Ae,J,Me=0){return null!==Me&&Me>0?super.requestAsyncId(Ae,J,Me):(Ae.actions.push(this),Ae.scheduled||(Ae.scheduled=requestAnimationFrame(()=>Ae.flush(null))))}recycleAsyncId(Ae,J,Me=0){if(null!==Me&&Me>0||null===Me&&this.delay>0)return super.recycleAsyncId(Ae,J,Me);0===Ae.actions.length&&(cancelAnimationFrame(J),Ae.scheduled=void 0)}});let Y=1;const Q=Promise.resolve(),X={};function te(ke){return ke in X&&(delete X[ke],!0)}const Ce={setImmediate(ke){const Ae=Y++;return X[Ae]=!0,Q.then(()=>te(Ae)&&ke()),Ae},clearImmediate(ke){te(ke)}};new class pe extends se.v{flush(Ae){this.active=!0,this.scheduled=void 0;const{actions:J}=this;let Me,Ge=-1,et=J.length;Ae=Ae||J.shift();do{if(Me=Ae.execute(Ae.state,Ae.delay))break}while(++Ge<et&&(Ae=J.shift()));if(this.active=!1,Me){for(;++Ge<et&&(Ae=J.shift());)Ae.unsubscribe();throw Me}}}(class he extends de.o{constructor(Ae,J){super(Ae,J),this.scheduler=Ae,this.work=J}requestAsyncId(Ae,J,Me=0){return null!==Me&&Me>0?super.requestAsyncId(Ae,J,Me):(Ae.actions.push(this),Ae.scheduled||(Ae.scheduled=Ce.setImmediate(Ae.flush.bind(Ae,null))))}recycleAsyncId(Ae,J,Me=0){if(null!==Me&&Me>0||null===Me&&this.delay>0)return super.recycleAsyncId(Ae,J,Me);0===Ae.actions.length&&(Ce.clearImmediate(J),Ae.scheduled=void 0)}});var ze=T(8929),Dt=T(1086),Ke=T(2916),ge=T(3753),Ue=T(353),_t=T(1177);class en{constructor(Ae){this.durationSelector=Ae}call(Ae,J){return J.subscribe(new At(Ae,this.durationSelector))}}class At extends _t.Ds{constructor(Ae,J){super(Ae),this.durationSelector=J,this.hasValue=!1}_next(Ae){if(this.value=Ae,this.hasValue=!0,!this.throttled){let J;try{const{durationSelector:Ge}=this;J=Ge(Ae)}catch(Ge){return this.destination.error(Ge)}const Me=(0,_t.ft)(J,new _t.IY(this));!Me||Me.closed?this.clearThrottle():this.add(this.throttled=Me)}}clearThrottle(){const{value:Ae,hasValue:J,throttled:Me}=this;Me&&(this.remove(Me),this.throttled=void 0,Me.unsubscribe()),J&&(this.value=void 0,this.hasValue=!1,this.destination.next(Ae))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var Rt=T(4241),xt=T(2866);function Tt(ke){const{index:Ae,period:J,subscriber:Me}=ke;if(Me.next(Ae),!Me.closed){if(-1===J)return Me.complete();ke.index=Ae+1,this.schedule(ke,J)}}function He(ke,Ae=Ue.P){return function Kt(ke){return function(J){return J.lift(new en(ke))}}(()=>function ft(ke=0,Ae,J){let Me=-1;return(0,Rt.k)(Ae)?Me=Number(Ae)<1?1:Number(Ae):(0,xt.K)(Ae)&&(J=Ae),(0,xt.K)(J)||(J=Ue.P),new Ke.y(Ge=>{const et=(0,Rt.k)(ke)?ke:+ke-J.now();return J.schedule(Tt,et,{index:0,period:Me,subscriber:Ge})})}(ke,Ae))}var jn=T(2198),mn=T(7625),Ft=T(9808),Lt=T(925),lt=T(226);let Xt=(()=>{class ke{constructor(J,Me,Ge){this._ngZone=J,this._platform=Me,this._scrolled=new ze.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ge}register(J){this.scrollContainers.has(J)||this.scrollContainers.set(J,J.elementScrolled().subscribe(()=>this._scrolled.next(J)))}deregister(J){const Me=this.scrollContainers.get(J);Me&&(Me.unsubscribe(),this.scrollContainers.delete(J))}scrolled(J=20){return this._platform.isBrowser?new Ke.y(Me=>{this._globalSubscription||this._addGlobalListener();const Ge=J>0?this._scrolled.pipe(He(J)).subscribe(Me):this._scrolled.subscribe(Me);return this._scrolledCount++,()=>{Ge.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Dt.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((J,Me)=>this.deregister(Me)),this._scrolled.complete()}ancestorScrolled(J,Me){const Ge=this.getAncestorScrollContainers(J);return this.scrolled(Me).pipe((0,jn.h)(et=>!et||Ge.indexOf(et)>-1))}getAncestorScrollContainers(J){const Me=[];return this.scrollContainers.forEach((Ge,et)=>{this._scrollableContainsElement(et,J)&&Me.push(et)}),Me}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(J,Me){let Ge=(0,u.fI)(Me),et=J.getElementRef().nativeElement;do{if(Ge==et)return!0}while(Ge=Ge.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const J=this._getWindow();return(0,ge.R)(J.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return ke.\u0275fac=function(J){return new(J||ke)(m.LFG(m.R0b),m.LFG(Lt.t4),m.LFG(Ft.K0,8))},ke.\u0275prov=m.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})(),Cn=(()=>{class ke{constructor(J,Me,Ge,et){this.elementRef=J,this.scrollDispatcher=Me,this.ngZone=Ge,this.dir=et,this._destroyed=new ze.xQ,this._elementScrolled=new Ke.y(Nt=>this.ngZone.runOutsideAngular(()=>(0,ge.R)(this.elementRef.nativeElement,"scroll").pipe((0,mn.R)(this._destroyed)).subscribe(Nt)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(J){const Me=this.elementRef.nativeElement,Ge=this.dir&&"rtl"==this.dir.value;null==J.left&&(J.left=Ge?J.end:J.start),null==J.right&&(J.right=Ge?J.start:J.end),null!=J.bottom&&(J.top=Me.scrollHeight-Me.clientHeight-J.bottom),Ge&&0!=(0,Lt._i)()?(null!=J.left&&(J.right=Me.scrollWidth-Me.clientWidth-J.left),2==(0,Lt._i)()?J.left=J.right:1==(0,Lt._i)()&&(J.left=J.right?-J.right:J.right)):null!=J.right&&(J.left=Me.scrollWidth-Me.clientWidth-J.right),this._applyScrollToOptions(J)}_applyScrollToOptions(J){const Me=this.elementRef.nativeElement;(0,Lt.Mq)()?Me.scrollTo(J):(null!=J.top&&(Me.scrollTop=J.top),null!=J.left&&(Me.scrollLeft=J.left))}measureScrollOffset(J){const Me="left",et=this.elementRef.nativeElement;if("top"==J)return et.scrollTop;if("bottom"==J)return et.scrollHeight-et.clientHeight-et.scrollTop;const Nt=this.dir&&"rtl"==this.dir.value;return"start"==J?J=Nt?"right":Me:"end"==J&&(J=Nt?Me:"right"),Nt&&2==(0,Lt._i)()?J==Me?et.scrollWidth-et.clientWidth-et.scrollLeft:et.scrollLeft:Nt&&1==(0,Lt._i)()?J==Me?et.scrollLeft+et.scrollWidth-et.clientWidth:-et.scrollLeft:J==Me?et.scrollLeft:et.scrollWidth-et.clientWidth-et.scrollLeft}}return ke.\u0275fac=function(J){return new(J||ke)(m.Y36(m.SBq),m.Y36(Xt),m.Y36(m.R0b),m.Y36(lt.Is,8))},ke.\u0275dir=m.lG2({type:ke,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),ke})(),zt=(()=>{class ke{constructor(J,Me,Ge){this._platform=J,this._change=new ze.xQ,this._changeListener=et=>{this._change.next(et)},this._document=Ge,Me.runOutsideAngular(()=>{if(J.isBrowser){const et=this._getWindow();et.addEventListener("resize",this._changeListener),et.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const J=this._getWindow();J.removeEventListener("resize",this._changeListener),J.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const J={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),J}getViewportRect(){const J=this.getViewportScrollPosition(),{width:Me,height:Ge}=this.getViewportSize();return{top:J.top,left:J.left,bottom:J.top+Ge,right:J.left+Me,height:Ge,width:Me}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const J=this._document,Me=this._getWindow(),Ge=J.documentElement,et=Ge.getBoundingClientRect();return{top:-et.top||J.body.scrollTop||Me.scrollY||Ge.scrollTop||0,left:-et.left||J.body.scrollLeft||Me.scrollX||Ge.scrollLeft||0}}change(J=20){return J>0?this._change.pipe(He(J)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const J=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:J.innerWidth,height:J.innerHeight}:{width:0,height:0}}}return ke.\u0275fac=function(J){return new(J||ke)(m.LFG(Lt.t4),m.LFG(m.R0b),m.LFG(Ft.K0,8))},ke.\u0275prov=m.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})(),wn=(()=>{class ke{}return ke.\u0275fac=function(J){return new(J||ke)},ke.\u0275mod=m.oAB({type:ke}),ke.\u0275inj=m.cJS({}),ke})(),tn=(()=>{class ke{}return ke.\u0275fac=function(J){return new(J||ke)},ke.\u0275mod=m.oAB({type:ke}),ke.\u0275inj=m.cJS({imports:[[lt.vT,Lt.ud,wn],lt.vT,wn]}),ke})()},9808:(tt,Se,T)=>{T.d(Se,{mr:()=>ze,Ov:()=>zi,ez:()=>Mi,K0:()=>le,Do:()=>Ke,Ts:()=>Pi,V_:()=>Q,Ye:()=>ge,S$:()=>ce,sg:()=>Ht,O5:()=>Ct,RF:()=>Hn,n9:()=>Mn,tP:()=>Ri,b0:()=>Dt,lw:()=>j,EM:()=>F,JF:()=>L,NF:()=>$n,w_:()=>z,bD:()=>ni,q:()=>de,Mx:()=>Oe,HT:()=>se});var u=T(5e3);let m=null;function de(){return m}function se(h){m||(m=h)}class z{}const le=new u.OlP("DocumentToken");let j=(()=>{class h{historyGo(p){throw new Error("Not implemented")}}return h.\u0275fac=function(p){return new(p||h)},h.\u0275prov=u.Yz7({token:h,factory:function(){return function Y(){return(0,u.LFG)(X)}()},providedIn:"platform"}),h})();const Q=new u.OlP("Location Initialized");let X=(()=>{class h extends j{constructor(p){super(),this._doc=p,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return de().getBaseHref(this._doc)}onPopState(p){const M=de().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",p,!1),()=>M.removeEventListener("popstate",p)}onHashChange(p){const M=de().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",p,!1),()=>M.removeEventListener("hashchange",p)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(p){this.location.pathname=p}pushState(p,M,H){te()?this._history.pushState(p,M,H):this.location.hash=H}replaceState(p,M,H){te()?this._history.replaceState(p,M,H):this.location.hash=H}forward(){this._history.forward()}back(){this._history.back()}historyGo(p=0){this._history.go(p)}getState(){return this._history.state}}return h.\u0275fac=function(p){return new(p||h)(u.LFG(le))},h.\u0275prov=u.Yz7({token:h,factory:function(){return function Ce(){return new X((0,u.LFG)(le))}()},providedIn:"platform"}),h})();function te(){return!!window.history.pushState}function ve(h,D){if(0==h.length)return D;if(0==D.length)return h;let p=0;return h.endsWith("/")&&p++,D.startsWith("/")&&p++,2==p?h+D.substring(1):1==p?h+D:h+"/"+D}function he(h){const D=h.match(/#|\?|$/),p=D&&D.index||h.length;return h.slice(0,p-("/"===h[p-1]?1:0))+h.slice(p)}function pe(h){return h&&"?"!==h[0]?"?"+h:h}let ce=(()=>{class h{historyGo(p){throw new Error("Not implemented")}}return h.\u0275fac=function(p){return new(p||h)},h.\u0275prov=u.Yz7({token:h,factory:function(){return function Le(h){const D=(0,u.LFG)(le).location;return new Dt((0,u.LFG)(j),D&&D.origin||"")}()},providedIn:"root"}),h})();const ze=new u.OlP("appBaseHref");let Dt=(()=>{class h extends ce{constructor(p,M){if(super(),this._platformLocation=p,this._removeListenerFns=[],null==M&&(M=this._platformLocation.getBaseHrefFromDOM()),null==M)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=M}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(p){this._removeListenerFns.push(this._platformLocation.onPopState(p),this._platformLocation.onHashChange(p))}getBaseHref(){return this._baseHref}prepareExternalUrl(p){return ve(this._baseHref,p)}path(p=!1){const M=this._platformLocation.pathname+pe(this._platformLocation.search),H=this._platformLocation.hash;return H&&p?`${M}${H}`:M}pushState(p,M,H,ue){const De=this.prepareExternalUrl(H+pe(ue));this._platformLocation.pushState(p,M,De)}replaceState(p,M,H,ue){const De=this.prepareExternalUrl(H+pe(ue));this._platformLocation.replaceState(p,M,De)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(p=0){var M,H;null===(H=(M=this._platformLocation).historyGo)||void 0===H||H.call(M,p)}}return h.\u0275fac=function(p){return new(p||h)(u.LFG(j),u.LFG(ze,8))},h.\u0275prov=u.Yz7({token:h,factory:h.\u0275fac}),h})(),Ke=(()=>{class h extends ce{constructor(p,M){super(),this._platformLocation=p,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(p){this._removeListenerFns.push(this._platformLocation.onPopState(p),this._platformLocation.onHashChange(p))}getBaseHref(){return this._baseHref}path(p=!1){let M=this._platformLocation.hash;return null==M&&(M="#"),M.length>0?M.substring(1):M}prepareExternalUrl(p){const M=ve(this._baseHref,p);return M.length>0?"#"+M:M}pushState(p,M,H,ue){let De=this.prepareExternalUrl(H+pe(ue));0==De.length&&(De=this._platformLocation.pathname),this._platformLocation.pushState(p,M,De)}replaceState(p,M,H,ue){let De=this.prepareExternalUrl(H+pe(ue));0==De.length&&(De=this._platformLocation.pathname),this._platformLocation.replaceState(p,M,De)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(p=0){var M,H;null===(H=(M=this._platformLocation).historyGo)||void 0===H||H.call(M,p)}}return h.\u0275fac=function(p){return new(p||h)(u.LFG(j),u.LFG(ze,8))},h.\u0275prov=u.Yz7({token:h,factory:h.\u0275fac}),h})(),ge=(()=>{class h{constructor(p,M){this._subject=new u.vpe,this._urlChangeListeners=[],this._platformStrategy=p;const H=this._platformStrategy.getBaseHref();this._platformLocation=M,this._baseHref=he(Kt(H)),this._platformStrategy.onPopState(ue=>{this._subject.emit({url:this.path(!0),pop:!0,state:ue.state,type:ue.type})})}path(p=!1){return this.normalize(this._platformStrategy.path(p))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(p,M=""){return this.path()==this.normalize(p+pe(M))}normalize(p){return h.stripTrailingSlash(function _t(h,D){return h&&D.startsWith(h)?D.substring(h.length):D}(this._baseHref,Kt(p)))}prepareExternalUrl(p){return p&&"/"!==p[0]&&(p="/"+p),this._platformStrategy.prepareExternalUrl(p)}go(p,M="",H=null){this._platformStrategy.pushState(H,"",p,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(p+pe(M)),H)}replaceState(p,M="",H=null){this._platformStrategy.replaceState(H,"",p,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(p+pe(M)),H)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(p=0){var M,H;null===(H=(M=this._platformStrategy).historyGo)||void 0===H||H.call(M,p)}onUrlChange(p){this._urlChangeListeners.push(p),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(M=>{this._notifyUrlChangeListeners(M.url,M.state)}))}_notifyUrlChangeListeners(p="",M){this._urlChangeListeners.forEach(H=>H(p,M))}subscribe(p,M,H){return this._subject.subscribe({next:p,error:M,complete:H})}}return h.normalizeQueryParams=pe,h.joinWithSlash=ve,h.stripTrailingSlash=he,h.\u0275fac=function(p){return new(p||h)(u.LFG(ce),u.LFG(j))},h.\u0275prov=u.Yz7({token:h,factory:function(){return function Ue(){return new ge((0,u.LFG)(ce),(0,u.LFG)(j))}()},providedIn:"root"}),h})();function Kt(h){return h.replace(/\/index.html$/,"")}var Rt=(()=>((Rt=Rt||{})[Rt.Zero=0]="Zero",Rt[Rt.One=1]="One",Rt[Rt.Two=2]="Two",Rt[Rt.Few=3]="Few",Rt[Rt.Many=4]="Many",Rt[Rt.Other=5]="Other",Rt))();const ln=u.kL8;class q{}let A=(()=>{class h extends q{constructor(p){super(),this.locale=p}getPluralCategory(p,M){switch(ln(M||this.locale)(p)){case Rt.Zero:return"zero";case Rt.One:return"one";case Rt.Two:return"two";case Rt.Few:return"few";case Rt.Many:return"many";default:return"other"}}}return h.\u0275fac=function(p){return new(p||h)(u.LFG(u.soG))},h.\u0275prov=u.Yz7({token:h,factory:h.\u0275fac}),h})();function Oe(h,D){D=encodeURIComponent(D);for(const p of h.split(";")){const M=p.indexOf("="),[H,ue]=-1==M?[p,""]:[p.slice(0,M),p.slice(M+1)];if(H.trim()===D)return decodeURIComponent(ue)}return null}class dn{constructor(D,p,M,H){this.$implicit=D,this.ngForOf=p,this.index=M,this.count=H}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ht=(()=>{class h{constructor(p,M,H){this._viewContainer=p,this._template=M,this._differs=H,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(p){this._ngForOf=p,this._ngForOfDirty=!0}set ngForTrackBy(p){this._trackByFn=p}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(p){p&&(this._template=p)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const p=this._ngForOf;!this._differ&&p&&(this._differ=this._differs.find(p).create(this.ngForTrackBy))}if(this._differ){const p=this._differ.diff(this._ngForOf);p&&this._applyChanges(p)}}_applyChanges(p){const M=this._viewContainer;p.forEachOperation((H,ue,De)=>{if(null==H.previousIndex)M.createEmbeddedView(this._template,new dn(H.item,this._ngForOf,-1,-1),null===De?void 0:De);else if(null==De)M.remove(null===ue?void 0:ue);else if(null!==ue){const Ne=M.get(ue);M.move(Ne,De),on(Ne,H)}});for(let H=0,ue=M.length;H<ue;H++){const Ne=M.get(H).context;Ne.index=H,Ne.count=ue,Ne.ngForOf=this._ngForOf}p.forEachIdentityChange(H=>{on(M.get(H.currentIndex),H)})}static ngTemplateContextGuard(p,M){return!0}}return h.\u0275fac=function(p){return new(p||h)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(u.ZZ4))},h.\u0275dir=u.lG2({type:h,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),h})();function on(h,D){h.context.$implicit=D.item}let Ct=(()=>{class h{constructor(p,M){this._viewContainer=p,this._context=new It,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(p){this._context.$implicit=this._context.ngIf=p,this._updateView()}set ngIfThen(p){Qn("ngIfThen",p),this._thenTemplateRef=p,this._thenViewRef=null,this._updateView()}set ngIfElse(p){Qn("ngIfElse",p),this._elseTemplateRef=p,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(p,M){return!0}}return h.\u0275fac=function(p){return new(p||h)(u.Y36(u.s_b),u.Y36(u.Rgc))},h.\u0275dir=u.lG2({type:h,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),h})();class It{constructor(){this.$implicit=null,this.ngIf=null}}function Qn(h,D){if(D&&!D.createEmbeddedView)throw new Error(`${h} must be a TemplateRef, but received '${(0,u.AaK)(D)}'.`)}class ai{constructor(D,p){this._viewContainerRef=D,this._templateRef=p,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(D){D&&!this._created?this.create():!D&&this._created&&this.destroy()}}let Hn=(()=>{class h{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(p){this._ngSwitch=p,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(p){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(p)}_matchCase(p){const M=p==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||M,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),M}_updateDefaultCases(p){if(this._defaultViews&&p!==this._defaultUsed){this._defaultUsed=p;for(let M=0;M<this._defaultViews.length;M++)this._defaultViews[M].enforceState(p)}}}return h.\u0275fac=function(p){return new(p||h)},h.\u0275dir=u.lG2({type:h,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),h})(),Mn=(()=>{class h{constructor(p,M,H){this.ngSwitch=H,H._addCase(),this._view=new ai(p,M)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return h.\u0275fac=function(p){return new(p||h)(u.Y36(u.s_b),u.Y36(u.Rgc),u.Y36(Hn,9))},h.\u0275dir=u.lG2({type:h,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),h})(),Ri=(()=>{class h{constructor(p){this._viewContainerRef=p,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(p){if(p.ngTemplateOutlet){const M=this._viewContainerRef;this._viewRef&&M.remove(M.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?M.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&p.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return h.\u0275fac=function(p){return new(p||h)(u.Y36(u.s_b))},h.\u0275dir=u.lG2({type:h,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[u.TTD]}),h})();class Zn{createSubscription(D,p){return D.subscribe({next:p,error:M=>{throw M}})}dispose(D){D.unsubscribe()}onDestroy(D){D.unsubscribe()}}class ei{createSubscription(D,p){return D.then(p,M=>{throw M})}dispose(D){}onDestroy(D){}}const cr=new ei,Pr=new Zn;let zi=(()=>{class h{constructor(p){this._ref=p,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(p){return this._obj?p!==this._obj?(this._dispose(),this.transform(p)):this._latestValue:(p&&this._subscribe(p),this._latestValue)}_subscribe(p){this._obj=p,this._strategy=this._selectStrategy(p),this._subscription=this._strategy.createSubscription(p,M=>this._updateLatestValue(p,M))}_selectStrategy(p){if((0,u.QGY)(p))return cr;if((0,u.F4k)(p))return Pr;throw function Rn(h,D){return new u.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(p,M){p===this._obj&&(this._latestValue=M,this._ref.markForCheck())}}return h.\u0275fac=function(p){return new(p||h)(u.Y36(u.sBO,16))},h.\u0275pipe=u.Yjl({name:"async",type:h,pure:!1}),h})(),Pi=(()=>{class h{transform(p){return JSON.stringify(p,null,2)}}return h.\u0275fac=function(p){return new(p||h)},h.\u0275pipe=u.Yjl({name:"json",type:h,pure:!1}),h})(),Mi=(()=>{class h{}return h.\u0275fac=function(p){return new(p||h)},h.\u0275mod=u.oAB({type:h}),h.\u0275inj=u.cJS({providers:[{provide:q,useClass:A}]}),h})();const ni="browser";function $n(h){return h===ni}let F=(()=>{class h{}return h.\u0275prov=(0,u.Yz7)({token:h,providedIn:"root",factory:()=>new a((0,u.LFG)(le),window)}),h})();class a{constructor(D,p){this.document=D,this.window=p,this.offset=()=>[0,0]}setOffset(D){this.offset=Array.isArray(D)?()=>D:D}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(D){this.supportsScrolling()&&this.window.scrollTo(D[0],D[1])}scrollToAnchor(D){if(!this.supportsScrolling())return;const p=function b(h,D){const p=h.getElementById(D)||h.getElementsByName(D)[0];if(p)return p;if("function"==typeof h.createTreeWalker&&h.body&&(h.body.createShadowRoot||h.body.attachShadow)){const M=h.createTreeWalker(h.body,NodeFilter.SHOW_ELEMENT);let H=M.currentNode;for(;H;){const ue=H.shadowRoot;if(ue){const De=ue.getElementById(D)||ue.querySelector(`[name="${D}"]`);if(De)return De}H=M.nextNode()}}return null}(this.document,D);p&&(this.scrollToElement(p),p.focus())}setHistoryScrollRestoration(D){if(this.supportScrollRestoration()){const p=this.window.history;p&&p.scrollRestoration&&(p.scrollRestoration=D)}}scrollToElement(D){const p=D.getBoundingClientRect(),M=p.left+this.window.pageXOffset,H=p.top+this.window.pageYOffset,ue=this.offset();this.window.scrollTo(M-ue[0],H-ue[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const D=c(this.window.history)||c(Object.getPrototypeOf(this.window.history));return!(!D||!D.writable&&!D.set)}catch(D){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(D){return!1}}}function c(h){return Object.getOwnPropertyDescriptor(h,"scrollRestoration")}class L{}},5e3:(tt,Se,T)=>{T.d(Se,{deG:()=>Tm,tb:()=>im,AFp:()=>em,ip1:()=>jc,CZH:()=>js,hGG:()=>$E,z2F:()=>No,sBO:()=>vE,Sil:()=>Hc,_Vd:()=>To,EJc:()=>sm,SBq:()=>Io,qLn:()=>po,vpe:()=>Mr,tBr:()=>ao,XFs:()=>ct,OlP:()=>Gn,zs3:()=>ji,ZZ4:()=>Ia,aQg:()=>xa,soG:()=>Sa,YKP:()=>hp,h0i:()=>Ls,PXZ:()=>hE,R0b:()=>xi,FiY:()=>Yr,Lbi:()=>nm,g9A:()=>tm,n_E:()=>ba,Qsj:()=>qb,FYo:()=>lp,JOm:()=>br,q3G:()=>Kn,tp0:()=>ds,Rgc:()=>Fo,dDg:()=>lm,GfV:()=>cp,s_b:()=>Ea,ifc:()=>bt,eFA:()=>dm,G48:()=>yE,Gpc:()=>X,f3M:()=>Hm,_c5:()=>kE,VLi:()=>cE,c2e:()=>rm,zSh:()=>Ul,wAp:()=>wt,vHH:()=>he,EiD:()=>Pu,mCW:()=>co,qzn:()=>ps,JVY:()=>ag,pB0:()=>dg,eBb:()=>cg,L6k:()=>lg,LAX:()=>ug,cg1:()=>yc,kL8:()=>Rf,yhl:()=>Su,dqk:()=>Mt,sIi:()=>bo,CqO:()=>Vh,QGY:()=>oc,F4k:()=>Lh,RDi:()=>c,AaK:()=>j,z3N:()=>Or,qOj:()=>Wl,TTD:()=>_i,_Bn:()=>sp,xp6:()=>md,uIk:()=>ql,Tol:()=>lf,ekj:()=>hc,Suo:()=>Rp,Xpm:()=>$e,lG2:()=>re,Yz7:()=>Et,cJS:()=>Bt,oAB:()=>Jt,Yjl:()=>G,Y36:()=>Eo,_UZ:()=>Ph,GkF:()=>Nh,BQk:()=>sc,ynx:()=>rc,qZA:()=>ic,TgZ:()=>nc,EpF:()=>kh,n5z:()=>hn,Ikx:()=>gc,LFG:()=>ri,$8M:()=>xr,$Z:()=>Fh,NdJ:()=>ac,CRH:()=>Fp,kcU:()=>Ho,O4$:()=>Uo,oxw:()=>Uh,ALo:()=>Cp,lcZ:()=>wp,Hsn:()=>$h,F$t:()=>Hh,Q6J:()=>ec,DdM:()=>gp,VKq:()=>_p,iGM:()=>xp,MAs:()=>Eh,CHM:()=>dt,oJD:()=>Nu,LSH:()=>nl,Udp:()=>dc,WFA:()=>lc,d8E:()=>_c,YNc:()=>Dh,W1O:()=>Lp,_uU:()=>mf,Oqu:()=>pc,hij:()=>fa,AsE:()=>mc,Gf:()=>Op});var u=T(8929),m=T(2654),de=T(2916),_e=T(6787),se=T(2474);function z(e){for(let t in e)if(e[t]===z)return t;throw Error("Could not find renamed property on target object.")}function le(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function j(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(j).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Y(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Q=z({__forward_ref__:z});function X(e){return e.__forward_ref__=X,e.toString=function(){return j(this())},e}function te(e){return Ce(e)?e():e}function Ce(e){return"function"==typeof e&&e.hasOwnProperty(Q)&&e.__forward_ref__===X}class he extends Error{constructor(t,n){super(function pe(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ce(e){return"string"==typeof e?e:null==e?"":String(e)}function Le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ce(e)}function ge(e,t){const n=t?` in ${t}`:"";throw new he(-201,`No provider for ${Le(e)} found${n}`)}function Lt(e,t){null==e&&function lt(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Et(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Bt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Pt(e){return Xt(e,Gt)||Xt(e,Sn)}function Xt(e,t){return e.hasOwnProperty(t)?e[t]:null}function zt(e){return e&&(e.hasOwnProperty(ln)||e.hasOwnProperty(si))?e[ln]:null}const Gt=z({\u0275prov:z}),ln=z({\u0275inj:z}),Sn=z({ngInjectableDef:z}),si=z({ngInjectorDef:z});var ct=(()=>((ct=ct||{})[ct.Default=0]="Default",ct[ct.Host=1]="Host",ct[ct.Self=2]="Self",ct[ct.SkipSelf=4]="SkipSelf",ct[ct.Optional=8]="Optional",ct))();let wn;function ke(e){const t=wn;return wn=e,t}function Ae(e,t,n){const i=Pt(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&ct.Optional?null:void 0!==t?t:void ge(j(e),"Injector")}function Me(e){return{toString:e}.toString()}var Ge=(()=>((Ge=Ge||{})[Ge.OnPush=0]="OnPush",Ge[Ge.Default=1]="Default",Ge))(),bt=(()=>{return(e=bt||(bt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",bt;var e})();const Ye="undefined"!=typeof globalThis&&globalThis,Pe="undefined"!=typeof window&&window,Yn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Mt=Ye||"undefined"!=typeof global&&global||Pe||Yn,_n={},it=[],rn=z({\u0275cmp:z}),Ee=z({\u0275dir:z}),B=z({\u0275pipe:z}),O=z({\u0275mod:z}),k=z({\u0275fac:z}),ee=z({__NG_ELEMENT_ID__:z});let we=0;function $e(e){return Me(()=>{const n={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ge.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||it,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||bt.Emulated,id:"c",styles:e.styles||it,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,s=e.features,o=e.pipes;return i.id+=we++,i.inputs=ye(e.inputs,n),i.outputs=ye(e.outputs),s&&s.forEach(f=>f(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(jt):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(sn):null,i})}function jt(e){return oe(e)||function W(e){return e[Ee]||null}(e)}function sn(e){return function U(e){return e[B]||null}(e)}const cn={};function Jt(e){return Me(()=>{const t={type:e.type,bootstrap:e.bootstrap||it,declarations:e.declarations||it,imports:e.imports||it,exports:e.exports||it,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(cn[e.id]=e.type),t})}function ye(e,t){if(null==e)return _n;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,t&&(t[r]=s)}return n}const re=$e;function G(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function oe(e){return e[rn]||null}function N(e,t){const n=e[O]||null;if(!n&&!0===t)throw new Error(`Type ${j(e)} does not have '\u0275mod' property.`);return n}const V=11;function Hn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Mn(e){return Array.isArray(e)&&!0===e[1]}function fi(e){return 0!=(8&e.flags)}function Hi(e){return 2==(2&e.flags)}function oi(e){return 1==(1&e.flags)}function Nn(e){return null!==e.template}function lr(e){return 0!=(512&e[2])}function ti(e,t){return e.hasOwnProperty(k)?e[k]:null}class Ni{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function _i(){return ki}function ki(e){return e.type.prototype.ngOnChanges&&(e.setInput=Nr),Qi}function Qi(){const e=ni(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===_n)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Nr(e,t,n,i){const r=ni(e)||function dr(e,t){return e[Mi]=t}(e,{previous:_n,current:null}),s=r.current||(r.current={}),o=r.previous,f=this.declaredInputs[n],_=o[f];s[f]=new Ni(_&&_.currentValue,t,o===_n),e[i]=t}_i.ngInherit=!0;const Mi="__ngSimpleChanges__";function ni(e){return e[Mi]||null}let a;function c(e){a=e}function b(){return void 0!==a?a:"undefined"!=typeof document?document:void 0}function L(e){return!!e.listen}const h={createRenderer:(e,t)=>b()};function p(e){for(;Array.isArray(e);)e=e[0];return e}function ue(e,t){return p(t[e])}function De(e,t){return p(t[e.index])}function qe(e,t){return e.data[t]}function Je(e,t){return e[t]}function rt(e,t){const n=t[e];return Hn(n)?n:n[0]}function mt(e){return 4==(4&e[2])}function kt(e){return 128==(128&e[2])}function v(e,t){return null==t?null:e[t]}function y(e){e[18]=0}function x(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const ae={lFrame:Gs(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function bi(){return ae.bindingsEnabled}function Fe(){return ae.lFrame.lView}function Ve(){return ae.lFrame.tView}function dt(e){return ae.lFrame.contextLView=e,e[8]}function nt(){let e=qt();for(;null!==e&&64===e.type;)e=e.parent;return e}function qt(){return ae.lFrame.currentTNode}function Ln(e,t){const n=ae.lFrame;n.currentTNode=e,n.isParent=t}function Vn(){return ae.lFrame.isParent}function Di(){ae.lFrame.isParent=!1}function Lr(){return ae.isInCheckNoChangesMode}function zn(e){ae.isInCheckNoChangesMode=e}function xn(){const e=ae.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Vi(){return ae.lFrame.bindingIndex++}function tr(e){const t=ae.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Lo(e,t){const n=ae.lFrame;n.bindingIndex=n.bindingRootIndex=e,Us(t)}function Us(e){ae.lFrame.currentDirectiveIndex=e}function Hs(e){const t=ae.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Vo(){return ae.lFrame.currentQueryIndex}function $s(e){ae.lFrame.currentQueryIndex=e}function Bo(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Fa(e,t,n){if(n&ct.SkipSelf){let r=t,s=e;for(;!(r=r.parent,null!==r||n&ct.Host||(r=Bo(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;t=r,e=s}const i=ae.lFrame=zs();return i.currentTNode=t,i.lView=e,!0}function Hr(e){const t=zs(),n=e[1];ae.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zs(){const e=ae.lFrame,t=null===e?null:e.child;return null===t?Gs(e):t}function Gs(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Ws(){const e=ae.lFrame;return ae.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const jo=Ws;function ts(){const e=Ws();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ii(){return ae.lFrame.selectedIndex}function fr(e){ae.lFrame.selectedIndex=e}function Tn(){const e=ae.lFrame;return qe(e.tView,e.selectedIndex)}function Uo(){ae.lFrame.currentNamespace="svg"}function Ho(){!function Ks(){ae.lFrame.currentNamespace=null}()}function ns(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:f,ngAfterViewInit:_,ngAfterViewChecked:S,ngOnDestroy:I}=s;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),f&&((e.contentHooks||(e.contentHooks=[])).push(n,f),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,f)),_&&(e.viewHooks||(e.viewHooks=[])).push(-n,_),S&&((e.viewHooks||(e.viewHooks=[])).push(n,S),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,S)),null!=I&&(e.destroyHooks||(e.destroyHooks=[])).push(n,I)}}function is(e,t,n){zo(e,t,3,n)}function rs(e,t,n,i){(3&e[2])===n&&zo(e,t,n,i)}function ss(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function zo(e,t,n,i){const s=null!=i?i:-1,o=t.length-1;let f=0;for(let _=void 0!==i?65535&e[18]:0;_<o;_++)if("number"==typeof t[_+1]){if(f=t[_],null!=i&&f>=i)break}else t[_]<0&&(e[18]+=65536),(f<s||-1==s)&&(Va(e,n,t,_),e[18]=(4294901760&e[18])+_+2),_++}function Va(e,t,n,i){const r=n[i]<0,s=n[i+1],f=e[r?-n[i]:n[i]];if(r){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(f)}finally{}}}else try{s.call(f)}finally{}}class $r{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function zr(e,t,n){const i=L(e);let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const o=n[r++],f=n[r++],_=n[r++];i?e.setAttribute(t,f,_,o):t.setAttributeNS(o,f,_)}else{const o=s,f=n[++r];Gr(o)?i&&e.setProperty(t,o,f):i?e.setAttribute(t,o,f):t.setAttribute(o,f),r++}}return r}function Ys(e){return 3===e||4===e||6===e}function Gr(e){return 64===e.charCodeAt(0)}function qs(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||gr(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function gr(e,t,n,i,r){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const f=e[s++];if("number"==typeof f){if(f===t){o=-1;break}if(f>t){o=s-1;break}}}for(;s<e.length;){const f=e[s];if("number"==typeof f)break;if(f===n){if(null===i)return void(null!==r&&(e[s+1]=r));if(i===e[s+1])return void(e[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==i&&e.splice(s++,0,i),null!==r&&e.splice(s++,0,r)}function Qs(e){return-1!==e}function Vr(e){return 32767&e}function Br(e,t){let n=function Ua(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Zs=!0;function ls(e){const t=Zs;return Zs=e,t}let Ha=0;function Ir(e,t){const n=eo(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Js(i.data,e),Js(t,null),Js(i.blueprint,null));const r=Wr(e,t),s=e.injectorIndex;if(Qs(r)){const o=Vr(r),f=Br(r,t),_=f[1].data;for(let S=0;S<8;S++)t[s+S]=f[o+S]|_[o+S]}return t[s+8]=r,s}function Js(e,t){e.push(0,0,0,0,0,0,0,0,t)}function eo(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Wr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){const s=r[1],o=s.type;if(i=2===o?s.declTNode:1===o?r[6]:null,null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function cs(e,t,n){!function $a(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ee)&&(i=n[ee]),null==i&&(i=n[ee]=Ha++);const r=255&i;t.data[e+(r>>5)]|=1<<r}(e,t,n)}function g(e,t,n){if(n&ct.Optional)return e;ge(t,"NodeInjector")}function d(e,t,n,i){if(n&ct.Optional&&void 0===i&&(i=null),0==(n&(ct.Self|ct.Host))){const r=e[9],s=ke(void 0);try{return r?r.get(t,i,n&ct.Optional):Ae(t,i,n&ct.Optional)}finally{ke(s)}}return g(i,t,n)}function l(e,t,n,i=ct.Default,r){if(null!==e){const s=function Te(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ee)?e[ee]:void 0;return"number"==typeof t?t>=0?255&t:w:t}(n);if("function"==typeof s){if(!Fa(t,e,i))return i&ct.Host?g(r,n,i):d(t,n,i,r);try{const o=s(i);if(null!=o||i&ct.Optional)return o;ge(n)}finally{jo()}}else if("number"==typeof s){let o=null,f=eo(e,t),_=-1,S=i&ct.Host?t[16][6]:null;for((-1===f||i&ct.SkipSelf)&&(_=-1===f?Wr(e,t):t[f+8],-1!==_&&Qt(i,!1)?(o=t[1],f=Vr(_),t=Br(_,t)):f=-1);-1!==f;){const I=t[1];if(ot(s,f,I.data)){const $=P(f,t,n,o,i,S);if($!==E)return $}_=t[f+8],-1!==_&&Qt(i,t[1].data[f+8]===S)&&ot(s,f,t)?(o=I,f=Vr(_),t=Br(_,t)):f=-1}}}return d(t,n,i,r)}const E={};function w(){return new ht(nt(),Fe())}function P(e,t,n,i,r,s){const o=t[1],f=o.data[e+8],I=K(f,o,n,null==i?Hi(f)&&Zs:i!=o&&0!=(3&f.type),r&ct.Host&&s===f);return null!==I?ne(t,o,I,f):E}function K(e,t,n,i,r){const s=e.providerIndexes,o=t.data,f=1048575&s,_=e.directiveStart,I=s>>20,ie=r?f+I:e.directiveEnd;for(let me=i?f:f+I;me<ie;me++){const xe=o[me];if(me<_&&n===xe||me>=_&&xe.type===n)return me}if(r){const me=o[_];if(me&&Nn(me)&&me.type===n)return _}return null}function ne(e,t,n,i){let r=e[n];const s=t.data;if(function os(e){return e instanceof $r}(r)){const o=r;o.resolving&&function ze(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new he(-200,`Circular dependency in DI detected for ${e}${n}`)}(Le(s[n]));const f=ls(o.canSeeViewProviders);o.resolving=!0;const _=o.injectImpl?ke(o.injectImpl):null;Fa(e,i,ct.Default);try{r=e[n]=o.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function La(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const o=ki(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==_&&ke(_),ls(f),o.resolving=!1,jo()}}return r}function ot(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Qt(e,t){return!(e&ct.Self||e&ct.Host&&t)}class ht{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return l(this._tNode,this._lView,t,i,n)}}function hn(e){return Me(()=>{const t=e.prototype.constructor,n=t[k]||fn(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const s=r[k]||fn(r);if(s&&s!==n)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function fn(e){return Ce(e)?()=>{const t=fn(te(e));return t&&t()}:ti(e)}function xr(e){return function cu(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r<i;){const s=n[r];if(Ys(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(s===t)return n[r+1];r+=2}}}return null}(nt(),e)}const ui="__parameters__";function Ai(e,t,n){return Me(()=>{const i=function Si(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...s){if(this instanceof r)return i.apply(this,s),this;const o=new r(...s);return f.annotation=o,f;function f(_,S,I){const $=_.hasOwnProperty(ui)?_[ui]:Object.defineProperty(_,ui,{value:[]})[ui];for(;$.length<=I;)$.push(null);return($[I]=$[I]||[]).push(o),_}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class Gn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Et({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Tm=new Gn("AnalyzeForEntryComponents");function Bi(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),Bi(i,t)):t!==e&&t.push(i)}return t}function _r(e,t){e.forEach(n=>Array.isArray(n)?_r(n,t):t(n))}function du(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ko(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function io(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Ti(e,t,n){let i=us(e,t);return i>=0?e[1|i]=n:(i=~i,function Om(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Ga(e,t){const n=us(e,t);if(n>=0)return e[1|n]}function us(e,t){return function pu(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const s=i+(r-i>>1),o=e[s<<n];if(t===o)return s<<n;o>t?r=s:i=s+1}return~(r<<n)}(e,t,1)}const ro={},Ka="__NG_DI_FLAG__",qo="ngTempTokenPath",Vm=/\n/gm,gu="__source",jm=z({provide:String,useValue:z});let so;function _u(e){const t=so;return so=e,t}function Um(e,t=ct.Default){if(void 0===so)throw new he(203,"");return null===so?Ae(e,void 0,t):so.get(e,t&ct.Optional?null:void 0,t)}function ri(e,t=ct.Default){return(function tn(){return wn}()||Um)(te(e),t)}const Hm=ri;function Ya(e){const t=[];for(let n=0;n<e.length;n++){const i=te(e[n]);if(Array.isArray(i)){if(0===i.length)throw new he(900,"");let r,s=ct.Default;for(let o=0;o<i.length;o++){const f=i[o],_=$m(f);"number"==typeof _?-1===_?r=f.token:s|=_:r=f}t.push(ri(r,s))}else t.push(ri(i))}return t}function oo(e,t){return e[Ka]=t,e.prototype[Ka]=t,e}function $m(e){return e[Ka]}const ao=oo(Ai("Inject",e=>({token:e})),-1),Yr=oo(Ai("Optional"),8),ds=oo(Ai("SkipSelf"),4);let Zo,Xo;function fs(e){var t;return(null===(t=function Qa(){if(void 0===Zo&&(Zo=null,Mt.trustedTypes))try{Zo=Mt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Zo}())||void 0===t?void 0:t.createHTML(e))||e}function Cu(e){var t;return(null===(t=function Za(){if(void 0===Xo&&(Xo=null,Mt.trustedTypes))try{Xo=Mt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Xo}())||void 0===t?void 0:t.createHTML(e))||e}class qr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class ng extends qr{getTypeName(){return"HTML"}}class ig extends qr{getTypeName(){return"Style"}}class rg extends qr{getTypeName(){return"Script"}}class sg extends qr{getTypeName(){return"URL"}}class og extends qr{getTypeName(){return"ResourceURL"}}function Or(e){return e instanceof qr?e.changingThisBreaksApplicationSecurity:e}function ps(e,t){const n=Su(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Su(e){return e instanceof qr&&e.getTypeName()||null}function ag(e){return new ng(e)}function lg(e){return new ig(e)}function cg(e){return new rg(e)}function ug(e){return new sg(e)}function dg(e){return new og(e)}class hg{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(fs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class fg{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=fs(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=fs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let r=n.length-1;0<r;r--){const o=n.item(r).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const mg=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,gg=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function co(e){return(e=String(e)).match(mg)||e.match(gg)?e:"unsafe:"+e}function yr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function uo(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Iu=yr("area,br,col,hr,img,wbr"),xu=yr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ou=yr("rp,rt"),Xa=uo(Iu,uo(xu,yr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),uo(Ou,yr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),uo(Ou,xu)),Ja=yr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),el=yr("srcset"),Ru=uo(Ja,el,yr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),yr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),_g=yr("script,style,template");class yg{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Xa.hasOwnProperty(n))return this.sanitizedSomething=!0,!_g.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const s=i.item(r),o=s.name,f=o.toLowerCase();if(!Ru.hasOwnProperty(f)){this.sanitizedSomething=!0;continue}let _=s.value;Ja[f]&&(_=co(_)),el[f]&&(e=_,_=(e=String(e)).split(",").map(t=>co(t.trim())).join(", ")),this.buf.push(" ",o,'="',Fu(_),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Xa.hasOwnProperty(n)&&!Iu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Fu(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const vg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bg=/([^\#-~ |!])/g;function Fu(e){return e.replace(/&/g,"&amp;").replace(vg,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(bg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Jo;function Pu(e,t){let n=null;try{Jo=Jo||function Au(e){const t=new fg(e);return function pg(){try{return!!(new window.DOMParser).parseFromString(fs(""),"text/html")}catch(e){return!1}}()?new hg(t):t}(e);let i=t?String(t):"";n=Jo.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=Jo.getInertBodyElement(i)}while(i!==s);return fs((new yg).sanitizeChildren(tl(n)||n))}finally{if(n){const i=tl(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function tl(e){return"content"in e&&function Dg(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Kn=(()=>((Kn=Kn||{})[Kn.NONE=0]="NONE",Kn[Kn.HTML=1]="HTML",Kn[Kn.STYLE=2]="STYLE",Kn[Kn.SCRIPT=3]="SCRIPT",Kn[Kn.URL=4]="URL",Kn[Kn.RESOURCE_URL=5]="RESOURCE_URL",Kn))();function Nu(e){const t=ho();return t?Cu(t.sanitize(Kn.HTML,e)||""):ps(e,"HTML")?Cu(Or(e)):Pu(b(),ce(e))}function nl(e){const t=ho();return t?t.sanitize(Kn.URL,e)||"":ps(e,"URL")?Or(e):co(ce(e))}function ho(){const e=Fe();return e&&e[12]}const Vu="__ngContext__";function di(e,t){e[Vu]=t}function rl(e){const t=function fo(e){return e[Vu]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function ol(e){return e.ngOriginalError}function Lg(e,...t){e.error(...t)}class po{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function kg(e){return e&&e.ngErrorLogger||Lg}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ol(t);for(;n&&ol(n);)n=ol(n);return n||null}}const $u=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Mt))();function vr(e){return e instanceof Function?e():e}var br=(()=>((br=br||{})[br.Important=1]="Important",br[br.DashCase=2]="DashCase",br))();function ll(e,t){return undefined(e,t)}function mo(e){const t=e[3];return Mn(t)?t[3]:t}function cl(e){return Yu(e[13])}function ul(e){return Yu(e[4])}function Yu(e){for(;null!==e&&!Mn(e);)e=e[4];return e}function gs(e,t,n,i,r){if(null!=i){let s,o=!1;Mn(i)?s=i:Hn(i)&&(o=!0,i=i[0]);const f=p(i);0===e&&null!==n?null==r?ed(t,n,f):Qr(t,n,f,r||null,!0):1===e&&null!==n?Qr(t,n,f,r||null,!0):2===e?function ad(e,t,n){const i=ea(e,t);i&&function o_(e,t,n,i){L(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,f,o):3===e&&t.destroyNode(f),null!=s&&function c_(e,t,n,i,r){const s=n[7];s!==p(n)&&gs(t,e,i,s,r);for(let f=10;f<n.length;f++){const _=n[f];go(_[1],_,e,t,i,s)}}(t,e,s,n,r)}}function hl(e,t,n){if(L(e))return e.createElement(t,n);{const i=null!==n?function F(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===i?e.createElement(t):e.createElementNS(i,t)}}function Qu(e,t){const n=e[9],i=n.indexOf(t),r=t[3];1024&t[2]&&(t[2]&=-1025,x(r,-1)),n.splice(i,1)}function fl(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const r=i[17];null!==r&&r!==e&&Qu(r,i),t>0&&(e[n-1][4]=i[4]);const s=Ko(e,10+t);!function Xg(e,t){go(e,t,t[V],2,null,null),t[0]=null,t[6]=null}(i[1],i);const o=s[19];null!==o&&o.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Zu(e,t){if(!(256&t[2])){const n=t[V];L(n)&&n.destroyNode&&go(e,t,n,3,null,null),function t_(e){let t=e[13];if(!t)return pl(e[1],e);for(;t;){let n=null;if(Hn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Hn(t)&&pl(t[1],t),t=t[3];null===t&&(t=e),Hn(t)&&pl(t[1],t),n=t&&t[4]}t=n}}(t)}}function pl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function s_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof $r)){const s=n[i+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const f=r[s[o]],_=s[o+1];try{_.call(f)}finally{}}else try{s.call(r)}finally{}}}}(e,t),function r_(e,t){const n=e.cleanup,i=t[7];let r=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const o=n[s+1],f="function"==typeof o?o(t):p(t[o]),_=i[r=n[s+2]],S=n[s+3];"boolean"==typeof S?f.removeEventListener(n[s],_,S):S>=0?i[r=S]():i[r=-S].unsubscribe(),s+=2}else{const o=i[r=n[s+1]];n[s].call(o)}if(null!==i){for(let s=r+1;s<i.length;s++)i[s]();t[7]=null}}(e,t),1===t[1].type&&L(t[V])&&t[V].destroy();const n=t[17];if(null!==n&&Mn(t[3])){n!==t[3]&&Qu(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function Xu(e,t,n){return function Ju(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const r=e.data[i.directiveStart].encapsulation;if(r===bt.None||r===bt.Emulated)return null}return De(i,n)}(e,t.parent,n)}function Qr(e,t,n,i,r){L(e)?e.insertBefore(t,n,i,r):t.insertBefore(n,i,r)}function ed(e,t,n){L(e)?e.appendChild(t,n):t.appendChild(n)}function td(e,t,n,i,r){null!==i?Qr(e,t,n,i,r):ed(e,t,n)}function ea(e,t){return L(e)?e.parentNode(t):t.parentNode}function nd(e,t,n){return rd(e,t,n)}let rd=function id(e,t,n){return 40&e.type?De(e,n):null};function ta(e,t,n,i){const r=Xu(e,i,t),s=t[V],f=nd(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let _=0;_<n.length;_++)td(s,r,n[_],f,!1);else td(s,r,n,f,!1)}function na(e,t){if(null!==t){const n=t.type;if(3&n)return De(t,e);if(4&n)return gl(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return na(e,i);{const r=e[t.index];return Mn(r)?gl(-1,r):p(r)}}if(32&n)return ll(t,e)()||p(e[t.index]);{const i=od(e,t);return null!==i?Array.isArray(i)?i[0]:na(mo(e[16]),i):na(e,t.next)}}return null}function od(e,t){return null!==t?e[16][6].projection[t.projection]:null}function gl(e,t){const n=10+e+1;if(n<t.length){const i=t[n],r=i[1].firstChild;if(null!==r)return na(i,r)}return t[7]}function _l(e,t,n,i,r,s,o){for(;null!=n;){const f=i[n.index],_=n.type;if(o&&0===t&&(f&&di(p(f),i),n.flags|=4),64!=(64&n.flags))if(8&_)_l(e,t,n.child,i,r,s,!1),gs(t,e,r,f,s);else if(32&_){const S=ll(n,i);let I;for(;I=S();)gs(t,e,r,I,s);gs(t,e,r,f,s)}else 16&_?ld(e,t,i,n,r,s):gs(t,e,r,f,s);n=o?n.projectionNext:n.next}}function go(e,t,n,i,r,s){_l(n,i,e.firstChild,t,r,s,!1)}function ld(e,t,n,i,r,s){const o=n[16],_=o[6].projection[i.projection];if(Array.isArray(_))for(let S=0;S<_.length;S++)gs(t,e,r,_[S],s);else _l(e,t,_,o[3],r,s,!0)}function cd(e,t,n){L(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function yl(e,t,n){L(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function ud(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const s=t.length;if(r+s===i||e.charCodeAt(r+s)<=32)return r}n=r+1}}const dd="ng-template";function d_(e,t,n){let i=0;for(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==ud(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function hd(e){return 4===e.type&&e.value!==dd}function h_(e,t,n){return t===(4!==e.type||n?e.value:dd)}function f_(e,t,n){let i=4;const r=e.attrs||[],s=function g_(e){for(let t=0;t<e.length;t++)if(Ys(e[t]))return t;return e.length}(r);let o=!1;for(let f=0;f<t.length;f++){const _=t[f];if("number"!=typeof _){if(!o)if(4&i){if(i=2|1&i,""!==_&&!h_(e,_,n)||""===_&&1===t.length){if(nr(i))return!1;o=!0}}else{const S=8&i?_:t[++f];if(8&i&&null!==e.attrs){if(!d_(e.attrs,S,n)){if(nr(i))return!1;o=!0}continue}const $=p_(8&i?"class":_,r,hd(e),n);if(-1===$){if(nr(i))return!1;o=!0;continue}if(""!==S){let ie;ie=$>s?"":r[$+1].toLowerCase();const me=8&i?ie:null;if(me&&-1!==ud(me,S,0)||2&i&&S!==ie){if(nr(i))return!1;o=!0}}}}else{if(!o&&!nr(i)&&!nr(_))return!1;if(o&&nr(_))continue;o=!1,i=_|1&i}}return nr(i)||o}function nr(e){return 0==(1&e)}function p_(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let s=!1;for(;r<t.length;){const o=t[r];if(o===e)return r;if(3===o||6===o)s=!0;else{if(1===o||2===o){let f=t[++r];for(;"string"==typeof f;)f=t[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=s?1:2}return-1}return function __(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function fd(e,t,n=!1){for(let i=0;i<t.length;i++)if(f_(e,t[i],n))return!0;return!1}function y_(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function pd(e,t){return e?":not("+t.trim()+")":t}function v_(e){let t=e[0],n=1,i=2,r="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&i){const f=e[++n];r+="["+o+(f.length>0?'="'+f+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!nr(o)&&(t+=pd(s,r),r=""),i=o,s=s||!nr(i);n++}return""!==r&&(t+=pd(s,r)),t}const Vt={};function md(e){gd(Ve(),Fe(),ii()+e,Lr())}function gd(e,t,n,i){if(!i)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&is(t,s,n)}else{const s=e.preOrderHooks;null!==s&&rs(t,s,0,n)}fr(n)}function ia(e,t){return e<<17|t<<2}function ir(e){return e>>17&32767}function vl(e){return 2|e}function Rr(e){return(131068&e)>>2}function bl(e,t){return-131069&e|t<<2}function Dl(e){return 1|e}function Ad(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const o=e.data[s];$s(r),o.contentQueries(2,t[s],s)}}}function _o(e,t,n,i,r,s,o,f,_,S){const I=t.blueprint.slice();return I[0]=r,I[2]=140|i,y(I),I[3]=I[15]=e,I[8]=n,I[10]=o||e&&e[10],I[V]=f||e&&e[V],I[12]=_||e&&e[12]||null,I[9]=S||e&&e[9]||null,I[6]=s,I[16]=2==t.type?e[16]:I,I}function _s(e,t,n,i,r){let s=e.data[t];if(null===s)s=function xl(e,t,n,i,r){const s=qt(),o=Vn(),_=e.data[t]=function L_(e,t,n,i,r,s){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=_),null!==s&&(o?null==s.child&&null!==_.parent&&(s.child=_):null===s.next&&(s.next=_)),_}(e,t,n,i,r),function Oa(){return ae.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const o=function bn(){const e=ae.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return Ln(s,!0),s}function ys(e,t,n,i){if(0===n)return-1;const r=t.length;for(let s=0;s<n;s++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function yo(e,t,n){Hr(t);try{const i=e.viewQuery;null!==i&&Bl(1,i,n);const r=e.template;null!==r&&Td(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ad(e,t),e.staticViewQueries&&Bl(2,e.viewQuery,n);const s=e.components;null!==s&&function P_(e,t){for(let n=0;n<t.length;n++)ty(e,t[n])}(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,ts()}}function vs(e,t,n,i){const r=t[2];if(256==(256&r))return;Hr(t);const s=Lr();try{y(t),function Li(e){return ae.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Td(e,t,n,2,i);const o=3==(3&r);if(!s)if(o){const S=e.preOrderCheckHooks;null!==S&&is(t,S,null)}else{const S=e.preOrderHooks;null!==S&&rs(t,S,0,null),ss(t,0)}if(function J_(e){for(let t=cl(e);null!==t;t=ul(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const r=n[i],s=r[3];0==(1024&r[2])&&x(s,1),r[2]|=1024}}}(t),function X_(e){for(let t=cl(e);null!==t;t=ul(t))for(let n=10;n<t.length;n++){const i=t[n],r=i[1];kt(i)&&vs(r,i,r.template,i[8])}}(t),null!==e.contentQueries&&Ad(e,t),!s)if(o){const S=e.contentCheckHooks;null!==S&&is(t,S)}else{const S=e.contentHooks;null!==S&&rs(t,S,1),ss(t,1)}!function R_(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const r=n[i];if(r<0)fr(~r);else{const s=r,o=n[++i],f=n[++i];Lo(o,s),f(2,t[s])}}}finally{fr(-1)}}(e,t);const f=e.components;null!==f&&function F_(e,t){for(let n=0;n<t.length;n++)ey(e,t[n])}(t,f);const _=e.viewQuery;if(null!==_&&Bl(2,_,i),!s)if(o){const S=e.viewCheckHooks;null!==S&&is(t,S)}else{const S=e.viewHooks;null!==S&&rs(t,S,2),ss(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,x(t[3],-1))}finally{ts()}}function N_(e,t,n,i){const r=t[10],s=!Lr(),o=mt(t);try{s&&!o&&r.begin&&r.begin(),o&&yo(e,t,i),vs(e,t,n,i)}finally{s&&!o&&r.end&&r.end()}}function Td(e,t,n,i,r){const s=ii(),o=2&i;try{fr(-1),o&&t.length>20&&gd(e,t,20,Lr()),n(i,r)}finally{fr(s)}}function Id(e,t,n){if(fi(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s<r;s++){const o=e.data[s];o.contentQueries&&o.contentQueries(1,n[s],s)}}}function Ol(e,t,n){!bi()||(function z_(e,t,n,i){const r=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||Ir(n,t),di(i,t);const o=n.initialInputs;for(let f=r;f<s;f++){const _=e.data[f],S=Nn(_);S&&q_(t,n,_);const I=ne(t,e,f,n);di(I,t),null!==o&&Q_(0,f-r,I,_,0,o),S&&(rt(n.index,t)[8]=I)}}(e,t,n,De(n,t)),128==(128&n.flags)&&function G_(e,t,n){const i=n.directiveStart,r=n.directiveEnd,o=n.index,f=function Ra(){return ae.lFrame.currentDirectiveIndex}();try{fr(o);for(let _=i;_<r;_++){const S=e.data[_],I=t[_];Us(_),(null!==S.hostBindings||0!==S.hostVars||null!==S.hostAttrs)&&Ld(S,I)}}finally{fr(-1),Us(f)}}(e,t,n))}function Rl(e,t,n=De){const i=t.localNames;if(null!==i){let r=t.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],f=-1===o?n(t,e):e[o];e[r++]=f}}}function xd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=oa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function oa(e,t,n,i,r,s,o,f,_,S){const I=20+i,$=I+r,ie=function k_(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Vt);return n}(I,$),me="function"==typeof S?S():S;return ie[1]={type:e,blueprint:ie,template:n,queries:null,viewQuery:f,declTNode:t,data:ie.slice().fill(null,I),bindingStartIndex:I,expandoStartIndex:$,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:_,consts:me,incompleteFirstPass:!1}}function Fd(e,t,n,i){const r=$d(t);null===n?r.push(i):(r.push(n),e.firstCreatePass&&zd(e).push(i,r.length-1))}function Pd(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function Ii(e,t,n,i,r,s,o,f){const _=De(t,n);let I,S=t.inputs;!f&&null!=S&&(I=S[i])?(Kd(e,n,I,i,r),Hi(t)&&function j_(e,t){const n=rt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function B_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=o?o(r,t.value||"",i):r,L(s)?s.setProperty(_,i,r):Gr(i)||(_.setProperty?_.setProperty(i,r):_[i]=r))}function Fl(e,t,n,i){let r=!1;if(bi()){const s=function W_(e,t,n){const i=e.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const o=i[s];fd(n,o.selectors,!1)&&(r||(r=[]),cs(Ir(n,t),e,o.type),Nn(o)?(Vd(e,n),r.unshift(o)):r.push(o))}return r}(e,t,n),o=null===i?null:{"":-1};if(null!==s){r=!0,Bd(n,e.data.length,s.length);for(let I=0;I<s.length;I++){const $=s[I];$.providersResolver&&$.providersResolver($)}let f=!1,_=!1,S=ys(e,t,s.length,null);for(let I=0;I<s.length;I++){const $=s[I];n.mergedAttrs=qs(n.mergedAttrs,$.hostAttrs),jd(e,n,t,S,$),Y_(S,$,o),null!==$.contentQueries&&(n.flags|=8),(null!==$.hostBindings||null!==$.hostAttrs||0!==$.hostVars)&&(n.flags|=128);const ie=$.type.prototype;!f&&(ie.ngOnChanges||ie.ngOnInit||ie.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),f=!0),!_&&(ie.ngOnChanges||ie.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),_=!0),S++}!function V_(e,t){const i=t.directiveEnd,r=e.data,s=t.attrs,o=[];let f=null,_=null;for(let S=t.directiveStart;S<i;S++){const I=r[S],$=I.inputs,ie=null===s||hd(t)?null:Z_($,s);o.push(ie),f=Pd($,S,f),_=Pd(I.outputs,S,_)}null!==f&&(f.hasOwnProperty("class")&&(t.flags|=16),f.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=f,t.outputs=_}(e,n)}o&&function K_(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const s=n[t[r+1]];if(null==s)throw new he(-301,!1);i.push(t[r],s)}}}(n,i,o)}return n.mergedAttrs=qs(n.mergedAttrs,n.attrs),r}function kd(e,t,n,i,r,s){const o=s.hostBindings;if(o){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const _=~t.index;(function $_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=_&&f.push(_),f.push(i,r,o)}}function Ld(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Vd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Y_(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Nn(t)&&(n[""]=e)}}function Bd(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function jd(e,t,n,i,r){e.data[i]=r;const s=r.factory||(r.factory=ti(r.type)),o=new $r(s,Nn(r),null);e.blueprint[i]=o,n[i]=o,kd(e,t,0,i,ys(e,n,r.hostVars,Vt),r)}function q_(e,t,n){const i=De(t,e),r=xd(n),s=e[10],o=aa(e,_o(e,r,null,n.onPush?64:16,i,t,s,s.createRenderer(i,n),null,null));e[t.index]=o}function Dr(e,t,n,i,r,s){const o=De(e,t);!function Pl(e,t,n,i,r,s,o){if(null==s)L(e)?e.removeAttribute(t,r,n):t.removeAttribute(r);else{const f=null==o?ce(s):o(s,i||"",r);L(e)?e.setAttribute(t,r,f,n):n?t.setAttributeNS(n,r,f):t.setAttribute(r,f)}}(t[V],o,s,e.value,n,i,r)}function Q_(e,t,n,i,r,s){const o=s[t];if(null!==o){const f=i.setInput;for(let _=0;_<o.length;){const S=o[_++],I=o[_++],$=o[_++];null!==f?i.setInput(n,$,S,I):n[I]=$}}}function Z_(e,t){let n=null,i=0;for(;i<t.length;){const r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Ud(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function ey(e,t){const n=rt(t,e);if(kt(n)){const i=n[1];80&n[2]?vs(i,n,i.template,n[8]):n[5]>0&&Nl(n)}}function Nl(e){for(let i=cl(e);null!==i;i=ul(i))for(let r=10;r<i.length;r++){const s=i[r];if(1024&s[2]){const o=s[1];vs(o,s,o.template,s[8])}else s[5]>0&&Nl(s)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const r=rt(n[i],e);kt(r)&&r[5]>0&&Nl(r)}}function ty(e,t){const n=rt(t,e),i=n[1];(function ny(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),yo(i,n,n[8])}function aa(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function kl(e){for(;e;){e[2]|=64;const t=mo(e);if(lr(e)&&!t)return e;e=t}return null}function Vl(e,t,n){const i=t[10];i.begin&&i.begin();try{vs(e,t,e.template,n)}catch(r){throw Wd(t,r),r}finally{i.end&&i.end()}}function Hd(e){!function Ll(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=rl(n),r=i[1];N_(r,i,r.template,n)}}(e[8])}function Bl(e,t,n){$s(0),t(e,n)}const oy=(()=>Promise.resolve(null))();function $d(e){return e[7]||(e[7]=[])}function zd(e){return e.cleanup||(e.cleanup=[])}function Gd(e,t,n){return(null===e||Nn(e))&&(n=function M(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[V]}function Wd(e,t){const n=e[9],i=n?n.get(po,null):null;i&&i.handleError(t)}function Kd(e,t,n,i,r){for(let s=0;s<n.length;){const o=n[s++],f=n[s++],_=t[o],S=e.data[o];null!==S.setInput?S.setInput(_,r,i,f):_[f]=r}}function Fr(e,t,n){const i=ue(t,e);!function qu(e,t,n){L(e)?e.setValue(t,n):t.textContent=n}(e[V],i,n)}function la(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const f=t[o];"number"==typeof f?s=f:1==s?r=Y(r,f):2==s&&(i=Y(i,f+": "+t[++o]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}const jl=new Gn("INJECTOR",-1);class Yd{get(t,n=ro){if(n===ro){const i=new Error(`NullInjectorError: No provider for ${j(t)}!`);throw i.name="NullInjectorError",i}return n}}const Ul=new Gn("Set Injector scope."),vo={},cy={};let Hl;function qd(){return void 0===Hl&&(Hl=new Yd),Hl}function Qd(e,t=null,n=null,i){const r=Zd(e,t,n,i);return r._resolveInjectorDefTypes(),r}function Zd(e,t=null,n=null,i){return new uy(e,n,t||qd(),i)}class uy{constructor(t,n,i,r=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&_r(n,f=>this.processProvider(f,t,n)),_r([t],f=>this.processInjectorType(f,[],s)),this.records.set(jl,bs(void 0,this));const o=this.records.get(Ul);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:j(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=ro,i=ct.Default){this.assertNotDestroyed();const r=_u(this),s=ke(void 0);try{if(!(i&ct.SkipSelf)){let f=this.records.get(t);if(void 0===f){const _=function yy(e){return"function"==typeof e||"object"==typeof e&&e instanceof Gn}(t)&&Pt(t);f=_&&this.injectableDefInScope(_)?bs($l(t),vo):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(i&ct.Self?qd():this.parent).get(t,n=i&ct.Optional&&n===ro?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[qo]=o[qo]||[]).unshift(j(t)),r)throw o;return function zm(e,t,n,i){const r=e[qo];throw t[gu]&&r.unshift(t[gu]),e.message=function Gm(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=j(t);if(Array.isArray(t))r=t.map(j).join(" -> ");else if("object"==typeof t){let s=[];for(let o in t)if(t.hasOwnProperty(o)){let f=t[o];s.push(o+":"+("string"==typeof f?JSON.stringify(f):j(f)))}r=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Vm,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[qo]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{ke(s),_u(r)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,r)=>t.push(j(r))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new he(205,!1)}processInjectorType(t,n,i){if(!(t=te(t)))return!1;let r=zt(t);const s=null==r&&t.ngModule||void 0,o=void 0===s?t:s,f=-1!==i.indexOf(o);if(void 0!==s&&(r=zt(s)),null==r)return!1;if(null!=r.imports&&!f){let I;i.push(o);try{_r(r.imports,$=>{this.processInjectorType($,n,i)&&(void 0===I&&(I=[]),I.push($))})}finally{}if(void 0!==I)for(let $=0;$<I.length;$++){const{ngModule:ie,providers:me}=I[$];_r(me,xe=>this.processProvider(xe,ie,me||it))}}this.injectorDefTypes.add(o);const _=ti(o)||(()=>new o);this.records.set(o,bs(_,vo));const S=r.providers;if(null!=S&&!f){const I=t;_r(S,$=>this.processProvider($,I,S))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,i){let r=Ds(t=te(t))?t:te(t&&t.provide);const s=function hy(e,t,n){return Jd(e)?bs(void 0,e.useValue):bs(Xd(e),vo)}(t);if(Ds(t)||!0!==t.multi)this.records.get(r);else{let o=this.records.get(r);o||(o=bs(void 0,vo,!0),o.factory=()=>Ya(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,s)}hydrate(t,n){return n.value===vo&&(n.value=cy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function _y(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=te(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function $l(e){const t=Pt(e),n=null!==t?t.factory:ti(e);if(null!==n)return n;if(e instanceof Gn)throw new he(204,!1);if(e instanceof Function)return function dy(e){const t=e.length;if(t>0)throw io(t,"?"),new he(204,!1);const n=function Cn(e){const t=e&&(e[Gt]||e[Sn]);if(t){const n=function gn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new he(204,!1)}function Xd(e,t,n){let i;if(Ds(e)){const r=te(e);return ti(r)||$l(r)}if(Jd(e))i=()=>te(e.useValue);else if(function py(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ya(e.deps||[]));else if(function fy(e){return!(!e||!e.useExisting)}(e))i=()=>ri(te(e.useExisting));else{const r=te(e&&(e.useClass||e.provide));if(!function gy(e){return!!e.deps}(e))return ti(r)||$l(r);i=()=>new r(...Ya(e.deps))}return i}function bs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Jd(e){return null!==e&&"object"==typeof e&&jm in e}function Ds(e){return"function"==typeof e}let ji=(()=>{class e{static create(n,i){var r;if(Array.isArray(n))return Qd({name:""},i,n,"");{const s=null!==(r=n.name)&&void 0!==r?r:"";return Qd({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=ro,e.NULL=new Yd,e.\u0275prov=Et({token:e,providedIn:"any",factory:()=>ri(jl)}),e.__NG_ELEMENT_ID__=-1,e})();function Sy(e,t){ns(rl(e)[1],nt())}function Wl(e){let t=function dh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(Nn(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new he(903,"");r=t.\u0275dir}if(r){if(n){i.push(r);const o=e;o.inputs=Kl(e.inputs),o.declaredInputs=Kl(e.declaredInputs),o.outputs=Kl(e.outputs);const f=r.hostBindings;f&&xy(e,f);const _=r.viewQuery,S=r.contentQueries;if(_&&Ty(e,_),S&&Iy(e,S),le(e.inputs,r.inputs),le(e.declaredInputs,r.declaredInputs),le(e.outputs,r.outputs),Nn(r)&&r.data.animation){const I=e.data;I.animation=(I.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let o=0;o<s.length;o++){const f=s[o];f&&f.ngInherit&&f(e),f===Wl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Ay(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=qs(r.hostAttrs,n=qs(n,r.hostAttrs))}}(i)}function Kl(e){return e===_n?{}:e===it?[]:e}function Ty(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function Iy(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,s)=>{t(i,r,s),n(i,r,s)}:t}function xy(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}let ca=null;function Es(){if(!ca){const e=Mt.Symbol;if(e&&e.iterator)ca=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(ca=i)}}}return ca}function bo(e){return!!Yl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Es()in e)}function Yl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Er(e,t,n){return e[t]=n}function hi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ql(e,t,n,i){const r=Fe();return hi(r,Vi(),t)&&(Ve(),Dr(Tn(),r,e,t,n,i)),ql}function Ms(e,t,n,i,r,s){const f=function Zr(e,t,n,i){const r=hi(e,t,n);return hi(e,t+1,i)||r}(e,function qn(){return ae.lFrame.bindingIndex}(),n,r);return tr(2),f?t+ce(n)+i+ce(r)+s:Vt}function Dh(e,t,n,i,r,s,o,f){const _=Fe(),S=Ve(),I=e+20,$=S.firstCreatePass?function Ly(e,t,n,i,r,s,o,f,_){const S=t.consts,I=_s(t,e,4,o||null,v(S,f));Fl(t,n,I,v(S,_)),ns(t,I);const $=I.tViews=oa(2,I,i,r,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S);return null!==t.queries&&(t.queries.template(t,I),$.queries=t.queries.embeddedTView(I)),I}(I,S,_,t,n,i,r,s,o):S.data[I];Ln($,!1);const ie=_[V].createComment("");ta(S,_,ie,$),di(ie,_),aa(_,_[I]=Ud(ie,_,ie,$)),oi($)&&Ol(S,_,$),null!=o&&Rl(_,$,f)}function Eh(e){return Je(function hr(){return ae.lFrame.contextLView}(),20+e)}function Eo(e,t=ct.Default){const n=Fe();return null===n?ri(e,t):l(nt(),n,te(e),t)}function Fh(){throw new Error("invalid")}function ec(e,t,n){const i=Fe();return hi(i,Vi(),t)&&Ii(Ve(),Tn(),i,e,t,i[V],n,!1),ec}function tc(e,t,n,i,r){const o=r?"class":"style";Kd(e,n,t.inputs[o],o,i)}function nc(e,t,n,i){const r=Fe(),s=Ve(),o=20+e,f=r[V],_=r[o]=hl(f,t,function $o(){return ae.lFrame.currentNamespace}()),S=s.firstCreatePass?function rv(e,t,n,i,r,s,o){const f=t.consts,S=_s(t,e,2,r,v(f,s));return Fl(t,n,S,v(f,o)),null!==S.attrs&&la(S,S.attrs,!1),null!==S.mergedAttrs&&la(S,S.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,S),S}(o,s,r,0,t,n,i):s.data[o];Ln(S,!0);const I=S.mergedAttrs;null!==I&&zr(f,_,I);const $=S.classes;null!==$&&yl(f,_,$);const ie=S.styles;null!==ie&&cd(f,_,ie),64!=(64&S.flags)&&ta(s,r,_,S),0===function Yt(){return ae.lFrame.elementDepthCount}()&&di(_,r),function En(){ae.lFrame.elementDepthCount++}(),oi(S)&&(Ol(s,r,S),Id(s,S,r)),null!==i&&Rl(r,S)}function ic(){let e=nt();Vn()?Di():(e=e.parent,Ln(e,!1));const t=e;!function vi(){ae.lFrame.elementDepthCount--}();const n=Ve();n.firstCreatePass&&(ns(n,e),fi(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Go(e){return 0!=(16&e.flags)}(t)&&tc(n,t,Fe(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Ba(e){return 0!=(32&e.flags)}(t)&&tc(n,t,Fe(),t.stylesWithoutHost,!1)}function Ph(e,t,n,i){nc(e,t,n,i),ic()}function rc(e,t,n){const i=Fe(),r=Ve(),s=e+20,o=r.firstCreatePass?function sv(e,t,n,i,r){const s=t.consts,o=v(s,i),f=_s(t,e,8,"ng-container",o);return null!==o&&la(f,o,!0),Fl(t,n,f,v(s,r)),null!==t.queries&&t.queries.elementStart(t,f),f}(s,r,i,t,n):r.data[s];Ln(o,!0);const f=i[s]=i[V].createComment("");ta(r,i,f,o),di(f,i),oi(o)&&(Ol(r,i,o),Id(r,o,i)),null!=n&&Rl(i,o)}function sc(){let e=nt();const t=Ve();Vn()?Di():(e=e.parent,Ln(e,!1)),t.firstCreatePass&&(ns(t,e),fi(e)&&t.queries.elementEnd(e))}function Nh(e,t,n){rc(e,t,n),sc()}function kh(){return Fe()}function oc(e){return!!e&&"function"==typeof e.then}function Lh(e){return!!e&&"function"==typeof e.subscribe}const Vh=Lh;function ac(e,t,n,i){const r=Fe(),s=Ve(),o=nt();return Bh(s,r,r[V],o,e,t,!!n,i),ac}function lc(e,t){const n=nt(),i=Fe(),r=Ve();return Bh(r,i,Gd(Hs(r.data),n,i),n,e,t,!1),lc}function Bh(e,t,n,i,r,s,o,f){const _=oi(i),I=e.firstCreatePass&&zd(e),$=t[8],ie=$d(t);let me=!0;if(3&i.type||f){const Xe=De(i,t),at=f?f(Xe):Xe,Re=ie.length,vt=f?Zt=>f(p(Zt[i.index])):i.index;if(L(n)){let Zt=null;if(!f&&_&&(Zt=function ov(e,t,n,i){const r=e.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const o=r[s];if(o===n&&r[s+1]===i){const f=t[7],_=r[s+2];return f.length>_?f[_]:null}"string"==typeof o&&(s+=2)}return null}(e,t,r,i.index)),null!==Zt)(Zt.__ngLastListenerFn__||Zt).__ngNextListenerFn__=s,Zt.__ngLastListenerFn__=s,me=!1;else{s=cc(i,t,$,s,!1);const yn=n.listen(at,r,s);ie.push(s,yn),I&&I.push(r,vt,Re,Re+1)}}else s=cc(i,t,$,s,!0),at.addEventListener(r,s,o),ie.push(s),I&&I.push(r,vt,Re,o)}else s=cc(i,t,$,s,!1);const xe=i.outputs;let We;if(me&&null!==xe&&(We=xe[r])){const Xe=We.length;if(Xe)for(let at=0;at<Xe;at+=2){const Oi=t[We[at]][We[at+1]].subscribe(s),es=ie.length;ie.push(s,Oi),I&&I.push(r,i.index,es,-(es+1))}}}function jh(e,t,n,i){try{return!1!==n(i)}catch(r){return Wd(e,r),!1}}function cc(e,t,n,i,r){return function s(o){if(o===Function)return i;const f=2&e.flags?rt(e.index,t):t;0==(32&t[2])&&kl(f);let _=jh(t,0,i,o),S=s.__ngNextListenerFn__;for(;S;)_=jh(t,0,S,o)&&_,S=S.__ngNextListenerFn__;return r&&!1===_&&(o.preventDefault(),o.returnValue=!1),_}}function Uh(e=1){return function Pa(e){return(ae.lFrame.contextLView=function Na(e,t){for(;e>0;)t=t[15],e--;return t}(e,ae.lFrame.contextLView))[8]}(e)}function av(e,t){let n=null;const i=function m_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let r=0;r<t.length;r++){const s=t[r];if("*"!==s){if(null===i?fd(e,s,!0):y_(i,s))return r}else n=r}return n}function Hh(e){const t=Fe()[16][6];if(!t.projection){const i=t.projection=io(e?e.length:1,null),r=i.slice();let s=t.child;for(;null!==s;){const o=e?av(s,e):0;null!==o&&(r[o]?r[o].projectionNext=s:i[o]=s,r[o]=s),s=s.next}}}function $h(e,t=0,n){const i=Fe(),r=Ve(),s=_s(r,20+e,16,null,n||null);null===s.projection&&(s.projection=t),Di(),64!=(64&s.flags)&&function l_(e,t,n){ld(t[V],0,t,n,Xu(e,n,t),nd(n.parent||t[6],n,t))}(r,i,s)}function Jh(e,t,n,i,r){const s=e[n+1],o=null===t;let f=i?ir(s):Rr(s),_=!1;for(;0!==f&&(!1===_||o);){const I=e[f+1];uv(e[f],t)&&(_=!0,e[f+1]=i?Dl(I):vl(I)),f=i?ir(I):Rr(I)}_&&(e[n+1]=i?vl(s):Dl(s))}function uv(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&us(e,t)>=0}const Jn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ef(e){return e.substring(Jn.key,Jn.keyEnd)}function tf(e,t){const n=Jn.textEnd;return n===t?-1:(t=Jn.keyEnd=function pv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Jn.key=t,n),Fs(e,t,n))}function Fs(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function dc(e,t,n){return sr(e,t,n,!1),dc}function hc(e,t){return sr(e,t,null,!0),hc}function lf(e){!function or(e,t,n,i){const r=Ve(),s=tr(2);r.firstUpdatePass&&uf(r,null,s,i);const o=Fe();if(n!==Vt&&hi(o,s,n)){const f=r.data[ii()];if(pf(f,i)&&!cf(r,s)){let _=i?f.classesWithoutHost:f.stylesWithoutHost;null!==_&&(n=Y(_,n||"")),tc(r,f,o,n,i)}else!function Cv(e,t,n,i,r,s,o,f){r===Vt&&(r=it);let _=0,S=0,I=0<r.length?r[0]:null,$=0<s.length?s[0]:null;for(;null!==I||null!==$;){const ie=_<r.length?r[_+1]:void 0,me=S<s.length?s[S+1]:void 0;let We,xe=null;I===$?(_+=2,S+=2,ie!==me&&(xe=$,We=me)):null===$||null!==I&&I<$?(_+=2,xe=I):(S+=2,xe=$,We=me),null!==xe&&hf(e,t,n,i,xe,We,o,f),I=_<r.length?r[_]:null,$=S<s.length?s[S]:null}}(r,f,o,o[V],o[s+1],o[s+1]=function Ev(e,t,n){if(null==n||""===n)return it;const i=[],r=Or(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)e(i,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&e(i,s,r[s]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,s)}}(Ti,wr,e,!0)}function wr(e,t){for(let n=function hv(e){return function rf(e){Jn.key=0,Jn.keyEnd=0,Jn.value=0,Jn.valueEnd=0,Jn.textEnd=e.length}(e),tf(e,Fs(e,0,Jn.textEnd))}(t);n>=0;n=tf(t,n))Ti(e,ef(t),!0)}function sr(e,t,n,i){const r=Fe(),s=Ve(),o=tr(2);s.firstUpdatePass&&uf(s,e,o,i),t!==Vt&&hi(r,o,t)&&hf(s,s.data[ii()],r,r[V],e,r[o+1]=function wv(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=j(Or(e)))),e}(t,n),i,o)}function cf(e,t){return t>=e.expandoStartIndex}function uf(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[ii()],o=cf(e,n);pf(s,i)&&null===t&&!o&&(t=!1),t=function yv(e,t,n,i){const r=Hs(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Co(n=fc(null,e,t,n,i),t.attrs,i),s=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=fc(r,e,t,n,i),null===s){let _=function vv(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Rr(i))return e[ir(i)]}(e,t,i);void 0!==_&&Array.isArray(_)&&(_=fc(null,e,t,_[1],i),_=Co(_,t.attrs,i),function bv(e,t,n,i){e[ir(n?t.classBindings:t.styleBindings)]=i}(e,t,i,_))}else s=function Dv(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<r;s++)i=Co(i,e[s].hostAttrs,n);return Co(i,t.attrs,n)}(e,t,i)}return void 0!==s&&(i?t.residualClasses=s:t.residualStyles=s),n}(r,s,t,i),function lv(e,t,n,i,r,s){let o=s?t.classBindings:t.styleBindings,f=ir(o),_=Rr(o);e[i]=n;let I,S=!1;if(Array.isArray(n)){const $=n;I=$[1],(null===I||us($,I)>0)&&(S=!0)}else I=n;if(r)if(0!==_){const ie=ir(e[f+1]);e[i+1]=ia(ie,f),0!==ie&&(e[ie+1]=bl(e[ie+1],i)),e[f+1]=function E_(e,t){return 131071&e|t<<17}(e[f+1],i)}else e[i+1]=ia(f,0),0!==f&&(e[f+1]=bl(e[f+1],i)),f=i;else e[i+1]=ia(_,0),0===f?f=i:e[_+1]=bl(e[_+1],i),_=i;S&&(e[i+1]=vl(e[i+1])),Jh(e,I,i,!0),Jh(e,I,i,!1),function cv(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&us(s,t)>=0&&(n[i+1]=Dl(n[i+1]))}(t,I,e,i,s),o=ia(f,_),s?t.classBindings=o:t.styleBindings=o}(r,s,t,n,o,i)}}function fc(e,t,n,i,r){let s=null;const o=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<o&&(s=t[f],i=Co(i,s.hostAttrs,r),s!==e);)f++;return null!==e&&(n.directiveStylingLast=f),i}function Co(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?r=o:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ti(e,o,!!n||t[++s]))}return void 0===e?null:e}function hf(e,t,n,i,r,s,o,f){if(!(3&t.type))return;const _=e.data,S=_[f+1];ha(function vd(e){return 1==(1&e)}(S)?ff(_,t,n,r,Rr(S),o):void 0)||(ha(s)||function yd(e){return 2==(2&e)}(S)&&(s=ff(_,null,n,r,f,o)),function u_(e,t,n,i,r){const s=L(e);if(t)r?s?e.addClass(n,i):n.classList.add(i):s?e.removeClass(n,i):n.classList.remove(i);else{let o=-1===i.indexOf("-")?void 0:br.DashCase;if(null==r)s?e.removeStyle(n,i,o):n.style.removeProperty(i);else{const f="string"==typeof r&&r.endsWith("!important");f&&(r=r.slice(0,-10),o|=br.Important),s?e.setStyle(n,i,r,o):n.style.setProperty(i,r,f?"important":"")}}}(i,o,ue(ii(),n),r,s))}function ff(e,t,n,i,r,s){const o=null===t;let f;for(;r>0;){const _=e[r],S=Array.isArray(_),I=S?_[1]:_,$=null===I;let ie=n[r+1];ie===Vt&&(ie=$?it:void 0);let me=$?Ga(ie,i):I===i?ie:void 0;if(S&&!ha(me)&&(me=Ga(_,i)),ha(me)&&(f=me,o))return f;const xe=e[r+1];r=o?ir(xe):Rr(xe)}if(null!==t){let _=s?t.residualClasses:t.residualStyles;null!=_&&(f=Ga(_,i))}return f}function ha(e){return void 0!==e}function pf(e,t){return 0!=(e.flags&(t?16:32))}function mf(e,t=""){const n=Fe(),i=Ve(),r=e+20,s=i.firstCreatePass?_s(i,r,1,t,null):i.data[r],o=n[r]=function dl(e,t){return L(e)?e.createText(t):e.createTextNode(t)}(n[V],t);ta(i,n,o,s),Ln(s,!1)}function pc(e){return fa("",e,""),pc}function fa(e,t,n){const i=Fe(),r=function ws(e,t,n,i){return hi(e,Vi(),n)?t+ce(n)+i:Vt}(i,e,t,n);return r!==Vt&&Fr(i,ii(),r),fa}function mc(e,t,n,i,r){const s=Fe(),o=Ms(s,e,t,n,i,r);return o!==Vt&&Fr(s,ii(),o),mc}function gc(e,t,n){const i=Fe();return hi(i,Vi(),t)&&Ii(Ve(),Tn(),i,e,t,i[V],n,!0),gc}function _c(e,t,n){const i=Fe();if(hi(i,Vi(),t)){const s=Ve(),o=Tn();Ii(s,o,i,e,t,Gd(Hs(s.data),o,i),n,!0)}return _c}const Xr=void 0;var zv=["en",[["a","p"],["AM","PM"],Xr],[["AM","PM"],Xr,Xr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Xr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Xr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Xr,"{1} 'at' {0}",Xr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $v(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Ps={};function yc(e){const t=function Gv(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ff(t);if(n)return n;const i=t.split("-")[0];if(n=Ff(i),n)return n;if("en"===i)return zv;throw new Error(`Missing locale data for the locale "${e}".`)}function Rf(e){return yc(e)[wt.PluralCase]}function Ff(e){return e in Ps||(Ps[e]=Mt.ng&&Mt.ng.common&&Mt.ng.common.locales&&Mt.ng.common.locales[e]),Ps[e]}var wt=(()=>((wt=wt||{})[wt.LocaleId=0]="LocaleId",wt[wt.DayPeriodsFormat=1]="DayPeriodsFormat",wt[wt.DayPeriodsStandalone=2]="DayPeriodsStandalone",wt[wt.DaysFormat=3]="DaysFormat",wt[wt.DaysStandalone=4]="DaysStandalone",wt[wt.MonthsFormat=5]="MonthsFormat",wt[wt.MonthsStandalone=6]="MonthsStandalone",wt[wt.Eras=7]="Eras",wt[wt.FirstDayOfWeek=8]="FirstDayOfWeek",wt[wt.WeekendRange=9]="WeekendRange",wt[wt.DateFormat=10]="DateFormat",wt[wt.TimeFormat=11]="TimeFormat",wt[wt.DateTimeFormat=12]="DateTimeFormat",wt[wt.NumberSymbols=13]="NumberSymbols",wt[wt.NumberFormats=14]="NumberFormats",wt[wt.CurrencyCode=15]="CurrencyCode",wt[wt.CurrencySymbol=16]="CurrencySymbol",wt[wt.CurrencyName=17]="CurrencyName",wt[wt.Currencies=18]="Currencies",wt[wt.Directionality=19]="Directionality",wt[wt.PluralCase=20]="PluralCase",wt[wt.ExtraData=21]="ExtraData",wt))();const pa="en-US";let Pf=pa;function Dc(e,t,n,i,r){if(e=te(e),Array.isArray(e))for(let s=0;s<e.length;s++)Dc(e[s],t,n,i,r);else{const s=Ve(),o=Fe();let f=Ds(e)?e:te(e.provide),_=Xd(e);const S=nt(),I=1048575&S.providerIndexes,$=S.directiveStart,ie=S.providerIndexes>>20;if(Ds(e)||!e.multi){const me=new $r(_,r,Eo),xe=Cc(f,t,r?I:I+ie,$);-1===xe?(cs(Ir(S,o),s,f),Ec(s,e,t.length),t.push(f),S.directiveStart++,S.directiveEnd++,r&&(S.providerIndexes+=1048576),n.push(me),o.push(me)):(n[xe]=me,o[xe]=me)}else{const me=Cc(f,t,I+ie,$),xe=Cc(f,t,I,I+ie),We=me>=0&&n[me],Xe=xe>=0&&n[xe];if(r&&!Xe||!r&&!We){cs(Ir(S,o),s,f);const at=function $b(e,t,n,i,r){const s=new $r(e,n,Eo);return s.multi=[],s.index=t,s.componentProviders=0,rp(s,r,i&&!n),s}(r?Hb:Ub,n.length,r,i,_);!r&&Xe&&(n[xe].providerFactory=at),Ec(s,e,t.length,0),t.push(f),S.directiveStart++,S.directiveEnd++,r&&(S.providerIndexes+=1048576),n.push(at),o.push(at)}else Ec(s,e,me>-1?me:xe,rp(n[r?xe:me],_,!r&&i));!r&&i&&Xe&&n[xe].componentProviders++}}}function Ec(e,t,n,i){const r=Ds(t),s=function my(e){return!!e.useClass}(t);if(r||s){const _=(s?te(t.useClass):t).prototype.ngOnDestroy;if(_){const S=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const I=S.indexOf(n);-1===I?S.push(n,[i,_]):S[I+1].push(i,_)}else S.push(n,_)}}}function rp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Cc(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function Ub(e,t,n,i){return wc(this.multi,[])}function Hb(e,t,n,i){const r=this.multi;let s;if(this.providerFactory){const o=this.providerFactory.componentProviders,f=ne(n,n[1],this.providerFactory.index,i);s=f.slice(0,o),wc(r,s);for(let _=o;_<f.length;_++)s.push(f[_])}else s=[],wc(r,s);return s}function wc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function sp(e,t=[]){return n=>{n.providersResolver=(i,r)=>function jb(e,t,n){const i=Ve();if(i.firstCreatePass){const r=Nn(e);Dc(n,i.data,i.blueprint,r,!0),Dc(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class op{}class Wb{resolveComponentFactory(t){throw function Gb(e){const t=Error(`No component factory found for ${j(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let To=(()=>{class e{}return e.NULL=new Wb,e})();function Kb(){return ks(nt(),Fe())}function ks(e,t){return new Io(De(e,t))}let Io=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Kb,e})();function Yb(e){return e instanceof Io?e.nativeElement:e}class lp{}let qb=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Zb(){const e=Fe(),n=rt(nt().index,e);return function Qb(e){return e[V]}(Hn(n)?n:e)}(),e})(),Xb=(()=>{class e{}return e.\u0275prov=Et({token:e,providedIn:"root",factory:()=>null}),e})();class cp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Jb=new cp("13.2.2"),Mc={};function va(e,t,n,i,r=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&i.push(p(s)),Mn(s))for(let f=10;f<s.length;f++){const _=s[f],S=_[1].firstChild;null!==S&&va(_[1],_,S,i)}const o=n.type;if(8&o)va(e,t,n.child,i);else if(32&o){const f=ll(n,t);let _;for(;_=f();)i.push(_)}else if(16&o){const f=od(t,n);if(Array.isArray(f))i.push(...f);else{const _=mo(t[16]);va(_[1],_,f,i,!0)}}n=r?n.projectionNext:n.next}return i}class xo{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return va(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Mn(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(fl(t,i),Ko(n,i))}this._attachedToViewContainer=!1}Zu(this._lView[1],this._lView)}onDestroy(t){Fd(this._lView[1],this._lView,null,t)}markForCheck(){kl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function ry(e,t,n){zn(!0);try{Vl(e,t,n)}finally{zn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new he(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function e_(e,t){go(e,t,t[V],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new he(902,"");this._appRef=t}}class eD extends xo{constructor(t){super(t),this._view=t}detectChanges(){Hd(this._view)}checkNoChanges(){!function sy(e){zn(!0);try{Hd(e)}finally{zn(!1)}}(this._view)}get context(){return null}}class up extends To{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=oe(t);return new Sc(n,this.ngModule)}}function dp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const nD=new Gn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>$u});class Sc extends op{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function b_(e){return e.map(v_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return dp(this.componentDef.inputs)}get outputs(){return dp(this.componentDef.outputs)}create(t,n,i,r){const s=(r=r||this.ngModule)?function iD(e,t){return{get:(n,i,r)=>{const s=e.get(n,Mc,r);return s!==Mc||i===Mc?s:t.get(n,i,r)}}}(t,r.injector):t,o=s.get(lp,h),f=s.get(Xb,null),_=o.createRenderer(null,this.componentDef),S=this.componentDef.selectors[0][0]||"div",I=i?function Rd(e,t,n){if(L(e))return e.selectRootElement(t,n===bt.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(_,i,this.componentDef.encapsulation):hl(o.createRenderer(null,this.componentDef),S,function tD(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(S)),$=this.componentDef.onPush?576:528,ie=function uh(e,t){return{components:[],scheduler:e||$u,clean:oy,playerHandler:t||null,flags:0}}(),me=oa(0,null,null,1,0,null,null,null,null,null),xe=_o(null,me,ie,$,null,null,o,_,f,s);let We,Xe;Hr(xe);try{const at=function lh(e,t,n,i,r,s){const o=n[1];n[20]=e;const _=_s(o,20,2,"#host",null),S=_.mergedAttrs=t.hostAttrs;null!==S&&(la(_,S,!0),null!==e&&(zr(r,e,S),null!==_.classes&&yl(r,e,_.classes),null!==_.styles&&cd(r,e,_.styles)));const I=i.createRenderer(e,t),$=_o(n,xd(t),null,t.onPush?64:16,n[20],_,i,I,s||null,null);return o.firstCreatePass&&(cs(Ir(_,n),o,t.type),Vd(o,_),Bd(_,n.length,1)),aa(n,$),n[20]=$}(I,this.componentDef,xe,o,_);if(I)if(i)zr(_,I,["ng-version",Jb.full]);else{const{attrs:Re,classes:vt}=function D_(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===r?""!==s&&t.push(s,e[++i]):8===r&&n.push(s);else{if(!nr(r))break;r=s}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Re&&zr(_,I,Re),vt&&vt.length>0&&yl(_,I,vt.join(" "))}if(Xe=qe(me,20),void 0!==n){const Re=Xe.projection=[];for(let vt=0;vt<this.ngContentSelectors.length;vt++){const Zt=n[vt];Re.push(null!=Zt?Array.from(Zt):null)}}We=function ch(e,t,n,i,r){const s=n[1],o=function H_(e,t,n){const i=nt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),jd(e,i,t,ys(e,t,1,null),n));const r=ne(t,e,i.directiveStart,i);di(r,t);const s=De(i,t);return s&&di(s,t),r}(s,n,t);if(i.components.push(o),e[8]=o,r&&r.forEach(_=>_(o,t)),t.contentQueries){const _=nt();t.contentQueries(1,o,_.directiveStart)}const f=nt();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(fr(f.index),kd(n[1],f,0,f.directiveStart,f.directiveEnd,t),Ld(t,o)),o}(at,this.componentDef,xe,ie,[Sy]),yo(me,xe,null)}finally{ts()}return new sD(this.componentType,We,ks(Xe,xe),xe,Xe)}}class sD extends class zb{}{constructor(t,n,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new eD(r),this.componentType=t}get injector(){return new ht(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Ls{}class hp{}const Vs=new Map;class mp extends Ls{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new up(this);const i=N(t);this._bootstrapComponents=vr(i.bootstrap),this._r3Injector=Zd(t,n,[{provide:Ls,useValue:this},{provide:To,useValue:this.componentFactoryResolver}],j(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=ji.THROW_IF_NOT_FOUND,i=ct.Default){return t===ji||t===Ls||t===jl?this:this._r3Injector.get(t,n,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ac extends hp{constructor(t){super(),this.moduleType=t,null!==N(t)&&function aD(e){const t=new Set;!function n(i){const r=N(i,!0),s=r.id;null!==s&&(function fp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${j(t)} vs ${j(t.name)}`)}(s,Vs.get(s),i),Vs.set(s,i));const o=vr(r.imports);for(const f of o)t.has(f)||(t.add(f),n(f))}(e)}(t)}create(t){return new mp(this.moduleType,t)}}function gp(e,t,n){const i=xn()+e,r=Fe();return r[i]===Vt?Er(r,i,n?t.call(n):t()):function Do(e,t){return e[t]}(r,i)}function _p(e,t,n,i){return yp(Fe(),xn(),e,t,n,i)}function yp(e,t,n,i,r,s){const o=t+n;return hi(e,o,r)?Er(e,o+1,s?i.call(s,r):i(r)):function Oo(e,t){const n=e[t];return n===Vt?void 0:n}(e,o+1)}function Cp(e,t){const n=Ve();let i;const r=e+20;n.firstCreatePass?(i=function gD(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=ti(i.type)),o=ke(Eo);try{const f=ls(!1),_=s();return ls(f),function Vy(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Fe(),r,_),_}finally{ke(o)}}function wp(e,t,n){const i=e+20,r=Fe(),s=Je(r,i);return function Ro(e,t){return e[1].data[t].pure}(r,i)?yp(r,xn(),t,s.transform,n,s):s.transform(n)}function Tc(e){return t=>{setTimeout(e,void 0,t)}}const Mr=class DD extends u.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){var r,s,o;let f=t,_=n||(()=>null),S=i;if(t&&"object"==typeof t){const $=t;f=null===(r=$.next)||void 0===r?void 0:r.bind($),_=null===(s=$.error)||void 0===s?void 0:s.bind($),S=null===(o=$.complete)||void 0===o?void 0:o.bind($)}this.__isAsync&&(_=Tc(_),f&&(f=Tc(f)),S&&(S=Tc(S)));const I=super.subscribe({next:f,error:_,complete:S});return t instanceof m.w&&t.add(I),I}};function ED(){return this._results[Es()]()}class ba{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Es(),i=ba.prototype;i[n]||(i[n]=ED)}get changes(){return this._changes||(this._changes=new Mr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const r=Bi(t);(this._changesDetected=!function Im(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],s=t[i];if(n&&(r=n(r),s=n(s)),s!==r)return!1}return!0}(i._results,r,n))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Fo=(()=>{class e{}return e.__NG_ELEMENT_ID__=MD,e})();const CD=Fo,wD=class extends CD{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=_o(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(n)),yo(n,i,t),new xo(i)}};function MD(){return Da(nt(),Fe())}function Da(e,t){return 4&e.type?new wD(t,e,ks(e,t)):null}let Ea=(()=>{class e{}return e.__NG_ELEMENT_ID__=SD,e})();function SD(){return Ap(nt(),Fe())}const AD=Ea,Mp=class extends AD{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return ks(this._hostTNode,this._hostLView)}get injector(){return new ht(this._hostTNode,this._hostLView)}get parentInjector(){const t=Wr(this._hostTNode,this._hostLView);if(Qs(t)){const n=Br(t,this._hostLView),i=Vr(t);return new ht(n[1].data[i+8],n)}return new ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Sp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const r=t.createEmbeddedView(n||{});return this.insert(r,i),r}createComponent(t,n,i,r,s){const o=t&&!function no(e){return"function"==typeof e}(t);let f;if(o)f=n;else{const $=n||{};f=$.index,i=$.injector,r=$.projectableNodes,s=$.ngModuleRef}const _=o?t:new Sc(oe(t)),S=i||this.parentInjector;if(!s&&null==_.ngModule&&S){const $=S.get(Ls,null);$&&(s=$)}const I=_.create(S,r,void 0,s);return this.insert(I.hostView,f),I}insert(t,n){const i=t._lView,r=i[1];if(function C(e){return Mn(e[3])}(i)){const I=this.indexOf(t);if(-1!==I)this.detach(I);else{const $=i[3],ie=new Mp($,$[6],$[3]);ie.detach(ie.indexOf(t))}}const s=this._adjustIndex(n),o=this._lContainer;!function n_(e,t,n,i){const r=10+i,s=n.length;i>0&&(n[r-1][4]=t),i<s-10?(t[4]=n[r],du(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function i_(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const f=t[19];null!==f&&f.insertView(e),t[2]|=128}(r,i,o,s);const f=gl(s,o),_=i[V],S=ea(_,o[7]);return null!==S&&function Jg(e,t,n,i,r,s){i[0]=r,i[6]=t,go(e,i,n,1,r,s)}(r,o[6],_,i,S,f),t.attachToViewContainerRef(),du(Ic(o),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Sp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=fl(this._lContainer,n);i&&(Ko(Ic(this._lContainer),n),Zu(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=fl(this._lContainer,n);return i&&null!=Ko(Ic(this._lContainer),n)?new xo(i):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Sp(e){return e[8]}function Ic(e){return e[8]||(e[8]=[])}function Ap(e,t){let n;const i=t[e.index];if(Mn(i))n=i;else{let r;if(8&e.type)r=p(i);else{const s=t[V];r=s.createComment("");const o=De(e,t);Qr(s,ea(s,o),r,function a_(e,t){return L(e)?e.nextSibling(t):t.nextSibling}(s,o),!1)}t[e.index]=n=Ud(i,t,r,e),aa(t,n)}return new Mp(n,e,t)}class xc{constructor(t){this.queryList=t,this.matches=null}clone(){return new xc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Oc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let s=0;s<i;s++){const o=n.getByIndex(s);r.push(this.queries[o.indexInDeclarationView].clone())}return new Oc(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==kp(t,n).matches&&this.queries[n].setDirty()}}class Tp{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Rc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,s=this.getByIndex(i).embeddedTView(t,r);s&&(s.indexInDeclarationView=i,null!==n?n.push(s):n=[s])}return null!==n?new Rc(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Fc{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Fc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const s=i[r];this.matchTNodeWithReadOption(t,n,xD(n,s)),this.matchTNodeWithReadOption(t,n,K(n,t,s,!1,!1))}else i===Fo?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,K(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Io||r===Ea||r===Fo&&4&n.type)this.addMatch(n.index,-2);else{const s=K(n,t,r,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function xD(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function RD(e,t,n,i){return-1===n?function OD(e,t){return 11&e.type?ks(e,t):4&e.type?Da(e,t):null}(t,e):-2===n?function FD(e,t,n){return n===Io?ks(t,e):n===Fo?Da(t,e):n===Ea?Ap(t,e):void 0}(e,t,i):ne(e,e[1],n,t)}function Ip(e,t,n,i){const r=t[19].queries[i];if(null===r.matches){const s=e.data,o=n.matches,f=[];for(let _=0;_<o.length;_+=2){const S=o[_];f.push(S<0?null:RD(t,s[S],o[_+1],n.metadata.read))}r.matches=f}return r.matches}function Pc(e,t,n,i){const r=e.queries.getByIndex(n),s=r.matches;if(null!==s){const o=Ip(e,t,r,n);for(let f=0;f<s.length;f+=2){const _=s[f];if(_>0)i.push(o[f/2]);else{const S=s[f+1],I=t[-_];for(let $=10;$<I.length;$++){const ie=I[$];ie[17]===ie[3]&&Pc(ie[1],ie,S,i)}if(null!==I[9]){const $=I[9];for(let ie=0;ie<$.length;ie++){const me=$[ie];Pc(me[1],me,S,i)}}}}}return i}function xp(e){const t=Fe(),n=Ve(),i=Vo();$s(i+1);const r=kp(n,i);if(e.dirty&&mt(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const s=r.crossesNgTemplate?Pc(n,t,i,[]):Ip(n,t,r,i);e.reset(s,Yb),e.notifyOnChanges()}return!0}return!1}function Op(e,t,n){const i=Ve();i.firstCreatePass&&(Np(i,new Tp(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Pp(i,Fe(),t)}function Rp(e,t,n,i){const r=Ve();if(r.firstCreatePass){const s=nt();Np(r,new Tp(t,n,i),s.index),function ND(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),2==(2&n)&&(r.staticContentQueries=!0)}Pp(r,Fe(),n)}function Fp(){return function PD(e,t){return e[19].queries[t].queryList}(Fe(),Vo())}function Pp(e,t,n){const i=new ba(4==(4&n));Fd(e,t,i,i.destroy),null===t[19]&&(t[19]=new Oc),t[19].queries.push(new xc(i))}function Np(e,t,n){null===e.queries&&(e.queries=new Rc),e.queries.track(new Fc(t,n))}function kp(e,t){return e.queries.getByIndex(t)}function Lp(e,t){return Da(e,t)}function Ma(...e){}const jc=new Gn("Application Initializer");let js=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ma,this.reject=Ma,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const s=this.appInits[r]();if(oc(s))n.push(s);else if(Vh(s)){const o=new Promise((f,_)=>{s.subscribe({complete:f,error:_})});n.push(o)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(ri(jc,8))},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();const em=new Gn("AppId"),JD={provide:em,useFactory:function XD(){return`${Uc()}${Uc()}${Uc()}`},deps:[]};function Uc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tm=new Gn("Platform Initializer"),nm=new Gn("Platform ID"),im=new Gn("appBootstrapListener");let rm=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();const Sa=new Gn("LocaleId"),sm=new Gn("DefaultCurrencyCode");class eE{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Hc=(()=>{class e{compileModuleSync(n){return new Ac(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=vr(N(n).declarations).reduce((o,f)=>{const _=oe(f);return _&&o.push(new Sc(_)),o},[]);return new eE(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();const nE=(()=>Promise.resolve(0))();function $c(e){"undefined"==typeof Zone?nE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class xi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mr(!1),this.onMicrotaskEmpty=new Mr(!1),this.onStable=new Mr(!1),this.onError=new Mr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function iE(){let e=Mt.requestAnimationFrame,t=Mt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function oE(e){const t=()=>{!function sE(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Mt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Gc(e),e.isCheckStableRunning=!0,zc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Gc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,o,f)=>{try{return om(e),n.invokeTask(r,s,o,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),am(e)}},onInvoke:(n,i,r,s,o,f,_)=>{try{return om(e),n.invoke(r,s,o,f,_)}finally{e.shouldCoalesceRunChangeDetection&&t(),am(e)}},onHasTask:(n,i,r,s)=>{n.hasTask(r,s),i===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Gc(e),zc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,r,s)=>(n.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!xi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(xi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,t,rE,Ma,Ma);try{return s.runTask(o,n,i)}finally{s.cancelTask(o)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const rE={};function zc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Gc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function om(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function am(e){e._nesting--,zc(e)}class aE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mr,this.onMicrotaskEmpty=new Mr,this.onStable=new Mr,this.onError=new Mr}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}let lm=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{xi.assertNotInAngularZone(),$c(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())$c(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:r})}whenStable(n,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(ri(xi))},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})(),cm=(()=>{class e{constructor(){this._applications=new Map,Wc.addToWindow(this)}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Wc.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();class lE{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function cE(e){Wc=e}let ar,Wc=new lE;const um=new Gn("AllowMultipleToken");class hE{constructor(t,n){this.name=t,this.token=n}}function dm(e,t,n=[]){const i=`Platform: ${t}`,r=new Gn(i);return(s=[])=>{let o=hm();if(!o||o.injector.get(um,!1))if(e)e(n.concat(s).concat({provide:r,useValue:!0}));else{const f=n.concat(s).concat({provide:r,useValue:!0},{provide:Ul,useValue:"platform"});!function fE(e){if(ar&&!ar.destroyed&&!ar.injector.get(um,!1))throw new he(400,"");ar=e.get(fm);const t=e.get(tm,null);t&&t.forEach(n=>n())}(ji.create({providers:f,name:i}))}return function pE(e){const t=hm();if(!t)throw new he(401,"");return t}()}}function hm(){return ar&&!ar.destroyed?ar:null}let fm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const f=function mE(e,t){let n;return n="noop"===e?new aE:("zone.js"===e?void 0:e)||new xi({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),_=[{provide:xi,useValue:f}];return f.run(()=>{const S=ji.create({providers:_,parent:this.injector,name:n.moduleType.name}),I=n.create(S),$=I.injector.get(po,null);if(!$)throw new he(402,"");return f.runOutsideAngular(()=>{const ie=f.onError.subscribe({next:me=>{$.handleError(me)}});I.onDestroy(()=>{Kc(this._modules,I),ie.unsubscribe()})}),function gE(e,t,n){try{const i=n();return oc(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}($,f,()=>{const ie=I.injector.get(js);return ie.runInitializers(),ie.donePromise.then(()=>(function qv(e){Lt(e,"Expected localeId to be defined"),"string"==typeof e&&(Pf=e.toLowerCase().replace(/_/g,"-"))}(I.injector.get(Sa,pa)||pa),this._moduleDoBootstrap(I),I))})})}bootstrapModule(n,i=[]){const r=pm({},i);return function uE(e,t,n){const i=new Ac(n);return Promise.resolve(i)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(n){const i=n.injector.get(No);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new he(403,"");n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new he(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(ri(ji))},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();function pm(e,t){return Array.isArray(t)?t.reduce(pm,e):Object.assign(Object.assign({},e),t)}let No=(()=>{class e{constructor(n,i,r,s,o){this._zone=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const f=new de.y(S=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{S.next(this._stable),S.complete()})}),_=new de.y(S=>{let I;this._zone.runOutsideAngular(()=>{I=this._zone.onStable.subscribe(()=>{xi.assertNotInAngularZone(),$c(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,S.next(!0))})})});const $=this._zone.onUnstable.subscribe(()=>{xi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{S.next(!1)}))});return()=>{I.unsubscribe(),$.unsubscribe()}});this.isStable=(0,_e.T)(f,_.pipe((0,se.B)()))}bootstrap(n,i){if(!this._initStatus.done)throw new he(405,"");let r;r=n instanceof op?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(r.componentType);const s=function dE(e){return e.isBoundToModule}(r)?void 0:this._injector.get(Ls),f=r.create(ji.NULL,[],i||r.selector,s),_=f.location.nativeElement,S=f.injector.get(lm,null),I=S&&f.injector.get(cm);return S&&I&&I.registerApplication(_,S),f.onDestroy(()=>{this.detachView(f.hostView),Kc(this.components,f),I&&I.unregisterApplication(_)}),this._loadComponent(f),f}tick(){if(this._runningTick)throw new he(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Kc(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(im,[]).concat(this._bootstrapListeners).forEach(r=>r(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(ri(xi),ri(ji),ri(po),ri(To),ri(js))},e.\u0275prov=Et({token:e,factory:e.\u0275fac}),e})();function Kc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let gm=!0;function yE(){gm=!1}let vE=(()=>{class e{}return e.__NG_ELEMENT_ID__=bE,e})();function bE(e){return function DE(e,t,n){if(Hi(e)&&!n){const i=rt(e.index,t);return new xo(i,i)}return 47&e.type?new xo(t[16],t):null}(nt(),Fe(),16==(16&e))}class Dm{constructor(){}supports(t){return bo(t)}create(t){return new AE(t)}}const SE=(e,t)=>t;class AE{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||SE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,s=null;for(;n||i;){const o=!i||n&&n.currentIndex<Cm(i,r,s)?n:i,f=Cm(o,r,s),_=o.currentIndex;if(o===i)r--,i=i._nextRemoved;else if(n=n._next,null==o.previousIndex)r++;else{s||(s=[]);const S=f-r,I=_-r;if(S!=I){for(let ie=0;ie<S;ie++){const me=ie<s.length?s[ie]:s[ie]=0,xe=me+ie;I<=xe&&xe<S&&(s[ie]=me+1)}s[o.previousIndex]=I-S}}f!==_&&t(o,f,_)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!bo(t))throw new he(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,s,o,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)s=t[f],o=this._trackByFn(f,s),null!==n&&Object.is(n.trackById,o)?(i&&(n=this._verifyReinsertion(n,s,o,f)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,o,f),i=!0),n=n._next}else r=0,function ky(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Es()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,f=>{o=this._trackByFn(r,f),null!==n&&Object.is(n.trackById,o)?(i&&(n=this._verifyReinsertion(n,f,o,r)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,o,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,r)):t=this._addAfter(new TE(n,i),s,r),t}_verifyReinsertion(t,n,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Em),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Em),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class TE{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class IE{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class Em{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new IE,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Cm(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class wm{constructor(){}supports(t){return t instanceof Map||Yl(t)}create(){return new xE}}class xE{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Yl(t)))throw new he(900,"")}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const s=r._prev,o=r._next;return s&&(s._next=o),o&&(o._prev=s),r._next=null,r._prev=null,r}const i=new OE(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class OE{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Mm(){return new Ia([new Dm])}let Ia=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Mm()),deps:[[e,new ds,new Yr]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new he(901,"")}}return e.\u0275prov=Et({token:e,providedIn:"root",factory:Mm}),e})();function Sm(){return new xa([new wm])}let xa=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Sm()),deps:[[e,new ds,new Yr]]}}find(n){const i=this.factories.find(s=>s.supports(n));if(i)return i;throw new he(901,"")}}return e.\u0275prov=Et({token:e,providedIn:"root",factory:Sm}),e})();const RE=[new wm],PE=new Ia([new Dm]),NE=new xa(RE),kE=dm(null,"core",[{provide:nm,useValue:"unknown"},{provide:fm,deps:[ji]},{provide:cm,deps:[]},{provide:rm,deps:[]}]),UE=[{provide:No,useClass:No,deps:[xi,ji,po,To,js]},{provide:nD,deps:[xi],useFactory:function HE(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:js,useClass:js,deps:[[new Yr,jc]]},{provide:Hc,useClass:Hc,deps:[]},JD,{provide:Ia,useFactory:function LE(){return PE},deps:[]},{provide:xa,useFactory:function VE(){return NE},deps:[]},{provide:Sa,useFactory:function BE(e){return e||function jE(){return"undefined"!=typeof $localize&&$localize.locale||pa}()},deps:[[new ao(Sa),new Yr,new ds]]},{provide:sm,useValue:"USD"}];let $E=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ri(No))},e.\u0275mod=Jt({type:e}),e.\u0275inj=Bt({providers:UE}),e})()},3075:(tt,Se,T)=>{T.d(Se,{TO:()=>q,Wl:()=>Q,Zs:()=>a,Fj:()=>ve,Oe:()=>V,CE:()=>Ci,qu:()=>mt,NI:()=>fe,u:()=>ur,cw:()=>A,sg:()=>li,x0:()=>Fi,Cf:()=>ce,JU:()=>j,a5:()=>zt,JJ:()=>ct,JL:()=>wn,F:()=>gt,_:()=>Rn,UX:()=>Je,kI:()=>Dt,_Y:()=>fi});var u=T(5e3),m=T(9808),de=T(5254),_e=T(567),se=T(4850);let z=(()=>{class C{constructor(y,x){this._renderer=y,this._elementRef=x,this.onChange=ae=>{},this.onTouched=()=>{}}setProperty(y,x){this._renderer.setProperty(this._elementRef.nativeElement,y,x)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}}return C.\u0275fac=function(y){return new(y||C)(u.Y36(u.Qsj),u.Y36(u.SBq))},C.\u0275dir=u.lG2({type:C}),C})(),le=(()=>{class C extends z{}return C.\u0275fac=function(){let v;return function(x){return(v||(v=u.n5z(C)))(x||C)}}(),C.\u0275dir=u.lG2({type:C,features:[u.qOj]}),C})();const j=new u.OlP("NgValueAccessor"),Y={provide:j,useExisting:(0,u.Gpc)(()=>Q),multi:!0};let Q=(()=>{class C extends le{writeValue(y){this.setProperty("checked",y)}}return C.\u0275fac=function(){let v;return function(x){return(v||(v=u.n5z(C)))(x||C)}}(),C.\u0275dir=u.lG2({type:C,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(y,x){1&y&&u.NdJ("change",function(Qe){return x.onChange(Qe.target.checked)})("blur",function(){return x.onTouched()})},features:[u._Bn([Y]),u.qOj]}),C})();const X={provide:j,useExisting:(0,u.Gpc)(()=>ve),multi:!0},Ce=new u.OlP("CompositionEventMode");let ve=(()=>{class C extends z{constructor(y,x,ae){super(y,x),this._compositionMode=ae,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function te(){const C=(0,m.q)()?(0,m.q)().getUserAgent():"";return/android (\d+)/.test(C.toLowerCase())}())}writeValue(y){this.setProperty("value",null==y?"":y)}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}}return C.\u0275fac=function(y){return new(y||C)(u.Y36(u.Qsj),u.Y36(u.SBq),u.Y36(Ce,8))},C.\u0275dir=u.lG2({type:C,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(y,x){1&y&&u.NdJ("input",function(Qe){return x._handleInput(Qe.target.value)})("blur",function(){return x.onTouched()})("compositionstart",function(){return x._compositionStart()})("compositionend",function(Qe){return x._compositionEnd(Qe.target.value)})},features:[u._Bn([X]),u.qOj]}),C})();function he(C){return null==C||0===C.length}function pe(C){return null!=C&&"number"==typeof C.length}const ce=new u.OlP("NgValidators"),Le=new u.OlP("NgAsyncValidators"),ze=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Dt{static min(v){return function Ke(C){return v=>{if(he(v.value)||he(C))return null;const y=parseFloat(v.value);return!isNaN(y)&&y<C?{min:{min:C,actual:v.value}}:null}}(v)}static max(v){return function ge(C){return v=>{if(he(v.value)||he(C))return null;const y=parseFloat(v.value);return!isNaN(y)&&y>C?{max:{max:C,actual:v.value}}:null}}(v)}static required(v){return Ue(v)}static requiredTrue(v){return _t(v)}static email(v){return function Kt(C){return he(C.value)||ze.test(C.value)?null:{email:!0}}(v)}static minLength(v){return function en(C){return v=>he(v.value)||!pe(v.value)?null:v.value.length<C?{minlength:{requiredLength:C,actualLength:v.value.length}}:null}(v)}static maxLength(v){return function At(C){return v=>pe(v.value)&&v.value.length>C?{maxlength:{requiredLength:C,actualLength:v.value.length}}:null}(v)}static pattern(v){return function Rt(C){if(!C)return xt;let v,y;return"string"==typeof C?(y="","^"!==C.charAt(0)&&(y+="^"),y+=C,"$"!==C.charAt(C.length-1)&&(y+="$"),v=new RegExp(y)):(y=C.toString(),v=C),x=>{if(he(x.value))return null;const ae=x.value;return v.test(ae)?null:{pattern:{requiredPattern:y,actualValue:ae}}}}(v)}static nullValidator(v){return null}static compose(v){return Lt(v)}static composeAsync(v){return an(v)}}function Ue(C){return he(C.value)?{required:!0}:null}function _t(C){return!0===C.value?null:{required:!0}}function xt(C){return null}function ft(C){return null!=C}function Tt(C){const v=(0,u.QGY)(C)?(0,de.D)(C):C;return(0,u.CqO)(v),v}function He(C){let v={};return C.forEach(y=>{v=null!=y?Object.assign(Object.assign({},v),y):v}),0===Object.keys(v).length?null:v}function jn(C,v){return v.map(y=>y(C))}function Ft(C){return C.map(v=>function mn(C){return!C.validate}(v)?v:y=>v.validate(y))}function Lt(C){if(!C)return null;const v=C.filter(ft);return 0==v.length?null:function(y){return He(jn(y,v))}}function lt(C){return null!=C?Lt(Ft(C)):null}function an(C){if(!C)return null;const v=C.filter(ft);return 0==v.length?null:function(y){const x=jn(y,v).map(Tt);return(0,_e.D)(x).pipe((0,se.U)(He))}}function In(C){return null!=C?an(Ft(C)):null}function pn(C,v){return null===C?[v]:Array.isArray(C)?[...C,v]:[C,v]}function Et(C){return C._rawValidators}function $t(C){return C._rawAsyncValidators}function Bt(C){return C?Array.isArray(C)?C:[C]:[]}function Pt(C,v){return Array.isArray(C)?C.includes(v):C===v}function Xt(C,v){const y=Bt(v);return Bt(C).forEach(ae=>{Pt(y,ae)||y.push(ae)}),y}function Cn(C,v){return Bt(v).filter(y=>!Pt(C,y))}class gn{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(v){this._rawValidators=v||[],this._composedValidatorFn=lt(this._rawValidators)}_setAsyncValidators(v){this._rawAsyncValidators=v||[],this._composedAsyncValidatorFn=In(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(v){this._onDestroyCallbacks.push(v)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(v=>v()),this._onDestroyCallbacks=[]}reset(v){this.control&&this.control.reset(v)}hasError(v,y){return!!this.control&&this.control.hasError(v,y)}getError(v,y){return this.control?this.control.getError(v,y):null}}class zt extends gn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Gt extends gn{get formDirective(){return null}get path(){return null}}class ln{constructor(v){this._cd=v}is(v){var y,x,ae;return"submitted"===v?!!(null===(y=this._cd)||void 0===y?void 0:y.submitted):!!(null===(ae=null===(x=this._cd)||void 0===x?void 0:x.control)||void 0===ae?void 0:ae[v])}}let ct=(()=>{class C extends ln{constructor(y){super(y)}}return C.\u0275fac=function(y){return new(y||C)(u.Y36(zt,2))},C.\u0275dir=u.lG2({type:C,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(y,x){2&y&&u.ekj("ng-untouched",x.is("untouched"))("ng-touched",x.is("touched"))("ng-pristine",x.is("pristine"))("ng-dirty",x.is("dirty"))("ng-valid",x.is("valid"))("ng-invalid",x.is("invalid"))("ng-pending",x.is("pending"))},features:[u.qOj]}),C})(),wn=(()=>{class C extends ln{constructor(y){super(y)}}return C.\u0275fac=function(y){return new(y||C)(u.Y36(Gt,10))},C.\u0275dir=u.lG2({type:C,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(y,x){2&y&&u.ekj("ng-untouched",x.is("untouched"))("ng-touched",x.is("touched"))("ng-pristine",x.is("pristine"))("ng-dirty",x.is("dirty"))("ng-valid",x.is("valid"))("ng-invalid",x.is("invalid"))("ng-pending",x.is("pending"))("ng-submitted",x.is("submitted"))},features:[u.qOj]}),C})();function _n(C,v){return[...v.path,C]}function it(C,v){O(C,v),v.valueAccessor.writeValue(C.value),function ee(C,v){v.valueAccessor.registerOnChange(y=>{C._pendingValue=y,C._pendingChange=!0,C._pendingDirty=!0,"change"===C.updateOn&&$e(C,v)})}(C,v),function Ot(C,v){const y=(x,ae)=>{v.valueAccessor.writeValue(x),ae&&v.viewToModelUpdate(x)};C.registerOnChange(y),v._registerOnDestroy(()=>{C._unregisterOnChange(y)})}(C,v),function we(C,v){v.valueAccessor.registerOnTouched(()=>{C._pendingTouched=!0,"blur"===C.updateOn&&C._pendingChange&&$e(C,v),"submit"!==C.updateOn&&C.markAsTouched()})}(C,v),function B(C,v){if(v.valueAccessor.setDisabledState){const y=x=>{v.valueAccessor.setDisabledState(x)};C.registerOnDisabledChange(y),v._registerOnDestroy(()=>{C._unregisterOnDisabledChange(y)})}}(C,v)}function rn(C,v,y=!0){const x=()=>{};v.valueAccessor&&(v.valueAccessor.registerOnChange(x),v.valueAccessor.registerOnTouched(x)),k(C,v),C&&(v._invokeOnDestroyCallbacks(),C._registerOnCollectionChange(()=>{}))}function Ee(C,v){C.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(v)})}function O(C,v){const y=Et(C);null!==v.validator?C.setValidators(pn(y,v.validator)):"function"==typeof y&&C.setValidators([y]);const x=$t(C);null!==v.asyncValidator?C.setAsyncValidators(pn(x,v.asyncValidator)):"function"==typeof x&&C.setAsyncValidators([x]);const ae=()=>C.updateValueAndValidity();Ee(v._rawValidators,ae),Ee(v._rawAsyncValidators,ae)}function k(C,v){let y=!1;if(null!==C){if(null!==v.validator){const ae=Et(C);if(Array.isArray(ae)&&ae.length>0){const Qe=ae.filter(Yt=>Yt!==v.validator);Qe.length!==ae.length&&(y=!0,C.setValidators(Qe))}}if(null!==v.asyncValidator){const ae=$t(C);if(Array.isArray(ae)&&ae.length>0){const Qe=ae.filter(Yt=>Yt!==v.asyncValidator);Qe.length!==ae.length&&(y=!0,C.setAsyncValidators(Qe))}}}const x=()=>{};return Ee(v._rawValidators,x),Ee(v._rawAsyncValidators,x),y}function $e(C,v){C._pendingDirty&&C.markAsDirty(),C.setValue(C._pendingValue,{emitModelToViewChange:!1}),v.viewToModelUpdate(C._pendingValue),C._pendingChange=!1}function jt(C,v){O(C,v)}function re(C,v){C._syncPendingControls(),v.forEach(y=>{const x=y.control;"submit"===x.updateOn&&x._pendingChange&&(y.viewToModelUpdate(x._pendingValue),x._pendingChange=!1)})}function oe(C,v){const y=C.indexOf(v);y>-1&&C.splice(y,1)}const N="VALID",Z="INVALID",be="PENDING",Ie="DISABLED";function ut(C){return(je(C)?C.validators:C)||null}function st(C){return Array.isArray(C)?lt(C):C||null}function Wt(C,v){return(je(v)?v.asyncValidators:C)||null}function Ut(C){return Array.isArray(C)?In(C):C||null}function je(C){return null!=C&&!Array.isArray(C)&&"object"==typeof C}const yt=C=>C instanceof fe,pt=C=>C instanceof A,nn=C=>C instanceof V;function Pn(C){return yt(C)?C.value:C.getRawValue()}function un(C,v){const y=pt(C),x=C.controls;if(!(y?Object.keys(x):x).length)throw new u.vHH(1e3,"");if(!x[v])throw new u.vHH(1001,"")}function Un(C,v){pt(C),C._forEachChild((x,ae)=>{if(void 0===v[ae])throw new u.vHH(1002,"")})}class q{constructor(v,y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=v,this._rawAsyncValidators=y,this._composedValidatorFn=st(this._rawValidators),this._composedAsyncValidatorFn=Ut(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(v){this._rawValidators=this._composedValidatorFn=v}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(v){this._rawAsyncValidators=this._composedAsyncValidatorFn=v}get parent(){return this._parent}get valid(){return this.status===N}get invalid(){return this.status===Z}get pending(){return this.status==be}get disabled(){return this.status===Ie}get enabled(){return this.status!==Ie}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(v){this._rawValidators=v,this._composedValidatorFn=st(v)}setAsyncValidators(v){this._rawAsyncValidators=v,this._composedAsyncValidatorFn=Ut(v)}addValidators(v){this.setValidators(Xt(v,this._rawValidators))}addAsyncValidators(v){this.setAsyncValidators(Xt(v,this._rawAsyncValidators))}removeValidators(v){this.setValidators(Cn(v,this._rawValidators))}removeAsyncValidators(v){this.setAsyncValidators(Cn(v,this._rawAsyncValidators))}hasValidator(v){return Pt(this._rawValidators,v)}hasAsyncValidator(v){return Pt(this._rawAsyncValidators,v)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(v={}){this.touched=!0,this._parent&&!v.onlySelf&&this._parent.markAsTouched(v)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(v=>v.markAllAsTouched())}markAsUntouched(v={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(y=>{y.markAsUntouched({onlySelf:!0})}),this._parent&&!v.onlySelf&&this._parent._updateTouched(v)}markAsDirty(v={}){this.pristine=!1,this._parent&&!v.onlySelf&&this._parent.markAsDirty(v)}markAsPristine(v={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(y=>{y.markAsPristine({onlySelf:!0})}),this._parent&&!v.onlySelf&&this._parent._updatePristine(v)}markAsPending(v={}){this.status=be,!1!==v.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!v.onlySelf&&this._parent.markAsPending(v)}disable(v={}){const y=this._parentMarkedDirty(v.onlySelf);this.status=Ie,this.errors=null,this._forEachChild(x=>{x.disable(Object.assign(Object.assign({},v),{onlySelf:!0}))}),this._updateValue(),!1!==v.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},v),{skipPristineCheck:y})),this._onDisabledChange.forEach(x=>x(!0))}enable(v={}){const y=this._parentMarkedDirty(v.onlySelf);this.status=N,this._forEachChild(x=>{x.enable(Object.assign(Object.assign({},v),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},v),{skipPristineCheck:y})),this._onDisabledChange.forEach(x=>x(!1))}_updateAncestors(v){this._parent&&!v.onlySelf&&(this._parent.updateValueAndValidity(v),v.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(v){this._parent=v}updateValueAndValidity(v={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===N||this.status===be)&&this._runAsyncValidator(v.emitEvent)),!1!==v.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!v.onlySelf&&this._parent.updateValueAndValidity(v)}_updateTreeValidity(v={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(v)),this.updateValueAndValidity({onlySelf:!0,emitEvent:v.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ie:N}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(v){if(this.asyncValidator){this.status=be,this._hasOwnPendingAsyncValidator=!0;const y=Tt(this.asyncValidator(this));this._asyncValidationSubscription=y.subscribe(x=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(x,{emitEvent:v})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(v,y={}){this.errors=v,this._updateControlsErrors(!1!==y.emitEvent)}get(v){return function Ze(C,v,y){if(null==v||(Array.isArray(v)||(v=v.split(y)),Array.isArray(v)&&0===v.length))return null;let x=C;return v.forEach(ae=>{x=pt(x)?x.controls.hasOwnProperty(ae)?x.controls[ae]:null:nn(x)&&x.at(ae)||null}),x}(this,v,".")}getError(v,y){const x=y?this.get(y):this;return x&&x.errors?x.errors[v]:null}hasError(v,y){return!!this.getError(v,y)}get root(){let v=this;for(;v._parent;)v=v._parent;return v}_updateControlsErrors(v){this.status=this._calculateStatus(),v&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(v)}_initObservables(){this.valueChanges=new u.vpe,this.statusChanges=new u.vpe}_calculateStatus(){return this._allControlsDisabled()?Ie:this.errors?Z:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(be)?be:this._anyControlsHaveStatus(Z)?Z:N}_anyControlsHaveStatus(v){return this._anyControls(y=>y.status===v)}_anyControlsDirty(){return this._anyControls(v=>v.dirty)}_anyControlsTouched(){return this._anyControls(v=>v.touched)}_updatePristine(v={}){this.pristine=!this._anyControlsDirty(),this._parent&&!v.onlySelf&&this._parent._updatePristine(v)}_updateTouched(v={}){this.touched=this._anyControlsTouched(),this._parent&&!v.onlySelf&&this._parent._updateTouched(v)}_isBoxedValue(v){return"object"==typeof v&&null!==v&&2===Object.keys(v).length&&"value"in v&&"disabled"in v}_registerOnCollectionChange(v){this._onCollectionChange=v}_setUpdateStrategy(v){je(v)&&null!=v.updateOn&&(this._updateOn=v.updateOn)}_parentMarkedDirty(v){return!v&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class fe extends q{constructor(v=null,y,x){super(ut(y),Wt(x,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(v),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),je(y)&&y.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(v)?v.value:v)}setValue(v,y={}){this.value=this._pendingValue=v,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(x=>x(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(v,y={}){this.setValue(v,y)}reset(v=this.defaultValue,y={}){this._applyFormState(v),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(v){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(v){this._onChange.push(v)}_unregisterOnChange(v){oe(this._onChange,v)}registerOnDisabledChange(v){this._onDisabledChange.push(v)}_unregisterOnDisabledChange(v){oe(this._onDisabledChange,v)}_forEachChild(v){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(v){this._isBoxedValue(v)?(this.value=this._pendingValue=v.value,v.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=v}}class A extends q{constructor(v,y,x){super(ut(y),Wt(x,y)),this.controls=v,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(v,y){return this.controls[v]?this.controls[v]:(this.controls[v]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(v,y,x={}){this.registerControl(v,y),this.updateValueAndValidity({emitEvent:x.emitEvent}),this._onCollectionChange()}removeControl(v,y={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange(()=>{}),delete this.controls[v],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(v,y,x={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange(()=>{}),delete this.controls[v],y&&this.registerControl(v,y),this.updateValueAndValidity({emitEvent:x.emitEvent}),this._onCollectionChange()}contains(v){return this.controls.hasOwnProperty(v)&&this.controls[v].enabled}setValue(v,y={}){Un(this,v),Object.keys(v).forEach(x=>{un(this,x),this.controls[x].setValue(v[x],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(v,y={}){null!=v&&(Object.keys(v).forEach(x=>{this.controls[x]&&this.controls[x].patchValue(v[x],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(v={},y={}){this._forEachChild((x,ae)=>{x.reset(v[ae],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(v,y,x)=>(v[x]=Pn(y),v))}_syncPendingControls(){let v=this._reduceChildren(!1,(y,x)=>!!x._syncPendingControls()||y);return v&&this.updateValueAndValidity({onlySelf:!0}),v}_forEachChild(v){Object.keys(this.controls).forEach(y=>{const x=this.controls[y];x&&v(x,y)})}_setUpControls(){this._forEachChild(v=>{v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(v){for(const y of Object.keys(this.controls)){const x=this.controls[y];if(this.contains(y)&&v(x))return!0}return!1}_reduceValue(){return this._reduceChildren({},(v,y,x)=>((y.enabled||this.disabled)&&(v[x]=y.value),v))}_reduceChildren(v,y){let x=v;return this._forEachChild((ae,Qe)=>{x=y(x,ae,Qe)}),x}_allControlsDisabled(){for(const v of Object.keys(this.controls))if(this.controls[v].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class V extends q{constructor(v,y,x){super(ut(y),Wt(x,y)),this.controls=v,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(v){return this.controls[v]}push(v,y={}){this.controls.push(v),this._registerControl(v),this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}insert(v,y,x={}){this.controls.splice(v,0,y),this._registerControl(y),this.updateValueAndValidity({emitEvent:x.emitEvent})}removeAt(v,y={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange(()=>{}),this.controls.splice(v,1),this.updateValueAndValidity({emitEvent:y.emitEvent})}setControl(v,y,x={}){this.controls[v]&&this.controls[v]._registerOnCollectionChange(()=>{}),this.controls.splice(v,1),y&&(this.controls.splice(v,0,y),this._registerControl(y)),this.updateValueAndValidity({emitEvent:x.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(v,y={}){Un(this,v),v.forEach((x,ae)=>{un(this,ae),this.at(ae).setValue(x,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(v,y={}){null!=v&&(v.forEach((x,ae)=>{this.at(ae)&&this.at(ae).patchValue(x,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(v=[],y={}){this._forEachChild((x,ae)=>{x.reset(v[ae],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this.controls.map(v=>Pn(v))}clear(v={}){this.controls.length<1||(this._forEachChild(y=>y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:v.emitEvent}))}_syncPendingControls(){let v=this.controls.reduce((y,x)=>!!x._syncPendingControls()||y,!1);return v&&this.updateValueAndValidity({onlySelf:!0}),v}_forEachChild(v){this.controls.forEach((y,x)=>{v(y,x)})}_updateValue(){this.value=this.controls.filter(v=>v.enabled||this.disabled).map(v=>v.value)}_anyControls(v){return this.controls.some(y=>y.enabled&&v(y))}_setUpControls(){this._forEachChild(v=>this._registerControl(v))}_allControlsDisabled(){for(const v of this.controls)if(v.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(v){v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange)}}const Oe={provide:Gt,useExisting:(0,u.Gpc)(()=>gt)},Be=(()=>Promise.resolve(null))();let gt=(()=>{class C extends Gt{constructor(y,x){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new u.vpe,this.form=new A({},lt(y),In(x))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(y){Be.then(()=>{const x=this._findContainer(y.path);y.control=x.registerControl(y.name,y.control),it(y.control,y),y.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(y)})}getControl(y){return this.form.get(y.path)}removeControl(y){Be.then(()=>{const x=this._findContainer(y.path);x&&x.removeControl(y.name),this._directives.delete(y)})}addFormGroup(y){Be.then(()=>{const x=this._findContainer(y.path),ae=new A({});jt(ae,y),x.registerControl(y.name,ae),ae.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(y){Be.then(()=>{const x=this._findContainer(y.path);x&&x.removeControl(y.name)})}getFormGroup(y){return this.form.get(y.path)}updateModel(y,x){Be.then(()=>{this.form.get(y.path).setValue(x)})}setValue(y){this.control.setValue(y)}onSubmit(y){return this.submitted=!0,re(this.form,this._directives),this.ngSubmit.emit(y),!1}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(y){return y.pop(),y.length?this.form.get(y):this.form}}return C.\u0275fac=function(y){return new(y||C)(u.Y36(ce,10),u.Y36(Le,10))},C.\u0275dir=u.lG2({type:C,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(y,x){1&y&&u.NdJ("submit",function(Qe){return x.onSubmit(Qe)})("reset",function(){return x.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([Oe]),u.qOj]}),C})(),dn=(()=>{class C extends Gt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return _n(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return C.\u0275fac=function(){let v;return function(x){return(v||(v=u.n5z(C)))(x||C)}}(),C.\u0275dir=u.lG2({type:C,features:[u.qOj]}),C})(),fi=(()=>{class C{}return C.\u0275fac=function(y){return new(y||C)},C.\u0275dir=u.lG2({type:C,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),C})();const Nn={provide:j,useExisting:(0,u.Gpc)(()=>Rn),multi:!0};let Ri=(()=>{class C{}return C.\u0275fac=function(y){return new(y||C)},C.\u0275mod=u.oAB({type:C}),C.\u0275inj=u.cJS({}),C})(),$i=(()=>{class C{constructor(){this._accessors=[]}add(y,x){this._accessors.push([y,x])}remove(y){for(let x=this._accessors.length-1;x>=0;--x)if(this._accessors[x][1]===y)return void this._accessors.splice(x,1)}select(y){this._accessors.forEach(x=>{this._isSameGroup(x,y)&&x[1]!==y&&x[1].fireUncheck(y.value)})}_isSameGroup(y,x){return!!y[0].control&&y[0]._parent===x._control._parent&&y[1].name===x.name}}return C.\u0275fac=function(y){return new(y||C)},C.\u0275prov=u.Yz7({token:C,factory:C.\u0275fac,providedIn:Ri}),C})(),Rn=(()=>{class C extends le{constructor(y,x,ae,Qe){super(y,x),this._registry=ae,this._injector=Qe,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(zt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(y){this._state=y===this.value,this.setProperty("checked",this._state)}registerOnChange(y){this._fn=y,this.onChange=()=>{y(this.value),this._registry.select(this)}}fireUncheck(y){this.writeValue(y)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return C.\u0275fac=function(y){return new(y||C)(u.Y36(u.Qsj),u.Y36(u.SBq),u.Y36($i),u.Y36(u.zs3))},C.\u0275dir=u.lG2({type:C,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(y,x){1&y&&u.NdJ("change",function(){return x.onChange()})("blur",function(){return x.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[u._Bn([Nn]),u.qOj]}),C})();const cr=new u.OlP("NgModelWithFormControlWarning"),Gi={provide:Gt,useExisting:(0,u.Gpc)(()=>li)};let li=(()=>{class C extends Gt{constructor(y,x){super(),this.validators=y,this.asyncValidators=x,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new u.vpe,this._setValidators(y),this._setAsyncValidators(x)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(k(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const x=this.form.get(y.path);return it(x,y),x.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),x}getControl(y){return this.form.get(y.path)}removeControl(y){rn(y.control||null,y,!1),oe(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,x){this.form.get(y.path).setValue(x)}onSubmit(y){return this.submitted=!0,re(this.form,this.directives),this.ngSubmit.emit(y),!1}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_updateDomValue(){this.directives.forEach(y=>{const x=y.control,ae=this.form.get(y.path);x!==ae&&(rn(x||null,y),yt(ae)&&(it(ae,y),y.control=ae))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const x=this.form.get(y.path);jt(x,y),x.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const x=this.form.get(y.path);x&&function sn(C,v){return k(C,v)}(x,y)&&x.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){O(this.form,this),this._oldForm&&k(this._oldForm,this)}_checkFormPresent(){}}return C.\u0275fac=function(y){return new(y||C)(u.Y36(ce,10),u.Y36(Le,10))},C.\u0275dir=u.lG2({type:C,selectors:[["","formGroup",""]],hostBindings:function(y,x){1&y&&u.NdJ("submit",function(Qe){return x.onSubmit(Qe)})("reset",function(){return x.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[u._Bn([Gi]),u.qOj,u.TTD]}),C})();const Ei={provide:Gt,useExisting:(0,u.Gpc)(()=>Fi)};let Fi=(()=>{class C extends dn{constructor(y,x,ae){super(),this._parent=y,this._setValidators(x),this._setAsyncValidators(ae)}_checkParentType(){Wi(this._parent)}}return C.\u0275fac=function(y){return new(y||C)(u.Y36(Gt,13),u.Y36(ce,10),u.Y36(Le,10))},C.\u0275dir=u.lG2({type:C,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[u._Bn([Ei]),u.qOj]}),C})();const Sr={provide:Gt,useExisting:(0,u.Gpc)(()=>Ci)};let Ci=(()=>{class C extends Gt{constructor(y,x,ae){super(),this._parent=y,this._setValidators(x),this._setAsyncValidators(ae)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return _n(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Wi(this._parent)}}return C.\u0275fac=function(y){return new(y||C)(u.Y36(Gt,13),u.Y36(ce,10),u.Y36(Le,10))},C.\u0275dir=u.lG2({type:C,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[u._Bn([Sr]),u.qOj]}),C})();function Wi(C){return!(C instanceof Fi||C instanceof li||C instanceof Ci)}const Ar={provide:zt,useExisting:(0,u.Gpc)(()=>ur)};let ur=(()=>{class C extends zt{constructor(y,x,ae,Qe,Yt){super(),this._ngModelWarningConfig=Yt,this._added=!1,this.update=new u.vpe,this._ngModelWarningSent=!1,this._parent=y,this._setValidators(x),this._setAsyncValidators(ae),this.valueAccessor=function G(C,v){if(!v)return null;let y,x,ae;return Array.isArray(v),v.forEach(Qe=>{Qe.constructor===ve?y=Qe:function ye(C){return Object.getPrototypeOf(C.constructor)===le}(Qe)?x=Qe:ae=Qe}),ae||x||y||null}(0,Qe)}set isDisabled(y){}ngOnChanges(y){this._added||this._setUpControl(),function Fn(C,v){if(!C.hasOwnProperty("model"))return!1;const y=C.model;return!!y.isFirstChange()||!Object.is(v,y.currentValue)}(y,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}get path(){return _n(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return C._ngModelWarningSentOnce=!1,C.\u0275fac=function(y){return new(y||C)(u.Y36(Gt,13),u.Y36(ce,10),u.Y36(Le,10),u.Y36(j,10),u.Y36(cr,8))},C.\u0275dir=u.lG2({type:C,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[u._Bn([Ar]),u.qOj,u.TTD]}),C})(),kn=(()=>{class C{constructor(){this._validator=xt}ngOnChanges(y){if(this.inputName in y){const x=this.normalizeInput(y[this.inputName].currentValue);this._enabled=this.enabled(x),this._validator=this._enabled?this.createValidator(x):xt,this._onChange&&this._onChange()}}validate(y){return this._validator(y)}registerOnValidatorChange(y){this._onChange=y}enabled(y){return null!=y}}return C.\u0275fac=function(y){return new(y||C)},C.\u0275dir=u.lG2({type:C,features:[u.TTD]}),C})();const yi={provide:ce,useExisting:(0,u.Gpc)(()=>F),multi:!0},Ji={provide:ce,useExisting:(0,u.Gpc)(()=>a),multi:!0};let F=(()=>{class C extends kn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=y=>function ni(C){return null!=C&&!1!==C&&"false"!=`${C}`}(y),this.createValidator=y=>Ue}enabled(y){return y}}return C.\u0275fac=function(){let v;return function(x){return(v||(v=u.n5z(C)))(x||C)}}(),C.\u0275dir=u.lG2({type:C,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(y,x){2&y&&u.uIk("required",x._enabled?"":null)},inputs:{required:"required"},features:[u._Bn([yi]),u.qOj]}),C})(),a=(()=>{class C extends F{constructor(){super(...arguments),this.createValidator=y=>_t}}return C.\u0275fac=function(){let v;return function(x){return(v||(v=u.n5z(C)))(x||C)}}(),C.\u0275dir=u.lG2({type:C,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(y,x){2&y&&u.uIk("required",x._enabled?"":null)},features:[u._Bn([Ji]),u.qOj]}),C})(),Ne=(()=>{class C{}return C.\u0275fac=function(y){return new(y||C)},C.\u0275mod=u.oAB({type:C}),C.\u0275inj=u.cJS({imports:[[Ri]]}),C})(),Je=(()=>{class C{static withConfig(y){return{ngModule:C,providers:[{provide:cr,useValue:y.warnOnNgModelWithFormControl}]}}}return C.\u0275fac=function(y){return new(y||C)},C.\u0275mod=u.oAB({type:C}),C.\u0275inj=u.cJS({imports:[Ne]}),C})(),mt=(()=>{class C{group(y,x=null){const ae=this._reduceControls(y);let En,Qe=null,Yt=null;return null!=x&&(function rt(C){return void 0!==C.asyncValidators||void 0!==C.validators||void 0!==C.updateOn}(x)?(Qe=null!=x.validators?x.validators:null,Yt=null!=x.asyncValidators?x.asyncValidators:null,En=null!=x.updateOn?x.updateOn:void 0):(Qe=null!=x.validator?x.validator:null,Yt=null!=x.asyncValidator?x.asyncValidator:null)),new A(ae,{asyncValidators:Yt,updateOn:En,validators:Qe})}control(y,x,ae){return new fe(y,x,ae)}array(y,x,ae){const Qe=y.map(Yt=>this._createControl(Yt));return new V(Qe,x,ae)}_reduceControls(y){const x={};return Object.keys(y).forEach(ae=>{x[ae]=this._createControl(y[ae])}),x}_createControl(y){return yt(y)||pt(y)||nn(y)?y:Array.isArray(y)?this.control(y[0],y.length>1?y[1]:null,y.length>2?y[2]:null):this.control(y)}}return C.\u0275fac=function(y){return new(y||C)},C.\u0275prov=u.Yz7({token:C,factory:C.\u0275fac,providedIn:Je}),C})()},7423:(tt,Se,T)=>{T.d(Se,{zs:()=>te,lW:()=>X,ot:()=>Ce});var u=T(5e3),m=T(508),de=T(6360),_e=T(5664);const se=["mat-button",""],z=["*"],Y=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Q=(0,m.pj)((0,m.Id)((0,m.Kr)(class{constructor(ve){this._elementRef=ve}})));let X=(()=>{class ve extends Q{constructor(pe,ce,Le){super(pe),this._focusMonitor=ce,this._animationMode=Le,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const ze of Y)this._hasHostAttributes(ze)&&this._getHostElement().classList.add(ze);pe.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(pe,ce){pe?this._focusMonitor.focusVia(this._getHostElement(),pe,ce):this._getHostElement().focus(ce)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...pe){return pe.some(ce=>this._getHostElement().hasAttribute(ce))}}return ve.\u0275fac=function(pe){return new(pe||ve)(u.Y36(u.SBq),u.Y36(_e.tE),u.Y36(de.Qb,8))},ve.\u0275cmp=u.Xpm({type:ve,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(pe,ce){if(1&pe&&u.Gf(m.wG,5),2&pe){let Le;u.iGM(Le=u.CRH())&&(ce.ripple=Le.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(pe,ce){2&pe&&(u.uIk("disabled",ce.disabled||null),u.ekj("_mat-animation-noopable","NoopAnimations"===ce._animationMode)("mat-button-disabled",ce.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[u.qOj],attrs:se,ngContentSelectors:z,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(pe,ce){1&pe&&(u.F$t(),u.TgZ(0,"span",0),u.Hsn(1),u.qZA(),u._UZ(2,"span",1),u._UZ(3,"span",2)),2&pe&&(u.xp6(2),u.ekj("mat-button-ripple-round",ce.isRoundButton||ce.isIconButton),u.Q6J("matRippleDisabled",ce._isRippleDisabled())("matRippleCentered",ce.isIconButton)("matRippleTrigger",ce._getHostElement()))},directives:[m.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),ve})(),te=(()=>{class ve extends X{constructor(pe,ce,Le,ze){super(ce,pe,Le),this._ngZone=ze,this._haltDisabledEvents=Dt=>{this.disabled&&(Dt.preventDefault(),Dt.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return ve.\u0275fac=function(pe){return new(pe||ve)(u.Y36(_e.tE),u.Y36(u.SBq),u.Y36(de.Qb,8),u.Y36(u.R0b,8))},ve.\u0275cmp=u.Xpm({type:ve,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(pe,ce){2&pe&&(u.uIk("tabindex",ce.disabled?-1:ce.tabIndex||0)("disabled",ce.disabled||null)("aria-disabled",ce.disabled.toString()),u.ekj("_mat-animation-noopable","NoopAnimations"===ce._animationMode)("mat-button-disabled",ce.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[u.qOj],attrs:se,ngContentSelectors:z,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(pe,ce){1&pe&&(u.F$t(),u.TgZ(0,"span",0),u.Hsn(1),u.qZA(),u._UZ(2,"span",1),u._UZ(3,"span",2)),2&pe&&(u.xp6(2),u.ekj("mat-button-ripple-round",ce.isRoundButton||ce.isIconButton),u.Q6J("matRippleDisabled",ce._isRippleDisabled())("matRippleCentered",ce.isIconButton)("matRippleTrigger",ce._getHostElement()))},directives:[m.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),ve})(),Ce=(()=>{class ve{}return ve.\u0275fac=function(pe){return new(pe||ve)},ve.\u0275mod=u.oAB({type:ve}),ve.\u0275inj=u.cJS({imports:[[m.si,m.BQ],m.BQ]}),ve})()},508:(tt,Se,T)=>{T.d(Se,{rD:()=>$t,BQ:()=>Ke,X2:()=>Bt,uc:()=>Cn,nP:()=>Me,us:()=>Ge,wG:()=>Ae,si:()=>J,pj:()=>en,Kr:()=>At,Id:()=>Kt,FD:()=>xt,sb:()=>Rt,E0:()=>Pt});var u=T(5e3),m=T(226),_e=T(9808),se=T(925),z=T(5664),le=T(3191),j=T(8929),Y=T(1059),Q=T(6360);const Dt=new u.OlP("mat-sanity-checks",{providedIn:"root",factory:function ze(){return!0}});let Ke=(()=>{class Ee{constructor(O,k,ee){this._sanityChecks=k,this._document=ee,this._hasDoneGlobalChecks=!1,O._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(O){return!(0,se.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[O])}}return Ee.\u0275fac=function(O){return new(O||Ee)(u.LFG(z.qm),u.LFG(Dt,8),u.LFG(_e.K0))},Ee.\u0275mod=u.oAB({type:Ee}),Ee.\u0275inj=u.cJS({imports:[[m.vT],m.vT]}),Ee})();function Kt(Ee){return class extends Ee{constructor(...B){super(...B),this._disabled=!1}get disabled(){return this._disabled}set disabled(B){this._disabled=(0,le.Ig)(B)}}}function en(Ee,B){return class extends Ee{constructor(...O){super(...O),this.defaultColor=B,this.color=B}get color(){return this._color}set color(O){const k=O||this.defaultColor;k!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),k&&this._elementRef.nativeElement.classList.add(`mat-${k}`),this._color=k)}}}function At(Ee){return class extends Ee{constructor(...B){super(...B),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=(0,le.Ig)(B)}}}function Rt(Ee,B=0){return class extends Ee{constructor(...O){super(...O),this._tabIndex=B,this.defaultTabIndex=B}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(O){this._tabIndex=null!=O?(0,le.su)(O):this.defaultTabIndex}}}function xt(Ee){return class extends Ee{constructor(...B){super(...B),this.stateChanges=new j.xQ,this.errorState=!1}updateErrorState(){const B=this.errorState,we=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);we!==B&&(this.errorState=we,this.stateChanges.next())}}}let $t=(()=>{class Ee{isErrorState(O,k){return!!(O&&O.invalid&&(O.touched||k&&k.submitted))}}return Ee.\u0275fac=function(O){return new(O||Ee)},Ee.\u0275prov=u.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Bt=(()=>{class Ee{}return Ee.\u0275fac=function(O){return new(O||Ee)},Ee.\u0275dir=u.lG2({type:Ee,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Ee})();function Pt(Ee,B,O="mat"){Ee.changes.pipe((0,Y.O)(Ee)).subscribe(({length:k})=>{Xt(B,`${O}-2-line`,!1),Xt(B,`${O}-3-line`,!1),Xt(B,`${O}-multi-line`,!1),2===k||3===k?Xt(B,`${O}-${k}-line`,!0):k>3&&Xt(B,`${O}-multi-line`,!0)})}function Xt(Ee,B,O){Ee.nativeElement.classList.toggle(B,O)}let Cn=(()=>{class Ee{}return Ee.\u0275fac=function(O){return new(O||Ee)},Ee.\u0275mod=u.oAB({type:Ee}),Ee.\u0275inj=u.cJS({imports:[[Ke],Ke]}),Ee})();class gn{constructor(B,O,k){this._renderer=B,this.element=O,this.config=k,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const zt={enterDuration:225,exitDuration:150},ln=(0,se.i$)({passive:!0}),Sn=["mousedown","touchstart"],si=["mouseup","mouseleave","touchend","touchcancel"];class ct{constructor(B,O,k,ee){this._target=B,this._ngZone=O,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,ee.isBrowser&&(this._containerElement=(0,le.fI)(k))}fadeInRipple(B,O,k={}){const ee=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),we=Object.assign(Object.assign({},zt),k.animation);k.centered&&(B=ee.left+ee.width/2,O=ee.top+ee.height/2);const $e=k.radius||function tn(Ee,B,O){const k=Math.max(Math.abs(Ee-O.left),Math.abs(Ee-O.right)),ee=Math.max(Math.abs(B-O.top),Math.abs(B-O.bottom));return Math.sqrt(k*k+ee*ee)}(B,O,ee),Ot=B-ee.left,jt=O-ee.top,sn=we.enterDuration,cn=document.createElement("div");cn.classList.add("mat-ripple-element"),cn.style.left=Ot-$e+"px",cn.style.top=jt-$e+"px",cn.style.height=2*$e+"px",cn.style.width=2*$e+"px",null!=k.color&&(cn.style.backgroundColor=k.color),cn.style.transitionDuration=`${sn}ms`,this._containerElement.appendChild(cn),function wn(Ee){window.getComputedStyle(Ee).getPropertyValue("opacity")}(cn),cn.style.transform="scale(1)";const Jt=new gn(this,cn,k);return Jt.state=0,this._activeRipples.add(Jt),k.persistent||(this._mostRecentTransientRipple=Jt),this._runTimeoutOutsideZone(()=>{const Fn=Jt===this._mostRecentTransientRipple;Jt.state=1,!k.persistent&&(!Fn||!this._isPointerDown)&&Jt.fadeOut()},sn),Jt}fadeOutRipple(B){const O=this._activeRipples.delete(B);if(B===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!O)return;const k=B.element,ee=Object.assign(Object.assign({},zt),B.config.animation);k.style.transitionDuration=`${ee.exitDuration}ms`,k.style.opacity="0",B.state=2,this._runTimeoutOutsideZone(()=>{B.state=3,k.remove()},ee.exitDuration)}fadeOutAll(){this._activeRipples.forEach(B=>B.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(B=>{B.config.persistent||B.fadeOut()})}setupTriggerEvents(B){const O=(0,le.fI)(B);!O||O===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=O,this._registerEvents(Sn))}handleEvent(B){"mousedown"===B.type?this._onMousedown(B):"touchstart"===B.type?this._onTouchStart(B):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(si),this._pointerUpEventsRegistered=!0)}_onMousedown(B){const O=(0,z.X6)(B),k=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!O&&!k&&(this._isPointerDown=!0,this.fadeInRipple(B.clientX,B.clientY,this._target.rippleConfig))}_onTouchStart(B){if(!this._target.rippleDisabled&&!(0,z.yG)(B)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const O=B.changedTouches;for(let k=0;k<O.length;k++)this.fadeInRipple(O[k].clientX,O[k].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(B=>{!B.config.persistent&&(1===B.state||B.config.terminateOnPointerUp&&0===B.state)&&B.fadeOut()}))}_runTimeoutOutsideZone(B,O=0){this._ngZone.runOutsideAngular(()=>setTimeout(B,O))}_registerEvents(B){this._ngZone.runOutsideAngular(()=>{B.forEach(O=>{this._triggerElement.addEventListener(O,this,ln)})})}_removeTriggerEvents(){this._triggerElement&&(Sn.forEach(B=>{this._triggerElement.removeEventListener(B,this,ln)}),this._pointerUpEventsRegistered&&si.forEach(B=>{this._triggerElement.removeEventListener(B,this,ln)}))}}const ke=new u.OlP("mat-ripple-global-options");let Ae=(()=>{class Ee{constructor(O,k,ee,we,$e){this._elementRef=O,this._animationMode=$e,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=we||{},this._rippleRenderer=new ct(this,k,O,ee)}get disabled(){return this._disabled}set disabled(O){O&&this.fadeOutAllNonPersistent(),this._disabled=O,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(O){this._trigger=O,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(O,k=0,ee){return"number"==typeof O?this._rippleRenderer.fadeInRipple(O,k,Object.assign(Object.assign({},this.rippleConfig),ee)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),O))}}return Ee.\u0275fac=function(O){return new(O||Ee)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(se.t4),u.Y36(ke,8),u.Y36(Q.Qb,8))},Ee.\u0275dir=u.lG2({type:Ee,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(O,k){2&O&&u.ekj("mat-ripple-unbounded",k.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Ee})(),J=(()=>{class Ee{}return Ee.\u0275fac=function(O){return new(O||Ee)},Ee.\u0275mod=u.oAB({type:Ee}),Ee.\u0275inj=u.cJS({imports:[[Ke,se.ud],Ke]}),Ee})(),Me=(()=>{class Ee{constructor(O){this._animationMode=O,this.state="unchecked",this.disabled=!1}}return Ee.\u0275fac=function(O){return new(O||Ee)(u.Y36(Q.Qb,8))},Ee.\u0275cmp=u.Xpm({type:Ee,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(O,k){2&O&&u.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===k.state)("mat-pseudo-checkbox-checked","checked"===k.state)("mat-pseudo-checkbox-disabled",k.disabled)("_mat-animation-noopable","NoopAnimations"===k._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(O,k){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Ee})(),Ge=(()=>{class Ee{}return Ee.\u0275fac=function(O){return new(O||Ee)},Ee.\u0275mod=u.oAB({type:Ee}),Ee.\u0275inj=u.cJS({imports:[[Ke]]}),Ee})()},8099:(tt,Se,T)=>{T.d(Se,{Hw:()=>G,Ps:()=>oe});var u=T(5e3),m=T(508),de=T(3191),_e=T(9808),se=T(1086),z=T(1737),le=T(567),j=T(2654),Y=T(2868),Q=T(4850),X=T(7221),te=T(537),Ce=T(2474),ve=T(2986),he=T(1406),pe=T(2198);class ce{}class ze{constructor(U){this.normalizedNames=new Map,this.lazyUpdate=null,U?this.lazyInit="string"==typeof U?()=>{this.headers=new Map,U.split("\n").forEach(N=>{const Z=N.indexOf(":");if(Z>0){const be=N.slice(0,Z),Ie=be.toLowerCase(),Ze=N.slice(Z+1).trim();this.maybeSetNormalizedName(be,Ie),this.headers.has(Ie)?this.headers.get(Ie).push(Ze):this.headers.set(Ie,[Ze])}})}:()=>{this.headers=new Map,Object.keys(U).forEach(N=>{let Z=U[N];const be=N.toLowerCase();"string"==typeof Z&&(Z=[Z]),Z.length>0&&(this.headers.set(be,Z),this.maybeSetNormalizedName(N,be))})}:this.headers=new Map}has(U){return this.init(),this.headers.has(U.toLowerCase())}get(U){this.init();const N=this.headers.get(U.toLowerCase());return N&&N.length>0?N[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(U){return this.init(),this.headers.get(U.toLowerCase())||null}append(U,N){return this.clone({name:U,value:N,op:"a"})}set(U,N){return this.clone({name:U,value:N,op:"s"})}delete(U,N){return this.clone({name:U,value:N,op:"d"})}maybeSetNormalizedName(U,N){this.normalizedNames.has(N)||this.normalizedNames.set(N,U)}init(){this.lazyInit&&(this.lazyInit instanceof ze?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(U=>this.applyUpdate(U)),this.lazyUpdate=null))}copyFrom(U){U.init(),Array.from(U.headers.keys()).forEach(N=>{this.headers.set(N,U.headers.get(N)),this.normalizedNames.set(N,U.normalizedNames.get(N))})}clone(U){const N=new ze;return N.lazyInit=this.lazyInit&&this.lazyInit instanceof ze?this.lazyInit:this,N.lazyUpdate=(this.lazyUpdate||[]).concat([U]),N}applyUpdate(U){const N=U.name.toLowerCase();switch(U.op){case"a":case"s":let Z=U.value;if("string"==typeof Z&&(Z=[Z]),0===Z.length)return;this.maybeSetNormalizedName(U.name,N);const be=("a"===U.op?this.headers.get(N):void 0)||[];be.push(...Z),this.headers.set(N,be);break;case"d":const Ie=U.value;if(Ie){let Ze=this.headers.get(N);if(!Ze)return;Ze=Ze.filter(ut=>-1===Ie.indexOf(ut)),0===Ze.length?(this.headers.delete(N),this.normalizedNames.delete(N)):this.headers.set(N,Ze)}else this.headers.delete(N),this.normalizedNames.delete(N)}}forEach(U){this.init(),Array.from(this.normalizedNames.keys()).forEach(N=>U(this.normalizedNames.get(N),this.headers.get(N)))}}class Dt{encodeKey(U){return _t(U)}encodeValue(U){return _t(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}const ge=/%(\d[a-f0-9])/gi,Ue={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function _t(W){return encodeURIComponent(W).replace(ge,(U,N)=>{var Z;return null!==(Z=Ue[N])&&void 0!==Z?Z:U})}function Kt(W){return`${W}`}class en{constructor(U={}){if(this.updates=null,this.cloneFrom=null,this.encoder=U.encoder||new Dt,U.fromString){if(U.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ke(W,U){const N=new Map;return W.length>0&&W.replace(/^\?/,"").split("&").forEach(be=>{const Ie=be.indexOf("="),[Ze,ut]=-1==Ie?[U.decodeKey(be),""]:[U.decodeKey(be.slice(0,Ie)),U.decodeValue(be.slice(Ie+1))],st=N.get(Ze)||[];st.push(ut),N.set(Ze,st)}),N}(U.fromString,this.encoder)}else U.fromObject?(this.map=new Map,Object.keys(U.fromObject).forEach(N=>{const Z=U.fromObject[N];this.map.set(N,Array.isArray(Z)?Z:[Z])})):this.map=null}has(U){return this.init(),this.map.has(U)}get(U){this.init();const N=this.map.get(U);return N?N[0]:null}getAll(U){return this.init(),this.map.get(U)||null}keys(){return this.init(),Array.from(this.map.keys())}append(U,N){return this.clone({param:U,value:N,op:"a"})}appendAll(U){const N=[];return Object.keys(U).forEach(Z=>{const be=U[Z];Array.isArray(be)?be.forEach(Ie=>{N.push({param:Z,value:Ie,op:"a"})}):N.push({param:Z,value:be,op:"a"})}),this.clone(N)}set(U,N){return this.clone({param:U,value:N,op:"s"})}delete(U,N){return this.clone({param:U,value:N,op:"d"})}toString(){return this.init(),this.keys().map(U=>{const N=this.encoder.encodeKey(U);return this.map.get(U).map(Z=>N+"="+this.encoder.encodeValue(Z)).join("&")}).filter(U=>""!==U).join("&")}clone(U){const N=new en({encoder:this.encoder});return N.cloneFrom=this.cloneFrom||this,N.updates=(this.updates||[]).concat(U),N}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(U=>this.map.set(U,this.cloneFrom.map.get(U))),this.updates.forEach(U=>{switch(U.op){case"a":case"s":const N=("a"===U.op?this.map.get(U.param):void 0)||[];N.push(Kt(U.value)),this.map.set(U.param,N);break;case"d":if(void 0===U.value){this.map.delete(U.param);break}{let Z=this.map.get(U.param)||[];const be=Z.indexOf(Kt(U.value));-1!==be&&Z.splice(be,1),Z.length>0?this.map.set(U.param,Z):this.map.delete(U.param)}}}),this.cloneFrom=this.updates=null)}}class Rt{constructor(){this.map=new Map}set(U,N){return this.map.set(U,N),this}get(U){return this.map.has(U)||this.map.set(U,U.defaultValue()),this.map.get(U)}delete(U){return this.map.delete(U),this}has(U){return this.map.has(U)}keys(){return this.map.keys()}}function ft(W){return"undefined"!=typeof ArrayBuffer&&W instanceof ArrayBuffer}function Tt(W){return"undefined"!=typeof Blob&&W instanceof Blob}function He(W){return"undefined"!=typeof FormData&&W instanceof FormData}class mn{constructor(U,N,Z,be){let Ie;if(this.url=N,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=U.toUpperCase(),function xt(W){switch(W){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||be?(this.body=void 0!==Z?Z:null,Ie=be):Ie=Z,Ie&&(this.reportProgress=!!Ie.reportProgress,this.withCredentials=!!Ie.withCredentials,Ie.responseType&&(this.responseType=Ie.responseType),Ie.headers&&(this.headers=Ie.headers),Ie.context&&(this.context=Ie.context),Ie.params&&(this.params=Ie.params)),this.headers||(this.headers=new ze),this.context||(this.context=new Rt),this.params){const Ze=this.params.toString();if(0===Ze.length)this.urlWithParams=N;else{const ut=N.indexOf("?");this.urlWithParams=N+(-1===ut?"?":ut<N.length-1?"&":"")+Ze}}else this.params=new en,this.urlWithParams=N}serializeBody(){return null===this.body?null:ft(this.body)||Tt(this.body)||He(this.body)||function jn(W){return"undefined"!=typeof URLSearchParams&&W instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof en?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||He(this.body)?null:Tt(this.body)?this.body.type||null:ft(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof en?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(U={}){var N;const Z=U.method||this.method,be=U.url||this.url,Ie=U.responseType||this.responseType,Ze=void 0!==U.body?U.body:this.body,ut=void 0!==U.withCredentials?U.withCredentials:this.withCredentials,st=void 0!==U.reportProgress?U.reportProgress:this.reportProgress;let Wt=U.headers||this.headers,Ut=U.params||this.params;const je=null!==(N=U.context)&&void 0!==N?N:this.context;return void 0!==U.setHeaders&&(Wt=Object.keys(U.setHeaders).reduce((yt,pt)=>yt.set(pt,U.setHeaders[pt]),Wt)),U.setParams&&(Ut=Object.keys(U.setParams).reduce((yt,pt)=>yt.set(pt,U.setParams[pt]),Ut)),new mn(Z,be,Ze,{params:Ut,headers:Wt,context:je,reportProgress:st,responseType:Ie,withCredentials:ut})}}var Ft=(()=>((Ft=Ft||{})[Ft.Sent=0]="Sent",Ft[Ft.UploadProgress=1]="UploadProgress",Ft[Ft.ResponseHeader=2]="ResponseHeader",Ft[Ft.DownloadProgress=3]="DownloadProgress",Ft[Ft.Response=4]="Response",Ft[Ft.User=5]="User",Ft))();class an extends class Lt{constructor(U,N=200,Z="OK"){this.headers=U.headers||new ze,this.status=void 0!==U.status?U.status:N,this.statusText=U.statusText||Z,this.url=U.url||null,this.ok=this.status>=200&&this.status<300}}{constructor(U={}){super(U),this.type=Ft.Response,this.body=void 0!==U.body?U.body:null}clone(U={}){return new an({body:void 0!==U.body?U.body:this.body,headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}function pn(W,U){return{body:U,headers:W.headers,context:W.context,observe:W.observe,params:W.params,reportProgress:W.reportProgress,responseType:W.responseType,withCredentials:W.withCredentials}}let Et=(()=>{class W{constructor(N){this.handler=N}request(N,Z,be={}){let Ie;if(N instanceof mn)Ie=N;else{let st,Wt;st=be.headers instanceof ze?be.headers:new ze(be.headers),be.params&&(Wt=be.params instanceof en?be.params:new en({fromObject:be.params})),Ie=new mn(N,Z,void 0!==be.body?be.body:null,{headers:st,context:be.context,params:Wt,reportProgress:be.reportProgress,responseType:be.responseType||"json",withCredentials:be.withCredentials})}const Ze=(0,se.of)(Ie).pipe((0,he.b)(st=>this.handler.handle(st)));if(N instanceof mn||"events"===be.observe)return Ze;const ut=Ze.pipe((0,pe.h)(st=>st instanceof an));switch(be.observe||"body"){case"body":switch(Ie.responseType){case"arraybuffer":return ut.pipe((0,Q.U)(st=>{if(null!==st.body&&!(st.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return st.body}));case"blob":return ut.pipe((0,Q.U)(st=>{if(null!==st.body&&!(st.body instanceof Blob))throw new Error("Response is not a Blob.");return st.body}));case"text":return ut.pipe((0,Q.U)(st=>{if(null!==st.body&&"string"!=typeof st.body)throw new Error("Response is not a string.");return st.body}));default:return ut.pipe((0,Q.U)(st=>st.body))}case"response":return ut;default:throw new Error(`Unreachable: unhandled observe type ${be.observe}}`)}}delete(N,Z={}){return this.request("DELETE",N,Z)}get(N,Z={}){return this.request("GET",N,Z)}head(N,Z={}){return this.request("HEAD",N,Z)}jsonp(N,Z){return this.request("JSONP",N,{params:(new en).append(Z,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(N,Z={}){return this.request("OPTIONS",N,Z)}patch(N,Z,be={}){return this.request("PATCH",N,pn(be,Z))}post(N,Z,be={}){return this.request("POST",N,pn(be,Z))}put(N,Z,be={}){return this.request("PUT",N,pn(be,Z))}}return W.\u0275fac=function(N){return new(N||W)(u.LFG(ce))},W.\u0275prov=u.Yz7({token:W,factory:W.\u0275fac}),W})();var vn=T(2313);const Mt=["*"];let On;function _n(W){var U;return(null===(U=function Dn(){if(void 0===On&&(On=null,"undefined"!=typeof window)){const W=window;void 0!==W.trustedTypes&&(On=W.trustedTypes.createPolicy("angular#components",{createHTML:U=>U}))}return On}())||void 0===U?void 0:U.createHTML(W))||W}function it(W){return Error(`Unable to find icon with the name "${W}"`)}function Ee(W){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${W}".`)}function B(W){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${W}".`)}class O{constructor(U,N,Z){this.url=U,this.svgText=N,this.options=Z}}let k=(()=>{class W{constructor(N,Z,be,Ie){this._httpClient=N,this._sanitizer=Z,this._errorHandler=Ie,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=be}addSvgIcon(N,Z,be){return this.addSvgIconInNamespace("",N,Z,be)}addSvgIconLiteral(N,Z,be){return this.addSvgIconLiteralInNamespace("",N,Z,be)}addSvgIconInNamespace(N,Z,be,Ie){return this._addSvgIconConfig(N,Z,new O(be,null,Ie))}addSvgIconResolver(N){return this._resolvers.push(N),this}addSvgIconLiteralInNamespace(N,Z,be,Ie){const Ze=this._sanitizer.sanitize(u.q3G.HTML,be);if(!Ze)throw B(be);const ut=_n(Ze);return this._addSvgIconConfig(N,Z,new O("",ut,Ie))}addSvgIconSet(N,Z){return this.addSvgIconSetInNamespace("",N,Z)}addSvgIconSetLiteral(N,Z){return this.addSvgIconSetLiteralInNamespace("",N,Z)}addSvgIconSetInNamespace(N,Z,be){return this._addSvgIconSetConfig(N,new O(Z,null,be))}addSvgIconSetLiteralInNamespace(N,Z,be){const Ie=this._sanitizer.sanitize(u.q3G.HTML,Z);if(!Ie)throw B(Z);const Ze=_n(Ie);return this._addSvgIconSetConfig(N,new O("",Ze,be))}registerFontClassAlias(N,Z=N){return this._fontCssClassesByAlias.set(N,Z),this}classNameForFontAlias(N){return this._fontCssClassesByAlias.get(N)||N}setDefaultFontSetClass(N){return this._defaultFontSetClass=N,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(N){const Z=this._sanitizer.sanitize(u.q3G.RESOURCE_URL,N);if(!Z)throw Ee(N);const be=this._cachedIconsByUrl.get(Z);return be?(0,se.of)($e(be)):this._loadSvgIconFromConfig(new O(N,null)).pipe((0,Y.b)(Ie=>this._cachedIconsByUrl.set(Z,Ie)),(0,Q.U)(Ie=>$e(Ie)))}getNamedSvgIcon(N,Z=""){const be=Ot(Z,N);let Ie=this._svgIconConfigs.get(be);if(Ie)return this._getSvgFromConfig(Ie);if(Ie=this._getIconConfigFromResolvers(Z,N),Ie)return this._svgIconConfigs.set(be,Ie),this._getSvgFromConfig(Ie);const Ze=this._iconSetConfigs.get(Z);return Ze?this._getSvgFromIconSetConfigs(N,Ze):(0,z._)(it(be))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(N){return N.svgText?(0,se.of)($e(this._svgElementFromConfig(N))):this._loadSvgIconFromConfig(N).pipe((0,Q.U)(Z=>$e(Z)))}_getSvgFromIconSetConfigs(N,Z){const be=this._extractIconWithNameFromAnySet(N,Z);if(be)return(0,se.of)(be);const Ie=Z.filter(Ze=>!Ze.svgText).map(Ze=>this._loadSvgIconSetFromConfig(Ze).pipe((0,X.K)(ut=>{const Wt=`Loading icon set URL: ${this._sanitizer.sanitize(u.q3G.RESOURCE_URL,Ze.url)} failed: ${ut.message}`;return this._errorHandler.handleError(new Error(Wt)),(0,se.of)(null)})));return(0,le.D)(Ie).pipe((0,Q.U)(()=>{const Ze=this._extractIconWithNameFromAnySet(N,Z);if(!Ze)throw it(N);return Ze}))}_extractIconWithNameFromAnySet(N,Z){for(let be=Z.length-1;be>=0;be--){const Ie=Z[be];if(Ie.svgText&&Ie.svgText.toString().indexOf(N)>-1){const Ze=this._svgElementFromConfig(Ie),ut=this._extractSvgIconFromSet(Ze,N,Ie.options);if(ut)return ut}}return null}_loadSvgIconFromConfig(N){return this._fetchIcon(N).pipe((0,Y.b)(Z=>N.svgText=Z),(0,Q.U)(()=>this._svgElementFromConfig(N)))}_loadSvgIconSetFromConfig(N){return N.svgText?(0,se.of)(null):this._fetchIcon(N).pipe((0,Y.b)(Z=>N.svgText=Z))}_extractSvgIconFromSet(N,Z,be){const Ie=N.querySelector(`[id="${Z}"]`);if(!Ie)return null;const Ze=Ie.cloneNode(!0);if(Ze.removeAttribute("id"),"svg"===Ze.nodeName.toLowerCase())return this._setSvgAttributes(Ze,be);if("symbol"===Ze.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ze),be);const ut=this._svgElementFromString(_n("<svg></svg>"));return ut.appendChild(Ze),this._setSvgAttributes(ut,be)}_svgElementFromString(N){const Z=this._document.createElement("DIV");Z.innerHTML=N;const be=Z.querySelector("svg");if(!be)throw Error("<svg> tag not found");return be}_toSvgElement(N){const Z=this._svgElementFromString(_n("<svg></svg>")),be=N.attributes;for(let Ie=0;Ie<be.length;Ie++){const{name:Ze,value:ut}=be[Ie];"id"!==Ze&&Z.setAttribute(Ze,ut)}for(let Ie=0;Ie<N.childNodes.length;Ie++)N.childNodes[Ie].nodeType===this._document.ELEMENT_NODE&&Z.appendChild(N.childNodes[Ie].cloneNode(!0));return Z}_setSvgAttributes(N,Z){return N.setAttribute("fit",""),N.setAttribute("height","100%"),N.setAttribute("width","100%"),N.setAttribute("preserveAspectRatio","xMidYMid meet"),N.setAttribute("focusable","false"),Z&&Z.viewBox&&N.setAttribute("viewBox",Z.viewBox),N}_fetchIcon(N){var Z;const{url:be,options:Ie}=N,Ze=null!==(Z=null==Ie?void 0:Ie.withCredentials)&&void 0!==Z&&Z;if(!this._httpClient)throw function rn(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==be)throw Error(`Cannot fetch icon from URL "${be}".`);const ut=this._sanitizer.sanitize(u.q3G.RESOURCE_URL,be);if(!ut)throw Ee(be);const st=this._inProgressUrlFetches.get(ut);if(st)return st;const Wt=this._httpClient.get(ut,{responseType:"text",withCredentials:Ze}).pipe((0,Q.U)(Ut=>_n(Ut)),(0,te.x)(()=>this._inProgressUrlFetches.delete(ut)),(0,Ce.B)());return this._inProgressUrlFetches.set(ut,Wt),Wt}_addSvgIconConfig(N,Z,be){return this._svgIconConfigs.set(Ot(N,Z),be),this}_addSvgIconSetConfig(N,Z){const be=this._iconSetConfigs.get(N);return be?be.push(Z):this._iconSetConfigs.set(N,[Z]),this}_svgElementFromConfig(N){if(!N.svgElement){const Z=this._svgElementFromString(N.svgText);this._setSvgAttributes(Z,N.options),N.svgElement=Z}return N.svgElement}_getIconConfigFromResolvers(N,Z){for(let be=0;be<this._resolvers.length;be++){const Ie=this._resolvers[be](Z,N);if(Ie)return jt(Ie)?new O(Ie.url,null,Ie.options):new O(Ie,null)}}}return W.\u0275fac=function(N){return new(N||W)(u.LFG(Et,8),u.LFG(vn.H7),u.LFG(_e.K0,8),u.LFG(u.qLn))},W.\u0275prov=u.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();function $e(W){return W.cloneNode(!0)}function Ot(W,U){return W+":"+U}function jt(W){return!(!W.url||!W.options)}const sn=(0,m.pj)(class{constructor(W){this._elementRef=W}}),cn=new u.OlP("mat-icon-location",{providedIn:"root",factory:function Jt(){const W=(0,u.f3M)(_e.K0),U=W?W.location:null;return{getPathname:()=>U?U.pathname+U.search:""}}}),Fn=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ye=Fn.map(W=>`[${W}]`).join(", "),re=/^url\(['"]?#(.*?)['"]?\)$/;let G=(()=>{class W extends sn{constructor(N,Z,be,Ie,Ze){super(N),this._iconRegistry=Z,this._location=Ie,this._errorHandler=Ze,this._inline=!1,this._currentIconFetch=j.w.EMPTY,be||N.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(N){this._inline=(0,de.Ig)(N)}get svgIcon(){return this._svgIcon}set svgIcon(N){N!==this._svgIcon&&(N?this._updateSvgIcon(N):this._svgIcon&&this._clearSvgElement(),this._svgIcon=N)}get fontSet(){return this._fontSet}set fontSet(N){const Z=this._cleanupFontValue(N);Z!==this._fontSet&&(this._fontSet=Z,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(N){const Z=this._cleanupFontValue(N);Z!==this._fontIcon&&(this._fontIcon=Z,this._updateFontIconClasses())}_splitIconName(N){if(!N)return["",""];const Z=N.split(":");switch(Z.length){case 1:return["",Z[0]];case 2:return Z;default:throw Error(`Invalid icon name: "${N}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const N=this._elementsWithExternalReferences;if(N&&N.size){const Z=this._location.getPathname();Z!==this._previousPath&&(this._previousPath=Z,this._prependPathToReferences(Z))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(N){this._clearSvgElement();const Z=N.querySelectorAll("style");for(let Ie=0;Ie<Z.length;Ie++)Z[Ie].textContent+=" ";const be=this._location.getPathname();this._previousPath=be,this._cacheChildrenWithExternalReferences(N),this._prependPathToReferences(be),this._elementRef.nativeElement.appendChild(N)}_clearSvgElement(){const N=this._elementRef.nativeElement;let Z=N.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Z--;){const be=N.childNodes[Z];(1!==be.nodeType||"svg"===be.nodeName.toLowerCase())&&be.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const N=this._elementRef.nativeElement,Z=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();Z!=this._previousFontSetClass&&(this._previousFontSetClass&&N.classList.remove(this._previousFontSetClass),Z&&N.classList.add(Z),this._previousFontSetClass=Z),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&N.classList.remove(this._previousFontIconClass),this.fontIcon&&N.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(N){return"string"==typeof N?N.trim().split(" ")[0]:N}_prependPathToReferences(N){const Z=this._elementsWithExternalReferences;Z&&Z.forEach((be,Ie)=>{be.forEach(Ze=>{Ie.setAttribute(Ze.name,`url('${N}#${Ze.value}')`)})})}_cacheChildrenWithExternalReferences(N){const Z=N.querySelectorAll(ye),be=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ie=0;Ie<Z.length;Ie++)Fn.forEach(Ze=>{const ut=Z[Ie],st=ut.getAttribute(Ze),Wt=st?st.match(re):null;if(Wt){let Ut=be.get(ut);Ut||(Ut=[],be.set(ut,Ut)),Ut.push({name:Ze,value:Wt[1]})}})}_updateSvgIcon(N){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),N){const[Z,be]=this._splitIconName(N);Z&&(this._svgNamespace=Z),be&&(this._svgName=be),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(be,Z).pipe((0,ve.q)(1)).subscribe(Ie=>this._setSvgElement(Ie),Ie=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Z}:${be}! ${Ie.message}`))})}}}return W.\u0275fac=function(N){return new(N||W)(u.Y36(u.SBq),u.Y36(k),u.$8M("aria-hidden"),u.Y36(cn),u.Y36(u.qLn))},W.\u0275cmp=u.Xpm({type:W,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(N,Z){2&N&&(u.uIk("data-mat-icon-type",Z._usingFontIcon()?"font":"svg")("data-mat-icon-name",Z._svgName||Z.fontIcon)("data-mat-icon-namespace",Z._svgNamespace||Z.fontSet),u.ekj("mat-icon-inline",Z.inline)("mat-icon-no-color","primary"!==Z.color&&"accent"!==Z.color&&"warn"!==Z.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[u.qOj],ngContentSelectors:Mt,decls:1,vars:0,template:function(N,Z){1&N&&(u.F$t(),u.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),W})(),oe=(()=>{class W{}return W.\u0275fac=function(N){return new(N||W)},W.\u0275mod=u.oAB({type:W}),W.\u0275inj=u.cJS({imports:[[m.BQ],m.BQ]}),W})()},6360:(tt,Se,T)=>{T.d(Se,{Qb:()=>Zi,PW:()=>yi});var u=T(5e3),m=T(2313),de=T(1777);function _e(){return"undefined"!=typeof window&&void 0!==window.document}function se(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function z(F){switch(F.length){case 0:return new de.ZN;case 1:return F[0];default:return new de.ZE(F)}}function le(F,a,c,b,R={},L={}){const h=[],D=[];let p=-1,M=null;if(b.forEach(H=>{const ue=H.offset,De=ue==p,Ne=De&&M||{};Object.keys(H).forEach(qe=>{let Je=qe,rt=H[qe];if("offset"!==qe)switch(Je=a.normalizePropertyName(Je,h),rt){case de.k1:rt=R[qe];break;case de.l3:rt=L[qe];break;default:rt=a.normalizeStyleValue(qe,Je,rt,h)}Ne[Je]=rt}),De||D.push(Ne),M=Ne,p=ue}),h.length){const H="\n - ";throw new Error(`Unable to animate due to the following errors:${H}${h.join(H)}`)}return D}function j(F,a,c,b){switch(a){case"start":F.onStart(()=>b(c&&Y(c,"start",F)));break;case"done":F.onDone(()=>b(c&&Y(c,"done",F)));break;case"destroy":F.onDestroy(()=>b(c&&Y(c,"destroy",F)))}}function Y(F,a,c){const b=c.totalTime,L=Q(F.element,F.triggerName,F.fromState,F.toState,a||F.phaseName,null==b?F.totalTime:b,!!c.disabled),h=F._data;return null!=h&&(L._data=h),L}function Q(F,a,c,b,R="",L=0,h){return{element:F,triggerName:a,fromState:c,toState:b,phaseName:R,totalTime:L,disabled:!!h}}function X(F,a,c){let b;return F instanceof Map?(b=F.get(a),b||F.set(a,b=c)):(b=F[a],b||(b=F[a]=c)),b}function te(F){const a=F.indexOf(":");return[F.substring(1,a),F.substr(a+1)]}let Ce=(F,a)=>!1,ve=(F,a,c)=>[];(se()||"undefined"!=typeof Element)&&(Ce=_e()?(F,a)=>{for(;a&&a!==document.documentElement;){if(a===F)return!0;a=a.parentNode||a.host}return!1}:(F,a)=>F.contains(a),ve=(F,a,c)=>{if(c)return Array.from(F.querySelectorAll(a));const b=F.querySelector(a);return b?[b]:[]});let ce=null,Le=!1;function ze(F){ce||(ce=function Dt(){return"undefined"!=typeof document?document.body:null}()||{},Le=!!ce.style&&"WebkitAppearance"in ce.style);let a=!0;return ce.style&&!function pe(F){return"ebkit"==F.substring(1,6)}(F)&&(a=F in ce.style,!a&&Le&&(a="Webkit"+F.charAt(0).toUpperCase()+F.substr(1)in ce.style)),a}const Ke=Ce,ge=ve;let _t=(()=>{class F{validateStyleProperty(c){return ze(c)}matchesElement(c,b){return!1}containsElement(c,b){return Ke(c,b)}query(c,b,R){return ge(c,b,R)}computeStyle(c,b,R){return R||""}animate(c,b,R,L,h,D=[],p){return new de.ZN(R,L)}}return F.\u0275fac=function(c){return new(c||F)},F.\u0275prov=u.Yz7({token:F,factory:F.\u0275fac}),F})(),Kt=(()=>{class F{}return F.NOOP=new _t,F})();const xt="ng-enter",ft="ng-leave",Tt="ng-trigger",He=".ng-trigger",jn="ng-animating",mn=".ng-animating";function Ft(F){if("number"==typeof F)return F;const a=F.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:Lt(parseFloat(a[1]),a[2])}function Lt(F,a){return"s"===a?1e3*F:F}function lt(F,a,c){return F.hasOwnProperty("duration")?F:function an(F,a,c){let R,L=0,h="";if("string"==typeof F){const D=F.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===D)return a.push(`The provided timing value "${F}" is invalid.`),{duration:0,delay:0,easing:""};R=Lt(parseFloat(D[1]),D[2]);const p=D[3];null!=p&&(L=Lt(parseFloat(p),D[4]));const M=D[5];M&&(h=M)}else R=F;if(!c){let D=!1,p=a.length;R<0&&(a.push("Duration values below 0 are not allowed for this animation step."),D=!0),L<0&&(a.push("Delay values below 0 are not allowed for this animation step."),D=!0),D&&a.splice(p,0,`The provided timing value "${F}" is invalid.`)}return{duration:R,delay:L,easing:h}}(F,a,c)}function In(F,a={}){return Object.keys(F).forEach(c=>{a[c]=F[c]}),a}function Et(F,a,c={}){if(a)for(let b in F)c[b]=F[b];else In(F,c);return c}function $t(F,a,c){return c?a+":"+c+";":""}function Bt(F){let a="";for(let c=0;c<F.style.length;c++){const b=F.style.item(c);a+=$t(0,b,F.style.getPropertyValue(b))}for(const c in F.style)F.style.hasOwnProperty(c)&&!c.startsWith("_")&&(a+=$t(0,wn(c),F.style[c]));F.setAttribute("style",a)}function Pt(F,a,c){F.style&&(Object.keys(a).forEach(b=>{const R=ct(b);c&&!c.hasOwnProperty(b)&&(c[b]=F.style[R]),F.style[R]=a[b]}),se()&&Bt(F))}function Xt(F,a){F.style&&(Object.keys(a).forEach(c=>{const b=ct(c);F.style[b]=""}),se()&&Bt(F))}function Cn(F){return Array.isArray(F)?1==F.length?F[0]:(0,de.vP)(F):F}const zt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Gt(F){let a=[];if("string"==typeof F){let c;for(;c=zt.exec(F);)a.push(c[1]);zt.lastIndex=0}return a}function ln(F,a,c){const b=F.toString(),R=b.replace(zt,(L,h)=>{let D=a[h];return a.hasOwnProperty(h)||(c.push(`Please provide a value for the animation param ${h}`),D=""),D.toString()});return R==b?F:R}function Sn(F){const a=[];let c=F.next();for(;!c.done;)a.push(c.value),c=F.next();return a}const si=/-+([a-z0-9])/g;function ct(F){return F.replace(si,(...a)=>a[1].toUpperCase())}function wn(F){return F.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ae(F,a,c){switch(a.type){case 7:return F.visitTrigger(a,c);case 0:return F.visitState(a,c);case 1:return F.visitTransition(a,c);case 2:return F.visitSequence(a,c);case 3:return F.visitGroup(a,c);case 4:return F.visitAnimate(a,c);case 5:return F.visitKeyframes(a,c);case 6:return F.visitStyle(a,c);case 8:return F.visitReference(a,c);case 9:return F.visitAnimateChild(a,c);case 10:return F.visitAnimateRef(a,c);case 11:return F.visitQuery(a,c);case 12:return F.visitStagger(a,c);default:throw new Error(`Unable to resolve animation metadata node #${a.type}`)}}function J(F,a){return window.getComputedStyle(F)[a]}function Ge(F,a){const c=[];return"string"==typeof F?F.split(/\s*,\s*/).forEach(b=>function et(F,a,c){if(":"==F[0]){const p=function Nt(F,a){switch(F){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,b)=>parseFloat(b)>parseFloat(c);case":decrement":return(c,b)=>parseFloat(b)<parseFloat(c);default:return a.push(`The transition alias value "${F}" is not supported`),"* => *"}}(F,c);if("function"==typeof p)return void a.push(p);F=p}const b=F.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==b||b.length<4)return c.push(`The provided transition expression "${F}" is not supported`),a;const R=b[1],L=b[2],h=b[3];a.push(Pe(R,h));"<"==L[0]&&!("*"==R&&"*"==h)&&a.push(Pe(h,R))}(b,c,a)):c.push(F),c}const bt=new Set(["true","1"]),Ye=new Set(["false","0"]);function Pe(F,a){const c=bt.has(F)||Ye.has(F),b=bt.has(a)||Ye.has(a);return(R,L)=>{let h="*"==F||F==R,D="*"==a||a==L;return!h&&c&&"boolean"==typeof R&&(h=R?bt.has(F):Ye.has(F)),!D&&b&&"boolean"==typeof L&&(D=L?bt.has(a):Ye.has(a)),h&&D}}const vn=new RegExp("s*:selfs*,?","g");function Mt(F,a,c){return new Dn(F).build(a,c)}class Dn{constructor(a){this._driver=a}build(a,c){const b=new rn(c);return this._resetContextStyleTimingState(b),Ae(this,Cn(a),b)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,c){let b=c.queryCount=0,R=c.depCount=0;const L=[],h=[];return"@"==a.name.charAt(0)&&c.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),a.definitions.forEach(D=>{if(this._resetContextStyleTimingState(c),0==D.type){const p=D,M=p.name;M.toString().split(/\s*,\s*/).forEach(H=>{p.name=H,L.push(this.visitState(p,c))}),p.name=M}else if(1==D.type){const p=this.visitTransition(D,c);b+=p.queryCount,R+=p.depCount,h.push(p)}else c.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:a.name,states:L,transitions:h,queryCount:b,depCount:R,options:null}}visitState(a,c){const b=this.visitStyle(a.styles,c),R=a.options&&a.options.params||null;if(b.containsDynamicStyles){const L=new Set,h=R||{};if(b.styles.forEach(D=>{if(B(D)){const p=D;Object.keys(p).forEach(M=>{Gt(p[M]).forEach(H=>{h.hasOwnProperty(H)||L.add(H)})})}}),L.size){const D=Sn(L.values());c.errors.push(`state("${a.name}", ...) must define default values for all the following style substitutions: ${D.join(", ")}`)}}return{type:0,name:a.name,style:b,options:R?{params:R}:null}}visitTransition(a,c){c.queryCount=0,c.depCount=0;const b=Ae(this,Cn(a.animation),c);return{type:1,matchers:Ge(a.expr,c.errors),animation:b,queryCount:c.queryCount,depCount:c.depCount,options:k(a.options)}}visitSequence(a,c){return{type:2,steps:a.steps.map(b=>Ae(this,b,c)),options:k(a.options)}}visitGroup(a,c){const b=c.currentTime;let R=0;const L=a.steps.map(h=>{c.currentTime=b;const D=Ae(this,h,c);return R=Math.max(R,c.currentTime),D});return c.currentTime=R,{type:3,steps:L,options:k(a.options)}}visitAnimate(a,c){const b=function O(F,a){let c=null;if(F.hasOwnProperty("duration"))c=F;else if("number"==typeof F)return ee(lt(F,a).duration,0,"");const b=F;if(b.split(/\s+/).some(L=>"{"==L.charAt(0)&&"{"==L.charAt(1))){const L=ee(0,0,"");return L.dynamic=!0,L.strValue=b,L}return c=c||lt(b,a),ee(c.duration,c.delay,c.easing)}(a.timings,c.errors);c.currentAnimateTimings=b;let R,L=a.styles?a.styles:(0,de.oB)({});if(5==L.type)R=this.visitKeyframes(L,c);else{let h=a.styles,D=!1;if(!h){D=!0;const M={};b.easing&&(M.easing=b.easing),h=(0,de.oB)(M)}c.currentTime+=b.duration+b.delay;const p=this.visitStyle(h,c);p.isEmptyStep=D,R=p}return c.currentAnimateTimings=null,{type:4,timings:b,style:R,options:null}}visitStyle(a,c){const b=this._makeStyleAst(a,c);return this._validateStyleAst(b,c),b}_makeStyleAst(a,c){const b=[];Array.isArray(a.styles)?a.styles.forEach(h=>{"string"==typeof h?h==de.l3?b.push(h):c.errors.push(`The provided style string value ${h} is not allowed.`):b.push(h)}):b.push(a.styles);let R=!1,L=null;return b.forEach(h=>{if(B(h)){const D=h,p=D.easing;if(p&&(L=p,delete D.easing),!R)for(let M in D)if(D[M].toString().indexOf("{{")>=0){R=!0;break}}}),{type:6,styles:b,easing:L,offset:a.offset,containsDynamicStyles:R,options:null}}_validateStyleAst(a,c){const b=c.currentAnimateTimings;let R=c.currentTime,L=c.currentTime;b&&L>0&&(L-=b.duration+b.delay),a.styles.forEach(h=>{"string"!=typeof h&&Object.keys(h).forEach(D=>{if(!this._driver.validateStyleProperty(D))return void c.errors.push(`The provided animation property "${D}" is not a supported CSS property for animations`);const p=c.collectedStyles[c.currentQuerySelector],M=p[D];let H=!0;M&&(L!=R&&L>=M.startTime&&R<=M.endTime&&(c.errors.push(`The CSS property "${D}" that exists between the times of "${M.startTime}ms" and "${M.endTime}ms" is also being animated in a parallel animation between the times of "${L}ms" and "${R}ms"`),H=!1),L=M.startTime),H&&(p[D]={startTime:L,endTime:R}),c.options&&function gn(F,a,c){const b=a.params||{},R=Gt(F);R.length&&R.forEach(L=>{b.hasOwnProperty(L)||c.push(`Unable to resolve the local animation param ${L} in the given list of values`)})}(h[D],c.options,c.errors)})})}visitKeyframes(a,c){const b={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push("keyframes() must be placed inside of a call to animate()"),b;let L=0;const h=[];let D=!1,p=!1,M=0;const H=a.steps.map(mt=>{const kt=this._makeStyleAst(mt,c);let C=null!=kt.offset?kt.offset:function Ee(F){if("string"==typeof F)return null;let a=null;if(Array.isArray(F))F.forEach(c=>{if(B(c)&&c.hasOwnProperty("offset")){const b=c;a=parseFloat(b.offset),delete b.offset}});else if(B(F)&&F.hasOwnProperty("offset")){const c=F;a=parseFloat(c.offset),delete c.offset}return a}(kt.styles),v=0;return null!=C&&(L++,v=kt.offset=C),p=p||v<0||v>1,D=D||v<M,M=v,h.push(v),kt});p&&c.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),D&&c.errors.push("Please ensure that all keyframe offsets are in order");const ue=a.steps.length;let De=0;L>0&&L<ue?c.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==L&&(De=1/(ue-1));const Ne=ue-1,qe=c.currentTime,Je=c.currentAnimateTimings,rt=Je.duration;return H.forEach((mt,kt)=>{const C=De>0?kt==Ne?1:De*kt:h[kt],v=C*rt;c.currentTime=qe+Je.delay+v,Je.duration=v,this._validateStyleAst(mt,c),mt.offset=C,b.styles.push(mt)}),b}visitReference(a,c){return{type:8,animation:Ae(this,Cn(a.animation),c),options:k(a.options)}}visitAnimateChild(a,c){return c.depCount++,{type:9,options:k(a.options)}}visitAnimateRef(a,c){return{type:10,animation:this.visitReference(a.animation,c),options:k(a.options)}}visitQuery(a,c){const b=c.currentQuerySelector,R=a.options||{};c.queryCount++,c.currentQuery=a;const[L,h]=function _n(F){const a=!!F.split(/\s*,\s*/).find(c=>":self"==c);return a&&(F=F.replace(vn,"")),F=F.replace(/@\*/g,He).replace(/@\w+/g,c=>He+"-"+c.substr(1)).replace(/:animating/g,mn),[F,a]}(a.selector);c.currentQuerySelector=b.length?b+" "+L:L,X(c.collectedStyles,c.currentQuerySelector,{});const D=Ae(this,Cn(a.animation),c);return c.currentQuery=null,c.currentQuerySelector=b,{type:11,selector:L,limit:R.limit||0,optional:!!R.optional,includeSelf:h,animation:D,originalSelector:a.selector,options:k(a.options)}}visitStagger(a,c){c.currentQuery||c.errors.push("stagger() can only be used inside of query()");const b="full"===a.timings?{duration:0,delay:0,easing:"full"}:lt(a.timings,c.errors,!0);return{type:12,animation:Ae(this,Cn(a.animation),c),timings:b,options:null}}}class rn{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function B(F){return!Array.isArray(F)&&"object"==typeof F}function k(F){return F?(F=In(F)).params&&(F.params=function it(F){return F?In(F):null}(F.params)):F={},F}function ee(F,a,c){return{duration:F,delay:a,easing:c}}function we(F,a,c,b,R,L,h=null,D=!1){return{type:1,element:F,keyframes:a,preStyleProps:c,postStyleProps:b,duration:R,delay:L,totalTime:R+L,easing:h,subTimeline:D}}class $e{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,c){let b=this._map.get(a);b||this._map.set(a,b=[]),b.push(...c)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const sn=new RegExp(":enter","g"),Jt=new RegExp(":leave","g");function Fn(F,a,c,b,R,L={},h={},D,p,M=[]){return(new ye).buildKeyframes(F,a,c,b,R,L,h,D,p,M)}class ye{buildKeyframes(a,c,b,R,L,h,D,p,M,H=[]){M=M||new $e;const ue=new G(a,c,M,R,L,H,[]);ue.options=p,ue.currentTimeline.setStyles([h],null,ue.errors,p),Ae(this,b,ue);const De=ue.timelines.filter(Ne=>Ne.containsAnimation());if(Object.keys(D).length){let Ne;for(let qe=De.length-1;qe>=0;qe--){const Je=De[qe];if(Je.element===c){Ne=Je;break}}Ne&&!Ne.allowOnlyTimelineStyles()&&Ne.setStyles([D],null,ue.errors,p)}return De.length?De.map(Ne=>Ne.buildKeyframes()):[we(c,[],[],[],0,0,"",!1)]}visitTrigger(a,c){}visitState(a,c){}visitTransition(a,c){}visitAnimateChild(a,c){const b=c.subInstructions.get(c.element);if(b){const R=c.createSubContext(a.options),L=c.currentTimeline.currentTime,h=this._visitSubInstructions(b,R,R.options);L!=h&&c.transformIntoNewTimeline(h)}c.previousNode=a}visitAnimateRef(a,c){const b=c.createSubContext(a.options);b.transformIntoNewTimeline(),this.visitReference(a.animation,b),c.transformIntoNewTimeline(b.currentTimeline.currentTime),c.previousNode=a}_visitSubInstructions(a,c,b){let L=c.currentTimeline.currentTime;const h=null!=b.duration?Ft(b.duration):null,D=null!=b.delay?Ft(b.delay):null;return 0!==h&&a.forEach(p=>{const M=c.appendInstructionToTimeline(p,h,D);L=Math.max(L,M.duration+M.delay)}),L}visitReference(a,c){c.updateOptions(a.options,!0),Ae(this,a.animation,c),c.previousNode=a}visitSequence(a,c){const b=c.subContextCount;let R=c;const L=a.options;if(L&&(L.params||L.delay)&&(R=c.createSubContext(L),R.transformIntoNewTimeline(),null!=L.delay)){6==R.previousNode.type&&(R.currentTimeline.snapshotCurrentStyles(),R.previousNode=re);const h=Ft(L.delay);R.delayNextStep(h)}a.steps.length&&(a.steps.forEach(h=>Ae(this,h,R)),R.currentTimeline.applyStylesToKeyframe(),R.subContextCount>b&&R.transformIntoNewTimeline()),c.previousNode=a}visitGroup(a,c){const b=[];let R=c.currentTimeline.currentTime;const L=a.options&&a.options.delay?Ft(a.options.delay):0;a.steps.forEach(h=>{const D=c.createSubContext(a.options);L&&D.delayNextStep(L),Ae(this,h,D),R=Math.max(R,D.currentTimeline.currentTime),b.push(D.currentTimeline)}),b.forEach(h=>c.currentTimeline.mergeTimelineCollectedStyles(h)),c.transformIntoNewTimeline(R),c.previousNode=a}_visitTiming(a,c){if(a.dynamic){const b=a.strValue;return lt(c.params?ln(b,c.params,c.errors):b,c.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,c){const b=c.currentAnimateTimings=this._visitTiming(a.timings,c),R=c.currentTimeline;b.delay&&(c.incrementTime(b.delay),R.snapshotCurrentStyles());const L=a.style;5==L.type?this.visitKeyframes(L,c):(c.incrementTime(b.duration),this.visitStyle(L,c),R.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=a}visitStyle(a,c){const b=c.currentTimeline,R=c.currentAnimateTimings;!R&&b.getCurrentStyleProperties().length&&b.forwardFrame();const L=R&&R.easing||a.easing;a.isEmptyStep?b.applyEmptyStep(L):b.setStyles(a.styles,L,c.errors,c.options),c.previousNode=a}visitKeyframes(a,c){const b=c.currentAnimateTimings,R=c.currentTimeline.duration,L=b.duration,D=c.createSubContext().currentTimeline;D.easing=b.easing,a.styles.forEach(p=>{D.forwardTime((p.offset||0)*L),D.setStyles(p.styles,p.easing,c.errors,c.options),D.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(D),c.transformIntoNewTimeline(R+L),c.previousNode=a}visitQuery(a,c){const b=c.currentTimeline.currentTime,R=a.options||{},L=R.delay?Ft(R.delay):0;L&&(6===c.previousNode.type||0==b&&c.currentTimeline.getCurrentStyleProperties().length)&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=re);let h=b;const D=c.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!R.optional,c.errors);c.currentQueryTotal=D.length;let p=null;D.forEach((M,H)=>{c.currentQueryIndex=H;const ue=c.createSubContext(a.options,M);L&&ue.delayNextStep(L),M===c.element&&(p=ue.currentTimeline),Ae(this,a.animation,ue),ue.currentTimeline.applyStylesToKeyframe(),h=Math.max(h,ue.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(h),p&&(c.currentTimeline.mergeTimelineCollectedStyles(p),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=a}visitStagger(a,c){const b=c.parentContext,R=c.currentTimeline,L=a.timings,h=Math.abs(L.duration),D=h*(c.currentQueryTotal-1);let p=h*c.currentQueryIndex;switch(L.duration<0?"reverse":L.easing){case"reverse":p=D-p;break;case"full":p=b.currentStaggerTime}const H=c.currentTimeline;p&&H.delayNextStep(p);const ue=H.currentTime;Ae(this,a.animation,c),c.previousNode=a,b.currentStaggerTime=R.currentTime-ue+(R.startTime-b.currentTimeline.startTime)}}const re={};class G{constructor(a,c,b,R,L,h,D,p){this._driver=a,this.element=c,this.subInstructions=b,this._enterClassName=R,this._leaveClassName=L,this.errors=h,this.timelines=D,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=re,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=p||new oe(this._driver,c,0),D.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,c){if(!a)return;const b=a;let R=this.options;null!=b.duration&&(R.duration=Ft(b.duration)),null!=b.delay&&(R.delay=Ft(b.delay));const L=b.params;if(L){let h=R.params;h||(h=this.options.params={}),Object.keys(L).forEach(D=>{(!c||!h.hasOwnProperty(D))&&(h[D]=ln(L[D],h,this.errors))})}}_copyOptions(){const a={};if(this.options){const c=this.options.params;if(c){const b=a.params={};Object.keys(c).forEach(R=>{b[R]=c[R]})}}return a}createSubContext(a=null,c,b){const R=c||this.element,L=new G(this._driver,R,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(R,b||0));return L.previousNode=this.previousNode,L.currentAnimateTimings=this.currentAnimateTimings,L.options=this._copyOptions(),L.updateOptions(a),L.currentQueryIndex=this.currentQueryIndex,L.currentQueryTotal=this.currentQueryTotal,L.parentContext=this,this.subContextCount++,L}transformIntoNewTimeline(a){return this.previousNode=re,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,c,b){const R={duration:null!=c?c:a.duration,delay:this.currentTimeline.currentTime+(null!=b?b:0)+a.delay,easing:""},L=new W(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,R,a.stretchStartingKeyframe);return this.timelines.push(L),R}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,c,b,R,L,h){let D=[];if(R&&D.push(this.element),a.length>0){a=(a=a.replace(sn,"."+this._enterClassName)).replace(Jt,"."+this._leaveClassName);let M=this._driver.query(this.element,a,1!=b);0!==b&&(M=b<0?M.slice(M.length+b,M.length):M.slice(0,b)),D.push(...M)}return!L&&0==D.length&&h.push(`\`query("${c}")\` returned zero elements. (Use \`query("${c}", { optional: true })\` if you wish to allow this.)`),D}}class oe{constructor(a,c,b,R){this._driver=a,this.element=c,this.startTime=b,this._elementTimelineStylesLookup=R,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const c=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||c?(this.forwardTime(this.currentTime+a),c&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,c){return this.applyStylesToKeyframe(),new oe(this._driver,a,c||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,c){this._localTimelineStyles[a]=c,this._globalTimelineStyles[a]=c,this._styleSummary[a]={time:this.currentTime,value:c}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(c=>{this._backFill[c]=this._globalTimelineStyles[c]||de.l3,this._currentKeyframe[c]=de.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,c,b,R){c&&(this._previousKeyframe.easing=c);const L=R&&R.params||{},h=function N(F,a){const c={};let b;return F.forEach(R=>{"*"===R?(b=b||Object.keys(a),b.forEach(L=>{c[L]=de.l3})):Et(R,!1,c)}),c}(a,this._globalTimelineStyles);Object.keys(h).forEach(D=>{const p=ln(h[D],L,b);this._pendingStyles[D]=p,this._localTimelineStyles.hasOwnProperty(D)||(this._backFill[D]=this._globalTimelineStyles.hasOwnProperty(D)?this._globalTimelineStyles[D]:de.l3),this._updateStyle(D,p)})}applyStylesToKeyframe(){const a=this._pendingStyles,c=Object.keys(a);0!=c.length&&(this._pendingStyles={},c.forEach(b=>{this._currentKeyframe[b]=a[b]}),Object.keys(this._localTimelineStyles).forEach(b=>{this._currentKeyframe.hasOwnProperty(b)||(this._currentKeyframe[b]=this._localTimelineStyles[b])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const c=this._localTimelineStyles[a];this._pendingStyles[a]=c,this._updateStyle(a,c)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let c in this._currentKeyframe)a.push(c);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(c=>{const b=this._styleSummary[c],R=a._styleSummary[c];(!b||R.time>b.time)&&this._updateStyle(c,R.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,c=new Set,b=1===this._keyframes.size&&0===this.duration;let R=[];this._keyframes.forEach((D,p)=>{const M=Et(D,!0);Object.keys(M).forEach(H=>{const ue=M[H];ue==de.k1?a.add(H):ue==de.l3&&c.add(H)}),b||(M.offset=p/this.duration),R.push(M)});const L=a.size?Sn(a.values()):[],h=c.size?Sn(c.values()):[];if(b){const D=R[0],p=In(D);D.offset=0,p.offset=1,R=[D,p]}return we(this.element,R,L,h,this.duration,this.startTime,this.easing,!1)}}class W extends oe{constructor(a,c,b,R,L,h,D=!1){super(a,c,h.delay),this.keyframes=b,this.preStyleProps=R,this.postStyleProps=L,this._stretchStartingKeyframe=D,this.timings={duration:h.duration,delay:h.delay,easing:h.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:c,duration:b,easing:R}=this.timings;if(this._stretchStartingKeyframe&&c){const L=[],h=b+c,D=c/h,p=Et(a[0],!1);p.offset=0,L.push(p);const M=Et(a[0],!1);M.offset=U(D),L.push(M);const H=a.length-1;for(let ue=1;ue<=H;ue++){let De=Et(a[ue],!1);De.offset=U((c+De.offset*b)/h),L.push(De)}b=h,c=0,R="",a=L}return we(this.element,a,this.preStyleProps,this.postStyleProps,b,c,R,!0)}}function U(F,a=3){const c=Math.pow(10,a-1);return Math.round(F*c)/c}class be{}class Ze extends be{normalizePropertyName(a,c){return ct(a)}normalizeStyleValue(a,c,b,R){let L="";const h=b.toString().trim();if(ut[c]&&0!==b&&"0"!==b)if("number"==typeof b)L="px";else{const D=b.match(/^[+-]?[\d\.]+([a-z]*)$/);D&&0==D[1].length&&R.push(`Please provide a CSS unit value for ${a}:${b}`)}return h+L}}const ut=(()=>function st(F){const a={};return F.forEach(c=>a[c]=!0),a}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Wt(F,a,c,b,R,L,h,D,p,M,H,ue,De){return{type:0,element:F,triggerName:a,isRemovalTransition:R,fromState:c,fromStyles:L,toState:b,toStyles:h,timelines:D,queriedElements:p,preStyleProps:M,postStyleProps:H,totalTime:ue,errors:De}}const Ut={};class je{constructor(a,c,b){this._triggerName=a,this.ast=c,this._stateStyles=b}match(a,c,b,R){return function yt(F,a,c,b,R){return F.some(L=>L(a,c,b,R))}(this.ast.matchers,a,c,b,R)}buildStyles(a,c,b){const R=this._stateStyles["*"],L=this._stateStyles[a],h=R?R.buildStyles(c,b):{};return L?L.buildStyles(c,b):h}build(a,c,b,R,L,h,D,p,M,H){const ue=[],De=this.ast.options&&this.ast.options.params||Ut,qe=this.buildStyles(b,D&&D.params||Ut,ue),Je=p&&p.params||Ut,rt=this.buildStyles(R,Je,ue),mt=new Set,kt=new Map,C=new Map,v="void"===R,y={params:Object.assign(Object.assign({},De),Je)},x=H?[]:Fn(a,c,this.ast.animation,L,h,qe,rt,y,M,ue);let ae=0;if(x.forEach(Yt=>{ae=Math.max(Yt.duration+Yt.delay,ae)}),ue.length)return Wt(c,this._triggerName,b,R,v,qe,rt,[],[],kt,C,ae,ue);x.forEach(Yt=>{const En=Yt.element,vi=X(kt,En,{});Yt.preStyleProps.forEach(er=>vi[er]=!0);const bi=X(C,En,{});Yt.postStyleProps.forEach(er=>bi[er]=!0),En!==c&&mt.add(En)});const Qe=Sn(mt.values());return Wt(c,this._triggerName,b,R,v,qe,rt,x,Qe,kt,C,ae)}}class pt{constructor(a,c,b){this.styles=a,this.defaultParams=c,this.normalizer=b}buildStyles(a,c){const b={},R=In(this.defaultParams);return Object.keys(a).forEach(L=>{const h=a[L];null!=h&&(R[L]=h)}),this.styles.styles.forEach(L=>{if("string"!=typeof L){const h=L;Object.keys(h).forEach(D=>{let p=h[D];p.length>1&&(p=ln(p,R,c));const M=this.normalizer.normalizePropertyName(D,c);p=this.normalizer.normalizeStyleValue(D,M,p,c),b[M]=p})}}),b}}class Pn{constructor(a,c,b){this.name=a,this.ast=c,this._normalizer=b,this.transitionFactories=[],this.states={},c.states.forEach(R=>{this.states[R.name]=new pt(R.style,R.options&&R.options.params||{},b)}),Un(this.states,"true","1"),Un(this.states,"false","0"),c.transitions.forEach(R=>{this.transitionFactories.push(new je(a,R,this.states))}),this.fallbackTransition=function un(F,a,c){return new je(F,{type:1,animation:{type:2,steps:[],options:null},matchers:[(h,D)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,c,b,R){return this.transitionFactories.find(h=>h.match(a,c,b,R))||null}matchStyles(a,c,b){return this.fallbackTransition.buildStyles(a,c,b)}}function Un(F,a,c){F.hasOwnProperty(a)?F.hasOwnProperty(c)||(F[c]=F[a]):F.hasOwnProperty(c)&&(F[a]=F[c])}const q=new $e;class fe{constructor(a,c,b){this.bodyNode=a,this._driver=c,this._normalizer=b,this._animations={},this._playersById={},this.players=[]}register(a,c){const b=[],R=Mt(this._driver,c,b);if(b.length)throw new Error(`Unable to build the animation due to the following errors: ${b.join("\n")}`);this._animations[a]=R}_buildPlayer(a,c,b){const R=a.element,L=le(0,this._normalizer,0,a.keyframes,c,b);return this._driver.animate(R,L,a.duration,a.delay,a.easing,[],!0)}create(a,c,b={}){const R=[],L=this._animations[a];let h;const D=new Map;if(L?(h=Fn(this._driver,c,L,xt,ft,{},{},b,q,R),h.forEach(H=>{const ue=X(D,H.element,{});H.postStyleProps.forEach(De=>ue[De]=null)})):(R.push("The requested animation doesn't exist or has already been destroyed"),h=[]),R.length)throw new Error(`Unable to create the animation due to the following errors: ${R.join("\n")}`);D.forEach((H,ue)=>{Object.keys(H).forEach(De=>{H[De]=this._driver.computeStyle(ue,De,de.l3)})});const M=z(h.map(H=>{const ue=D.get(H.element);return this._buildPlayer(H,{},ue)}));return this._playersById[a]=M,M.onDestroy(()=>this.destroy(a)),this.players.push(M),M}destroy(a){const c=this._getPlayer(a);c.destroy(),delete this._playersById[a];const b=this.players.indexOf(c);b>=0&&this.players.splice(b,1)}_getPlayer(a){const c=this._playersById[a];if(!c)throw new Error(`Unable to find the timeline player referenced by ${a}`);return c}listen(a,c,b,R){const L=Q(c,"","","");return j(this._getPlayer(a),b,L,R),()=>{}}command(a,c,b,R){if("register"==b)return void this.register(a,R[0]);if("create"==b)return void this.create(a,c,R[0]||{});const L=this._getPlayer(a);switch(b){case"play":L.play();break;case"pause":L.pause();break;case"reset":L.reset();break;case"restart":L.restart();break;case"finish":L.finish();break;case"init":L.init();break;case"setPosition":L.setPosition(parseFloat(R[0]));break;case"destroy":this.destroy(a)}}}const A="ng-animate-queued",Oe="ng-animate-disabled",Ht=[],on={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},St={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ct="__ng_removed";class It{constructor(a,c=""){this.namespaceId=c;const b=a&&a.hasOwnProperty("value");if(this.value=function oi(F){return null!=F?F:null}(b?a.value:a),b){const L=In(a);delete L.value,this.options=L}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const c=a.params;if(c){const b=this.options.params;Object.keys(c).forEach(R=>{null==b[R]&&(b[R]=c[R])})}}}const Qn="void",ai=new It(Qn);class Hn{constructor(a,c,b){this.id=a,this.hostElement=c,this._engine=b,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Zn(c,this._hostClassName)}listen(a,c,b,R){if(!this._triggers.hasOwnProperty(c))throw new Error(`Unable to listen on the animation trigger event "${b}" because the animation trigger "${c}" doesn't exist!`);if(null==b||0==b.length)throw new Error(`Unable to listen on the animation trigger "${c}" because the provided event is undefined!`);if(!function lr(F){return"start"==F||"done"==F}(b))throw new Error(`The provided animation trigger event "${b}" for the animation trigger "${c}" is not supported!`);const L=X(this._elementListeners,a,[]),h={name:c,phase:b,callback:R};L.push(h);const D=X(this._engine.statesByElement,a,{});return D.hasOwnProperty(c)||(Zn(a,Tt),Zn(a,Tt+"-"+c),D[c]=ai),()=>{this._engine.afterFlush(()=>{const p=L.indexOf(h);p>=0&&L.splice(p,1),this._triggers[c]||delete D[c]})}}register(a,c){return!this._triggers[a]&&(this._triggers[a]=c,!0)}_getTrigger(a){const c=this._triggers[a];if(!c)throw new Error(`The provided animation trigger "${a}" has not been registered!`);return c}trigger(a,c,b,R=!0){const L=this._getTrigger(c),h=new fi(this.id,c,a);let D=this._engine.statesByElement.get(a);D||(Zn(a,Tt),Zn(a,Tt+"-"+c),this._engine.statesByElement.set(a,D={}));let p=D[c];const M=new It(b,this.id);if(!(b&&b.hasOwnProperty("value"))&&p&&M.absorbOptions(p.options),D[c]=M,p||(p=ai),M.value!==Qn&&p.value===M.value){if(!function Gi(F,a){const c=Object.keys(F),b=Object.keys(a);if(c.length!=b.length)return!1;for(let R=0;R<c.length;R++){const L=c[R];if(!a.hasOwnProperty(L)||F[L]!==a[L])return!1}return!0}(p.params,M.params)){const Je=[],rt=L.matchStyles(p.value,p.params,Je),mt=L.matchStyles(M.value,M.params,Je);Je.length?this._engine.reportError(Je):this._engine.afterFlush(()=>{Xt(a,rt),Pt(a,mt)})}return}const De=X(this._engine.playersByElement,a,[]);De.forEach(Je=>{Je.namespaceId==this.id&&Je.triggerName==c&&Je.queued&&Je.destroy()});let Ne=L.matchTransition(p.value,M.value,a,M.params),qe=!1;if(!Ne){if(!R)return;Ne=L.fallbackTransition,qe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:c,transition:Ne,fromState:p,toState:M,player:h,isFallbackTransition:qe}),qe||(Zn(a,A),h.onStart(()=>{ei(a,A)})),h.onDone(()=>{let Je=this.players.indexOf(h);Je>=0&&this.players.splice(Je,1);const rt=this._engine.playersByElement.get(a);if(rt){let mt=rt.indexOf(h);mt>=0&&rt.splice(mt,1)}}),this.players.push(h),De.push(h),h}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((c,b)=>{delete c[a]}),this._elementListeners.forEach((c,b)=>{this._elementListeners.set(b,c.filter(R=>R.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const c=this._engine.playersByElement.get(a);c&&(c.forEach(b=>b.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,c){const b=this._engine.driver.query(a,He,!0);b.forEach(R=>{if(R[Ct])return;const L=this._engine.fetchNamespacesByElement(R);L.size?L.forEach(h=>h.triggerLeaveAnimation(R,c,!1,!0)):this.clearElementCache(R)}),this._engine.afterFlushAnimationsDone(()=>b.forEach(R=>this.clearElementCache(R)))}triggerLeaveAnimation(a,c,b,R){const L=this._engine.statesByElement.get(a),h=new Map;if(L){const D=[];if(Object.keys(L).forEach(p=>{if(h.set(p,L[p].value),this._triggers[p]){const M=this.trigger(a,p,Qn,R);M&&D.push(M)}}),D.length)return this._engine.markElementAsRemoved(this.id,a,!0,c,h),b&&z(D).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const c=this._elementListeners.get(a),b=this._engine.statesByElement.get(a);if(c&&b){const R=new Set;c.forEach(L=>{const h=L.name;if(R.has(h))return;R.add(h);const p=this._triggers[h].fallbackTransition,M=b[h]||ai,H=new It(Qn),ue=new fi(this.id,h,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:h,transition:p,fromState:M,toState:H,player:ue,isFallbackTransition:!0})})}}removeNode(a,c){const b=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,c),this.triggerLeaveAnimation(a,c,!0))return;let R=!1;if(b.totalAnimations){const L=b.players.length?b.playersByQueriedElement.get(a):[];if(L&&L.length)R=!0;else{let h=a;for(;h=h.parentNode;)if(b.statesByElement.get(h)){R=!0;break}}}if(this.prepareLeaveAnimationListeners(a),R)b.markElementAsRemoved(this.id,a,!1,c);else{const L=a[Ct];(!L||L===on)&&(b.afterFlush(()=>this.clearElementCache(a)),b.destroyInnerAnimations(a),b._onRemovalComplete(a,c))}}insertNode(a,c){Zn(a,this._hostClassName)}drainQueuedTransitions(a){const c=[];return this._queue.forEach(b=>{const R=b.player;if(R.destroyed)return;const L=b.element,h=this._elementListeners.get(L);h&&h.forEach(D=>{if(D.name==b.triggerName){const p=Q(L,b.triggerName,b.fromState.value,b.toState.value);p._data=a,j(b.player,D.phase,p,D.callback)}}),R.markedForDestroy?this._engine.afterFlush(()=>{R.destroy()}):c.push(b)}),this._queue=[],c.sort((b,R)=>{const L=b.transition.ast.depCount,h=R.transition.ast.depCount;return 0==L||0==h?L-h:this._engine.driver.containsElement(b.element,R.element)?1:-1})}destroy(a){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let c=!1;return this._elementListeners.has(a)&&(c=!0),c=!!this._queue.find(b=>b.element===a)||c,c}}class Mn{constructor(a,c,b){this.bodyNode=a,this.driver=c,this._normalizer=b,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(R,L)=>{}}_onRemovalComplete(a,c){this.onRemovalComplete(a,c)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(c=>{c.players.forEach(b=>{b.queued&&a.push(b)})}),a}createNamespace(a,c){const b=new Hn(a,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(b,c):(this.newHostElements.set(c,b),this.collectEnterElement(c)),this._namespaceLookup[a]=b}_balanceNamespaceList(a,c){const b=this._namespaceList.length-1;if(b>=0){let R=!1;for(let L=b;L>=0;L--)if(this.driver.containsElement(this._namespaceList[L].hostElement,c)){this._namespaceList.splice(L+1,0,a),R=!0;break}R||this._namespaceList.splice(0,0,a)}else this._namespaceList.push(a);return this.namespacesByHostElement.set(c,a),a}register(a,c){let b=this._namespaceLookup[a];return b||(b=this.createNamespace(a,c)),b}registerTrigger(a,c,b){let R=this._namespaceLookup[a];R&&R.register(c,b)&&this.totalAnimations++}destroy(a,c){if(!a)return;const b=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(b.hostElement),delete this._namespaceLookup[a];const R=this._namespaceList.indexOf(b);R>=0&&this._namespaceList.splice(R,1)}),this.afterFlushAnimationsDone(()=>b.destroy(c))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const c=new Set,b=this.statesByElement.get(a);if(b){const R=Object.keys(b);for(let L=0;L<R.length;L++){const h=b[R[L]].namespaceId;if(h){const D=this._fetchNamespace(h);D&&c.add(D)}}}return c}trigger(a,c,b,R){if(Nn(c)){const L=this._fetchNamespace(a);if(L)return L.trigger(c,b,R),!0}return!1}insertNode(a,c,b,R){if(!Nn(c))return;const L=c[Ct];if(L&&L.setForRemoval){L.setForRemoval=!1,L.setForMove=!0;const h=this.collectedLeaveElements.indexOf(c);h>=0&&this.collectedLeaveElements.splice(h,1)}if(a){const h=this._fetchNamespace(a);h&&h.insertNode(c,b)}R&&this.collectEnterElement(c)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,c){c?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Zn(a,Oe)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),ei(a,Oe))}removeNode(a,c,b,R){if(Nn(c)){const L=a?this._fetchNamespace(a):null;if(L?L.removeNode(c,R):this.markElementAsRemoved(a,c,!1,R),b){const h=this.namespacesByHostElement.get(c);h&&h.id!==a&&h.removeNode(c,R)}}else this._onRemovalComplete(c,R)}markElementAsRemoved(a,c,b,R,L){this.collectedLeaveElements.push(c),c[Ct]={namespaceId:a,setForRemoval:R,hasAnimation:b,removedBeforeQueried:!1,previousTriggersValues:L}}listen(a,c,b,R,L){return Nn(c)?this._fetchNamespace(a).listen(c,b,R,L):()=>{}}_buildInstruction(a,c,b,R,L){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,b,R,a.fromState.options,a.toState.options,c,L)}destroyInnerAnimations(a){let c=this.driver.query(a,He,!0);c.forEach(b=>this.destroyActiveAnimationsForElement(b)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(a,mn,!0),c.forEach(b=>this.finishActiveQueriedAnimationOnElement(b)))}destroyActiveAnimationsForElement(a){const c=this.playersByElement.get(a);c&&c.forEach(b=>{b.queued?b.markedForDestroy=!0:b.destroy()})}finishActiveQueriedAnimationOnElement(a){const c=this.playersByQueriedElement.get(a);c&&c.forEach(b=>b.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return z(this.players).onDone(()=>a());a()})}processLeaveNode(a){var c;const b=a[Ct];if(b&&b.setForRemoval){if(a[Ct]=on,b.namespaceId){this.destroyInnerAnimations(a);const R=this._fetchNamespace(b.namespaceId);R&&R.clearElementCache(a)}this._onRemovalComplete(a,b.setForRemoval)}(null===(c=a.classList)||void 0===c?void 0:c.contains(Oe))&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(R=>{this.markElementAsDisabled(R,!1)})}flush(a=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((b,R)=>this._balanceNamespaceList(b,R)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let b=0;b<this.collectedEnterElements.length;b++)Zn(this.collectedEnterElements[b],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const b=[];try{c=this._flushAnimations(b,a)}finally{for(let R=0;R<b.length;R++)b[R]()}}else for(let b=0;b<this.collectedLeaveElements.length;b++)this.processLeaveNode(this.collectedLeaveElements[b]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(b=>b()),this._flushFns=[],this._whenQuietFns.length){const b=this._whenQuietFns;this._whenQuietFns=[],c.length?z(c).onDone(()=>{b.forEach(R=>R())}):b.forEach(R=>R())}}reportError(a){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${a.join("\n")}`)}_flushAnimations(a,c){const b=new $e,R=[],L=new Map,h=[],D=new Map,p=new Map,M=new Map,H=new Set;this.disabledNodes.forEach(Ve=>{H.add(Ve);const dt=this.driver.query(Ve,".ng-animate-queued",!0);for(let nt=0;nt<dt.length;nt++)H.add(dt[nt])});const ue=this.bodyNode,De=Array.from(this.statesByElement.keys()),Ne=Rn(De,this.collectedEnterElements),qe=new Map;let Je=0;Ne.forEach((Ve,dt)=>{const nt=xt+Je++;qe.set(dt,nt),Ve.forEach(qt=>Zn(qt,nt))});const rt=[],mt=new Set,kt=new Set;for(let Ve=0;Ve<this.collectedLeaveElements.length;Ve++){const dt=this.collectedLeaveElements[Ve],nt=dt[Ct];nt&&nt.setForRemoval&&(rt.push(dt),mt.add(dt),nt.hasAnimation?this.driver.query(dt,".ng-star-inserted",!0).forEach(qt=>mt.add(qt)):kt.add(dt))}const C=new Map,v=Rn(De,Array.from(mt));v.forEach((Ve,dt)=>{const nt=ft+Je++;C.set(dt,nt),Ve.forEach(qt=>Zn(qt,nt))}),a.push(()=>{Ne.forEach((Ve,dt)=>{const nt=qe.get(dt);Ve.forEach(qt=>ei(qt,nt))}),v.forEach((Ve,dt)=>{const nt=C.get(dt);Ve.forEach(qt=>ei(qt,nt))}),rt.forEach(Ve=>{this.processLeaveNode(Ve)})});const y=[],x=[];for(let Ve=this._namespaceList.length-1;Ve>=0;Ve--)this._namespaceList[Ve].drainQueuedTransitions(c).forEach(nt=>{const qt=nt.player,bn=nt.element;if(y.push(qt),this.collectedEnterElements.length){const zn=bn[Ct];if(zn&&zn.setForMove){if(zn.previousTriggersValues&&zn.previousTriggersValues.has(nt.triggerName)){const xn=zn.previousTriggersValues.get(nt.triggerName),qn=this.statesByElement.get(nt.element);qn&&qn[nt.triggerName]&&(qn[nt.triggerName].value=xn)}return void qt.destroy()}}const Ln=!ue||!this.driver.containsElement(ue,bn),Vn=C.get(bn),Di=qe.get(bn),An=this._buildInstruction(nt,b,Di,Vn,Ln);if(An.errors&&An.errors.length)return void x.push(An);if(Ln)return qt.onStart(()=>Xt(bn,An.fromStyles)),qt.onDestroy(()=>Pt(bn,An.toStyles)),void R.push(qt);if(nt.isFallbackTransition)return qt.onStart(()=>Xt(bn,An.fromStyles)),qt.onDestroy(()=>Pt(bn,An.toStyles)),void R.push(qt);const hr=[];An.timelines.forEach(zn=>{zn.stretchStartingKeyframe=!0,this.disabledNodes.has(zn.element)||hr.push(zn)}),An.timelines=hr,b.append(bn,An.timelines),h.push({instruction:An,player:qt,element:bn}),An.queriedElements.forEach(zn=>X(D,zn,[]).push(qt)),An.preStyleProps.forEach((zn,xn)=>{const qn=Object.keys(zn);if(qn.length){let Li=p.get(xn);Li||p.set(xn,Li=new Set),qn.forEach(Vi=>Li.add(Vi))}}),An.postStyleProps.forEach((zn,xn)=>{const qn=Object.keys(zn);let Li=M.get(xn);Li||M.set(xn,Li=new Set),qn.forEach(Vi=>Li.add(Vi))})});if(x.length){const Ve=[];x.forEach(dt=>{Ve.push(`@${dt.triggerName} has failed due to:\n`),dt.errors.forEach(nt=>Ve.push(`- ${nt}\n`))}),y.forEach(dt=>dt.destroy()),this.reportError(Ve)}const ae=new Map,Qe=new Map;h.forEach(Ve=>{const dt=Ve.element;b.has(dt)&&(Qe.set(dt,dt),this._beforeAnimationBuild(Ve.player.namespaceId,Ve.instruction,ae))}),R.forEach(Ve=>{const dt=Ve.element;this._getPreviousPlayers(dt,!1,Ve.namespaceId,Ve.triggerName,null).forEach(qt=>{X(ae,dt,[]).push(qt),qt.destroy()})});const Yt=rt.filter(Ve=>li(Ve,p,M)),En=new Map;$i(En,this.driver,kt,M,de.l3).forEach(Ve=>{li(Ve,p,M)&&Yt.push(Ve)});const bi=new Map;Ne.forEach((Ve,dt)=>{$i(bi,this.driver,new Set(Ve),p,de.k1)}),Yt.forEach(Ve=>{const dt=En.get(Ve),nt=bi.get(Ve);En.set(Ve,Object.assign(Object.assign({},dt),nt))});const er=[],kr=[],Fe={};h.forEach(Ve=>{const{element:dt,player:nt,instruction:qt}=Ve;if(b.has(dt)){if(H.has(dt))return nt.onDestroy(()=>Pt(dt,qt.toStyles)),nt.disabled=!0,nt.overrideTotalTime(qt.totalTime),void R.push(nt);let bn=Fe;if(Qe.size>1){let Vn=dt;const Di=[];for(;Vn=Vn.parentNode;){const An=Qe.get(Vn);if(An){bn=An;break}Di.push(Vn)}Di.forEach(An=>Qe.set(An,bn))}const Ln=this._buildAnimation(nt.namespaceId,qt,ae,L,bi,En);if(nt.setRealPlayer(Ln),bn===Fe)er.push(nt);else{const Vn=this.playersByElement.get(bn);Vn&&Vn.length&&(nt.parentPlayer=z(Vn)),R.push(nt)}}else Xt(dt,qt.fromStyles),nt.onDestroy(()=>Pt(dt,qt.toStyles)),kr.push(nt),H.has(dt)&&R.push(nt)}),kr.forEach(Ve=>{const dt=L.get(Ve.element);if(dt&&dt.length){const nt=z(dt);Ve.setRealPlayer(nt)}}),R.forEach(Ve=>{Ve.parentPlayer?Ve.syncPlayerEvents(Ve.parentPlayer):Ve.destroy()});for(let Ve=0;Ve<rt.length;Ve++){const dt=rt[Ve],nt=dt[Ct];if(ei(dt,ft),nt&&nt.hasAnimation)continue;let qt=[];if(D.size){let Ln=D.get(dt);Ln&&Ln.length&&qt.push(...Ln);let Vn=this.driver.query(dt,mn,!0);for(let Di=0;Di<Vn.length;Di++){let An=D.get(Vn[Di]);An&&An.length&&qt.push(...An)}}const bn=qt.filter(Ln=>!Ln.destroyed);bn.length?cr(this,dt,bn):this.processLeaveNode(dt)}return rt.length=0,er.forEach(Ve=>{this.players.push(Ve),Ve.onDone(()=>{Ve.destroy();const dt=this.players.indexOf(Ve);this.players.splice(dt,1)}),Ve.play()}),er}elementContainsData(a,c){let b=!1;const R=c[Ct];return R&&R.setForRemoval&&(b=!0),this.playersByElement.has(c)&&(b=!0),this.playersByQueriedElement.has(c)&&(b=!0),this.statesByElement.has(c)&&(b=!0),this._fetchNamespace(a).elementContainsData(c)||b}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,c,b,R,L){let h=[];if(c){const D=this.playersByQueriedElement.get(a);D&&(h=D)}else{const D=this.playersByElement.get(a);if(D){const p=!L||L==Qn;D.forEach(M=>{M.queued||!p&&M.triggerName!=R||h.push(M)})}}return(b||R)&&(h=h.filter(D=>!(b&&b!=D.namespaceId||R&&R!=D.triggerName))),h}_beforeAnimationBuild(a,c,b){const L=c.element,h=c.isRemovalTransition?void 0:a,D=c.isRemovalTransition?void 0:c.triggerName;for(const p of c.timelines){const M=p.element,H=M!==L,ue=X(b,M,[]);this._getPreviousPlayers(M,H,h,D,c.toState).forEach(Ne=>{const qe=Ne.getRealPlayer();qe.beforeDestroy&&qe.beforeDestroy(),Ne.destroy(),ue.push(Ne)})}Xt(L,c.fromStyles)}_buildAnimation(a,c,b,R,L,h){const D=c.triggerName,p=c.element,M=[],H=new Set,ue=new Set,De=c.timelines.map(qe=>{const Je=qe.element;H.add(Je);const rt=Je[Ct];if(rt&&rt.removedBeforeQueried)return new de.ZN(qe.duration,qe.delay);const mt=Je!==p,kt=function Pr(F){const a=[];return zi(F,a),a}((b.get(Je)||Ht).map(ae=>ae.getRealPlayer())).filter(ae=>!!ae.element&&ae.element===Je),C=L.get(Je),v=h.get(Je),y=le(0,this._normalizer,0,qe.keyframes,C,v),x=this._buildPlayer(qe,y,kt);if(qe.subTimeline&&R&&ue.add(Je),mt){const ae=new fi(a,D,Je);ae.setRealPlayer(x),M.push(ae)}return x});M.forEach(qe=>{X(this.playersByQueriedElement,qe.element,[]).push(qe),qe.onDone(()=>function Hi(F,a,c){let b;if(F instanceof Map){if(b=F.get(a),b){if(b.length){const R=b.indexOf(c);b.splice(R,1)}0==b.length&&F.delete(a)}}else if(b=F[a],b){if(b.length){const R=b.indexOf(c);b.splice(R,1)}0==b.length&&delete F[a]}return b}(this.playersByQueriedElement,qe.element,qe))}),H.forEach(qe=>Zn(qe,jn));const Ne=z(De);return Ne.onDestroy(()=>{H.forEach(qe=>ei(qe,jn)),Pt(p,c.toStyles)}),ue.forEach(qe=>{X(R,qe,[]).push(Ne)}),Ne}_buildPlayer(a,c,b){return c.length>0?this.driver.animate(a.element,c,a.duration,a.delay,a.easing,b):new de.ZN(a.duration,a.delay)}}class fi{constructor(a,c,b){this.namespaceId=a,this.triggerName=c,this.element=b,this._player=new de.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(c=>{this._queuedCallbacks[c].forEach(b=>j(a,c,void 0,b))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const c=this._player;c.triggerCallback&&a.onStart(()=>c.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,c){X(this._queuedCallbacks,a,[]).push(c)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const c=this._player;c.triggerCallback&&c.triggerCallback(a)}}function Nn(F){return F&&1===F.nodeType}function Ri(F,a){const c=F.style.display;return F.style.display=null!=a?a:"none",c}function $i(F,a,c,b,R){const L=[];c.forEach(p=>L.push(Ri(p)));const h=[];b.forEach((p,M)=>{const H={};p.forEach(ue=>{const De=H[ue]=a.computeStyle(M,ue,R);(!De||0==De.length)&&(M[Ct]=St,h.push(M))}),F.set(M,H)});let D=0;return c.forEach(p=>Ri(p,L[D++])),h}function Rn(F,a){const c=new Map;if(F.forEach(D=>c.set(D,[])),0==a.length)return c;const R=new Set(a),L=new Map;function h(D){if(!D)return 1;let p=L.get(D);if(p)return p;const M=D.parentNode;return p=c.has(M)?M:R.has(M)?1:h(M),L.set(D,p),p}return a.forEach(D=>{const p=h(D);1!==p&&c.get(p).push(D)}),c}function Zn(F,a){var c;null===(c=F.classList)||void 0===c||c.add(a)}function ei(F,a){var c;null===(c=F.classList)||void 0===c||c.remove(a)}function cr(F,a,c){z(c).onDone(()=>F.processLeaveNode(a))}function zi(F,a){for(let c=0;c<F.length;c++){const b=F[c];b instanceof de.ZE?zi(b.players,a):a.push(b)}}function li(F,a,c){const b=c.get(F);if(!b)return!1;let R=a.get(F);return R?b.forEach(L=>R.add(L)):a.set(F,b),c.delete(F),!0}class Ei{constructor(a,c,b){this.bodyNode=a,this._driver=c,this._normalizer=b,this._triggerCache={},this.onRemovalComplete=(R,L)=>{},this._transitionEngine=new Mn(a,c,b),this._timelineEngine=new fe(a,c,b),this._transitionEngine.onRemovalComplete=(R,L)=>this.onRemovalComplete(R,L)}registerTrigger(a,c,b,R,L){const h=a+"-"+R;let D=this._triggerCache[h];if(!D){const p=[],M=Mt(this._driver,L,p);if(p.length)throw new Error(`The animation trigger "${R}" has failed to build due to the following errors:\n - ${p.join("\n - ")}`);D=function nn(F,a,c){return new Pn(F,a,c)}(R,M,this._normalizer),this._triggerCache[h]=D}this._transitionEngine.registerTrigger(c,R,D)}register(a,c){this._transitionEngine.register(a,c)}destroy(a,c){this._transitionEngine.destroy(a,c)}onInsert(a,c,b,R){this._transitionEngine.insertNode(a,c,b,R)}onRemove(a,c,b,R){this._transitionEngine.removeNode(a,c,R||!1,b)}disableAnimations(a,c){this._transitionEngine.markElementAsDisabled(a,c)}process(a,c,b,R){if("@"==b.charAt(0)){const[L,h]=te(b);this._timelineEngine.command(L,c,h,R)}else this._transitionEngine.trigger(a,c,b,R)}listen(a,c,b,R,L){if("@"==b.charAt(0)){const[h,D]=te(b);return this._timelineEngine.listen(h,c,D,L)}return this._transitionEngine.listen(a,c,b,R,L)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Sr=(()=>{class F{constructor(c,b,R){this._element=c,this._startStyles=b,this._endStyles=R,this._state=0;let L=F.initialStylesByElement.get(c);L||F.initialStylesByElement.set(c,L={}),this._initialStyles=L}start(){this._state<1&&(this._startStyles&&Pt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Pt(this._element,this._initialStyles),this._endStyles&&(Pt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(F.initialStylesByElement.delete(this._element),this._startStyles&&(Xt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xt(this._element,this._endStyles),this._endStyles=null),Pt(this._element,this._initialStyles),this._state=3)}}return F.initialStylesByElement=new WeakMap,F})();function Ci(F){let a=null;const c=Object.keys(F);for(let b=0;b<c.length;b++){const R=c[b];Wi(R)&&(a=a||{},a[R]=F[R])}return a}function Wi(F){return"display"===F||"position"===F}class Ar{constructor(a,c,b,R){this.element=a,this.keyframes=c,this.options=b,this._specialStyles=R,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=b.duration,this._delay=b.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,c,b){return a.animate(c,b)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const c=this._finalKeyframe;Object.keys(c).forEach(b=>{"offset"!=b&&(a[b]=this._finished?c[b]:J(this.element,b))})}this.currentSnapshot=a}triggerCallback(a){const c="start"==a?this._onStartFns:this._onDoneFns;c.forEach(b=>b()),c.length=0}}class ur{validateStyleProperty(a){return ze(a)}matchesElement(a,c){return!1}containsElement(a,c){return Ke(a,c)}query(a,c,b){return ge(a,c,b)}computeStyle(a,c,b){return window.getComputedStyle(a)[c]}animate(a,c,b,R,L,h=[]){const p={duration:b,delay:R,fill:0==R?"both":"forwards"};L&&(p.easing=L);const M={},H=h.filter(De=>De instanceof Ar);(function tn(F,a){return 0===F||0===a})(b,R)&&H.forEach(De=>{let Ne=De.currentSnapshot;Object.keys(Ne).forEach(qe=>M[qe]=Ne[qe])}),c=function ke(F,a,c){const b=Object.keys(c);if(b.length&&a.length){let L=a[0],h=[];if(b.forEach(D=>{L.hasOwnProperty(D)||h.push(D),L[D]=c[D]}),h.length)for(var R=1;R<a.length;R++){let D=a[R];h.forEach(function(p){D[p]=J(F,p)})}}return a}(a,c=c.map(De=>Et(De,!1)),M);const ue=function Fi(F,a){let c=null,b=null;return Array.isArray(a)&&a.length?(c=Ci(a[0]),a.length>1&&(b=Ci(a[a.length-1]))):a&&(c=Ci(a)),c||b?new Sr(F,c,b):null}(a,c);return new Ar(a,c,p,ue)}}var Pi=T(9808);let wi=(()=>{class F extends de._j{constructor(c,b){super(),this._nextAnimationId=0,this._renderer=c.createRenderer(b.body,{id:"0",encapsulation:u.ifc.None,styles:[],data:{animation:[]}})}build(c){const b=this._nextAnimationId.toString();this._nextAnimationId++;const R=Array.isArray(c)?(0,de.vP)(c):c;return qi(this._renderer,null,b,"register",[R]),new Ki(b,this._renderer)}}return F.\u0275fac=function(c){return new(c||F)(u.LFG(u.FYo),u.LFG(Pi.K0))},F.\u0275prov=u.Yz7({token:F,factory:F.\u0275fac}),F})();class Ki extends de.LC{constructor(a,c){super(),this._id=a,this._renderer=c}create(a,c){return new Yi(this._id,a,c||{},this._renderer)}}class Yi{constructor(a,c,b,R){this.id=a,this.element=c,this._renderer=R,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",b)}_listen(a,c){return this._renderer.listen(this.element,`@@${this.id}:${a}`,c)}_command(a,...c){return qi(this._renderer,this.element,this.id,a,c)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){var a,c;return null!==(c=null===(a=this._renderer.engine.players[+this.id])||void 0===a?void 0:a.getPosition())&&void 0!==c?c:0}}function qi(F,a,c,b,R){return F.setProperty(a,`@@${c}:${b}`,R)}const Ni="@.disabled";let _i=(()=>{class F{constructor(c,b,R){this.delegate=c,this.engine=b,this._zone=R,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),b.onRemovalComplete=(L,h)=>{const D=null==h?void 0:h.parentNode(L);D&&h.removeChild(D,L)}}createRenderer(c,b){const L=this.delegate.createRenderer(c,b);if(!(c&&b&&b.data&&b.data.animation)){let H=this._rendererCache.get(L);return H||(H=new ki("",L,this.engine),this._rendererCache.set(L,H)),H}const h=b.id,D=b.id+"-"+this._currentId;this._currentId++,this.engine.register(D,c);const p=H=>{Array.isArray(H)?H.forEach(p):this.engine.registerTrigger(h,D,c,H.name,H)};return b.data.animation.forEach(p),new Qi(this,D,L,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(c,b,R){c>=0&&c<this._microtaskId?this._zone.run(()=>b(R)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(L=>{const[h,D]=L;h(D)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([b,R]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return F.\u0275fac=function(c){return new(c||F)(u.LFG(u.FYo),u.LFG(Ei),u.LFG(u.R0b))},F.\u0275prov=u.Yz7({token:F,factory:F.\u0275fac}),F})();class ki{constructor(a,c,b){this.namespaceId=a,this.delegate=c,this.engine=b,this.destroyNode=this.delegate.destroyNode?R=>c.destroyNode(R):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(a,c){return this.delegate.createElement(a,c)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,c){this.delegate.appendChild(a,c),this.engine.onInsert(this.namespaceId,c,a,!1)}insertBefore(a,c,b,R=!0){this.delegate.insertBefore(a,c,b),this.engine.onInsert(this.namespaceId,c,a,R)}removeChild(a,c,b){this.engine.onRemove(this.namespaceId,c,this.delegate,b)}selectRootElement(a,c){return this.delegate.selectRootElement(a,c)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,c,b,R){this.delegate.setAttribute(a,c,b,R)}removeAttribute(a,c,b){this.delegate.removeAttribute(a,c,b)}addClass(a,c){this.delegate.addClass(a,c)}removeClass(a,c){this.delegate.removeClass(a,c)}setStyle(a,c,b,R){this.delegate.setStyle(a,c,b,R)}removeStyle(a,c,b){this.delegate.removeStyle(a,c,b)}setProperty(a,c,b){"@"==c.charAt(0)&&c==Ni?this.disableAnimations(a,!!b):this.delegate.setProperty(a,c,b)}setValue(a,c){this.delegate.setValue(a,c)}listen(a,c,b){return this.delegate.listen(a,c,b)}disableAnimations(a,c){this.engine.disableAnimations(a,c)}}class Qi extends ki{constructor(a,c,b,R){super(c,b,R),this.factory=a,this.namespaceId=c}setProperty(a,c,b){"@"==c.charAt(0)?"."==c.charAt(1)&&c==Ni?this.disableAnimations(a,b=void 0===b||!!b):this.engine.process(this.namespaceId,a,c.substr(1),b):this.delegate.setProperty(a,c,b)}listen(a,c,b){if("@"==c.charAt(0)){const R=function Nr(F){switch(F){case"body":return document.body;case"document":return document;case"window":return window;default:return F}}(a);let L=c.substr(1),h="";return"@"!=L.charAt(0)&&([L,h]=function Mi(F){const a=F.indexOf(".");return[F.substring(0,a),F.substr(a+1)]}(L)),this.engine.listen(this.namespaceId,R,L,h,D=>{this.factory.scheduleListenerCallback(D._data||-1,b,D)})}return this.delegate.listen(a,c,b)}}let ni=(()=>{class F extends Ei{constructor(c,b,R){super(c.body,b,R)}ngOnDestroy(){this.flush()}}return F.\u0275fac=function(c){return new(c||F)(u.LFG(Pi.K0),u.LFG(Kt),u.LFG(be))},F.\u0275prov=u.Yz7({token:F,factory:F.\u0275fac}),F})();const Zi=new u.OlP("AnimationModuleType"),$n=[{provide:de._j,useClass:wi},{provide:be,useFactory:function dr(){return new Ze}},{provide:Ei,useClass:ni},{provide:u.FYo,useFactory:function kn(F,a,c){return new _i(F,a,c)},deps:[m.se,Ei,u.R0b]}],Xi=[{provide:Kt,useFactory:()=>new ur},{provide:Zi,useValue:"BrowserAnimations"},...$n],Tr=[{provide:Kt,useClass:_t},{provide:Zi,useValue:"NoopAnimations"},...$n];let yi=(()=>{class F{static withConfig(c){return{ngModule:F,providers:c.disableAnimations?Tr:Xi}}}return F.\u0275fac=function(c){return new(c||F)},F.\u0275mod=u.oAB({type:F}),F.\u0275inj=u.cJS({providers:Xi,imports:[m.b2]}),F})()},2313:(tt,Se,T)=>{T.d(Se,{b2:()=>Sn,H7:()=>sn,q6:()=>Gt,se:()=>Tt});var u=T(9808),m=T(5e3);class de extends u.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class _e extends de{static makeCurrent(){(0,u.HT)(new _e)}onAndCancel(re,G,oe){return re.addEventListener(G,oe,!1),()=>{re.removeEventListener(G,oe,!1)}}dispatchEvent(re,G){re.dispatchEvent(G)}remove(re){re.parentNode&&re.parentNode.removeChild(re)}createElement(re,G){return(G=G||this.getDefaultDocument()).createElement(re)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(re){return re.nodeType===Node.ELEMENT_NODE}isShadowRoot(re){return re instanceof DocumentFragment}getGlobalEventTarget(re,G){return"window"===G?window:"document"===G?re:"body"===G?re.body:null}getBaseHref(re){const G=function z(){return se=se||document.querySelector("base"),se?se.getAttribute("href"):null}();return null==G?null:function j(ye){le=le||document.createElement("a"),le.setAttribute("href",ye);const re=le.pathname;return"/"===re.charAt(0)?re:`/${re}`}(G)}resetBaseElement(){se=null}getUserAgent(){return window.navigator.userAgent}getCookie(re){return(0,u.Mx)(document.cookie,re)}}let le,se=null;const Y=new m.OlP("TRANSITION_ID"),X=[{provide:m.ip1,useFactory:function Q(ye,re,G){return()=>{G.get(m.CZH).donePromise.then(()=>{const oe=(0,u.q)(),W=re.querySelectorAll(`style[ng-transition="${ye}"]`);for(let U=0;U<W.length;U++)oe.remove(W[U])})}},deps:[Y,u.K0,m.zs3],multi:!0}];class te{static init(){(0,m.VLi)(new te)}addToWindow(re){m.dqk.getAngularTestability=(oe,W=!0)=>{const U=re.findTestabilityInTree(oe,W);if(null==U)throw new Error("Could not find testability for element.");return U},m.dqk.getAllAngularTestabilities=()=>re.getAllTestabilities(),m.dqk.getAllAngularRootElements=()=>re.getAllRootElements(),m.dqk.frameworkStabilizers||(m.dqk.frameworkStabilizers=[]),m.dqk.frameworkStabilizers.push(oe=>{const W=m.dqk.getAllAngularTestabilities();let U=W.length,N=!1;const Z=function(be){N=N||be,U--,0==U&&oe(N)};W.forEach(function(be){be.whenStable(Z)})})}findTestabilityInTree(re,G,oe){if(null==G)return null;const W=re.getTestability(G);return null!=W?W:oe?(0,u.q)().isShadowRoot(G)?this.findTestabilityInTree(re,G.host,!0):this.findTestabilityInTree(re,G.parentElement,!0):null}}let Ce=(()=>{class ye{build(){return new XMLHttpRequest}}return ye.\u0275fac=function(G){return new(G||ye)},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac}),ye})();const ve=new m.OlP("EventManagerPlugins");let he=(()=>{class ye{constructor(G,oe){this._zone=oe,this._eventNameToPlugin=new Map,G.forEach(W=>W.manager=this),this._plugins=G.slice().reverse()}addEventListener(G,oe,W){return this._findPluginFor(oe).addEventListener(G,oe,W)}addGlobalEventListener(G,oe,W){return this._findPluginFor(oe).addGlobalEventListener(G,oe,W)}getZone(){return this._zone}_findPluginFor(G){const oe=this._eventNameToPlugin.get(G);if(oe)return oe;const W=this._plugins;for(let U=0;U<W.length;U++){const N=W[U];if(N.supports(G))return this._eventNameToPlugin.set(G,N),N}throw new Error(`No event manager plugin found for event ${G}`)}}return ye.\u0275fac=function(G){return new(G||ye)(m.LFG(ve),m.LFG(m.R0b))},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac}),ye})();class pe{constructor(re){this._doc=re}addGlobalEventListener(re,G,oe){const W=(0,u.q)().getGlobalEventTarget(this._doc,re);if(!W)throw new Error(`Unsupported event target ${W} for event ${G}`);return this.addEventListener(W,G,oe)}}let ce=(()=>{class ye{constructor(){this._stylesSet=new Set}addStyles(G){const oe=new Set;G.forEach(W=>{this._stylesSet.has(W)||(this._stylesSet.add(W),oe.add(W))}),this.onStylesAdded(oe)}onStylesAdded(G){}getAllStyles(){return Array.from(this._stylesSet)}}return ye.\u0275fac=function(G){return new(G||ye)},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac}),ye})(),Le=(()=>{class ye extends ce{constructor(G){super(),this._doc=G,this._hostNodes=new Map,this._hostNodes.set(G.head,[])}_addStylesToHost(G,oe,W){G.forEach(U=>{const N=this._doc.createElement("style");N.textContent=U,W.push(oe.appendChild(N))})}addHost(G){const oe=[];this._addStylesToHost(this._stylesSet,G,oe),this._hostNodes.set(G,oe)}removeHost(G){const oe=this._hostNodes.get(G);oe&&oe.forEach(ze),this._hostNodes.delete(G)}onStylesAdded(G){this._hostNodes.forEach((oe,W)=>{this._addStylesToHost(G,W,oe)})}ngOnDestroy(){this._hostNodes.forEach(G=>G.forEach(ze))}}return ye.\u0275fac=function(G){return new(G||ye)(m.LFG(u.K0))},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac}),ye})();function ze(ye){(0,u.q)().remove(ye)}const Dt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ke=/%COMP%/g;function Rt(ye,re,G){for(let oe=0;oe<re.length;oe++){let W=re[oe];Array.isArray(W)?Rt(ye,W,G):(W=W.replace(Ke,ye),G.push(W))}return G}function xt(ye){return re=>{if("__ngUnwrap__"===re)return ye;!1===ye(re)&&(re.preventDefault(),re.returnValue=!1)}}let Tt=(()=>{class ye{constructor(G,oe,W){this.eventManager=G,this.sharedStylesHost=oe,this.appId=W,this.rendererByCompId=new Map,this.defaultRenderer=new He(G)}createRenderer(G,oe){if(!G||!oe)return this.defaultRenderer;switch(oe.encapsulation){case m.ifc.Emulated:{let W=this.rendererByCompId.get(oe.id);return W||(W=new Ft(this.eventManager,this.sharedStylesHost,oe,this.appId),this.rendererByCompId.set(oe.id,W)),W.applyToHost(G),W}case 1:case m.ifc.ShadowDom:return new Lt(this.eventManager,this.sharedStylesHost,G,oe);default:if(!this.rendererByCompId.has(oe.id)){const W=Rt(oe.id,oe.styles,[]);this.sharedStylesHost.addStyles(W),this.rendererByCompId.set(oe.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ye.\u0275fac=function(G){return new(G||ye)(m.LFG(he),m.LFG(Le),m.LFG(m.AFp))},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac}),ye})();class He{constructor(re){this.eventManager=re,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(re,G){return G?document.createElementNS(Dt[G]||G,re):document.createElement(re)}createComment(re){return document.createComment(re)}createText(re){return document.createTextNode(re)}appendChild(re,G){re.appendChild(G)}insertBefore(re,G,oe){re&&re.insertBefore(G,oe)}removeChild(re,G){re&&re.removeChild(G)}selectRootElement(re,G){let oe="string"==typeof re?document.querySelector(re):re;if(!oe)throw new Error(`The selector "${re}" did not match any elements`);return G||(oe.textContent=""),oe}parentNode(re){return re.parentNode}nextSibling(re){return re.nextSibling}setAttribute(re,G,oe,W){if(W){G=W+":"+G;const U=Dt[W];U?re.setAttributeNS(U,G,oe):re.setAttribute(G,oe)}else re.setAttribute(G,oe)}removeAttribute(re,G,oe){if(oe){const W=Dt[oe];W?re.removeAttributeNS(W,G):re.removeAttribute(`${oe}:${G}`)}else re.removeAttribute(G)}addClass(re,G){re.classList.add(G)}removeClass(re,G){re.classList.remove(G)}setStyle(re,G,oe,W){W&(m.JOm.DashCase|m.JOm.Important)?re.style.setProperty(G,oe,W&m.JOm.Important?"important":""):re.style[G]=oe}removeStyle(re,G,oe){oe&m.JOm.DashCase?re.style.removeProperty(G):re.style[G]=""}setProperty(re,G,oe){re[G]=oe}setValue(re,G){re.nodeValue=G}listen(re,G,oe){return"string"==typeof re?this.eventManager.addGlobalEventListener(re,G,xt(oe)):this.eventManager.addEventListener(re,G,xt(oe))}}class Ft extends He{constructor(re,G,oe,W){super(re),this.component=oe;const U=Rt(W+"-"+oe.id,oe.styles,[]);G.addStyles(U),this.contentAttr=function en(ye){return"_ngcontent-%COMP%".replace(Ke,ye)}(W+"-"+oe.id),this.hostAttr=function At(ye){return"_nghost-%COMP%".replace(Ke,ye)}(W+"-"+oe.id)}applyToHost(re){super.setAttribute(re,this.hostAttr,"")}createElement(re,G){const oe=super.createElement(re,G);return super.setAttribute(oe,this.contentAttr,""),oe}}class Lt extends He{constructor(re,G,oe,W){super(re),this.sharedStylesHost=G,this.hostEl=oe,this.shadowRoot=oe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const U=Rt(W.id,W.styles,[]);for(let N=0;N<U.length;N++){const Z=document.createElement("style");Z.textContent=U[N],this.shadowRoot.appendChild(Z)}}nodeOrShadowRoot(re){return re===this.hostEl?this.shadowRoot:re}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(re,G){return super.appendChild(this.nodeOrShadowRoot(re),G)}insertBefore(re,G,oe){return super.insertBefore(this.nodeOrShadowRoot(re),G,oe)}removeChild(re,G){return super.removeChild(this.nodeOrShadowRoot(re),G)}parentNode(re){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(re)))}}let lt=(()=>{class ye extends pe{constructor(G){super(G)}supports(G){return!0}addEventListener(G,oe,W){return G.addEventListener(oe,W,!1),()=>this.removeEventListener(G,oe,W)}removeEventListener(G,oe,W){return G.removeEventListener(oe,W)}}return ye.\u0275fac=function(G){return new(G||ye)(m.LFG(u.K0))},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac}),ye})();const an=["alt","control","meta","shift"],pn={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Et={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},$t={alt:ye=>ye.altKey,control:ye=>ye.ctrlKey,meta:ye=>ye.metaKey,shift:ye=>ye.shiftKey};let Bt=(()=>{class ye extends pe{constructor(G){super(G)}supports(G){return null!=ye.parseEventName(G)}addEventListener(G,oe,W){const U=ye.parseEventName(oe),N=ye.eventCallback(U.fullKey,W,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,u.q)().onAndCancel(G,U.domEventName,N))}static parseEventName(G){const oe=G.toLowerCase().split("."),W=oe.shift();if(0===oe.length||"keydown"!==W&&"keyup"!==W)return null;const U=ye._normalizeKey(oe.pop());let N="";if(an.forEach(be=>{const Ie=oe.indexOf(be);Ie>-1&&(oe.splice(Ie,1),N+=be+".")}),N+=U,0!=oe.length||0===U.length)return null;const Z={};return Z.domEventName=W,Z.fullKey=N,Z}static getEventFullKey(G){let oe="",W=function Pt(ye){let re=ye.key;if(null==re){if(re=ye.keyIdentifier,null==re)return"Unidentified";re.startsWith("U+")&&(re=String.fromCharCode(parseInt(re.substring(2),16)),3===ye.location&&Et.hasOwnProperty(re)&&(re=Et[re]))}return pn[re]||re}(G);return W=W.toLowerCase()," "===W?W="space":"."===W&&(W="dot"),an.forEach(U=>{U!=W&&$t[U](G)&&(oe+=U+".")}),oe+=W,oe}static eventCallback(G,oe,W){return U=>{ye.getEventFullKey(U)===G&&W.runGuarded(()=>oe(U))}}static _normalizeKey(G){return"esc"===G?"escape":G}}return ye.\u0275fac=function(G){return new(G||ye)(m.LFG(u.K0))},ye.\u0275prov=m.Yz7({token:ye,factory:ye.\u0275fac}),ye})();const Gt=(0,m.eFA)(m._c5,"browser",[{provide:m.Lbi,useValue:u.bD},{provide:m.g9A,useValue:function Xt(){_e.makeCurrent(),te.init()},multi:!0},{provide:u.K0,useFactory:function gn(){return(0,m.RDi)(document),document},deps:[]}]),ln=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function Cn(){return new m.qLn},deps:[]},{provide:ve,useClass:lt,multi:!0,deps:[u.K0,m.R0b,m.Lbi]},{provide:ve,useClass:Bt,multi:!0,deps:[u.K0]},{provide:Tt,useClass:Tt,deps:[he,Le,m.AFp]},{provide:m.FYo,useExisting:Tt},{provide:ce,useExisting:Le},{provide:Le,useClass:Le,deps:[u.K0]},{provide:m.dDg,useClass:m.dDg,deps:[m.R0b]},{provide:he,useClass:he,deps:[ve,m.R0b]},{provide:u.JF,useClass:Ce,deps:[]}];let Sn=(()=>{class ye{constructor(G){if(G)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(G){return{ngModule:ye,providers:[{provide:m.AFp,useValue:G.appId},{provide:Y,useExisting:m.AFp},X]}}}return ye.\u0275fac=function(G){return new(G||ye)(m.LFG(ye,12))},ye.\u0275mod=m.oAB({type:ye}),ye.\u0275inj=m.cJS({providers:ln,imports:[u.ez,m.hGG]}),ye})();"undefined"!=typeof window&&window;let sn=(()=>{class ye{}return ye.\u0275fac=function(G){return new(G||ye)},ye.\u0275prov=m.Yz7({token:ye,factory:function(G){let oe=null;return oe=G?new(G||ye):m.LFG(Jt),oe},providedIn:"root"}),ye})(),Jt=(()=>{class ye extends sn{constructor(G){super(),this._doc=G}sanitize(G,oe){if(null==oe)return null;switch(G){case m.q3G.NONE:return oe;case m.q3G.HTML:return(0,m.qzn)(oe,"HTML")?(0,m.z3N)(oe):(0,m.EiD)(this._doc,String(oe)).toString();case m.q3G.STYLE:return(0,m.qzn)(oe,"Style")?(0,m.z3N)(oe):oe;case m.q3G.SCRIPT:if((0,m.qzn)(oe,"Script"))return(0,m.z3N)(oe);throw new Error("unsafe value used in a script context");case m.q3G.URL:return(0,m.yhl)(oe),(0,m.qzn)(oe,"URL")?(0,m.z3N)(oe):(0,m.mCW)(String(oe));case m.q3G.RESOURCE_URL:if((0,m.qzn)(oe,"ResourceURL"))return(0,m.z3N)(oe);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${G} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(G){return(0,m.JVY)(G)}bypassSecurityTrustStyle(G){return(0,m.L6k)(G)}bypassSecurityTrustScript(G){return(0,m.eBb)(G)}bypassSecurityTrustUrl(G){return(0,m.LAX)(G)}bypassSecurityTrustResourceUrl(G){return(0,m.pB0)(G)}}return ye.\u0275fac=function(G){return new(G||ye)(m.LFG(u.K0))},ye.\u0275prov=m.Yz7({token:ye,factory:function(G){let oe=null;return oe=G?new G:function cn(ye){return new Jt(ye.get(u.K0))}(m.LFG(m.zs3)),oe},providedIn:"root"}),ye})()},1458:(tt,Se,T)=>{T.d(Se,{gz:()=>Mn,m2:()=>ln,F0:()=>Bn,rH:()=>as,Od:()=>Go,yS:()=>pr,Bz:()=>Br,lC:()=>c});var u=T(5e3);const de=(()=>{function g(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return g.prototype=Object.create(Error.prototype),g})();var _e=T(2916),se=T(5254),z=T(8896);function le(g){return new _e.y(d=>{let l;try{l=g()}catch(w){return void d.error(w)}return(l?(0,se.D)(l):(0,z.c)()).subscribe(d)})}var j=T(1086),Y=T(591),Q=T(3426),X=T(1221),te=T(1762),Ce=T(8929),ve=T(4850),he=T(1177);function pe(g,d){return"function"==typeof d?l=>l.pipe(pe((E,w)=>(0,se.D)(g(E,w)).pipe((0,ve.U)((P,K)=>d(E,P,w,K))))):l=>l.lift(new ce(g))}class ce{constructor(d){this.project=d}call(d,l){return l.subscribe(new Le(d,this.project))}}class Le extends he.Ds{constructor(d,l){super(d),this.project=l,this.index=0}_next(d){let l;const E=this.index++;try{l=this.project(d,E)}catch(w){return void this.destination.error(w)}this._innerSub(l)}_innerSub(d){const l=this.innerSubscription;l&&l.unsubscribe();const E=new he.IY(this),w=this.destination;w.add(E),this.innerSubscription=(0,he.ft)(d,E),this.innerSubscription!==E&&w.add(this.innerSubscription)}_complete(){const{innerSubscription:d}=this;(!d||d.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(d){this.destination.next(d)}}var ze=T(3489);function Dt(g,d){let l=!1;return arguments.length>=2&&(l=!0),function(w){return w.lift(new Ke(g,d,l))}}class Ke{constructor(d,l,E=!1){this.accumulator=d,this.seed=l,this.hasSeed=E}call(d,l){return l.subscribe(new ge(d,this.accumulator,this.seed,this.hasSeed))}}class ge extends ze.L{constructor(d,l,E,w){super(d),this.accumulator=l,this._seed=E,this.hasSeed=w,this.index=0}get seed(){return this._seed}set seed(d){this.hasSeed=!0,this._seed=d}_next(d){if(this.hasSeed)return this._tryNext(d);this.seed=d,this.destination.next(d)}_tryNext(d){const l=this.index++;let E;try{E=this.accumulator(this.seed,d,l)}catch(w){this.destination.error(w)}this.seed=E,this.destination.next(E)}}var Ue=T(2198),_t=T(4231);function Kt(g){return function(l){return 0===g?(0,z.c)():l.lift(new en(g))}}class en{constructor(d){if(this.total=d,this.total<0)throw new _t.W}call(d,l){return l.subscribe(new At(d,this.total))}}class At extends ze.L{constructor(d,l){super(d),this.total=l,this.ring=new Array,this.count=0}_next(d){const l=this.ring,E=this.total,w=this.count++;l.length<E?l.push(d):l[w%E]=d}_complete(){const d=this.destination;let l=this.count;if(l>0){const E=this.count>=this.total?this.total:this.count,w=this.ring;for(let P=0;P<E;P++){const K=l++%E;d.next(w[K])}}d.complete()}}function Rt(g=Tt){return d=>d.lift(new xt(g))}class xt{constructor(d){this.errorFactory=d}call(d,l){return l.subscribe(new ft(d,this.errorFactory))}}class ft extends ze.L{constructor(d,l){super(d),this.errorFactory=l,this.hasValue=!1}_next(d){this.hasValue=!0,this.destination.next(d)}_complete(){if(this.hasValue)return this.destination.complete();{let d;try{d=this.errorFactory()}catch(l){d=l}this.destination.error(d)}}}function Tt(){return new de}function He(g=null){return d=>d.lift(new jn(g))}class jn{constructor(d){this.defaultValue=d}call(d,l){return l.subscribe(new mn(d,this.defaultValue))}}class mn extends ze.L{constructor(d,l){super(d),this.defaultValue=l,this.isEmpty=!0}_next(d){this.isEmpty=!1,this.destination.next(d)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Ft=T(5379),lt=T(2986);function an(g,d){const l=arguments.length>=2;return E=>E.pipe(g?(0,Ue.h)((w,P)=>g(w,P,E)):Ft.y,(0,lt.q)(1),l?He(d):Rt(()=>new de))}var In=T(1059),pn=T(7221),Et=T(1406),$t=T(1709),Bt=T(2868),Pt=T(4327),Xt=T(537),Cn=T(9146),gn=T(9808);class zt{constructor(d,l){this.id=d,this.url=l}}class Gt extends zt{constructor(d,l,E="imperative",w=null){super(d,l),this.navigationTrigger=E,this.restoredState=w}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ln extends zt{constructor(d,l,E){super(d,l),this.urlAfterRedirects=E}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Sn extends zt{constructor(d,l,E){super(d,l),this.reason=E}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class si extends zt{constructor(d,l,E){super(d,l),this.error=E}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ct extends zt{constructor(d,l,E,w){super(d,l),this.urlAfterRedirects=E,this.state=w}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wn extends zt{constructor(d,l,E,w){super(d,l),this.urlAfterRedirects=E,this.state=w}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tn extends zt{constructor(d,l,E,w,P){super(d,l),this.urlAfterRedirects=E,this.state=w,this.shouldActivate=P}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ke extends zt{constructor(d,l,E,w){super(d,l),this.urlAfterRedirects=E,this.state=w}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ae extends zt{constructor(d,l,E,w){super(d,l),this.urlAfterRedirects=E,this.state=w}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J{constructor(d){this.route=d}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Me{constructor(d){this.route=d}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ge{constructor(d){this.snapshot=d}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class et{constructor(d){this.snapshot=d}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nt{constructor(d){this.snapshot=d}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bt{constructor(d){this.snapshot=d}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ye{constructor(d,l,E){this.routerEvent=d,this.position=l,this.anchor=E}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Pe="primary";class Yn{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l[0]:l}return null}getAll(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function vn(g){return new Yn(g)}const Mt="ngNavigationCancelingError";function On(g){const d=Error("NavigationCancelingError: "+g);return d[Mt]=!0,d}function _n(g,d,l){const E=l.path.split("/");if(E.length>g.length||"full"===l.pathMatch&&(d.hasChildren()||E.length<g.length))return null;const w={};for(let P=0;P<E.length;P++){const K=E[P],ne=g[P];if(K.startsWith(":"))w[K.substring(1)]=ne;else if(K!==ne.path)return null}return{consumed:g.slice(0,E.length),posParams:w}}function rn(g,d){const l=g?Object.keys(g):void 0,E=d?Object.keys(d):void 0;if(!l||!E||l.length!=E.length)return!1;let w;for(let P=0;P<l.length;P++)if(w=l[P],!Ee(g[w],d[w]))return!1;return!0}function Ee(g,d){if(Array.isArray(g)&&Array.isArray(d)){if(g.length!==d.length)return!1;const l=[...g].sort(),E=[...d].sort();return l.every((w,P)=>E[P]===w)}return g===d}function B(g){return Array.prototype.concat.apply([],g)}function O(g){return g.length>0?g[g.length-1]:null}function ee(g,d){for(const l in g)g.hasOwnProperty(l)&&d(g[l],l)}function we(g){return(0,u.CqO)(g)?g:(0,u.QGY)(g)?(0,se.D)(Promise.resolve(g)):(0,j.of)(g)}const Ot={exact:function Jt(g,d,l){if(!Z(g.segments,d.segments)||!G(g.segments,d.segments,l)||g.numberOfChildren!==d.numberOfChildren)return!1;for(const E in d.children)if(!g.children[E]||!Jt(g.children[E],d.children[E],l))return!1;return!0},subset:ye},jt={exact:function cn(g,d){return rn(g,d)},subset:function Fn(g,d){return Object.keys(d).length<=Object.keys(g).length&&Object.keys(d).every(l=>Ee(g[l],d[l]))},ignored:()=>!0};function sn(g,d,l){return Ot[l.paths](g.root,d.root,l.matrixParams)&&jt[l.queryParams](g.queryParams,d.queryParams)&&!("exact"===l.fragment&&g.fragment!==d.fragment)}function ye(g,d,l){return re(g,d,d.segments,l)}function re(g,d,l,E){if(g.segments.length>l.length){const w=g.segments.slice(0,l.length);return!(!Z(w,l)||d.hasChildren()||!G(w,l,E))}if(g.segments.length===l.length){if(!Z(g.segments,l)||!G(g.segments,l,E))return!1;for(const w in d.children)if(!g.children[w]||!ye(g.children[w],d.children[w],E))return!1;return!0}{const w=l.slice(0,g.segments.length),P=l.slice(g.segments.length);return!!(Z(g.segments,w)&&G(g.segments,w,E)&&g.children[Pe])&&re(g.children[Pe],d,P,E)}}function G(g,d,l){return d.every((E,w)=>jt[l](g[w].parameters,E.parameters))}class oe{constructor(d,l,E){this.root=d,this.queryParams=l,this.fragment=E}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=vn(this.queryParams)),this._queryParamMap}toString(){return ut.serialize(this)}}class W{constructor(d,l){this.segments=d,this.children=l,this.parent=null,ee(l,(E,w)=>E.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return st(this)}}class U{constructor(d,l){this.path=d,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=vn(this.parameters)),this._parameterMap}toString(){return un(this)}}function Z(g,d){return g.length===d.length&&g.every((l,E)=>l.path===d[E].path)}class Ie{}class Ze{parse(d){const l=new dn(d);return new oe(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(d){const l=`/${Wt(d.root,!0)}`,E=function q(g){const d=Object.keys(g).map(l=>{const E=g[l];return Array.isArray(E)?E.map(w=>`${je(l)}=${je(w)}`).join("&"):`${je(l)}=${je(E)}`}).filter(l=>!!l);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${l}${E}${"string"==typeof d.fragment?`#${function yt(g){return encodeURI(g)}(d.fragment)}`:""}`}}const ut=new Ze;function st(g){return g.segments.map(d=>un(d)).join("/")}function Wt(g,d){if(!g.hasChildren())return st(g);if(d){const l=g.children[Pe]?Wt(g.children[Pe],!1):"",E=[];return ee(g.children,(w,P)=>{P!==Pe&&E.push(`${P}:${Wt(w,!1)}`)}),E.length>0?`${l}(${E.join("//")})`:l}{const l=function be(g,d){let l=[];return ee(g.children,(E,w)=>{w===Pe&&(l=l.concat(d(E,w)))}),ee(g.children,(E,w)=>{w!==Pe&&(l=l.concat(d(E,w)))}),l}(g,(E,w)=>w===Pe?[Wt(g.children[Pe],!1)]:[`${w}:${Wt(E,!1)}`]);return 1===Object.keys(g.children).length&&null!=g.children[Pe]?`${st(g)}/${l[0]}`:`${st(g)}/(${l.join("//")})`}}function Ut(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function je(g){return Ut(g).replace(/%3B/gi,";")}function pt(g){return Ut(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function nn(g){return decodeURIComponent(g)}function Pn(g){return nn(g.replace(/\+/g,"%20"))}function un(g){return`${pt(g.path)}${function Un(g){return Object.keys(g).map(d=>`;${pt(d)}=${pt(g[d])}`).join("")}(g.parameters)}`}const fe=/^[^\/()?;=#]+/;function A(g){const d=g.match(fe);return d?d[0]:""}const V=/^[^=?&#]+/,Be=/^[^&#]+/;class dn{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new W([],{}):new W([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let E={};return this.peekStartsWith("(")&&(E=this.parseParens(!1)),(d.length>0||Object.keys(l).length>0)&&(E[Pe]=new W(d,l)),E}parseSegment(){const d=A(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(d),new U(nn(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const l=A(this.remaining);if(!l)return;this.capture(l);let E="";if(this.consumeOptional("=")){const w=A(this.remaining);w&&(E=w,this.capture(E))}d[nn(l)]=nn(E)}parseQueryParam(d){const l=function Oe(g){const d=g.match(V);return d?d[0]:""}(this.remaining);if(!l)return;this.capture(l);let E="";if(this.consumeOptional("=")){const K=function gt(g){const d=g.match(Be);return d?d[0]:""}(this.remaining);K&&(E=K,this.capture(E))}const w=Pn(l),P=Pn(E);if(d.hasOwnProperty(w)){let K=d[w];Array.isArray(K)||(K=[K],d[w]=K),K.push(P)}else d[w]=P}parseParens(d){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const E=A(this.remaining),w=this.remaining[E.length];if("/"!==w&&")"!==w&&";"!==w)throw new Error(`Cannot parse url '${this.url}'`);let P;E.indexOf(":")>-1?(P=E.substr(0,E.indexOf(":")),this.capture(P),this.capture(":")):d&&(P=Pe);const K=this.parseChildren();l[P]=1===Object.keys(K).length?K[Pe]:new W([],K),this.consumeOptional("//")}return l}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new Error(`Expected "${d}".`)}}class Ht{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const l=this.pathFromRoot(d);return l.length>1?l[l.length-2]:null}children(d){const l=on(d,this._root);return l?l.children.map(E=>E.value):[]}firstChild(d){const l=on(d,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(d){const l=St(d,this._root);return l.length<2?[]:l[l.length-2].children.map(w=>w.value).filter(w=>w!==d)}pathFromRoot(d){return St(d,this._root).map(l=>l.value)}}function on(g,d){if(g===d.value)return d;for(const l of d.children){const E=on(g,l);if(E)return E}return null}function St(g,d){if(g===d.value)return[d];for(const l of d.children){const E=St(g,l);if(E.length)return E.unshift(d),E}return[]}class Ct{constructor(d,l){this.value=d,this.children=l}toString(){return`TreeNode(${this.value})`}}function It(g){const d={};return g&&g.children.forEach(l=>d[l.value.outlet]=l),d}class Qn extends Ht{constructor(d,l){super(d),this.snapshot=l,lr(this,d)}toString(){return this.snapshot.toString()}}function ai(g,d){const l=function Hn(g,d){const K=new oi([],{},{},"",{},Pe,d,null,g.root,-1,{});return new Nn("",new Ct(K,[]))}(g,d),E=new Y.X([new U("",{})]),w=new Y.X({}),P=new Y.X({}),K=new Y.X({}),ne=new Y.X(""),Te=new Mn(E,w,K,ne,P,Pe,d,l.root);return Te.snapshot=l.root,new Qn(new Ct(Te,[]),l)}class Mn{constructor(d,l,E,w,P,K,ne,Te){this.url=d,this.params=l,this.queryParams=E,this.fragment=w,this.data=P,this.outlet=K,this.component=ne,this._futureSnapshot=Te}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ve.U)(d=>vn(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ve.U)(d=>vn(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function fi(g,d="emptyOnly"){const l=g.pathFromRoot;let E=0;if("always"!==d)for(E=l.length-1;E>=1;){const w=l[E],P=l[E-1];if(w.routeConfig&&""===w.routeConfig.path)E--;else{if(P.component)break;E--}}return function Hi(g){return g.reduce((d,l)=>({params:Object.assign(Object.assign({},d.params),l.params),data:Object.assign(Object.assign({},d.data),l.data),resolve:Object.assign(Object.assign({},d.resolve),l._resolvedData)}),{params:{},data:{},resolve:{}})}(l.slice(E))}class oi{constructor(d,l,E,w,P,K,ne,Te,ot,Qt,ht){this.url=d,this.params=l,this.queryParams=E,this.fragment=w,this.data=P,this.outlet=K,this.component=ne,this.routeConfig=Te,this._urlSegment=ot,this._lastPathIndex=Qt,this._resolve=ht}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=vn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=vn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(E=>E.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Nn extends Ht{constructor(d,l){super(l),this.url=d,lr(this,l)}toString(){return Ri(this._root)}}function lr(g,d){d.value._routerState=g,d.children.forEach(l=>lr(g,l))}function Ri(g){const d=g.children.length>0?` { ${g.children.map(Ri).join(", ")} } `:"";return`${g.value}${d}`}function $i(g){if(g.snapshot){const d=g.snapshot,l=g._futureSnapshot;g.snapshot=l,rn(d.queryParams,l.queryParams)||g.queryParams.next(l.queryParams),d.fragment!==l.fragment&&g.fragment.next(l.fragment),rn(d.params,l.params)||g.params.next(l.params),function it(g,d){if(g.length!==d.length)return!1;for(let l=0;l<g.length;++l)if(!rn(g[l],d[l]))return!1;return!0}(d.url,l.url)||g.url.next(l.url),rn(d.data,l.data)||g.data.next(l.data)}else g.snapshot=g._futureSnapshot,g.data.next(g._futureSnapshot.data)}function Rn(g,d){const l=rn(g.params,d.params)&&function N(g,d){return Z(g,d)&&g.every((l,E)=>rn(l.parameters,d[E].parameters))}(g.url,d.url);return l&&!(!g.parent!=!d.parent)&&(!g.parent||Rn(g.parent,d.parent))}function ei(g,d,l){if(l&&g.shouldReuseRoute(d.value,l.value.snapshot)){const E=l.value;E._futureSnapshot=d.value;const w=function cr(g,d,l){return d.children.map(E=>{for(const w of l.children)if(g.shouldReuseRoute(E.value,w.value.snapshot))return ei(g,E,w);return ei(g,E)})}(g,d,l);return new Ct(E,w)}{if(g.shouldAttach(d.value)){const P=g.retrieve(d.value);if(null!==P){const K=P.route;return K.value._futureSnapshot=d.value,K.children=d.children.map(ne=>ei(g,ne)),K}}const E=function Pr(g){return new Mn(new Y.X(g.url),new Y.X(g.params),new Y.X(g.queryParams),new Y.X(g.fragment),new Y.X(g.data),g.outlet,g.component,g)}(d.value),w=d.children.map(P=>ei(g,P));return new Ct(E,w)}}function Gi(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function li(g){return"object"==typeof g&&null!=g&&g.outlets}function Ei(g,d,l,E,w){let P={};return E&&ee(E,(K,ne)=>{P[ne]=Array.isArray(K)?K.map(Te=>`${Te}`):`${K}`}),new oe(l.root===g?d:Fi(l.root,g,d),P,w)}function Fi(g,d,l){const E={};return ee(g.children,(w,P)=>{E[P]=w===d?l:Fi(w,d,l)}),new W(g.segments,E)}class Sr{constructor(d,l,E){if(this.isAbsolute=d,this.numberOfDoubleDots=l,this.commands=E,d&&E.length>0&&Gi(E[0]))throw new Error("Root segment cannot have matrix parameters");const w=E.find(li);if(w&&w!==O(E))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Wi{constructor(d,l,E){this.segmentGroup=d,this.processChildren=l,this.index=E}}function wi(g,d,l){if(g||(g=new W([],{})),0===g.segments.length&&g.hasChildren())return Ki(g,d,l);const E=function Yi(g,d,l){let E=0,w=d;const P={match:!1,pathIndex:0,commandIndex:0};for(;w<g.segments.length;){if(E>=l.length)return P;const K=g.segments[w],ne=l[E];if(li(ne))break;const Te=`${ne}`,ot=E<l.length-1?l[E+1]:null;if(w>0&&void 0===Te)break;if(Te&&ot&&"object"==typeof ot&&void 0===ot.outlets){if(!_i(Te,ot,K))return P;E+=2}else{if(!_i(Te,{},K))return P;E++}w++}return{match:!0,pathIndex:w,commandIndex:E}}(g,d,l),w=l.slice(E.commandIndex);if(E.match&&E.pathIndex<g.segments.length){const P=new W(g.segments.slice(0,E.pathIndex),{});return P.children[Pe]=new W(g.segments.slice(E.pathIndex),g.children),Ki(P,0,w)}return E.match&&0===w.length?new W(g.segments,{}):E.match&&!g.hasChildren()?qi(g,d,l):E.match?Ki(g,0,w):qi(g,d,l)}function Ki(g,d,l){if(0===l.length)return new W(g.segments,{});{const E=function Pi(g){return li(g[0])?g[0].outlets:{[Pe]:g}}(l),w={};return ee(E,(P,K)=>{"string"==typeof P&&(P=[P]),null!==P&&(w[K]=wi(g.children[K],d,P))}),ee(g.children,(P,K)=>{void 0===E[K]&&(w[K]=P)}),new W(g.segments,w)}}function qi(g,d,l){const E=g.segments.slice(0,d);let w=0;for(;w<l.length;){const P=l[w];if(li(P)){const Te=ti(P.outlets);return new W(E,Te)}if(0===w&&Gi(l[0])){E.push(new U(g.segments[d].path,Ni(l[0]))),w++;continue}const K=li(P)?P.outlets[Pe]:`${P}`,ne=w<l.length-1?l[w+1]:null;K&&ne&&Gi(ne)?(E.push(new U(K,Ni(ne))),w+=2):(E.push(new U(K,{})),w++)}return new W(E,{})}function ti(g){const d={};return ee(g,(l,E)=>{"string"==typeof l&&(l=[l]),null!==l&&(d[E]=qi(new W([],{}),0,l))}),d}function Ni(g){const d={};return ee(g,(l,E)=>d[E]=`${l}`),d}function _i(g,d,l){return g==l.path&&rn(d,l.parameters)}class Qi{constructor(d,l,E,w){this.routeReuseStrategy=d,this.futureState=l,this.currState=E,this.forwardEvent=w}activate(d){const l=this.futureState._root,E=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,E,d),$i(this.futureState.root),this.activateChildRoutes(l,E,d)}deactivateChildRoutes(d,l,E){const w=It(l);d.children.forEach(P=>{const K=P.value.outlet;this.deactivateRoutes(P,w[K],E),delete w[K]}),ee(w,(P,K)=>{this.deactivateRouteAndItsChildren(P,E)})}deactivateRoutes(d,l,E){const w=d.value,P=l?l.value:null;if(w===P)if(w.component){const K=E.getContext(w.outlet);K&&this.deactivateChildRoutes(d,l,K.children)}else this.deactivateChildRoutes(d,l,E);else P&&this.deactivateRouteAndItsChildren(l,E)}deactivateRouteAndItsChildren(d,l){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,l):this.deactivateRouteAndOutlet(d,l)}detachAndStoreRouteSubtree(d,l){const E=l.getContext(d.value.outlet),w=E&&d.value.component?E.children:l,P=It(d);for(const K of Object.keys(P))this.deactivateRouteAndItsChildren(P[K],w);if(E&&E.outlet){const K=E.outlet.detach(),ne=E.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:K,route:d,contexts:ne})}}deactivateRouteAndOutlet(d,l){const E=l.getContext(d.value.outlet),w=E&&d.value.component?E.children:l,P=It(d);for(const K of Object.keys(P))this.deactivateRouteAndItsChildren(P[K],w);E&&E.outlet&&(E.outlet.deactivate(),E.children.onOutletDeactivated(),E.attachRef=null,E.resolver=null,E.route=null)}activateChildRoutes(d,l,E){const w=It(l);d.children.forEach(P=>{this.activateRoutes(P,w[P.value.outlet],E),this.forwardEvent(new bt(P.value.snapshot))}),d.children.length&&this.forwardEvent(new et(d.value.snapshot))}activateRoutes(d,l,E){const w=d.value,P=l?l.value:null;if($i(w),w===P)if(w.component){const K=E.getOrCreateContext(w.outlet);this.activateChildRoutes(d,l,K.children)}else this.activateChildRoutes(d,l,E);else if(w.component){const K=E.getOrCreateContext(w.outlet);if(this.routeReuseStrategy.shouldAttach(w.snapshot)){const ne=this.routeReuseStrategy.retrieve(w.snapshot);this.routeReuseStrategy.store(w.snapshot,null),K.children.onOutletReAttached(ne.contexts),K.attachRef=ne.componentRef,K.route=ne.route.value,K.outlet&&K.outlet.attach(ne.componentRef,ne.route.value),$i(ne.route.value),this.activateChildRoutes(d,null,K.children)}else{const ne=function Nr(g){for(let d=g.parent;d;d=d.parent){const l=d.routeConfig;if(l&&l._loadedConfig)return l._loadedConfig;if(l&&l.component)return null}return null}(w.snapshot),Te=ne?ne.module.componentFactoryResolver:null;K.attachRef=null,K.route=w,K.resolver=Te,K.outlet&&K.outlet.activateWith(w,Te),this.activateChildRoutes(d,null,K.children)}}else this.activateChildRoutes(d,null,E)}}class Mi{constructor(d,l){this.routes=d,this.module=l}}function ni(g){return"function"==typeof g}function kn(g){return g instanceof oe}const yi=Symbol("INITIAL_VALUE");function Ji(){return pe(g=>(0,Q.aj)(g.map(d=>d.pipe((0,lt.q)(1),(0,In.O)(yi)))).pipe(Dt((d,l)=>{let E=!1;return l.reduce((w,P,K)=>w!==yi?w:(P===yi&&(E=!0),E||!1!==P&&K!==l.length-1&&!kn(P)?w:P),d)},yi),(0,Ue.h)(d=>d!==yi),(0,ve.U)(d=>kn(d)?d:!0===d),(0,lt.q)(1)))}class F{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new a,this.attachRef=null}}class a{constructor(){this.contexts=new Map}onChildOutletCreated(d,l){const E=this.getOrCreateContext(d);E.outlet=l,this.contexts.set(d,E)}onChildOutletDestroyed(d){const l=this.getContext(d);l&&(l.outlet=null,l.attachRef=null)}onOutletDeactivated(){const d=this.contexts;return this.contexts=new Map,d}onOutletReAttached(d){this.contexts=d}getOrCreateContext(d){let l=this.getContext(d);return l||(l=new F,this.contexts.set(d,l)),l}getContext(d){return this.contexts.get(d)||null}}let c=(()=>{class g{constructor(l,E,w,P,K){this.parentContexts=l,this.location=E,this.resolver=w,this.changeDetector=K,this.activated=null,this._activatedRoute=null,this.activateEvents=new u.vpe,this.deactivateEvents=new u.vpe,this.attachEvents=new u.vpe,this.detachEvents=new u.vpe,this.name=P||Pe,l.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const l=this.parentContexts.getContext(this.name);l&&l.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,E){this.activated=l,this._activatedRoute=E,this.location.insert(l.hostView),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,E){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=l;const K=(E=E||this.resolver).resolveComponentFactory(l._futureSnapshot.routeConfig.component),ne=this.parentContexts.getOrCreateContext(this.name).children,Te=new b(l,ne,this.location.injector);this.activated=this.location.createComponent(K,this.location.length,Te),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return g.\u0275fac=function(l){return new(l||g)(u.Y36(a),u.Y36(u.s_b),u.Y36(u._Vd),u.$8M("name"),u.Y36(u.sBO))},g.\u0275dir=u.lG2({type:g,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),g})();class b{constructor(d,l,E){this.route=d,this.childContexts=l,this.parent=E}get(d,l){return d===Mn?this.route:d===a?this.childContexts:this.parent.get(d,l)}}let R=(()=>{class g{}return g.\u0275fac=function(l){return new(l||g)},g.\u0275cmp=u.Xpm({type:g,selectors:[["ng-component"]],decls:1,vars:0,template:function(l,E){1&l&&u._UZ(0,"router-outlet")},directives:[c],encapsulation:2}),g})();function L(g,d=""){for(let l=0;l<g.length;l++){const E=g[l];h(E,D(d,E))}}function h(g,d){g.children&&L(g.children,d)}function D(g,d){return d?g||d.path?g&&!d.path?`${g}/`:!g&&d.path?d.path:`${g}/${d.path}`:"":g}function p(g){const d=g.children&&g.children.map(p),l=d?Object.assign(Object.assign({},g),{children:d}):Object.assign({},g);return!l.component&&(d||l.loadChildren)&&l.outlet&&l.outlet!==Pe&&(l.component=R),l}function M(g){return g.outlet||Pe}function H(g,d){const l=g.filter(E=>M(E)===d);return l.push(...g.filter(E=>M(E)!==d)),l}const ue={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function De(g,d,l){var E;if(""===d.path)return"full"===d.pathMatch&&(g.hasChildren()||l.length>0)?Object.assign({},ue):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const P=(d.matcher||_n)(l,g,d);if(!P)return Object.assign({},ue);const K={};ee(P.posParams,(Te,ot)=>{K[ot]=Te.path});const ne=P.consumed.length>0?Object.assign(Object.assign({},K),P.consumed[P.consumed.length-1].parameters):K;return{matched:!0,consumedSegments:P.consumed,lastChild:P.consumed.length,parameters:ne,positionalParamSegments:null!==(E=P.posParams)&&void 0!==E?E:{}}}function Ne(g,d,l,E,w="corrected"){if(l.length>0&&function rt(g,d,l){return l.some(E=>kt(g,d,E)&&M(E)!==Pe)}(g,l,E)){const K=new W(d,function Je(g,d,l,E){const w={};w[Pe]=E,E._sourceSegment=g,E._segmentIndexShift=d.length;for(const P of l)if(""===P.path&&M(P)!==Pe){const K=new W([],{});K._sourceSegment=g,K._segmentIndexShift=d.length,w[M(P)]=K}return w}(g,d,E,new W(l,g.children)));return K._sourceSegment=g,K._segmentIndexShift=d.length,{segmentGroup:K,slicedSegments:[]}}if(0===l.length&&function mt(g,d,l){return l.some(E=>kt(g,d,E))}(g,l,E)){const K=new W(g.segments,function qe(g,d,l,E,w,P){const K={};for(const ne of E)if(kt(g,l,ne)&&!w[M(ne)]){const Te=new W([],{});Te._sourceSegment=g,Te._segmentIndexShift="legacy"===P?g.segments.length:d.length,K[M(ne)]=Te}return Object.assign(Object.assign({},w),K)}(g,d,l,E,g.children,w));return K._sourceSegment=g,K._segmentIndexShift=d.length,{segmentGroup:K,slicedSegments:l}}const P=new W(g.segments,g.children);return P._sourceSegment=g,P._segmentIndexShift=d.length,{segmentGroup:P,slicedSegments:l}}function kt(g,d,l){return(!(g.hasChildren()||d.length>0)||"full"!==l.pathMatch)&&""===l.path}function C(g,d,l,E){return!!(M(g)===E||E!==Pe&&kt(d,l,g))&&("**"===g.path||De(d,g,l).matched)}function v(g,d,l){return 0===d.length&&!g.children[l]}class y{constructor(d){this.segmentGroup=d||null}}class x{constructor(d){this.urlTree=d}}function ae(g){return new _e.y(d=>d.error(new y(g)))}function Qe(g){return new _e.y(d=>d.error(new x(g)))}function Yt(g){return new _e.y(d=>d.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${g}'`)))}class bi{constructor(d,l,E,w,P){this.configLoader=l,this.urlSerializer=E,this.urlTree=w,this.config=P,this.allowRedirects=!0,this.ngModule=d.get(u.h0i)}apply(){const d=Ne(this.urlTree.root,[],[],this.config).segmentGroup,l=new W(d.segments,d.children);return this.expandSegmentGroup(this.ngModule,this.config,l,Pe).pipe((0,ve.U)(P=>this.createUrlTree(kr(P),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,pn.K)(P=>{if(P instanceof x)return this.allowRedirects=!1,this.match(P.urlTree);throw P instanceof y?this.noMatchError(P):P}))}match(d){return this.expandSegmentGroup(this.ngModule,this.config,d.root,Pe).pipe((0,ve.U)(w=>this.createUrlTree(kr(w),d.queryParams,d.fragment))).pipe((0,pn.K)(w=>{throw w instanceof y?this.noMatchError(w):w}))}noMatchError(d){return new Error(`Cannot match any routes. URL Segment: '${d.segmentGroup}'`)}createUrlTree(d,l,E){const w=d.segments.length>0?new W([],{[Pe]:d}):d;return new oe(w,l,E)}expandSegmentGroup(d,l,E,w){return 0===E.segments.length&&E.hasChildren()?this.expandChildren(d,l,E).pipe((0,ve.U)(P=>new W([],P))):this.expandSegment(d,E,l,E.segments,w,!0)}expandChildren(d,l,E){const w=[];for(const P of Object.keys(E.children))"primary"===P?w.unshift(P):w.push(P);return(0,se.D)(w).pipe((0,Et.b)(P=>{const K=E.children[P],ne=H(l,P);return this.expandSegmentGroup(d,ne,K,P).pipe((0,ve.U)(Te=>({segment:Te,outlet:P})))}),Dt((P,K)=>(P[K.outlet]=K.segment,P),{}),function Lt(g,d){const l=arguments.length>=2;return E=>E.pipe(g?(0,Ue.h)((w,P)=>g(w,P,E)):Ft.y,Kt(1),l?He(d):Rt(()=>new de))}())}expandSegment(d,l,E,w,P,K){return(0,se.D)(E).pipe((0,Et.b)(ne=>this.expandSegmentAgainstRoute(d,l,E,ne,w,P,K).pipe((0,pn.K)(ot=>{if(ot instanceof y)return(0,j.of)(null);throw ot}))),an(ne=>!!ne),(0,pn.K)((ne,Te)=>{if(ne instanceof de||"EmptyError"===ne.name){if(v(l,w,P))return(0,j.of)(new W([],{}));throw new y(l)}throw ne}))}expandSegmentAgainstRoute(d,l,E,w,P,K,ne){return C(w,l,P,K)?void 0===w.redirectTo?this.matchSegmentAgainstRoute(d,l,w,P,K):ne&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,l,E,w,P,K):ae(l):ae(l)}expandSegmentAgainstRouteUsingRedirect(d,l,E,w,P,K){return"**"===w.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,E,w,K):this.expandRegularSegmentAgainstRouteUsingRedirect(d,l,E,w,P,K)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,l,E,w){const P=this.applyRedirectCommands([],E.redirectTo,{});return E.redirectTo.startsWith("/")?Qe(P):this.lineralizeSegments(E,P).pipe((0,$t.zg)(K=>{const ne=new W(K,{});return this.expandSegment(d,ne,l,K,w,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,l,E,w,P,K){const{matched:ne,consumedSegments:Te,lastChild:ot,positionalParamSegments:Qt}=De(l,w,P);if(!ne)return ae(l);const ht=this.applyRedirectCommands(Te,w.redirectTo,Qt);return w.redirectTo.startsWith("/")?Qe(ht):this.lineralizeSegments(w,ht).pipe((0,$t.zg)(hn=>this.expandSegment(d,l,E,hn.concat(P.slice(ot)),K,!1)))}matchSegmentAgainstRoute(d,l,E,w,P){if("**"===E.path)return E.loadChildren?(E._loadedConfig?(0,j.of)(E._loadedConfig):this.configLoader.load(d.injector,E)).pipe((0,ve.U)(hn=>(E._loadedConfig=hn,new W(w,{})))):(0,j.of)(new W(w,{}));const{matched:K,consumedSegments:ne,lastChild:Te}=De(l,E,w);if(!K)return ae(l);const ot=w.slice(Te);return this.getChildConfig(d,E,w).pipe((0,$t.zg)(ht=>{const hn=ht.module,fn=ht.routes,{segmentGroup:xr,slicedSegments:ci}=Ne(l,ne,ot,fn),ui=new W(xr.segments,xr.children);if(0===ci.length&&ui.hasChildren())return this.expandChildren(hn,fn,ui).pipe((0,ve.U)(Ai=>new W(ne,Ai)));if(0===fn.length&&0===ci.length)return(0,j.of)(new W(ne,{}));const pi=M(E)===P;return this.expandSegment(hn,ui,fn,ci,pi?Pe:P,!0).pipe((0,ve.U)(Si=>new W(ne.concat(Si.segments),Si.children)))}))}getChildConfig(d,l,E){return l.children?(0,j.of)(new Mi(l.children,d)):l.loadChildren?void 0!==l._loadedConfig?(0,j.of)(l._loadedConfig):this.runCanLoadGuards(d.injector,l,E).pipe((0,$t.zg)(w=>w?this.configLoader.load(d.injector,l).pipe((0,ve.U)(P=>(l._loadedConfig=P,P))):function En(g){return new _e.y(d=>d.error(On(`Cannot load children because the guard of the route "path: '${g.path}'" returned false`)))}(l))):(0,j.of)(new Mi([],d))}runCanLoadGuards(d,l,E){const w=l.canLoad;if(!w||0===w.length)return(0,j.of)(!0);const P=w.map(K=>{const ne=d.get(K);let Te;if(function Zi(g){return g&&ni(g.canLoad)}(ne))Te=ne.canLoad(l,E);else{if(!ni(ne))throw new Error("Invalid CanLoad guard");Te=ne(l,E)}return we(Te)});return(0,j.of)(P).pipe(Ji(),(0,Bt.b)(K=>{if(!kn(K))return;const ne=On(`Redirecting to "${this.urlSerializer.serialize(K)}"`);throw ne.url=K,ne}),(0,ve.U)(K=>!0===K))}lineralizeSegments(d,l){let E=[],w=l.root;for(;;){if(E=E.concat(w.segments),0===w.numberOfChildren)return(0,j.of)(E);if(w.numberOfChildren>1||!w.children[Pe])return Yt(d.redirectTo);w=w.children[Pe]}}applyRedirectCommands(d,l,E){return this.applyRedirectCreatreUrlTree(l,this.urlSerializer.parse(l),d,E)}applyRedirectCreatreUrlTree(d,l,E,w){const P=this.createSegmentGroup(d,l.root,E,w);return new oe(P,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(d,l){const E={};return ee(d,(w,P)=>{if("string"==typeof w&&w.startsWith(":")){const ne=w.substring(1);E[P]=l[ne]}else E[P]=w}),E}createSegmentGroup(d,l,E,w){const P=this.createSegments(d,l.segments,E,w);let K={};return ee(l.children,(ne,Te)=>{K[Te]=this.createSegmentGroup(d,ne,E,w)}),new W(P,K)}createSegments(d,l,E,w){return l.map(P=>P.path.startsWith(":")?this.findPosParam(d,P,w):this.findOrReturn(P,E))}findPosParam(d,l,E){const w=E[l.path.substring(1)];if(!w)throw new Error(`Cannot redirect to '${d}'. Cannot find '${l.path}'.`);return w}findOrReturn(d,l){let E=0;for(const w of l){if(w.path===d.path)return l.splice(E),w;E++}return d}}function kr(g){const d={};for(const E of Object.keys(g.children)){const P=kr(g.children[E]);(P.segments.length>0||P.hasChildren())&&(d[E]=P)}return function er(g){if(1===g.numberOfChildren&&g.children[Pe]){const d=g.children[Pe];return new W(g.segments.concat(d.segments),d.children)}return g}(new W(g.segments,d))}class Ve{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class dt{constructor(d,l){this.component=d,this.route=l}}function nt(g,d,l){const E=g._root;return Vn(E,d?d._root:null,l,[E.value])}function bn(g,d,l){const E=function Ln(g){if(!g)return null;for(let d=g.parent;d;d=d.parent){const l=d.routeConfig;if(l&&l._loadedConfig)return l._loadedConfig}return null}(d);return(E?E.module.injector:l).get(g)}function Vn(g,d,l,E,w={canDeactivateChecks:[],canActivateChecks:[]}){const P=It(d);return g.children.forEach(K=>{(function Di(g,d,l,E,w={canDeactivateChecks:[],canActivateChecks:[]}){const P=g.value,K=d?d.value:null,ne=l?l.getContext(g.value.outlet):null;if(K&&P.routeConfig===K.routeConfig){const Te=function An(g,d,l){if("function"==typeof l)return l(g,d);switch(l){case"pathParamsChange":return!Z(g.url,d.url);case"pathParamsOrQueryParamsChange":return!Z(g.url,d.url)||!rn(g.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rn(g,d)||!rn(g.queryParams,d.queryParams);default:return!Rn(g,d)}}(K,P,P.routeConfig.runGuardsAndResolvers);Te?w.canActivateChecks.push(new Ve(E)):(P.data=K.data,P._resolvedData=K._resolvedData),Vn(g,d,P.component?ne?ne.children:null:l,E,w),Te&&ne&&ne.outlet&&ne.outlet.isActivated&&w.canDeactivateChecks.push(new dt(ne.outlet.component,K))}else K&&hr(d,ne,w),w.canActivateChecks.push(new Ve(E)),Vn(g,null,P.component?ne?ne.children:null:l,E,w)})(K,P[K.value.outlet],l,E.concat([K.value]),w),delete P[K.value.outlet]}),ee(P,(K,ne)=>hr(K,l.getContext(ne),w)),w}function hr(g,d,l){const E=It(g),w=g.value;ee(E,(P,K)=>{hr(P,w.component?d?d.children.getContext(K):null:d,l)}),l.canDeactivateChecks.push(new dt(w.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,w))}class ko{}function Lo(g){return new _e.y(d=>d.error(g))}class Us{constructor(d,l,E,w,P,K){this.rootComponentType=d,this.config=l,this.urlTree=E,this.url=w,this.paramsInheritanceStrategy=P,this.relativeLinkResolution=K}recognize(){const d=Ne(this.urlTree.root,[],[],this.config.filter(K=>void 0===K.redirectTo),this.relativeLinkResolution).segmentGroup,l=this.processSegmentGroup(this.config,d,Pe);if(null===l)return null;const E=new oi([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Pe,this.rootComponentType,null,this.urlTree.root,-1,{}),w=new Ct(E,l),P=new Nn(this.url,w);return this.inheritParamsAndData(P._root),P}inheritParamsAndData(d){const l=d.value,E=fi(l,this.paramsInheritanceStrategy);l.params=Object.freeze(E.params),l.data=Object.freeze(E.data),d.children.forEach(w=>this.inheritParamsAndData(w))}processSegmentGroup(d,l,E){return 0===l.segments.length&&l.hasChildren()?this.processChildren(d,l):this.processSegment(d,l,l.segments,E)}processChildren(d,l){const E=[];for(const P of Object.keys(l.children)){const K=l.children[P],ne=H(d,P),Te=this.processSegmentGroup(ne,K,P);if(null===Te)return null;E.push(...Te)}const w=Bo(E);return function Hs(g){g.sort((d,l)=>d.value.outlet===Pe?-1:l.value.outlet===Pe?1:d.value.outlet.localeCompare(l.value.outlet))}(w),w}processSegment(d,l,E,w){for(const P of d){const K=this.processSegmentAgainstRoute(P,l,E,w);if(null!==K)return K}return v(l,E,w)?[]:null}processSegmentAgainstRoute(d,l,E,w){if(d.redirectTo||!C(d,l,E,w))return null;let P,K=[],ne=[];if("**"===d.path){const fn=E.length>0?O(E).parameters:{};P=new oi(E,fn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gs(d),M(d),d.component,d,Hr(l),zs(l)+E.length,Ws(d))}else{const fn=De(l,d,E);if(!fn.matched)return null;K=fn.consumedSegments,ne=E.slice(fn.lastChild),P=new oi(K,fn.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gs(d),M(d),d.component,d,Hr(l),zs(l)+K.length,Ws(d))}const Te=function Vo(g){return g.children?g.children:g.loadChildren?g._loadedConfig.routes:[]}(d),{segmentGroup:ot,slicedSegments:Qt}=Ne(l,K,ne,Te.filter(fn=>void 0===fn.redirectTo),this.relativeLinkResolution);if(0===Qt.length&&ot.hasChildren()){const fn=this.processChildren(Te,ot);return null===fn?null:[new Ct(P,fn)]}if(0===Te.length&&0===Qt.length)return[new Ct(P,[])];const ht=M(d)===w,hn=this.processSegment(Te,ot,Qt,ht?Pe:w);return null===hn?null:[new Ct(P,hn)]}}function $s(g){const d=g.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function Bo(g){const d=[],l=new Set;for(const E of g){if(!$s(E)){d.push(E);continue}const w=d.find(P=>E.value.routeConfig===P.value.routeConfig);void 0!==w?(w.children.push(...E.children),l.add(w)):d.push(E)}for(const E of l){const w=Bo(E.children);d.push(new Ct(E.value,w))}return d.filter(E=>!l.has(E))}function Hr(g){let d=g;for(;d._sourceSegment;)d=d._sourceSegment;return d}function zs(g){let d=g,l=d._segmentIndexShift?d._segmentIndexShift:0;for(;d._sourceSegment;)d=d._sourceSegment,l+=d._segmentIndexShift?d._segmentIndexShift:0;return l-1}function Gs(g){return g.data||{}}function Ws(g){return g.resolve||{}}function ii(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}function Tn(g){return pe(d=>{const l=g(d);return l?(0,se.D)(l).pipe((0,ve.U)(()=>d)):(0,j.of)(d)})}class Ho extends class ka{shouldDetach(d){return!1}store(d,l){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,l){return d.routeConfig===l.routeConfig}}{}const Ks=new u.OlP("ROUTES");class $o{constructor(d,l,E,w){this.injector=d,this.compiler=l,this.onLoadStartListener=E,this.onLoadEndListener=w}load(d,l){if(l._loader$)return l._loader$;this.onLoadStartListener&&this.onLoadStartListener(l);const w=this.loadModuleFactory(l.loadChildren).pipe((0,ve.U)(P=>{this.onLoadEndListener&&this.onLoadEndListener(l);const K=P.create(d);return new Mi(B(K.injector.get(Ks,void 0,u.XFs.Self|u.XFs.Optional)).map(p),K)}),(0,pn.K)(P=>{throw l._loader$=void 0,P}));return l._loader$=new te.c(w,()=>new Ce.xQ).pipe((0,Pt.x)()),l._loader$}loadModuleFactory(d){return we(d()).pipe((0,$t.zg)(l=>l instanceof u.YKP?(0,j.of)(l):(0,se.D)(this.compiler.compileModuleAsync(l))))}}class ns{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,l){return d}}function is(g){throw g}function rs(g,d,l){return d.parse("/")}function ss(g,d){return(0,j.of)(null)}const zo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Va={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Bn=(()=>{class g{constructor(l,E,w,P,K,ne,Te){this.rootComponentType=l,this.urlSerializer=E,this.rootContexts=w,this.location=P,this.config=Te,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ce.xQ,this.errorHandler=is,this.malformedUriErrorHandler=rs,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ss,afterPreactivation:ss},this.urlHandlingStrategy=new ns,this.routeReuseStrategy=new Ho,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=K.get(u.h0i),this.console=K.get(u.c2e);const ht=K.get(u.R0b);this.isNgZoneEnabled=ht instanceof u.R0b&&u.R0b.isInAngularZone(),this.resetConfig(Te),this.currentUrlTree=function $e(){return new oe(new W([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new $o(K,ne,hn=>this.triggerEvent(new J(hn)),hn=>this.triggerEvent(new Me(hn))),this.routerState=ai(this.currentUrlTree,this.rootComponentType),this.transitions=new Y.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var l;return null===(l=this.location.getState())||void 0===l?void 0:l.\u0275routerPageId}setupNavigations(l){const E=this.events;return l.pipe((0,Ue.h)(w=>0!==w.id),(0,ve.U)(w=>Object.assign(Object.assign({},w),{extractedUrl:this.urlHandlingStrategy.extract(w.rawUrl)})),pe(w=>{let P=!1,K=!1;return(0,j.of)(w).pipe((0,Bt.b)(ne=>{this.currentNavigation={id:ne.id,initialUrl:ne.currentRawUrl,extractedUrl:ne.extractedUrl,trigger:ne.source,extras:ne.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),pe(ne=>{const Te=this.browserUrlTree.toString(),ot=!this.navigated||ne.extractedUrl.toString()!==Te||Te!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||ot)&&this.urlHandlingStrategy.shouldProcessUrl(ne.rawUrl))return os(ne.source)&&(this.browserUrlTree=ne.extractedUrl),(0,j.of)(ne).pipe(pe(ht=>{const hn=this.transitions.getValue();return E.next(new Gt(ht.id,this.serializeUrl(ht.extractedUrl),ht.source,ht.restoredState)),hn!==this.transitions.getValue()?z.E:Promise.resolve(ht)}),function Fe(g,d,l,E){return pe(w=>function vi(g,d,l,E,w){return new bi(g,d,l,E,w).apply()}(g,d,l,w.extractedUrl,E).pipe((0,ve.U)(P=>Object.assign(Object.assign({},w),{urlAfterRedirects:P}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Bt.b)(ht=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:ht.urlAfterRedirects})}),function jo(g,d,l,E,w){return(0,$t.zg)(P=>function Ra(g,d,l,E,w="emptyOnly",P="legacy"){try{const K=new Us(g,d,l,E,w,P).recognize();return null===K?Lo(new ko):(0,j.of)(K)}catch(K){return Lo(K)}}(g,d,P.urlAfterRedirects,l(P.urlAfterRedirects),E,w).pipe((0,ve.U)(K=>Object.assign(Object.assign({},P),{targetSnapshot:K}))))}(this.rootComponentType,this.config,ht=>this.serializeUrl(ht),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Bt.b)(ht=>{if("eager"===this.urlUpdateStrategy){if(!ht.extras.skipLocationChange){const fn=this.urlHandlingStrategy.merge(ht.urlAfterRedirects,ht.rawUrl);this.setBrowserUrl(fn,ht)}this.browserUrlTree=ht.urlAfterRedirects}const hn=new ct(ht.id,this.serializeUrl(ht.extractedUrl),this.serializeUrl(ht.urlAfterRedirects),ht.targetSnapshot);E.next(hn)}));if(ot&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:hn,extractedUrl:fn,source:xr,restoredState:ci,extras:ui}=ne,pi=new Gt(hn,this.serializeUrl(fn),xr,ci);E.next(pi);const Kr=ai(fn,this.rootComponentType).snapshot;return(0,j.of)(Object.assign(Object.assign({},ne),{targetSnapshot:Kr,urlAfterRedirects:fn,extras:Object.assign(Object.assign({},ui),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=ne.rawUrl,ne.resolve(null),z.E}),Tn(ne=>{const{targetSnapshot:Te,id:ot,extractedUrl:Qt,rawUrl:ht,extras:{skipLocationChange:hn,replaceUrl:fn}}=ne;return this.hooks.beforePreactivation(Te,{navigationId:ot,appliedUrlTree:Qt,rawUrlTree:ht,skipLocationChange:!!hn,replaceUrl:!!fn})}),(0,Bt.b)(ne=>{const Te=new wn(ne.id,this.serializeUrl(ne.extractedUrl),this.serializeUrl(ne.urlAfterRedirects),ne.targetSnapshot);this.triggerEvent(Te)}),(0,ve.U)(ne=>Object.assign(Object.assign({},ne),{guards:nt(ne.targetSnapshot,ne.currentSnapshot,this.rootContexts)})),function Lr(g,d){return(0,$t.zg)(l=>{const{targetSnapshot:E,currentSnapshot:w,guards:{canActivateChecks:P,canDeactivateChecks:K}}=l;return 0===K.length&&0===P.length?(0,j.of)(Object.assign(Object.assign({},l),{guardsResult:!0})):function zn(g,d,l,E){return(0,se.D)(g).pipe((0,$t.zg)(w=>function Oa(g,d,l,E,w){const P=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!P||0===P.length)return(0,j.of)(!0);const K=P.map(ne=>{const Te=bn(ne,d,w);let ot;if(function Tr(g){return g&&ni(g.canDeactivate)}(Te))ot=we(Te.canDeactivate(g,d,l,E));else{if(!ni(Te))throw new Error("Invalid CanDeactivate guard");ot=we(Te(g,d,l,E))}return ot.pipe(an())});return(0,j.of)(K).pipe(Ji())}(w.component,w.route,l,d,E)),an(w=>!0!==w,!0))}(K,E,w,g).pipe((0,$t.zg)(ne=>ne&&function dr(g){return"boolean"==typeof g}(ne)?function xn(g,d,l,E){return(0,se.D)(d).pipe((0,Et.b)(w=>(0,X.z)(function Li(g,d){return null!==g&&d&&d(new Ge(g)),(0,j.of)(!0)}(w.route.parent,E),function qn(g,d){return null!==g&&d&&d(new Nt(g)),(0,j.of)(!0)}(w.route,E),function tr(g,d,l){const E=d[d.length-1],P=d.slice(0,d.length-1).reverse().map(K=>function qt(g){const d=g.routeConfig?g.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:g,guards:d}:null}(K)).filter(K=>null!==K).map(K=>le(()=>{const ne=K.guards.map(Te=>{const ot=bn(Te,K.node,l);let Qt;if(function Xi(g){return g&&ni(g.canActivateChild)}(ot))Qt=we(ot.canActivateChild(E,g));else{if(!ni(ot))throw new Error("Invalid CanActivateChild guard");Qt=we(ot(E,g))}return Qt.pipe(an())});return(0,j.of)(ne).pipe(Ji())}));return(0,j.of)(P).pipe(Ji())}(g,w.path,l),function Vi(g,d,l){const E=d.routeConfig?d.routeConfig.canActivate:null;if(!E||0===E.length)return(0,j.of)(!0);const w=E.map(P=>le(()=>{const K=bn(P,d,l);let ne;if(function $n(g){return g&&ni(g.canActivate)}(K))ne=we(K.canActivate(d,g));else{if(!ni(K))throw new Error("Invalid CanActivate guard");ne=we(K(d,g))}return ne.pipe(an())}));return(0,j.of)(w).pipe(Ji())}(g,w.route,l))),an(w=>!0!==w,!0))}(E,P,g,d):(0,j.of)(ne)),(0,ve.U)(ne=>Object.assign(Object.assign({},l),{guardsResult:ne})))})}(this.ngModule.injector,ne=>this.triggerEvent(ne)),(0,Bt.b)(ne=>{if(kn(ne.guardsResult)){const ot=On(`Redirecting to "${this.serializeUrl(ne.guardsResult)}"`);throw ot.url=ne.guardsResult,ot}const Te=new tn(ne.id,this.serializeUrl(ne.extractedUrl),this.serializeUrl(ne.urlAfterRedirects),ne.targetSnapshot,!!ne.guardsResult);this.triggerEvent(Te)}),(0,Ue.h)(ne=>!!ne.guardsResult||(this.restoreHistory(ne),this.cancelNavigationTransition(ne,""),!1)),Tn(ne=>{if(ne.guards.canActivateChecks.length)return(0,j.of)(ne).pipe((0,Bt.b)(Te=>{const ot=new ke(Te.id,this.serializeUrl(Te.extractedUrl),this.serializeUrl(Te.urlAfterRedirects),Te.targetSnapshot);this.triggerEvent(ot)}),pe(Te=>{let ot=!1;return(0,j.of)(Te).pipe(function ts(g,d){return(0,$t.zg)(l=>{const{targetSnapshot:E,guards:{canActivateChecks:w}}=l;if(!w.length)return(0,j.of)(l);let P=0;return(0,se.D)(w).pipe((0,Et.b)(K=>function Pa(g,d,l,E){return function Na(g,d,l,E){const w=ii(g);if(0===w.length)return(0,j.of)({});const P={};return(0,se.D)(w).pipe((0,$t.zg)(K=>function fr(g,d,l,E){const w=bn(g,d,E);return we(w.resolve?w.resolve(d,l):w(d,l))}(g[K],d,l,E).pipe((0,Bt.b)(ne=>{P[K]=ne}))),Kt(1),(0,$t.zg)(()=>ii(P).length===w.length?(0,j.of)(P):z.E))}(g._resolve,g,d,E).pipe((0,ve.U)(P=>(g._resolvedData=P,g.data=Object.assign(Object.assign({},g.data),fi(g,l).resolve),null)))}(K.route,E,g,d)),(0,Bt.b)(()=>P++),Kt(1),(0,$t.zg)(K=>P===w.length?(0,j.of)(l):z.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Bt.b)({next:()=>ot=!0,complete:()=>{ot||(this.restoreHistory(Te),this.cancelNavigationTransition(Te,"At least one route resolver didn't emit any value."))}}))}),(0,Bt.b)(Te=>{const ot=new Ae(Te.id,this.serializeUrl(Te.extractedUrl),this.serializeUrl(Te.urlAfterRedirects),Te.targetSnapshot);this.triggerEvent(ot)}))}),Tn(ne=>{const{targetSnapshot:Te,id:ot,extractedUrl:Qt,rawUrl:ht,extras:{skipLocationChange:hn,replaceUrl:fn}}=ne;return this.hooks.afterPreactivation(Te,{navigationId:ot,appliedUrlTree:Qt,rawUrlTree:ht,skipLocationChange:!!hn,replaceUrl:!!fn})}),(0,ve.U)(ne=>{const Te=function Zn(g,d,l){const E=ei(g,d._root,l?l._root:void 0);return new Qn(E,d)}(this.routeReuseStrategy,ne.targetSnapshot,ne.currentRouterState);return Object.assign(Object.assign({},ne),{targetRouterState:Te})}),(0,Bt.b)(ne=>{this.currentUrlTree=ne.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ne.urlAfterRedirects,ne.rawUrl),this.routerState=ne.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ne.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ne),this.browserUrlTree=ne.urlAfterRedirects)}),((g,d,l)=>(0,ve.U)(E=>(new Qi(d,E.targetRouterState,E.currentRouterState,l).activate(g),E)))(this.rootContexts,this.routeReuseStrategy,ne=>this.triggerEvent(ne)),(0,Bt.b)({next(){P=!0},complete(){P=!0}}),(0,Xt.x)(()=>{var ne;P||K||this.cancelNavigationTransition(w,`Navigation ID ${w.id} is not equal to the current navigation id ${this.navigationId}`),(null===(ne=this.currentNavigation)||void 0===ne?void 0:ne.id)===w.id&&(this.currentNavigation=null)}),(0,pn.K)(ne=>{if(K=!0,function Dn(g){return g&&g[Mt]}(ne)){const Te=kn(ne.url);Te||(this.navigated=!0,this.restoreHistory(w,!0));const ot=new Sn(w.id,this.serializeUrl(w.extractedUrl),ne.message);E.next(ot),Te?setTimeout(()=>{const Qt=this.urlHandlingStrategy.merge(ne.url,this.rawUrlTree),ht={skipLocationChange:w.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||os(w.source)};this.scheduleNavigation(Qt,"imperative",null,ht,{resolve:w.resolve,reject:w.reject,promise:w.promise})},0):w.resolve(!1)}else{this.restoreHistory(w,!0);const Te=new si(w.id,this.serializeUrl(w.extractedUrl),ne);E.next(Te);try{w.resolve(this.errorHandler(ne))}catch(ot){w.reject(ot)}}return z.E}))}))}resetRootComponentType(l){this.rootComponentType=l,this.routerState.root.component=this.rootComponentType}setTransition(l){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),l))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const E="popstate"===l.type?"popstate":"hashchange";"popstate"===E&&setTimeout(()=>{var w;const P={replaceUrl:!0},K=(null===(w=l.state)||void 0===w?void 0:w.navigationId)?l.state:null;if(K){const Te=Object.assign({},K);delete Te.navigationId,delete Te.\u0275routerPageId,0!==Object.keys(Te).length&&(P.state=Te)}const ne=this.parseUrl(l.url);this.scheduleNavigation(ne,E,K,P)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(l){this.events.next(l)}resetConfig(l){L(l),this.config=l.map(p),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(l,E={}){const{relativeTo:w,queryParams:P,fragment:K,queryParamsHandling:ne,preserveFragment:Te}=E,ot=w||this.routerState.root,Qt=Te?this.currentUrlTree.fragment:K;let ht=null;switch(ne){case"merge":ht=Object.assign(Object.assign({},this.currentUrlTree.queryParams),P);break;case"preserve":ht=this.currentUrlTree.queryParams;break;default:ht=P||null}return null!==ht&&(ht=this.removeEmptyProps(ht)),function zi(g,d,l,E,w){if(0===l.length)return Ei(d.root,d.root,d,E,w);const P=function Ci(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new Sr(!0,0,g);let d=0,l=!1;const E=g.reduce((w,P,K)=>{if("object"==typeof P&&null!=P){if(P.outlets){const ne={};return ee(P.outlets,(Te,ot)=>{ne[ot]="string"==typeof Te?Te.split("/"):Te}),[...w,{outlets:ne}]}if(P.segmentPath)return[...w,P.segmentPath]}return"string"!=typeof P?[...w,P]:0===K?(P.split("/").forEach((ne,Te)=>{0==Te&&"."===ne||(0==Te&&""===ne?l=!0:".."===ne?d++:""!=ne&&w.push(ne))}),w):[...w,P]},[]);return new Sr(l,d,E)}(l);if(P.toRoot())return Ei(d.root,new W([],{}),d,E,w);const K=function Ar(g,d,l){if(g.isAbsolute)return new Wi(d.root,!0,0);if(-1===l.snapshot._lastPathIndex){const P=l.snapshot._urlSegment;return new Wi(P,P===d.root,0)}const E=Gi(g.commands[0])?0:1;return function ur(g,d,l){let E=g,w=d,P=l;for(;P>w;){if(P-=w,E=E.parent,!E)throw new Error("Invalid number of '../'");w=E.segments.length}return new Wi(E,!1,w-P)}(l.snapshot._urlSegment,l.snapshot._lastPathIndex+E,g.numberOfDoubleDots)}(P,d,g),ne=K.processChildren?Ki(K.segmentGroup,K.index,P.commands):wi(K.segmentGroup,K.index,P.commands);return Ei(K.segmentGroup,ne,d,E,w)}(ot,this.currentUrlTree,l,ht,null!=Qt?Qt:null)}navigateByUrl(l,E={skipLocationChange:!1}){const w=kn(l)?l:this.parseUrl(l),P=this.urlHandlingStrategy.merge(w,this.rawUrlTree);return this.scheduleNavigation(P,"imperative",null,E)}navigate(l,E={skipLocationChange:!1}){return function $r(g){for(let d=0;d<g.length;d++){const l=g[d];if(null==l)throw new Error(`The requested path contains ${l} segment at index ${d}`)}}(l),this.navigateByUrl(this.createUrlTree(l,E),E)}serializeUrl(l){return this.urlSerializer.serialize(l)}parseUrl(l){let E;try{E=this.urlSerializer.parse(l)}catch(w){E=this.malformedUriErrorHandler(w,this.urlSerializer,l)}return E}isActive(l,E){let w;if(w=!0===E?Object.assign({},zo):!1===E?Object.assign({},Va):E,kn(l))return sn(this.currentUrlTree,l,w);const P=this.parseUrl(l);return sn(this.currentUrlTree,P,w)}removeEmptyProps(l){return Object.keys(l).reduce((E,w)=>{const P=l[w];return null!=P&&(E[w]=P),E},{})}processNavigations(){this.navigations.subscribe(l=>{this.navigated=!0,this.lastSuccessfulId=l.id,this.currentPageId=l.targetPageId,this.events.next(new ln(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,l.resolve(!0)},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)})}scheduleNavigation(l,E,w,P,K){var ne,Te,ot;if(this.disposed)return Promise.resolve(!1);const Qt=this.transitions.value,ht=os(E)&&Qt&&!os(Qt.source),hn=Qt.rawUrl.toString()===l.toString(),fn=Qt.id===(null===(ne=this.currentNavigation)||void 0===ne?void 0:ne.id);if(ht&&hn&&fn)return Promise.resolve(!0);let ci,ui,pi;K?(ci=K.resolve,ui=K.reject,pi=K.promise):pi=new Promise((Ai,uu)=>{ci=Ai,ui=uu});const Kr=++this.navigationId;let Si;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(w=this.location.getState()),Si=w&&w.\u0275routerPageId?w.\u0275routerPageId:P.replaceUrl||P.skipLocationChange?null!==(Te=this.browserPageId)&&void 0!==Te?Te:0:(null!==(ot=this.browserPageId)&&void 0!==ot?ot:0)+1):Si=0,this.setTransition({id:Kr,targetPageId:Si,source:E,restoredState:w,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:l,extras:P,resolve:ci,reject:ui,promise:pi,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),pi.catch(Ai=>Promise.reject(Ai))}setBrowserUrl(l,E){const w=this.urlSerializer.serialize(l),P=Object.assign(Object.assign({},E.extras.state),this.generateNgRouterState(E.id,E.targetPageId));this.location.isCurrentPathEqualTo(w)||E.extras.replaceUrl?this.location.replaceState(w,"",P):this.location.go(w,"",P)}restoreHistory(l,E=!1){var w,P;if("computed"===this.canceledNavigationResolution){const K=this.currentPageId-l.targetPageId;"popstate"!==l.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(w=this.currentNavigation)||void 0===w?void 0:w.finalUrl)||0===K?this.currentUrlTree===(null===(P=this.currentNavigation)||void 0===P?void 0:P.finalUrl)&&0===K&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(K)}else"replace"===this.canceledNavigationResolution&&(E&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(l,E){const w=new Sn(l.id,this.serializeUrl(l.extractedUrl),E);this.triggerEvent(w),l.resolve(!1)}generateNgRouterState(l,E){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:E}:{navigationId:l}}}return g.\u0275fac=function(l){u.$Z()},g.\u0275prov=u.Yz7({token:g,factory:g.\u0275fac}),g})();function os(g){return"imperative"!==g}let as=(()=>{class g{constructor(l,E,w,P,K){this.router=l,this.route=E,this.tabIndexAttribute=w,this.renderer=P,this.el=K,this.commands=null,this.onChanges=new Ce.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(l){if(null!=this.tabIndexAttribute)return;const E=this.renderer,w=this.el.nativeElement;null!==l?E.setAttribute(w,"tabindex",l):E.removeAttribute(w,"tabindex")}ngOnChanges(l){this.onChanges.next(this)}set routerLink(l){null!=l?(this.commands=Array.isArray(l)?l:[l],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const l={skipLocationChange:mr(this.skipLocationChange),replaceUrl:mr(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,l),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:mr(this.preserveFragment)})}}return g.\u0275fac=function(l){return new(l||g)(u.Y36(Bn),u.Y36(Mn),u.$8M("tabindex"),u.Y36(u.Qsj),u.Y36(u.SBq))},g.\u0275dir=u.lG2({type:g,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(l,E){1&l&&u.NdJ("click",function(){return E.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[u.TTD]}),g})(),pr=(()=>{class g{constructor(l,E,w){this.router=l,this.route=E,this.locationStrategy=w,this.commands=null,this.href=null,this.onChanges=new Ce.xQ,this.subscription=l.events.subscribe(P=>{P instanceof ln&&this.updateTargetUrlAndHref()})}set routerLink(l){this.commands=null!=l?Array.isArray(l)?l:[l]:null}ngOnChanges(l){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(l,E,w,P,K){if(0!==l||E||w||P||K||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const ne={skipLocationChange:mr(this.skipLocationChange),replaceUrl:mr(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ne),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:mr(this.preserveFragment)})}}return g.\u0275fac=function(l){return new(l||g)(u.Y36(Bn),u.Y36(Mn),u.Y36(gn.S$))},g.\u0275dir=u.lG2({type:g,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(l,E){1&l&&u.NdJ("click",function(P){return E.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&l&&u.uIk("target",E.target)("href",E.href,u.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[u.TTD]}),g})();function mr(g){return""===g||!!g}let Go=(()=>{class g{constructor(l,E,w,P,K,ne){this.router=l,this.element=E,this.renderer=w,this.cdr=P,this.link=K,this.linkWithHref=ne,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new u.vpe,this.routerEventsSubscription=l.events.subscribe(Te=>{Te instanceof ln&&this.update()})}ngAfterContentInit(){(0,j.of)(this.links.changes,this.linksWithHrefs.changes,(0,j.of)(null)).pipe((0,Cn.J)()).subscribe(l=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var l;null===(l=this.linkInputChangesSubscription)||void 0===l||l.unsubscribe();const E=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(w=>!!w).map(w=>w.onChanges);this.linkInputChangesSubscription=(0,se.D)(E).pipe((0,Cn.J)()).subscribe(w=>{this.isActive!==this.isLinkActive(this.router)(w)&&this.update()})}set routerLinkActive(l){const E=Array.isArray(l)?l:l.split(" ");this.classes=E.filter(w=>!!w)}ngOnChanges(l){this.update()}ngOnDestroy(){var l;this.routerEventsSubscription.unsubscribe(),null===(l=this.linkInputChangesSubscription)||void 0===l||l.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const l=this.hasActiveLinks();this.isActive!==l&&(this.isActive=l,this.cdr.markForCheck(),this.classes.forEach(E=>{l?this.renderer.addClass(this.element.nativeElement,E):this.renderer.removeClass(this.element.nativeElement,E)}),this.isActiveChange.emit(l))})}isLinkActive(l){const E=function Ba(g){return!!g.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return w=>!!w.urlTree&&l.isActive(w.urlTree,E)}hasActiveLinks(){const l=this.isLinkActive(this.router);return this.link&&l(this.link)||this.linkWithHref&&l(this.linkWithHref)||this.links.some(l)||this.linksWithHrefs.some(l)}}return g.\u0275fac=function(l){return new(l||g)(u.Y36(Bn),u.Y36(u.SBq),u.Y36(u.Qsj),u.Y36(u.sBO),u.Y36(as,8),u.Y36(pr,8))},g.\u0275dir=u.lG2({type:g,selectors:[["","routerLinkActive",""]],contentQueries:function(l,E,w){if(1&l&&(u.Suo(w,as,5),u.Suo(w,pr,5)),2&l){let P;u.iGM(P=u.CRH())&&(E.links=P),u.iGM(P=u.CRH())&&(E.linksWithHrefs=P)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[u.TTD]}),g})();class ja{}class zr{preload(d,l){return(0,j.of)(null)}}let Ys=(()=>{class g{constructor(l,E,w,P){this.router=l,this.injector=w,this.preloadingStrategy=P,this.loader=new $o(w,E,Te=>l.triggerEvent(new J(Te)),Te=>l.triggerEvent(new Me(Te)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ue.h)(l=>l instanceof ln),(0,Et.b)(()=>this.preload())).subscribe(()=>{})}preload(){const l=this.injector.get(u.h0i);return this.processRoutes(l,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,E){const w=[];for(const P of E)if(P.loadChildren&&!P.canLoad&&P._loadedConfig){const K=P._loadedConfig;w.push(this.processRoutes(K.module,K.routes))}else P.loadChildren&&!P.canLoad?w.push(this.preloadConfig(l,P)):P.children&&w.push(this.processRoutes(l,P.children));return(0,se.D)(w).pipe((0,Cn.J)(),(0,ve.U)(P=>{}))}preloadConfig(l,E){return this.preloadingStrategy.preload(E,()=>(E._loadedConfig?(0,j.of)(E._loadedConfig):this.loader.load(l.injector,E)).pipe((0,$t.zg)(P=>(E._loadedConfig=P,this.processRoutes(P.module,P.routes)))))}}return g.\u0275fac=function(l){return new(l||g)(u.LFG(Bn),u.LFG(u.Sil),u.LFG(u.zs3),u.LFG(ja))},g.\u0275prov=u.Yz7({token:g,factory:g.\u0275fac}),g})(),Gr=(()=>{class g{constructor(l,E,w={}){this.router=l,this.viewportScroller=E,this.options=w,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},w.scrollPositionRestoration=w.scrollPositionRestoration||"disabled",w.anchorScrolling=w.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(l=>{l instanceof Gt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof ln&&(this.lastId=l.id,this.scheduleScrollEvent(l,this.router.parseUrl(l.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(l=>{l instanceof Ye&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,E){this.router.triggerEvent(new Ye(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,E))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return g.\u0275fac=function(l){u.$Z()},g.\u0275prov=u.Yz7({token:g,factory:g.\u0275fac}),g})();const gr=new u.OlP("ROUTER_CONFIGURATION"),Qs=new u.OlP("ROUTER_FORROOT_GUARD"),Vr=[gn.Ye,{provide:Ie,useClass:Ze},{provide:Bn,useFactory:function Wo(g,d,l,E,w,P,K={},ne,Te){const ot=new Bn(null,g,d,l,E,w,B(P));return ne&&(ot.urlHandlingStrategy=ne),Te&&(ot.routeReuseStrategy=Te),function Ha(g,d){g.errorHandler&&(d.errorHandler=g.errorHandler),g.malformedUriErrorHandler&&(d.malformedUriErrorHandler=g.malformedUriErrorHandler),g.onSameUrlNavigation&&(d.onSameUrlNavigation=g.onSameUrlNavigation),g.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=g.paramsInheritanceStrategy),g.relativeLinkResolution&&(d.relativeLinkResolution=g.relativeLinkResolution),g.urlUpdateStrategy&&(d.urlUpdateStrategy=g.urlUpdateStrategy),g.canceledNavigationResolution&&(d.canceledNavigationResolution=g.canceledNavigationResolution)}(K,ot),K.enableTracing&&ot.events.subscribe(Qt=>{var ht,hn;null===(ht=console.group)||void 0===ht||ht.call(console,`Router Event: ${Qt.constructor.name}`),console.log(Qt.toString()),console.log(Qt),null===(hn=console.groupEnd)||void 0===hn||hn.call(console)}),ot},deps:[Ie,a,gn.Ye,u.zs3,u.Sil,Ks,gr,[class La{},new u.FiY],[class Uo{},new u.FiY]]},a,{provide:Mn,useFactory:function $a(g){return g.routerState.root},deps:[Bn]},Ys,zr,class au{preload(d,l){return l().pipe((0,pn.K)(()=>(0,j.of)(null)))}},{provide:gr,useValue:{enableTracing:!1}}];function Ua(){return new u.PXZ("Router",Bn)}let Br=(()=>{class g{constructor(l,E){}static forRoot(l,E){return{ngModule:g,providers:[Vr,Xs(l),{provide:Qs,useFactory:lu,deps:[[Bn,new u.FiY,new u.tp0]]},{provide:gr,useValue:E||{}},{provide:gn.S$,useFactory:ls,deps:[gn.lw,[new u.tBr(gn.mr),new u.FiY],gr]},{provide:Gr,useFactory:Zs,deps:[Bn,gn.EM,gr]},{provide:ja,useExisting:E&&E.preloadingStrategy?E.preloadingStrategy:zr},{provide:u.PXZ,multi:!0,useFactory:Ua},[Ir,{provide:u.ip1,multi:!0,useFactory:Js,deps:[Ir]},{provide:Wr,useFactory:eo,deps:[Ir]},{provide:u.tb,multi:!0,useExisting:Wr}]]}}static forChild(l){return{ngModule:g,providers:[Xs(l)]}}}return g.\u0275fac=function(l){return new(l||g)(u.LFG(Qs,8),u.LFG(Bn,8))},g.\u0275mod=u.oAB({type:g}),g.\u0275inj=u.cJS({}),g})();function Zs(g,d,l){return l.scrollOffset&&d.setOffset(l.scrollOffset),new Gr(g,d,l)}function ls(g,d,l={}){return l.useHash?new gn.Do(g,d):new gn.b0(g,d)}function lu(g){return"guarded"}function Xs(g){return[{provide:u.deG,multi:!0,useValue:g},{provide:Ks,multi:!0,useValue:g}]}let Ir=(()=>{class g{constructor(l){this.injector=l,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ce.xQ}appInitializer(){return this.injector.get(gn.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let E=null;const w=new Promise(ne=>E=ne),P=this.injector.get(Bn),K=this.injector.get(gr);return"disabled"===K.initialNavigation?(P.setUpLocationChangeListener(),E(!0)):"enabled"===K.initialNavigation||"enabledBlocking"===K.initialNavigation?(P.hooks.afterPreactivation=()=>this.initNavigation?(0,j.of)(null):(this.initNavigation=!0,E(!0),this.resultOfPreactivationDone),P.initialNavigation()):E(!0),w})}bootstrapListener(l){const E=this.injector.get(gr),w=this.injector.get(Ys),P=this.injector.get(Gr),K=this.injector.get(Bn),ne=this.injector.get(u.z2F);l===ne.components[0]&&(("enabledNonBlocking"===E.initialNavigation||void 0===E.initialNavigation)&&K.initialNavigation(),w.setUpPreloading(),P.init(),K.resetRootComponentType(ne.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return g.\u0275fac=function(l){return new(l||g)(u.LFG(u.zs3))},g.\u0275prov=u.Yz7({token:g,factory:g.\u0275fac}),g})();function Js(g){return g.appInitializer.bind(g)}function eo(g){return g.bootstrapListener.bind(g)}const Wr=new u.OlP("Router Initializer")}},tt=>{tt(tt.s=3752)}]);