@angular/material
Version:
Angular Material
11 lines (10 loc) • 44.7 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(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@angular/cdk/a11y"),require("@angular/cdk/overlay"),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("@angular/animations"),require("rxjs/observable/merge"),require("rxjs/Subscription")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@angular/common","@angular/cdk/a11y","@angular/cdk/overlay","@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","@angular/animations","rxjs/observable/merge","rxjs/Subscription"],t):t((e.ng=e.ng||{},e.ng.material=e.ng.material||{},e.ng.material.sidenav=e.ng.material.sidenav||{}),e.ng.core,e.ng.common,e.ng.cdk.a11y,e.ng.cdk.overlay,e.ng.cdk.bidi,e.ng.platformBrowser,e.ng.cdk.coercion,e.Rx,e.ng.cdk.keycodes,e.ng.cdk.scrolling,e.ng.cdk.platform,e.ng.cdk.portal,e.ng.cdk.rxjs,e.ng.animations,e.Rx.Observable,e.Rx)}(this,function(e,t,n,r,o,i,a,s,c,d,p,l,u,m,h,f,g){"use strict";function y(e,t){function n(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function b(e,t){return Error('The "'+e+'-" prefix cannot be used in ng-material v1 compatibility mode. It was used on an "'+t.toLowerCase()+'" element.')}function _(e){return e||new A}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var r=0,o=t;r<o.length;r++){var i=o[r];if(null!=i)for(var a in i)i.hasOwnProperty(a)&&(e[a]=i[a])}return e}function w(e,t){for(var n=Array(e),r=0;r<e;r++)n[r]=t(r);return n}function D(e){window.getComputedStyle(e).getPropertyValue("opacity")}function C(e,t,n){var r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),o=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+o*o)}function k(e){throw Error("A drawer was already declared for 'position=\""+e+"\"'")}var E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},x=function(){function e(){}return e}();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 R=function(){function e(){}return e}();R.COMPLEX="375ms",R.ENTERING="225ms",R.EXITING="195ms";var O=new t.InjectionToken("md-compatibility-mode"),I=function(){function e(e,t){if(!e)throw b("mat",t.nativeElement.nodeName)}return e}();I.decorators=[{type:t.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"}]}],I.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[O]}]},{type:t.ElementRef}]};var M=function(){function e(e,t){if(e)throw b("md",t.nativeElement.nodeName)}return e}();M.decorators=[{type:t.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"}]}],M.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[O]}]},{type:t.ElementRef}]};var S=function(){function e(){}return e}();S.decorators=[{type:t.NgModule,args:[{declarations:[I,M],exports:[I,M]}]}],S.ctorParameters=function(){return[]};var T=function(){function e(){}return e}();T.decorators=[{type:t.NgModule,args:[{providers:[{provide:O,useValue:!0}]}]}],T.ctorParameters=function(){return[]};var P=new t.InjectionToken("md-sanity-checks"),N=function(){function e(e,n){this._document=e,this._hasDoneGlobalChecks=!1,n&&!this._hasDoneGlobalChecks&&e&&t.isDevMode()&&(this._checkDoctype(),this._checkTheme(),this._hasDoneGlobalChecks=!0)}return e.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.")},e.prototype._checkTheme=function(){if("function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e),"none"!==getComputedStyle(e).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(e)}},e}();N.decorators=[{type:t.NgModule,args:[{imports:[S,i.BidiModule],exports:[S,i.BidiModule],providers:[{provide:P,useValue:!0}]}]}],N.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[a.DOCUMENT]}]},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]}]};var A=function(){function e(){this._listeners=[]}return e.prototype.notify=function(e,t){for(var n=0,r=this._listeners;n<r.length;n++){(0,r[n])(e,t)}},e.prototype.listen=function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter(function(t){return e!==t})}},e}();A.decorators=[{type:t.Injectable}],A.ctorParameters=function(){return[]};var F=(new t.Optional,new t.SkipSelf,new t.InjectionToken("MAT_DATE_LOCALE")),j={provide:F,useExisting:t.LOCALE_ID},L=function(){function e(){this._localeChanges=new c.Subject}return Object.defineProperty(e.prototype,"localeChanges",{get:function(){return this._localeChanges},enumerable:!0,configurable:!0}),e.prototype.getYear=function(e){},e.prototype.getMonth=function(e){},e.prototype.getDate=function(e){},e.prototype.getDayOfWeek=function(e){},e.prototype.getMonthNames=function(e){},e.prototype.getDateNames=function(){},e.prototype.getDayOfWeekNames=function(e){},e.prototype.getYearName=function(e){},e.prototype.getFirstDayOfWeek=function(){},e.prototype.getNumDaysInMonth=function(e){},e.prototype.clone=function(e){},e.prototype.createDate=function(e,t,n){},e.prototype.today=function(){},e.prototype.parse=function(e,t){},e.prototype.format=function(e,t){},e.prototype.addCalendarYears=function(e,t){},e.prototype.addCalendarMonths=function(e,t){},e.prototype.addCalendarDays=function(e,t){},e.prototype.toIso8601=function(e){},e.prototype.fromIso8601=function(e){},e.prototype.isDateInstance=function(e){},e.prototype.isValid=function(e){},e.prototype.setLocale=function(e){this.locale=e,this._localeChanges.next()},e.prototype.compareDate=function(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)},e.prototype.sameDate=function(e,t){return e&&t?!this.compareDate(e,t):e==t},e.prototype.clampDate=function(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e},e}(),W="undefined"!=typeof Intl,V={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"]},z=w(31,function(e){return String(e+1)}),B={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},U=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,Y=function(e){function t(t){var n=e.call(this)||this;return n.useUtcForDisplay=!0,e.prototype.setLocale.call(n,t),n}return y(t,e),t.prototype.getYear=function(e){return e.getFullYear()},t.prototype.getMonth=function(e){return e.getMonth()},t.prototype.getDate=function(e){return e.getDate()},t.prototype.getDayOfWeek=function(e){return e.getDay()},t.prototype.getMonthNames=function(e){var t=this;if(W){var n=new Intl.DateTimeFormat(this.locale,{month:e});return w(12,function(e){return t._stripDirectionalityCharacters(n.format(new Date(2017,e,1)))})}return V[e]},t.prototype.getDateNames=function(){var e=this;if(W){var t=new Intl.DateTimeFormat(this.locale,{day:"numeric"});return w(31,function(n){return e._stripDirectionalityCharacters(t.format(new Date(2017,0,n+1)))})}return z},t.prototype.getDayOfWeekNames=function(e){var t=this;if(W){var n=new Intl.DateTimeFormat(this.locale,{weekday:e});return w(7,function(e){return t._stripDirectionalityCharacters(n.format(new Date(2017,0,e+1)))})}return B[e]},t.prototype.getYearName=function(e){if(W){var t=new Intl.DateTimeFormat(this.locale,{year:"numeric"});return this._stripDirectionalityCharacters(t.format(e))}return String(this.getYear(e))},t.prototype.getFirstDayOfWeek=function(){return 0},t.prototype.getNumDaysInMonth=function(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))},t.prototype.clone=function(e){return this.createDate(this.getYear(e),this.getMonth(e),this.getDate(e))},t.prototype.createDate=function(e,t,n){if(t<0||t>11)throw Error('Invalid month index "'+t+'". 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 r=this._createDateWithOverflow(e,t,n);if(r.getMonth()!=t)throw Error('Invalid date "'+n+'" for month with index "'+t+'".');return r},t.prototype.today=function(){return new Date},t.prototype.parse=function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null},t.prototype.format=function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(W){this.useUtcForDisplay&&(e=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())),t=v({},t,{timeZone:"utc"}));var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(n.format(e))}return this._stripDirectionalityCharacters(e.toDateString())},t.prototype.addCalendarYears=function(e,t){return this.addCalendarMonths(e,12*t)},t.prototype.addCalendarMonths=function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n},t.prototype.addCalendarDays=function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)},t.prototype.toIso8601=function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")},t.prototype.fromIso8601=function(e){if(U.test(e)){var t=new Date(e);if(this.isValid(t))return t}return null},t.prototype.isDateInstance=function(e){return e instanceof Date},t.prototype.isValid=function(e){return!isNaN(e.getTime())},t.prototype._createDateWithOverflow=function(e,t,n){var r=new Date(e,t,n);return e>=0&&e<100&&r.setFullYear(this.getYear(r)-1900),r},t.prototype._2digit=function(e){return("00"+e).slice(-2)},t.prototype._stripDirectionalityCharacters=function(e){return e.replace(/[\u200e\u200f]/g,"")},t}(L);Y.decorators=[{type:t.Injectable}],Y.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[F]}]}]};var H=new t.InjectionToken("md-date-formats"),q={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"}}},G=function(){function e(){}return e}();G.decorators=[{type:t.NgModule,args:[{providers:[{provide:L,useClass:Y},j]}]}],G.ctorParameters=function(){return[]};var Z=function(){function e(){}return e}();Z.decorators=[{type:t.NgModule,args:[{imports:[G],providers:[{provide:H,useValue:q}]}]}],Z.ctorParameters=function(){return[]};var J=(new t.InjectionToken("md-error-global-options"),function(e){function n(){var n=e.call(this)||this;return n._hammer="undefined"!=typeof window?window.Hammer:null,n.events=n._hammer?["longpress","slide","slidestart","slideend","slideright","slideleft"]:[],!n._hammer&&t.isDevMode()&&console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),n}return y(n,e),n.prototype.buildHammer=function(e){var t=new this._hammer(e),n=new this._hammer.Pan,r=new this._hammer.Swipe,o=new this._hammer.Press,i=this._createRecognizer(n,{event:"slide",threshold:0},r),a=this._createRecognizer(o,{event:"longpress",time:500});return n.recognizeWith(r),t.add([r,o,n,i,a]),t},n.prototype._createRecognizer=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=new e.constructor(t);return n.push(e),n.forEach(function(e){return o.recognizeWith(e)}),o},n}(a.HammerGestureConfig));J.decorators=[{type:t.Injectable}],J.ctorParameters=function(){return[]};var $=function(){function e(){}return e}();$.decorators=[{type:t.Directive,args:[{selector:"[md-line], [mat-line], [mdLine], [matLine]",host:{class:"mat-line"}}]}],$.ctorParameters=function(){return[]};var K=function(){function e(){}return e}();K.decorators=[{type:t.NgModule,args:[{imports:[N],exports:[$,N],declarations:[$]}]}],K.ctorParameters=function(){return[]};var X={};X.FADING_IN=0,X.VISIBLE=1,X.FADING_OUT=2,X.HIDDEN=3,X[X.FADING_IN]="FADING_IN",X[X.VISIBLE]="VISIBLE",X[X.FADING_OUT]="FADING_OUT",X[X.HIDDEN]="HIDDEN";var Q=function(){function e(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=X.HIDDEN}return e.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},e}(),ee=function(){function e(e,t,n,r){this._ngZone=t,this._ruler=n,this._isMousedown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this.rippleConfig={},this.rippleDisabled=!1,r.isBrowser&&(this._containerElement=e.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 e.prototype.fadeInRipple=function(e,t,n){var r=this;void 0===n&&(n={});var o=this._containerElement.getBoundingClientRect();if(n.centered)e=o.left+o.width/2,t=o.top+o.height/2;else{var i=this._ruler.getViewportScrollPosition();e-=i.left,t-=i.top}var a=n.radius||C(e,t,o),s=1/(n.speedFactor||1)*450,c=e-o.left,d=t-o.top,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=c-a+"px",p.style.top=d-a+"px",p.style.height=2*a+"px",p.style.width=2*a+"px",p.style.backgroundColor=n.color||null,p.style.transitionDuration=s+"ms",this._containerElement.appendChild(p),D(p),p.style.transform="scale(1)";var l=new Q(this,p,n);return l.state=X.FADING_IN,this._activeRipples.add(l),this.runTimeoutOutsideZone(function(){l.state=X.VISIBLE,n.persistent||r._isMousedown||l.fadeOut()},s),l},e.prototype.fadeOutRipple=function(e){if(this._activeRipples.delete(e)){var t=e.element;t.style.transitionDuration="400ms",t.style.opacity="0",e.state=X.FADING_OUT,this.runTimeoutOutsideZone(function(){e.state=X.HIDDEN,t.parentNode.removeChild(t)},400)}},e.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(e){return e.fadeOut()})},e.prototype.setTriggerElement=function(e){var t=this;this._triggerElement&&this._triggerEvents.forEach(function(e,n){t._triggerElement.removeEventListener(n,e)}),e&&this._ngZone.runOutsideAngular(function(){t._triggerEvents.forEach(function(t,n){return e.addEventListener(n,t)})}),this._triggerElement=e},e.prototype.onMousedown=function(e){this.rippleDisabled||(this._isMousedown=!0,this.fadeInRipple(e.pageX,e.pageY,this.rippleConfig))},e.prototype.onMouseup=function(){this._isMousedown=!1,this._activeRipples.forEach(function(e){e.config.persistent||e.state!==X.VISIBLE||e.fadeOut()})},e.prototype.onMouseLeave=function(){this._isMousedown&&this.onMouseup()},e.prototype.runTimeoutOutsideZone=function(e,t){void 0===t&&(t=0),this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})},e}(),te=new t.InjectionToken("md-ripple-global-options"),ne=function(){function e(e,t,n,r,o){this.radius=0,this.speedFactor=1,this._rippleRenderer=new ee(e,t,n,r),this._globalOptions=o||{},this._updateRippleRenderer()}return Object.defineProperty(e.prototype,"_matRippleTrigger",{get:function(){return this.trigger},set:function(e){this.trigger=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_matRippleCentered",{get:function(){return this.centered},set:function(e){this.centered=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_matRippleDisabled",{get:function(){return this.disabled},set:function(e){this.disabled=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_matRippleRadius",{get:function(){return this.radius},set:function(e){this.radius=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_matRippleSpeedFactor",{get:function(){return this.speedFactor},set:function(e){this.speedFactor=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_matRippleColor",{get:function(){return this.color},set:function(e){this.color=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_matRippleUnbounded",{get:function(){return this.unbounded},set:function(e){this.unbounded=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){(e.trigger||e._matRippleTrigger)&&this.trigger&&this._rippleRenderer.setTriggerElement(this.trigger),this._updateRippleRenderer()},e.prototype.ngOnDestroy=function(){this._rippleRenderer.setTriggerElement(null)},e.prototype.launch=function(e,t,n){return void 0===n&&(n=this.rippleConfig),this._rippleRenderer.fadeInRipple(e,t,n)},e.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(e.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}),e.prototype._updateRippleRenderer=function(){this._rippleRenderer.rippleDisabled=this._globalOptions.disabled||this.disabled,this._rippleRenderer.rippleConfig=this.rippleConfig},e}();ne.decorators=[{type:t.Directive,args:[{selector:"[md-ripple], [mat-ripple], [mdRipple], [matRipple]",exportAs:"mdRipple, matRipple",host:{class:"mat-ripple","[class.mat-ripple-unbounded]":"unbounded"}}]}],ne.ctorParameters=function(){return[{type:t.ElementRef},{type:t.NgZone},{type:p.ViewportRuler},{type:l.Platform},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[te]}]}]},ne.propDecorators={trigger:[{type:t.Input,args:["mdRippleTrigger"]}],centered:[{type:t.Input,args:["mdRippleCentered"]}],disabled:[{type:t.Input,args:["mdRippleDisabled"]}],radius:[{type:t.Input,args:["mdRippleRadius"]}],speedFactor:[{type:t.Input,args:["mdRippleSpeedFactor"]}],color:[{type:t.Input,args:["mdRippleColor"]}],unbounded:[{type:t.Input,args:["mdRippleUnbounded"]}],_matRippleTrigger:[{type:t.Input,args:["matRippleTrigger"]}],_matRippleCentered:[{type:t.Input,args:["matRippleCentered"]}],_matRippleDisabled:[{type:t.Input,args:["matRippleDisabled"]}],_matRippleRadius:[{type:t.Input,args:["matRippleRadius"]}],_matRippleSpeedFactor:[{type:t.Input,args:["matRippleSpeedFactor"]}],_matRippleColor:[{type:t.Input,args:["matRippleColor"]}],_matRippleUnbounded:[{type:t.Input,args:["matRippleUnbounded"]}]};var re=function(){function e(){}return e}();re.decorators=[{type:t.NgModule,args:[{imports:[N,l.PlatformModule,p.ScrollDispatchModule],exports:[ne,N],declarations:[ne],providers:[p.VIEWPORT_RULER_PROVIDER]}]}],re.ctorParameters=function(){return[]};var oe=function(){function e(){this.state="unchecked",this.disabled=!1}return e}();oe.decorators=[{type:t.Component,args:[{encapsulation:t.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:t.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"}}]}],oe.ctorParameters=function(){return[]},oe.propDecorators={state:[{type:t.Input}],disabled:[{type:t.Input}]};var ie=function(){function e(){}return e}();ie.decorators=[{type:t.NgModule,args:[{exports:[oe],declarations:[oe]}]}],ie.ctorParameters=function(){return[]};var ae=function(){function e(){}return e}(),se=function(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,t)||this;return r._disabled=!1,r}return y(t,e),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),t}(e)}(ae),ce=0,de=function(e){function t(){var t=e.apply(this,arguments)||this;return t._labelId="mat-optgroup-label-"+ce++,t}return y(t,e),t}(se);de.decorators=[{type:t.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:t.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:t.ChangeDetectionStrategy.OnPush,inputs:["disabled"],host:{class:"mat-optgroup",role:"group","[class.mat-optgroup-disabled]":"disabled","[attr.aria-disabled]":"disabled.toString()","[attr.aria-labelledby]":"_labelId"}}]}],de.ctorParameters=function(){return[]},de.propDecorators={label:[{type:t.Input}]};var pe=0,le=function(){function e(e,t){void 0===t&&(t=!1),this.source=e,this.isUserInput=t}return e}(),ue=function(){function e(e,n,r){this._element=e,this._changeDetectorRef=n,this.group=r,this._selected=!1,this._active=!1,this._multiple=!1,this._disableRipple=!1,this._disabled=!1,this._id="md-option-"+pe++,this.onSelectionChange=new t.EventEmitter}return Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(e){e!==this._multiple&&(this._multiple=e,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(e){this._disableRipple=e,this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),e.prototype.select=function(){this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent()},e.prototype.deselect=function(){this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent()},e.prototype.focus=function(){var e=this._getHostElement();"function"==typeof e.focus&&e.focus()},e.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},e.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},e.prototype.getLabel=function(){return this.viewValue},e.prototype._handleKeydown=function(e){e.keyCode!==d.ENTER&&e.keyCode!==d.SPACE||(this._selectViaInteraction(),e.preventDefault())},e.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._element.nativeElement},e.prototype._emitSelectionChangeEvent=function(e){void 0===e&&(e=!1),this.onSelectionChange.emit(new le(this,e))},e.countGroupLabelsBeforeOption=function(e,t,n){if(n.length){for(var r=t.toArray(),o=n.toArray(),i=0,a=0;a<e+1;a++)r[a].group&&r[a].group===o[i]&&i++;return i}return 0},e}();ue.decorators=[{type:t.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:t.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:t.ChangeDetectionStrategy.OnPush,viewProviders:[{provide:O,useValue:!0}]}]}],ue.ctorParameters=function(){return[{type:t.ElementRef},{type:t.ChangeDetectorRef},{type:de,decorators:[{type:t.Optional}]}]},ue.propDecorators={value:[{type:t.Input}],disabled:[{type:t.Input}],onSelectionChange:[{type:t.Output}]};var me=function(){function e(){}return e}();me.decorators=[{type:t.NgModule,args:[{imports:[re,n.CommonModule,ie],exports:[ue,de],declarations:[ue,de]}]}],me.ctorParameters=function(){return[]};var he=(new t.InjectionToken("md-placeholder-global-options"),function(){function e(){}return e}());he.decorators=[{type:t.NgModule,args:[{imports:[r.A11yModule],exports:[r.A11yModule]}]}],he.ctorParameters=function(){return[]};var fe=function(){function e(e,t){this.type=e,this.animationFinished=t}return e}(),ge=function(){function e(e,n,r){var o=this;this._elementRef=e,this._focusTrapFactory=n,this._doc=r,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this.mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new t.EventEmitter,this._isAnimating=!1,this._animationState="void",this.onOpen=new t.EventEmitter,this.onClose=new t.EventEmitter,this.onPositionChanged=new t.EventEmitter,this.onAlignChanged=new t.EventEmitter,this.onOpen.subscribe(function(){o._doc&&(o._elementFocusedBeforeDrawerWasOpened=o._doc.activeElement),o.isFocusTrapEnabled&&o._focusTrap&&o._focusTrap.focusInitialElementWhenReady()}),this.onClose.subscribe(function(){return o._restoreFocus()})}return Object.defineProperty(e.prototype,"position",{get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onAlignChanged.emit(),this.onPositionChanged.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.position},set:function(e){this.position=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableClose",{get:function(){return this._disableClose},set:function(e){this._disableClose=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocusTrapEnabled",{get:function(){return this.opened&&"side"!==this.mode},enumerable:!0,configurable:!0}),e.prototype._restoreFocus=function(){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._elementFocusedBeforeDrawerWasOpened.focus():this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null},e.prototype.ngAfterContentInit=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._focusTrap.enabled=this.isFocusTrapEnabled,this._enableAnimations=!0},e.prototype.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy()},Object.defineProperty(e.prototype,"opened",{get:function(){return this._opened},set:function(e){this.toggle(s.coerceBooleanProperty(e))
},enumerable:!0,configurable:!0}),e.prototype.open=function(){return this.toggle(!0)},e.prototype.close=function(){return this.toggle(!1)},e.prototype.toggle=function(e){var t=this;return void 0===e&&(e=!this.opened),this._isAnimating||(this._opened=e,this._animationState=e?this._enableAnimations?"open":"open-instant":"void",this._currentTogglePromise=new Promise(function(n){m.first.call(e?t.onOpen:t.onClose).subscribe(n)}),this._focusTrap&&(this._focusTrap.enabled=this.isFocusTrapEnabled)),this._currentTogglePromise},e.prototype.handleKeydown=function(e){e.keyCode!==d.ESCAPE||this.disableClose||(this.close(),e.stopPropagation())},e.prototype._onAnimationStart=function(){this._isAnimating=!0,this._animationStarted.emit()},e.prototype._onAnimationEnd=function(e){var t=this,n=e.fromState,r=e.toState;"open"===r&&"void"===n?this.onOpen.emit(new fe("open",!0)):"void"===r&&"open"===n&&this.onClose.emit(new fe("close",!0)),Promise.resolve().then(function(){t._isAnimating=!1,t._currentTogglePromise=null})},Object.defineProperty(e.prototype,"_width",{get:function(){return this._elementRef.nativeElement?this._elementRef.nativeElement.offsetWidth||0:0},enumerable:!0,configurable:!0}),e}();ge.decorators=[{type:t.Component,args:[{selector:"md-drawer, mat-drawer",template:"<ng-content></ng-content>",animations:[h.trigger("transform",[h.state("open, open-instant",h.style({transform:"translate3d(0, 0, 0)",visibility:"visible"})),h.state("void",h.style({visibility:"hidden"})),h.transition("void => open-instant",h.animate("0ms")),h.transition("void <=> open, open-instant => void",h.animate("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])],host:{class:"mat-drawer","[@transform]":"_animationState","(@transform.start)":"_onAnimationStart()","(@transform.done)":"_onAnimationEnd($event)","(keydown)":"handleKeydown($event)","[attr.align]":"null","[class.mat-drawer-end]":'position === "end"',"[class.mat-drawer-over]":'mode === "over"',"[class.mat-drawer-push]":'mode === "push"',"[class.mat-drawer-side]":'mode === "side"',tabIndex:"-1"},changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,preserveWhitespaces:!1}]}],ge.ctorParameters=function(){return[{type:t.ElementRef},{type:r.FocusTrapFactory},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[a.DOCUMENT]}]}]},ge.propDecorators={position:[{type:t.Input}],align:[{type:t.Input}],mode:[{type:t.Input}],disableClose:[{type:t.Input}],onOpen:[{type:t.Output,args:["open"]}],onClose:[{type:t.Output,args:["close"]}],onPositionChanged:[{type:t.Output,args:["positionChanged"]}],onAlignChanged:[{type:t.Output,args:["align-changed"]}],opened:[{type:t.Input}]};var ye=function(){function e(e,n,r,o,i){var a=this;this._dir=e,this._element=n,this._renderer=r,this._ngZone=o,this._changeDetectorRef=i,this.backdropClick=new t.EventEmitter,this._dirChangeSubscription=g.Subscription.EMPTY,null!=e&&(this._dirChangeSubscription=e.change.subscribe(function(){return a._validateDrawers()}))}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var e=this;m.startWith.call(this._drawers.changes,null).subscribe(function(){e._validateDrawers(),e._drawers.forEach(function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t)})})},e.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe()},e.prototype.open=function(){this._drawers.forEach(function(e){return e.open()})},e.prototype.close=function(){this._drawers.forEach(function(e){return e.close()})},e.prototype._watchDrawerToggle=function(e){var t=this;m.takeUntil.call(e._animationStarted,this._drawers.changes).subscribe(function(){t._renderer.addClass(t._element.nativeElement,"mat-drawer-transition"),t._updateStyles(),t._changeDetectorRef.markForCheck()}),"side"!==e.mode&&m.takeUntil.call(f.merge(e.onOpen,e.onClose),this._drawers.changes).subscribe(function(){return t._setContainerClass(e.opened)})},e.prototype._watchDrawerPosition=function(e){var t=this;e&&m.takeUntil.call(e.onPositionChanged,this._drawers.changes).subscribe(function(){m.first.call(t._ngZone.onMicrotaskEmpty.asObservable()).subscribe(function(){t._validateDrawers()})})},e.prototype._setContainerClass=function(e){e?this._renderer.addClass(this._element.nativeElement,"mat-drawer-opened"):this._renderer.removeClass(this._element.nativeElement,"mat-drawer-opened")},e.prototype._validateDrawers=function(){var e=this;this._start=this._end=null,this._drawers.forEach(function(t){"end"==t.position?(null!=e._end&&k("end"),e._end=t):(null!=e._start&&k("start"),e._start=t)}),this._right=this._left=null,null==this._dir||"ltr"==this._dir.value?(this._left=this._start,this._right=this._end):(this._left=this._end,this._right=this._start)},e.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},e.prototype._closeModalDrawer=function(){[this._start,this._end].filter(function(e){return e&&!e.disableClose&&"side"!==e.mode}).forEach(function(e){return e.close()})},e.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&"side"!=this._start.mode||this._isDrawerOpen(this._end)&&"side"!=this._end.mode},e.prototype._isDrawerOpen=function(e){return null!=e&&e.opened},e.prototype._getDrawerEffectiveWidth=function(e,t){return this._isDrawerOpen(e)&&e.mode==t?e._width:0},e.prototype._updateStyles=function(){var e=this._left?this._getDrawerEffectiveWidth(this._left,"side"):0,t=this._right?this._getDrawerEffectiveWidth(this._right,"side"):0,n=this._left?this._getDrawerEffectiveWidth(this._left,"push"):0,r=this._right?this._getDrawerEffectiveWidth(this._right,"push"):0;this._styles={marginLeft:e+"px",marginRight:t+"px",transform:"translate3d("+(n-r)+"px, 0, 0)"}},e}();ye.decorators=[{type:t.Component,args:[{selector:"md-drawer-container, mat-drawer-container",template:'<div class="mat-drawer-backdrop" (click)="_onBackdropClicked()" [class.mat-drawer-shown]="_isShowingBackdrop()"></div><ng-content select="md-drawer, mat-drawer, md-sidenav, mat-sidenav"></ng-content><div class="mat-drawer-content" [ngStyle]="_styles" cdk-scrollable><ng-content></ng-content></div>',styles:[".mat-drawer-container{position:relative;transform:translate3d(0,0,0);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-opened{overflow:hidden}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:2;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}@media screen and (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;transform:translate3d(0,0,0);display:block;height:100%;overflow:auto}.mat-drawer{position:relative;transform:translate3d(0,0,0);display:block;position:absolute;top:0;bottom:0;z-index:3;min-width:5vw;outline:0;box-sizing:border-box;height:100%;overflow-y:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-side{z-index:1}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-opened:not(.mat-drawer-side),.mat-drawer.mat-drawer-opening:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)} .mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer-transition .mat-drawer-backdrop.mat-drawer-shown{transition:background-color .4s cubic-bezier(.25,.8,.25,1)}"],host:{class:"mat-drawer-container"},changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,preserveWhitespaces:!1}]}],ye.ctorParameters=function(){return[{type:i.Directionality,decorators:[{type:t.Optional}]},{type:t.ElementRef},{type:t.Renderer2},{type:t.NgZone},{type:t.ChangeDetectorRef}]},ye.propDecorators={_drawers:[{type:t.ContentChildren,args:[ge]}],backdropClick:[{type:t.Output}]};var be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t}(ge);be.decorators=[{type:t.Component,args:[{selector:"md-sidenav, mat-sidenav",template:"<ng-content></ng-content>",animations:[h.trigger("transform",[h.state("open, open-instant",h.style({transform:"translate3d(0, 0, 0)",visibility:"visible"})),h.state("void",h.style({visibility:"hidden"})),h.transition("void => open-instant",h.animate("0ms")),h.transition("void <=> open, open-instant => void",h.animate("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])],host:{class:"mat-drawer mat-sidenav","[@transform]":"_animationState","(@transform.start)":"_onAnimationStart()","(@transform.done)":"_onAnimationEnd($event)","(keydown)":"handleKeydown($event)","[attr.align]":"null","[class.mat-drawer-end]":'position === "end"',"[class.mat-drawer-over]":'mode === "over"',"[class.mat-drawer-push]":'mode === "push"',"[class.mat-drawer-side]":'mode === "side"',tabIndex:"-1"},changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,preserveWhitespaces:!1}]}],be.ctorParameters=function(){return[]};var _e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t}(ye);_e.decorators=[{type:t.Component,args:[{selector:"md-sidenav-container, mat-sidenav-container",template:'<div class="mat-drawer-backdrop" (click)="_onBackdropClicked()" [class.mat-drawer-shown]="_isShowingBackdrop()"></div><ng-content select="md-drawer, mat-drawer, md-sidenav, mat-sidenav"></ng-content><div class="mat-drawer-content" [ngStyle]="_styles" cdk-scrollable><ng-content></ng-content></div>',styles:[".mat-drawer-container{position:relative;transform:translate3d(0,0,0);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-opened{overflow:hidden}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:2;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}@media screen and (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;transform:translate3d(0,0,0);display:block;height:100%;overflow:auto}.mat-drawer{position:relative;transform:translate3d(0,0,0);display:block;position:absolute;top:0;bottom:0;z-index:3;min-width:5vw;outline:0;box-sizing:border-box;height:100%;overflow-y:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-side{z-index:1}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-opened:not(.mat-drawer-side),.mat-drawer.mat-drawer-opening:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)} .mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer-transition .mat-drawer-backdrop.mat-drawer-shown{transition:background-color .4s cubic-bezier(.25,.8,.25,1)}"],host:{class:"mat-drawer-container mat-sidenav-container"},changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,preserveWhitespaces:!1}]}],_e.ctorParameters=function(){return[]},_e.propDecorators={_drawers:[{type:t.ContentChildren,args:[be]}]};var ve=function(){function e(){}return e}();ve.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,N,r.A11yModule,o.OverlayModule],exports:[ye,ge,_e,be,N],declarations:[ye,ge,_e,be]}]}],ve.ctorParameters=function(){return[]},e.MdSidenavModule=ve,e.throwMdDuplicatedDrawerError=k,e.MdDrawerToggleResult=fe,e.MdDrawer=ge,e.MdDrawerContainer=ye,e.MdSidenav=be,e.MdSidenavContainer=_e,e.MatDrawerToggleResult=fe,e.MatDrawer=ge,e.MatDrawerContainer=ye,e.MatSidenav=be,e.MatSidenavContainer=_e,e.MatSidenavModule=ve,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=material-sidenav.umd.min.js.map