@angular/material
Version:
Angular Material
9 lines • 116 kB
JavaScript
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/cdk/a11y"),require("@angular/cdk/overlay"),require("@angular/common"),require("@angular/core"),require("@angular/cdk/bidi"),require("@angular/platform-browser"),require("@angular/cdk/coercion"),require("rxjs/Subject"),require("@angular/cdk/keycodes"),require("@angular/cdk/scrolling"),require("@angular/cdk/platform"),require("@angular/cdk/portal"),require("@angular/cdk/rxjs"),require("rxjs/observable/defer"),require("@angular/animations"),require("@angular/http"),require("rxjs/Observable"),require("rxjs/observable/forkJoin"),require("rxjs/observable/of"),require("rxjs/observable/throw"),require("rxjs/operator/first"),require("rxjs/Subscription"),require("@angular/forms"),require("rxjs/observable/fromEvent"),require("rxjs/observable/merge")):"function"==typeof define&&define.amd?define(["exports","@angular/cdk/a11y","@angular/cdk/overlay","@angular/common","@angular/core","@angular/cdk/bidi","@angular/platform-browser","@angular/cdk/coercion","rxjs/Subject","@angular/cdk/keycodes","@angular/cdk/scrolling","@angular/cdk/platform","@angular/cdk/portal","@angular/cdk/rxjs","rxjs/observable/defer","@angular/animations","@angular/http","rxjs/Observable","rxjs/observable/forkJoin","rxjs/observable/of","rxjs/observable/throw","rxjs/operator/first","rxjs/Subscription","@angular/forms","rxjs/observable/fromEvent","rxjs/observable/merge"],e):e((t.ng=t.ng||{},t.ng.material=t.ng.material||{},t.ng.material.datepicker=t.ng.material.datepicker||{}),t.ng.cdk.a11y,t.ng.cdk.overlay,t.ng.common,t.ng.core,t.ng.cdk.bidi,t.ng.platformBrowser,t.ng.cdk.coercion,t.Rx,t.ng.cdk.keycodes,t.ng.cdk.scrolling,t.ng.cdk.platform,t.ng.cdk.portal,t.ng.cdk.rxjs,t.Rx.Observable,t.ng.animations,t.ng.http,t.Rx,t.Rx.Observable,t.Rx.Observable,t.Rx.Observable,t.Rx.Observable.prototype,t.Rx,t.ng.forms,t.Rx.Observable,t.Rx.Observable)}(this,function(t,e,n,a,r,i,o,s,l,c,d,p,u,h,m,f,g,b,_,y,v,D,C,w,x,k){"use strict";function A(t,e){function n(){this.constructor=t}$(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function I(t,e){return Error('The "'+t+'-" prefix cannot be used in ng-material v1 compatibility mode. It was used on an "'+e.toLowerCase()+'" element.')}function R(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var a=t.apply(this,e)||this;return a._disabled=!1,a}return A(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=s.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),e}(t)}function O(t,e){return function(t){function n(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var r=t.apply(this,n)||this;return r.color=e,r}return A(n,t),Object.defineProperty(n.prototype,"color",{get:function(){return this._color},set:function(t){var n=t||e;n!==this._color&&(this._color&&this._renderer.removeClass(this._elementRef.nativeElement,"mat-"+this._color),n&&this._renderer.addClass(this._elementRef.nativeElement,"mat-"+n),this._color=n)},enumerable:!0,configurable:!0}),n}(t)}function S(t){return t||new ot}function E(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(null==t)throw TypeError("Cannot convert undefined or null to object");for(var a=0,r=e;a<r.length;a++){var i=r[a];if(null!=i)for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])}return t}function P(t,e){for(var n=Array(t),a=0;a<t;a++)n[a]=e(a);return n}function M(t){window.getComputedStyle(t).getPropertyValue("opacity")}function F(t,e,n){var a=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(a*a+r*r)}function T(){throw Error("Attempting to attach dialog content after content is already attached")}function V(t){return function(){return t.scrollStrategies.block()}}function j(t){return E(new Qt,t)}function N(t){return Error('Unable to find icon with the name "'+t+'"')}function L(){return Error("Could not find Http provider for use with Angular Material icons. Please include the HttpModule from @angular/http in your app imports.")}function Y(t){return Error("The URL provided to MdIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+t+'".')}function B(t,e,n){return t||new me(e,n)}function z(t){return t.cloneNode(!0)}function W(t,e){return t+":"+e}function U(){return Error("Placeholder attribute and child element were both specified.")}function H(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}function q(){return Error("md-form-field must contain a MdFormFieldControl. Did you forget to add mdInput to the native input or textarea element?")}function K(t,e){if("string"==typeof e&&(e=""==e?null:t.fromIso8601(e)||e),null==e||t.isDateInstance(e))return e;throw Error("Datepicker: Value must be either a date object recognized by the DateAdapter or an ISO 8601 string. Instead got: "+e)}function G(t){return Error("MdDatepicker: No provider found for "+t+". You must import one of the following modules at your application root: MdNativeDateModule, or provide a custom implementation.")}function Z(t){return function(){return t.scrollStrategies.reposition()}}var $=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},X=function(){function t(){}return t}();X.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",X.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",X.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",X.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";var J=function(){function t(){}return t}();J.COMPLEX="375ms",J.ENTERING="225ms",J.EXITING="195ms";var Q=new r.InjectionToken("md-compatibility-mode"),tt=function(){function t(t,e){if(!t)throw I("mat",e.nativeElement.nodeName)}return t}();tt.decorators=[{type:r.Directive,args:[{selector:"\n [mat-button],\n [mat-fab],\n [mat-icon-button],\n [mat-mini-fab],\n [mat-raised-button],\n [matCardSubtitle],\n [matCardTitle],\n [matCellDef],\n [matColumnDef],\n [matDialogActions],\n [matDialogClose],\n [matDialogContent],\n [matDialogTitle],\n [matHeaderCellDef],\n [matHeaderRowDef],\n [matLine],\n [matRowDef],\n [matStepLabel],\n [matStepperNext],\n [matStepperPrevious],\n [matTabLabel],\n [matTabLink],\n [matTabNav],\n [matTooltip],\n [matInput],\n [matPrefix],\n [matSuffix],\n mat-autocomplete,\n mat-button-toggle,\n mat-button-toggle,\n mat-button-toggle-group,\n mat-card,\n mat-card-actions,\n mat-card-content,\n mat-card-footer,\n mat-card-header,\n mat-card-subtitle,\n mat-card-title,\n mat-card-title-group,\n mat-cell,\n mat-checkbox,\n mat-chip,\n mat-dialog-actions,\n mat-dialog-container,\n mat-dialog-content,\n mat-divider,\n mat-error,\n mat-grid-list,\n mat-grid-tile,\n mat-grid-tile-footer,\n mat-grid-tile-header,\n mat-header-cell,\n mat-header-row,\n mat-hint,\n mat-horizontal-stepper,\n mat-icon,\n mat-input-container,\n mat-form-field,\n mat-list,\n mat-list-item,\n mat-menu,\n mat-nav-list,\n mat-option,\n mat-placeholder,\n mat-progress-bar,\n mat-pseudo-checkbox,\n mat-radio-button,\n mat-radio-group,\n mat-row,\n mat-select,\n mat-sidenav,\n mat-sidenav-container,\n mat-slider,\n mat-spinner,\n mat-step,\n mat-tab,\n mat-table,\n mat-tab-group,\n mat-toolbar,\n mat-vertical-stepper"}]}],tt.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[Q]}]},{type:r.ElementRef}]};var et=function(){function t(t,e){if(t)throw I("md",e.nativeElement.nodeName)}return t}();et.decorators=[{type:r.Directive,args:[{selector:"\n [md-button],\n [md-fab],\n [md-icon-button],\n [md-mini-fab],\n [md-raised-button],\n [mdCardSubtitle],\n [mdCardTitle],\n [mdCellDef],\n [mdColumnDef],\n [mdDialogActions],\n [mdDialogClose],\n [mdDialogContent],\n [mdDialogTitle],\n [mdHeaderCellDef],\n [mdHeaderRowDef],\n [mdLine],\n [mdRowDef],\n [mdStepLabel],\n [mdStepperNext],\n [mdStepperPrevious],\n [mdTabLabel],\n [mdTabLink],\n [mdTabNav],\n [mdTooltip],\n [mdInput],\n [mdPrefix],\n [mdSuffix],\n md-autocomplete,\n md-button-toggle,\n md-button-toggle,\n md-button-toggle-group,\n md-card,\n md-card-actions,\n md-card-content,\n md-card-footer,\n md-card-header,\n md-card-subtitle,\n md-card-title,\n md-card-title-group,\n md-cell,\n md-checkbox,\n md-chip,\n md-dialog-actions,\n md-dialog-container,\n md-dialog-content,\n md-divider,\n md-error,\n md-grid-list,\n md-grid-tile,\n md-grid-tile-footer,\n md-grid-tile-header,\n md-header-cell,\n md-header-row,\n md-hint,\n md-horizontal-stepper,\n md-icon,\n md-input-container,\n md-form-field,\n md-list,\n md-list-item,\n md-menu,\n md-nav-list,\n md-option,\n md-placeholder,\n md-progress-bar,\n md-pseudo-checkbox,\n md-radio-button,\n md-radio-group,\n md-row,\n md-select,\n md-sidenav,\n md-sidenav-container,\n md-slider,\n md-spinner,\n md-step,\n md-tab,\n md-table,\n md-tab-group,\n md-toolbar,\n md-vertical-stepper"}]}],et.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[Q]}]},{type:r.ElementRef}]};var nt=function(){function t(){}return t}();nt.decorators=[{type:r.NgModule,args:[{declarations:[tt,et],exports:[tt,et]}]}],nt.ctorParameters=function(){return[]};var at=function(){function t(){}return t}();at.decorators=[{type:r.NgModule,args:[{providers:[{provide:Q,useValue:!0}]}]}],at.ctorParameters=function(){return[]};var rt=new r.InjectionToken("md-sanity-checks"),it=function(){function t(t,e){this._document=t,this._hasDoneGlobalChecks=!1,e&&!this._hasDoneGlobalChecks&&t&&r.isDevMode()&&(this._checkDoctype(),this._checkTheme(),this._hasDoneGlobalChecks=!0)}return t.prototype._checkDoctype=function(){this._document.doctype||console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},t.prototype._checkTheme=function(){if("function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t),"none"!==getComputedStyle(t).display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}},t}();it.decorators=[{type:r.NgModule,args:[{imports:[nt,i.BidiModule],exports:[nt,i.BidiModule],providers:[{provide:rt,useValue:!0}]}]}],it.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[o.DOCUMENT]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[rt]}]}]};var ot=function(){function t(){this._listeners=[]}return t.prototype.notify=function(t,e){for(var n=0,a=this._listeners;n<a.length;n++){(0,a[n])(t,e)}},t.prototype.listen=function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter(function(e){return t!==e})}},t}();ot.decorators=[{type:r.Injectable}],ot.ctorParameters=function(){return[]};var st=(new r.Optional,new r.SkipSelf,new r.InjectionToken("MAT_DATE_LOCALE")),lt={provide:st,useExisting:r.LOCALE_ID},ct=function(){function t(){this._localeChanges=new l.Subject}return Object.defineProperty(t.prototype,"localeChanges",{get:function(){return this._localeChanges},enumerable:!0,configurable:!0}),t.prototype.getYear=function(t){},t.prototype.getMonth=function(t){},t.prototype.getDate=function(t){},t.prototype.getDayOfWeek=function(t){},t.prototype.getMonthNames=function(t){},t.prototype.getDateNames=function(){},t.prototype.getDayOfWeekNames=function(t){},t.prototype.getYearName=function(t){},t.prototype.getFirstDayOfWeek=function(){},t.prototype.getNumDaysInMonth=function(t){},t.prototype.clone=function(t){},t.prototype.createDate=function(t,e,n){},t.prototype.today=function(){},t.prototype.parse=function(t,e){},t.prototype.format=function(t,e){},t.prototype.addCalendarYears=function(t,e){},t.prototype.addCalendarMonths=function(t,e){},t.prototype.addCalendarDays=function(t,e){},t.prototype.toIso8601=function(t){},t.prototype.fromIso8601=function(t){},t.prototype.isDateInstance=function(t){},t.prototype.isValid=function(t){},t.prototype.setLocale=function(t){this.locale=t,this._localeChanges.next()},t.prototype.compareDate=function(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)},t.prototype.sameDate=function(t,e){return t&&e?!this.compareDate(t,e):t==e},t.prototype.clampDate=function(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t},t}(),dt="undefined"!=typeof Intl,pt={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},ut=P(31,function(t){return String(t+1)}),ht={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},mt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,ft=function(t){function e(e){var n=t.call(this)||this;return n.useUtcForDisplay=!0,t.prototype.setLocale.call(n,e),n}return A(e,t),e.prototype.getYear=function(t){return t.getFullYear()},e.prototype.getMonth=function(t){return t.getMonth()},e.prototype.getDate=function(t){return t.getDate()},e.prototype.getDayOfWeek=function(t){return t.getDay()},e.prototype.getMonthNames=function(t){var e=this;if(dt){var n=new Intl.DateTimeFormat(this.locale,{month:t});return P(12,function(t){return e._stripDirectionalityCharacters(n.format(new Date(2017,t,1)))})}return pt[t]},e.prototype.getDateNames=function(){var t=this;if(dt){var e=new Intl.DateTimeFormat(this.locale,{day:"numeric"});return P(31,function(n){return t._stripDirectionalityCharacters(e.format(new Date(2017,0,n+1)))})}return ut},e.prototype.getDayOfWeekNames=function(t){var e=this;if(dt){var n=new Intl.DateTimeFormat(this.locale,{weekday:t});return P(7,function(t){return e._stripDirectionalityCharacters(n.format(new Date(2017,0,t+1)))})}return ht[t]},e.prototype.getYearName=function(t){if(dt){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric"});return this._stripDirectionalityCharacters(e.format(t))}return String(this.getYear(t))},e.prototype.getFirstDayOfWeek=function(){return 0},e.prototype.getNumDaysInMonth=function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))},e.prototype.clone=function(t){return this.createDate(this.getYear(t),this.getMonth(t),this.getDate(t))},e.prototype.createDate=function(t,e,n){if(e<0||e>11)throw Error('Invalid month index "'+e+'". Month index has to be between 0 and 11.');if(n<1)throw Error('Invalid date "'+n+'". Date has to be greater than 0.');var a=this._createDateWithOverflow(t,e,n);if(a.getMonth()!=e)throw Error('Invalid date "'+n+'" for month with index "'+e+'".');return a},e.prototype.today=function(){return new Date},e.prototype.parse=function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null},e.prototype.format=function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(dt){this.useUtcForDisplay&&(t=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())),e=E({},e,{timeZone:"utc"}));var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(n.format(t))}return this._stripDirectionalityCharacters(t.toDateString())},e.prototype.addCalendarYears=function(t,e){return this.addCalendarMonths(t,12*e)},e.prototype.addCalendarMonths=function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n},e.prototype.addCalendarDays=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)},e.prototype.toIso8601=function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")},e.prototype.fromIso8601=function(t){if(mt.test(t)){var e=new Date(t);if(this.isValid(e))return e}return null},e.prototype.isDateInstance=function(t){return t instanceof Date},e.prototype.isValid=function(t){return!isNaN(t.getTime())},e.prototype._createDateWithOverflow=function(t,e,n){var a=new Date(t,e,n);return t>=0&&t<100&&a.setFullYear(this.getYear(a)-1900),a},e.prototype._2digit=function(t){return("00"+t).slice(-2)},e.prototype._stripDirectionalityCharacters=function(t){return t.replace(/[\u200e\u200f]/g,"")},e}(ct);ft.decorators=[{type:r.Injectable}],ft.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[st]}]}]};var gt=new r.InjectionToken("md-date-formats"),bt={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},_t=function(){function t(){}return t}();_t.decorators=[{type:r.NgModule,args:[{providers:[{provide:ct,useClass:ft},lt]}]}],_t.ctorParameters=function(){return[]};var yt=function(){function t(){}return t}();yt.decorators=[{type:r.NgModule,args:[{imports:[_t],providers:[{provide:gt,useValue:bt}]}]}],yt.ctorParameters=function(){return[]};var vt=(new r.InjectionToken("md-error-global-options"),function(t){function e(){var e=t.call(this)||this;return e._hammer="undefined"!=typeof window?window.Hammer:null,e.events=e._hammer?["longpress","slide","slidestart","slideend","slideright","slideleft"]:[],!e._hammer&&r.isDevMode()&&console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),e}return A(e,t),e.prototype.buildHammer=function(t){var e=new this._hammer(t),n=new this._hammer.Pan,a=new this._hammer.Swipe,r=new this._hammer.Press,i=this._createRecognizer(n,{event:"slide",threshold:0},a),o=this._createRecognizer(r,{event:"longpress",time:500});return n.recognizeWith(a),e.add([a,r,n,i,o]),e},e.prototype._createRecognizer=function(t,e){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];var r=new t.constructor(e);return n.push(t),n.forEach(function(t){return r.recognizeWith(t)}),r},e}(o.HammerGestureConfig));vt.decorators=[{type:r.Injectable}],vt.ctorParameters=function(){return[]};var Dt=function(){function t(){}return t}();Dt.decorators=[{type:r.Directive,args:[{selector:"[md-line], [mat-line], [mdLine], [matLine]",host:{class:"mat-line"}}]}],Dt.ctorParameters=function(){return[]};var Ct=function(){function t(){}return t}();Ct.decorators=[{type:r.NgModule,args:[{imports:[it],exports:[Dt,it],declarations:[Dt]}]}],Ct.ctorParameters=function(){return[]};var wt={};wt.FADING_IN=0,wt.VISIBLE=1,wt.FADING_OUT=2,wt.HIDDEN=3,wt[wt.FADING_IN]="FADING_IN",wt[wt.VISIBLE]="VISIBLE",wt[wt.FADING_OUT]="FADING_OUT",wt[wt.HIDDEN]="HIDDEN";var xt=function(){function t(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=wt.HIDDEN}return t.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},t}(),kt=function(){function t(t,e,n,a){this._ngZone=e,this._ruler=n,this._isMousedown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this.rippleConfig={},this.rippleDisabled=!1,a.isBrowser&&(this._containerElement=t.nativeElement,this._triggerEvents.set("mousedown",this.onMousedown.bind(this)),this._triggerEvents.set("mouseup",this.onMouseup.bind(this)),this._triggerEvents.set("mouseleave",this.onMouseLeave.bind(this)),this.setTriggerElement(this._containerElement))}return t.prototype.fadeInRipple=function(t,e,n){var a=this;void 0===n&&(n={});var r=this._containerElement.getBoundingClientRect();if(n.centered)t=r.left+r.width/2,e=r.top+r.height/2;else{var i=this._ruler.getViewportScrollPosition();t-=i.left,e-=i.top}var o=n.radius||F(t,e,r),s=1/(n.speedFactor||1)*450,l=t-r.left,c=e-r.top,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=l-o+"px",d.style.top=c-o+"px",d.style.height=2*o+"px",d.style.width=2*o+"px",d.style.backgroundColor=n.color||null,d.style.transitionDuration=s+"ms",this._containerElement.appendChild(d),M(d),d.style.transform="scale(1)";var p=new xt(this,d,n);return p.state=wt.FADING_IN,this._activeRipples.add(p),this.runTimeoutOutsideZone(function(){p.state=wt.VISIBLE,n.persistent||a._isMousedown||p.fadeOut()},s),p},t.prototype.fadeOutRipple=function(t){if(this._activeRipples.delete(t)){var e=t.element;e.style.transitionDuration="400ms",e.style.opacity="0",t.state=wt.FADING_OUT,this.runTimeoutOutsideZone(function(){t.state=wt.HIDDEN,e.parentNode.removeChild(e)},400)}},t.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(t){return t.fadeOut()})},t.prototype.setTriggerElement=function(t){var e=this;this._triggerElement&&this._triggerEvents.forEach(function(t,n){e._triggerElement.removeEventListener(n,t)}),t&&this._ngZone.runOutsideAngular(function(){e._triggerEvents.forEach(function(e,n){return t.addEventListener(n,e)})}),this._triggerElement=t},t.prototype.onMousedown=function(t){this.rippleDisabled||(this._isMousedown=!0,this.fadeInRipple(t.pageX,t.pageY,this.rippleConfig))},t.prototype.onMouseup=function(){this._isMousedown=!1,this._activeRipples.forEach(function(t){t.config.persistent||t.state!==wt.VISIBLE||t.fadeOut()})},t.prototype.onMouseLeave=function(){this._isMousedown&&this.onMouseup()},t.prototype.runTimeoutOutsideZone=function(t,e){void 0===e&&(e=0),this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})},t}(),At=new r.InjectionToken("md-ripple-global-options"),It=function(){function t(t,e,n,a,r){this.radius=0,this.speedFactor=1,this._rippleRenderer=new kt(t,e,n,a),this._globalOptions=r||{},this._updateRippleRenderer()}return Object.defineProperty(t.prototype,"_matRippleTrigger",{get:function(){return this.trigger},set:function(t){this.trigger=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleCentered",{get:function(){return this.centered},set:function(t){this.centered=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleDisabled",{get:function(){return this.disabled},set:function(t){this.disabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleRadius",{get:function(){return this.radius},set:function(t){this.radius=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleSpeedFactor",{get:function(){return this.speedFactor},set:function(t){this.speedFactor=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleColor",{get:function(){return this.color},set:function(t){this.color=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_matRippleUnbounded",{get:function(){return this.unbounded},set:function(t){this.unbounded=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){(t.trigger||t._matRippleTrigger)&&this.trigger&&this._rippleRenderer.setTriggerElement(this.trigger),this._updateRippleRenderer()},t.prototype.ngOnDestroy=function(){this._rippleRenderer.setTriggerElement(null)},t.prototype.launch=function(t,e,n){return void 0===n&&(n=this.rippleConfig),this._rippleRenderer.fadeInRipple(t,e,n)},t.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(t.prototype,"rippleConfig",{get:function(){return{centered:this.centered,speedFactor:this.speedFactor*(this._globalOptions.baseSpeedFactor||1),radius:this.radius,color:this.color}},enumerable:!0,configurable:!0}),t.prototype._updateRippleRenderer=function(){this._rippleRenderer.rippleDisabled=this._globalOptions.disabled||this.disabled,this._rippleRenderer.rippleConfig=this.rippleConfig},t}();It.decorators=[{type:r.Directive,args:[{selector:"[md-ripple], [mat-ripple], [mdRipple], [matRipple]",exportAs:"mdRipple, matRipple",host:{class:"mat-ripple","[class.mat-ripple-unbounded]":"unbounded"}}]}],It.ctorParameters=function(){return[{type:r.ElementRef},{type:r.NgZone},{type:d.ViewportRuler},{type:p.Platform},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[At]}]}]},It.propDecorators={trigger:[{type:r.Input,args:["mdRippleTrigger"]}],centered:[{type:r.Input,args:["mdRippleCentered"]}],disabled:[{type:r.Input,args:["mdRippleDisabled"]}],radius:[{type:r.Input,args:["mdRippleRadius"]}],speedFactor:[{type:r.Input,args:["mdRippleSpeedFactor"]}],color:[{type:r.Input,args:["mdRippleColor"]}],unbounded:[{type:r.Input,args:["mdRippleUnbounded"]}],_matRippleTrigger:[{type:r.Input,args:["matRippleTrigger"]}],_matRippleCentered:[{type:r.Input,args:["matRippleCentered"]}],_matRippleDisabled:[{type:r.Input,args:["matRippleDisabled"]}],_matRippleRadius:[{type:r.Input,args:["matRippleRadius"]}],_matRippleSpeedFactor:[{type:r.Input,args:["matRippleSpeedFactor"]}],_matRippleColor:[{type:r.Input,args:["matRippleColor"]}],_matRippleUnbounded:[{type:r.Input,args:["matRippleUnbounded"]}]};var Rt=function(){function t(){}return t}();Rt.decorators=[{type:r.NgModule,args:[{imports:[it,p.PlatformModule,d.ScrollDispatchModule],exports:[It,it],declarations:[It],providers:[d.VIEWPORT_RULER_PROVIDER]}]}],Rt.ctorParameters=function(){return[]};var Ot=function(){function t(){this.state="unchecked",this.disabled=!1}return t}();Ot.decorators=[{type:r.Component,args:[{encapsulation:r.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:r.ChangeDetectionStrategy.OnPush,selector:"md-pseudo-checkbox, mat-pseudo-checkbox",styles:[".mat-pseudo-checkbox{width:20px;height:20px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:9px;left:2px;width:16px;opacity:1}.mat-pseudo-checkbox-checked::after{top:5px;left:3px;width:12px;height:5px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],template:"",host:{class:"mat-pseudo-checkbox","[class.mat-pseudo-checkbox-indeterminate]":'state === "indeterminate"',"[class.mat-pseudo-checkbox-checked]":'state === "checked"',"[class.mat-pseudo-checkbox-disabled]":"disabled"}}]}],Ot.ctorParameters=function(){return[]},Ot.propDecorators={state:[{type:r.Input}],disabled:[{type:r.Input}]};var St=function(){function t(){}return t}();St.decorators=[{type:r.NgModule,args:[{exports:[Ot],declarations:[Ot]}]}],St.ctorParameters=function(){return[]};var Et=function(){function t(){}return t}(),Pt=R(Et),Mt=0,Ft=function(t){function e(){var e=t.apply(this,arguments)||this;return e._labelId="mat-optgroup-label-"+Mt++,e}return A(e,t),e}(Pt);Ft.decorators=[{type:r.Component,args:[{selector:"md-optgroup, mat-optgroup",template:'<label class="mat-optgroup-label" [id]="_labelId">{{ label }}</label><ng-content select="md-option, mat-option"></ng-content>',encapsulation:r.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:r.ChangeDetectionStrategy.OnPush,inputs:["disabled"],host:{class:"mat-optgroup",role:"group","[class.mat-optgroup-disabled]":"disabled","[attr.aria-disabled]":"disabled.toString()","[attr.aria-labelledby]":"_labelId"}}]}],Ft.ctorParameters=function(){return[]},Ft.propDecorators={label:[{type:r.Input}]};var Tt=0,Vt=function(){function t(t,e){void 0===e&&(e=!1),this.source=t,this.isUserInput=e}return t}(),jt=function(){function t(t,e,n){this._element=t,this._changeDetectorRef=e,this.group=n,this._selected=!1,this._active=!1,this._multiple=!1,this._disableRipple=!1,this._disabled=!1,this._id="md-option-"+Tt++,this.onSelectionChange=new r.EventEmitter}return Object.defineProperty(t.prototype,"multiple",{get:function(){return this._multiple},set:function(t){t!==this._multiple&&(this._multiple=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=s.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=t,this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),t.prototype.select=function(){this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent()},t.prototype.deselect=function(){this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent()},t.prototype.focus=function(){var t=this._getHostElement();"function"==typeof t.focus&&t.focus()},t.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},t.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},t.prototype.getLabel=function(){return this.viewValue},t.prototype._handleKeydown=function(t){t.keyCode!==c.ENTER&&t.keyCode!==c.SPACE||(this._selectViaInteraction(),t.preventDefault())},t.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},t.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},t.prototype._getHostElement=function(){return this._element.nativeElement},t.prototype._emitSelectionChangeEvent=function(t){void 0===t&&(t=!1),this.onSelectionChange.emit(new Vt(this,t))},t.countGroupLabelsBeforeOption=function(t,e,n){if(n.length){for(var a=e.toArray(),r=n.toArray(),i=0,o=0;o<t+1;o++)a[o].group&&a[o].group===r[i]&&i++;return i}return 0},t}();jt.decorators=[{type:r.Component,args:[{selector:"md-option, mat-option",host:{role:"option","[attr.tabindex]":"_getTabIndex()","[class.mat-selected]":"selected","[class.mat-option-multiple]":"multiple","[class.mat-active]":"active","[id]":"id","[attr.aria-selected]":"selected.toString()","[attr.aria-disabled]":"disabled.toString()","[class.mat-option-disabled]":"disabled","(click)":"_selectViaInteraction()","(keydown)":"_handleKeydown($event)",class:"mat-option"},template:'<span *ngIf="multiple"><mat-pseudo-checkbox class="mat-option-pseudo-checkbox" [state]="selected ? \'checked\' : \'\'" [disabled]="disabled"></mat-pseudo-checkbox></span><ng-content></ng-content><div class="mat-option-ripple" mat-ripple [matRippleTrigger]="_getHostElement()" [matRippleDisabled]="disabled || disableRipple"></div>',encapsulation:r.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:r.ChangeDetectionStrategy.OnPush,viewProviders:[{provide:Q,useValue:!0}]}]}],jt.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ChangeDetectorRef},{type:Ft,decorators:[{type:r.Optional}]}]},jt.propDecorators={value:[{type:r.Input}],disabled:[{type:r.Input}],onSelectionChange:[{type:r.Output}]};var Nt=function(){
function t(){}return t}();Nt.decorators=[{type:r.NgModule,args:[{imports:[Rt,a.CommonModule,St],exports:[jt,Ft],declarations:[jt,Ft]}]}],Nt.ctorParameters=function(){return[]};var Lt=new r.InjectionToken("md-placeholder-global-options"),Yt=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)},t}(),Bt=function(){function t(){}return t}();Bt.decorators=[{type:r.NgModule,args:[{imports:[e.A11yModule],exports:[e.A11yModule]}]}],Bt.ctorParameters=function(){return[]};var zt="accent",Wt=function(){function t(){}return t}();Wt.decorators=[{type:r.Directive,args:[{selector:"button[md-button], button[mat-button], a[md-button], a[mat-button]",host:{class:"mat-button"}}]}],Wt.ctorParameters=function(){return[]};var Ut=function(){function t(){}return t}();Ut.decorators=[{type:r.Directive,args:[{selector:"button[md-raised-button], button[mat-raised-button], a[md-raised-button], a[mat-raised-button]",host:{class:"mat-raised-button"}}]}],Ut.ctorParameters=function(){return[]};var Ht=function(){function t(){}return t}();Ht.decorators=[{type:r.Directive,args:[{selector:"button[md-icon-button], button[mat-icon-button], a[md-icon-button], a[mat-icon-button]",host:{class:"mat-icon-button"}}]}],Ht.ctorParameters=function(){return[]};var qt=function(){function t(t,e){(t||e).color=zt}return t}();qt.decorators=[{type:r.Directive,args:[{selector:"button[md-fab], button[mat-fab], a[md-fab], a[mat-fab]",host:{class:"mat-fab"}}]}],qt.ctorParameters=function(){return[{type:$t,decorators:[{type:r.Self},{type:r.Optional},{type:r.Inject,args:[r.forwardRef(function(){return $t})]}]},{type:Xt,decorators:[{type:r.Self},{type:r.Optional},{type:r.Inject,args:[r.forwardRef(function(){return Xt})]}]}]};var Kt=function(){function t(t,e){(t||e).color=zt}return t}();Kt.decorators=[{type:r.Directive,args:[{selector:"button[md-mini-fab], button[mat-mini-fab], a[md-mini-fab], a[mat-mini-fab]",host:{class:"mat-mini-fab"}}]}],Kt.ctorParameters=function(){return[{type:$t,decorators:[{type:r.Self},{type:r.Optional},{type:r.Inject,args:[r.forwardRef(function(){return $t})]}]},{type:Xt,decorators:[{type:r.Self},{type:r.Optional},{type:r.Inject,args:[r.forwardRef(function(){return Xt})]}]}]};var Gt=function(){function t(t,e){this._renderer=t,this._elementRef=e}return t}(),Zt=O(R(function(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var a=t.apply(this,e)||this;return a._disableRipple=!1,a}return A(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=s.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),e}(t)}(Gt))),$t=function(t){function e(e,n,a,r){var i=t.call(this,e,n)||this;return i._platform=a,i._focusMonitor=r,i._isRoundButton=i._hasAttributeWithPrefix("fab","mini-fab"),i._isIconButton=i._hasAttributeWithPrefix("icon-button"),i._focusMonitor.monitor(i._elementRef.nativeElement,i._renderer,!0),i}return A(e,t),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.focus=function(){this._getHostElement().focus()},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._hasAttributeWithPrefix=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return!!this._platform.isBrowser&&e.some(function(e){var n=t._getHostElement();return n.hasAttribute("md-"+e)||n.hasAttribute("mat-"+e)})},e}(Zt);$t.decorators=[{type:r.Component,args:[{selector:"button[md-button], button[md-raised-button], button[md-icon-button],\n button[md-fab], button[md-mini-fab],\n button[mat-button], button[mat-raised-button], button[mat-icon-button],\n button[mat-fab], button[mat-mini-fab]",host:{"[disabled]":"disabled || null"},template:'<span class="mat-button-wrapper"><ng-content></ng-content></span><div mat-ripple class="mat-button-ripple" [class.mat-button-ripple-round]="_isRoundButton || _isIconButton" [matRippleDisabled]="_isRippleDisabled()" [matRippleCentered]="_isIconButton" [matRippleTrigger]="_getHostElement()"></div><div class="mat-button-focus-overlay"></div>',styles:[".mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:88px;line-height:36px;padding:0 16px;border-radius:2px}[disabled].mat-button,[disabled].mat-fab,[disabled].mat-icon-button,[disabled].mat-mini-fab,[disabled].mat-raised-button{cursor:default}.cdk-keyboard-focused.mat-button .mat-button-focus-overlay,.cdk-keyboard-focused.mat-fab .mat-button-focus-overlay,.cdk-keyboard-focused.mat-icon-button .mat-button-focus-overlay,.cdk-keyboard-focused.mat-mini-fab .mat-button-focus-overlay,.cdk-keyboard-focused.mat-raised-button .mat-button-focus-overlay{opacity:1}.mat-button::-moz-focus-inner,.mat-fab::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-mini-fab::-moz-focus-inner,.mat-raised-button::-moz-focus-inner{border:0}.mat-fab,.mat-mini-fab,.mat-raised-button{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-fab:not([disabled]):active,.mat-mini-fab:not([disabled]):active,.mat-raised-button:not([disabled]):active{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[disabled].mat-fab,[disabled].mat-mini-fab,[disabled].mat-raised-button{box-shadow:none}.mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{transition:none;opacity:0}.mat-button:hover .mat-button-focus-overlay{opacity:1}.mat-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button,.mat-icon-button,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],inputs:["disabled","disableRipple","color"],encapsulation:r.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:r.ChangeDetectionStrategy.OnPush,viewProviders:[{provide:Q,useValue:!0}]}]}],$t.ctorParameters=function(){return[{type:r.Renderer2},{type:r.ElementRef},{type:p.Platform},{type:e.FocusMonitor}]};var Xt=function(t){function e(e,n,a,r){return t.call(this,r,a,e,n)||this}return A(e,t),e.prototype._haltDisabledEvents=function(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())},e}($t);Xt.decorators=[{type:r.Component,args:[{selector:"a[md-button], a[md-raised-button], a[md-icon-button], a[md-fab], a[md-mini-fab],\n a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab]",host:{"[attr.tabindex]":"disabled ? -1 : 0","[attr.disabled]":"disabled || null","[attr.aria-disabled]":"disabled.toString()","(click)":"_haltDisabledEvents($event)"},inputs:["disabled","disableRipple","color"],template:'<span class="mat-button-wrapper"><ng-content></ng-content></span><div mat-ripple class="mat-button-ripple" [class.mat-button-ripple-round]="_isRoundButton || _isIconButton" [matRippleDisabled]="_isRippleDisabled()" [matRippleCentered]="_isIconButton" [matRippleTrigger]="_getHostElement()"></div><div class="mat-button-focus-overlay"></div>',styles:[".mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:88px;line-height:36px;padding:0 16px;border-radius:2px}[disabled].mat-button,[disabled].mat-fab,[disabled].mat-icon-button,[disabled].mat-mini-fab,[disabled].mat-raised-button{cursor:default}.cdk-keyboard-focused.mat-button .mat-button-focus-overlay,.cdk-keyboard-focused.mat-fab .mat-button-focus-overlay,.cdk-keyboard-focused.mat-icon-button .mat-button-focus-overlay,.cdk-keyboard-focused.mat-mini-fab .mat-button-focus-overlay,.cdk-keyboard-focused.mat-raised-button .mat-button-focus-overlay{opacity:1}.mat-button::-moz-focus-inner,.mat-fab::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-mini-fab::-moz-focus-inner,.mat-raised-button::-moz-focus-inner{border:0}.mat-fab,.mat-mini-fab,.mat-raised-button{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-fab:not([disabled]):active,.mat-mini-fab:not([disabled]):active,.mat-raised-button:not([disabled]):active{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[disabled].mat-fab,[disabled].mat-mini-fab,[disabled].mat-raised-button{box-shadow:none}.mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{transition:none;opacity:0}.mat-button:hover .mat-button-focus-overlay{opacity:1}.mat-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button,.mat-icon-button,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],encapsulation:r.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:r.ChangeDetectionStrategy.OnPush}]}],Xt.ctorParameters=function(){return[{type:p.Platform},{type:e.FocusMonitor},{type:r.ElementRef},{type:r.Renderer2}]};var Jt=function(){function t(){}return t}();Jt.decorators=[{type:r.NgModule,args:[{imports:[a.CommonModule,Rt,it,e.A11yModule],exports:[$t,Xt,Kt,qt,it,Wt,Ut,Ht],declarations:[$t,Xt,Kt,qt,Wt,Ut,Ht]}]}],Jt.ctorParameters=function(){return[]};var Qt=function(){function t(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.direction="ltr",this.ariaDescribedBy=null}return t}(),te=function(t){function e(e,n,a,i){var o=t.call(this)||this;return o._elementRef=e,o._focusTrapFactory=n,o._changeDetectorRef=a,o._document=i,o._elementFocusedBeforeDialogWasOpened=null,o._state="enter",o._animationStateChanged=new r.EventEmitter,o._ariaLabelledBy=null,o._isAnimating=!1,o}return A(e,t),e.prototype.attachComponentPortal=function(t){return this._portalHost.hasAttached()&&T(),this._savePreviouslyFocusedElement(),this._portalHost.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._portalHost.hasAttached()&&T(),this._savePreviouslyFocusedElement(),this._portalHost.attachTemplatePortal(t)},e.prototype._trapFocus=function(){var t=this;this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._focusTrap.focusInitialElementWhenReady().then(function(e){e||t._elementRef.nativeElement.focus()})},e.prototype._restoreFocus=function(){var t=this._elementFocusedBeforeDialogWasOpened;t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()},e.prototype._savePreviouslyFocusedElement=function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)},e.prototype._onAnimationDone=function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t),this._isAnimating=!1},e.prototype._onAnimationStart=function(t){this._isAnimating=!0,this._animationStateChanged.emit(t)},e.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},e}(u.BasePortalHost);te.decorators=[{type:r.Component,args:[{selector:"md-dialog-container, mat-dialog-container",template:"<ng-template cdkPortalHost></ng-template>",styles:[".mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);display:block;padding:24px;border-radius:2px;box-sizing:border-box;overflow:auto;max-width:80vw;outline:0;width:100%;height:100%}@media screen and (-ms-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;-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:12px 0;display:flex;flex-wrap:wrap}.mat-dialog-actions:last-child{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+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}"],encapsulation:r.ViewEncapsulation.None,preserveWhitespaces:!1,animations:[f.trigger("slideDialog",[f.state("enter",f.style({transform:"none",opacity:1})),f.state("void",f.style({transform:"translate3d(0, 25%, 0) scale(0.9)",opacity:0})),f.state("exit",f.style({transform:"translate3d(0, 25%, 0)",opacity:0})),f.transition("* => *",f.animate("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])],host:{class:"mat-dialog-container",tabindex:"-1","[attr.role]":"_config?.role","[attr.aria-labelledby]":"_ariaLabelledBy","[attr.aria-describedby]":"_config?.ariaDescribedBy || null","[@slideDialog]":"_state","(@slideDialog.start)":"_onAnimationStart($event)","(@slideDialog.done)":"_onAnimationDone($event)"}}]}],te.ctorParameters=function(){return[{type:r.ElementRef},{type:e.FocusTrapFactory},{type:r.ChangeDetectorRef},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[o.DOCUMENT]}]}]},te.propDecorators={_portalHost:[{type:r.ViewChild,args:[u.PortalHostDirective]}]};var ee=0,ne=function(){function t(t,e,n){void 0===n&&(n="md-dialog-"+ee++);var a=this;this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._cont