-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path5-es2015.c2c0d197748a28f01b68.js
1 lines (1 loc) · 163 KB
/
5-es2015.c2c0d197748a28f01b68.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"0IaG":function(e,t,a){"use strict";a.d(t,"a",function(){return A}),a.d(t,"b",function(){return R}),a.d(t,"c",function(){return T}),a.d(t,"d",function(){return E}),a.d(t,"e",function(){return F}),a.d(t,"f",function(){return P}),a.d(t,"g",function(){return O}),a.d(t,"h",function(){return Y});var i=a("rDax"),n=a("+rOU"),r=a("fXoL"),s=a("FKr1"),o=a("cH1L"),l=a("ofXK"),c=a("XNiG"),d=a("NXyV"),h=a("LRne"),p=a("pLZG"),u=a("IzEk"),m=a("JX91"),f=a("R0Ic"),b=a("FtGj"),_=a("u47x");function g(e,t){}class v{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const y={dialogContainer:Object(f.m)("dialogContainer",[Object(f.j)("void, exit",Object(f.k)({opacity:0,transform:"scale(0.7)"})),Object(f.j)("enter",Object(f.k)({transform:"none"})),Object(f.l)("* => enter",Object(f.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(f.k)({transform:"none",opacity:1}))),Object(f.l)("* => void, * => exit",Object(f.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(f.k)({opacity:0})))])};let C=(()=>{class e extends n.a{constructor(e,t,a,i,n,s){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=a,this._config=n,this._focusMonitor=s,this._animationStateChanged=new r.s,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=e=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=n.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._document.activeElement,a=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==a&&!a.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)}}return e.\u0275fac=function(t){return new(t||e)(r.Yb(r.p),r.Yb(_.j),r.Yb(r.i),r.Yb(l.e,8),r.Yb(v),r.Yb(_.h))},e.\u0275dir=r.Tb({type:e,viewQuery:function(e,t){if(1&e&&r.Mc(n.c,!0),2&e){let e;r.Bc(e=r.mc())&&(t._portalOutlet=e.first)}},features:[r.Jb]}),e})(),x=(()=>{class e extends C{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return w(t||e)},e.\u0275cmp=r.Sb({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&r.Oc("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(r.hc("id",t._id),r.Nb("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),r.Pc("@dialogContainer",t._state))},features:[r.Jb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&r.Qc(0,g,0,0,"ng-template",0)},directives:[n.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[y.dialogContainer]}}),e})();const w=r.gc(x);let D=0;class O{constructor(e,t,a="mat-dialog-"+D++){this._overlayRef=e,this._containerInstance=t,this.id=a,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.a,this._afterClosed=new c.a,this._beforeClosed=new c.a,this._state=0,t._id=a,t._animationStateChanged.pipe(Object(p.a)(e=>"opened"===e.state),Object(u.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(Object(p.a)(e=>"closed"===e.state),Object(u.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(Object(p.a)(e=>e.keyCode===b.h&&!this.disableClose&&!Object(b.t)(e))).subscribe(e=>{e.preventDefault(),k(this,"keyboard")}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Object(p.a)(e=>"closing"===e.state),Object(u.a)(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(e="",t=""){return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(e,t,a){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(a)}const A=new r.x("MatDialogData"),S=new r.x("mat-dialog-default-options"),j=new r.x("mat-dialog-scroll-strategy"),V={provide:j,deps:[i.c],useFactory:function(e){return()=>e.scrollStrategies.block()}};let I=(()=>{class e{constructor(e,t,a,i,n,r,s,o,l){this._overlay=e,this._injector=t,this._defaultOptions=a,this._parentDialog=i,this._overlayContainer=n,this._dialogRefConstructor=s,this._dialogContainerType=o,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.a,this._afterOpenedAtThisLevel=new c.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(d.a)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Object(m.a)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new v)).id&&this.getDialogById(t.id);const a=this._createOverlay(t),i=this._attachDialogContainer(a,t),n=this._attachDialogContent(e,i,a,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(n),n.afterClosed().subscribe(()=>this._removeOpenDialog(n)),this.afterOpened.next(n),i._initializeWithAttachedContent(),n}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new i.d({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const a=r.y.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:t}]}),i=new n.d(this._dialogContainerType,t.viewContainerRef,a,t.componentFactoryResolver);return e.attach(i).instance}_attachDialogContent(e,t,a,i){const s=new this._dialogRefConstructor(a,t,i.id);if(e instanceof r.V)t.attachTemplatePortal(new n.i(e,null,{$implicit:i.data,dialogRef:s}));else{const a=this._createInjector(i,s,t),r=t.attachComponentPortal(new n.d(e,i.viewContainerRef,a));s.componentInstance=r.instance}return s.updateSize(i.width,i.height).updatePosition(i.position),s}_createInjector(e,t,a){const i=e&&e.viewContainerRef&&e.viewContainerRef.injector,n=[{provide:this._dialogContainerType,useValue:a},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(o.c,null)||n.push({provide:o.c,useValue:{value:e.direction,change:Object(h.a)()}}),r.y.create({parent:i||this._injector,providers:n})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let a=t.length-1;a>-1;a--){let i=t[a];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(r.Yb(i.c),r.Yb(r.y),r.Yb(void 0),r.Yb(void 0),r.Yb(i.e),r.Yb(void 0),r.Yb(r.X),r.Yb(r.X),r.Yb(r.x))},e.\u0275dir=r.Tb({type:e}),e})(),R=(()=>{class e extends I{constructor(e,t,a,i,n,r,s){super(e,t,i,r,s,n,O,x,A)}}return e.\u0275fac=function(t){return new(t||e)(r.ic(i.c),r.ic(r.y),r.ic(l.n,8),r.ic(S,8),r.ic(j),r.ic(e,12),r.ic(i.e))},e.\u0275prov=r.Ub({token:e,factory:e.\u0275fac}),e})(),M=0,E=(()=>{class e{constructor(e,t,a){this.dialogRef=e,this._elementRef=t,this._dialog=a,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=L(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){k(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return e.\u0275fac=function(t){return new(t||e)(r.Yb(O,8),r.Yb(r.p),r.Yb(R))},e.\u0275dir=r.Tb({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.lc("click",function(e){return t._onButtonClick(e)}),2&e&&r.Nb("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[r.Kb]}),e})(),Y=(()=>{class e{constructor(e,t,a){this._dialogRef=e,this._elementRef=t,this._dialog=a,this.id="mat-dialog-title-"+M++}ngOnInit(){this._dialogRef||(this._dialogRef=L(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return e.\u0275fac=function(t){return new(t||e)(r.Yb(O,8),r.Yb(r.p),r.Yb(R))},e.\u0275dir=r.Tb({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&r.hc("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),F=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Tb({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e})(),T=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Tb({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e})();function L(e,t){let a=e.nativeElement.parentElement;for(;a&&!a.classList.contains("mat-dialog-container");)a=a.parentElement;return a?t.find(e=>e.id===a.id):null}let P=(()=>{class e{}return e.\u0275mod=r.Wb({type:e}),e.\u0275inj=r.Vb({factory:function(t){return new(t||e)},providers:[R,V],imports:[[i.f,n.h,s.j],s.j]}),e})()},"N/qJ":function(e,t,a){"use strict";a.d(t,"a",function(){return d}),a.d(t,"b",function(){return p}),a.d(t,"c",function(){return u});var i=a("fXoL"),n=a("8LU1"),r=a("XNiG"),s=a("quSY"),o=a("0EQZ");let l=0;const c=new i.x("CdkAccordion");let d=(()=>{class e{constructor(){this._stateChanges=new r.a,this._openCloseAllActions=new r.a,this.id="cdk-accordion-"+l++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=Object(n.c)(e)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(e){this.multi&&this._openCloseAllActions.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Tb({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i.Lb([{provide:c,useExisting:e}]),i.Kb]}),e})(),h=0,p=(()=>{class e{constructor(e,t,a){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=a,this._openCloseAllSubscription=s.a.EMPTY,this.closed=new i.s,this.opened=new i.s,this.destroyed=new i.s,this.expandedChange=new i.s,this.id="cdk-accordion-child-"+h++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=a.listen((e,t)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===t&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=Object(n.c)(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=Object(n.c)(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return e.\u0275fac=function(t){return new(t||e)(i.Yb(c,12),i.Yb(i.i),i.Yb(o.d))},e.\u0275dir=i.Tb({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i.Lb([{provide:c,useValue:void 0}])]}),e})(),u=(()=>{class e{}return e.\u0275mod=i.Wb({type:e}),e.\u0275inj=i.Vb({factory:function(t){return new(t||e)}}),e})()},gwLG:function(e,t,a){"use strict";a.r(t),a.d(t,"ExpansionExamplesModule",function(){return U}),a.d(t,"ExpansionExpandCollapseAllExample",function(){return W}),a.d(t,"ExpansionOverviewExample",function(){return K}),a.d(t,"ExpansionStepsExample",function(){return Z});var i=a("fXoL"),n=a("bTqV"),r=a("iadO"),s=a("FKr1"),o=a("N/qJ"),l=a("+rOU"),c=a("ofXK"),d=a("8LU1"),h=a("u47x"),p=a("/uUt"),u=a("JX91"),m=a("pLZG"),f=a("IzEk"),b=a("FtGj"),_=a("R1ws"),g=a("XNiG"),v=a("quSY"),y=a("EY2u"),C=a("VRyK"),x=a("R0Ic"),w=a("0EQZ");const D=["body"];function O(e,t){}const k=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],A=["mat-expansion-panel-header","*","mat-action-row"];function S(e,t){if(1&e&&i.Zb(0,"span",2),2&e){const e=i.pc();i.vc("@indicatorRotate",e._getExpandedState())}}const j=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],V=["mat-panel-title","mat-panel-description","*"],I=new i.x("MAT_ACCORDION"),R={indicatorRotate:Object(x.m)("indicatorRotate",[Object(x.j)("collapsed, void",Object(x.k)({transform:"rotate(0deg)"})),Object(x.j)("expanded",Object(x.k)({transform:"rotate(180deg)"})),Object(x.l)("expanded <=> collapsed, void => collapsed",Object(x.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),bodyExpansion:Object(x.m)("bodyExpansion",[Object(x.j)("collapsed, void",Object(x.k)({height:"0px",visibility:"hidden"})),Object(x.j)("expanded",Object(x.k)({height:"*",visibility:"visible"})),Object(x.l)("expanded <=> collapsed, void => collapsed",Object(x.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let M=(()=>{class e{constructor(e){this._template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Yb(i.V))},e.\u0275dir=i.Tb({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e})(),E=0;const Y=new i.x("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let F=(()=>{class e extends o.b{constructor(e,t,a,n,r,s,o){super(e,t,a),this._viewContainerRef=n,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new i.s,this.afterCollapse=new i.s,this._inputChanges=new g.a,this._headerId="mat-expansion-panel-header-"+E++,this._bodyAnimationDone=new g.a,this.accordion=e,this._document=r,this._bodyAnimationDone.pipe(Object(p.a)((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{"void"!==e.fromState&&("expanded"===e.toState?this.afterExpand.emit():"collapsed"===e.toState&&this.afterCollapse.emit())}),o&&(this.hideToggle=o.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=Object(d.c)(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(u.a)(null),Object(m.a)(()=>this.expanded&&!this._portal),Object(f.a)(1)).subscribe(()=>{this._portal=new l.i(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return e.\u0275fac=function(t){return new(t||e)(i.Yb(I,12),i.Yb(i.i),i.Yb(w.d),i.Yb(i.ab),i.Yb(c.e),i.Yb(_.a,8),i.Yb(Y,8))},e.\u0275cmp=i.Sb({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,a){if(1&e&&i.Rb(a,M,!0),2&e){let e;i.Bc(e=i.mc())&&(t._lazyContent=e.first)}},viewQuery:function(e,t){if(1&e&&i.Wc(D,!0),2&e){let e;i.Bc(e=i.mc())&&(t._body=e.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&i.Qb("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Lb([{provide:I,useValue:void 0}]),i.Jb,i.Kb],ngContentSelectors:A,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.uc(k),i.tc(0),i.ec(1,"div",0,1),i.lc("@bodyExpansion.done",function(e){return t._bodyAnimationDone.next(e)}),i.ec(3,"div",2),i.tc(4,1),i.Qc(5,O,0,0,"ng-template",3),i.dc(),i.tc(6,2),i.dc()),2&e&&(i.Mb(1),i.vc("@bodyExpansion",t._getExpandedState())("id",t.id),i.Nb("aria-labelledby",t._headerId),i.Mb(4),i.vc("cdkPortalOutlet",t._portal))},directives:[l.c],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[R.bodyExpansion]},changeDetection:0}),e})(),T=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Tb({type:e,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),e})(),L=(()=>{class e{constructor(e,t,a,i,n,r){this.panel=e,this._element=t,this._focusMonitor=a,this._changeDetectorRef=i,this._animationMode=r,this._parentChangeSubscription=v.a.EMPTY;const s=e.accordion?e.accordion._stateChanges.pipe(Object(m.a)(e=>!(!e.hideToggle&&!e.togglePosition))):y.a;this._parentChangeSubscription=Object(C.a)(e.opened,e.closed,s,e._inputChanges.pipe(Object(m.a)(e=>!!(e.hideToggle||e.disabled||e.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Object(m.a)(()=>e._containsFocus())).subscribe(()=>a.focusVia(t,"program")),n&&(this.expandedHeight=n.expandedHeight,this.collapsedHeight=n.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case b.o:case b.g:Object(b.t)(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e="program",t){this._focusMonitor.focusVia(this._element,e,t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return e.\u0275fac=function(t){return new(t||e)(i.Yb(F,1),i.Yb(i.p),i.Yb(h.h),i.Yb(i.i),i.Yb(Y,8),i.Yb(_.a,8))},e.\u0275cmp=i.Sb({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&i.lc("click",function(){return t._toggle()})("keydown",function(e){return t._keydown(e)}),2&e&&(i.Nb("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),i.Nc("height",t._getHeaderHeight()),i.Qb("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:V,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(i.uc(j),i.ec(0,"span",0),i.tc(1),i.tc(2,1),i.tc(3,2),i.dc(),i.Qc(4,S,1,1,"span",1)),2&e&&(i.Mb(4),i.vc("ngIf",t._showToggle()))},directives:[c.t],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[R.indicatorRotate]},changeDetection:0}),e})(),P=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Tb({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),e})(),N=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Tb({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e})(),B=(()=>{class e extends o.a{constructor(){super(...arguments),this._ownHeaders=new i.M,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=Object(d.c)(e)}ngAfterContentInit(){this._headers.changes.pipe(Object(u.a)(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(e=>e.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new h.g(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return e.\u0275fac=function(t){return z(t||e)},e.\u0275dir=i.Tb({type:e,selectors:[["mat-accordion"]],contentQueries:function(e,t,a){if(1&e&&i.Rb(a,L,!0),2&e){let e;i.Bc(e=i.mc())&&(t._headers=e)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&i.Qb("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[i.Lb([{provide:I,useExisting:e}]),i.Jb]}),e})();const z=i.gc(B);let H=(()=>{class e{}return e.\u0275mod=i.Wb({type:e}),e.\u0275inj=i.Vb({factory:function(t){return new(t||e)},imports:[[c.c,s.j,o.c,l.h]]}),e})();var q=a("NFeN"),G=a("qFsG"),Q=a("kmnG");let W=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Object(i.Sb)({type:e,selectors:[["expansion-expand-collapse-all-example"]],viewQuery:function(e,t){if(1&e&&Object(i.Wc)(B,!0),2&e){let e;Object(i.Bc)(e=Object(i.mc)())&&(t.accordion=e.first)}},decls:48,vars:1,consts:[[1,"example-action-buttons"],["mat-button","",3,"click"],["multi","",1,"example-headers-align"],["matInput",""],["matInput","","type","number","min","1"],["disabled",""],["matInput","","readonly","",3,"matDatepicker","focus"],["picker",""]],template:function(e,t){if(1&e){const e=Object(i.fc)();Object(i.ec)(0,"div",0),Object(i.ec)(1,"button",1),Object(i.lc)("click",function(){return t.accordion.openAll()}),Object(i.Sc)(2,"Expand All"),Object(i.dc)(),Object(i.ec)(3,"button",1),Object(i.lc)("click",function(){return t.accordion.closeAll()}),Object(i.Sc)(4,"Collapse All"),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(5,"mat-accordion",2),Object(i.ec)(6,"mat-expansion-panel"),Object(i.ec)(7,"mat-expansion-panel-header"),Object(i.ec)(8,"mat-panel-title"),Object(i.Sc)(9," Personal data "),Object(i.dc)(),Object(i.ec)(10,"mat-panel-description"),Object(i.Sc)(11," Type your name and age "),Object(i.ec)(12,"mat-icon"),Object(i.Sc)(13,"account_circle"),Object(i.dc)(),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(14,"mat-form-field"),Object(i.ec)(15,"mat-label"),Object(i.Sc)(16,"First name"),Object(i.dc)(),Object(i.Zb)(17,"input",3),Object(i.dc)(),Object(i.ec)(18,"mat-form-field"),Object(i.ec)(19,"mat-label"),Object(i.Sc)(20,"Age"),Object(i.dc)(),Object(i.Zb)(21,"input",4),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(22,"mat-expansion-panel",5),Object(i.ec)(23,"mat-expansion-panel-header"),Object(i.ec)(24,"mat-panel-title"),Object(i.Sc)(25," Destination "),Object(i.dc)(),Object(i.ec)(26,"mat-panel-description"),Object(i.Sc)(27," Type the country name "),Object(i.ec)(28,"mat-icon"),Object(i.Sc)(29,"map"),Object(i.dc)(),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(30,"mat-form-field"),Object(i.ec)(31,"mat-label"),Object(i.Sc)(32,"Country"),Object(i.dc)(),Object(i.Zb)(33,"input",3),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(34,"mat-expansion-panel"),Object(i.ec)(35,"mat-expansion-panel-header"),Object(i.ec)(36,"mat-panel-title"),Object(i.Sc)(37," Day of the trip "),Object(i.dc)(),Object(i.ec)(38,"mat-panel-description"),Object(i.Sc)(39," Inform the date you wish to travel "),Object(i.ec)(40,"mat-icon"),Object(i.Sc)(41,"date_range"),Object(i.dc)(),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(42,"mat-form-field"),Object(i.ec)(43,"mat-label"),Object(i.Sc)(44,"Date"),Object(i.dc)(),Object(i.ec)(45,"input",6),Object(i.lc)("focus",function(){return Object(i.Gc)(e),Object(i.Cc)(47).open()}),Object(i.dc)(),Object(i.dc)(),Object(i.Zb)(46,"mat-datepicker",null,7),Object(i.dc)(),Object(i.dc)()}if(2&e){const e=Object(i.Cc)(47);Object(i.Mb)(45),Object(i.vc)("matDatepicker",e)}},directives:[n.b,B,F,L,N,P,q.a,Q.c,Q.g,G.b,r.g,r.f],styles:[".example-action-buttons[_ngcontent-%COMP%] {\n padding-bottom: 20px;\n}\n\n.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%], .example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%] {\n flex-basis: 0;\n}\n\n.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%] {\n justify-content: space-between;\n align-items: center;\n}\n\n.example-headers-align[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] + .mat-form-field[_ngcontent-%COMP%] {\n margin-left: 8px;\n}"]}),e})(),K=(()=>{class e{constructor(){this.panelOpenState=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Object(i.Sb)({type:e,selectors:[["expansion-overview-example"]],decls:17,vars:1,consts:[["hideToggle",""],[3,"opened","closed"]],template:function(e,t){1&e&&(Object(i.ec)(0,"mat-accordion"),Object(i.ec)(1,"mat-expansion-panel",0),Object(i.ec)(2,"mat-expansion-panel-header"),Object(i.ec)(3,"mat-panel-title"),Object(i.Sc)(4," This is the expansion title "),Object(i.dc)(),Object(i.ec)(5,"mat-panel-description"),Object(i.Sc)(6," This is a summary of the content "),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(7,"p"),Object(i.Sc)(8,"This is the primary content of the panel."),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(9,"mat-expansion-panel",1),Object(i.lc)("opened",function(){return t.panelOpenState=!0})("closed",function(){return t.panelOpenState=!1}),Object(i.ec)(10,"mat-expansion-panel-header"),Object(i.ec)(11,"mat-panel-title"),Object(i.Sc)(12," Self aware panel "),Object(i.dc)(),Object(i.ec)(13,"mat-panel-description"),Object(i.Sc)(14),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(15,"p"),Object(i.Sc)(16,"I'm visible because I am open"),Object(i.dc)(),Object(i.dc)(),Object(i.dc)()),2&e&&(Object(i.Mb)(14),Object(i.Uc)(" Currently I am ",t.panelOpenState?"open":"closed"," "))},directives:[B,F,L,N,P],styles:[".mat-form-field[_ngcontent-%COMP%] + .mat-form-field[_ngcontent-%COMP%] {\n margin-left: 8px;\n}"]}),e})(),Z=(()=>{class e{constructor(){this.step=0}setStep(e){this.step=e}nextStep(){this.step++}prevStep(){this.step--}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Object(i.Sb)({type:e,selectors:[["expansion-steps-example"]],decls:56,vars:4,consts:[[1,"example-headers-align"],["hideToggle","",3,"expanded","opened"],["matInput",""],["matInput","","type","number","min","1"],["mat-button","","color","primary",3,"click"],["mat-button","","color","warn",3,"click"],["matInput","","readonly","",3,"matDatepicker","focus"],["picker",""]],template:function(e,t){if(1&e){const e=Object(i.fc)();Object(i.ec)(0,"mat-accordion",0),Object(i.ec)(1,"mat-expansion-panel",1),Object(i.lc)("opened",function(){return t.setStep(0)}),Object(i.ec)(2,"mat-expansion-panel-header"),Object(i.ec)(3,"mat-panel-title"),Object(i.Sc)(4," Personal data "),Object(i.dc)(),Object(i.ec)(5,"mat-panel-description"),Object(i.Sc)(6," Type your name and age "),Object(i.ec)(7,"mat-icon"),Object(i.Sc)(8,"account_circle"),Object(i.dc)(),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(9,"mat-form-field"),Object(i.ec)(10,"mat-label"),Object(i.Sc)(11,"First name"),Object(i.dc)(),Object(i.Zb)(12,"input",2),Object(i.dc)(),Object(i.ec)(13,"mat-form-field"),Object(i.ec)(14,"mat-label"),Object(i.Sc)(15,"Age"),Object(i.dc)(),Object(i.Zb)(16,"input",3),Object(i.dc)(),Object(i.ec)(17,"mat-action-row"),Object(i.ec)(18,"button",4),Object(i.lc)("click",function(){return t.nextStep()}),Object(i.Sc)(19,"Next"),Object(i.dc)(),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(20,"mat-expansion-panel",1),Object(i.lc)("opened",function(){return t.setStep(1)}),Object(i.ec)(21,"mat-expansion-panel-header"),Object(i.ec)(22,"mat-panel-title"),Object(i.Sc)(23," Destination "),Object(i.dc)(),Object(i.ec)(24,"mat-panel-description"),Object(i.Sc)(25," Type the country name "),Object(i.ec)(26,"mat-icon"),Object(i.Sc)(27,"map"),Object(i.dc)(),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(28,"mat-form-field"),Object(i.ec)(29,"mat-label"),Object(i.Sc)(30,"Country"),Object(i.dc)(),Object(i.Zb)(31,"input",2),Object(i.dc)(),Object(i.ec)(32,"mat-action-row"),Object(i.ec)(33,"button",5),Object(i.lc)("click",function(){return t.prevStep()}),Object(i.Sc)(34,"Previous"),Object(i.dc)(),Object(i.ec)(35,"button",4),Object(i.lc)("click",function(){return t.nextStep()}),Object(i.Sc)(36,"Next"),Object(i.dc)(),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(37,"mat-expansion-panel",1),Object(i.lc)("opened",function(){return t.setStep(2)}),Object(i.ec)(38,"mat-expansion-panel-header"),Object(i.ec)(39,"mat-panel-title"),Object(i.Sc)(40," Day of the trip "),Object(i.dc)(),Object(i.ec)(41,"mat-panel-description"),Object(i.Sc)(42," Inform the date you wish to travel "),Object(i.ec)(43,"mat-icon"),Object(i.Sc)(44,"date_range"),Object(i.dc)(),Object(i.dc)(),Object(i.dc)(),Object(i.ec)(45,"mat-form-field"),Object(i.ec)(46,"mat-label"),Object(i.Sc)(47,"Date"),Object(i.dc)(),Object(i.ec)(48,"input",6),Object(i.lc)("focus",function(){return Object(i.Gc)(e),Object(i.Cc)(50).open()}),Object(i.dc)(),Object(i.dc)(),Object(i.Zb)(49,"mat-datepicker",null,7),Object(i.ec)(51,"mat-action-row"),Object(i.ec)(52,"button",5),Object(i.lc)("click",function(){return t.prevStep()}),Object(i.Sc)(53,"Previous"),Object(i.dc)(),Object(i.ec)(54,"button",4),Object(i.lc)("click",function(){return t.nextStep()}),Object(i.Sc)(55,"End"),Object(i.dc)(),Object(i.dc)(),Object(i.dc)(),Object(i.dc)()}if(2&e){const e=Object(i.Cc)(50);Object(i.Mb)(1),Object(i.vc)("expanded",0===t.step),Object(i.Mb)(19),Object(i.vc)("expanded",1===t.step),Object(i.Mb)(17),Object(i.vc)("expanded",2===t.step),Object(i.Mb)(11),Object(i.vc)("matDatepicker",e)}},directives:[B,F,L,N,P,q.a,Q.c,Q.g,G.b,T,n.b,r.g,r.f],styles:[".example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%], .example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%] {\n flex-basis: 0;\n}\n\n.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%] {\n justify-content: space-between;\n align-items: center;\n}\n\n.example-headers-align[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] + .mat-form-field[_ngcontent-%COMP%] {\n margin-left: 8px;\n}"]}),e})(),U=(()=>{class e{}return e.\u0275mod=Object(i.Wb)({type:e}),e.\u0275inj=Object(i.Vb)({factory:function(t){return new(t||e)},imports:[[n.c,r.h,s.m,H,q.b,G.c]]}),e})()},iadO:function(e,t,a){"use strict";a.d(t,"a",function(){return U}),a.d(t,"b",function(){return ae}),a.d(t,"c",function(){return ue}),a.d(t,"d",function(){return Ne}),a.d(t,"e",function(){return Te}),a.d(t,"f",function(){return xe}),a.d(t,"g",function(){return je}),a.d(t,"h",function(){return Be}),a.d(t,"i",function(){return Ie}),a.d(t,"j",function(){return Ve}),a.d(t,"k",function(){return Fe}),a.d(t,"l",function(){return Ye});var i=a("u47x"),n=a("rDax"),r=a("+rOU"),s=a("ofXK"),o=a("fXoL"),l=a("bTqV"),c=a("0IaG"),d=a("vxfF"),h=a("FKr1"),p=a("XNiG"),u=a("quSY"),m=a("VRyK"),f=a("LRne"),b=a("FtGj"),_=a("IzEk"),g=a("JX91"),v=a("pLZG"),y=a("8LU1"),C=a("R0Ic"),x=a("3Pt+"),w=a("kmnG"),D=a("qFsG"),O=a("cH1L");const k=["mat-calendar-body",""];function A(e,t){if(1&e&&(o.ec(0,"tr",2),o.ec(1,"td",3),o.Sc(2),o.dc(),o.dc()),2&e){const e=o.pc();o.Mb(1),o.Nc("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),o.Nb("colspan",e.numCols),o.Mb(1),o.Uc(" ",e.label," ")}}function S(e,t){if(1&e&&(o.ec(0,"td",7),o.Sc(1),o.dc()),2&e){const e=o.pc(2);o.Nc("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),o.Nb("colspan",e._firstRowOffset),o.Mb(1),o.Uc(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function j(e,t){if(1&e){const e=o.fc();o.ec(0,"td",8),o.lc("click",function(a){o.Gc(e);const i=t.$implicit;return o.pc(2)._cellClicked(i,a)}),o.ec(1,"div",9),o.Sc(2),o.dc(),o.Zb(3,"div",10),o.dc()}if(2&e){const e=t.$implicit,a=t.index,i=o.pc().index,n=o.pc();o.Nc("width",n._cellWidth)("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),o.Qb("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",n._isActiveCell(i,a))("mat-calendar-body-range-start",n._isRangeStart(e.compareValue))("mat-calendar-body-range-end",n._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",n._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",n._isComparisonBridgeStart(e.compareValue,i,a))("mat-calendar-body-comparison-bridge-end",n._isComparisonBridgeEnd(e.compareValue,i,a))("mat-calendar-body-comparison-start",n._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",n._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",n._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",n._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",n._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",n._isInPreview(e.compareValue)),o.vc("ngClass",e.cssClasses)("tabindex",n._isActiveCell(i,a)?0:-1),o.Nb("data-mat-row",i)("data-mat-col",a)("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-selected",n._isSelected(e.compareValue)),o.Mb(1),o.Qb("mat-calendar-body-selected",n._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",n._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",n.todayValue===e.compareValue),o.Mb(1),o.Uc(" ",e.displayValue," ")}}function V(e,t){if(1&e&&(o.ec(0,"tr",4),o.Qc(1,S,2,6,"td",5),o.Qc(2,j,4,46,"td",6),o.dc()),2&e){const e=t.$implicit,a=t.index,i=o.pc();o.Mb(1),o.vc("ngIf",0===a&&i._firstRowOffset),o.Mb(1),o.vc("ngForOf",e)}}function I(e,t){if(1&e&&(o.ec(0,"th",5),o.Sc(1),o.dc()),2&e){const e=t.$implicit;o.Nb("aria-label",e.long),o.Mb(1),o.Tc(e.narrow)}}const R=["*"];function M(e,t){}function E(e,t){if(1&e){const e=o.fc();o.ec(0,"mat-month-view",5),o.lc("activeDateChange",function(t){return o.Gc(e),o.pc().activeDate=t})("_userSelection",function(t){return o.Gc(e),o.pc()._dateSelected(t)}),o.dc()}if(2&e){const e=o.pc();o.vc("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function Y(e,t){if(1&e){const e=o.fc();o.ec(0,"mat-year-view",6),o.lc("activeDateChange",function(t){return o.Gc(e),o.pc().activeDate=t})("monthSelected",function(t){return o.Gc(e),o.pc()._monthSelectedInYearView(t)})("selectedChange",function(t){return o.Gc(e),o.pc()._goToDateInView(t,"month")}),o.dc()}if(2&e){const e=o.pc();o.vc("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function F(e,t){if(1&e){const e=o.fc();o.ec(0,"mat-multi-year-view",7),o.lc("activeDateChange",function(t){return o.Gc(e),o.pc().activeDate=t})("yearSelected",function(t){return o.Gc(e),o.pc()._yearSelectedInMultiYearView(t)})("selectedChange",function(t){return o.Gc(e),o.pc()._goToDateInView(t,"year")}),o.dc()}if(2&e){const e=o.pc();o.vc("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}const T=["button"];function L(e,t){1&e&&(o.oc(),o.ec(0,"svg",3),o.Zb(1,"path",4),o.dc())}const P=[[["","matDatepickerToggleIcon",""]]],N=["[matDatepickerToggleIcon]"],B=[[["input","matStartDate",""]],[["input","matEndDate",""]]],z=["input[matStartDate]","input[matEndDate]"];let H=(()=>{class e{constructor(){this.changes=new p.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(o.Ub)({factory:function(){return new e},token:e,providedIn:"root"}),e})();class q{constructor(e,t,a,i,n={},r=e,s){this.value=e,this.displayValue=t,this.ariaLabel=a,this.enabled=i,this.cssClasses=n,this.compareValue=r,this.rawValue=s}}let G=(()=>{class e{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new o.s,this.previewChange=new o.s,this._enterHandler=e=>{if(this._skipNextFocus&&"focus"===e.type)this._skipNextFocus=!1;else if(e.target&&this.isRange){const t=this._getCellFromElement(e.target);t&&this._ngZone.run(()=>this.previewChange.emit({value:t.enabled?t:null,event:e}))}},this._leaveHandler=e=>{null!==this.previewEnd&&this.isRange&&e.target&&Q(e.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e}))},t.runOutsideAngular(()=>{const t=e.nativeElement;t.addEventListener("mouseenter",this._enterHandler,!0),t.addEventListener("focus",this._enterHandler,!0),t.addEventListener("mouseleave",this._leaveHandler,!0),t.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const t=e.numCols,{rows:a,numCols:i}=this;(e.rows||t)&&(this._firstRowOffset=a&&a.length&&a[0].length?i-a[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!t&&this._cellWidth||(this._cellWidth=100/i+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,t){let a=e*this.numCols+t;return e&&(a-=this._firstRowOffset),a==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(_.a)(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return W(e,this.startValue,this.endValue)}_isRangeEnd(e){return K(e,this.startValue,this.endValue)}_isInRange(e){return Z(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return W(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,a){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[t][a-1];if(!i){const e=this.rows[t-1];i=e&&e[e.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,t,a){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[t][a+1];if(!i){const e=this.rows[t+1];i=e&&e[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return K(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return Z(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return W(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return K(e,this.previewStart,this.previewEnd)}_isInPreview(e){return Z(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(Q(e)?t=e:Q(e.parentNode)&&(t=e.parentNode),t){const e=t.getAttribute("data-mat-row"),a=t.getAttribute("data-mat-col");if(e&&a)return this.rows[parseInt(e)][parseInt(a)]}return null}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.p),o.Yb(o.I))},e.\u0275cmp=o.Sb({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[o.Kb],attrs:k,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(o.Qc(0,A,3,6,"tr",0),o.Qc(1,V,3,2,"tr",1)),2&e&&(o.vc("ngIf",t._firstRowOffset<t.labelMinRequiredCells),o.Mb(1),o.vc("ngForOf",t.rows))},directives:[s.t,s.s,s.q],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),e})();function Q(e){return"TD"===e.nodeName}function W(e,t,a){return null!==a&&t!==a&&e<a&&e===t}function K(e,t,a){return null!==t&&t!==a&&e>=t&&e===a}function Z(e,t,a,i){return i&&null!==t&&null!==a&&t!==a&&e>=t&&e<=a}class U{constructor(e,t){this.start=e,this.end=t}}let X=(()=>{class e{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new p.a,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){this.selection=e,this._selectionChanged.next({selection:e,source:t})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(void 0),o.Yb(h.c))},e.\u0275dir=o.Tb({type:e}),e})(),J=(()=>{class e extends X{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}}return e.\u0275fac=function(t){return new(t||e)(o.ic(h.c))},e.\u0275prov=o.Ub({token:e,factory:e.\u0275fac}),e})(),$=(()=>{class e extends X{constructor(e){super(new U(null,null),e)}add(e){let{start:t,end:a}=this.selection;null==t?t=e:null==a?a=e:(t=e,a=null),super.updateSelection(new U(t,a),this)}isValid(){const{start:e,end:t}=this.selection;return null==e&&null==t||(null!=e&&null!=t?this._isValidDateInstance(e)&&this._isValidDateInstance(t)&&this._adapter.compareDate(e,t)<=0:(null==e||this._isValidDateInstance(e))&&(null==t||this._isValidDateInstance(t)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}}return e.\u0275fac=function(t){return new(t||e)(o.ic(h.c))},e.\u0275prov=o.Ub({token:e,factory:e.\u0275fac}),e})();const ee={provide:X,deps:[[new o.J,new o.T,X],h.c],useFactory:function(e,t){return e||new J(t)}},te={provide:X,deps:[[new o.J,new o.T,X],h.c],useFactory:function(e,t){return e||new $(t)}},ae=new o.x("MAT_DATE_RANGE_SELECTION_STRATEGY");let ie=(()=>{class e{constructor(e){this._dateAdapter=e}selectionFinished(e,t){let{start:a,end:i}=t;return null==a?a=e:null==i&&e&&this._dateAdapter.compareDate(e,a)>=0?i=e:(a=e,i=null),new U(a,i)}createPreview(e,t){let a=null,i=null;return t.start&&!t.end&&e&&(a=t.start,i=e),new U(a,i)}}return e.\u0275fac=function(t){return new(t||e)(o.ic(h.c))},e.\u0275prov=o.Ub({token:e,factory:e.\u0275fac}),e})();const ne={provide:ae,deps:[[new o.J,new o.T,ae],h.c],useFactory:function(e,t){return e||new ie(t)}};let re=(()=>{class e{constructor(e,t,a,i,n){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=a,this._dir=i,this._rangeStrategy=n,this._rerenderSubscription=u.a.EMPTY,this.selectedChange=new o.s,this._userSelection=new o.s,this.activeDateChange=new o.s,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof U?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(g.a)(null)).subscribe(()=>this._init())}ngOnChanges(e){const t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,a=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.createDate(a,i,t);let r,s;this._selected instanceof U?(r=this._getDateInCurrentMonth(this._selected.start),s=this._getDateInCurrentMonth(this._selected.end)):r=s=this._getDateInCurrentMonth(this._selected),r===t&&s===t||this.selectedChange.emit(n),this._userSelection.emit({value:n,event:e.event})}_handleCalendarBodyKeydown(e){const t=this._activeDate,a=this._isRtl();switch(e.keyCode){case b.j:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?1:-1);break;case b.n:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,a?-1:1);break;case b.q:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case b.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case b.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case b.f:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case b.m:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case b.l:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case b.g:case b.o:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),e.preventDefault()));case b.h:return void(null==this._previewEnd||Object(b.t)(e)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const a=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(a.start),this._previewEnd=this._getCellCompareValue(a.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let a=this._dateAdapter.getDayOfWeekNames("long").map((e,a)=>({long:e,narrow:t[a]}));this._weekdays=a.slice(e).concat(a.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let a=0,i=this._firstWeekOffset;a<e;a++,i++){7==i&&(this._weeks.push([]),i=0);const e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a+1),n=this._shouldEnableDate(e),r=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),s=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new q(a+1,t[a],r,n,s,this._getCellCompareValue(e),e))}}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),a=this._dateAdapter.getMonth(e),i=this._dateAdapter.getDate(e);return new Date(t,a,i).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof U?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.i),o.Yb(h.e,8),o.Yb(h.c,8),o.Yb(O.c,8),o.Yb(ae,8))},e.\u0275cmp=o.Sb({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){if(1&e&&o.Wc(G,!0),2&e){let e;o.Bc(e=o.mc())&&(t._matCalendarBody=e.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[o.Kb],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(o.ec(0,"table",0),o.ec(1,"thead",1),o.ec(2,"tr"),o.Qc(3,I,2,2,"th",2),o.dc(),o.ec(4,"tr"),o.Zb(5,"th",3),o.dc(),o.dc(),o.ec(6,"tbody",4),o.lc("selectedValueChange",function(e){return t._dateSelected(e)})("previewChange",function(e){return t._previewChanged(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),o.dc(),o.dc()),2&e&&(o.Mb(3),o.vc("ngForOf",t._weekdays),o.Mb(3),o.vc("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[s.s,G],encapsulation:2,changeDetection:0}),e})(),se=(()=>{class e{constructor(e,t,a){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=a,this._rerenderSubscription=u.a.EMPTY,this.selectedChange=new o.s,this.yearSelected=new o.s,this.activeDateChange=new o.s,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),oe(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof U?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(g.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const e=this._dateAdapter.getYear(this._activeDate)-le(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let t=0,a=[];t<24;t++)a.push(e+t),4==a.length&&(this._years.push(a.map(e=>this._createCellForYear(e))),a=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let a=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,a,1));this.selectedChange.emit(this._dateAdapter.createDate(t,a,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,a=this._isRtl();switch(e.keyCode){case b.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?1:-1);break;case b.n:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,a?-1:1);break;case b.q:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case b.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case b.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-le(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case b.f:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-le(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case b.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case b.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case b.g:case b.o:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_getActiveCell(){return le(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),a=this._dateAdapter.getYearName(t),i=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new q(e,a,a,this._shouldEnableYear(e),i)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let t=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(t)==e;t=this._dateAdapter.addCalendarDays(t,1))if(this.dateFilter(t))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(e){if(this._selectedYear=null,e instanceof U){const t=e.start||e.end;t&&(this._selectedYear=this._dateAdapter.getYear(t))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.i),o.Yb(h.c,8),o.Yb(O.c,8))},e.\u0275cmp=o.Sb({type:e,selectors:[["mat-multi-year-view"]],viewQuery:function(e,t){if(1&e&&o.Wc(G,!0),2&e){let e;o.Bc(e=o.mc())&&(t._matCalendarBody=e.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(o.ec(0,"table",0),o.ec(1,"thead",1),o.ec(2,"tr"),o.Zb(3,"th",2),o.dc(),o.dc(),o.ec(4,"tbody",3),o.lc("selectedValueChange",function(e){return t._yearSelected(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),o.dc(),o.dc()),2&e&&(o.Mb(4),o.vc("rows",t._years)("todayValue",t._todayYear)("startValue",t._selectedYear)("endValue",t._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._getActiveCell()))},directives:[G],encapsulation:2,changeDetection:0}),e})();function oe(e,t,a,i,n){const r=e.getYear(t),s=e.getYear(a),o=ce(e,i,n);return Math.floor((r-o)/24)===Math.floor((s-o)/24)}function le(e,t,a,i){return((e.getYear(t)-ce(e,a,i))%24+24)%24}function ce(e,t,a){let i=0;return a?i=e.getYear(a)-24+1:t&&(i=e.getYear(t)),i}let de=(()=>{class e{constructor(e,t,a,i){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=a,this._dir=i,this._rerenderSubscription=u.a.EMPTY,this.selectedChange=new o.s,this.monthSelected=new o.s,this.activeDateChange=new o.s,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(a,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof U?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(g.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(a);const i=this._dateAdapter.getNumDaysInMonth(a);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,a=this._isRtl();switch(e.keyCode){case b.j:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?1:-1);break;case b.n:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,a?-1:1);break;case b.q:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case b.e:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case b.i:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case b.f:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case b.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case b.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case b.g:case b.o:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(t=>this._createCellForMonth(t,e[t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){const a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),i=this._dateAdapter.format(a,this._dateFormats.display.monthYearA11yLabel),n=this.dateClass?this.dateClass(a,"year"):void 0;return new q(e,t.toLocaleUpperCase(),i,this._shouldEnableMonth(e),n)}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let a=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(a)==e;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const a=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return e>a||e===a&&t>i}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const a=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e<a||e===a&&t<i}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(e){this._selectedMonth=e instanceof U?this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._getMonthInCurrentYear(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.i),o.Yb(h.e,8),o.Yb(h.c,8),o.Yb(O.c,8))},e.\u0275cmp=o.Sb({type:e,selectors:[["mat-year-view"]],viewQuery:function(e,t){if(1&e&&o.Wc(G,!0),2&e){let e;o.Bc(e=o.mc())&&(t._matCalendarBody=e.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(o.ec(0,"table",0),o.ec(1,"thead",1),o.ec(2,"tr"),o.Zb(3,"th",2),o.dc(),o.dc(),o.ec(4,"tbody",3),o.lc("selectedValueChange",function(e){return t._monthSelected(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),o.dc(),o.dc()),2&e&&(o.Mb(4),o.vc("label",t._yearLabel)("rows",t._months)("todayValue",t._todayMonth)("startValue",t._selectedMonth)("endValue",t._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._dateAdapter.getMonth(t.activeDate)))},directives:[G],encapsulation:2,changeDetection:0}),e})(),he=0,pe=(()=>{class e{constructor(e,t,a,i,n){this._intl=e,this.calendar=t,this._dateAdapter=a,this._dateFormats=i,this._buttonDescriptionId="mat-calendar-button-"+he++,this.calendar.stateChanges.subscribe(()=>n.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const e=this._dateAdapter.getYear(this.calendar.activeDate)-le(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+24-1,a=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(a,i)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):oe(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(H),o.Yb(Object(o.eb)(()=>ue)),o.Yb(h.c,8),o.Yb(h.e,8),o.Yb(o.i))},e.\u0275cmp=o.Sb({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:R,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(o.uc(),o.ec(0,"div",0),o.ec(1,"div",1),o.ec(2,"button",2),o.lc("click",function(){return t.currentPeriodClicked()}),o.ec(3,"span"),o.Sc(4),o.dc(),o.Zb(5,"div",3),o.dc(),o.Zb(6,"div",4),o.tc(7),o.ec(8,"button",5),o.lc("click",function(){return t.previousClicked()}),o.dc(),o.ec(9,"button",6),o.lc("click",function(){return t.nextClicked()}),o.dc(),o.dc(),o.dc()),2&e&&(o.Mb(2),o.Nb("aria-label",t.periodButtonLabel)("aria-describedby",t._buttonDescriptionId),o.Mb(1),o.Nb("id",t._buttonDescriptionId),o.Mb(1),o.Tc(t.periodButtonText),o.Mb(1),o.Qb("mat-calendar-invert","month"!==t.calendar.currentView),o.Mb(3),o.vc("disabled",!t.previousEnabled()),o.Nb("aria-label",t.prevButtonLabel),o.Mb(1),o.vc("disabled",!t.nextEnabled()),o.Nb("aria-label",t.nextButtonLabel))},directives:[l.b,i.d],encapsulation:2,changeDetection:0}),e})(),ue=(()=>{class e{constructor(e,t,a,i){this._dateAdapter=t,this._dateFormats=a,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new o.s,this.yearSelected=new o.s,this.monthSelected=new o.s,this.viewChanged=new o.s(!0),this._userSelection=new o.s,this.stateChanges=new p.a,this._intlChanges=e.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof U?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const t=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),t&&this.viewChanged.emit(t)}ngAfterContentInit(){this._calendarHeaderPortal=new r.d(this.headerComponent||pe),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const e=this._getCurrentViewComponent();e&&(this._changeDetectorRef.detectChanges(),e._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const e=this.currentView;let t;t="month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView,t._init()}_dateSelected(e){const t=e.value;(this.selected instanceof U||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(H),o.Yb(h.c,8),o.Yb(h.e,8),o.Yb(o.i))},e.\u0275cmp=o.Sb({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){if(1&e&&(o.Wc(re,!0),o.Wc(de,!0),o.Wc(se,!0)),2&e){let e;o.Bc(e=o.mc())&&(t.monthView=e.first),o.Bc(e=o.mc())&&(t.yearView=e.first),o.Bc(e=o.mc())&&(t.multiYearView=e.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[o.Lb([ee]),o.Kb],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(o.Qc(0,M,0,0,"ng-template",0),o.ec(1,"div",1),o.Qc(2,E,1,8,"mat-month-view",2),o.Qc(3,Y,1,6,"mat-year-view",3),o.Qc(4,F,1,6,"mat-multi-year-view",4),o.dc()),2&e&&(o.vc("cdkPortalOutlet",t._calendarHeaderPortal),o.Mb(1),o.vc("ngSwitch",t.currentView),o.Mb(1),o.vc("ngSwitchCase","month"),o.Mb(1),o.vc("ngSwitchCase","year"),o.Mb(1),o.vc("ngSwitchCase","multi-year"))},directives:[r.c,i.e,s.x,s.y,re,de,se],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),e})();const me={transformPanel:Object(C.m)("transformPanel",[Object(C.j)("void",Object(C.k)({opacity:0,transform:"scale(1, 0.8)"})),Object(C.l)("void => enter",Object(C.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(C.k)({opacity:1,transform:"scale(1, 1)"}))),Object(C.l)("* => void",Object(C.e)("100ms linear",Object(C.k)({opacity:0})))]),fadeInCalendar:Object(C.m)("fadeInCalendar",[Object(C.j)("void",Object(C.k)({opacity:0})),Object(C.j)("enter",Object(C.k)({opacity:1})),Object(C.l)("void => *",Object(C.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let fe=0;const be=new o.x("mat-datepicker-scroll-strategy"),_e={provide:be,deps:[n.c],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class ge{constructor(e){this._elementRef=e}}const ve=Object(h.z)(ge);let ye=(()=>{class e extends ve{constructor(e,t,a,i,n,r){super(e),this._changeDetectorRef=t,this._model=a,this._dateAdapter=i,this._rangeSelectionStrategy=n,this._subscriptions=new u.a,this._animationState="enter",this._animationDone=new p.a,this._closeButtonText=(null==r?void 0:r.closeCalendarLabel)||"Close calendar"}ngAfterViewInit(){this._subscriptions.add(this.datepicker._stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const t=this._model.selection,a=e.value,i=t instanceof U;if(i&&this._rangeSelectionStrategy){const i=this._rangeSelectionStrategy.selectionFinished(a,t,e.event);this._model.updateSelection(i,this)}else!a||!i&&this._dateAdapter.sameDate(a,t)||this._model.add(a);this._model&&!this._model.isComplete()||this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.p),o.Yb(o.i),o.Yb(X),o.Yb(h.c),o.Yb(ae,8),o.Yb(H))},e.\u0275cmp=o.Sb({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){if(1&e&&o.Wc(ue,!0),2&e){let e;o.Bc(e=o.mc())&&(t._calendar=e.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&o.Oc("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(o.Pc("@transformPanel",t._animationState),o.Qb("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[o.Jb],decls:4,vars:16,consts:[["cdkTrapFocus",""],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],["type","button","mat-raised-button","","color","primary",1,"mat-datepicker-close-button",3,"focus","blur","click"]],template:function(e,t){1&e&&(o.ec(0,"div",0),o.ec(1,"mat-calendar",1),o.lc("yearSelected",function(e){return t.datepicker._selectYear(e)})("monthSelected",function(e){return t.datepicker._selectMonth(e)})("viewChanged",function(e){return t.datepicker._viewChanged(e)})("_userSelection",function(e){return t._handleUserSelection(e)}),o.dc(),o.ec(2,"button",2),o.lc("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),o.Sc(3),o.dc(),o.dc()),2&e&&(o.Mb(1),o.vc("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter"),o.Mb(1),o.Qb("cdk-visually-hidden",!t._closeButtonFocused),o.Mb(1),o.Tc(t._closeButtonText))},directives:[i.f,ue,s.q,l.b],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[me.transformPanel,me.fadeInCalendar]},changeDetection:0}),e})(),Ce=(()=>{class e{constructor(e,t,a,i,n,r,s,l,c){this._dialog=e,this._overlay=t,this._ngZone=a,this._viewContainerRef=i,this._dateAdapter=r,this._dir=s,this._document=l,this._model=c,this._inputStateChanges=u.a.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new o.s,this.monthSelected=new o.s,this.viewChanged=new o.s(!0),this.openedStream=new o.s,this.closedStream=new o.s,this._opened=!1,this.id="mat-datepicker-"+fe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=this.id+"-backdrop",this._stateChanges=new p.a,this._scrollStrategy=n}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this._datepickerInput?this._datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=Object(y.c)(e)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(e){const t=Object(y.c)(e);t!==this._disabled&&(this._disabled=t,this._stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=Object(y.g)(e)}get opened(){return this._opened}set opened(e){Object(y.c)(e)?this.open():this.close()}_getMinDate(){return this._datepickerInput&&this._datepickerInput.min}_getMaxDate(){return this._datepickerInput&&this._datepickerInput.max}_getDateFilter(){return this._datepickerInput&&this._datepickerInput.dateFilter}ngOnChanges(e){const t=e.xPosition||e.yPosition;t&&!t.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this._stateChanges.next(void 0)}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this._stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}_registerInput(e){return this._inputStateChanges.unsubscribe(),this._datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this._stateChanges.next(void 0)),this._model}open(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(Object(_.a)(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(ye,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._forwardContentValues(this._dialogRef.componentInstance)}_openAsPopup(){const e=new r.d(ye,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(e),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(Object(_.a)(1)).subscribe(()=>{this._popupRef.updatePosition()})}_forwardContentValues(e){e.datepicker=this,e.color=this.color}_createPopup(){const e=this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),t=new n.d({positionStrategy:this._setConnectedPositions(e),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(m.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(v.a)(e=>e.keyCode===b.h&&!Object(b.t)(e)||this._datepickerInput&&Object(b.t)(e,"altKey")&&e.keyCode===b.q))).subscribe(e=>{e&&e.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_setConnectedPositions(e){const t="end"===this.xPosition?"end":"start",a="start"===t?"end":"start",i="above"===this.yPosition?"bottom":"top",n="top"===i?"bottom":"top";return e.withPositions([{originX:t,originY:n,overlayX:t,overlayY:i},{originX:t,originY:i,overlayX:t,overlayY:n},{originX:a,originY:n,overlayX:a,overlayY:i},{originX:a,originY:i,overlayX:a,overlayY:n}])}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(c.b),o.Yb(n.c),o.Yb(o.I),o.Yb(o.ab),o.Yb(be),o.Yb(h.c,8),o.Yb(O.c,8),o.Yb(s.e,8),o.Yb(X))},e.\u0275dir=o.Tb({type:e,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[o.Kb]}),e})(),xe=(()=>{class e extends Ce{}return e.\u0275fac=function(t){return we(t||e)},e.\u0275cmp=o.Sb({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[o.Lb([ee]),o.Jb],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();const we=o.gc(xe);class De{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let Oe=(()=>{class e{constructor(e,t,a){this._elementRef=e,this._dateAdapter=t,this._dateFormats=a,this.dateChange=new o.s,this.dateInput=new o.s,this._valueChange=new o.s,this.stateChanges=new p.a,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=u.a.EMPTY,this._localeSubscription=u.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!t||this._matchesFilter(t)?null:{matDatepickerFilter:!0}},this._minValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),a=this._getMinDate();return!a||!t||this._dateAdapter.compareDate(a,t)<=0?null:{matDatepickerMin:{min:a,actual:t}}},this._maxValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),a=this._getMaxDate();return!a||!t||this._dateAdapter.compareDate(a,t)>=0?null:{matDatepickerMax:{max:a,actual:t}}},this._lastValueValid=!1,this._localeSubscription=t.localeChanges.subscribe(()=>{this.value=this.value})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e);const t=this.value;this._assignValue(e),this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const t=Object(y.c)(e),a=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&a.blur&&a.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(e=>{if(e.source!==this){const t=this._getValueFromModel(e.selection);this._lastValueValid=this._isValidValue(t),this._cvaOnChange(t),this._onTouched(),this._formatValue(t),this._canEmitChangeEvent(e)&&(this.dateInput.emit(new De(this,this._elementRef.nativeElement)),this.dateChange.emit(new De(this,this._elementRef.nativeElement))),this._outsideValueChanged&&this._outsideValueChanged()}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){ke(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&e.keyCode===b.e&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let a=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(a),a=this._dateAdapter.getValidDateOrNull(a),this._dateAdapter.sameDate(a,this.value)?(e&&!this.value&&this._cvaOnChange(a),t!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(a),this._cvaOnChange(a),this._valueChange.emit(a),this.dateInput.emit(new De(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new De(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_matchesFilter(e){const t=this._getDateFilter();return!t||t(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.p),o.Yb(h.c,8),o.Yb(h.e,8))},e.\u0275dir=o.Tb({type:e,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[o.Kb]}),e})();function ke(e,t){const a=Object.keys(e);for(let i of a){const{previousValue:a,currentValue:n}=e[i];if(!t.isDateInstance(a)||!t.isDateInstance(n))return!0;if(!t.sameDate(a,n))return!0}return!1}const Ae={provide:x.l,useExisting:Object(o.eb)(()=>je),multi:!0},Se={provide:x.k,useExisting:Object(o.eb)(()=>je),multi:!0};let je=(()=>{class e extends Oe{constructor(e,t,a,i){super(e,t,a),this._formField=i,this._validator=x.w.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._registerModel(e._registerInput(this)))}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const t=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==t&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_canEmitChangeEvent(){return!0}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.p),o.Yb(h.c,8),o.Yb(h.e,8),o.Yb(w.a,8))},e.\u0275dir=o.Tb({type:e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&o.lc("input",function(e){return t._onInput(e.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(e){return t._onKeydown(e)}),2&e&&(o.hc("disabled",t.disabled),o.Nb("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[o.Lb([Ae,Se,{provide:D.a,useExisting:e}]),o.Jb]}),e})(),Ve=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.Tb({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e})(),Ie=(()=>{class e{constructor(e,t,a){this._intl=e,this._changeDetectorRef=t,this._stateChanges=u.a.EMPTY;const i=Number(a);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=Object(y.c)(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker._stateChanges:Object(f.a)(),t=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput.stateChanges:Object(f.a)(),a=this.datepicker?Object(m.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(f.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(m.a)(this._intl.changes,e,t,a).subscribe(()=>this._changeDetectorRef.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(H),o.Yb(o.i),o.jc("tabindex"))},e.\u0275cmp=o.Sb({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,a){if(1&e&&o.Rb(a,Ve,!0),2&e){let e;o.Bc(e=o.mc())&&(t._customIcon=e.first)}},viewQuery:function(e,t){if(1&e&&o.Wc(T,!0),2&e){let e;o.Bc(e=o.mc())&&(t._button=e.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&o.lc("focus",function(){return t._button.focus()}),2&e&&(o.Nb("tabindex",t.disabled?null:-1)("data-mat-calendar",t.datepicker?t.datepicker.id:null),o.Qb("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[o.Kb],ngContentSelectors:N,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(o.uc(P),o.ec(0,"button",0,1),o.lc("click",function(e){return t._open(e)}),o.Qc(2,L,2,0,"svg",2),o.tc(3),o.dc()),2&e&&(o.vc("disabled",t.disabled)("disableRipple",t.disableRipple),o.Nb("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),o.Mb(2),o.vc("ngIf",!t._customIcon))},directives:[l.b,s.t],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})();const Re=new o.x("MAT_DATE_RANGE_INPUT_PARENT");let Me=(()=>{class e extends Oe{constructor(e,t,a,i,n,r,s,o){super(t,s,o),this._rangeInput=e,this._defaultErrorStateMatcher=a,this._injector=i,this._parentForm=n,this._parentFormGroup=r,this._outsideValueChanged=()=>{this._validatorOnChange()}}ngOnInit(){const e=this._injector.get(x.m,null,o.v.Self);e&&(this.ngControl=e)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}_onInput(e){super._onInput(e),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(Re),o.Yb(o.p),o.Yb(h.d),o.Yb(o.y),o.Yb(x.p,8),o.Yb(x.i,8),o.Yb(h.c,8),o.Yb(h.e,8))},e.\u0275dir=o.Tb({type:e,features:[o.Jb]}),e})();const Ee=Object(h.C)(Me);let Ye=(()=>{class e extends Ee{constructor(e,t,a,i,n,r,s,o){super(e,t,a,i,n,r,s,o),this._startValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),a=this._model?this._model.selection.end:null;return!t||!a||this._dateAdapter.compareDate(t,a)<=0?null:{matStartDateInvalid:{end:a,actual:t}}},this._validator=x.w.compose([...super._getValidators(),this._startValidator]),this._canEmitChangeEvent=e=>e.source!==this._rangeInput._endInput}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}_getValueFromModel(e){return e.start}_assignValueToModel(e){if(this._model){const t=new U(e,this._model.selection.end);this._model.updateSelection(t,this),this._cvaOnChange(e)}}_formatValue(e){super._formatValue(e),this._rangeInput._handleChildValueChange()}getMirrorValue(){const e=this._elementRef.nativeElement,t=e.value;return t.length>0?t:e.placeholder}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(Re),o.Yb(o.p),o.Yb(h.d),o.Yb(o.y),o.Yb(x.p,8),o.Yb(x.i,8),o.Yb(h.c,8),o.Yb(h.e,8))},e.\u0275dir=o.Tb({type:e,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(e,t){1&e&&o.lc("input",function(e){return t._onInput(e.target.value)})("change",function(){return t._onChange()})("keydown",function(e){return t._onKeydown(e)})("blur",function(){return t._onBlur()}),2&e&&(o.hc("disabled",t.disabled),o.Nb("id",t._rangeInput.id)("aria-haspopup",t._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==t._rangeInput.rangePicker?null:t._rangeInput.rangePicker.opened)&&t._rangeInput.rangePicker.id||null)("min",t._getMinDate()?t._dateAdapter.toIso8601(t._getMinDate()):null)("max",t._getMaxDate()?t._dateAdapter.toIso8601(t._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[o.Lb([{provide:x.l,useExisting:e,multi:!0},{provide:x.k,useExisting:e,multi:!0}]),o.Jb]}),e})(),Fe=(()=>{class e extends Ee{constructor(e,t,a,i,n,r,s,o){super(e,t,a,i,n,r,s,o),this._endValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),a=this._model?this._model.selection.start:null;return!t||!a||this._dateAdapter.compareDate(t,a)>=0?null:{matEndDateInvalid:{start:a,actual:t}}},this._validator=x.w.compose([...super._getValidators(),this._endValidator]),this._canEmitChangeEvent=e=>e.source!==this._rangeInput._startInput}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}_getValueFromModel(e){return e.end}_assignValueToModel(e){if(this._model){const t=new U(this._model.selection.start,e);this._model.updateSelection(t,this),this._cvaOnChange(e)}}_onKeydown(e){e.keyCode!==b.b||this._elementRef.nativeElement.value||this._rangeInput._startInput.focus(),super._onKeydown(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(Re),o.Yb(o.p),o.Yb(h.d),o.Yb(o.y),o.Yb(x.p,8),o.Yb(x.i,8),o.Yb(h.c,8),o.Yb(h.e,8))},e.\u0275dir=o.Tb({type:e,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,t){1&e&&o.lc("input",function(e){return t._onInput(e.target.value)})("change",function(){return t._onChange()})("keydown",function(e){return t._onKeydown(e)})("blur",function(){return t._onBlur()}),2&e&&(o.hc("disabled",t.disabled),o.Nb("aria-haspopup",t._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==t._rangeInput.rangePicker?null:t._rangeInput.rangePicker.opened)&&t._rangeInput.rangePicker.id||null)("min",t._getMinDate()?t._dateAdapter.toIso8601(t._getMinDate()):null)("max",t._getMaxDate()?t._dateAdapter.toIso8601(t._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[o.Lb([{provide:x.l,useExisting:e,multi:!0},{provide:x.k,useExisting:e,multi:!0}]),o.Jb]}),e})(),Te=(()=>{class e extends Ce{_forwardContentValues(e){super._forwardContentValues(e);const t=this._datepickerInput;t&&(e.comparisonStart=t.comparisonStart,e.comparisonEnd=t.comparisonEnd)}}return e.\u0275fac=function(t){return Le(t||e)},e.\u0275cmp=o.Sb({type:e,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[o.Lb([te,ne]),o.Jb],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();const Le=o.gc(Te);let Pe=0,Ne=(()=>{class e{constructor(e,t,a,i,n){this._changeDetectorRef=e,this._elementRef=t,this._dateAdapter=i,this._formField=n,this.id="mat-date-range-input-"+Pe++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new p.a,this.ngControl=a}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){var e,t;const a=(null===(e=this._startInput)||void 0===e?void 0:e._getPlaceholder())||"",i=(null===(t=this._endInput)||void 0===t?void 0:t._getPlaceholder())||"";return a||i?`${a} ${this.separator} ${i}`:""}get rangePicker(){return this._rangePicker}set rangePicker(e){e&&(this._model=e._registerInput(this),this._rangePicker=e,this._registerModel(this._model))}get required(){return!!this._required}set required(e){this._required=Object(y.c)(e)}get dateFilter(){return this._dateFilter}set dateFilter(e){const t=this._startInput,a=this._endInput,i=t&&t._matchesFilter(t.value),n=a&&a._matchesFilter(t.value);this._dateFilter=e,t&&t._matchesFilter(t.value)!==i&&t._validatorOnChange(),a&&a._matchesFilter(a.value)!==n&&a._validatorOnChange()}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._revalidate())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(e){const t=Object(y.c)(e);t!==this._groupDisabled&&(this._groupDisabled=t,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const e=!!this._startInput&&this._startInput.isEmpty(),t=!!this._endInput&&this._endInput.isEmpty();return e&&t}setDescribedByIds(e){this._ariaDescribedBy=e.length?e.join(" "):null}onContainerClick(){this.focused||this.disabled||(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),Object(m.a)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(e){ke(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}_getInputMirrorValue(){return this._startInput?this._startInput.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField._hideControlPlaceholder())&&this.empty}_getAriaLabelledby(){const e=this._formField;return e&&e._hasFloatingLabel()?e._labelId:null}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(e){this._startInput&&this._startInput._registerModel(e),this._endInput&&this._endInput._registerModel(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.i),o.Yb(o.p),o.Yb(x.b,10),o.Yb(h.c,8),o.Yb(w.a,8))},e.\u0275cmp=o.Sb({type:e,selectors:[["mat-date-range-input"]],contentQueries:function(e,t,a){if(1&e&&(o.Rb(a,Ye,!0),o.Rb(a,Fe,!0)),2&e){let e;o.Bc(e=o.mc())&&(t._startInput=e.first),o.Bc(e=o.mc())&&(t._endInput=e.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(e,t){2&e&&(o.Nb("id",null)("aria-labelledby",t._getAriaLabelledby())("aria-describedby",t._ariaDescribedBy)("data-mat-calendar",t.rangePicker?t.rangePicker.id:null),o.Qb("mat-date-range-input-hide-placeholders",t._shouldHidePlaceholders())("mat-date-range-input-required",t.required))},inputs:{separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled"},exportAs:["matDateRangeInput"],features:[o.Lb([{provide:w.d,useExisting:e},{provide:Re,useExisting:e}]),o.Kb],ngContentSelectors:z,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(e,t){1&e&&(o.uc(B),o.ec(0,"div",0),o.lc("cdkFocusChange",function(e){return t.focused=null!==e}),o.ec(1,"div",1),o.tc(2),o.ec(3,"span",2),o.Sc(4),o.dc(),o.dc(),o.ec(5,"span",3),o.Sc(6),o.dc(),o.ec(7,"div",4),o.tc(8,1),o.dc(),o.dc()),2&e&&(o.Mb(4),o.Tc(t._getInputMirrorValue()),o.Mb(1),o.Qb("mat-date-range-input-separator-hidden",t._shouldHideSeparator()),o.Mb(1),o.Tc(t.separator))},directives:[i.e],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}.mat-date-range-input-separator-hidden{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%}.mat-date-range-input-inner::-ms-clear,.mat-date-range-input-inner::-ms-reveal{display:none}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"],encapsulation:2,changeDetection:0}),e})(),Be=(()=>{class e{}return e.\u0275mod=o.Wb({type:e}),e.\u0275inj=o.Vb({factory:function(t){return new(t||e)},providers:[H,_e],imports:[[s.c,l.c,c.f,n.f,i.a,r.h,h.j],d.c]}),e})()},ihCf:function(e,t,a){"use strict";a.d(t,"a",function(){return u}),a.d(t,"b",function(){return m}),a.d(t,"c",function(){return f}),a.d(t,"d",function(){return b});var i=a("nLfN"),n=a("fXoL"),r=a("8LU1"),s=a("EY2u"),o=a("XNiG"),l=a("xgIS"),c=a("3UWI"),d=a("1G5W"),h=a("ofXK");const p=Object(i.f)({passive:!0});let u=(()=>{class e{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return s.a;const t=Object(r.e)(e),a=this._monitoredElements.get(t);if(a)return a.subject;const i=new o.a,n="cdk-text-field-autofilled",l=e=>{"cdk-text-field-autofill-start"!==e.animationName||t.classList.contains(n)?"cdk-text-field-autofill-end"===e.animationName&&t.classList.contains(n)&&(t.classList.remove(n),this._ngZone.run(()=>i.next({target:e.target,isAutofilled:!1}))):(t.classList.add(n),this._ngZone.run(()=>i.next({target:e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",l,p),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:i,unlisten:()=>{t.removeEventListener("animationstart",l,p)}}),i}stopMonitoring(e){const t=Object(r.e)(e),a=this._monitoredElements.get(t);a&&(a.unlisten(),a.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return e.\u0275fac=function(t){return new(t||e)(n.ic(i.a),n.ic(n.I))},e.\u0275prov=Object(n.Ub)({factory:function(){return new e(Object(n.ic)(i.a),Object(n.ic)(n.I))},token:e,providedIn:"root"}),e})(),m=(()=>{class e{constructor(e,t){this._elementRef=e,this._autofillMonitor=t,this.cdkAutofill=new n.s}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(e=>this.cdkAutofill.emit(e))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}}return e.\u0275fac=function(t){return new(t||e)(n.Yb(n.p),n.Yb(u))},e.\u0275dir=n.Tb({type:e,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}}),e})(),f=(()=>{class e{constructor(e,t,a,i){this._elementRef=e,this._platform=t,this._ngZone=a,this._destroyed=new o.a,this._enabled=!0,this._previousMinRows=-1,this._document=i,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=t.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}get minRows(){return this._minRows}set minRows(e){this._minRows=Object(r.f)(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=Object(r.f)(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=Object(r.c)(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const e=this._getWindow();Object(l.a)(e,"resize").pipe(Object(c.a)(16),Object(d.a)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,this._textareaElement.parentNode.removeChild(e),this._setMinHeight(),this._setMaxHeight()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const t=this._elementRef.nativeElement,a=t.value;if(!e&&this._minRows===this._previousMinRows&&a===this._previousValue)return;const i=t.placeholder;t.classList.add(this._measuringClass),t.placeholder="",t.style.height=t.scrollHeight-4+"px",t.classList.remove(this._measuringClass),t.placeholder=i,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=a,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:t,selectionEnd:a}=e,i=this._getDocument();this._destroyed.isStopped||i.activeElement!==e||e.setSelectionRange(t,a)}}return e.\u0275fac=function(t){return new(t||e)(n.Yb(n.p),n.Yb(i.a),n.Yb(n.I),n.Yb(h.e,8))},e.\u0275dir=n.Tb({type:e,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&n.lc("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),e})(),b=(()=>{class e{}return e.\u0275mod=n.Wb({type:e}),e.\u0275inj=n.Vb({factory:function(t){return new(t||e)},imports:[[i.b]]}),e})()},kmnG:function(e,t,a){"use strict";a.d(t,"a",function(){return te}),a.d(t,"b",function(){return T}),a.d(t,"c",function(){return ae}),a.d(t,"d",function(){return P}),a.d(t,"e",function(){return ie}),a.d(t,"f",function(){return q}),a.d(t,"g",function(){return G}),a.d(t,"h",function(){return K}),a.d(t,"i",function(){return U}),a.d(t,"j",function(){return N}),a.d(t,"k",function(){return B}),a.d(t,"l",function(){return L});var i=a("GU7r"),n=a("ofXK"),r=a("fXoL"),s=a("FKr1"),o=a("8LU1"),l=a("XNiG"),c=a("VRyK"),d=a("xgIS"),h=a("JX91"),p=a("1G5W"),u=a("IzEk"),m=a("R0Ic"),f=a("R1ws"),b=a("cH1L"),_=a("nLfN");const g=["underline"],v=["connectionContainer"],y=["inputContainer"],C=["label"];function x(e,t){1&e&&(r.cc(0),r.ec(1,"div",14),r.Zb(2,"div",15),r.Zb(3,"div",16),r.Zb(4,"div",17),r.dc(),r.ec(5,"div",18),r.Zb(6,"div",15),r.Zb(7,"div",16),r.Zb(8,"div",17),r.dc(),r.bc())}function w(e,t){1&e&&(r.ec(0,"div",19),r.tc(1,1),r.dc())}function D(e,t){if(1&e&&(r.cc(0),r.tc(1,2),r.ec(2,"span"),r.Sc(3),r.dc(),r.bc()),2&e){const e=r.pc(2);r.Mb(3),r.Tc(e._control.placeholder)}}function O(e,t){1&e&&r.tc(0,3,["*ngSwitchCase","true"])}function k(e,t){1&e&&(r.ec(0,"span",23),r.Sc(1," *"),r.dc())}function A(e,t){if(1&e){const e=r.fc();r.ec(0,"label",20,21),r.lc("cdkObserveContent",function(){return r.Gc(e),r.pc().updateOutlineGap()}),r.Qc(2,D,4,1,"ng-container",12),r.Qc(3,O,1,0,"ng-content",12),r.Qc(4,k,2,0,"span",22),r.dc()}if(2&e){const e=r.pc();r.Qb("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),r.vc("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),r.Nb("for",e._control.id)("aria-owns",e._control.id),r.Mb(2),r.vc("ngSwitchCase",!1),r.Mb(1),r.vc("ngSwitchCase",!0),r.Mb(1),r.vc("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function S(e,t){1&e&&(r.ec(0,"div",24),r.tc(1,4),r.dc())}function j(e,t){if(1&e&&(r.ec(0,"div",25,26),r.Zb(2,"span",27),r.dc()),2&e){const e=r.pc();r.Mb(2),r.Qb("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function V(e,t){if(1&e&&(r.ec(0,"div"),r.tc(1,5),r.dc()),2&e){const e=r.pc();r.vc("@transitionMessages",e._subscriptAnimationState)}}function I(e,t){if(1&e&&(r.ec(0,"div",31),r.Sc(1),r.dc()),2&e){const e=r.pc(2);r.vc("id",e._hintLabelId),r.Mb(1),r.Tc(e.hintLabel)}}function R(e,t){if(1&e&&(r.ec(0,"div",28),r.Qc(1,I,2,2,"div",29),r.tc(2,6),r.Zb(3,"div",30),r.tc(4,7),r.dc()),2&e){const e=r.pc();r.vc("@transitionMessages",e._subscriptAnimationState),r.Mb(1),r.vc("ngIf",e.hintLabel)}}const M=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],E=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Y=0;const F=new r.x("MatError");let T=(()=>{class e{constructor(){this.id="mat-error-"+Y++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Tb({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&r.Nb("id",t.id)},inputs:{id:"id"},features:[r.Lb([{provide:F,useExisting:e}])]}),e})();const L={transitionMessages:Object(m.m)("transitionMessages",[Object(m.j)("enter",Object(m.k)({opacity:1,transform:"translateY(0%)"})),Object(m.l)("void => enter",[Object(m.k)({opacity:0,transform:"translateY(-100%)"}),Object(m.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let P=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Tb({type:e}),e})();function N(e){return Error(`A hint was already declared for 'align="${e}"'.`)}function B(){return Error("mat-form-field must contain a MatFormFieldControl.")}let z=0;const H=new r.x("MatHint");let q=(()=>{class e{constructor(){this.align="start",this.id="mat-hint-"+z++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Tb({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(r.Nb("id",t.id)("align",null),r.Qb("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[r.Lb([{provide:H,useExisting:e}])]}),e})(),G=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Tb({type:e,selectors:[["mat-label"]]}),e})(),Q=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Tb({type:e,selectors:[["mat-placeholder"]]}),e})();const W=new r.x("MatPrefix");let K=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Tb({type:e,selectors:[["","matPrefix",""]],features:[r.Lb([{provide:W,useExisting:e}])]}),e})();const Z=new r.x("MatSuffix");let U=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Tb({type:e,selectors:[["","matSuffix",""]],features:[r.Lb([{provide:Z,useExisting:e}])]}),e})(),X=0;class J{constructor(e){this._elementRef=e}}const $=Object(s.z)(J,"primary"),ee=new r.x("MAT_FORM_FIELD_DEFAULT_OPTIONS"),te=new r.x("MatFormField");let ae=(()=>{class e extends ${constructor(e,t,a,i,n,r,s,o){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this._defaults=n,this._platform=r,this._ngZone=s,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+X++,this._labelId="mat-form-field-label-"+X++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=n&&n.appearance?n.appearance:"legacy",this._hideRequiredMarker=!(!n||null==n.hideRequiredMarker)&&n.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Object(o.c)(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Object(h.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Object(p.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(p.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(c.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(h.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(h.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(p.a)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(d.a)(this._label.nativeElement,"transitionend").pipe(Object(u.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,a=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,a=0;const i=this._connectionContainerRef.nativeElement,n=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const n=i.getBoundingClientRect();if(0===n.width&&0===n.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(n),s=e.children,o=this._getStartEnd(s[0].getBoundingClientRect());let l=0;for(let e=0;e<s.length;e++)l+=s[e].offsetWidth;t=Math.abs(o-r)-5,a=l>0?.75*l+10:0}for(let s=0;s<n.length;s++)n[s].style.width=t+"px";for(let s=0;s<r.length;s++)r[s].style.width=a+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Yb(r.p),r.Yb(r.i),r.Yb(r.p),r.Yb(b.c,8),r.Yb(ee,8),r.Yb(_.a),r.Yb(r.I),r.Yb(f.a,8))},e.\u0275cmp=r.Sb({type:e,selectors:[["mat-form-field"]],contentQueries:function(e,t,a){if(1&e&&(r.Rb(a,P,!0),r.Lc(a,P,!0),r.Rb(a,G,!0),r.Lc(a,G,!0),r.Rb(a,Q,!0),r.Rb(a,F,!0),r.Rb(a,H,!0),r.Rb(a,W,!0),r.Rb(a,Z,!0)),2&e){let e;r.Bc(e=r.mc())&&(t._controlNonStatic=e.first),r.Bc(e=r.mc())&&(t._controlStatic=e.first),r.Bc(e=r.mc())&&(t._labelChildNonStatic=e.first),r.Bc(e=r.mc())&&(t._labelChildStatic=e.first),r.Bc(e=r.mc())&&(t._placeholderChild=e.first),r.Bc(e=r.mc())&&(t._errorChildren=e),r.Bc(e=r.mc())&&(t._hintChildren=e),r.Bc(e=r.mc())&&(t._prefixChildren=e),r.Bc(e=r.mc())&&(t._suffixChildren=e)}},viewQuery:function(e,t){if(1&e&&(r.Wc(g,!0),r.Mc(v,!0),r.Wc(y,!0),r.Wc(C,!0)),2&e){let e;r.Bc(e=r.mc())&&(t.underlineRef=e.first),r.Bc(e=r.mc())&&(t._connectionContainerRef=e.first),r.Bc(e=r.mc())&&(t._inputContainerRef=e.first),r.Bc(e=r.mc())&&(t._label=e.first)}},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&r.Qb("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat())("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[r.Lb([{provide:te,useExisting:e}]),r.Jb],ngContentSelectors:E,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(r.uc(M),r.ec(0,"div",0),r.ec(1,"div",1,2),r.lc("click",function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)}),r.Qc(3,x,9,0,"ng-container",3),r.Qc(4,w,2,0,"div",4),r.ec(5,"div",5,6),r.tc(7),r.ec(8,"span",7),r.Qc(9,A,5,16,"label",8),r.dc(),r.dc(),r.Qc(10,S,2,0,"div",9),r.dc(),r.Qc(11,j,3,4,"div",10),r.ec(12,"div",11),r.Qc(13,V,2,1,"div",12),r.Qc(14,R,5,2,"div",13),r.dc(),r.dc()),2&e&&(r.Mb(3),r.vc("ngIf","outline"==t.appearance),r.Mb(1),r.vc("ngIf",t._prefixChildren.length),r.Mb(5),r.vc("ngIf",t._hasFloatingLabel()),r.Mb(1),r.vc("ngIf",t._suffixChildren.length),r.Mb(1),r.vc("ngIf","outline"!=t.appearance),r.Mb(1),r.vc("ngSwitch",t._getDisplayedMessages()),r.Mb(1),r.vc("ngSwitchCase","error"),r.Mb(1),r.vc("ngSwitchCase","hint"))},directives:[n.t,n.x,n.y,i.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[L.transitionMessages]},changeDetection:0}),e})(),ie=(()=>{class e{}return e.\u0275mod=r.Wb({type:e}),e.\u0275inj=r.Vb({factory:function(t){return new(t||e)},imports:[[n.c,s.j,i.c],s.j]}),e})()},qFsG:function(e,t,a){"use strict";a.d(t,"a",function(){return h}),a.d(t,"b",function(){return b}),a.d(t,"c",function(){return _});var i=a("ihCf"),n=a("fXoL"),r=a("8LU1"),s=a("nLfN"),o=a("FKr1"),l=a("kmnG"),c=a("XNiG"),d=a("3Pt+");const h=new n.x("MAT_INPUT_VALUE_ACCESSOR"),p=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let u=0;class m{constructor(e,t,a,i){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=a,this.ngControl=i}}const f=Object(o.C)(m);let b=(()=>{class e extends f{constructor(e,t,a,i,n,r,o,l,d,h){super(r,i,n,a),this._elementRef=e,this._platform=t,this.ngControl=a,this._autofillMonitor=l,this._formField=h,this._uid="mat-input-"+u++,this.focused=!1,this.stateChanges=new c.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Object(s.e)().has(e));const p=this._elementRef.nativeElement,m=p.nodeName.toLowerCase();this._inputValueAccessor=o||p,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",e=>{let t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===m,this._isTextarea="textarea"===m,this._isNativeSelect&&(this.controlType=p.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Object(r.c)(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required}set required(e){this._required=Object(r.c)(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Object(s.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Object(r.c)(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const a=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(a!==this._previousPlaceholder){const e=this._elementRef.nativeElement;this._previousPlaceholder=a,a?e.setAttribute("placeholder",a):e.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){p.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return e.\u0275fac=function(t){return new(t||e)(n.Yb(n.p),n.Yb(s.a),n.Yb(d.m,10),n.Yb(d.p,8),n.Yb(d.i,8),n.Yb(o.d),n.Yb(h,10),n.Yb(i.a),n.Yb(n.I),n.Yb(l.a,8))},e.\u0275dir=n.Tb({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&n.lc("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(n.hc("disabled",t.disabled)("required",t.required),n.Nb("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),n.Qb("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[n.Lb([{provide:l.d,useExisting:e}]),n.Jb,n.Kb]}),e})(),_=(()=>{class e{}return e.\u0275mod=n.Wb({type:e}),e.\u0275inj=n.Vb({factory:function(t){return new(t||e)},providers:[o.d],imports:[[i.d,l.e,o.j],i.d,l.e]}),e})()}}]);