@angular/material 11.2.9 → 11.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/_theming.scss +4 -0
  2. package/bundles/material-autocomplete.umd.js +1 -1
  3. package/bundles/material-autocomplete.umd.js.map +1 -1
  4. package/bundles/material-autocomplete.umd.min.js +1 -1
  5. package/bundles/material-autocomplete.umd.min.js.map +1 -1
  6. package/bundles/material-core.umd.js +17 -2
  7. package/bundles/material-core.umd.js.map +1 -1
  8. package/bundles/material-core.umd.min.js +4 -4
  9. package/bundles/material-core.umd.min.js.map +1 -1
  10. package/bundles/material-datepicker.umd.js +39 -5
  11. package/bundles/material-datepicker.umd.js.map +1 -1
  12. package/bundles/material-datepicker.umd.min.js +8 -8
  13. package/bundles/material-datepicker.umd.min.js.map +1 -1
  14. package/bundles/material-paginator.umd.js +1 -0
  15. package/bundles/material-paginator.umd.js.map +1 -1
  16. package/bundles/material-paginator.umd.min.js +1 -1
  17. package/bundles/material-paginator.umd.min.js.map +1 -1
  18. package/bundles/material-snack-bar.umd.js +1 -0
  19. package/bundles/material-snack-bar.umd.js.map +1 -1
  20. package/bundles/material-snack-bar.umd.min.js +1 -1
  21. package/bundles/material-snack-bar.umd.min.js.map +1 -1
  22. package/bundles/material-sort.umd.js +7 -1
  23. package/bundles/material-sort.umd.js.map +1 -1
  24. package/bundles/material-sort.umd.min.js +1 -1
  25. package/bundles/material-sort.umd.min.js.map +1 -1
  26. package/bundles/material-tabs.umd.js +7 -0
  27. package/bundles/material-tabs.umd.js.map +1 -1
  28. package/bundles/material-tabs.umd.min.js +5 -5
  29. package/bundles/material-tabs.umd.min.js.map +1 -1
  30. package/core/index.metadata.json +1 -1
  31. package/core/ripple/ripple-renderer.d.ts +2 -0
  32. package/core/ripple/ripple.d.ts +2 -0
  33. package/datepicker/date-range-input-parts.d.ts +2 -0
  34. package/datepicker/date-range-input.d.ts +4 -1
  35. package/datepicker/date-selection-model.d.ts +2 -0
  36. package/datepicker/index.metadata.json +1 -1
  37. package/esm2015/autocomplete/autocomplete-trigger.js +2 -2
  38. package/esm2015/core/common-behaviors/common-module.js +1 -1
  39. package/esm2015/core/ripple/ripple-renderer.js +9 -1
  40. package/esm2015/core/ripple/ripple.js +8 -1
  41. package/esm2015/core/version.js +1 -1
  42. package/esm2015/datepicker/date-range-input-parts.js +23 -1
  43. package/esm2015/datepicker/date-range-input.js +14 -3
  44. package/esm2015/datepicker/date-selection-model.js +3 -2
  45. package/esm2015/paginator/paginator.js +2 -1
  46. package/esm2015/snack-bar/snack-bar-ref.js +2 -1
  47. package/esm2015/sort/sort-header.js +8 -2
  48. package/esm2015/tabs/tab-group.js +8 -1
  49. package/fesm2015/autocomplete.js +1 -1
  50. package/fesm2015/autocomplete.js.map +1 -1
  51. package/fesm2015/core.js +17 -2
  52. package/fesm2015/core.js.map +1 -1
  53. package/fesm2015/datepicker.js +37 -3
  54. package/fesm2015/datepicker.js.map +1 -1
  55. package/fesm2015/paginator.js +1 -0
  56. package/fesm2015/paginator.js.map +1 -1
  57. package/fesm2015/snack-bar.js +1 -0
  58. package/fesm2015/snack-bar.js.map +1 -1
  59. package/fesm2015/sort.js +7 -1
  60. package/fesm2015/sort.js.map +1 -1
  61. package/fesm2015/tabs.js +7 -0
  62. package/fesm2015/tabs.js.map +1 -1
  63. package/package.json +2 -2
  64. package/paginator/index.metadata.json +1 -1
  65. package/prebuilt-themes/deeppurple-amber.css +1 -1
  66. package/prebuilt-themes/indigo-pink.css +1 -1
  67. package/prebuilt-themes/pink-bluegrey.css +1 -1
  68. package/prebuilt-themes/purple-green.css +1 -1
  69. package/schematics/ng-add/index.js +1 -1
  70. package/sort/sort-header.d.ts +1 -1
  71. package/tabs/index.metadata.json +1 -1
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
- */var g=new o.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:f});function f(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}var _=function(){function t(t,e,n,a){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=a}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e._setStyles(t)}))})):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width},t}();_.decorators=[{type:o.Directive,args:[{selector:"mat-ink-bar",host:{class:"mat-ink-bar","[class._mat-animation-noopable]":"_animationMode === 'NoopAnimations'"}}]}],_.ctorParameters=function(){return[{type:o.ElementRef},{type:o.NgZone},{type:void 0,decorators:[{type:o.Inject,args:[g]}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]};
8
+ */var g=new o.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:f});function f(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}var y=function(){function t(t,e,n,a){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=a}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e._setStyles(t)}))})):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width},t}();y.decorators=[{type:o.Directive,args:[{selector:"mat-ink-bar",host:{class:"mat-ink-bar","[class._mat-animation-noopable]":"_animationMode === 'NoopAnimations'"}}]}],y.ctorParameters=function(){return[{type:o.ElementRef},{type:o.NgZone},{type:void 0,decorators:[{type:o.Inject,args:[g]}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]};
9
9
  /*! *****************************************************************************
10
10
  Copyright (c) Microsoft Corporation.
11
11
 
@@ -20,7 +20,7 @@
20
20
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
21
  PERFORMANCE OF THIS SOFTWARE.
22
22
  ***************************************************************************** */
23
- var y=function(t,e){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}y(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function x(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var a,i,o=n.call(t),r=[];try{for(;(void 0===e||e-- >0)&&!(a=o.next()).done;)r.push(a.value)}catch(t){i={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return r}
23
+ var _=function(t,e){return(_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function x(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var a,i,o=n.call(t),r=[];try{for(;(void 0===e||e-- >0)&&!(a=o.next()).done;)r.push(a.value)}catch(t){i={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return r}
24
24
  /**
25
25
  * @license
26
26
  * Copyright Google LLC All Rights Reserved.
@@ -44,7 +44,7 @@ var R={translateTab:p.trigger("translateTab",[p.state("center, void, left-origin
44
44
  * Use of this source code is governed by an MIT-style license that can be
45
45
  * found in the LICENSE file at https://angular.io/license
46
46
  */
47
- var M=new o.InjectionToken("MAT_TABS_CONFIG"),A=0,j=function j(){},B=function(t){function e(e,n,a,i){var r=t.call(this,e)||this;return r._changeDetectorRef=n,r._animationMode=i,r._tabs=new o.QueryList,r._indexToSelect=0,r._tabBodyWrapperHeight=0,r._tabsSubscription=l.Subscription.EMPTY,r._tabLabelSubscription=l.Subscription.EMPTY,r._selectedIndex=null,r.headerPosition="above",r.selectedIndexChange=new o.EventEmitter,r.focusChange=new o.EventEmitter,r.animationDone=new o.EventEmitter,r.selectedTabChange=new o.EventEmitter(!0),r._groupId=A++,r.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",r.disablePagination=!(!a||null==a.disablePagination)&&a.disablePagination,r.dynamicHeight=!(!a||null==a.dynamicHeight)&&a.dynamicHeight,r}return v(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=b.coerceNumberProperty(t,null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!1,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then((function(){t._tabs.forEach((function(t,n){return t.isActive=n===e})),n||t.selectedIndexChange.emit(e)}))}this._tabs.forEach((function(n,a){n.position=a-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)})),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;n<e.length;n++)if(e[n].isActive){t._indexToSelect=t._selectedIndex=n;break}t._changeDetectorRef.markForCheck()}))},e.prototype._subscribeToAllTabChanges=function(){var t=this;this._allTabs.changes.pipe(d.startWith(this._allTabs)).subscribe((function(e){t._tabs.reset(e.filter((function(e){return e._closestTabGroup===t}))),t._tabs.notifyOnChanges()}))},e.prototype.ngOnDestroy=function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},e.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},e.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},e.prototype._createChangeEvent=function(t){var e=new j;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},e.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=l.merge.apply(void 0,function e(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(x(arguments[e]));return t}(this._tabs.map((function(t){return t._stateChanges})))).subscribe((function(){return t._changeDetectorRef.markForCheck()}))},e.prototype._clampTabIndex=function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))},e.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},e.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},e.prototype._setTabBodyWrapperHeight=function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}},e.prototype._removeTabBodyWrapperHeight=function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()},e.prototype._handleClick=function(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)},e.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},e.prototype._tabFocusChanged=function(t,e){t&&(this._tabHeader.focusIndex=e)},e}(r.mixinColor(r.mixinDisableRipple((function N(t){this._elementRef=t})),"primary"));B.decorators=[{type:o.Directive}],B.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[M]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},B.propDecorators={dynamicHeight:[{type:o.Input}],selectedIndex:[{type:o.Input}],headerPosition:[{type:o.Input}],animationDuration:[{type:o.Input}],disablePagination:[{type:o.Input}],backgroundColor:[{type:o.Input}],selectedIndexChange:[{type:o.Output}],focusChange:[{type:o.Output}],animationDone:[{type:o.Output}],selectedTabChange:[{type:o.Output}]};var H=function(t){function e(e,n,a,i){return t.call(this,e,n,a,i)||this}return v(e,t),e}(B);H.decorators=[{type:o.Component,args:[{selector:"mat-tab-group",exportAs:"matTabGroup",template:'<mat-tab-header #tabHeader\n [selectedIndex]="selectedIndex || 0"\n [disableRipple]="disableRipple"\n [disablePagination]="disablePagination"\n (indexFocused)="_focusChanged($event)"\n (selectFocusedIndex)="selectedIndex = $event">\n <div class="mat-tab-label mat-focus-indicator" role="tab" matTabLabelWrapper mat-ripple cdkMonitorElementFocus\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabLabelId(i)"\n [attr.tabIndex]="_getTabIndex(tab, i)"\n [attr.aria-posinset]="i + 1"\n [attr.aria-setsize]="_tabs.length"\n [attr.aria-controls]="_getTabContentId(i)"\n [attr.aria-selected]="selectedIndex == i"\n [attr.aria-label]="tab.ariaLabel || null"\n [attr.aria-labelledby]="(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null"\n [class.mat-tab-label-active]="selectedIndex == i"\n [disabled]="tab.disabled"\n [matRippleDisabled]="tab.disabled || disableRipple"\n (click)="_handleClick(tab, tabHeader, i)"\n (cdkFocusChange)="_tabFocusChanged($event, i)">\n\n\n <div class="mat-tab-label-content">\n \x3c!-- If there is a label template, use it. --\x3e\n <ng-template [ngIf]="tab.templateLabel">\n <ng-template [cdkPortalOutlet]="tab.templateLabel"></ng-template>\n </ng-template>\n\n \x3c!-- If there is not a label template, fall back to the text label. --\x3e\n <ng-template [ngIf]="!tab.templateLabel">{{tab.textLabel}}</ng-template>\n </div>\n </div>\n</mat-tab-header>\n\n<div\n class="mat-tab-body-wrapper"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabBodyWrapper>\n <mat-tab-body role="tabpanel"\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabContentId(i)"\n [attr.aria-labelledby]="_getTabLabelId(i)"\n [class.mat-tab-body-active]="selectedIndex == i"\n [content]="tab.content!"\n [position]="tab.position!"\n [origin]="tab.origin"\n [animationDuration]="animationDuration"\n (_onCentered)="_removeTabBodyWrapperHeight()"\n (_onCentering)="_setTabBodyWrapperHeight($event)">\n </mat-tab-body>\n</div>\n',encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,inputs:["color","disableRipple"],providers:[{provide:D,useExisting:H}],host:{class:"mat-tab-group","[class.mat-tab-group-dynamic-height]":"dynamicHeight","[class.mat-tab-group-inverted-header]":'headerPosition === "below"'},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"]}]}],H.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[M]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},H.propDecorators={_allTabs:[{type:o.ContentChildren,args:[E,{descendants:!0}]}],_tabBodyWrapper:[{type:o.ViewChild,args:["tabBodyWrapper"]}],_tabHeader:[{type:o.ViewChild,args:["tabHeader"]}]};var F=function(t){function e(e){var n=t.call(this)||this;return n.elementRef=e,n}return v(e,t),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e}(r.mixinDisabled((function W(){})));F.decorators=[{type:o.Directive,args:[{selector:"[matTabLabelWrapper]",inputs:["disabled"],host:{"[class.mat-tab-disabled]":"disabled","[attr.aria-disabled]":"!!disabled"}}]}],F.ctorParameters=function(){return[{type:o.ElementRef}]};
47
+ var M=new o.InjectionToken("MAT_TABS_CONFIG"),A=0,j=function j(){},B=function(t){function e(e,n,a,i){var r=t.call(this,e)||this;return r._changeDetectorRef=n,r._animationMode=i,r._tabs=new o.QueryList,r._indexToSelect=0,r._tabBodyWrapperHeight=0,r._tabsSubscription=l.Subscription.EMPTY,r._tabLabelSubscription=l.Subscription.EMPTY,r._selectedIndex=null,r.headerPosition="above",r.selectedIndexChange=new o.EventEmitter,r.focusChange=new o.EventEmitter,r.animationDone=new o.EventEmitter,r.selectedTabChange=new o.EventEmitter(!0),r._groupId=A++,r.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",r.disablePagination=!(!a||null==a.disablePagination)&&a.disablePagination,r.dynamicHeight=!(!a||null==a.dynamicHeight)&&a.dynamicHeight,r}return v(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=b.coerceNumberProperty(t,null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!1,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;if(!n){this.selectedTabChange.emit(this._createChangeEvent(e));var a=this._tabBodyWrapper.nativeElement;a.style.minHeight=a.clientHeight+"px"}Promise.resolve().then((function(){t._tabs.forEach((function(t,n){return t.isActive=n===e})),n||(t.selectedIndexChange.emit(e),t._tabBodyWrapper.nativeElement.style.minHeight="")}))}this._tabs.forEach((function(n,a){n.position=a-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)})),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;n<e.length;n++)if(e[n].isActive){t._indexToSelect=t._selectedIndex=n;break}t._changeDetectorRef.markForCheck()}))},e.prototype._subscribeToAllTabChanges=function(){var t=this;this._allTabs.changes.pipe(d.startWith(this._allTabs)).subscribe((function(e){t._tabs.reset(e.filter((function(e){return e._closestTabGroup===t}))),t._tabs.notifyOnChanges()}))},e.prototype.ngOnDestroy=function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},e.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},e.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},e.prototype._createChangeEvent=function(t){var e=new j;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},e.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=l.merge.apply(void 0,function e(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(x(arguments[e]));return t}(this._tabs.map((function(t){return t._stateChanges})))).subscribe((function(){return t._changeDetectorRef.markForCheck()}))},e.prototype._clampTabIndex=function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))},e.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},e.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},e.prototype._setTabBodyWrapperHeight=function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}},e.prototype._removeTabBodyWrapperHeight=function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()},e.prototype._handleClick=function(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)},e.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},e.prototype._tabFocusChanged=function(t,e){t&&(this._tabHeader.focusIndex=e)},e}(r.mixinColor(r.mixinDisableRipple((function N(t){this._elementRef=t})),"primary"));B.decorators=[{type:o.Directive}],B.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[M]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},B.propDecorators={dynamicHeight:[{type:o.Input}],selectedIndex:[{type:o.Input}],headerPosition:[{type:o.Input}],animationDuration:[{type:o.Input}],disablePagination:[{type:o.Input}],backgroundColor:[{type:o.Input}],selectedIndexChange:[{type:o.Output}],focusChange:[{type:o.Output}],animationDone:[{type:o.Output}],selectedTabChange:[{type:o.Output}]};var H=function(t){function e(e,n,a,i){return t.call(this,e,n,a,i)||this}return v(e,t),e}(B);H.decorators=[{type:o.Component,args:[{selector:"mat-tab-group",exportAs:"matTabGroup",template:'<mat-tab-header #tabHeader\n [selectedIndex]="selectedIndex || 0"\n [disableRipple]="disableRipple"\n [disablePagination]="disablePagination"\n (indexFocused)="_focusChanged($event)"\n (selectFocusedIndex)="selectedIndex = $event">\n <div class="mat-tab-label mat-focus-indicator" role="tab" matTabLabelWrapper mat-ripple cdkMonitorElementFocus\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabLabelId(i)"\n [attr.tabIndex]="_getTabIndex(tab, i)"\n [attr.aria-posinset]="i + 1"\n [attr.aria-setsize]="_tabs.length"\n [attr.aria-controls]="_getTabContentId(i)"\n [attr.aria-selected]="selectedIndex == i"\n [attr.aria-label]="tab.ariaLabel || null"\n [attr.aria-labelledby]="(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null"\n [class.mat-tab-label-active]="selectedIndex == i"\n [disabled]="tab.disabled"\n [matRippleDisabled]="tab.disabled || disableRipple"\n (click)="_handleClick(tab, tabHeader, i)"\n (cdkFocusChange)="_tabFocusChanged($event, i)">\n\n\n <div class="mat-tab-label-content">\n \x3c!-- If there is a label template, use it. --\x3e\n <ng-template [ngIf]="tab.templateLabel">\n <ng-template [cdkPortalOutlet]="tab.templateLabel"></ng-template>\n </ng-template>\n\n \x3c!-- If there is not a label template, fall back to the text label. --\x3e\n <ng-template [ngIf]="!tab.templateLabel">{{tab.textLabel}}</ng-template>\n </div>\n </div>\n</mat-tab-header>\n\n<div\n class="mat-tab-body-wrapper"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabBodyWrapper>\n <mat-tab-body role="tabpanel"\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabContentId(i)"\n [attr.aria-labelledby]="_getTabLabelId(i)"\n [class.mat-tab-body-active]="selectedIndex == i"\n [content]="tab.content!"\n [position]="tab.position!"\n [origin]="tab.origin"\n [animationDuration]="animationDuration"\n (_onCentered)="_removeTabBodyWrapperHeight()"\n (_onCentering)="_setTabBodyWrapperHeight($event)">\n </mat-tab-body>\n</div>\n',encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,inputs:["color","disableRipple"],providers:[{provide:D,useExisting:H}],host:{class:"mat-tab-group","[class.mat-tab-group-dynamic-height]":"dynamicHeight","[class.mat-tab-group-inverted-header]":'headerPosition === "below"'},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"]}]}],H.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[M]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},H.propDecorators={_allTabs:[{type:o.ContentChildren,args:[E,{descendants:!0}]}],_tabBodyWrapper:[{type:o.ViewChild,args:["tabBodyWrapper"]}],_tabHeader:[{type:o.ViewChild,args:["tabHeader"]}]};var F=function(t){function e(e){var n=t.call(this)||this;return n.elementRef=e,n}return v(e,t),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e}(r.mixinDisabled((function W(){})));F.decorators=[{type:o.Directive,args:[{selector:"[matTabLabelWrapper]",inputs:["disabled"],host:{"[class.mat-tab-disabled]":"disabled","[attr.aria-disabled]":"!!disabled"}}]}],F.ctorParameters=function(){return[{type:o.ElementRef}]};
48
48
  /**
49
49
  * @license
50
50
  * Copyright Google LLC All Rights Reserved.
@@ -52,7 +52,7 @@ var M=new o.InjectionToken("MAT_TABS_CONFIG"),A=0,j=function j(){},B=function(t)
52
52
  * Use of this source code is governed by an MIT-style license that can be
53
53
  * found in the LICENSE file at https://angular.io/license
54
54
  */
55
- var V=u.normalizePassiveListenerOptions({passive:!0}),z=function(){function t(t,e,n,a,i,r,s){var c=this;this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=a,this._ngZone=i,this._platform=r,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new l.Subject,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new l.Subject,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,i.runOutsideAngular((function(){l.fromEvent(t.nativeElement,"mouseleave").pipe(d.takeUntil(c._destroyed)).subscribe((function(){c._stopInterval()}))}))}return Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=b.coerceNumberProperty(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))},enumerable:!1,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;l.fromEvent(this._previousPaginator.nativeElement,"touchstart",V).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("before")})),l.fromEvent(this._nextPaginator.nativeElement,"touchstart",V).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("after")}))},t.prototype.ngAfterContentInit=function(){var t=this,n=this._dir?this._dir.change:l.of(null),a=this._viewportRuler.change(150),i=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new e.FocusKeyManager(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),l.merge(n,a,this._items.changes).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._ngZone.run((function(){return Promise.resolve().then(i)})),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())})),this._keyManager.change.pipe(d.takeUntil(this._destroyed)).subscribe((function(e){t.indexFocused.emit(e),t._setTabFocus(e)}))},t.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},t.prototype._handleKeydown=function(t){if(!m.hasModifierKey(t))switch(t.keyCode){case m.ENTER:case m.SPACE:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}},t.prototype._onContentChanges=function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run((function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()})))},t.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(t.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)},enumerable:!1,configurable:!0}),t.prototype._isValidIndex=function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled},t.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._updateTabScrollPosition=function(){if(!this.disablePagination){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX("+Math.round(e)+"px)",(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}},Object.defineProperty(t.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)},enumerable:!1,configurable:!0}),t.prototype._scrollHeader=function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)},t.prototype._handlePaginatorClick=function(t){this._stopInterval(),this._scrollHeader(t)},t.prototype._scrollToLabel=function(t){if(!this.disablePagination){var e=this._items?this._items.toArray()[t]:null;if(e){var n,a,i=this._tabListContainer.nativeElement.offsetWidth,o=e.elementRef.nativeElement,r=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?a=(n=r)+s:n=(a=this._tabList.nativeElement.offsetWidth-r)-s;var l=this.scrollDistance,c=this.scrollDistance+i;n<l?this.scrollDistance-=l-n+60:a>c&&(this.scrollDistance+=a-c+60)}}},t.prototype._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}},t.prototype._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()},t.prototype._stopInterval=function(){this._stopScrolling.next()},t.prototype._handlePaginatorPress=function(t,e){var n=this;e&&null!=e.button&&0!==e.button||(this._stopInterval(),l.timer(650,100).pipe(d.takeUntil(l.merge(this._stopScrolling,this._destroyed))).subscribe((function(){var e=n._scrollHeader(t),a=e.distance;(0===a||a>=e.maxScrollDistance)&&n._stopInterval()})))},t.prototype._scrollTo=function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}},t}();z.decorators=[{type:o.Directive}],z.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},z.propDecorators={disablePagination:[{type:o.Input}]};var U=function(t){function e(e,n,a,i,o,r,s){var l=t.call(this,e,n,a,i,o,r,s)||this;return l._disableRipple=!1,l}return v(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(t){t.preventDefault()},e}(z);U.decorators=[{type:o.Directive}],U.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},U.propDecorators={disableRipple:[{type:o.Input}]};var q=function(t){function e(e,n,a,i,o,r,s){return t.call(this,e,n,a,i,o,r,s)||this}return v(e,t),e}(U);q.decorators=[{type:o.Component,args:[{selector:"mat-tab-header",template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-label-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n #tabList\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n role="tablist"\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-labels">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',inputs:["selectedIndex"],outputs:["selectFocusedIndex","indexFocused"],encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,host:{class:"mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'"},styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n']}]}],q.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},q.propDecorators={_items:[{type:o.ContentChildren,args:[F,{descendants:!1}]}],_inkBar:[{type:o.ViewChild,args:[_,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]};var Y=function(t){function e(e,n,a,i,o,r,s){var l=t.call(this,e,i,o,n,a,r,s)||this;return l._disableRipple=!1,l.color="primary",l}return v(e,t),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(){},e.prototype.ngAfterContentInit=function(){var e=this;this._items.changes.pipe(d.startWith(null),d.takeUntil(this._destroyed)).subscribe((function(){e.updateActiveLink()})),t.prototype.ngAfterContentInit.call(this)},e.prototype.updateActiveLink=function(){if(this._items){for(var t=this._items.toArray(),e=0;e<t.length;e++)if(t[e].active)return this.selectedIndex=e,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}},e}(z);Y.decorators=[{type:o.Directive}],Y.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},Y.propDecorators={backgroundColor:[{type:o.Input}],disableRipple:[{type:o.Input}],color:[{type:o.Input}]};var $=function(t){function e(e,n,a,i,o,r,s){return t.call(this,e,n,a,i,o,r,s)||this}return v(e,t),e}(Y);$.decorators=[{type:o.Component,args:[{selector:"[mat-tab-nav-bar]",exportAs:"matTabNavBar, matTabNav",inputs:["color"],template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-link-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabList\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-links">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',host:{class:"mat-tab-nav-bar mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'","[class.mat-primary]":'color !== "warn" && color !== "accent"',"[class.mat-accent]":'color === "accent"',"[class.mat-warn]":'color === "warn"'},encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n']}]}],$.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},$.propDecorators={_items:[{type:o.ContentChildren,args:[o.forwardRef((function(){return Q})),{descendants:!0}]}],_inkBar:[{type:o.ViewChild,args:[_,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]};var G=function(t){function e(e,n,a,i,o,r){var s=t.call(this)||this;return s._tabNavBar=e,s.elementRef=n,s._focusMonitor=o,s._isActive=!1,s.rippleConfig=a||{},s.tabIndex=parseInt(i)||0,"NoopAnimations"===r&&(s.rippleConfig.animation={enterDuration:0,exitDuration:0}),s}return v(e,t),Object.defineProperty(e.prototype,"active",{get:function(){return this._isActive},set:function(t){b.coerceBooleanProperty(t)!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled},enumerable:!1,configurable:!0}),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)},e}(r.mixinTabIndex(r.mixinDisableRipple(r.mixinDisabled((function Z(){})))));G.decorators=[{type:o.Directive}],G.ctorParameters=function(){return[{type:Y},{type:o.ElementRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},G.propDecorators={active:[{type:o.Input}]};var K,Q=function(t){function e(e,n,a,i,o,s,l,c){var p=t.call(this,e,n,o,s,l,c)||this;return p._tabLinkRipple=new r.RippleRenderer(p,a,n,i),p._tabLinkRipple.setupTriggerEvents(n.nativeElement),p}return v(e,t),e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._tabLinkRipple._removeTriggerEvents()},e}(G);Q.decorators=[{type:o.Directive,args:[{selector:"[mat-tab-link], [matTabLink]",exportAs:"matTabLink",inputs:["disabled","disableRipple","tabIndex"],host:{class:"mat-tab-link mat-focus-indicator","[attr.aria-current]":'active ? "page" : null',"[attr.aria-disabled]":"disabled","[attr.tabIndex]":"tabIndex","[class.mat-tab-disabled]":"disabled","[class.mat-tab-label-active]":"active"}}]}],Q.ctorParameters=function(){return[{type:$},{type:o.ElementRef},{type:o.NgZone},{type:u.Platform},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},(K=function K(){}).decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule,r.MatCommonModule,a.PortalModule,r.MatRippleModule,n.ObserversModule,e.A11yModule],exports:[r.MatCommonModule,H,P,E,$,Q,C],declarations:[H,P,E,_,F,$,Q,S,O,q,C]}]}],
55
+ var V=u.normalizePassiveListenerOptions({passive:!0}),z=function(){function t(t,e,n,a,i,r,s){var c=this;this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=a,this._ngZone=i,this._platform=r,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new l.Subject,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new l.Subject,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,i.runOutsideAngular((function(){l.fromEvent(t.nativeElement,"mouseleave").pipe(d.takeUntil(c._destroyed)).subscribe((function(){c._stopInterval()}))}))}return Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=b.coerceNumberProperty(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))},enumerable:!1,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;l.fromEvent(this._previousPaginator.nativeElement,"touchstart",V).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("before")})),l.fromEvent(this._nextPaginator.nativeElement,"touchstart",V).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("after")}))},t.prototype.ngAfterContentInit=function(){var t=this,n=this._dir?this._dir.change:l.of(null),a=this._viewportRuler.change(150),i=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new e.FocusKeyManager(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),l.merge(n,a,this._items.changes).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._ngZone.run((function(){return Promise.resolve().then(i)})),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())})),this._keyManager.change.pipe(d.takeUntil(this._destroyed)).subscribe((function(e){t.indexFocused.emit(e),t._setTabFocus(e)}))},t.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},t.prototype._handleKeydown=function(t){if(!m.hasModifierKey(t))switch(t.keyCode){case m.ENTER:case m.SPACE:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}},t.prototype._onContentChanges=function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run((function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()})))},t.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(t.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)},enumerable:!1,configurable:!0}),t.prototype._isValidIndex=function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled},t.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._updateTabScrollPosition=function(){if(!this.disablePagination){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX("+Math.round(e)+"px)",(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}},Object.defineProperty(t.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)},enumerable:!1,configurable:!0}),t.prototype._scrollHeader=function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)},t.prototype._handlePaginatorClick=function(t){this._stopInterval(),this._scrollHeader(t)},t.prototype._scrollToLabel=function(t){if(!this.disablePagination){var e=this._items?this._items.toArray()[t]:null;if(e){var n,a,i=this._tabListContainer.nativeElement.offsetWidth,o=e.elementRef.nativeElement,r=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?a=(n=r)+s:n=(a=this._tabList.nativeElement.offsetWidth-r)-s;var l=this.scrollDistance,c=this.scrollDistance+i;n<l?this.scrollDistance-=l-n+60:a>c&&(this.scrollDistance+=a-c+60)}}},t.prototype._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}},t.prototype._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()},t.prototype._stopInterval=function(){this._stopScrolling.next()},t.prototype._handlePaginatorPress=function(t,e){var n=this;e&&null!=e.button&&0!==e.button||(this._stopInterval(),l.timer(650,100).pipe(d.takeUntil(l.merge(this._stopScrolling,this._destroyed))).subscribe((function(){var e=n._scrollHeader(t),a=e.distance;(0===a||a>=e.maxScrollDistance)&&n._stopInterval()})))},t.prototype._scrollTo=function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}},t}();z.decorators=[{type:o.Directive}],z.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},z.propDecorators={disablePagination:[{type:o.Input}]};var U=function(t){function e(e,n,a,i,o,r,s){var l=t.call(this,e,n,a,i,o,r,s)||this;return l._disableRipple=!1,l}return v(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(t){t.preventDefault()},e}(z);U.decorators=[{type:o.Directive}],U.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},U.propDecorators={disableRipple:[{type:o.Input}]};var q=function(t){function e(e,n,a,i,o,r,s){return t.call(this,e,n,a,i,o,r,s)||this}return v(e,t),e}(U);q.decorators=[{type:o.Component,args:[{selector:"mat-tab-header",template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-label-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n #tabList\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n role="tablist"\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-labels">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',inputs:["selectedIndex"],outputs:["selectFocusedIndex","indexFocused"],encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,host:{class:"mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'"},styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n']}]}],q.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},q.propDecorators={_items:[{type:o.ContentChildren,args:[F,{descendants:!1}]}],_inkBar:[{type:o.ViewChild,args:[y,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]};var Y=function(t){function e(e,n,a,i,o,r,s){var l=t.call(this,e,i,o,n,a,r,s)||this;return l._disableRipple=!1,l.color="primary",l}return v(e,t),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(){},e.prototype.ngAfterContentInit=function(){var e=this;this._items.changes.pipe(d.startWith(null),d.takeUntil(this._destroyed)).subscribe((function(){e.updateActiveLink()})),t.prototype.ngAfterContentInit.call(this)},e.prototype.updateActiveLink=function(){if(this._items){for(var t=this._items.toArray(),e=0;e<t.length;e++)if(t[e].active)return this.selectedIndex=e,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}},e}(z);Y.decorators=[{type:o.Directive}],Y.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},Y.propDecorators={backgroundColor:[{type:o.Input}],disableRipple:[{type:o.Input}],color:[{type:o.Input}]};var $=function(t){function e(e,n,a,i,o,r,s){return t.call(this,e,n,a,i,o,r,s)||this}return v(e,t),e}(Y);$.decorators=[{type:o.Component,args:[{selector:"[mat-tab-nav-bar]",exportAs:"matTabNavBar, matTabNav",inputs:["color"],template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-link-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabList\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-links">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',host:{class:"mat-tab-nav-bar mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'","[class.mat-primary]":'color !== "warn" && color !== "accent"',"[class.mat-accent]":'color === "accent"',"[class.mat-warn]":'color === "warn"'},encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n']}]}],$.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},$.propDecorators={_items:[{type:o.ContentChildren,args:[o.forwardRef((function(){return Q})),{descendants:!0}]}],_inkBar:[{type:o.ViewChild,args:[y,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]};var G=function(t){function e(e,n,a,i,o,r){var s=t.call(this)||this;return s._tabNavBar=e,s.elementRef=n,s._focusMonitor=o,s._isActive=!1,s.rippleConfig=a||{},s.tabIndex=parseInt(i)||0,"NoopAnimations"===r&&(s.rippleConfig.animation={enterDuration:0,exitDuration:0}),s}return v(e,t),Object.defineProperty(e.prototype,"active",{get:function(){return this._isActive},set:function(t){b.coerceBooleanProperty(t)!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled},enumerable:!1,configurable:!0}),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)},e}(r.mixinTabIndex(r.mixinDisableRipple(r.mixinDisabled((function Z(){})))));G.decorators=[{type:o.Directive}],G.ctorParameters=function(){return[{type:Y},{type:o.ElementRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},G.propDecorators={active:[{type:o.Input}]};var K,Q=function(t){function e(e,n,a,i,o,s,l,c){var p=t.call(this,e,n,o,s,l,c)||this;return p._tabLinkRipple=new r.RippleRenderer(p,a,n,i),p._tabLinkRipple.setupTriggerEvents(n.nativeElement),p}return v(e,t),e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._tabLinkRipple._removeTriggerEvents()},e}(G);Q.decorators=[{type:o.Directive,args:[{selector:"[mat-tab-link], [matTabLink]",exportAs:"matTabLink",inputs:["disabled","disableRipple","tabIndex"],host:{class:"mat-tab-link mat-focus-indicator","[attr.aria-current]":'active ? "page" : null',"[attr.aria-disabled]":"disabled","[attr.tabIndex]":"tabIndex","[class.mat-tab-disabled]":"disabled","[class.mat-tab-label-active]":"active"}}]}],Q.ctorParameters=function(){return[{type:$},{type:o.ElementRef},{type:o.NgZone},{type:u.Platform},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},(K=function K(){}).decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule,r.MatCommonModule,a.PortalModule,r.MatRippleModule,n.ObserversModule,e.A11yModule],exports:[r.MatCommonModule,H,P,E,$,Q,C],declarations:[H,P,E,y,F,$,Q,S,O,q,C]}]}],
56
56
  /**
57
57
  * @license
58
58
  * Copyright Google LLC All Rights Reserved.
@@ -67,4 +67,4 @@ var V=u.normalizePassiveListenerOptions({passive:!0}),z=function(){function t(t,
67
67
  * Use of this source code is governed by an MIT-style license that can be
68
68
  * found in the LICENSE file at https://angular.io/license
69
69
  */
70
- t.MAT_TABS_CONFIG=M,t.MAT_TAB_GROUP=D,t.MatInkBar=_,t.MatTab=E,t.MatTabBody=S,t.MatTabBodyPortal=O,t.MatTabChangeEvent=j,t.MatTabContent=C,t.MatTabGroup=H,t.MatTabHeader=q,t.MatTabLabel=P,t.MatTabLabelWrapper=F,t.MatTabLink=Q,t.MatTabNav=$,t.MatTabsModule=K,t._MAT_INK_BAR_POSITIONER=g,t._MatTabBodyBase=L,t._MatTabGroupBase=B,t._MatTabHeaderBase=U,t._MatTabLinkBase=G,t._MatTabNavBase=Y,t.matTabsAnimations=R,t.ɵangular_material_src_material_tabs_tabs_a=f,t.ɵangular_material_src_material_tabs_tabs_b=I,t.ɵangular_material_src_material_tabs_tabs_c=k,t.ɵangular_material_src_material_tabs_tabs_d=z,Object.defineProperty(t,"__esModule",{value:!0})}));
70
+ t.MAT_TABS_CONFIG=M,t.MAT_TAB_GROUP=D,t.MatInkBar=y,t.MatTab=E,t.MatTabBody=S,t.MatTabBodyPortal=O,t.MatTabChangeEvent=j,t.MatTabContent=C,t.MatTabGroup=H,t.MatTabHeader=q,t.MatTabLabel=P,t.MatTabLabelWrapper=F,t.MatTabLink=Q,t.MatTabNav=$,t.MatTabsModule=K,t._MAT_INK_BAR_POSITIONER=g,t._MatTabBodyBase=L,t._MatTabGroupBase=B,t._MatTabHeaderBase=U,t._MatTabLinkBase=G,t._MatTabNavBase=Y,t.matTabsAnimations=R,t.ɵangular_material_src_material_tabs_tabs_a=f,t.ɵangular_material_src_material_tabs_tabs_b=I,t.ɵangular_material_src_material_tabs_tabs_c=k,t.ɵangular_material_src_material_tabs_tabs_d=z,Object.defineProperty(t,"__esModule",{value:!0})}));