UNPKG

@angular/material

Version:
9 lines 523 kB
/** * @license * Copyright Google LLC 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/core"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("rxjs/Subject"),require("rxjs/Observable"),require("@angular/platform-browser"),require("@angular/common"),require("@angular/cdk/platform"),require("@angular/cdk/keycodes"),require("@angular/cdk/a11y"),require("@angular/cdk/overlay"),require("@angular/cdk/portal"),require("rxjs/operators/filter"),require("rxjs/operators/take"),require("rxjs/operators/switchMap"),require("rxjs/operators/tap"),require("rxjs/operators/delay"),require("@angular/forms"),require("rxjs/observable/fromEvent"),require("rxjs/operators/startWith"),require("@angular/animations"),require("rxjs/observable/defer"),require("rxjs/observable/merge"),require("rxjs/observable/of"),require("@angular/cdk/collections"),require("@angular/cdk/observers"),require("rxjs/Subscription"),require("rxjs/operators/auditTime"),require("rxjs/operators/takeUntil"),require("@angular/cdk/accordion"),require("rxjs/operators/catchError"),require("rxjs/operators/finalize"),require("rxjs/operators/map"),require("rxjs/operators/share"),require("@angular/common/http"),require("rxjs/observable/forkJoin"),require("rxjs/observable/throw"),require("@angular/cdk/layout"),require("@angular/cdk/scrolling"),require("rxjs/operators/debounceTime"),require("@angular/cdk/table"),require("@angular/cdk/stepper"),require("rxjs/BehaviorSubject"),require("rxjs/operators/combineLatest"),require("rxjs/observable/empty")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@angular/cdk/bidi","@angular/cdk/coercion","rxjs/Subject","rxjs/Observable","@angular/platform-browser","@angular/common","@angular/cdk/platform","@angular/cdk/keycodes","@angular/cdk/a11y","@angular/cdk/overlay","@angular/cdk/portal","rxjs/operators/filter","rxjs/operators/take","rxjs/operators/switchMap","rxjs/operators/tap","rxjs/operators/delay","@angular/forms","rxjs/observable/fromEvent","rxjs/operators/startWith","@angular/animations","rxjs/observable/defer","rxjs/observable/merge","rxjs/observable/of","@angular/cdk/collections","@angular/cdk/observers","rxjs/Subscription","rxjs/operators/auditTime","rxjs/operators/takeUntil","@angular/cdk/accordion","rxjs/operators/catchError","rxjs/operators/finalize","rxjs/operators/map","rxjs/operators/share","@angular/common/http","rxjs/observable/forkJoin","rxjs/observable/throw","@angular/cdk/layout","@angular/cdk/scrolling","rxjs/operators/debounceTime","@angular/cdk/table","@angular/cdk/stepper","rxjs/BehaviorSubject","rxjs/operators/combineLatest","rxjs/observable/empty"],e):e((t.ng=t.ng||{},t.ng.material=t.ng.material||{}),t.ng.core,t.ng.cdk.bidi,t.ng.cdk.coercion,t.Rx,t.Rx,t.ng.platformBrowser,t.ng.common,t.ng.cdk.platform,t.ng.cdk.keycodes,t.ng.cdk.a11y,t.ng.cdk.overlay,t.ng.cdk.portal,t.Rx.operators,t.Rx.operators,t.Rx.operators,t.Rx.operators,t.Rx.operators,t.ng.forms,t.Rx.Observable,t.Rx.operators,t.ng.animations,t.Rx.Observable,t.Rx.Observable,t.Rx.Observable,t.ng.cdk.collections,t.ng.cdk.observers,t.Rx,t.Rx.operators,t.Rx.operators,t.ng.cdk.accordion,t.Rx.operators,t.Rx.operators,t.Rx.operators,t.Rx.operators,t.ng.common.http,t.Rx.Observable,t.Rx.Observable,t.ng.cdk.layout,t.ng.cdk.scrolling,t.Rx.operators,t.ng.cdk.table,t.ng.cdk.stepper,t.Rx,t.Rx.operators,t.Rx.Observable)}(this,function(t,e,i,n,a,o,r,s,l,c,p,d,m,u,h,f,g,b,_,y,v,x,C,k,w,D,O,S,I,E,P,A,R,M,T,L,F,V,z,j,N,B,W,H,Y,U){"use strict";function G(t,e){function i(){this.constructor=t}qt(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}function q(t){return function(t){function e(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var n=t.apply(this,e)||this;return n._disabled=!1,n}return G(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=n.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),e}(t)}function X(t,e){return function(t){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var a=t.apply(this,i)||this;return a.color=e,a}return G(i,t),Object.defineProperty(i.prototype,"color",{get:function(){return this._color},set:function(t){var i=t||e;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),i&&this._elementRef.nativeElement.classList.add("mat-"+i),this._color=i)},enumerable:!0,configurable:!0}),i}(t)}function K(t){return function(t){function e(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var n=t.apply(this,e)||this;return n._disableRipple=!1,n}return G(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=n.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),e}(t)}function $(t,e){return void 0===e&&(e=0),function(t){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var a=t.apply(this,i)||this;return a._tabIndex=e,a}return G(i,t),Object.defineProperty(i.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?t:e},enumerable:!0,configurable:!0}),i}(t)}function Z(t){return function(t){function e(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var n=t.apply(this,e)||this;return n.errorState=!1,n.stateChanges=new a.Subject,n}return G(e,t),e.prototype.updateErrorState=function(){var t=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.errorStateMatcher||this._defaultErrorStateMatcher,n=this.ngControl?this.ngControl.control:null,a=i.isErrorState(n,e);a!==t&&(this.errorState=a,this.stateChanges.next())},e}(t)}function J(t){return function(t){function e(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var n=t.apply(this,e)||this;return n._isInitialized=!1,n._pendingSubscribers=[],n.initialized=new o.Observable(function(t){n._isInitialized?n._notifySubscriber(t):n._pendingSubscribers.push(t)}),n}return G(e,t),e.prototype._markInitialized=function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null},e.prototype._notifySubscriber=function(t){t.next(),t.complete()},e}(t)}function Q(t,e){for(var i=Array(t),n=0;n<t;n++)i[n]=e(n);return i}function tt(t){window.getComputedStyle(t).getPropertyValue("opacity")}function et(t,e,i){var n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),a=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+a*a)}function it(t,e,i){if(i.length){for(var n=e.toArray(),a=i.toArray(),o=0,r=0;r<t+1;r++)n[r].group&&n[r].group===a[o]&&o++;return o}return 0}function nt(t,e,i,n){var a=t*e;return a<i?a:a+e>i+n?Math.max(0,a-n+e):i}function at(){return Error("Placeholder attribute and child element were both specified.")}function ot(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}function rt(){return Error("mat-form-field must contain a MatFormFieldControl.")}function st(t){return function(){return t.scrollStrategies.reposition()}}function lt(){return Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}function ct(){throw Error("Attempting to attach dialog content after content is already attached")}function pt(t){return function(){return t.scrollStrategies.block()}}function dt(t,e){return Xt({},e,t)}function mt(t,e){for(var i=t.nativeElement.parentElement;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?e.find(function(t){return t.id===i.id}):null}function ut(t){return Error('Input type "'+t+"\" isn't supported by matInput.")}function ht(t){return Error("MatDatepicker: No provider found for "+t+". You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.")}function ft(t){return function(){return t.scrollStrategies.reposition()}}function gt(t){return""+(t||"")}function bt(t){return"string"==typeof t?parseInt(t,10):t}function _t(t){return"calc("+t+")"}function yt(t){return t.match(/px|em|rem/)?t:t+"px"}function vt(t){return Error('Unable to find icon with the name "'+t+'"')}function xt(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Ct(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+t+'".')}function kt(t,e,i,n){return t||new Aa(e,i,n)}function wt(t){return t.cloneNode(!0)}function Dt(t,e){return t+":"+e}function Ot(){throw Error('mat-menu-trigger: must pass in an mat-menu instance.\n\n Example:\n <mat-menu #menu="matMenu"></mat-menu>\n <button [matMenuTriggerFor]="menu"></button>')}function St(){throw Error('x-position value must be either \'before\' or after\'.\n Example: <mat-menu x-position="before" #menu="matMenu"></mat-menu>')}function It(){throw Error('y-position value must be either \'above\' or below\'.\n Example: <mat-menu y-position="above" #menu="matMenu"></mat-menu>')}function Et(t){return function(){return t.scrollStrategies.reposition()}}function Pt(){return Error("Cannot change `multiple` mode of select after initialization.")}function At(){return Error("Value must be an array in multiple-selection mode.")}function Rt(){return Error("`compareWith` must be a function.")}function Mt(t){return function(){return t.scrollStrategies.reposition()}}function Tt(t){return Error('Tooltip position "'+t+'" is invalid.')}function Lt(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:Ao})}}function Ft(t){return t||new jo}function Vt(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=100),Math.max(e,Math.min(i,t))}function zt(t){throw Error("A drawer was already declared for 'position=\""+t+"\"'")}function jt(t){return Xt({},new zr,t)}function Nt(t){return Error("Cannot have two MatSortables with the same id ("+t+").")}function Bt(){return Error("MatSortHeader must be placed within a parent element with the MatSort directive.")}function Wt(){return Error("MatSortHeader must be provided with a unique id.")}function Ht(t){return Error(t+" is not a valid sort direction ('asc' or 'desc').")}function Yt(t,e){var i=["asc","desc"];return"desc"==t&&i.reverse(),e||i.push(""),i}function Ut(t){return t||new Kr}function Gt(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}var qt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},Xt=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++){e=arguments[i];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])}return t},Kt=function(){function t(){}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t}(),$t=function(){function t(){}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t}(),Zt=new e.InjectionToken("mat-sanity-checks"),Jt=function(){function t(t){this._sanityChecksEnabled=t,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return t.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&e.isDevMode()&&!this._isTestEnv()},t.prototype._isTestEnv=function(){return this._window&&(this._window.__karma__||this._window.jasmine)},t.prototype._checkDoctypeIsDefined=function(){this._document&&!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._checkThemeIsPresent=function(){if(this._document&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==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(t)}},t.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(this._areChecksEnabled()&&!this._window.Hammer&&console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},t.decorators=[{type:e.NgModule,args:[{imports:[i.BidiModule],exports:[i.BidiModule],providers:[{provide:Zt,useValue:!0}]}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[Zt]}]}]},t}(),Qt=new e.InjectionToken("MAT_DATE_LOCALE"),te={provide:Qt,useExisting:e.LOCALE_ID},ee=function(){function t(){this._localeChanges=new a.Subject}return Object.defineProperty(t.prototype,"localeChanges",{get:function(){return this._localeChanges},enumerable:!0,configurable:!0}),t.prototype.deserialize=function(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()},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){if(t&&e){var i=this.isValid(t),n=this.isValid(e);return i&&n?!this.compareDate(t,e):i==n}return t==e},t.prototype.clampDate=function(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t},t}(),ie=new e.InjectionToken("mat-date-formats"),ne="undefined"!=typeof Intl,ae={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"]},oe=function(t){return String(t+1)},re=Q(31,oe),se={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},le=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,ce=function(t){function i(e){var i=t.call(this)||this;t.prototype.setLocale.call(i,e);var n="object"==typeof document&&!!document,a=n&&/(msie|trident)/i.test(navigator.userAgent);return i.useUtcForDisplay=!a,i._clampDate=a||n&&/(edge)/i.test(navigator.userAgent),i}return G(i,t),i.prototype.getYear=function(t){return t.getFullYear()},i.prototype.getMonth=function(t){return t.getMonth()},i.prototype.getDate=function(t){return t.getDate()},i.prototype.getDayOfWeek=function(t){return t.getDay()},i.prototype.getMonthNames=function(t){var e=this;if(ne){var i=new Intl.DateTimeFormat(this.locale,{month:t});return Q(12,function(t){return e._stripDirectionalityCharacters(i.format(new Date(2017,t,1)))})}return ae[t]},i.prototype.getDateNames=function(){var t=this;if(ne){var e=new Intl.DateTimeFormat(this.locale,{day:"numeric"});return Q(31,function(i){return t._stripDirectionalityCharacters(e.format(new Date(2017,0,i+1)))})}return re},i.prototype.getDayOfWeekNames=function(t){var e=this;if(ne){var i=new Intl.DateTimeFormat(this.locale,{weekday:t});return Q(7,function(t){return e._stripDirectionalityCharacters(i.format(new Date(2017,0,t+1)))})}return se[t]},i.prototype.getYearName=function(t){if(ne){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric"});return this._stripDirectionalityCharacters(e.format(t))}return String(this.getYear(t))},i.prototype.getFirstDayOfWeek=function(){return 0},i.prototype.getNumDaysInMonth=function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))},i.prototype.clone=function(t){return this.createDate(this.getYear(t),this.getMonth(t),this.getDate(t))},i.prototype.createDate=function(t,e,i){if(e<0||e>11)throw Error('Invalid month index "'+e+'". Month index has to be between 0 and 11.');if(i<1)throw Error('Invalid date "'+i+'". Date has to be greater than 0.');var n=this._createDateWithOverflow(t,e,i);if(n.getMonth()!=e)throw Error('Invalid date "'+i+'" for month with index "'+e+'".');return n},i.prototype.today=function(){return new Date},i.prototype.parse=function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null},i.prototype.format=function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(ne){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t),t.setFullYear(Math.max(1,Math.min(9999,t.getFullYear())))),this.useUtcForDisplay&&(t=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())),e=Xt({},e,{timeZone:"utc"}));var i=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(i.format(t))}return this._stripDirectionalityCharacters(t.toDateString())},i.prototype.addCalendarYears=function(t,e){return this.addCalendarMonths(t,12*e)},i.prototype.addCalendarMonths=function(t,e){var i=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(i)!=((this.getMonth(t)+e)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i},i.prototype.addCalendarDays=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)},i.prototype.toIso8601=function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")},i.prototype.deserialize=function(e){if("string"==typeof e){if(!e)return null;if(le.test(e)){var i=new Date(e);if(this.isValid(i))return i}}return t.prototype.deserialize.call(this,e)},i.prototype.isDateInstance=function(t){return t instanceof Date},i.prototype.isValid=function(t){return!isNaN(t.getTime())},i.prototype.invalid=function(){return new Date(NaN)},i.prototype._createDateWithOverflow=function(t,e,i){var n=new Date(t,e,i);return t>=0&&t<100&&n.setFullYear(this.getYear(n)-1900),n},i.prototype._2digit=function(t){return("00"+t).slice(-2)},i.prototype._stripDirectionalityCharacters=function(t){return t.replace(/[\u200e\u200f]/g,"")},i.decorators=[{type:e.Injectable}],i.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[Qt]}]}]},i}(ee),pe={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"}}},de=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{providers:[{provide:ee,useClass:ce},te]}]}],t.ctorParameters=function(){return[]},t}(),me=pe,ue=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[de],providers:[{provide:ie,useValue:me}]}]}],t.ctorParameters=function(){return[]},t}(),he=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.dirty||e&&e.submitted))},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}(),fe=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}(),ge=new e.InjectionToken("MAT_HAMMER_OPTIONS"),be=function(t){function i(e,i){var n=t.call(this)||this;return n._hammerOptions=e,n._hammer="undefined"!=typeof window?window.Hammer:null,n.events=n._hammer?["longpress","slide","slidestart","slideend","slideright","slideleft"]:[],i&&i._checkHammerIsAvailable(),n}return G(i,t),i.prototype.buildHammer=function(t){var e=new this._hammer(t,this._hammerOptions||void 0),i=new this._hammer.Pan,n=new this._hammer.Swipe,a=new this._hammer.Press,o=this._createRecognizer(i,{event:"slide",threshold:0},n),r=this._createRecognizer(a,{event:"longpress",time:500});return i.recognizeWith(n),e.add([n,a,i,o,r]),e},i.prototype._createRecognizer=function(t,e){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var a=new t.constructor(e);return i.push(t),i.forEach(function(t){return a.recognizeWith(t)}),a},i.decorators=[{type:e.Injectable}],i.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[ge]}]},{type:Jt,decorators:[{type:e.Optional}]}]},i}(r.HammerGestureConfig),_e=function(){function t(){}return t.decorators=[{type:e.Directive,args:[{selector:"[mat-line], [matLine]",host:{class:"mat-line"}}]}],t.ctorParameters=function(){return[]},t}(),ye=function(){function t(t,e){var i=this;this._lines=t,this._element=e,this._setLineClass(this._lines.length),this._lines.changes.subscribe(function(){i._setLineClass(i._lines.length)})}return t.prototype._setLineClass=function(t){this._resetClasses(),2===t||3===t?this._setClass("mat-"+t+"-line",!0):t>3&&this._setClass("mat-multi-line",!0)},t.prototype._resetClasses=function(){this._setClass("mat-2-line",!1),this._setClass("mat-3-line",!1),this._setClass("mat-multi-line",!1)},t.prototype._setClass=function(t,e){e?this._element.nativeElement.classList.add(t):this._element.nativeElement.classList.remove(t)},t}(),ve=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[Jt],exports:[_e,Jt],declarations:[_e]}]}],t.ctorParameters=function(){return[]},t}(),xe={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};xe[xe.FADING_IN]="FADING_IN",xe[xe.VISIBLE]="VISIBLE",xe[xe.FADING_OUT]="FADING_OUT",xe[xe.HIDDEN]="HIDDEN";var Ce=function(){function t(t,e,i){this._renderer=t,this.element=e,this.config=i,this.state=xe.HIDDEN}return t.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},t}(),ke={enterDuration:450,exitDuration:400},we=800,De=function(){function t(t,e,i,n){var a=this;this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._eventOptions=!!l.supportsPassiveEventListeners()&&{passive:!0},this.onMousedown=function(t){var e=a._lastTouchStartEvent&&Date.now()<a._lastTouchStartEvent+we;a._target.rippleDisabled||e||(a._isPointerDown=!0,a.fadeInRipple(t.clientX,t.clientY,a._target.rippleConfig))},this.onTouchStart=function(t){a._target.rippleDisabled||(a._lastTouchStartEvent=Date.now(),a._isPointerDown=!0,a.fadeInRipple(t.touches[0].clientX,t.touches[0].clientY,a._target.rippleConfig))},this.onPointerUp=function(){a._isPointerDown&&(a._isPointerDown=!1,a._activeRipples.forEach(function(t){var e=t.state===xe.VISIBLE||t.config.terminateOnPointerUp&&t.state===xe.FADING_IN;!t.config.persistent&&e&&t.fadeOut()}))},n.isBrowser&&(this._containerElement=i.nativeElement,this._triggerEvents.set("mousedown",this.onMousedown),this._triggerEvents.set("mouseup",this.onPointerUp),this._triggerEvents.set("mouseleave",this.onPointerUp),this._triggerEvents.set("touchstart",this.onTouchStart),this._triggerEvents.set("touchend",this.onPointerUp))}return t.prototype.fadeInRipple=function(t,e,i){var n=this;void 0===i&&(i={});var a=this._containerElement.getBoundingClientRect(),o=Xt({},ke,i.animation);i.centered&&(t=a.left+a.width/2,e=a.top+a.height/2);var r=i.radius||et(t,e,a),s=t-a.left,l=e-a.top,c=o.enterDuration/(i.speedFactor||1),p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=s-r+"px",p.style.top=l-r+"px",p.style.height=2*r+"px",p.style.width=2*r+"px",p.style.backgroundColor=i.color||null,p.style.transitionDuration=c+"ms",this._containerElement.appendChild(p),tt(p),p.style.transform="scale(1)";var d=new Ce(this,p,i);return d.state=xe.FADING_IN,this._activeRipples.add(d),this.runTimeoutOutsideZone(function(){d.state=xe.VISIBLE,i.persistent||n._isPointerDown||d.fadeOut()},c),d},t.prototype.fadeOutRipple=function(t){if(this._activeRipples.delete(t)){var e=t.element,i=Xt({},ke,t.config.animation);e.style.transitionDuration=i.exitDuration+"ms",e.style.opacity="0",t.state=xe.FADING_OUT,this.runTimeoutOutsideZone(function(){t.state=xe.HIDDEN,e.parentNode.removeChild(e)},i.exitDuration)}},t.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(t){return t.fadeOut()})},t.prototype.setupTriggerEvents=function(t){var e=this;t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(function(){e._triggerEvents.forEach(function(i,n){return t.addEventListener(n,i,e._eventOptions)})}),this._triggerElement=t)},t.prototype.runTimeoutOutsideZone=function(t,e){void 0===e&&(e=0),this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})},t.prototype._removeTriggerEvents=function(){var t=this;this._triggerElement&&this._triggerEvents.forEach(function(e,i){t._triggerElement.removeEventListener(i,e,t._eventOptions)})},t}(),Oe=new e.InjectionToken("mat-ripple-global-options"),Se=function(){function t(t,e,i,n){this._elementRef=t,this.radius=0,this.speedFactor=1,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new De(this,e,t,i)}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},t.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},t.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(t.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Xt({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp,speedFactor:this.speedFactor*(this._globalOptions.baseSpeedFactor||1)}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),t.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},t.prototype.launch=function(t,e,i){return void 0===e&&(e=0),"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Xt({},this.rippleConfig,i)):this._rippleRenderer.fadeInRipple(0,0,Xt({},this.rippleConfig,t))},t.decorators=[{type:e.Directive,args:[{selector:"[mat-ripple], [matRipple]",exportAs:"matRipple",host:{class:"mat-ripple","[class.mat-ripple-unbounded]":"unbounded"}}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.NgZone},{type:l.Platform},{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[Oe]}]}]},t.propDecorators={color:[{type:e.Input,args:["matRippleColor"]}],unbounded:[{type:e.Input,args:["matRippleUnbounded"]}],centered:[{type:e.Input,args:["matRippleCentered"]}],radius:[{type:e.Input,args:["matRippleRadius"]}],speedFactor:[{type:e.Input,args:["matRippleSpeedFactor"]}],animation:[{type:e.Input,args:["matRippleAnimation"]}],disabled:[{type:e.Input,args:["matRippleDisabled"]}],trigger:[{type:e.Input,args:["matRippleTrigger"]}]},t}(),Ie=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[Jt,l.PlatformModule],exports:[Se,Jt],declarations:[Se]}]}],t.ctorParameters=function(){return[]},t}(),Ee=function(){function t(){this.state="unchecked",this.disabled=!1}return t.decorators=[{type:e.Component,args:[{encapsulation:e.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:e.ChangeDetectionStrategy.OnPush,selector:"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"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={state:[{type:e.Input}],disabled:[{type:e.Input}]},t}(),Pe=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{exports:[Ee],declarations:[Ee]}]}],t.ctorParameters=function(){return[]},t}(),Ae=function(){function t(){}return t}(),Re=q(Ae),Me=0,Te=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e._labelId="mat-optgroup-label-"+Me++,e}return G(i,t),i.decorators=[{type:e.Component,args:[{selector:"mat-optgroup",exportAs:"matOptgroup",template:'<label class="mat-optgroup-label" [id]="_labelId">{{ label }}</label><ng-content select="mat-option, ng-container"></ng-content>',encapsulation:e.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:e.ChangeDetectionStrategy.OnPush,inputs:["disabled"],styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],host:{class:"mat-optgroup",role:"group","[class.mat-optgroup-disabled]":"disabled","[attr.aria-disabled]":"disabled.toString()","[attr.aria-labelledby]":"_labelId"}}]}],i.ctorParameters=function(){return[]},i.propDecorators={label:[{type:e.Input}]},i}(Re),Le=0,Fe=function(){function t(t,e){void 0===e&&(e=!1),this.source=t,this.isUserInput=e}return t}(),Ve=new e.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),ze=function(){function t(t,i,n,o){this._element=t,this._changeDetectorRef=i,this._parent=n,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._id="mat-option-"+Le++,this._mostRecentViewValue="",this.onSelectionChange=new e.EventEmitter,this._stateChanges=new a.Subject}return Object.defineProperty(t.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},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=n.coerceBooleanProperty(t)},enumerable:!0, configurable:!0}),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},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.ngAfterViewChecked=function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}},t.prototype._emitSelectionChangeEvent=function(t){void 0===t&&(t=!1),this.onSelectionChange.emit(new Fe(this,t))},t.decorators=[{type:e.Component,args:[{selector:"mat-option",exportAs:"matOption",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"},styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],template:'<mat-pseudo-checkbox *ngIf="multiple" class="mat-option-pseudo-checkbox" [state]="selected ? \'checked\' : \'\'" [disabled]="disabled"></mat-pseudo-checkbox><span class="mat-option-text"><ng-content></ng-content></span><div class="mat-option-ripple" mat-ripple [matRippleTrigger]="_getHostElement()" [matRippleDisabled]="disabled || disableRipple"></div>',encapsulation:e.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.ChangeDetectorRef},{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[Ve]}]},{type:Te,decorators:[{type:e.Optional}]}]},t.propDecorators={value:[{type:e.Input}],disabled:[{type:e.Input}],onSelectionChange:[{type:e.Output}]},t}(),je=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[Ie,s.CommonModule,Pe],exports:[ze,Te],declarations:[ze,Te]}]}],t.ctorParameters=function(){return[]},t}(),Ne=new e.InjectionToken("mat-label-global-options"),Be=0,We=function(){function t(){this.id="mat-error-"+Be++}return t.decorators=[{type:e.Directive,args:[{selector:"mat-error",host:{class:"mat-error",role:"alert","[attr.id]":"id"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={id:[{type:e.Input}]},t}(),He={transitionMessages:x.trigger("transitionMessages",[x.state("enter",x.style({opacity:1,transform:"translateY(0%)"})),x.transition("void => enter",[x.style({opacity:0,transform:"translateY(-100%)"}),x.animate("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ye=function(){function t(){}return t}(),Ue=0,Ge=function(){function t(){this.align="start",this.id="mat-hint-"+Ue++}return t.decorators=[{type:e.Directive,args:[{selector:"mat-hint",host:{class:"mat-hint","[class.mat-right]":'align == "end"',"[attr.id]":"id","[attr.align]":"null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={align:[{type:e.Input}],id:[{type:e.Input}]},t}(),qe=function(){function t(){}return t.decorators=[{type:e.Directive,args:[{selector:"mat-label"}]}],t.ctorParameters=function(){return[]},t}(),Xe=function(){function t(){}return t.decorators=[{type:e.Directive,args:[{selector:"mat-placeholder"}]}],t.ctorParameters=function(){return[]},t}(),Ke=function(){function t(){}return t.decorators=[{type:e.Directive,args:[{selector:"[matPrefix]"}]}],t.ctorParameters=function(){return[]},t}(),$e=function(){function t(){}return t.decorators=[{type:e.Directive,args:[{selector:"[matSuffix]"}]}],t.ctorParameters=function(){return[]},t}(),Ze=function(){function t(t){this._elementRef=t}return t}(),Je=X(Ze,"primary"),Qe=0,ti=function(t){function i(e,i,n){var a=t.call(this,e)||this;return a._elementRef=e,a._changeDetectorRef=i,a._showAlwaysAnimate=!1,a._subscriptAnimationState="",a._hintLabel="",a._hintLabelId="mat-hint-"+Qe++,a._labelOptions=n||{},a.floatLabel=a._labelOptions.float||"auto",a}return G(i,t),Object.defineProperty(i.prototype,"dividerColor",{get:function(){return this.color},set:function(t){this.color=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=n.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this._floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"_canLabelFloat",{get:function(){return"never"!==this._floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"floatPlaceholder",{get:function(){return this._floatLabel},set:function(t){this.floatLabel=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"floatLabel",{get:function(){return this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),i.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild(),this._control.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+this._control.controlType),this._control.stateChanges.pipe(v.startWith(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()});var e=this._control.ngControl;e&&e.valueChanges&&e.valueChanges.subscribe(function(){t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(v.startWith(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(v.startWith(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})},i.prototype.ngAfterContentChecked=function(){this._validateControlChild()},i.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},i.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},i.prototype._hasPlaceholder=function(){return!(!this._control.placeholder&&!this._placeholderChild)},i.prototype._hasLabel=function(){return!!this._labelChild},i.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._control.shouldPlaceholderFloat||this._shouldAlwaysFloat)},i.prototype._hideControlPlaceholder=function(){return!this._hasLabel()||!this._shouldLabelFloat()},i.prototype._hasFloatingLabel=function(){return this._hasLabel()||this._hasPlaceholder()},i.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},i.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._showAlwaysAnimate=!0,this._floatLabel="always",y.fromEvent(this._label.nativeElement,"transitionend").pipe(h.take(1)).subscribe(function(){t._showAlwaysAnimate=!1}),this._changeDetectorRef.markForCheck())},i.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw at()},i.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},i.prototype._validateHints=function(){var t=this;if(this._hintChildren){var e,i;this._hintChildren.forEach(function(n){if("start"===n.align){if(e||t.hintLabel)throw ot("start");e=n}else if("end"===n.align){if(i)throw ot("end");i=n}})}},i.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,i=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),i&&t.push(i.id)}else this._errorChildren&&(t=this._errorChildren.map(function(t){return t.id}));this._control.setDescribedByIds(t)}},i.prototype._validateControlChild=function(){if(!this._control)throw rt()},i.decorators=[{type:e.Component,args:[{selector:"mat-input-container, mat-form-field",exportAs:"matFormField",template:'<div class="mat-input-wrapper mat-form-field-wrapper"><div class="mat-input-flex mat-form-field-flex" #connectionContainer (click)="_control.onContainerClick && _control.onContainerClick($event)"><div class="mat-input-prefix mat-form-field-prefix" *ngIf="_prefixChildren.length"><ng-content select="[matPrefix]"></ng-content></div><div class="mat-input-infix mat-form-field-infix" #inputContainer><ng-content></ng-content><span class="mat-form-field-label-wrapper mat-input-placeholder-wrapper mat-form-field-placeholder-wrapper"><label class="mat-form-field-label mat-input-placeholder mat-form-field-placeholder" [attr.for]="_control.id" [attr.aria-owns]="_control.id" [class.mat-empty]="_control.empty && !_shouldAlwaysFloat" [class.mat-form-field-empty]="_control.empty && !_shouldAlwaysFloat" [class.mat-accent]="color == \'accent\'" [class.mat-warn]="color == \'warn\'" #label *ngIf="_hasFloatingLabel()" [ngSwitch]="_hasLabel()"><ng-container *ngSwitchCase="false"><ng-content select="mat-placeholder"></ng-content>{{_control.placeholder}}</ng-container><ng-content select="mat-label" *ngSwitchCase="true"></ng-content><span class="mat-placeholder-required mat-form-field-required-marker" aria-hidden="true" *ngIf="!hideRequiredMarker && _control.required && !_control.disabled">&nbsp;*</span></label></span></div><div class="mat-input-suffix mat-form-field-suffix" *ngIf="_suffixChildren.length"><ng-content select="[matSuffix]"></ng-content></div></div><div class="mat-input-underline mat-form-field-underline" #underline><span class="mat-input-ripple mat-form-field-ripple" [class.mat-accent]="color == \'accent\'" [class.mat-warn]="color == \'warn\'"></span></div><div class="mat-input-subscript-wrapper mat-form-field-subscript-wrapper" [ngSwitch]="_getDisplayedMessages()"><div *ngSwitchCase="\'error\'" [@transitionMessages]="_subscriptAnimationState"><ng-content select="mat-error"></ng-content></div><div class="mat-input-hint-wrapper mat-form-field-hint-wrapper" *ngSwitchCase="\'hint\'" [@transitionMessages]="_subscriptAnimationState"><div *ngIf="hintLabel" [id]="_hintLabelId" class="mat-hint">{{hintLabel}}</div><ng-content select="mat-hint:not([align=\'end\'])"></ng-content><div class="mat-input-hint-spacer mat-form-field-hint-spacer"></div><ng-content select="mat-hint[align=\'end\']"></ng-content></div></div></div>',styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform:perspective(100px);-ms-transform:none;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;height:1px;width:100%}.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.mat-form-field-underline .mat-form-field-ripple{position:absolute;top:0;left:0;width:100%;height:2px;transform-origin:50%;transform:scaleX(.5);visibility:hidden;opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field-invalid:not(.mat-focused) .mat-form-field-underline .mat-form-field-ripple{height:1px}.mat-focused .mat-form-field-underline .mat-form-field-ripple,.mat-form-field-invalid .mat-form-field-underline .mat-form-field-ripple{visibility:visible;opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block} .mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeho