nycJSorg/angular-presentation

View on GitHub
libs/code-demos/assets/runner/ng2/ng-bundle.js

Summary

Maintainability
A
0 mins
Test Coverage
var __extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__exportStar,__values,__read,__spread,__spreadArrays,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault;!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/common"),require("@angular/core"),require("rxjs"),require("rxjs/operators")):System.registerDynamic("npm:@angular/router/bundles/router.umd.js",["@angular/common","@angular/core","rxjs","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("@angular/common"),e("@angular/core"),e("rxjs"),e("rxjs/operators"))})}(0,function(e,h,p,d,f){"use strict";var r=function(e,t){return(r=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])})(e,t)};function t(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var m=function(){return(m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}function i(n,r){return function(e,t){r(e,t,n)}}function o(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function v(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function a(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function l(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}function s(e,t){this.id=e,this.url=t}var u,y=(t(c,u=s),c.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},c);function c(e,t,n,r){void 0===n&&(n="imperative"),void 0===r&&(r=null);var i=u.call(this,e,t)||this;return i.navigationTrigger=n,i.restoredState=r,i}var g,_=(t(b,g=s),b.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},b);function b(e,t,n){var r=g.call(this,e,t)||this;return r.urlAfterRedirects=n,r}var w,x=(t(C,w=s),C.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},C);function C(e,t,n){var r=w.call(this,e,t)||this;return r.reason=n,r}var S,E=(t(O,S=s),O.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},O);function O(e,t,n){var r=S.call(this,e,t)||this;return r.error=n,r}var k,D=(t(T,k=s),T.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},T);function T(e,t,n,r){var i=k.call(this,e,t)||this;return i.urlAfterRedirects=n,i.state=r,i}var I,P=(t(A,I=s),A.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},A);function A(e,t,n,r){var i=I.call(this,e,t)||this;return i.urlAfterRedirects=n,i.state=r,i}var M,R=(t(N,M=s),N.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},N);function N(e,t,n,r,i){var o=M.call(this,e,t)||this;return o.urlAfterRedirects=n,o.state=r,o.shouldActivate=i,o}var j,F=(t(L,j=s),L.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},L);function L(e,t,n,r){var i=j.call(this,e,t)||this;return i.urlAfterRedirects=n,i.state=r,i}var V,B=(t(U,V=s),U.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},U);function U(e,t,n,r){var i=V.call(this,e,t)||this;return i.urlAfterRedirects=n,i.state=r,i}var z=(q.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},q);function q(e){this.route=e}var H=(W.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},W);function W(e){this.route=e}var G=(Y.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},Y);function Y(e){this.snapshot=e}var K=(Z.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},Z);function Z(e){this.snapshot=e}var Q=(X.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},X);function X(e){this.snapshot=e}var $=(J.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},J);function J(e){this.snapshot=e}var ee=(te.prototype.toString=function(){var e=this.position?this.position[0]+", "+this.position[1]:null;return"Scroll(anchor: '"+this.anchor+"', position: '"+e+"')"},te);function te(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}var ne=re=n([p.Component({template:"<router-outlet></router-outlet>"})],re);function re(){}var ie="primary",oe=(ae.prototype.has=function(e){return this.params.hasOwnProperty(e)},ae.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},ae.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(ae.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),ae);function ae(e){this.params=e||{}}function se(e){return new oe(e)}var le="ngNavigationCancelingError";function ue(e){var t=Error("NavigationCancelingError: "+e);return t[le]=!0,t}function ce(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var i={},o=0;o<r.length;o++){var a=r[o],s=e[o];if(a.startsWith(":"))i[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}var pe=function(e,t){this.routes=e,this.module=t};function de(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var r=e[n];he(r,fe(t,r))}}function he(e,t){if(!e)throw new Error("\n      Invalid configuration of route '"+t+"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    ");if(Array.isArray(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==ie)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch){throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.")}if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&de(e.children,t)}function fe(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function me(e){var t=e.children&&e.children.map(me),n=t?m(m({},e),{children:t}):m({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==ie&&(n.component=ne),n}function ve(e,t){var n,r=Object.keys(e),i=Object.keys(t);if(!r||!i||r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(e[n=r[o]]!==t[n])return!1;return!0}function ye(e){return Array.prototype.concat.apply([],e)}function ge(e){return 0<e.length?e[e.length-1]:null}function _e(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function be(e){return p.ɵisObservable(e)?e:p.ɵisPromise(e)?d.from(Promise.resolve(e)):d.of(e)}function we(e,t,n){return n?function(e,t){return ve(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Te(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(function(e){return n[e]===t[e]})}(e.queryParams,t.queryParams)&&xe(e.root,t.root)}function xe(e,t){return function e(t,n,r){{if(t.segments.length>r.length){var i=t.segments.slice(0,r.length);return!!Te(i,r)&&!n.hasChildren()}if(t.segments.length===r.length){if(!Te(t.segments,r))return!1;for(var o in n.children){if(!t.children[o])return!1;if(!xe(t.children[o],n.children[o]))return!1}return!0}var i=r.slice(0,t.segments.length),a=r.slice(t.segments.length);return!!Te(t.segments,i)&&(!!t.children[ie]&&e(t.children[ie],n,a))}}(e,t,t.segments)}var Ce=(Object.defineProperty(Se.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=se(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),Se.prototype.toString=function(){return Re.serialize(this)},Se);function Se(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}var Ee=(Oe.prototype.hasChildren=function(){return 0<this.numberOfChildren},Object.defineProperty(Oe.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),Oe.prototype.toString=function(){return Ne(this)},Oe);function Oe(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,_e(t,function(e,t){return e.parent=n})}var ke=(Object.defineProperty(De.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=se(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),De.prototype.toString=function(){return Ue(this)},De);function De(e,t){this.path=e,this.parameters=t}function Te(e,n){return e.length===n.length&&e.every(function(e,t){return e.path===n[t].path})}function Ie(e,n){var r=[];return _e(e.children,function(e,t){t===ie&&(r=r.concat(n(e,t)))}),_e(e.children,function(e,t){t!==ie&&(r=r.concat(n(e,t)))}),r}function Pe(){}var Ae=(Me.prototype.parse=function(e){var t=new Ge(e);return new Ce(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},Me.prototype.serialize=function(e){return"/"+function n(r,e){if(!r.hasChildren())return Ne(r);if(e){var t=r.children[ie]?n(r.children[ie],!1):"",i=[];return _e(r.children,function(e,t){t!==ie&&i.push(t+":"+n(e,!1))}),0<i.length?t+"("+i.join("//")+")":t}var o=Ie(r,function(e,t){return t===ie?[n(r.children[ie],!1)]:[t+":"+n(e,!1)]});return Ne(r)+"/("+o.join("//")+")"}(e.root,!0)+function(n){var e=Object.keys(n).map(function(t){var e=n[t];return Array.isArray(e)?e.map(function(e){return Fe(t)+"="+Fe(e)}).join("&"):Fe(t)+"="+Fe(e)});return e.length?"?"+e.join("&"):""}(e.queryParams)+("string"==typeof e.fragment?"#"+function(e){return encodeURI(e)}(e.fragment):"")},Me);function Me(){}var Re=new Ae;function Ne(e){return e.segments.map(function(e){return Ue(e)}).join("/")}function je(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fe(e){return je(e).replace(/%3B/gi,";")}function Le(e){return je(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ve(e){return decodeURIComponent(e)}function Be(e){return Ve(e.replace(/\+/g,"%20"))}function Ue(e){return""+Le(e.path)+function(t){return Object.keys(t).map(function(e){return";"+Le(e)+"="+Le(t[e])}).join("")}(e.parameters)}var ze=/^[^\/()?;=#]+/;function qe(e){var t=e.match(ze);return t?t[0]:""}var He=/^[^=?&#]+/;var We=/^[^?&#]+/;var Ge=(Ye.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ee([],{}):new Ee([],this.parseChildren())},Ye.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))for(;this.parseQueryParam(e),this.consumeOptional("&"););return e},Ye.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},Ye.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(0<e.length||0<Object.keys(t).length)&&(n[ie]=new Ee(e,t)),n},Ye.prototype.parseSegment=function(){var e=qe(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new ke(Ve(e),this.parseMatrixParams())},Ye.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},Ye.prototype.parseParam=function(e){var t=qe(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=qe(this.remaining);r&&(n=r,this.capture(n))}e[Ve(t)]=Ve(n)}},Ye.prototype.parseQueryParam=function(e){var t=function(e){var t=e.match(He);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(We);return t?t[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var i=Be(t),o=Be(n);if(e.hasOwnProperty(i)){var a=e[i];Array.isArray(a)||(a=[a],e[i]=a),a.push(o)}else e[i]=o}},Ye.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&0<this.remaining.length;){var n=qe(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;-1<n.indexOf(":")?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=ie);var o=this.parseChildren();t[i]=1===Object.keys(o).length?o[ie]:new Ee([],o),this.consumeOptional("//")}return t},Ye.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},Ye.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},Ye.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},Ye);function Ye(e){this.url=e,this.remaining=e}var Ke=(Object.defineProperty(Ze.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),Ze.prototype.parent=function(e){var t=this.pathFromRoot(e);return 1<t.length?t[t.length-2]:null},Ze.prototype.children=function(e){var t=Qe(e,this._root);return t?t.children.map(function(e){return e.value}):[]},Ze.prototype.firstChild=function(e){var t=Qe(e,this._root);return t&&0<t.children.length?t.children[0].value:null},Ze.prototype.siblings=function(t){var e=Xe(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(e){return e.value}).filter(function(e){return e!==t})},Ze.prototype.pathFromRoot=function(e){return Xe(e,this._root).map(function(e){return e.value})},Ze);function Ze(e){this._root=e}function Qe(e,t){var n,r;if(e===t.value)return t;try{for(var i=v(t.children),o=i.next();!o.done;o=i.next()){var a=Qe(e,o.value);if(a)return a}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}function Xe(e,t){var n,r;if(e===t.value)return[t];try{for(var i=v(t.children),o=i.next();!o.done;o=i.next()){var a=Xe(e,o.value);if(a.length)return a.unshift(t),a}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return[]}var $e=(Je.prototype.toString=function(){return"TreeNode("+this.value+")"},Je);function Je(e,t){this.value=e,this.children=t}function et(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var tt,nt=(t(rt,tt=Ke),rt.prototype.toString=function(){return this.snapshot.toString()},rt);function rt(e,t){var n=tt.call(this,e)||this;return n.snapshot=t,ht(n,e),n}function it(e,t){var n=function(e,t){var n=new lt([],{},{},"",{},ie,t,null,e.root,-1,{});return new pt("",new $e(n,[]))}(e,t),r=new d.BehaviorSubject([new ke("",{})]),i=new d.BehaviorSubject({}),o=new d.BehaviorSubject({}),a=new d.BehaviorSubject({}),s=new d.BehaviorSubject(""),l=new ot(r,i,a,s,o,ie,t,n.root);return l.snapshot=n.root,new nt(new $e(l,[]),n)}var ot=(Object.defineProperty(at.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(f.map(function(e){return se(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(at.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(f.map(function(e){return se(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),at.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},at);function at(e,t,n,r,i,o,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}function st(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;1<=r;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(e){return e.reduce(function(e,t){return{params:m(m({},e.params),t.params),data:m(m({},e.data),t.data),resolve:m(m({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var lt=(Object.defineProperty(ut.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(ut.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(ut.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(ut.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(ut.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(ut.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=se(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(ut.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=se(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),ut.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},ut);function ut(e,t,n,r,i,o,a,s,l,u,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}var ct,pt=(t(dt,ct=Ke),dt.prototype.toString=function(){return ft(this._root)},dt);function dt(e,t){var n=ct.call(this,t)||this;return n.url=e,ht(n,t),n}function ht(t,e){e.value._routerState=t,e.children.forEach(function(e){return ht(t,e)})}function ft(e){var t=0<e.children.length?" { "+e.children.map(ft).join(", ")+" } ":"";return e.value+t}function mt(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ve(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ve(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!ve(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),ve(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function vt(e,t){var n=ve(e.params,t.params)&&function(e,n){return Te(e,n)&&e.every(function(e,t){return ve(e.parameters,n[t].parameters)})}(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||vt(e.parent,t.parent))}function yt(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){(a=n.value)._futureSnapshot=e.value;var r=function(a,e,s){return e.children.map(function(e){var t,n;try{for(var r=v(s.children),i=r.next();!i.done;i=r.next()){var o=i.value;if(a.shouldReuseRoute(o.value.snapshot,e.value))return yt(a,e,o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return yt(a,e)})}(t,e,n);return new $e(a,r)}var i=t.retrieve(e.value);if(i){var o=i.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(e,o),o}var a=function(e){return new ot(new d.BehaviorSubject(e.url),new d.BehaviorSubject(e.params),new d.BehaviorSubject(e.queryParams),new d.BehaviorSubject(e.fragment),new d.BehaviorSubject(e.data),e.outlet,e.component,e)}(e.value);r=e.children.map(function(e){return yt(t,e)});return new $e(a,r)}function gt(e,t,n,r,i){if(0===n.length)return bt(t.root,t.root,t,r,i);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new wt(!0,0,e);var i=0,o=!1,t=e.reduce(function(n,e,t){if("object"==typeof e&&null!=e){if(e.outlets){var r={};return _e(e.outlets,function(e,t){r[t]="string"==typeof e?e.split("/"):e}),l(n,[{outlets:r}])}if(e.segmentPath)return l(n,[e.segmentPath])}return"string"!=typeof e?l(n,[e]):0===t?(e.split("/").forEach(function(e,t){0==t&&"."===e||(0==t&&""===e?o=!0:".."===e?i++:""!=e&&n.push(e))}),n):l(n,[e])},[]);return new wt(o,i,t)}(n);if(o.toRoot())return bt(t.root,new Ee([],{}),t,r,i);var a=function(e,t,n){if(e.isAbsolute)return new Ct(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new Ct(n.snapshot._urlSegment,!0,0);var r=_t(e.commands[0])?0:1,i=n.snapshot._lastPathIndex+r;return function(e,t,n){var r=e,i=t,o=n;for(;i<o;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new Ct(r,!1,i-o)}(n.snapshot._urlSegment,i,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?Ot(a.segmentGroup,a.index,o.commands):Et(a.segmentGroup,a.index,o.commands);return bt(a.segmentGroup,s,t,r,i)}function _t(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function bt(e,t,n,r,i){var o={};return r&&_e(r,function(e,t){o[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),n.root===e?new Ce(t,o,i):new Ce(function n(e,r,i){var o={};_e(e.children,function(e,t){o[t]=e===r?i:n(e,r,i)});return new Ee(e.segments,o)}(n.root,e,t),o,i)}var wt=(xt.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},xt);function xt(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&0<n.length&&_t(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==ge(n))throw new Error("{outlets:{}} has to be the last command")}var Ct=function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n};function St(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[ie]:""+e}function Et(e,t,n){if(0===(e=e||new Ee([],{})).segments.length&&e.hasChildren())return Ot(e,t,n);var r=function(e,t,n){var r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;var a=e.segments[i],s=St(n[r]),l=r<n.length-1?n[r+1]:null;if(0<i&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!It(s,l,a))return o;r+=2}else{if(!It(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var o=new Ee(e.segments.slice(0,r.pathIndex),{});return o.children[ie]=new Ee(e.segments.slice(r.pathIndex),e.children),Ot(o,0,i)}return r.match&&0===i.length?new Ee(e.segments,{}):r.match&&!e.hasChildren()?kt(e,t,n):r.match?Ot(e,0,i):kt(e,t,n)}function Ot(n,r,e){if(0===e.length)return new Ee(n.segments,{});var i=function(e){var t,n;return"object"!=typeof e[0]?((t={})[ie]=e,t):void 0===e[0].outlets?((n={})[ie]=e,n):e[0].outlets}(e),o={};return _e(i,function(e,t){null!==e&&(o[t]=Et(n.children[t],r,e))}),_e(n.children,function(e,t){void 0===i[t]&&(o[t]=e)}),new Ee(n.segments,o)}function kt(e,t,n){for(var r=e.segments.slice(0,t),i=0;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){var o=Dt(n[i].outlets);return new Ee(r,o)}if(0===i&&_t(n[0])){var a=e.segments[t];r.push(new ke(a.path,n[0])),i++}else{var s=St(n[i]),l=i<n.length-1?n[i+1]:null;s&&l&&_t(l)?(r.push(new ke(s,Tt(l))),i+=2):(r.push(new ke(s,{})),i++)}}return new Ee(r,{})}function Dt(e){var n={};return _e(e,function(e,t){null!==e&&(n[t]=kt(new Ee([],{}),0,e))}),n}function Tt(e){var n={};return _e(e,function(e,t){return n[t]=""+e}),n}function It(e,t,n){return e==n.path&&ve(t,n.parameters)}var Pt=(At.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),mt(this.futureState.root),this.activateChildRoutes(t,n,e)},At.prototype.deactivateChildRoutes=function(e,t,n){var r=this,i=et(t);e.children.forEach(function(e){var t=e.value.outlet;r.deactivateRoutes(e,i[t],n),delete i[t]}),_e(i,function(e,t){r.deactivateRouteAndItsChildren(e,n)})},At.prototype.deactivateRoutes=function(e,t,n){var r=e.value,i=t?t.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)},At.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},At.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:i})}},At.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var i=et(e),o=e.value.component?r.children:t;_e(i,function(e,t){return n.deactivateRouteAndItsChildren(e,o)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},At.prototype.activateChildRoutes=function(e,t,n){var r=this,i=et(t);e.children.forEach(function(e){r.activateRoutes(e,i[e.value.outlet],n),r.forwardEvent(new $(e.value.snapshot))}),e.children.length&&this.forwardEvent(new K(e.value.snapshot))},At.prototype.activateRoutes=function(e,t,n){var r=e.value,i=t?t.value:null;if(mt(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(r.component)if(o=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Mt(a.route)}else{var s=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(r.snapshot),l=s?s.module.componentFactoryResolver:null;o.attachRef=null,o.route=r,o.resolver=l,o.outlet&&o.outlet.activateWith(r,l),this.activateChildRoutes(e,null,o.children)}else this.activateChildRoutes(e,null,n)},At);function At(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}function Mt(e){mt(e.value),e.children.forEach(Mt)}function Rt(e){return"function"==typeof e}function Nt(e){return e instanceof Ce}var jt=function(e){this.segmentGroup=e||null},Ft=function(e){this.urlTree=e};function Lt(t){return new d.Observable(function(e){return e.error(new jt(t))})}function Vt(t){return new d.Observable(function(e){return e.error(new Ft(t))})}function Bt(t){return new d.Observable(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var Ut=(zt.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ie).pipe(f.map(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(f.catchError(function(e){if(e instanceof Ft)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof jt)throw t.noMatchError(e);throw e}))},zt.prototype.match=function(t){var n=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,ie).pipe(f.map(function(e){return n.createUrlTree(e,t.queryParams,t.fragment)})).pipe(f.catchError(function(e){if(e instanceof jt)throw n.noMatchError(e);throw e}))},zt.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},zt.prototype.createUrlTree=function(e,t,n){var r,i=0<e.segments.length?new Ee([],((r={})[ie]=e,r)):e;return new Ce(i,t,n)},zt.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(f.map(function(e){return new Ee([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},zt.prototype.expandChildren=function(n,r,e){var i=this;return function(e,r){if(0===Object.keys(e).length)return d.of({});var i=[],o=[],a={};return _e(e,function(e,t){var n=r(t,e).pipe(f.map(function(e){return a[t]=e}));t===ie?i.push(n):o.push(n)}),d.of.apply(null,i.concat(o)).pipe(f.concatAll(),f.last(),f.map(function(){return a}))}(e.children,function(e,t){return i.expandSegmentGroup(n,r,t,e)})},zt.prototype.expandSegment=function(t,n,r,i,o,a){var s=this;return d.of.apply(void 0,l(r)).pipe(f.map(function(e){return s.expandSegmentAgainstRoute(t,n,r,e,i,o,a).pipe(f.catchError(function(e){if(e instanceof jt)return d.of(null);throw e}))}),f.concatAll(),f.first(function(e){return!!e}),f.catchError(function(e,t){if(e instanceof d.EmptyError||"EmptyError"===e.name){if(s.noLeftoversInUrl(n,i,o))return d.of(new Ee([],{}));throw new jt(n)}throw e}))},zt.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},zt.prototype.expandSegmentAgainstRoute=function(e,t,n,r,i,o,a){return Gt(r)!==o?Lt(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):Lt(t)},zt.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)},zt.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(n,r,e,i){var o=this,t=this.applyRedirectCommands([],e.redirectTo,{});return e.redirectTo.startsWith("/")?Vt(t):this.lineralizeSegments(e,t).pipe(f.mergeMap(function(e){var t=new Ee(e,{});return o.expandSegment(n,t,r,e,i,!1)}))},zt.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,n,r,e,i,o){var a=this,s=qt(n,e,i),l=s.matched,u=s.consumedSegments,c=s.lastChild,p=s.positionalParamSegments;if(!l)return Lt(n);var d=this.applyRedirectCommands(u,e.redirectTo,p);return e.redirectTo.startsWith("/")?Vt(d):this.lineralizeSegments(e,d).pipe(f.mergeMap(function(e){return a.expandSegment(t,n,r,e.concat(i.slice(c)),o,!1)}))},zt.prototype.matchSegmentAgainstRoute=function(e,a,t,n){var s=this;if("**"===t.path)return t.loadChildren?this.configLoader.load(e.injector,t).pipe(f.map(function(e){return t._loadedConfig=e,new Ee(n,{})})):d.of(new Ee(n,{}));var r=qt(a,t,n),i=r.matched,l=r.consumedSegments,o=r.lastChild;if(!i)return Lt(a);var u=n.slice(o);return this.getChildConfig(e,t,n).pipe(f.mergeMap(function(e){var t=e.module,n=e.routes,r=function(e,t,n,r){return 0<n.length&&function(t,n,e){return e.some(function(e){return Wt(t,n,e)&&Gt(e)!==ie})}(e,n,r)?{segmentGroup:Ht(new Ee(t,function(e,t){var n,r,i={};i[ie]=t;try{for(var o=v(e),a=o.next();!a.done;a=o.next()){var s=a.value;""===s.path&&Gt(s)!==ie&&(i[Gt(s)]=new Ee([],{}))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new Ee(n,e.children)))),slicedSegments:[]}:0===n.length&&function(t,n,e){return e.some(function(e){return Wt(t,n,e)})}(e,n,r)?{segmentGroup:Ht(new Ee(e.segments,function(e,t,n,r){var i,o,a={};try{for(var s=v(n),l=s.next();!l.done;l=s.next()){var u=l.value;Wt(e,t,u)&&!r[Gt(u)]&&(a[Gt(u)]=new Ee([],{}))}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return m(m({},r),a)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(a,l,u,n),i=r.segmentGroup,o=r.slicedSegments;return 0===o.length&&i.hasChildren()?s.expandChildren(t,n,i).pipe(f.map(function(e){return new Ee(l,e)})):0===n.length&&0===o.length?d.of(new Ee(l,{})):s.expandSegment(t,i,n,o,ie,!0).pipe(f.map(function(e){return new Ee(l.concat(e.segments),e.children)}))}))},zt.prototype.getChildConfig=function(t,n,e){var r=this;return n.children?d.of(new pe(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?d.of(n._loadedConfig):function(r,i,o){var e=i.canLoad;return e&&0!==e.length?d.from(e).pipe(f.map(function(e){var t,n=r.get(e);if(function(e){return e&&Rt(e.canLoad)}(n))t=n.canLoad(i,o);else{if(!Rt(n))throw new Error("Invalid CanLoad guard");t=n(i,o)}return be(t)})).pipe(f.concatAll(),f.every(function(e){return!0===e})):d.of(!0)}(t.injector,n,e).pipe(f.mergeMap(function(e){return e?r.configLoader.load(t.injector,n).pipe(f.map(function(e){return n._loadedConfig=e})):function(t){return new d.Observable(function(e){return e.error(ue("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(n)})):d.of(new pe([],t))},zt.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return d.of(n);if(1<r.numberOfChildren||!r.children[ie])return Bt(e.redirectTo);r=r.children[ie]}},zt.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},zt.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new Ce(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},zt.prototype.createQueryParams=function(e,r){var i={};return _e(e,function(e,t){if("string"==typeof e&&e.startsWith(":")){var n=e.substring(1);i[t]=r[n]}else i[t]=e}),i},zt.prototype.createSegmentGroup=function(n,e,r,i){var o=this,t=this.createSegments(n,e.segments,r,i),a={};return _e(e.children,function(e,t){a[t]=o.createSegmentGroup(n,e,r,i)}),new Ee(t,a)},zt.prototype.createSegments=function(t,e,n,r){var i=this;return e.map(function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)})},zt.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},zt.prototype.findOrReturn=function(e,t){var n,r,i=0;try{for(var o=v(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.path===e.path)return t.splice(i),s;i++}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return e},zt);function zt(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(p.NgModuleRef)}function qt(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||0<n.length)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||ce)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ht(e){if(1===e.numberOfChildren&&e.children[ie]){var t=e.children[ie];return new Ee(e.segments.concat(t.segments),t.children)}return e}function Wt(e,t,n){return(!(e.hasChildren()||0<t.length)||"full"!==n.pathMatch)&&(""===n.path&&void 0!==n.redirectTo)}function Gt(e){return e.outlet||ie}function Yt(n,r,i,o){return function(e){return e.pipe(f.switchMap(function(t){return function(e,t,n,r,i){return new Ut(e,t,n,r,i).apply()}(n,r,i,t.extractedUrl,o).pipe(f.map(function(e){return m(m({},t),{urlAfterRedirects:e})}))}))}}var Kt=function(e){this.path=e,this.route=this.path[this.path.length-1]},Zt=function(e,t){this.component=e,this.route=t};function Qt(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Xt(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=et(t);return e.children.forEach(function(e){!function(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Te(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Te(e.url,t.url)||!ve(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vt(e,t)||!ve(e.queryParams,t.queryParams);case"paramsChange":default:return!vt(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);if(l?i.canActivateChecks.push(new Kt(r)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Xt(e,t,s?s.children:null,r,i):Xt(e,t,n,r,i),l){var u=s&&s.outlet&&s.outlet.component||null;i.canDeactivateChecks.push(new Zt(u,a))}}else a&&$t(t,s,i),i.canActivateChecks.push(new Kt(r)),o.component?Xt(e,null,s?s.children:null,r,i):Xt(e,null,n,r,i)}(e,o[e.value.outlet],n,r.concat([e.value]),i),delete o[e.value.outlet]}),_e(o,function(e,t){return $t(e,n.getContext(t),i)}),i}function $t(e,n,r){var t=et(e),i=e.value;_e(t,function(e,t){i.component?$t(e,n?n.children.getContext(t):null,r):$t(e,n,r)}),i.component&&n&&n.outlet&&n.outlet.isActivated?r.canDeactivateChecks.push(new Zt(n.outlet.component,i)):r.canDeactivateChecks.push(new Zt(null,i))}var Jt=Symbol("INITIAL_VALUE");function en(){return f.switchMap(function(e){return d.combineLatest.apply(void 0,l(e.map(function(e){return e.pipe(f.take(1),f.startWith(Jt))}))).pipe(f.scan(function(e,r){var i=!1;return r.reduce(function(e,t,n){if(e!==Jt)return e;if(t===Jt&&(i=!0),!i){if(!1===t)return t;if(n===r.length-1||Nt(t))return t}return e},e)},Jt),f.filter(function(e){return e!==Jt}),f.map(function(e){return Nt(e)?e:!0===e}),f.take(1))})}function tn(a,s){return function(e){return e.pipe(f.mergeMap(function(t){var n=t.targetSnapshot,e=t.currentSnapshot,r=t.guards,i=r.canActivateChecks,o=r.canDeactivateChecks;return 0===o.length&&0===i.length?d.of(m(m({},t),{guardsResult:!0})):function(e,t,n,r){return d.from(e).pipe(f.mergeMap(function(e){return function(r,i,o,a,s){var e=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!e||0===e.length)return d.of(!0);var t=e.map(function(e){var t,n=Qt(e,i,s);if(function(e){return e&&Rt(e.canDeactivate)}(n))t=be(n.canDeactivate(r,i,o,a));else{if(!Rt(n))throw new Error("Invalid CanDeactivate guard");t=be(n(r,i,o,a))}return t.pipe(f.first())});return d.of(t).pipe(en())}(e.component,e.route,n,t,r)}),f.first(function(e){return!0!==e},!0))}(o,n,e,a).pipe(f.mergeMap(function(e){return e&&function(e){return"boolean"==typeof e}(e)?function(t,e,n,r){return d.from(e).pipe(f.concatMap(function(e){return d.from([function(e,t){null!==e&&t&&t(new G(e));return d.of(!0)}(e.route.parent,r),function(e,t){null!==e&&t&&t(new Q(e));return d.of(!0)}(e.route,r),function(i,e,o){var a=e[e.length-1],t=e.slice(0,e.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(r){return d.defer(function(){var e=r.guards.map(function(e){var t,n=Qt(e,r.node,o);if(function(e){return e&&Rt(e.canActivateChild)}(n))t=be(n.canActivateChild(a,i));else{if(!Rt(n))throw new Error("Invalid CanActivateChild guard");t=be(n(a,i))}return t.pipe(f.first())});return d.of(e).pipe(en())})});return d.of(t).pipe(en())}(t,e.path,n),function(r,i,o){var e=i.routeConfig?i.routeConfig.canActivate:null;if(!e||0===e.length)return d.of(!0);var t=e.map(function(n){return d.defer(function(){var e,t=Qt(n,i,o);if(function(e){return e&&Rt(e.canActivate)}(t))e=be(t.canActivate(i,r));else{if(!Rt(t))throw new Error("Invalid CanActivate guard");e=be(t(i,r))}return e.pipe(f.first())})});return d.of(t).pipe(en())}(t,e.route,n)]).pipe(f.concatAll(),f.first(function(e){return!0!==e},!0))}),f.first(function(e){return!0!==e},!0))}(n,i,a,s):d.of(e)}),f.map(function(e){return m(m({},t),{guardsResult:e})}))}))}}var nn=function(){};var rn=(on.prototype.recognize=function(){try{var e=ln(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,ie),n=new lt([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,{},ie,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new $e(n,t),i=new pt(this.url,r);return this.inheritParamsAndData(i._root),d.of(i)}catch(t){return new d.Observable(function(e){return e.error(t)})}},on.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=st(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})},on.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},on.prototype.processChildren=function(n,e){var r=this,t=Ie(e,function(e,t){return r.processSegmentGroup(n,e,t)});return function(e){var i={};e.forEach(function(e){var t=i[e.value.outlet];if(t){var n=t.url.map(function(e){return e.toString()}).join("/"),r=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+n+"' and '"+r+"'.")}i[e.value.outlet]=e.value})}(t),function(e){e.sort(function(e,t){return e.value.outlet===ie?-1:t.value.outlet===ie?1:e.value.outlet.localeCompare(t.value.outlet)})}(t),t},on.prototype.processSegment=function(e,t,n,r){var i,o;try{for(var a=v(e),s=a.next();!s.done;s=a.next()){var l=s.value;try{return this.processSegmentAgainstRoute(l,t,n,r)}catch(e){if(!(e instanceof nn))throw e}}}catch(e){i={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(t,n,r))return[];throw new nn},on.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},on.prototype.processSegmentAgainstRoute=function(e,t,n,r){if(e.redirectTo)throw new nn;if((e.outlet||ie)!==r)throw new nn;var i,o=[],a=[];if("**"===e.path){var s=0<n.length?ge(n).parameters:{};i=new lt(n,s,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,pn(e),r,e.component,e,an(t),sn(t)+n.length,dn(e))}else{var l=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||0<n.length))throw new nn;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||ce)(n,e,t);if(!r)throw new nn;var i={};_e(r.posParams,function(e,t){i[t]=e.path});var o=0<r.consumed.length?m(m({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(t,e,n);o=l.consumedSegments,a=n.slice(l.lastChild),i=new lt(o,l.parameters,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,pn(e),r,e.component,e,an(t),sn(t)+o.length,dn(e))}var u=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),c=ln(t,o,a,u,this.relativeLinkResolution),p=c.segmentGroup,d=c.slicedSegments;if(0===d.length&&p.hasChildren()){var h=this.processChildren(u,p);return[new $e(i,h)]}if(0===u.length&&0===d.length)return[new $e(i,[])];var f=this.processSegment(u,p,d,ie);return[new $e(i,f)]},on);function on(e,t,n,r,i,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}function an(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function sn(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function ln(e,t,n,r,i){if(0<n.length&&function(t,n,e){return e.some(function(e){return un(t,n,e)&&cn(e)!==ie})}(e,n,r)){var o=new Ee(t,function(e,t,n,r){var i,o,a={};(a[ie]=r)._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var s=v(n),l=s.next();!l.done;l=s.next()){var u=l.value;if(""===u.path&&cn(u)!==ie){var c=new Ee([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,a[cn(u)]=c}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a}(e,t,r,new Ee(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,n,e){return e.some(function(e){return un(t,n,e)})}(e,n,r)){var a=new Ee(e.segments,function(e,t,n,r,i,o){var a,s,l={};try{for(var u=v(r),c=u.next();!c.done;c=u.next()){var p=c.value;if(un(e,n,p)&&!i[cn(p)]){var d=new Ee([],{});d._sourceSegment=e,d._segmentIndexShift="legacy"===o?e.segments.length:t.length,l[cn(p)]=d}}}catch(e){a={error:e}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}return m(m({},i),l)}(e,t,n,r,e.children,i));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new Ee(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function un(e,t,n){return(!(e.hasChildren()||0<t.length)||"full"!==n.pathMatch)&&(""===n.path&&void 0===n.redirectTo)}function cn(e){return e.outlet||ie}function pn(e){return e.data||{}}function dn(e){return e.resolve||{}}function hn(n,r,i,o,a){return function(e){return e.pipe(f.mergeMap(function(t){return function(e,t,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new rn(e,t,n,r,i,o).recognize()}(n,r,t.urlAfterRedirects,i(t.urlAfterRedirects),o,a).pipe(f.map(function(e){return m(m({},t),{targetSnapshot:e})}))}))}}function fn(r,i){return function(e){return e.pipe(f.mergeMap(function(t){var n=t.targetSnapshot,e=t.guards.canActivateChecks;return e.length?d.from(e).pipe(f.concatMap(function(e){return function(t,e,n,r){return function(e,n,r,i){var t=Object.keys(e);if(0===t.length)return d.of({});if(1===t.length){var o=t[0];return mn(e[o],n,r,i).pipe(f.map(function(e){var t;return(t={})[o]=e,t}))}var a={};return d.from(t).pipe(f.mergeMap(function(t){return mn(e[t],n,r,i).pipe(f.map(function(e){return a[t]=e}))})).pipe(f.last(),f.map(function(){return a}))}(t._resolve,t,e,r).pipe(f.map(function(e){return t._resolvedData=e,t.data=m(m({},t.data),st(t,n).resolve),null}))}(e.route,n,r,i)}),f.reduce(function(e,t){return e}),f.map(function(e){return t})):d.of(t)}))}}function mn(e,t,n,r){var i=Qt(e,t,r);return i.resolve?be(i.resolve(t,n)):be(i(t,n))}function vn(n){return function(e){return e.pipe(f.switchMap(function(e){var t=n(e);return t?d.from(t).pipe(f.map(function(){return e})):d.from([e])}))}}function yn(){}var gn=(_n.prototype.shouldDetach=function(e){return!1},_n.prototype.store=function(e,t){},_n.prototype.shouldAttach=function(e){return!1},_n.prototype.retrieve=function(e){return null},_n.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},_n);function _n(){}var bn=new p.InjectionToken("ROUTES"),wn=(xn.prototype.load=function(n,r){var i=this;return this.onLoadStartListener&&this.onLoadStartListener(r),this.loadModuleFactory(r.loadChildren).pipe(f.map(function(e){i.onLoadEndListener&&i.onLoadEndListener(r);var t=e.create(n);return new pe(ye(t.injector.get(bn)).map(me),t)}))},xn.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?d.from(this.loader.load(e)):be(e()).pipe(f.mergeMap(function(e){return e instanceof p.NgModuleFactory?d.of(e):d.from(t.compiler.compileModuleAsync(e))}))},xn);function xn(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}function Cn(){}var Sn=(En.prototype.shouldProcessUrl=function(e){return!0},En.prototype.extract=function(e){return e},En.prototype.merge=function(e,t){return e},En);function En(){}function On(e){throw e}function kn(e,t,n){return t.parse("/")}function Dn(e,t){return d.of(null)}var Tn=(In.prototype.setupNavigations=function(e){var u=this,c=this.events;return e.pipe(f.filter(function(e){return 0!==e.id}),f.map(function(e){return m(m({},e),{extractedUrl:u.urlHandlingStrategy.extract(e.rawUrl)})}),f.switchMap(function(i){var t=!1,o=!1;return d.of(i).pipe(f.tap(function(e){u.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:u.lastSuccessfulNavigation?m(m({},u.lastSuccessfulNavigation),{previousNavigation:null}):null}}),f.switchMap(function(e){var t=!u.navigated||e.extractedUrl.toString()!==u.browserUrlTree.toString();if(("reload"===u.onSameUrlNavigation||t)&&u.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return d.of(e).pipe(f.switchMap(function(e){var t=u.transitions.getValue();return c.next(new y(e.id,u.serializeUrl(e.extractedUrl),e.source,e.restoredState)),t!==u.transitions.getValue()?d.EMPTY:[e]}),f.switchMap(function(e){return Promise.resolve(e)}),Yt(u.ngModule.injector,u.configLoader,u.urlSerializer,u.config),f.tap(function(e){u.currentNavigation=m(m({},u.currentNavigation),{finalUrl:e.urlAfterRedirects})}),hn(u.rootComponentType,u.config,function(e){return u.serializeUrl(e)},u.paramsInheritanceStrategy,u.relativeLinkResolution),f.tap(function(e){"eager"===u.urlUpdateStrategy&&(e.extras.skipLocationChange||u.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),u.browserUrlTree=e.urlAfterRedirects)}),f.tap(function(e){var t=new D(e.id,u.serializeUrl(e.extractedUrl),u.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);c.next(t)}));if(t&&u.rawUrlTree&&u.urlHandlingStrategy.shouldProcessUrl(u.rawUrlTree)){var n=e.id,r=e.extractedUrl,i=e.source,o=e.restoredState,a=e.extras,s=new y(n,u.serializeUrl(r),i,o);c.next(s);var l=it(r,u.rootComponentType).snapshot;return d.of(m(m({},e),{targetSnapshot:l,urlAfterRedirects:r,extras:m(m({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return u.rawUrlTree=e.rawUrl,u.browserUrlTree=e.urlAfterRedirects,e.resolve(null),d.EMPTY}),vn(function(e){var t=e.targetSnapshot,n=e.id,r=e.extractedUrl,i=e.rawUrl,o=e.extras,a=o.skipLocationChange,s=o.replaceUrl;return u.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!a,replaceUrl:!!s})}),f.tap(function(e){var t=new P(e.id,u.serializeUrl(e.extractedUrl),u.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);u.triggerEvent(t)}),f.map(function(e){return m(m({},e),{guards:function(e,t,n){var r=e._root;return Xt(r,t?t._root:null,n,[r.value])}(e.targetSnapshot,e.currentSnapshot,u.rootContexts)})}),tn(u.ngModule.injector,function(e){return u.triggerEvent(e)}),f.tap(function(e){if(Nt(e.guardsResult)){var t=ue('Redirecting to "'+u.serializeUrl(e.guardsResult)+'"');throw t.url=e.guardsResult,t}}),f.tap(function(e){var t=new R(e.id,u.serializeUrl(e.extractedUrl),u.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);u.triggerEvent(t)}),f.filter(function(e){if(e.guardsResult)return!0;u.resetUrlToCurrentUrlTree();var t=new x(e.id,u.serializeUrl(e.extractedUrl),"");return c.next(t),e.resolve(!1),!1}),vn(function(e){if(e.guards.canActivateChecks.length)return d.of(e).pipe(f.tap(function(e){var t=new F(e.id,u.serializeUrl(e.extractedUrl),u.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);u.triggerEvent(t)}),fn(u.paramsInheritanceStrategy,u.ngModule.injector),f.tap(function(e){var t=new B(e.id,u.serializeUrl(e.extractedUrl),u.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);u.triggerEvent(t)}))}),vn(function(e){var t=e.targetSnapshot,n=e.id,r=e.extractedUrl,i=e.rawUrl,o=e.extras,a=o.skipLocationChange,s=o.replaceUrl;return u.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!a,replaceUrl:!!s})}),f.map(function(e){var t=function(e,t,n){var r=yt(e,t._root,n?n._root:void 0);return new nt(r,t)}(u.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return m(m({},e),{targetRouterState:t})}),f.tap(function(e){u.currentUrlTree=e.urlAfterRedirects,u.rawUrlTree=u.urlHandlingStrategy.merge(u.currentUrlTree,e.rawUrl),u.routerState=e.targetRouterState,"deferred"===u.urlUpdateStrategy&&(e.extras.skipLocationChange||u.setBrowserUrl(u.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),u.browserUrlTree=e.urlAfterRedirects)}),function(t,n,r){return f.map(function(e){return new Pt(n,e.targetRouterState,e.currentRouterState,r).activate(t),e})}(u.rootContexts,u.routeReuseStrategy,function(e){return u.triggerEvent(e)}),f.tap({next:function(){t=!0},complete:function(){t=!0}}),f.finalize(function(){if(!t&&!o){u.resetUrlToCurrentUrlTree();var e=new x(i.id,u.serializeUrl(i.extractedUrl),"Navigation ID "+i.id+" is not equal to the current navigation id "+u.navigationId);c.next(e),i.resolve(!1)}u.currentNavigation=null}),f.catchError(function(n){if(o=!0,function(e){return e&&e[le]}(n)){var e=Nt(n.url);e||(u.navigated=!0,u.resetStateAndUrl(i.currentRouterState,i.currentUrlTree,i.rawUrl));var t=new x(i.id,u.serializeUrl(i.extractedUrl),n.message);c.next(t),e?setTimeout(function(){var e=u.urlHandlingStrategy.merge(n.url,u.rawUrlTree),t={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===u.urlUpdateStrategy};return u.scheduleNavigation(e,"imperative",null,t,{resolve:i.resolve,reject:i.reject,promise:i.promise})},0):i.resolve(!1)}else{u.resetStateAndUrl(i.currentRouterState,i.currentUrlTree,i.rawUrl);var r=new E(i.id,u.serializeUrl(i.extractedUrl),n);c.next(r);try{i.resolve(u.errorHandler(n))}catch(e){i.reject(e)}}return d.EMPTY}))}))},In.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},In.prototype.getTransition=function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e},In.prototype.setTransition=function(e){this.transitions.next(m(m({},this.getTransition()),e))},In.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},In.prototype.setUpLocationChangeListener=function(){var i=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var t=i.parseUrl(e.url),n="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?e.state:null;setTimeout(function(){i.scheduleNavigation(t,n,r,{replaceUrl:!0})},0)}))},Object.defineProperty(In.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),In.prototype.getCurrentNavigation=function(){return this.currentNavigation},In.prototype.triggerEvent=function(e){this.events.next(e)},In.prototype.resetConfig=function(e){de(e),this.config=e.map(me),this.navigated=!1,this.lastSuccessfulId=-1},In.prototype.ngOnDestroy=function(){this.dispose()},In.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},In.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,i=t.fragment,o=t.preserveQueryParams,a=t.queryParamsHandling,s=t.preserveFragment;p.isDevMode()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,u=s?this.currentUrlTree.fragment:i,c=null;if(a)switch(a){case"merge":c=m(m({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}else c=o?this.currentUrlTree.queryParams:r||null;return null!==c&&(c=this.removeEmptyProps(c)),gt(l,this.currentUrlTree,e,c,u)},In.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),p.isDevMode()&&this.isNgZoneEnabled&&!p.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Nt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},In.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)},In.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},In.prototype.parseUrl=function(t){var n;try{n=this.urlSerializer.parse(t)}catch(e){n=this.malformedUriErrorHandler(e,this.urlSerializer,t)}return n},In.prototype.isActive=function(e,t){if(Nt(e))return we(this.currentUrlTree,e,t);var n=this.parseUrl(e);return we(this.currentUrlTree,n,t)},In.prototype.removeEmptyProps=function(r){return Object.keys(r).reduce(function(e,t){var n=r[t];return null!=n&&(e[t]=n),e},{})},In.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new _(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},In.prototype.scheduleNavigation=function(e,t,n,r,i){var o,a,s,l=this.getTransition();if(l&&"imperative"!==t&&"imperative"===l.source&&l.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(l&&"hashchange"==t&&"popstate"===l.source&&l.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(l&&"popstate"==t&&"hashchange"===l.source&&l.rawUrl.toString()===e.toString())return Promise.resolve(!0);s=i?(o=i.resolve,a=i.reject,i.promise):new Promise(function(e,t){o=e,a=t});var u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(e){return Promise.reject(e)})},In.prototype.setBrowserUrl=function(e,t,n,r){var i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",m(m({},r),{navigationId:n})):this.location.go(i,"",m(m({},r),{navigationId:n}))},In.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},In.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},In);function In(e,t,n,r,i,o,a,s){var l=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=s,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new d.Subject,this.errorHandler=On,this.malformedUriErrorHandler=kn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Dn,afterPreactivation:Dn},this.urlHandlingStrategy=new Sn,this.routeReuseStrategy=new gn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy";this.ngModule=i.get(p.NgModuleRef),this.console=i.get(p.ɵConsole);var u=i.get(p.NgZone);this.isNgZoneEnabled=u instanceof p.NgZone,this.resetConfig(s),this.currentUrlTree=new Ce(new Ee([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new wn(o,a,function(e){return l.triggerEvent(new z(e))},function(e){return l.triggerEvent(new H(e))}),this.routerState=it(this.currentUrlTree,this.rootComponentType),this.transitions=new d.BehaviorSubject({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}var Pn=(Object.defineProperty(An.prototype,"routerLink",{set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(An.prototype,"preserveQueryParams",{set:function(e){p.isDevMode()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e},enumerable:!0,configurable:!0}),An.prototype.onClick=function(){var e={skipLocationChange:Nn(this.skipLocationChange),replaceUrl:Nn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,e),!0},Object.defineProperty(An.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Nn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Nn(this.preserveFragment)})},enumerable:!0,configurable:!0}),n([p.Input(),o("design:type",Object)],An.prototype,"queryParams",void 0),n([p.Input(),o("design:type",String)],An.prototype,"fragment",void 0),n([p.Input(),o("design:type",String)],An.prototype,"queryParamsHandling",void 0),n([p.Input(),o("design:type",Boolean)],An.prototype,"preserveFragment",void 0),n([p.Input(),o("design:type",Boolean)],An.prototype,"skipLocationChange",void 0),n([p.Input(),o("design:type",Boolean)],An.prototype,"replaceUrl",void 0),n([p.Input(),o("design:type",Object)],An.prototype,"state",void 0),n([p.Input(),o("design:type",Object),o("design:paramtypes",[Object])],An.prototype,"routerLink",null),n([p.Input(),o("design:type",Boolean),o("design:paramtypes",[Boolean])],An.prototype,"preserveQueryParams",null),n([p.HostListener("click"),o("design:type",Function),o("design:paramtypes",[]),o("design:returntype",Boolean)],An.prototype,"onClick",null),An=n([p.Directive({selector:":not(a):not(area)[routerLink]"}),i(2,p.Attribute("tabindex")),o("design:paramtypes",[Tn,ot,String,p.Renderer2,p.ElementRef])],An));function An(e,t,n,r,i){this.router=e,this.route=t,this.commands=[],null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}var Mn=(Object.defineProperty(Rn.prototype,"routerLink",{set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(Rn.prototype,"preserveQueryParams",{set:function(e){p.isDevMode()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e},enumerable:!0,configurable:!0}),Rn.prototype.ngOnChanges=function(e){this.updateTargetUrlAndHref()},Rn.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},Rn.prototype.onClick=function(e,t,n,r){if(0!==e||t||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:Nn(this.skipLocationChange),replaceUrl:Nn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1},Rn.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(Rn.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Nn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Nn(this.preserveFragment)})},enumerable:!0,configurable:!0}),n([p.HostBinding("attr.target"),p.Input(),o("design:type",String)],Rn.prototype,"target",void 0),n([p.Input(),o("design:type",Object)],Rn.prototype,"queryParams",void 0),n([p.Input(),o("design:type",String)],Rn.prototype,"fragment",void 0),n([p.Input(),o("design:type",String)],Rn.prototype,"queryParamsHandling",void 0),n([p.Input(),o("design:type",Boolean)],Rn.prototype,"preserveFragment",void 0),n([p.Input(),o("design:type",Boolean)],Rn.prototype,"skipLocationChange",void 0),n([p.Input(),o("design:type",Boolean)],Rn.prototype,"replaceUrl",void 0),n([p.Input(),o("design:type",Object)],Rn.prototype,"state",void 0),n([p.HostBinding(),o("design:type",String)],Rn.prototype,"href",void 0),n([p.Input(),o("design:type",Object),o("design:paramtypes",[Object])],Rn.prototype,"routerLink",null),n([p.Input(),o("design:type",Boolean),o("design:paramtypes",[Boolean])],Rn.prototype,"preserveQueryParams",null),n([p.HostListener("click",["$event.button","$event.ctrlKey","$event.metaKey","$event.shiftKey"]),o("design:type",Function),o("design:paramtypes",[Number,Boolean,Boolean,Boolean]),o("design:returntype",Boolean)],Rn.prototype,"onClick",null),Rn=n([p.Directive({selector:"a[routerLink],area[routerLink]"}),o("design:paramtypes",[Tn,ot,h.LocationStrategy])],Rn));function Rn(e,t,n){var r=this;this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(function(e){e instanceof _&&r.updateTargetUrlAndHref()})}function Nn(e){return""===e||!!e}var jn=(Fn.prototype.ngAfterContentInit=function(){var t=this;this.links.changes.subscribe(function(e){return t.update()}),this.linksWithHrefs.changes.subscribe(function(e){return t.update()}),this.update()},Object.defineProperty(Fn.prototype,"routerLinkActive",{set:function(e){var t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(function(e){return!!e})},enumerable:!0,configurable:!0}),Fn.prototype.ngOnChanges=function(e){this.update()},Fn.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},Fn.prototype.update=function(){var n=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(function(){var t=n.hasActiveLinks();n.isActive!==t&&(n.isActive=t,n.classes.forEach(function(e){t?n.renderer.addClass(n.element.nativeElement,e):n.renderer.removeClass(n.element.nativeElement,e)}))})},Fn.prototype.isLinkActive=function(t){var n=this;return function(e){return t.isActive(e.urlTree,n.routerLinkActiveOptions.exact)}},Fn.prototype.hasActiveLinks=function(){var e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)},n([p.ContentChildren(Pn,{descendants:!0}),o("design:type",p.QueryList)],Fn.prototype,"links",void 0),n([p.ContentChildren(Mn,{descendants:!0}),o("design:type",p.QueryList)],Fn.prototype,"linksWithHrefs",void 0),n([p.Input(),o("design:type",Object)],Fn.prototype,"routerLinkActiveOptions",void 0),n([p.Input(),o("design:type",Object),o("design:paramtypes",[Object])],Fn.prototype,"routerLinkActive",null),Fn=n([p.Directive({selector:"[routerLinkActive]",exportAs:"routerLinkActive"}),i(3,p.Optional()),i(4,p.Optional()),o("design:paramtypes",[Tn,p.ElementRef,p.Renderer2,Pn,Mn])],Fn));function Fn(e,t,n,r,i){var o=this;this.router=e,this.element=t,this.renderer=n,this.link=r,this.linkWithHref=i,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe(function(e){e instanceof _&&o.update()})}var Ln=function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Vn,this.attachRef=null},Vn=(Bn.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},Bn.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},Bn.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},Bn.prototype.onOutletReAttached=function(e){this.contexts=e},Bn.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new Ln,this.contexts.set(e,t)),t},Bn.prototype.getContext=function(e){return this.contexts.get(e)||null},Bn);function Bn(){this.contexts=new Map}var Un=(zn.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},zn.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(zn.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(zn.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(zn.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(zn.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),zn.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},zn.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},zn.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},zn.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");var n=(this._activatedRoute=e)._futureSnapshot.routeConfig.component,r=(t=t||this.resolver).resolveComponentFactory(n),i=this.parentContexts.getOrCreateContext(this.name).children,o=new qn(e,i,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},n([p.Output("activate"),o("design:type",Object)],zn.prototype,"activateEvents",void 0),n([p.Output("deactivate"),o("design:type",Object)],zn.prototype,"deactivateEvents",void 0),zn=n([p.Directive({selector:"router-outlet",exportAs:"outlet"}),i(3,p.Attribute("name")),o("design:paramtypes",[Vn,p.ViewContainerRef,p.ComponentFactoryResolver,String,p.ChangeDetectorRef])],zn));function zn(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.EventEmitter,this.deactivateEvents=new p.EventEmitter,this.name=r||ie,e.onChildOutletCreated(this.name,this)}var qn=(Hn.prototype.get=function(e,t){return e===ot?this.route:e===Vn?this.childContexts:this.parent.get(e,t)},Hn);function Hn(e,t,n){this.route=e,this.childContexts=t,this.parent=n}function Wn(){}var Gn=(Yn.prototype.preload=function(e,t){return t().pipe(f.catchError(function(){return d.of(null)}))},Yn);function Yn(){}var Kn=(Zn.prototype.preload=function(e,t){return d.of(null)},Zn);function Zn(){}var Qn=(Xn.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(f.filter(function(e){return e instanceof _}),f.concatMap(function(){return e.preload()})).subscribe(function(){})},Xn.prototype.preload=function(){var e=this.injector.get(p.NgModuleRef);return this.processRoutes(e,this.router.config)},Xn.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},Xn.prototype.processRoutes=function(e,t){var n,r,i=[];try{for(var o=v(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.loadChildren&&!s.canLoad&&s._loadedConfig){var l=s._loadedConfig;i.push(this.processRoutes(l.module,l.routes))}else s.loadChildren&&!s.canLoad?i.push(this.preloadConfig(e,s)):s.children&&i.push(this.processRoutes(e,s.children))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return d.from(i).pipe(f.mergeAll(),f.map(function(e){}))},Xn.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return n.loader.load(e.injector,t).pipe(f.mergeMap(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})},Xn=n([p.Injectable(),o("design:paramtypes",[Tn,p.NgModuleFactoryLoader,p.Compiler,p.Injector,Wn])],Xn));function Xn(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i;this.loader=new wn(e,n,function(e){return t.triggerEvent(new z(e))},function(e){return t.triggerEvent(new H(e))})}var $n=(Jn.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},Jn.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof y?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof _&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},Jn.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof ee&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})},Jn.prototype.scheduleScrollEvent=function(e,t){this.router.triggerEvent(new ee(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))},Jn.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},Jn);function Jn(e,t,n){void 0===n&&(n={}),this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}var er=[Un,Pn,Mn,jn,ne],tr=new p.InjectionToken("ROUTER_CONFIGURATION"),nr=new p.InjectionToken("ROUTER_FORROOT_GUARD"),rr=[h.Location,{provide:Pe,useClass:Ae},{provide:Tn,useFactory:dr,deps:[p.ApplicationRef,Pe,Vn,h.Location,p.Injector,p.NgModuleFactoryLoader,p.Compiler,bn,tr,[Cn,new p.Optional],[yn,new p.Optional]]},Vn,{provide:ot,useFactory:hr,deps:[Tn]},{provide:p.NgModuleFactoryLoader,useClass:p.SystemJsNgModuleLoader},Qn,Kn,Gn,{provide:tr,useValue:{enableTracing:!1}}];function ir(){return new p.NgProbeToken("Router",Tn)}var or,ar=((or=sr).forRoot=function(e,t){return{ngModule:or,providers:[rr,pr(e),{provide:nr,useFactory:cr,deps:[[Tn,new p.Optional,new p.SkipSelf]]},{provide:tr,useValue:t||{}},{provide:h.LocationStrategy,useFactory:ur,deps:[h.PlatformLocation,[new p.Inject(h.APP_BASE_HREF),new p.Optional],tr]},{provide:$n,useFactory:lr,deps:[Tn,h.ViewportScroller,tr]},{provide:Wn,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:Kn},{provide:p.NgProbeToken,multi:!0,useFactory:ir},_r()]}},sr.forChild=function(e){return{ngModule:or,providers:[pr(e)]}},sr=or=n([p.NgModule({declarations:er,exports:er,entryComponents:[ne]}),i(0,p.Optional()),i(0,p.Inject(nr)),i(1,p.Optional()),o("design:paramtypes",[Object,Tn])],sr));function sr(e,t){}function lr(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new $n(e,t,n)}function ur(e,t,n){return void 0===n&&(n={}),n.useHash?new h.HashLocationStrategy(e,t):new h.PathLocationStrategy(e,t)}function cr(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function pr(e){return[{provide:p.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:bn,multi:!0,useValue:e}]}function dr(e,t,n,r,i,o,a,s,l,u,c){void 0===l&&(l={});var p=new Tn(null,t,n,r,i,o,a,ye(s));if(u&&(p.urlHandlingStrategy=u),c&&(p.routeReuseStrategy=c),l.errorHandler&&(p.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(p.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var d=h.ɵgetDOM();p.events.subscribe(function(e){d.logGroup("Router Event: "+e.constructor.name),d.log(e.toString()),d.log(e),d.logGroupEnd()})}return l.onSameUrlNavigation&&(p.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(p.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(p.relativeLinkResolution=l.relativeLinkResolution),p}function hr(e){return e.routerState.root}var fr=(mr.prototype.appInitializer=function(){var i=this;return this.injector.get(h.LOCATION_INITIALIZED,Promise.resolve(null)).then(function(){var t=null,e=new Promise(function(e){return t=e}),n=i.injector.get(Tn),r=i.injector.get(tr);if(i.isLegacyDisabled(r)||i.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '"+r.initialNavigation+"'");n.hooks.afterPreactivation=function(){return i.initNavigation?d.of(null):(i.initNavigation=!0,t(!0),i.resultOfPreactivationDone)},n.initialNavigation()}return e})},mr.prototype.bootstrapListener=function(e){var t=this.injector.get(tr),n=this.injector.get(Qn),r=this.injector.get($n),i=this.injector.get(Tn),o=this.injector.get(p.ApplicationRef);e===o.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},mr.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation},mr.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},mr=n([p.Injectable(),o("design:paramtypes",[p.Injector])],mr));function mr(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new d.Subject}function vr(e){return e.appInitializer.bind(e)}function yr(e){return e.bootstrapListener.bind(e)}var gr=new p.InjectionToken("Router Initializer");function _r(){return[fr,{provide:p.APP_INITIALIZER,multi:!0,useFactory:vr,deps:[fr]},{provide:gr,useFactory:yr,deps:[fr]},{provide:p.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:gr}]}var br=new p.Version("9.0.0-next.12");e.ɵangular_packages_router_router_l=ne,e.ɵEmptyOutletComponent=ne,e.ɵangular_packages_router_router_a=nr,e.ɵangular_packages_router_router_h=fr,e.ɵangular_packages_router_router_c=lr,e.ɵangular_packages_router_router_i=vr,e.ɵangular_packages_router_router_j=yr,e.ɵangular_packages_router_router_e=cr,e.ɵangular_packages_router_router_d=ur,e.ɵangular_packages_router_router_k=_r,e.ɵangular_packages_router_router_g=hr,e.ɵangular_packages_router_router_b=ir,e.ɵangular_packages_router_router_f=dr,e.ɵangular_packages_router_router_o=$n,e.ɵangular_packages_router_router_m=Ke,e.ɵangular_packages_router_router_n=$e,e.RouterLink=Pn,e.RouterLinkWithHref=Mn,e.RouterLinkActive=jn,e.RouterOutlet=Un,e.ActivationEnd=$,e.ActivationStart=Q,e.ChildActivationEnd=K,e.ChildActivationStart=G,e.GuardsCheckEnd=R,e.GuardsCheckStart=P,e.NavigationCancel=x,e.NavigationEnd=_,e.NavigationError=E,e.NavigationStart=y,e.ResolveEnd=B,e.ResolveStart=F,e.RouteConfigLoadEnd=H,e.RouteConfigLoadStart=z,e.RouterEvent=s,e.RoutesRecognized=D,e.Scroll=ee,e.RouteReuseStrategy=yn,e.Router=Tn,e.ROUTES=bn,e.ROUTER_CONFIGURATION=tr,e.ROUTER_INITIALIZER=gr,e.RouterModule=ar,e.provideRoutes=pr,e.ChildrenOutletContexts=Vn,e.OutletContext=Ln,e.NoPreloading=Kn,e.PreloadAllModules=Gn,e.PreloadingStrategy=Wn,e.RouterPreloader=Qn,e.ActivatedRoute=ot,e.ActivatedRouteSnapshot=lt,e.RouterState=nt,e.RouterStateSnapshot=pt,e.PRIMARY_OUTLET=ie,e.convertToParamMap=se,e.UrlHandlingStrategy=Cn,e.DefaultUrlSerializer=Ae,e.UrlSegment=ke,e.UrlSegmentGroup=Ee,e.UrlSerializer=Pe,e.UrlTree=Ce,e.VERSION=br,e.ɵROUTER_PROVIDERS=rr,e.ɵflatten=ye,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/compiler"),require("@angular/core"),require("@angular/common"),require("@angular/platform-browser")):System.registerDynamic("npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js",["@angular/compiler","@angular/core","@angular/common","@angular/platform-browser"],!1,function(e,t,n){return r.call(t,t,e("@angular/compiler"),e("@angular/core"),e("@angular/common"),e("@angular/platform-browser"))})}(0,function(e,p,a,t,n){"use strict";var r=function(e,t){return(r=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])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function o(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function s(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(o(arguments[t]));return e}var l,u=((l=new Map).set(p.Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS,a.ANALYZE_FOR_ENTRY_COMPONENTS),l.set(p.Identifiers.ElementRef,a.ElementRef),l.set(p.Identifiers.NgModuleRef,a.NgModuleRef),l.set(p.Identifiers.ViewContainerRef,a.ViewContainerRef),l.set(p.Identifiers.ChangeDetectorRef,a.ChangeDetectorRef),l.set(p.Identifiers.Renderer2,a.Renderer2),l.set(p.Identifiers.QueryList,a.QueryList),l.set(p.Identifiers.TemplateRef,a.TemplateRef),l.set(p.Identifiers.CodegenComponentFactoryResolver,a.ɵCodegenComponentFactoryResolver),l.set(p.Identifiers.ComponentFactoryResolver,a.ComponentFactoryResolver),l.set(p.Identifiers.ComponentFactory,a.ComponentFactory),l.set(p.Identifiers.ComponentRef,a.ComponentRef),l.set(p.Identifiers.NgModuleFactory,a.NgModuleFactory),l.set(p.Identifiers.createModuleFactory,a.ɵcmf),l.set(p.Identifiers.moduleDef,a.ɵmod),l.set(p.Identifiers.moduleProviderDef,a.ɵmpd),l.set(p.Identifiers.RegisterModuleFactoryFn,a.ɵregisterModuleFactory),l.set(p.Identifiers.Injector,a.Injector),l.set(p.Identifiers.ViewEncapsulation,a.ViewEncapsulation),l.set(p.Identifiers.ChangeDetectionStrategy,a.ChangeDetectionStrategy),l.set(p.Identifiers.SecurityContext,a.SecurityContext),l.set(p.Identifiers.LOCALE_ID,a.LOCALE_ID),l.set(p.Identifiers.TRANSLATIONS_FORMAT,a.TRANSLATIONS_FORMAT),l.set(p.Identifiers.inlineInterpolate,a.ɵinlineInterpolate),l.set(p.Identifiers.interpolate,a.ɵinterpolate),l.set(p.Identifiers.EMPTY_ARRAY,a.ɵEMPTY_ARRAY),l.set(p.Identifiers.EMPTY_MAP,a.ɵEMPTY_MAP),l.set(p.Identifiers.viewDef,a.ɵvid),l.set(p.Identifiers.elementDef,a.ɵeld),l.set(p.Identifiers.anchorDef,a.ɵand),l.set(p.Identifiers.textDef,a.ɵted),l.set(p.Identifiers.directiveDef,a.ɵdid),l.set(p.Identifiers.providerDef,a.ɵprd),l.set(p.Identifiers.queryDef,a.ɵqud),l.set(p.Identifiers.pureArrayDef,a.ɵpad),l.set(p.Identifiers.pureObjectDef,a.ɵpod),l.set(p.Identifiers.purePipeDef,a.ɵppd),l.set(p.Identifiers.pipeDef,a.ɵpid),l.set(p.Identifiers.nodeValue,a.ɵnov),l.set(p.Identifiers.ngContentDef,a.ɵncd),l.set(p.Identifiers.unwrapValue,a.ɵunv),l.set(p.Identifiers.createRendererType2,a.ɵcrt),l.set(p.Identifiers.createComponentFactory,a.ɵccf),l),c=(d.prototype.componentModuleUrl=function(e,t){var n=t.moduleId;if("string"==typeof n)return p.getUrlScheme(n)?n:"package:"+n;if(null!=n)throw p.syntaxError('moduleId should be a string in "'+a.ɵstringify(e)+"\". See https://goo.gl/wIDDiL for more information.\nIf you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.");return"./"+a.ɵstringify(e)},d.prototype.parameters=function(e){return this.reflectionCapabilities.parameters(e)},d.prototype.tryAnnotations=function(e){return this.annotations(e)},d.prototype.annotations=function(e){return this.reflectionCapabilities.annotations(e)},d.prototype.shallowAnnotations=function(e){throw new Error("Not supported in JIT mode")},d.prototype.propMetadata=function(e){return this.reflectionCapabilities.propMetadata(e)},d.prototype.hasLifecycleHook=function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)},d.prototype.guards=function(e){return this.reflectionCapabilities.guards(e)},d.prototype.resolveExternalReference=function(e){return u.get(e)||e.runtime},d);function d(){this.reflectionCapabilities=new a.ɵReflectionCapabilities}var h=new a.InjectionToken("ErrorCollector"),f={provide:a.PACKAGE_ROOT_URL,useValue:"/"},m={get:function(e){throw new Error("No ResourceLoader implementation has been provided. Can't read the url \""+e+'"')}},v=new a.InjectionToken("HtmlParser"),y=(g.prototype.getExtraNgModuleProviders=function(){return[this._metadataResolver.getProviderMetadata(new p.ProviderMeta(a.Compiler,{useValue:this}))]},g.prototype.compileModuleSync=function(e){return this._delegate.compileModuleSync(e)},g.prototype.compileModuleAsync=function(e){return this._delegate.compileModuleAsync(e)},g.prototype.compileModuleAndAllComponentsSync=function(e){var t=this._delegate.compileModuleAndAllComponentsSync(e);return{ngModuleFactory:t.ngModuleFactory,componentFactories:t.componentFactories}},g.prototype.compileModuleAndAllComponentsAsync=function(e){return this._delegate.compileModuleAndAllComponentsAsync(e).then(function(e){return{ngModuleFactory:e.ngModuleFactory,componentFactories:e.componentFactories}})},g.prototype.loadAotSummaries=function(e){this._delegate.loadAotSummaries(e)},g.prototype.hasAotSummary=function(e){return this._delegate.hasAotSummary(e)},g.prototype.getComponentFactory=function(e){return this._delegate.getComponentFactory(e)},g.prototype.clearCache=function(){this._delegate.clearCache()},g.prototype.clearCacheFor=function(e){this._delegate.clearCacheFor(e)},g.prototype.getModuleId=function(e){var t=this._metadataResolver.getNgModuleMetadata(e);return t&&t.id||void 0},g);function g(e,t,n,r,i,o,a,s,l,u,c){this._metadataResolver=t,this._delegate=new p.JitCompiler(t,n,r,i,o,a,s,l,u,c,this.getExtraNgModuleProviders.bind(this)),this.injector=e}var _=new c,b=m,w=new p.CompilerConfig,x=[{provide:p.CompileReflector,useValue:_},{provide:p.ResourceLoader,useValue:b},{provide:p.JitSummaryResolver,deps:[]},{provide:p.SummaryResolver,useExisting:p.JitSummaryResolver},{provide:a.ɵConsole,deps:[]},{provide:p.Lexer,deps:[]},{provide:p.Parser,deps:[p.Lexer]},{provide:v,useClass:p.HtmlParser,deps:[]},{provide:p.I18NHtmlParser,useFactory:function(e,t,n,r,i){var o=(t=t||"")?r.missingTranslation:a.MissingTranslationStrategy.Ignore;return new p.I18NHtmlParser(e,t,n,o,i)},deps:[v,[new a.Optional,new a.Inject(a.TRANSLATIONS)],[new a.Optional,new a.Inject(a.TRANSLATIONS_FORMAT)],[p.CompilerConfig],[a.ɵConsole]]},{provide:p.HtmlParser,useExisting:p.I18NHtmlParser},{provide:p.TemplateParser,deps:[p.CompilerConfig,p.CompileReflector,p.Parser,p.ElementSchemaRegistry,p.I18NHtmlParser,a.ɵConsole]},{provide:p.JitEvaluator,useClass:p.JitEvaluator,deps:[]},{provide:p.DirectiveNormalizer,deps:[p.ResourceLoader,p.UrlResolver,p.HtmlParser,p.CompilerConfig]},{provide:p.CompileMetadataResolver,deps:[p.CompilerConfig,p.HtmlParser,p.NgModuleResolver,p.DirectiveResolver,p.PipeResolver,p.SummaryResolver,p.ElementSchemaRegistry,p.DirectiveNormalizer,a.ɵConsole,[a.Optional,p.StaticSymbolCache],p.CompileReflector,[a.Optional,h]]},f,{provide:p.StyleCompiler,deps:[p.UrlResolver]},{provide:p.ViewCompiler,deps:[p.CompileReflector]},{provide:p.NgModuleCompiler,deps:[p.CompileReflector]},{provide:p.CompilerConfig,useValue:w},{provide:a.Compiler,useClass:y,deps:[a.Injector,p.CompileMetadataResolver,p.TemplateParser,p.StyleCompiler,p.ViewCompiler,p.NgModuleCompiler,p.SummaryResolver,p.CompileReflector,p.JitEvaluator,p.CompilerConfig,a.ɵConsole]},{provide:p.DomElementSchemaRegistry,deps:[]},{provide:p.ElementSchemaRegistry,useExisting:p.DomElementSchemaRegistry},{provide:p.UrlResolver,deps:[a.PACKAGE_ROOT_URL]},{provide:p.DirectiveResolver,deps:[p.CompileReflector]},{provide:p.PipeResolver,deps:[p.CompileReflector]},{provide:p.NgModuleResolver,deps:[p.CompileReflector]}],C=[{provide:a.Compiler,useFactory:function(){return new a.Compiler}}],S=x,E=(O.prototype.createCompiler=function(e){void 0===e&&(e=[]);var t=function(e){return{useJit:k(e.map(function(e){return e.useJit})),defaultEncapsulation:k(e.map(function(e){return e.defaultEncapsulation})),providers:function(e){var t=[];return e.forEach(function(e){return e&&t.push.apply(t,s(e))}),t}(e.map(function(e){return e.providers})),missingTranslation:k(e.map(function(e){return e.missingTranslation})),preserveWhitespaces:k(e.map(function(e){return e.preserveWhitespaces}))}}(this._defaultOptions.concat(e));return a.Injector.create([S,{provide:p.CompilerConfig,useFactory:function(){return new p.CompilerConfig({useJit:t.useJit,jitDevMode:a.isDevMode(),defaultEncapsulation:t.defaultEncapsulation,missingTranslation:t.missingTranslation,preserveWhitespaces:t.preserveWhitespaces})},deps:[]},t.providers]).get(a.Compiler)},O);function O(e){var t={useJit:!0,defaultEncapsulation:a.ViewEncapsulation.Emulated,missingTranslation:a.MissingTranslationStrategy.Warning};this._defaultOptions=s([t],e)}function k(e){for(var t=e.length-1;0<=t;t--)if(void 0!==e[t])return e[t]}var D,T=a.createPlatformFactory(a.platformCore,"coreDynamic",[{provide:a.COMPILER_OPTIONS,useValue:{},multi:!0},{provide:a.CompilerFactory,useClass:E,deps:[a.COMPILER_OPTIONS]}]),I=(i(P,D=p.ResourceLoader),P.prototype.get=function(n){var r,i,e=new Promise(function(e,t){r=e,i=t}),o=new XMLHttpRequest;return o.open("GET",n,!0),o.responseType="text",o.onload=function(){var e=o.response||o.responseText,t=1223===o.status?204:o.status;0===t&&(t=e?200:0),200<=t&&t<=300?r(e):i("Failed to load "+n)},o.onerror=function(){i("Failed to load "+n)},o.send(),e},P=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}([a.Injectable()],P));function P(){return null!==D&&D.apply(this,arguments)||this}var A,M={providers:[{provide:p.ResourceLoader,useClass:I,deps:[]}]},R=t.ɵPLATFORM_BROWSER_ID,N=[n.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,{provide:a.COMPILER_OPTIONS,useValue:M,multi:!0},{provide:a.PLATFORM_ID,useValue:R}],j=(i(F,A=p.ResourceLoader),F.prototype.get=function(e){return this._cache.hasOwnProperty(e)?Promise.resolve(this._cache[e]):Promise.reject("CachedResourceLoader: Did not find cached template for "+e)},F);function F(){var e=A.call(this)||this;if(e._cache=a.ɵglobal.$templateCache,null==e._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.");return e}var L=new a.Version("9.0.0-next.12"),V=[{provide:p.ResourceLoader,useClass:j,deps:[]}],B=a.createPlatformFactory(T,"browserDynamic",N);e.ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a=j,e.RESOURCE_CACHE_PROVIDER=V,e.platformBrowserDynamic=B,e.VERSION=L,e.JitCompilerFactory=E,e.ɵCOMPILER_PROVIDERS__POST_R3__=C,e.ɵCompilerImpl=y,e.ɵplatformCoreDynamic=T,e.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS=N,e.ɵResourceLoaderImpl=I,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/platform-browser"),require("@angular/common")):System.registerDynamic("npm:@angular/platform-browser/bundles/platform-browser-testing.umd.js",["@angular/core","@angular/platform-browser","@angular/common"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/platform-browser"),e("@angular/common"))})}(0,function(e,t,n,r){"use strict";var i=(Object.defineProperty(o.prototype,"_ua",{get:function(){return"string"==typeof this._overrideUa?this._overrideUa:r.ɵgetDOM()?r.ɵgetDOM().getUserAgent():""},enumerable:!0,configurable:!0}),o.setup=function(){new o(null)},Object.defineProperty(o.prototype,"isFirefox",{get:function(){return-1<this._ua.indexOf("Firefox")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"isAndroid",{get:function(){return-1<this._ua.indexOf("Mozilla/5.0")&&-1<this._ua.indexOf("Android")&&-1<this._ua.indexOf("AppleWebKit")&&-1==this._ua.indexOf("Chrome")&&-1==this._ua.indexOf("IEMobile")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"isEdge",{get:function(){return-1<this._ua.indexOf("Edge")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"isIE",{get:function(){return-1<this._ua.indexOf("Trident")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"isWebkit",{get:function(){return-1<this._ua.indexOf("AppleWebKit")&&-1==this._ua.indexOf("Edge")&&-1==this._ua.indexOf("IEMobile")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"isIOS7",{get:function(){return(-1<this._ua.indexOf("iPhone OS 7")||-1<this._ua.indexOf("iPad OS 7"))&&-1==this._ua.indexOf("IEMobile")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"isSlow",{get:function(){return this.isAndroid||this.isIE||this.isIOS7},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"supportsNativeIntlApi",{get:function(){return!!t.ɵglobal.Intl&&t.ɵglobal.Intl!==t.ɵglobal.IntlPolyfill},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"isChromeDesktop",{get:function(){return-1<this._ua.indexOf("Chrome")&&-1==this._ua.indexOf("Mobile Safari")&&-1==this._ua.indexOf("Edge")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"isOldChrome",{get:function(){return-1<this._ua.indexOf("Chrome")&&-1<this._ua.indexOf("Chrome/3")&&-1==this._ua.indexOf("Edge")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"supportsCustomElements",{get:function(){return void 0!==t.ɵglobal.customElements},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"supportsDeprecatedCustomCustomElementsV0",{get:function(){return void 0!==document.registerElement},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"supportsRegExUnicodeFlag",{get:function(){return RegExp.prototype.hasOwnProperty("unicode")},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"supportsShadowDom",{get:function(){return void 0!==document.createElement("div").attachShadow},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"supportsDeprecatedShadowDomV0",{get:function(){return void 0!==document.createElement("div").createShadowRoot},enumerable:!0,configurable:!0}),o);function o(e){this._overrideUa=e}i.setup();function a(){return new t.NgZone({enableLongStackTrace:!0})}var s=[{provide:t.PLATFORM_INITIALIZER,useValue:function(){n.ɵBrowserDomAdapter.makeCurrent(),i.setup()},multi:!0}],l=t.createPlatformFactory(t.platformCore,"browserTesting",s),u=a,c=p=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}([t.NgModule({exports:[n.BrowserModule],providers:[{provide:t.APP_ID,useValue:"a"},n.ɵELEMENT_PROBE_PROVIDERS,{provide:t.NgZone,useFactory:u}]})],p);function p(){}e.ɵangular_packages_platform_browser_testing_testing_a=a,e.platformBrowserTesting=l,e.BrowserTestingModule=c,e.ɵ0=u,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/compiler")):System.registerDynamic("npm:@angular/compiler/bundles/compiler-testing.umd.js",["@angular/compiler"],!1,function(e,t,n){return r.call(t,t,e("@angular/compiler"))})}(0,function(e,r){"use strict";var i=function(e,t){return(i=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])})(e,t)};function t(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var n,o=(t(a,n=r.ResourceLoader),a.prototype.get=function(e){var t=new s(e);return this._requests.push(t),t.getPromise()},a.prototype.hasPendingRequests=function(){return!!this._requests.length},a.prototype.expect=function(e,t){var n=new u(e,t);this._expectations.push(n)},a.prototype.when=function(e,t){this._definitions.set(e,t)},a.prototype.flush=function(){if(0===this._requests.length)throw new Error("No pending requests to flush");for(;this._processRequest(this._requests.shift()),0<this._requests.length;);this.verifyNoOutstandingExpectations()},a.prototype.verifyNoOutstandingExpectations=function(){if(0!==this._expectations.length){for(var e=[],t=0;t<this._expectations.length;t++){var n=this._expectations[t];e.push(n.url)}throw new Error("Unsatisfied requests: "+e.join(", "))}},a.prototype._processRequest=function(e){var t=e.url;if(0<this._expectations.length){var n=this._expectations[0];if(n.url==t)return function(e,t){var n=e.indexOf(t);-1<n&&e.splice(n,1)}(this._expectations,n),void e.complete(n.response)}if(!this._definitions.has(t))throw new Error("Unexpected request "+t);var r=this._definitions.get(t);e.complete(null==r?null:r)},a);function a(){var e=null!==n&&n.apply(this,arguments)||this;return e._expectations=[],e._definitions=new Map,e._requests=[],e}var s=(l.prototype.complete=function(e){null==e?this.reject("Failed to load "+this.url):this.resolve(e)},l.prototype.getPromise=function(){return this.promise},l);function l(e){var n=this;this.url=e,this.promise=new Promise(function(e,t){n.resolve=e,n.reject=t})}var u=function(e,t){this.url=e,this.response=t};var c=(p.prototype.hasProperty=function(e,t,n){var r=this.existingProperties[t];return void 0===r||r},p.prototype.hasElement=function(e,t){var n=this.existingElements[e.toLowerCase()];return void 0===n||n},p.prototype.allKnownElementNames=function(){return Object.keys(this.existingElements)},p.prototype.securityContext=function(e,t,n){return r.core.SecurityContext.NONE},p.prototype.getMappedPropName=function(e){return this.attrPropMapping[e]||e},p.prototype.getDefaultComponentElementName=function(){return"ng-component"},p.prototype.validateProperty=function(e){return-1<this.invalidProperties.indexOf(e)?{error:!0,msg:"Binding to property '"+e+"' is disallowed for security reasons"}:{error:!1}},p.prototype.validateAttribute=function(e){return-1<this.invalidAttributes.indexOf(e)?{error:!0,msg:"Binding to attribute '"+e+"' is disallowed for security reasons"}:{error:!1}},p.prototype.normalizeAnimationStyleProperty=function(e){return e},p.prototype.normalizeAnimationStyleValue=function(e,t,n){return{error:null,value:n.toString()}},p);function p(e,t,n,r,i){this.existingProperties=e,this.attrPropMapping=t,this.existingElements=n,this.invalidProperties=r,this.invalidAttributes=i}var d,h=(t(f,d=r.DirectiveResolver),f.prototype.resolve=function(e,t){return void 0===t&&(t=!0),this._directives.get(e)||d.prototype.resolve.call(this,e,t)},f.prototype.setDirective=function(e,t){this._directives.set(e,t)},f);function f(e){var t=d.call(this,e)||this;return t._directives=new Map,t}var m,v=(t(y,m=r.NgModuleResolver),y.prototype.setNgModule=function(e,t){this._ngModules.set(e,t)},y.prototype.resolve=function(e,t){return void 0===t&&(t=!0),this._ngModules.get(e)||m.prototype.resolve.call(this,e,t)},y);function y(e){var t=m.call(this,e)||this;return t._ngModules=new Map,t}var g,_=(t(b,g=r.PipeResolver),b.prototype.setPipe=function(e,t){this._pipes.set(e,t)},b.prototype.resolve=function(e,t){void 0===t&&(t=!0);var n=this._pipes.get(e);return n=n||g.prototype.resolve.call(this,e,t)},b);function b(e){var t=g.call(this,e)||this;return t._pipes=new Map,t}e.MockResourceLoader=o,e.MockSchemaRegistry=c,e.MockDirectiveResolver=h,e.MockNgModuleResolver=v,e.MockPipeResolver=_,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/core/testing"),require("@angular/platform-browser-dynamic"),require("@angular/platform-browser/testing"),require("@angular/common"),require("@angular/compiler"),require("@angular/compiler/testing")):System.registerDynamic("npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic-testing.umd.js",["@angular/core","@angular/core/testing","@angular/platform-browser-dynamic","@angular/platform-browser/testing","@angular/common","@angular/compiler","@angular/compiler/testing"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/core/testing"),e("@angular/platform-browser-dynamic"),e("@angular/platform-browser/testing"),e("@angular/common"),e("@angular/compiler"),e("@angular/compiler/testing"))})}(0,function(e,r,i,t,n,o,a,s){"use strict";var l=function(e,t){return(l=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])})(e,t)};function u(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}var c,p,d,h,f,m=(f=i.TestComponentRenderer,l(d=y,h=f),void(d.prototype=null===h?Object.create(h):(v.prototype=h.prototype,new v)),y.prototype.insertRootElement=function(e){var t=o.ɵgetDOM().getDefaultDocument().createElement("template");t.innerHTML='<div id="'+e+'"></div>';for(var n=function(e){return"content"in e?e.content:e}(t).firstChild,r=this._doc.querySelectorAll("[id^=root]"),i=0;i<r.length;i++)o.ɵgetDOM().remove(r[i]);this._doc.body.appendChild(n)},y=u([r.Injectable(),(c=0,p=r.Inject(o.DOCUMENT),function(e,t){p(e,t,c)}),function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}("design:paramtypes",[Object])],y));function v(){this.constructor=d}function y(e){var t=f.call(this)||this;return t._doc=e,t}var g=[{provide:s.MockPipeResolver,deps:[a.CompileReflector]},{provide:a.PipeResolver,useExisting:s.MockPipeResolver},{provide:s.MockDirectiveResolver,deps:[a.CompileReflector]},{provide:a.DirectiveResolver,useExisting:s.MockDirectiveResolver},{provide:s.MockNgModuleResolver,deps:[a.CompileReflector]},{provide:a.NgModuleResolver,useExisting:s.MockNgModuleResolver}],_=(b.prototype.createTestingCompiler=function(e){var t=this._compilerFactory.createCompiler(e);return new w(t,t.injector.get(s.MockDirectiveResolver),t.injector.get(s.MockPipeResolver),t.injector.get(s.MockNgModuleResolver))},b);function b(e,t){this._injector=e,this._compilerFactory=t}var w=(Object.defineProperty(x.prototype,"injector",{get:function(){return this._compiler.injector},enumerable:!0,configurable:!0}),x.prototype.compileModuleSync=function(e){return this._compiler.compileModuleSync(e)},x.prototype.compileModuleAsync=function(e){return this._compiler.compileModuleAsync(e)},x.prototype.compileModuleAndAllComponentsSync=function(e){return this._compiler.compileModuleAndAllComponentsSync(e)},x.prototype.compileModuleAndAllComponentsAsync=function(e){return this._compiler.compileModuleAndAllComponentsAsync(e)},x.prototype.getComponentFactory=function(e){return this._compiler.getComponentFactory(e)},x.prototype.checkOverrideAllowed=function(e){if(this._compiler.hasAotSummary(e))throw new Error(r.ɵstringify(e)+" was AOT compiled, so its metadata cannot be changed.")},x.prototype.overrideModule=function(e,t){this.checkOverrideAllowed(e);var n=this._moduleResolver.resolve(e,!1);this._moduleResolver.setNgModule(e,this._overrider.overrideMetadata(r.NgModule,n,t)),this.clearCacheFor(e)},x.prototype.overrideDirective=function(e,t){this.checkOverrideAllowed(e);var n=this._directiveResolver.resolve(e,!1);this._directiveResolver.setDirective(e,this._overrider.overrideMetadata(r.Directive,n,t)),this.clearCacheFor(e)},x.prototype.overrideComponent=function(e,t){this.checkOverrideAllowed(e);var n=this._directiveResolver.resolve(e,!1);this._directiveResolver.setDirective(e,this._overrider.overrideMetadata(r.Component,n,t)),this.clearCacheFor(e)},x.prototype.overridePipe=function(e,t){this.checkOverrideAllowed(e);var n=this._pipeResolver.resolve(e,!1);this._pipeResolver.setPipe(e,this._overrider.overrideMetadata(r.Pipe,n,t)),this.clearCacheFor(e)},x.prototype.loadAotSummaries=function(e){this._compiler.loadAotSummaries(e)},x.prototype.clearCache=function(){this._compiler.clearCache()},x.prototype.clearCacheFor=function(e){this._compiler.clearCacheFor(e)},x.prototype.getComponentFromError=function(e){return e[a.ERROR_COMPONENT_TYPE]||null},x.prototype.getModuleId=function(e){return this._moduleResolver.resolve(e,!0).id},x);function x(e,t,n,r){this._compiler=e,this._directiveResolver=t,this._pipeResolver=n,this._moduleResolver=r,this._overrider=new i.ɵMetadataOverrider}var C={providers:g},S=r.createPlatformFactory(t.ɵplatformCoreDynamic,"coreDynamicTesting",[{provide:r.COMPILER_OPTIONS,useValue:C,multi:!0},{provide:i.ɵTestingCompilerFactory,useClass:_,deps:[r.Injector,r.CompilerFactory]}]),E=r.createPlatformFactory(S,"browserDynamicTesting",t.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS),O=k=u([r.NgModule({exports:[n.BrowserTestingModule],providers:[{provide:i.TestComponentRenderer,useClass:m}]})],k);function k(){}e.ɵangular_packages_platform_browser_dynamic_testing_testing_a=g,e.ɵangular_packages_platform_browser_dynamic_testing_testing_b=_,e.platformBrowserDynamicTesting=E,e.BrowserDynamicTestingModule=O,e.ɵDOMTestComponentRenderer=m,e.ɵplatformCoreDynamicTesting=S,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):System.registerDynamic("npm:@angular/compiler/bundles/compiler.umd.js",[],!1,function(e,t,n){return r.call(t,t)})}(0,function(E){"use strict";var r=function(e,t){return(r=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])})(e,t)};function f(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var e,m=function(){return(m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function z(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function U(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function q(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(U(arguments[t]));return e}function H(e){if(":"!=e[0])return[null,e];var t=e.indexOf(":",1);if(-1==t)throw new Error('Unsupported format "'+e+'" expecting ":namespace:name"');return[e.slice(1,t),e.slice(t+1)]}function W(e){return"ng-container"===H(e)[1]}function l(e){return"ng-content"===H(e)[1]}function V(e){return"ng-template"===H(e)[1]}function c(e){return null===e?null:H(e)[0]}function p(e,t){return e?":"+e+":"+t:t}(e=E.TagContentType||(E.TagContentType={}))[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA";var u={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞",int:"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"‏",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"‍",zwnj:"‌"};u.ngsp="";var t,n,i=(o.prototype.isClosedByChild=function(e){return this.isVoid||e.toLowerCase()in this.closedByChildren},o);function o(e){var t=this,n=void 0===e?{}:e,r=n.closedByChildren,i=n.implicitNamespacePrefix,o=n.contentType,a=void 0===o?E.TagContentType.PARSABLE_DATA:o,s=n.closedByParent,l=void 0!==s&&s,u=n.isVoid,c=void 0!==u&&u,p=n.ignoreFirstLf,d=void 0!==p&&p;this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,r&&0<r.length&&r.forEach(function(e){return t.closedByChildren[e]=!0}),this.isVoid=c,this.closedByParent=l||c,this.implicitNamespacePrefix=i||null,this.contentType=a,this.ignoreFirstLf=d}function d(e){return n||(t=new i,n={base:new i({isVoid:!0}),meta:new i({isVoid:!0}),area:new i({isVoid:!0}),embed:new i({isVoid:!0}),link:new i({isVoid:!0}),img:new i({isVoid:!0}),input:new i({isVoid:!0}),param:new i({isVoid:!0}),hr:new i({isVoid:!0}),br:new i({isVoid:!0}),source:new i({isVoid:!0}),track:new i({isVoid:!0}),wbr:new i({isVoid:!0}),p:new i({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new i({closedByChildren:["tbody","tfoot"]}),tbody:new i({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new i({closedByChildren:["tbody"],closedByParent:!0}),tr:new i({closedByChildren:["tr"],closedByParent:!0}),td:new i({closedByChildren:["td","th"],closedByParent:!0}),th:new i({closedByChildren:["td","th"],closedByParent:!0}),col:new i({isVoid:!0}),svg:new i({implicitNamespacePrefix:"svg"}),math:new i({implicitNamespacePrefix:"math"}),li:new i({closedByChildren:["li"],closedByParent:!0}),dt:new i({closedByChildren:["dt","dd"]}),dd:new i({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new i({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new i({closedByChildren:["optgroup"],closedByParent:!0}),option:new i({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new i({ignoreFirstLf:!0}),listing:new i({ignoreFirstLf:!0}),style:new i({contentType:E.TagContentType.RAW_TEXT}),script:new i({contentType:E.TagContentType.RAW_TEXT}),title:new i({contentType:E.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new i({contentType:E.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),n[e.toLowerCase()]||t}var s=new RegExp("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-.\\w*]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g"),B=(h.parse=function(e){function t(e,t){0<t.notSelectors.length&&!t.element&&0==t.classNames.length&&0==t.attrs.length&&(t.element="*"),e.push(t)}var n,r=[],i=new h,o=i,a=!1;for(s.lastIndex=0;n=s.exec(e);){if(n[1]){if(a)throw new Error("Nesting :not is not allowed in a selector");a=!0,o=new h,i.notSelectors.push(o)}if(n[2]&&o.setElement(n[2]),n[3]&&o.addClassName(n[3]),n[4]&&o.addAttribute(n[4],n[6]),n[7]&&(a=!1,o=i),n[8]){if(a)throw new Error("Multiple selectors in :not are not supported");t(r,i),i=o=new h}}return t(r,i),r},h.prototype.isElementSelector=function(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length},h.prototype.hasElementSelector=function(){return!!this.element},h.prototype.setElement=function(e){void 0===e&&(e=null),this.element=e},h.prototype.getMatchingElementTemplate=function(){for(var e=this.element||"div",t=0<this.classNames.length?' class="'+this.classNames.join(" ")+'"':"",n="",r=0;r<this.attrs.length;r+=2)n+=" "+this.attrs[r]+(""!==this.attrs[r+1]?'="'+this.attrs[r+1]+'"':"");return d(e).isVoid?"<"+e+t+n+"/>":"<"+e+t+n+"></"+e+">"},h.prototype.getAttrs=function(){var e=[];return 0<this.classNames.length&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)},h.prototype.addAttribute=function(e,t){void 0===t&&(t=""),this.attrs.push(e,t&&t.toLowerCase()||"")},h.prototype.addClassName=function(e){this.classNames.push(e.toLowerCase())},h.prototype.toString=function(){var t=this.element||"";if(this.classNames&&this.classNames.forEach(function(e){return t+="."+e}),this.attrs)for(var e=0;e<this.attrs.length;e+=2){var n=this.attrs[e],r=this.attrs[e+1];t+="["+n+(r?"="+r:"")+"]"}return this.notSelectors.forEach(function(e){return t+=":not("+e+")"}),t},h);function h(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}var T=(a.createNotMatcher=function(e){var t=new a;return t.addSelectables(e,null),t},a.prototype.addSelectables=function(e,t){var n=null;1<e.length&&(n=new v(e),this._listContexts.push(n));for(var r=0;r<e.length;r++)this._addSelectable(e[r],t,n)},a.prototype._addSelectable=function(e,t,n){var r=this,i=e.element,o=e.classNames,a=e.attrs,s=new y(e,t,n);if(i&&((u=0===a.length&&0===o.length)?this._addTerminal(r._elementMap,i,s):r=this._addPartial(r._elementPartialMap,i)),o)for(var l=0;l<o.length;l++){var u=0===a.length&&l===o.length-1,c=o[l];u?this._addTerminal(r._classMap,c,s):r=this._addPartial(r._classPartialMap,c)}if(a)for(l=0;l<a.length;l+=2){u=l===a.length-2;var p=a[l],d=a[l+1];if(u){var h=r._attrValueMap,f=h.get(p);f||(f=new Map,h.set(p,f)),this._addTerminal(f,d,s)}else{var m=r._attrValuePartialMap,v=m.get(p);v||(v=new Map,m.set(p,v)),r=this._addPartial(v,d)}}},a.prototype._addTerminal=function(e,t,n){var r=e.get(t);r||(r=[],e.set(t,r)),r.push(n)},a.prototype._addPartial=function(e,t){var n=e.get(t);return n||(n=new a,e.set(t,n)),n},a.prototype.match=function(e,t){for(var n=!1,r=e.element,i=e.classNames,o=e.attrs,a=0;a<this._listContexts.length;a++)this._listContexts[a].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,r,e,t)||n,n=this._matchPartial(this._elementPartialMap,r,e,t)||n,i)for(a=0;a<i.length;a++){var s=i[a];n=this._matchTerminal(this._classMap,s,e,t)||n,n=this._matchPartial(this._classPartialMap,s,e,t)||n}if(o)for(a=0;a<o.length;a+=2){var l=o[a],u=o[a+1],c=this._attrValueMap.get(l);u&&(n=this._matchTerminal(c,"",e,t)||n),n=this._matchTerminal(c,u,e,t)||n;var p=this._attrValuePartialMap.get(l);u&&(n=this._matchPartial(p,"",e,t)||n),n=this._matchPartial(p,u,e,t)||n}return n},a.prototype._matchTerminal=function(e,t,n,r){if(!e||"string"!=typeof t)return!1;var i=e.get(t)||[],o=e.get("*");if(o&&(i=i.concat(o)),0===i.length)return!1;for(var a=!1,s=0;s<i.length;s++)a=i[s].finalize(n,r)||a;return a},a.prototype._matchPartial=function(e,t,n,r){if(!e||"string"!=typeof t)return!1;var i=e.get(t);return!!i&&i.match(n,r)},a);function a(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}var v=function(e){this.selectors=e,this.alreadyMatched=!1},y=(g.prototype.finalize=function(e,t){var n=!0;return!(0<this.notSelectors.length)||this.listContext&&this.listContext.alreadyMatched||(n=!T.createNotMatcher(this.notSelectors).match(e,null)),!n||!t||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),n},g);function g(e,t,n){this.selector=e,this.cbContext=t,this.listContext=n,this.notSelectors=e.notSelectors}var I,_,P,b,w=oe("Inject",function(e){return{token:e}}),x=oe("InjectionToken",function(e){return{_desc:e,"ɵprov":void 0}}),C=oe("Attribute",function(e){return{attributeName:e}}),S=oe("ContentChildren",function(e,t){return void 0===t&&(t={}),m({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)}),O=oe("ContentChild",function(e,t){return void 0===t&&(t={}),m({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)}),k=oe("ViewChildren",function(e,t){return void 0===t&&(t={}),m({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)}),D=oe("ViewChild",function(e,t){return m({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)}),A=oe("Directive",function(e){return void 0===e&&(e={}),e});(_=I=I||{})[_.Emulated=0]="Emulated",_[_.Native=1]="Native",_[_.None=2]="None",_[_.ShadowDom=3]="ShadowDom",(b=P=P||{})[b.OnPush=0]="OnPush",b[b.Default=1]="Default";var M,R,N,j,F=oe("Component",function(e){return void 0===e&&(e={}),m({changeDetection:P.Default},e)}),L=oe("Pipe",function(e){return m({pure:!0},e)}),G=oe("Input",function(e){return{bindingPropertyName:e}}),Y=oe("Output",function(e){return{bindingPropertyName:e}}),K=oe("HostBinding",function(e){return{hostPropertyName:e}}),Z=oe("HostListener",function(e,t){return{eventName:e,args:t}}),Q=oe("NgModule",function(e){return e}),X=oe("Injectable",function(e){return void 0===e&&(e={}),e}),$={name:"custom-elements"},J={name:"no-errors-schema"},ee=oe("Optional"),te=oe("Self"),ne=oe("SkipSelf"),re=oe("Host"),ie=Function;function oe(r,i){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i?i.apply(void 0,q(e)):{};return m({ngMetadataName:r},n)}return e.isTypeOf=function(e){return e&&e.ngMetadataName===r},e.ngMetadataName=r,e}function ae(e){var t=function(e){var t=e.classNames&&e.classNames.length?q([8],e.classNames):[];return q([e.element&&"*"!==e.element?e.element:""],e.attrs,t)}(e),n=e.notSelectors&&e.notSelectors.length?e.notSelectors.map(function(e){return function(e){var t=e.classNames&&e.classNames.length?q([8],e.classNames):[];return e.element?q([5,e.element],e.attrs,t):e.attrs.length?q([3],e.attrs,t):e.classNames&&e.classNames.length?q([9],e.classNames):[]}(e)}):[];return t.concat.apply(t,q(n))}function se(e){return e?B.parse(e).map(ae):[]}(R=M=M||{})[R.NONE=0]="NONE",R[R.HTML=1]="HTML",R[R.STYLE=2]="STYLE",R[R.SCRIPT=3]="SCRIPT",R[R.URL=4]="URL",R[R.RESOURCE_URL=5]="RESOURCE_URL",(j=N=N||{})[j.Error=0]="Error",j[j.Warning=1]="Warning",j[j.Ignore=2]="Ignore";var le,ue,ce=Object.freeze({createInject:w,createInjectionToken:x,createAttribute:C,createContentChildren:S,createContentChild:O,createViewChildren:k,createViewChild:D,createDirective:A,get ViewEncapsulation(){return I},get ChangeDetectionStrategy(){return P},createComponent:F,createPipe:L,createInput:G,createOutput:Y,createHostBinding:K,createHostListener:Z,createNgModule:Q,createInjectable:X,CUSTOM_ELEMENTS_SCHEMA:$,NO_ERRORS_SCHEMA:J,createOptional:ee,createSelf:te,createSkipSelf:ne,createHost:re,Type:ie,get SecurityContext(){return M},get MissingTranslationStrategy(){return N},parseSelectorToR3Selector:se});(ue=le=le||{})[ue.Const=0]="Const";var pe,de=(he.prototype.hasModifier=function(e){return-1!==this.modifiers.indexOf(e)},he);function he(e){void 0===e&&(e=null),(this.modifiers=e)||(this.modifiers=[])}(pe=E.BuiltinTypeName||(E.BuiltinTypeName={}))[pe.Dynamic=0]="Dynamic",pe[pe.Bool=1]="Bool",pe[pe.String=2]="String",pe[pe.Int=3]="Int",pe[pe.Number=4]="Number",pe[pe.Function=5]="Function",pe[pe.Inferred=6]="Inferred",pe[pe.None=7]="None";var fe,me=(f(ve,fe=de),ve.prototype.visitType=function(e,t){return e.visitBuiltinType(this,t)},ve);function ve(e,t){void 0===t&&(t=null);var n=fe.call(this,t)||this;return n.name=e,n}var ye,ge=(f(_e,ye=de),_e.prototype.visitType=function(e,t){return e.visitExpressionType(this,t)},_e);function _e(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=ye.call(this,t)||this;return r.value=e,r.typeParams=n,r}var be,we=(f(xe,be=de),xe.prototype.visitType=function(e,t){return e.visitArrayType(this,t)},xe);function xe(e,t){void 0===t&&(t=null);var n=be.call(this,t)||this;return n.of=e,n}var Ce,Se=(f(Ee,Ce=de),Ee.prototype.visitType=function(e,t){return e.visitMapType(this,t)},Ee);function Ee(e,t){void 0===t&&(t=null);var n=Ce.call(this,t)||this;return n.valueType=e||null,n}var Oe,ke=new me(E.BuiltinTypeName.Dynamic),De=new me(E.BuiltinTypeName.Inferred),Te=new me(E.BuiltinTypeName.Bool),Ie=(new me(E.BuiltinTypeName.Int),new me(E.BuiltinTypeName.Number)),Pe=new me(E.BuiltinTypeName.String),Ae=(new me(E.BuiltinTypeName.Function),new me(E.BuiltinTypeName.None));function Me(e,t){return null==e||null==t?e==t:e.isEquivalent(t)}function Re(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(!e[r].isEquivalent(t[r]))return!1;return!0}(Oe=E.BinaryOperator||(E.BinaryOperator={}))[Oe.Equals=0]="Equals",Oe[Oe.NotEquals=1]="NotEquals",Oe[Oe.Identical=2]="Identical",Oe[Oe.NotIdentical=3]="NotIdentical",Oe[Oe.Minus=4]="Minus",Oe[Oe.Plus=5]="Plus",Oe[Oe.Divide=6]="Divide",Oe[Oe.Multiply=7]="Multiply",Oe[Oe.Modulo=8]="Modulo",Oe[Oe.And=9]="And",Oe[Oe.Or=10]="Or",Oe[Oe.BitwiseAnd=11]="BitwiseAnd",Oe[Oe.Lower=12]="Lower",Oe[Oe.LowerEquals=13]="LowerEquals",Oe[Oe.Bigger=14]="Bigger",Oe[Oe.BiggerEquals=15]="BiggerEquals";var Ne,je=(Fe.prototype.prop=function(e,t){return new qt(this,e,null,t)},Fe.prototype.key=function(e,t,n){return new Gt(this,e,t,n)},Fe.prototype.callMethod=function(e,t,n){return new it(this,e,t,null,n)},Fe.prototype.callFn=function(e,t){return new st(this,e,null,t)},Fe.prototype.instantiate=function(e,t,n){return new ct(this,e,t,n)},Fe.prototype.conditional=function(e,t,n){return void 0===t&&(t=null),new Ct(this,e,t,null,n)},Fe.prototype.equals=function(e,t){return new Bt(E.BinaryOperator.Equals,this,e,null,t)},Fe.prototype.notEquals=function(e,t){return new Bt(E.BinaryOperator.NotEquals,this,e,null,t)},Fe.prototype.identical=function(e,t){return new Bt(E.BinaryOperator.Identical,this,e,null,t)},Fe.prototype.notIdentical=function(e,t){return new Bt(E.BinaryOperator.NotIdentical,this,e,null,t)},Fe.prototype.minus=function(e,t){return new Bt(E.BinaryOperator.Minus,this,e,null,t)},Fe.prototype.plus=function(e,t){return new Bt(E.BinaryOperator.Plus,this,e,null,t)},Fe.prototype.divide=function(e,t){return new Bt(E.BinaryOperator.Divide,this,e,null,t)},Fe.prototype.multiply=function(e,t){return new Bt(E.BinaryOperator.Multiply,this,e,null,t)},Fe.prototype.modulo=function(e,t){return new Bt(E.BinaryOperator.Modulo,this,e,null,t)},Fe.prototype.and=function(e,t){return new Bt(E.BinaryOperator.And,this,e,null,t)},Fe.prototype.bitwiseAnd=function(e,t,n){return void 0===n&&(n=!0),new Bt(E.BinaryOperator.BitwiseAnd,this,e,null,t,n)},Fe.prototype.or=function(e,t){return new Bt(E.BinaryOperator.Or,this,e,null,t)},Fe.prototype.lower=function(e,t){return new Bt(E.BinaryOperator.Lower,this,e,null,t)},Fe.prototype.lowerEquals=function(e,t){return new Bt(E.BinaryOperator.LowerEquals,this,e,null,t)},Fe.prototype.bigger=function(e,t){return new Bt(E.BinaryOperator.Bigger,this,e,null,t)},Fe.prototype.biggerEquals=function(e,t){return new Bt(E.BinaryOperator.BiggerEquals,this,e,null,t)},Fe.prototype.isBlank=function(e){return this.equals(ln,e)},Fe.prototype.cast=function(e,t){return new At(this,e,t)},Fe.prototype.toStmt=function(){return new gn(this,null)},Fe);function Fe(e,t){this.type=e||null,this.sourceSpan=t||null}(Ne=E.BuiltinVar||(E.BuiltinVar={}))[Ne.This=0]="This",Ne[Ne.Super=1]="Super",Ne[Ne.CatchError=2]="CatchError",Ne[Ne.CatchStack=3]="CatchStack";var Le,Ve=(f(Be,Le=je),Be.prototype.isEquivalent=function(e){return e instanceof Be&&this.name===e.name&&this.builtin===e.builtin},Be.prototype.isConstant=function(){return!1},Be.prototype.visitExpression=function(e,t){return e.visitReadVarExpr(this,t)},Be.prototype.set=function(e){if(!this.name)throw new Error("Built in variable "+this.builtin+" can not be assigned to.");return new Ke(this.name,e,null,this.sourceSpan)},Be);function Be(e,t,n){var r=Le.call(this,t,n)||this;return"string"==typeof e?(r.name=e,r.builtin=null):(r.name=null,r.builtin=e),r}var Ue,ze=(f(qe,Ue=je),qe.prototype.visitExpression=function(e,t){return e.visitTypeofExpr(this,t)},qe.prototype.isEquivalent=function(e){return e instanceof qe&&e.expr.isEquivalent(this.expr)},qe.prototype.isConstant=function(){return this.expr.isConstant()},qe);function qe(e,t,n){var r=Ue.call(this,t,n)||this;return r.expr=e,r}var He,We=(f(Ge,He=je),Ge.prototype.isEquivalent=function(e){return e instanceof Ge&&this.node===e.node},Ge.prototype.isConstant=function(){return!1},Ge.prototype.visitExpression=function(e,t){return e.visitWrappedNodeExpr(this,t)},Ge);function Ge(e,t,n){var r=He.call(this,t,n)||this;return r.node=e,r}var Ye,Ke=(f(Ze,Ye=je),Ze.prototype.isEquivalent=function(e){return e instanceof Ze&&this.name===e.name&&this.value.isEquivalent(e.value)},Ze.prototype.isConstant=function(){return!1},Ze.prototype.visitExpression=function(e,t){return e.visitWriteVarExpr(this,t)},Ze.prototype.toDeclStmt=function(e,t){return new dn(this.name,this.value,e,t,this.sourceSpan)},Ze.prototype.toConstDecl=function(){return this.toDeclStmt(De,[E.StmtModifier.Final])},Ze);function Ze(e,t,n,r){var i=Ye.call(this,n||t.type,r)||this;return i.name=e,i.value=t,i}var Qe,Xe=(f($e,Qe=je),$e.prototype.isEquivalent=function(e){return e instanceof $e&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.value.isEquivalent(e.value)},$e.prototype.isConstant=function(){return!1},$e.prototype.visitExpression=function(e,t){return e.visitWriteKeyExpr(this,t)},$e);function $e(e,t,n,r,i){var o=Qe.call(this,r||n.type,i)||this;return o.receiver=e,o.index=t,o.value=n,o}var Je,et,tt=(f(nt,Je=je),nt.prototype.isEquivalent=function(e){return e instanceof nt&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.value.isEquivalent(e.value)},nt.prototype.isConstant=function(){return!1},nt.prototype.visitExpression=function(e,t){return e.visitWritePropExpr(this,t)},nt);function nt(e,t,n,r,i){var o=Je.call(this,r||n.type,i)||this;return o.receiver=e,o.name=t,o.value=n,o}(et=E.BuiltinMethod||(E.BuiltinMethod={}))[et.ConcatArray=0]="ConcatArray",et[et.SubscribeObservable=1]="SubscribeObservable",et[et.Bind=2]="Bind";var rt,it=(f(ot,rt=je),ot.prototype.isEquivalent=function(e){return e instanceof ot&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.builtin===e.builtin&&Re(this.args,e.args)},ot.prototype.isConstant=function(){return!1},ot.prototype.visitExpression=function(e,t){return e.visitInvokeMethodExpr(this,t)},ot);function ot(e,t,n,r,i){var o=rt.call(this,r,i)||this;return o.receiver=e,o.args=n,"string"==typeof t?(o.name=t,o.builtin=null):(o.name=null,o.builtin=t),o}var at,st=(f(lt,at=je),lt.prototype.isEquivalent=function(e){return e instanceof lt&&this.fn.isEquivalent(e.fn)&&Re(this.args,e.args)&&this.pure===e.pure},lt.prototype.isConstant=function(){return!1},lt.prototype.visitExpression=function(e,t){return e.visitInvokeFunctionExpr(this,t)},lt);function lt(e,t,n,r,i){void 0===i&&(i=!1);var o=at.call(this,n,r)||this;return o.fn=e,o.args=t,o.pure=i,o}var ut,ct=(f(pt,ut=je),pt.prototype.isEquivalent=function(e){return e instanceof pt&&this.classExpr.isEquivalent(e.classExpr)&&Re(this.args,e.args)},pt.prototype.isConstant=function(){return!1},pt.prototype.visitExpression=function(e,t){return e.visitInstantiateExpr(this,t)},pt);function pt(e,t,n,r){var i=ut.call(this,n,r)||this;return i.classExpr=e,i.args=t,i}var dt,ht=(f(ft,dt=je),ft.prototype.isEquivalent=function(e){return e instanceof ft&&this.value===e.value},ft.prototype.isConstant=function(){return!0},ft.prototype.visitExpression=function(e,t){return e.visitLiteralExpr(this,t)},ft);function ft(e,t,n){var r=dt.call(this,t,n)||this;return r.value=e,r}var mt,vt=(f(yt,mt=je),yt.prototype.isEquivalent=function(e){return!1},yt.prototype.isConstant=function(){return!1},yt.prototype.visitExpression=function(e,t){return e.visitLocalizedString(this,t)},yt);function yt(e,t,n,r,i){var o=mt.call(this,Pe,i)||this;return o.metaBlock=e,o.messageParts=t,o.placeHolderNames=n,o.expressions=r,o}var gt,_t=(f(bt,gt=je),bt.prototype.isEquivalent=function(e){return e instanceof bt&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName&&this.value.runtime===e.value.runtime},bt.prototype.isConstant=function(){return!1},bt.prototype.visitExpression=function(e,t){return e.visitExternalExpr(this,t)},bt);function bt(e,t,n,r){void 0===n&&(n=null);var i=gt.call(this,t,r)||this;return i.value=e,i.typeParams=n,i}var wt,xt=function(e,t,n){this.moduleName=e,this.name=t,this.runtime=n},Ct=(f(St,wt=je),St.prototype.isEquivalent=function(e){return e instanceof St&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&Me(this.falseCase,e.falseCase)},St.prototype.isConstant=function(){return!1},St.prototype.visitExpression=function(e,t){return e.visitConditionalExpr(this,t)},St);function St(e,t,n,r,i){void 0===n&&(n=null);var o=wt.call(this,r||t.type,i)||this;return o.condition=e,o.falseCase=n,o.trueCase=t,o}var Et,Ot=(f(kt,Et=je),kt.prototype.isEquivalent=function(e){return e instanceof kt&&this.condition.isEquivalent(e.condition)},kt.prototype.isConstant=function(){return!1},kt.prototype.visitExpression=function(e,t){return e.visitNotExpr(this,t)},kt);function kt(e,t){var n=Et.call(this,Te,t)||this;return n.condition=e,n}var Dt,Tt=(f(It,Dt=je),It.prototype.isEquivalent=function(e){return e instanceof It&&this.condition.isEquivalent(e.condition)},It.prototype.isConstant=function(){return!1},It.prototype.visitExpression=function(e,t){return e.visitAssertNotNullExpr(this,t)},It);function It(e,t){var n=Dt.call(this,e.type,t)||this;return n.condition=e,n}var Pt,At=(f(Mt,Pt=je),Mt.prototype.isEquivalent=function(e){return e instanceof Mt&&this.value.isEquivalent(e.value)},Mt.prototype.isConstant=function(){return!1},Mt.prototype.visitExpression=function(e,t){return e.visitCastExpr(this,t)},Mt);function Mt(e,t,n){var r=Pt.call(this,t,n)||this;return r.value=e,r}var Rt=(Nt.prototype.isEquivalent=function(e){return this.name===e.name},Nt);function Nt(e,t){void 0===t&&(t=null),this.name=e,this.type=t}var jt,Ft=(f(Lt,jt=je),Lt.prototype.isEquivalent=function(e){return e instanceof Lt&&Re(this.params,e.params)&&Re(this.statements,e.statements)},Lt.prototype.isConstant=function(){return!1},Lt.prototype.visitExpression=function(e,t){return e.visitFunctionExpr(this,t)},Lt.prototype.toDeclStmt=function(e,t){return void 0===t&&(t=null),new mn(e,this.params,this.statements,this.type,t,this.sourceSpan)},Lt);function Lt(e,t,n,r,i){var o=jt.call(this,n,r)||this;return o.params=e,o.statements=t,o.name=i,o}var Vt,Bt=(f(Ut,Vt=je),Ut.prototype.isEquivalent=function(e){return e instanceof Ut&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)},Ut.prototype.isConstant=function(){return!1},Ut.prototype.visitExpression=function(e,t){return e.visitBinaryOperatorExpr(this,t)},Ut);function Ut(e,t,n,r,i,o){void 0===o&&(o=!0);var a=Vt.call(this,r||t.type,i)||this;return a.operator=e,a.rhs=n,a.parens=o,a.lhs=t,a}var zt,qt=(f(Ht,zt=je),Ht.prototype.isEquivalent=function(e){return e instanceof Ht&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name},Ht.prototype.isConstant=function(){return!1},Ht.prototype.visitExpression=function(e,t){return e.visitReadPropExpr(this,t)},Ht.prototype.set=function(e){return new tt(this.receiver,this.name,e,null,this.sourceSpan)},Ht);function Ht(e,t,n,r){var i=zt.call(this,n,r)||this;return i.receiver=e,i.name=t,i}var Wt,Gt=(f(Yt,Wt=je),Yt.prototype.isEquivalent=function(e){return e instanceof Yt&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)},Yt.prototype.isConstant=function(){return!1},Yt.prototype.visitExpression=function(e,t){return e.visitReadKeyExpr(this,t)},Yt.prototype.set=function(e){return new Xe(this.receiver,this.index,e,null,this.sourceSpan)},Yt);function Yt(e,t,n,r){var i=Wt.call(this,n,r)||this;return i.receiver=e,i.index=t,i}var Kt,Zt=(f(Qt,Kt=je),Qt.prototype.isConstant=function(){return this.entries.every(function(e){return e.isConstant()})},Qt.prototype.isEquivalent=function(e){return e instanceof Qt&&Re(this.entries,e.entries)},Qt.prototype.visitExpression=function(e,t){return e.visitLiteralArrayExpr(this,t)},Qt);function Qt(e,t,n){var r=Kt.call(this,t,n)||this;return r.entries=e,r}var Xt=($t.prototype.isEquivalent=function(e){return this.key===e.key&&this.value.isEquivalent(e.value)},$t);function $t(e,t,n){this.key=e,this.value=t,this.quoted=n}var Jt,en=(f(tn,Jt=je),tn.prototype.isEquivalent=function(e){return e instanceof tn&&Re(this.entries,e.entries)},tn.prototype.isConstant=function(){return this.entries.every(function(e){return e.value.isConstant()})},tn.prototype.visitExpression=function(e,t){return e.visitLiteralMapExpr(this,t)},tn);function tn(e,t,n){var r=Jt.call(this,t,n)||this;return r.entries=e,r.valueType=null,t&&(r.valueType=t.valueType),r}var nn,rn=(f(on,nn=je),on.prototype.isEquivalent=function(e){return e instanceof on&&Re(this.parts,e.parts)},on.prototype.isConstant=function(){return!1},on.prototype.visitExpression=function(e,t){return e.visitCommaExpr(this,t)},on);function on(e,t){var n=nn.call(this,e[e.length-1].type,t)||this;return n.parts=e,n}new Ve(E.BuiltinVar.This,null,null),new Ve(E.BuiltinVar.Super,null,null),new Ve(E.BuiltinVar.CatchError,null,null),new Ve(E.BuiltinVar.CatchStack,null,null);var an,sn=new ht(null,null,null),ln=new ht(null,De,null);(an=E.StmtModifier||(E.StmtModifier={}))[an.Final=0]="Final",an[an.Private=1]="Private",an[an.Exported=2]="Exported",an[an.Static=3]="Static";var un=(cn.prototype.hasModifier=function(e){return-1!==this.modifiers.indexOf(e)},cn);function cn(e,t){this.modifiers=e||[],this.sourceSpan=t||null}var pn,dn=(f(hn,pn=un),hn.prototype.isEquivalent=function(e){return e instanceof hn&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)},hn.prototype.visitStatement=function(e,t){return e.visitDeclareVarStmt(this,t)},hn);function hn(e,t,n,r,i){void 0===r&&(r=null);var o=pn.call(this,r,i)||this;return o.name=e,o.value=t,o.type=n||t&&t.type||null,o}var fn,mn=(f(vn,fn=un),vn.prototype.isEquivalent=function(e){return e instanceof vn&&Re(this.params,e.params)&&Re(this.statements,e.statements)},vn.prototype.visitStatement=function(e,t){return e.visitDeclareFunctionStmt(this,t)},vn);function vn(e,t,n,r,i,o){void 0===i&&(i=null);var a=fn.call(this,i,o)||this;return a.name=e,a.params=t,a.statements=n,a.type=r||null,a}var yn,gn=(f(_n,yn=un),_n.prototype.isEquivalent=function(e){return e instanceof _n&&this.expr.isEquivalent(e.expr)},_n.prototype.visitStatement=function(e,t){return e.visitExpressionStmt(this,t)},_n);function _n(e,t){var n=yn.call(this,null,t)||this;return n.expr=e,n}var bn,wn=(f(xn,bn=un),xn.prototype.isEquivalent=function(e){return e instanceof xn&&this.value.isEquivalent(e.value)},xn.prototype.visitStatement=function(e,t){return e.visitReturnStmt(this,t)},xn);function xn(e,t){var n=bn.call(this,null,t)||this;return n.value=e,n}var Cn=(Sn.prototype.hasModifier=function(e){return-1!==this.modifiers.indexOf(e)},Sn);function Sn(e,t){(this.modifiers=t)||(this.modifiers=[]),this.type=e||null}var En,On=(f(kn,En=Cn),kn.prototype.isEquivalent=function(e){return this.name===e.name},kn);function kn(e,t,n,r){void 0===n&&(n=null);var i=En.call(this,t,n)||this;return i.name=e,i.initializer=r,i}var Dn,Tn=(f(In,Dn=Cn),In.prototype.isEquivalent=function(e){return this.name===e.name&&Re(this.body,e.body)},In);function In(e,t,n,r,i){void 0===i&&(i=null);var o=Dn.call(this,r,i)||this;return o.name=e,o.params=t,o.body=n,o}var Pn,An=(f(Mn,Pn=Cn),Mn.prototype.isEquivalent=function(e){return this.name===e.name&&Re(this.body,e.body)},Mn);function Mn(e,t,n,r){void 0===r&&(r=null);var i=Pn.call(this,n,r)||this;return i.name=e,i.body=t,i}var Rn,Nn=(f(jn,Rn=un),jn.prototype.isEquivalent=function(e){return e instanceof jn&&this.name===e.name&&Me(this.parent,e.parent)&&Re(this.fields,e.fields)&&Re(this.getters,e.getters)&&this.constructorMethod.isEquivalent(e.constructorMethod)&&Re(this.methods,e.methods)},jn.prototype.visitStatement=function(e,t){return e.visitDeclareClassStmt(this,t)},jn);function jn(e,t,n,r,i,o,a,s){void 0===a&&(a=null);var l=Rn.call(this,a,s)||this;return l.name=e,l.parent=t,l.fields=n,l.getters=r,l.constructorMethod=i,l.methods=o,l}var Fn,Ln=(f(Vn,Fn=un),Vn.prototype.isEquivalent=function(e){return e instanceof Vn&&this.condition.isEquivalent(e.condition)&&Re(this.trueCase,e.trueCase)&&Re(this.falseCase,e.falseCase)},Vn.prototype.visitStatement=function(e,t){return e.visitIfStmt(this,t)},Vn);function Vn(e,t,n,r){void 0===n&&(n=[]);var i=Fn.call(this,null,r)||this;return i.condition=e,i.trueCase=t,i.falseCase=n,i}var Bn,Un=(f(zn,Bn=un),zn.prototype.isEquivalent=function(e){return e instanceof zn},zn.prototype.visitStatement=function(e,t){return e.visitCommentStmt(this,t)},zn);function zn(e,t,n){void 0===t&&(t=!1);var r=Bn.call(this,null,n)||this;return r.comment=e,r.multiline=t,r}var qn,Hn=(f(Wn,qn=un),Wn.prototype.isEquivalent=function(e){return e instanceof Wn&&this.toString()===e.toString()},Wn.prototype.visitStatement=function(e,t){return e.visitJSDocCommentStmt(this,t)},Wn.prototype.toString=function(){return function(e){var t,n;if(0===e.length)return"";var r="*\n";try{for(var i=z(e),o=i.next();!o.done;o=i.next()){var a=o.value;r+=" *",r+=Cr(a).replace(/\n/g,"\n * "),r+="\n"}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r+=" "}(this.tags)},Wn);function Wn(e,t){void 0===e&&(e=[]);var n=qn.call(this,null,t)||this;return n.tags=e,n}var Gn,Yn=(f(Kn,Gn=un),Kn.prototype.isEquivalent=function(e){return e instanceof Kn&&Re(this.bodyStmts,e.bodyStmts)&&Re(this.catchStmts,e.catchStmts)},Kn.prototype.visitStatement=function(e,t){return e.visitTryCatchStmt(this,t)},Kn);function Kn(e,t,n){var r=Gn.call(this,null,n)||this;return r.bodyStmts=e,r.catchStmts=t,r}var Zn,Qn=(f(Xn,Zn=un),Xn.prototype.isEquivalent=function(e){return e instanceof Yn&&this.error.isEquivalent(e.error)},Xn.prototype.visitStatement=function(e,t){return e.visitThrowStmt(this,t)},Xn);function Xn(e,t){var n=Zn.call(this,null,t)||this;return n.error=e,n}var $n=(Jn.prototype.transformExpr=function(e,t){return e},Jn.prototype.transformStmt=function(e,t){return e},Jn.prototype.visitReadVarExpr=function(e,t){return this.transformExpr(e,t)},Jn.prototype.visitWrappedNodeExpr=function(e,t){return this.transformExpr(e,t)},Jn.prototype.visitTypeofExpr=function(e,t){return this.transformExpr(new ze(e.expr.visitExpression(this,t),e.type,e.sourceSpan),t)},Jn.prototype.visitWriteVarExpr=function(e,t){return this.transformExpr(new Ke(e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)},Jn.prototype.visitWriteKeyExpr=function(e,t){return this.transformExpr(new Xe(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),e.type,e.sourceSpan),t)},Jn.prototype.visitWritePropExpr=function(e,t){return this.transformExpr(new tt(e.receiver.visitExpression(this,t),e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)},Jn.prototype.visitInvokeMethodExpr=function(e,t){var n=e.builtin||e.name;return this.transformExpr(new it(e.receiver.visitExpression(this,t),n,this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)},Jn.prototype.visitInvokeFunctionExpr=function(e,t){return this.transformExpr(new st(e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)},Jn.prototype.visitInstantiateExpr=function(e,t){return this.transformExpr(new ct(e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)},Jn.prototype.visitLiteralExpr=function(e,t){return this.transformExpr(e,t)},Jn.prototype.visitLocalizedString=function(e,t){return this.transformExpr(new vt(e.metaBlock,e.messageParts,e.placeHolderNames,this.visitAllExpressions(e.expressions,t),e.sourceSpan),t)},Jn.prototype.visitExternalExpr=function(e,t){return this.transformExpr(e,t)},Jn.prototype.visitConditionalExpr=function(e,t){return this.transformExpr(new Ct(e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),e.type,e.sourceSpan),t)},Jn.prototype.visitNotExpr=function(e,t){return this.transformExpr(new Ot(e.condition.visitExpression(this,t),e.sourceSpan),t)},Jn.prototype.visitAssertNotNullExpr=function(e,t){return this.transformExpr(new Tt(e.condition.visitExpression(this,t),e.sourceSpan),t)},Jn.prototype.visitCastExpr=function(e,t){return this.transformExpr(new At(e.value.visitExpression(this,t),e.type,e.sourceSpan),t)},Jn.prototype.visitFunctionExpr=function(e,t){return this.transformExpr(new Ft(e.params,this.visitAllStatements(e.statements,t),e.type,e.sourceSpan),t)},Jn.prototype.visitBinaryOperatorExpr=function(e,t){return this.transformExpr(new Bt(e.operator,e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),e.type,e.sourceSpan),t)},Jn.prototype.visitReadPropExpr=function(e,t){return this.transformExpr(new qt(e.receiver.visitExpression(this,t),e.name,e.type,e.sourceSpan),t)},Jn.prototype.visitReadKeyExpr=function(e,t){return this.transformExpr(new Gt(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.type,e.sourceSpan),t)},Jn.prototype.visitLiteralArrayExpr=function(e,t){return this.transformExpr(new Zt(this.visitAllExpressions(e.entries,t),e.type,e.sourceSpan),t)},Jn.prototype.visitLiteralMapExpr=function(e,t){var n=this,r=e.entries.map(function(e){return new Xt(e.key,e.value.visitExpression(n,t),e.quoted)}),i=new Se(e.valueType,null);return this.transformExpr(new en(r,i,e.sourceSpan),t)},Jn.prototype.visitCommaExpr=function(e,t){return this.transformExpr(new rn(this.visitAllExpressions(e.parts,t),e.sourceSpan),t)},Jn.prototype.visitAllExpressions=function(e,t){var n=this;return e.map(function(e){return e.visitExpression(n,t)})},Jn.prototype.visitDeclareVarStmt=function(e,t){var n=e.value&&e.value.visitExpression(this,t);return this.transformStmt(new dn(e.name,n,e.type,e.modifiers,e.sourceSpan),t)},Jn.prototype.visitDeclareFunctionStmt=function(e,t){return this.transformStmt(new mn(e.name,e.params,this.visitAllStatements(e.statements,t),e.type,e.modifiers,e.sourceSpan),t)},Jn.prototype.visitExpressionStmt=function(e,t){return this.transformStmt(new gn(e.expr.visitExpression(this,t),e.sourceSpan),t)},Jn.prototype.visitReturnStmt=function(e,t){return this.transformStmt(new wn(e.value.visitExpression(this,t),e.sourceSpan),t)},Jn.prototype.visitDeclareClassStmt=function(e,t){var n=this,r=e.parent.visitExpression(this,t),i=e.getters.map(function(e){return new An(e.name,n.visitAllStatements(e.body,t),e.type,e.modifiers)}),o=e.constructorMethod&&new Tn(e.constructorMethod.name,e.constructorMethod.params,this.visitAllStatements(e.constructorMethod.body,t),e.constructorMethod.type,e.constructorMethod.modifiers),a=e.methods.map(function(e){return new Tn(e.name,e.params,n.visitAllStatements(e.body,t),e.type,e.modifiers)});return this.transformStmt(new Nn(e.name,r,e.fields,i,o,a,e.modifiers,e.sourceSpan),t)},Jn.prototype.visitIfStmt=function(e,t){return this.transformStmt(new Ln(e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e.sourceSpan),t)},Jn.prototype.visitTryCatchStmt=function(e,t){return this.transformStmt(new Yn(this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e.sourceSpan),t)},Jn.prototype.visitThrowStmt=function(e,t){return this.transformStmt(new Qn(e.error.visitExpression(this,t),e.sourceSpan),t)},Jn.prototype.visitCommentStmt=function(e,t){return this.transformStmt(e,t)},Jn.prototype.visitJSDocCommentStmt=function(e,t){return this.transformStmt(e,t)},Jn.prototype.visitAllStatements=function(e,t){var n=this;return e.map(function(e){return e.visitStatement(n,t)})},Jn);function Jn(){}var er=(tr.prototype.visitType=function(e,t){return e},tr.prototype.visitExpression=function(e,t){return e.type&&e.type.visitType(this,t),e},tr.prototype.visitBuiltinType=function(e,t){return this.visitType(e,t)},tr.prototype.visitExpressionType=function(e,t){var n=this;return e.value.visitExpression(this,t),null!==e.typeParams&&e.typeParams.forEach(function(e){return n.visitType(e,t)}),this.visitType(e,t)},tr.prototype.visitArrayType=function(e,t){return this.visitType(e,t)},tr.prototype.visitMapType=function(e,t){return this.visitType(e,t)},tr.prototype.visitWrappedNodeExpr=function(e,t){return e},tr.prototype.visitTypeofExpr=function(e,t){return this.visitExpression(e,t)},tr.prototype.visitReadVarExpr=function(e,t){return this.visitExpression(e,t)},tr.prototype.visitWriteVarExpr=function(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)},tr.prototype.visitWriteKeyExpr=function(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)},tr.prototype.visitWritePropExpr=function(e,t){return e.receiver.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)},tr.prototype.visitInvokeMethodExpr=function(e,t){return e.receiver.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)},tr.prototype.visitInvokeFunctionExpr=function(e,t){return e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)},tr.prototype.visitInstantiateExpr=function(e,t){return e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)},tr.prototype.visitLiteralExpr=function(e,t){return this.visitExpression(e,t)},tr.prototype.visitLocalizedString=function(e,t){return this.visitExpression(e,t)},tr.prototype.visitExternalExpr=function(e,t){var n=this;return e.typeParams&&e.typeParams.forEach(function(e){return e.visitType(n,t)}),this.visitExpression(e,t)},tr.prototype.visitConditionalExpr=function(e,t){return e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),this.visitExpression(e,t)},tr.prototype.visitNotExpr=function(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)},tr.prototype.visitAssertNotNullExpr=function(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)},tr.prototype.visitCastExpr=function(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)},tr.prototype.visitFunctionExpr=function(e,t){return this.visitAllStatements(e.statements,t),this.visitExpression(e,t)},tr.prototype.visitBinaryOperatorExpr=function(e,t){return e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),this.visitExpression(e,t)},tr.prototype.visitReadPropExpr=function(e,t){return e.receiver.visitExpression(this,t),this.visitExpression(e,t)},tr.prototype.visitReadKeyExpr=function(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),this.visitExpression(e,t)},tr.prototype.visitLiteralArrayExpr=function(e,t){return this.visitAllExpressions(e.entries,t),this.visitExpression(e,t)},tr.prototype.visitLiteralMapExpr=function(e,t){var n=this;return e.entries.forEach(function(e){return e.value.visitExpression(n,t)}),this.visitExpression(e,t)},tr.prototype.visitCommaExpr=function(e,t){return this.visitAllExpressions(e.parts,t),this.visitExpression(e,t)},tr.prototype.visitAllExpressions=function(e,t){var n=this;e.forEach(function(e){return e.visitExpression(n,t)})},tr.prototype.visitDeclareVarStmt=function(e,t){return e.value&&e.value.visitExpression(this,t),e.type&&e.type.visitType(this,t),e},tr.prototype.visitDeclareFunctionStmt=function(e,t){return this.visitAllStatements(e.statements,t),e.type&&e.type.visitType(this,t),e},tr.prototype.visitExpressionStmt=function(e,t){return e.expr.visitExpression(this,t),e},tr.prototype.visitReturnStmt=function(e,t){return e.value.visitExpression(this,t),e},tr.prototype.visitDeclareClassStmt=function(e,t){var n=this;return e.parent.visitExpression(this,t),e.getters.forEach(function(e){return n.visitAllStatements(e.body,t)}),e.constructorMethod&&this.visitAllStatements(e.constructorMethod.body,t),e.methods.forEach(function(e){return n.visitAllStatements(e.body,t)}),e},tr.prototype.visitIfStmt=function(e,t){return e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e},tr.prototype.visitTryCatchStmt=function(e,t){return this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e},tr.prototype.visitThrowStmt=function(e,t){return e.error.visitExpression(this,t),e},tr.prototype.visitCommentStmt=function(e,t){return e},tr.prototype.visitJSDocCommentStmt=function(e,t){return e},tr.prototype.visitAllStatements=function(e,t){var n=this;e.forEach(function(e){return e.visitStatement(n,t)})},tr);function tr(){}function nr(e){var t=new ir;return t.visitAllStatements(e,null),t.varNames}var rr,ir=(f(or,rr=er),or.prototype.visitDeclareFunctionStmt=function(e,t){return e},or.prototype.visitDeclareClassStmt=function(e,t){return e},or.prototype.visitReadVarExpr=function(e,t){return e.name&&this.varNames.add(e.name),null},or);function or(){var e=null!==rr&&rr.apply(this,arguments)||this;return e.varNames=new Set,e}var ar,sr=(f(lr,ar=er),lr.prototype.visitExternalExpr=function(e,t){return this.externalReferences.push(e.value),ar.prototype.visitExternalExpr.call(this,e,t)},lr);function lr(){var e=null!==ar&&ar.apply(this,arguments)||this;return e.externalReferences=[],e}function ur(e,t){if(!t)return e;var n=new dr(t);return e.visitStatement(n,null)}function cr(e,t){if(!t)return e;var n=new dr(t);return e.visitExpression(n,null)}var pr,dr=(f(hr,pr=$n),hr.prototype._clone=function(e){var t,n,r=Object.create(e.constructor.prototype);try{for(var i=z(Object.keys(e)),o=i.next();!o.done;o=i.next()){var a=o.value;r[a]=e[a]}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},hr.prototype.transformExpr=function(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e},hr.prototype.transformStmt=function(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e},hr);function hr(e){var t=pr.call(this)||this;return t.sourceSpan=e,t}function fr(e,t,n){return new Ve(e,t,n)}function mr(e,t,n){return void 0===t&&(t=null),new _t(e,null,t,n)}function vr(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),null!=e?yr(mr(e,t,null),n):null}function yr(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),new ge(e,t,n)}function gr(e,t,n){return new Zt(e,t,n)}function _r(e,t){return void 0===t&&(t=null),new en(e.map(function(e){return new Xt(e.key,e.value,e.quoted)}),t,null)}function br(e,t,n,r,i){return new Ft(e,t,n,r,i)}function wr(e,t,n){return new Ln(e,t,n)}function xr(e,t,n){return new ht(e,t,n)}function Cr(e){var t="";if(e.tagName&&(t+=" @"+e.tagName),e.text){if(e.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');t+=" "+e.text.replace(/@/g,"\\@")}return t}var Sr=/-+([a-z0-9])/g;function Er(e,t){return Or(e,":",t)}function Or(e,t,n){var r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function kr(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===Br}(e)?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n)}function Dr(e){return null!=e}function Tr(e){return void 0===e?null:e}var Ir=(Pr.prototype.visitArray=function(e,t){var n=this;return e.map(function(e){return kr(e,n,t)})},Pr.prototype.visitStringMap=function(t,n){var r=this,i={};return Object.keys(t).forEach(function(e){i[e]=kr(t[e],r,n)}),i},Pr.prototype.visitPrimitive=function(e,t){return e},Pr.prototype.visitOther=function(e,t){return e},Pr);function Pr(){}var Ar=function(e){if(Hr(e))throw new Error("Illegal state: value cannot be a promise");return e},Mr=function(e,t){return Hr(e)?e.then(t):t(e)},Rr=function(e){return e.some(Hr)?Promise.all(e):e};function Nr(e){throw new Error("Internal Error: "+e)}function jr(e,t){var n=Error(e);return n[Fr]=!0,t&&(n[Lr]=t),n}var Fr="ngSyntaxError",Lr="ngParseErrors";function Vr(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}var Br=Object.getPrototypeOf({});function Ur(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);if(55296<=r&&r<=56319&&e.length>n+1){var i=e.charCodeAt(n+1);56320<=i&&i<=57343&&(n++,r=(r-55296<<10)+i-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t}function zr(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(zr).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;if(!e.toString)return"object";var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function qr(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function Hr(e){return!!e&&"function"==typeof e.then}var Wr=function(e){var t=(this.full=e).split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")},Gr="undefined"!=typeof window&&window,Yr="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Kr="undefined"!=typeof global&&global||Gr||Yr;function Zr(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}var Qr,Xr={},$r=(f(Jr,Qr=je),Jr.prototype.visitExpression=function(e,t){return t===Xr?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)},Jr.prototype.isEquivalent=function(e){return e instanceof Jr&&this.resolved.isEquivalent(e.resolved)},Jr.prototype.isConstant=function(){return!0},Jr.prototype.fixup=function(e){this.resolved=e,this.shared=!0},Jr);function Jr(e){var t=Qr.call(this,e.type)||this;return t.resolved=e,t.original=e,t}var ei=(ti.prototype.getConstLiteral=function(e,t){if(e instanceof ht||e instanceof $r)return e;var n=this.keyOf(e),r=this.literals.get(n),i=!1;if(r||(r=new $r(e),this.literals.set(n,r),i=!0),!i&&!r.shared||i&&t){var o=this.freshName();this.statements.push(fr(o).set(e).toDeclStmt(De,[E.StmtModifier.Final])),r.fixup(fr(o))}return r},ti.prototype.getDefinition=function(e,t,n,r){void 0===r&&(r=!1);var i=this.definitionsOf(t),o=i.get(e),a=!1;if(!o){var s=this.propertyNameOf(t);o=new $r(n.importExpr(e).prop(s)),i.set(e,o),a=!0}if(!a&&!o.shared||a&&r){var l=this.freshName();this.statements.push(fr(l).set(o.resolved).toDeclStmt(De,[E.StmtModifier.Final])),o.fixup(fr(l))}return o},ti.prototype.getLiteralFactory=function(n){if(n instanceof Zt){var e=n.entries.map(function(e){return e.isConstant()?e:xr(null)}),t=this.keyOf(gr(e));return this._getLiteralFactory(t,n.entries,function(e){return gr(e)})}var r=_r(n.entries.map(function(e){return{key:e.key,value:e.value.isConstant()?e.value:xr(null),quoted:e.quoted}}));return t=this.keyOf(r),this._getLiteralFactory(t,n.entries.map(function(e){return e.value}),function(e){return _r(e.map(function(e,t){return{key:n.entries[t].key,value:e,quoted:n.entries[t].quoted}}))})},ti.prototype._getLiteralFactory=function(e,t,n){var r=this,i=this.literalFactories.get(e),o=t.filter(function(e){return!e.isConstant()});if(!i){var a=t.map(function(e,t){return e.isConstant()?r.getConstLiteral(e,!0):fr("a"+t)}),s=br(a.filter(oi).map(function(e){return new Rt(e.name,ke)}),[new wn(n(a))],De),l=this.freshName();this.statements.push(fr(l).set(s).toDeclStmt(De,[E.StmtModifier.Final])),i=fr(l),this.literalFactories.set(e,i)}return{literalFactory:i,literalFactoryArguments:o}},ti.prototype.uniqueName=function(e){return""+e+this.nextNameIndex++},ti.prototype.definitionsOf=function(e){switch(e){case 2:return this.componentDefinitions;case 1:return this.directiveDefinitions;case 0:return this.injectorDefinitions;case 3:return this.pipeDefinitions}return Nr("Unknown definition kind "+e),this.componentDefinitions},ti.prototype.propertyNameOf=function(e){switch(e){case 2:return"ɵcmp";case 1:return"ɵdir";case 0:return"ɵinj";case 3:return"ɵpipe"}return Nr("Unknown definition kind "+e),"<unknown>"},ti.prototype.freshName=function(){return this.uniqueName("_c")},ti.prototype.keyOf=function(e){return e.visitExpression(new ni,Xr)},ti);function ti(){this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.injectorDefinitions=new Map,this.directiveDefinitions=new Map,this.componentDefinitions=new Map,this.pipeDefinitions=new Map,this.nextNameIndex=0}var ni=(ri.prototype.visitLiteralExpr=function(e){return""+("string"==typeof e.value?'"'+e.value+'"':e.value)},ri.prototype.visitLiteralArrayExpr=function(e,t){var n=this;return"["+e.entries.map(function(e){return e.visitExpression(n,t)}).join(",")+"]"},ri.prototype.visitLiteralMapExpr=function(e,t){var n=this;return"{"+e.entries.map(function(e){return function(e){var t=e.quoted?'"':"";return t+e.key+t}(e)+":"+e.value.visitExpression(n,t)}).join(",")},ri.prototype.visitExternalExpr=function(e){return e.value.moduleName?"EX:"+e.value.moduleName+":"+e.value.name:"EX:"+e.value.runtime.name},ri.prototype.visitReadVarExpr=function(e){return"VAR:"+e.name},ri.prototype.visitTypeofExpr=function(e,t){return"TYPEOF:"+e.expr.visitExpression(this,t)},ri);function ri(){this.visitWrappedNodeExpr=ii,this.visitWriteVarExpr=ii,this.visitWriteKeyExpr=ii,this.visitWritePropExpr=ii,this.visitInvokeMethodExpr=ii,this.visitInvokeFunctionExpr=ii,this.visitInstantiateExpr=ii,this.visitConditionalExpr=ii,this.visitNotExpr=ii,this.visitAssertNotNullExpr=ii,this.visitCastExpr=ii,this.visitFunctionExpr=ii,this.visitBinaryOperatorExpr=ii,this.visitReadPropExpr=ii,this.visitReadKeyExpr=ii,this.visitCommaExpr=ii,this.visitLocalizedString=ii}function ii(e){throw new Error("Invalid state: Visitor "+this.constructor.name+" doesn't handle "+e.constructor.name)}function oi(e){return e instanceof Ve}var ai="@angular/core",si=(li.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:ai},li.ElementRef={name:"ElementRef",moduleName:ai},li.NgModuleRef={name:"NgModuleRef",moduleName:ai},li.ViewContainerRef={name:"ViewContainerRef",moduleName:ai},li.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:ai},li.QueryList={name:"QueryList",moduleName:ai},li.TemplateRef={name:"TemplateRef",moduleName:ai},li.Renderer2={name:"Renderer2",moduleName:ai},li.CodegenComponentFactoryResolver={name:"ɵCodegenComponentFactoryResolver",moduleName:ai},li.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:ai},li.ComponentFactory={name:"ComponentFactory",moduleName:ai},li.ComponentRef={name:"ComponentRef",moduleName:ai},li.NgModuleFactory={name:"NgModuleFactory",moduleName:ai},li.createModuleFactory={name:"ɵcmf",moduleName:ai},li.moduleDef={name:"ɵmod",moduleName:ai},li.moduleProviderDef={name:"ɵmpd",moduleName:ai},li.RegisterModuleFactoryFn={name:"ɵregisterModuleFactory",moduleName:ai},li.inject={name:"ɵɵinject",moduleName:ai},li.directiveInject={name:"ɵɵdirectiveInject",moduleName:ai},li.INJECTOR={name:"INJECTOR",moduleName:ai},li.Injector={name:"Injector",moduleName:ai},li.ɵɵdefineInjectable={name:"ɵɵdefineInjectable",moduleName:ai},li.InjectableDef={name:"ɵɵInjectableDef",moduleName:ai},li.ViewEncapsulation={name:"ViewEncapsulation",moduleName:ai},li.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:ai},li.SecurityContext={name:"SecurityContext",moduleName:ai},li.LOCALE_ID={name:"LOCALE_ID",moduleName:ai},li.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:ai},li.inlineInterpolate={name:"ɵinlineInterpolate",moduleName:ai},li.interpolate={name:"ɵinterpolate",moduleName:ai},li.EMPTY_ARRAY={name:"ɵEMPTY_ARRAY",moduleName:ai},li.EMPTY_MAP={name:"ɵEMPTY_MAP",moduleName:ai},li.Renderer={name:"Renderer",moduleName:ai},li.viewDef={name:"ɵvid",moduleName:ai},li.elementDef={name:"ɵeld",moduleName:ai},li.anchorDef={name:"ɵand",moduleName:ai},li.textDef={name:"ɵted",moduleName:ai},li.directiveDef={name:"ɵdid",moduleName:ai},li.providerDef={name:"ɵprd",moduleName:ai},li.queryDef={name:"ɵqud",moduleName:ai},li.pureArrayDef={name:"ɵpad",moduleName:ai},li.pureObjectDef={name:"ɵpod",moduleName:ai},li.purePipeDef={name:"ɵppd",moduleName:ai},li.pipeDef={name:"ɵpid",moduleName:ai},li.nodeValue={name:"ɵnov",moduleName:ai},li.ngContentDef={name:"ɵncd",moduleName:ai},li.unwrapValue={name:"ɵunv",moduleName:ai},li.createRendererType2={name:"ɵcrt",moduleName:ai},li.RendererType2={name:"RendererType2",moduleName:ai},li.ViewDefinition={name:"ɵViewDefinition",moduleName:ai},li.createComponentFactory={name:"ɵccf",moduleName:ai},li.setClassMetadata={name:"ɵsetClassMetadata",moduleName:ai},li);function li(){}function ui(e){return{identifier:{reference:e}}}function ci(e,t){return ui(e.resolveExternalReference(t))}var pi=(di.prototype.assertNoMembers=function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got "+JSON.stringify(this)+".")},di);function di(e,t,n){this.filePath=e,this.name=t,this.members=n}var hi=(fi.prototype.get=function(e,t,n){var r='"'+e+'".'+t+((n=n||[]).length?"."+n.join("."):""),i=this.cache.get(r);return i||(i=new pi(e,t,n),this.cache.set(r,i)),i},fi);function fi(){this.cache=new Map}var mi=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function vi(e){return e.replace(/\W/g,"_")}var yi,gi=0;function _i(e){if(!e||!e.reference)return null;var t=e.reference;if(t instanceof pi)return t.name;if(t.__anonymousType)return t.__anonymousType;var n=zr(t);return 0<=n.indexOf("(")?(n="anonymous_"+gi++,t.__anonymousType=n):n=vi(n),n}function bi(e){var t=e.reference;return t instanceof pi?t.filePath:"./"+zr(t)}function wi(e,t){return"View_"+_i({reference:e})+"_"+t}function xi(e){return"RenderType_"+_i({reference:e})}function Ci(e){return"HostView_"+_i({reference:e})}function Si(e){return _i({reference:e})+"NgFactory"}function Ei(e){return null!=e.value?vi(e.value):_i(e.identifier)}function Oi(e){return null!=e.identifier?e.identifier.reference:e.value}(yi=E.CompileSummaryKind||(E.CompileSummaryKind={}))[yi.Pipe=0]="Pipe",yi[yi.Directive=1]="Directive",yi[yi.NgModule=2]="NgModule",yi[yi.Injectable=3]="Injectable";var ki=function(e){var t=void 0===e?{}:e,n=t.moduleUrl,r=t.styles,i=t.styleUrls;this.moduleUrl=n||null,this.styles=Vi(r),this.styleUrls=Vi(i)},Di=(Ti.prototype.toSummary=function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}},Ti);function Ti(e){var t=e.encapsulation,n=e.template,r=e.templateUrl,i=e.htmlAst,o=e.styles,a=e.styleUrls,s=e.externalStylesheets,l=e.animations,u=e.ngContentSelectors,c=e.interpolation,p=e.isInline,d=e.preserveWhitespaces;if(this.encapsulation=t,this.template=n,this.templateUrl=r,this.htmlAst=i,this.styles=Vi(o),this.styleUrls=Vi(a),this.externalStylesheets=Vi(s),this.animations=l?Ui(l):[],this.ngContentSelectors=u||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=p,this.preserveWhitespaces=d}var Ii=(Pi.create=function(e){var t=e.isHost,n=e.type,r=e.isComponent,i=e.selector,o=e.exportAs,a=e.changeDetection,s=e.inputs,l=e.outputs,u=e.host,c=e.providers,p=e.viewProviders,d=e.queries,h=e.guards,f=e.viewQueries,m=e.entryComponents,v=e.template,y=e.componentViewType,g=e.rendererType,_=e.componentFactory,b={},w={},x={};null!=u&&Object.keys(u).forEach(function(e){var t=u[e],n=e.match(mi);null===n?x[e]=t:null!=n[1]?w[n[1]]=t:null!=n[2]&&(b[n[2]]=t)});var C={};null!=s&&s.forEach(function(e){var t=Er(e,[e,e]);C[t[0]]=t[1]});var S={};return null!=l&&l.forEach(function(e){var t=Er(e,[e,e]);S[t[0]]=t[1]}),new Pi({isHost:t,type:n,isComponent:!!r,selector:i,exportAs:o,changeDetection:a,inputs:C,outputs:S,hostListeners:b,hostProperties:w,hostAttributes:x,providers:c,viewProviders:p,queries:d,guards:h,viewQueries:f,entryComponents:m,template:v,componentViewType:y,rendererType:g,componentFactory:_})},Pi.prototype.toSummary=function(){return{summaryKind:E.CompileSummaryKind.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}},Pi);function Pi(e){var t=e.isHost,n=e.type,r=e.isComponent,i=e.selector,o=e.exportAs,a=e.changeDetection,s=e.inputs,l=e.outputs,u=e.hostListeners,c=e.hostProperties,p=e.hostAttributes,d=e.providers,h=e.viewProviders,f=e.queries,m=e.guards,v=e.viewQueries,y=e.entryComponents,g=e.template,_=e.componentViewType,b=e.rendererType,w=e.componentFactory;this.isHost=!!t,this.type=n,this.isComponent=r,this.selector=i,this.exportAs=o,this.changeDetection=a,this.inputs=s,this.outputs=l,this.hostListeners=u,this.hostProperties=c,this.hostAttributes=p,this.providers=Vi(d),this.viewProviders=Vi(h),this.queries=Vi(f),this.guards=m,this.viewQueries=Vi(v),this.entryComponents=Vi(y),this.template=g,this.componentViewType=_,this.rendererType=b,this.componentFactory=w}var Ai=(Mi.prototype.toSummary=function(){return{summaryKind:E.CompileSummaryKind.Pipe,type:this.type,name:this.name,pure:this.pure}},Mi);function Mi(e){var t=e.type,n=e.name,r=e.pure;this.type=t,this.name=n,this.pure=!!r}function Ri(){}var Ni=(ji.prototype.toSummary=function(){var e=this.transitiveModule;return{summaryKind:E.CompileSummaryKind.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}},ji);function ji(e){var t=e.type,n=e.providers,r=e.declaredDirectives,i=e.exportedDirectives,o=e.declaredPipes,a=e.exportedPipes,s=e.entryComponents,l=e.bootstrapComponents,u=e.importedModules,c=e.exportedModules,p=e.schemas,d=e.transitiveModule,h=e.id;this.type=t||null,this.declaredDirectives=Vi(r),this.exportedDirectives=Vi(i),this.declaredPipes=Vi(o),this.exportedPipes=Vi(a),this.providers=Vi(n),this.entryComponents=Vi(s),this.bootstrapComponents=Vi(l),this.importedModules=Vi(u),this.exportedModules=Vi(c),this.schemas=Vi(p),this.id=h||null,this.transitiveModule=d||null}var Fi=(Li.prototype.addProvider=function(e,t){this.providers.push({provider:e,module:t})},Li.prototype.addDirective=function(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))},Li.prototype.addExportedDirective=function(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))},Li.prototype.addPipe=function(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))},Li.prototype.addExportedPipe=function(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))},Li.prototype.addModule=function(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))},Li.prototype.addEntryComponent=function(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))},Li);function Li(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}function Vi(e){return e||[]}var Bi=function(e,t){var n=t.useClass,r=t.useValue,i=t.useExisting,o=t.useFactory,a=t.deps,s=t.multi;this.token=e,this.useClass=n||null,this.useValue=r,this.useExisting=i,this.useFactory=o||null,this.dependencies=a||null,this.multi=!!s};function Ui(e){return e.reduce(function(e,t){var n=Array.isArray(t)?Ui(t):t;return e.concat(n)},[])}function zi(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function qi(e,t,n){var r;return r=n.isInline?t.type.reference instanceof pi?t.type.reference.filePath+"."+t.type.reference.name+".html":_i(e)+"/"+_i(t.type)+".html":n.templateUrl,t.type.reference instanceof pi?r:zi(r)}function Hi(e,t){var n=e.moduleUrl.split(/\/\\/g);return zi("css/"+t+n[n.length-1]+".ngstyle.js")}function Wi(e){return zi(_i(e.type)+"/module.ngfactory.js")}function Gi(e,t){return zi(_i(e)+"/"+_i(t.type)+".ngfactory.js")}var Yi="@angular/core",Ki=(Zi.NEW_METHOD="factory",Zi.TRANSFORM_METHOD="transform",Zi.PATCH_DEPS="patchedDeps",Zi.namespaceHTML={name:"ɵɵnamespaceHTML",moduleName:Yi},Zi.namespaceMathML={name:"ɵɵnamespaceMathML",moduleName:Yi},Zi.namespaceSVG={name:"ɵɵnamespaceSVG",moduleName:Yi},Zi.element={name:"ɵɵelement",moduleName:Yi},Zi.elementStart={name:"ɵɵelementStart",moduleName:Yi},Zi.elementEnd={name:"ɵɵelementEnd",moduleName:Yi},Zi.select={name:"ɵɵselect",moduleName:Yi},Zi.advance={name:"ɵɵadvance",moduleName:Yi},Zi.updateSyntheticHostBinding={name:"ɵɵupdateSyntheticHostBinding",moduleName:Yi},Zi.componentHostSyntheticListener={name:"ɵɵcomponentHostSyntheticListener",moduleName:Yi},Zi.attribute={name:"ɵɵattribute",moduleName:Yi},Zi.attributeInterpolate1={name:"ɵɵattributeInterpolate1",moduleName:Yi},Zi.attributeInterpolate2={name:"ɵɵattributeInterpolate2",moduleName:Yi},Zi.attributeInterpolate3={name:"ɵɵattributeInterpolate3",moduleName:Yi},Zi.attributeInterpolate4={name:"ɵɵattributeInterpolate4",moduleName:Yi},Zi.attributeInterpolate5={name:"ɵɵattributeInterpolate5",moduleName:Yi},Zi.attributeInterpolate6={name:"ɵɵattributeInterpolate6",moduleName:Yi},Zi.attributeInterpolate7={name:"ɵɵattributeInterpolate7",moduleName:Yi},Zi.attributeInterpolate8={name:"ɵɵattributeInterpolate8",moduleName:Yi},Zi.attributeInterpolateV={name:"ɵɵattributeInterpolateV",moduleName:Yi},Zi.classProp={name:"ɵɵclassProp",moduleName:Yi},Zi.elementContainerStart={name:"ɵɵelementContainerStart",moduleName:Yi},Zi.elementContainerEnd={name:"ɵɵelementContainerEnd",moduleName:Yi},Zi.elementContainer={name:"ɵɵelementContainer",moduleName:Yi},Zi.styleMap={name:"ɵɵstyleMap",moduleName:Yi},Zi.classMap={name:"ɵɵclassMap",moduleName:Yi},Zi.classMapInterpolate1={name:"ɵɵclassMapInterpolate1",moduleName:Yi},Zi.classMapInterpolate2={name:"ɵɵclassMapInterpolate2",moduleName:Yi},Zi.classMapInterpolate3={name:"ɵɵclassMapInterpolate3",moduleName:Yi},Zi.classMapInterpolate4={name:"ɵɵclassMapInterpolate4",moduleName:Yi},Zi.classMapInterpolate5={name:"ɵɵclassMapInterpolate5",moduleName:Yi},Zi.classMapInterpolate6={name:"ɵɵclassMapInterpolate6",moduleName:Yi},Zi.classMapInterpolate7={name:"ɵɵclassMapInterpolate7",moduleName:Yi},Zi.classMapInterpolate8={name:"ɵɵclassMapInterpolate8",moduleName:Yi},Zi.classMapInterpolateV={name:"ɵɵclassMapInterpolateV",moduleName:Yi},Zi.styleProp={name:"ɵɵstyleProp",moduleName:Yi},Zi.stylePropInterpolate1={name:"ɵɵstylePropInterpolate1",moduleName:Yi},Zi.stylePropInterpolate2={name:"ɵɵstylePropInterpolate2",moduleName:Yi},Zi.stylePropInterpolate3={name:"ɵɵstylePropInterpolate3",moduleName:Yi},Zi.stylePropInterpolate4={name:"ɵɵstylePropInterpolate4",moduleName:Yi},Zi.stylePropInterpolate5={name:"ɵɵstylePropInterpolate5",moduleName:Yi},Zi.stylePropInterpolate6={name:"ɵɵstylePropInterpolate6",moduleName:Yi},Zi.stylePropInterpolate7={name:"ɵɵstylePropInterpolate7",moduleName:Yi},Zi.stylePropInterpolate8={name:"ɵɵstylePropInterpolate8",moduleName:Yi},Zi.stylePropInterpolateV={name:"ɵɵstylePropInterpolateV",moduleName:Yi},Zi.styleSanitizer={name:"ɵɵstyleSanitizer",moduleName:Yi},Zi.elementHostAttrs={name:"ɵɵelementHostAttrs",moduleName:Yi},Zi.containerCreate={name:"ɵɵcontainer",moduleName:Yi},Zi.nextContext={name:"ɵɵnextContext",moduleName:Yi},Zi.templateCreate={name:"ɵɵtemplate",moduleName:Yi},Zi.text={name:"ɵɵtext",moduleName:Yi},Zi.enableBindings={name:"ɵɵenableBindings",moduleName:Yi},Zi.disableBindings={name:"ɵɵdisableBindings",moduleName:Yi},Zi.allocHostVars={name:"ɵɵallocHostVars",moduleName:Yi},Zi.getCurrentView={name:"ɵɵgetCurrentView",moduleName:Yi},Zi.textInterpolate={name:"ɵɵtextInterpolate",moduleName:Yi},Zi.textInterpolate1={name:"ɵɵtextInterpolate1",moduleName:Yi},Zi.textInterpolate2={name:"ɵɵtextInterpolate2",moduleName:Yi},Zi.textInterpolate3={name:"ɵɵtextInterpolate3",moduleName:Yi},Zi.textInterpolate4={name:"ɵɵtextInterpolate4",moduleName:Yi},Zi.textInterpolate5={name:"ɵɵtextInterpolate5",moduleName:Yi},Zi.textInterpolate6={name:"ɵɵtextInterpolate6",moduleName:Yi},Zi.textInterpolate7={name:"ɵɵtextInterpolate7",moduleName:Yi},Zi.textInterpolate8={name:"ɵɵtextInterpolate8",moduleName:Yi},Zi.textInterpolateV={name:"ɵɵtextInterpolateV",moduleName:Yi},Zi.restoreView={name:"ɵɵrestoreView",moduleName:Yi},Zi.pureFunction0={name:"ɵɵpureFunction0",moduleName:Yi},Zi.pureFunction1={name:"ɵɵpureFunction1",moduleName:Yi},Zi.pureFunction2={name:"ɵɵpureFunction2",moduleName:Yi},Zi.pureFunction3={name:"ɵɵpureFunction3",moduleName:Yi},Zi.pureFunction4={name:"ɵɵpureFunction4",moduleName:Yi},Zi.pureFunction5={name:"ɵɵpureFunction5",moduleName:Yi},Zi.pureFunction6={name:"ɵɵpureFunction6",moduleName:Yi},Zi.pureFunction7={name:"ɵɵpureFunction7",moduleName:Yi},Zi.pureFunction8={name:"ɵɵpureFunction8",moduleName:Yi},Zi.pureFunctionV={name:"ɵɵpureFunctionV",moduleName:Yi},Zi.pipeBind1={name:"ɵɵpipeBind1",moduleName:Yi},Zi.pipeBind2={name:"ɵɵpipeBind2",moduleName:Yi},Zi.pipeBind3={name:"ɵɵpipeBind3",moduleName:Yi},Zi.pipeBind4={name:"ɵɵpipeBind4",moduleName:Yi},Zi.pipeBindV={name:"ɵɵpipeBindV",moduleName:Yi},Zi.hostProperty={name:"ɵɵhostProperty",moduleName:Yi},Zi.property={name:"ɵɵproperty",moduleName:Yi},Zi.propertyInterpolate={name:"ɵɵpropertyInterpolate",moduleName:Yi},Zi.propertyInterpolate1={name:"ɵɵpropertyInterpolate1",moduleName:Yi},Zi.propertyInterpolate2={name:"ɵɵpropertyInterpolate2",moduleName:Yi},Zi.propertyInterpolate3={name:"ɵɵpropertyInterpolate3",moduleName:Yi},Zi.propertyInterpolate4={name:"ɵɵpropertyInterpolate4",moduleName:Yi},Zi.propertyInterpolate5={name:"ɵɵpropertyInterpolate5",moduleName:Yi},Zi.propertyInterpolate6={name:"ɵɵpropertyInterpolate6",moduleName:Yi},Zi.propertyInterpolate7={name:"ɵɵpropertyInterpolate7",moduleName:Yi},Zi.propertyInterpolate8={name:"ɵɵpropertyInterpolate8",moduleName:Yi},Zi.propertyInterpolateV={name:"ɵɵpropertyInterpolateV",moduleName:Yi},Zi.i18n={name:"ɵɵi18n",moduleName:Yi},Zi.i18nAttributes={name:"ɵɵi18nAttributes",moduleName:Yi},Zi.i18nExp={name:"ɵɵi18nExp",moduleName:Yi},Zi.i18nStart={name:"ɵɵi18nStart",moduleName:Yi},Zi.i18nEnd={name:"ɵɵi18nEnd",moduleName:Yi},Zi.i18nApply={name:"ɵɵi18nApply",moduleName:Yi},Zi.i18nPostprocess={name:"ɵɵi18nPostprocess",moduleName:Yi},Zi.pipe={name:"ɵɵpipe",moduleName:Yi},Zi.projection={name:"ɵɵprojection",moduleName:Yi},Zi.projectionDef={name:"ɵɵprojectionDef",moduleName:Yi},Zi.reference={name:"ɵɵreference",moduleName:Yi},Zi.inject={name:"ɵɵinject",moduleName:Yi},Zi.injectAttribute={name:"ɵɵinjectAttribute",moduleName:Yi},Zi.injectPipeChangeDetectorRef={name:"ɵɵinjectPipeChangeDetectorRef",moduleName:Yi},Zi.directiveInject={name:"ɵɵdirectiveInject",moduleName:Yi},Zi.templateRefExtractor={name:"ɵɵtemplateRefExtractor",moduleName:Yi},Zi.resolveWindow={name:"ɵɵresolveWindow",moduleName:Yi},Zi.resolveDocument={name:"ɵɵresolveDocument",moduleName:Yi},Zi.resolveBody={name:"ɵɵresolveBody",moduleName:Yi},Zi.defineBase={name:"ɵɵdefineBase",moduleName:Yi},Zi.BaseDef={name:"ɵɵBaseDef",moduleName:Yi},Zi.defineComponent={name:"ɵɵdefineComponent",moduleName:Yi},Zi.setComponentScope={name:"ɵɵsetComponentScope",moduleName:Yi},Zi.ComponentDefWithMeta={name:"ɵɵComponentDefWithMeta",moduleName:Yi},Zi.FactoryDef={name:"ɵɵFactoryDef",moduleName:Yi},Zi.defineDirective={name:"ɵɵdefineDirective",moduleName:Yi},Zi.DirectiveDefWithMeta={name:"ɵɵDirectiveDefWithMeta",moduleName:Yi},Zi.InjectorDef={name:"ɵɵInjectorDef",moduleName:Yi},Zi.defineInjector={name:"ɵɵdefineInjector",moduleName:Yi},Zi.NgModuleDefWithMeta={name:"ɵɵNgModuleDefWithMeta",moduleName:Yi},Zi.defineNgModule={name:"ɵɵdefineNgModule",moduleName:Yi},Zi.setNgModuleScope={name:"ɵɵsetNgModuleScope",moduleName:Yi},Zi.PipeDefWithMeta={name:"ɵɵPipeDefWithMeta",moduleName:Yi},Zi.definePipe={name:"ɵɵdefinePipe",moduleName:Yi},Zi.queryRefresh={name:"ɵɵqueryRefresh",moduleName:Yi},Zi.viewQuery={name:"ɵɵviewQuery",moduleName:Yi},Zi.staticViewQuery={name:"ɵɵstaticViewQuery",moduleName:Yi},Zi.staticContentQuery={name:"ɵɵstaticContentQuery",moduleName:Yi},Zi.loadQuery={name:"ɵɵloadQuery",moduleName:Yi},Zi.contentQuery={name:"ɵɵcontentQuery",moduleName:Yi},Zi.NgOnChangesFeature={name:"ɵɵNgOnChangesFeature",moduleName:Yi},Zi.InheritDefinitionFeature={name:"ɵɵInheritDefinitionFeature",moduleName:Yi},Zi.ProvidersFeature={name:"ɵɵProvidersFeature",moduleName:Yi},Zi.listener={name:"ɵɵlistener",moduleName:Yi},Zi.getFactoryOf={name:"ɵɵgetFactoryOf",moduleName:Yi},Zi.getInheritedFactory={name:"ɵɵgetInheritedFactory",moduleName:Yi},Zi.sanitizeHtml={name:"ɵɵsanitizeHtml",moduleName:Yi},Zi.sanitizeStyle={name:"ɵɵsanitizeStyle",moduleName:Yi},Zi.defaultStyleSanitizer={name:"ɵɵdefaultStyleSanitizer",moduleName:Yi},Zi.sanitizeResourceUrl={name:"ɵɵsanitizeResourceUrl",moduleName:Yi},Zi.sanitizeScript={name:"ɵɵsanitizeScript",moduleName:Yi},Zi.sanitizeUrl={name:"ɵɵsanitizeUrl",moduleName:Yi},Zi.sanitizeUrlOrResourceUrl={name:"ɵɵsanitizeUrlOrResourceUrl",moduleName:Yi},Zi);function Zi(){}function Qi(t){return _r(Object.keys(t).map(function(e){return{key:e,value:t[e],quoted:!1}}))}function Xi(e,t){if(Array.isArray(e))return gr(e.map(function(e){return Xi(e,t)}));if(e instanceof pi)return t.importExpr(e);if(null==e)return xr(e);throw new Error("Internal error: Unsupported or unknown metadata: "+e)}function $i(e,t){var n=null;if(0<t){n=[];for(var r=0;r<t;r++)n.push(ke)}return yr(e,null,n)}var Ji="@";function eo(e){return""+Ji+e}function to(e,t){return"animation_"+e+"_"+t}var no=9,ro=10,io=11,oo=12,ao=13,so=32,lo=34,uo=36,co=39,po=43,ho=45,fo=48,mo=57,vo=65,yo=69,go=70,_o=90,bo=95,wo=97,xo=101,Co=102,So=110,Eo=114,Oo=116,ko=118,Do=122,To=123,Io=125,Po=160,Ao=96;function Mo(e){return no<=e&&e<=so||e==Po}function Ro(e){return fo<=e&&e<=mo}function No(e){return wo<=e&&e<=Do||vo<=e&&e<=_o}function jo(e){return e===ro||e===ao}function Fo(e){return fo<=e&&e<=55}var Lo=(Vo.prototype.toString=function(){return null!=this.offset?this.file.url+"@"+this.line+":"+this.col:this.file.url},Vo.prototype.moveBy=function(e){for(var t=this.file.content,n=t.length,r=this.offset,i=this.line,o=this.col;0<r&&e<0;)if(r--,e++,(s=t.charCodeAt(r))==ro){i--;var a=t.substr(0,r-1).lastIndexOf(String.fromCharCode(ro));o=0<a?r-a:r}else o--;for(;r<n&&0<e;){var s=t.charCodeAt(r);r++,e--,s==ro?(i++,o=0):o++}return new Vo(this.file,r,i,o)},Vo.prototype.getContext=function(e,t){var n=this.file.content,r=this.offset;if(null==r)return null;r>n.length-1&&(r=n.length-1);for(var i=r,o=0,a=0;o<e&&0<r&&(o++,"\n"!=n[--r]||++a!=t););for(a=o=0;o<e&&i<n.length-1&&(o++,"\n"!=n[++i]||++a!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}},Vo);function Vo(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}var Bo=function(e,t){this.content=e,this.url=t},Uo=(zo.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},zo);function zo(e,t,n){void 0===n&&(n=null),this.start=e,this.end=t,this.details=n}var qo,Ho=new Lo(new Bo("",""),0,0,0),Wo=new Uo(Ho,Ho);(qo=E.ParseErrorLevel||(E.ParseErrorLevel={}))[qo.WARNING=0]="WARNING",qo[qo.ERROR=1]="ERROR";var Go=(Yo.prototype.contextualMessage=function(){var e=this.span.start.getContext(100,3);return e?this.msg+' ("'+e.before+"["+E.ParseErrorLevel[this.level]+" ->]"+e.after+'")':this.msg},Yo.prototype.toString=function(){var e=this.span.details?", "+this.span.details:"";return this.contextualMessage()+": "+this.span.start+e},Yo);function Yo(e,t,n){void 0===n&&(n=E.ParseErrorLevel.ERROR),this.span=e,this.msg=t,this.level=n}function Ko(e,t){var n=bi(t),r=null!=n?"in "+e+" "+_i(t)+" in "+n:"in "+e+" "+_i(t),i=new Bo("",r);return new Uo(new Lo(i,-1,-1,-1),new Lo(i,-1,-1,-1))}function Zo(e,t,n){var r=new Bo("","in "+e+" "+t+" in "+n);return new Uo(new Lo(r,-1,-1,-1),new Lo(r,-1,-1,-1))}var Qo=(Xo.prototype.visit=function(e){return e.visitText(this)},Xo);function Xo(e,t){this.value=e,this.sourceSpan=t}var $o=(Jo.prototype.visit=function(e){return e.visitBoundText(this)},Jo);function Jo(e,t,n){this.value=e,this.sourceSpan=t,this.i18n=n}var ea=(ta.prototype.visit=function(e){return e.visitTextAttribute(this)},ta);function ta(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r,this.i18n=i}var na=(ra.fromBoundElementProperty=function(e,t){return new ra(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.valueSpan,t)},ra.prototype.visit=function(e){return e.visitBoundAttribute(this)},ra);function ra(e,t,n,r,i,o,a,s){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.valueSpan=a,this.i18n=s}var ia=(oa.fromParsedEvent=function(e){var t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;return new oa(e.name,e.type,e.handler,t,n,e.sourceSpan,e.handlerSpan)},oa.prototype.visit=function(e){return e.visitBoundEvent(this)},oa);function oa(e,t,n,r,i,o,a){this.name=e,this.type=t,this.handler=n,this.target=r,this.phase=i,this.sourceSpan=o,this.handlerSpan=a}var aa=(sa.prototype.visit=function(e){return e.visitElement(this)},sa);function sa(e,t,n,r,i,o,a,s,l,u){this.name=e,this.attributes=t,this.inputs=n,this.outputs=r,this.children=i,this.references=o,this.sourceSpan=a,this.startSourceSpan=s,this.endSourceSpan=l,this.i18n=u,0===i.length&&s&&l&&(this.sourceSpan=new Uo(a.start,l.end))}var la=(ua.prototype.visit=function(e){return e.visitTemplate(this)},ua);function ua(e,t,n,r,i,o,a,s,l,u,c,p){this.tagName=e,this.attributes=t,this.inputs=n,this.outputs=r,this.templateAttrs=i,this.children=o,this.references=a,this.variables=s,this.sourceSpan=l,this.startSourceSpan=u,this.endSourceSpan=c,this.i18n=p}var ca=(pa.prototype.visit=function(e){return e.visitContent(this)},pa);function pa(e,t,n,r){this.selector=e,this.attributes=t,this.sourceSpan=n,this.i18n=r}var da=(ha.prototype.visit=function(e){return e.visitVariable(this)},ha);function ha(e,t,n,r){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r}var fa=(ma.prototype.visit=function(e){return e.visitReference(this)},ma);function ma(e,t,n,r){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r}var va=(ya.prototype.visit=function(e){return e.visitIcu(this)},ya);function ya(e,t,n,r){this.vars=e,this.placeholders=t,this.sourceSpan=n,this.i18n=r}ga.prototype.visitElement=function(e){},ga.prototype.visitTemplate=function(e){},ga.prototype.visitContent=function(e){},ga.prototype.visitVariable=function(e){},ga.prototype.visitReference=function(e){},ga.prototype.visitTextAttribute=function(e){},ga.prototype.visitBoundAttribute=function(e){},ga.prototype.visitBoundEvent=function(e){},ga.prototype.visitText=function(e){},ga.prototype.visitBoundText=function(e){},ga.prototype.visitIcu=function(e){};function ga(){}var _a=(ba.prototype.visitElement=function(e){xa(this,e.attributes),xa(this,e.children),xa(this,e.references)},ba.prototype.visitTemplate=function(e){xa(this,e.attributes),xa(this,e.children),xa(this,e.references),xa(this,e.variables)},ba.prototype.visitContent=function(e){},ba.prototype.visitVariable=function(e){},ba.prototype.visitReference=function(e){},ba.prototype.visitTextAttribute=function(e){},ba.prototype.visitBoundAttribute=function(e){},ba.prototype.visitBoundEvent=function(e){},ba.prototype.visitText=function(e){},ba.prototype.visitBoundText=function(e){},ba.prototype.visitIcu=function(e){},ba);function ba(){}wa.prototype.visitElement=function(e){var t=Ca(this,e.attributes),n=Ca(this,e.inputs),r=Ca(this,e.outputs),i=Ca(this,e.children),o=Ca(this,e.references);return t!=e.attributes||n!=e.inputs||r!=e.outputs||i!=e.children||o!=e.references?new aa(e.name,t,n,r,i,o,e.sourceSpan,e.startSourceSpan,e.endSourceSpan):e},wa.prototype.visitTemplate=function(e){var t=Ca(this,e.attributes),n=Ca(this,e.inputs),r=Ca(this,e.outputs),i=Ca(this,e.templateAttrs),o=Ca(this,e.children),a=Ca(this,e.references),s=Ca(this,e.variables);return t!=e.attributes||n!=e.inputs||r!=e.outputs||i!=e.templateAttrs||o!=e.children||a!=e.references||s!=e.variables?new la(e.tagName,t,n,r,i,o,a,s,e.sourceSpan,e.startSourceSpan,e.endSourceSpan):e},wa.prototype.visitContent=function(e){return e},wa.prototype.visitVariable=function(e){return e},wa.prototype.visitReference=function(e){return e},wa.prototype.visitTextAttribute=function(e){return e},wa.prototype.visitBoundAttribute=function(e){return e},wa.prototype.visitBoundEvent=function(e){return e},wa.prototype.visitText=function(e){return e},wa.prototype.visitBoundText=function(e){return e},wa.prototype.visitIcu=function(e){return e};function wa(){}function xa(e,t){var n,r,i,o,a=[];if(e.visit)try{for(var s=z(t),l=s.next();!l.done;l=s.next())var u=l.value,c=e.visit(u)||u.visit(e)}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}else try{for(var p=z(t),d=p.next();!d.done;d=p.next()){(c=(u=d.value).visit(e))&&a.push(c)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}return a}function Ca(e,t){var n,r,i=[],o=!1;try{for(var a=z(t),s=a.next();!s.done;s=a.next()){var l=s.value,u=l.visit(e);u&&i.push(u),o=o||u!=l}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o?i:t}var Sa=function(e,t,n,r,i,o){this.nodes=e,this.placeholders=t,this.placeholderToMessage=n,this.meaning=r,this.description=i,this.customId=o,this.id=this.customId,this.legacyId="",e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]},Ea=(Oa.prototype.visit=function(e,t){return e.visitText(this,t)},Oa);function Oa(e,t){this.value=e,this.sourceSpan=t}var ka=(Da.prototype.visit=function(e,t){return e.visitContainer(this,t)},Da);function Da(e,t){this.children=e,this.sourceSpan=t}var Ta=(Ia.prototype.visit=function(e,t){return e.visitIcu(this,t)},Ia);function Ia(e,t,n,r){this.expression=e,this.type=t,this.cases=n,this.sourceSpan=r}var Pa=(Aa.prototype.visit=function(e,t){return e.visitTagPlaceholder(this,t)},Aa);function Aa(e,t,n,r,i,o,a){this.tag=e,this.attrs=t,this.startName=n,this.closeName=r,this.children=i,this.isVoid=o,this.sourceSpan=a}var Ma=(Ra.prototype.visit=function(e,t){return e.visitPlaceholder(this,t)},Ra);function Ra(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}var Na=(ja.prototype.visit=function(e,t){return e.visitIcuPlaceholder(this,t)},ja);function ja(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}var Fa=(La.prototype.visitText=function(e,t){return new Ea(e.value,e.sourceSpan)},La.prototype.visitContainer=function(e,t){var n=this,r=e.children.map(function(e){return e.visit(n,t)});return new ka(r,e.sourceSpan)},La.prototype.visitIcu=function(t,n){var r=this,i={};Object.keys(t.cases).forEach(function(e){return i[e]=t.cases[e].visit(r,n)});var e=new Ta(t.expression,t.type,i,t.sourceSpan);return e.expressionPlaceholder=t.expressionPlaceholder,e},La.prototype.visitTagPlaceholder=function(e,t){var n=this,r=e.children.map(function(e){return e.visit(n,t)});return new Pa(e.tag,e.attrs,e.startName,e.closeName,r,e.isVoid,e.sourceSpan)},La.prototype.visitPlaceholder=function(e,t){return new Ma(e.value,e.name,e.sourceSpan)},La.prototype.visitIcuPlaceholder=function(e,t){return new Na(e.value,e.name,e.sourceSpan)},La);function La(){}var Va=(Ba.prototype.visitText=function(e,t){},Ba.prototype.visitContainer=function(e,t){var n=this;e.children.forEach(function(e){return e.visit(n)})},Ba.prototype.visitIcu=function(t,e){var n=this;Object.keys(t.cases).forEach(function(e){t.cases[e].visit(n)})},Ba.prototype.visitTagPlaceholder=function(e,t){var n=this;e.children.forEach(function(e){return e.visit(n)})},Ba.prototype.visitPlaceholder=function(e,t){},Ba.prototype.visitIcuPlaceholder=function(e,t){},Ba);function Ba(){}function Ua(e){return e.id||za(e)}function za(e){return function(e){var t,n,r=Ur(e),i=function(e,t){for(var n=e.length+3>>>2,r=[],i=0;i<n;i++)r[i]=us(e,4*i,t);return r}(r,Za.Big),o=8*r.length,a=Zr(80),s=U([1732584193,4023233417,2562383102,271733878,3285377520],5),l=s[0],u=s[1],c=s[2],p=s[3],d=s[4];i[o>>5]|=128<<24-o%32,i[15+(64+o>>9<<4)]=o;for(var h=0;h<i.length;h+=16){for(var f=U([l,u,c,p,d],5),m=f[0],v=f[1],y=f[2],g=f[3],_=f[4],b=0;b<80;b++){a[b]=b<16?i[h+b]:ss(a[b-3]^a[b-8]^a[b-14]^a[b-16],1);var w=U(Ja(b,u,c,p),2),x=w[0],C=w[1],S=[ss(l,5),x,d,C,a[b]].reduce(is);t=U([p,c,ss(u,30),l,S],5),d=t[0],p=t[1],c=t[2],u=t[3],l=t[4]}n=U([is(l,m),is(u,v),is(c,y),is(p,g),is(d,_)],5),l=n[0],u=n[1],c=n[2],p=n[3],d=n[4]}return function(e){for(var t="",n=0;n<e.length;n++){var r=ls(e,n);t+=(r>>>4).toString(16)+(15&r).toString(16)}return t.toLowerCase()}(cs([l,u,c,p,d]))}(function(e){return e.map(function(e){return e.visit(Ya,null)})}(e.nodes).join("")+"["+e.meaning+"]")}function qa(e){return e.id||Ha(e)}function Ha(e){var t=new Xa;return ts(e.nodes.map(function(e){return e.visit(t,null)}).join(""),e.meaning)}var Wa=(Ga.prototype.visitText=function(e,t){return e.value},Ga.prototype.visitContainer=function(e,t){var n=this;return"["+e.children.map(function(e){return e.visit(n)}).join(", ")+"]"},Ga.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.expression+", "+t.type+", "+r.join(", ")+"}"},Ga.prototype.visitTagPlaceholder=function(e,t){var n=this;return e.isVoid?'<ph tag name="'+e.startName+'"/>':'<ph tag name="'+e.startName+'">'+e.children.map(function(e){return e.visit(n)}).join(", ")+'</ph name="'+e.closeName+'">'},Ga.prototype.visitPlaceholder=function(e,t){return e.value?'<ph name="'+e.name+'">'+e.value+"</ph>":'<ph name="'+e.name+'"/>'},Ga.prototype.visitIcuPlaceholder=function(e,t){return'<ph icu name="'+e.name+'">'+e.value.visit(this)+"</ph>"},Ga);function Ga(){}var Ya=new Wa;var Ka,Za,Qa,Xa=(f($a,Ka=Wa),$a.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.type+", "+r.join(", ")+"}"},$a);function $a(){return null!==Ka&&Ka.apply(this,arguments)||this}function Ja(e,t,n,r){return e<20?[t&n|~t&r,1518500249]:e<40?[t^n^r,1859775393]:e<60?[t&n|t&r|n&r,2400959708]:[t^n^r,3395469782]}function es(e){var t=Ur(e),n=U([ns(t,0),ns(t,102072)],2),r=n[0],i=n[1];return 0!=r||0!=i&&1!=i||(r^=319790063,i^=-1801410264),[r,i]}function ts(e,t){var n;void 0===t&&(t="");var r=U(es(e),2),i=r[0],o=r[1];if(t){var a=U(es(t),2),s=a[0],l=a[1];i=(n=U(function(e,t){var n=U(e,2),r=n[0],i=n[1],o=U(t,2),a=o[0],s=o[1],l=U(os(i,s),2),u=l[0],c=l[1];return[is(is(r,a),u),c]}(function(e,t){var n=U(e,2),r=n[0],i=n[1];return[r<<t|i>>>32-t,i<<t|r>>>32-t]}([i,o],1),[s,l]),2))[0],o=n[1]}return function(e){for(var t="",n="1",r=e.length-1;0<=r;r--)t=ps(t,ds(ls(e,r),n)),n=ds(256,n);return t.split("").reverse().join("")}(cs([2147483647&i,o]))}function ns(e,t){var n,r,i=U([2654435769,2654435769],2),o=i[0],a=i[1],s=e.length;for(r=0;r+12<=s;r+=12)o=(n=U(rs([o=is(o,us(e,r,Za.Little)),a=is(a,us(e,r+4,Za.Little)),t=is(t,us(e,r+8,Za.Little))]),3))[0],a=n[1],t=n[2];return rs([o=is(o,us(e,r,Za.Little)),a=is(a,us(e,r+4,Za.Little)),t=is(t=is(t,s),us(e,r+8,Za.Little)<<8)])[2]}function rs(e){var t=U(e,3),n=t[0],r=t[1],i=t[2];return n=as(n=as(n,r),i),n^=i>>>13,r=as(r=as(r,i),n),r^=n<<8,i=as(i=as(i,n),r),i^=r>>>13,n=as(n=as(n,r),i),n^=i>>>12,r=as(r=as(r,i),n),r^=n<<16,i=as(i=as(i,n),r),i^=r>>>5,n=as(n=as(n,r),i),n^=i>>>3,r=as(r=as(r,i),n),r^=n<<10,i=as(i=as(i,n),r),[n,r,i^=r>>>15]}function is(e,t){return os(e,t)[1]}function os(e,t){var n=(65535&e)+(65535&t),r=(e>>>16)+(t>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function as(e,t){var n=(65535&e)-(65535&t);return(e>>16)-(t>>16)+(n>>16)<<16|65535&n}function ss(e,t){return e<<t|e>>>32-t}function ls(e,t){return t>=e.length?0:255&e.charCodeAt(t)}function us(e,t,n){var r=0;if(n===Za.Big)for(var i=0;i<4;i++)r+=ls(e,t+i)<<24-8*i;else for(i=0;i<4;i++)r+=ls(e,t+i)<<8*i;return r}function cs(e){return e.reduce(function(e,t){return e+function(e){for(var t="",n=0;n<4;n++)t+=String.fromCharCode(e>>>8*(3-n)&255);return t}(t)},"")}function ps(e,t){for(var n="",r=Math.max(e.length,t.length),i=0,o=0;i<r||o;i++){var a=o+ +(e[i]||0)+ +(t[i]||0);10<=a?(o=1,n+=a-10):(o=0,n+=a)}return n}function ds(e,t){for(var n="",r=t;0!==e;e>>>=1)1&e&&(n=ps(n,r)),r=ps(r,r);return n}(Qa=Za=Za||{})[Qa.Little=0]="Little",Qa[Qa.Big=1]="Big";var hs=(fs.prototype.createNameMapper=function(e){return null},fs);function fs(){}var ms,vs=(f(ys,ms=Va),ys.prototype.toPublicName=function(e){return this.internalToPublic.hasOwnProperty(e)?this.internalToPublic[e]:null},ys.prototype.toInternalName=function(e){return this.publicToInternal.hasOwnProperty(e)?this.publicToInternal[e]:null},ys.prototype.visitText=function(e,t){return null},ys.prototype.visitTagPlaceholder=function(e,t){this.visitPlaceholderName(e.startName),ms.prototype.visitTagPlaceholder.call(this,e,t),this.visitPlaceholderName(e.closeName)},ys.prototype.visitPlaceholder=function(e,t){this.visitPlaceholderName(e.name)},ys.prototype.visitIcuPlaceholder=function(e,t){this.visitPlaceholderName(e.name)},ys.prototype.visitPlaceholderName=function(e){if(e&&!this.internalToPublic.hasOwnProperty(e)){var t=this.mapName(e);if(this.publicToInternal.hasOwnProperty(t)){var n=this.publicToNextId[t];this.publicToNextId[t]=n+1,t=t+"_"+n}else this.publicToNextId[t]=1;this.internalToPublic[e]=t,this.publicToInternal[t]=e}},ys);function ys(e,t){var n=ms.call(this)||this;return n.mapName=t,n.internalToPublic={},n.publicToNextId={},n.publicToInternal={},e.nodes.forEach(function(e){return e.visit(n)}),n}function gs(){}var _s=new(gs.prototype.visitTag=function(e){var t=this,n=this._serializeAttributes(e.attrs);if(0==e.children.length)return"<"+e.name+n+"/>";var r=e.children.map(function(e){return e.visit(t)});return"<"+e.name+n+">"+r.join("")+"</"+e.name+">"},gs.prototype.visitText=function(e){return e.value},gs.prototype.visitDeclaration=function(e){return"<?xml"+this._serializeAttributes(e.attrs)+" ?>"},gs.prototype._serializeAttributes=function(t){var e=Object.keys(t).map(function(e){return e+'="'+t[e]+'"'}).join(" ");return 0<e.length?" "+e:""},gs.prototype.visitDoctype=function(e){return"<!DOCTYPE "+e.rootTag+" [\n"+e.dtd+"\n]>"},gs);function bs(e){return e.map(function(e){return e.visit(_s)}).join("")}var ws=(xs.prototype.visit=function(e){return e.visitDeclaration(this)},xs);function xs(t){var n=this;this.attrs={},Object.keys(t).forEach(function(e){n.attrs[e]=Ms(t[e])})}var Cs=(Ss.prototype.visit=function(e){return e.visitDoctype(this)},Ss);function Ss(e,t){this.rootTag=e,this.dtd=t}var Es=(Os.prototype.visit=function(e){return e.visitTag(this)},Os);function Os(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n=[]),this.name=e,this.children=n,this.attrs={},Object.keys(t).forEach(function(e){r.attrs[e]=Ms(t[e])})}var ks=(Ds.prototype.visit=function(e){return e.visitText(this)},Ds);function Ds(e){this.value=Ms(e)}var Ts,Is=(f(Ps,Ts=ks),Ps);function Ps(e){return void 0===e&&(e=0),Ts.call(this,"\n"+new Array(e+1).join(" "))||this}var As=[[/&/g,"&amp;"],[/"/g,"&quot;"],[/'/g,"&apos;"],[/</g,"&lt;"],[/>/g,"&gt;"]];function Ms(e){return As.reduce(function(e,t){return e.replace(t[0],t[1])},e)}var Rs,Ns="messagebundle",js="ph",Fs="ex",Ls=(f(Vs,Rs=hs),Vs.prototype.write=function(e,t){var n=new qs,r=new Bs,i=new Es(Ns);return e.forEach(function(e){var t={id:e.id};e.description&&(t.desc=e.description),e.meaning&&(t.meaning=e.meaning);var n=[];e.sources.forEach(function(e){n.push(new Es("source",{},[new ks(e.filePath+":"+e.startLine+(e.endLine!==e.startLine?","+e.endLine:""))]))}),i.children.push(new Is(2),new Es("msg",t,q(n,r.serialize(e.nodes))))}),i.children.push(new Is),bs([new ws({version:"1.0",encoding:"UTF-8"}),new Is,new Cs(Ns,'<!ELEMENT messagebundle (msg)*>\n<!ATTLIST messagebundle class CDATA #IMPLIED>\n\n<!ELEMENT msg (#PCDATA|ph|source)*>\n<!ATTLIST msg id CDATA #IMPLIED>\n<!ATTLIST msg seq CDATA #IMPLIED>\n<!ATTLIST msg name CDATA #IMPLIED>\n<!ATTLIST msg desc CDATA #IMPLIED>\n<!ATTLIST msg meaning CDATA #IMPLIED>\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\n<!ATTLIST msg xml:space (default|preserve) "default">\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\n\n<!ELEMENT source (#PCDATA)>\n\n<!ELEMENT ph (#PCDATA|ex)*>\n<!ATTLIST ph name CDATA #REQUIRED>\n\n<!ELEMENT ex (#PCDATA)>'),new Is,n.addDefaultExamples(i),new Is])},Vs.prototype.load=function(e,t){throw new Error("Unsupported")},Vs.prototype.digest=function(e){return zs(e)},Vs.prototype.createNameMapper=function(e){return new vs(e,Ws)},Vs);function Vs(){return null!==Rs&&Rs.apply(this,arguments)||this}var Bs=(Us.prototype.visitText=function(e,t){return[new ks(e.value)]},Us.prototype.visitContainer=function(e,t){var n=this,r=[];return e.children.forEach(function(e){return r.push.apply(r,q(e.visit(n)))}),r},Us.prototype.visitIcu=function(t,e){var n=this,r=[new ks("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,q([new ks(e+" {")],t.cases[e].visit(n),[new ks("} ")]))}),r.push(new ks("}")),r},Us.prototype.visitTagPlaceholder=function(e,t){var n=new ks("<"+e.tag+">"),r=new Es(Fs,{},[n]),i=new Es(js,{name:e.startName},[r,n]);if(e.isVoid)return[i];var o=new ks("</"+e.tag+">"),a=new Es(Fs,{},[o]),s=new Es(js,{name:e.closeName},[a,o]);return q([i],this.serialize(e.children),[s])},Us.prototype.visitPlaceholder=function(e,t){var n=new ks("{{"+e.value+"}}"),r=new Es(Fs,{},[n]);return[new Es(js,{name:e.name},[r,n])]},Us.prototype.visitIcuPlaceholder=function(e,t){var n=e.value.expression,r=e.value.type,i=Object.keys(e.value.cases).map(function(e){return e+" {...}"}).join(" "),o=new ks("{"+n+", "+r+", "+i+"}"),a=new Es(Fs,{},[o]);return[new Es(js,{name:e.name},[a,o])]},Us.prototype.serialize=function(e){var t=this;return[].concat.apply([],q(e.map(function(e){return e.visit(t)})))},Us);function Us(){}function zs(e){return qa(e)}var qs=(Hs.prototype.addDefaultExamples=function(e){return e.visit(this),e},Hs.prototype.visitTag=function(e){var t=this;if(e.name===js){if(!e.children||0==e.children.length){var n=new ks(e.attrs.name||"...");e.children=[new Es(Fs,{},[n])]}}else e.children&&e.children.forEach(function(e){return e.visit(t)})},Hs.prototype.visitText=function(e){},Hs.prototype.visitDeclaration=function(e){},Hs.prototype.visitDoctype=function(e){},Hs);function Hs(){}function Ws(e){return e.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}var Gs="i18n",Ys="i18n-",Ks="�";function Zs(e){return e===Gs||e.startsWith(Ys)}function Qs(e){return e instanceof Sa}function Xs(e){return Qs(e)&&1===e.nodes.length&&e.nodes[0]instanceof Ta}function $s(e){return e.nodes[0]}function Js(e,t){return void 0===t&&(t=0),""+Ks+e+(0<t?":"+t:"")+Ks}function el(e){var n={};return e.forEach(function(e,t){n[t]=xr(1<e.length?"["+e.join("|")+"]":e[0])}),n}function tl(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=e.get(t)||[];i.push.apply(i,q(n)),e.set(t,i)}function nl(e,t,r){void 0===t&&(t=0),void 0===r&&(r=0);var i=t,o=new Map,n=e instanceof Sa?e.nodes.find(function(e){return e instanceof ka}):e;return n&&n.children.filter(function(e){return e instanceof Ma}).forEach(function(e,t){var n=Js(i+t,r);tl(o,e.name,n)}),o}function rl(t,n){void 0===t&&(t={});var r={};return t&&Object.keys(t).length&&Object.keys(t).forEach(function(e){return r[il(e,n)]=t[e]}),r}function il(e,t){void 0===t&&(t=!0);var n=Ws(e);if(!t)return n;var r,i=n.split("_");if(1===i.length)return e.toLowerCase();/^\d+$/.test(i[i.length-1])&&(r=i.pop());var o=i.shift().toLowerCase();return i.length&&(o+=i.map(function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}).join("")),r?o+"_"+r:o}function ol(e){return("MSG_"+e).toUpperCase()}var al=/[-.]/,sl="_t",ll="ctx",ul="rf";function cl(e,t){var n=null;return function(){return n||(e.push(new dn(sl,void 0,ke)),n=fr(t)),n}}function pl(e){if(this)throw new Error("Builder "+this.constructor.name+" doesn't support "+e+" yet");throw new Error("Feature "+e+" is not supported yet")}function dl(e){throw new Error("Invalid state: Visitor "+this.constructor.name+" doesn't handle "+e.constructor.name)}function hl(e){return Array.isArray(e)?gr(e.map(hl)):xr(e,De)}function fl(e,t){return 0<Object.getOwnPropertyNames(e).length?function(s,l){return _r(Object.getOwnPropertyNames(s).map(function(e){var t,n,r,i,o,a=s[e];return Array.isArray(a)?(i=(t=U(a,2))[0],r=t[1]):(r=(n=U(Er(e,[e,a]),2))[0],i=n[1]),{key:o=r,quoted:al.test(o),value:l&&i!==r?gr([hl(i),hl(r)]):hl(i)}}))}(e,t):null}function ml(e){for(;(t=e[e.length-1])instanceof ht&&null===t.value;)e.pop();var t;return e}var vl,yl,gl,_l=(bl.prototype.set=function(e,t){t&&this.values.push({key:e,value:t,quoted:!1})},bl.prototype.toLiteralMap=function(){return _r(this.values)},bl);function bl(){this.values=[]}function wl(e){var t={};return e instanceof la&&"ng-template"!==e.tagName?e.templateAttrs.forEach(function(e){return t[e.name]=""}):(e.attributes.forEach(function(e){Zs(e.name)||(t[e.name]=e.value)}),e.inputs.forEach(function(e){t[e.name]=""}),e.outputs.forEach(function(e){t[e.name]=""})),t}function xl(e,t,n){var r=mr(e,null,n);if(0<t.length)for(var i=0;i<t.length;i++)r=r.callFn(t[i],n);else r=r.callFn([],n);return r}function Cl(e){var t=e.expressions,n=e.strings;return 1===t.length&&2===n.length&&""===n[0]&&""===n[1]?1:t.length+n.length}function Sl(r,e){void 0===e&&(e=!1);var i=fr("t"),t=[],n=Dl(r)?i:new Bt(E.BinaryOperator.Or,i,r.type),o=null;if(null!==r.deps)"invalid"!==r.deps&&(o=new ct(n,Ol(r.deps,r.injectFn,e)));else{var a=fr("ɵ"+r.name+"_BaseFactory"),s=mr(Ki.getInheritedFactory),l=a.set(s.callFn([r.type])).toDeclStmt(De,[E.StmtModifier.Exported,E.StmtModifier.Final]);t.push(l),o=a.callFn([n])}var u=o,c=[],p=null;function d(e){var t=fr("r");c.push(t.set(sn).toDeclStmt());var n=null;return n=null!==u?t.set(u).toStmt():kl(r.name),c.push(wr(i,[n],[t.set(e).toStmt()])),t}if(Dl(r)&&r.delegateType===vl.Factory){var h=fr("ɵ"+r.name+"_BaseFactory"),f=mr(Ki.getFactoryOf);if(r.delegate.isEquivalent(r.type))throw new Error("Illegal state: compiling factory that delegates to itself");var m=h.set(f.callFn([r.delegate])).toDeclStmt(De,[E.StmtModifier.Exported,E.StmtModifier.Final]);t.push(m),p=d(h.callFn([]))}else if(Dl(r)){var v=Ol(r.delegateDeps,r.injectFn,e);p=d(new(r.delegateType===vl.Class?ct:st)(r.delegate,v))}else p=function(e){return void 0!==e.expression}(r)?d(r.expression):o;return null!==p?c.push(new wn(p)):c.push(kl(r.name)),{factory:br([new Rt("t",ke)],c,De,void 0,r.name+"_Factory"),statements:t,type:yr(mr(Ki.FactoryDef,[$i(r.type,r.typeArgumentCount)]))}}function El(e){return Sl({name:e.name,type:e.type,deps:e.deps,typeArgumentCount:e.typeArgumentCount,injectFn:e.injectFn},e.isPipe)}function Ol(e,t,n){return e.map(function(e){return function(e,t,n){switch(e.resolved){case E.R3ResolvedDependencyType.Token:case E.R3ResolvedDependencyType.ChangeDetectorRef:var r=0|(e.self?2:0)|(e.skipSelf?4:0)|(e.host?1:0)|(e.optional?8:0),i=0!=r||e.optional?xr(r):null;if(n&&e.resolved===E.R3ResolvedDependencyType.ChangeDetectorRef)return mr(Ki.injectPipeChangeDetectorRef).callFn(i?[i]:[]);var o=[e.token];return i&&o.push(i),mr(t).callFn(o);case E.R3ResolvedDependencyType.Attribute:return mr(Ki.injectAttribute).callFn([e.token]);default:return pl("Unknown R3ResolvedDependencyType: "+E.R3ResolvedDependencyType[e.resolved])}}(e,t,n)})}function kl(e){return new Qn(new ct(new Ve("Error"),[xr(e+" has a constructor which is not compatible with Dependency Injection. It should probably not be @Injectable().")]))}function Dl(e){return void 0!==e.delegateType}function Tl(e){var t=null,n={name:e.name,type:e.type,typeArgumentCount:e.typeArgumentCount,deps:[],injectFn:si.inject};if(void 0!==e.useClass){var r=e.useClass.isEquivalent(e.type),i=void 0;void 0!==e.userDeps&&(i=e.userDeps),t=void 0!==i?Sl(m(m({},n),{delegate:e.useClass,delegateDeps:i,delegateType:vl.Class})):r?Sl(n):Il(e.useClass)}else t=void 0!==e.useFactory?void 0!==e.userDeps?Sl(m(m({},n),{delegate:e.useFactory,delegateDeps:e.userDeps||[],delegateType:vl.Function})):{statements:[],factory:br([],[new wn(e.useFactory.callFn([]))])}:void 0!==e.useValue?Sl(m(m({},n),{expression:e.useValue})):void 0!==e.useExisting?Sl(m(m({},n),{expression:mr(si.inject).callFn([e.useExisting])})):Il(e.type);var o=e.type,a=e.providedIn;return{expression:mr(si.ɵɵdefineInjectable).callFn([Qi({token:o,factory:t.factory,providedIn:a})]),type:new ge(mr(si.InjectableDef,[$i(e.type,e.typeArgumentCount)])),statements:t.statements}}function Il(e){return{statements:[],factory:br([new Rt("t",ke)],[new wn(e.callMethod("ɵfac",[fr("t")]))])}}function Pl(e,t){if(null!=t){if(!Array.isArray(t))throw new Error("Expected '"+e+"' to be an array of strings.");for(var n=0;n<t.length;n+=1)if("string"!=typeof t[n])throw new Error("Expected '"+e+"' to be an array of strings.")}}(yl=vl=vl||{})[yl.Class=0]="Class",yl[yl.Function=1]="Function",yl[yl.Factory=2]="Factory",(gl=E.R3ResolvedDependencyType||(E.R3ResolvedDependencyType={}))[gl.Token=0]="Token",gl[gl.Attribute=1]="Attribute",gl[gl.ChangeDetectorRef=2]="ChangeDetectorRef";var Al=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Ml(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error("Expected '"+e+"' to be an array, [start, end].");if(null!=t){var n=t[0],r=t[1];Al.forEach(function(e){if(e.test(n)||e.test(r))throw new Error("['"+n+"', '"+r+"'] contains unusable interpolation symbol.")})}}var Rl=(Nl.fromArray=function(e){return e?(Ml("interpolation",e),new Nl(e[0],e[1])):Fl},Nl);function Nl(e,t){this.start=e,this.end=t}var jl,Fl=new Rl("{{","}}");(jl=E.TokenType||(E.TokenType={}))[jl.Character=0]="Character",jl[jl.Identifier=1]="Identifier",jl[jl.Keyword=2]="Keyword",jl[jl.String=3]="String",jl[jl.Operator=4]="Operator",jl[jl.Number=5]="Number",jl[jl.Error=6]="Error";var Ll=["var","let","as","null","undefined","true","false","if","else","this"],Vl=(Bl.prototype.tokenize=function(e){for(var t=new Gl(e),n=[],r=t.scanToken();null!=r;)n.push(r),r=t.scanToken();return n},Bl);function Bl(){}var Ul=(zl.prototype.isCharacter=function(e){return this.type==E.TokenType.Character&&this.numValue==e},zl.prototype.isNumber=function(){return this.type==E.TokenType.Number},zl.prototype.isString=function(){return this.type==E.TokenType.String},zl.prototype.isOperator=function(e){return this.type==E.TokenType.Operator&&this.strValue==e},zl.prototype.isIdentifier=function(){return this.type==E.TokenType.Identifier},zl.prototype.isKeyword=function(){return this.type==E.TokenType.Keyword},zl.prototype.isKeywordLet=function(){return this.type==E.TokenType.Keyword&&"let"==this.strValue},zl.prototype.isKeywordAs=function(){return this.type==E.TokenType.Keyword&&"as"==this.strValue},zl.prototype.isKeywordNull=function(){return this.type==E.TokenType.Keyword&&"null"==this.strValue},zl.prototype.isKeywordUndefined=function(){return this.type==E.TokenType.Keyword&&"undefined"==this.strValue},zl.prototype.isKeywordTrue=function(){return this.type==E.TokenType.Keyword&&"true"==this.strValue},zl.prototype.isKeywordFalse=function(){return this.type==E.TokenType.Keyword&&"false"==this.strValue},zl.prototype.isKeywordThis=function(){return this.type==E.TokenType.Keyword&&"this"==this.strValue},zl.prototype.isError=function(){return this.type==E.TokenType.Error},zl.prototype.toNumber=function(){return this.type==E.TokenType.Number?this.numValue:-1},zl.prototype.toString=function(){switch(this.type){case E.TokenType.Character:case E.TokenType.Identifier:case E.TokenType.Keyword:case E.TokenType.Operator:case E.TokenType.String:case E.TokenType.Error:return this.strValue;case E.TokenType.Number:return this.numValue.toString();default:return null}},zl);function zl(e,t,n,r){this.index=e,this.type=t,this.numValue=n,this.strValue=r}function ql(e,t){return new Ul(e,E.TokenType.Character,t,String.fromCharCode(t))}function Hl(e,t){return new Ul(e,E.TokenType.Operator,0,t)}var Wl=new Ul(-1,E.TokenType.Character,0,""),Gl=(Yl.prototype.advance=function(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)},Yl.prototype.scanToken=function(){for(var e=this.input,t=this.length,n=this.peek,r=this.index;n<=so;){if(++r>=t){n=0;break}n=e.charCodeAt(r)}if(this.peek=n,t<=(this.index=r))return null;if(Kl(n))return this.scanIdentifier();if(Ro(n))return this.scanNumber(r);var i=r;switch(n){case 46:return this.advance(),Ro(this.peek)?this.scanNumber(i):ql(i,46);case 40:case 41:case To:case Io:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(i,n);case co:case lo:return this.scanString();case 35:case po:case ho:case 42:case 47:case 37:case 94:return this.scanOperator(i,String.fromCharCode(n));case 63:return this.scanComplexOperator(i,"?",46,".");case 60:case 62:return this.scanComplexOperator(i,String.fromCharCode(n),61,"=");case 33:case 61:return this.scanComplexOperator(i,String.fromCharCode(n),61,"=",61,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case Po:for(;Mo(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+String.fromCharCode(n)+"]",0)},Yl.prototype.scanCharacter=function(e,t){return this.advance(),ql(e,t)},Yl.prototype.scanOperator=function(e,t){return this.advance(),Hl(e,t)},Yl.prototype.scanComplexOperator=function(e,t,n,r,i,o){this.advance();var a=t;return this.peek==n&&(this.advance(),a+=r),null!=i&&this.peek==i&&(this.advance(),a+=o),Hl(e,a)},Yl.prototype.scanIdentifier=function(){var e=this.index;for(this.advance();Ql(this.peek);)this.advance();var t=this.input.substring(e,this.index);return-1<Ll.indexOf(t)?function(e,t){return new Ul(e,E.TokenType.Keyword,0,t)}(e,t):function(e,t){return new Ul(e,E.TokenType.Identifier,0,t)}(e,t)},Yl.prototype.scanNumber=function(e){var t,n,r=this.index===e;for(this.advance();;){if(Ro(this.peek));else if(46==this.peek)r=!1;else{if((n=this.peek)!=xo&&n!=yo)break;if(this.advance(),(t=this.peek)!=ho&&t!=po||this.advance(),!Ro(this.peek))return this.error("Invalid exponent",-1);r=!1}this.advance()}var i=this.input.substring(e,this.index);return function(e,t){return new Ul(e,E.TokenType.Number,t,"")}(e,r?function(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}(i):parseFloat(i))},Yl.prototype.scanString=function(){var e=this.index,t=this.peek;this.advance();for(var n="",r=this.index,i=this.input;this.peek!=t;)if(92==this.peek){n+=i.substring(r,this.index),this.advance();var o=void 0;if(this.peek=this.peek,117==this.peek){var a=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(a))return this.error("Invalid unicode escape [\\u"+a+"]",0);o=parseInt(a,16);for(var s=0;s<5;s++)this.advance()}else o=$l(this.peek),this.advance();n+=String.fromCharCode(o),r=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}var l=i.substring(r,this.index);return this.advance(),function(e,t){return new Ul(e,E.TokenType.String,0,t)}(e,n+l)},Yl.prototype.error=function(e,t){var n=this.index+t;return function(e,t){return new Ul(e,E.TokenType.Error,0,t)}(n,"Lexer Error: "+e+" at column "+n+" in expression ["+this.input+"]")},Yl);function Yl(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}function Kl(e){return wo<=e&&e<=Do||vo<=e&&e<=_o||e==bo||e==uo}function Zl(e){if(0==e.length)return!1;var t=new Gl(e);if(!Kl(t.peek))return!1;for(t.advance();0!==t.peek;){if(!Ql(t.peek))return!1;t.advance()}return!0}function Ql(e){return No(e)||Ro(e)||e==bo||e==uo}function Xl(e){return e===co||e===lo||e===Ao}function $l(e){switch(e){case So:return ro;case Co:return oo;case Eo:return ao;case Oo:return no;case ko:return io;default:return e}}var Jl=function(e,t,n,r){this.input=t,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: "+e+" "+n+" ["+t+"] in "+r},eu=(tu.prototype.toAbsolute=function(e){return new fc(e+this.start,e+this.end)},tu);function tu(e,t){this.start=e,this.end=t}var nu=(ru.prototype.visit=function(e,t){return void 0===t&&(t=null),null},ru.prototype.toString=function(){return"AST"},ru);function ru(e,t){this.span=e,this.sourceSpan=t}var iu,ou=(f(au,iu=nu),au.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitQuote(this,t)},au.prototype.toString=function(){return"Quote"},au);function au(e,t,n,r,i){var o=iu.call(this,e,t)||this;return o.prefix=n,o.uninterpretedExpression=r,o.location=i,o}var su,lu=(f(uu,su=nu),uu.prototype.visit=function(e,t){void 0===t&&(t=null)},uu);function uu(){return null!==su&&su.apply(this,arguments)||this}var cu,pu=(f(du,cu=nu),du.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitImplicitReceiver(this,t)},du);function du(){return null!==cu&&cu.apply(this,arguments)||this}var hu,fu=(f(mu,hu=nu),mu.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitChain(this,t)},mu);function mu(e,t,n){var r=hu.call(this,e,t)||this;return r.expressions=n,r}var vu,yu=(f(gu,vu=nu),gu.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitConditional(this,t)},gu);function gu(e,t,n,r,i){var o=vu.call(this,e,t)||this;return o.condition=n,o.trueExp=r,o.falseExp=i,o}var _u,bu=(f(wu,_u=nu),wu.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPropertyRead(this,t)},wu);function wu(e,t,n,r){var i=_u.call(this,e,t)||this;return i.receiver=n,i.name=r,i}var xu,Cu=(f(Su,xu=nu),Su.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPropertyWrite(this,t)},Su);function Su(e,t,n,r,i){var o=xu.call(this,e,t)||this;return o.receiver=n,o.name=r,o.value=i,o}var Eu,Ou=(f(ku,Eu=nu),ku.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitSafePropertyRead(this,t)},ku);function ku(e,t,n,r){var i=Eu.call(this,e,t)||this;return i.receiver=n,i.name=r,i}var Du,Tu=(f(Iu,Du=nu),Iu.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitKeyedRead(this,t)},Iu);function Iu(e,t,n,r){var i=Du.call(this,e,t)||this;return i.obj=n,i.key=r,i}var Pu,Au=(f(Mu,Pu=nu),Mu.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitKeyedWrite(this,t)},Mu);function Mu(e,t,n,r,i){var o=Pu.call(this,e,t)||this;return o.obj=n,o.key=r,o.value=i,o}var Ru,Nu=(f(ju,Ru=nu),ju.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPipe(this,t)},ju);function ju(e,t,n,r,i){var o=Ru.call(this,e,t)||this;return o.exp=n,o.name=r,o.args=i,o}var Fu,Lu=(f(Vu,Fu=nu),Vu.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitLiteralPrimitive(this,t)},Vu);function Vu(e,t,n){var r=Fu.call(this,e,t)||this;return r.value=n,r}var Bu,Uu=(f(zu,Bu=nu),zu.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitLiteralArray(this,t)},zu);function zu(e,t,n){var r=Bu.call(this,e,t)||this;return r.expressions=n,r}var qu,Hu=(f(Wu,qu=nu),Wu.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitLiteralMap(this,t)},Wu);function Wu(e,t,n,r){var i=qu.call(this,e,t)||this;return i.keys=n,i.values=r,i}var Gu,Yu=(f(Ku,Gu=nu),Ku.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitInterpolation(this,t)},Ku);function Ku(e,t,n,r){var i=Gu.call(this,e,t)||this;return i.strings=n,i.expressions=r,i}var Zu,Qu=(f(Xu,Zu=nu),Xu.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitBinary(this,t)},Xu);function Xu(e,t,n,r,i){var o=Zu.call(this,e,t)||this;return o.operation=n,o.left=r,o.right=i,o}var $u,Ju=(f(ec,$u=nu),ec.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPrefixNot(this,t)},ec);function ec(e,t,n){var r=$u.call(this,e,t)||this;return r.expression=n,r}var tc,nc=(f(rc,tc=nu),rc.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitNonNullAssert(this,t)},rc);function rc(e,t,n){var r=tc.call(this,e,t)||this;return r.expression=n,r}var ic,oc=(f(ac,ic=nu),ac.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitMethodCall(this,t)},ac);function ac(e,t,n,r,i){var o=ic.call(this,e,t)||this;return o.receiver=n,o.name=r,o.args=i,o}var sc,lc=(f(uc,sc=nu),uc.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitSafeMethodCall(this,t)},uc);function uc(e,t,n,r,i){var o=sc.call(this,e,t)||this;return o.receiver=n,o.name=r,o.args=i,o}var cc,pc=(f(dc,cc=nu),dc.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitFunctionCall(this,t)},dc);function dc(e,t,n,r){var i=cc.call(this,e,t)||this;return i.target=n,i.args=r,i}var hc,fc=function(e,t){this.start=e,this.end=t},mc=(f(vc,hc=nu),vc.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)},vc.prototype.toString=function(){return this.source+" in "+this.location},vc);function vc(e,t,n,r,i){var o=hc.call(this,new eu(0,null===t?0:t.length),new fc(r,null===t?r:r+t.length))||this;return o.ast=e,o.source=t,o.location=n,o.errors=i,o}var yc=function(e,t,n,r,i,o){this.span=e,this.key=n,this.keyIsVar=r,this.name=i,this.expression=o},gc=(_c.prototype.visitBinary=function(e,t){},_c.prototype.visitChain=function(e,t){},_c.prototype.visitConditional=function(e,t){},_c.prototype.visitFunctionCall=function(e,t){},_c.prototype.visitImplicitReceiver=function(e,t){},_c.prototype.visitInterpolation=function(e,t){},_c.prototype.visitKeyedRead=function(e,t){},_c.prototype.visitKeyedWrite=function(e,t){},_c.prototype.visitLiteralArray=function(e,t){},_c.prototype.visitLiteralMap=function(e,t){},_c.prototype.visitLiteralPrimitive=function(e,t){},_c.prototype.visitMethodCall=function(e,t){},_c.prototype.visitPipe=function(e,t){},_c.prototype.visitPrefixNot=function(e,t){},_c.prototype.visitNonNullAssert=function(e,t){},_c.prototype.visitPropertyRead=function(e,t){},_c.prototype.visitPropertyWrite=function(e,t){},_c.prototype.visitQuote=function(e,t){},_c.prototype.visitSafeMethodCall=function(e,t){},_c.prototype.visitSafePropertyRead=function(e,t){},_c);function _c(){}var bc=(wc.prototype.visitBinary=function(e,t){return e.left.visit(this,t),e.right.visit(this,t),null},wc.prototype.visitChain=function(e,t){return this.visitAll(e.expressions,t)},wc.prototype.visitConditional=function(e,t){return e.condition.visit(this,t),e.trueExp.visit(this,t),e.falseExp.visit(this,t),null},wc.prototype.visitPipe=function(e,t){return e.exp.visit(this,t),this.visitAll(e.args,t),null},wc.prototype.visitFunctionCall=function(e,t){return e.target.visit(this,t),this.visitAll(e.args,t),null},wc.prototype.visitImplicitReceiver=function(e,t){return null},wc.prototype.visitInterpolation=function(e,t){return this.visitAll(e.expressions,t)},wc.prototype.visitKeyedRead=function(e,t){return e.obj.visit(this,t),e.key.visit(this,t),null},wc.prototype.visitKeyedWrite=function(e,t){return e.obj.visit(this,t),e.key.visit(this,t),e.value.visit(this,t),null},wc.prototype.visitLiteralArray=function(e,t){return this.visitAll(e.expressions,t)},wc.prototype.visitLiteralMap=function(e,t){return this.visitAll(e.values,t)},wc.prototype.visitLiteralPrimitive=function(e,t){return null},wc.prototype.visitMethodCall=function(e,t){return e.receiver.visit(this,t),this.visitAll(e.args,t)},wc.prototype.visitPrefixNot=function(e,t){return e.expression.visit(this,t),null},wc.prototype.visitNonNullAssert=function(e,t){return e.expression.visit(this,t),null},wc.prototype.visitPropertyRead=function(e,t){return e.receiver.visit(this,t),null},wc.prototype.visitPropertyWrite=function(e,t){return e.receiver.visit(this,t),e.value.visit(this,t),null},wc.prototype.visitSafePropertyRead=function(e,t){return e.receiver.visit(this,t),null},wc.prototype.visitSafeMethodCall=function(e,t){return e.receiver.visit(this,t),this.visitAll(e.args,t)},wc.prototype.visitAll=function(e,t){var n=this;return e.forEach(function(e){return e.visit(n,t)}),null},wc.prototype.visitQuote=function(e,t){return null},wc);function wc(){}var xc=(Cc.prototype.visitImplicitReceiver=function(e,t){return e},Cc.prototype.visitInterpolation=function(e,t){return new Yu(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))},Cc.prototype.visitLiteralPrimitive=function(e,t){return new Lu(e.span,e.sourceSpan,e.value)},Cc.prototype.visitPropertyRead=function(e,t){return new bu(e.span,e.sourceSpan,e.receiver.visit(this),e.name)},Cc.prototype.visitPropertyWrite=function(e,t){return new Cu(e.span,e.sourceSpan,e.receiver.visit(this),e.name,e.value.visit(this))},Cc.prototype.visitSafePropertyRead=function(e,t){return new Ou(e.span,e.sourceSpan,e.receiver.visit(this),e.name)},Cc.prototype.visitMethodCall=function(e,t){return new oc(e.span,e.sourceSpan,e.receiver.visit(this),e.name,this.visitAll(e.args))},Cc.prototype.visitSafeMethodCall=function(e,t){return new lc(e.span,e.sourceSpan,e.receiver.visit(this),e.name,this.visitAll(e.args))},Cc.prototype.visitFunctionCall=function(e,t){return new pc(e.span,e.sourceSpan,e.target.visit(this),this.visitAll(e.args))},Cc.prototype.visitLiteralArray=function(e,t){return new Uu(e.span,e.sourceSpan,this.visitAll(e.expressions))},Cc.prototype.visitLiteralMap=function(e,t){return new Hu(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))},Cc.prototype.visitBinary=function(e,t){return new Qu(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))},Cc.prototype.visitPrefixNot=function(e,t){return new Ju(e.span,e.sourceSpan,e.expression.visit(this))},Cc.prototype.visitNonNullAssert=function(e,t){return new nc(e.span,e.sourceSpan,e.expression.visit(this))},Cc.prototype.visitConditional=function(e,t){return new yu(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))},Cc.prototype.visitPipe=function(e,t){return new Nu(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args))},Cc.prototype.visitKeyedRead=function(e,t){return new Tu(e.span,e.sourceSpan,e.obj.visit(this),e.key.visit(this))},Cc.prototype.visitKeyedWrite=function(e,t){return new Au(e.span,e.sourceSpan,e.obj.visit(this),e.key.visit(this),e.value.visit(this))},Cc.prototype.visitAll=function(e){for(var t=[],n=0;n<e.length;++n)t[n]=e[n].visit(this);return t},Cc.prototype.visitChain=function(e,t){return new fu(e.span,e.sourceSpan,this.visitAll(e.expressions))},Cc.prototype.visitQuote=function(e,t){return new ou(e.span,e.sourceSpan,e.prefix,e.uninterpretedExpression,e.location)},Cc);function Cc(){}var Sc=(Ec.prototype.visitImplicitReceiver=function(e,t){return e},Ec.prototype.visitInterpolation=function(e,t){var n=this.visitAll(e.expressions);return n!==e.expressions?new Yu(e.span,e.sourceSpan,e.strings,n):e},Ec.prototype.visitLiteralPrimitive=function(e,t){return e},Ec.prototype.visitPropertyRead=function(e,t){var n=e.receiver.visit(this);return n!==e.receiver?new bu(e.span,e.sourceSpan,n,e.name):e},Ec.prototype.visitPropertyWrite=function(e,t){var n=e.receiver.visit(this),r=e.value.visit(this);return n!==e.receiver||r!==e.value?new Cu(e.span,e.sourceSpan,n,e.name,r):e},Ec.prototype.visitSafePropertyRead=function(e,t){var n=e.receiver.visit(this);return n!==e.receiver?new Ou(e.span,e.sourceSpan,n,e.name):e},Ec.prototype.visitMethodCall=function(e,t){var n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new oc(e.span,e.sourceSpan,n,e.name,r):e},Ec.prototype.visitSafeMethodCall=function(e,t){var n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new lc(e.span,e.sourceSpan,n,e.name,r):e},Ec.prototype.visitFunctionCall=function(e,t){var n=e.target&&e.target.visit(this),r=this.visitAll(e.args);return n!==e.target||r!==e.args?new pc(e.span,e.sourceSpan,n,r):e},Ec.prototype.visitLiteralArray=function(e,t){var n=this.visitAll(e.expressions);return n!==e.expressions?new Uu(e.span,e.sourceSpan,n):e},Ec.prototype.visitLiteralMap=function(e,t){var n=this.visitAll(e.values);return n!==e.values?new Hu(e.span,e.sourceSpan,e.keys,n):e},Ec.prototype.visitBinary=function(e,t){var n=e.left.visit(this),r=e.right.visit(this);return n!==e.left||r!==e.right?new Qu(e.span,e.sourceSpan,e.operation,n,r):e},Ec.prototype.visitPrefixNot=function(e,t){var n=e.expression.visit(this);return n!==e.expression?new Ju(e.span,e.sourceSpan,n):e},Ec.prototype.visitNonNullAssert=function(e,t){var n=e.expression.visit(this);return n!==e.expression?new nc(e.span,e.sourceSpan,n):e},Ec.prototype.visitConditional=function(e,t){var n=e.condition.visit(this),r=e.trueExp.visit(this),i=e.falseExp.visit(this);return n!==e.condition||r!==e.trueExp||i!==e.falseExp?new yu(e.span,e.sourceSpan,n,r,i):e},Ec.prototype.visitPipe=function(e,t){var n=e.exp.visit(this),r=this.visitAll(e.args);return n!==e.exp||r!==e.args?new Nu(e.span,e.sourceSpan,n,e.name,r):e},Ec.prototype.visitKeyedRead=function(e,t){var n=e.obj.visit(this),r=e.key.visit(this);return n!==e.obj||r!==e.key?new Tu(e.span,e.sourceSpan,n,r):e},Ec.prototype.visitKeyedWrite=function(e,t){var n=e.obj.visit(this),r=e.key.visit(this),i=e.value.visit(this);return n!==e.obj||r!==e.key||i!==e.value?new Au(e.span,e.sourceSpan,n,r,i):e},Ec.prototype.visitAll=function(e){for(var t=[],n=!1,r=0;r<e.length;++r){var i=e[r],o=i.visit(this);t[r]=o,n=n||o!==i}return n?t:e},Ec.prototype.visitChain=function(e,t){var n=this.visitAll(e.expressions);return n!==e.expressions?new fu(e.span,e.sourceSpan,n):e},Ec.prototype.visitQuote=function(e,t){return e},Ec);function Ec(){}var Oc,kc=function(e,t,n,r,i){this.name=e,this.expression=t,this.type=n,this.sourceSpan=r,this.valueSpan=i,this.isLiteral=this.type===E.ParsedPropertyType.LITERAL_ATTR,this.isAnimation=this.type===E.ParsedPropertyType.ANIMATION};(Oc=E.ParsedPropertyType||(E.ParsedPropertyType={}))[Oc.DEFAULT=0]="DEFAULT",Oc[Oc.LITERAL_ATTR=1]="LITERAL_ATTR",Oc[Oc.ANIMATION=2]="ANIMATION";var Dc=function(e,t,n,r,i,o){this.name=e,this.targetOrPhase=t,this.type=n,this.handler=r,this.sourceSpan=i,this.handlerSpan=o},Tc=function(e,t,n){this.name=e,this.value=t,this.sourceSpan=n},Ic=function(e,t,n,r,i,o,a){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.valueSpan=a},Pc=function(e,t,n){this.strings=e,this.expressions=t,this.offsets=n},Ac=function(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n};function Mc(e){var t=Vr(e.start)+"([\\s\\S]*?)"+Vr(e.end);return new RegExp(t,"g")}var Rc=(Nc.prototype.parseAction=function(e,t,n,r){void 0===r&&(r=Fl),this._checkNoInterpolation(e,t,r);var i=this._stripComments(e),o=this._lexer.tokenize(this._stripComments(e)),a=new jc(e,t,n,o,i.length,!0,this.errors,e.length-i.length).parseChain();return new mc(a,e,t,n,this.errors)},Nc.prototype.parseBinding=function(e,t,n,r){void 0===r&&(r=Fl);var i=this._parseBindingAst(e,t,n,r);return new mc(i,e,t,n,this.errors)},Nc.prototype.parseSimpleBinding=function(e,t,n,r){void 0===r&&(r=Fl);var i=this._parseBindingAst(e,t,n,r),o=Lc.check(i);return 0<o.length&&this._reportError("Host binding expression cannot contain "+o.join(" "),e,t),new mc(i,e,t,n,this.errors)},Nc.prototype._reportError=function(e,t,n,r){this.errors.push(new Jl(e,t,n,r))},Nc.prototype._parseBindingAst=function(e,t,n,r){var i=this._parseQuote(e,t,n);if(null!=i)return i;this._checkNoInterpolation(e,t,r);var o=this._stripComments(e),a=this._lexer.tokenize(o);return new jc(e,t,n,a,o.length,!1,this.errors,e.length-o.length).parseChain()},Nc.prototype._parseQuote=function(e,t,n){if(null==e)return null;var r=e.indexOf(":");if(-1==r)return null;var i=e.substring(0,r).trim();if(!Zl(i))return null;var o=e.substring(r+1),a=new eu(0,e.length);return new ou(a,a.toAbsolute(n),i,o,t)},Nc.prototype.parseTemplateBindings=function(e,t,n,r){var i=this._lexer.tokenize(t);return new jc(t,n,r,i,t.length,!1,this.errors,0).parseTemplateBindings(e)},Nc.prototype.parseInterpolation=function(e,t,n,r){void 0===r&&(r=Fl);var i=this.splitInterpolation(e,t,r);if(null==i)return null;for(var o=[],a=0;a<i.expressions.length;++a){var s=i.expressions[a],l=this._stripComments(s),u=this._lexer.tokenize(l),c=new jc(e,t,n,u,l.length,!1,this.errors,i.offsets[a]+(s.length-l.length)).parseChain();o.push(c)}var p=new eu(0,null==e?0:e.length);return new mc(new Yu(p,p.toAbsolute(n),i.strings,o),e,t,n,this.errors)},Nc.prototype.splitInterpolation=function(e,t,n){void 0===n&&(n=Fl);var r=Mc(n),i=e.split(r);if(i.length<=1)return null;for(var o=[],a=[],s=[],l=0,u=0;u<i.length;u++){var c=i[u];u%2==0?(o.push(c),l+=c.length):0<c.trim().length?(l+=n.start.length,a.push(c),s.push(l),l+=c.length+n.end.length):(this._reportError("Blank expressions are not allowed in interpolated strings",e,"at column "+this._findInterpolationErrorColumn(i,u,n)+" in",t),a.push("$implict"),s.push(l))}return new Pc(o,a,s)},Nc.prototype.wrapLiteralPrimitive=function(e,t,n){var r=new eu(0,null==e?0:e.length);return new mc(new Lu(r,r.toAbsolute(n),e),e,t,n,this.errors)},Nc.prototype._stripComments=function(e){var t=this._commentStart(e);return null!=t?e.substring(0,t).trim():e},Nc.prototype._commentStart=function(e){for(var t=null,n=0;n<e.length-1;n++){var r=e.charCodeAt(n),i=e.charCodeAt(n+1);if(47===r&&47==i&&null==t)return n;t===r?t=null:null==t&&Xl(r)&&(t=r)}return null},Nc.prototype._checkNoInterpolation=function(e,t,n){var r=Mc(n),i=e.split(r);1<i.length&&this._reportError("Got interpolation ("+n.start+n.end+") where expression was expected",e,"at column "+this._findInterpolationErrorColumn(i,1,n)+" in",t)},Nc.prototype._findInterpolationErrorColumn=function(e,t,n){for(var r="",i=0;i<t;i++)r+=i%2==0?e[i]:""+n.start+e[i]+n.end;return r.length},Nc);function Nc(e){this._lexer=e,this.errors=[]}var jc=(Fc.prototype.peek=function(e){var t=this.index+e;return t<this.tokens.length?this.tokens[t]:Wl},Object.defineProperty(Fc.prototype,"next",{get:function(){return this.peek(0)},enumerable:!0,configurable:!0}),Object.defineProperty(Fc.prototype,"inputIndex",{get:function(){return this.index<this.tokens.length?this.next.index+this.offset:this.inputLength+this.offset},enumerable:!0,configurable:!0}),Fc.prototype.span=function(e){return new eu(e,this.inputIndex)},Fc.prototype.sourceSpan=function(e){var t=e+"@"+this.inputIndex;return this.sourceSpanCache.has(t)||this.sourceSpanCache.set(t,this.span(e).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(t)},Fc.prototype.advance=function(){this.index++},Fc.prototype.optionalCharacter=function(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)},Fc.prototype.peekKeywordLet=function(){return this.next.isKeywordLet()},Fc.prototype.peekKeywordAs=function(){return this.next.isKeywordAs()},Fc.prototype.expectCharacter=function(e){this.optionalCharacter(e)||this.error("Missing expected "+String.fromCharCode(e))},Fc.prototype.optionalOperator=function(e){return!!this.next.isOperator(e)&&(this.advance(),!0)},Fc.prototype.expectOperator=function(e){this.optionalOperator(e)||this.error("Missing expected operator "+e)},Fc.prototype.expectIdentifierOrKeyword=function(){var e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(this.error("Unexpected token "+e+", expected identifier or keyword"),"")},Fc.prototype.expectIdentifierOrKeywordOrString=function(){var e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(this.error("Unexpected token "+e+", expected identifier, keyword, or string"),"")},Fc.prototype.parseChain=function(){for(var e=[],t=this.inputIndex;this.index<this.tokens.length;){var n=this.parsePipe();if(e.push(n),this.optionalCharacter(59))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.optionalCharacter(59););else this.index<this.tokens.length&&this.error("Unexpected token '"+this.next+"'")}return 0==e.length?new lu(this.span(t),this.sourceSpan(t)):1==e.length?e[0]:new fu(this.span(t),this.sourceSpan(t),e)},Fc.prototype.parsePipe=function(){var e=this.parseExpression();if(this.optionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{for(var t=this.expectIdentifierOrKeyword(),n=[];this.optionalCharacter(58);)n.push(this.parseExpression());var r=e.span.start;e=new Nu(this.span(r),this.sourceSpan(r),e,t,n)}while(this.optionalOperator("|"))}return e},Fc.prototype.parseExpression=function(){return this.parseConditional()},Fc.prototype.parseConditional=function(){var e=this.inputIndex,t=this.parseLogicalOr();if(this.optionalOperator("?")){var n=this.parsePipe(),r=void 0;if(this.optionalCharacter(58))r=this.parsePipe();else{var i=this.inputIndex,o=this.input.substring(e,i);this.error("Conditional expression "+o+" requires all 3 expressions"),r=new lu(this.span(e),this.sourceSpan(e))}return new yu(this.span(e),this.sourceSpan(e),t,n,r)}return t},Fc.prototype.parseLogicalOr=function(){for(var e=this.parseLogicalAnd();this.optionalOperator("||");){var t=this.parseLogicalAnd(),n=e.span.start;e=new Qu(this.span(n),this.sourceSpan(n),"||",e,t)}return e},Fc.prototype.parseLogicalAnd=function(){for(var e=this.parseEquality();this.optionalOperator("&&");){var t=this.parseEquality(),n=e.span.start;e=new Qu(this.span(n),this.sourceSpan(n),"&&",e,t)}return e},Fc.prototype.parseEquality=function(){for(var e=this.parseRelational();this.next.type==E.TokenType.Operator;){var t=this.next.strValue;switch(t){case"==":case"===":case"!=":case"!==":this.advance();var n=this.parseRelational(),r=e.span.start;e=new Qu(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e},Fc.prototype.parseRelational=function(){for(var e=this.parseAdditive();this.next.type==E.TokenType.Operator;){var t=this.next.strValue;switch(t){case"<":case">":case"<=":case">=":this.advance();var n=this.parseAdditive(),r=e.span.start;e=new Qu(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e},Fc.prototype.parseAdditive=function(){for(var e=this.parseMultiplicative();this.next.type==E.TokenType.Operator;){var t=this.next.strValue;switch(t){case"+":case"-":this.advance();var n=this.parseMultiplicative(),r=e.span.start;e=new Qu(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e},Fc.prototype.parseMultiplicative=function(){for(var e=this.parsePrefix();this.next.type==E.TokenType.Operator;){var t=this.next.strValue;switch(t){case"*":case"%":case"/":this.advance();var n=this.parsePrefix(),r=e.span.start;e=new Qu(this.span(r),this.sourceSpan(r),t,e,n);continue}break}return e},Fc.prototype.parsePrefix=function(){if(this.next.type==E.TokenType.Operator){var e=this.inputIndex,t=this.next.strValue,n=new eu(e,e),r=n.toAbsolute(this.absoluteOffset),i=void 0;switch(t){case"+":return this.advance(),i=this.parsePrefix(),new Qu(this.span(e),this.sourceSpan(e),"-",i,new Lu(n,r,0));case"-":return this.advance(),i=this.parsePrefix(),new Qu(this.span(e),this.sourceSpan(e),t,new Lu(n,r,0),i);case"!":return this.advance(),i=this.parsePrefix(),new Ju(this.span(e),this.sourceSpan(e),i)}}return this.parseCallChain()},Fc.prototype.parseCallChain=function(){for(var e=this.parsePrimary(),t=e.span.start;;)if(this.optionalCharacter(46))e=this.parseAccessMemberOrMethodCall(e,!1);else if(this.optionalOperator("?."))e=this.parseAccessMemberOrMethodCall(e,!0);else if(this.optionalCharacter(91)){this.rbracketsExpected++;var n=this.parsePipe();if(this.rbracketsExpected--,this.expectCharacter(93),this.optionalOperator("=")){var r=this.parseConditional();e=new Au(this.span(t),this.sourceSpan(t),e,n,r)}else e=new Tu(this.span(t),this.sourceSpan(t),e,n)}else if(this.optionalCharacter(40)){this.rparensExpected++;var i=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(41),e=new pc(this.span(t),this.sourceSpan(t),e,i)}else{if(!this.optionalOperator("!"))return e;e=new nc(this.span(t),this.sourceSpan(t),e)}},Fc.prototype.parsePrimary=function(){var e=this.inputIndex;if(this.optionalCharacter(40)){this.rparensExpected++;var t=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),t}if(this.next.isKeywordNull())return this.advance(),new Lu(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new Lu(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new Lu(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new Lu(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new pu(this.span(e),this.sourceSpan(e));if(this.optionalCharacter(91)){this.rbracketsExpected++;var n=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Uu(this.span(e),this.sourceSpan(e),n)}if(this.next.isCharacter(To))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new pu(this.span(e),this.sourceSpan(e)),!1);if(this.next.isNumber()){var r=this.next.toNumber();return this.advance(),new Lu(this.span(e),this.sourceSpan(e),r)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new Lu(this.span(e),this.sourceSpan(e),i)}return this.index>=this.tokens.length?this.error("Unexpected end of expression: "+this.input):this.error("Unexpected token "+this.next),new lu(this.span(e),this.sourceSpan(e))},Fc.prototype.parseExpressionList=function(e){var t=[];if(!this.next.isCharacter(e))for(;t.push(this.parsePipe()),this.optionalCharacter(44););return t},Fc.prototype.parseLiteralMap=function(){var e=[],t=[],n=this.inputIndex;if(this.expectCharacter(To),!this.optionalCharacter(Io)){this.rbracesExpected++;do{var r=this.next.isString(),i=this.expectIdentifierOrKeywordOrString();e.push({key:i,quoted:r}),this.expectCharacter(58),t.push(this.parsePipe())}while(this.optionalCharacter(44));this.rbracesExpected--,this.expectCharacter(Io)}return new Hu(this.span(n),this.sourceSpan(n),e,t)},Fc.prototype.parseAccessMemberOrMethodCall=function(e,t){void 0===t&&(t=!1);var n=e.span.start,r=this.expectIdentifierOrKeyword();if(this.optionalCharacter(40)){this.rparensExpected++;var i=this.parseCallArguments();this.expectCharacter(41),this.rparensExpected--;var o=this.span(n),a=this.sourceSpan(n);return t?new lc(o,a,e,r,i):new oc(o,a,e,r,i)}if(t)return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new lu(this.span(n),this.sourceSpan(n))):new Ou(this.span(n),this.sourceSpan(n),e,r);if(this.optionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new lu(this.span(n),this.sourceSpan(n));var s=this.parseConditional();return new Cu(this.span(n),this.sourceSpan(n),e,r,s)}return o=this.span(n),new bu(this.span(n),this.sourceSpan(n),e,r)},Fc.prototype.parseCallArguments=function(){if(this.next.isCharacter(41))return[];for(var e=[];e.push(this.parsePipe()),this.optionalCharacter(44););return e},Fc.prototype.expectTemplateBindingKey=function(){for(var e="",t=!1;e+=this.expectIdentifierOrKeywordOrString(),(t=this.optionalOperator("-"))&&(e+="-"),t;);return e.toString()},Fc.prototype.parseTemplateBindings=function(e){var t=!0,n=[];do{var r=this.inputIndex,i=void 0,o=void 0,a=!1;t?(i=o=e,t=!1):((a=this.peekKeywordLet())&&this.advance(),i=this.expectTemplateBindingKey(),o=a?i:e+i[0].toUpperCase()+i.substring(1),this.optionalCharacter(58));var s=null,l=null;if(a)s=this.optionalOperator("=")?this.expectTemplateBindingKey():"$implicit";else if(this.peekKeywordAs())this.advance(),s=i,o=this.expectTemplateBindingKey(),a=!0;else if(this.next!==Wl&&!this.peekKeywordLet()){var u=this.inputIndex,c=this.parsePipe(),p=this.input.substring(u-this.offset,this.inputIndex-this.offset);l=new mc(c,p,this.location,this.absoluteOffset,this.errors)}if(n.push(new yc(this.span(r),this.sourceSpan(r),o,a,s,l)),this.peekKeywordAs()&&!a){var d=this.inputIndex;this.advance();var h=this.expectTemplateBindingKey();n.push(new yc(this.span(d),this.sourceSpan(d),h,!0,o,null))}this.optionalCharacter(59)||this.optionalCharacter(44)}while(this.index<this.tokens.length);return new Ac(n,[],this.errors)},Fc.prototype.error=function(e,t){void 0===t&&(t=null),this.errors.push(new Jl(e,this.input,this.locationText(t),this.location)),this.skip()},Fc.prototype.locationText=function(e){return void 0===e&&(e=null),null==e&&(e=this.index),e<this.tokens.length?"at column "+(this.tokens[e].index+1)+" in":"at the end of the expression"},Fc.prototype.skip=function(){for(var e=this.next;this.index<this.tokens.length&&!e.isCharacter(59)&&(this.rparensExpected<=0||!e.isCharacter(41))&&(this.rbracesExpected<=0||!e.isCharacter(Io))&&(this.rbracketsExpected<=0||!e.isCharacter(93));)this.next.isError()&&this.errors.push(new Jl(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next},Fc);function Fc(e,t,n,r,i,o,a,s){this.input=e,this.location=t,this.absoluteOffset=n,this.tokens=r,this.inputLength=i,this.parseAction=o,this.errors=a,this.offset=s,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.sourceSpanCache=new Map,this.index=0}var Lc=(Vc.check=function(e){var t=new Vc;return e.visit(t),t.errors},Vc.prototype.visitImplicitReceiver=function(e,t){},Vc.prototype.visitInterpolation=function(e,t){},Vc.prototype.visitLiteralPrimitive=function(e,t){},Vc.prototype.visitPropertyRead=function(e,t){},Vc.prototype.visitPropertyWrite=function(e,t){},Vc.prototype.visitSafePropertyRead=function(e,t){},Vc.prototype.visitMethodCall=function(e,t){},Vc.prototype.visitSafeMethodCall=function(e,t){},Vc.prototype.visitFunctionCall=function(e,t){},Vc.prototype.visitLiteralArray=function(e,t){this.visitAll(e.expressions)},Vc.prototype.visitLiteralMap=function(e,t){this.visitAll(e.values)},Vc.prototype.visitBinary=function(e,t){},Vc.prototype.visitPrefixNot=function(e,t){},Vc.prototype.visitNonNullAssert=function(e,t){},Vc.prototype.visitConditional=function(e,t){},Vc.prototype.visitPipe=function(e,t){this.errors.push("pipes")},Vc.prototype.visitKeyedRead=function(e,t){},Vc.prototype.visitKeyedWrite=function(e,t){},Vc.prototype.visitAll=function(e){var t=this;return e.map(function(e){return e.visit(t)})},Vc.prototype.visitChain=function(e,t){},Vc.prototype.visitQuote=function(e,t){},Vc);function Vc(){this.errors=[]}var Bc=(Object.defineProperty(Uc.prototype,"empty",{get:function(){return!this.path||!this.path.length},enumerable:!0,configurable:!0}),Object.defineProperty(Uc.prototype,"head",{get:function(){return this.path[0]},enumerable:!0,configurable:!0}),Object.defineProperty(Uc.prototype,"tail",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),Uc.prototype.parentOf=function(e){return e&&this.path[this.path.indexOf(e)-1]},Uc.prototype.childOf=function(e){return this.path[this.path.indexOf(e)+1]},Uc.prototype.first=function(e){for(var t=this.path.length-1;0<=t;t--){var n=this.path[t];if(n instanceof e)return n}},Uc.prototype.push=function(e){this.path.push(e)},Uc.prototype.pop=function(){return this.path.pop()},Uc);function Uc(e,t){void 0===t&&(t=-1),this.path=e,this.position=t}var zc=(qc.prototype.visit=function(e,t){return e.visitText(this,t)},qc);function qc(e,t,n){this.value=e,this.sourceSpan=t,this.i18n=n}var Hc=(Wc.prototype.visit=function(e,t){return e.visitExpansion(this,t)},Wc);function Wc(e,t,n,r,i,o){this.switchValue=e,this.type=t,this.cases=n,this.sourceSpan=r,this.switchValueSourceSpan=i,this.i18n=o}var Gc=(Yc.prototype.visit=function(e,t){return e.visitExpansionCase(this,t)},Yc);function Yc(e,t,n,r,i){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}var Kc=(Zc.prototype.visit=function(e,t){return e.visitAttribute(this,t)},Zc);function Zc(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r,this.i18n=i}var Qc=(Xc.prototype.visit=function(e,t){return e.visitElement(this,t)},Xc);function Xc(e,t,n,r,i,o,a){void 0===i&&(i=null),void 0===o&&(o=null),this.name=e,this.attrs=t,this.children=n,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=o,this.i18n=a}var $c=(Jc.prototype.visit=function(e,t){return e.visitComment(this,t)},Jc);function Jc(e,t){this.value=e,this.sourceSpan=t}function ep(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(e){var t=i(e);t&&r.push(t)}),r}var tp=(np.prototype.visitElement=function(t,e){this.visitChildren(e,function(e){e(t.attrs),e(t.children)})},np.prototype.visitAttribute=function(e,t){},np.prototype.visitText=function(e,t){},np.prototype.visitComment=function(e,t){},np.prototype.visitExpansion=function(t,e){return this.visitChildren(e,function(e){e(t.cases)})},np.prototype.visitExpansionCase=function(e,t){},np.prototype.visitChildren=function(t,e){var n=[],r=this;return e(function(e){e&&n.push(ep(r,e,t))}),Array.prototype.concat.apply([],n)},np);function np(){}var rp={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"},ip=(op.prototype.getStartTagPlaceholderName=function(e,t,n){var r=this._hashTag(e,t,n);if(this._signatureToName[r])return this._signatureToName[r];var i=e.toUpperCase(),o=rp[i]||"TAG_"+i,a=this._generateUniqueName(n?o:"START_"+o);return this._signatureToName[r]=a},op.prototype.getCloseTagPlaceholderName=function(e){var t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];var n=e.toUpperCase(),r=rp[n]||"TAG_"+n,i=this._generateUniqueName("CLOSE_"+r);return this._signatureToName[t]=i},op.prototype.getPlaceholderName=function(e,t){var n=e.toUpperCase(),r="PH: "+n+"="+t;if(this._signatureToName[r])return this._signatureToName[r];var i=this._generateUniqueName(n);return this._signatureToName[r]=i},op.prototype.getUniquePlaceholder=function(e){return this._generateUniqueName(e.toUpperCase())},op.prototype._hashTag=function(e,t,n){return"<"+e+Object.keys(t).sort().map(function(e){return" "+e+"="+t[e]}).join("")+(n?"/>":"></"+e+">")},op.prototype._hashClosingTag=function(e){return this._hashTag("/"+e,{},!1)},op.prototype._generateUniqueName=function(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;var t=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=t+1,e+"_"+t},op);function op(){this._placeHolderNameCounts={},this._signatureToName={}}var ap=new Rc(new Vl);function sp(e){var o=new lp(ap,e);return function(e,t,n,r,i){return o.toI18nMessage(e,t,n,r,i)}}var lp=(up.prototype.toI18nMessage=function(e,t,n,r,i){this._isIcu=1==e.length&&e[0]instanceof Hc,this._icuDepth=0,this._placeholderRegistry=new ip,this._placeholderToContent={},this._placeholderToMessage={},this._visitNodeFn=i;var o=ep(this,e,{});return new Sa(o,this._placeholderToContent,this._placeholderToMessage,t,n,r)},up.prototype._visitNode=function(e,t){return this._visitNodeFn&&this._visitNodeFn(e,t),t},up.prototype.visitElement=function(e,t){var n=ep(this,e.children),r={};e.attrs.forEach(function(e){r[e.name]=e.value});var i=d(e.name).isVoid,o=this._placeholderRegistry.getStartTagPlaceholderName(e.name,r,i);this._placeholderToContent[o]=e.sourceSpan.toString();var a="";i||(a=this._placeholderRegistry.getCloseTagPlaceholderName(e.name),this._placeholderToContent[a]="</"+e.name+">");var s=new Pa(e.name,r,o,a,n,i,e.sourceSpan);return this._visitNode(e,s)},up.prototype.visitAttribute=function(e,t){var n=this._visitTextWithInterpolation(e.value,e.sourceSpan);return this._visitNode(e,n)},up.prototype.visitText=function(e,t){var n=this._visitTextWithInterpolation(e.value,e.sourceSpan);return this._visitNode(e,n)},up.prototype.visitComment=function(e,t){return null},up.prototype.visitExpansion=function(e,t){var n=this;this._icuDepth++;var r={},i=new Ta(e.switchValue,e.type,r,e.sourceSpan);if(e.cases.forEach(function(e){r[e.value]=new ka(e.expression.map(function(e){return e.visit(n,{})}),e.expSourceSpan)}),this._icuDepth--,this._isIcu||0<this._icuDepth){var o=this._placeholderRegistry.getUniquePlaceholder("VAR_"+e.type);return i.expressionPlaceholder=o,this._placeholderToContent[o]=e.switchValue,this._visitNode(e,i)}var a=this._placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString()),s=new up(this._expressionParser,this._interpolationConfig);this._placeholderToMessage[a]=s.toI18nMessage([e],"","","");var l=new Na(i,a,e.sourceSpan);return this._visitNode(e,l)},up.prototype.visitExpansionCase=function(e,t){throw new Error("Unreachable code")},up.prototype._visitTextWithInterpolation=function(e,t){var n=this._expressionParser.splitInterpolation(e,t.start.toString(),this._interpolationConfig);if(!n)return new Ea(e,t);for(var r=[],i=new ka(r,t),o=this._interpolationConfig,a=o.start,s=o.end,l=0;l<n.strings.length-1;l++){var u=n.expressions[l],c=u.split(cp)[2]||"INTERPOLATION",p=this._placeholderRegistry.getPlaceholderName(c,u);n.strings[l].length&&r.push(new Ea(n.strings[l],t)),r.push(new Ma(u,p,t)),this._placeholderToContent[p]=a+u+s}var d=n.strings.length-1;return n.strings[d].length&&r.push(new Ea(n.strings[d],t)),i},up);function up(e,t){this._expressionParser=e,this._interpolationConfig=t}var cp=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;function pp(e,t){e.i18n=t}var dp=(hp.prototype._generateI18nMessage=function(e,t,n){void 0===t&&(t="");var r="string"==typeof t?function(e){var t,n,r,i,o;if(e){var a=e.indexOf(vp),s=e.indexOf(mp),l=void 0;t=U(-1<a?[e.slice(0,a),e.slice(a+2)]:[e,""],2),l=t[0],r=t[1],n=U(-1<s?[l.slice(0,s),l.slice(s+1)]:["",l],2),i=n[0],o=n[1]}return{customId:r,meaning:i,description:o}}(t):fp(t),i=this._createI18nMessage(e,r.meaning||"",r.description||"",r.customId||"",n);return i.id||(i.id="string"!=typeof t&&t.id||qa(i)),"xlf"===this.i18nLegacyMessageIdFormat||"xliff"===this.i18nLegacyMessageIdFormat?i.legacyId=za(i):"xlf2"===this.i18nLegacyMessageIdFormat||"xliff2"===this.i18nLegacyMessageIdFormat||"xmb"===this.i18nLegacyMessageIdFormat?i.legacyId=Ha(i):"string"!=typeof t&&(i.legacyId=t.legacyId),i},hp.prototype.visitElement=function(e,t){var n,r,i,o;if(function(e){return e.attrs.some(function(e){return Zs(e.name)})}(e)){var a=[],s={};try{for(var l=z(e.attrs),u=l.next();!u.done;u=l.next())if((f=u.value).name===Gs){var c=e.i18n||f.value,p=this._generateI18nMessage(e.children,c,pp);p.nodes.length&&(e.i18n=p)}else f.name.startsWith(Ys)?s[f.name.slice(Ys.length)]=f.value:a.push(f)}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(Object.keys(s).length)try{for(var d=z(a),h=d.next();!h.done;h=d.next()){var f,m=s[(f=h.value).name];void 0!==m&&f.value&&(f.i18n=this._generateI18nMessage([f],f.i18n||m))}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}this.keepI18nAttrs||(e.attrs=a)}return ep(this,e.children,e.i18n),e},hp.prototype.visitExpansion=function(e,t){var n,r=e.i18n;if(r instanceof Na){var i=r.name;$s(n=this._generateI18nMessage([e],r)).name=i}else n=this._generateI18nMessage([e],t||r);return e.i18n=n,e},hp.prototype.visitText=function(e,t){return e},hp.prototype.visitAttribute=function(e,t){return e},hp.prototype.visitComment=function(e,t){return e},hp.prototype.visitExpansionCase=function(e,t){return e},hp);function hp(e,t,n){void 0===e&&(e=Fl),void 0===t&&(t=!1),void 0===n&&(n=""),this.interpolationConfig=e,this.keepI18nAttrs=t,this.i18nLegacyMessageIdFormat=n,this._createI18nMessage=sp(this.interpolationConfig)}function fp(e,t){return void 0===t&&(t=null),{id:"string"==typeof t?t:e.id||"",customId:e.customId,legacyId:e.legacyId,meaning:e.meaning||"",description:e.description||""}}var mp="|",vp="@@";function yp(e,t){var n=e.description||"";return e.meaning&&(n=e.meaning+"|"+n),(e.customId||e.legacyId)&&(n=n+"@@"+(e.customId||e.legacyId)),""===n?gp(t):":"+function(e){return e.replace(/:/g,"\\:")}(n)+":"+t}function gp(e){return e.replace(/^:/,"\\:")}var _p=(bp.prototype.addSource=function(e,t){return void 0===t&&(t=null),this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this},bp.prototype.addLine=function(){return this.lines.push([]),this.lastCol0=0,this},bp.prototype.addMapping=function(e,t,n,r){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error('Unknown source file "'+t+'"');if(null==e)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==n||null==r))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:n,sourceCol0:r}),this},Object.defineProperty(bp.prototype,"currentLine",{get:function(){return this.lines.slice(-1)[0]},enumerable:!0,configurable:!0}),bp.prototype.toJSON=function(){var n=this;if(!this.hasMappings)return null;var r=new Map,i=[],o=[];Array.from(this.sourcesContent.keys()).forEach(function(e,t){r.set(e,t),i.push(e),o.push(n.sourcesContent.get(e)||null)});var t="",a=0,s=0,l=0,u=0;return this.lines.forEach(function(e){a=0,t+=e.map(function(e){var t=wp(e.col0-a);return a=e.col0,null!=e.sourceUrl&&(t+=wp(r.get(e.sourceUrl)-s),s=r.get(e.sourceUrl),t+=wp(e.sourceLine0-l),l=e.sourceLine0,t+=wp(e.sourceCol0-u),u=e.sourceCol0),t}).join(","),t+=";"}),t=t.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:i,sourcesContent:o,mappings:t}},bp.prototype.toJsComment=function(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function(e){var t="";e=Ur(e);for(var n=0;n<e.length;){var r=e.charCodeAt(n++),i=e.charCodeAt(n++),o=e.charCodeAt(n++);t+=Cp(r>>2),t+=Cp((3&r)<<4|(isNaN(i)?0:i>>4)),t+=isNaN(i)?"=":Cp((15&i)<<2|o>>6),t+=isNaN(i)||isNaN(o)?"=":Cp(63&o)}return t}(JSON.stringify(this,null,0)):""},bp);function bp(e){void 0===e&&(e=null),this.file=e,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}function wp(e){e=e<0?1+(-e<<1):e<<1;var t="";do{var n=31&e;0<(e>>=5)&&(n|=32),t+=Cp(n)}while(0<e);return t}var xp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Cp(e){if(e<0||64<=e)throw new Error("Can only encode value in the range [0, 63]");return xp[e]}var Sp=/'|\\|\n|\r|\$/g,Ep=/^[$A-Z_][0-9A-Z_$]*$/i,Op=fr("error",null,null),kp=fr("stack",null,null),Dp=function(e){this.indent=e,this.partsLength=0,this.parts=[],this.srcSpans=[]},Tp=(Ip.createRoot=function(){return new Ip(0)},Object.defineProperty(Ip.prototype,"_currentLine",{get:function(){return this._lines[this._lines.length-1]},enumerable:!0,configurable:!0}),Ip.prototype.println=function(e,t){void 0===t&&(t=""),this.print(e||null,t,!0)},Ip.prototype.lineIsEmpty=function(){return 0===this._currentLine.parts.length},Ip.prototype.lineLength=function(){return this._currentLine.indent*"  ".length+this._currentLine.partsLength},Ip.prototype.print=function(e,t,n){void 0===n&&(n=!1),0<t.length&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),n&&this._lines.push(new Dp(this._indent))},Ip.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},Ip.prototype.incIndent=function(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},Ip.prototype.decIndent=function(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},Ip.prototype.pushClass=function(e){this._classes.push(e)},Ip.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(Ip.prototype,"currentClass",{get:function(){return 0<this._classes.length?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),Ip.prototype.toSource=function(){return this.sourceLines.map(function(e){return 0<e.parts.length?Rp(e.indent)+e.parts.join(""):""}).join("\n")},Ip.prototype.toSourceMapGenerator=function(e,t){void 0===t&&(t=0);for(var c=new _p(e),p=!1,d=function(){p||(c.addSource(e," ").addMapping(0,e,0,0),p=!0)},n=0;n<t;n++)c.addLine(),d();return this.sourceLines.forEach(function(e,t){c.addLine();for(var n=e.srcSpans,r=e.parts,i=e.indent*"  ".length,o=0;o<n.length&&!n[o];)i+=r[o].length,o++;for(o<n.length&&0===t&&0===i?p=!0:d();o<n.length;){var a=n[o],s=a.start.file,l=a.start.line,u=a.start.col;for(c.addSource(s.url,s.content).addMapping(i,s.url,l,u),i+=r[o].length,o++;o<n.length&&(a===n[o]||!n[o]);)i+=r[o].length,o++}}),c},Ip.prototype.setPreambleLineCount=function(e){return this._preambleLineCount=e},Ip.prototype.spanOf=function(e,t){var n=this._lines[e-this._preambleLineCount];if(n)for(var r=t-Rp(n.indent).length,i=0;i<n.parts.length;i++){var o=n.parts[i];if(o.length>r)return n.srcSpans[i];r-=o.length}return null},Object.defineProperty(Ip.prototype,"sourceLines",{get:function(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines},enumerable:!0,configurable:!0}),Ip);function Ip(e){this._indent=e,this._classes=[],this._preambleLineCount=0,this._lines=[new Dp(e)]}var Pp=(Ap.prototype.visitExpressionStmt=function(e,t){return e.expr.visitExpression(this,t),t.println(e,";"),null},Ap.prototype.visitReturnStmt=function(e,t){return t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";"),null},Ap.prototype.visitIfStmt=function(e,t){t.print(e,"if ("),e.condition.visitExpression(this,t),t.print(e,") {");var n=null!=e.falseCase&&0<e.falseCase.length;return e.trueCase.length<=1&&!n?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),n&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}"),null},Ap.prototype.visitThrowStmt=function(e,t){return t.print(e,"throw "),e.error.visitExpression(this,t),t.println(e,";"),null},Ap.prototype.visitCommentStmt=function(t,n){return t.multiline?n.println(t,"/* "+t.comment+" */"):t.comment.split("\n").forEach(function(e){n.println(t,"// "+e)}),null},Ap.prototype.visitJSDocCommentStmt=function(e,t){return t.println(e,"/*"+e.toString()+"*/"),null},Ap.prototype.visitWriteVarExpr=function(e,t){var n=t.lineIsEmpty();return n||t.print(e,"("),t.print(e,e.name+" = "),e.value.visitExpression(this,t),n||t.print(e,")"),null},Ap.prototype.visitWriteKeyExpr=function(e,t){var n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"] = "),e.value.visitExpression(this,t),n||t.print(e,")"),null},Ap.prototype.visitWritePropExpr=function(e,t){var n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,"."+e.name+" = "),e.value.visitExpression(this,t),n||t.print(e,")"),null},Ap.prototype.visitInvokeMethodExpr=function(e,t){e.receiver.visitExpression(this,t);var n=e.name;return null!=e.builtin&&null==(n=this.getBuiltinMethodName(e.builtin))||(t.print(e,"."+n+"("),this.visitAllExpressions(e.args,t,","),t.print(e,")")),null},Ap.prototype.visitInvokeFunctionExpr=function(e,t){return e.fn.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null},Ap.prototype.visitWrappedNodeExpr=function(e,t){throw new Error("Abstract emitter cannot visit WrappedNodeExpr.")},Ap.prototype.visitTypeofExpr=function(e,t){t.print(e,"typeof "),e.expr.visitExpression(this,t)},Ap.prototype.visitReadVarExpr=function(e,t){var n=e.name;if(null!=e.builtin)switch(e.builtin){case E.BuiltinVar.Super:n="super";break;case E.BuiltinVar.This:n="this";break;case E.BuiltinVar.CatchError:n=Op.name;break;case E.BuiltinVar.CatchStack:n=kp.name;break;default:throw new Error("Unknown builtin variable "+e.builtin)}return t.print(e,n),null},Ap.prototype.visitInstantiateExpr=function(e,t){return t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null},Ap.prototype.visitLiteralExpr=function(e,t){var n=e.value;return"string"==typeof n?t.print(e,Mp(n,this._escapeDollarInStrings)):t.print(e,""+n),null},Ap.prototype.visitLocalizedString=function(e,t){var n,r,i=yp(e.metaBlock,e.messageParts[0]);t.print(e,"$localize `"+Np(i));for(var o=1;o<e.messageParts.length;o++)t.print(e,"${"),e.expressions[o-1].visitExpression(this,t),t.print(e,"}"+Np((n=e.placeHolderNames[o-1],r=e.messageParts[o],""===n?gp(r):":"+n+":"+r)));return t.print(e,"`"),null},Ap.prototype.visitConditionalExpr=function(e,t){return t.print(e,"("),e.condition.visitExpression(this,t),t.print(e,"? "),e.trueCase.visitExpression(this,t),t.print(e,": "),e.falseCase.visitExpression(this,t),t.print(e,")"),null},Ap.prototype.visitNotExpr=function(e,t){return t.print(e,"!"),e.condition.visitExpression(this,t),null},Ap.prototype.visitAssertNotNullExpr=function(e,t){return e.condition.visitExpression(this,t),null},Ap.prototype.visitBinaryOperatorExpr=function(e,t){var n;switch(e.operator){case E.BinaryOperator.Equals:n="==";break;case E.BinaryOperator.Identical:n="===";break;case E.BinaryOperator.NotEquals:n="!=";break;case E.BinaryOperator.NotIdentical:n="!==";break;case E.BinaryOperator.And:n="&&";break;case E.BinaryOperator.BitwiseAnd:n="&";break;case E.BinaryOperator.Or:n="||";break;case E.BinaryOperator.Plus:n="+";break;case E.BinaryOperator.Minus:n="-";break;case E.BinaryOperator.Divide:n="/";break;case E.BinaryOperator.Multiply:n="*";break;case E.BinaryOperator.Modulo:n="%";break;case E.BinaryOperator.Lower:n="<";break;case E.BinaryOperator.LowerEquals:n="<=";break;case E.BinaryOperator.Bigger:n=">";break;case E.BinaryOperator.BiggerEquals:n=">=";break;default:throw new Error("Unknown operator "+e.operator)}return e.parens&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e," "+n+" "),e.rhs.visitExpression(this,t),e.parens&&t.print(e,")"),null},Ap.prototype.visitReadPropExpr=function(e,t){return e.receiver.visitExpression(this,t),t.print(e,"."),t.print(e,e.name),null},Ap.prototype.visitReadKeyExpr=function(e,t){return e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"]"),null},Ap.prototype.visitLiteralArrayExpr=function(e,t){return t.print(e,"["),this.visitAllExpressions(e.entries,t,","),t.print(e,"]"),null},Ap.prototype.visitLiteralMapExpr=function(t,n){var r=this;return n.print(t,"{"),this.visitAllObjects(function(e){n.print(t,Mp(e.key,r._escapeDollarInStrings,e.quoted)+":"),e.value.visitExpression(r,n)},t.entries,n,","),n.print(t,"}"),null},Ap.prototype.visitCommaExpr=function(e,t){return t.print(e,"("),this.visitAllExpressions(e.parts,t,","),t.print(e,")"),null},Ap.prototype.visitAllExpressions=function(e,t,n){var r=this;this.visitAllObjects(function(e){return e.visitExpression(r,t)},e,t,n)},Ap.prototype.visitAllObjects=function(e,t,n,r){for(var i=!1,o=0;o<t.length;o++)0<o&&(80<n.lineLength()?(n.print(null,r,!0),i||(n.incIndent(),n.incIndent(),i=!0)):n.print(null,r,!1)),e(t[o]);i&&(n.decIndent(),n.decIndent())},Ap.prototype.visitAllStatements=function(e,t){var n=this;e.forEach(function(e){return e.visitStatement(n,t)})},Ap);function Ap(e){this._escapeDollarInStrings=e}function Mp(e,n,t){if(void 0===t&&(t=!0),null==e)return null;var r=e.replace(Sp,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"$"==e[0]?n?"\\$":"$":"\n"==e[0]?"\\n":"\r"==e[0]?"\\r":"\\"+e[0]});return t||!Ep.test(r)?"'"+r+"'":r}function Rp(e){for(var t="",n=0;n<e;n++)t+="  ";return t}function Np(e){return e.replace(/`/g,"\\`")}var jp,Fp=(f(Lp,jp=Pp),Lp.prototype.visitDeclareClassStmt=function(t,n){var r=this;return n.pushClass(t),this._visitClassConstructor(t,n),null!=t.parent&&(n.print(t,t.name+".prototype = Object.create("),t.parent.visitExpression(this,n),n.println(t,".prototype);")),t.getters.forEach(function(e){return r._visitClassGetter(t,e,n)}),t.methods.forEach(function(e){return r._visitClassMethod(t,e,n)}),n.popClass(),null},Lp.prototype._visitClassConstructor=function(e,t){t.print(e,"function "+e.name+"("),null!=e.constructorMethod&&this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),null!=e.constructorMethod&&0<e.constructorMethod.body.length&&(t.println(e,"var self = this;"),this.visitAllStatements(e.constructorMethod.body,t)),t.decIndent(),t.println(e,"}")},Lp.prototype._visitClassGetter=function(e,t,n){n.println(e,"Object.defineProperty("+e.name+".prototype, '"+t.name+"', { get: function() {"),n.incIndent(),0<t.body.length&&(n.println(e,"var self = this;"),this.visitAllStatements(t.body,n)),n.decIndent(),n.println(e,"}});")},Lp.prototype._visitClassMethod=function(e,t,n){n.print(e,e.name+".prototype."+t.name+" = function("),this._visitParams(t.params,n),n.println(e,") {"),n.incIndent(),0<t.body.length&&(n.println(e,"var self = this;"),this.visitAllStatements(t.body,n)),n.decIndent(),n.println(e,"};")},Lp.prototype.visitWrappedNodeExpr=function(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")},Lp.prototype.visitReadVarExpr=function(e,t){if(e.builtin===E.BuiltinVar.This)t.print(e,"self");else{if(e.builtin===E.BuiltinVar.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");jp.prototype.visitReadVarExpr.call(this,e,t)}return null},Lp.prototype.visitDeclareVarStmt=function(e,t){return t.print(e,"var "+e.name),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null},Lp.prototype.visitCastExpr=function(e,t){return e.value.visitExpression(this,t),null},Lp.prototype.visitInvokeFunctionExpr=function(e,t){var n=e.fn;return n instanceof Ve&&n.builtin===E.BuiltinVar.Super?(t.currentClass.parent.visitExpression(this,t),t.print(e,".call(this"),0<e.args.length&&(t.print(e,", "),this.visitAllExpressions(e.args,t,",")),t.print(e,")")):jp.prototype.visitInvokeFunctionExpr.call(this,e,t),null},Lp.prototype.visitFunctionExpr=function(e,t){return t.print(e,"function"+(e.name?" "+e.name:"")+"("),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null},Lp.prototype.visitDeclareFunctionStmt=function(e,t){return t.print(e,"function "+e.name+"("),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null},Lp.prototype.visitTryCatchStmt=function(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,"} catch ("+Op.name+") {"),t.incIndent();var n=[kp.set(Op.prop("stack")).toDeclStmt(null,[E.StmtModifier.Final])].concat(e.catchStmts);return this.visitAllStatements(n,t),t.decIndent(),t.println(e,"}"),null},Lp.prototype._visitParams=function(e,t){this.visitAllObjects(function(e){return t.print(null,e.name)},e,t,",")},Lp.prototype.getBuiltinMethodName=function(e){var t;switch(e){case E.BuiltinMethod.ConcatArray:t="concat";break;case E.BuiltinMethod.SubscribeObservable:t="subscribe";break;case E.BuiltinMethod.Bind:t="bind";break;default:throw new Error("Unknown builtin method: "+e)}return t},Lp);function Lp(){return jp.call(this,!1)||this}var Vp=(Bp.prototype.evaluateStatements=function(e,t,n,r){var i=new zp(n),o=Tp.createRoot();return 0<t.length&&!function(e){return e.isEquivalent(xr("use strict").toStmt())}(t[0])&&(t=q([xr("use strict").toStmt()],t)),i.visitAllStatements(t,o),i.createReturnStmt(o),this.evaluateCode(e,o,i.getArgs(),r)},Bp.prototype.evaluateCode=function(e,t,n,r){var i='"use strict";'+t.toSource()+"\n//# sourceURL="+e,o=[],a=[];for(var s in n)a.push(n[s]),o.push(s);if(r){var l=(new(Function.bind.apply(Function,q([void 0],o.concat("return null;"))))).toString(),u=l.slice(0,l.indexOf("return null;")).split("\n").length-1;i+="\n"+t.toSourceMapGenerator(e,u).toJsComment()}var c=new(Function.bind.apply(Function,q([void 0],o.concat(i))));return this.executeFunction(c,a)},Bp.prototype.executeFunction=function(e,t){return e.apply(void 0,q(t))},Bp);function Bp(){}var Up,zp=(f(qp,Up=Fp),qp.prototype.createReturnStmt=function(e){new wn(new en(this._evalExportedVars.map(function(e){return new Xt(e,fr(e),!1)}))).visitStatement(this,e)},qp.prototype.getArgs=function(){for(var e={},t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e},qp.prototype.visitExternalExpr=function(e,t){return this._emitReferenceToExternal(e,this.reflector.resolveExternalReference(e.value),t),null},qp.prototype.visitWrappedNodeExpr=function(e,t){return this._emitReferenceToExternal(e,e.node,t),null},qp.prototype.visitDeclareVarStmt=function(e,t){return e.hasModifier(E.StmtModifier.Exported)&&this._evalExportedVars.push(e.name),Up.prototype.visitDeclareVarStmt.call(this,e,t)},qp.prototype.visitDeclareFunctionStmt=function(e,t){return e.hasModifier(E.StmtModifier.Exported)&&this._evalExportedVars.push(e.name),Up.prototype.visitDeclareFunctionStmt.call(this,e,t)},qp.prototype.visitDeclareClassStmt=function(e,t){return e.hasModifier(E.StmtModifier.Exported)&&this._evalExportedVars.push(e.name),Up.prototype.visitDeclareClassStmt.call(this,e,t)},qp.prototype._emitReferenceToExternal=function(e,t,n){var r=this._evalArgValues.indexOf(t);if(-1===r){r=this._evalArgValues.length,this._evalArgValues.push(t);var i=_i({reference:t})||"val";this._evalArgNames.push("jit_"+i+"_"+r)}n.print(e,this._evalArgNames[r])},qp);function qp(e){var t=Up.call(this)||this;return t.reflector=e,t._evalArgNames=[],t._evalArgValues=[],t._evalExportedVars=[],t}var Hp=(Wp.prototype.resolveExternalReference=function(e){if("@angular/core"!==e.moduleName)throw new Error("Cannot resolve external reference to "+e.moduleName+", only references to @angular/core are supported.");if(!this.context.hasOwnProperty(e.name))throw new Error("No value provided for @angular/core symbol '"+e.name+"'.");return this.context[e.name]},Wp.prototype.parameters=function(e){throw new Error("Not implemented.")},Wp.prototype.annotations=function(e){throw new Error("Not implemented.")},Wp.prototype.shallowAnnotations=function(e){throw new Error("Not implemented.")},Wp.prototype.tryAnnotations=function(e){throw new Error("Not implemented.")},Wp.prototype.propMetadata=function(e){throw new Error("Not implemented.")},Wp.prototype.hasLifecycleHook=function(e,t){throw new Error("Not implemented.")},Wp.prototype.guards=function(e){throw new Error("Not implemented.")},Wp.prototype.componentModuleUrl=function(e,t){throw new Error("Not implemented.")},Wp);function Wp(e){this.context=e}function Gp(t,n){return void 0===n&&(n=!1),_r(Object.keys(t).map(function(e){return{key:e,quoted:n,value:t[e]}}))}function Yp(e){var t=e.type,n=e.bootstrap,r=e.declarations,i=e.imports,o=e.exports,a=e.schemas,s=e.containsForwardDecls,l=e.emitInline,u=e.id,c=[],p={type:t};if(n.length&&(p.bootstrap=Qp(n,s)),l)r.length&&(p.declarations=Qp(r,s)),i.length&&(p.imports=Qp(i,s)),o.length&&(p.exports=Qp(o,s));else{var d=function(e){var t=e.type,n=e.declarations,r=e.imports,i=e.exports,o=e.containsForwardDecls,a={};n.length&&(a.declarations=Qp(n,o));r.length&&(a.imports=Qp(r,o));i.length&&(a.exports=Qp(i,o));return 0!==Object.keys(a).length?new st(mr(Ki.setNgModuleScope),[t,Qi(a)],void 0,void 0,!0).toStmt():null}(e);null!==d&&c.push(d)}return a&&a.length&&(p.schemas=gr(a.map(function(e){return e.value}))),u&&(p.id=u),{expression:mr(Ki.defineNgModule).callFn([Qi(p)]),type:new ge(mr(Ki.NgModuleDefWithMeta,[new ge(t),Zp(r),Zp(i),Zp(o)])),additionalStatements:c}}function Kp(e){var t=Sl({name:e.name,type:e.type,typeArgumentCount:0,deps:e.deps,injectFn:Ki.inject}),n={factory:t.factory};return null!==e.providers&&(n.providers=e.providers),0<e.imports.length&&(n.imports=gr(e.imports)),{expression:mr(Ki.defineInjector).callFn([Qi(n)]),type:new ge(mr(Ki.InjectorDef,[new ge(e.type)])),statements:t.statements}}function Zp(e){var t=e.map(function(e){return function(e){return new ze(e)}(e.type)});return 0<e.length?yr(gr(t)):Ae}function Qp(e,t){var n=gr(e.map(function(e){return e.value}));return t?br([],[new wn(n)]):n}function Xp(e){var t=[];return t.push({key:"name",value:xr(e.pipeName),quoted:!1}),t.push({key:"type",value:e.type,quoted:!1}),t.push({key:"pure",value:xr(e.pure),quoted:!1}),{expression:mr(Ki.definePipe).callFn([_r(t)]),type:new ge(mr(Ki.PipeDefWithMeta,[$i(e.type,e.typeArgumentCount),new ge(new ht(e.pipeName))]))}}function $p(e,t,n){var r=_i(t.type);if(!r)return Nr("Cannot resolve the name of "+t.type);var i={name:r,pipeName:t.name,type:e.importExpr(t.type.reference),typeArgumentCount:0,deps:function(e,t,n){n.resolveExternalReference(si.Injector);var r,i,o=[];try{for(var a=z(e.diDeps),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.token){var u=Oi(l.token),c=l.isAttribute?E.R3ResolvedDependencyType.Attribute:E.R3ResolvedDependencyType.Token,p=u instanceof pi?t.importExpr(u):xr(u);o.push({token:p,resolved:c,host:!!l.isHost,optional:!!l.isOptional,self:!!l.isSelf,skipSelf:!!l.isSkipSelf})}else pl("dependency without a token")}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return o}(t.type,e,n),pure:t.pure},o=Xp(i),a=El(m(m({},i),{injectFn:Ki.directiveInject,isPipe:!0})),s=e.constantPool.propertyNameOf(3),l=new Nn(r,null,[new On("ɵfac",De,[E.StmtModifier.Static],a.factory)],[],new Tn(null,[],[]),[]),u=new Nn(r,null,[new On(s,De,[E.StmtModifier.Static],o.expression)],[],new Tn(null,[],[]),[]);e.statements.push(l,u)}var Jp=(ed.event=fr("$event"),ed);function ed(){}var td=function(e,n){this.stmts=e,this.allowDefault=n,this.render3Stmts=e.map(function(e){if(e instanceof dn&&e.name==n.name&&e.value instanceof Bt){var t=e.value.lhs;return new wn(t.value)}return e})};function nd(e,t,n,r,i,o){e=e||new bd;var a=rd({createLiteralArrayConverter:function(e){return function(e){return gr(e)}},createLiteralMapConverter:function(e){return function(n){return _r(e.map(function(e,t){return{key:e.key,value:n[t],quoted:e.quoted}}))}},createPipeConverter:function(e){throw new Error("Illegal State: Actions are not allowed to contain pipes. Pipe: "+e)}},n),s=new gd(e,t,r,i,o),l=[];!function t(e,n){Array.isArray(e)?e.forEach(function(e){return t(e,n)}):n.push(e)}(a.visit(s,ad.Statement),l),function(e,t,n){for(var r=e-1;0<=r;r--)n.unshift(dd(t,r))}(s.temporaryCount,r,l),s.usesImplicitReceiver&&e.notifyImplicitReceiverUse();var u=l.length-1,c=null;if(0<=u){var p=function(e){{if(e instanceof gn)return e.expr;if(e instanceof wn)return e.value}return null}(l[u]);p&&(c=function(e){return fr("pd_"+e)}(r),l[u]=c.set(p.cast(ke).notIdentical(xr(!1))).toDeclStmt(null,[E.StmtModifier.Final]))}return new td(l,c)}function rd(e,t){return function(e,t){var n=new vd(e);return t.visit(n)}(e,t)}var id,od,ad,sd,ld=function(e,t){this.stmts=e,this.currValExpr=t};function ud(e,t,n,r,i,o){e=e||new bd;var a=function(e){return fr("currVal_"+e)}(r),s=new gd(e,t,r,o),l=n.visit(s,ad.Expression),u=cd(s,r);return s.usesImplicitReceiver&&e.notifyImplicitReceiverUse(),0===s.temporaryCount&&i==id.TrySimple?new ld([],l):(u.push(a.set(l).toDeclStmt(ke,[E.StmtModifier.Final])),new ld(u,a))}function cd(e,t){for(var n=[],r=0;r<e.temporaryCount;r++)n.push(dd(t,r));return n}function pd(e,t){return"tmp_"+e+"_"+t}function dd(e,t){return new dn(pd(e,t),sn)}function hd(e,t){if(e!==ad.Expression)throw new Error("Expected an expression, but saw "+t)}function fd(e,t){return e===ad.Statement?t.toStmt():t}(od=id=id||{})[od.General=0]="General",od[od.TrySimple=1]="TrySimple",(sd=ad=ad||{})[sd.Statement=0]="Statement",sd[sd.Expression=1]="Expression";var md,vd=(f(yd,md=xc),yd.prototype.visitPipe=function(e,t){var n=this,r=q([e.exp],e.args).map(function(e){return e.visit(n,t)});return new Cd(e.span,e.sourceSpan,r,this._converterFactory.createPipeConverter(e.name,r.length))},yd.prototype.visitLiteralArray=function(e,t){var n=this,r=e.expressions.map(function(e){return e.visit(n,t)});return new Cd(e.span,e.sourceSpan,r,this._converterFactory.createLiteralArrayConverter(e.expressions.length))},yd.prototype.visitLiteralMap=function(e,t){var n=this,r=e.values.map(function(e){return e.visit(n,t)});return new Cd(e.span,e.sourceSpan,r,this._converterFactory.createLiteralMapConverter(e.keys))},yd);function yd(e){var t=md.call(this)||this;return t._converterFactory=e,t}var gd=(_d.prototype.visitBinary=function(e,t){var n;switch(e.operation){case"+":n=E.BinaryOperator.Plus;break;case"-":n=E.BinaryOperator.Minus;break;case"*":n=E.BinaryOperator.Multiply;break;case"/":n=E.BinaryOperator.Divide;break;case"%":n=E.BinaryOperator.Modulo;break;case"&&":n=E.BinaryOperator.And;break;case"||":n=E.BinaryOperator.Or;break;case"==":n=E.BinaryOperator.Equals;break;case"!=":n=E.BinaryOperator.NotEquals;break;case"===":n=E.BinaryOperator.Identical;break;case"!==":n=E.BinaryOperator.NotIdentical;break;case"<":n=E.BinaryOperator.Lower;break;case">":n=E.BinaryOperator.Bigger;break;case"<=":n=E.BinaryOperator.LowerEquals;break;case">=":n=E.BinaryOperator.BiggerEquals;break;default:throw new Error("Unsupported operation "+e.operation)}return fd(t,new Bt(n,this._visit(e.left,ad.Expression),this._visit(e.right,ad.Expression),void 0,this.convertSourceSpan(e.span)))},_d.prototype.visitChain=function(e,t){return function(e,t){if(e!==ad.Statement)throw new Error("Expected a statement, but saw "+t)}(t,e),this.visitAll(e.expressions,t)},_d.prototype.visitConditional=function(e,t){return fd(t,this._visit(e.condition,ad.Expression).conditional(this._visit(e.trueExp,ad.Expression),this._visit(e.falseExp,ad.Expression),this.convertSourceSpan(e.span)))},_d.prototype.visitPipe=function(e,t){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+e.name)},_d.prototype.visitFunctionCall=function(e,t){var n=this.visitAll(e.args,ad.Expression);return fd(t,e instanceof Cd?e.converter(n):this._visit(e.target,ad.Expression).callFn(n,this.convertSourceSpan(e.span)))},_d.prototype.visitImplicitReceiver=function(e,t){return hd(t,e),this.usesImplicitReceiver=!0,this._implicitReceiver},_d.prototype.visitInterpolation=function(e,t){hd(t,e);for(var n=[xr(e.expressions.length)],r=0;r<e.strings.length-1;r++)n.push(xr(e.strings[r])),n.push(this._visit(e.expressions[r],ad.Expression));return n.push(xr(e.strings[e.strings.length-1])),this.interpolationFunction?this.interpolationFunction(n):e.expressions.length<=9?mr(si.inlineInterpolate).callFn(n):mr(si.interpolate).callFn([n[0],gr(n.slice(1),void 0,this.convertSourceSpan(e.span))])},_d.prototype.visitKeyedRead=function(e,t){var n=this.leftMostSafeNode(e);return n?this.convertSafeAccess(e,n,t):fd(t,this._visit(e.obj,ad.Expression).key(this._visit(e.key,ad.Expression)))},_d.prototype.visitKeyedWrite=function(e,t){var n=this._visit(e.obj,ad.Expression),r=this._visit(e.key,ad.Expression),i=this._visit(e.value,ad.Expression);return fd(t,n.key(r).set(i))},_d.prototype.visitLiteralArray=function(e,t){throw new Error("Illegal State: literal arrays should have been converted into functions")},_d.prototype.visitLiteralMap=function(e,t){throw new Error("Illegal State: literal maps should have been converted into functions")},_d.prototype.visitLiteralPrimitive=function(e,t){var n=null===e.value||void 0===e.value||!0===e.value||!0===e.value?De:void 0;return fd(t,xr(e.value,n,this.convertSourceSpan(e.span)))},_d.prototype._getLocal=function(e){return this._localResolver.getLocal(e)},_d.prototype.visitMethodCall=function(e,t){if(e.receiver instanceof pu&&"$any"==e.name){if(1!=(r=this.visitAll(e.args,ad.Expression)).length)throw new Error("Invalid call to $any, expected 1 argument but received "+(r.length||"none"));return r[0].cast(ke,this.convertSourceSpan(e.span))}var n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);var r=this.visitAll(e.args,ad.Expression),i=this.usesImplicitReceiver,o=null,a=this._visit(e.receiver,ad.Expression);if(a===this._implicitReceiver){var s=this._getLocal(e.name);s&&(this.usesImplicitReceiver=i,o=s.callFn(r))}return null==o&&(o=a.callMethod(e.name,r,this.convertSourceSpan(e.span))),fd(t,o)},_d.prototype.visitPrefixNot=function(e,t){return fd(t,function(e,t){return new Ot(e,t)}(this._visit(e.expression,ad.Expression)))},_d.prototype.visitNonNullAssert=function(e,t){return fd(t,function(e,t){return new Tt(e,t)}(this._visit(e.expression,ad.Expression)))},_d.prototype.visitPropertyRead=function(e,t){var n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);var r=null,i=this.usesImplicitReceiver,o=this._visit(e.receiver,ad.Expression);return o===this._implicitReceiver&&(r=this._getLocal(e.name))&&(this.usesImplicitReceiver=i),null==r&&(r=o.prop(e.name)),fd(t,r)},_d.prototype.visitPropertyWrite=function(e,t){var n=this._visit(e.receiver,ad.Expression),r=this.usesImplicitReceiver,i=null;if(n===this._implicitReceiver){var o=this._getLocal(e.name);if(o){if(!(o instanceof qt))throw new Error("Cannot assign to a reference or variable!");i=o,this.usesImplicitReceiver=r}}return null===i&&(i=n.prop(e.name)),fd(t,i.set(this._visit(e.value,ad.Expression)))},_d.prototype.visitSafePropertyRead=function(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)},_d.prototype.visitSafeMethodCall=function(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)},_d.prototype.visitAll=function(e,t){var n=this;return e.map(function(e){return n._visit(e,t)})},_d.prototype.visitQuote=function(e,t){throw new Error("Quotes are not supported for evaluation!\n        Statement: "+e.uninterpretedExpression+" located at "+e.location)},_d.prototype._visit=function(e,t){var n=this._resultMap.get(e);return n||(this._nodeMap.get(e)||e).visit(this,t)},_d.prototype.convertSafeAccess=function(e,t,n){var r=this._visit(t.receiver,ad.Expression),i=void 0;this.needsTemporary(t.receiver)&&(r=(i=this.allocateTemporary()).set(r),this._resultMap.set(t.receiver,i));var o=r.isBlank();t instanceof lc?this._nodeMap.set(t,new oc(t.span,t.sourceSpan,t.receiver,t.name,t.args)):this._nodeMap.set(t,new bu(t.span,t.sourceSpan,t.receiver,t.name));var a=this._visit(e,ad.Expression);return this._nodeMap.delete(t),i&&this.releaseTemporary(i),fd(n,o.conditional(xr(null),a))},_d.prototype.leftMostSafeNode=function(e){function t(e,t){return(n._nodeMap.get(t)||t).visit(e)}var n=this;return e.visit({visitBinary:function(e){return null},visitChain:function(e){return null},visitConditional:function(e){return null},visitFunctionCall:function(e){return null},visitImplicitReceiver:function(e){return null},visitInterpolation:function(e){return null},visitKeyedRead:function(e){return t(this,e.obj)},visitKeyedWrite:function(e){return null},visitLiteralArray:function(e){return null},visitLiteralMap:function(e){return null},visitLiteralPrimitive:function(e){return null},visitMethodCall:function(e){return t(this,e.receiver)},visitPipe:function(e){return null},visitPrefixNot:function(e){return null},visitNonNullAssert:function(e){return null},visitPropertyRead:function(e){return t(this,e.receiver)},visitPropertyWrite:function(e){return null},visitQuote:function(e){return null},visitSafeMethodCall:function(e){return t(this,e.receiver)||e},visitSafePropertyRead:function(e){return t(this,e.receiver)||e}})},_d.prototype.needsTemporary=function(e){function n(e,t){return t&&(r._nodeMap.get(t)||t).visit(e)}var r=this;return e.visit({visitBinary:function(e){return n(this,e.left)||n(this,e.right)},visitChain:function(e){return!1},visitConditional:function(e){return n(this,e.condition)||n(this,e.trueExp)||n(this,e.falseExp)},visitFunctionCall:function(e){return!0},visitImplicitReceiver:function(e){return!1},visitInterpolation:function(e){return function(t,e){return e.some(function(e){return n(t,e)})}(this,e.expressions)},visitKeyedRead:function(e){return!1},visitKeyedWrite:function(e){return!1},visitLiteralArray:function(e){return!0},visitLiteralMap:function(e){return!0},visitLiteralPrimitive:function(e){return!1},visitMethodCall:function(e){return!0},visitPipe:function(e){return!0},visitPrefixNot:function(e){return n(this,e.expression)},visitNonNullAssert:function(e){return n(this,e.expression)},visitPropertyRead:function(e){return!1},visitPropertyWrite:function(e){return!1},visitQuote:function(e){return!1},visitSafeMethodCall:function(e){return!0},visitSafePropertyRead:function(e){return!1}})},_d.prototype.allocateTemporary=function(){var e=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new Ve(pd(this.bindingId,e))},_d.prototype.releaseTemporary=function(e){if(this._currentTemporary--,e.name!=pd(this.bindingId,this._currentTemporary))throw new Error("Temporary "+e.name+" released out of order")},_d.prototype.convertSourceSpan=function(e){if(this.baseSourceSpan){var t=this.baseSourceSpan.start.moveBy(e.start),n=this.baseSourceSpan.start.moveBy(e.end);return new Uo(t,n)}return null},_d);function _d(e,t,n,r,i){this._localResolver=e,this._implicitReceiver=t,this.bindingId=n,this.interpolationFunction=r,this.baseSourceSpan=i,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0,this.usesImplicitReceiver=!1}var bd=(wd.prototype.notifyImplicitReceiverUse=function(){},wd.prototype.getLocal=function(e){return e===Jp.event.name?Jp.event:null},wd);function wd(){}var xd,Cd=(f(Sd,xd=pc),Sd);function Sd(e,t,n,r){var i=xd.call(this,e,t,null,n)||this;return i.args=n,i.converter=r,i}var Ed=(Od.prototype.shimCssText=function(e,t,n){void 0===n&&(n="");var r=function(e){return e.match(Gd)||[]}(e);return e=function(e){return e.replace(Wd,"")}(e),e=this._insertDirectives(e),q([this._scopeCssText(e,t,n)],r).join("\n")},Od.prototype._insertDirectives=function(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)},Od.prototype._insertPolyfillDirectivesInCssText=function(e){return e.replace(Td,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[2]+"{"})},Od.prototype._insertPolyfillRulesInCssText=function(e){return e.replace(Id,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0].replace(e[1],"").replace(e[2],"");return e[4]+n})},Od.prototype._scopeCssText=function(e,t,n){var r=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),t&&(e=this._scopeSelectors(e,t,n)),(e=e+"\n"+r).trim()},Od.prototype._extractUnscopedRulesFromCssText=function(e){var t,n="";for(Pd.lastIndex=0;null!==(t=Pd.exec(e));)n+=t[0].replace(t[2],"").replace(t[1],t[4])+"\n\n";return n},Od.prototype._convertColonHost=function(e){return this._convertColonRule(e,Nd,this._colonHostPartReplacer)},Od.prototype._convertColonHostContext=function(e){return this._convertColonRule(e,jd,this._colonHostContextPartReplacer)},Od.prototype._convertColonRule=function(e,t,a){return e.replace(t,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e[2]){for(var n=e[2].split(","),r=[],i=0;i<n.length;i++){var o=n[i].trim();if(!o)break;r.push(a(Fd,o,e[3]))}return r.join(",")}return Fd+e[3]})},Od.prototype._colonHostContextPartReplacer=function(e,t,n){return-1<t.indexOf(Ad)?this._colonHostPartReplacer(e,t,n):e+t+n+", "+t+" "+e+n},Od.prototype._colonHostPartReplacer=function(e,t,n){return e+t.replace(Ad,"")+n},Od.prototype._convertShadowDOMSelectors=function(e){return Vd.reduce(function(e,t){return e.replace(t," ")},e)},Od.prototype._scopeSelectors=function(e,r,i){var o=this;return function(e,s){var l=function(e){for(var t=e.split(Kd),n=[],r=[],i=0,o=[],a=0;a<t.length;a++){var s=t[a];s==Qd&&i--,0<i?o.push(s):(0<o.length&&(r.push(o.join("")),n.push(Xd),o=[]),n.push(s)),s==Zd&&i++}return 0<o.length&&(r.push(o.join("")),n.push(Xd)),new Jd(n.join(""),r)}(e),u=0;return l.escapedString.replace(Yd,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[2],r="",i=e[4],o="";i&&i.startsWith("{"+Xd)&&(r=l.blocks[u++],i=i.substring(Xd.length+1),o="{");var a=s(new $d(n,r));return""+e[1]+a.selector+e[3]+o+a.content+i})}(e,function(e){var t=e.selector,n=e.content;return"@"!=e.selector[0]?t=o._scopeSelector(e.selector,r,i,o.strictStyling):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(n=o._scopeSelectors(e.content,r,i)),new $d(t,n)})},Od.prototype._scopeSelector=function(e,o,a,s){var l=this;return e.split(",").map(function(e){return e.trim().split(Bd)}).map(function(e){var t,n=U(e),r=n[0],i=n.slice(1);return q([(t=r,l._selectorNeedsScoping(t,o)?s?l._applyStrictSelectorScope(t,o,a):l._applySelectorScope(t,o,a):t)],i).join(" ")}).join(", ")},Od.prototype._selectorNeedsScoping=function(e,t){return!this._makeScopeMatcher(t).test(e)},Od.prototype._makeScopeMatcher=function(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+Ud,"m")},Od.prototype._applySelectorScope=function(e,t,n){return this._applySimpleSelectorScope(e,t,n)},Od.prototype._applySimpleSelectorScope=function(e,t,n){if(zd.lastIndex=0,zd.test(e)){var i=this.strictStyling?"["+n+"]":t;return e.replace(Ld,function(e,t){return t.replace(/([^:]*)(:*)(.*)/,function(e,t,n,r){return t+i+n+r})}).replace(zd,i+" ")}return t+" "+e},Od.prototype._applyStrictSelectorScope=function(e,i,o){for(var t,a=this,s="["+(i=i.replace(/\[is=([^\]]*)\]/g,function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t[0]}))+"]",n=function(e){var t=e.trim();if(!t)return"";if(-1<e.indexOf(Fd))t=a._applySimpleSelectorScope(e,i,o);else{var n=e.replace(zd,"");if(0<n.length){var r=n.match(/([^:]*)(:*)(.*)/);r&&(t=r[1]+s+r[2]+r[3])}}return t},r=new kd(e),l="",u=0,c=/( |>|\+|~(?!=))\s*/g,p=!(-1<(e=r.content()).indexOf(Fd));null!==(t=c.exec(e));){var d=t[1],h=e.slice(u,t.index).trim();l+=((p=p||-1<h.indexOf(Fd))?n(h):h)+" "+d+" ",u=c.lastIndex}var f=e.substring(u);return l+=(p=p||-1<f.indexOf(Fd))?n(f):f,r.restore(l)},Od.prototype._insertPolyfillHostInCssText=function(e){return e.replace(Hd,Md).replace(qd,Ad)},Od);function Od(){this.strictStyling=!0}var kd=(Dd.prototype.restore=function(e){var n=this;return e.replace(/__ph-(\d+)__/g,function(e,t){return n.placeholders[+t]})},Dd.prototype.content=function(){return this._content},Dd);function Dd(e){var i=this;this.placeholders=[],this.index=0,e=e.replace(/(\[[^\]]*\])/g,function(e,t){var n="__ph-"+i.index+"__";return i.placeholders.push(t),i.index++,n}),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,function(e,t,n){var r="__ph-"+i.index+"__";return i.placeholders.push(n),i.index++,t+r})}var Td=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Id=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Pd=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Ad="-shadowcsshost",Md="-shadowcsscontext",Rd=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Nd=new RegExp("("+Ad+Rd,"gim"),jd=new RegExp("("+Md+Rd,"gim"),Fd=Ad+"-no-combinator",Ld=/-shadowcsshost-no-combinator([^\s]*)/,Vd=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],Bd=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,Ud="([>\\s~+[.,{:][\\s\\S]*)?$",zd=/-shadowcsshost/gim,qd=/:host/gim,Hd=/:host-context/gim,Wd=/\/\*\s*[\s\S]*?\*\//g;var Gd=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;var Yd=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Kd=/([{}])/g,Zd="{",Qd="}",Xd="%BLOCK%",$d=function(e,t){this.selector=e,this.content=t};var Jd=function(e,t){this.escapedString=e,this.blocks=t};var eh,th,nh="_nghost-%COMP%",rh="_ngcontent-%COMP%",ih=function(e,t,n){this.name=e,this.moduleUrl=t,this.setValue=n},oh=function(e,t,n,r,i){this.outputCtx=e,this.stylesVar=t,this.dependencies=n,this.isShimmed=r,this.meta=i},ah=(sh.prototype.compileComponent=function(e,t){var n=t.template;return this._compileStyles(e,t,new ki({styles:n.styles,styleUrls:n.styleUrls,moduleUrl:bi(t.type)}),this.needsStyleShim(t),!0)},sh.prototype.compileStyles=function(e,t,n,r){return void 0===r&&(r=this.needsStyleShim(t)),this._compileStyles(e,t,n,r,!1)},sh.prototype.needsStyleShim=function(e){return e.template.encapsulation===I.Emulated},sh.prototype._compileStyles=function(n,e,t,r,i){var o=this,a=t.styles.map(function(e){return xr(o._shimIfNeeded(e,r))}),s=[];t.styleUrls.forEach(function(e){var t=a.length;a.push(null),s.push(new ih(lh(null),e,function(e){return a[t]=n.importExpr(e)}))});var l=lh(i?e:null),u=fr(l).set(gr(a,new we(ke,[le.Const]))).toDeclStmt(null,i?[E.StmtModifier.Final]:[E.StmtModifier.Final,E.StmtModifier.Exported]);return n.statements.push(u),new oh(n,l,s,r,t)},sh.prototype._shimIfNeeded=function(e,t){return t?this._shadowCss.shimCssText(e,rh,nh):e},sh);function sh(e){this._urlResolver=e,this._shadowCss=new Ed}function lh(e){var t="styles";return e&&(t+="_"+_i(e.type)),t}(th=eh=eh||{})[th.TAG_OPEN_START=0]="TAG_OPEN_START",th[th.TAG_OPEN_END=1]="TAG_OPEN_END",th[th.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",th[th.TAG_CLOSE=3]="TAG_CLOSE",th[th.TEXT=4]="TEXT",th[th.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",th[th.RAW_TEXT=6]="RAW_TEXT",th[th.COMMENT_START=7]="COMMENT_START",th[th.COMMENT_END=8]="COMMENT_END",th[th.CDATA_START=9]="CDATA_START",th[th.CDATA_END=10]="CDATA_END",th[th.ATTR_NAME=11]="ATTR_NAME",th[th.ATTR_QUOTE=12]="ATTR_QUOTE",th[th.ATTR_VALUE=13]="ATTR_VALUE",th[th.DOC_TYPE=14]="DOC_TYPE",th[th.EXPANSION_FORM_START=15]="EXPANSION_FORM_START",th[th.EXPANSION_CASE_VALUE=16]="EXPANSION_CASE_VALUE",th[th.EXPANSION_CASE_EXP_START=17]="EXPANSION_CASE_EXP_START",th[th.EXPANSION_CASE_EXP_END=18]="EXPANSION_CASE_EXP_END",th[th.EXPANSION_FORM_END=19]="EXPANSION_FORM_END",th[th.EOF=20]="EOF";var uh,ch=function(e,t,n){this.type=e,this.parts=t,this.sourceSpan=n},ph=(f(dh,uh=Go),dh);function dh(e,t,n){var r=uh.call(this,n,e)||this;return r.tokenType=t,r}var hh=function(e,t){this.tokens=e,this.errors=t};var fh=/\r\n?/g;function mh(e){return'Unexpected character "'+(0===e?"EOF":String.fromCharCode(e))+'"'}function vh(e){return'Unknown entity "'+e+'" - use the "&#<decimal>;" or  "&#x<hex>;" syntax'}var yh=function(e){this.error=e},gh=(_h.prototype._processCarriageReturns=function(e){return e.replace(fh,"\n")},_h.prototype.tokenize=function(){for(;0!==this._cursor.peek();){var e=this._cursor.clone();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(e):this._attemptCharCode(ho)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(47)?this._consumeTagClose(e):this._consumeTagOpen(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(eh.EOF),this._endToken([]),new hh(function(e){for(var t=[],n=void 0,r=0;r<e.length;r++){var i=e[r];n&&n.type==eh.TEXT&&i.type==eh.TEXT?(n.parts[0]+=i.parts[0],n.sourceSpan.end=i.sourceSpan.end):(n=i,t.push(n))}return t}(this.tokens),this.errors)},_h.prototype._tokenizeExpansionForm=function(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function(e){return 61===e||No(e)||Ro(e)}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Io){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1},_h.prototype._beginToken=function(e,t){void 0===t&&(t=this._cursor.clone()),this._currentTokenStart=t,this._currentTokenType=e},_h.prototype._endToken=function(e,t){if(void 0===t&&(t=this._cursor.clone()),null===this._currentTokenStart)throw new ph("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new ph("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));var n=new ch(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n},_h.prototype._createError=function(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var n=new ph(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new yh(n)},_h.prototype.handleError=function(e){if(e instanceof Ph&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof yh))throw e;this.errors.push(e.error)},_h.prototype._attemptCharCode=function(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)},_h.prototype._attemptCharCodeCaseInsensitive=function(e){return!!function(e,t){return Sh(e)==Sh(t)}(this._cursor.peek(),e)&&(this._cursor.advance(),!0)},_h.prototype._requireCharCode=function(e){var t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(mh(this._cursor.peek()),this._cursor.getSpan(t))},_h.prototype._attemptStr=function(e){var t=e.length;if(this._cursor.charsLeft()<t)return!1;for(var n=this._cursor.clone(),r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=n,!1;return!0},_h.prototype._attemptStrCaseInsensitive=function(e){for(var t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0},_h.prototype._requireStr=function(e){var t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(mh(this._cursor.peek()),this._cursor.getSpan(t))},_h.prototype._attemptCharCodeUntilFn=function(e){for(;!e(this._cursor.peek());)this._cursor.advance()},_h.prototype._requireCharCodeUntilFn=function(e,t){var n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.clone().diff(n)<t)throw this._createError(mh(this._cursor.peek()),this._cursor.getSpan(n))},_h.prototype._attemptUntilChar=function(e){for(;this._cursor.peek()!==e;)this._cursor.advance()},_h.prototype._readChar=function(e){if(e&&38===this._cursor.peek())return this._decodeEntity();var t=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),t},_h.prototype._decodeEntity=function(){var t=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(35)){var e=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ch),59!=this._cursor.peek())return this._cursor=e,"&";var n=this._cursor.getChars(e);this._cursor.advance();var r=u[n];if(!r)throw this._createError(vh(n),this._cursor.getSpan(t));return r}var i=this._attemptCharCode(120)||this._attemptCharCode(88),o=this._cursor.clone();if(this._attemptCharCodeUntilFn(xh),59!=this._cursor.peek())throw this._createError(mh(this._cursor.peek()),this._cursor.getSpan());var a=this._cursor.getChars(o);this._cursor.advance();try{var s=parseInt(a,i?16:10);return String.fromCharCode(s)}catch(e){throw this._createError(vh(this._cursor.getChars(t)),this._cursor.getSpan())}},_h.prototype._consumeRawText=function(e,t){this._beginToken(e?eh.ESCAPABLE_RAW_TEXT:eh.RAW_TEXT);for(var n=[];;){var r=this._cursor.clone(),i=t();if(this._cursor=r,i)break;n.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(n.join(""))])},_h.prototype._consumeComment=function(e){var t=this;this._beginToken(eh.COMMENT_START,e),this._requireCharCode(ho),this._endToken([]),this._consumeRawText(!1,function(){return t._attemptStr("--\x3e")}),this._beginToken(eh.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])},_h.prototype._consumeCdata=function(e){var t=this;this._beginToken(eh.CDATA_START,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,function(){return t._attemptStr("]]>")}),this._beginToken(eh.CDATA_END),this._requireStr("]]>"),this._endToken([])},_h.prototype._consumeDocType=function(e){this._beginToken(eh.DOC_TYPE,e);var t=this._cursor.clone();this._attemptUntilChar(62);var n=this._cursor.getChars(t);this._cursor.advance(),this._endToken([n])},_h.prototype._consumePrefixAndName=function(){for(var e,t,n=this._cursor.clone(),r="";58!==this._cursor.peek()&&!(((e=this._cursor.peek())<wo||Do<e)&&(e<vo||_o<e)&&(e<fo||mo<e));)this._cursor.advance();return t=58===this._cursor.peek()?(r=this._cursor.getChars(n),this._cursor.advance(),this._cursor.clone()):n,this._requireCharCodeUntilFn(wh,""===r?0:1),[r,this._cursor.getChars(t)]},_h.prototype._consumeTagOpen=function(t){var e,n,r,i=this.tokens.length,o=this._cursor.clone();try{if(!No(this._cursor.peek()))throw this._createError(mh(this._cursor.peek()),this._cursor.getSpan(t));for(n=(r=this._consumeTagOpenStart(t)).parts[0],e=r.parts[1],this._attemptCharCodeUntilFn(bh);47!==this._cursor.peek()&&62!==this._cursor.peek();)this._consumeAttributeName(),this._attemptCharCodeUntilFn(bh),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(bh),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(bh);this._consumeTagOpenEnd()}catch(e){if(e instanceof yh)return this._cursor=o,r&&(this.tokens.length=i),this._beginToken(eh.TEXT,t),void this._endToken(["<"]);throw e}var a=this._getTagDefinition(e).contentType;a===E.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(n,e,!1):a===E.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,e,!0)},_h.prototype._consumeRawTextWithTagClose=function(e,t,n){var r=this;this._consumeRawText(n,function(){return!!r._attemptCharCode(60)&&!!r._attemptCharCode(47)&&(r._attemptCharCodeUntilFn(bh),!!r._attemptStrCaseInsensitive(t)&&(r._attemptCharCodeUntilFn(bh),r._attemptCharCode(62)))}),this._beginToken(eh.TAG_CLOSE),this._requireCharCodeUntilFn(function(e){return 62===e},3),this._cursor.advance(),this._endToken([e,t])},_h.prototype._consumeTagOpenStart=function(e){this._beginToken(eh.TAG_OPEN_START,e);var t=this._consumePrefixAndName();return this._endToken(t)},_h.prototype._consumeAttributeName=function(){var e=this._cursor.peek();if(e===co||e===lo)throw this._createError(mh(e),this._cursor.getSpan());this._beginToken(eh.ATTR_NAME);var t=this._consumePrefixAndName();this._endToken(t)},_h.prototype._consumeAttributeValue=function(){var e;if(this._cursor.peek()===co||this._cursor.peek()===lo){this._beginToken(eh.ATTR_QUOTE);var t=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(t)]),this._beginToken(eh.ATTR_VALUE);for(var n=[];this._cursor.peek()!==t;)n.push(this._readChar(!0));e=n.join(""),this._endToken([this._processCarriageReturns(e)]),this._beginToken(eh.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(t)])}else{this._beginToken(eh.ATTR_VALUE);var r=this._cursor.clone();this._requireCharCodeUntilFn(wh,1),e=this._cursor.getChars(r),this._endToken([this._processCarriageReturns(e)])}},_h.prototype._consumeTagOpenEnd=function(){var e=this._attemptCharCode(47)?eh.TAG_OPEN_END_VOID:eh.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(62),this._endToken([])},_h.prototype._consumeTagClose=function(e){this._beginToken(eh.TAG_CLOSE,e),this._attemptCharCodeUntilFn(bh);var t=this._consumePrefixAndName();this._attemptCharCodeUntilFn(bh),this._requireCharCode(62),this._endToken(t)},_h.prototype._consumeExpansionFormStart=function(){this._beginToken(eh.EXPANSION_FORM_START),this._requireCharCode(To),this._endToken([]),this._expansionCaseStack.push(eh.EXPANSION_FORM_START),this._beginToken(eh.RAW_TEXT);var e=this._readUntil(44);this._endToken([e]),this._requireCharCode(44),this._attemptCharCodeUntilFn(bh),this._beginToken(eh.RAW_TEXT);var t=this._readUntil(44);this._endToken([t]),this._requireCharCode(44),this._attemptCharCodeUntilFn(bh)},_h.prototype._consumeExpansionCaseStart=function(){this._beginToken(eh.EXPANSION_CASE_VALUE);var e=this._readUntil(To).trim();this._endToken([e]),this._attemptCharCodeUntilFn(bh),this._beginToken(eh.EXPANSION_CASE_EXP_START),this._requireCharCode(To),this._endToken([]),this._attemptCharCodeUntilFn(bh),this._expansionCaseStack.push(eh.EXPANSION_CASE_EXP_START)},_h.prototype._consumeExpansionCaseEnd=function(){this._beginToken(eh.EXPANSION_CASE_EXP_END),this._requireCharCode(Io),this._endToken([]),this._attemptCharCodeUntilFn(bh),this._expansionCaseStack.pop()},_h.prototype._consumeExpansionFormEnd=function(){this._beginToken(eh.EXPANSION_FORM_END),this._requireCharCode(Io),this._endToken([]),this._expansionCaseStack.pop()},_h.prototype._consumeText=function(){var e=this._cursor.clone();this._beginToken(eh.TEXT,e);for(var t=[];this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0)),!this._isTextEnd(););this._endToken([this._processCarriageReturns(t.join(""))])},_h.prototype._isTextEnd=function(){if(60===this._cursor.peek()||0===this._cursor.peek())return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(this._cursor.peek()===Io&&this._isInExpansionCase())return!0}return!1},_h.prototype._readUntil=function(e){var t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)},_h.prototype._isInExpansionCase=function(){return 0<this._expansionCaseStack.length&&this._expansionCaseStack[this._expansionCaseStack.length-1]===eh.EXPANSION_CASE_EXP_START},_h.prototype._isInExpansionForm=function(){return 0<this._expansionCaseStack.length&&this._expansionCaseStack[this._expansionCaseStack.length-1]===eh.EXPANSION_FORM_START},_h.prototype.isExpansionFormStart=function(){if(this._cursor.peek()!==To)return!1;if(this._interpolationConfig){var e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0},_h);function _h(e,t,n){this._getTagDefinition=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||Fl,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(function(e){return e.codePointAt(0)||0});var r=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new Dh(e,r):new Eh(e,r);try{this._cursor.init()}catch(e){this.handleError(e)}}function bh(e){return!Mo(e)||0===e}function wh(e){return Mo(e)||62===e||47===e||e===co||e===lo||61===e}function xh(e){return 59==e||0==e||!function(e){return wo<=e&&e<=Co||vo<=e&&e<=go||Ro(e)}(e)}function Ch(e){return 59==e||0==e||!No(e)}function Sh(e){return wo<=e&&e<=Do?e-wo+vo:e}var Eh=(Oh.prototype.clone=function(){return new Oh(this)},Oh.prototype.peek=function(){return this.state.peek},Oh.prototype.charsLeft=function(){return this.end-this.state.offset},Oh.prototype.diff=function(e){return this.state.offset-e.state.offset},Oh.prototype.advance=function(){this.advanceState(this.state)},Oh.prototype.init=function(){this.updatePeek(this.state)},Oh.prototype.getSpan=function(e,t){if(e=e||this,t)for(e=e.clone();0<this.diff(e)&&-1!==t.indexOf(e.peek());)e.advance();return new Uo(new Lo(e.file,e.state.offset,e.state.line,e.state.column),new Lo(this.file,this.state.offset,this.state.line,this.state.column))},Oh.prototype.getChars=function(e){return this.input.substring(e.state.offset,this.state.offset)},Oh.prototype.charAt=function(e){return this.input.charCodeAt(e)},Oh.prototype.advanceState=function(e){if(e.offset>=this.end)throw this.state=e,new Ph('Unexpected character "EOF"',this);var t=this.charAt(e.offset);t===ro?(e.line++,e.column=0):jo(t)||e.column++,e.offset++,this.updatePeek(e)},Oh.prototype.updatePeek=function(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)},Oh);function Oh(e,t){if(e instanceof Oh)this.file=e.file,this.input=e.input,this.end=e.end,this.state=m({},e.state);else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}var kh,Dh=(f(Th,kh=Eh),Th.prototype.advance=function(){this.state=this.internalState,kh.prototype.advance.call(this),this.processEscapeSequence()},Th.prototype.init=function(){kh.prototype.init.call(this),this.processEscapeSequence()},Th.prototype.clone=function(){return new Th(this)},Th.prototype.getChars=function(e){for(var t=e.clone(),n="";t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n},Th.prototype.processEscapeSequence=function(){function e(){return t.internalState.peek}var t=this;if(92===e())if(this.internalState=m({},this.state),this.advanceState(this.internalState),e()===So)this.state.peek=ro;else if(e()===Eo)this.state.peek=ao;else if(e()===ko)this.state.peek=io;else if(e()===Oo)this.state.peek=no;else if(98===e())this.state.peek=8;else if(e()===Co)this.state.peek=oo;else if(117===e())if(this.advanceState(this.internalState),e()===To){this.advanceState(this.internalState);for(var n=this.clone(),r=0;e()!==Io;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(n,r)}else n=this.clone(),this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(n,4);else if(120===e())this.advanceState(this.internalState),n=this.clone(),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(n,2);else if(Fo(e())){for(var i="",o=0,a=this.clone();Fo(e())&&o<3;)a=this.clone(),i+=String.fromCodePoint(e()),this.advanceState(this.internalState),o++;this.state.peek=parseInt(i,8),this.internalState=a.internalState}else jo(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek},Th.prototype.decodeHexDigits=function(e,t){var n=this.input.substr(e.internalState.offset,t),r=parseInt(n,16);if(isNaN(r))throw e.state=e.internalState,new Ph("Invalid hexadecimal escape sequence",e);return r},Th);function Th(e,t){var n=this;return e instanceof Th?(n=kh.call(this,e)||this).internalState=m({},e.internalState):(n=kh.call(this,e,t)||this).internalState=n.state,n}var Ih,Ph=function(e,t){this.msg=e,this.cursor=t},Ah=(f(Mh,Ih=Go),Mh.create=function(e,t,n){return new Mh(e,t,n)},Mh);function Mh(e,t,n){var r=Ih.call(this,t,n)||this;return r.elementName=e,r}var Rh=function(e,t){this.rootNodes=e,this.errors=t},Nh=(jh.prototype.parse=function(e,t,n){var r=function(e,t,n,r){return void 0===r&&(r={}),new gh(new Bo(e,t),n,r).tokenize()}(e,t,this.getTagDefinition,n),i=new Fh(r.tokens,this.getTagDefinition).build();return new Rh(i.rootNodes,r.errors.concat(i.errors))},jh);function jh(e){this.getTagDefinition=e}var Fh=(Lh.prototype.build=function(){for(;this._peek.type!==eh.EOF;)this._peek.type===eh.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===eh.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===eh.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===eh.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===eh.TEXT||this._peek.type===eh.RAW_TEXT||this._peek.type===eh.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===eh.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new Rh(this._rootNodes,this._errors)},Lh.prototype._advance=function(){var e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e},Lh.prototype._advanceIf=function(e){return this._peek.type===e?this._advance():null},Lh.prototype._consumeCdata=function(e){this._consumeText(this._advance()),this._advanceIf(eh.CDATA_END)},Lh.prototype._consumeComment=function(e){var t=this._advanceIf(eh.RAW_TEXT);this._advanceIf(eh.COMMENT_END);var n=null!=t?t.parts[0].trim():null;this._addToParent(new $c(n,e.sourceSpan))},Lh.prototype._consumeExpansion=function(e){for(var t=this._advance(),n=this._advance(),r=[];this._peek.type===eh.EXPANSION_CASE_VALUE;){var i=this._parseExpansionCase();if(!i)return;r.push(i)}if(this._peek.type===eh.EXPANSION_FORM_END){var o=new Uo(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new Hc(t.parts[0],n.parts[0],r,o,t.sourceSpan)),this._advance()}else this._errors.push(Ah.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."))},Lh.prototype._parseExpansionCase=function(){var e=this._advance();if(this._peek.type!==eh.EXPANSION_CASE_EXP_START)return this._errors.push(Ah.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;var t=this._advance(),n=this._collectExpansionExpTokens(t);if(!n)return null;var r=this._advance();n.push(new ch(eh.EOF,[],r.sourceSpan));var i=new Lh(n,this.getTagDefinition).build();if(0<i.errors.length)return this._errors=this._errors.concat(i.errors),null;var o=new Uo(e.sourceSpan.start,r.sourceSpan.end),a=new Uo(t.sourceSpan.start,r.sourceSpan.end);return new Gc(e.parts[0],i.rootNodes,o,e.sourceSpan,a)},Lh.prototype._collectExpansionExpTokens=function(e){for(var t=[],n=[eh.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==eh.EXPANSION_FORM_START&&this._peek.type!==eh.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===eh.EXPANSION_CASE_EXP_END){if(!Vh(n,eh.EXPANSION_CASE_EXP_START))return this._errors.push(Ah.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return t}if(this._peek.type===eh.EXPANSION_FORM_END){if(!Vh(n,eh.EXPANSION_FORM_START))return this._errors.push(Ah.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===eh.EOF)return this._errors.push(Ah.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}},Lh.prototype._consumeText=function(e){var t=e.parts[0];if(0<t.length&&"\n"==t[0]){var n=this._getParentElement();null!=n&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(t=t.substring(1))}0<t.length&&this._addToParent(new zc(t,e.sourceSpan))},Lh.prototype._closeVoidElement=function(){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()},Lh.prototype._consumeStartTag=function(e){for(var t=e.parts[0],n=e.parts[1],r=[];this._peek.type===eh.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));var i=this._getElementFullName(t,n,this._getParentElement()),o=!1;if(this._peek.type===eh.TAG_OPEN_END_VOID){this._advance(),o=!0;var a=this.getTagDefinition(i);a.canSelfClose||null!==c(i)||a.isVoid||this._errors.push(Ah.create(i,e.sourceSpan,'Only void and foreign elements can be self closed "'+e.parts[1]+'"'))}else this._peek.type===eh.TAG_OPEN_END&&(this._advance(),o=!1);var s=this._peek.sourceSpan.start,l=new Uo(e.sourceSpan.start,s),u=new Qc(i,r,[],l,l,void 0);this._pushElement(u),o&&(this._popElement(i),u.endSourceSpan=l)},Lh.prototype._pushElement=function(e){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)},Lh.prototype._consumeEndTag=function(e){var t=this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),this.getTagDefinition(t).isVoid)this._errors.push(Ah.create(t,e.sourceSpan,'Void elements do not have end tags "'+e.parts[1]+'"'));else if(!this._popElement(t)){var n='Unexpected closing tag "'+t+'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags';this._errors.push(Ah.create(t,e.sourceSpan,n))}},Lh.prototype._popElement=function(e){for(var t=this._elementStack.length-1;0<=t;t--){var n=this._elementStack[t];if(n.name==e)return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1},Lh.prototype._consumeAttr=function(e){var t=p(e.parts[0],e.parts[1]),n=e.sourceSpan.end,r="",i=void 0;if(this._peek.type===eh.ATTR_QUOTE&&this._advance(),this._peek.type===eh.ATTR_VALUE){var o=this._advance();r=o.parts[0],n=o.sourceSpan.end,i=o.sourceSpan}return this._peek.type===eh.ATTR_QUOTE&&(n=this._advance().sourceSpan.end),new Kc(t,r,new Uo(e.sourceSpan.start,n),i)},Lh.prototype._getParentElement=function(){return 0<this._elementStack.length?this._elementStack[this._elementStack.length-1]:null},Lh.prototype._getParentElementSkippingContainers=function(){for(var e=null,t=this._elementStack.length-1;0<=t;t--){if(!W(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:null,container:e}},Lh.prototype._addToParent=function(e){var t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)},Lh.prototype._insertBeforeContainer=function(e,t,n){if(t){if(e){var r=e.children.indexOf(t);e.children[r]=n}else this._rootNodes.push(n);n.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,n)}else this._addToParent(n),this._elementStack.push(n)},Lh.prototype._getElementFullName=function(e,t,n){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=n&&(e=c(n.name)),p(e,t)},Lh);function Lh(e,t){this.tokens=e,this.getTagDefinition=t,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}function Vh(e,t){return 0<e.length&&e[e.length-1]===t}var Bh,Uh=(f(zh,Bh=Nh),zh.prototype.parse=function(e,t,n){return Bh.prototype.parse.call(this,e,t,n)},zh);function zh(){return Bh.call(this,d)||this}var qh="ngPreserveWhitespaces",Hh=new Set(["pre","template","textarea","script","style"]),Wh=" \f\n\r\t\v ᠎ - \u2028\u2029   \ufeff",Gh=new RegExp("[^"+Wh+"]"),Yh=new RegExp("["+Wh+"]{2,}","g");function Kh(e){return e.replace(new RegExp("","g")," ")}var Zh=(Qh.prototype.visitElement=function(e,t){return Hh.has(e.name)||function(e){return e.some(function(e){return e.name===qh})}(e.attrs)?new Qc(e.name,ep(this,e.attrs),e.children,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n):new Qc(e.name,e.attrs,function(i,o){var a=[];return o.forEach(function(e,t){var n={prev:o[t-1],next:o[t+1]},r=e.visit(i,n);r&&a.push(r)}),a}(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)},Qh.prototype.visitAttribute=function(e,t){return e.name!==qh?e:null},Qh.prototype.visitText=function(e,t){var n=e.value.match(Gh),r=t&&(t.prev instanceof Hc||t.next instanceof Hc);return n||r?new zc(Kh(e.value).replace(Yh," "),e.sourceSpan,e.i18n):null},Qh.prototype.visitComment=function(e,t){return e},Qh.prototype.visitExpansion=function(e,t){return e},Qh.prototype.visitExpansionCase=function(e,t){return e},Qh);function Qh(){}function Xh(e){return new Rh(ep(new Zh,e.rootNodes),e.errors)}var $h=["zero","one","two","few","many","other"];function Jh(e){var t=new af;return new tf(ep(t,e),t.isExpanded,t.errors)}var ef,tf=function(e,t,n){this.nodes=e,this.expanded=t,this.errors=n},nf=(f(rf,ef=Go),rf);function rf(e,t){return ef.call(this,e,t)||this}var of,af=(sf.prototype.visitElement=function(e,t){return new Qc(e.name,e.attrs,ep(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan)},sf.prototype.visitAttribute=function(e,t){return e},sf.prototype.visitText=function(e,t){return e},sf.prototype.visitComment=function(e,t){return e},sf.prototype.visitExpansion=function(e,t){return this.isExpanded=!0,"plural"==e.type?function(e,n){var t=e.cases.map(function(e){-1!=$h.indexOf(e.value)||e.value.match(/^=\d+$/)||n.push(new nf(e.valueSourceSpan,'Plural cases should be "=<number>" or one of '+$h.join(", ")));var t=Jh(e.expression);return n.push.apply(n,q(t.errors)),new Qc("ng-template",[new Kc("ngPluralCase",""+e.value,e.valueSourceSpan)],t.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)}),r=new Kc("[ngPlural]",e.switchValue,e.switchValueSourceSpan);return new Qc("ng-container",[r],t,e.sourceSpan,e.sourceSpan,e.sourceSpan)}(e,this.errors):function(e,n){var t=e.cases.map(function(e){var t=Jh(e.expression);return n.push.apply(n,q(t.errors)),"other"===e.value?new Qc("ng-template",[new Kc("ngSwitchDefault","",e.valueSourceSpan)],t.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan):new Qc("ng-template",[new Kc("ngSwitchCase",""+e.value,e.valueSourceSpan)],t.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)}),r=new Kc("[ngSwitch]",e.switchValue,e.switchValueSourceSpan);return new Qc("ng-container",[r],t,e.sourceSpan,e.sourceSpan,e.sourceSpan)}(e,this.errors)},sf.prototype.visitExpansionCase=function(e,t){throw new Error("Should not be reached")},sf);function sf(){this.isExpanded=!1,this.errors=[]}var lf=(uf.prototype.visit=function(e,t){return e.visitText(this,t)},uf);function uf(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}var cf=(pf.prototype.visit=function(e,t){return e.visitBoundText(this,t)},pf);function pf(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}var df=(hf.prototype.visit=function(e,t){return e.visitAttr(this,t)},hf);function hf(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}var ff=((of={})[4]=4,of[1]=1,of[2]=2,of[0]=0,of[3]=3,of),mf=(vf.fromBoundProperty=function(e){var t=ff[e.type];return new vf(e.name,t,e.securityContext,e.value,e.unit,e.sourceSpan)},vf.prototype.visit=function(e,t){return e.visitElementProperty(this,t)},vf);function vf(e,t,n,r,i,o){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.isAnimation=4===this.type}var yf=(gf.calcFullName=function(e,t,n){return t?t+":"+e:n?"@"+e+"."+n:e},gf.fromParsedEvent=function(e){var t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;return new gf(e.name,t,n,e.handler,e.sourceSpan,e.handlerSpan)},gf.prototype.visit=function(e,t){return e.visitEvent(this,t)},gf);function gf(e,t,n,r,i,o){this.name=e,this.target=t,this.phase=n,this.handler=r,this.sourceSpan=i,this.handlerSpan=o,this.fullName=gf.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}var _f=(bf.prototype.visit=function(e,t){return e.visitReference(this,t)},bf);function bf(e,t,n,r){this.name=e,this.value=t,this.originalValue=n,this.sourceSpan=r}var wf=(xf.fromParsedVariable=function(e){return new xf(e.name,e.value,e.sourceSpan)},xf.prototype.visit=function(e,t){return e.visitVariable(this,t)},xf);function xf(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}var Cf=(Sf.prototype.visit=function(e,t){return e.visitElement(this,t)},Sf);function Sf(e,t,n,r,i,o,a,s,l,u,c,p,d){this.name=e,this.attrs=t,this.inputs=n,this.outputs=r,this.references=i,this.directives=o,this.providers=a,this.hasViewContainer=s,this.queryMatches=l,this.children=u,this.ngContentIndex=c,this.sourceSpan=p,this.endSourceSpan=d}var Ef=(Of.prototype.visit=function(e,t){return e.visitEmbeddedTemplate(this,t)},Of);function Of(e,t,n,r,i,o,a,s,l,u,c){this.attrs=e,this.outputs=t,this.references=n,this.variables=r,this.directives=i,this.providers=o,this.hasViewContainer=a,this.queryMatches=s,this.children=l,this.ngContentIndex=u,this.sourceSpan=c}var kf=(Df.prototype.visit=function(e,t){return e.visitDirectiveProperty(this,t)},Df);function Df(e,t,n,r){this.directiveName=e,this.templateName=t,this.value=n,this.sourceSpan=r}var Tf=(If.prototype.visit=function(e,t){return e.visitDirective(this,t)},If);function If(e,t,n,r,i,o){this.directive=e,this.inputs=t,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=i,this.sourceSpan=o}var Pf,Af=(Mf.prototype.visit=function(e,t){return null},Mf);function Mf(e,t,n,r,i,o,a,s){this.token=e,this.multiProvider=t,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=o,this.sourceSpan=a,this.isModule=s}(Pf=E.ProviderAstType||(E.ProviderAstType={}))[Pf.PublicService=0]="PublicService",Pf[Pf.PrivateService=1]="PrivateService",Pf[Pf.Component=2]="Component",Pf[Pf.Directive=3]="Directive",Pf[Pf.Builtin=4]="Builtin";var Rf=(Nf.prototype.visit=function(e,t){return e.visitNgContent(this,t)},Nf);function Nf(e,t,n){this.index=e,this.ngContentIndex=t,this.sourceSpan=n}var jf=(Ff.prototype.visitNgContent=function(e,t){},Ff.prototype.visitEmbeddedTemplate=function(e,t){},Ff.prototype.visitElement=function(e,t){},Ff.prototype.visitReference=function(e,t){},Ff.prototype.visitVariable=function(e,t){},Ff.prototype.visitEvent=function(e,t){},Ff.prototype.visitElementProperty=function(e,t){},Ff.prototype.visitAttr=function(e,t){},Ff.prototype.visitBoundText=function(e,t){},Ff.prototype.visitText=function(e,t){},Ff.prototype.visitDirective=function(e,t){},Ff.prototype.visitDirectiveProperty=function(e,t){},Ff);function Ff(){}var Lf,Vf=(f(Bf,Lf=jf),Bf.prototype.visitEmbeddedTemplate=function(t,e){return this.visitChildren(e,function(e){e(t.attrs),e(t.references),e(t.variables),e(t.directives),e(t.providers),e(t.children)})},Bf.prototype.visitElement=function(t,e){return this.visitChildren(e,function(e){e(t.attrs),e(t.inputs),e(t.outputs),e(t.references),e(t.directives),e(t.providers),e(t.children)})},Bf.prototype.visitDirective=function(t,e){return this.visitChildren(e,function(e){e(t.inputs),e(t.hostProperties),e(t.hostEvents)})},Bf.prototype.visitChildren=function(t,e){var n=[],r=this;return e(function(e){e&&e.length&&n.push(Uf(r,e,t))}),Array.prototype.concat.apply([],n)},Bf);function Bf(){return Lf.call(this)||this}function Uf(t,e,n){void 0===n&&(n=null);var r=[],i=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(e){var t=i(e);t&&r.push(t)}),r}var zf,qf=(f(Hf,zf=Go),Hf);function Hf(e,t){return zf.call(this,t,e)||this}var Wf=function(e,t){var n=this;this.reflector=e,this.component=t,this.errors=[],this.viewQueries=function(e){var t=1,n=new Map;return e.viewQueries&&e.viewQueries.forEach(function(e){return Jf(n,{meta:e,queryId:t++})}),n}(t),this.viewProviders=new Map,t.viewProviders.forEach(function(e){null==n.viewProviders.get(Oi(e.token))&&n.viewProviders.set(Oi(e.token),!0)})},Gf=(Yf.prototype.afterElement=function(){var t=this;Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.providerType,e.token,!1)})},Object.defineProperty(Yf.prototype,"transformProviders",{get:function(){var t=[],n=[];return this._transformedProviders.forEach(function(e){e.eager?n.push(e):t.push(e)}),t.concat(n)},enumerable:!0,configurable:!0}),Object.defineProperty(Yf.prototype,"transformedDirectiveAsts",{get:function(){var n=this.transformProviders.map(function(e){return e.token.identifier}),e=this._directiveAsts.slice();return e.sort(function(e,t){return n.indexOf(e.directive.type)-n.indexOf(t.directive.type)}),e},enumerable:!0,configurable:!0}),Object.defineProperty(Yf.prototype,"queryMatches",{get:function(){var t=[];return this._queriedTokens.forEach(function(e){t.push.apply(t,q(e))}),t},enumerable:!0,configurable:!0}),Yf.prototype._addQueryReadsTo=function(e,i,o){this._getQueriesFor(e).forEach(function(e){var t=e.meta.read||i,n=Oi(t),r=o.get(n);r||(r=[],o.set(n,r)),r.push({queryId:e.queryId,value:t})})},Yf.prototype._getQueriesFor=function(e){for(var t,n=[],r=this,i=0;null!==r;)(t=r._contentQueries.get(Oi(e)))&&n.push.apply(n,q(t.filter(function(e){return e.meta.descendants||i<=1}))),0<r._directiveAsts.length&&i++,r=r._parent;return(t=this.viewContext.viewQueries.get(Oi(e)))&&n.push.apply(n,q(t)),n},Yf.prototype._getOrCreateLocalProvider=function(e,t,o){var a=this,s=this._allProviders.get(Oi(t));if(!s||(e===E.ProviderAstType.Directive||e===E.ProviderAstType.PublicService)&&s.providerType===E.ProviderAstType.PrivateService||(e===E.ProviderAstType.PrivateService||e===E.ProviderAstType.PublicService)&&s.providerType===E.ProviderAstType.Builtin)return null;var n=this._transformedProviders.get(Oi(t));if(n)return n;if(null!=this._seenProviders.get(Oi(t)))return this.viewContext.errors.push(new qf("Cannot instantiate cyclic dependency! "+Ei(t),this._sourceSpan)),null;this._seenProviders.set(Oi(t),!0);var r=s.providers.map(function(e){var t=e.useValue,n=e.useExisting,r=void 0;if(null!=e.useExisting){var i=a._getDependency(s.providerType,{token:e.useExisting},o);null!=i.token?n=i.token:(n=null,t=i.value)}else e.useFactory?r=(e.deps||e.useFactory.diDeps).map(function(e){return a._getDependency(s.providerType,e,o)}):e.useClass&&(r=(e.deps||e.useClass.diDeps).map(function(e){return a._getDependency(s.providerType,e,o)}));return Qf(e,{useExisting:n,useValue:t,deps:r})});return n=Xf(s,{eager:o,providers:r}),this._transformedProviders.set(Oi(t),n),n},Yf.prototype._getLocalDependency=function(e,t,n){if(void 0===n&&(n=!1),t.isAttribute){var r=this._attrs[t.token.value];return{isValue:!0,value:null==r?null:r}}if(null!=t.token){if(e===E.ProviderAstType.Directive||e===E.ProviderAstType.Component){if(Oi(t.token)===this.viewContext.reflector.resolveExternalReference(si.Renderer)||Oi(t.token)===this.viewContext.reflector.resolveExternalReference(si.ElementRef)||Oi(t.token)===this.viewContext.reflector.resolveExternalReference(si.ChangeDetectorRef)||Oi(t.token)===this.viewContext.reflector.resolveExternalReference(si.TemplateRef))return t;Oi(t.token)===this.viewContext.reflector.resolveExternalReference(si.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(Oi(t.token)===this.viewContext.reflector.resolveExternalReference(si.Injector))return t;if(null!=this._getOrCreateLocalProvider(e,t.token,n))return t}return null},Yf.prototype._getDependency=function(e,t,n){void 0===n&&(n=!1);var r=this,i=n,o=null;if(t.isSkipSelf||(o=this._getLocalDependency(e,t,n)),t.isSelf)!o&&t.isOptional&&(o={isValue:!0,value:null});else{for(;!o&&r._parent;){var a=r;r=r._parent,a._isViewRoot&&(i=!1),o=r._getLocalDependency(E.ProviderAstType.PublicService,t,i)}o=o||(!t.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===Oi(t.token)||null!=this.viewContext.viewProviders.get(Oi(t.token))?t:t.isOptional?{isValue:!0,value:null}:null)}return o||this.viewContext.errors.push(new qf("No provider for "+Ei(t.token),this._sourceSpan)),o},Yf);function Yf(e,t,n,r,i,o,a,s,l){var u=this;this.viewContext=e,this._parent=t,this._isViewRoot=n,this._directiveAsts=r,this._sourceSpan=l,this._transformedProviders=new Map,this._seenProviders=new Map,this._queriedTokens=new Map,this.transformedHasViewContainer=!1,this._attrs={},i.forEach(function(e){return u._attrs[e.name]=e.value});var c=r.map(function(e){return e.directive});if(this._allProviders=function(e,t,n){var r=new Map;return e.forEach(function(e){$f([{token:{identifier:e.type},useClass:e.type}],e.isComponent?E.ProviderAstType.Component:E.ProviderAstType.Directive,!0,t,n,r,!1)}),e.filter(function(e){return e.isComponent}).concat(e.filter(function(e){return!e.isComponent})).forEach(function(e){$f(e.providers,E.ProviderAstType.PublicService,!1,t,n,r,!1),$f(e.viewProviders,E.ProviderAstType.PrivateService,!1,t,n,r,!1)}),r}(c,l,e.errors),this._contentQueries=function(e,t){var n=e,r=new Map;return t.forEach(function(e,t){e.queries&&e.queries.forEach(function(e){return Jf(r,{meta:e,queryId:n++})})}),r}(s,c),Array.from(this._allProviders.values()).forEach(function(e){u._addQueryReadsTo(e.token,e.token,u._queriedTokens)}),a){var p=ci(this.viewContext.reflector,si.TemplateRef);this._addQueryReadsTo(p,p,this._queriedTokens)}o.forEach(function(e){var t=e.value||ci(u.viewContext.reflector,si.ElementRef);u._addQueryReadsTo({value:e.name},t,u._queriedTokens)}),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(si.ViewContainerRef))&&(this.transformedHasViewContainer=!0),Array.from(this._allProviders.values()).forEach(function(e){(e.eager||u._queriedTokens.get(Oi(e.token)))&&u._getOrCreateLocalProvider(e.providerType,e.token,!0)})}var Kf=(Zf.prototype.parse=function(){var t=this;if(Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.token,e.eager)}),0<this._errors.length){var e=this._errors.join("\n");throw new Error("Provider parse errors:\n"+e)}var n=[],r=[];return this._transformedProviders.forEach(function(e){e.eager?r.push(e):n.push(e)}),n.concat(r)},Zf.prototype._getOrCreateLocalProvider=function(e,o){var a=this,s=this._allProviders.get(Oi(e));if(!s)return null;var t=this._transformedProviders.get(Oi(e));if(t)return t;if(null!=this._seenProviders.get(Oi(e)))return this._errors.push(new qf("Cannot instantiate cyclic dependency! "+Ei(e),s.sourceSpan)),null;this._seenProviders.set(Oi(e),!0);var n=s.providers.map(function(e){var t=e.useValue,n=e.useExisting,r=void 0;if(null!=e.useExisting){var i=a._getDependency({token:e.useExisting},o,s.sourceSpan);null!=i.token?n=i.token:(n=null,t=i.value)}else e.useFactory?r=(e.deps||e.useFactory.diDeps).map(function(e){return a._getDependency(e,o,s.sourceSpan)}):e.useClass&&(r=(e.deps||e.useClass.diDeps).map(function(e){return a._getDependency(e,o,s.sourceSpan)}));return Qf(e,{useExisting:n,useValue:t,deps:r})});return t=Xf(s,{eager:o,providers:n}),this._transformedProviders.set(Oi(e),t),t},Zf.prototype._getDependency=function(e,t,n){return void 0===t&&(t=!1),e.isSkipSelf||null==e.token||Oi(e.token)===this.reflector.resolveExternalReference(si.Injector)||Oi(e.token)===this.reflector.resolveExternalReference(si.ComponentFactoryResolver)||this._getOrCreateLocalProvider(e.token,t),e},Zf);function Zf(e,t,n,r){var i=this;this.reflector=e,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,t.transitiveModule.modules.forEach(function(e){$f([{token:{identifier:e},useClass:e}],E.ProviderAstType.PublicService,!0,r,i._errors,i._allProviders,!0)}),$f(t.transitiveModule.providers.map(function(e){return e.provider}).concat(n),E.ProviderAstType.PublicService,!1,r,this._errors,this._allProviders,!1)}function Qf(e,t){var n=t.useExisting,r=t.useValue,i=t.deps;return{token:e.token,useClass:e.useClass,useExisting:n,useFactory:e.useFactory,useValue:r,deps:i,multi:e.multi}}function Xf(e,t){var n=t.eager,r=t.providers;return new Af(e.token,e.multiProvider,e.eager||n,r,e.providerType,e.lifecycleHooks,e.sourceSpan,e.isModule)}function $f(e,i,o,a,s,l,u){e.forEach(function(e){var t=l.get(Oi(e.token));if(null!=t&&!!t.multiProvider!=!!e.multi&&s.push(new qf("Mixing multi and non multi provider is not possible for token "+Ei(t.token),a)),t)e.multi||(t.providers.length=0),t.providers.push(e);else{var n=e.token.identifier&&e.token.identifier.lifecycleHooks?e.token.identifier.lifecycleHooks:[],r=!(e.useClass||e.useExisting||e.useFactory);t=new Af(e.token,!!e.multi,o||r,[e],i,n,a,u),l.set(Oi(e.token),t)}})}function Jf(n,r){r.meta.selectors.forEach(function(e){var t=n.get(Oi(e));t||(t=[],n.set(Oi(e),t)),t.push(r)})}var em=function(e,t){this.style=e,this.styleUrls=t};function tm(e){if(null==e||0===e.length||"/"==e[0])return!1;var t=e.match(im);return null===t||"package"==t[1]||"asset"==t[1]}var nm=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,rm=/\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g,im=/^([^:/?#]+):/,om=(Object.defineProperty(am.prototype,"interpolationConfig",{get:function(){return this._interpolationConfig},enumerable:!0,configurable:!0}),am.prototype.getUsedPipes=function(){return Array.from(this._usedPipes.values())},am.prototype.createBoundHostProperties=function(n,r){var i=this;if(n.hostProperties){var o=[];return Object.keys(n.hostProperties).forEach(function(e){var t=n.hostProperties[e];"string"==typeof t?i.parsePropertyBinding(e,t,!0,r,r.start.offset,void 0,[],o):i._reportError('Value of the host property binding "'+e+'" needs to be a string representing an expression but got "'+t+'" ('+typeof t+")",r)}),o}return null},am.prototype.createDirectiveHostPropertyAsts=function(e,t,n){var r=this,i=this.createBoundHostProperties(e,n);return i&&i.map(function(e){return r.createBoundElementProperty(t,e)})},am.prototype.createDirectiveHostEventAsts=function(n,r){var i=this;if(n.hostListeners){var o=[];return Object.keys(n.hostListeners).forEach(function(e){var t=n.hostListeners[e];"string"==typeof t?i.parseEvent(e,t,r,r,[],o):i._reportError('Value of the host listener "'+e+'" needs to be a string representing an expression but got "'+t+'" ('+typeof t+")",r)}),o}return null},am.prototype.parseInterpolation=function(e,t){var n=t.start.toString();try{var r=this._exprParser.parseInterpolation(e,n,t.start.offset,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,t),this._checkPipes(r,t),r}catch(e){return this._reportError(""+e,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,t.start.offset)}},am.prototype.parseInlineTemplateBinding=function(e,t,n,r,i,o,a){for(var s=this._parseTemplateBindings(e,t,n,r),l=0;l<s.length;l++){var u=s[l];u.keyIsVar?a.push(new Tc(u.key,u.name,n)):u.expression?this._parsePropertyAst(u.key,u.expression,n,void 0,i,o):(i.push([u.key,""]),this.parseLiteralAttr(u.key,null,n,r,void 0,i,o))}},am.prototype._parseTemplateBindings=function(e,t,n,r){var i=this,o=n.start.toString();try{var a=this._exprParser.parseTemplateBindings(e,t,o,r);return this._reportExpressionParserErrors(a.errors,n),a.templateBindings.forEach(function(e){e.expression&&i._checkPipes(e.expression,n)}),a.warnings.forEach(function(e){i._reportError(e,n,E.ParseErrorLevel.WARNING)}),a.templateBindings}catch(e){return this._reportError(""+e,n),[]}},am.prototype.parseLiteralAttr=function(e,t,n,r,i,o,a){cm(e)?(e=e.substring(1),t&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',n,E.ParseErrorLevel.ERROR),this._parseAnimation(e,t,n,r,i,o,a)):a.push(new kc(e,this._exprParser.wrapLiteralPrimitive(t,"",r),E.ParsedPropertyType.LITERAL_ATTR,n,i))},am.prototype.parsePropertyBinding=function(e,t,n,r,i,o,a,s){var l=!1;e.startsWith("animate-")?(l=!0,e=e.substring("animate-".length)):cm(e)&&(l=!0,e=e.substring(1)),l?this._parseAnimation(e,t,r,i,o,a,s):this._parsePropertyAst(e,this._parseBinding(t,n,o||r,i),r,o,a,s)},am.prototype.parsePropertyInterpolation=function(e,t,n,r,i,o){var a=this.parseInterpolation(t,r||n);return!!a&&(this._parsePropertyAst(e,a,n,r,i,o),!0)},am.prototype._parsePropertyAst=function(e,t,n,r,i,o){i.push([e,t.source]),o.push(new kc(e,t,E.ParsedPropertyType.DEFAULT,n,r))},am.prototype._parseAnimation=function(e,t,n,r,i,o,a){var s=this._parseBinding(t||"undefined",!1,i||n,r);o.push([e,s.source]),a.push(new kc(e,s,E.ParsedPropertyType.ANIMATION,n,i))},am.prototype._parseBinding=function(e,t,n,r){var i=(n&&n.start||"(unknown)").toString();try{var o=t?this._exprParser.parseSimpleBinding(e,i,r,this._interpolationConfig):this._exprParser.parseBinding(e,i,r,this._interpolationConfig);return o&&this._reportExpressionParserErrors(o.errors,n),this._checkPipes(o,n),o}catch(e){return this._reportError(""+e,n),this._exprParser.wrapLiteralPrimitive("ERROR",i,r)}},am.prototype.createBoundElementProperty=function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),t.isAnimation)return new Ic(t.name,4,M.NONE,t.expression,null,t.sourceSpan,t.valueSpan);var i=null,o=void 0,a=null,s=t.name.split("."),l=void 0;if(1<s.length)if("attr"==s[0]){a=s[1],n||this._validatePropertyOrAttributeName(a,t.sourceSpan,!0),l=pm(this._schemaRegistry,e,a,!0);var u=a.indexOf(":");-1<u&&(a=p(a.substring(0,u),a.substring(u+1))),o=1}else"class"==s[0]?(a=s[1],o=2,l=[M.NONE]):"style"==s[0]&&(i=2<s.length?s[2]:null,a=s[1],o=3,l=[M.STYLE]);if(null===a){var c=this._schemaRegistry.getMappedPropName(t.name);a=r?c:t.name,l=pm(this._schemaRegistry,e,c,!1),o=0,n||this._validatePropertyOrAttributeName(c,t.sourceSpan,!1)}return new Ic(a,o,l[0],t.expression,i,t.sourceSpan,t.valueSpan)},am.prototype.parseEvent=function(e,t,n,r,i,o){cm(e)?(e=e.substr(1),this._parseAnimationEvent(e,t,n,r,o)):this._parseRegularEvent(e,t,n,r,i,o)},am.prototype.calcPossibleSecurityContexts=function(e,t,n){var r=this._schemaRegistry.getMappedPropName(t);return pm(this._schemaRegistry,e,r,n)},am.prototype._parseAnimationEvent=function(e,t,n,r,i){var o=function(e,t){return Or(e,".",t)}(e,[e,""]),a=o[0],s=o[1].toLowerCase();if(s)switch(s){case"start":case"done":var l=this._parseAction(t,r);i.push(new Dc(a,s,1,l,n,r));break;default:this._reportError('The provided animation output phase value "'+s+'" for "@'+a+'" is not supported (use start or done)',n)}else this._reportError("The animation trigger output event (@"+a+") is missing its phase value name (start or done are currently supported)",n)},am.prototype._parseRegularEvent=function(e,t,n,r,i,o){var a=U(Er(e,[null,e]),2),s=a[0],l=a[1],u=this._parseAction(t,r);i.push([e,u.source]),o.push(new Dc(l,s,0,u,n,r))},am.prototype._parseAction=function(e,t){var n=(t&&t.start||"(unknown").toString(),r=t&&t.start?t.start.offset:0;try{var i=this._exprParser.parseAction(e,n,r,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,t),!i||i.ast instanceof lu?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)):(this._checkPipes(i,t),i)}catch(e){return this._reportError(""+e,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}},am.prototype._reportError=function(e,t,n){void 0===n&&(n=E.ParseErrorLevel.ERROR),this.errors.push(new Go(t,e,n))},am.prototype._reportExpressionParserErrors=function(e,t){var n,r;try{for(var i=z(e),o=i.next();!o.done;o=i.next()){var a=o.value;this._reportError(a.message,t)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},am.prototype._checkPipes=function(e,r){var i=this;if(e&&this.pipesByName){var t=new lm;e.visit(t),t.pipes.forEach(function(e,t){var n=i.pipesByName.get(t);n?i._usedPipes.set(t,n):i._reportError("The pipe '"+t+"' could not be found",new Uo(r.start.moveBy(e.span.start),r.start.moveBy(e.span.end)))})}},am.prototype._validatePropertyOrAttributeName=function(e,t,n){var r=n?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);r.error&&this._reportError(r.msg,t,E.ParseErrorLevel.ERROR)},am);function am(e,t,n,r,i){if(this._exprParser=e,this._interpolationConfig=t,this._schemaRegistry=n,this.errors=i,this.pipesByName=null,this._usedPipes=new Map,r){var o=new Map;r.forEach(function(e){return o.set(e.name,e)}),this.pipesByName=o}}var sm,lm=(f(um,sm=bc),um.prototype.visitPipe=function(e,t){return this.pipes.set(e.name,e),e.exp.visit(this),this.visitAll(e.args,t),null},um);function um(){var e=null!==sm&&sm.apply(this,arguments)||this;return e.pipes=new Map,e}function cm(e){return"@"==e[0]}function pm(i,e,o,a){var s=[];return B.parse(e).forEach(function(e){var t=e.element?[e.element]:i.allKnownElementNames(),n=new Set(e.notSelectors.filter(function(e){return e.isElementSelector()}).map(function(e){return e.element})),r=t.filter(function(e){return!n.has(e)});s.push.apply(s,q(r.map(function(e){return i.securityContext(e,o,a)})))}),0===s.length?[M.NONE]:Array.from(new Set(s)).sort()}var dm,hm;function fm(e){var n=null,r=null,i=null,o=!1,a="";e.attrs.forEach(function(e){var t=e.name.toLowerCase();"select"==t?n=e.value:"href"==t?r=e.value:"rel"==t?i=e.value:"ngNonBindable"==e.name?o=!0:"ngProjectAs"==e.name&&0<e.value.length&&(a=e.value)}),n=function(e){return null!==e&&0!==e.length?e:"*"}(n);var t=e.name.toLowerCase(),s=dm.OTHER;return l(t)?s=dm.NG_CONTENT:"style"==t?s=dm.STYLE:"script"==t?s=dm.SCRIPT:"link"==t&&"stylesheet"==i&&(s=dm.STYLESHEET),new mm(s,n,r,o,a)}(hm=dm=dm||{})[hm.NG_CONTENT=0]="NG_CONTENT",hm[hm.STYLE=1]="STYLE",hm[hm.STYLESHEET=2]="STYLESHEET",hm[hm.SCRIPT=3]="SCRIPT",hm[hm.OTHER=4]="OTHER";var mm=function(e,t,n,r,i){this.type=e,this.selectAttr=t,this.hrefAttr=n,this.nonBindable=r,this.projectAs=i};var vm,ym=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/;function gm(){return vm=vm||B.parse("*")[0]}var _m,bm=(f(wm,_m=Go),wm);function wm(e,t,n){return _m.call(this,t,e,n)||this}var xm=function(e,t,n){this.templateAst=e,this.usedPipes=t,this.errors=n},Cm=(Object.defineProperty(Sm.prototype,"expressionParser",{get:function(){return this._exprParser},enumerable:!0,configurable:!0}),Sm.prototype.parse=function(e,t,n,r,i,o,a){var s=this.tryParse(e,t,n,r,i,o,a),l=s.errors.filter(function(e){return e.level===E.ParseErrorLevel.WARNING}),u=s.errors.filter(function(e){return e.level===E.ParseErrorLevel.ERROR});if(0<l.length&&this._console.warn("Template parse warnings:\n"+l.join("\n")),0<u.length)throw jr("Template parse errors:\n"+u.join("\n"),u);return{template:s.templateAst,pipes:s.usedPipes}},Sm.prototype.tryParse=function(e,t,n,r,i,o,a){var s="string"==typeof t?this._htmlParser.parse(t,o,{tokenizeExpansionForms:!0,interpolationConfig:this.getInterpolationConfig(e)}):t;return a||(s=Xh(s)),this.tryParseHtml(this.expandHtml(s),e,n,r,i)},Sm.prototype.tryParseHtml=function(e,t,n,r,i){var o,a=e.errors,s=[];if(0<e.rootNodes.length){var l=Lm(n),u=Lm(r),c=new Wf(this._reflector,t),p=void 0;t.template&&t.template.interpolation&&(p={start:t.template.interpolation[0],end:t.template.interpolation[1]});var d=new om(this._exprParser,p,this._schemaRegistry,u,a),h=new Em(this._reflector,this._config,c,l,d,this._schemaRegistry,i,a);o=ep(h,e.rootNodes,Nm),a.push.apply(a,q(c.errors)),s.push.apply(s,q(d.getUsedPipes()))}else o=[];return this._assertNoReferenceDuplicationOnTemplate(o,a),0<a.length||this.transforms&&this.transforms.forEach(function(e){o=Uf(e,o)}),new xm(o,s,a)},Sm.prototype.expandHtml=function(e,t){void 0===t&&(t=!1);var n=e.errors;if(0==n.length||t){var r=Jh(e.rootNodes);n.push.apply(n,q(r.errors)),e=new Rh(r.nodes,n)}return e},Sm.prototype.getInterpolationConfig=function(e){if(e.template)return Rl.fromArray(e.template.interpolation)},Sm.prototype._assertNoReferenceDuplicationOnTemplate=function(e,r){var i=[];e.filter(function(e){return!!e.references}).forEach(function(e){return e.references.forEach(function(e){var t=e.name;if(i.indexOf(t)<0)i.push(t);else{var n=new bm('Reference "#'+t+'" is defined several times',e.sourceSpan,E.ParseErrorLevel.ERROR);r.push(n)}})})},Sm);function Sm(e,t,n,r,i,o,a){this._config=e,this._reflector=t,this._exprParser=n,this._schemaRegistry=r,this._htmlParser=i,this._console=o,this.transforms=a}var Em=(Om.prototype.visitExpansion=function(e,t){return null},Om.prototype.visitExpansionCase=function(e,t){return null},Om.prototype.visitText=function(e,t){var n=t.findNgContentIndex(gm()),r=Kh(e.value),i=this._bindingParser.parseInterpolation(r,e.sourceSpan);return i?new cf(i,n,e.sourceSpan):new lf(r,n,e.sourceSpan)},Om.prototype.visitAttribute=function(e,t){return new df(e.name,e.value,e.sourceSpan)},Om.prototype.visitComment=function(e,t){return null},Om.prototype.visitElement=function(e,t){var s=this,n=this.contentQueryStartId,r=e.name,i=fm(e);if(i.type===dm.SCRIPT||i.type===dm.STYLE)return null;if(i.type===dm.STYLESHEET&&tm(i.hrefAttr))return null;var l=[],u=[],c=[],p=[],d=[],h=[],f=[],m=[],v=!1,y=[],g=V(e.name);e.attrs.forEach(function(e){var t,n,r=s._parseAttr(g,e,l,u,d,c,p);p.push.apply(p,q([].map(function(e){return wf.fromParsedVariable(e)})));var i=s._normalizeAttributeName(e.name);i.startsWith("*")&&(t=e.value,n=i.substring("*".length));var o=null!=t;if(o){v&&s._reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",e.sourceSpan),v=!0;var a=[];s._bindingParser.parseInlineTemplateBinding(n,t,e.sourceSpan,e.sourceSpan.start.offset,f,h,a),m.push.apply(m,q(a.map(function(e){return wf.fromParsedVariable(e)})))}r||o||(y.push(s.visitAttribute(e,null)),l.push([e.name,e.value]))});var o=Rm(r,l),a=this._parseDirectives(this.selectorMatcher,o),_=a.directives,b=a.matchElement,w=[],x=new Set,C=this._createDirectiveAsts(g,e.name,_,u,c,e.sourceSpan,w,x),S=this._createElementPropertyAsts(e.name,u,x),E=t.isTemplateElement||v,O=new Gf(this.providerViewContext,t.providerContext,E,C,y,w,g,n,e.sourceSpan),k=ep(i.nonBindable?jm:this,e.children,Am.create(g,C,g?t.providerContext:O));O.afterElement();var D,T=""!=i.projectAs?B.parse(i.projectAs)[0]:o,I=t.findNgContentIndex(T);if(i.type===dm.NG_CONTENT)e.children&&!e.children.every(Fm)&&this._reportError("<ng-content> element cannot have content.",e.sourceSpan),D=new Rf(this.ngContentCount++,v?null:I,e.sourceSpan);else if(g)this._assertAllEventsPublishedByDirectives(C,d),this._assertNoComponentsNorElementBindingsOnTemplate(C,S,e.sourceSpan),D=new Ef(y,d,w,p,O.transformedDirectiveAsts,O.transformProviders,O.transformedHasViewContainer,O.queryMatches,k,v?null:I,e.sourceSpan);else{this._assertElementExists(b,e),this._assertOnlyOneComponent(C,e.sourceSpan);var P=v?null:t.findNgContentIndex(T);D=new Cf(r,y,S,d,w,O.transformedDirectiveAsts,O.transformProviders,O.transformedHasViewContainer,O.queryMatches,k,v?null:P,e.sourceSpan,e.endSourceSpan||null)}if(v){var A=this.contentQueryStartId,M=Rm("ng-template",f),R=this._parseDirectives(this.selectorMatcher,M).directives,N=new Set,j=this._createDirectiveAsts(!0,r,R,h,[],e.sourceSpan,[],N),F=this._createElementPropertyAsts(r,h,N);this._assertNoComponentsNorElementBindingsOnTemplate(j,F,e.sourceSpan);var L=new Gf(this.providerViewContext,t.providerContext,t.isTemplateElement,j,[],[],!0,A,e.sourceSpan);L.afterElement(),D=new Ef([],[],[],m,L.transformedDirectiveAsts,L.transformProviders,L.transformedHasViewContainer,L.queryMatches,[D],I,e.sourceSpan)}return D},Om.prototype._parseAttr=function(e,t,n,r,i,o,a){var s=this._normalizeAttributeName(t.name),l=t.value,u=t.sourceSpan,c=t.valueSpan?t.valueSpan.start.offset:u.start.offset,p=[],d=s.match(ym),h=!1;if(null!==d)if(h=!0,null!=d[1])this._bindingParser.parsePropertyBinding(d[7],l,!1,u,c,t.valueSpan,n,r);else if(d[2])if(e){var f=d[7];this._parseVariable(f,l,u,a)}else this._reportError('"let-" is only supported on ng-template elements.',u);else d[3]?(f=d[7],this._parseReference(f,l,u,o)):d[4]?this._bindingParser.parseEvent(d[7],l,u,t.valueSpan||u,n,p):d[5]?(this._bindingParser.parsePropertyBinding(d[7],l,!1,u,c,t.valueSpan,n,r),this._parseAssignmentEvent(d[7],l,u,t.valueSpan||u,n,p)):d[6]?this._bindingParser.parseLiteralAttr(s,l,u,c,t.valueSpan,n,r):d[8]?(this._bindingParser.parsePropertyBinding(d[8],l,!1,u,c,t.valueSpan,n,r),this._parseAssignmentEvent(d[8],l,u,t.valueSpan||u,n,p)):d[9]?this._bindingParser.parsePropertyBinding(d[9],l,!1,u,c,t.valueSpan,n,r):d[10]&&this._bindingParser.parseEvent(d[10],l,u,t.valueSpan||u,n,p);else h=this._bindingParser.parsePropertyInterpolation(s,l,u,t.valueSpan,n,r);return h||this._bindingParser.parseLiteralAttr(s,l,u,c,t.valueSpan,n,r),i.push.apply(i,q(p.map(function(e){return yf.fromParsedEvent(e)}))),h},Om.prototype._normalizeAttributeName=function(e){return/^data-/i.test(e)?e.substring(5):e},Om.prototype._parseVariable=function(e,t,n,r){-1<e.indexOf("-")&&this._reportError('"-" is not allowed in variable names',n),r.push(new wf(e,t,n))},Om.prototype._parseReference=function(e,t,n,r){-1<e.indexOf("-")&&this._reportError('"-" is not allowed in reference names',n),r.push(new Tm(e,t,n))},Om.prototype._parseAssignmentEvent=function(e,t,n,r,i,o){this._bindingParser.parseEvent(e+"Change",t+"=$event",n,r,i,o)},Om.prototype._parseDirectives=function(e,t){var n=this,r=Zr(this.directivesIndex.size),i=!1;return e.match(t,function(e,t){r[n.directivesIndex.get(t)]=t,i=i||e.hasElementSelector()}),{directives:r.filter(function(e){return!!e}),matchElement:i}},Om.prototype._createDirectiveAsts=function(n,s,e,l,u,c,p,d){var h=this,f=new Set,m=null,t=e.map(function(t){var e=new Uo(c.start,c.end,"Directive "+_i(t.type));t.isComponent&&(m=t);var n=[],r=h._bindingParser.createDirectiveHostPropertyAsts(t,s,e).map(function(e){return mf.fromBoundProperty(e)});r=h._checkPropertiesInSchema(s,r);var i=h._bindingParser.createDirectiveHostEventAsts(t,e);h._createDirectivePropertyAsts(t.inputs,l,n,d),u.forEach(function(e){(0===e.value.length&&t.isComponent||e.isReferenceToDirective(t))&&(p.push(new _f(e.name,ui(t.type.reference),e.value,e.sourceSpan)),f.add(e.name))});var o=i.map(function(e){return yf.fromParsedEvent(e)}),a=h.contentQueryStartId;return h.contentQueryStartId+=t.queries.length,new Tf(t,n,r,o,a,e)});return u.forEach(function(e){if(0<e.value.length)f.has(e.name)||h._reportError('There is no directive with "exportAs" set to "'+e.value+'"',e.sourceSpan);else if(!m){var t=null;n&&(t=ci(h.reflector,si.TemplateRef)),p.push(new _f(e.name,t,e.value,e.sourceSpan))}}),t},Om.prototype._createDirectivePropertyAsts=function(r,e,i,o){if(r){var a=new Map;e.forEach(function(e){var t=a.get(e.name);t&&!t.isLiteral||a.set(e.name,e)}),Object.keys(r).forEach(function(e){var t=r[e],n=a.get(t);n&&(o.add(n.name),Vm(n.expression)||i.push(new kf(e,n.name,n.expression,n.sourceSpan)))})}},Om.prototype._createElementPropertyAsts=function(n,e,r){var i=this,o=[];return e.forEach(function(e){if(!e.isLiteral&&!r.has(e.name)){var t=i._bindingParser.createBoundElementProperty(n,e);o.push(mf.fromBoundProperty(t))}}),this._checkPropertiesInSchema(n,o)},Om.prototype._findComponentDirectives=function(e){return e.filter(function(e){return e.directive.isComponent})},Om.prototype._findComponentDirectiveNames=function(e){return this._findComponentDirectives(e).map(function(e){return _i(e.directive.type)})},Om.prototype._assertOnlyOneComponent=function(e,t){var n=this._findComponentDirectiveNames(e);1<n.length&&this._reportError("More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: "+n.join(","),t)},Om.prototype._assertElementExists=function(e,t){var n=t.name.replace(/^:xhtml:/,"");if(!e&&!this._schemaRegistry.hasElement(n,this._schemas)){var r="'"+n+"' is not a known element:\n";r+="1. If '"+n+"' is an Angular component, then verify that it is part of this module.\n",-1<n.indexOf("-")?r+="2. If '"+n+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.":r+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(r,t.sourceSpan)}},Om.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(e,t,n){var r=this,i=this._findComponentDirectiveNames(e);0<i.length&&this._reportError("Components on an embedded template: "+i.join(","),n),t.forEach(function(e){r._reportError("Property binding "+e.name+' not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations".',n)})},Om.prototype._assertAllEventsPublishedByDirectives=function(e,t){var n=this,r=new Set;e.forEach(function(n){Object.keys(n.directive.outputs).forEach(function(e){var t=n.directive.outputs[e];r.add(t)})}),t.forEach(function(e){null==e.target&&r.has(e.name)||n._reportError("Event binding "+e.fullName+' not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations".',e.sourceSpan)})},Om.prototype._checkPropertiesInSchema=function(n,e){var r=this;return e.filter(function(e){if(0===e.type&&!r._schemaRegistry.hasProperty(n,e.name,r._schemas)){var t="Can't bind to '"+e.name+"' since it isn't a known property of '"+n+"'.";n.startsWith("ng-")?t+="\n1. If '"+e.name+"' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.":-1<n.indexOf("-")&&(t+="\n1. If '"+n+"' is an Angular component and it has '"+e.name+"' input, then verify that it is part of this module.\n2. If '"+n+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component."),r._reportError(t,e.sourceSpan)}return!Vm(e.value)})},Om.prototype._reportError=function(e,t,n){void 0===n&&(n=E.ParseErrorLevel.ERROR),this._targetErrors.push(new Go(t,e,n))},Om);function Om(e,t,n,r,i,o,a,s){var l=this;this.reflector=e,this.config=t,this.providerViewContext=n,this._bindingParser=i,this._schemaRegistry=o,this._schemas=a,this._targetErrors=s,this.selectorMatcher=new T,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=n.component.viewQueries.length+1,r.forEach(function(e,t){var n=B.parse(e.selector);l.selectorMatcher.addSelectables(n,e),l.directivesIndex.set(e,t)})}var km=(Dm.prototype.visitElement=function(e,t){var n=fm(e);if(n.type===dm.SCRIPT||n.type===dm.STYLE||n.type===dm.STYLESHEET)return null;var r=e.attrs.map(function(e){return[e.name,e.value]}),i=Rm(e.name,r),o=t.findNgContentIndex(i),a=ep(this,e.children,Nm);return new Cf(e.name,ep(this,e.attrs),[],[],[],[],[],!1,[],a,o,e.sourceSpan,e.endSourceSpan)},Dm.prototype.visitComment=function(e,t){return null},Dm.prototype.visitAttribute=function(e,t){return new df(e.name,e.value,e.sourceSpan)},Dm.prototype.visitText=function(e,t){var n=t.findNgContentIndex(gm());return new lf(e.value,n,e.sourceSpan)},Dm.prototype.visitExpansion=function(e,t){return e},Dm.prototype.visitExpansionCase=function(e,t){return e},Dm);function Dm(){}var Tm=(Im.prototype.isReferenceToDirective=function(e){return-1!==function(e){return e?e.split(",").map(function(e){return e.trim()}):[]}(e.exportAs).indexOf(this.value)},Im);function Im(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}function Pm(e){return e.trim().split(/\s+/g)}var Am=(Mm.create=function(e,t,n){var r=new T,i=null,o=t.find(function(e){return e.directive.isComponent});if(o)for(var a=o.directive.template.ngContentSelectors,s=0;s<a.length;s++)"*"===a[s]?i=s:r.addSelectables(B.parse(a[s]),s);return new Mm(e,r,i,n)},Mm.prototype.findNgContentIndex=function(e){var n=[];return this._ngContentIndexMatcher.match(e,function(e,t){n.push(t)}),n.sort(),null!=this._wildcardNgContentIndex&&n.push(this._wildcardNgContentIndex),0<n.length?n[0]:null},Mm);function Mm(e,t,n,r){this.isTemplateElement=e,this._ngContentIndexMatcher=t,this._wildcardNgContentIndex=n,this.providerContext=r}function Rm(e,t){var n=new B,r=H(e)[1];n.setElement(r);for(var i=0;i<t.length;i++){var o=t[i][0],a=H(o)[1],s=t[i][1];if(n.addAttribute(a,s),"class"==o.toLowerCase())Pm(s).forEach(function(e){return n.addClassName(e)})}return n}var Nm=new Am(!0,new T,null,null),jm=new km;function Fm(e){return e instanceof zc&&0==e.value.trim().length}function Lm(e){var t=new Map;return e.forEach(function(e){t.get(e.type.reference)||t.set(e.type.reference,e)}),Array.from(t.values())}function Vm(e){return e instanceof mc&&(e=e.ast),e instanceof lu}function Bm(e){var t=e.charCodeAt(0);if(t==e.charCodeAt(e.length-1)&&(39==t||34==t)){var n=e.substring(1,e.length-1);-1==n.indexOf("'")&&-1==n.indexOf('"')&&(e=n)}return e}function Um(e){return e.replace(/[a-z][A-Z]/g,function(e){return e.charAt(0)+"-"+e.charAt(1)}).toLowerCase()}var zm,qm=(Hm.prototype.registerBoundInput=function(e){var t=null,n=e.name;switch(e.type){case 0:t=this.registerInputBasedOnName(n,e.value,e.sourceSpan);break;case 3:t=this.registerStyleInput(n,!1,e.value,e.sourceSpan,e.unit);break;case 2:t=this.registerClassInput(n,!1,e.value,e.sourceSpan)}return!!t},Hm.prototype.registerInputBasedOnName=function(e,t,n){var r=null,i=e.substring(0,6),o="style"===e||"style."===i||"style!"===i;if(o||!o&&("class"===e||"className"===e||"class."===i||"class!"===i)){var a="."!==e.charAt(5),s=e.substr(a?5:6);r=o?this.registerStyleInput(s,a,t,n):this.registerClassInput(s,a,t,n)}return r},Hm.prototype.registerStyleInput=function(e,t,n,r,i){if(Vm(n))return null;var o=Gm(e=function(e){return Um(e)}(e)),a=o.property,s=o.hasOverrideFlag,l=o.unit,u={name:a,unit:i||l,value:n,sourceSpan:r,hasOverrideFlag:s};return t?(this._useDefaultSanitizer=!0,this._styleMapInput=u):((this._singleStyleInputs=this._singleStyleInputs||[]).push(u),this._useDefaultSanitizer=this._useDefaultSanitizer||function(e){return"background-image"===e||"backgroundImage"===e||"background"===e||"border-image"===e||"borderImage"===e||"filter"===e||"list-style"===e||"listStyle"===e||"list-style-image"===e||"listStyleImage"===e||"clip-path"===e||"clipPath"===e}(e),Wm(this._stylesIndex,a)),this._lastStylingInput=u,this._firstStylingInput=this._firstStylingInput||u,this._checkForPipes(n),this.hasBindings=!0,u},Hm.prototype.registerClassInput=function(e,t,n,r){if(Vm(n))return null;var i=Gm(e),o=i.property,a={name:o,value:n,sourceSpan:r,hasOverrideFlag:i.hasOverrideFlag,unit:null};if(t){if(this._classMapInput)throw new Error("[class] and [className] bindings cannot be used on the same element simultaneously");this._classMapInput=a}else(this._singleClassInputs=this._singleClassInputs||[]).push(a),Wm(this._classesIndex,o);return this._lastStylingInput=a,this._firstStylingInput=this._firstStylingInput||a,this._checkForPipes(n),this.hasBindings=!0,a},Hm.prototype._checkForPipes=function(e){e instanceof mc&&e.ast instanceof Nu&&(this.hasBindingsWithPipes=!0)},Hm.prototype.registerStyleAttr=function(e){this._initialStyleValues=function(e){for(var t=[],n=0,r=0,i=0,o=0,a=0,s=null,l=!1;n<e.length;)switch(e.charCodeAt(n++)){case 40:r++;break;case 41:r--;break;case 39:l=l||0<o,0===i?i=39:39===i&&92!==e.charCodeAt(n-1)&&(i=0);break;case 34:l=l||0<o,0===i?i=34:34===i&&92!==e.charCodeAt(n-1)&&(i=0);break;case 58:s||0!==r||0!==i||(s=Um(e.substring(a,n-1).trim()),o=n);break;case 59:if(s&&0<o&&0===r&&0===i){var u=e.substring(o,n-1).trim();t.push(s,l?Bm(u):u),a=n,o=0,s=null,l=!1}}return s&&o&&(u=e.substr(o).trim(),t.push(s,l?Bm(u):u)),t}(e),this._hasInitialValues=!0},Hm.prototype.registerClassAttr=function(e){this._initialClassValues=e.trim().split(/\s+/g),this._hasInitialValues=!0},Hm.prototype.populateInitialStylingAttrs=function(e){if(this._initialClassValues.length){e.push(xr(1));for(var t=0;t<this._initialClassValues.length;t++)e.push(xr(this._initialClassValues[t]))}if(this._initialStyleValues.length)for(e.push(xr(2)),t=0;t<this._initialStyleValues.length;t+=2)e.push(xr(this._initialStyleValues[t]),xr(this._initialStyleValues[t+1]))},Hm.prototype.buildHostAttrsInstruction=function(e,t,n){var r=this;return this._directiveExpr&&(t.length||this._hasInitialValues)?{sourceSpan:e,reference:Ki.elementHostAttrs,allocateBindingSlots:0,params:function(){return r.populateInitialStylingAttrs(t),[t.some(function(e){return e instanceof We})?gr(t):function(e,t){return t.length?e.getConstLiteral(gr(t),!0):sn}(n,t)]}}:null},Hm.prototype.buildClassMapInstruction=function(e){return this._classMapInput?this._buildMapBasedInstruction(e,!0,this._classMapInput):null},Hm.prototype.buildStyleMapInstruction=function(e){return this._styleMapInput?this._buildMapBasedInstruction(e,!1,this._styleMapInput):null},Hm.prototype._buildMapBasedInstruction=function(e,t,n){var r,i=1,o=n.value.visit(e);return r=o instanceof Yu&&t?(i+=o.expressions.length,function(e){switch(Cl(e)){case 1:return Ki.classMap;case 3:return Ki.classMapInterpolate1;case 5:return Ki.classMapInterpolate2;case 7:return Ki.classMapInterpolate3;case 9:return Ki.classMapInterpolate4;case 11:return Ki.classMapInterpolate5;case 13:return Ki.classMapInterpolate6;case 15:return Ki.classMapInterpolate7;case 17:return Ki.classMapInterpolate8;default:return Ki.classMapInterpolateV}}(o)):t?Ki.classMap:Ki.styleMap,{sourceSpan:n.sourceSpan,reference:r,allocateBindingSlots:i,supportsInterpolation:t,params:function(e){var t=e(o);return Array.isArray(t)?t:[t]}}},Hm.prototype._buildSingleInputs=function(t,e,n,o,a,s){return e.map(function(r){var i=r.value.visit(a),e=1;return i instanceof Yu&&(e+=i.expressions.length,s&&(t=s(i))),{sourceSpan:r.sourceSpan,supportsInterpolation:!!s,allocateBindingSlots:e,reference:t,params:function(e){var t=[];t.push(xr(r.name));var n=e(i);return Array.isArray(n)?t.push.apply(t,q(n)):t.push(n),o&&r.unit&&t.push(xr(r.unit)),t}}})},Hm.prototype._buildClassInputs=function(e){return this._singleClassInputs?this._buildSingleInputs(Ki.classProp,this._singleClassInputs,this._classesIndex,!1,e):[]},Hm.prototype._buildStyleInputs=function(e){return this._singleStyleInputs?this._buildSingleInputs(Ki.styleProp,this._singleStyleInputs,this._stylesIndex,!0,e,Ym):[]},Hm.prototype._buildSanitizerFn=function(){return{sourceSpan:this._firstStylingInput?this._firstStylingInput.sourceSpan:null,reference:Ki.styleSanitizer,allocateBindingSlots:0,params:function(){return[mr(Ki.defaultStyleSanitizer)]}}},Hm.prototype.buildUpdateLevelInstructions=function(e){var t=[];if(this.hasBindings){this._useDefaultSanitizer&&t.push(this._buildSanitizerFn());var n=this.buildStyleMapInstruction(e);n&&t.push(n);var r=this.buildClassMapInstruction(e);r&&t.push(r),t.push.apply(t,q(this._buildStyleInputs(e))),t.push.apply(t,q(this._buildClassInputs(e)))}return t},Hm);function Hm(e,t){this._elementIndexExpr=e,this._directiveExpr=t,this._hasInitialValues=!1,this.hasBindings=!1,this.hasBindingsWithPipes=!1,this._classMapInput=null,this._styleMapInput=null,this._singleStyleInputs=null,this._singleClassInputs=null,this._lastStylingInput=null,this._firstStylingInput=null,this._stylesIndex=new Map,this._classesIndex=new Map,this._initialStyleValues=[],this._initialClassValues=[],this._useDefaultSanitizer=!1}function Wm(e,t){e.has(t)||e.set(t,e.size)}function Gm(e){var t=!1,n=e.indexOf("!important");-1!==n&&(e=0<n?e.substring(0,n):"",t=!0);var r="",i=e,o=e.lastIndexOf(".");return 0<o&&(r=e.substr(o+1),i=e.substring(0,o)),{property:i,unit:r,hasOverrideFlag:t}}function Ym(e){switch(Cl(e)){case 1:return Ki.styleProp;case 3:return Ki.stylePropInterpolate1;case 5:return Ki.stylePropInterpolate2;case 7:return Ki.stylePropInterpolate3;case 9:return Ki.stylePropInterpolate4;case 11:return Ki.stylePropInterpolate5;case 13:return Ki.stylePropInterpolate6;case 15:return Ki.stylePropInterpolate7;case 17:return Ki.stylePropInterpolate8;default:return Ki.stylePropInterpolateV}}function Km(){return zm||(zm={},Zm(M.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Zm(M.STYLE,["*|style"]),Zm(M.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),Zm(M.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),zm}function Zm(e,t){var n,r;try{for(var i=z(t),o=i.next();!o.done;o=i.next()){var a=o.value;zm[a.toLowerCase()]=e}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function Qm(){}var Xm,$m=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Jm={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ev=(f(tv,Xm=Qm),tv.prototype.hasProperty=function(e,t,n){if(n.some(function(e){return e.name===J.name}))return!0;if(-1<e.indexOf("-")){if(W(e)||l(e))return!1;if(n.some(function(e){return e.name===$.name}))return!0}return!!(this._schema[e.toLowerCase()]||this._schema.unknown)[t]},tv.prototype.hasElement=function(e,t){if(t.some(function(e){return e.name===J.name}))return!0;if(-1<e.indexOf("-")){if(W(e)||l(e))return!0;if(t.some(function(e){return e.name===$.name}))return!0}return!!this._schema[e.toLowerCase()]},tv.prototype.securityContext=function(e,t,n){n&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();var r=Km()[e+"|"+t];return(r=r||Km()["*|"+t])||M.NONE},tv.prototype.getMappedPropName=function(e){return Jm[e]||e},tv.prototype.getDefaultComponentElementName=function(){return"ng-component"},tv.prototype.validateProperty=function(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:"Binding to event property '"+e+"' is disallowed for security reasons, please use ("+e.slice(2)+")=...\nIf '"+e+"' is a directive input, make sure the directive is imported by the current module."}:{error:!1}},tv.prototype.validateAttribute=function(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:"Binding to event attribute '"+e+"' is disallowed for security reasons, please use ("+e.slice(2)+")=..."}:{error:!1}},tv.prototype.allKnownElementNames=function(){return Object.keys(this._schema)},tv.prototype.normalizeAnimationStyleProperty=function(e){return function(e){return e.replace(Sr,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[1].toUpperCase()})}(e)},tv.prototype.normalizeAnimationStyleValue=function(e,t,n){var r="",i=n.toString().trim(),o=null;if(function(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return 1;default:return 0}}(e)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&(o="Please provide a CSS unit value for "+t+":"+n)}return{error:o,value:i+r}},tv);function tv(){var u=Xm.call(this)||this;return u._schema={},$m.forEach(function(e){var t={},n=U(e.split("|"),2),r=n[0],i=n[1].split(","),o=U(r.split("^"),2),a=o[0],s=o[1];a.split(",").forEach(function(e){return u._schema[e.toLowerCase()]=t});var l=s&&u._schema[s.toLowerCase()];l&&Object.keys(l).forEach(function(e){t[e]=l[e]}),i.forEach(function(e){if(0<e.length)switch(e[0]){case"*":break;case"!":t[e.substring(1)]="boolean";break;case"#":t[e.substring(1)]="number";break;case"%":t[e.substring(1)]="object";break;default:t[e]="string"}})}),u}var nv=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/;function rv(e,t){var n=new iv(t),r=ep(n,e),i=t.errors.concat(n.errors),o=i.filter(function(e){return e.level===E.ParseErrorLevel.ERROR});if(0<o.length)throw jr("Template parse errors:\n"+o.join("\n"),o);return{nodes:r,errors:i,styleUrls:n.styleUrls,styles:n.styles}}var iv=(ov.prototype.visitElement=function(e){var t,n,r=this,i=fm(e);if(i.type===dm.SCRIPT)return null;if(i.type===dm.STYLE){var o=function(e){return 1===e.children.length&&e.children[0]instanceof zc?e.children[0].value:null}(e);return null!==o&&this.styles.push(o),null}if(i.type===dm.STYLESHEET&&tm(i.hrefAttr))return this.styleUrls.push(i.hrefAttr),null;var a=V(e.name),s=[],l=[],u=[],c=[],p=[],d={},h=[],f=[],m=!1;try{for(var v=z(e.attrs),y=v.next();!y.done;y=v.next()){var g=y.value,_=!1,b=cv(g.name),w=!1;if(g.i18n&&(d[g.name]=g.i18n),b.startsWith("*")){m&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",g.sourceSpan),m=w=!0;var x=g.value,C=b.substring("*".length),S=[],E=g.valueSpan?g.valueSpan.start.offset:g.sourceSpan.start.offset;this.bindingParser.parseInlineTemplateBinding(C,x,g.sourceSpan,E,[],h,S),f.push.apply(f,q(S.map(function(e){return new da(e.name,e.value,e.sourceSpan)})))}else _=this.parseAttribute(a,g,[],s,l,u,c);_||w||p.push(this.visitAttribute(g))}}catch(e){t={error:e}}finally{try{y&&!y.done&&(n=v.return)&&n.call(v)}finally{if(t)throw t.error}}var O,k=ep(i.nonBindable?uv:this,e.children);if(i.type===dm.NG_CONTENT){e.children&&!e.children.every(function(e){return function(e){return e instanceof zc&&0==e.value.trim().length}(e)||function(e){return e instanceof $c}(e)})&&this.reportError("<ng-content> element cannot have content.",e.sourceSpan);var D=i.selectAttr,T=e.attrs.map(function(e){return r.visitAttribute(e)});O=new ca(D,T,e.sourceSpan,e.i18n)}else O=a?(T=this.extractAttributes(e.name,s,d),new la(e.name,p,T.bound,l,[],k,c,u,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)):(T=this.extractAttributes(e.name,s,d),new aa(e.name,p,T.bound,l,k,c,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n));if(m){T=this.extractAttributes("ng-template",h,d);var I=[];T.literal.forEach(function(e){return I.push(e)}),T.bound.forEach(function(e){return I.push(e)});var P=O instanceof aa?{attributes:O.attributes,inputs:O.inputs,outputs:O.outputs}:{attributes:[],inputs:[],outputs:[]},A=a&&Qs(e.i18n)?void 0:e.i18n;O=new la(O.name,P.attributes,P.inputs,P.outputs,I,[O],[],f,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,A)}return O},ov.prototype.visitAttribute=function(e){return new ea(e.name,e.value,e.sourceSpan,e.valueSpan,e.i18n)},ov.prototype.visitText=function(e){return this._visitTextWithInterpolation(e.value,e.sourceSpan,e.i18n)},ov.prototype.visitExpansion=function(i){var o=this,a=i.i18n;if(!a)return null;var s={},l={};return Object.keys(a.placeholders).forEach(function(e){var t=a.placeholders[e];if(e.startsWith("VAR_")){var n=o.bindingParser.interpolationConfig,r=""+n.start+t+n.end;s[e]=o._visitTextWithInterpolation(r,i.sourceSpan)}else l[e]=o._visitTextWithInterpolation(t,i.sourceSpan)}),new va(s,l,i.sourceSpan,a)},ov.prototype.visitExpansionCase=function(e){return null},ov.prototype.visitComment=function(e){return null},ov.prototype.extractAttributes=function(r,e,i){var o=this,a=[],s=[];return e.forEach(function(e){var t=i[e.name];if(e.isLiteral)s.push(new ea(e.name,e.expression.source||"",e.sourceSpan,void 0,t));else{var n=o.bindingParser.createBoundElementProperty(r,e,!0,!1);a.push(na.fromBoundElementProperty(n,t))}}),{bound:a,literal:s}},ov.prototype.parseAttribute=function(e,t,n,r,i,o,a){var s=cv(t.name),l=t.value,u=t.sourceSpan,c=t.valueSpan?t.valueSpan.start.offset:u.start.offset,p=s.match(nv),d=!1;if(p)if(d=!0,null!=p[1])this.bindingParser.parsePropertyBinding(p[7],l,!1,u,c,t.valueSpan,n,r);else if(p[2])if(e){var h=p[7];this.parseVariable(h,l,u,t.valueSpan,o)}else this.reportError('"let-" is only supported on ng-template elements.',u);else if(p[3])h=p[7],this.parseReference(h,l,u,t.valueSpan,a);else if(p[4]){var f=[];this.bindingParser.parseEvent(p[7],l,u,t.valueSpan||u,n,f),pv(f,i)}else p[5]?(this.bindingParser.parsePropertyBinding(p[7],l,!1,u,c,t.valueSpan,n,r),this.parseAssignmentEvent(p[7],l,u,t.valueSpan,n,i)):p[6]?this.bindingParser.parseLiteralAttr(s,l,u,c,t.valueSpan,n,r):p[8]?(this.bindingParser.parsePropertyBinding(p[8],l,!1,u,c,t.valueSpan,n,r),this.parseAssignmentEvent(p[8],l,u,t.valueSpan,n,i)):p[9]?this.bindingParser.parsePropertyBinding(p[9],l,!1,u,c,t.valueSpan,n,r):p[10]&&(f=[],this.bindingParser.parseEvent(p[10],l,u,t.valueSpan||u,n,f),pv(f,i));else d=this.bindingParser.parsePropertyInterpolation(s,l,u,t.valueSpan,n,r);return d},ov.prototype._visitTextWithInterpolation=function(e,t,n){var r=Kh(e),i=this.bindingParser.parseInterpolation(r,t);return i?new $o(i,t,n):new Qo(r,t)},ov.prototype.parseVariable=function(e,t,n,r,i){-1<e.indexOf("-")&&this.reportError('"-" is not allowed in variable names',n),i.push(new da(e,t,n,r))},ov.prototype.parseReference=function(e,t,n,r,i){-1<e.indexOf("-")&&this.reportError('"-" is not allowed in reference names',n),i.push(new fa(e,t,n,r))},ov.prototype.parseAssignmentEvent=function(e,t,n,r,i,o){var a=[];this.bindingParser.parseEvent(e+"Change",t+"=$event",n,r||n,i,a),pv(a,o)},ov.prototype.reportError=function(e,t,n){void 0===n&&(n=E.ParseErrorLevel.ERROR),this.errors.push(new Go(t,e,n))},ov);function ov(e){this.bindingParser=e,this.errors=[],this.styles=[],this.styleUrls=[]}function av(){}var sv,lv,uv=new(av.prototype.visitElement=function(e){var t=fm(e);if(t.type===dm.SCRIPT||t.type===dm.STYLE||t.type===dm.STYLESHEET)return null;var n=ep(this,e.children,null);return new aa(e.name,ep(this,e.attrs),[],[],n,[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan)},av.prototype.visitComment=function(e){return null},av.prototype.visitAttribute=function(e){return new ea(e.name,e.value,e.sourceSpan,void 0,e.i18n)},av.prototype.visitText=function(e){return new Qo(e.value,e.sourceSpan)},av.prototype.visitExpansion=function(e){return null},av.prototype.visitExpansionCase=function(e){return null},av);function cv(e){return/^data-/i.test(e)?e.substring(5):e}function pv(e,t){t.push.apply(t,q(e.map(function(e){return ia.fromParsedEvent(e)})))}function dv(){return{getUniqueId:function(e){void 0===e&&(e=0);var t=e;return function(){return t++}}(),icus:new Map}}(lv=sv=sv||{})[lv.ELEMENT=0]="ELEMENT",lv[lv.TEMPLATE=1]="TEMPLATE",lv[lv.PROJECTION=2]="PROJECTION";var hv=(fv.prototype.appendTag=function(e,t,n,r){if(!t.isVoid||!r){var i=t.isVoid||!r?t.startName:t.closeName,o={type:e,index:n,ctx:this.id,isVoid:t.isVoid,closed:r};tl(this.placeholders,i,o)}},Object.defineProperty(fv.prototype,"icus",{get:function(){return this._registry.icus},enumerable:!0,configurable:!0}),Object.defineProperty(fv.prototype,"isRoot",{get:function(){return 0===this.level},enumerable:!0,configurable:!0}),Object.defineProperty(fv.prototype,"isResolved",{get:function(){return 0===this._unresolvedCtxCount},enumerable:!0,configurable:!0}),fv.prototype.getSerializedPlaceholders=function(){var n=new Map;return this.placeholders.forEach(function(e,t){return n.set(t,e.map(gv))}),n},fv.prototype.appendBinding=function(e){this.bindings.add(e)},fv.prototype.appendIcu=function(e,t){tl(this._registry.icus,e,t)},fv.prototype.appendBoundText=function(e){var n=this;nl(e,this.bindings.size,this.id).forEach(function(e,t){return tl.apply(void 0,q([n.placeholders,t],e))})},fv.prototype.appendTemplate=function(e,t){this.appendTag(sv.TEMPLATE,e,t,!1),this.appendTag(sv.TEMPLATE,e,t,!0),this._unresolvedCtxCount++},fv.prototype.appendElement=function(e,t,n){this.appendTag(sv.ELEMENT,e,t,n)},fv.prototype.appendProjection=function(e,t){this.appendTag(sv.PROJECTION,e,t,!1),this.appendTag(sv.PROJECTION,e,t,!0)},fv.prototype.forkChildContext=function(e,t,n){return new fv(e,this.ref,this.level+1,t,n,this._registry)},fv.prototype.reconcileChildContext=function(o){var a=this;["start","close"].forEach(function(e){var t=o.meta[e+"Name"],n=(a.placeholders.get(t)||[]).find(yv(a.id,o.templateIndex));n&&(n.ctx=o.id)}),o.placeholders.forEach(function(e,t){var n=a.placeholders.get(t);if(n){var r=n.findIndex(yv(o.id,o.templateIndex));if(0<=r){var i=t.startsWith("CLOSE");t.endsWith("NG-TEMPLATE")?n.splice.apply(n,q([r+(i?0:1),0],e)):(e[i?e.length-1:0].tmpl=n[r],n.splice.apply(n,q([r,1],e)))}else n.push.apply(n,q(e));a.placeholders.set(t,n)}else a.placeholders.set(t,e)}),this._unresolvedCtxCount--},fv);function fv(e,t,n,r,i,o){void 0===n&&(n=0),void 0===r&&(r=null),this.index=e,this.ref=t,this.level=n,this.templateIndex=r,this.meta=i,this.registry=o,this.bindings=new Set,this.placeholders=new Map,this.isEmitted=!1,this._unresolvedCtxCount=0,this._registry=o||dv(),this.id=this._registry.getUniqueId()}function mv(e,t,n,r){return Js((r?"/":"")+e+t,n)}function vv(e,t,n){var r=t.index,i=t.ctx;return t.isVoid?mv(e,r,i)+mv(e,r,i,!0):mv(e,r,i,n)}function yv(t,n){return function(e){return"object"==typeof e&&e.type===sv.TEMPLATE&&e.index===n&&e.ctx===t}}function gv(e){function t(e,t){return vv("#",e,t)}function n(e,t){return vv("*",e,t)}var r,i;switch(e.type){case sv.ELEMENT:return e.closed?t(e,!0)+(e.tmpl?n(e.tmpl,!0):""):e.tmpl?n(e.tmpl)+t(e)+(e.isVoid?n(e.tmpl,!0):""):t(e);case sv.TEMPLATE:return n(e,e.closed);case sv.PROJECTION:return i=(r=e).closed,vv("!",r,i);default:return e}}function _v(){}var bv=new(_v.prototype.visitText=function(e){return e.value},_v.prototype.visitContainer=function(e){var t=this;return e.children.map(function(e){return e.visit(t)}).join("")},_v.prototype.visitIcu=function(t){var n=this,e=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+t.expressionPlaceholder+", "+t.type+", "+e.join(" ")+"}"},_v.prototype.visitTagPlaceholder=function(e){var t=this;return e.isVoid?this.formatPh(e.startName):""+this.formatPh(e.startName)+e.children.map(function(e){return e.visit(t)}).join("")+this.formatPh(e.closeName)},_v.prototype.visitPlaceholder=function(e){return this.formatPh(e.name)},_v.prototype.visitIcuPlaceholder=function(e,t){return this.formatPh(e.name)},_v.prototype.formatPh=function(e){return"{"+il(e,!1)+"}"},_v);function wv(e){return e.visit(bv)}var xv="goog.getMsg";function Cv(e,t,n,r){var i=[xr(function(e){return e.nodes.map(function(e){return e.visit(Ev,null)}).join("")}(t))];Object.keys(r).length&&i.push(Gp(r,!0));var o=[],a=function(e){var t=[];return e.description&&t.push({tagName:"desc",text:e.description}),e.meaning&&t.push({tagName:"meaning",text:e.meaning}),0==t.length?null:new Hn(t)}(fp(t));return null!==a&&o.push(a),o.push(n.set(fr(xv).callFn(i)).toConstDecl()),o.push(new gn(e.set(n))),o}function Sv(){}var Ev=new(Sv.prototype.formatPh=function(e){return"{$"+il(e)+"}"},Sv.prototype.visitText=function(e){return e.value},Sv.prototype.visitContainer=function(e){var t=this;return e.children.map(function(e){return e.visit(t)}).join("")},Sv.prototype.visitIcu=function(e){return wv(e)},Sv.prototype.visitTagPlaceholder=function(e){var t=this;return e.isVoid?this.formatPh(e.startName):""+this.formatPh(e.startName)+e.children.map(function(e){return e.visit(t)}).join("")+this.formatPh(e.closeName)},Sv.prototype.visitPlaceholder=function(e){return this.formatPh(e.name)},Sv.prototype.visitIcuPlaceholder=function(e,t){return this.formatPh(e.name)},Sv);function Ov(e,t,n){var r=[],i=function(e){var t=[];return e.nodes.forEach(function(e){return e.visit(Nv,t)}),function(e){var t=[],n=[];e[0]instanceof Av&&t.push("");for(var r=0;r<e.length;r++){var i=e[r];i instanceof Tv?t.push(i.text):(n.push(i.text),e[r-1]instanceof Av&&t.push(""))}e[e.length-1]instanceof Av&&t.push("");return{messageParts:t,placeHolders:n}}(t)}(t),o=i.messageParts,a=i.placeHolders;return r.push(new gn(e.set(function(e,t,n,r,i){return new vt(e,t,n,r,i)}(fp(t),o,a,a.map(function(e){return n[e]}))))),r}function kv(e){this.text=e}var Dv,Tv=(f(Iv,Dv=kv),Iv);function Iv(){return null!==Dv&&Dv.apply(this,arguments)||this}var Pv,Av=(f(Mv,Pv=kv),Mv);function Mv(e){return Pv.call(this,il(e,!1))||this}function Rv(){}var Nv=new(Rv.prototype.visitText=function(e,t){t[t.length-1]instanceof Tv?t[t.length-1].text+=e.value:t.push(new Tv(e.value))},Rv.prototype.visitContainer=function(e,t){var n=this;e.children.forEach(function(e){return e.visit(n,t)})},Rv.prototype.visitIcu=function(e,t){t.push(new Tv(wv(e)))},Rv.prototype.visitTagPlaceholder=function(e,t){var n=this;t.push(new Av(e.startName)),e.isVoid||(e.children.forEach(function(e){return e.visit(n,t)}),t.push(new Av(e.closeName)))},Rv.prototype.visitPlaceholder=function(e,t){t.push(new Av(e.name))},Rv.prototype.visitIcuPlaceholder=function(e,t){t.push(new Av(e.name))},Rv);var jv="ngProjectAs",Fv=new Map([["window",Ki.resolveWindow],["document",Ki.resolveDocument],["body",Ki.resolveBody]]),Lv=[" ","\n","\r","\t"];function Vv(e,t){return wr(fr(ul).bitwiseAnd(xr(e),null,!1),t)}function Bv(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=e.type,i=e.name,o=e.target,a=e.phase,s=e.handler;if(o&&!Fv.has(o))throw new Error("Unexpected global target '"+o+"' defined for '"+i+"' event.\n        Supported list of global targets: "+Array.from(Fv.keys())+".");var l=null===n||0===n.bindingLevel?fr(ll):n.getOrCreateSharedContextVar(0),u=nd(n,l,s,"b",function(){return Nr("Unexpected interpolation")},e.handlerSpan),c=[];n&&(c.push.apply(c,q(n.restoreViewStatement())),c.push.apply(c,q(n.variableDeclarations()))),c.push.apply(c,q(u.render3Stmts));var p=1===r?function(e,t){return""+Ji+e+"."+t}(i,a):i,d=t&&vi(t),h=br([new Rt("$event",ke)],c,De,null,d),f=[xr(p),h];return o&&f.push(xr(!1),mr(Fv.get(o))),f}var Uv=(zv.prototype.buildTemplateFunction=function(e,t,n,r){var i=this;void 0===n&&(n=0),this._ngContentSelectorsOffset=n,this._namespace!==Ki.namespaceHTML&&this.creationInstruction(null,this._namespace),t.forEach(function(e){return i.registerContextVariables(e)});var o=this.i18nContext||Qs(r)&&!Xs(r)&&!(function(e){return 1===e.length&&e[0]instanceof aa}(e)&&e[0].i18n===r),a=ay(e);if(o&&this.i18nStart(null,r,a),xa(this,e),this._pureFunctionSlots+=this._bindingSlots,this._valueConverter.updatePipeSlotOffsets(this._bindingSlots),this._nestedTemplateFns.forEach(function(e){return e()}),0===this.level&&this._ngContentReservedSlots.length){var s=[];if(1<this._ngContentReservedSlots.length||"*"!==this._ngContentReservedSlots[0]){var l=this._ngContentReservedSlots.map(function(e){return"*"!==e?se(e):e});s.push(this.constantPool.getConstLiteral(hl(l),!0))}this.creationInstruction(null,Ki.projectionDef,s,!0)}o&&this.i18nEnd(null,a);var u=this._creationCodeFns.map(function(e){return e()}),c=this._updateCodeFns.map(function(e){return e()}),p=this._bindingScope.viewSnapshotStatements(),d=this._bindingScope.variableDeclarations().concat(this._tempVariables),h=0<u.length?[Vv(1,p.concat(u))]:[],f=0<c.length?[Vv(2,d.concat(c))]:[];return br([new Rt(ul,Ie),new Rt(ll,null)],q(this._prefixCode,h,f),De,null,this.templateName)},zv.prototype.getLocal=function(e){return this._bindingScope.get(e)},zv.prototype.notifyImplicitReceiverUse=function(){this._bindingScope.notifyImplicitReceiverUse()},zv.prototype.i18nTranslate=function(e,t,n,r){var i;void 0===t&&(t={});var o=n||fr(this.constantPool.uniqueName("I18N_")),a=function(e,t,n,r,i){void 0===r&&(r={});var o=[function(e){return new dn(e.name,void 0,De,null,e.sourceSpan)}(t),wr(fr(sy),Cv(t,e,n,rl(r,!0)),Ov(t,e,rl(r,!1)))];return i&&o.push(new gn(t.set(i(t)))),o}(e,o,this.i18nGenerateClosureVar(e.id),t,r);return(i=this.constantPool.statements).push.apply(i,q(a)),o},zv.prototype.registerContextVariables=function(i){var e=this._bindingScope.freshReferenceName(),o=this.level,a=fr(i.name+e);this._bindingScope.set(o,i.name,a,1,function(e,t){var n;if(e.bindingLevel===o)n=fr(ll);else{var r=e.getSharedContextName(o);n=r||Zv(t)}return[a.set(n.prop(i.value||"$implicit")).toConstDecl()]})},zv.prototype.i18nAppendBindings=function(e){var t=this;0<e.length&&e.forEach(function(e){return t.i18n.appendBinding(e)})},zv.prototype.i18nBindProps=function(l){var u=this,c={};return Object.keys(l).forEach(function(e){var t=l[e];if(t instanceof Qo)c[e]=xr(t.value);else{var n=t.value.visit(u._valueConverter);if(u.allocateBindingSlots(n),n instanceof Yu){var r=n.strings,i=n.expressions,o=u.i18n,a=o.id,s=function(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=0),!e.length)return"";for(var r="",i=e.length-1,o=0;o<i;o++)r+=""+e[o]+Js(t+o,n);return r+=e[i]}(r,o.bindings.size,a);u.i18nAppendBindings(i),c[e]=xr(s)}}}),c},zv.prototype.i18nGenerateClosureVar=function(e){var t,n=this.fileBasedI18nSuffix.toUpperCase();if(this.i18nUseExternalIds){var r=ol("EXTERNAL_"),i=this.constantPool.uniqueName(n);t=""+r+vi(e)+"$$"+i}else r=ol(n),t=this.constantPool.uniqueName(r);return fr(t)},zv.prototype.i18nUpdateRef=function(e){var t=e.icus,n=e.meta,r=e.isRoot,i=e.isResolved,o=e.isEmitted;if(r&&i&&!o&&!Xs(n)){e.isEmitted=!0;var a=e.getSerializedPlaceholders(),s={},l=a.size?el(a):{};t.size&&t.forEach(function(e,t){if(1===e.length)l[t]=e[0];else{var n=Js("I18N_EXP_"+t);l[t]=xr(n),s[t]=gr(e)}});var u=void 0;(Array.from(a.values()).some(function(e){return 1<e.length})||Object.keys(s).length)&&(u=function(e){var t=[e];return Object.keys(s).length&&t.push(Gp(s,!0)),Kv(null,Ki.i18nPostprocess,t)}),this.i18nTranslate(n,l,e.ref,u)}},zv.prototype.i18nStart=function(e,t,n){void 0===e&&(e=null);var r=this.allocateDataSlot();if(this.i18nContext)this.i18n=this.i18nContext.forkChildContext(r,this.templateIndex,t);else{var i=fr(this.constantPool.uniqueName("I18N_"));this.i18n=new hv(r,i,0,this.templateIndex,t)}var o=this.i18n,a=o.id,s=o.ref,l=[xr(r),s];0<a&&l.push(xr(a)),this.creationInstruction(e,n?Ki.i18n:Ki.i18nStart,l)},zv.prototype.i18nEnd=function(t,e){var n=this;if(void 0===t&&(t=null),!this.i18n)throw new Error("i18nEnd is executed with no i18n context present");this.i18nContext?(this.i18nContext.reconcileChildContext(this.i18n),this.i18nUpdateRef(this.i18nContext)):this.i18nUpdateRef(this.i18n);var r=this.i18n,i=r.index,o=r.bindings;if(o.size){var a=[];o.forEach(function(e){a.push({sourceSpan:t,value:function(){return n.convertPropertyBinding(e)}})}),this.updateInstructionChain(Ki.i18nExp,a),this.updateInstruction(t,Ki.i18nApply,[xr(i)])}e||this.creationInstruction(t,Ki.i18nEnd),this.i18n=null},zv.prototype.getNamespaceInstruction=function(e){switch(e){case"math":return Ki.namespaceMathML;case"svg":return Ki.namespaceSVG;default:return Ki.namespaceHTML}},zv.prototype.addNamespaceInstruction=function(e,t){this._namespace=e,this.creationInstruction(t.sourceSpan,e)},zv.prototype.interpolatedUpdateInstruction=function(e,t,n,r,i,o){var a=this;this.updateInstructionWithAdvance(t,r.sourceSpan,e,function(){return q([xr(n)],a.getUpdateInstructionArguments(i),o)})},zv.prototype.visitContent=function(e){var r,t=this.allocateDataSlot(),n=this._ngContentSelectorsOffset+this._ngContentReservedSlots.length,i=[xr(t)],o=[];this._ngContentReservedSlots.push(e.selector),e.attributes.forEach(function(e){var t=e.name,n=e.value;t===jv&&(r=e),"select"!==t.toLowerCase()&&o.push(xr(t),xr(n))}),r&&o.push.apply(o,q(ty(r))),0<o.length?i.push(xr(n),gr(o)):0!==n&&i.push(xr(n)),this.creationInstruction(e.sourceSpan,Ki.projection,i),this.i18n&&this.i18n.appendProjection(e.i18n,t)},zv.prototype.visitElement=function(i){var t,e,h=this,f=this.allocateDataSlot(),n=new qm(xr(f),null),r=!1,o=Qs(i.i18n)&&!Xs(i.i18n);if(o&&this.i18n)throw new Error("Could not mark an element as translatable inside of a translatable section");var a,s=[],l=[],u=U(H(i.name),2),c=u[0],p=u[1],d=W(i.name);try{for(var m=z(i.attributes),v=m.next();!v.done;v=m.next()){var y=v.value,g=y.name,_=y.value;"ngNonBindable"===g?r=!0:"style"===g?n.registerStyleAttr(_):"class"===g?n.registerClassAttr(_):(y.name===jv&&(a=y),y.i18n?s.push(y):l.push(y))}}catch(e){t={error:e}}finally{try{v&&!v.done&&(e=m.return)&&e.call(m)}finally{if(t)throw t.error}}this.matchDirectives(i.name,i);var b=[xr(f)];d||b.push(xr(p));var w=[],x=[];i.inputs.forEach(function(e){n.registerBoundInput(e)||(0===e.type&&e.i18n?s.push(e):x.push(e))}),l.forEach(function(e){w.push.apply(w,q(Xv(e.name),[xr(e.value)]))}),w.push.apply(w,q(this.prepareNonRenderAttrs(x,i.outputs,n,[],s,a))),b.push(this.addConstants(w)),b.push(this.prepareRefsParameter(i.references));var C=this._namespace,S=this.getNamespaceInstruction(c);S!==C&&this.addNamespaceInstruction(S,i),this.i18n&&this.i18n.appendElement(i.i18n,f);var E=!o&&this.i18n?!ay(i.children):0<i.children.length,O=!n.hasBindingsWithPipes&&0===i.outputs.length&&0===s.length&&!E,k=!O&&ay(i.children);if(O)this.creationInstruction(i.sourceSpan,d?Ki.elementContainer:Ki.element,ml(b));else{if(this.creationInstruction(i.sourceSpan,d?Ki.elementContainerStart:Ki.elementStart,ml(b)),r&&this.creationInstruction(i.sourceSpan,Ki.disableBindings),s.length){var D=!1,T=[],I=[];if(s.forEach(function(e){var t=e.i18n;if(e instanceof ea)T.push(xr(e.name),h.i18nTranslate(t));else{var n=e.value.visit(h._valueConverter);if(h.allocateBindingSlots(n),n instanceof Yu){var r=el(nl(t));T.push(xr(e.name),h.i18nTranslate(t,r)),n.expressions.forEach(function(e){D=!0,I.push({sourceSpan:i.sourceSpan,value:function(){return h.convertPropertyBinding(e)}})})}}}),I.length&&this.updateInstructionChain(Ki.i18nExp,I),T.length){var P=xr(this.allocateDataSlot()),A=this.constantPool.getConstLiteral(gr(T),!0);this.creationInstruction(i.sourceSpan,Ki.i18nAttributes,[P,A]),D&&this.updateInstruction(i.sourceSpan,Ki.i18nApply,[P])}}i.outputs.forEach(function(e){h.creationInstruction(e.sourceSpan,Ki.listener,h.prepareListenerParameter(i.name,e,f))}),o&&this.i18nStart(i.sourceSpan,i.i18n,k)}for(var M=n.buildUpdateLevelInstructions(this._valueConverter),R=M.length-1,N=0;N<=R;N++){var j=M[N];this._bindingSlots+=j.allocateBindingSlots,this.processStylingInstruction(f,j,!1)}var F=xr(void 0),L=[],V=[];if(x.forEach(function(e){var t=e.type;if(4===t){var n=e.value.visit(h._valueConverter),r=!(n instanceof Lu&&!n.value);h.allocateBindingSlots(n),L.push({name:eo(e.name),sourceSpan:e.sourceSpan,value:function(){return r?h.convertPropertyBinding(n):F}})}else{if(e.i18n)return;var i=e.value.visit(h._valueConverter);if(void 0!==i){var o=[],a=U(H(e.name),2),s=a[0],l=a[1],u=1===t,c=iy(e.securityContext,u);if(c&&o.push(c),s){var p=xr(s);c?o.push(p):o.push(xr(null),p)}if(h.allocateBindingSlots(i),0===t)i instanceof Yu?h.interpolatedUpdateInstruction(function(e){switch(Cl(e)){case 1:return Ki.propertyInterpolate;case 3:return Ki.propertyInterpolate1;case 5:return Ki.propertyInterpolate2;case 7:return Ki.propertyInterpolate3;case 9:return Ki.propertyInterpolate4;case 11:return Ki.propertyInterpolate5;case 13:return Ki.propertyInterpolate6;case 15:return Ki.propertyInterpolate7;case 17:return Ki.propertyInterpolate8;default:return Ki.propertyInterpolateV}}(i),f,l,e,i,o):L.push({name:l,sourceSpan:e.sourceSpan,value:function(){return h.convertPropertyBinding(i)},params:o});else if(1===t)if(i instanceof Yu&&1<Cl(i))h.interpolatedUpdateInstruction(function(e){switch(Cl(e)){case 3:return Ki.attributeInterpolate1;case 5:return Ki.attributeInterpolate2;case 7:return Ki.attributeInterpolate3;case 9:return Ki.attributeInterpolate4;case 11:return Ki.attributeInterpolate5;case 13:return Ki.attributeInterpolate6;case 15:return Ki.attributeInterpolate7;case 17:return Ki.attributeInterpolate8;default:return Ki.attributeInterpolateV}}(i),f,l,e,i,o);else{var d=i instanceof Yu?i.expressions[0]:i;V.push({name:l,sourceSpan:e.sourceSpan,value:function(){return h.convertPropertyBinding(d)},params:o})}else h.updateInstructionWithAdvance(f,e.sourceSpan,Ki.classProp,function(){return q([xr(f),xr(l),h.convertPropertyBinding(i)],o)})}}}),0<L.length&&this.updateInstructionChainWithAdvance(f,Ki.property,L),0<V.length&&this.updateInstructionChainWithAdvance(f,Ki.attribute,V),xa(this,i.children),!o&&this.i18n&&this.i18n.appendElement(i.i18n,f,!0),!O){var B=i.endSourceSpan||i.sourceSpan;o&&this.i18nEnd(B,k),r&&this.creationInstruction(B,Ki.enableBindings),this.creationInstruction(B,d?Ki.elementContainerEnd:Ki.elementEnd)}},zv.prototype.visitTemplate=function(n){var r=this,e="ng-template",t=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(n.i18n,t);var i=vi(n.tagName||""),o=this.contextName+(i?"_"+i:"")+"_"+t,a=o+"_Template",s=[xr(t),fr(a),xr(n.tagName?H(n.tagName)[1]:n.tagName)];this.matchDirectives(e,n);var l=[];n.attributes.forEach(function(e){l.push(hl(e.name),hl(e.value))}),l.push.apply(l,q(this.prepareNonRenderAttrs(n.inputs,n.outputs,void 0,n.templateAttrs))),s.push(this.addConstants(l)),n.references&&n.references.length&&(s.push(this.prepareRefsParameter(n.references)),s.push(mr(Ki.templateRefExtractor)));var u=new zv(this.constantPool,this._bindingScope,this.level+1,o,this.i18n,t,a,this.directiveMatcher,this.directives,this.pipeTypeByName,this.pipes,this._namespace,this.fileBasedI18nSuffix,this.i18nUseExternalIds,this._constants);this._nestedTemplateFns.push(function(){var e,t=u.buildTemplateFunction(n.children,n.variables,r._ngContentReservedSlots.length+r._ngContentSelectorsOffset,n.i18n);r.constantPool.statements.push(t.toDeclStmt(a,null)),u._ngContentReservedSlots.length&&(e=r._ngContentReservedSlots).push.apply(e,q(u._ngContentReservedSlots))}),this.creationInstruction(n.sourceSpan,Ki.templateCreate,function(){return s.splice(2,0,xr(u.getConstCount()),xr(u.getVarCount())),ml(s)}),this.templatePropertyBindings(t,n.templateAttrs),n.tagName===e&&(this.templatePropertyBindings(t,n.inputs),n.outputs.forEach(function(e){r.creationInstruction(e.sourceSpan,Ki.listener,r.prepareListenerParameter("ng_template",e,t))}))},zv.prototype.visitBoundText=function(e){var t=this;if(this.i18n){var n=e.value.visit(this._valueConverter);return this.allocateBindingSlots(n),void(n instanceof Yu&&(this.i18n.appendBoundText(e.i18n),this.i18nAppendBindings(n.expressions)))}var r=this.allocateDataSlot();this.creationInstruction(e.sourceSpan,Ki.text,[xr(r)]);var i=e.value.visit(this._valueConverter);this.allocateBindingSlots(i),i instanceof Yu?this.updateInstructionWithAdvance(r,e.sourceSpan,function(e){switch(Cl(e)){case 1:return Ki.textInterpolate;case 3:return Ki.textInterpolate1;case 5:return Ki.textInterpolate2;case 7:return Ki.textInterpolate3;case 9:return Ki.textInterpolate4;case 11:return Ki.textInterpolate5;case 13:return Ki.textInterpolate6;case 15:return Ki.textInterpolate7;case 17:return Ki.textInterpolate8;default:return Ki.textInterpolateV}}(i),function(){return t.getUpdateInstructionArguments(i)}):Nr("Text nodes should be interpolated and never bound directly.")},zv.prototype.visitText=function(e){this.i18n||this.creationInstruction(e.sourceSpan,Ki.text,[xr(this.allocateDataSlot()),xr(e.value)])},zv.prototype.visitIcu=function(e){var t=!1;function n(e){var t=rl(m(m({},i),o),!1);return Kv(null,Ki.i18nPostprocess,[e,Gp(t,!0)])}this.i18n||(t=!0,this.i18nStart(null,e.i18n,!0));var r=this.i18n,i=this.i18nBindProps(e.vars),o=this.i18nBindProps(e.placeholders),a=e.i18n;if(Xs(r.meta))this.i18nTranslate(a,{},r.ref,n);else{var s=this.i18nTranslate(a,{},void 0,n);r.appendIcu($s(a).name,s)}return t&&this.i18nEnd(null,!0),null},zv.prototype.allocateDataSlot=function(){return this._dataIndex++},zv.prototype.getConstCount=function(){return this._dataIndex},zv.prototype.getVarCount=function(){return this._pureFunctionSlots},zv.prototype.getConsts=function(){return this._constants},zv.prototype.getNgContentSelectors=function(){return this._ngContentReservedSlots.length?this.constantPool.getConstLiteral(hl(this._ngContentReservedSlots),!0):null},zv.prototype.bindingContext=function(){return""+this._bindingContext++},zv.prototype.templatePropertyBindings=function(e,t){var n=this,r=[];t.forEach(function(e){if(e instanceof na){var t=e.value.visit(n._valueConverter);void 0!==t&&(n.allocateBindingSlots(t),r.push({name:e.name,sourceSpan:e.sourceSpan,value:function(){return n.convertPropertyBinding(t)}}))}}),0<r.length&&this.updateInstructionChainWithAdvance(e,Ki.property,r)},zv.prototype.instructionFn=function(e,t,n,r,i){void 0===i&&(i=!1),e[i?"unshift":"push"](function(){var e=Array.isArray(r)?r:r();return Kv(t,n,e).toStmt()})},zv.prototype.processStylingInstruction=function(e,t,n){var r=this;t&&(n?this.creationInstruction(t.sourceSpan,t.reference,function(){return t.params(function(e){return r.convertPropertyBinding(e)})}):this.updateInstructionWithAdvance(e,t.sourceSpan,t.reference,function(){return t.params(function(e){return t.supportsInterpolation&&e instanceof Yu?r.getUpdateInstructionArguments(e):r.convertPropertyBinding(e)})}))},zv.prototype.creationInstruction=function(e,t,n,r){this.instructionFn(this._creationCodeFns,e,t,n||[],r)},zv.prototype.updateInstructionWithAdvance=function(e,t,n,r){this.addAdvanceInstructionIfNecessary(e,t),this.updateInstruction(t,n,r)},zv.prototype.updateInstruction=function(e,t,n){this.instructionFn(this._updateCodeFns,e,t,n||[])},zv.prototype.updateInstructionChain=function(t,n){var r=n.length?n[0].sourceSpan:null;this._updateCodeFns.push(function(){var e=n.map(function(e){var t=q([e.value()],e.params||[]);return e.name&&t.unshift(xr(e.name)),t});return xl(t,e,r).toStmt()})},zv.prototype.updateInstructionChainWithAdvance=function(e,t,n){this.addAdvanceInstructionIfNecessary(e,n.length?n[0].sourceSpan:null),this.updateInstructionChain(t,n)},zv.prototype.addAdvanceInstructionIfNecessary=function(e,t){if(e!==this._currentIndex){var n=e-this._currentIndex;if(n<1)throw new Error("advance instruction can only go forwards");this.instructionFn(this._updateCodeFns,t,Ki.advance,[xr(n)]),this._currentIndex=e}},zv.prototype.allocatePureFunctionSlots=function(e){var t=this._pureFunctionSlots;return this._pureFunctionSlots+=e,t},zv.prototype.allocateBindingSlots=function(e){this._bindingSlots+=e instanceof Yu?e.expressions.length:1},zv.prototype.getImplicitReceiverExpr=function(){return this._implicitReceiverExpr?this._implicitReceiverExpr:this._implicitReceiverExpr=0===this.level?fr(ll):this._bindingScope.getOrCreateSharedContextVar(0)},zv.prototype.convertPropertyBinding=function(e){var t,n=ud(this,this.getImplicitReceiverExpr(),e,this.bindingContext(),id.TrySimple,function(){return Nr("Unexpected interpolation")}),r=n.currValExpr;return(t=this._tempVariables).push.apply(t,q(n.stmts)),r},zv.prototype.getUpdateInstructionArguments=function(e){var t,n=function(e,t,n,r){var i=new gd(e,t,r,void 0),o=n.visit(i,ad.Expression);i.usesImplicitReceiver&&e.notifyImplicitReceiverUse();var a=cd(i,r),s=o.args.slice(1);if(n instanceof Yu){var l=n.strings;3===s.length&&""===l[0]&&""===l[1]?s=[s[1]]:19<=s.length&&(s=[gr(s)])}return{stmts:a,args:s}}(this,this.getImplicitReceiverExpr(),e,this.bindingContext()),r=n.args,i=n.stmts;return(t=this._tempVariables).push.apply(t,q(i)),r},zv.prototype.matchDirectives=function(e,t){var n=this;if(this.directiveMatcher){var r=function(e,n){var r=new B;return r.setElement(e),Object.getOwnPropertyNames(n).forEach(function(e){var t=n[e];r.addAttribute(e,t),"class"===e.toLowerCase()&&t.trim().split(/\s+/).forEach(function(e){return r.addClassName(e)})}),r}(e,wl(t));this.directiveMatcher.match(r,function(e,t){n.directives.add(t)})}},zv.prototype.prepareNonRenderAttrs=function(e,t,n,r,i,o){void 0===r&&(r=[]),void 0===i&&(i=[]);var a=new Set,s=[];function l(e,t){"string"==typeof e?a.has(e)||(s.push.apply(s,q(Xv(e))),void 0!==t&&s.push(t),a.add(e)):s.push(xr(e))}if(n&&n.populateInitialStylingAttrs(s),e.length||t.length){for(var u=s.length,c=0;c<e.length;c++){var p=e[c];4!==p.type&&1!==p.type&&l(p.name)}for(c=0;c<t.length;c++){var d=t[c];1!==d.type&&l(d.name)}s.length!==u&&s.splice(u,0,xr(3))}return r.length&&(s.push(xr(4)),r.forEach(function(e){return l(e.name)})),o&&s.push.apply(s,q(ty(o))),i.length&&(s.push(xr(6)),i.forEach(function(e){return l(e.name)})),s},zv.prototype.addConstants=function(e){if(0<e.length){for(var t=gr(e),n=0;n<this._constants.length;n++)if(this._constants[n].isEquivalent(t))return xr(n);return xr(this._constants.push(t)-1)}return ln},zv.prototype.prepareRefsParameter=function(e){var r=this;if(!e||0===e.length)return ln;var t=Ui(e.map(function(e){var i=r.allocateDataSlot(),t=r._bindingScope.freshReferenceName(),n=r.level,o=fr(t);return r._bindingScope.set(n,e.name,o,0,function(e,t){var n=0<t?[Zv(t).toStmt()]:[],r=o.set(mr(Ki.reference).callFn([xr(i)]));return n.concat(r.toConstDecl())},!0),[e.name,e.value]}));return this.constantPool.getConstLiteral(hl(t),!0)},zv.prototype.prepareListenerParameter=function(i,o,a){var s=this;return function(){var e=o.name,t=1===o.type?to(e,o.phase):vi(e),n=s.templateName+"_"+i+"_"+t+"_"+a+"_listener",r=s._bindingScope.nestedScope(s._bindingScope.bindingLevel);return Bv(o,n,r)}},zv);function zv(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f){var m=this;void 0===n&&(n=0),void 0===f&&(f=[]),this.constantPool=e,this.level=n,this.contextName=r,this.i18nContext=i,this.templateIndex=o,this.templateName=a,this.directiveMatcher=s,this.directives=l,this.pipeTypeByName=u,this.pipes=c,this._namespace=p,this.i18nUseExternalIds=h,this._constants=f,this._dataIndex=0,this._bindingContext=0,this._prefixCode=[],this._creationCodeFns=[],this._updateCodeFns=[],this._currentIndex=0,this._tempVariables=[],this._nestedTemplateFns=[],this._unsupported=pl,this.i18n=null,this._pureFunctionSlots=0,this._bindingSlots=0,this._ngContentReservedSlots=[],this._ngContentSelectorsOffset=0,this._implicitReceiverExpr=null,this.visitReference=dl,this.visitVariable=dl,this.visitTextAttribute=dl,this.visitBoundAttribute=dl,this.visitBoundEvent=dl,this._bindingScope=t.nestedScope(n),this.fileBasedI18nSuffix=d.replace(/[^A-Za-z0-9]/g,"_")+"_",this._valueConverter=new Hv(e,function(){return m.allocateDataSlot()},function(e){return m.allocatePureFunctionSlots(e)},function(e,t,n,r){var i=u.get(e);i&&m.pipes.add(i),m._bindingScope.set(m.level,t,r),m.creationInstruction(null,Ki.pipe,[xr(n),xr(e)])})}var qv,Hv=(f(Wv,qv=Sc),Wv.prototype.visitPipe=function(e,t){var n=this.allocateSlot(),r="PIPE:"+n,i=this.allocatePureFunctionSlots(2+e.args.length),o=new bu(e.span,e.sourceSpan,new pu(e.span,e.sourceSpan),r),a=function(e){var t=Gv[e.length];return{identifier:t||Ki.pipeBindV,isVarLength:!t}}(e.args),s=a.identifier,l=a.isVarLength;this.definePipe(e.name,r,n,mr(s));var u=q([e.exp],e.args),c=l?this.visitAll([new Uu(e.span,e.sourceSpan,u)]):this.visitAll(u),p=new pc(e.span,e.sourceSpan,o,q([new Lu(e.span,e.sourceSpan,n),new Lu(e.span,e.sourceSpan,i)],c));return this._pipeBindExprs.push(p),p},Wv.prototype.updatePipeSlotOffsets=function(t){this._pipeBindExprs.forEach(function(e){e.args[1].value+=t})},Wv.prototype.visitLiteralArray=function(e,t){var n=this;return new Cd(e.span,e.sourceSpan,this.visitAll(e.expressions),function(e){var t=gr(e);return e.every(function(e){return e.isConstant()})?n.constantPool.getConstLiteral(t,!0):Qv(n.constantPool,t,n.allocatePureFunctionSlots)})},Wv.prototype.visitLiteralMap=function(n,e){var r=this;return new Cd(n.span,n.sourceSpan,this.visitAll(n.values),function(e){var t=_r(e.map(function(e,t){return{key:n.keys[t].key,value:e,quoted:n.keys[t].quoted}}));return e.every(function(e){return e.isConstant()})?r.constantPool.getConstLiteral(t,!0):Qv(r.constantPool,t,r.allocatePureFunctionSlots)})},Wv);function Wv(e,t,n,r){var i=qv.call(this)||this;return i.constantPool=e,i.allocateSlot=t,i.allocatePureFunctionSlots=n,i.definePipe=r,i._pipeBindExprs=[],i}var Gv=[Ki.pipeBind1,Ki.pipeBind2,Ki.pipeBind3,Ki.pipeBind4];var Yv=[Ki.pureFunction0,Ki.pureFunction1,Ki.pureFunction2,Ki.pureFunction3,Ki.pureFunction4,Ki.pureFunction5,Ki.pureFunction6,Ki.pureFunction7,Ki.pureFunction8];function Kv(e,t,n){return mr(t,null,e).callFn(n,e)}function Zv(e){return mr(Ki.nextContext).callFn(1<e?[xr(e)]:[])}function Qv(e,t,n){var r=e.getLiteralFactory(t),i=r.literalFactory,o=r.literalFactoryArguments,a=n(1+o.length);0<o.length||Nr("Expected arguments to a literal factory function");var s=function(e){var t=Yv[e.length];return{identifier:t||Ki.pureFunctionV,isVarLength:!t}}(o),l=s.identifier,u=s.isVarLength,c=[xr(a),i];return u?c.push(gr(o)):c.push.apply(c,q(o)),mr(l).callFn(c)}function Xv(e){var t=U(H(e),2),n=t[0],r=xr(t[1]);return n?[xr(0),xr(n),r]:[r]}var $v="$$shared_ctx$$",Jv=(Object.defineProperty(ey,"ROOT_SCOPE",{get:function(){return ey._ROOT_SCOPE||(ey._ROOT_SCOPE=(new ey).set(0,"$event",fr("$event"))),ey._ROOT_SCOPE},enumerable:!0,configurable:!0}),ey.prototype.get=function(e){for(var t=this;t;){var n=t.map.get(e);if(null!=n)return t!==this&&(n={retrievalLevel:n.retrievalLevel,lhs:n.lhs,declareLocalCallback:n.declareLocalCallback,declare:!1,priority:n.priority,localRef:n.localRef},this.map.set(e,n),this.maybeGenerateSharedContextVar(n),this.maybeRestoreView(n.retrievalLevel,n.localRef)),n.declareLocalCallback&&!n.declare&&(n.declare=!0),n.lhs;t=t.parent}return 0===this.bindingLevel?null:this.getComponentProperty(e)},ey.prototype.set=function(e,t,n,r,i,o){if(void 0===r&&(r=0),this.map.has(t)){if(o)return this;Nr("The name "+t+" is already defined in scope to be "+this.map.get(t))}return this.map.set(t,{retrievalLevel:e,lhs:n,declare:!1,declareLocalCallback:i,priority:r,localRef:o||!1}),this},ey.prototype.getLocal=function(e){return this.get(e)},ey.prototype.notifyImplicitReceiverUse=function(){0!==this.bindingLevel&&(this.map.get($v+0).declare=!0)},ey.prototype.nestedScope=function(e){var t=new ey(e,this);return 0<e&&t.generateSharedContextVar(0),t},ey.prototype.getOrCreateSharedContextVar=function(e){var t=$v+e;return this.map.has(t)||this.generateSharedContextVar(e),this.map.get(t).lhs},ey.prototype.getSharedContextName=function(e){var t=this.map.get($v+e);return t&&t.declare?t.lhs:null},ey.prototype.maybeGenerateSharedContextVar=function(e){if(1===e.priority&&e.retrievalLevel<this.bindingLevel){var t=this.map.get($v+e.retrievalLevel);t?t.declare=!0:this.generateSharedContextVar(e.retrievalLevel)}},ey.prototype.generateSharedContextVar=function(e){var n=fr(ll+this.freshReferenceName());this.map.set($v+e,{retrievalLevel:e,lhs:n,declareLocalCallback:function(e,t){return[n.set(Zv(t)).toConstDecl()]},declare:!1,priority:2,localRef:!1})},ey.prototype.getComponentProperty=function(e){var t=this.map.get($v+0);return t.declare=!0,this.maybeRestoreView(0,!1),t.lhs.prop(e)},ey.prototype.maybeRestoreView=function(e,t){this.isListenerScope()&&(e<this.bindingLevel||t)&&(this.parent.restoreViewVariable||(this.parent.restoreViewVariable=fr(this.parent.freshReferenceName())),this.restoreViewVariable=this.parent.restoreViewVariable)},ey.prototype.restoreViewStatement=function(){return this.restoreViewVariable?[Kv(null,Ki.restoreView,[this.restoreViewVariable]).toStmt()]:[]},ey.prototype.viewSnapshotStatements=function(){var e=Kv(null,Ki.getCurrentView,[]);return this.restoreViewVariable?[this.restoreViewVariable.set(e).toConstDecl()]:[]},ey.prototype.isListenerScope=function(){return this.parent&&this.parent.bindingLevel===this.bindingLevel},ey.prototype.variableDeclarations=function(){var i=this,o=0;return Array.from(this.map.values()).filter(function(e){return e.declare}).sort(function(e,t){return t.retrievalLevel-e.retrievalLevel||t.priority-e.priority}).reduce(function(e,t){var n=i.bindingLevel-t.retrievalLevel,r=t.declareLocalCallback(i,n-o);return o=n,e.concat(r)},[])},ey.prototype.freshReferenceName=function(){for(var e=this;e.parent;)e=e.parent;return"_r"+e.referenceNameIndex++},ey);function ey(e,t){void 0===e&&(e=0),void 0===t&&(t=null),this.bindingLevel=e,this.parent=t,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null}function ty(e){var t=se(e.value)[0];return[xr(5),hl(t)]}function ny(e,t,n){void 0===n&&(n={});var r=n.interpolationConfig,i=n.preserveWhitespaces,o=n.i18nLegacyMessageIdFormat,a=ry(r),s=(new Uh).parse(e,t,m(m({leadingTriviaChars:Lv},n),{tokenizeExpansionForms:!0}));if(s.errors&&0<s.errors.length)return{errors:s.errors,nodes:[],styleUrls:[],styles:[]};var l=s.rootNodes;l=ep(new dp(r,!i,o),l),i||(l=ep(new Zh,l),l=ep(new dp(r,!1),l));var u=rv(l,a),c=u.nodes,p=u.errors,d=u.styleUrls,h=u.styles;return p&&0<p.length?{errors:p,nodes:[],styleUrls:[],styles:[]}:{nodes:c,styleUrls:d,styles:h}}function ry(e){return void 0===e&&(e=Fl),new om(new Rc(new Vl),e,new ev,null,[])}function iy(e,t){switch(e){case M.HTML:return mr(Ki.sanitizeHtml);case M.SCRIPT:return mr(Ki.sanitizeScript);case M.STYLE:return t?mr(Ki.sanitizeStyle):null;case M.URL:return mr(Ki.sanitizeUrl);case M.RESOURCE_URL:return mr(Ki.sanitizeResourceUrl);default:return null}}function oy(e){return e instanceof Qo||e instanceof $o||e instanceof va}function ay(e){return e.every(oy)}var sy="ngI18nClosureMode";var ly=[],uy=/attr\.([^\]]+)/;function cy(e,t,n){var r=new _l;return r.set("type",e.type),r.set("selectors",function(e){return hl(se(e))}(e.selector)),0<e.queries.length&&r.set("contentQueries",gy(e.queries,t,e.name)),e.viewQueries.length&&r.set("viewQuery",xy(e.viewQueries,t,e.name)),r.set("hostBindings",Cy(e.host,e.typeSourceSpan,n,t,e.selector||"",e.name)),r.set("inputs",fl(e.inputs,!0)),r.set("outputs",fl(e.outputs)),null!==e.exportAs&&r.set("exportAs",gr(e.exportAs.map(function(e){return xr(e)}))),r}function py(e,t){var n=[],r=t.providers,i=t.viewProviders;if(r||i){var o=[r||new Zt([])];i&&o.push(i),n.push(mr(Ki.ProvidersFeature).callFn(o))}t.usesInheritance&&n.push(mr(Ki.InheritDefinitionFeature)),t.lifecycle.usesOnChanges&&n.push(mr(Ki.NgOnChangesFeature).callFn(ly)),n.length&&e.set("features",gr(n))}function dy(e,t,n){var r=cy(e,t,n);return py(r,e),{expression:mr(Ki.defineDirective).callFn([r.toLiteralMap()]),type:wy(e,Ki.DirectiveDefWithMeta)}}function hy(e,t,n){var r=new _l;if(e.inputs){var i=e.inputs,o=Object.keys(i).map(function(e){var t=i[e];return{key:e,value:Array.isArray(t)?gr(t.map(function(e){return xr(e)})):xr(t),quoted:!1}});r.set("inputs",_r(o))}if(e.outputs){var a=e.outputs,s=Object.keys(a).map(function(e){return{key:e,value:xr(a[e]),quoted:!1}});r.set("outputs",_r(s))}return e.viewQueries&&0<e.viewQueries.length&&r.set("viewQuery",xy(e.viewQueries,t)),e.queries&&0<e.queries.length&&r.set("contentQueries",gy(e.queries,t)),e.host&&r.set("hostBindings",Cy(e.host,e.typeSourceSpan,n,t,e.name)),{expression:mr(Ki.defineBase).callFn([r.toLiteralMap()]),type:new ge(mr(Ki.BaseDef),null,[yr(e.type)])}}function fy(e,t,n){var r,i,o=cy(e,t,n);py(o,e);var a=e.selector&&B.parse(e.selector),s=a&&a[0];if(s){var l=s.getAttrs();l.length&&o.set("attrs",t.getConstLiteral(gr(l.map(function(e){return xr(null!=e?e:void 0)})),!0))}var u=null;if(0<e.directives.length){var c=new T;try{for(var p=z(e.directives),d=p.next();!d.done;d=p.next()){var h=d.value,f=h.selector,m=h.expression;c.addSelectables(B.parse(f),m)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}u=c}var v=e.name,y=v?v+"_Template":null,g=new Set,_=new Set,b=e.changeDetection,w=e.template,x=new Uv(t,Jv.ROOT_SCOPE,0,v,null,null,y,u,g,e.pipes,_,Ki.namespaceHTML,e.relativeContextFilePath,e.i18nUseExternalIds),C=x.buildTemplateFunction(w.nodes,[]),S=x.getNgContentSelectors();S&&o.set("ngContentSelectors",S),o.set("decls",xr(x.getConstCount())),o.set("vars",xr(x.getVarCount()));var E=x.getConsts();if(0<E.length&&o.set("consts",gr(E)),o.set("template",C),g.size){var O=gr(Array.from(g));e.wrapDirectivesAndPipesInClosure&&(O=br([],[new wn(O)])),o.set("directives",O)}if(_.size){var k=gr(Array.from(_));e.wrapDirectivesAndPipesInClosure&&(k=br([],[new wn(k)])),o.set("pipes",k)}if(null===e.encapsulation&&(e.encapsulation=I.Emulated),e.styles&&e.styles.length){var D=(e.encapsulation==I.Emulated?function(e,t,n){var r=new Ed;return e.map(function(e){return r.shimCssText(e,t,n)})}(e.styles,rh,nh):e.styles).map(function(e){return xr(e)});o.set("styles",gr(D))}else e.encapsulation===I.Emulated&&(e.encapsulation=I.None);e.encapsulation!==I.Emulated&&o.set("encapsulation",xr(e.encapsulation)),null!==e.animations&&o.set("data",_r([{key:"animation",value:e.animations,quoted:!1}])),null!=b&&b!==P.Default&&o.set("changeDetection",xr(b));(e.selector||"").replace(/\n/g,"");return{expression:mr(Ki.defineComponent).callFn([o.toLiteralMap()]),type:wy(e,Ki.ComponentDefWithMeta)}}function my(e,t,n,r,i,o,a){var s=_i(t.type);s||Nr("Cannot resolver the name of "+t.type);var l=e.constantPool.propertyNameOf(2),u=t.toSummary(),c=m(m({},vy(t,e,r)),{selector:t.selector,template:{nodes:n.nodes},directives:[],pipes:function(e,i){var t=Array.from(e).map(function(e){var t=U(e,2),n=t[0],r=t[1];return[n,i.importExpr(r)]});return new Map(t)}(a,e),viewQueries:function(e,n){return e.map(function(e){var t=null;return e.read&&e.read.identifier&&(t=n.importExpr(e.read.identifier.reference)),{propertyName:e.propertyName,first:e.first,predicate:function(e,t){if(1<e.length||1==e.length&&e[0].value){var n=e.map(function(e){return e.value});return n.some(function(e){return!e})&&Nr("Found a type among the string selectors expected"),t.constantPool.getConstLiteral(gr(n.map(function(e){return xr(e)})))}if(1==e.length){var r=e[0];if(r.identifier)return t.importExpr(r.identifier.reference)}return Nr("Unexpected query form"),sn}(e.selectors,n),descendants:e.descendants,read:t,static:!!e.static}})}(t.viewQueries,e),wrapDirectivesAndPipesInClosure:!1,styles:u.template&&u.template.styles||ly,encapsulation:u.template&&u.template.encapsulation||I.Emulated,interpolation:Fl,animations:null,viewProviders:0<t.viewProviders.length?new We(t.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0}),p=fy(c,e.constantPool,i),d=El(m(m({},c),{injectFn:Ki.directiveInject})),h=new Nn(s,null,[new On("ɵfac",De,[E.StmtModifier.Static],d.factory)],[],new Tn(null,[],[]),[]),f=new Nn(s,null,[new On(l,De,[E.StmtModifier.Static],p.expression)],[],new Tn(null,[],[]),[]);e.statements.push(h,f)}function vy(){throw new Error("unsupported")}function yy(e,t){var n=[function(e,t){if(Array.isArray(e.predicate)){var n=[];return e.predicate.forEach(function(e){var t=e.split(",").map(function(e){return xr(e.trim())});n.push.apply(n,q(t))}),t.getConstLiteral(gr(n),!0)}return e.predicate}(e,t),xr(e.descendants)];return e.read&&n.push(e.read),n}function gy(e,t,n){var r,i,o=[],a=[],s=cl(a,sl);try{for(var l=z(e),u=l.next();!u.done;u=l.next()){var c=u.value,p=c.static?Ki.staticContentQuery:Ki.contentQuery;o.push(mr(p).callFn(q([fr("dirIndex")],yy(c,t))).toStmt());var d=s(),h=mr(Ki.loadQuery).callFn([]),f=mr(Ki.queryRefresh).callFn([d.set(h)]),m=fr(ll).prop(c.propertyName).set(c.first?d.prop("first"):d);a.push(f.and(m).toStmt())}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}var v=n?n+"_ContentQueries":null;return br([new Rt(ul,Ie),new Rt(ll,null),new Rt("dirIndex",null)],[Vv(1,o),Vv(2,a)],De,null,v)}function _y(t){return yr(_r(Object.keys(t).map(function(e){return{key:e,value:xr(Array.isArray(t[e])?t[e][0]:t[e]),quoted:!0}})))}function by(e){return 0<e.length?yr(gr(e.map(function(e){return xr(e)}))):Ae}function wy(e,t){var n=(e.selector||"").replace(/\n/g,"");return yr(mr(t,[$i(e.type,e.typeArgumentCount),function(e){return yr(xr(e))}(n),null!==e.exportAs?by(e.exportAs):Ae,_y(e.inputs),_y(e.outputs),by(e.queries.map(function(e){return e.propertyName}))]))}function xy(e,a,t){var s=[],l=[],u=cl(l,sl);e.forEach(function(e){var t=mr(e.static?Ki.staticViewQuery:Ki.viewQuery).callFn(yy(e,a));s.push(t.toStmt());var n=u(),r=mr(Ki.loadQuery).callFn([]),i=mr(Ki.queryRefresh).callFn([n.set(r)]),o=fr(ll).prop(e.propertyName).set(e.first?n.prop("first"):n);l.push(i.and(o).toStmt())});var n=t?t+"_Query":null;return br([new Rt(ul,Ie),new Rt(ll,null)],[Vv(1,s),Vv(2,l)],De,null,n)}function Cy(e,t,p,n,d,r){var i=Object.keys(e.properties).length,o=fr("elIndex"),h=fr(ll),f=new qm(o,h),a=e.specialAttributes,s=a.styleAttr,l=a.classAttr;void 0!==s&&f.registerStyleAttr(s),void 0!==l&&f.registerClassAttr(l);function m(){if(!u){u=new Hv(n,function(){return Nr("Unexpected node")},function(e){var t=y;return y+=e,t},function(){return Nr("Unexpected pipe")})}return u}var u,c=[],v=[],y=i,g=t,_=Oy(e),b=p.createDirectiveHostEventAsts(_,g);if(b&&b.length){var w=function(e,o){return e.map(function(e){var t=e.name&&vi(e.name),n=1===e.type?to(t,e.targetOrPhase):t,r=o&&t?o+"_"+n+"_HostBindingHandler":null,i=Bv(ia.fromParsedEvent(e),r);return mr(1==e.type?Ki.componentHostSyntheticListener:Ki.listener).callFn(i).toStmt()})}(b,r);c.push.apply(c,q(w))}var x=p.createBoundHostProperties(_,g),C=[],S=[],E=[];x&&x.forEach(function(e){var t=e.name;if(!f.registerInputBasedOnName(t,e.expression,e.sourceSpan)){var n=e.expression.visit(m()),r=Sy(h,n),i=function(e){var t,n=e.name,r=n.match(uy);t=r?(n=r[1],Ki.attribute):e.isAnimation?(n=eo(n),Ki.updateSyntheticHostBinding):Ki.hostProperty;return{bindingName:n,instruction:t,isAttribute:!!r}}(e),o=i.bindingName,a=i.instruction,s=i.isAttribute,l=p.calcPossibleSecurityContexts(d,o,s).filter(function(e){return e!==M.NONE}),u=null;l.length&&(u=2===l.length&&-1<l.indexOf(M.URL)&&-1<l.indexOf(M.RESOURCE_URL)?mr(Ki.sanitizeUrlOrResourceUrl):iy(l[0],s));var c=[xr(o),r.currValExpr];u&&c.push(u),v.push.apply(v,q(r.stmts)),a===Ki.hostProperty?C.push(c):a===Ki.attribute?S.push(c):a===Ki.updateSyntheticHostBinding?E.push(c):v.push(mr(a).callFn(c).toStmt())}}),0<C.length&&v.push(xl(Ki.hostProperty,C).toStmt()),0<S.length&&v.push(xl(Ki.attribute,S).toStmt()),0<E.length&&v.push(xl(Ki.updateSyntheticHostBinding,E).toStmt());var O=function(e){var t,n,r=[];try{for(var i=z(Object.getOwnPropertyNames(e)),o=i.next();!o.done;o=i.next()){var a=o.value,s=e[a];r.push(xr(a),s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}(e.attributes),k=f.buildHostAttrsInstruction(null,O,n);if(k&&c.push(Ey(k,h,Sy)),f.hasBindings&&f.buildUpdateLevelInstructions(m()).forEach(function(e){y+=Math.max(e.allocateBindingSlots-1,0),v.push(Ey(e,h,Sy))}),y&&c.unshift(mr(Ki.allocHostVars).callFn([xr(y)]).toStmt()),0<c.length||0<v.length){var D=r?r+"_HostBindings":null,T=[];return 0<c.length&&T.push(Vv(1,c)),0<v.length&&T.push(Vv(2,v)),br([new Rt(ul,Ie),new Rt(ll,null),new Rt(o.name,Ie)],T,De,null,D)}return null}function Sy(e,t){return ud(null,e,t,"b",id.TrySimple,function(){return Nr("Unexpected interpolation")})}function Ey(e,t,n){var r=e.params(function(e){return n(t,e).currValExpr});return mr(e.reference,null,e.sourceSpan).callFn(r,e.sourceSpan).toStmt()}function Oy(e){return{hostAttributes:{},hostListeners:e.listeners,hostProperties:e.properties}}var ky=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;function Dy(e){var t,n,r={},i={},o={},a={};try{for(var s=z(Object.keys(e)),l=s.next();!l.done;l=s.next()){var u=l.value,c=e[u],p=u.match(ky);if(null===p)switch(u){case"class":if("string"!=typeof c)throw new Error("Class binding must be string");a.classAttr=c;break;case"style":if("string"!=typeof c)throw new Error("Style binding must be string");a.styleAttr=c;break;default:r[u]="string"==typeof c?xr(c):c}else if(null!=p[1]){if("string"!=typeof c)throw new Error("Property binding must be string");o[p[1]]=c}else if(null!=p[2]){if("string"!=typeof c)throw new Error("Event binding must be string");i[p[2]]=c}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return{attributes:r,listeners:i,properties:o,specialAttributes:a}}function Ty(e,t){var n=Oy(e),r=ry();return r.createDirectiveHostEventAsts(n,t),r.createBoundHostProperties(n,t),r.errors}var Iy=(Py.prototype.get=function(e){return""},Py);function Py(){}var Ay=(My.prototype.compilePipe=function(e,t,n){var r=Xp({name:n.name,type:new We(n.type),typeArgumentCount:n.typeArgumentCount,deps:qy(n.deps),pipeName:n.pipeName,pure:n.pure});return this.jitExpression(r.expression,e,t,[])},My.prototype.compileInjectable=function(e,t,n){var r=Tl({name:n.name,type:new We(n.type),typeArgumentCount:n.typeArgumentCount,providedIn:function(e){return null==e||"string"==typeof e?new ht(e):new We(e)}(n.providedIn),useClass:Uy(n,Ry),useFactory:Uy(n,Ny),useValue:Uy(n,jy),useExisting:Uy(n,Fy),userDeps:qy(n.userDeps)||void 0}),i=r.expression,o=r.statements;return this.jitExpression(i,e,t,o)},My.prototype.compileInjector=function(e,t,n){var r=Kp({name:n.name,type:new We(n.type),deps:qy(n.deps),providers:new We(n.providers),imports:n.imports.map(function(e){return new We(e)})});return this.jitExpression(r.expression,e,t,r.statements)},My.prototype.compileNgModule=function(e,t,n){var r=Yp({type:new We(n.type),bootstrap:n.bootstrap.map(Ly),declarations:n.declarations.map(Ly),imports:n.imports.map(Ly),exports:n.exports.map(Ly),emitInline:!0,containsForwardDecls:!1,schemas:n.schemas?n.schemas.map(Ly):null,id:n.id?new We(n.id):null});return this.jitExpression(r.expression,e,t,[])},My.prototype.compileDirective=function(e,t,n){var r=new ei,i=ry(),o=dy(By(n),r,i);return this.jitExpression(o.expression,e,t,r.statements)},My.prototype.compileComponent=function(e,t,n){var r=new ei,i=n.interpolation?Rl.fromArray(n.interpolation):Fl,o=ny(n.template,t,{preserveWhitespaces:n.preserveWhitespaces,interpolationConfig:i});if(void 0!==o.errors){var a=o.errors.map(function(e){return e.toString()}).join(", ");throw new Error("Errors during JIT compilation of template for "+n.name+": "+a)}var s=fy(m(m(m({},n),By(n)),{selector:n.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:o,wrapDirectivesAndPipesInClosure:!1,styles:n.styles||[],encapsulation:n.encapsulation,interpolation:i,changeDetection:n.changeDetection,animations:null!=n.animations?new We(n.animations):null,viewProviders:null!=n.viewProviders?new We(n.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0}),r,ry(i)),l="ng:///"+n.name+".js";return this.jitExpression(s.expression,e,l,r.statements)},My.prototype.compileFactory=function(e,t,n){var r=El({name:n.name,type:new We(n.type),typeArgumentCount:n.typeArgumentCount,deps:qy(n.deps),injectFn:"directiveInject"===n.injectFn?si.directiveInject:si.inject,isPipe:n.isPipe});return this.jitExpression(r.factory,e,t,r.statements)},My.prototype.compileBase=function(e,t,n){var r=new ei,i=this.createParseSourceSpan("Base",n.name,"ng:///"+n.name+".js"),o=hy(m(m({},n),{typeSourceSpan:i,viewQueries:n.viewQueries?n.viewQueries.map(Vy):n.viewQueries,queries:n.queries?n.queries.map(Vy):n.queries,host:Hy(n.propMetadata,i)}),r,ry());return this.jitExpression(o.expression,e,t,r.statements)},My.prototype.createParseSourceSpan=function(e,t,n){return Zo(e,t,n)},My.prototype.jitExpression=function(e,t,n,r){var i=q(r,[new dn("$def",e,void 0,[E.StmtModifier.Exported])]);return this.jitEvaluator.evaluateStatements(n,i,new Hp(t),!0).$def},My);function My(e){void 0===e&&(e=new Vp),this.jitEvaluator=e,this.R3ResolvedDependencyType=E.R3ResolvedDependencyType,this.ResourceLoader=Iy,this.elementSchemaRegistry=new ev}var Ry=Object.keys({useClass:null})[0],Ny=Object.keys({useFactory:null})[0],jy=Object.keys({useValue:null})[0],Fy=Object.keys({useExisting:null})[0],Ly=function(e){var t=new We(e);return{value:t,type:t}};function Vy(e){return m(m({},e),{predicate:Array.isArray(e.predicate)?e.predicate:new We(e.predicate),read:e.read?new We(e.read):null,static:e.static})}function By(e){function t(t){i.hasOwnProperty(t)&&i[t].forEach(function(e){!function(e){return"Input"===e.ngMetadataName}(e)?function(e){return"Output"===e.ngMetadataName}(e)&&(a[t]=e.bindingPropertyName||t):o[t]=e.bindingPropertyName?[e.bindingPropertyName,t]:t})}var n=Wy(e.inputs||[]),r=Wy(e.outputs||[]),i=e.propMetadata,o={},a={};for(var s in i)t(s);return m(m({},e),{typeSourceSpan:e.typeSourceSpan,type:new We(e.type),deps:qy(e.deps),host:Hy(e.propMetadata,e.typeSourceSpan,e.host),inputs:m(m({},n),o),outputs:m(m({},r),a),queries:e.queries.map(Vy),providers:null!=e.providers?new We(e.providers):null,viewQueries:e.viewQueries.map(Vy)})}function Uy(e,t){return e.hasOwnProperty(t)?new We(e[t]):void 0}function zy(e){return{token:null===e.token?new ht(null):e.resolved===E.R3ResolvedDependencyType.Attribute?new ht(e.token):new We(e.token),resolved:e.resolved,host:e.host,optional:e.optional,self:e.self,skipSelf:e.skipSelf}}function qy(e){return null==e?null:e.map(zy)}function Hy(e,t,n){var r=Dy(n||{}),i=Ty(r,t);if(i.length)throw new Error(i.map(function(e){return e.msg}).join("\n"));function o(t){e.hasOwnProperty(t)&&e[t].forEach(function(e){!function(e){return"HostBinding"===e.ngMetadataName}(e)?function(e){return"HostListener"===e.ngMetadataName}(e)&&(r.listeners[e.eventName||t]=t+"("+(e.args||[]).join(",")+")"):r.properties[e.hostPropertyName||t]=t})}for(var a in e)o(a);return r}function Wy(e){return e.reduce(function(e,t){var n=U(t.split(",").map(function(e){return e.trim()}),2),r=n[0],i=n[1];return e[r]=i||r,e},{})}function Gy(e){(e.ng||(e.ng={})).ɵcompilerFacade=new Ay}var Yy=new Wr("9.0.0-next.12"),Ky=function(e){var t=void 0===e?{}:e,n=t.defaultEncapsulation,r=void 0===n?I.Emulated:n,i=t.useJit,o=void 0===i||i,a=t.jitDevMode,s=void 0!==a&&a,l=t.missingTranslation,u=void 0===l?null:l,c=t.preserveWhitespaces,p=t.strictInjectionParameters;this.defaultEncapsulation=r,this.useJit=!!o,this.jitDevMode=!!s,this.missingTranslation=u,this.preserveWhitespaces=Zy(Tr(c)),this.strictInjectionParameters=!0===p};function Zy(e,t){return void 0===t&&(t=!1),null===e?t:e}var Qy=(Xy.prototype.clearCache=function(){this._resourceLoaderCache.clear()},Xy.prototype.clearCacheFor=function(e){var t=this;if(e.isComponent){var n=e.template;this._resourceLoaderCache.delete(n.templateUrl),n.externalStylesheets.forEach(function(e){t._resourceLoaderCache.delete(e.moduleUrl)})}},Xy.prototype._fetch=function(e){var t=this._resourceLoaderCache.get(e);return t||(t=this._resourceLoader.get(e),this._resourceLoaderCache.set(e,t)),t},Xy.prototype.normalizeTemplate=function(t){var n=this;if(Dr(t.template)){if(Dr(t.templateUrl))throw jr("'"+zr(t.componentType)+"' component cannot define both template and templateUrl");if("string"!=typeof t.template)throw jr("The template specified for component "+zr(t.componentType)+" is not a string")}else{if(!Dr(t.templateUrl))throw jr("No template specified for component "+zr(t.componentType));if("string"!=typeof t.templateUrl)throw jr("The templateUrl specified for component "+zr(t.componentType)+" is not a string")}if(Dr(t.preserveWhitespaces)&&"boolean"!=typeof t.preserveWhitespaces)throw jr("The preserveWhitespaces option for component "+zr(t.componentType)+" must be a boolean");return Mr(this._preParseTemplate(t),function(e){return n._normalizeTemplateMetadata(t,e)})},Xy.prototype._preParseTemplate=function(t){var e,n,r=this;return null!=t.template?(e=t.template,n=t.moduleUrl):(n=this._urlResolver.resolve(t.moduleUrl,t.templateUrl),e=this._fetch(n)),Mr(e,function(e){return r._preparseLoadedTemplate(t,e,n)})},Xy.prototype._preparseLoadedTemplate=function(e,t,n){var r=!!e.template,i=Rl.fromArray(e.interpolation),o=qi({reference:e.ngModuleType},{type:{reference:e.componentType}},{isInline:r,templateUrl:n}),a=this._htmlParser.parse(t,o,{tokenizeExpansionForms:!0,interpolationConfig:i});if(0<a.errors.length)throw jr("Template parse errors:\n"+a.errors.join("\n"));var s=this._normalizeStylesheet(new ki({styles:e.styles,moduleUrl:e.moduleUrl})),l=new $y;ep(l,a.rootNodes);var u=this._normalizeStylesheet(new ki({styles:l.styles,styleUrls:l.styleUrls,moduleUrl:n}));return{template:t,templateUrl:n,isInline:r,htmlAst:a,styles:s.styles.concat(u.styles),inlineStyleUrls:s.styleUrls.concat(u.styleUrls),styleUrls:this._normalizeStylesheet(new ki({styleUrls:e.styleUrls,moduleUrl:e.moduleUrl})).styleUrls,ngContentSelectors:l.ngContentSelectors}},Xy.prototype._normalizeTemplateMetadata=function(t,n){var r=this;return Mr(this._loadMissingExternalStylesheets(n.styleUrls.concat(n.inlineStyleUrls)),function(e){return r._normalizeLoadedTemplateMetadata(t,n,e)})},Xy.prototype._normalizeLoadedTemplateMetadata=function(e,t,r){var i=this,n=q(t.styles);this._inlineStyles(t.inlineStyleUrls,r,n);var o=t.styleUrls,a=o.map(function(e){var t=r.get(e),n=q(t.styles);return i._inlineStyles(t.styleUrls,r,n),new ki({moduleUrl:e,styles:n})}),s=e.encapsulation;return null==s&&(s=this._config.defaultEncapsulation),s===I.Emulated&&0===n.length&&0===o.length&&(s=I.None),new Di({encapsulation:s,template:t.template,templateUrl:t.templateUrl,htmlAst:t.htmlAst,styles:n,styleUrls:o,ngContentSelectors:t.ngContentSelectors,animations:e.animations,interpolation:e.interpolation,isInline:t.isInline,externalStylesheets:a,preserveWhitespaces:Zy(e.preserveWhitespaces,this._config.preserveWhitespaces)})},Xy.prototype._inlineStyles=function(e,n,r){var i=this;e.forEach(function(e){var t=n.get(e);t.styles.forEach(function(e){return r.push(e)}),i._inlineStyles(t.styleUrls,n,r)})},Xy.prototype._loadMissingExternalStylesheets=function(e,r){var i=this;return void 0===r&&(r=new Map),Mr(Rr(e.filter(function(e){return!r.has(e)}).map(function(n){return Mr(i._fetch(n),function(e){var t=i._normalizeStylesheet(new ki({styles:[e],moduleUrl:n}));return r.set(n,t),i._loadMissingExternalStylesheets(t.styleUrls,r)})})),function(e){return r})},Xy.prototype._normalizeStylesheet=function(e){var n=this,r=e.moduleUrl,i=e.styleUrls.filter(tm).map(function(e){return n._urlResolver.resolve(r,e)}),t=e.styles.map(function(e){var t=function(r,i,e){var o=[],t=e.replace(rm,"").replace(nm,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[1]||e[2];return tm(n)?(o.push(r.resolve(i,n)),""):e[0]});return new em(t,o)}(n._urlResolver,r,e);return i.push.apply(i,q(t.styleUrls)),t.style});return new ki({styles:t,styleUrls:i,moduleUrl:r})},Xy);function Xy(e,t,n,r){this._resourceLoader=e,this._urlResolver=t,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}var $y=(Jy.prototype.visitElement=function(e,t){var n=fm(e);switch(n.type){case dm.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case dm.STYLE:var r="";e.children.forEach(function(e){e instanceof zc&&(r+=e.value)}),this.styles.push(r);break;case dm.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,ep(this,e.children),n.nonBindable&&this.ngNonBindableStackCount--,null},Jy.prototype.visitExpansion=function(e,t){ep(this,e.cases)},Jy.prototype.visitExpansionCase=function(e,t){ep(this,e.expression)},Jy.prototype.visitComment=function(e,t){return null},Jy.prototype.visitAttribute=function(e,t){return null},Jy.prototype.visitText=function(e,t){return null},Jy);function Jy(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}var eg=[D,k,O,S],tg=(ng.prototype.isDirective=function(e){var t=this._reflector.annotations(qr(e));return t&&t.some(rg)},ng.prototype.resolve=function(e,t){void 0===t&&(t=!0);var n=this._reflector.annotations(qr(e));if(n){var r=ig(n,rg);if(r){var i=this._reflector.propMetadata(e),o=this._reflector.guards(e);return this._mergeWithPropertyMetadata(r,i,o,e)}}if(t)throw new Error("No Directive annotation found on "+zr(e));return null},ng.prototype._mergeWithPropertyMetadata=function(e,i,t,n){var o=[],a=[],s={},l={};return Object.keys(i).forEach(function(n){var e=ig(i[n],function(e){return G.isTypeOf(e)});e&&(e.bindingPropertyName?o.push(n+": "+e.bindingPropertyName):o.push(n));var t=ig(i[n],function(e){return Y.isTypeOf(e)});t&&(t.bindingPropertyName?a.push(n+": "+t.bindingPropertyName):a.push(n)),i[n].filter(function(e){return K.isTypeOf(e)}).forEach(function(e){if(e.hostPropertyName){var t=e.hostPropertyName[0];if("("===t)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===t)throw new Error("@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.");s["["+e.hostPropertyName+"]"]=n}else s["["+n+"]"]=n}),i[n].filter(function(e){return Z.isTypeOf(e)}).forEach(function(e){var t=e.args||[];s["("+e.eventName+")"]=n+"("+t.join(",")+")"});var r=ig(i[n],function(t){return eg.some(function(e){return e.isTypeOf(t)})});r&&(l[n]=r)}),this._merge(e,o,a,s,l,t,n)},ng.prototype._extractPublicName=function(e){return Er(e,[null,e])[1].trim()},ng.prototype._dedupeBindings=function(e){for(var t=new Set,n=new Set,r=[],i=e.length-1;0<=i;i--){var o=e[i],a=this._extractPublicName(o);n.add(a),t.has(a)||(t.add(a),r.push(o))}return r.reverse()},ng.prototype._merge=function(e,t,n,r,i,o,a){var s=this._dedupeBindings(e.inputs?e.inputs.concat(t):t),l=this._dedupeBindings(e.outputs?e.outputs.concat(n):n),u=e.host?m(m({},e.host),r):r,c=e.queries?m(m({},e.queries),i):i;if(F.isTypeOf(e)){var p=e;return F({selector:p.selector,inputs:s,outputs:l,host:u,exportAs:p.exportAs,moduleId:p.moduleId,queries:c,changeDetection:p.changeDetection,providers:p.providers,viewProviders:p.viewProviders,entryComponents:p.entryComponents,template:p.template,templateUrl:p.templateUrl,styles:p.styles,styleUrls:p.styleUrls,encapsulation:p.encapsulation,animations:p.animations,interpolation:p.interpolation,preserveWhitespaces:e.preserveWhitespaces})}return A({selector:e.selector,inputs:s,outputs:l,host:u,exportAs:e.exportAs,queries:c,providers:e.providers,guards:o})},ng);function ng(e){this._reflector=e}function rg(e){return A.isTypeOf(e)||F.isTypeOf(e)}function ig(e,t){for(var n=e.length-1;0<=n;n--)if(t(e[n]))return e[n];return null}var og,ag=(f(sg,og=Go),sg);function sg(e,t){return og.call(this,e,t)||this}var lg="i18n-",ug=/^i18n:?/,cg=!1;var pg,dg,hg=function(e,t){this.messages=e,this.errors=t};(dg=pg=pg||{})[dg.Extract=0]="Extract",dg[dg.Merge=1]="Merge";var fg=(mg.prototype.extract=function(e,t){var n=this;return this._init(pg.Extract,t),e.forEach(function(e){return e.visit(n,null)}),this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new hg(this._messages,this._errors)},mg.prototype.merge=function(e,t,n){this._init(pg.Merge,n),this._translations=t;var r=new Qc("wrapper",[],e,void 0,void 0,void 0).visit(this,null);return this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new Rh(r.children,this._errors)},mg.prototype.visitExpansionCase=function(e,t){var n=ep(this,e.expression,t);if(this._mode===pg.Merge)return new Gc(e.value,n,e.sourceSpan,e.valueSourceSpan,e.expSourceSpan)},mg.prototype.visitExpansion=function(e,t){this._mayBeAddBlockChildren(e);var n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([e]),this._inIcu=!0);var r=ep(this,e.cases,t);return this._mode===pg.Merge&&(e=new Hc(e.switchValue,e.type,r,e.sourceSpan,e.switchValueSourceSpan)),this._inIcu=n,e},mg.prototype.visitComment=function(e,t){var n=function(e){return!!(e instanceof $c&&e.value&&e.value.startsWith("i18n"))}(e);if(n&&this._isInTranslatableSection)this._reportError(e,"Could not start a block inside a translatable section");else{var r=function(e){return!!(e instanceof $c&&e.value&&"/i18n"===e.value)}(e);if(!r||this._inI18nBlock){if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(r){if(this._depth!=this._blockStartDepth)return void this._reportError(e,"I18N blocks should not cross element boundaries");this._closeTranslatableSection(e,this._blockChildren),this._inI18nBlock=!1;var i=this._addMessage(this._blockChildren,this._blockMeaningAndDesc),o=this._translateMessage(e,i);return ep(this,o)}}else if(n){if(!cg&&console&&console.warn){cg=!0;var a=e.sourceSpan.details?", "+e.sourceSpan.details:"";console.warn("I18n comments are deprecated, use an <ng-container> element instead ("+e.sourceSpan.start+a+")")}this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=e.value.replace(ug,"").trim(),this._openTranslatableSection(e)}}else this._reportError(e,"Trying to close an unopened block")}},mg.prototype.visitText=function(e,t){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(e),e},mg.prototype.visitElement=function(t,n){var r=this;this._mayBeAddBlockChildren(t),this._depth++;var e=this._inI18nNode,i=this._inImplicitNode,o=[],a=void 0,s=function(e){return e.attrs.find(function(e){return"i18n"===e.name})||null}(t),l=s?s.value:"",u=this._implicitTags.some(function(e){return t.name===e})&&!this._inIcu&&!this._isInTranslatableSection,c=!i&&u;if(this._inImplicitNode=i||u,this._isInTranslatableSection||this._inIcu)(s||c)&&this._reportError(t,"Could not mark an element as translatable inside a translatable section"),this._mode==pg.Extract&&ep(this,t.children);else{if(s||c){this._inI18nNode=!0;var p=this._addMessage(t.children,l);a=this._translateMessage(t,p)}if(this._mode==pg.Extract){var d=s||c;d&&this._openTranslatableSection(t),ep(this,t.children),d&&this._closeTranslatableSection(t,t.children)}}if(this._mode===pg.Merge&&(a||t.children).forEach(function(e){var t=e.visit(r,n);t&&!r._isInTranslatableSection&&(o=o.concat(t))}),this._visitAttributesOf(t),this._depth--,this._inI18nNode=e,this._inImplicitNode=i,this._mode!==pg.Merge)return null;var h=this._translateAttributes(t);return new Qc(t.name,h,o,t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},mg.prototype.visitAttribute=function(e,t){throw new Error("unreachable code")},mg.prototype._init=function(e,t){this._mode=e,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=sp(t)},mg.prototype._visitAttributesOf=function(e){var n=this,r={},i=this._implicitAttrs[e.name]||[];e.attrs.filter(function(e){return e.name.startsWith(lg)}).forEach(function(e){return r[e.name.slice(lg.length)]=e.value}),e.attrs.forEach(function(t){t.name in r?n._addMessage([t],r[t.name]):i.some(function(e){return t.name===e})&&n._addMessage([t])})},mg.prototype._addMessage=function(e,t){if(0==e.length||1==e.length&&e[0]instanceof Kc&&!e[0].value)return null;var n=vg(t),r=n.meaning,i=n.description,o=n.id,a=this._createI18nMessage(e,r,i,o);return this._messages.push(a),a},mg.prototype._translateMessage=function(e,t){if(t&&this._mode===pg.Merge){var n=this._translations.get(t);if(n)return n;this._reportError(e,'Translation unavailable for message id="'+this._translations.digest(t)+'"')}return[]},mg.prototype._translateAttributes=function(l){var u=this,e=l.attrs,c={};e.forEach(function(e){e.name.startsWith(lg)&&(c[e.name.slice(lg.length)]=vg(e.value))});var p=[];return e.forEach(function(e){if("i18n"!==e.name&&!e.name.startsWith(lg))if(e.value&&""!=e.value&&c.hasOwnProperty(e.name)){var t=c[e.name],n=t.meaning,r=t.description,i=t.id,o=u._createI18nMessage([e],n,r,i),a=u._translations.get(o);if(a)if(0==a.length)p.push(new Kc(e.name,"",e.sourceSpan));else if(a[0]instanceof zc){var s=a[0].value;p.push(new Kc(e.name,s,e.sourceSpan))}else u._reportError(l,'Unexpected translation for attribute "'+e.name+'" (id="'+(i||u._translations.digest(o))+'")');else u._reportError(l,'Translation unavailable for attribute "'+e.name+'" (id="'+(i||u._translations.digest(o))+'")')}else p.push(e)}),p},mg.prototype._mayBeAddBlockChildren=function(e){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(e)},mg.prototype._openTranslatableSection=function(e){this._isInTranslatableSection?this._reportError(e,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length},Object.defineProperty(mg.prototype,"_isInTranslatableSection",{get:function(){return void 0!==this._msgCountAtSectionStart},enumerable:!0,configurable:!0}),mg.prototype._closeTranslatableSection=function(e,t){if(this._isInTranslatableSection){var n=this._msgCountAtSectionStart;if(1==t.reduce(function(e,t){return e+(t instanceof $c?0:1)},0))for(var r=this._messages.length-1;n<=r;r--){var i=this._messages[r].nodes;if(!(1==i.length&&i[0]instanceof Ea)){this._messages.splice(r,1);break}}this._msgCountAtSectionStart=void 0}else this._reportError(e,"Unexpected section end")},mg.prototype._reportError=function(e,t){this._errors.push(new ag(e.sourceSpan,t))},mg);function mg(e,t){this._implicitTags=e,this._implicitAttrs=t}function vg(e){if(!e)return{meaning:"",description:"",id:""};var t=e.indexOf("@@"),n=e.indexOf("|"),r=U(-1<t?[e.slice(0,t),e.slice(t+2)]:[e,""],2),i=r[0],o=r[1],a=U(-1<n?[i.slice(0,n),i.slice(n+1)]:["",i],2);return{meaning:a[0],description:a[1],id:o}}function yg(){this.closedByParent=!1,this.contentType=E.TagContentType.PARSABLE_DATA,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0}var gg=new(yg.prototype.requireExtraParent=function(e){return!1},yg.prototype.isClosedByChild=function(e){return!1},yg);function _g(e){return gg}var bg,wg=(f(xg,bg=Nh),xg.prototype.parse=function(e,t,n){return bg.prototype.parse.call(this,e,t,n)},xg);function xg(){return bg.call(this,_g)||this}var Cg,Sg="trans-unit",Eg=(f(Og,Cg=hs),Og.prototype.write=function(e,t){var i=new kg,o=[];e.forEach(function(e){var t,n=[];e.sources.forEach(function(e){var t=new Es("context-group",{purpose:"location"});t.children.push(new Is(10),new Es("context",{"context-type":"sourcefile"},[new ks(e.filePath)]),new Is(10),new Es("context",{"context-type":"linenumber"},[new ks(""+e.startLine)]),new Is(8)),n.push(new Is(8),t)});var r=new Es(Sg,{id:e.id,datatype:"html"});(t=r.children).push.apply(t,q([new Is(8),new Es("source",{},i.serialize(e.nodes))],n)),e.description&&r.children.push(new Is(8),new Es("note",{priority:"1",from:"description"},[new ks(e.description)])),e.meaning&&r.children.push(new Is(8),new Es("note",{priority:"1",from:"meaning"},[new ks(e.meaning)])),r.children.push(new Is(6)),o.push(new Is(6),r)});var n=new Es("body",{},q(o,[new Is(4)])),r=new Es("file",{"source-language":t||"en",datatype:"plaintext",original:"ng2.template"},[new Is(4),n,new Is(2)]),a=new Es("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new Is(2),r,new Is]);return bs([new ws({version:"1.0",encoding:"UTF-8"}),new Is,a,new Is])},Og.prototype.load=function(e,i){var t=(new Tg).parse(e,i),n=t.locale,o=t.msgIdToHtml,a=t.errors,s={},l=new Pg;if(Object.keys(o).forEach(function(e){var t=l.convert(o[e],i),n=t.i18nNodes,r=t.errors;a.push.apply(a,q(r)),s[e]=n}),a.length)throw new Error("xliff parse errors:\n"+a.join("\n"));return{locale:n,i18nNodesByMsgId:s}},Og.prototype.digest=function(e){return Ua(e)},Og);function Og(){return null!==Cg&&Cg.apply(this,arguments)||this}var kg=(Dg.prototype.visitText=function(e,t){return[new ks(e.value)]},Dg.prototype.visitContainer=function(e,t){var n=this,r=[];return e.children.forEach(function(e){return r.push.apply(r,q(e.visit(n)))}),r},Dg.prototype.visitIcu=function(t,e){var n=this,r=[new ks("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,q([new ks(e+" {")],t.cases[e].visit(n),[new ks("} ")]))}),r.push(new ks("}")),r},Dg.prototype.visitTagPlaceholder=function(e,t){var n=function(e){switch(e.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+e}}(e.tag);if(e.isVoid)return[new Es("x",{id:e.startName,ctype:n,"equiv-text":"<"+e.tag+"/>"})];var r=new Es("x",{id:e.startName,ctype:n,"equiv-text":"<"+e.tag+">"}),i=new Es("x",{id:e.closeName,ctype:n,"equiv-text":"</"+e.tag+">"});return q([r],this.serialize(e.children),[i])},Dg.prototype.visitPlaceholder=function(e,t){return[new Es("x",{id:e.name,"equiv-text":"{{"+e.value+"}}"})]},Dg.prototype.visitIcuPlaceholder=function(e,t){var n="{"+e.value.expression+", "+e.value.type+", "+Object.keys(e.value.cases).map(function(e){return e+" {...}"}).join(" ")+"}";return[new Es("x",{id:e.name,"equiv-text":n})]},Dg.prototype.serialize=function(e){var t=this;return[].concat.apply([],q(e.map(function(e){return e.visit(t)})))},Dg);function Dg(){}var Tg=(Ig.prototype.parse=function(e,t){this._unitMlString=null,this._msgIdToHtml={};var n=(new wg).parse(e,t);return this._errors=n.errors,ep(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},Ig.prototype.visitElement=function(e,t){switch(e.name){case Sg:this._unitMlString=null;var n=e.attrs.find(function(e){return"id"===e.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(e,"Duplicated translations for msg "+r):(ep(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(e,"Message "+r+" misses a translation"))}else this._addError(e,"<"+Sg+'> misses the "id" attribute');break;case"source":case"seg-source":break;case"target":var i=e.startSourceSpan.end.offset,o=e.endSourceSpan.start.offset,a=e.startSourceSpan.start.file.content.slice(i,o);this._unitMlString=a;break;case"file":var s=e.attrs.find(function(e){return"target-language"===e.name});s&&(this._locale=s.value),ep(this,e.children,null);break;default:ep(this,e.children,null)}},Ig.prototype.visitAttribute=function(e,t){},Ig.prototype.visitText=function(e,t){},Ig.prototype.visitComment=function(e,t){},Ig.prototype.visitExpansion=function(e,t){},Ig.prototype.visitExpansionCase=function(e,t){},Ig.prototype._addError=function(e,t){this._errors.push(new ag(e.sourceSpan,t))},Ig);function Ig(){this._locale=null}var Pg=(Ag.prototype.convert=function(e,t){var n=(new wg).parse(e,t,{tokenizeExpansionForms:!0});return this._errors=n.errors,{i18nNodes:0<this._errors.length||0==n.rootNodes.length?[]:[].concat.apply([],q(ep(this,n.rootNodes))),errors:this._errors}},Ag.prototype.visitText=function(e,t){return new Ea(e.value,e.sourceSpan)},Ag.prototype.visitElement=function(e,t){if("x"!==e.name)return"mrk"===e.name?[].concat.apply([],q(ep(this,e.children))):(this._addError(e,"Unexpected tag"),null);var n=e.attrs.find(function(e){return"id"===e.name});return n?new Ma("",n.value,e.sourceSpan):(this._addError(e,'<x> misses the "id" attribute'),null)},Ag.prototype.visitExpansion=function(t,e){var n={};return ep(this,t.cases).forEach(function(e){n[e.value]=new ka(e.nodes,t.sourceSpan)}),new Ta(t.switchValue,t.type,n,t.sourceSpan)},Ag.prototype.visitExpansionCase=function(e,t){return{value:e.value,nodes:ep(this,e.expression)}},Ag.prototype.visitComment=function(e,t){},Ag.prototype.visitAttribute=function(e,t){},Ag.prototype._addError=function(e,t){this._errors.push(new ag(e.sourceSpan,t))},Ag);function Ag(){}var Mg,Rg=(f(Ng,Mg=hs),Ng.prototype.write=function(e,t){var i=new jg,o=[];e.forEach(function(e){var t=new Es("unit",{id:e.id}),n=new Es("notes");(e.description||e.meaning)&&(e.description&&n.children.push(new Is(8),new Es("note",{category:"description"},[new ks(e.description)])),e.meaning&&n.children.push(new Is(8),new Es("note",{category:"meaning"},[new ks(e.meaning)]))),e.sources.forEach(function(e){n.children.push(new Is(8),new Es("note",{category:"location"},[new ks(e.filePath+":"+e.startLine+(e.endLine!==e.startLine?","+e.endLine:""))]))}),n.children.push(new Is(6)),t.children.push(new Is(6),n);var r=new Es("segment");r.children.push(new Is(8),new Es("source",{},i.serialize(e.nodes)),new Is(6)),t.children.push(new Is(6),r,new Is(4)),o.push(new Is(4),t)});var n=new Es("file",{original:"ng.template",id:"ngi18n"},q(o,[new Is(2)])),r=new Es("xliff",{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:t||"en"},[new Is(2),n,new Is]);return bs([new ws({version:"1.0",encoding:"UTF-8"}),new Is,r,new Is])},Ng.prototype.load=function(e,i){var t=(new Lg).parse(e,i),n=t.locale,o=t.msgIdToHtml,a=t.errors,s={},l=new Bg;if(Object.keys(o).forEach(function(e){var t=l.convert(o[e],i),n=t.i18nNodes,r=t.errors;a.push.apply(a,q(r)),s[e]=n}),a.length)throw new Error("xliff2 parse errors:\n"+a.join("\n"));return{locale:n,i18nNodesByMsgId:s}},Ng.prototype.digest=function(e){return qa(e)},Ng);function Ng(){return null!==Mg&&Mg.apply(this,arguments)||this}var jg=(Fg.prototype.visitText=function(e,t){return[new ks(e.value)]},Fg.prototype.visitContainer=function(e,t){var n=this,r=[];return e.children.forEach(function(e){return r.push.apply(r,q(e.visit(n)))}),r},Fg.prototype.visitIcu=function(t,e){var n=this,r=[new ks("{"+t.expressionPlaceholder+", "+t.type+", ")];return Object.keys(t.cases).forEach(function(e){r.push.apply(r,q([new ks(e+" {")],t.cases[e].visit(n),[new ks("} ")]))}),r.push(new ks("}")),r},Fg.prototype.visitTagPlaceholder=function(e,t){var n=this,r=function(e){switch(e.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}(e.tag);if(e.isVoid)return[new Es("ph",{id:(this._nextPlaceholderId++).toString(),equiv:e.startName,type:r,disp:"<"+e.tag+"/>"})];var i=new Es("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:e.startName,equivEnd:e.closeName,type:r,dispStart:"<"+e.tag+">",dispEnd:"</"+e.tag+">"}),o=[].concat.apply([],q(e.children.map(function(e){return e.visit(n)})));return o.length?o.forEach(function(e){return i.children.push(e)}):i.children.push(new ks("")),[i]},Fg.prototype.visitPlaceholder=function(e,t){var n=(this._nextPlaceholderId++).toString();return[new Es("ph",{id:n,equiv:e.name,disp:"{{"+e.value+"}}"})]},Fg.prototype.visitIcuPlaceholder=function(e,t){var n=Object.keys(e.value.cases).map(function(e){return e+" {...}"}).join(" "),r=(this._nextPlaceholderId++).toString();return[new Es("ph",{id:r,equiv:e.name,disp:"{"+e.value.expression+", "+e.value.type+", "+n+"}"})]},Fg.prototype.serialize=function(e){var t=this;return this._nextPlaceholderId=0,[].concat.apply([],q(e.map(function(e){return e.visit(t)})))},Fg);function Fg(){}var Lg=(Vg.prototype.parse=function(e,t){this._unitMlString=null,this._msgIdToHtml={};var n=(new wg).parse(e,t);return this._errors=n.errors,ep(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},Vg.prototype.visitElement=function(e,t){switch(e.name){case"unit":this._unitMlString=null;var n=e.attrs.find(function(e){return"id"===e.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(e,"Duplicated translations for msg "+r):(ep(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(e,"Message "+r+" misses a translation"))}else this._addError(e,'<unit> misses the "id" attribute');break;case"source":break;case"target":var i=e.startSourceSpan.end.offset,o=e.endSourceSpan.start.offset,a=e.startSourceSpan.start.file.content.slice(i,o);this._unitMlString=a;break;case"xliff":var s=e.attrs.find(function(e){return"trgLang"===e.name});s&&(this._locale=s.value);var l=e.attrs.find(function(e){return"version"===e.name});if(l){var u=l.value;"2.0"!==u?this._addError(e,"The XLIFF file version "+u+" is not compatible with XLIFF 2.0 serializer"):ep(this,e.children,null)}break;default:ep(this,e.children,null)}},Vg.prototype.visitAttribute=function(e,t){},Vg.prototype.visitText=function(e,t){},Vg.prototype.visitComment=function(e,t){},Vg.prototype.visitExpansion=function(e,t){},Vg.prototype.visitExpansionCase=function(e,t){},Vg.prototype._addError=function(e,t){this._errors.push(new ag(e.sourceSpan,t))},Vg);function Vg(){this._locale=null}var Bg=(Ug.prototype.convert=function(e,t){var n=(new wg).parse(e,t,{tokenizeExpansionForms:!0});return this._errors=n.errors,{i18nNodes:0<this._errors.length||0==n.rootNodes.length?[]:[].concat.apply([],q(ep(this,n.rootNodes))),errors:this._errors}},Ug.prototype.visitText=function(e,t){return new Ea(e.value,e.sourceSpan)},Ug.prototype.visitElement=function(e,t){var n=this;switch(e.name){case"ph":var r=e.attrs.find(function(e){return"equiv"===e.name});if(r)return[new Ma("",r.value,e.sourceSpan)];this._addError(e,'<ph> misses the "equiv" attribute');break;case"pc":var i=e.attrs.find(function(e){return"equivStart"===e.name}),o=e.attrs.find(function(e){return"equivEnd"===e.name});if(i){if(o){var a=i.value,s=o.value,l=[];return l.concat.apply(l,q([new Ma("",a,e.sourceSpan)],e.children.map(function(e){return e.visit(n,null)}),[new Ma("",s,e.sourceSpan)]))}this._addError(e,'<ph> misses the "equivEnd" attribute')}else this._addError(e,'<ph> misses the "equivStart" attribute');break;case"mrk":return[].concat.apply([],q(ep(this,e.children)));default:this._addError(e,"Unexpected tag")}return null},Ug.prototype.visitExpansion=function(t,e){var n={};return ep(this,t.cases).forEach(function(e){n[e.value]=new ka(e.nodes,t.sourceSpan)}),new Ta(t.switchValue,t.type,n,t.sourceSpan)},Ug.prototype.visitExpansionCase=function(e,t){return{value:e.value,nodes:[].concat.apply([],q(ep(this,e.expression)))}},Ug.prototype.visitComment=function(e,t){},Ug.prototype.visitAttribute=function(e,t){},Ug.prototype._addError=function(e,t){this._errors.push(new ag(e.sourceSpan,t))},Ug);function Ug(){}var zg,qg="translationbundle",Hg="translation",Wg=(f(Gg,zg=hs),Gg.prototype.write=function(e,t){throw new Error("Unsupported")},Gg.prototype.load=function(e,i){var t=(new Yg).parse(e,i),n=t.locale,o=t.msgIdToHtml,r=t.errors,a={},s=new Zg;if(Object.keys(o).forEach(function(r){!function(t,n,r){Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get:function(){var e=r();return Object.defineProperty(t,n,{enumerable:!0,value:e}),e},set:function(e){throw new Error("Could not overwrite an XTB translation")}})}(a,r,function(){var e=s.convert(o[r],i),t=e.i18nNodes,n=e.errors;if(n.length)throw new Error("xtb parse errors:\n"+n.join("\n"));return t})}),r.length)throw new Error("xtb parse errors:\n"+r.join("\n"));return{locale:n,i18nNodesByMsgId:a}},Gg.prototype.digest=function(e){return zs(e)},Gg.prototype.createNameMapper=function(e){return new vs(e,Ws)},Gg);function Gg(){return null!==zg&&zg.apply(this,arguments)||this}var Yg=(Kg.prototype.parse=function(e,t){this._bundleDepth=0,this._msgIdToHtml={};var n=(new wg).parse(e,t);return this._errors=n.errors,ep(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},Kg.prototype.visitElement=function(e,t){switch(e.name){case qg:this._bundleDepth++,1<this._bundleDepth&&this._addError(e,"<"+qg+"> elements can not be nested");var n=e.attrs.find(function(e){return"lang"===e.name});n&&(this._locale=n.value),ep(this,e.children,null),this._bundleDepth--;break;case Hg:var r=e.attrs.find(function(e){return"id"===e.name});if(r){var i=r.value;if(this._msgIdToHtml.hasOwnProperty(i))this._addError(e,"Duplicated translations for msg "+i);else{var o=e.startSourceSpan.end.offset,a=e.endSourceSpan.start.offset,s=e.startSourceSpan.start.file.content.slice(o,a);this._msgIdToHtml[i]=s}}else this._addError(e,"<"+Hg+'> misses the "id" attribute');break;default:this._addError(e,"Unexpected tag")}},Kg.prototype.visitAttribute=function(e,t){},Kg.prototype.visitText=function(e,t){},Kg.prototype.visitComment=function(e,t){},Kg.prototype.visitExpansion=function(e,t){},Kg.prototype.visitExpansionCase=function(e,t){},Kg.prototype._addError=function(e,t){this._errors.push(new ag(e.sourceSpan,t))},Kg);function Kg(){this._locale=null}var Zg=(Qg.prototype.convert=function(e,t){var n=(new wg).parse(e,t,{tokenizeExpansionForms:!0});return this._errors=n.errors,{i18nNodes:0<this._errors.length||0==n.rootNodes.length?[]:ep(this,n.rootNodes),errors:this._errors}},Qg.prototype.visitText=function(e,t){return new Ea(e.value,e.sourceSpan)},Qg.prototype.visitExpansion=function(t,e){var n={};return ep(this,t.cases).forEach(function(e){n[e.value]=new ka(e.nodes,t.sourceSpan)}),new Ta(t.switchValue,t.type,n,t.sourceSpan)},Qg.prototype.visitExpansionCase=function(e,t){return{value:e.value,nodes:ep(this,e.expression)}},Qg.prototype.visitElement=function(e,t){if("ph"===e.name){var n=e.attrs.find(function(e){return"name"===e.name});if(n)return new Ma("",n.value,e.sourceSpan);this._addError(e,'<ph> misses the "name" attribute')}else this._addError(e,"Unexpected tag");return null},Qg.prototype.visitComment=function(e,t){},Qg.prototype.visitAttribute=function(e,t){},Qg.prototype._addError=function(e,t){this._errors.push(new ag(e.sourceSpan,t))},Qg);function Qg(){}var Xg=($g.load=function(e,t,n,r,i){var o=n.load(e,t),a=o.locale;return new $g(o.i18nNodesByMsgId,a,function(e){return n.digest(e)},function(e){return n.createNameMapper(e)},r,i)},$g.prototype.get=function(e){var t=this._i18nToHtml.convert(e);if(t.errors.length)throw new Error(t.errors.join("\n"));return t.nodes},$g.prototype.has=function(e){return this.digest(e)in this._i18nNodesByMsgId},$g);function $g(e,t,n,r,i,o){void 0===e&&(e={}),void 0===i&&(i=N.Warning),this._i18nNodesByMsgId=e,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new Jg(e,t,n,r,i,o)}var Jg=(e_.prototype.convert=function(e){this._contextStack.length=0,this._errors.length=0;var t=this._convertToText(e),n=e.nodes[0].sourceSpan.start.file.url,r=(new Uh).parse(t,n,{tokenizeExpansionForms:!0});return{nodes:r.rootNodes,errors:q(this._errors,r.errors)}},e_.prototype.visitText=function(e,t){return Ms(e.value)},e_.prototype.visitContainer=function(e,t){var n=this;return e.children.map(function(e){return e.visit(n)}).join("")},e_.prototype.visitIcu=function(t,e){var n=this,r=Object.keys(t.cases).map(function(e){return e+" {"+t.cases[e].visit(n)+"}"});return"{"+(this._srcMsg.placeholders.hasOwnProperty(t.expression)?this._srcMsg.placeholders[t.expression]:t.expression)+", "+t.type+", "+r.join(" ")+"}"},e_.prototype.visitPlaceholder=function(e,t){var n=this._mapper(e.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n]:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(e,'Unknown placeholder "'+e.name+'"'),"")},e_.prototype.visitTagPlaceholder=function(t,e){var n=this,r=""+t.tag,i=Object.keys(t.attrs).map(function(e){return e+'="'+t.attrs[e]+'"'}).join(" ");return t.isVoid?"<"+r+" "+i+"/>":"<"+r+" "+i+">"+t.children.map(function(e){return e.visit(n)}).join("")+"</"+r+">"},e_.prototype.visitIcuPlaceholder=function(e,t){return this._convertToText(this._srcMsg.placeholderToMessage[e.name])},e_.prototype._convertToText=function(e){var t,n=this,r=this._digest(e),i=this._mapperFactory?this._mapperFactory(e):null;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=e,this._i18nNodesByMsgId.hasOwnProperty(r))t=this._i18nNodesByMsgId[r],this._mapper=function(e){return i?i.toInternalName(e):e};else{if(this._missingTranslationStrategy===N.Error){var o=this._locale?' for locale "'+this._locale+'"':"";this._addError(e.nodes[0],'Missing translation for message "'+r+'"'+o)}else this._console&&this._missingTranslationStrategy===N.Warning&&(o=this._locale?' for locale "'+this._locale+'"':"",this._console.warn('Missing translation for message "'+r+'"'+o));t=e.nodes,this._mapper=function(e){return e}}var a=t.map(function(e){return e.visit(n)}).join(""),s=this._contextStack.pop();return this._srcMsg=s.msg,this._mapper=s.mapper,a},e_.prototype._addError=function(e,t){this._errors.push(new ag(e.sourceSpan,t))},e_);function e_(e,t,n,r,i,o){void 0===e&&(e={}),this._i18nNodesByMsgId=e,this._locale=t,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=i,this._console=o,this._contextStack=[],this._errors=[]}var t_=(n_.prototype.parse=function(e,t,n){void 0===n&&(n={});var r=n.interpolationConfig||Fl,i=this._htmlParser.parse(e,t,m({interpolationConfig:r},n));return i.errors.length?new Rh(i.rootNodes,i.errors):function(e,t,n,r,i){return new fg(r,i).merge(e,t,n)}(i.rootNodes,this._translationBundle,r,[],{})},n_);function n_(e,t,n,r,i){if(void 0===r&&(r=N.Warning),this._htmlParser=e,t){var o=function(e){switch(e=(e||"xlf").toLowerCase()){case"xmb":return new Ls;case"xtb":return new Wg;case"xliff2":case"xlf2":return new Rg;case"xliff":case"xlf":default:return new Eg}}(n);this._translationBundle=Xg.load(t,"i18n",o,r,i)}else this._translationBundle=new Xg({},null,Ua,void 0,r,i)}function r_(e,t,n){return void 0===n&&(n=null),kr(t,new i_(e),n)}var i_=(o_.prototype.visitArray=function(e,t){var n=this;return gr(e.map(function(e){return kr(e,n,null)}),t)},o_.prototype.visitStringMap=function(t,e){var n=this,r=[],i=new Set(t&&t.$quoted$);return Object.keys(t).forEach(function(e){r.push(new Xt(e,kr(t[e],n,null),i.has(e)))}),new en(r,e)},o_.prototype.visitPrimitive=function(e,t){return xr(e,t)},o_.prototype.visitOther=function(e,t){return e instanceof je?e:this.ctx.importExpr(e)},o_);function o_(e){this.ctx=e}function a_(e,t){return{key:e,value:t,quoted:!1}}var s_=(l_.prototype.depsArray=function(e,s){var l=this;return e.map(function(e){var t,n=e,r=[n],i=0;if(Array.isArray(e))for(var o=0;o<e.length;o++){var a=e[o];a&&("Optional"===a.ngMetadataName?i|=8:"SkipSelf"===a.ngMetadataName?i|=4:"Self"===a.ngMetadataName?i|=2:n="Inject"===a.ngMetadataName?a.token:a)}return t="string"==typeof n?xr(n):n===l.tokenInjector?mr(si.INJECTOR):s.importExpr(n),r=0!==i?[t,xr(i)]:[t],mr(si.inject).callFn(r)})},l_.prototype.factoryFor=function(e,t){var n;if(e.useExisting)n=mr(si.inject).callFn([t.importExpr(e.useExisting)]);else if(e.useFactory){var r=e.deps||[];if(!(0<r.length))return t.importExpr(e.useFactory);n=t.importExpr(e.useFactory).callFn(this.depsArray(r,t))}else if(e.useValue)n=r_(t,e.useValue);else{var i=e.useClass||e.symbol,o=this.depsArray(this.reflector.parameters(i),t);n=new ct(t.importExpr(i),o)}return br([],[new wn(n)],void 0,void 0,e.symbol.name+"_Factory")},l_.prototype.injectableDef=function(e,t){var n=sn;void 0!==e.providedIn&&(n=null===e.providedIn?sn:"string"==typeof e.providedIn?xr(e.providedIn):t.importExpr(e.providedIn));var r=[a_("factory",this.factoryFor(e,t)),a_("token",t.importExpr(e.type.reference)),a_("providedIn",n)];return mr(si.ɵɵdefineInjectable).callFn([_r(r)])},l_.prototype.compile=function(e,t){if(this.alwaysGenerateDef||void 0!==e.providedIn){var n=_i(e.type),r=new Nn(n,null,[new On("ɵprov",De,[E.StmtModifier.Static],this.injectableDef(e,t))],[],new Tn(null,[],[]),[]);t.statements.push(r)}},l_);function l_(e,t){this.reflector=e,this.alwaysGenerateDef=t,this.tokenInjector=e.resolveExternalReference(si.Injector)}var u_=/(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/,c_=/\.ngfactory\.|\.ngsummary\./,p_=/\.ngsummary\./,d_=/NgSummary$/;function h_(e,t){void 0===t&&(t=!1);var n=m_(e,t);return n[0]+".ngfactory"+v_(n[1])}function f_(e){return e.replace(c_,".")}function m_(e,t){if(void 0===t&&(t=!1),e.endsWith(".d.ts"))return[e.slice(0,-5),t?".ts":".d.ts"];var n=e.lastIndexOf(".");return-1!==n?[e.substring(0,n),e.substring(n)]:[e,""]}function v_(e){return".tsx"===e?".ts":e}function y_(e){return e.replace(u_,"")+".ngsummary.json"}function g_(e,t){void 0===t&&(t=!1);var n=m_(f_(e),t);return n[0]+".ngsummary"+n[1]}function __(e){return e+"NgSummary"}var b_,w_,x_=/\u0275\d+/;function C_(e){return x_.test(e)}(w_=b_=b_||{})[w_.OnInit=0]="OnInit",w_[w_.OnDestroy=1]="OnDestroy",w_[w_.DoCheck=2]="DoCheck",w_[w_.OnChanges=3]="OnChanges",w_[w_.AfterContentInit=4]="AfterContentInit",w_[w_.AfterContentChecked=5]="AfterContentChecked",w_[w_.AfterViewInit=6]="AfterViewInit",w_[w_.AfterViewChecked=7]="AfterViewChecked";var S_=[b_.OnInit,b_.OnDestroy,b_.DoCheck,b_.OnChanges,b_.AfterContentInit,b_.AfterContentChecked,b_.AfterViewInit,b_.AfterViewChecked];function E_(e,t,n){return e.hasLifecycleHook(n,function(e){switch(e){case b_.OnInit:return"ngOnInit";case b_.OnDestroy:return"ngOnDestroy";case b_.DoCheck:return"ngDoCheck";case b_.OnChanges:return"ngOnChanges";case b_.AfterContentInit:return"ngAfterContentInit";case b_.AfterContentChecked:return"ngAfterContentChecked";case b_.AfterViewInit:return"ngAfterViewInit";case b_.AfterViewChecked:return"ngAfterViewChecked";default:throw new Error("unexpected "+e)}}(t))}var O_="ngComponentType",k_=(D_.prototype.getReflector=function(){return this._reflector},D_.prototype.clearCacheFor=function(e){var t=this._directiveCache.get(e);this._directiveCache.delete(e),this._nonNormalizedDirectiveCache.delete(e),this._summaryCache.delete(e),this._pipeCache.delete(e),this._ngModuleOfTypes.delete(e),this._ngModuleCache.clear(),t&&this._directiveNormalizer.clearCacheFor(t)},D_.prototype.clearCache=function(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()},D_.prototype._createProxyClass=function(e,t){function n(){if(!r)throw new Error("Illegal state: Class "+t+" for type "+zr(e)+" is not compiled yet!");return r.apply(this,arguments)}var r=null;return n.setDelegate=function(e){n.prototype=(r=e).prototype},n.overriddenName=t,n},D_.prototype.getGeneratedClass=function(e,t){return e instanceof pi?this._staticSymbolCache.get(h_(e.filePath),t):this._createProxyClass(e,t)},D_.prototype.getComponentViewClass=function(e){return this.getGeneratedClass(e,wi(e,0))},D_.prototype.getHostComponentViewClass=function(e){return this.getGeneratedClass(e,Ci(e))},D_.prototype.getHostComponentType=function(e){var t=_i({reference:e})+"_Host";return e instanceof pi?this._staticSymbolCache.get(e.filePath,t):this._createProxyClass(e,t)},D_.prototype.getRendererType=function(e){return e instanceof pi?this._staticSymbolCache.get(h_(e.filePath),xi(e)):{}},D_.prototype.getComponentFactory=function(e,t,n,r){if(t instanceof pi)return this._staticSymbolCache.get(h_(t.filePath),Si(t));var i=this.getHostComponentViewClass(t);return this._reflector.resolveExternalReference(si.createComponentFactory)(e,t,i,n,r,[])},D_.prototype.initComponentFactory=function(e,t){var n;e instanceof pi||(n=e.ngContentSelectors).push.apply(n,q(t))},D_.prototype._loadSummary=function(e,t){var n=this._summaryCache.get(e);if(!n){var r=this._summaryResolver.resolveSummary(e);n=r?r.type:null,this._summaryCache.set(e,n||null)}return n&&n.summaryKind===t?n:null},D_.prototype.getHostComponentMetadata=function(e,t){var n=this.getHostComponentType(e.type.reference);t=t||this.getHostComponentViewClass(n);var r=B.parse(e.selector)[0].getMatchingElementTemplate(),i=this._htmlParser.parse(r,"");return Ii.create({isHost:!0,type:{reference:n,diDeps:[],lifecycleHooks:[]},template:new Di({encapsulation:I.None,template:r,templateUrl:"",htmlAst:i,styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:P.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],guards:{},viewQueries:[],componentViewType:t,rendererType:{id:"__Host__",encapsulation:I.None,styles:[],data:{}},entryComponents:[],componentFactory:null})},D_.prototype.loadDirectiveMetadata=function(e,n,t){var r=this;if(this._directiveCache.has(n))return null;function i(e){var t=new Ii({isHost:!1,type:s.type,isComponent:s.isComponent,selector:s.selector,exportAs:s.exportAs,changeDetection:s.changeDetection,inputs:s.inputs,outputs:s.outputs,hostListeners:s.hostListeners,hostProperties:s.hostProperties,hostAttributes:s.hostAttributes,providers:s.providers,viewProviders:s.viewProviders,queries:s.queries,guards:s.guards,viewQueries:s.viewQueries,entryComponents:s.entryComponents,componentViewType:s.componentViewType,rendererType:s.rendererType,componentFactory:s.componentFactory,template:e});return e&&r.initComponentFactory(s.componentFactory,e.ngContentSelectors),r._directiveCache.set(n,t),r._summaryCache.set(n,t.toSummary()),null}n=qr(n);var o=this.getNonNormalizedDirectiveMetadata(n),a=o.annotation,s=o.metadata;if(s.isComponent){var l=s.template,u=this._directiveNormalizer.normalizeTemplate({ngModuleType:e,componentType:n,moduleUrl:this._reflector.componentModuleUrl(n,a),encapsulation:l.encapsulation,template:l.template,templateUrl:l.templateUrl,styles:l.styles,styleUrls:l.styleUrls,animations:l.animations,interpolation:l.interpolation,preserveWhitespaces:l.preserveWhitespaces});return Hr(u)&&t?(this._reportError(function(e){var t=Error("Can't compile synchronously as "+zr(e)+" is still being loaded!");return t[O_]=e,t}(n),n),null):Mr(u,i)}return i(null),null},D_.prototype.getNonNormalizedDirectiveMetadata=function(e){var t=this;if(!(e=qr(e)))return null;var n=this._nonNormalizedDirectiveCache.get(e);if(n)return n;var r=this._directiveResolver.resolve(e,!1);if(!r)return null;var i=void 0;if(F.isTypeOf(r)){Pl("styles",(a=r).styles),Pl("styleUrls",a.styleUrls),Ml("interpolation",a.interpolation);var o=a.animations;i=new Di({encapsulation:Tr(a.encapsulation),template:Tr(a.template),templateUrl:Tr(a.templateUrl),htmlAst:null,styles:a.styles||[],styleUrls:a.styleUrls||[],animations:o||[],interpolation:Tr(a.interpolation),isInline:!!a.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:Tr(r.preserveWhitespaces)})}var a,s=null,l=[],u=[],c=r.selector;c=F.isTypeOf(r)?(s=(a=r).changeDetection,a.viewProviders&&(l=this._getProvidersMetadata(a.viewProviders,u,'viewProviders for "'+R_(e)+'"',[],e)),a.entryComponents&&(u=T_(a.entryComponents).map(function(e){return t._getEntryComponentMetadata(e)}).concat(u)),c||this._schemaRegistry.getDefaultComponentElementName()):c||null;var p=[];null!=r.providers&&(p=this._getProvidersMetadata(r.providers,u,'providers for "'+R_(e)+'"',[],e));var d=[],h=[];null!=r.queries&&(d=this._getQueriesMetadata(r.queries,!1,e),h=this._getQueriesMetadata(r.queries,!0,e));var f=Ii.create({isHost:!1,selector:c,exportAs:Tr(r.exportAs),isComponent:!!i,type:this._getTypeMetadata(e),template:i,changeDetection:s,inputs:r.inputs||[],outputs:r.outputs||[],host:r.host||{},providers:p||[],viewProviders:l||[],queries:d||[],guards:r.guards||{},viewQueries:h||[],entryComponents:u,componentViewType:i?this.getComponentViewClass(e):null,rendererType:i?this.getRendererType(e):null,componentFactory:null});return i&&(f.componentFactory=this.getComponentFactory(c,e,f.inputs,f.outputs)),n={metadata:f,annotation:r},this._nonNormalizedDirectiveCache.set(e,n),n},D_.prototype.getDirectiveMetadata=function(e){var t=this._directiveCache.get(e);return t||this._reportError(jr("Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive "+R_(e)+"."),e),t},D_.prototype.getDirectiveSummary=function(e){var t=this._loadSummary(e,E.CompileSummaryKind.Directive);return t||this._reportError(jr("Illegal state: Could not load the summary for directive "+R_(e)+"."),e),t},D_.prototype.isDirective=function(e){return!!this._loadSummary(e,E.CompileSummaryKind.Directive)||this._directiveResolver.isDirective(e)},D_.prototype.isAbstractDirective=function(e){var t=this._loadSummary(e,E.CompileSummaryKind.Directive);if(t&&!t.isComponent)return!t.selector;var n=this._directiveResolver.resolve(e,!1);return!(!n||F.isTypeOf(n)||n.selector)},D_.prototype.isPipe=function(e){return!!this._loadSummary(e,E.CompileSummaryKind.Pipe)||this._pipeResolver.isPipe(e)},D_.prototype.isNgModule=function(e){return!!this._loadSummary(e,E.CompileSummaryKind.NgModule)||this._ngModuleResolver.isNgModule(e)},D_.prototype.getNgModuleSummary=function(e,t){void 0===t&&(t=null);var n=this._loadSummary(e,E.CompileSummaryKind.NgModule);if(!n){var r=this.getNgModuleMetadata(e,!1,t);(n=r?r.toSummary():null)&&this._summaryCache.set(e,n)}return n},D_.prototype.loadNgModuleDirectiveAndPipeMetadata=function(n,r,e){var i=this;void 0===e&&(e=!0);var t=this.getNgModuleMetadata(n,e),o=[];return t&&(t.declaredDirectives.forEach(function(e){var t=i.loadDirectiveMetadata(n,e.reference,r);t&&o.push(t)}),t.declaredPipes.forEach(function(e){return i._loadPipeMetadata(e.reference)})),Promise.all(o)},D_.prototype.getShallowModuleMetadata=function(e){var t=this._shallowModuleCache.get(e);if(t)return t;var n=ig(this._reflector.shallowAnnotations(e),Q.isTypeOf);return t={type:this._getTypeMetadata(e),rawExports:n.exports,rawImports:n.imports,rawProviders:n.providers},this._shallowModuleCache.set(e,t),t},D_.prototype.getNgModuleMetadata=function(i,e,o){var a=this;void 0===e&&(e=!0),void 0===o&&(o=null),i=qr(i);var t=this._ngModuleCache.get(i);if(t)return t;var n=this._ngModuleResolver.resolve(i,e);if(!n)return null;var r=[],s=[],l=[],u=[],c=[],p=[],d=[],h=[],f=[];n.imports&&T_(n.imports).forEach(function(e){var t=void 0;if(I_(e))t=e;else if(e&&e.ngModule){var n=e;t=n.ngModule,n.providers&&p.push.apply(p,q(a._getProvidersMetadata(n.providers,d,"provider for the NgModule '"+R_(t)+"'",[],e)))}if(t){if(!a._checkSelfImport(i,t))if((o=o||new Set).has(t))a._reportError(jr(a._getTypeDescriptor(t)+" '"+R_(e)+"' is imported recursively by the module '"+R_(i)+"'."),i);else{o.add(t);var r=a.getNgModuleSummary(t,o);o.delete(t),r?u.push(r):a._reportError(jr("Unexpected "+a._getTypeDescriptor(e)+" '"+R_(e)+"' imported by the module '"+R_(i)+"'. Please add a @NgModule annotation."),i)}}else a._reportError(jr("Unexpected value '"+R_(e)+"' imported by the module '"+R_(i)+"'"),i)}),n.exports&&T_(n.exports).forEach(function(e){if(I_(e))if((o=o||new Set).has(e))a._reportError(jr(a._getTypeDescriptor(e)+" '"+zr(e)+"' is exported recursively by the module '"+R_(i)+"'"),i);else{o.add(e);var t=a.getNgModuleSummary(e,o);o.delete(e),t?c.push(t):s.push(a._getIdentifierMetadata(e))}else a._reportError(jr("Unexpected value '"+R_(e)+"' exported by the module '"+R_(i)+"'"),i)});var m=this._getTransitiveNgModuleMetadata(u,c);n.declarations&&T_(n.declarations).forEach(function(e){if(I_(e)){var t=a._getIdentifierMetadata(e);if(a.isDirective(e))a.isAbstractDirective(e)&&a._reportError(jr("Directive "+R_(e)+" has no selector, please add it!"),e),m.addDirective(t),r.push(t),a._addTypeToModule(e,i);else{if(!a.isPipe(e))return void a._reportError(jr("Unexpected "+a._getTypeDescriptor(e)+" '"+R_(e)+"' declared by the module '"+R_(i)+"'. Please add a @Pipe/@Directive/@Component annotation."),i);m.addPipe(t),m.pipes.push(t),l.push(t),a._addTypeToModule(e,i)}}else a._reportError(jr("Unexpected value '"+R_(e)+"' declared by the module '"+R_(i)+"'"),i)});var v=[],y=[];return s.forEach(function(e){if(m.directivesSet.has(e.reference))v.push(e),m.addExportedDirective(e);else{if(!m.pipesSet.has(e.reference))return void a._reportError(jr("Can't export "+a._getTypeDescriptor(e.reference)+" "+R_(e.reference)+" from "+R_(i)+" as it was neither declared nor imported!"),i);y.push(e),m.addExportedPipe(e)}}),n.providers&&p.push.apply(p,q(this._getProvidersMetadata(n.providers,d,"provider for the NgModule '"+R_(i)+"'",[],i))),n.entryComponents&&d.push.apply(d,q(T_(n.entryComponents).map(function(e){return a._getEntryComponentMetadata(e)}))),n.bootstrap&&T_(n.bootstrap).forEach(function(e){I_(e)?h.push(a._getIdentifierMetadata(e)):a._reportError(jr("Unexpected value '"+R_(e)+"' used in the bootstrap property of module '"+R_(i)+"'"),i)}),d.push.apply(d,q(h.map(function(e){return a._getEntryComponentMetadata(e.reference)}))),n.schemas&&f.push.apply(f,q(T_(n.schemas))),t=new Ni({type:this._getTypeMetadata(i),providers:p,entryComponents:d,bootstrapComponents:h,schemas:f,declaredDirectives:r,exportedDirectives:v,declaredPipes:l,exportedPipes:y,importedModules:u,exportedModules:c,transitiveModule:m,id:n.id||null}),d.forEach(function(e){return m.addEntryComponent(e)}),p.forEach(function(e){return m.addProvider(e,t.type)}),m.addModule(t.type),this._ngModuleCache.set(i,t),t},D_.prototype._checkSelfImport=function(e,t){return e===t&&(this._reportError(jr("'"+R_(e)+"' module can't import itself"),e),!0)},D_.prototype._getTypeDescriptor=function(e){if(I_(e)){if(this.isDirective(e))return"directive";if(this.isPipe(e))return"pipe";if(this.isNgModule(e))return"module"}return e.provide?"provider":"value"},D_.prototype._addTypeToModule=function(e,t){var n=this._ngModuleOfTypes.get(e);n&&n!==t?this._reportError(jr("Type "+R_(e)+" is part of the declarations of 2 modules: "+R_(n)+" and "+R_(t)+"! Please consider moving "+R_(e)+" to a higher module that imports "+R_(n)+" and "+R_(t)+". You can also create a new NgModule that exports and includes "+R_(e)+" then import that NgModule in "+R_(n)+" and "+R_(t)+"."),t):this._ngModuleOfTypes.set(e,t)},D_.prototype._getTransitiveNgModuleMetadata=function(e,t){var o=new Fi,a=new Map;return e.concat(t).forEach(function(e){e.modules.forEach(function(e){return o.addModule(e)}),e.entryComponents.forEach(function(e){return o.addEntryComponent(e)});var i=new Set;e.providers.forEach(function(e){var t=Oi(e.provider.token),n=a.get(t);n||(n=new Set,a.set(t,n));var r=e.module.reference;!i.has(t)&&n.has(r)||(n.add(r),i.add(t),o.addProvider(e.provider,e.module))})}),t.forEach(function(e){e.exportedDirectives.forEach(function(e){return o.addExportedDirective(e)}),e.exportedPipes.forEach(function(e){return o.addExportedPipe(e)})}),e.forEach(function(e){e.exportedDirectives.forEach(function(e){return o.addDirective(e)}),e.exportedPipes.forEach(function(e){return o.addPipe(e)})}),o},D_.prototype._getIdentifierMetadata=function(e){return{reference:e=qr(e)}},D_.prototype.isInjectable=function(e){return this._reflector.tryAnnotations(e).some(function(e){return X.isTypeOf(e)})},D_.prototype.getInjectableSummary=function(e){return{summaryKind:E.CompileSummaryKind.Injectable,type:this._getTypeMetadata(e,null,!1)}},D_.prototype.getInjectableMetadata=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=!0);var r=this._loadSummary(e,E.CompileSummaryKind.Injectable),i=r?r.type:this._getTypeMetadata(e,t,n),o=this._reflector.annotations(e).filter(function(e){return X.isTypeOf(e)});if(0===o.length)return null;var a=o[o.length-1];return{symbol:e,type:i,providedIn:a.providedIn,useValue:a.useValue,useClass:a.useClass,useExisting:a.useExisting,useFactory:a.useFactory,deps:a.deps}},D_.prototype._getTypeMetadata=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=!0);var r=this._getIdentifierMetadata(e);return{reference:r.reference,diDeps:this._getDependenciesMetadata(r.reference,t,n),lifecycleHooks:function(t,n){return S_.filter(function(e){return E_(t,e,n)})}(this._reflector,r.reference)}},D_.prototype._getFactoryMetadata=function(e,t){return void 0===t&&(t=null),{reference:e=qr(e),diDeps:this._getDependenciesMetadata(e,t)}},D_.prototype.getPipeMetadata=function(e){var t=this._pipeCache.get(e);return t||this._reportError(jr("Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe "+R_(e)+"."),e),t||null},D_.prototype.getPipeSummary=function(e){var t=this._loadSummary(e,E.CompileSummaryKind.Pipe);return t||this._reportError(jr("Illegal state: Could not load the summary for pipe "+R_(e)+"."),e),t},D_.prototype.getOrLoadPipeMetadata=function(e){var t=this._pipeCache.get(e);return t=t||this._loadPipeMetadata(e)},D_.prototype._loadPipeMetadata=function(e){e=qr(e);var t=this._pipeResolver.resolve(e),n=new Ai({type:this._getTypeMetadata(e),name:t.name,pure:!!t.pure});return this._pipeCache.set(e,n),this._summaryCache.set(e,n.toSummary()),n},D_.prototype._getDependenciesMetadata=function(e,t,n){var s=this;void 0===n&&(n=!0);var l=!1,r=(t||this._reflector.parameters(e)||[]).map(function(e){var t=!1,n=!1,r=!1,i=!1,o=!1,a=null;return Array.isArray(e)?e.forEach(function(e){re.isTypeOf(e)?n=!0:te.isTypeOf(e)?r=!0:ne.isTypeOf(e)?i=!0:ee.isTypeOf(e)?o=!0:C.isTypeOf(e)?(t=!0,a=e.attributeName):w.isTypeOf(e)?a=e.token:x.isTypeOf(e)||e instanceof pi?a=e:I_(e)&&null==a&&(a=e)}):a=e,null==a?(l=!0,{}):{isAttribute:t,isHost:n,isSelf:r,isSkipSelf:i,isOptional:o,token:s._getTokenMetadata(a)}});if(l){var i=r.map(function(e){return e.token?R_(e.token):"?"}).join(", "),o="Can't resolve all parameters for "+R_(e)+": ("+i+").";n||this._config.strictInjectionParameters?this._reportError(jr(o),e):this._console.warn("Warning: "+o+" This will become an error in Angular v6.x")}return r},D_.prototype._getTokenMetadata=function(e){return"string"==typeof(e=qr(e))?{value:e}:{identifier:{reference:e}}},D_.prototype._getProvidersMetadata=function(i,o,a,s,l){var u=this;return void 0===s&&(s=[]),i.forEach(function(e,r){if(Array.isArray(e))u._getProvidersMetadata(e,o,a,s);else{var t=void 0;if((e=qr(e))&&"object"==typeof e&&e.hasOwnProperty("provide"))u._validateProvider(e),t=new Bi(e.provide,e);else{if(!I_(e)){if(void 0===e)return void u._reportError(jr("Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files."));var n=i.reduce(function(e,t,n){return n<r?e.push(""+R_(t)):n==r?e.push("?"+R_(t)+"?"):n==r+1&&e.push("..."),e},[]).join(", ");return void u._reportError(jr("Invalid "+(a||"provider")+" - only instances of Provider and Type are allowed, got: ["+n+"]"),l)}t=new Bi(e,{useClass:e})}t.token===u._reflector.resolveExternalReference(si.ANALYZE_FOR_ENTRY_COMPONENTS)?o.push.apply(o,q(u._getEntryComponentsFromProvider(t,l))):s.push(u.getProviderMetadata(t))}}),s},D_.prototype._validateProvider=function(e){e.hasOwnProperty("useClass")&&null==e.useClass&&this._reportError(jr("Invalid provider for "+R_(e.provide)+". useClass cannot be "+e.useClass+".\n           Usually it happens when:\n           1. There's a circular dependency (might be caused by using index.ts (barrel) files).\n           2. Class was used before it was declared. Use forwardRef in this case."))},D_.prototype._getEntryComponentsFromProvider=function(e,t){var n=this,r=[],i=[];return e.useFactory||e.useExisting||e.useClass?(this._reportError(jr("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!"),t),[]):e.multi?(function(e,t){kr(e,new A_,t)}(e.useValue,i),i.forEach(function(e){var t=n._getEntryComponentMetadata(e.reference,!1);t&&r.push(t)}),r):(this._reportError(jr("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!"),t),[])},D_.prototype._getEntryComponentMetadata=function(e,t){void 0===t&&(t=!0);var n=this.getNonNormalizedDirectiveMetadata(e);if(n&&n.metadata.isComponent)return{componentType:e,componentFactory:n.metadata.componentFactory};var r=this._loadSummary(e,E.CompileSummaryKind.Directive);if(r&&r.isComponent)return{componentType:e,componentFactory:r.componentFactory};if(t)throw jr(e.name+" cannot be used as an entry component.");return null},D_.prototype._getInjectableTypeMetadata=function(e,t){void 0===t&&(t=null);var n=this._loadSummary(e,E.CompileSummaryKind.Injectable);return n?n.type:this._getTypeMetadata(e,t)},D_.prototype.getProviderMetadata=function(e){var t=void 0,n=null,r=null,i=this._getTokenMetadata(e.token);return e.useClass?(t=(n=this._getInjectableTypeMetadata(e.useClass,e.dependencies)).diDeps,e.token===e.useClass&&(i={identifier:n})):e.useFactory&&(t=(r=this._getFactoryMetadata(e.useFactory,e.dependencies)).diDeps),{token:i,useClass:n,useValue:e.useValue,useFactory:r,useExisting:e.useExisting?this._getTokenMetadata(e.useExisting):void 0,deps:t,multi:e.multi}},D_.prototype._getQueriesMetadata=function(n,r,i){var o=this,a=[];return Object.keys(n).forEach(function(e){var t=n[e];t.isViewQuery===r&&a.push(o._getQueryMetadata(t,e,i))}),a},D_.prototype._queryVarBindings=function(e){return e.split(/\s*,\s*/)},D_.prototype._getQueryMetadata=function(e,t,n){var r=this;return{selectors:"string"==typeof e.selector?this._queryVarBindings(e.selector).map(function(e){return r._getTokenMetadata(e)}):e.selector?[this._getTokenMetadata(e.selector)]:(this._reportError(jr("Can't construct a query for the property \""+t+'" of "'+R_(n)+"\" since the query selector wasn't defined."),n),[]),first:e.first,descendants:e.descendants,propertyName:t,read:e.read?this._getTokenMetadata(e.read):null,static:e.static}},D_.prototype._reportError=function(e,t,n){if(!this._errorCollector)throw e;this._errorCollector(e,t),n&&this._errorCollector(e,n)},D_);function D_(e,t,n,r,i,o,a,s,l,u,c,p){this._config=e,this._htmlParser=t,this._ngModuleResolver=n,this._directiveResolver=r,this._pipeResolver=i,this._summaryResolver=o,this._schemaRegistry=a,this._directiveNormalizer=s,this._console=l,this._staticSymbolCache=u,this._reflector=c,this._errorCollector=p,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map,this._shallowModuleCache=new Map}function T_(e){return function(e){return e?Array.from(new Set(e)):[]}(function e(t,n){if(void 0===n&&(n=[]),t)for(var r=0;r<t.length;r++){var i=qr(t[r]);Array.isArray(i)?e(i,n):n.push(i)}return n}(e))}function I_(e){return e instanceof pi||e instanceof ie}var P_,A_=(f(M_,P_=Ir),M_.prototype.visitOther=function(e,t){t.push({reference:e})},M_);function M_(){return null!==P_&&P_.apply(this,arguments)||this}function R_(e){return e instanceof pi?e.name+" in "+e.filePath:zr(e)}function N_(e,t){var n=0;t.eager||(n|=4096),t.providerType===E.ProviderAstType.PrivateService&&(n|=8192),t.isModule&&(n|=1073741824),t.lifecycleHooks.forEach(function(e){e!==b_.OnDestroy&&t.providerType!==E.ProviderAstType.Directive&&t.providerType!==E.ProviderAstType.Component||(n|=V_(e))});var r=t.multiProvider?function(i,e,t){var o=[],a=[],n=t.map(function(e,t){var n;if(e.useClass){var r=s(t,e.deps||e.useClass.diDeps);n=i.importExpr(e.useClass.reference).instantiate(r)}else if(e.useFactory){r=s(t,e.deps||e.useFactory.diDeps);n=i.importExpr(e.useFactory.reference).callFn(r)}else if(e.useExisting){n=(r=s(t,[{token:e.useExisting}]))[0]}else n=r_(i,e.useValue);return n});return{providerExpr:br(a,[new wn(gr(n))],De),flags:1024|e,depsExpr:gr(o)};function s(r,e){return e.map(function(e,t){var n="p"+r+"_"+t;return a.push(new Rt(n,ke)),o.push(L_(i,e)),fr(n)})}}(e,n,t.providers):j_(e,n,t.providerType,t.providers[0]);return{providerExpr:r.providerExpr,flags:r.flags,depsExpr:r.depsExpr,tokenExpr:F_(e,t.token)}}function j_(t,e,n,r){var i,o;return o=n===E.ProviderAstType.Directive||n===E.ProviderAstType.Component?(i=t.importExpr(r.useClass.reference),e|=16384,r.deps||r.useClass.diDeps):r.useClass?(i=t.importExpr(r.useClass.reference),e|=512,r.deps||r.useClass.diDeps):r.useFactory?(i=t.importExpr(r.useFactory.reference),e|=1024,r.deps||r.useFactory.diDeps):r.useExisting?(i=sn,e|=2048,[{token:r.useExisting}]):(i=r_(t,r.useValue),e|=256,[]),{providerExpr:i,flags:e,depsExpr:gr(o.map(function(e){return L_(t,e)}))}}function F_(e,t){return t.identifier?e.importExpr(t.identifier.reference):xr(t.value)}function L_(e,t){var n=t.isValue?r_(e,t.value):F_(e,t.token),r=0;return t.isSkipSelf&&(r|=1),t.isOptional&&(r|=2),t.isSelf&&(r|=4),t.isValue&&(r|=8),0===r?n:gr([xr(r),n])}function V_(e){var t=0;switch(e){case b_.AfterContentChecked:t=2097152;break;case b_.AfterContentInit:t=1048576;break;case b_.AfterViewChecked:t=8388608;break;case b_.AfterViewInit:t=4194304;break;case b_.DoCheck:t=262144;break;case b_.OnChanges:t=524288;break;case b_.OnDestroy:t=131072;break;case b_.OnInit:t=65536}return t}function B_(e,t,n,r){var i=r.map(function(e){return t.importExpr(e.componentFactory)}),o=ci(e,si.ComponentFactoryResolver),a={diDeps:[{isValue:!0,value:gr(i)},{token:o,isSkipSelf:!0,isOptional:!0},{token:ci(e,si.NgModuleRef)}],lifecycleHooks:[],reference:e.resolveExternalReference(si.CodegenComponentFactoryResolver)},s=j_(t,n,E.ProviderAstType.PrivateService,{token:o,multi:!1,useClass:a});return{providerExpr:s.providerExpr,flags:s.flags,depsExpr:s.depsExpr,tokenExpr:F_(t,o)}}var U_=function(e){this.ngModuleFactoryVar=e},z_=fr("_l"),q_=(H_.prototype.compile=function(t,e,n){var r=Ko("NgModule",e.type),i=e.transitiveModule.entryComponents,o=e.bootstrapComponents,a=new Kf(this.reflector,e,n,r),s=[B_(this.reflector,t,0,i)].concat(a.parse().map(function(e){return N_(t,e)})).map(function(e){var t=e.providerExpr,n=e.depsExpr,r=e.flags,i=e.tokenExpr;return mr(si.moduleProviderDef).callFn([xr(r),i,t,n])}),l=mr(si.moduleDef).callFn([gr(s)]),u=br([new Rt(z_.name)],[new wn(l)],De),c=_i(e.type)+"NgFactory";if(this._createNgModuleFactory(t,e.type.reference,mr(si.createModuleFactory).callFn([t.importExpr(e.type.reference),gr(o.map(function(e){return t.importExpr(e.reference)})),u])),e.id){var p="string"==typeof e.id?xr(e.id):t.importExpr(e.id),d=mr(si.RegisterModuleFactoryFn).callFn([p,fr(c)]).toStmt();t.statements.push(d)}return new U_(c)},H_.prototype.createStub=function(e,t){this._createNgModuleFactory(e,t,sn)},H_.prototype._createNgModuleFactory=function(e,t,n){var r=fr(_i({reference:t})+"NgFactory").set(n).toDeclStmt(vr(si.NgModuleFactory,[yr(e.importExpr(t))],[le.Const]),[E.StmtModifier.Final,E.StmtModifier.Exported]);e.statements.push(r)},H_);function H_(e){this.reflector=e}var W_=(G_.prototype.isNgModule=function(e){return this._reflector.annotations(e).some(Q.isTypeOf)},G_.prototype.resolve=function(e,t){void 0===t&&(t=!0);var n=ig(this._reflector.annotations(e),Q.isTypeOf);if(n)return n;if(t)throw new Error("No NgModule metadata found for '"+zr(e)+"'.");return null},G_);function G_(e){this._reflector=e}function Y_(e){var t=new X_,n=Tp.createRoot();return(Array.isArray(e)?e:[e]).forEach(function(e){if(e instanceof un)e.visitStatement(t,n);else if(e instanceof je)e.visitExpression(t,n);else{if(!(e instanceof de))throw new Error("Don't know how to print debug info for "+e);e.visitType(t,n)}}),n.toSource()}var K_=(Z_.prototype.emitStatementsAndContext=function(e,t,n,r,i,o){void 0===n&&(n=""),void 0===r&&(r=!0);var a=new X_(i,o),s=Tp.createRoot();a.visitAllStatements(t,s);var l=n?n.split("\n"):[];a.reexports.forEach(function(e,t){var n=e.map(function(e){return e.name+" as "+e.as}).join(",");l.push("export {"+n+"} from '"+t+"';")}),a.importsWithPrefixes.forEach(function(e,t){l.push("import * as "+e+" from '"+t+"';")});var u=r?s.toSourceMapGenerator(e,l.length).toJsComment():"",c=q(l,[s.toSource(),u]);return u&&c.push(""),s.setPreambleLineCount(l.length),{sourceText:c.join("\n"),context:s}},Z_.prototype.emitStatements=function(e,t,n){return void 0===n&&(n=""),this.emitStatementsAndContext(e,t,n).sourceText},Z_);function Z_(){}var Q_,X_=(f($_,Q_=Pp),$_.prototype.visitType=function(e,t,n){void 0===n&&(n="any"),e?(this.typeExpression++,e.visitType(this,t),this.typeExpression--):t.print(null,n)},$_.prototype.visitLiteralExpr=function(e,t){var n=e.value;return null==n&&e.type!=De?(t.print(e,"("+n+" as any)"),null):Q_.prototype.visitLiteralExpr.call(this,e,t)},$_.prototype.visitLiteralArrayExpr=function(e,t){0===e.entries.length&&t.print(e,"(");var n=Q_.prototype.visitLiteralArrayExpr.call(this,e,t);return 0===e.entries.length&&t.print(e," as any[])"),n},$_.prototype.visitExternalExpr=function(e,t){return this._visitIdentifier(e.value,e.typeParams,t),null},$_.prototype.visitAssertNotNullExpr=function(e,t){var n=Q_.prototype.visitAssertNotNullExpr.call(this,e,t);return t.print(e,"!"),n},$_.prototype.visitDeclareVarStmt=function(e,t){if(e.hasModifier(E.StmtModifier.Exported)&&e.value instanceof _t&&!e.type){var n=e.value.value,r=n.name,i=n.moduleName;if(i){var o=this.reexports.get(i);return o||(o=[],this.reexports.set(i,o)),o.push({name:r,as:e.name}),null}}return e.hasModifier(E.StmtModifier.Exported)&&t.print(e,"export "),e.hasModifier(E.StmtModifier.Final)?t.print(e,"const"):t.print(e,"var"),t.print(e," "+e.name),this._printColonType(e.type,t),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null},$_.prototype.visitWrappedNodeExpr=function(e,t){throw new Error("Cannot visit a WrappedNodeExpr when outputting Typescript.")},$_.prototype.visitCastExpr=function(e,t){return t.print(e,"(<"),e.type.visitType(this,t),t.print(e,">"),e.value.visitExpression(this,t),t.print(e,")"),null},$_.prototype.visitInstantiateExpr=function(e,t){return t.print(e,"new "),this.typeExpression++,e.classExpr.visitExpression(this,t),this.typeExpression--,t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null},$_.prototype.visitDeclareClassStmt=function(e,t){var n=this;return t.pushClass(e),e.hasModifier(E.StmtModifier.Exported)&&t.print(e,"export "),t.print(e,"class "+e.name),null!=e.parent&&(t.print(e," extends "),this.typeExpression++,e.parent.visitExpression(this,t),this.typeExpression--),t.println(e," {"),t.incIndent(),e.fields.forEach(function(e){return n._visitClassField(e,t)}),null!=e.constructorMethod&&this._visitClassConstructor(e,t),e.getters.forEach(function(e){return n._visitClassGetter(e,t)}),e.methods.forEach(function(e){return n._visitClassMethod(e,t)}),t.decIndent(),t.println(e,"}"),t.popClass(),null},$_.prototype._visitClassField=function(e,t){e.hasModifier(E.StmtModifier.Private)&&t.print(null,"/*private*/ "),e.hasModifier(E.StmtModifier.Static)&&t.print(null,"static "),t.print(null,e.name),this._printColonType(e.type,t),e.initializer&&(t.print(null," = "),e.initializer.visitExpression(this,t)),t.println(null,";")},$_.prototype._visitClassGetter=function(e,t){e.hasModifier(E.StmtModifier.Private)&&t.print(null,"private "),t.print(null,"get "+e.name+"()"),this._printColonType(e.type,t),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")},$_.prototype._visitClassConstructor=function(e,t){t.print(e,"constructor("),this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.constructorMethod.body,t),t.decIndent(),t.println(e,"}")},$_.prototype._visitClassMethod=function(e,t){e.hasModifier(E.StmtModifier.Private)&&t.print(null,"private "),t.print(null,e.name+"("),this._visitParams(e.params,t),t.print(null,")"),this._printColonType(e.type,t,"void"),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")},$_.prototype.visitFunctionExpr=function(e,t){return e.name&&(t.print(e,"function "),t.print(e,e.name)),t.print(e,"("),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),e.name||t.print(e," => "),t.println(e,"{"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null},$_.prototype.visitDeclareFunctionStmt=function(e,t){return e.hasModifier(E.StmtModifier.Exported)&&t.print(e,"export "),t.print(e,"function "+e.name+"("),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),t.println(e," {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null},$_.prototype.visitTryCatchStmt=function(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,"} catch ("+Op.name+") {"),t.incIndent();var n=[kp.set(Op.prop("stack",null)).toDeclStmt(null,[E.StmtModifier.Final])].concat(e.catchStmts);return this.visitAllStatements(n,t),t.decIndent(),t.println(e,"}"),null},$_.prototype.visitBuiltinType=function(e,t){var n;switch(e.name){case E.BuiltinTypeName.Bool:n="boolean";break;case E.BuiltinTypeName.Dynamic:n="any";break;case E.BuiltinTypeName.Function:n="Function";break;case E.BuiltinTypeName.Number:case E.BuiltinTypeName.Int:n="number";break;case E.BuiltinTypeName.String:n="string";break;case E.BuiltinTypeName.None:n="never";break;default:throw new Error("Unsupported builtin type "+e.name)}return t.print(null,n),null},$_.prototype.visitExpressionType=function(e,t){var n=this;return e.value.visitExpression(this,t),null!==e.typeParams&&(t.print(null,"<"),this.visitAllObjects(function(e){return n.visitType(e,t)},e.typeParams,t,","),t.print(null,">")),null},$_.prototype.visitArrayType=function(e,t){return this.visitType(e.of,t),t.print(null,"[]"),null},$_.prototype.visitMapType=function(e,t){return t.print(null,"{[key: string]:"),this.visitType(e.valueType,t),t.print(null,"}"),null},$_.prototype.getBuiltinMethodName=function(e){var t;switch(e){case E.BuiltinMethod.ConcatArray:t="concat";break;case E.BuiltinMethod.SubscribeObservable:t="subscribe";break;case E.BuiltinMethod.Bind:t="bind";break;default:throw new Error("Unknown builtin method: "+e)}return t},$_.prototype._visitParams=function(e,t){var n=this;this.visitAllObjects(function(e){t.print(null,e.name),n._printColonType(e.type,t)},e,t,",")},$_.prototype._visitIdentifier=function(e,t,n){var r=this,i=e.name,o=e.moduleName;if(this.referenceFilter&&this.referenceFilter(e))n.print(null,"(null as any)");else{if(o&&(!this.importFilter||!this.importFilter(e))){var a=this.importsWithPrefixes.get(o);null==a&&(a="i"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(o,a)),n.print(null,a+".")}n.print(null,i),0<this.typeExpression&&0<(t||[]).length&&(n.print(null,"<"),this.visitAllObjects(function(e){return e.visitType(r,n)},t,n,","),n.print(null,">"))}},$_.prototype._printColonType=function(e,t,n){e!==De&&(t.print(null,":"),this.visitType(e,t,n))},$_);function $_(e,t){var n=Q_.call(this,!1)||this;return n.referenceFilter=e,n.importFilter=t,n.typeExpression=0,n.importsWithPrefixes=new Map,n.reexports=new Map,n}var J_=(eb.prototype.isPipe=function(e){var t=this._reflector.annotations(qr(e));return t&&t.some(L.isTypeOf)},eb.prototype.resolve=function(e,t){void 0===t&&(t=!0);var n=this._reflector.annotations(qr(e));if(n){var r=ig(n,L.isTypeOf);if(r)return r}if(t)throw new Error("No Pipe decorator found on "+zr(e));return null},eb);function eb(e){this._reflector=e}var tb=(nb.prototype.compileComponent=function(e,r,t,n,i,o){var a=this,s=new Map;n.forEach(function(e){return s.set(e.name,e.type.reference)});var l=0,u=function(e,t){var n=l++;return new ab(a.options,a.reflector,i,e,r.type.reference,r.isHost,n,s,t,o,u)},c=u(null,[]);return c.visitAll([],t),c.build(e)},nb);function nb(e,t){this.options=e,this.reflector=t}var rb="_any";function ib(){}var ob=new(ib.prototype.notifyImplicitReceiverUse=function(){},ib.prototype.getLocal=function(e){return e===Jp.event.name?fr(rb):null},ib),ab=(sb.prototype.getOutputVar=function(e){var t;if(!(t=e===this.component&&this.isHostComponent?rb:e instanceof pi?this.externalReferenceVars.get(e):rb))throw new Error("Illegal State: referring to a type without a variable "+JSON.stringify(e));return t},sb.prototype.getTypeGuardExpressions=function(e){var t,n,r,i,o=q(this.guards);try{for(var a=z(e.directives),s=a.next();!s.done;s=a.next()){var l=s.value;try{for(var u=(r=void 0,z(l.inputs)),c=u.next();!c.done;c=u.next()){var p=c.value,d=l.directive.guards[p.directiveName];if(d){var h="UseIf"===d;o.push({guard:d,useIf:h,expression:{context:this.component,value:p.value}})}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o},sb.prototype.visitAll=function(e,t){this.variables=e,Uf(this,t)},sb.prototype.build=function(t,n){var r,e,u=this;void 0===n&&(n=[]),this.children.forEach(function(e){return e.build(t,n)});var c=[fr(rb).set(sn).toDeclStmt(ke)],p=0;if(this.updates.forEach(function(e){var t=u.preprocessUpdateExpression(e),n=t.sourceSpan,r=t.context,i=t.value,o=""+p++,a=ud(r===u.component?u:ob,fr(u.getOutputVar(r)),i,o,id.General),s=a.stmts,l=a.currValExpr;s.push(new gn(l)),c.push.apply(c,q(s.map(function(e){return ur(e,n)})))}),this.actions.forEach(function(e){var t=e.sourceSpan,n=e.context,r=e.value,i=""+p++,o=nd(n===u.component?u:ob,fr(u.getOutputVar(n)),r,i).stmts;c.push.apply(c,q(o.map(function(e){return ur(e,t)})))}),this.guards.length){var i=void 0;try{for(var o=z(this.guards),a=o.next();!a.done;a=o.next()){var s=a.value,l=this.preprocessUpdateExpression(s.expression),d=l.context,h=l.value,f=""+p++,m=ud(d===this.component?this:ob,fr(this.getOutputVar(d)),h,f,id.TrySimple),v=m.stmts,y=m.currValExpr;if(0==v.length){var g=s.useIf?y:this.ctx.importExpr(s.guard).callFn([y]);i=i?i.and(g):g}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(r)throw r.error}}i&&(c=[new Ln(i,c)])}var _="_View_"+t+"_"+this.embeddedViewIndex,b=new mn(_,[],c);return n.push(b),n},sb.prototype.visitBoundText=function(t,e){var n=this;t.value.ast.expressions.forEach(function(e){return n.updates.push({context:n.component,value:e,sourceSpan:t.sourceSpan})})},sb.prototype.visitEmbeddedTemplate=function(e,t){if(this.visitElementOrTemplate(e),this.options.fullTemplateTypeCheck){var n=this.getTypeGuardExpressions(e),r=this.viewBuilderFactory(this,n);this.children.push(r),r.visitAll(e.variables,e.children)}},sb.prototype.visitElement=function(e,t){var n=this;this.visitElementOrTemplate(e),e.inputs.forEach(function(e){n.updates.push({context:n.component,value:e.value,sourceSpan:e.sourceSpan})}),Uf(this,e.children)},sb.prototype.visitElementOrTemplate=function(e){var n=this;e.directives.forEach(function(e){n.visitDirective(e)}),e.references.forEach(function(e){var t=null;t=e.value&&e.value.identifier&&n.options.fullTemplateTypeCheck?e.value.identifier.reference:E.BuiltinTypeName.Dynamic,n.refOutputVars.set(e.name,t)}),e.outputs.forEach(function(e){n.actions.push({context:n.component,value:e.handler,sourceSpan:e.sourceSpan})})},sb.prototype.visitDirective=function(e){var t=this,n=e.directive.type.reference;e.inputs.forEach(function(e){return t.updates.push({context:t.component,value:e.value,sourceSpan:e.sourceSpan})}),this.options.fullTemplateTypeCheck&&(e.hostProperties.forEach(function(e){return t.updates.push({context:n,value:e.value,sourceSpan:e.sourceSpan})}),e.hostEvents.forEach(function(e){return t.actions.push({context:n,value:e.handler,sourceSpan:e.sourceSpan})}))},sb.prototype.notifyImplicitReceiverUse=function(){},sb.prototype.getLocal=function(t){if(t==Jp.event.name)return fr(this.getOutputVar(E.BuiltinTypeName.Dynamic));for(var e=this;e;e=e.parent){var n=void 0;if(null==(n=e.refOutputVars.get(t))&&e.variables.find(function(e){return e.name===t})&&(n=E.BuiltinTypeName.Dynamic),null!=n)return fr(this.getOutputVar(n))}return null},sb.prototype.pipeOutputVar=function(e){var t=this.pipes.get(e);if(!t)throw new Error("Illegal State: Could not find pipe "+e+" in template of "+this.component);return this.getOutputVar(t)},sb.prototype.preprocessUpdateExpression=function(e){var r=this;return{sourceSpan:e.sourceSpan,context:e.context,value:rd({createLiteralArrayConverter:function(e){return function(e){var t=gr(e);return r.options.fullTemplateTypeCheck?t:t.cast(ke)}},createLiteralMapConverter:function(t){return function(n){var e=_r(t.map(function(e,t){return{key:e.key,value:n[t],quoted:e.quoted}}));return r.options.fullTemplateTypeCheck?e:e.cast(ke)}},createPipeConverter:function(t,e){return function(e){return(r.options.fullTemplateTypeCheck?fr(r.pipeOutputVar(t)):fr(r.getOutputVar(E.BuiltinTypeName.Dynamic))).callMethod("transform",e)}}},e.value)}},sb.prototype.visitNgContent=function(e,t){},sb.prototype.visitText=function(e,t){},sb.prototype.visitDirectiveProperty=function(e,t){},sb.prototype.visitReference=function(e,t){},sb.prototype.visitVariable=function(e,t){},sb.prototype.visitEvent=function(e,t){},sb.prototype.visitElementProperty=function(e,t){},sb.prototype.visitAttr=function(e,t){},sb);function sb(e,t,n,r,i,o,a,s,l,u,c){this.options=e,this.reflector=t,this.externalReferenceVars=n,this.parent=r,this.component=i,this.isHostComponent=o,this.embeddedViewIndex=a,this.pipes=s,this.guards=l,this.ctx=u,this.viewBuilderFactory=c,this.refOutputVars=new Map,this.variables=[],this.children=[],this.updates=[],this.actions=[]}var lb="class",ub="style",cb=function(e,t){this.viewClassVar=e,this.rendererTypeVar=t},pb=(db.prototype.compileComponent=function(n,r,e,t,i){var o,a=this,s=0,l=void 0;if(!r.isHost){var u=r.template,c=[];u.animations&&u.animations.length&&c.push(new Xt("animation",r_(n,u.animations),!0));var p=fr(xi(r.type.reference));l=p.name,n.statements.push(p.set(mr(si.createRendererType2).callFn([new en([new Xt("encapsulation",xr(u.encapsulation),!1),new Xt("styles",t,!1),new Xt("data",new en(c),!1)])])).toDeclStmt(vr(si.RendererType2),[E.StmtModifier.Final,E.StmtModifier.Exported]))}var d=function(e){var t=s++;return new _b(a._reflector,n,e,r,t,i,d)},h=d(null);return h.visitAll([],e),(o=n.statements).push.apply(o,q(h.build())),new cb(h.viewName,l)},db);function db(e){this._reflector=e}var hb=fr("_l"),fb=fr("_v"),mb=fr("_ck"),vb=fr("_co"),yb=fr("en"),gb=fr("ad"),_b=(bb.prototype.visitAll=function(e,t){var o=this;this.variables=e,this.parent||this.usedPipes.forEach(function(e){e.pure&&(o.purePipeNodeIndices[e.name]=o._createPipe(null,e))}),this.parent||this.component.viewQueries.forEach(function(e,t){var n=t+1,r=e.first?0:1,i=134217728|Sb(e);o.nodes.push(function(){return{sourceSpan:null,nodeFlags:i,nodeDef:mr(si.queryDef).callFn([xr(i),xr(n),new en([new Xt(e.propertyName,xr(r),!1)])])}})}),Uf(this,t),this.parent&&(0===t.length||function e(t){var n=t[t.length-1];return n instanceof Ef?n.hasViewContainer:n instanceof Cf?W(n.name)&&n.children.length?e(n.children):n.hasViewContainer:n instanceof Rf}(t))&&this.nodes.push(function(){return{sourceSpan:null,nodeFlags:1,nodeDef:mr(si.anchorDef).callFn([xr(0),sn,sn,xr(0)])}})},bb.prototype.build=function(t){void 0===t&&(t=[]),this.children.forEach(function(e){return e.build(t)});var e=this._createNodeExpressions(),n=e.updateRendererStmts,r=e.updateDirectivesStmts,i=e.nodeDefExprs,o=this._createUpdateFn(n),a=this._createUpdateFn(r),s=0;this.parent||this.component.changeDetection!==P.OnPush||(s|=2);var l=new mn(this.viewName,[new Rt(hb.name)],[new wn(mr(si.viewDef).callFn([xr(s),gr(i),a,o]))],vr(si.ViewDefinition),0===this.embeddedViewIndex?[E.StmtModifier.Exported]:[]);return t.push(l),t},bb.prototype._createUpdateFn=function(e){var t;if(0<e.length){var n=[];!this.component.isHost&&nr(e).has(vb.name)&&n.push(vb.set(fb.prop("component")).toDeclStmt(this.compType)),t=br([new Rt(mb.name,De),new Rt(fb.name,De)],q(n,e),De)}else t=sn;return t},bb.prototype.visitNgContent=function(e,t){this.nodes.push(function(){return{sourceSpan:e.sourceSpan,nodeFlags:8,nodeDef:mr(si.ngContentDef).callFn([xr(e.ngContentIndex),xr(e.index)])}})},bb.prototype.visitText=function(e,t){this.nodes.push(function(){return{sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:mr(si.textDef).callFn([xr(-1),xr(e.ngContentIndex),gr([xr(e.value)])])}})},bb.prototype.visitBoundText=function(n,e){var r=this,i=this.nodes.length;this.nodes.push(null);var t=n.value.ast,o=t.expressions.map(function(e,t){return r._preprocessUpdateExpression({nodeIndex:i,bindingIndex:t,sourceSpan:n.sourceSpan,context:vb,value:e})}),a=i;this.nodes[i]=function(){return{sourceSpan:n.sourceSpan,nodeFlags:2,nodeDef:mr(si.textDef).callFn([xr(a),xr(n.ngContentIndex),gr(t.strings.map(function(e){return xr(e)}))]),updateRenderer:o}}},bb.prototype.visitEmbeddedTemplate=function(e,t){var n=this,r=this.nodes.length;this.nodes.push(null);var i=this._visitElementOrTemplate(r,e),o=i.flags,a=i.queryMatchesExpr,s=i.hostEvents,l=this.viewBuilderFactory(this);this.children.push(l),l.visitAll(e.variables,e.children);var u=this.nodes.length-r-1;this.nodes[r]=function(){return{sourceSpan:e.sourceSpan,nodeFlags:1|o,nodeDef:mr(si.anchorDef).callFn([xr(o),a,xr(e.ngContentIndex),xr(u),n._createElementHandleEventFn(r,s),fr(l.viewName)])}}},bb.prototype.visitElement=function(e,t){var n=this,r=this.nodes.length;this.nodes.push(null);var i=W(e.name)?null:e.name,o=this._visitElementOrTemplate(r,e),a=o.flags,s=o.usedEvents,l=o.queryMatchesExpr,u=o.hostBindings,c=o.hostEvents,p=[],d=[],h=[];if(i){var f=e.inputs.map(function(e){return{context:vb,inputAst:e,dirAst:null}}).concat(u);f.length&&(d=f.map(function(e,t){return n._preprocessUpdateExpression({context:e.context,nodeIndex:r,bindingIndex:t,sourceSpan:e.inputAst.sourceSpan,value:e.inputAst.value})}),p=f.map(function(e){return function(e,t){var n=e.type;switch(n){case 1:return gr([xr(1),xr(e.name),xr(e.securityContext)]);case 0:return gr([xr(8),xr(e.name),xr(e.securityContext)]);case 4:return gr([xr(8|(t&&t.directive.isComponent?32:16)),xr("@"+e.name),xr(e.securityContext)]);case 2:return gr([xr(2),xr(e.name),sn]);case 3:return gr([xr(4),xr(e.name),xr(e.unit)]);default:throw new Error("unexpected "+n)}}(e.inputAst,e.dirAst)})),h=s.map(function(e){var t=U(e,2),n=t[0],r=t[1];return gr([xr(n),xr(r)])})}Uf(this,e.children);var m=this.nodes.length-r-1,v=e.directives.find(function(e){return e.directive.isComponent}),y=sn,g=sn;v&&(g=this.outputCtx.importExpr(v.directive.componentViewType),y=this.outputCtx.importExpr(v.directive.rendererType));var _=r;this.nodes[r]=function(){return{sourceSpan:e.sourceSpan,nodeFlags:1|a,nodeDef:mr(si.elementDef).callFn([xr(_),xr(a),l,xr(e.ngContentIndex),xr(m),xr(i),i?function(e){var i=Object.create(null);return e.attrs.forEach(function(e){i[e.name]=e.value}),e.directives.forEach(function(r){Object.keys(r.directive.hostAttributes).forEach(function(e){var t=r.directive.hostAttributes[e],n=i[e];i[e]=null!=n?function(e,t,n){return e==lb||e==ub?t+" "+n:n}(e,n,t):t})}),gr(Object.keys(i).sort().map(function(e){return gr([xr(e),xr(i[e])])}))}(e):sn,p.length?gr(p):sn,h.length?gr(h):sn,n._createElementHandleEventFn(r,c),g,y]),updateRenderer:d}}},bb.prototype._visitElementOrTemplate=function(n,o){var a=this,e=0;o.hasViewContainer&&(e|=16777216);var s=new Map;o.outputs.forEach(function(e){var t=Cb(e,null),n=t.name,r=t.target;s.set(Eb(r,n),[r,n])}),o.directives.forEach(function(i){i.hostEvents.forEach(function(e){var t=Cb(e,i),n=t.name,r=t.target;s.set(Eb(r,n),[r,n])})});var l=[],u=[];this._visitComponentFactoryResolverProvider(o.directives),o.providers.forEach(function(t){var n=void 0;if(o.directives.forEach(function(e){e.directive.type.reference===Oi(t.token)&&(n=e)}),n){var e=a._visitDirective(t,n,o.references,o.queryMatches,s),r=e.hostBindings,i=e.hostEvents;l.push.apply(l,q(r)),u.push.apply(u,q(i))}else a._visitProvider(t,o.queryMatches)});var r=[];return o.queryMatches.forEach(function(e){var t=void 0;Oi(e.value)===a.reflector.resolveExternalReference(si.ElementRef)?t=0:Oi(e.value)===a.reflector.resolveExternalReference(si.ViewContainerRef)?t=3:Oi(e.value)===a.reflector.resolveExternalReference(si.TemplateRef)&&(t=2),null!=t&&r.push(gr([xr(e.queryId),xr(t)]))}),o.references.forEach(function(e){var t=void 0;e.value?Oi(e.value)===a.reflector.resolveExternalReference(si.TemplateRef)&&(t=2):t=1,null!=t&&(a.refNodeIndices[e.name]=n,r.push(gr([xr(e.name),xr(t)])))}),o.outputs.forEach(function(e){u.push({context:vb,eventAst:e,dirAst:null})}),{flags:e,usedEvents:Array.from(s.values()),queryMatchesExpr:r.length?gr(r):sn,hostBindings:l,hostEvents:u}},bb.prototype._visitDirective=function(t,o,e,n,r){var a=this,i=this.nodes.length;this.nodes.push(null),o.directive.queries.forEach(function(e,t){var n=o.contentQueryStartId+t,r=67108864|Sb(e),i=e.first?0:1;a.nodes.push(function(){return{sourceSpan:o.sourceSpan,nodeFlags:r,nodeDef:mr(si.queryDef).callFn([xr(r),xr(n),new en([new Xt(e.propertyName,xr(i),!1)])])}})});var s=this.nodes.length-i-1,l=this._visitProviderOrDirective(t,n),u=l.flags,c=l.queryMatchExprs,p=l.providerExpr,d=l.depsExpr;e.forEach(function(e){e.value&&Oi(e.value)===Oi(t.token)&&(a.refNodeIndices[e.name]=i,c.push(gr([xr(e.name),xr(4)])))}),o.directive.isComponent&&(u|=32768);var h=o.inputs.map(function(e,t){var n=gr([xr(t),xr(e.directiveName)]);return new Xt(e.directiveName,n,!1)}),f=[],m=o.directive;Object.keys(m.outputs).forEach(function(e){var t=m.outputs[e];r.has(t)&&f.push(new Xt(e,xr(t),!1))});var v=[];(o.inputs.length||0<(327680&u))&&(v=o.inputs.map(function(e,t){return a._preprocessUpdateExpression({nodeIndex:i,bindingIndex:t,sourceSpan:e.sourceSpan,context:vb,value:e.value})}));var y=mr(si.nodeValue).callFn([fb,xr(i)]),g=o.hostProperties.map(function(e){return{context:y,dirAst:o,inputAst:e}}),_=o.hostEvents.map(function(e){return{context:y,eventAst:e,dirAst:o}}),b=i;return this.nodes[i]=function(){return{sourceSpan:o.sourceSpan,nodeFlags:16384|u,nodeDef:mr(si.directiveDef).callFn([xr(b),xr(u),c.length?gr(c):sn,xr(s),p,d,h.length?new en(h):sn,f.length?new en(f):sn]),updateDirectives:v,directive:o.directive.type}},{hostBindings:g,hostEvents:_}},bb.prototype._visitProvider=function(e,t){this._addProviderNode(this._visitProviderOrDirective(e,t))},bb.prototype._visitComponentFactoryResolverProvider=function(e){var t=e.find(function(e){return e.directive.isComponent});if(t&&t.directive.entryComponents.length){var n=B_(this.reflector,this.outputCtx,8192,t.directive.entryComponents),r=n.providerExpr,i=n.depsExpr,o=n.flags,a=n.tokenExpr;this._addProviderNode({providerExpr:r,depsExpr:i,flags:o,tokenExpr:a,queryMatchExprs:[],sourceSpan:t.sourceSpan})}},bb.prototype._addProviderNode=function(e){this.nodes.push(function(){return{sourceSpan:e.sourceSpan,nodeFlags:e.flags,nodeDef:mr(si.providerDef).callFn([xr(e.flags),e.queryMatchExprs.length?gr(e.queryMatchExprs):sn,e.tokenExpr,e.providerExpr,e.depsExpr])}})},bb.prototype._visitProviderOrDirective=function(t,e){var n=[];e.forEach(function(e){Oi(e.value)===Oi(t.token)&&n.push(gr([xr(e.queryId),xr(4)]))});var r=N_(this.outputCtx,t),i=r.providerExpr,o=r.depsExpr,a=r.flags,s=r.tokenExpr;return{flags:0|a,queryMatchExprs:n,providerExpr:i,depsExpr:o,tokenExpr:s,sourceSpan:t.sourceSpan}},bb.prototype.getLocal=function(t){if(t==Jp.event.name)return Jp.event;for(var e=fb,n=this;n;n=n.parent,e=e.prop("parent").cast(ke)){var r=n.refNodeIndices[t];if(null!=r)return mr(si.nodeValue).callFn([e,xr(r)]);var i=n.variables.find(function(e){return e.name===t});if(i){var o=i.value||"$implicit";return e.prop("context").prop(o)}}return null},bb.prototype.notifyImplicitReceiverUse=function(){},bb.prototype._createLiteralArrayConverter=function(e,t){if(0===t){var n=mr(si.EMPTY_ARRAY);return function(){return n}}var r=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:e,nodeFlags:32,nodeDef:mr(si.pureArrayDef).callFn([xr(r),xr(t)])}}),function(e){return wb(r,e)}},bb.prototype._createLiteralMapConverter=function(e,t){if(0===t.length){var n=mr(si.EMPTY_MAP);return function(){return n}}var r=_r(t.map(function(e,t){return m(m({},e),{value:xr(t)})})),i=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:e,nodeFlags:64,nodeDef:mr(si.pureObjectDef).callFn([xr(i),r])}}),function(e){return wb(i,e)}},bb.prototype._createPipeConverter=function(t,n,e){var r=this.usedPipes.find(function(e){return e.name===n});if(r.pure){var i=this.nodes.length;this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:128,nodeDef:mr(si.purePipeDef).callFn([xr(i),xr(e)])}});for(var o=fb,a=this;a.parent;)a=a.parent,o=o.prop("parent").cast(ke);var s=a.purePipeNodeIndices[n],l=mr(si.nodeValue).callFn([o,xr(s)]);return function(e){return xb(t.nodeIndex,t.bindingIndex,wb(i,[l].concat(e)))}}var u=this._createPipe(t.sourceSpan,r),c=mr(si.nodeValue).callFn([fb,xr(u)]);return function(e){return xb(t.nodeIndex,t.bindingIndex,c.callMethod("transform",e))}},bb.prototype._createPipe=function(e,t){var n=this,r=this.nodes.length,i=0;t.type.lifecycleHooks.forEach(function(e){e===b_.OnDestroy&&(i|=V_(e))});var o=t.type.diDeps.map(function(e){return L_(n.outputCtx,e)});return this.nodes.push(function(){return{sourceSpan:e,nodeFlags:16,nodeDef:mr(si.pipeDef).callFn([xr(i),n.outputCtx.importExpr(t.type.reference),gr(o)])}}),r},bb.prototype._preprocessUpdateExpression=function(n){var r=this;return{nodeIndex:n.nodeIndex,bindingIndex:n.bindingIndex,sourceSpan:n.sourceSpan,context:n.context,value:rd({createLiteralArrayConverter:function(e){return r._createLiteralArrayConverter(n.sourceSpan,e)},createLiteralMapConverter:function(e){return r._createLiteralMapConverter(n.sourceSpan,e)},createPipeConverter:function(e,t){return r._createPipeConverter(n,e,t)}},n.value)}},bb.prototype._createNodeExpressions=function(){var u=this,c=0,l=[],p=[],e=this.nodes.map(function(e,t){var n=e(),r=n.nodeDef,i=n.nodeFlags,o=n.updateDirectives,a=n.updateRenderer,s=n.sourceSpan;return a&&l.push.apply(l,q(d(t,s,a,!1))),o&&p.push.apply(p,q(d(t,s,o,0<(327680&i)))),cr(3&i?new rn([hb.callFn([]).callFn([]),r]):r,s)});return{updateRendererStmts:l,updateDirectivesStmts:p,nodeDefExprs:e};function d(e,t,n,r){var l=[],i=n.map(function(e){var t=e.sourceSpan,n=e.context,r=e.value,i=""+c++,o=ud(n===vb?u:null,n,r,i,id.General),a=o.stmts,s=o.currValExpr;return l.push.apply(l,q(a.map(function(e){return ur(e,t)}))),cr(s,t)});return(n.length||r)&&l.push(ur(wb(e,i).toStmt(),t)),l}},bb.prototype._createElementHandleEventFn=function(e,t){var n,p=this,d=[],h=0;if(t.forEach(function(e){var t=e.context,n=e.eventAst,r=e.dirAst,i=""+h++,o=nd(t===vb?p:null,t,n.handler,i),a=o.stmts,s=o.allowDefault,l=a;s&&l.push(gb.set(s.and(gb)).toStmt());var u=Cb(n,r),c=Eb(u.target,u.name);d.push(ur(new Ln(xr(c).identical(yb),l),n.sourceSpan))}),0<d.length){var r=[gb.set(xr(!0)).toDeclStmt(Te)];!this.component.isHost&&nr(d).has(vb.name)&&r.push(vb.set(fb.prop("component")).toDeclStmt(this.compType)),n=br([new Rt(fb.name,De),new Rt(yb.name,De),new Rt(Jp.event.name,De)],q(r,d,[new wn(gb)]),De)}else n=sn;return n},bb.prototype.visitDirective=function(e,t){},bb.prototype.visitDirectiveProperty=function(e,t){},bb.prototype.visitReference=function(e,t){},bb.prototype.visitVariable=function(e,t){},bb.prototype.visitEvent=function(e,t){},bb.prototype.visitElementProperty=function(e,t){},bb.prototype.visitAttr=function(e,t){},bb);function bb(e,t,n,r,i,o,a){this.reflector=e,this.outputCtx=t,this.parent=n,this.component=r,this.embeddedViewIndex=i,this.usedPipes=o,this.viewBuilderFactory=a,this.nodes=[],this.purePipeNodeIndices=Object.create(null),this.refNodeIndices=Object.create(null),this.variables=[],this.children=[],this.compType=0<this.embeddedViewIndex?ke:yr(t.importExpr(this.component.type.reference)),this.viewName=wi(this.component.type.reference,this.embeddedViewIndex)}function wb(e,t){return 10<t.length?mb.callFn([fb,xr(e),xr(1),gr(t)]):mb.callFn(q([fb,xr(e),xr(0)],t))}function xb(e,t,n){return mr(si.unwrapValue).callFn([fb,xr(e),xr(t),n])}function Cb(e,t){return e.isAnimation?{name:"@"+e.name+"."+e.phase,target:t&&t.directive.isComponent?"component":null}:e}function Sb(e){var t=0;return e.first&&e.static?t|=268435456:t|=536870912,t}function Eb(e,t){return e?e+":"+t:t}var Ob=(kb.prototype.updateFromTemplate=function(e,t,n){var r,i=this._htmlParser.parse(e,t,{tokenizeExpansionForms:!0,interpolationConfig:n});if(i.errors.length)return i.errors;var o=function(e,t,n,r){return new fg(n,r).extract(e,t)}(i.rootNodes,n,this._implicitTags,this._implicitAttrs);return o.errors.length?o.errors:((r=this._messages).push.apply(r,q(o.messages)),[])},kb.prototype.getMessages=function(){return this._messages},kb.prototype.write=function(o,a){var s={},l=new Tb;this._messages.forEach(function(e){var t,n=o.digest(e);s.hasOwnProperty(n)?(t=s[n].sources).push.apply(t,q(e.sources)):s[n]=e});var e=Object.keys(s).map(function(e){var t=o.createNameMapper(s[e]),n=s[e],r=t?l.convert(n.nodes,t):n.nodes,i=new Sa(r,{},{},n.meaning,n.description,e);return i.sources=n.sources,a&&i.sources.forEach(function(e){return e.filePath=a(e.filePath)}),i});return o.write(e,this._locale)},kb);function kb(e,t,n,r){void 0===r&&(r=null),this._htmlParser=e,this._implicitTags=t,this._implicitAttrs=n,this._locale=r,this._messages=[]}var Db,Tb=(f(Ib,Db=Fa),Ib.prototype.convert=function(e,t){var n=this;return t?e.map(function(e){return e.visit(n,t)}):e},Ib.prototype.visitTagPlaceholder=function(e,t){var n=this,r=t.toPublicName(e.startName),i=e.closeName?t.toPublicName(e.closeName):e.closeName,o=e.children.map(function(e){return e.visit(n,t)});return new Pa(e.tag,e.attrs,r,i,o,e.isVoid,e.sourceSpan)},Ib.prototype.visitPlaceholder=function(e,t){return new Ma(e.value,t.toPublicName(e.name),e.sourceSpan)},Ib.prototype.visitIcuPlaceholder=function(e,t){return new Na(e.value,t.toPublicName(e.name),e.sourceSpan)},Ib);function Ib(){return null!==Db&&Db.apply(this,arguments)||this}var Pb=(Ab.prototype.isEquivalent=function(e){return this.genFileUrl===e.genFileUrl&&(this.source?this.source===e.source:null!=e.stmts&&Re(this.stmts,e.stmts))},Ab);function Ab(e,t,n){this.srcFileUrl=e,this.genFileUrl=t,"string"==typeof n?(this.source=n,this.stmts=null):(this.source=null,this.stmts=n)}function Mb(e,t){var n,r,i,o,a=[];try{for(var s=z(e.transitiveModule.providers),l=s.next();!l.done;l=s.next()){var u=l.value,c=u.provider,p=u.module;if(Oi(c.token)===t.ROUTES){var d=Rb(c.useValue);try{for(var h=(i=void 0,z(d)),f=h.next();!f.done;f=h.next()){var m=f.value;a.push(Nb(m,t,p.reference))}}catch(e){i={error:e}}finally{try{f&&!f.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a}function Rb(e,t){var n,r;if(void 0===t&&(t=[]),"string"==typeof e)t.push(e);else if(Array.isArray(e))try{for(var i=z(e),o=i.next();!o.done;o=i.next()){Rb(o.value,t)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}else e.loadChildren?Rb(e.loadChildren,t):e.children&&Rb(e.children,t);return t}function Nb(e,t,n){var r=U(e.split("#"),2),i=r[0],o=r[1],a=t.resolveExternalReference({moduleName:i,name:o},n?n.filePath:void 0);return{route:e,module:n||a,referencedModule:a}}var jb=/^(?!.*\.d\.ts$).*\.ts$/,Fb=function(e,t){this.symbol=e,this.metadata=t},Lb=(Vb.prototype.resolveSymbol=function(e){if(0<e.members.length)return this._resolveSymbolMembers(e);var t=this._resolveSymbolFromSummary(e);if(t)return t;var n=this.resolvedSymbols.get(e);return n||(this._createSymbolsOf(e.filePath),this.resolvedSymbols.get(e))},Vb.prototype.getImportAs=function(e,t){if(void 0===t&&(t=!0),e.members.length){var n=this.getStaticSymbol(e.filePath,e.name);return(i=this.getImportAs(n,t))?this.getStaticSymbol(i.filePath,i.name,e.members):null}var r=function(e){return e.replace(p_,".")}(e.filePath);if(r!==e.filePath){var i,o=function(e){return e.replace(d_,"")}(e.name);return n=this.getStaticSymbol(r,o,e.members),(i=this.getImportAs(n,t))?this.getStaticSymbol(g_(i.filePath),__(i.name),n.members):null}var a=t&&this.summaryResolver.getImportAs(e)||null;return a=a||this.importAs.get(e)},Vb.prototype.getResourcePath=function(e){return this.symbolResourcePaths.get(e)||e.filePath},Vb.prototype.getTypeArity=function(e){if(function(e){return c_.test(e)}(e.filePath))return null;for(var t=Ub(this.resolveSymbol(e));t&&t.metadata instanceof pi;)t=Ub(this.resolveSymbol(t.metadata));return t&&t.metadata&&t.metadata.arity||null},Vb.prototype.getKnownModuleName=function(e){return this.knownFileNameToModuleNames.get(e)||null},Vb.prototype.recordImportAs=function(e,t){e.assertNoMembers(),t.assertNoMembers(),this.importAs.set(e,t)},Vb.prototype.recordModuleNameForFileName=function(e,t){this.knownFileNameToModuleNames.set(e,t)},Vb.prototype.invalidateFile=function(e){var t,n;this.metadataCache.delete(e);var r=this.symbolFromFile.get(e);if(!r)return[];this.symbolFromFile.delete(e);try{for(var i=z(r),o=i.next();!o.done;o=i.next()){var a=o.value;this.resolvedSymbols.delete(a),this.importAs.delete(a),this.symbolResourcePaths.delete(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},Vb.prototype.ignoreErrorsFor=function(e){var t=this.errorRecorder;this.errorRecorder=function(){};try{return e()}finally{this.errorRecorder=t}},Vb.prototype._resolveSymbolMembers=function(e){var t=e.members,n=this.resolveSymbol(this.getStaticSymbol(e.filePath,e.name));if(!n)return null;var r=Ub(n.metadata);if(r instanceof pi)return new Fb(e,this.getStaticSymbol(r.filePath,r.name,t));if(r&&"class"===r.__symbolic)return r.statics&&1===t.length?new Fb(e,r.statics[t[0]]):null;for(var i=r,o=0;o<t.length&&i;o++)i=i[t[o]];return new Fb(e,i)},Vb.prototype._resolveSymbolFromSummary=function(e){var t=this.summaryResolver.resolveSummary(e);return t?new Fb(e,t.metadata):null},Vb.prototype.getStaticSymbol=function(e,t,n){return this.staticSymbolCache.get(e,t,n)},Vb.prototype.hasDecorators=function(e){var n=this.getModuleMetadata(e);return!!n.metadata&&Object.keys(n.metadata).some(function(e){var t=n.metadata[e];return t&&"class"===t.__symbolic&&t.decorators})},Vb.prototype.getSymbolsOf=function(e){var t=this.summaryResolver.getSymbolsOf(e);return t||(this._createSymbolsOf(e),this.symbolFromFile.get(e)||[])},Vb.prototype._createSymbolsOf=function(s){var t,e,n,r,l=this;if(!this.symbolFromFile.has(s)){var u=[],a=this.getModuleMetadata(s);if(a.importAs&&this.knownFileNameToModuleNames.set(s,a.importAs),a.exports){var i=function(a){if(a.export)a.export.forEach(function(e){var t,n=t=Bb(t="string"==typeof e?e:e.as);"string"!=typeof e&&(n=Bb(e.name));var r=l.resolveModule(a.from,s);if(r){var i=l.getStaticSymbol(r,n),o=l.getStaticSymbol(s,t);u.push(l.createExport(o,i))}});else{var e=o.resolveModule(a.from,s);e&&o.getSymbolsOf(e).forEach(function(e){var t=l.getStaticSymbol(s,e.name);u.push(l.createExport(t,e))})}},o=this;try{for(var c=z(a.exports),p=c.next();!p.done;p=c.next())i(p.value)}catch(e){t={error:e}}finally{try{p&&!p.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}}if(a.metadata){var d=new Set(Object.keys(a.metadata).map(Bb)),h=a.origins||{};Object.keys(a.metadata).forEach(function(e){var t=a.metadata[e],n=Bb(e),r=l.getStaticSymbol(s,n),i=h.hasOwnProperty(e)&&h[e];if(i){var o=l.resolveModule(i,s);o?l.symbolResourcePaths.set(r,o):l.reportError(new Error("Couldn't resolve original symbol for "+i+" from "+l.host.getOutputName(s)))}u.push(l.createResolvedSymbol(r,s,d,t))})}var f=new Set;try{for(var m=z(u),v=m.next();!v.done;v=m.next()){var y=v.value;this.resolvedSymbols.set(y.symbol,y),f.add(y.symbol)}}catch(e){n={error:e}}finally{try{v&&!v.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}this.symbolFromFile.set(s,Array.from(f))}},Vb.prototype.createResolvedSymbol=function(l,u,c,e){var t,n=this,r=jb.test(l.filePath);if(this.summaryResolver.isLibraryFile(l.filePath)&&!r&&e&&"class"===e.__symbolic){var i={__symbolic:"class",arity:e.arity};return new Fb(l,i)}function p(){return t=t||n.host.getOutputName(u.replace(/((\.ts)|(\.d\.ts)|)$/,".ts").replace(/^.*node_modules[/\\]/,""))}var d,h=this;function o(){return null!==d&&d.apply(this,arguments)||this}var a=kr(e,(f(o,d=Ir),o.prototype.visitStringMap=function(e,t){var n=e.__symbolic;if("function"===n){var r=t.length;t.push.apply(t,q(e.parameters||[]));var i=d.prototype.visitStringMap.call(this,e,t);return t.length=r,i}if("reference"!==n)return"error"===n?m(m({},e),{fileName:p()}):d.prototype.visitStringMap.call(this,e,t);var o=e.module,a=e.name?Bb(e.name):e.name;if(!a)return null;var s=void 0;return o?(s=h.resolveModule(o,l.filePath))?{__symbolic:"resolved",symbol:h.getStaticSymbol(s,a),line:e.line,character:e.character,fileName:p()}:{__symbolic:"error",message:"Could not resolve "+o+" relative to "+h.host.getMetadataFor(l.filePath)+".",line:e.line,character:e.character,fileName:p()}:0<=t.indexOf(a)?{__symbolic:"reference",name:a}:c.has(a)?h.getStaticSymbol(u,a):void 0},new o),[]),s=Ub(a);return s instanceof pi?this.createExport(l,s):new Fb(l,a)},Vb.prototype.createExport=function(e,t){return e.assertNoMembers(),t.assertNoMembers(),this.summaryResolver.isLibraryFile(e.filePath)&&this.summaryResolver.isLibraryFile(t.filePath)&&this.importAs.set(t,this.getImportAs(e)||e),new Fb(e,t)},Vb.prototype.reportError=function(e,t,n){if(!this.errorRecorder)throw e;this.errorRecorder(e,t&&t.filePath||n)},Vb.prototype.getModuleMetadata=function(e){var t=this.metadataCache.get(e);if(!t){var n=this.host.getMetadataFor(e);if(n){var r=-1;n.forEach(function(e){e&&e.version>r&&(r=e.version,t=e)})}if(4!=(t=t||{__symbolic:"module",version:4,module:e,metadata:{}}).version){var i=2==t.version?"Unsupported metadata version "+t.version+" for module "+e+". This module should be compiled with a newer version of ngc":"Metadata version mismatch for module "+this.host.getOutputName(e)+", found version "+t.version+", expected 4";this.reportError(new Error(i))}this.metadataCache.set(e,t)}return t},Vb.prototype.getSymbolByModule=function(e,t,n){var r=this.resolveModule(e,n);return r?this.getStaticSymbol(r,t):(this.reportError(new Error("Could not resolve module "+e+(n?" relative to "+this.host.getOutputName(n):""))),this.getStaticSymbol("ERROR:"+e,t))},Vb.prototype.resolveModule=function(t,n){try{return this.host.moduleNameToFileName(t,n)}catch(e){console.error("Could not resolve module '"+t+"' relative to file "+n),this.reportError(e,void 0,n)}return null},Vb);function Vb(e,t,n,r){this.host=e,this.staticSymbolCache=t,this.summaryResolver=n,this.errorRecorder=r,this.metadataCache=new Map,this.resolvedSymbols=new Map,this.importAs=new Map,this.symbolResourcePaths=new Map,this.symbolFromFile=new Map,this.knownFileNameToModuleNames=new Map}function Bb(e){return e.startsWith("___")?e.substr(1):e}function Ub(e){return e&&"resolved"===e.__symbolic?e.symbol:e}function zb(e,t,n){var r=__(t.name);e.statements.push(br([],[new wn(n)],new we(ke)).toDeclStmt(r,[E.StmtModifier.Final,E.StmtModifier.Exported]))}var qb,Hb=(f(Wb,qb=Ir),Wb.prototype.addSummary=function(e){var r=this,t=this.unprocessedSymbolSummariesBySymbol.get(e.symbol),n=this.processedSummaryBySymbol.get(e.symbol);if(t||(t={symbol:e.symbol,metadata:void 0},this.unprocessedSymbolSummariesBySymbol.set(e.symbol,t),n={symbol:this.processValue(e.symbol,0)},this.processedSummaries.push(n),this.processedSummaryBySymbol.set(e.symbol,n)),!t.metadata&&e.metadata){var i=e.metadata||{};if("class"===i.__symbolic){var o={};Object.keys(i).forEach(function(e){"decorators"!==e&&(o[e]=i[e])}),i=o}else Xb(i)&&(function(e){return Xb(e)&&Ub(e.expression)instanceof pi}(i)||function(e){return Xb(e)&&e.expression&&"select"===e.expression.__symbolic&&Ub(e.expression.expression)instanceof pi}(i)||(i={__symbolic:"error",message:"Complex function calls are not supported."}));if(t.metadata=i,n.metadata=this.processValue(i,1),i instanceof pi&&this.summaryResolver.isLibraryFile(i.filePath)){var a=this.symbols[this.indexBySymbol.get(i)];C_(a.name)||this.reexportedBy.set(a,e.symbol)}}if(!t.type&&e.type&&(t.type=e.type,n.type=this.processValue(e.type,0),e.type.summaryKind===E.CompileSummaryKind.NgModule)){var s=e.type;s.exportedDirectives.concat(s.exportedPipes).forEach(function(e){var t=e.reference;if(r.summaryResolver.isLibraryFile(t.filePath)&&!r.unprocessedSymbolSummariesBySymbol.has(t)){var n=r.summaryResolver.resolveSummary(t);n&&r.addSummary(n)}})}},Wb.prototype.serialize=function(o){var a=this,s=[];return{json:JSON.stringify({moduleName:this.moduleName,summaries:this.processedSummaries,symbols:this.symbols.map(function(e,t){e.assertNoMembers();var n=void 0;if(a.summaryResolver.isLibraryFile(e.filePath)){var r=a.reexportedBy.get(e);if(r)n=a.indexBySymbol.get(r);else if(o){var i=a.unprocessedSymbolSummariesBySymbol.get(e);i&&i.metadata&&"interface"===i.metadata.__symbolic||(n=e.name+"_"+t,s.push({symbol:e,exportAs:n}))}}return{__symbol:t,name:e.name,filePath:a.summaryResolver.toSummaryFileName(e.filePath,a.srcFileName),importAs:n}})}),exportAs:s}},Wb.prototype.processValue=function(e,t){return kr(e,this,t)},Wb.prototype.visitOther=function(e,t){if(e instanceof pi){var n=this.symbolResolver.getStaticSymbol(e.filePath,e.name);return{__symbol:this.visitStaticSymbol(n,t),members:e.members}}},Wb.prototype.visitStringMap=function(e,t){return"resolved"===e.__symbolic?kr(e.symbol,this,t):("error"===e.__symbolic&&(delete e.line,delete e.character),qb.prototype.visitStringMap.call(this,e,t))},Wb.prototype.visitStaticSymbol=function(e,t){var n=this.indexBySymbol.get(e),r=null;if(1&t&&this.summaryResolver.isLibraryFile(e.filePath)){if(this.unprocessedSymbolSummariesBySymbol.has(e))return n;(r=this.loadSummary(e))&&r.metadata instanceof pi&&(n=this.visitStaticSymbol(r.metadata,t),r=null)}else if(null!=n)return n;return null==n&&(n=this.symbols.length,this.symbols.push(e)),this.indexBySymbol.set(e,n),r&&this.addSummary(r),n},Wb.prototype.loadSummary=function(e){var t=this.summaryResolver.resolveSummary(e);if(!t){var n=this.symbolResolver.resolveSymbol(e);n&&(t={symbol:n.symbol,metadata:n.metadata})}return t},Wb);function Wb(e,t,n){var r=qb.call(this)||this;return r.symbolResolver=e,r.summaryResolver=t,r.srcFileName=n,r.symbols=[],r.indexBySymbol=new Map,r.reexportedBy=new Map,r.processedSummaryBySymbol=new Map,r.processedSummaries=[],r.unprocessedSymbolSummariesBySymbol=new Map,r.moduleName=e.getKnownModuleName(n),r}var Gb=(Yb.prototype.addSourceType=function(e,t){this.data.push({summary:e,metadata:t,isLibrary:!1})},Yb.prototype.addLibType=function(e){this.data.push({summary:e,metadata:null,isLibrary:!0})},Yb.prototype.serialize=function(e){var t,n,r,i,o,a,s=this,l=new Map;try{for(var u=z(e),c=u.next();!c.done;c=u.next()){var p=c.value,d=p.symbol,h=p.exportAs;l.set(d,h)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}var f=new Set;try{for(var m=z(this.data),v=m.next();!v.done;v=m.next()){var y=v.value,g=y.summary,_=y.metadata,b=y.isLibrary;if(g.summaryKind===E.CompileSummaryKind.NgModule){f.add(g.type.reference);var w=g;try{for(var x=(o=void 0,z(w.modules)),C=x.next();!C.done;C=x.next()){var S=C.value;f.add(S.reference)}}catch(e){o={error:e}}finally{try{C&&!C.done&&(a=x.return)&&a.call(x)}finally{if(o)throw o.error}}}b||(__(g.type.reference.name),zb(this.outputCtx,g.type.reference,this.serializeSummaryWithDeps(g,_)))}}catch(e){r={error:e}}finally{try{v&&!v.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}f.forEach(function(e){if(s.summaryResolver.isLibraryFile(e.filePath)){var t=__(l.get(e)||e.name);s.outputCtx.statements.push(fr(t).set(s.serializeSummaryRef(e)).toDeclStmt(null,[E.StmtModifier.Exported]))}})},Yb.prototype.serializeSummaryWithDeps=function(e,t){var n=this,r=[this.serializeSummary(e)],i=[];if(t instanceof Ni)r.push.apply(r,q(t.declaredDirectives.concat(t.declaredPipes).map(function(e){return e.reference}).concat(t.transitiveModule.modules.map(function(e){return e.reference}).filter(function(e){return e!==t.type.reference})).map(function(e){return n.serializeSummaryRef(e)}))),i=t.providers;else if(e.summaryKind===E.CompileSummaryKind.Directive){var o=e;i=o.providers.concat(o.viewProviders)}return r.push.apply(r,q(i.filter(function(e){return!!e.useClass}).map(function(e){return n.serializeSummary({summaryKind:E.CompileSummaryKind.Injectable,type:e.useClass})}))),gr(r)},Yb.prototype.serializeSummaryRef=function(e){var t=this.symbolResolver.getStaticSymbol(g_(e.filePath),__(e.name));return this.outputCtx.importExpr(t)},Yb.prototype.serializeSummary=function(e){var n=this.outputCtx;function t(){}return kr(e,(t.prototype.visitArray=function(e,t){var n=this;return gr(e.map(function(e){return kr(e,n,t)}))},t.prototype.visitStringMap=function(t,n){var r=this;return new en(Object.keys(t).map(function(e){return new Xt(e,kr(t[e],r,n),!1)}))},t.prototype.visitPrimitive=function(e,t){return xr(e)},t.prototype.visitOther=function(e,t){if(e instanceof pi)return n.importExpr(e);throw new Error("Illegal State: Encountered value "+e)},new t),null)},Yb);function Yb(e,t,n){this.outputCtx=e,this.symbolResolver=t,this.summaryResolver=n,this.data=[]}var Kb,Zb=(f(Qb,Kb=Ir),Qb.prototype.deserialize=function(i,e){var o=this,t=JSON.parse(e),a=[];this.symbols=t.symbols.map(function(e){return o.symbolCache.get(o.summaryResolver.fromSummaryFileName(e.filePath,i),e.name)}),t.symbols.forEach(function(e,t){var n=o.symbols[t],r=e.importAs;"number"==typeof r?a.push({symbol:n,importAs:o.symbols[r]}):"string"==typeof r&&a.push({symbol:n,importAs:o.symbolCache.get(h_(i),r)})});var n=kr(t.summaries,this,null);return{moduleName:t.moduleName,summaries:n,importAs:a}},Qb.prototype.visitStringMap=function(e,t){if("__symbol"in e){var n=this.symbols[e.__symbol],r=e.members;return r.length?this.symbolCache.get(n.filePath,n.name,r):n}return Kb.prototype.visitStringMap.call(this,e,t)},Qb);function Qb(e,t){var n=Kb.call(this)||this;return n.symbolCache=e,n.summaryResolver=t,n}function Xb(e){return e&&"call"===e.__symbolic}var $b=(Jb.prototype.clearCache=function(){this._metadataResolver.clearCache()},Jb.prototype.analyzeModulesSync=function(e){var t=this,n=iw(e,this._host,this._symbolResolver,this._metadataResolver);return n.ngModules.forEach(function(e){return t._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!0)}),n},Jb.prototype.analyzeModulesAsync=function(e){var t=this,n=iw(e,this._host,this._symbolResolver,this._metadataResolver);return Promise.all(n.ngModules.map(function(e){return t._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!1)})).then(function(){return n})},Jb.prototype._analyzeFile=function(e){var t=this._analyzedFiles.get(e);return t||(t=aw(this._host,this._symbolResolver,this._metadataResolver,e),this._analyzedFiles.set(e,t)),t},Jb.prototype._analyzeFileForInjectables=function(e){var t=this._analyzedFilesForInjectables.get(e);return t||(t=sw(this._host,this._symbolResolver,this._metadataResolver,e),this._analyzedFilesForInjectables.set(e,t)),t},Jb.prototype.findGeneratedFileNames=function(e){var i=this,o=[],a=this._analyzeFile(e);(this._options.allowEmptyCodegenFiles||a.directives.length||a.pipes.length||a.injectables.length||a.ngModules.length||a.exportsNonSourceFiles)&&(o.push(h_(a.fileName,!0)),this._options.enableSummariesForJit&&o.push(g_(a.fileName,!0)));var s=v_(m_(a.fileName,!0)[1]);return a.directives.forEach(function(e){var r=i._metadataResolver.getNonNormalizedDirectiveMetadata(e).metadata;r.isComponent&&r.template.styleUrls.forEach(function(e){var t=i._host.resourceNameToFileName(e,a.fileName);if(!t)throw jr("Couldn't resolve resource "+e+" relative to "+a.fileName);var n=(r.template.encapsulation||i._config.defaultEncapsulation)===I.Emulated;o.push(nw(t,n,s)),i._options.allowEmptyCodegenFiles&&o.push(nw(t,!n,s))})}),o},Jb.prototype.emitBasicStub=function(e,t){var n=this._createOutputContext(e);if(e.endsWith(".ngfactory.ts")){if(!t)throw new Error("Assertion error: require the original file for .ngfactory.ts stubs. File: "+e);var r=this._analyzeFile(t);this._createNgFactoryStub(n,r,1)}else if(e.endsWith(".ngsummary.ts")){if(this._options.enableSummariesForJit){if(!t)throw new Error("Assertion error: require the original file for .ngsummary.ts stubs. File: "+e);r=this._analyzeFile(t),ew(n),r.ngModules.forEach(function(e){!function(e,t){zb(e,t,sn)}(n,e.type.reference)})}}else e.endsWith(".ngstyle.ts")&&ew(n);return this._codegenSourceModule("unknown",n)},Jb.prototype.emitTypeCheckStub=function(e,t){var n=this._analyzeFile(t),r=this._createOutputContext(e);return e.endsWith(".ngfactory.ts")&&this._createNgFactoryStub(r,n,2),0<r.statements.length?this._codegenSourceModule(n.fileName,r):null},Jb.prototype.loadFilesAsync=function(e,t){var n=this,r=e.map(function(e){return n._analyzeFile(e)}),i=[];r.forEach(function(e){return e.ngModules.forEach(function(e){return i.push(n._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!1))})});var o=t.map(function(e){return n._analyzeFileForInjectables(e)});return Promise.all(i).then(function(e){return{analyzedModules:uw(r),analyzedInjectables:o}})},Jb.prototype.loadFilesSync=function(e,t){var n=this,r=e.map(function(e){return n._analyzeFile(e)});r.forEach(function(e){return e.ngModules.forEach(function(e){return n._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!0)})});var i=t.map(function(e){return n._analyzeFileForInjectables(e)});return{analyzedModules:uw(r),analyzedInjectables:i}},Jb.prototype._createNgFactoryStub=function(o,e,t){var a=this,s=0;e.ngModules.forEach(function(n,r){a._ngModuleCompiler.createStub(o,n.type.reference);var e=q(n.transitiveModule.directives.map(function(e){return e.reference}),n.transitiveModule.pipes.map(function(e){return e.reference}),n.importedModules.map(function(e){return e.type.reference}),n.exportedModules.map(function(e){return e.type.reference}),a._externalIdentifierReferences([si.TemplateRef,si.ElementRef])),i=new Map;e.forEach(function(e,t){i.set(e,"_decl"+r+"_"+t)}),i.forEach(function(e,t){o.statements.push(fr(e).set(sn.cast(ke)).toDeclStmt(yr(o.importExpr(t,null,!1))))}),2&t&&n.declaredDirectives.forEach(function(e){var t=a._metadataResolver.getDirectiveMetadata(e.reference);t.isComponent&&(s++,a._createTypeCheckBlock(o,t.type.reference.name+"_Host_"+s,n,a._metadataResolver.getHostComponentMetadata(t),[t.type],i),a._createTypeCheckBlock(o,t.type.reference.name+"_"+s,n,t,n.transitiveModule.directives,i))})}),0===o.statements.length&&ew(o)},Jb.prototype._externalIdentifierReferences=function(e){var t,n,r=[];try{for(var i=z(e),o=i.next();!o.done;o=i.next()){var a=o.value,s=ci(this.reflector,a);s.identifier&&r.push(s.identifier.reference)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},Jb.prototype._createTypeCheckBlock=function(e,t,n,r,i,o){var a,s=this._parseTemplate(r,n,i),l=s.template,u=s.pipes;(a=e.statements).push.apply(a,q(this._typeCheckCompiler.compileComponent(t,r,l,u,o,e)))},Jb.prototype.emitMessageBundle=function(e,t){var r=this,i=[],n=new Uh,o=new Ob(n,[],{},t);if(e.files.forEach(function(e){var n=[];e.directives.forEach(function(e){var t=r._metadataResolver.getDirectiveMetadata(e);t&&t.isComponent&&n.push(t)}),n.forEach(function(e){var t=e.template.template,n=e.template.templateUrl,r=Rl.fromArray(e.template.interpolation);i.push.apply(i,q(o.updateFromTemplate(t,n,r)))})}),i.length)throw new Error(i.map(function(e){return e.toString()}).join("\n"));return o},Jb.prototype.emitAllPartialModules=function(e,t){function n(e){return a.has(e)||a.set(e,r._createOutputContext(e)),a.get(e)}var r=this,i=e.ngModuleByPipeOrDirective,o=e.files,a=new Map;return o.forEach(function(e){return r._compilePartialModule(e.fileName,i,e.directives,e.pipes,e.ngModules,e.injectables,n(e.fileName))}),t.forEach(function(e){return r._compileShallowModules(e.fileName,e.shallowModules,n(e.fileName))}),Array.from(a.values()).map(function(e){return{fileName:e.genFilePath,statements:q(e.constantPool.statements,e.statements)}})},Jb.prototype._compileShallowModules=function(e,t,n){var r=this;t.forEach(function(e){return function(e,t,n){var r=_i(t.type),i=t.rawImports?[t.rawImports]:[],o=t.rawExports?[t.rawExports]:[],a=Gp({factory:n.factoryFor({type:t.type,symbol:t.type.reference},e),providers:Xi(t.rawProviders,e),imports:Xi(q(i,o),e)}),s=mr(Ki.defineInjector).callFn([a]);e.statements.push(new Nn(r,null,[new On("ɵinj",De,[E.StmtModifier.Static],s)],[],new Tn(null,[],[]),[]))}(n,e,r._injectableCompiler)})},Jb.prototype._compilePartialModule=function(e,s,t,n,r,i,l){var u=this,o=new ev,c=new om(this._templateParser.expressionParser,Fl,o,[],[]);t.forEach(function(e){var t=u._metadataResolver.getDirectiveMetadata(e);if(t.isComponent){var n=s.get(e);n||Nr("Cannot determine the module for component '"+_i(t.type)+"'");var r=t.template.htmlAst;t.template.preserveWhitespaces||(r=Xh(r));var i=rv(r.rootNodes,c),o=new Map;n.transitiveModule.directives.map(function(e){return u._metadataResolver.getDirectiveSummary(e.reference)}).forEach(function(e){e.selector&&o.set(e.selector,e.type.reference)});var a=new Map;n.transitiveModule.pipes.map(function(e){return u._metadataResolver.getPipeSummary(e.reference)}).forEach(function(e){a.set(e.name,e.type.reference)}),my(l,t,i,u.reflector,c,0,a)}else!function(e,t,n,r){var i=_i(t.type);i||Nr("Cannot resolver the name of "+t.type);var o=e.constantPool.propertyNameOf(1),a=vy(),s=dy(a,e.constantPool,r),l=El(m(m({},a),{injectFn:Ki.directiveInject})),u=new Nn(i,null,[new On("ɵfac",De,[E.StmtModifier.Static],l.factory)],[],new Tn(null,[],[]),[]),c=new Nn(i,null,[new On(o,De,[E.StmtModifier.Static],s.expression)],[],new Tn(null,[],[]),[]);e.statements.push(u,c)}(l,t,u.reflector,c)}),n.forEach(function(e){var t=u._metadataResolver.getPipeMetadata(e);t&&$p(l,t,u.reflector)}),i.forEach(function(e){return u._injectableCompiler.compile(e,l)})},Jb.prototype.emitAllPartialModules2=function(e){var n=this;return e.reduce(function(e,t){return e.push.apply(e,q(n._emitPartialModule2(t.fileName,t.injectables))),e},[])},Jb.prototype._emitPartialModule2=function(e,t){var n=this,r=this._createOutputContext(e);return t.forEach(function(e){return n._injectableCompiler.compile(e,r)}),r.statements&&0<r.statements.length?[{fileName:e,statements:q(r.constantPool.statements,r.statements)}]:[]},Jb.prototype.emitAllImpls=function(e){var t=this,n=e.ngModuleByPipeOrDirective;return Ui(e.files.map(function(e){return t._compileImplFile(e.fileName,n,e.directives,e.pipes,e.ngModules,e.injectables)}))},Jb.prototype._compileImplFile=function(i,o,e,t,n,r){var a=this,s=v_(m_(i,!0)[1]),l=[],u=this._createOutputContext(h_(i,!0));if(l.push.apply(l,q(this._createSummary(i,e,t,n,r,u))),n.forEach(function(e){return a._compileModule(u,e)}),e.forEach(function(e){var n=a._metadataResolver.getDirectiveMetadata(e);if(n.isComponent){var t=o.get(e);if(!t)throw new Error("Internal Error: cannot determine the module for component "+_i(n.type)+"!");var r=a._styleCompiler.compileComponent(u,n);n.template.externalStylesheets.forEach(function(e){var t=a._styleCompiler.needsStyleShim(n);l.push(a._codegenStyles(i,n,e,t,s)),a._options.allowEmptyCodegenFiles&&l.push(a._codegenStyles(i,n,e,!t,s))}),a._compileComponent(u,n,t,t.transitiveModule.directives,r,s),a._compileComponentFactory(u,n,t,s)}}),0<u.statements.length||this._options.allowEmptyCodegenFiles){var c=this._codegenSourceModule(i,u);l.unshift(c)}return l},Jb.prototype._createSummary=function(e,t,n,r,i,o){var a=this,s=this._symbolResolver.getSymbolsOf(e).map(function(e){return a._symbolResolver.resolveSymbol(e)}),l=q(r.map(function(e){return{summary:a._metadataResolver.getNgModuleSummary(e.type.reference),metadata:a._metadataResolver.getNgModuleMetadata(e.type.reference)}}),t.map(function(e){return{summary:a._metadataResolver.getDirectiveSummary(e),metadata:a._metadataResolver.getDirectiveMetadata(e)}}),n.map(function(e){return{summary:a._metadataResolver.getPipeSummary(e),metadata:a._metadataResolver.getPipeMetadata(e)}}),i.map(function(e){return{summary:a._metadataResolver.getInjectableSummary(e.symbol),metadata:a._metadataResolver.getInjectableSummary(e.symbol).type}})),u=this._options.enableSummariesForJit?this._createOutputContext(g_(e,!0)):null,c=function(e,t,n,r,i,o,a){void 0===a&&(a=!1);var s=new Hb(r,n,e);i.forEach(function(e){return s.addSummary({symbol:e.symbol,metadata:e.metadata})}),o.forEach(function(e){var t=e.summary;e.metadata,s.addSummary({symbol:t.type.reference,metadata:void 0,type:t})});var l=s.serialize(a),u=l.json,c=l.exportAs;if(t){var p=new Gb(t,r,n);o.forEach(function(e){var t=e.summary,n=e.metadata;p.addSourceType(t,n)}),s.unprocessedSymbolSummariesBySymbol.forEach(function(e){n.isLibraryFile(e.symbol.filePath)&&e.type&&p.addLibType(e.type)}),p.serialize(c)}return{json:u,exportAs:c}}(e,u,this._summaryResolver,this._symbolResolver,s,l,this._options.createExternalSymbolFactoryReexports),p=c.json;c.exportAs.forEach(function(e){o.statements.push(fr(e.exportAs).set(o.importExpr(e.symbol)).toDeclStmt(null,[E.StmtModifier.Exported]))});var d=[new Pb(e,y_(e),p)];return u&&d.push(this._codegenSourceModule(e,u)),d},Jb.prototype._compileModule=function(e,t){var n=[];if(this._options.locale){var r=this._options.locale.replace(/_/g,"-");n.push({token:ci(this.reflector,si.LOCALE_ID),useValue:r})}this._options.i18nFormat&&n.push({token:ci(this.reflector,si.TRANSLATIONS_FORMAT),useValue:this._options.i18nFormat}),this._ngModuleCompiler.compile(e,t,n)},Jb.prototype._compileComponentFactory=function(e,t,n,r){var i=this._metadataResolver.getHostComponentMetadata(t),o=this._compileComponent(e,i,n,[t.type],null,r).viewClassVar,a=Si(t.type.reference),s=[];for(var l in t.inputs){var u=t.inputs[l];s.push(new Xt(l,xr(u),!1))}var c=[];for(var l in t.outputs)u=t.outputs[l],c.push(new Xt(l,xr(u),!1));e.statements.push(fr(a).set(mr(si.createComponentFactory).callFn([xr(t.selector),e.importExpr(t.type.reference),fr(o),new en(s),new en(c),gr(t.template.ngContentSelectors.map(function(e){return xr(e)}))])).toDeclStmt(vr(si.ComponentFactory,[yr(e.importExpr(t.type.reference))],[le.Const]),[E.StmtModifier.Final,E.StmtModifier.Exported]))},Jb.prototype._compileComponent=function(e,t,n,r,i,o){var a=this._parseTemplate(t,n,r),s=a.template,l=a.pipes,u=i?fr(i.stylesVar):gr([]),c=this._viewCompiler.compileComponent(e,t,s,u,l);return i&&tw(this._symbolResolver,i,this._styleCompiler.needsStyleShim(t),o),c},Jb.prototype._parseTemplate=function(e,t,n){var r=this;if(this._templateAstCache.has(e.type.reference))return this._templateAstCache.get(e.type.reference);var i=e.template.preserveWhitespaces,o=n.map(function(e){return r._metadataResolver.getDirectiveSummary(e.reference)}),a=t.transitiveModule.pipes.map(function(e){return r._metadataResolver.getPipeSummary(e.reference)}),s=this._templateParser.parse(e,e.template.htmlAst,o,a,t.schemas,qi(t.type,e,e.template),i);return this._templateAstCache.set(e.type.reference,s),s},Jb.prototype._createOutputContext=function(h){var f=this;return{statements:[],genFilePath:h,importExpr:function(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=!0),!(e instanceof pi))throw new Error("Internal error: unknown identifier "+JSON.stringify(e));var r=f._symbolResolver.getTypeArity(e)||0,i=f._symbolResolver.getImportAs(e,n)||e,o=i.filePath,a=i.name,s=i.members,l=f._fileNameToModuleName(o,h),u=l===f._fileNameToModuleName(h,h)?null:l,c=t||[],p=r-c.length,d=c.concat(Zr(p,ke));return s.reduce(function(e,t){return e.prop(t)},mr(new xt(u,a,null),d))},constantPool:new ei}},Jb.prototype._fileNameToModuleName=function(e,t){return this._summaryResolver.getKnownModuleName(e)||this._symbolResolver.getKnownModuleName(e)||this._host.fileNameToModuleName(e,t)},Jb.prototype._codegenStyles=function(e,t,n,r,i){var o=this._createOutputContext(nw(n.moduleUrl,r,i)),a=this._styleCompiler.compileStyles(o,t,n,r);return tw(this._symbolResolver,a,r,i),this._codegenSourceModule(e,o)},Jb.prototype._codegenSourceModule=function(e,t){return new Pb(e,t.genFilePath,t.statements)},Jb.prototype.listLazyRoutes=function(e,t){var n,r,i,o,c=this;if(e)return function e(t,n,r){var i,o;if(void 0===n&&(n=new Set),void 0===r&&(r=[]),n.has(t)||!t.name)return r;n.add(t);var a=Mb(c._metadataResolver.getNgModuleMetadata(t,!0),c.reflector);try{for(var s=z(a),l=s.next();!l.done;l=s.next()){var u=l.value;r.push(u),e(u.referencedModule,n,r)}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return r}(Nb(e,this.reflector).referencedModule);if(t){var a=[];try{for(var s=z(t.ngModules),l=s.next();!l.done;l=s.next()){var u=Mb(l.value,this.reflector);try{for(var p=(i=void 0,z(u)),d=p.next();!d.done;d=p.next()){var h=d.value;a.push(h)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a}throw new Error("Either route or analyzedModules has to be specified!")},Jb);function Jb(e,t,n,r,i,o,a,s,l,u,c,p,d,h){this._config=e,this._options=t,this._host=n,this.reflector=r,this._metadataResolver=i,this._templateParser=o,this._styleCompiler=a,this._viewCompiler=s,this._typeCheckCompiler=l,this._ngModuleCompiler=u,this._injectableCompiler=c,this._outputEmitter=p,this._summaryResolver=d,this._symbolResolver=h,this._templateAstCache=new Map,this._analyzedFiles=new Map,this._analyzedFilesForInjectables=new Map}function ew(e){e.statements.push(mr(si.ComponentFactory).toStmt())}function tw(t,e,n,r){e.dependencies.forEach(function(e){e.setValue(t.getStaticSymbol(nw(e.moduleUrl,n,r),e.name))})}function nw(e,t,n){return e+(t?".shim":"")+".ngstyle"+n}function rw(e,t,n,r){return lw(function(e,n,r,i){var o=new Set,a=[],s=function(e){if(o.has(e)||!n.isSourceFile(e))return!1;o.add(e);var t=aw(n,r,i,e);a.push(t),t.ngModules.forEach(function(e){e.transitiveModule.modules.forEach(function(e){return s(e.reference.filePath)})})};return e.forEach(function(e){return s(e)}),a}(e,t,n,r))}function iw(e,t,n,r){return ow(rw(e,t,n,r))}function ow(e){if(e.symbolsMissingModule&&e.symbolsMissingModule.length)throw jr(e.symbolsMissingModule.map(function(e){return"Cannot determine the module for class "+e.name+" in "+e.filePath+"! Add "+e.name+" to the NgModule to fix it."}).join("\n"));return e}function aw(o,a,s,e){var l=[],u=[],c=[],p=[],d=[],t=a.hasDecorators(e),h=!1,f=e.endsWith(".d.ts");return f&&!t||a.getSymbolsOf(e).forEach(function(e){var t=a.resolveSymbol(e).metadata;if(t&&"error"!==t.__symbolic){var n=!1;if("class"===t.__symbolic)if(s.isDirective(e))n=!0,f?u.push(e):s.isAbstractDirective(e)?l.push(e):u.push(e);else if(s.isPipe(e))n=!0,c.push(e);else if(s.isNgModule(e)){var r=s.getNgModuleMetadata(e,!1);r&&(n=!0,d.push(r))}else if(s.isInjectable(e)){n=!0;var i=s.getInjectableMetadata(e,null,!1);i&&p.push(i)}n||(h=h||function(n,e){var r=!1,t=function(){function e(){}return e.prototype.visitArray=function(e,t){var n=this;e.forEach(function(e){return kr(e,n,t)})},e.prototype.visitStringMap=function(t,n){var r=this;Object.keys(t).forEach(function(e){return kr(t[e],r,n)})},e.prototype.visitPrimitive=function(e,t){},e.prototype.visitOther=function(e,t){e instanceof pi&&!n.isSourceFile(e.filePath)&&(r=!0)},e}();return kr(e,new t,null),r}(o,t))}}),{fileName:e,directives:u,abstractDirectives:l,pipes:c,ngModules:d,injectables:p,exportsNonSourceFiles:h}}function sw(e,i,o,t){var a=[],s=[];return i.hasDecorators(t)&&i.getSymbolsOf(t).forEach(function(e){var t=i.resolveSymbol(e).metadata;if(t&&"error"!==t.__symbolic&&"class"===t.__symbolic)if(o.isInjectable(e)){var n=o.getInjectableMetadata(e,null,!1);n&&a.push(n)}else if(o.isNgModule(e)){var r=o.getShallowModuleMetadata(e);r&&s.push(r)}}),{fileName:t,injectables:a,shallowModules:s}}function lw(e){var n=[],r=new Map,t=new Set;e.forEach(function(e){e.ngModules.forEach(function(t){n.push(t),t.declaredDirectives.forEach(function(e){return r.set(e.reference,t)}),t.declaredPipes.forEach(function(e){return r.set(e.reference,t)})}),e.directives.forEach(function(e){return t.add(e)}),e.pipes.forEach(function(e){return t.add(e)})});var i=[];return t.forEach(function(e){r.has(e)||i.push(e)}),{ngModules:n,ngModuleByPipeOrDirective:r,symbolsMissingModule:i,files:e}}function uw(e){return ow(lw(e))}var cw="ngFormattedMessage";function pw(e,t){var n,r;if(void 0===t&&(t=0),!e)return"";var i=e.position?e.position.fileName+"("+(e.position.line+1)+","+(e.position.column+1)+")":"",o=i&&0!==t?" at "+i:"",a=(i&&0===t?i+": ":"")+e.message+o;if(e.next)try{for(var s=z(e.next),l=s.next();!l.done;l=s.next()){a+="\n"+pw(l.value,t+2)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return""+function e(t){if(t<=0)return"";if(t<6)return[""," ","  ","   ","    ","     "][t];var n=e(Math.floor(t/2));return n+n+(t%2==1?" ":"")}(t)+a}function dw(e){var t=jr(pw(e)+".");return t[cw]=!0,t.chain=e,t.position=e.position,t}var hw="@angular/core",fw=/^\$.*\$$/,mw={__symbolic:"ignore"},vw=new Set(["useValue","useFactory","data","id","loadChildren"]);function yw(e){return e&&"ignore"==e.__symbolic}var gw=(_w.prototype.componentModuleUrl=function(e){var t=this.findSymbolDeclaration(e);return this.symbolResolver.getResourcePath(t)},_w.prototype.invalidateSymbols=function(e){var t,n;try{for(var r=z(e),i=r.next();!i.done;i=r.next()){var o=i.value;this.annotationCache.delete(o),this.shallowAnnotationCache.delete(o),this.propertyCache.delete(o),this.parameterCache.delete(o),this.methodCache.delete(o),this.staticCache.delete(o),this.conversionMap.delete(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},_w.prototype.resolveExternalReference=function(e,t){var n=void 0;if(!t){n=e.moduleName+":"+e.name;var r=this.resolvedExternalReferences.get(n);if(r)return r}var i=this.symbolResolver.getSymbolByModule(e.moduleName,e.name,t),o=this.findSymbolDeclaration(i);return t||(this.symbolResolver.recordModuleNameForFileName(i.filePath,e.moduleName),this.symbolResolver.recordImportAs(o,i)),n&&this.resolvedExternalReferences.set(n,o),o},_w.prototype.findDeclaration=function(e,t,n){return this.findSymbolDeclaration(this.symbolResolver.getSymbolByModule(e,t,n))},_w.prototype.tryFindDeclaration=function(e,t,n){var r=this;return this.symbolResolver.ignoreErrorsFor(function(){return r.findDeclaration(e,t,n)})},_w.prototype.findSymbolDeclaration=function(e){var t=this.symbolResolver.resolveSymbol(e);if(t){var n=t.metadata;if(n&&"resolved"===n.__symbolic&&(n=n.symbol),n instanceof pi)return this.findSymbolDeclaration(t.metadata)}return e},_w.prototype.tryAnnotations=function(e){var t=this.errorRecorder;this.errorRecorder=function(e,t){};try{return this.annotations(e)}finally{this.errorRecorder=t}},_w.prototype.annotations=function(e){var n=this;return this._annotations(e,function(e,t){return n.simplify(e,t)},this.annotationCache)},_w.prototype.shallowAnnotations=function(e){var n=this;return this._annotations(e,function(e,t){return n.simplify(e,t,!0)},this.shallowAnnotationCache)},_w.prototype._annotations=function(e,t,n){var r=n.get(e);if(!r){r=[];var i=this.getTypeMetadata(e),o=this.findParentType(e,i);if(o){var a=this.annotations(o);r.push.apply(r,q(a))}var s=[];if(i.decorators&&(s=t(e,i.decorators))&&r.push.apply(r,q(s)),o&&!this.summaryResolver.isLibraryFile(e.filePath)&&this.summaryResolver.isLibraryFile(o.filePath)){var l=this.summaryResolver.resolveSummary(o);if(l&&l.type){var u=this.annotationForParentClassWithSummaryKind.get(l.type.summaryKind);u.some(function(t){return s.some(function(e){return t.isTypeOf(e)})})||this.reportError(Fw(ww("Class "+e.name+" in "+e.filePath+" extends from a "+E.CompileSummaryKind[l.type.summaryKind]+" in another compilation unit without duplicating the decorator",void 0,"Please add a "+u.map(function(e){return e.ngMetadataName}).join(" or ")+" decorator to the class"),e),e)}}n.set(e,r.filter(function(e){return!!e}))}return r},_w.prototype.propMetadata=function(r){var i=this,o=this.propertyCache.get(r);if(!o){var e=this.getTypeMetadata(r);o={};var t=this.findParentType(r,e);if(t){var n=this.propMetadata(t);Object.keys(n).forEach(function(e){o[e]=n[e]})}var a=e.members||{};Object.keys(a).forEach(function(e){var t=a[e].find(function(e){return"property"==e.__symbolic||"method"==e.__symbolic}),n=[];o[e]&&n.push.apply(n,q(o[e])),o[e]=n,t&&t.decorators&&n.push.apply(n,q(i.simplify(r,t.decorators)))}),this.propertyCache.set(r,o)}return o},_w.prototype.parameters=function(o){var a=this;if(!(o instanceof pi))return this.reportError(new Error("parameters received "+JSON.stringify(o)+" which is not a StaticSymbol"),o),[];try{var s=this.parameterCache.get(o);if(!s){var e=this.getTypeMetadata(o),t=this.findParentType(o,e),n=e?e.members:null,r=n?n.__ctor__:null;if(r){var i=r.find(function(e){return"constructor"==e.__symbolic}),l=i.parameters||[],u=this.simplify(o,i.parameterDecorators||[]);s=[],l.forEach(function(e,t){var n=[],r=a.trySimplify(o,e);r&&n.push(r);var i=u?u[t]:null;i&&n.push.apply(n,q(i)),s.push(n)})}else t&&(s=this.parameters(t));s=s||[],this.parameterCache.set(o,s)}return s}catch(e){throw console.error("Failed on type "+JSON.stringify(o)+" with error "+e),e}},_w.prototype._methodNames=function(e){var n=this.methodCache.get(e);if(!n){var t=this.getTypeMetadata(e);n={};var r=this.findParentType(e,t);if(r){var i=this._methodNames(r);Object.keys(i).forEach(function(e){n[e]=i[e]})}var o=t.members||{};Object.keys(o).forEach(function(e){var t=o[e].some(function(e){return"method"==e.__symbolic});n[e]=n[e]||t}),this.methodCache.set(e,n)}return n},_w.prototype._staticMembers=function(e){var t=this.staticCache.get(e);if(!t){var n=this.getTypeMetadata(e).statics||{};t=Object.keys(n),this.staticCache.set(e,t)}return t},_w.prototype.findParentType=function(e,t){var n=this.trySimplify(e,t.extends);if(n instanceof pi)return n},_w.prototype.hasLifecycleHook=function(t,e){t instanceof pi||this.reportError(new Error("hasLifecycleHook received "+JSON.stringify(t)+" which is not a StaticSymbol"),t);try{return!!this._methodNames(t)[e]}catch(e){throw console.error("Failed on type "+JSON.stringify(t)+" with error "+e),e}},_w.prototype.guards=function(e){var t,n;if(!(e instanceof pi))return this.reportError(new Error("guards received "+JSON.stringify(e)+" which is not a StaticSymbol"),e),{};var r=this._staticMembers(e),i={};try{for(var o=z(r),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.endsWith("TypeGuard")){var l=s.substr(0,s.length-"TypeGuard".length),u=void 0;u=l.endsWith("UseIf")?(l=s.substr(0,l.length-"UseIf".length),"UseIf"):this.getStaticSymbol(e.filePath,e.name,[s]),i[l]=u}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return i},_w.prototype._registerDecoratorOrConstructor=function(e,n){this.conversionMap.set(e,function(e,t){return new(n.bind.apply(n,q([void 0],t)))})},_w.prototype._registerFunction=function(e,n){this.conversionMap.set(e,function(e,t){return n.apply(void 0,t)})},_w.prototype.initializeConversionMap=function(){this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Injectable"),X),this.injectionToken=this.findDeclaration(hw,"InjectionToken"),this.opaqueToken=this.findDeclaration(hw,"OpaqueToken"),this.ROUTES=this.tryFindDeclaration("@angular/router","ROUTES"),this.ANALYZE_FOR_ENTRY_COMPONENTS=this.findDeclaration(hw,"ANALYZE_FOR_ENTRY_COMPONENTS"),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Host"),re),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Self"),te),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"SkipSelf"),ne),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Inject"),w),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Optional"),ee),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Attribute"),C),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"ContentChild"),O),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"ContentChildren"),S),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"ViewChild"),D),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"ViewChildren"),k),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Input"),G),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Output"),Y),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Pipe"),L),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"HostBinding"),K),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"HostListener"),Z),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Directive"),A),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Component"),F),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"NgModule"),Q),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Host"),re),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Self"),te),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"SkipSelf"),ne),this._registerDecoratorOrConstructor(this.findDeclaration(hw,"Optional"),ee)},_w.prototype.getStaticSymbol=function(e,t,n){return this.symbolResolver.getStaticSymbol(e,t,n)},_w.prototype.trySimplify=function(e,t){var n=this.errorRecorder;this.errorRecorder=function(e,t){};var r=this.simplify(e,t);return this.errorRecorder=n,r},_w.prototype.simplify=function(t,e,n){void 0===n&&(n=!1);var r,V=this,B=Pw.empty,U=new Map;try{r=function P(A,e,M,R){function N(e){var t=V.symbolResolver.resolveSymbol(e);return t?t.metadata:null}function j(e){return P(A,e,M,0)}function F(t,e){if(t===A)return P(t,e,M+1,R);try{return P(t,e,M+1,R)}catch(e){if(!xw(e))throw e;var n=e.chain?"references '"+e.symbol.name+"'":function(e){if(e.summary)return e.summary;switch(e.message){case Cw:if(e.context&&e.context.className)return"references non-exported class "+e.context.className;break;case Sw:return"is not initialized";case Ew:return"is a destructured variable";case Ow:return"could not be resolved";case kw:return e.context&&e.context.name?"calls '"+e.context.name+"'":"calls a function";case Dw:return e.context&&e.context.name?"references local variable "+e.context.name:"references a local variable"}return"contains the error"}(e),r={message:"'"+t.name+"' "+n,position:e.position,next:e.chain};V.error({message:e.message,advise:e.advise,context:e.context,chain:r,symbol:t},A)}}function L(r){var t,e,n,i;if(Iw(r))return r;if(Array.isArray(r)){var o=[];try{for(var a=z(r),s=a.next();!s.done;s=a.next()){var l=s.value;if(l&&"spread"===l.__symbolic){var u=j(l.expression);if(Array.isArray(u)){try{for(var c=(n=void 0,z(u)),p=c.next();!p.done;p=c.next()){var d=p.value;o.push(d)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}continue}}var h=L(l);yw(h)||o.push(h)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return o}if(r instanceof pi)return r===V.injectionToken||V.conversionMap.has(r)||0<R&&!r.members.length?r:null!=(C=N(f=r))?F(f,C):f;if(r){if(r.__symbolic){var f=void 0;switch(r.__symbolic){case"binop":var m=L(r.left);if(yw(m))return m;var v=L(r.right);if(yw(v))return v;switch(r.operator){case"&&":return m&&v;case"||":return m||v;case"|":return m|v;case"^":return m^v;case"&":return m&v;case"==":return m==v;case"!=":return m!=v;case"===":return m===v;case"!==":return m!==v;case"<":return m<v;case">":return v<m;case"<=":return m<=v;case">=":return v<=m;case"<<":return m<<v;case">>":return m>>v;case"+":return m+v;case"-":return m-v;case"*":return m*v;case"/":return m/v;case"%":return m%v}return null;case"if":return L(L(r.condition)?r.thenExpression:r.elseExpression);case"pre":var y=L(r.operand);if(yw(y))return y;switch(r.operator){case"+":return y;case"-":return-y;case"!":return!y;case"~":return~y}return null;case"index":var g=j(r.expression),_=j(r.index);return g&&Iw(_)?g[_]:null;case"select":var b=r.member,w=A,x=L(r.expression);if(x instanceof pi){var C,S=x.members.concat(b);return null!=(C=N(w=V.getStaticSymbol(x.filePath,x.name,S)))?F(w,C):w}return x&&Iw(b)?F(w,x[b]):null;case"reference":var E=r.name,O=B.resolve(E);if(O!=Pw.missing)return O;break;case"resolved":try{return L(r.symbol)}catch(e){throw xw(e)&&null!=r.fileName&&null!=r.line&&null!=r.character&&(e.position={fileName:r.fileName,line:r.line,column:r.character}),e}case"class":case"function":return A;case"new":case"call":if((f=P(A,r.expression,M+1,0))instanceof pi){if(f===V.injectionToken||f===V.opaqueToken)return A;var k=r.arguments||[],D=V.conversionMap.get(f);if(D){var T=k.map(function(e){return F(A,e)}).map(function(e){return yw(e)?void 0:e});return D(A,T)}return function(e,t,n,r){if(t&&"function"==t.__symbolic){U.get(e)&&V.error({message:"Recursion is not supported",summary:"called '"+e.name+"' recursively",value:t},e);try{var i=t.value;if(i&&(0!=M||"error"!=i.__symbolic)){var o=t.parameters,a=t.defaults;n=n.map(function(e){return F(A,e)}).map(function(e){return yw(e)?void 0:e}),a&&a.length>n.length&&n.push.apply(n,q(a.slice(n.length).map(function(e){return L(e)}))),U.set(e,!0);for(var s=Pw.build(),l=0;l<o.length;l++)s.define(o[l],n[l]);var u,c=B;try{B=s.done(),u=F(e,i)}finally{B=c}return u}}finally{U.delete(e)}}if(0===M)return mw;var p=void 0;if(r&&"resolved"==r.__symbolic){var d=r.line,h=r.character,f=r.fileName;null!=f&&null!=d&&null!=h&&(p={fileName:f,line:d,column:h})}V.error({message:kw,context:e,value:t,position:p},A)}(f,N(f),k,r.expression)}return mw;case"error":var I=r.message;return null!=r.line?V.error({message:I,context:r.context,value:r,position:{fileName:r.fileName,line:r.line,column:r.character}},A):V.error({message:I,context:r.context},A),mw;case"ignore":return r}return null}return function(n,r){if(!n)return{};var i={};return Object.keys(n).forEach(function(e){var t=r(n[e],e);yw(t)||(fw.test(e)?Object.defineProperty(i,e,{enumerable:!1,configurable:!0,value:t}):i[e]=t)}),i}(r,function(e,t){if(vw.has(t)){if("useValue"===t&&"provide"in r){var n=L(r.provide);if(n===V.ROUTES||n==V.ANALYZE_FOR_ENTRY_COMPONENTS)return L(e)}return function(e){return P(A,e,M,R+1)}(e)}return L(e)})}return mw}return L(e)}(t,e,0,n?1:0)}catch(e){if(!this.errorRecorder)throw Fw(e,t);this.reportError(e,t)}if(!yw(r))return r},_w.prototype.getTypeMetadata=function(e){var t=this.symbolResolver.resolveSymbol(e);return t&&t.metadata?t.metadata:{__symbolic:"class"}},_w.prototype.reportError=function(e,t,n){if(!this.errorRecorder)throw e;this.errorRecorder(Fw(e,t),t&&t.filePath||n)},_w.prototype.error=function(e,t){var n=e.message,r=e.summary,i=e.advise,o=e.position,a=e.context,s=(e.value,e.symbol),l=e.chain;this.reportError(ww(n,r,i,o,s,a,l),t)},_w);function _w(e,t,n,r,i){var o=this;void 0===n&&(n=[]),void 0===r&&(r=[]),this.summaryResolver=e,this.symbolResolver=t,this.errorRecorder=i,this.annotationCache=new Map,this.shallowAnnotationCache=new Map,this.propertyCache=new Map,this.parameterCache=new Map,this.methodCache=new Map,this.staticCache=new Map,this.conversionMap=new Map,this.resolvedExternalReferences=new Map,this.annotationForParentClassWithSummaryKind=new Map,this.initializeConversionMap(),n.forEach(function(e){return o._registerDecoratorOrConstructor(o.getStaticSymbol(e.filePath,e.name),e.ctor)}),r.forEach(function(e){return o._registerFunction(o.getStaticSymbol(e.filePath,e.name),e.fn)}),this.annotationForParentClassWithSummaryKind.set(E.CompileSummaryKind.Directive,[A,F]),this.annotationForParentClassWithSummaryKind.set(E.CompileSummaryKind.Pipe,[L]),this.annotationForParentClassWithSummaryKind.set(E.CompileSummaryKind.NgModule,[Q]),this.annotationForParentClassWithSummaryKind.set(E.CompileSummaryKind.Injectable,[X,L,A,F,Q])}var bw="ngMetadataError";function ww(e,t,n,r,i,o,a){var s=jr(e);return s[bw]=!0,n&&(s.advise=n),r&&(s.position=r),t&&(s.summary=t),o&&(s.context=o),a&&(s.chain=a),i&&(s.symbol=i),s}function xw(e){return!!e[bw]}var Cw="Reference to non-exported class",Sw="Variable not initialized",Ew="Destructuring not supported",Ow="Could not resolve type",kw="Function call not supported",Dw="Reference to a local symbol",Tw="Lambda not supported";function Iw(e){return null===e||"function"!=typeof e&&"object"!=typeof e}var Pw=(Aw.build=function(){var n=new Map;return{define:function(e,t){return n.set(e,t),this},done:function(){return 0<n.size?new Rw(n):Aw.empty}}},Aw.missing={},Aw.empty={resolve:function(e){return Aw.missing}},Aw);function Aw(){}var Mw,Rw=(f(Nw,Mw=Pw),Nw.prototype.resolve=function(e){return this.bindings.has(e)?this.bindings.get(e):Pw.missing},Nw);function Nw(e){var t=Mw.call(this)||this;return t.bindings=e,t}function jw(e,t){var n=function(e,t){switch(e){case Cw:if(t&&t.className)return"References to a non-exported class are not supported in decorators but "+t.className+" was referenced.";break;case Sw:return"Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler";case Ew:return"Referencing an exported destructured variable or constant is not supported in decorators and this value is needed by the template compiler";case Ow:if(t&&t.typeName)return"Could not resolve type "+t.typeName;break;case kw:return t&&t.name?"Function calls are not supported in decorators but '"+t.name+"' was called":"Function calls are not supported in decorators";case Dw:if(t&&t.name)return"Reference to a local (non-exported) symbols are not supported in decorators but '"+t.name+"' was referenced";break;case Tw:return"Function expressions are not supported in decorators"}return e}(e.message,e.context)+(e.symbol?" in '"+e.symbol.name+"'":""),r=e.position,i=e.next?jw(e.next,t):t?{message:t}:void 0;return{message:n,position:r,next:i?[i]:void 0}}function Fw(e,t){if(xw(e)){var n=e.position;return dw(jw({message:"Error during template compile of '"+t.name+"'",position:n,next:{message:e.message,next:e.chain,context:e.context,symbol:e.symbol}},e.advise||function(e,t){switch(e){case Cw:if(t&&t.className)return"Consider exporting '"+t.className+"'";break;case Ew:return"Consider simplifying to avoid destructuring";case Dw:if(t&&t.name)return"Consider exporting '"+t.name+"'";break;case Tw:return"Consider changing the function expression into an exported function"}}(e.message,e.context)))}return e}var Lw=(Vw.prototype.isLibraryFile=function(e){return!this.host.isSourceFile(f_(e))},Vw.prototype.toSummaryFileName=function(e,t){return this.host.toSummaryFileName(e,t)},Vw.prototype.fromSummaryFileName=function(e,t){return this.host.fromSummaryFileName(e,t)},Vw.prototype.resolveSummary=function(e){var t=e.members.length?this.staticSymbolCache.get(e.filePath,e.name):e,n=this.summaryCache.get(t);return n||(this._loadSummaryFile(e.filePath),n=this.summaryCache.get(e)),t===e&&n||null},Vw.prototype.getSymbolsOf=function(t){return this._loadSummaryFile(t)?Array.from(this.summaryCache.keys()).filter(function(e){return e.filePath===t}):null},Vw.prototype.getImportAs=function(e){return e.assertNoMembers(),this.importAs.get(e)},Vw.prototype.getKnownModuleName=function(e){return this.knownFileNameToModuleNames.get(e)||null},Vw.prototype.addSummary=function(e){this.summaryCache.set(e.symbol,e)},Vw.prototype._loadSummaryFile=function(e){var t=this,n=this.loadedFilePaths.get(e);if(null!=n)return n;var r=null;if(this.isLibraryFile(e)){var i=y_(e);try{r=this.host.loadSummary(i)}catch(e){throw console.error("Error loading summary file "+i),e}}if(n=null!=r,this.loadedFilePaths.set(e,n),r){var o=function(e,t,n,r){return new Zb(e,t).deserialize(n,r)}(this.staticSymbolCache,this,e,r),a=o.moduleName,s=o.summaries,l=o.importAs;s.forEach(function(e){return t.summaryCache.set(e.symbol,e)}),a&&this.knownFileNameToModuleNames.set(e,a),l.forEach(function(e){t.importAs.set(e.symbol,e.importAs)})}return n},Vw);function Vw(e,t){this.host=e,this.staticSymbolCache=t,this.summaryCache=new Map,this.loadedFilePaths=new Map,this.importAs=new Map,this.knownFileNameToModuleNames=new Map}function Bw(r){return{resolve:function(e,t){var n=r.resourceNameToFileName(t,e);if(!n)throw jr("Couldn't resolve resource "+t+" from "+e);return n}}}function Uw(){}var zw=(qw.prototype.isLibraryFile=function(){return!1},qw.prototype.toSummaryFileName=function(e){return e},qw.prototype.fromSummaryFileName=function(e){return e},qw.prototype.resolveSummary=function(e){return this._summaries.get(e)||null},qw.prototype.getSymbolsOf=function(){return[]},qw.prototype.getImportAs=function(e){return e},qw.prototype.getKnownModuleName=function(e){return null},qw.prototype.addSummary=function(e){this._summaries.set(e.symbol,e)},qw);function qw(){this._summaries=new Map}function Hw(e,t,n,r,i){for(var o=r.createChildWihtLocalVars(),a=0;a<e.length;a++)o.vars.set(e[a],t[a]);var s=i.visitAllStatements(n,o);return s?s.value:null}var Ww=(Gw.prototype.createChildWihtLocalVars=function(){return new Gw(this,this.instance,this.className,new Map)},Gw);function Gw(e,t,n,r){this.parent=e,this.instance=t,this.className=n,this.vars=r,this.exports=[]}var Yw=function(e){this.value=e};function Kw(o,a,s){var e={};o.getters.forEach(function(t){e[t.name]={configurable:!1,get:function(){var e=new Ww(a,this,o.name,a.vars);return Hw([],[],t.body,e,s)}}}),o.methods.forEach(function(r){var i=r.params.map(function(e){return e.name});e[r.name]={writable:!1,configurable:!1,value:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new Ww(a,this,o.name,a.vars);return Hw(i,e,r.body,n,s)}}});function t(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=new Ww(a,this,o.name,a.vars);o.fields.forEach(function(e){t[e.name]=void 0}),Hw(i,e,o.constructorMethod.body,r,s)}var i=o.constructorMethod.params.map(function(e){return e.name}),n=o.parent?o.parent.visitExpression(s,a):Object;return t.prototype=Object.create(n.prototype,e),t}var Zw=(Qw.prototype.debugAst=function(e){return Y_(e)},Qw.prototype.visitDeclareVarStmt=function(e,t){var n=e.value?e.value.visitExpression(this,t):void 0;return t.vars.set(e.name,n),e.hasModifier(E.StmtModifier.Exported)&&t.exports.push(e.name),null},Qw.prototype.visitWriteVarExpr=function(e,t){for(var n=e.value.visitExpression(this,t),r=t;null!=r;){if(r.vars.has(e.name))return r.vars.set(e.name,n),n;r=r.parent}throw new Error("Not declared variable "+e.name)},Qw.prototype.visitWrappedNodeExpr=function(e,t){throw new Error("Cannot interpret a WrappedNodeExpr.")},Qw.prototype.visitTypeofExpr=function(e,t){throw new Error("Cannot interpret a TypeofExpr")},Qw.prototype.visitReadVarExpr=function(e,t){var n=e.name;if(null!=e.builtin)switch(e.builtin){case E.BuiltinVar.Super:return Object.getPrototypeOf(t.instance);case E.BuiltinVar.This:return t.instance;case E.BuiltinVar.CatchError:n=$w;break;case E.BuiltinVar.CatchStack:n=Jw;break;default:throw new Error("Unknown builtin variable "+e.builtin)}for(var r=t;null!=r;){if(r.vars.has(n))return r.vars.get(n);r=r.parent}throw new Error("Not declared variable "+n)},Qw.prototype.visitWriteKeyExpr=function(e,t){var n=e.receiver.visitExpression(this,t),r=e.index.visitExpression(this,t),i=e.value.visitExpression(this,t);return n[r]=i},Qw.prototype.visitWritePropExpr=function(e,t){var n=e.receiver.visitExpression(this,t),r=e.value.visitExpression(this,t);return n[e.name]=r},Qw.prototype.visitInvokeMethodExpr=function(e,t){var n,r=e.receiver.visitExpression(this,t),i=this.visitAllExpressions(e.args,t);if(null!=e.builtin)switch(e.builtin){case E.BuiltinMethod.ConcatArray:n=r.concat.apply(r,q(i));break;case E.BuiltinMethod.SubscribeObservable:n=r.subscribe({next:i[0]});break;case E.BuiltinMethod.Bind:n=r.bind.apply(r,q(i));break;default:throw new Error("Unknown builtin method "+e.builtin)}else n=r[e.name].apply(r,i);return n},Qw.prototype.visitInvokeFunctionExpr=function(e,t){var n=this.visitAllExpressions(e.args,t),r=e.fn;return r instanceof Ve&&r.builtin===E.BuiltinVar.Super?(t.instance.constructor.prototype.constructor.apply(t.instance,n),null):e.fn.visitExpression(this,t).apply(null,n)},Qw.prototype.visitReturnStmt=function(e,t){return new Yw(e.value.visitExpression(this,t))},Qw.prototype.visitDeclareClassStmt=function(e,t){var n=Kw(e,t,this);return t.vars.set(e.name,n),e.hasModifier(E.StmtModifier.Exported)&&t.exports.push(e.name),null},Qw.prototype.visitExpressionStmt=function(e,t){return e.expr.visitExpression(this,t)},Qw.prototype.visitIfStmt=function(e,t){return e.condition.visitExpression(this,t)?this.visitAllStatements(e.trueCase,t):null!=e.falseCase?this.visitAllStatements(e.falseCase,t):null},Qw.prototype.visitTryCatchStmt=function(t,n){try{return this.visitAllStatements(t.bodyStmts,n)}catch(e){var r=n.createChildWihtLocalVars();return r.vars.set($w,e),r.vars.set(Jw,e.stack),this.visitAllStatements(t.catchStmts,r)}},Qw.prototype.visitThrowStmt=function(e,t){throw e.error.visitExpression(this,t)},Qw.prototype.visitCommentStmt=function(e,t){return null},Qw.prototype.visitJSDocCommentStmt=function(e,t){return null},Qw.prototype.visitInstantiateExpr=function(e,t){var n=this.visitAllExpressions(e.args,t),r=e.classExpr.visitExpression(this,t);return new(r.bind.apply(r,q([void 0],n)))},Qw.prototype.visitLiteralExpr=function(e,t){return e.value},Qw.prototype.visitLocalizedString=function(e,t){return null},Qw.prototype.visitExternalExpr=function(e,t){return this.reflector.resolveExternalReference(e.value)},Qw.prototype.visitConditionalExpr=function(e,t){return e.condition.visitExpression(this,t)?e.trueCase.visitExpression(this,t):null!=e.falseCase?e.falseCase.visitExpression(this,t):null},Qw.prototype.visitNotExpr=function(e,t){return!e.condition.visitExpression(this,t)},Qw.prototype.visitAssertNotNullExpr=function(e,t){return e.condition.visitExpression(this,t)},Qw.prototype.visitCastExpr=function(e,t){return e.value.visitExpression(this,t)},Qw.prototype.visitFunctionExpr=function(e,t){return Xw(e.params.map(function(e){return e.name}),e.statements,t,this)},Qw.prototype.visitDeclareFunctionStmt=function(e,t){var n=e.params.map(function(e){return e.name});return t.vars.set(e.name,Xw(n,e.statements,t,this)),e.hasModifier(E.StmtModifier.Exported)&&t.exports.push(e.name),null},Qw.prototype.visitBinaryOperatorExpr=function(e,t){function n(){return e.lhs.visitExpression(i,t)}function r(){return e.rhs.visitExpression(i,t)}var i=this;switch(e.operator){case E.BinaryOperator.Equals:return n()==r();case E.BinaryOperator.Identical:return n()===r();case E.BinaryOperator.NotEquals:return n()!=r();case E.BinaryOperator.NotIdentical:return n()!==r();case E.BinaryOperator.And:return n()&&r();case E.BinaryOperator.Or:return n()||r();case E.BinaryOperator.Plus:return n()+r();case E.BinaryOperator.Minus:return n()-r();case E.BinaryOperator.Divide:return n()/r();case E.BinaryOperator.Multiply:return n()*r();case E.BinaryOperator.Modulo:return n()%r();case E.BinaryOperator.Lower:return n()<r();case E.BinaryOperator.LowerEquals:return n()<=r();case E.BinaryOperator.Bigger:return n()>r();case E.BinaryOperator.BiggerEquals:return n()>=r();default:throw new Error("Unknown operator "+e.operator)}},Qw.prototype.visitReadPropExpr=function(e,t){return e.receiver.visitExpression(this,t)[e.name]},Qw.prototype.visitReadKeyExpr=function(e,t){return e.receiver.visitExpression(this,t)[e.index.visitExpression(this,t)]},Qw.prototype.visitLiteralArrayExpr=function(e,t){return this.visitAllExpressions(e.entries,t)},Qw.prototype.visitLiteralMapExpr=function(e,t){var n=this,r={};return e.entries.forEach(function(e){return r[e.key]=e.value.visitExpression(n,t)}),r},Qw.prototype.visitCommaExpr=function(e,t){var n=this.visitAllExpressions(e.parts,t);return n[n.length-1]},Qw.prototype.visitAllExpressions=function(e,t){var n=this;return e.map(function(e){return e.visitExpression(n,t)})},Qw.prototype.visitAllStatements=function(e,t){for(var n=0;n<e.length;n++){var r=e[n].visitStatement(this,t);if(r instanceof Yw)return r}return null},Qw);function Qw(e){this.reflector=e}function Xw(n,r,i,o){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Hw(n,e,r,i,o)}}var $w="error",Jw="stack",ex=(tx.prototype.compileModuleSync=function(e){return Ar(this._compileModuleAndComponents(e,!0))},tx.prototype.compileModuleAsync=function(e){return Promise.resolve(this._compileModuleAndComponents(e,!1))},tx.prototype.compileModuleAndAllComponentsSync=function(e){return Ar(this._compileModuleAndAllComponents(e,!0))},tx.prototype.compileModuleAndAllComponentsAsync=function(e){return Promise.resolve(this._compileModuleAndAllComponents(e,!1))},tx.prototype.getComponentFactory=function(e){return this._metadataResolver.getDirectiveSummary(e).componentFactory},tx.prototype.loadAotSummaries=function(e){this.clearCache(),this._addAotSummaries(e)},tx.prototype._addAotSummaries=function(e){if(!this._addedAotSummaries.has(e)){this._addedAotSummaries.add(e);for(var t=e(),n=0;n<t.length;n++){var r=t[n];if("function"==typeof r)this._addAotSummaries(r);else{var i=r;this._summaryResolver.addSummary({symbol:i.type.reference,metadata:null,type:i})}}}},tx.prototype.hasAotSummary=function(e){return!!this._summaryResolver.resolveSummary(e)},tx.prototype._filterJitIdentifiers=function(e){var t=this;return e.map(function(e){return e.reference}).filter(function(e){return!t.hasAotSummary(e)})},tx.prototype._compileModuleAndComponents=function(e,t){var n=this;return Mr(this._loadModules(e,t),function(){return n._compileComponents(e,null),n._compileModule(e)})},tx.prototype._compileModuleAndAllComponents=function(t,e){var n=this;return Mr(this._loadModules(t,e),function(){var e=[];return n._compileComponents(t,e),{ngModuleFactory:n._compileModule(t),componentFactories:e}})},tx.prototype._loadModules=function(e,r){var i=this,o=[],t=this._metadataResolver.getNgModuleMetadata(e);return this._filterJitIdentifiers(t.transitiveModule.modules).forEach(function(e){var n=i._metadataResolver.getNgModuleMetadata(e);i._filterJitIdentifiers(n.declaredDirectives).forEach(function(e){var t=i._metadataResolver.loadDirectiveMetadata(n.type.reference,e,r);t&&o.push(t)}),i._filterJitIdentifiers(n.declaredPipes).forEach(function(e){return i._metadataResolver.getOrLoadPipeMetadata(e)})}),Rr(o)},tx.prototype._compileModule=function(e){var t=this._compiledNgModuleCache.get(e);if(!t){var n=this._metadataResolver.getNgModuleMetadata(e),r=this.getExtraNgModuleProviders(n.type.reference),i=ox(),o=this._ngModuleCompiler.compile(i,n,r);t=this._interpretOrJit(Wi(n),i.statements)[o.ngModuleFactoryVar],this._compiledNgModuleCache.set(n.type.reference,t)}return t},tx.prototype._compileComponents=function(e,i){var o=this,t=this._metadataResolver.getNgModuleMetadata(e),a=new Map,s=new Set,n=this._filterJitIdentifiers(t.transitiveModule.modules);n.forEach(function(e){var r=o._metadataResolver.getNgModuleMetadata(e);o._filterJitIdentifiers(r.declaredDirectives).forEach(function(e){a.set(e,r);var t=o._metadataResolver.getDirectiveMetadata(e);if(t.isComponent&&(s.add(o._createCompiledTemplate(t,r)),i)){var n=o._createCompiledHostTemplate(t.type.reference,r);s.add(n),i.push(t.componentFactory)}})}),n.forEach(function(e){var t=o._metadataResolver.getNgModuleMetadata(e);o._filterJitIdentifiers(t.declaredDirectives).forEach(function(e){var t=o._metadataResolver.getDirectiveMetadata(e);t.isComponent&&t.entryComponents.forEach(function(e){var t=a.get(e.componentType);s.add(o._createCompiledHostTemplate(e.componentType,t))})}),t.entryComponents.forEach(function(e){if(!o.hasAotSummary(e.componentType)){var t=a.get(e.componentType);s.add(o._createCompiledHostTemplate(e.componentType,t))}})}),s.forEach(function(e){return o._compileTemplate(e)})},tx.prototype.clearCacheFor=function(e){this._compiledNgModuleCache.delete(e),this._metadataResolver.clearCacheFor(e),this._compiledHostTemplateCache.delete(e),this._compiledTemplateCache.get(e)&&this._compiledTemplateCache.delete(e)},tx.prototype.clearCache=function(){this._metadataResolver.clearCache(),this._compiledTemplateCache.clear(),this._compiledHostTemplateCache.clear(),this._compiledNgModuleCache.clear()},tx.prototype._createCompiledHostTemplate=function(e,t){if(!t)throw new Error("Component "+zr(e)+" is not part of any NgModule or the module has not been imported into your module.");var n=this._compiledHostTemplateCache.get(e);if(!n){var r=this._metadataResolver.getDirectiveMetadata(e);ix(r);var i=this._metadataResolver.getHostComponentMetadata(r,r.componentFactory.viewDefFactory);n=new nx(!0,r.type,i,t,[r.type]),this._compiledHostTemplateCache.set(e,n)}return n},tx.prototype._createCompiledTemplate=function(e,t){var n=this._compiledTemplateCache.get(e.type.reference);return n||(ix(e),n=new nx(!1,e.type,e,t,t.transitiveModule.directives),this._compiledTemplateCache.set(e.type.reference,n)),n},tx.prototype._compileTemplate=function(e){var n=this;if(!e.isCompiled){var r=e.compMeta,i=new Map,t=ox(),o=this._styleCompiler.compileComponent(t,r);r.template.externalStylesheets.forEach(function(e){var t=n._styleCompiler.compileStyles(ox(),r,e);i.set(e.moduleUrl,t)}),this._resolveStylesCompileResult(o,i),e.ngModule.transitiveModule.pipes.map(function(e){return n._metadataResolver.getPipeSummary(e.reference)});var a=this._parseTemplate(r,e.ngModule,e.directives),s=a.template,l=a.pipes,u=this._viewCompiler.compileComponent(t,r,s,fr(o.stylesVar),l),c=this._interpretOrJit(Gi(e.ngModule.type,e.compMeta),t.statements),p=c[u.viewClassVar],d=c[u.rendererTypeVar];e.compiled(p,d)}},tx.prototype._parseTemplate=function(e,t,n){var r=this,i=e.template.preserveWhitespaces,o=n.map(function(e){return r._metadataResolver.getDirectiveSummary(e.reference)}),a=t.transitiveModule.pipes.map(function(e){return r._metadataResolver.getPipeSummary(e.reference)});return this._templateParser.parse(e,e.template.htmlAst,o,a,t.schemas,qi(t.type,e,e.template),i)},tx.prototype._resolveStylesCompileResult=function(e,i){var o=this;e.dependencies.forEach(function(e,t){var n=i.get(e.moduleUrl),r=o._resolveAndEvalStylesCompileResult(n,i);e.setValue(r)})},tx.prototype._resolveAndEvalStylesCompileResult=function(e,t){return this._resolveStylesCompileResult(e,t),this._interpretOrJit(Hi(e.meta,this._sharedStylesheetCount++),e.outputCtx.statements)[e.stylesVar]},tx.prototype._interpretOrJit=function(e,t){return this._compilerConfig.useJit?this._jitEvaluator.evaluateStatements(e,t,this._reflector,this._compilerConfig.jitDevMode):function(e,t){var n=new Ww(null,null,null,new Map);new Zw(t).visitAllStatements(e,n);var r={};return n.exports.forEach(function(e){r[e]=n.vars.get(e)}),r}(t,this._reflector)},tx);function tx(e,t,n,r,i,o,a,s,l,u,c){this._metadataResolver=e,this._templateParser=t,this._styleCompiler=n,this._viewCompiler=r,this._ngModuleCompiler=i,this._summaryResolver=o,this._reflector=a,this._jitEvaluator=s,this._compilerConfig=l,this._console=u,this.getExtraNgModuleProviders=c,this._compiledTemplateCache=new Map,this._compiledHostTemplateCache=new Map,this._compiledDirectiveWrapperCache=new Map,this._compiledNgModuleCache=new Map,this._sharedStylesheetCount=0,this._addedAotSummaries=new Set}var nx=(rx.prototype.compiled=function(e,t){for(var n in this._viewClass=e,this.compMeta.componentViewType.setDelegate(e),t)this.compMeta.rendererType[n]=t[n];this.isCompiled=!0},rx);function rx(e,t,n,r,i){this.isHost=e,this.compType=t,this.compMeta=n,this.ngModule=r,this.directives=i,this._viewClass=null,this.isCompiled=!1}function ix(e){if(!e.isComponent)throw new Error("Could not compile '"+_i(e.type)+"' because it is not a component.")}function ox(){return{statements:[],genFilePath:"",importExpr:function(e){return mr({name:_i(e),moduleName:null,runtime:e})},constantPool:new ei}}function ax(){}var sx=(lx.prototype.resolve=function(e,t){var n=t;null!=e&&0<e.length&&(n=function(e,t){var n=dx(encodeURI(t)),r=dx(e);if(null!=n[ux.Scheme])return hx(n);n[ux.Scheme]=r[ux.Scheme];for(var i=ux.Scheme;i<=ux.Port;i++)null==n[i]&&(n[i]=r[i]);if("/"==n[ux.Path][0])return hx(n);var o=r[ux.Path];null==o&&(o="/");var a=o.lastIndexOf("/");return o=o.substring(0,a+1)+n[ux.Path],n[ux.Path]=o,hx(n)}(e,n));var r=dx(n),i=this._packagePrefix;if(null==i||null==r||"package"!=r[ux.Scheme])return n;var o=r[ux.Path];return(i=i.replace(/\/+$/,""))+"/"+(o=o.replace(/^\/+/,""))},lx);function lx(e){void 0===e&&(e=null),this._packagePrefix=e}var ux,cx,px=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function dx(e){return e.match(px)}function hx(e){var t=e[ux.Path];return t=null==t?"":function(e){if("/"==e)return"/";for(var t="/"==e[0]?"/":"",n="/"===e[e.length-1]?"/":"",r=e.split("/"),i=[],o=0,a=0;a<r.length;a++){var s=r[a];switch(s){case"":case".":break;case"..":0<i.length?i.pop():o++;break;default:i.push(s)}}if(!t){for(;0<o--;)i.unshift("..");0===i.length&&i.push(".")}return t+i.join("/")+n}(t),e[ux.Path]=t,function(e,t,n,r,i,o,a){var s=[];return null!=e&&s.push(e+":"),null!=n&&(s.push("//"),null!=t&&s.push(t+"@"),s.push(n),null!=r&&s.push(":"+r)),null!=i&&s.push(i),null!=o&&s.push("?"+o),null!=a&&s.push("#"+a),s.join("")}(e[ux.Scheme],e[ux.UserInfo],e[ux.Domain],e[ux.Port],t,e[ux.QueryData],e[ux.Fragment])}(cx=ux=ux||{})[cx.Scheme=1]="Scheme",cx[cx.UserInfo=2]="UserInfo",cx[cx.Domain=3]="Domain",cx[cx.Port=4]="Port",cx[cx.Path=5]="Path",cx[cx.QueryData=6]="QueryData",cx[cx.Fragment=7]="Fragment";var fx=(mx.prototype.extract=function(e){var o=this,t=iw(e,this.host,this.staticSymbolResolver,this.metadataResolver),n=t.files,r=t.ngModules;return Promise.all(r.map(function(e){return o.metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!1)})).then(function(){var i=[];if(n.forEach(function(e){var n=[];e.directives.forEach(function(e){var t=o.metadataResolver.getDirectiveMetadata(e);t&&t.isComponent&&n.push(t)}),n.forEach(function(e){var t=e.template.template,n=e.template.templateUrl,r=Rl.fromArray(e.template.interpolation);i.push.apply(i,q(o.messageBundle.updateFromTemplate(t,n,r)))})}),i.length)throw new Error(i.map(function(e){return e.toString()}).join("\n"));return o.messageBundle})},mx.create=function(t,e){var n=new Uh,r=Bw(t),i=new hi,o=new Lw(t,i),a=new Lb(t,i,o),s=new gw(o,a),l=new Ky({defaultEncapsulation:I.Emulated,useJit:!1}),u=new Qy({get:function(e){return t.loadResource(e)}},r,n,l),c=new ev,p=new k_(l,n,new W_(s),new tg(s),new J_(s),o,c,u,console,i,s),d=new Ob(n,[],{},e);return{extractor:new mx(t,a,d,p),staticReflector:s}},mx);function mx(e,t,n,r){this.host=e,this.staticSymbolResolver=t,this.messageBundle=n,this.metadataResolver=r}var vx=(yx.prototype.bind=function(e){if(!e.template)throw new Error("Binding without a template not yet supported");var t=gx.apply(e.template),n=bx.apply(e.template,this.directiveMatcher),r=n.directives,i=n.bindings,o=n.references,a=Cx.apply(e.template,t),s=a.expressions,l=a.symbols,u=a.nestingLevel,c=a.usedPipes;return new Ex(e,r,i,o,s,l,u,c)},yx);function yx(e){this.directiveMatcher=e}var gx=(_x.apply=function(e){var t=new _x;return t.ingest(e),t},_x.prototype.ingest=function(e){var t=this;e instanceof la?(e.variables.forEach(function(e){return t.visitVariable(e)}),e.children.forEach(function(e){return e.visit(t)})):e.forEach(function(e){return e.visit(t)})},_x.prototype.visitElement=function(e){var t=this;e.references.forEach(function(e){return t.visitReference(e)}),e.children.forEach(function(e){return e.visit(t)})},_x.prototype.visitTemplate=function(e){var t=this;e.references.forEach(function(e){return t.visitReference(e)});var n=new _x(this);n.ingest(e),this.childScopes.set(e,n)},_x.prototype.visitVariable=function(e){this.maybeDeclare(e)},_x.prototype.visitReference=function(e){this.maybeDeclare(e)},_x.prototype.visitContent=function(e){},_x.prototype.visitBoundAttribute=function(e){},_x.prototype.visitBoundEvent=function(e){},_x.prototype.visitBoundText=function(e){},_x.prototype.visitText=function(e){},_x.prototype.visitTextAttribute=function(e){},_x.prototype.visitIcu=function(e){},_x.prototype.maybeDeclare=function(e){this.namedEntities.has(e.name)||this.namedEntities.set(e.name,e)},_x.prototype.lookup=function(e){return this.namedEntities.has(e)?this.namedEntities.get(e):void 0!==this.parentScope?this.parentScope.lookup(e):null},_x.prototype.getChildScope=function(e){var t=this.childScopes.get(e);if(void 0===t)throw new Error("Assertion error: child scope for "+e+" not found");return t},_x);function _x(e){this.parentScope=e,this.namedEntities=new Map,this.childScopes=new Map}var bx=(wx.apply=function(e,t){var n=new Map,r=new Map,i=new Map;return new wx(t,n,r,i).ingest(e),{directives:n,bindings:r,references:i}},wx.prototype.ingest=function(e){var t=this;e.forEach(function(e){return e.visit(t)})},wx.prototype.visitElement=function(e){this.visitElementOrTemplate(e.name,e)},wx.prototype.visitTemplate=function(e){this.visitElementOrTemplate("ng-template",e)},wx.prototype.visitElementOrTemplate=function(e,n){var r=this,i=new B;i.setElement(e);var o=wl(n);Object.getOwnPropertyNames(o).forEach(function(e){var t=o[e];i.addAttribute(e,t),"class"===e.toLowerCase()&&t.trim().split(/\s+/g).forEach(function(e){return i.addClassName(e)})});var a=[];function t(t){var e=a.find(function(e){return e.inputs.hasOwnProperty(t.name)});void 0!==e?r.bindings.set(t,e):r.bindings.set(t,n)}this.matcher.match(i,function(e,t){return a.push(t)}),0<a.length&&this.directives.set(n,a),n.references.forEach(function(t){var e=null;if(""===t.value.trim())e=a.find(function(e){return e.isComponent})||null;else if(null===(e=a.find(function(e){return null!==e.exportAs&&e.exportAs.some(function(e){return e===t.value})})||null))throw new Error("Assertion error: failed to find directive with exportAs: "+t.value);null!==e?r.references.set(t,{directive:e,node:n}):r.references.set(t,n)}),n.attributes.forEach(t),n.inputs.forEach(t),n.outputs.forEach(t),n instanceof la&&n.templateAttrs.forEach(t),n.children.forEach(function(e){return e.visit(r)})},wx.prototype.visitContent=function(e){},wx.prototype.visitVariable=function(e){},wx.prototype.visitReference=function(e){},wx.prototype.visitTextAttribute=function(e){},wx.prototype.visitBoundAttribute=function(e){},wx.prototype.visitBoundEvent=function(e){},wx.prototype.visitBoundAttributeOrEvent=function(e){},wx.prototype.visitText=function(e){},wx.prototype.visitBoundText=function(e){},wx.prototype.visitIcu=function(e){},wx);function wx(e,t,n,r){this.matcher=e,this.directives=t,this.bindings=n,this.references=r}var xx,Cx=(f(Sx,xx=bc),Sx.apply=function(e,t){var n=new Map,r=new Map,i=new Map,o=new Set;return new Sx(n,r,o,i,t,e instanceof la?e:null,0).ingest(e),{expressions:n,symbols:r,nestingLevel:i,usedPipes:o}},Sx.prototype.ingest=function(e){e instanceof la?(e.variables.forEach(this.visitNode),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level)):e.forEach(this.visitNode)},Sx.prototype.visitElement=function(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.children.forEach(this.visitNode)},Sx.prototype.visitTemplate=function(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.templateAttrs.forEach(this.visitNode),e.references.forEach(this.visitNode);var t=this.scope.getChildScope(e);new Sx(this.bindings,this.symbols,this.usedPipes,this.nestingLevel,t,e,this.level+1).ingest(e)},Sx.prototype.visitVariable=function(e){null!==this.template&&this.symbols.set(e,this.template)},Sx.prototype.visitReference=function(e){null!==this.template&&this.symbols.set(e,this.template)},Sx.prototype.visitText=function(e){},Sx.prototype.visitContent=function(e){},Sx.prototype.visitTextAttribute=function(e){},Sx.prototype.visitIcu=function(e){},Sx.prototype.visitBoundAttribute=function(e){e.value.visit(this)},Sx.prototype.visitBoundEvent=function(e){e.handler.visit(this)},Sx.prototype.visitBoundText=function(e){e.value.visit(this)},Sx.prototype.visitPipe=function(e,t){return this.usedPipes.add(e.name),xx.prototype.visitPipe.call(this,e,t)},Sx.prototype.visitPropertyRead=function(e,t){return this.maybeMap(t,e,e.name),xx.prototype.visitPropertyRead.call(this,e,t)},Sx.prototype.visitSafePropertyRead=function(e,t){return this.maybeMap(t,e,e.name),xx.prototype.visitSafePropertyRead.call(this,e,t)},Sx.prototype.visitPropertyWrite=function(e,t){return this.maybeMap(t,e,e.name),xx.prototype.visitPropertyWrite.call(this,e,t)},Sx.prototype.visitMethodCall=function(e,t){return this.maybeMap(t,e,e.name),xx.prototype.visitMethodCall.call(this,e,t)},Sx.prototype.visitSafeMethodCall=function(e,t){return this.maybeMap(t,e,e.name),xx.prototype.visitSafeMethodCall.call(this,e,t)},Sx.prototype.maybeMap=function(e,t,n){if(t.receiver instanceof pu){var r=this.scope.lookup(n);null!==r&&this.bindings.set(t,r)}},Sx);function Sx(e,t,n,r,i,o,a){var s=xx.call(this)||this;return s.bindings=e,s.symbols=t,s.usedPipes=n,s.nestingLevel=r,s.scope=i,s.template=o,s.level=a,s.pipesUsed=[],s.visitNode=function(e){return e.visit(s)},s}var Ex=(Ox.prototype.getDirectivesOfNode=function(e){return this.directives.get(e)||null},Ox.prototype.getReferenceTarget=function(e){return this.references.get(e)||null},Ox.prototype.getConsumerOfBinding=function(e){return this.bindings.get(e)||null},Ox.prototype.getExpressionTarget=function(e){return this.exprTargets.get(e)||null},Ox.prototype.getTemplateOfSymbol=function(e){return this.symbols.get(e)||null},Ox.prototype.getNestingLevel=function(e){return this.nestingLevel.get(e)||0},Ox.prototype.getUsedDirectives=function(){var t=new Set;return this.directives.forEach(function(e){return e.forEach(function(e){return t.add(e)})}),Array.from(t.values())},Ox.prototype.getUsedPipes=function(){return Array.from(this.usedPipes)},Ox);function Ox(e,t,n,r,i,o,a,s){this.target=e,this.directives=t,this.bindings=n,this.references=r,this.exprTargets=i,this.symbols=o,this.nestingLevel=a,this.usedPipes=s}Gy(Kr),E.core=ce,E.CUSTOM_ELEMENTS_SCHEMA=$,E.NO_ERRORS_SCHEMA=J,E.CompilerConfig=Ky,E.preserveWhitespacesDefault=Zy,E.isLoweredSymbol=C_,E.createLoweredSymbol=function(e){return"ɵ"+e},E.Identifiers=si,E.JitCompiler=ex,E.ConstantPool=ei,E.DirectiveResolver=tg,E.PipeResolver=J_,E.NgModuleResolver=W_,E.DEFAULT_INTERPOLATION_CONFIG=Fl,E.InterpolationConfig=Rl,E.NgModuleCompiler=q_,E.ArrayType=we,E.AssertNotNull=Tt,E.DYNAMIC_TYPE=ke,E.BinaryOperatorExpr=Bt,E.BuiltinType=me,E.CastExpr=At,E.ClassField=On,E.ClassMethod=Tn,E.ClassStmt=Nn,E.CommaExpr=rn,E.CommentStmt=Un,E.ConditionalExpr=Ct,E.DeclareFunctionStmt=mn,E.DeclareVarStmt=dn,E.Expression=je,E.ExpressionStatement=gn,E.ExpressionType=ge,E.ExternalExpr=_t,E.ExternalReference=xt,E.literalMap=_r,E.FunctionExpr=Ft,E.IfStmt=Ln,E.InstantiateExpr=ct,E.InvokeFunctionExpr=st,E.InvokeMethodExpr=it,E.JSDocCommentStmt=Hn,E.LiteralArrayExpr=Zt,E.LiteralExpr=ht,E.LiteralMapExpr=en,E.MapType=Se,E.NotExpr=Ot,E.ReadKeyExpr=Gt,E.ReadPropExpr=qt,E.ReadVarExpr=Ve,E.ReturnStatement=wn,E.ThrowStmt=Qn,E.TryCatchStmt=Yn,E.Type=de,E.WrappedNodeExpr=We,E.WriteKeyExpr=Xe,E.WritePropExpr=tt,E.WriteVarExpr=Ke,E.Statement=un,E.STRING_TYPE=Pe,E.TypeofExpr=ze,E.collectExternalReferences=function(e){var t=new sr;return t.visitAllStatements(e,null),t.externalReferences},E.EmitterVisitorContext=Tp,E.JitEvaluator=Vp,E.ViewCompiler=pb,E.getParseErrors=function(e){return e[Lr]||[]},E.isSyntaxError=function(e){return e[Fr]},E.syntaxError=jr,E.Version=Wr,E.TmplAstBoundAttribute=na,E.TmplAstBoundEvent=ia,E.TmplAstBoundText=$o,E.TmplAstContent=ca,E.TmplAstElement=aa,E.TmplAstRecursiveVisitor=_a,E.TmplAstReference=fa,E.TmplAstTemplate=la,E.TmplAstText=Qo,E.TmplAstTextAttribute=ea,E.TmplAstVariable=da,E.R3Identifiers=Ki,E.compileFactoryFromMetadata=El,E.compileInjector=Kp,E.compileNgModule=Yp,E.compilePipeFromMetadata=Xp,E.makeBindingParser=ry,E.parseTemplate=ny,E.compileBaseDefFromMetadata=hy,E.compileComponentFromMetadata=fy,E.compileDirectiveFromMetadata=dy,E.parseHostBindings=Dy,E.verifyHostBindings=Ty,E.publishFacade=Gy,E.VERSION=Yy,E.TextAst=lf,E.BoundTextAst=cf,E.AttrAst=df,E.BoundElementPropertyAst=mf,E.BoundEventAst=yf,E.ReferenceAst=_f,E.VariableAst=wf,E.ElementAst=Cf,E.EmbeddedTemplateAst=Ef,E.BoundDirectivePropertyAst=kf,E.DirectiveAst=Tf,E.ProviderAst=Af,E.NgContentAst=Rf,E.NullTemplateVisitor=jf,E.RecursiveTemplateAstVisitor=Vf,E.templateVisitAll=Uf,E.sanitizeIdentifier=vi,E.identifierName=_i,E.identifierModuleUrl=bi,E.viewClassName=wi,E.rendererTypeName=xi,E.hostViewClassName=Ci,E.componentFactoryName=Si,E.tokenName=Ei,E.tokenReference=Oi,E.CompileStylesheetMetadata=ki,E.CompileTemplateMetadata=Di,E.CompileDirectiveMetadata=Ii,E.CompilePipeMetadata=Ai,E.CompileShallowModuleMetadata=Ri,E.CompileNgModuleMetadata=Ni,E.TransitiveCompileNgModuleMetadata=Fi,E.ProviderMeta=Bi,E.flatten=Ui,E.templateSourceUrl=qi,E.sharedStylesheetJitUrl=Hi,E.ngModuleJitUrl=Wi,E.templateJitUrl=Gi,E.createAotUrlResolver=Bw,E.createAotCompiler=function(t,e,n){var r,i=e.translations||"",o=Bw(t),a=new hi,s=new Lw(t,a),l=new Lb(t,a,s),u=new gw(s,l,[],[],n);r=e.enableIvy?new Uh:new t_(new Uh,i,e.i18nFormat,e.missingTranslation,console);var c=new Ky({defaultEncapsulation:I.Emulated,useJit:!1,missingTranslation:e.missingTranslation,preserveWhitespaces:e.preserveWhitespaces,strictInjectionParameters:e.strictInjectionParameters}),p=new Qy({get:function(e){return t.loadResource(e)}},o,r,c),d=new Rc(new Vl),h=new ev,f=new Cm(c,u,d,h,r,console,[]),m=new k_(c,r,new W_(u),new tg(u),new J_(u),s,h,p,console,a,u,n),v=new pb(u),y=new tb(e,u);return{compiler:new $b(c,e,t,u,m,f,new ah(o),v,y,new q_(u),new s_(u,!!e.enableIvy),new K_,s,l),reflector:u}},E.AotCompiler=$b,E.analyzeNgModules=rw,E.analyzeAndValidateNgModules=iw,E.analyzeFile=aw,E.analyzeFileForInjectables=sw,E.mergeAnalyzedFiles=lw,E.GeneratedFile=Pb,E.toTypeScript=function(e,t){if(void 0===t&&(t=""),!e.stmts)throw new Error("Illegal state: No stmts present on GeneratedFile "+e.genFileUrl);return(new K_).emitStatements(e.genFileUrl,e.stmts,t)},E.formattedError=dw,E.isFormattedError=function(e){return!!e[cw]},E.StaticReflector=gw,E.StaticSymbol=pi,E.StaticSymbolCache=hi,E.ResolvedStaticSymbol=Fb,E.StaticSymbolResolver=Lb,E.unescapeIdentifier=Bb,E.unwrapResolvedMetadata=Ub,E.AotSummaryResolver=Lw,E.AstPath=Bc,E.SummaryResolver=Uw,E.JitSummaryResolver=zw,E.CompileReflector=ax,E.createUrlResolverWithoutPackagePrefix=function(){return new sx},E.createOfflineCompileUrlResolver=function(){return new sx(".")},E.UrlResolver=sx,E.getUrlScheme=function(e){var t=dx(e);return t&&t[ux.Scheme]||""},E.ResourceLoader=Iy,E.ElementSchemaRegistry=Qm,E.computeMsgId=ts,E.Extractor=fx,E.I18NHtmlParser=t_,E.MessageBundle=Ob,E.Serializer=hs,E.Xliff=Eg,E.Xliff2=Rg,E.Xmb=Ls,E.Xtb=Wg,E.DirectiveNormalizer=Qy,E.ParserError=Jl,E.ParseSpan=eu,E.AST=nu,E.Quote=ou,E.EmptyExpr=lu,E.ImplicitReceiver=pu,E.Chain=fu,E.Conditional=yu,E.PropertyRead=bu,E.PropertyWrite=Cu,E.SafePropertyRead=Ou,E.KeyedRead=Tu,E.KeyedWrite=Au,E.BindingPipe=Nu,E.LiteralPrimitive=Lu,E.LiteralArray=Uu,E.LiteralMap=Hu,E.Interpolation=Yu,E.Binary=Qu,E.PrefixNot=Ju,E.NonNullAssert=nc,E.MethodCall=oc,E.SafeMethodCall=lc,E.FunctionCall=pc,E.AbsoluteSourceSpan=fc,E.ASTWithSource=mc,E.TemplateBinding=yc,E.NullAstVisitor=gc,E.RecursiveAstVisitor=bc,E.AstTransformer=xc,E.AstMemoryEfficientTransformer=Sc,E.visitAstChildren=function(e,t,n){function r(e){t.visit&&t.visit(e,n)||e.visit(t,n)}function i(e){e.forEach(r)}e.visit({visitBinary:function(e){r(e.left),r(e.right)},visitChain:function(e){i(e.expressions)},visitConditional:function(e){r(e.condition),r(e.trueExp),r(e.falseExp)},visitFunctionCall:function(e){e.target&&r(e.target),i(e.args)},visitImplicitReceiver:function(e){},visitInterpolation:function(e){i(e.expressions)},visitKeyedRead:function(e){r(e.obj),r(e.key)},visitKeyedWrite:function(e){r(e.obj),r(e.key),r(e.obj)},visitLiteralArray:function(e){i(e.expressions)},visitLiteralMap:function(e){},visitLiteralPrimitive:function(e){},visitMethodCall:function(e){r(e.receiver),i(e.args)},visitPipe:function(e){r(e.exp),i(e.args)},visitPrefixNot:function(e){r(e.expression)},visitNonNullAssert:function(e){r(e.expression)},visitPropertyRead:function(e){r(e.receiver)},visitPropertyWrite:function(e){r(e.receiver),r(e.value)},visitQuote:function(e){},visitSafeMethodCall:function(e){r(e.receiver),i(e.args)},visitSafePropertyRead:function(e){r(e.receiver)}})},E.ParsedProperty=kc,E.ParsedEvent=Dc,E.ParsedVariable=Tc,E.BoundElementProperty=Ic,E.Lexer=Vl,E.Token=Ul,E.EOF=Wl,E.isIdentifier=Zl,E.isQuote=Xl,E.SplitInterpolation=Pc,E.TemplateBindingParseResult=Ac,E.Parser=Rc,E._ParseAST=jc,E.ERROR_COMPONENT_TYPE=O_,E.CompileMetadataResolver=k_,E.Text=zc,E.Expansion=Hc,E.ExpansionCase=Gc,E.Attribute=Kc,E.Element=Qc,E.Comment=$c,E.visitAll=ep,E.RecursiveVisitor=tp,E.findNode=function(e,r){var t,i=[];function n(){return null!==t&&t.apply(this,arguments)||this}return ep((f(n,t=tp),n.prototype.visit=function(e,t){var n=function e(t){var n=t.sourceSpan.start.offset,r=t.sourceSpan.end.offset;return t instanceof Qc&&(t.endSourceSpan?r=t.endSourceSpan.end.offset:t.children&&t.children.length&&(r=e(t.children[t.children.length-1]).end)),{start:n,end:r}}(e);if(!(n.start<=r&&r<n.end))return!0;i.push(e)},new n),e),new Bc(i,r)},E.HtmlParser=Uh,E.ParseTreeResult=Rh,E.TreeError=Ah,E.HtmlTagDefinition=i,E.getHtmlTagDefinition=d,E.splitNsName=H,E.isNgContainer=W,E.isNgContent=l,E.isNgTemplate=V,E.getNsPrefix=c,E.mergeNsAndName=p,E.NAMED_ENTITIES=u,E.NGSP_UNICODE="",E.XmlParser=wg,E.debugOutputAstAsTypeScript=Y_,E.TypeScriptEmitter=K_,E.ParseLocation=Lo,E.ParseSourceFile=Bo,E.ParseSourceSpan=Uo,E.EMPTY_PARSE_LOCATION=Ho,E.EMPTY_SOURCE_SPAN=Wo,E.ParseError=Go,E.typeSourceSpan=Ko,E.r3JitTypeSourceSpan=Zo,E.DomElementSchemaRegistry=ev,E.CssSelector=B,E.SelectorMatcher=T,E.SelectorListContext=v,E.SelectorContext=y,E.HOST_ATTR=nh,E.CONTENT_ATTR=rh,E.StylesCompileDependency=ih,E.CompiledStylesheet=oh,E.StyleCompiler=ah,E.TemplateParseError=bm,E.TemplateParseResult=xm,E.TemplateParser=Cm,E.splitClasses=Pm,E.createElementCssSelector=Rm,E.removeSummaryDuplicates=Lm,E.isEmptyExpression=Vm,E.compileInjectable=Tl,E.R3TargetBinder=vx,E.R3BoundTarget=Ex,Object.defineProperty(E,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/compiler")):System.registerDynamic("npm:@angular/core/bundles/core-testing.umd.js",["@angular/core","@angular/compiler"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/compiler"))})}(0,function(e,y,r){"use strict";var i="undefined"==typeof window?global:window;function o(e,t,n,r){var i=Zone.current,o=Zone.AsyncTestZoneSpec;if(void 0===o)throw new Error("AsyncTestZoneSpec is needed for the async() test helper but could not be found. Please make sure that your environment includes zone.js/dist/async-test.js");var a=Zone.ProxyZoneSpec;if(void 0===a)throw new Error("ProxyZoneSpec is needed for the async() test helper but could not be found. Please make sure that your environment includes zone.js/dist/proxy.js");var s=a.get();a.assertPresent();var l=Zone.current.getZoneWith("ProxyZoneSpec"),u=s.getDelegate();return l.parent.run(function(){var t=new o(function(){i.run(function(){s.getDelegate()==t&&s.setDelegate(u),n()})},function(e){i.run(function(){s.getDelegate()==t&&s.setDelegate(u),r(e)})},"test");s.setDelegate(t)}),Zone.current.runGuarded(e,t)}var p=(t.prototype._tick=function(e){this.changeDetectorRef.detectChanges(),e&&this.checkNoChanges()},t.prototype.detectChanges=function(e){var t=this;void 0===e&&(e=!0),null!=this.ngZone?this.ngZone.run(function(){t._tick(e)}):this._tick(e)},t.prototype.checkNoChanges=function(){this.changeDetectorRef.checkNoChanges()},t.prototype.autoDetectChanges=function(e){if(void 0===e&&(e=!0),null==this.ngZone)throw new Error("Cannot call autoDetectChanges when ComponentFixtureNoNgZone is set");this._autoDetect=e,this.detectChanges()},t.prototype.isStable=function(){return this._isStable&&!this.ngZone.hasPendingMacrotasks},t.prototype.whenStable=function(){var t=this;return this.isStable()?Promise.resolve(!1):(null!==this._promise||(this._promise=new Promise(function(e){t._resolve=e})),this._promise)},t.prototype._getRenderer=function(){return void 0===this._renderer&&(this._renderer=this.componentRef.injector.get(y.RendererFactory2,null)),this._renderer},t.prototype.whenRenderingDone=function(){var e=this._getRenderer();return e&&e.whenRenderingDone?e.whenRenderingDone():this.whenStable()},t.prototype.destroy=function(){this._isDestroyed||(this.componentRef.destroy(),null!=this._onUnstableSubscription&&(this._onUnstableSubscription.unsubscribe(),this._onUnstableSubscription=null),null!=this._onStableSubscription&&(this._onStableSubscription.unsubscribe(),this._onStableSubscription=null),null!=this._onMicrotaskEmptySubscription&&(this._onMicrotaskEmptySubscription.unsubscribe(),this._onMicrotaskEmptySubscription=null),null!=this._onErrorSubscription&&(this._onErrorSubscription.unsubscribe(),this._onErrorSubscription=null),this._isDestroyed=!0)},t);function t(e,t,n){var r=this;this.componentRef=e,this.ngZone=t,this._autoDetect=n,this._isStable=!0,this._isDestroyed=!1,this._resolve=null,this._promise=null,this._onUnstableSubscription=null,this._onStableSubscription=null,this._onMicrotaskEmptySubscription=null,this._onErrorSubscription=null,this.changeDetectorRef=e.changeDetectorRef,this.elementRef=e.location,this.debugElement=y.getDebugNode(this.elementRef.nativeElement),this.componentInstance=e.instance,this.nativeElement=this.elementRef.nativeElement,this.componentRef=e,(this.ngZone=t)&&t.runOutsideAngular(function(){r._onUnstableSubscription=t.onUnstable.subscribe({next:function(){r._isStable=!1}}),r._onMicrotaskEmptySubscription=t.onMicrotaskEmpty.subscribe({next:function(){r._autoDetect&&r.detectChanges(!0)}}),r._onStableSubscription=t.onStable.subscribe({next:function(){r._isStable=!0,null!==r._promise&&function(e){Zone.current.scheduleMicroTask("scheduleMicrotask",e)}(function(){t.hasPendingMacrotasks||null!==r._promise&&(r._resolve(!0),r._resolve=null,r._promise=null)})}}),r._onErrorSubscription=t.onError.subscribe({next:function(e){throw e}})})}var n="undefined"!=typeof Zone?Zone:null,a=n&&n.FakeAsyncTestZoneSpec,s=n&&n.ProxyZoneSpec,l=null;function u(){l=null,s&&s.assertPresent().resetDelegate()}var c=!1;function d(){if(null==l)throw new Error("The code should be running in the fakeAsync zone to call this function");return l}function h(){d().flushMicrotasks()}var f="undefined"!=typeof Zone?Zone:null,m=f&&f[f.__symbol__("fakeAsyncTest")];function v(){return m?m.resetFakeAsyncZone():u()}var g=function(e,t){return(g=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])})(e,t)};function _(e,t){function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function b(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}function w(o,a,s,l){return new(s=s||Promise)(function(e,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function r(e){try{i(l.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):new s(function(e){e(t.value)}).then(n,r)}i((l=l.apply(o,a||[])).next())})}function x(n,r){var i,o,a,e,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(a=2&t[0]?o.return:t[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,t[1])).done)return a;switch(o=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,o=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=r.call(n,s)}catch(e){t=[6,e],o=0}finally{i=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}}function C(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function S(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function E(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(S(arguments[t]));return e}var O=(k.prototype.done=function(e){this._resolve(e)},k.prototype.fail=function(e,t){this._reject(e)},Object.defineProperty(k.prototype,"promise",{get:function(){return this._promise},enumerable:!0,configurable:!0}),k);function k(){var n=this;this._promise=new Promise(function(e,t){n._resolve=e,n._reject=t})}var D=(T.prototype.insertRootElement=function(e){},T);function T(){}var I=new y.InjectionToken("ComponentFixtureAutoDetect"),P=new y.InjectionToken("ComponentFixtureNoNgZone");var A=new Map;function M(r){var n=[],i=new Map;function l(e){var t=i.get(e);if(!t){var n=r(e);i.set(e,t=n.then(L))}return t}return R.forEach(function(r,e){var i=[];r.templateUrl&&i.push(l(r.templateUrl).then(function(e){r.template=e}));var o=r.styleUrls,a=r.styles||(r.styles=[]),s=r.styles.length;o&&o.forEach(function(t,n){a.push(""),i.push(l(t).then(function(e){a[s+n]=e,o.splice(o.indexOf(t),1),0==o.length&&(r.styleUrls=void 0)}))});var t=Promise.all(i).then(function(){return function(e){N.delete(e)}(e)});n.push(t)}),F(),Promise.all(n).then(function(){})}var R=new Map,N=new Set;function j(e){return N.has(e)}function F(){var e=R;return R=new Map,e}function L(e){return"string"==typeof e?e:e.text()}var V=0,B=(U.prototype.overrideMetadata=function(e,t,n){var r={};if(t&&function(e){var n=[];Object.keys(e).forEach(function(e){e.startsWith("_")||n.push(e)});for(var r=e;r=Object.getPrototypeOf(r);)Object.keys(r).forEach(function(e){var t=Object.getOwnPropertyDescriptor(r,e);!e.startsWith("_")&&t&&"get"in t&&n.push(e)});return n}(t).forEach(function(e){return r[e]=t[e]}),n.set){if(n.remove||n.add)throw new Error("Cannot set and add/remove "+y.ɵstringify(e)+" at the same time!");!function(e,t){for(var n in t)e[n]=t[n]}(r,n.set)}return n.remove&&function(n,r,i){function e(t){var e=r[t];Array.isArray(e)?e.forEach(function(e){o.add(z(t,e,i))}):o.add(z(t,e,i))}var o=new Set;for(var t in r)e(t);function a(t){var e=n[t];Array.isArray(e)?n[t]=e.filter(function(e){return!o.has(z(t,e,i))}):o.has(z(t,e,i))&&(n[t]=void 0)}for(var t in n)a(t)}(r,n.remove,this._references),n.add&&function(e,t){for(var n in t){var r=t[n],i=e[n];null!=i&&Array.isArray(i)?e[n]=i.concat(r):e[n]=r}}(r,n.add),new e(r)},U);function U(){this._references=new Map}function z(e,t,n){return e+":"+JSON.stringify(t,function(e,t){return"function"==typeof t&&(t=function(e,t){var n=t.get(e);n||(n=""+y.ɵstringify(e)+V++,t.set(e,n));return n}(t,n)),t})}var q=new y.ɵReflectionCapabilities,H=(W.prototype.addOverride=function(e,t){var n=this.overrides.get(e)||[];n.push(t),this.overrides.set(e,n),this.resolved.delete(e)},W.prototype.setOverrides=function(e){var i=this;this.overrides.clear(),e.forEach(function(e){var t=S(e,2),n=t[0],r=t[1];i.addOverride(n,r)})},W.prototype.getAnnotation=function(e){for(var t=q.annotations(e),n=t.length-1;0<=n;n--){var r=t[n];if(r instanceof y.Directive||r instanceof y.Component||r instanceof y.Pipe||r instanceof y.NgModule)return r instanceof this.type?r:null}return null},W.prototype.resolve=function(e){var t=this,n=this.resolved.get(e)||null;if(!n){if(n=this.getAnnotation(e)){var r=this.overrides.get(e);if(r){var i=new B;r.forEach(function(e){n=i.overrideMetadata(t.type,n,e)})}}this.resolved.set(e,n)}return n},W);function W(){this.overrides=new Map,this.resolved=new Map}var G,Y=(_(K,G=H),Object.defineProperty(K.prototype,"type",{get:function(){return y.Directive},enumerable:!0,configurable:!0}),K);function K(){return null!==G&&G.apply(this,arguments)||this}var Z,Q=(_(X,Z=H),Object.defineProperty(X.prototype,"type",{get:function(){return y.Component},enumerable:!0,configurable:!0}),X);function X(){return null!==Z&&Z.apply(this,arguments)||this}var $,J=(_(ee,$=H),Object.defineProperty(ee.prototype,"type",{get:function(){return y.Pipe},enumerable:!0,configurable:!0}),ee);function ee(){return null!==$&&$.apply(this,arguments)||this}var te,ne,re,ie=(_(oe,te=H),Object.defineProperty(oe.prototype,"type",{get:function(){return y.NgModule},enumerable:!0,configurable:!0}),oe);function oe(){return null!==te&&te.apply(this,arguments)||this}(re=ne=ne||{})[re.DECLARATION=0]="DECLARATION",re[re.OVERRIDE_TEMPLATE=1]="OVERRIDE_TEMPLATE";var ae=(se.prototype.setCompilerProviders=function(e){this.compilerProviders=e,this._injector=null},se.prototype.configureTestingModule=function(e){var t,n,r,i;void 0!==e.declarations&&(this.queueTypeArray(e.declarations,ne.DECLARATION),(t=this.declarations).push.apply(t,E(e.declarations))),void 0!==e.imports&&(this.queueTypesFromModulesArray(e.imports),(n=this.imports).push.apply(n,E(e.imports))),void 0!==e.providers&&(r=this.providers).push.apply(r,E(e.providers)),void 0!==e.schemas&&(i=this.schemas).push.apply(i,E(e.schemas))},se.prototype.overrideModule=function(e,t){if(this.resolvers.module.addOverride(e,t),null===this.resolvers.module.resolve(e))throw new Error(e.name+" is not an @NgModule or is missing metadata");this.recompileNgModule(e),this.queueTypesFromModulesArray([e])},se.prototype.overrideComponent=function(e,t){this.resolvers.component.addOverride(e,t),this.pendingComponents.add(e)},se.prototype.overrideDirective=function(e,t){this.resolvers.directive.addOverride(e,t),this.pendingDirectives.add(e)},se.prototype.overridePipe=function(e,t){this.resolvers.pipe.addOverride(e,t),this.pendingPipes.add(e)},se.prototype.overrideProvider=function(e,t){var n,r=t.useFactory?{provide:e,useFactory:t.useFactory,deps:t.deps||[],multi:t.multi}:{provide:e,useValue:t.useValue,multi:t.multi};("string"!=typeof e&&(n=y.ɵgetInjectableDef(e))&&"root"===n.providedIn?this.rootProviderOverrides:this.providerOverrides).push(r),this.providerOverridesByToken.set(e,r)},se.prototype.overrideTemplateUsingTestingModule=function(e,t){var n,r=this,i=e[y.ɵNG_COMP_DEF],o=!!i&&!j(e)&&!!(n=r.resolvers.component.resolve(e)).styleUrls&&0<n.styleUrls.length,a=o?{template:t,styles:[],styleUrls:[]}:{template:t};this.overrideComponent(e,{set:a}),o&&i.styles&&0<i.styles.length&&this.existingComponentStyles.set(e,i.styles),this.componentToModuleScope.set(e,ne.OVERRIDE_TEMPLATE)},se.prototype.compileComponents=function(){return w(this,void 0,void 0,function(){var t,n=this;return x(this,function(e){switch(e.label){case 0:return this.clearComponentResolutionQueue(),this.compileTypesSync()?[4,M(function(e){return t=t||n.injector.get(r.ResourceLoader),Promise.resolve(t.get(e))})]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}})})},se.prototype.finalize=function(){this.compileTypesSync(),this.compileTestModule(),this.applyTransitiveScopes(),this.applyProviderOverrides(),this.patchComponentsWithExistingStyles(),this.componentToModuleScope.clear();var e=this.platform.injector;this.testModuleRef=new y.ɵRender3NgModuleRef(this.testModuleType,e);var t=this.testModuleRef.injector.get(y.LOCALE_ID,y.ɵDEFAULT_LOCALE_ID);return y.ɵsetLocaleId(t),this.testModuleRef.injector.get(y.ApplicationInitStatus).runInitializers(),this.testModuleRef},se.prototype._compileNgModuleSync=function(e){this.queueTypesFromModulesArray([e]),this.compileTypesSync(),this.applyProviderOverrides(),this.applyProviderOverridesToModule(e),this.applyTransitiveScopes()},se.prototype._compileNgModuleAsync=function(t){return w(this,void 0,void 0,function(){return x(this,function(e){switch(e.label){case 0:return null===this.originalRegisteredModules&&(this.originalRegisteredModules=new Map(A)),this.queueTypesFromModulesArray([t]),[4,this.compileComponents()];case 1:return e.sent(),this.applyProviderOverrides(),this.applyProviderOverridesToModule(t),this.applyTransitiveScopes(),[2]}})})},se.prototype._getModuleResolver=function(){return this.resolvers.module},se.prototype._getComponentFactories=function(e){var r=this;return le(e.ɵmod.declarations).reduce(function(e,t){var n=t.ɵcmp;return n&&e.push(new y.ɵRender3ComponentFactory(n,r.testModuleRef)),e},[])},se.prototype.compileTypesSync=function(){var n=this,r=!1;return this.pendingComponents.forEach(function(e){r=r||j(e);var t=n.resolvers.component.resolve(e);n.maybeStoreNgDef(y.ɵNG_COMP_DEF,e),y.ɵcompileComponent(e,t)}),this.pendingComponents.clear(),this.pendingDirectives.forEach(function(e){var t=n.resolvers.directive.resolve(e);n.maybeStoreNgDef(y.ɵNG_DIR_DEF,e),y.ɵcompileDirective(e,t)}),this.pendingDirectives.clear(),this.pendingPipes.forEach(function(e){var t=n.resolvers.pipe.resolve(e);n.maybeStoreNgDef(y.ɵNG_PIPE_DEF,e),y.ɵcompilePipe(e,t)}),this.pendingPipes.clear(),r},se.prototype.applyTransitiveScopes=function(){function r(e){if(!n.has(e)){var t=function(e){return e===ne.DECLARATION||e===ne.OVERRIDE_TEMPLATE}(e)?i.testModuleType:e;n.set(e,y.ɵtransitiveScopesFor(t))}return n.get(e)}var i=this,n=new Map;this.componentToModuleScope.forEach(function(e,t){var n=r(e);i.storeFieldOfDefOnType(t,y.ɵNG_COMP_DEF,"directiveDefs"),i.storeFieldOfDefOnType(t,y.ɵNG_COMP_DEF,"pipeDefs"),y.ɵpatchComponentDefWithScope(t.ɵcmp,n)}),this.componentToModuleScope.clear()},se.prototype.applyProviderOverrides=function(){function e(n){return function(e){var t=(n===y.ɵNG_COMP_DEF?r.resolvers.component:r.resolvers.directive).resolve(e);r.hasProviderOverrides(t.providers)&&r.patchDefWithProviderOverrides(e,n)}}var r=this;this.seenComponents.forEach(e(y.ɵNG_COMP_DEF)),this.seenDirectives.forEach(e(y.ɵNG_DIR_DEF)),this.seenComponents.clear(),this.seenDirectives.clear()},se.prototype.applyProviderOverridesToModule=function(e){var t,n;if(!this.moduleProvidersOverridden.has(e)){this.moduleProvidersOverridden.add(e);var r=e[y.ɵNG_INJ_DEF];if(0<this.providerOverridesByToken.size){var i=E(ue(ue(r.imports,function(e){return function(e){return e.hasOwnProperty("ngModule")}(e)?e.providers:[]})),r.providers);this.hasProviderOverrides(i)&&(this.maybeStoreNgDef(y.ɵNG_INJ_DEF,e),this.storeFieldOfDefOnType(e,y.ɵNG_INJ_DEF,"providers"),r.providers=this.getOverriddenProviders(i));var o=e[y.ɵNG_MOD_DEF];try{for(var a=C(o.imports),s=a.next();!s.done;s=a.next()){var l=s.value;this.applyProviderOverridesToModule(l)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}}}},se.prototype.patchComponentsWithExistingStyles=function(){this.existingComponentStyles.forEach(function(e,t){return t[y.ɵNG_COMP_DEF].styles=e}),this.existingComponentStyles.clear()},se.prototype.queueTypeArray=function(e,t){var n,r;try{for(var i=C(e),o=i.next();!o.done;o=i.next()){var a=o.value;Array.isArray(a)?this.queueTypeArray(a,t):this.queueType(a,t)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},se.prototype.recompileNgModule=function(e){var t=this.resolvers.module.resolve(e);if(null===t)throw new Error("Unable to resolve metadata for NgModule: "+e.name);this.maybeStoreNgDef(y.ɵNG_MOD_DEF,e),this.maybeStoreNgDef(y.ɵNG_INJ_DEF,e),y.ɵcompileNgModuleDefs(e,t)},se.prototype.queueType=function(e,t){return this.resolvers.component.resolve(e)?(!j(e)&&e.hasOwnProperty(y.ɵNG_COMP_DEF)||this.pendingComponents.add(e),this.seenComponents.add(e),void(this.componentToModuleScope.has(e)&&this.componentToModuleScope.get(e)!==ne.DECLARATION||this.componentToModuleScope.set(e,t))):this.resolvers.directive.resolve(e)?(e.hasOwnProperty(y.ɵNG_DIR_DEF)||this.pendingDirectives.add(e),void this.seenDirectives.add(e)):void(!this.resolvers.pipe.resolve(e)||e.hasOwnProperty(y.ɵNG_PIPE_DEF)||this.pendingPipes.add(e))},se.prototype.queueTypesFromModulesArray=function(e){var t,n;try{for(var r=C(e),i=r.next();!i.done;i=r.next()){var o=i.value;if(Array.isArray(o))this.queueTypesFromModulesArray(o);else if(o.hasOwnProperty("ɵmod")){var a=o.ɵmod;this.queueTypeArray(le(a.declarations),o),this.queueTypesFromModulesArray(le(a.imports)),this.queueTypesFromModulesArray(le(a.exports))}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},se.prototype.maybeStoreNgDef=function(e,t){if(!this.initialNgDefs.has(t)){var n=Object.getOwnPropertyDescriptor(t,e);this.initialNgDefs.set(t,[e,n])}},se.prototype.storeFieldOfDefOnType=function(e,t,n){var r=e[t],i=r[n];this.defCleanupOps.push({field:n,def:r,original:i})},se.prototype.clearComponentResolutionQueue=function(){var n=this;null===this.originalComponentResolutionQueue&&(this.originalComponentResolutionQueue=new Map),F().forEach(function(e,t){return n.originalComponentResolutionQueue.set(t,e)})},se.prototype.restoreComponentResolutionQueue=function(){null!==this.originalComponentResolutionQueue&&(function(e){N.clear(),e.forEach(function(e,t){return N.add(t)}),R=e}(this.originalComponentResolutionQueue),this.originalComponentResolutionQueue=null)},se.prototype.restoreOriginalState=function(){he(this.defCleanupOps,function(e){e.def[e.field]=e.original}),this.initialNgDefs.forEach(function(e,t){var n=S(e,2),r=n[0],i=n[1];i?Object.defineProperty(t,r,i):delete t[r]}),this.initialNgDefs.clear(),this.moduleProvidersOverridden.clear(),this.restoreComponentResolutionQueue(),this.originalRegisteredModules&&(function(e){A=new Map(e)}(this.originalRegisteredModules),this.originalRegisteredModules=null),y.ɵsetLocaleId(y.ɵDEFAULT_LOCALE_ID)},se.prototype.compileTestModule=function(){function e(){}var t=this;y.ɵcompileNgModuleDefs(e,{providers:E(this.rootProviderOverrides)});var n=new y.NgZone({enableLongStackTrace:!0}),r=E([{provide:y.NgZone,useValue:n},{provide:y.Compiler,useFactory:function(){return new fe(t)}}],this.providers,this.providerOverrides),i=[e,this.additionalModuleTypes,this.imports||[]];y.ɵcompileNgModuleDefs(this.testModuleType,{declarations:this.declarations,imports:i,schemas:this.schemas,providers:r},!0),this.applyProviderOverridesToModule(this.testModuleType)},Object.defineProperty(se.prototype,"injector",{get:function(){if(null!==this._injector)return this._injector;var t=[];function e(){}this.platform.injector.get(y.COMPILER_OPTIONS).forEach(function(e){e.providers&&t.push(e.providers)}),null!==this.compilerProviders&&t.push.apply(t,E(this.compilerProviders)),y.ɵcompileNgModuleDefs(e,{providers:t});var n=new y.ɵNgModuleFactory(e);return this._injector=n.create(this.platform.injector).injector,this._injector},enumerable:!0,configurable:!0}),se.prototype.getSingleProviderOverrides=function(e){var t=pe(e);return this.providerOverridesByToken.get(t)||null},se.prototype.getProviderOverrides=function(e){var t=this;return e&&e.length&&0!==this.providerOverridesByToken.size?ue(ue(e,function(e){return t.getSingleProviderOverrides(e)||[]})):[]},se.prototype.getOverriddenProviders=function(e){var n=this;if(!e||!e.length||0===this.providerOverridesByToken.size)return[];var t=this.getProviderOverrides(e),r=t.some(de),i=E(e,t);if(!r)return i;var o=[],a=new Set;return he(i,function(e){var t=pe(e);de(e)&&n.providerOverridesByToken.has(t)?a.has(t)||(a.add(t),e&&e.useValue&&Array.isArray(e.useValue)?he(e.useValue,function(e){o.unshift({provide:t,useValue:e,multi:!0})}):o.unshift(e)):o.unshift(e)}),o},se.prototype.hasProviderOverrides=function(e){return 0<this.getProviderOverrides(e).length},se.prototype.patchDefWithProviderOverrides=function(e,t){var n=this,r=e[t];if(r&&r.providersResolver){this.maybeStoreNgDef(t,e);var i=r.providersResolver,o=function(e){return n.getOverriddenProviders(e)};this.storeFieldOfDefOnType(e,t,"providersResolver"),r.providersResolver=function(e){return i(e,o)}}},se);function se(e,t){this.platform=e,this.additionalModuleTypes=t,this.originalComponentResolutionQueue=null,this.originalRegisteredModules=null,this.declarations=[],this.imports=[],this.providers=[],this.schemas=[],this.pendingComponents=new Set,this.pendingDirectives=new Set,this.pendingPipes=new Set,this.seenComponents=new Set,this.seenDirectives=new Set,this.existingComponentStyles=new Map,this.resolvers={module:new ie,component:new Q,directive:new Y,pipe:new J},this.componentToModuleScope=new Map,this.initialNgDefs=new Map,this.defCleanupOps=[],this._injector=null,this.compilerProviders=null,this.providerOverrides=[],this.rootProviderOverrides=[],this.providerOverridesByToken=new Map,this.moduleProvidersOverridden=new Set,this.testModuleRef=null;function n(){}this.testModuleType=n}function le(e){return e instanceof Function?e():e}function ue(e,t){var n=[];return e.forEach(function(e){Array.isArray(e)?n.push.apply(n,E(ue(e,t))):n.push(t?t(e):e)}),n}function ce(e,t){return e&&"object"==typeof e&&e[t]}function pe(e){return ce(e,"provide")||e}function de(e){return!!ce(e,"multi")}function he(e,t){for(var n=e.length-1;0<=n;n--)t(e[n],n)}var fe=(me.prototype.compileModuleSync=function(e){return this.testBed._compileNgModuleSync(e),new y.ɵNgModuleFactory(e)},me.prototype.compileModuleAsync=function(t){return w(this,void 0,void 0,function(){return x(this,function(e){switch(e.label){case 0:return[4,this.testBed._compileNgModuleAsync(t)];case 1:return e.sent(),[2,new y.ɵNgModuleFactory(t)]}})})},me.prototype.compileModuleAndAllComponentsSync=function(e){var t=this.compileModuleSync(e),n=this.testBed._getComponentFactories(e);return new y.ModuleWithComponentFactories(t,n)},me.prototype.compileModuleAndAllComponentsAsync=function(r){return w(this,void 0,void 0,function(){var t,n;return x(this,function(e){switch(e.label){case 0:return[4,this.compileModuleAsync(r)];case 1:return t=e.sent(),n=this.testBed._getComponentFactories(r),[2,new y.ModuleWithComponentFactories(t,n)]}})})},me.prototype.clearCache=function(){},me.prototype.clearCacheFor=function(e){},me.prototype.getModuleId=function(e){var t=this.testBed._getModuleResolver().resolve(e);return t&&t.id||void 0},me);function me(e){this.testBed=e}var ve,ye=0,ge=(_e.initTestEnvironment=function(e,t,n){var r=be();return r.initTestEnvironment(e,t,n),r},_e.resetTestEnvironment=function(){be().resetTestEnvironment()},_e.configureCompiler=function(e){return be().configureCompiler(e),_e},_e.configureTestingModule=function(e){return be().configureTestingModule(e),_e},_e.compileComponents=function(){return be().compileComponents()},_e.overrideModule=function(e,t){return be().overrideModule(e,t),_e},_e.overrideComponent=function(e,t){return be().overrideComponent(e,t),_e},_e.overrideDirective=function(e,t){return be().overrideDirective(e,t),_e},_e.overridePipe=function(e,t){return be().overridePipe(e,t),_e},_e.overrideTemplate=function(e,t){return be().overrideComponent(e,{set:{template:t,templateUrl:null}}),_e},_e.overrideTemplateUsingTestingModule=function(e,t){return be().overrideTemplateUsingTestingModule(e,t),_e},_e.overrideProvider=function(e,t){return be().overrideProvider(e,t),_e},_e.inject=function(e,t,n){return be().inject(e,t,n)},_e.get=function(e,t,n){return void 0===t&&(t=y.Injector.THROW_IF_NOT_FOUND),void 0===n&&(n=y.InjectFlags.Default),be().inject(e,t,n)},_e.createComponent=function(e){return be().createComponent(e)},_e.resetTestingModule=function(){return be().resetTestingModule(),_e},_e.prototype.initTestEnvironment=function(e,t,n){if(this.platform||this.ngModule)throw new Error("Cannot set base providers because it has already been called");this.platform=t,this.ngModule=e,this._compiler=new ae(this.platform,this.ngModule)},_e.prototype.resetTestEnvironment=function(){this.resetTestingModule(),this._compiler=null,this.platform=null,this.ngModule=null},_e.prototype.resetTestingModule=function(){this.checkGlobalCompilationFinished(),y.ɵresetCompiledComponents(),null!==this._compiler&&this.compiler.restoreOriginalState(),this._compiler=new ae(this.platform,this.ngModule),this._testModuleRef=null,this.destroyActiveFixtures()},_e.prototype.configureCompiler=function(e){if(null!=e.useJit)throw new Error("the Render3 compiler JiT mode is not configurable !");void 0!==e.providers&&this.compiler.setCompilerProviders(e.providers)},_e.prototype.configureTestingModule=function(e){this.assertNotInstantiated("R3TestBed.configureTestingModule","configure the test module"),this.compiler.configureTestingModule(e)},_e.prototype.compileComponents=function(){return this.compiler.compileComponents()},_e.prototype.inject=function(e,t,n){if(e===_e)return this;var r={},i=this.testModuleRef.injector.get(e,r,n);return i===r?this.compiler.injector.get(e,t,n):i},_e.prototype.get=function(e,t,n){return void 0===t&&(t=y.Injector.THROW_IF_NOT_FOUND),void 0===n&&(n=y.InjectFlags.Default),this.inject(e,t,n)},_e.prototype.execute=function(e,t,n){var r=this,i=e.map(function(e){return r.inject(e)});return t.apply(n,i)},_e.prototype.overrideModule=function(e,t){this.assertNotInstantiated("overrideModule","override module metadata"),this.compiler.overrideModule(e,t)},_e.prototype.overrideComponent=function(e,t){this.assertNotInstantiated("overrideComponent","override component metadata"),this.compiler.overrideComponent(e,t)},_e.prototype.overrideTemplateUsingTestingModule=function(e,t){this.assertNotInstantiated("R3TestBed.overrideTemplateUsingTestingModule","Cannot override template when the test module has already been instantiated"),this.compiler.overrideTemplateUsingTestingModule(e,t)},_e.prototype.overrideDirective=function(e,t){this.assertNotInstantiated("overrideDirective","override directive metadata"),this.compiler.overrideDirective(e,t)},_e.prototype.overridePipe=function(e,t){this.assertNotInstantiated("overridePipe","override pipe metadata"),this.compiler.overridePipe(e,t)},_e.prototype.overrideProvider=function(e,t){this.compiler.overrideProvider(e,t)},_e.prototype.createComponent=function(e){var t=this,n=this.inject(D),r="root-ng-internal-isolated-"+ye++;n.insertRootElement(r);var i=e.ɵcmp;if(!i)throw new Error("It looks like '"+y.ɵstringify(e)+"' has not been IVY compiled - it has no 'ɵcmp' field");function o(){var e=u.create(y.Injector.NULL,[],"#"+r,t.testModuleRef);return new p(e,l,s)}var a=this.inject(P,!1),s=this.inject(I,!1),l=a?null:this.inject(y.NgZone,null),u=new y.ɵRender3ComponentFactory(i),c=l?l.run(o):o();return this._activeFixtures.push(c),c},Object.defineProperty(_e.prototype,"compiler",{get:function(){if(null===this._compiler)throw new Error("Need to call TestBed.initTestEnvironment() first");return this._compiler},enumerable:!0,configurable:!0}),Object.defineProperty(_e.prototype,"testModuleRef",{get:function(){return null===this._testModuleRef&&(this._testModuleRef=this.compiler.finalize()),this._testModuleRef},enumerable:!0,configurable:!0}),_e.prototype.assertNotInstantiated=function(e,t){if(null!==this._testModuleRef)throw new Error("Cannot "+t+" when the test module has already been instantiated. Make sure you are not using `inject` before `"+e+"`.")},_e.prototype.checkGlobalCompilationFinished=function(){this._globalCompilationChecked||null!==this._testModuleRef||y.ɵflushModuleScopingQueueAsMuchAsPossible(),this._globalCompilationChecked=!0},_e.prototype.destroyActiveFixtures=function(){this._activeFixtures.forEach(function(t){try{t.destroy()}catch(e){console.error("Error during cleanup of component",{component:t.componentInstance,stacktrace:e})}}),this._activeFixtures=[]},_e);function _e(){this.platform=null,this.ngModule=null,this._compiler=null,this._testModuleRef=null,this._activeFixtures=[],this._globalCompilationChecked=!1}function be(){return ve=ve||new ge}function we(){throw Error("unimplemented")}var xe,Ce=(_(Se,xe=y.Compiler),Object.defineProperty(Se.prototype,"injector",{get:function(){throw we()},enumerable:!0,configurable:!0}),Se.prototype.overrideModule=function(e,t){throw we()},Se.prototype.overrideDirective=function(e,t){throw we()},Se.prototype.overrideComponent=function(e,t){throw we()},Se.prototype.overridePipe=function(e,t){throw we()},Se.prototype.loadAotSummaries=function(e){throw we()},Se.prototype.getComponentFactory=function(e){throw we()},Se.prototype.getComponentFromError=function(e){throw we()},Se=b([y.Injectable()],Se));function Se(){return null!==xe&&xe.apply(this,arguments)||this}function Ee(){}var Oe=0,ke=(De.initTestEnvironment=function(e,t,n){var r=Ae();return r.initTestEnvironment(e,t,n),r},De.resetTestEnvironment=function(){Ae().resetTestEnvironment()},De.resetTestingModule=function(){return Ae().resetTestingModule(),De},De.configureCompiler=function(e){return Ae().configureCompiler(e),De},De.configureTestingModule=function(e){return Ae().configureTestingModule(e),De},De.compileComponents=function(){return Pe().compileComponents()},De.overrideModule=function(e,t){return Ae().overrideModule(e,t),De},De.overrideComponent=function(e,t){return Ae().overrideComponent(e,t),De},De.overrideDirective=function(e,t){return Ae().overrideDirective(e,t),De},De.overridePipe=function(e,t){return Ae().overridePipe(e,t),De},De.overrideTemplate=function(e,t){return Ae().overrideComponent(e,{set:{template:t,templateUrl:null}}),De},De.overrideTemplateUsingTestingModule=function(e,t){return Ae().overrideTemplateUsingTestingModule(e,t),De},De.overrideProvider=function(e,t){return Ae().overrideProvider(e,t),De},De.inject=function(e,t,n){return Ae().inject(e,t,n)},De.get=function(e,t,n){return void 0===t&&(t=y.Injector.THROW_IF_NOT_FOUND),void 0===n&&(n=y.InjectFlags.Default),Ae().inject(e,t,n)},De.createComponent=function(e){return Ae().createComponent(e)},De.prototype.initTestEnvironment=function(e,t,n){if(this.platform||this.ngModule)throw new Error("Cannot set base providers because it has already been called");this.platform=t,this.ngModule=e,n&&(this._testEnvAotSummaries=n)},De.prototype.resetTestEnvironment=function(){this.resetTestingModule(),this.platform=null,this.ngModule=null,this._testEnvAotSummaries=function(){return[]}},De.prototype.resetTestingModule=function(){y.ɵclearOverrides(),this._aotSummaries=[],this._templateOverrides=[],this._compiler=null,this._moduleOverrides=[],this._componentOverrides=[],this._directiveOverrides=[],this._pipeOverrides=[],this._isRoot=!0,this._rootProviderOverrides=[],this._moduleRef=null,this._moduleFactory=null,this._compilerOptions=[],this._providers=[],this._declarations=[],this._imports=[],this._schemas=[],this._instantiated=!1,this._activeFixtures.forEach(function(t){try{t.destroy()}catch(e){console.error("Error during cleanup of component",{component:t.componentInstance,stacktrace:e})}}),this._activeFixtures=[]},De.prototype.configureCompiler=function(e){this._assertNotInstantiated("TestBed.configureCompiler","configure the compiler"),this._compilerOptions.push(e)},De.prototype.configureTestingModule=function(e){var t,n,r,i;this._assertNotInstantiated("TestBed.configureTestingModule","configure the test module"),e.providers&&(t=this._providers).push.apply(t,E(e.providers)),e.declarations&&(n=this._declarations).push.apply(n,E(e.declarations)),e.imports&&(r=this._imports).push.apply(r,E(e.imports)),e.schemas&&(i=this._schemas).push.apply(i,E(e.schemas)),e.aotSummaries&&this._aotSummaries.push(e.aotSummaries)},De.prototype.compileComponents=function(){var t=this;if(this._moduleFactory||this._instantiated)return Promise.resolve(null);var e=this._createCompilerAndModule();return this._compiler.compileModuleAndAllComponentsAsync(e).then(function(e){t._moduleFactory=e.ngModuleFactory})},De.prototype._initIfNeeded=function(){var t,e;if(!this._instantiated){if(!this._moduleFactory)try{var n=this._createCompilerAndModule();this._moduleFactory=this._compiler.compileModuleAndAllComponentsSync(n).ngModuleFactory}catch(e){var r=this._compiler.getComponentFromError(e);throw r?new Error("This test module uses the component "+y.ɵstringify(r)+' which is using a "templateUrl" or "styleUrls", but they were never compiled. Please call "TestBed.compileComponents" before your test.'):e}try{for(var i=C(this._templateOverrides),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.component,l=a.templateOf,u=this._compiler.getComponentFactory(l);y.ɵoverrideComponentView(s,u)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}var c=new y.NgZone({enableLongStackTrace:!0}),p=[{provide:y.NgZone,useValue:c}],d=y.Injector.create({providers:p,parent:this.platform.injector,name:this._moduleFactory.moduleType.name});this._moduleRef=this._moduleFactory.create(d),this._moduleRef.injector.get(y.ApplicationInitStatus).runInitializers(),this._instantiated=!0}},De.prototype._createCompilerAndModule=function(){var t,e,n=this,r=this._providers.concat([{provide:Ie,useValue:this}]),i=E(this._declarations,this._templateOverrides.map(function(e){return e.templateOf})),o=[],a=this._rootProviderOverrides;if(this._isRoot){var s=l=b([y.NgModule({providers:E(a),jit:!0})],l);o.push(s)}function l(){}r.push({provide:y.ɵINJECTOR_SCOPE,useValue:this._isRoot?"root":null});var u=[o,this.ngModule,this._imports],c=this._schemas,p=d=b([y.NgModule({providers:r,declarations:i,imports:u,schemas:c,jit:!0})],d);function d(){}var h=this.platform.injector.get(Ee);this._compiler=h.createTestingCompiler(this._compilerOptions);try{for(var f=C(E([this._testEnvAotSummaries],this._aotSummaries)),m=f.next();!m.done;m=f.next()){var v=m.value;this._compiler.loadAotSummaries(v)}}catch(e){t={error:e}}finally{try{m&&!m.done&&(e=f.return)&&e.call(f)}finally{if(t)throw t.error}}return this._moduleOverrides.forEach(function(e){return n._compiler.overrideModule(e[0],e[1])}),this._componentOverrides.forEach(function(e){return n._compiler.overrideComponent(e[0],e[1])}),this._directiveOverrides.forEach(function(e){return n._compiler.overrideDirective(e[0],e[1])}),this._pipeOverrides.forEach(function(e){return n._compiler.overridePipe(e[0],e[1])}),p},De.prototype._assertNotInstantiated=function(e,t){if(this._instantiated)throw new Error("Cannot "+t+" when the test module has already been instantiated. Make sure you are not using `inject` before `"+e+"`.")},De.prototype.inject=function(e,t,n){if(this._initIfNeeded(),e===Ie)return this;var r={},i=this._moduleRef.injector.get(e,r,n);return i===r?this._compiler.injector.get(e,t,n):i},De.prototype.get=function(e,t,n){return void 0===t&&(t=y.Injector.THROW_IF_NOT_FOUND),void 0===n&&(n=y.InjectFlags.Default),this.inject(e,t,n)},De.prototype.execute=function(e,t,n){var r=this;this._initIfNeeded();var i=e.map(function(e){return r.inject(e)});return t.apply(n,i)},De.prototype.overrideModule=function(e,t){this._assertNotInstantiated("overrideModule","override module metadata"),this._moduleOverrides.push([e,t])},De.prototype.overrideComponent=function(e,t){this._assertNotInstantiated("overrideComponent","override component metadata"),this._componentOverrides.push([e,t])},De.prototype.overrideDirective=function(e,t){this._assertNotInstantiated("overrideDirective","override directive metadata"),this._directiveOverrides.push([e,t])},De.prototype.overridePipe=function(e,t){this._assertNotInstantiated("overridePipe","override pipe metadata"),this._pipeOverrides.push([e,t])},De.prototype.overrideProvider=function(e,t){this.overrideProviderImpl(e,t)},De.prototype.overrideProviderImpl=function(e,t,n){void 0===n&&(n=!1);var r=null;"string"!=typeof e&&(r=y.ɵgetInjectableDef(e))&&"root"===r.providedIn&&(t.useFactory?this._rootProviderOverrides.push({provide:e,useFactory:t.useFactory,deps:t.deps||[]}):this._rootProviderOverrides.push({provide:e,useValue:t.useValue}));var i,o=0;i=t.useFactory?(o|=1024,t.useFactory):(o|=256,t.useValue);var a=(t.deps||[]).map(function(e){var t,n=0;return Array.isArray(e)?e.forEach(function(e){e instanceof y.Optional?n|=2:e instanceof y.SkipSelf?n|=1:t=e}):t=e,[n,t]});y.ɵoverrideProvider({token:e,flags:o,deps:a,value:i,deprecatedBehavior:n})},De.prototype.overrideTemplateUsingTestingModule=function(e,t){this._assertNotInstantiated("overrideTemplateUsingTestingModule","override template");var n=r=b([y.Component({selector:"empty",template:t,jit:!0})],r);function r(){}this._templateOverrides.push({component:e,templateOf:n})},De.prototype.createComponent=function(e){var t=this;this._initIfNeeded();var n=this._compiler.getComponentFactory(e);if(!n)throw new Error("Cannot create the component "+y.ɵstringify(e)+" as it was not imported into the testing module!");var r=this.inject(P,!1),i=this.inject(I,!1),o=r?null:this.inject(y.NgZone,null),a=this.inject(D),s="root"+Oe++;function l(){var e=n.create(y.Injector.NULL,[],"#"+s,t._moduleRef);return new p(e,o,i)}a.insertRootElement(s);var u=o?o.run(l):l();return this._activeFixtures.push(u),u},De);function De(){this._instantiated=!1,this._compiler=null,this._moduleRef=null,this._moduleFactory=null,this._compilerOptions=[],this._moduleOverrides=[],this._componentOverrides=[],this._directiveOverrides=[],this._pipeOverrides=[],this._providers=[],this._declarations=[],this._imports=[],this._schemas=[],this._activeFixtures=[],this._testEnvAotSummaries=function(){return[]},this._aotSummaries=[],this._templateOverrides=[],this._isRoot=!0,this._rootProviderOverrides=[],this.platform=null,this.ngModule=null}var Te,Ie=y.ɵivyEnabled?ge:ke,Pe=y.ɵivyEnabled?be:Ae;function Ae(){return Te=Te||new ke}function Me(n,r){var i=Pe();return 0<=n.indexOf(O)?function(){var t=this;return i.compileComponents().then(function(){var e=i.inject(O);return i.execute(n,r,t),e.promise})}:function(){return i.execute(n,r,this)}}var Re=(Ne.prototype._addModule=function(){var e=this._moduleDef();e&&Pe().configureTestingModule(e)},Ne.prototype.inject=function(e,t){var n=this;return function(){return n._addModule(),Me(e,t).call(this)}},Ne);function Ne(e){this._moduleDef=e}var je="undefined"==typeof window?global:window;je.beforeEach&&je.beforeEach(function(){Ie.resetTestingModule(),v()});e.ɵangular_packages_core_testing_testing_b=ge,e.ɵangular_packages_core_testing_testing_c=be,e.ɵangular_packages_core_testing_testing_a=ke,e.TestBed=Ie,e.getTestBed=Pe,e.inject=Me,e.InjectSetupWrapper=Re,e.withModule=function(t,n){return n?function(){var e=Pe();return t&&e.configureTestingModule(t),n.apply(this)}:new Re(function(){return t})},e.ɵMetadataOverrider=B,e.async=function(e){var t="undefined"!=typeof Zone?Zone:null;if(!t)return function(){return Promise.reject("Zone is needed for the async() test helper but could not be found. Please make sure that your environment includes zone.js/dist/zone.js")};var n=t&&t[t.__symbol__("asyncTest")];return"function"==typeof n?n(e):function(r){return i.jasmine?function(t){t||((t=function(){}).fail=function(e){throw e}),o(r,this,t,function(e){if("string"==typeof e)return t.fail(new Error(e));t.fail(e)})}:function(){var n=this;return new Promise(function(e,t){o(r,n,e,t)})}}(e)},e.ComponentFixture=p,e.resetFakeAsyncZone=v,e.fakeAsync=function(e){return m?m.fakeAsync(e):function(o){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=s.assertPresent();if(c)throw new Error("fakeAsync() calls can not be nested");c=!0;try{if(!l){if(n.getDelegate()instanceof a)throw new Error("fakeAsync() calls can not be nested");l=new a}var r=void 0,i=n.getDelegate();n.setDelegate(l);try{r=o.apply(this,e),h()}finally{n.setDelegate(i)}if(0<l.pendingPeriodicTimers.length)throw new Error(l.pendingPeriodicTimers.length+" periodic timer(s) still in the queue.");if(0<l.pendingTimers.length)throw new Error(l.pendingTimers.length+" timer(s) still in the queue.");return r}finally{c=!1,u()}}}(e)},e.tick=function(e){return void 0===e&&(e=0),m?m.tick(e):function(e){void 0===e&&(e=0),d().tick(e)}(e)},e.flush=function(e){return m?m.flush(e):function(e){return d().flush(e)}(e)},e.discardPeriodicTasks=function(){if(m)return m.discardPeriodicTasks();d().pendingPeriodicTimers.length=0},e.flushMicrotasks=function(){return m?m.flushMicrotasks():h()},e.TestComponentRenderer=D,e.ComponentFixtureAutoDetect=I,e.ComponentFixtureNoNgZone=P,e.__core_private_testing_placeholder__="",e.ɵTestingCompiler=Ce,e.ɵTestingCompilerFactory=Ee,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("@angular/cdk/a11y"),require("@angular/cdk/coercion"),require("@angular/core"),require("@angular/material/core"),require("@angular/common"),require("@angular/cdk/overlay"),require("@angular/cdk/bidi"),require("@angular/cdk/keycodes"),require("@angular/cdk/platform"),require("@angular/cdk/portal"),require("@angular/cdk/scrolling"),require("@angular/forms"),require("@angular/material/form-field"),require("rxjs"),require("rxjs/operators")):System.registerDynamic("npm:@angular/material/bundles/material-autocomplete.umd.js",["tslib","@angular/cdk/a11y","@angular/cdk/coercion","@angular/core","@angular/material/core","@angular/common","@angular/cdk/overlay","@angular/cdk/bidi","@angular/cdk/keycodes","@angular/cdk/platform","@angular/cdk/portal","@angular/cdk/scrolling","@angular/forms","@angular/material/form-field","rxjs","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("@angular/cdk/a11y"),e("@angular/cdk/coercion"),e("@angular/core"),e("@angular/material/core"),e("@angular/common"),e("@angular/cdk/overlay"),e("@angular/cdk/bidi"),e("@angular/cdk/keycodes"),e("@angular/cdk/platform"),e("@angular/cdk/portal"),e("@angular/cdk/scrolling"),e("@angular/forms"),e("@angular/material/form-field"),e("rxjs"),e("rxjs/operators"))})}(0,function(e,p,t,n,i,r,o,a,s,l,u,c,d,h,f,m,v){"use strict";function y(){}var g=0,_=function(e,t){this.source=e,this.option=t},b=r.mixinDisableRipple(y),w=new i.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:x});function x(){return{autoActiveFirstOption:!1}}var C,S=(C=b,p.__extends(E,C),Object.defineProperty(E.prototype,"isOpen",{get:function(){return this._isOpen&&this.showPanel},enumerable:!0,configurable:!0}),Object.defineProperty(E.prototype,"autoActiveFirstOption",{get:function(){return this._autoActiveFirstOption},set:function(e){this._autoActiveFirstOption=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(E.prototype,"classList",{set:function(e){e&&e.length?this._classList=e.split(" ").reduce(function(e,t){return e[t.trim()]=!0,e},{}):this._classList={},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""},enumerable:!0,configurable:!0}),E.prototype.ngAfterContentInit=function(){this._keyManager=new t.ActiveDescendantKeyManager(this.options).withWrap(),this._setVisibility()},E.prototype._setScrollTop=function(e){this.panel&&(this.panel.nativeElement.scrollTop=e)},E.prototype._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0},E.prototype._setVisibility=function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()},E.prototype._emitSelectEvent=function(e){var t=new _(this,e);this.optionSelected.emit(t)},E.prototype._setVisibilityClasses=function(e){e["mat-autocomplete-visible"]=this.showPanel,e["mat-autocomplete-hidden"]=!this.showPanel},E.decorators=[{type:i.Component,args:[{moduleId:module.id,selector:"mat-autocomplete",template:'<ng-template>\n  <div class="mat-autocomplete-panel" role="listbox" [id]="id" [ngClass]="_classList" #panel>\n    <ng-content></ng-content>\n  </div>\n</ng-template>\n',encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,exportAs:"matAutocomplete",inputs:["disableRipple"],host:{class:"mat-autocomplete"},providers:[{provide:r.MAT_OPTION_PARENT_COMPONENT,useExisting:E}],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}@media(-ms-high-contrast: active){.mat-autocomplete-panel{outline:solid 1px}}/*# sourceMappingURL=autocomplete.css.map */\n"]}]}],E.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:i.ElementRef},{type:void 0,decorators:[{type:i.Inject,args:[w]}]}]},E.propDecorators={template:[{type:i.ViewChild,args:[i.TemplateRef,{static:!0}]}],panel:[{type:i.ViewChild,args:["panel",{static:!1}]}],options:[{type:i.ContentChildren,args:[r.MatOption,{descendants:!0}]}],optionGroups:[{type:i.ContentChildren,args:[r.MatOptgroup]}],displayWith:[{type:i.Input}],autoActiveFirstOption:[{type:i.Input}],panelWidth:[{type:i.Input}],optionSelected:[{type:i.Output}],opened:[{type:i.Output}],closed:[{type:i.Output}],classList:[{type:i.Input,args:["class"]}]},E);function E(e,t,n){var r=C.call(this)||this;return r._changeDetectorRef=e,r._elementRef=t,r.showPanel=!1,r._isOpen=!1,r.displayWith=null,r.optionSelected=new i.EventEmitter,r.opened=new i.EventEmitter,r.closed=new i.EventEmitter,r._classList={},r.id="mat-autocomplete-"+g++,r._autoActiveFirstOption=!!n.autoActiveFirstOption,r}var O=(k.decorators=[{type:i.Directive,args:[{selector:"[matAutocompleteOrigin]",exportAs:"matAutocompleteOrigin"}]}],k.ctorParameters=function(){return[{type:i.ElementRef}]},k);function k(e){this.elementRef=e}var D=new i.InjectionToken("mat-autocomplete-scroll-strategy");function T(e){return function(){return e.scrollStrategies.reposition()}}var I={provide:D,deps:[a.Overlay],useFactory:T},P={provide:h.NG_VALUE_ACCESSOR,useExisting:i.forwardRef(function(){return M}),multi:!0};function A(){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.")}var M=(Object.defineProperty(R.prototype,"autocompleteDisabled",{get:function(){return this._autocompleteDisabled},set:function(e){this._autocompleteDisabled=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),R.prototype.ngAfterViewInit=function(){var e=this;if("undefined"!=typeof window&&(this._zone.runOutsideAngular(function(){window.addEventListener("blur",e._windowBlurHandler)}),u._supportsShadowDom())){var t=this._element.nativeElement,n=t.getRootNode?t.getRootNode():null;this._isInsideShadowRoot=n instanceof window.ShadowRoot}},R.prototype.ngOnChanges=function(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())},R.prototype.ngOnDestroy=function(){"undefined"!=typeof window&&window.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()},Object.defineProperty(R.prototype,"panelOpen",{get:function(){return this._overlayAttached&&this.autocomplete.showPanel},enumerable:!0,configurable:!0}),R.prototype.openPanel=function(){this._attachOverlay(),this._floatLabel()},R.prototype.closePanel=function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())},R.prototype.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()},Object.defineProperty(R.prototype,"panelClosingActions",{get:function(){var e=this;return m.merge(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(v.filter(function(){return e._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(v.filter(function(){return e._overlayAttached})):m.of()).pipe(v.map(function(e){return e instanceof r.MatOptionSelectionChange?e:null}))},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"activeOption",{get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null},enumerable:!0,configurable:!0}),R.prototype._getOutsideClickStream=function(){var r=this;return m.merge(m.fromEvent(this._document,"click"),m.fromEvent(this._document,"touchend")).pipe(v.filter(function(e){var t=r._isInsideShadowRoot&&e.composedPath?e.composedPath()[0]:e.target,n=r._formField?r._formField._elementRef.nativeElement:null;return r._overlayAttached&&t!==r._element.nativeElement&&(!n||!n.contains(t))&&!!r._overlayRef&&!r._overlayRef.overlayElement.contains(t)}))},R.prototype.writeValue=function(e){var t=this;Promise.resolve(null).then(function(){return t._setTriggerValue(e)})},R.prototype.registerOnChange=function(e){this._onChange=e},R.prototype.registerOnTouched=function(e){this._onTouched=e},R.prototype.setDisabledState=function(e){this._element.nativeElement.disabled=e},R.prototype._handleKeydown=function(e){var t=e.keyCode;if(t===l.ESCAPE&&e.preventDefault(),this.activeOption&&t===l.ENTER&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){var n=this.autocomplete._keyManager.activeItem,r=t===l.UP_ARROW||t===l.DOWN_ARROW;this.panelOpen||t===l.TAB?this.autocomplete._keyManager.onKeydown(e):r&&this._canOpen()&&this.openPanel(),!r&&this.autocomplete._keyManager.activeItem===n||this._scrollToOption()}},R.prototype._handleInput=function(e){var t=e.target,n=t.value;"number"===t.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())},R.prototype._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0},R.prototype._floatLabel=function(e){void 0===e&&(e=!1),this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)},R.prototype._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)},R.prototype._scrollToOption=function(){var e=this.autocomplete._keyManager.activeItemIndex||0,t=r._countGroupLabelsBeforeOption(e,this.autocomplete.options,this.autocomplete.optionGroups);if(0===e&&1===t)this.autocomplete._setScrollTop(0);else{var n=r._getOptionScrollPosition(e+t,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(n)}},R.prototype._subscribeToClosingActions=function(){var t=this,e=this._zone.onStable.asObservable().pipe(v.take(1)),n=this.autocomplete.options.changes.pipe(v.tap(function(){return t._positionStrategy.reapplyLastPosition()}),v.delay(0));return m.merge(e,n).pipe(v.switchMap(function(){var e=t.panelOpen;return t._resetActiveItem(),t.autocomplete._setVisibility(),t.panelOpen&&(t._overlayRef.updatePosition(),e!==t.panelOpen&&t.autocomplete.opened.emit()),t.panelClosingActions}),v.take(1)).subscribe(function(e){return t._setValueAndClose(e)})},R.prototype._destroyPanel=function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)},R.prototype._setTriggerValue=function(e){var t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,n=null!=t?t:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n},R.prototype._setValueAndClose=function(e){e&&e.source&&(this._clearPreviousSelectedOption(e.source),this._setTriggerValue(e.source.value),this._onChange(e.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(e.source)),this.closePanel()},R.prototype._clearPreviousSelectedOption=function(t){this.autocomplete.options.forEach(function(e){e!=t&&e.selected&&e.deselect()})},R.prototype._attachOverlay=function(){var t=this;if(!this.autocomplete)throw A();var e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new c.TemplatePortal(this.autocomplete.template,this._viewContainerRef),e=this._overlay.create(this._getOverlayConfig()),(this._overlayRef=e).keydownEvents().subscribe(function(e){(e.keyCode===l.ESCAPE||e.keyCode===l.UP_ARROW&&e.altKey)&&(t._resetActiveItem(),t._closeKeyEventStream.next(),e.stopPropagation(),e.preventDefault())}),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe(function(){t.panelOpen&&e&&e.updateSize({width:t._getPanelWidth()})}))),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()},R.prototype._getOverlayConfig=function(){return new a.OverlayConfig({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})},R.prototype._getOverlayPosition=function(){var e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e},R.prototype._setStrategyPositions=function(e){var t,n={originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},r={originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"};t="above"===this.position?[r]:"below"===this.position?[n]:[n,r],e.withPositions(t)},R.prototype._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element},R.prototype._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()},R.prototype._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width},R.prototype._resetActiveItem=function(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)},R.prototype._canOpen=function(){var e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled},R.decorators=[{type:i.Directive,args:[{selector:"input[matAutocomplete], textarea[matAutocomplete]",host:{class:"mat-autocomplete-trigger","[attr.autocomplete]":"autocompleteAttribute","[attr.role]":'autocompleteDisabled ? null : "combobox"',"[attr.aria-autocomplete]":'autocompleteDisabled ? null : "list"',"[attr.aria-activedescendant]":"(panelOpen && activeOption) ? activeOption.id : null","[attr.aria-expanded]":"autocompleteDisabled ? null : panelOpen.toString()","[attr.aria-owns]":"(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id","[attr.aria-haspopup]":"!autocompleteDisabled","(focusin)":"_handleFocus()","(blur)":"_onTouched()","(input)":"_handleInput($event)","(keydown)":"_handleKeydown($event)"},exportAs:"matAutocompleteTrigger",providers:[P]}]}],R.ctorParameters=function(){return[{type:i.ElementRef},{type:a.Overlay},{type:i.ViewContainerRef},{type:i.NgZone},{type:i.ChangeDetectorRef},{type:void 0,decorators:[{type:i.Inject,args:[D]}]},{type:s.Directionality,decorators:[{type:i.Optional}]},{type:f.MatFormField,decorators:[{type:i.Optional},{type:i.Host}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[o.DOCUMENT]}]},{type:d.ViewportRuler}]},R.propDecorators={autocomplete:[{type:i.Input,args:["matAutocomplete"]}],position:[{type:i.Input,args:["matAutocompletePosition"]}],connectedTo:[{type:i.Input,args:["matAutocompleteConnectedTo"]}],autocompleteAttribute:[{type:i.Input,args:["autocomplete"]}],autocompleteDisabled:[{type:i.Input,args:["matAutocompleteDisabled"]}]},R);function R(e,t,n,r,i,o,a,s,l,u){var c=this;this._element=e,this._overlay=t,this._viewContainerRef=n,this._zone=r,this._changeDetectorRef=i,this._dir=a,this._formField=s,this._document=l,this._viewportRuler=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=m.Subscription.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new m.Subject,this._windowBlurHandler=function(){c._canOpenOnNextFocus=c._document.activeElement!==c._element.nativeElement||c.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=m.defer(function(){return c.autocomplete&&c.autocomplete.options?m.merge.apply(void 0,p.__spread(c.autocomplete.options.map(function(e){return e.onSelectionChange}))):c._zone.onStable.asObservable().pipe(v.take(1),v.switchMap(function(){return c.optionSelections}))}),this._scrollStrategy=o}var N=(j.decorators=[{type:i.NgModule,args:[{imports:[r.MatOptionModule,a.OverlayModule,r.MatCommonModule,o.CommonModule],exports:[S,r.MatOptionModule,M,O,r.MatCommonModule],declarations:[S,M,O],providers:[I]}]}],j);function j(){}e.MatAutocompleteSelectedEvent=_,e.MAT_AUTOCOMPLETE_DEFAULT_OPTIONS=w,e.MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY=x,e.MatAutocomplete=S,e.MatAutocompleteModule=N,e.AUTOCOMPLETE_OPTION_HEIGHT=48,e.AUTOCOMPLETE_PANEL_HEIGHT=256,e.MAT_AUTOCOMPLETE_SCROLL_STRATEGY=D,e.MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY=T,e.MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER=I,e.MAT_AUTOCOMPLETE_VALUE_ACCESSOR=P,e.getMatAutocompleteMissingPanelError=A,e.MatAutocompleteTrigger=M,e.MatAutocompleteOrigin=O,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/material/core"),require("@angular/cdk/a11y"),require("tslib"),require("@angular/cdk/coercion"),require("@angular/platform-browser/animations")):System.registerDynamic("npm:@angular/material/bundles/material-badge.umd.js",["@angular/core","@angular/material/core","@angular/cdk/a11y","tslib","@angular/cdk/coercion","@angular/platform-browser/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/material/core"),e("@angular/cdk/a11y"),e("tslib"),e("@angular/cdk/coercion"),e("@angular/platform-browser/animations"))})}(0,function(e,s,t,n,r,i,o){"use strict";function a(){}var l,u=0,c=t.mixinDisabled(a),p=(l=c,r.__extends(d,l),Object.defineProperty(d.prototype,"color",{get:function(){return this._color},set:function(e){this._setColor(e),this._color=e},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"overlap",{get:function(){return this._overlap},set:function(e){this._overlap=i.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"description",{get:function(){return this._description},set:function(e){if(e!==this._description){var t=this._badgeElement;this._updateHostAriaDescription(e,this._description),this._description=e,t&&(e?t.setAttribute("aria-label",e):t.removeAttribute("aria-label"))}},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"hidden",{get:function(){return this._hidden},set:function(e){this._hidden=i.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),d.prototype.isAbove=function(){return-1===this.position.indexOf("below")},d.prototype.isAfter=function(){return-1===this.position.indexOf("before")},d.prototype.ngOnChanges=function(e){var t=e.content;if(t){var n=t.currentValue;this._hasContent=null!=n&&0<(""+n).trim().length,this._updateTextContent()}},d.prototype.ngOnDestroy=function(){var e=this._badgeElement;e&&(this.description&&this._ariaDescriber.removeDescription(e,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(e))},d.prototype.getBadgeElement=function(){return this._badgeElement},d.prototype._updateTextContent=function(){return this._badgeElement?this._badgeElement.textContent=this.content:this._badgeElement=this._createBadgeElement(),this._badgeElement},d.prototype._createBadgeElement=function(){var e=this._renderer.createElement("span"),t="mat-badge-active",n="mat-badge-content";return this._clearExistingBadges(n),e.setAttribute("id","mat-badge-content-"+this._id),e.classList.add(n),e.textContent=this.content,"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this.description&&e.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e.classList.add(t)})}):e.classList.add(t),e},d.prototype._updateHostAriaDescription=function(e,t){var n=this._updateTextContent();t&&this._ariaDescriber.removeDescription(n,t),e&&this._ariaDescriber.describe(n,e)},d.prototype._setColor=function(e){e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-badge-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-badge-"+e))},d.prototype._clearExistingBadges=function(e){for(var t=this._elementRef.nativeElement,n=t.children.length;n--;){var r=t.children[n];r.classList.contains(e)&&t.removeChild(r)}},d.decorators=[{type:s.Directive,args:[{selector:"[matBadge]",inputs:["disabled: matBadgeDisabled"],host:{class:"mat-badge","[class.mat-badge-overlap]":"overlap","[class.mat-badge-above]":"isAbove()","[class.mat-badge-below]":"!isAbove()","[class.mat-badge-before]":"!isAfter()","[class.mat-badge-after]":"isAfter()","[class.mat-badge-small]":'size === "small"',"[class.mat-badge-medium]":'size === "medium"',"[class.mat-badge-large]":'size === "large"',"[class.mat-badge-hidden]":"hidden || !_hasContent","[class.mat-badge-disabled]":"disabled"}}]}],d.ctorParameters=function(){return[{type:s.NgZone},{type:s.ElementRef},{type:n.AriaDescriber},{type:s.Renderer2},{type:String,decorators:[{type:s.Optional},{type:s.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},d.propDecorators={color:[{type:s.Input,args:["matBadgeColor"]}],overlap:[{type:s.Input,args:["matBadgeOverlap"]}],position:[{type:s.Input,args:["matBadgePosition"]}],content:[{type:s.Input,args:["matBadge"]}],description:[{type:s.Input,args:["matBadgeDescription"]}],size:[{type:s.Input,args:["matBadgeSize"]}],hidden:[{type:s.Input,args:["matBadgeHidden"]}]},d);function d(e,t,n,r,i){var o=l.call(this)||this;if(o._ngZone=e,o._elementRef=t,o._ariaDescriber=n,o._renderer=r,o._animationMode=i,o._hasContent=!1,o._color="primary",o._overlap=!0,o.position="above after",o.size="medium",o._id=u++,s.isDevMode()){var a=t.nativeElement;if(a.nodeType!==a.ELEMENT_NODE)throw Error("matBadge must be attached to an element node.")}return o}var h=(f.decorators=[{type:s.NgModule,args:[{imports:[n.A11yModule,t.MatCommonModule],exports:[p],declarations:[p]}]}],f);function f(){}e.MatBadgeModule=h,e.MatBadge=p,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/overlay"),require("@angular/cdk/portal"),require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/layout"),require("@angular/animations"),require("@angular/cdk/a11y"),require("@angular/cdk/bidi"),require("rxjs"),require("@angular/cdk/keycodes"),require("rxjs/operators")):System.registerDynamic("npm:@angular/material/bundles/material-bottom-sheet.umd.js",["@angular/cdk/overlay","@angular/cdk/portal","@angular/common","@angular/core","@angular/material/core","tslib","@angular/cdk/layout","@angular/animations","@angular/cdk/a11y","@angular/cdk/bidi","rxjs","@angular/cdk/keycodes","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/overlay"),e("@angular/cdk/portal"),e("@angular/common"),e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/layout"),e("@angular/animations"),e("@angular/cdk/a11y"),e("@angular/cdk/bidi"),e("rxjs"),e("@angular/cdk/keycodes"),e("rxjs/operators"))})}(0,function(e,n,u,t,c,r,p,s,i,o,a,l,d,h){"use strict";var f,m=new c.InjectionToken("MatBottomSheetData"),v=function(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0},y={bottomSheetState:i.trigger("state",[i.state("void, hidden",i.style({transform:"translateY(100%)"})),i.state("visible",i.style({transform:"translateY(0%)"})),i.transition("visible => void, visible => hidden",i.animate(r.AnimationDurations.COMPLEX+" "+r.AnimationCurves.ACCELERATION_CURVE)),i.transition("void => visible",i.animate(r.AnimationDurations.EXITING+" "+r.AnimationCurves.DECELERATION_CURVE))])},g=(f=u.BasePortalOutlet,p.__extends(_,f),_.prototype.attachComponentPortal=function(e){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)},_.prototype.attachTemplatePortal=function(e){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)},_.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},_.prototype.exit=function(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())},_.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0},_.prototype._onAnimationDone=function(e){"hidden"===e.toState?this._restoreFocus():"visible"===e.toState&&this._trapFocus(),this._animationStateChanged.emit(e)},_.prototype._onAnimationStart=function(e){this._animationStateChanged.emit(e)},_.prototype._toggleClass=function(e,t){var n=this._elementRef.nativeElement.classList;t?n.add(e):n.remove(e)},_.prototype._validatePortalAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach bottom sheet content after content is already attached")},_.prototype._setPanelClass=function(){var t=this._elementRef.nativeElement,e=this.bottomSheetConfig.panelClass;Array.isArray(e)?e.forEach(function(e){return t.classList.add(e)}):e&&t.classList.add(e)},_.prototype._trapFocus=function(){var e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var t=this._document.activeElement;t===e||e.contains(t)||e.focus()}},_.prototype._restoreFocus=function(){var e=this._elementFocusedBeforeOpened;this.bottomSheetConfig.restoreFocus&&e&&"function"==typeof e.focus&&e.focus(),this._focusTrap&&this._focusTrap.destroy()},_.prototype._savePreviouslyFocusedElement=function(){var e=this;this._elementFocusedBeforeOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return e._elementRef.nativeElement.focus()})},_.decorators=[{type:c.Component,args:[{moduleId:module.id,selector:"mat-bottom-sheet-container",template:"<ng-template cdkPortalOutlet></ng-template>\r\n",changeDetection:c.ChangeDetectionStrategy.OnPush,encapsulation:c.ViewEncapsulation.None,animations:[y.bottomSheetState],host:{class:"mat-bottom-sheet-container",tabindex:"-1",role:"dialog","aria-modal":"true","[attr.aria-label]":"bottomSheetConfig?.ariaLabel","[@state]":"_animationState","(@state.start)":"_onAnimationStart($event)","(@state.done)":"_onAnimationDone($event)"},styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}@media(-ms-high-contrast: active){.mat-bottom-sheet-container{outline:1px solid}}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}/*# sourceMappingURL=bottom-sheet-container.css.map */\n"]}]}],_.ctorParameters=function(){return[{type:c.ElementRef},{type:c.ChangeDetectorRef},{type:o.FocusTrapFactory},{type:s.BreakpointObserver},{type:void 0,decorators:[{type:c.Optional},{type:c.Inject,args:[t.DOCUMENT]}]},{type:v}]},_.propDecorators={_portalOutlet:[{type:c.ViewChild,args:[u.CdkPortalOutlet,{static:!0}]}]},_);function _(e,t,n,r,i,o){var a=f.call(this)||this;return a._elementRef=e,a._changeDetectorRef=t,a._focusTrapFactory=n,a.bottomSheetConfig=o,a._animationState="void",a._animationStateChanged=new c.EventEmitter,a._elementFocusedBeforeOpened=null,a._document=i,a._breakpointSubscription=r.observe([s.Breakpoints.Medium,s.Breakpoints.Large,s.Breakpoints.XLarge]).subscribe(function(){a._toggleClass("mat-bottom-sheet-container-medium",r.isMatched(s.Breakpoints.Medium)),a._toggleClass("mat-bottom-sheet-container-large",r.isMatched(s.Breakpoints.Large)),a._toggleClass("mat-bottom-sheet-container-xlarge",r.isMatched(s.Breakpoints.XLarge))}),a}var b=(w.decorators=[{type:c.NgModule,args:[{imports:[t.CommonModule,n.OverlayModule,r.MatCommonModule,u.PortalModule],exports:[g,r.MatCommonModule],declarations:[g],entryComponents:[g]}]}],w);function w(){}var x=(C.prototype.dismiss=function(e){var t=this;this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe(h.filter(function(e){return"start"===e.phaseName}),h.take(1)).subscribe(function(e){t._closeFallbackTimeout=setTimeout(function(){t._overlayRef.dispose()},e.totalTime+100),t._overlayRef.detachBackdrop()}),this._result=e,this.containerInstance.exit())},C.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},C.prototype.afterOpened=function(){return this._afterOpened.asObservable()},C.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},C.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},C);function C(e,t,n){var r=this;this._overlayRef=t,this._afterDismissed=new l.Subject,this._afterOpened=new l.Subject,this.containerInstance=e,this.disableClose=e.bottomSheetConfig.disableClose,e._animationStateChanged.pipe(h.filter(function(e){return"done"===e.phaseName&&"visible"===e.toState}),h.take(1)).subscribe(function(){r._afterOpened.next(),r._afterOpened.complete()}),e._animationStateChanged.pipe(h.filter(function(e){return"done"===e.phaseName&&"hidden"===e.toState}),h.take(1)).subscribe(function(){clearTimeout(r._closeFallbackTimeout),t.dispose()}),t.detachments().pipe(h.take(1)).subscribe(function(){r._afterDismissed.next(r._result),r._afterDismissed.complete()}),l.merge(t.backdropClick(),t.keydownEvents().pipe(h.filter(function(e){return e.keyCode===d.ESCAPE}))).subscribe(function(e){r.disableClose||"keydown"===e.type&&d.hasModifierKey(e)||(e.preventDefault(),r.dismiss())})}var S=new c.InjectionToken("mat-bottom-sheet-default-options"),E=(Object.defineProperty(O.prototype,"_openedBottomSheetRef",{get:function(){var e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel},set:function(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e},enumerable:!0,configurable:!0}),O.prototype.open=function(e,t){var n=this,r=function(e,t){return p.__assign({},e,t)}(this._defaultOptions||new v,t),i=this._createOverlay(r),o=this._attachContainer(i,r),a=new x(o,i,this._location);if(e instanceof c.TemplateRef)o.attachTemplatePortal(new u.TemplatePortal(e,null,{$implicit:r.data,bottomSheetRef:a}));else{var s=new u.ComponentPortal(e,void 0,this._createInjector(r,a)),l=o.attachComponentPortal(s);a.instance=l.instance}return a.afterDismissed().subscribe(function(){n._openedBottomSheetRef==a&&(n._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(function(){return a.containerInstance.enter()}),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a},O.prototype.dismiss=function(){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss()},O.prototype.ngOnDestroy=function(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()},O.prototype._attachContainer=function(e,t){var n=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=new u.PortalInjector(n||this._injector,new WeakMap([[v,t]])),i=new u.ComponentPortal(g,t.viewContainerRef,r);return e.attach(i).instance},O.prototype._createOverlay=function(e){var t=new n.OverlayConfig({direction:e.direction,hasBackdrop:e.hasBackdrop,disposeOnNavigation:e.closeOnNavigation,maxWidth:"100%",scrollStrategy:e.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return e.backdropClass&&(t.backdropClass=e.backdropClass),this._overlay.create(t)},O.prototype._createInjector=function(e,t){var n=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=new WeakMap([[x,t],[m,e.data]]);return!e.direction||n&&n.get(a.Directionality,null)||r.set(a.Directionality,{value:e.direction,change:l.of()}),new u.PortalInjector(n||this._injector,r)},O.decorators=[{type:c.Injectable,args:[{providedIn:b}]}],O.ctorParameters=function(){return[{type:n.Overlay},{type:c.Injector},{type:O,decorators:[{type:c.Optional},{type:c.SkipSelf}]},{type:t.Location,decorators:[{type:c.Optional}]},{type:v,decorators:[{type:c.Optional},{type:c.Inject,args:[S]}]}]},O.ngInjectableDef=c.ɵɵdefineInjectable({factory:function(){return new O(c.ɵɵinject(n.Overlay),c.ɵɵinject(c.INJECTOR),c.ɵɵinject(O,12),c.ɵɵinject(t.Location,8),c.ɵɵinject(S,8))},token:O,providedIn:b}),O);function O(e,t,n,r,i){this._overlay=e,this._injector=t,this._parentBottomSheet=n,this._location=r,this._defaultOptions=i,this._bottomSheetRefAtThisLevel=null}e.MatBottomSheetModule=b,e.MAT_BOTTOM_SHEET_DEFAULT_OPTIONS=S,e.MatBottomSheet=E,e.MAT_BOTTOM_SHEET_DATA=m,e.MatBottomSheetConfig=v,e.MatBottomSheetContainer=g,e.matBottomSheetAnimations=y,e.MatBottomSheetRef=x,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("@angular/cdk/a11y"),require("@angular/cdk/coercion"),require("@angular/cdk/collections"),require("@angular/core"),require("@angular/forms"),require("@angular/material/core")):System.registerDynamic("npm:@angular/material/bundles/material-button-toggle.umd.js",["tslib","@angular/cdk/a11y","@angular/cdk/coercion","@angular/cdk/collections","@angular/core","@angular/forms","@angular/material/core"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("@angular/cdk/a11y"),e("@angular/cdk/coercion"),e("@angular/cdk/collections"),e("@angular/core"),e("@angular/forms"),e("@angular/material/core"))})}(0,function(e,t,n,r,i,l,o,a){"use strict";function s(){}var u=new l.InjectionToken("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),c={provide:o.NG_VALUE_ACCESSOR,useExisting:l.forwardRef(function(){return h}),multi:!0},p=0,d=function(e,t){this.source=e,this.value=t},h=(Object.defineProperty(f.prototype,"name",{get:function(){return this._name},set:function(e){var t=this;this._name=e,this._buttonToggles&&this._buttonToggles.forEach(function(e){e.name=t._name,e._markForCheck()})},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"vertical",{get:function(){return this._vertical},set:function(e){this._vertical=r.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"value",{get:function(){var e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(function(e){return e.value}):e[0]?e[0].value:void 0},set:function(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"selected",{get:function(){var e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"multiple",{get:function(){return this._multiple},set:function(e){this._multiple=r.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=r.coerceBooleanProperty(e),this._buttonToggles&&this._buttonToggles.forEach(function(e){return e._markForCheck()})},enumerable:!0,configurable:!0}),f.prototype.ngOnInit=function(){this._selectionModel=new i.SelectionModel(this.multiple,void 0,!1)},f.prototype.ngAfterContentInit=function(){var e;(e=this._selectionModel).select.apply(e,t.__spread(this._buttonToggles.filter(function(e){return e.checked})))},f.prototype.writeValue=function(e){this.value=e,this._changeDetector.markForCheck()},f.prototype.registerOnChange=function(e){this._controlValueAccessorChangeFn=e},f.prototype.registerOnTouched=function(e){this._onTouched=e},f.prototype.setDisabledState=function(e){this.disabled=e},f.prototype._emitChangeEvent=function(){var e=this.selected,t=Array.isArray(e)?e[e.length-1]:e,n=new d(t,this.value);this._controlValueAccessorChangeFn(n.value),this.change.emit(n)},f.prototype._syncButtonToggle=function(e,t,n,r){var i=this;void 0===n&&(n=!1),void 0===r&&(r=!1),this.multiple||!this.selected||e.checked||(this.selected.checked=!1),this._selectionModel?t?this._selectionModel.select(e):this._selectionModel.deselect(e):r=!0,r?Promise.resolve(function(){return i._updateModelValue(n)}):this._updateModelValue(n)},f.prototype._isSelected=function(e){return this._selectionModel&&this._selectionModel.isSelected(e)},f.prototype._isPrechecked=function(t){return void 0!==this._rawValue&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(function(e){return null!=t.value&&e===t.value}):t.value===this._rawValue)},f.prototype._setSelectionByValue=function(e){var t=this;if(this._rawValue=e,this._buttonToggles)if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._clearSelection(),e.forEach(function(e){return t._selectValue(e)})}else this._clearSelection(),this._selectValue(e)},f.prototype._clearSelection=function(){this._selectionModel.clear(),this._buttonToggles.forEach(function(e){return e.checked=!1})},f.prototype._selectValue=function(t){var e=this._buttonToggles.find(function(e){return null!=e.value&&e.value===t});e&&(e.checked=!0,this._selectionModel.select(e))},f.prototype._updateModelValue=function(e){e&&this._emitChangeEvent(),this.valueChange.emit(this.value)},f.decorators=[{type:l.Directive,args:[{selector:"mat-button-toggle-group",providers:[c,{provide:s,useExisting:f}],host:{role:"group",class:"mat-button-toggle-group","[attr.aria-disabled]":"disabled","[class.mat-button-toggle-vertical]":"vertical","[class.mat-button-toggle-group-appearance-standard]":'appearance === "standard"'},exportAs:"matButtonToggleGroup"}]}],f.ctorParameters=function(){return[{type:l.ChangeDetectorRef},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[u]}]}]},f.propDecorators={_buttonToggles:[{type:l.ContentChildren,args:[l.forwardRef(function(){return g})]}],appearance:[{type:l.Input}],name:[{type:l.Input}],vertical:[{type:l.Input}],value:[{type:l.Input}],valueChange:[{type:l.Output}],multiple:[{type:l.Input}],disabled:[{type:l.Input}],change:[{type:l.Output}]},f);function f(e,t){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=function(){},this._onTouched=function(){},this._name="mat-button-toggle-group-"+p++,this.valueChange=new l.EventEmitter,this.change=new l.EventEmitter,this.appearance=t&&t.appearance?t.appearance:"standard"}function m(){}var v,y=a.mixinDisableRipple(m),g=(v=y,t.__extends(_,v),Object.defineProperty(_.prototype,"buttonId",{get:function(){return this.id+"-button"},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"appearance",{get:function(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance},set:function(e){this._appearance=e},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"checked",{get:function(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked},set:function(e){var t=r.coerceBooleanProperty(e);t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"disabled",{get:function(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled},set:function(e){this._disabled=r.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),_.prototype.ngOnInit=function(){this._isSingleSelector=this.buttonToggleGroup&&!this.buttonToggleGroup.multiple,this._type=this._isSingleSelector?"radio":"checkbox",this.id=this.id||"mat-button-toggle-"+p++,this._isSingleSelector&&(this.name=this.buttonToggleGroup.name),this.buttonToggleGroup&&this.buttonToggleGroup._isPrechecked(this)&&(this.checked=!0),this._focusMonitor.monitor(this._elementRef,!0)},_.prototype.ngOnDestroy=function(){var e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)},_.prototype.focus=function(e){this._buttonElement.nativeElement.focus(e)},_.prototype._onButtonClick=function(){var e=!!this._isSingleSelector||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new d(this,this.value))},_.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},_.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-button-toggle",template:'<button #button class="mat-button-toggle-button"\n        type="button"\n        [id]="buttonId"\n        [attr.tabindex]="disabled ? -1 : tabIndex"\n        [attr.aria-pressed]="checked"\n        [disabled]="disabled || null"\n        [attr.name]="name || null"\n        [attr.aria-label]="ariaLabel"\n        [attr.aria-labelledby]="ariaLabelledby"\n        (click)="_onButtonClick()">\n  <div class="mat-button-toggle-label-content">\n    <ng-content></ng-content>\n  </div>\n</button>\n\n<div class="mat-button-toggle-focus-overlay"></div>\n<div class="mat-button-toggle-ripple" matRipple\n     [matRippleTrigger]="button"\n     [matRippleDisabled]="this.disableRipple || this.disabled">\n</div>\n',encapsulation:l.ViewEncapsulation.None,exportAs:"matButtonToggle",changeDetection:l.ChangeDetectionStrategy.OnPush,inputs:["disableRipple"],host:{"[class.mat-button-toggle-standalone]":"!buttonToggleGroup","[class.mat-button-toggle-checked]":"checked","[class.mat-button-toggle-disabled]":"disabled","[class.mat-button-toggle-appearance-standard]":'appearance === "standard"',class:"mat-button-toggle","[attr.tabindex]":"-1","[attr.id]":"id","[attr.name]":"null","(focus)":"focus()"},styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:transparent}@media(-ms-high-contrast: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}@media(-ms-high-contrast: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}@media(-ms-high-contrast: active){.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:.5}}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(-ms-high-contrast: active){.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.5}}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px;padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px}@media(-ms-high-contrast: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{opacity:.5;height:0}}@media(-ms-high-contrast: active){.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 48px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}/*# sourceMappingURL=button-toggle.css.map */\n"]}]}],_.ctorParameters=function(){return[{type:h,decorators:[{type:l.Optional}]},{type:l.ChangeDetectorRef},{type:l.ElementRef},{type:n.FocusMonitor},{type:String,decorators:[{type:l.Attribute,args:["tabindex"]}]},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[u]}]}]},_.propDecorators={ariaLabel:[{type:l.Input,args:["aria-label"]}],ariaLabelledby:[{type:l.Input,args:["aria-labelledby"]}],_buttonElement:[{type:l.ViewChild,args:["button",{static:!1}]}],id:[{type:l.Input}],name:[{type:l.Input}],value:[{type:l.Input}],tabIndex:[{type:l.Input}],appearance:[{type:l.Input}],checked:[{type:l.Input}],disabled:[{type:l.Input}],change:[{type:l.Output}]},_);function _(e,t,n,r,i,o){var a=v.call(this)||this;a._changeDetectorRef=t,a._elementRef=n,a._focusMonitor=r,a._isSingleSelector=!1,a._checked=!1,a.ariaLabelledby=null,a._disabled=!1,a.change=new l.EventEmitter;var s=Number(i);return a.tabIndex=s||0===s?s:null,a.buttonToggleGroup=e,a.appearance=o&&o.appearance?o.appearance:"standard",a}var b=(w.decorators=[{type:l.NgModule,args:[{imports:[a.MatCommonModule,a.MatRippleModule],exports:[a.MatCommonModule,h,g],declarations:[h,g]}]}],w);function w(){}e.MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS=u,e.MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR=c,e.MatButtonToggleGroupMultiple=s,e.MatButtonToggleChange=d,e.MatButtonToggleGroup=h,e.MatButtonToggle=g,e.MatButtonToggleModule=b,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/platform-browser/animations"),require("@angular/material/core")):System.registerDynamic("npm:@angular/material/bundles/material-card.umd.js",["@angular/core","@angular/platform-browser/animations","@angular/material/core"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/platform-browser/animations"),e("@angular/material/core"))})}(0,function(e,t,n,r){"use strict";var i=(o.decorators=[{type:t.Directive,args:[{selector:"mat-card-content",host:{class:"mat-card-content"}}]}],o);function o(){}var a=(s.decorators=[{type:t.Directive,args:[{selector:"mat-card-title, [mat-card-title], [matCardTitle]",host:{class:"mat-card-title"}}]}],s);function s(){}var l=(u.decorators=[{type:t.Directive,args:[{selector:"mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]",host:{class:"mat-card-subtitle"}}]}],u);function u(){}var c=(p.decorators=[{type:t.Directive,args:[{selector:"mat-card-actions",exportAs:"matCardActions",host:{class:"mat-card-actions","[class.mat-card-actions-align-end]":'align === "end"'}}]}],p.propDecorators={align:[{type:t.Input}]},p);function p(){this.align="start"}var d=(h.decorators=[{type:t.Directive,args:[{selector:"mat-card-footer",host:{class:"mat-card-footer"}}]}],h);function h(){}var f=(m.decorators=[{type:t.Directive,args:[{selector:"[mat-card-image], [matCardImage]",host:{class:"mat-card-image"}}]}],m);function m(){}var v=(y.decorators=[{type:t.Directive,args:[{selector:"[mat-card-sm-image], [matCardImageSmall]",host:{class:"mat-card-sm-image"}}]}],y);function y(){}var g=(_.decorators=[{type:t.Directive,args:[{selector:"[mat-card-md-image], [matCardImageMedium]",host:{class:"mat-card-md-image"}}]}],_);function _(){}var b=(w.decorators=[{type:t.Directive,args:[{selector:"[mat-card-lg-image], [matCardImageLarge]",host:{class:"mat-card-lg-image"}}]}],w);function w(){}var x=(C.decorators=[{type:t.Directive,args:[{selector:"[mat-card-xl-image], [matCardImageXLarge]",host:{class:"mat-card-xl-image"}}]}],C);function C(){}var S=(E.decorators=[{type:t.Directive,args:[{selector:"[mat-card-avatar], [matCardAvatar]",host:{class:"mat-card-avatar"}}]}],E);function E(){}var O=(k.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-card",exportAs:"matCard",template:'<ng-content></ng-content>\n<ng-content select="mat-card-footer"></ng-content>\n',encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,host:{class:"mat-card","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media(-ms-high-contrast: active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}/*# sourceMappingURL=card.css.map */\n"]}]}],k.ctorParameters=function(){return[{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[n.ANIMATION_MODULE_TYPE]}]}]},k);function k(e){this._animationMode=e}var D=(T.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-card-header",template:'<ng-content select="[mat-card-avatar], [matCardAvatar]"></ng-content>\n<div class="mat-card-header-text">\n  <ng-content\n      select="mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]"></ng-content>\n</div>\n<ng-content></ng-content>\n',encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,host:{class:"mat-card-header"}}]}],T);function T(){}var I=(P.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-card-title-group",template:'<div>\n  <ng-content\n      select="mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]"></ng-content>\n</div>\n<ng-content select="img"></ng-content>\n<ng-content></ng-content>\n',encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,host:{class:"mat-card-title-group"}}]}],P);function P(){}var A=(M.decorators=[{type:t.NgModule,args:[{imports:[r.MatCommonModule],exports:[O,D,I,i,a,l,c,d,v,g,b,f,x,S,r.MatCommonModule],declarations:[O,D,I,i,a,l,c,d,v,g,b,f,x,S]}]}],M);function M(){}e.MatCardContent=i,e.MatCardTitle=a,e.MatCardSubtitle=l,e.MatCardActions=c,e.MatCardFooter=d,e.MatCardImage=f,e.MatCardSmImage=v,e.MatCardMdImage=g,e.MatCardLgImage=b,e.MatCardXlImage=x,e.MatCardAvatar=S,e.MatCard=O,e.MatCardHeader=D,e.MatCardTitleGroup=I,e.MatCardModule=A,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("@angular/cdk/a11y"),require("@angular/cdk/coercion"),require("@angular/core"),require("@angular/forms"),require("@angular/material/core"),require("@angular/platform-browser/animations"),require("@angular/cdk/observers"),require("@angular/common")):System.registerDynamic("npm:@angular/material/bundles/material-checkbox.umd.js",["tslib","@angular/cdk/a11y","@angular/cdk/coercion","@angular/core","@angular/forms","@angular/material/core","@angular/platform-browser/animations","@angular/cdk/observers","@angular/common"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("@angular/cdk/a11y"),e("@angular/cdk/coercion"),e("@angular/core"),e("@angular/forms"),e("@angular/material/core"),e("@angular/platform-browser/animations"),e("@angular/cdk/observers"),e("@angular/common"))})}(0,function(l,e,t,n,u,r,i,o,a,s){"use strict";var c,p=new u.InjectionToken("mat-checkbox-click-action"),d=0,h={provide:r.NG_VALUE_ACCESSOR,useExisting:u.forwardRef(function(){return g}),multi:!0};(c=l.TransitionCheckState||(l.TransitionCheckState={}))[c.Init=0]="Init",c[c.Checked=1]="Checked",c[c.Unchecked=2]="Unchecked",c[c.Indeterminate=3]="Indeterminate";function f(e){this._elementRef=e}var m,v=function(){},y=i.mixinTabIndex(i.mixinColor(i.mixinDisableRipple(i.mixinDisabled(f)),"accent")),g=(m=y,e.__extends(_,m),Object.defineProperty(_.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"required",{get:function(){return this._required},set:function(e){this._required=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),_.prototype.ngAfterViewChecked=function(){},_.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},Object.defineProperty(_.prototype,"checked",{get:function(){return this._checked},set:function(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"disabled",{get:function(){return this._disabled},set:function(e){var t=n.coerceBooleanProperty(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(e){var t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(l.TransitionCheckState.Indeterminate):this._transitionCheckState(this.checked?l.TransitionCheckState.Checked:l.TransitionCheckState.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),_.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},_.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},_.prototype.writeValue=function(e){this.checked=!!e},_.prototype.registerOnChange=function(e){this._controlValueAccessorChangeFn=e},_.prototype.registerOnTouched=function(e){this._onTouched=e},_.prototype.setDisabledState=function(e){this.disabled=e},_.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},_.prototype._transitionCheckState=function(e){var t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(0<this._currentAnimationClass.length&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,0<this._currentAnimationClass.length)){n.classList.add(this._currentAnimationClass);var r=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){n.classList.remove(r)},1e3)})}},_.prototype._emitChangeEvent=function(){var e=new v;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)},_.prototype.toggle=function(){this.checked=!this.checked},_.prototype._onInputClick=function(e){var t=this;e.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(function(){t._indeterminate=!1,t.indeterminateChange.emit(t._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?l.TransitionCheckState.Checked:l.TransitionCheckState.Unchecked),this._emitChangeEvent())},_.prototype.focus=function(e,t){void 0===e&&(e="keyboard"),this._focusMonitor.focusVia(this._inputElement,e,t)},_.prototype._onInteractionEvent=function(e){e.stopPropagation()},_.prototype._getAnimationClassForCheckStateTransition=function(e,t){if("NoopAnimations"===this._animationMode)return"";var n="";switch(e){case l.TransitionCheckState.Init:if(t===l.TransitionCheckState.Checked)n="unchecked-checked";else{if(t!=l.TransitionCheckState.Indeterminate)return"";n="unchecked-indeterminate"}break;case l.TransitionCheckState.Unchecked:n=t===l.TransitionCheckState.Checked?"unchecked-checked":"unchecked-indeterminate";break;case l.TransitionCheckState.Checked:n=t===l.TransitionCheckState.Unchecked?"checked-unchecked":"checked-indeterminate";break;case l.TransitionCheckState.Indeterminate:n=t===l.TransitionCheckState.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n},_.decorators=[{type:u.Component,args:[{moduleId:module.id,selector:"mat-checkbox",template:'<label [attr.for]="inputId" class="mat-checkbox-layout" #label>\n  <div class="mat-checkbox-inner-container"\n       [class.mat-checkbox-inner-container-no-side-margin]="!checkboxLabel.textContent || !checkboxLabel.textContent.trim()">\n    <input #input\n           class="mat-checkbox-input cdk-visually-hidden" type="checkbox"\n           [id]="inputId"\n           [required]="required"\n           [checked]="checked"\n           [attr.value]="value"\n           [disabled]="disabled"\n           [attr.name]="name"\n           [tabIndex]="tabIndex"\n           [indeterminate]="indeterminate"\n           [attr.aria-label]="ariaLabel || null"\n           [attr.aria-labelledby]="ariaLabelledby"\n           [attr.aria-checked]="_getAriaChecked()"\n           (change)="_onInteractionEvent($event)"\n           (click)="_onInputClick($event)">\n    <div matRipple class="mat-checkbox-ripple"\n         [matRippleTrigger]="label"\n         [matRippleDisabled]="_isRippleDisabled()"\n         [matRippleRadius]="20"\n         [matRippleCentered]="true"\n         [matRippleAnimation]="{enterDuration: 150}">\n      <div class="mat-ripple-element mat-checkbox-persistent-ripple"></div>\n    </div>\n    <div class="mat-checkbox-frame"></div>\n    <div class="mat-checkbox-background">\n      <svg version="1.1"\n           focusable="false"\n           class="mat-checkbox-checkmark"\n           viewBox="0 0 24 24"\n           xml:space="preserve">\n        <path class="mat-checkbox-checkmark-path"\n              fill="none"\n              stroke="white"\n              d="M4.1,12.7 9,17.6 20.3,6.3"/>\n      </svg>\n      \x3c!-- Element for rendering the indeterminate state checkbox. --\x3e\n      <div class="mat-checkbox-mixedmark"></div>\n    </div>\n  </div>\n  <span class="mat-checkbox-label" #checkboxLabel (cdkObserveContent)="_onLabelTextChange()">\n    \x3c!-- Add an invisible span so JAWS can read the label --\x3e\n    <span style="display:none">&nbsp;</span>\n    <ng-content></ng-content>\n  </span>\n</label>\n',exportAs:"matCheckbox",host:{class:"mat-checkbox","[id]":"id","[attr.tabindex]":"null","[class.mat-checkbox-indeterminate]":"indeterminate","[class.mat-checkbox-checked]":"checked","[class.mat-checkbox-disabled]":"disabled","[class.mat-checkbox-label-before]":'labelPosition == "before"',"[class._mat-animation-noopable]":"_animationMode === 'NoopAnimations'"},providers:[h],inputs:["disableRipple","color","tabIndex"],encapsulation:u.ViewEncapsulation.None,changeDetection:u.ChangeDetectionStrategy.OnPush,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media(-ms-high-contrast: active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}@media(-ms-high-contrast: active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}/*# sourceMappingURL=checkbox.css.map */\n"]}]}],_.ctorParameters=function(){return[{type:u.ElementRef},{type:u.ChangeDetectorRef},{type:t.FocusMonitor},{type:u.NgZone},{type:String,decorators:[{type:u.Attribute,args:["tabindex"]}]},{type:void 0,decorators:[{type:u.Optional},{type:u.Inject,args:[p]}]},{type:String,decorators:[{type:u.Optional},{type:u.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},_.propDecorators={ariaLabel:[{type:u.Input,args:["aria-label"]}],ariaLabelledby:[{type:u.Input,args:["aria-labelledby"]}],id:[{type:u.Input}],required:[{type:u.Input}],labelPosition:[{type:u.Input}],name:[{type:u.Input}],change:[{type:u.Output}],indeterminateChange:[{type:u.Output}],value:[{type:u.Input}],_inputElement:[{type:u.ViewChild,args:["input",{static:!1}]}],ripple:[{type:u.ViewChild,args:[i.MatRipple,{static:!1}]}],checked:[{type:u.Input}],disabled:[{type:u.Input}],indeterminate:[{type:u.Input}]},_);function _(e,t,n,r,i,o,a){var s=m.call(this,e)||this;return s._changeDetectorRef=t,s._focusMonitor=n,s._ngZone=r,s._clickAction=o,s._animationMode=a,s.ariaLabel="",s.ariaLabelledby=null,s._uniqueId="mat-checkbox-"+ ++d,s.id=s._uniqueId,s.labelPosition="after",s.name=null,s.change=new u.EventEmitter,s.indeterminateChange=new u.EventEmitter,s._onTouched=function(){},s._currentAnimationClass="",s._currentCheckState=l.TransitionCheckState.Init,s._controlValueAccessorChangeFn=function(){},s._checked=!1,s._disabled=!1,s._indeterminate=!1,s.tabIndex=parseInt(i)||0,s._focusMonitor.monitor(e,!0).subscribe(function(e){e||Promise.resolve().then(function(){s._onTouched(),t.markForCheck()})}),s}var b,w={provide:r.NG_VALIDATORS,useExisting:u.forwardRef(function(){return x}),multi:!0},x=(b=r.CheckboxRequiredValidator,e.__extends(C,b),C.decorators=[{type:u.Directive,args:[{selector:"mat-checkbox[required][formControlName],\n             mat-checkbox[required][formControl], mat-checkbox[required][ngModel]",providers:[w]}]}],C);function C(){return null!==b&&b.apply(this,arguments)||this}var S=(E.decorators=[{type:u.NgModule,args:[{exports:[x],declarations:[x]}]}],E);function E(){}var O=(k.decorators=[{type:u.NgModule,args:[{imports:[s.CommonModule,i.MatRippleModule,i.MatCommonModule,a.ObserversModule,S],exports:[g,i.MatCommonModule,S],declarations:[g]}]}],k);function k(){}l.MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR=h,l.MatCheckboxChange=v,l.MatCheckbox=g,l.MAT_CHECKBOX_CLICK_ACTION=p,l._MatCheckboxRequiredValidatorModule=S,l.MatCheckboxModule=O,l.MAT_CHECKBOX_REQUIRED_VALIDATOR=w,l.MatCheckboxRequiredValidator=x,Object.defineProperty(l,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/keycodes"),require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/coercion"),require("@angular/cdk/platform"),require("rxjs"),require("rxjs/operators"),require("@angular/platform-browser/animations"),require("@angular/cdk/a11y"),require("@angular/cdk/bidi"),require("@angular/cdk/collections"),require("@angular/forms"),require("@angular/material/form-field")):System.registerDynamic("npm:@angular/material/bundles/material-chips.umd.js",["@angular/cdk/keycodes","@angular/core","@angular/material/core","tslib","@angular/cdk/coercion","@angular/cdk/platform","rxjs","rxjs/operators","@angular/platform-browser/animations","@angular/cdk/a11y","@angular/cdk/bidi","@angular/cdk/collections","@angular/forms","@angular/material/form-field"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/keycodes"),e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/coercion"),e("@angular/cdk/platform"),e("rxjs"),e("rxjs/operators"),e("@angular/platform-browser/animations"),e("@angular/cdk/a11y"),e("@angular/cdk/bidi"),e("@angular/cdk/collections"),e("@angular/forms"),e("@angular/material/form-field"))})}(0,function(e,r,l,s,t,n,i,u,o,a,c,p,d,h,f){"use strict";function m(e,t,n){void 0===n&&(n=!1),this.source=e,this.selected=t,this.isUserInput=n}function v(e){this._elementRef=e}var y=s.mixinColor(s.mixinDisableRipple(s.mixinDisabled(v)),"primary"),g=(_.decorators=[{type:l.Directive,args:[{selector:"mat-chip-avatar, [matChipAvatar]",host:{class:"mat-chip-avatar"}}]}],_);function _(){}var b=(w.decorators=[{type:l.Directive,args:[{selector:"mat-chip-trailing-icon, [matChipTrailingIcon]",host:{class:"mat-chip-trailing-icon"}}]}],w);function w(){}var x,C=(x=y,t.__extends(S,x),Object.defineProperty(S.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"selected",{get:function(){return this._selected},set:function(e){var t=n.coerceBooleanProperty(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"value",{get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(e){this._value=e},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"selectable",{get:function(){return this._selectable&&this.chipListSelectable},set:function(e){this._selectable=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removable",{get:function(){return this._removable},set:function(e){this._removable=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"ariaSelected",{get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null},enumerable:!0,configurable:!0}),S.prototype._addHostClassName=function(){var e="mat-basic-chip",t=this._elementRef.nativeElement;t.hasAttribute(e)||t.tagName.toLowerCase()===e?t.classList.add(e):t.classList.add("mat-standard-chip")},S.prototype.ngOnDestroy=function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()},S.prototype.select=function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._markForCheck())},S.prototype.deselect=function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._markForCheck())},S.prototype.selectViaInteraction=function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._markForCheck())},S.prototype.toggleSelected=function(e){return void 0===e&&(e=!1),this._selected=!this.selected,this._dispatchSelectionChange(e),this._markForCheck(),this.selected},S.prototype.focus=function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0},S.prototype.remove=function(){this.removable&&this.removed.emit({chip:this})},S.prototype._handleClick=function(e){this.disabled?e.preventDefault():e.stopPropagation()},S.prototype._handleKeydown=function(e){if(!this.disabled)switch(e.keyCode){case r.DELETE:case r.BACKSPACE:this.remove(),e.preventDefault();break;case r.SPACE:this.selectable&&this.toggleSelected(!0),e.preventDefault()}},S.prototype._blur=function(){var e=this;this._ngZone.onStable.asObservable().pipe(o.take(1)).subscribe(function(){e._ngZone.run(function(){e._hasFocus=!1,e._onBlur.next({chip:e})})})},S.prototype._dispatchSelectionChange=function(e){void 0===e&&(e=!1),this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})},S.prototype._markForCheck=function(){this._changeDetectorRef&&this._changeDetectorRef.markForCheck()},S.decorators=[{type:l.Directive,args:[{selector:"mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]",inputs:["color","disabled","disableRipple"],exportAs:"matChip",host:{class:"mat-chip","[attr.tabindex]":"disabled ? null : -1",role:"option","[class.mat-chip-selected]":"selected","[class.mat-chip-with-avatar]":"avatar","[class.mat-chip-with-trailing-icon]":"trailingIcon || removeIcon","[class.mat-chip-disabled]":"disabled","[class._mat-animation-noopable]":"_animationsDisabled","[attr.disabled]":"disabled || null","[attr.aria-disabled]":"disabled.toString()","[attr.aria-selected]":"ariaSelected","(click)":"_handleClick($event)","(keydown)":"_handleKeydown($event)","(focus)":"focus()","(blur)":"_blur()"}}]}],S.ctorParameters=function(){return[{type:l.ElementRef},{type:l.NgZone},{type:i.Platform},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[s.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[a.ANIMATION_MODULE_TYPE]}]},{type:l.ChangeDetectorRef}]},S.propDecorators={avatar:[{type:l.ContentChild,args:[g,{static:!1}]}],trailingIcon:[{type:l.ContentChild,args:[b,{static:!1}]}],removeIcon:[{type:l.ContentChild,args:[l.forwardRef(function(){return E}),{static:!1}]}],selected:[{type:l.Input}],value:[{type:l.Input}],selectable:[{type:l.Input}],removable:[{type:l.Input}],selectionChange:[{type:l.Output}],destroyed:[{type:l.Output}],removed:[{type:l.Output}]},S);function S(e,t,n,r,i,o){var a=x.call(this,e)||this;return a._elementRef=e,a._ngZone=t,a._changeDetectorRef=o,a._hasFocus=!1,a.chipListSelectable=!0,a._chipListMultiple=!1,a._selected=!1,a._selectable=!0,a._removable=!0,a._onFocus=new u.Subject,a._onBlur=new u.Subject,a.selectionChange=new l.EventEmitter,a.destroyed=new l.EventEmitter,a.removed=new l.EventEmitter,a._addHostClassName(),a._chipRipple=new s.RippleRenderer(a,t,e,n),a._chipRipple.setupTriggerEvents(e),a.rippleConfig=r||{},a._animationsDisabled="NoopAnimations"===i,a}var E=(O.prototype._handleClick=function(e){var t=this._parentChip;t.removable&&!t.disabled&&t.remove(),e.stopPropagation()},O.decorators=[{type:l.Directive,args:[{selector:"[matChipRemove]",host:{class:"mat-chip-remove mat-chip-trailing-icon","(click)":"_handleClick($event)"}}]}],O.ctorParameters=function(){return[{type:C}]},O);function O(e){this._parentChip=e}function k(e,t,n,r){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=r}var D,T=new l.InjectionToken("mat-chips-default-options"),I=s.mixinErrorState(k),P=0,A=function(e,t){this.source=e,this.value=t},M=(D=I,t.__extends(R,D),Object.defineProperty(R.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"role",{get:function(){return this.empty?null:"listbox"},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"multiple",{get:function(){return this._multiple},set:function(e){this._multiple=n.coerceBooleanProperty(e),this._syncChipsState()},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"value",{get:function(){return this._value},set:function(e){this.writeValue(e),this._value=e},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"id",{get:function(){return this._chipInput?this._chipInput.id:this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"required",{get:function(){return this._required},set:function(e){this._required=n.coerceBooleanProperty(e),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"placeholder",{get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"focused",{get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"empty",{get:function(){return(!this._chipInput||this._chipInput.empty)&&0===this.chips.length},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"shouldLabelFloat",{get:function(){return!this.empty||this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"disabled",{get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(e){this._disabled=n.coerceBooleanProperty(e),this._syncChipsState()},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"selectable",{get:function(){return this._selectable},set:function(e){var t=this;this._selectable=n.coerceBooleanProperty(e),this.chips&&this.chips.forEach(function(e){return e.chipListSelectable=t._selectable})},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"tabIndex",{set:function(e){this._userTabIndex=e,this._tabIndex=e},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"chipSelectionChanges",{get:function(){return u.merge.apply(void 0,t.__spread(this.chips.map(function(e){return e.selectionChange})))},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"chipFocusChanges",{get:function(){return u.merge.apply(void 0,t.__spread(this.chips.map(function(e){return e._onFocus})))},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"chipBlurChanges",{get:function(){return u.merge.apply(void 0,t.__spread(this.chips.map(function(e){return e._onBlur})))},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"chipRemoveChanges",{get:function(){return u.merge.apply(void 0,t.__spread(this.chips.map(function(e){return e.destroyed})))},enumerable:!0,configurable:!0}),R.prototype.ngAfterContentInit=function(){var t=this;this._keyManager=new c.FocusKeyManager(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(o.takeUntil(this._destroyed)).subscribe(function(e){return t._keyManager.withHorizontalOrientation(e)}),this._keyManager.tabOut.pipe(o.takeUntil(this._destroyed)).subscribe(function(){t._allowFocusEscape()}),this.chips.changes.pipe(o.startWith(null),o.takeUntil(this._destroyed)).subscribe(function(){t.disabled&&Promise.resolve().then(function(){t._syncChipsState()}),t._resetChips(),t._initializeSelection(),t._updateTabIndex(),t._updateFocusForDestroyedChips(),t.stateChanges.next()})},R.prototype.ngOnInit=function(){this._selectionModel=new d.SelectionModel(this.multiple,void 0,!1),this.stateChanges.next()},R.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},R.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()},R.prototype.registerInput=function(e){this._chipInput=e},R.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},R.prototype.writeValue=function(e){this.chips&&this._setSelectionByValue(e,!1)},R.prototype.registerOnChange=function(e){this._onChange=e},R.prototype.registerOnTouched=function(e){this._onTouched=e},R.prototype.setDisabledState=function(e){this.disabled=e,this.stateChanges.next()},R.prototype.onContainerClick=function(e){this._originatesFromChip(e)||this.focus()},R.prototype.focus=function(e){this.disabled||this._chipInput&&this._chipInput.focused||(0<this.chips.length?this._keyManager.setFirstItemActive():this._focusInput(e),this.stateChanges.next())},R.prototype._focusInput=function(e){this._chipInput&&this._chipInput.focus(e)},R.prototype._keydown=function(e){var t=e.target;e.keyCode===r.BACKSPACE&&this._isInputEmpty(t)?(this._keyManager.setLastItemActive(),e.preventDefault()):t&&t.classList.contains("mat-chip")&&(e.keyCode===r.HOME?(this._keyManager.setFirstItemActive(),e.preventDefault()):e.keyCode===r.END?(this._keyManager.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e),this.stateChanges.next())},R.prototype._updateTabIndex=function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)},R.prototype._updateFocusForDestroyedChips=function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null},R.prototype._isValidIndex=function(e){return 0<=e&&e<this.chips.length},R.prototype._isInputEmpty=function(e){return!(!e||"input"!==e.nodeName.toLowerCase()||e.value)},R.prototype._setSelectionByValue=function(e,t){var n=this;if(void 0===t&&(t=!0),this._clearSelection(),this.chips.forEach(function(e){return e.deselect()}),Array.isArray(e))e.forEach(function(e){return n._selectValue(e,t)}),this._sortValues();else{var r=this._selectValue(e,t);r&&t&&this._keyManager.setActiveItem(r)}},R.prototype._selectValue=function(t,e){var n=this;void 0===e&&(e=!0);var r=this.chips.find(function(e){return null!=e.value&&n._compareWith(e.value,t)});return r&&(e?r.selectViaInteraction():r.select(),this._selectionModel.select(r)),r},R.prototype._initializeSelection=function(){var e=this;Promise.resolve().then(function(){(e.ngControl||e._value)&&(e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value,!1),e.stateChanges.next())})},R.prototype._clearSelection=function(t){this._selectionModel.clear(),this.chips.forEach(function(e){e!==t&&e.deselect()}),this.stateChanges.next()},R.prototype._sortValues=function(){var t=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(e){e.selected&&t._selectionModel.select(e)}),this.stateChanges.next())},R.prototype._propagateChanges=function(e){var t=null;t=Array.isArray(this.selected)?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.change.emit(new A(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()},R.prototype._blur=function(){var e=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){e.focused||e._markAsTouched()}):this._markAsTouched())},R.prototype._markAsTouched=function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()},R.prototype._allowFocusEscape=function(){var e=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){e._tabIndex=e._userTabIndex||0,e._changeDetectorRef.markForCheck()}))},R.prototype._resetChips=function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()},R.prototype._dropSubscriptions=function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)},R.prototype._listenToChipsSelection=function(){var t=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(e){e.source.selected?t._selectionModel.select(e.source):t._selectionModel.deselect(e.source),t.multiple||t.chips.forEach(function(e){!t._selectionModel.isSelected(e)&&e.selected&&e.deselect()}),e.isUserInput&&t._propagateChanges()})},R.prototype._listenToChipsFocus=function(){var n=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(e){var t=n.chips.toArray().indexOf(e.chip);n._isValidIndex(t)&&n._keyManager.updateActiveItemIndex(t),n.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){n._blur(),n.stateChanges.next()})},R.prototype._listenToChipsRemoved=function(){var r=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(e){var t=e.chip,n=r.chips.toArray().indexOf(e.chip);r._isValidIndex(n)&&t._hasFocus&&(r._lastDestroyedChipIndex=n)})},R.prototype._originatesFromChip=function(e){for(var t=e.target;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1},R.prototype._hasFocusedChip=function(){return this.chips.some(function(e){return e._hasFocus})},R.prototype._syncChipsState=function(){var t=this;this.chips&&this.chips.forEach(function(e){e.disabled=t._disabled,e._chipListMultiple=t.multiple})},R.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-chip-list",template:'<div class="mat-chip-list-wrapper"><ng-content></ng-content></div>',exportAs:"matChipList",host:{"[attr.tabindex]":"disabled ? null : _tabIndex","[attr.aria-describedby]":"_ariaDescribedby || null","[attr.aria-required]":"required.toString()","[attr.aria-disabled]":"disabled.toString()","[attr.aria-invalid]":"errorState","[attr.aria-multiselectable]":"multiple","[attr.role]":"role","[class.mat-chip-list-disabled]":"disabled","[class.mat-chip-list-invalid]":"errorState","[class.mat-chip-list-required]":"required","[attr.aria-orientation]":"ariaOrientation",class:"mat-chip-list","(focus)":"focus()","(blur)":"_blur()","(keydown)":"_keydown($event)","[id]":"_uid"},providers:[{provide:f.MatFormFieldControl,useExisting:R}],encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,styles:['.mat-chip{position:relative;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}@media(-ms-high-contrast: active){.mat-standard-chip{outline:solid 1px}.mat-standard-chip:focus{outline:dotted 2px}}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}/*# sourceMappingURL=chips.css.map */\n']}]}],R.ctorParameters=function(){return[{type:l.ElementRef},{type:l.ChangeDetectorRef},{type:p.Directionality,decorators:[{type:l.Optional}]},{type:h.NgForm,decorators:[{type:l.Optional}]},{type:h.FormGroupDirective,decorators:[{type:l.Optional}]},{type:s.ErrorStateMatcher},{type:h.NgControl,decorators:[{type:l.Optional},{type:l.Self}]}]},R.propDecorators={errorStateMatcher:[{type:l.Input}],multiple:[{type:l.Input}],compareWith:[{type:l.Input}],value:[{type:l.Input}],required:[{type:l.Input}],placeholder:[{type:l.Input}],disabled:[{type:l.Input}],ariaOrientation:[{type:l.Input,args:["aria-orientation"]}],selectable:[{type:l.Input}],tabIndex:[{type:l.Input}],change:[{type:l.Output}],valueChange:[{type:l.Output}],chips:[{type:l.ContentChildren,args:[C,{descendants:!0}]}]},R);function R(e,t,n,r,i,o,a){var s=D.call(this,o,r,i,a)||this;return s._elementRef=e,s._changeDetectorRef=t,s._dir=n,s.ngControl=a,s.controlType="mat-chip-list",s._lastDestroyedChipIndex=null,s._destroyed=new u.Subject,s._uid="mat-chip-list-"+P++,s._tabIndex=0,s._userTabIndex=null,s._onTouched=function(){},s._onChange=function(){},s._multiple=!1,s._compareWith=function(e,t){return e===t},s._required=!1,s._disabled=!1,s.ariaOrientation="horizontal",s._selectable=!0,s.change=new l.EventEmitter,s.valueChange=new l.EventEmitter,s.ngControl&&(s.ngControl.valueAccessor=s),s}var N=0,j=(Object.defineProperty(F.prototype,"chipList",{set:function(e){e&&(this._chipList=e,this._chipList.registerInput(this))},enumerable:!0,configurable:!0}),Object.defineProperty(F.prototype,"addOnBlur",{get:function(){return this._addOnBlur},set:function(e){this._addOnBlur=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(F.prototype,"disabled",{get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(e){this._disabled=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(F.prototype,"empty",{get:function(){return!this._inputElement.value},enumerable:!0,configurable:!0}),F.prototype.ngOnChanges=function(){this._chipList.stateChanges.next()},F.prototype._keydown=function(e){e&&e.keyCode===r.TAB&&!r.hasModifierKey(e,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(e)},F.prototype._blur=function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()},F.prototype._focus=function(){this.focused=!0,this._chipList.stateChanges.next()},F.prototype._emitChipEnd=function(e){!this._inputElement.value&&e&&this._chipList._keydown(e),e&&!this._isSeparatorKey(e)||(this.chipEnd.emit({input:this._inputElement,value:this._inputElement.value}),e&&e.preventDefault())},F.prototype._onInput=function(){this._chipList.stateChanges.next()},F.prototype.focus=function(e){this._inputElement.focus(e)},F.prototype._isSeparatorKey=function(e){if(r.hasModifierKey(e))return!1;var t=this.separatorKeyCodes,n=e.keyCode;return Array.isArray(t)?-1<t.indexOf(n):t.has(n)},F.decorators=[{type:l.Directive,args:[{selector:"input[matChipInputFor]",exportAs:"matChipInput, matChipInputFor",host:{class:"mat-chip-input mat-input-element","(keydown)":"_keydown($event)","(blur)":"_blur()","(focus)":"_focus()","(input)":"_onInput()","[id]":"id","[attr.disabled]":"disabled || null","[attr.placeholder]":"placeholder || null","[attr.aria-invalid]":"_chipList && _chipList.ngControl ? _chipList.ngControl.invalid : null"}}]}],F.ctorParameters=function(){return[{type:l.ElementRef},{type:void 0,decorators:[{type:l.Inject,args:[T]}]}]},F.propDecorators={chipList:[{type:l.Input,args:["matChipInputFor"]}],addOnBlur:[{type:l.Input,args:["matChipInputAddOnBlur"]}],separatorKeyCodes:[{type:l.Input,args:["matChipInputSeparatorKeyCodes"]}],chipEnd:[{type:l.Output,args:["matChipInputTokenEnd"]}],placeholder:[{type:l.Input}],id:[{type:l.Input}],disabled:[{type:l.Input}]},F);function F(e,t){this._elementRef=e,this._defaultOptions=t,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new l.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-"+N++,this._disabled=!1,this._inputElement=this._elementRef.nativeElement}var L=[M,C,j,E,g,b],V={separatorKeyCodes:[r.ENTER]},B=(U.decorators=[{type:l.NgModule,args:[{exports:L,declarations:L,providers:[s.ErrorStateMatcher,{provide:T,useValue:V}]}]}],U);function U(){}e.MatChipsModule=B,e.ɵ0=V,e.MatChipListChange=A,e.MatChipList=M,e.MatChipSelectionChange=m,e.MatChipAvatar=g,e.MatChipTrailingIcon=b,e.MatChip=C,e.MatChipRemove=E,e.MatChipInput=j,e.MAT_CHIPS_DEFAULT_OPTIONS=T,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/a11y"),require("@angular/cdk/overlay"),require("@angular/cdk/portal"),require("@angular/common"),require("@angular/core"),require("@angular/material/button"),require("@angular/material/dialog"),require("@angular/material/core"),require("rxjs"),require("@angular/cdk/keycodes"),require("@angular/cdk/bidi"),require("rxjs/operators"),require("tslib"),require("@angular/cdk/coercion"),require("@angular/animations"),require("@angular/forms"),require("@angular/material/form-field"),require("@angular/material/input")):System.registerDynamic("npm:@angular/material/bundles/material-datepicker.umd.js",["@angular/cdk/a11y","@angular/cdk/overlay","@angular/cdk/portal","@angular/common","@angular/core","@angular/material/button","@angular/material/dialog","@angular/material/core","rxjs","@angular/cdk/keycodes","@angular/cdk/bidi","rxjs/operators","tslib","@angular/cdk/coercion","@angular/animations","@angular/forms","@angular/material/form-field","@angular/material/input"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/a11y"),e("@angular/cdk/overlay"),e("@angular/cdk/portal"),e("@angular/common"),e("@angular/core"),e("@angular/material/button"),e("@angular/material/dialog"),e("@angular/material/core"),e("rxjs"),e("@angular/cdk/keycodes"),e("@angular/cdk/bidi"),e("rxjs/operators"),e("tslib"),e("@angular/cdk/coercion"),e("@angular/animations"),e("@angular/forms"),e("@angular/material/form-field"),e("@angular/material/input"))})}(0,function(e,t,n,r,i,l,o,a,s,u,c,p,d,h,f,m,v,y,g){"use strict";function _(e){return Error("MatDatepicker: No provider found for "+e+". You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.")}var b=(w.prototype.formatYearRange=function(e,t){return e+" – "+t},w.decorators=[{type:l.Injectable,args:[{providedIn:"root"}]}],w.ngInjectableDef=l.ɵɵdefineInjectable({factory:function(){return new w},token:w,providedIn:"root"}),w);function w(){this.changes=new u.Subject,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}var x=function(e,t,n,r,i){this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=r,this.cssClasses=i},C=(S.prototype._cellClicked=function(e){e.enabled&&this.selectedValueChange.emit(e.value)},S.prototype.ngOnChanges=function(e){var t=e.numCols,n=this.rows,r=this.numCols;(e.rows||t)&&(this._firstRowOffset=n&&n.length&&n[0].length?r-n[0].length:0),!e.cellAspectRatio&&!t&&this._cellPadding||(this._cellPadding=50*this.cellAspectRatio/r+"%"),!t&&this._cellWidth||(this._cellWidth=100/r+"%")},S.prototype._isActiveCell=function(e,t){var n=e*this.numCols+t;return e&&(n-=this._firstRowOffset),n==this.activeCell},S.prototype._focusActiveCell=function(){var t=this;this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.asObservable().pipe(d.take(1)).subscribe(function(){var e=t._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&e.focus()})})},S.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"[mat-calendar-body]",template:'\x3c!--\n  If there\'s not enough space in the first row, create a separate label row. We mark this row as\n  aria-hidden because we don\'t want it to be read out as one of the weeks in the month.\n--\x3e\n<tr *ngIf="_firstRowOffset < labelMinRequiredCells" aria-hidden="true">\n  <td class="mat-calendar-body-label"\n      [attr.colspan]="numCols"\n      [style.paddingTop]="_cellPadding"\n      [style.paddingBottom]="_cellPadding">\n    {{label}}\n  </td>\n</tr>\n\n\x3c!-- Create the first row separately so we can include a special spacer cell. --\x3e\n<tr *ngFor="let row of rows; let rowIndex = index" role="row">\n  \x3c!--\n    We mark this cell as aria-hidden so it doesn\'t get read out as one of the days in the week.\n    The aspect ratio of the table cells is maintained by setting the top and bottom padding as a\n    percentage of the width (a variant of the trick described here:\n    https://www.w3schools.com/howto/howto_css_aspect_ratio.asp).\n  --\x3e\n  <td *ngIf="rowIndex === 0 && _firstRowOffset"\n      aria-hidden="true"\n      class="mat-calendar-body-label"\n      [attr.colspan]="_firstRowOffset"\n      [style.paddingTop]="_cellPadding"\n      [style.paddingBottom]="_cellPadding">\n    {{_firstRowOffset >= labelMinRequiredCells ? label : \'\'}}\n  </td>\n  <td *ngFor="let item of row; let colIndex = index"\n      role="gridcell"\n      class="mat-calendar-body-cell"\n      [ngClass]="item.cssClasses"\n      [tabindex]="_isActiveCell(rowIndex, colIndex) ? 0 : -1"\n      [class.mat-calendar-body-disabled]="!item.enabled"\n      [class.mat-calendar-body-active]="_isActiveCell(rowIndex, colIndex)"\n      [attr.aria-label]="item.ariaLabel"\n      [attr.aria-disabled]="!item.enabled || null"\n      [attr.aria-selected]="selectedValue === item.value"\n      (click)="_cellClicked(item)"\n      [style.width]="_cellWidth"\n      [style.paddingTop]="_cellPadding"\n      role="button"\n      [style.paddingBottom]="_cellPadding">\n      <div class="mat-calendar-body-cell-content"\n        [class.mat-calendar-body-selected]="selectedValue === item.value"\n        [class.mat-calendar-body-today]="todayValue === item.value">\n        {{item.displayValue}}\n      </div>\n  </td>\n</tr>\n',host:{class:"mat-calendar-body",role:"grid","aria-readonly":"true"},exportAs:"matCalendarBody",encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}@media(-ms-high-contrast: active){.mat-calendar-body-cell-content{border:none}}@media(-ms-high-contrast: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}}[dir=rtl] .mat-calendar-body-label{text-align:right}/*# sourceMappingURL=calendar-body.css.map */\n"]}]}],S.ctorParameters=function(){return[{type:l.ElementRef},{type:l.NgZone}]},S.propDecorators={label:[{type:l.Input}],rows:[{type:l.Input}],todayValue:[{type:l.Input}],selectedValue:[{type:l.Input}],labelMinRequiredCells:[{type:l.Input}],numCols:[{type:l.Input}],activeCell:[{type:l.Input}],cellAspectRatio:[{type:l.Input}],selectedValueChange:[{type:l.Output}]},S);function S(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new l.EventEmitter}var E=(Object.defineProperty(O.prototype,"activeDate",{get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"selected",{get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedDate=this._getDateInCurrentMonth(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"minDate",{get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"maxDate",{get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),O.prototype.ngAfterContentInit=function(){this._init()},O.prototype._dateSelected=function(e){if(this._selectedDate!=e){var t=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(t,n,e);this.selectedChange.emit(r)}this._userSelection.emit()},O.prototype._handleCalendarBodyKeydown=function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case c.LEFT_ARROW:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case c.RIGHT_ARROW:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case c.UP_ARROW:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case c.DOWN_ARROW:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case c.HOME:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case c.END:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case c.PAGE_UP:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case c.PAGE_DOWN:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case c.ENTER:case c.SPACE:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),e.preventDefault()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()},O.prototype._init=function(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()},O.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},O.prototype._initWeekdays=function(){var e=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow"),t=this._dateAdapter.getDayOfWeekNames("long").map(function(e,t){return{long:e,narrow:n[t]}});this._weekdays=t.slice(e).concat(t.slice(0,e))},O.prototype._createWeekCells=function(){var e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,r=this._firstWeekOffset;n<e;n++,r++){7==r&&(this._weeks.push([]),r=0);var i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),o=this._shouldEnableDate(i),a=this._dateAdapter.format(i,this._dateFormats.display.dateA11yLabel),s=this.dateClass?this.dateClass(i):void 0;this._weeks[this._weeks.length-1].push(new x(n+1,t[n],a,o,s))}},O.prototype._shouldEnableDate=function(e){return!!e&&(!this.dateFilter||this.dateFilter(e))&&(!this.minDate||0<=this._dateAdapter.compareDate(e,this.minDate))&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)},O.prototype._getDateInCurrentMonth=function(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null},O.prototype._hasSameMonthAndYear=function(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))},O.prototype._getValidDateOrNull=function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null},O.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},O.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-month-view",template:'<table class="mat-calendar-table" role="presentation">\n  <thead class="mat-calendar-table-header">\n    <tr>\n      <th scope="col" *ngFor="let day of _weekdays" [attr.aria-label]="day.long">{{day.narrow}}</th>\n    </tr>\n    <tr><th class="mat-calendar-table-header-divider" colspan="7" aria-hidden="true"></th></tr>\n  </thead>\n  <tbody mat-calendar-body\n         [label]="_monthLabel"\n         [rows]="_weeks"\n         [todayValue]="_todayDate"\n         [selectedValue]="_selectedDate"\n         [labelMinRequiredCells]="3"\n         [activeCell]="_dateAdapter.getDate(activeDate) - 1"\n         (selectedValueChange)="_dateSelected($event)"\n         (keydown)="_handleCalendarBodyKeydown($event)">\n  </tbody>\n</table>\n',exportAs:"matMonthView",encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush}]}],O.ctorParameters=function(){return[{type:l.ChangeDetectorRef},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[s.MAT_DATE_FORMATS]}]},{type:s.DateAdapter,decorators:[{type:l.Optional}]},{type:p.Directionality,decorators:[{type:l.Optional}]}]},O.propDecorators={activeDate:[{type:l.Input}],selected:[{type:l.Input}],minDate:[{type:l.Input}],maxDate:[{type:l.Input}],dateFilter:[{type:l.Input}],dateClass:[{type:l.Input}],selectedChange:[{type:l.Output}],_userSelection:[{type:l.Output}],activeDateChange:[{type:l.Output}],_matCalendarBody:[{type:l.ViewChild,args:[C,{static:!1}]}]},O);function O(e,t,n,r){if(this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=n,this._dir=r,this.selectedChange=new l.EventEmitter,this._userSelection=new l.EventEmitter,this.activeDateChange=new l.EventEmitter,!this._dateAdapter)throw _("DateAdapter");if(!this._dateFormats)throw _("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}var k=24,D=(Object.defineProperty(T.prototype,"activeDate",{get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),I(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"selected",{get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"minDate",{get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"maxDate",{get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),T.prototype.ngAfterContentInit=function(){this._init()},T.prototype._init=function(){var t=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var e=this._dateAdapter.getYear(this._activeDate)-P(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var n=0,r=[];n<k;n++)r.push(e+n),4==r.length&&(this._years.push(r.map(function(e){return t._createCellForYear(e)})),r=[]);this._changeDetectorRef.markForCheck()},T.prototype._yearSelected=function(e){this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var t=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));this.selectedChange.emit(this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))},T.prototype._handleCalendarBodyKeydown=function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case c.LEFT_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case c.RIGHT_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case c.UP_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case c.DOWN_ARROW:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case c.HOME:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-P(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case c.END:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,k-P(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case c.PAGE_UP:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*-k:-k);break;case c.PAGE_DOWN:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10*k:k);break;case c.ENTER:case c.SPACE:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()},T.prototype._getActiveCell=function(){return P(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)},T.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},T.prototype._createCellForYear=function(e){var t=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return new x(e,t,t,this._shouldEnableYear(e))},T.prototype._shouldEnableYear=function(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var t=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(t)==e;t=this._dateAdapter.addCalendarDays(t,1))if(this.dateFilter(t))return!0;return!1},T.prototype._getValidDateOrNull=function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null},T.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},T.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-multi-year-view",template:'<table class="mat-calendar-table" role="presentation">\n  <thead class="mat-calendar-table-header">\n    <tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr>\n  </thead>\n  <tbody mat-calendar-body\n         [rows]="_years"\n         [todayValue]="_todayYear"\n         [selectedValue]="_selectedYear"\n         [numCols]="4"\n         [cellAspectRatio]="4 / 7"\n         [activeCell]="_getActiveCell()"\n         (selectedValueChange)="_yearSelected($event)"\n         (keydown)="_handleCalendarBodyKeydown($event)">\n  </tbody>\n</table>\n',exportAs:"matMultiYearView",encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush}]}],T.ctorParameters=function(){return[{type:l.ChangeDetectorRef},{type:s.DateAdapter,decorators:[{type:l.Optional}]},{type:p.Directionality,decorators:[{type:l.Optional}]}]},T.propDecorators={activeDate:[{type:l.Input}],selected:[{type:l.Input}],minDate:[{type:l.Input}],maxDate:[{type:l.Input}],dateFilter:[{type:l.Input}],selectedChange:[{type:l.Output}],yearSelected:[{type:l.Output}],activeDateChange:[{type:l.Output}],_matCalendarBody:[{type:l.ViewChild,args:[C,{static:!1}]}]},T);function T(e,t,n){if(this._changeDetectorRef=e,this._dateAdapter=t,this._dir=n,this.selectedChange=new l.EventEmitter,this.yearSelected=new l.EventEmitter,this.activeDateChange=new l.EventEmitter,!this._dateAdapter)throw _("DateAdapter");this._activeDate=this._dateAdapter.today()}function I(e,t,n,r,i){var o=e.getYear(t),a=e.getYear(n),s=A(e,r,i);return Math.floor((o-s)/k)===Math.floor((a-s)/k)}function P(e,t,n,r){return function(e,t){return(e%t+t)%t}(e.getYear(t)-A(e,n,r),k)}function A(e,t,n){var r=0;n?r=e.getYear(n)-k+1:t&&(r=e.getYear(t));return r}var M=(Object.defineProperty(R.prototype,"activeDate",{get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"selected",{get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"minDate",{get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),Object.defineProperty(R.prototype,"maxDate",{get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),R.prototype.ngAfterContentInit=function(){this._init()},R.prototype._monthSelected=function(e){var t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(t);var n=this._dateAdapter.getNumDaysInMonth(t);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))},R.prototype._handleCalendarBodyKeydown=function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case c.LEFT_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case c.RIGHT_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case c.UP_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case c.DOWN_ARROW:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case c.HOME:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case c.END:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case c.PAGE_UP:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case c.PAGE_DOWN:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case c.ENTER:case c.SPACE:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()},R.prototype._init=function(){var t=this;this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var n=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(e){return e.map(function(e){return t._createCellForMonth(e,n[e])})}),this._changeDetectorRef.markForCheck()},R.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},R.prototype._getMonthInCurrentYear=function(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null},R.prototype._createCellForMonth=function(e,t){var n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),this._dateFormats.display.monthYearA11yLabel);return new x(e,t.toLocaleUpperCase(),n,this._shouldEnableMonth(e))},R.prototype._shouldEnableMonth=function(e){var t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(var n=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1},R.prototype._isYearAndMonthAfterMaxDate=function(e,t){if(this.maxDate){var n=this._dateAdapter.getYear(this.maxDate),r=this._dateAdapter.getMonth(this.maxDate);return n<e||e===n&&r<t}return!1},R.prototype._isYearAndMonthBeforeMinDate=function(e,t){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),r=this._dateAdapter.getMonth(this.minDate);return e<n||e===n&&t<r}return!1},R.prototype._getValidDateOrNull=function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null},R.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},R.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-year-view",template:'<table class="mat-calendar-table" role="presentation">\n  <thead class="mat-calendar-table-header">\n    <tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr>\n  </thead>\n  <tbody mat-calendar-body\n         [label]="_yearLabel"\n         [rows]="_months"\n         [todayValue]="_todayMonth"\n         [selectedValue]="_selectedMonth"\n         [labelMinRequiredCells]="2"\n         [numCols]="4"\n         [cellAspectRatio]="4 / 7"\n         [activeCell]="_dateAdapter.getMonth(activeDate)"\n         (selectedValueChange)="_monthSelected($event)"\n         (keydown)="_handleCalendarBodyKeydown($event)">\n  </tbody>\n</table>\n',exportAs:"matYearView",encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush}]}],R.ctorParameters=function(){return[{type:l.ChangeDetectorRef},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[s.MAT_DATE_FORMATS]}]},{type:s.DateAdapter,decorators:[{type:l.Optional}]},{type:p.Directionality,decorators:[{type:l.Optional}]}]},R.propDecorators={activeDate:[{type:l.Input}],selected:[{type:l.Input}],minDate:[{type:l.Input}],maxDate:[{type:l.Input}],dateFilter:[{type:l.Input}],selectedChange:[{type:l.Output}],monthSelected:[{type:l.Output}],activeDateChange:[{type:l.Output}],_matCalendarBody:[{type:l.ViewChild,args:[C,{static:!1}]}]},R);function R(e,t,n,r){if(this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=n,this._dir=r,this.selectedChange=new l.EventEmitter,this.monthSelected=new l.EventEmitter,this.activeDateChange=new l.EventEmitter,!this._dateAdapter)throw _("DateAdapter");if(!this._dateFormats)throw _("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}var N=(Object.defineProperty(j.prototype,"periodButtonText",{get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var e=this._dateAdapter.getYear(this.calendar.activeDate)-P(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+k-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),r=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(n,r)},enumerable:!0,configurable:!0}),Object.defineProperty(j.prototype,"periodButtonLabel",{get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel},enumerable:!0,configurable:!0}),Object.defineProperty(j.prototype,"prevButtonLabel",{get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]},enumerable:!0,configurable:!0}),Object.defineProperty(j.prototype,"nextButtonLabel",{get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]},enumerable:!0,configurable:!0}),j.prototype.currentPeriodClicked=function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"},j.prototype.previousClicked=function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-k)},j.prototype.nextClicked=function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:k)},j.prototype.previousEnabled=function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)},j.prototype.nextEnabled=function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)},j.prototype._isSameView=function(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):I(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)},j.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-calendar-header",template:'<div class="mat-calendar-header">\n  <div class="mat-calendar-controls">\n    <button mat-button type="button" class="mat-calendar-period-button"\n            (click)="currentPeriodClicked()" [attr.aria-label]="periodButtonLabel"\n            cdkAriaLive="polite">\n      {{periodButtonText}}\n      <div class="mat-calendar-arrow"\n           [class.mat-calendar-invert]="calendar.currentView != \'month\'"></div>\n    </button>\n\n    <div class="mat-calendar-spacer"></div>\n\n    <ng-content></ng-content>\n\n    <button mat-icon-button type="button" class="mat-calendar-previous-button"\n            [disabled]="!previousEnabled()" (click)="previousClicked()"\n            [attr.aria-label]="prevButtonLabel">\n    </button>\n\n    <button mat-icon-button type="button" class="mat-calendar-next-button"\n            [disabled]="!nextEnabled()" (click)="nextClicked()"\n            [attr.aria-label]="nextButtonLabel">\n    </button>\n  </div>\n</div>\n',exportAs:"matCalendarHeader",encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush}]}],j.ctorParameters=function(){return[{type:b},{type:F,decorators:[{type:l.Inject,args:[l.forwardRef(function(){return F})]}]},{type:s.DateAdapter,decorators:[{type:l.Optional}]},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[s.MAT_DATE_FORMATS]}]},{type:l.ChangeDetectorRef}]},j);function j(e,t,n,r,i){this._intl=e,this.calendar=t,this._dateAdapter=n,this._dateFormats=r,this.calendar.stateChanges.subscribe(function(){return i.markForCheck()})}var F=(Object.defineProperty(L.prototype,"startAt",{get:function(){return this._startAt},set:function(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"selected",{get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"minDate",{get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"maxDate",{get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"activeDate",{get:function(){return this._clampedActiveDate},set:function(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"currentView",{get:function(){return this._currentView},set:function(e){this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),L.prototype.ngAfterContentInit=function(){this._calendarHeaderPortal=new r.ComponentPortal(this.headerComponent||N),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView},L.prototype.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())},L.prototype.ngOnDestroy=function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()},L.prototype.ngOnChanges=function(e){var t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){var n=this._getCurrentViewComponent();n&&(this._changeDetectorRef.detectChanges(),n._init())}this.stateChanges.next()},L.prototype.focusActiveCell=function(){this._getCurrentViewComponent()._focusActiveCell()},L.prototype.updateTodaysDate=function(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()},L.prototype._dateSelected=function(e){this._dateAdapter.sameDate(e,this.selected)||this.selectedChange.emit(e)},L.prototype._yearSelectedInMultiYearView=function(e){this.yearSelected.emit(e)},L.prototype._monthSelectedInYearView=function(e){this.monthSelected.emit(e)},L.prototype._userSelected=function(){this._userSelection.emit()},L.prototype._goToDateInView=function(e,t){this.activeDate=e,this.currentView=t},L.prototype._getValidDateOrNull=function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null},L.prototype._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView},L.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-calendar",template:'\n<ng-template [cdkPortalOutlet]="_calendarHeaderPortal"></ng-template>\n\n<div class="mat-calendar-content" [ngSwitch]="currentView" cdkMonitorSubtreeFocus tabindex="-1">\n  <mat-month-view\n      *ngSwitchCase="\'month\'"\n      [(activeDate)]="activeDate"\n      [selected]="selected"\n      [dateFilter]="dateFilter"\n      [maxDate]="maxDate"\n      [minDate]="minDate"\n      [dateClass]="dateClass"\n      (selectedChange)="_dateSelected($event)"\n      (_userSelection)="_userSelected()">\n  </mat-month-view>\n\n  <mat-year-view\n      *ngSwitchCase="\'year\'"\n      [(activeDate)]="activeDate"\n      [selected]="selected"\n      [dateFilter]="dateFilter"\n      [maxDate]="maxDate"\n      [minDate]="minDate"\n      (monthSelected)="_monthSelectedInYearView($event)"\n      (selectedChange)="_goToDateInView($event, \'month\')">\n  </mat-year-view>\n\n  <mat-multi-year-view\n      *ngSwitchCase="\'multi-year\'"\n      [(activeDate)]="activeDate"\n      [selected]="selected"\n      [dateFilter]="dateFilter"\n      [maxDate]="maxDate"\n      [minDate]="minDate"\n      (yearSelected)="_yearSelectedInMultiYearView($event)"\n      (selectedChange)="_goToDateInView($event, \'year\')">\n  </mat-multi-year-view>\n</div>\n',host:{class:"mat-calendar"},exportAs:"matCalendar",encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}/*# sourceMappingURL=calendar.css.map */\n']}]}],L.ctorParameters=function(){return[{type:b},{type:s.DateAdapter,decorators:[{type:l.Optional}]},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[s.MAT_DATE_FORMATS]}]},{type:l.ChangeDetectorRef}]},L.propDecorators={headerComponent:[{type:l.Input}],startAt:[{type:l.Input}],startView:[{type:l.Input}],selected:[{type:l.Input}],minDate:[{type:l.Input}],maxDate:[{type:l.Input}],dateFilter:[{type:l.Input}],dateClass:[{type:l.Input}],selectedChange:[{type:l.Output}],yearSelected:[{type:l.Output}],monthSelected:[{type:l.Output}],_userSelection:[{type:l.Output}],monthView:[{type:l.ViewChild,args:[E,{static:!1}]}],yearView:[{type:l.ViewChild,args:[M,{static:!1}]}],multiYearView:[{type:l.ViewChild,args:[D,{static:!1}]}]},L);function L(e,t,n,r){var i=this;if(this._dateAdapter=t,this._dateFormats=n,this._changeDetectorRef=r,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.EventEmitter,this.yearSelected=new l.EventEmitter,this.monthSelected=new l.EventEmitter,this._userSelection=new l.EventEmitter,this.stateChanges=new u.Subject,!this._dateAdapter)throw _("DateAdapter");if(!this._dateFormats)throw _("MAT_DATE_FORMATS");this._intlChanges=e.changes.subscribe(function(){r.markForCheck(),i.stateChanges.next()})}var V={transformPanel:m.trigger("transformPanel",[m.state("void",m.style({opacity:0,transform:"scale(1, 0.8)"})),m.transition("void => enter",m.animate("120ms cubic-bezier(0, 0, 0.2, 1)",m.style({opacity:1,transform:"scale(1, 1)"}))),m.transition("* => void",m.animate("100ms linear",m.style({opacity:0})))]),fadeInCalendar:m.trigger("fadeInCalendar",[m.state("void",m.style({opacity:0})),m.state("enter",m.style({opacity:1})),m.transition("void => *",m.animate("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},B=0,U=new l.InjectionToken("mat-datepicker-scroll-strategy");function z(e){return function(){return e.scrollStrategies.reposition()}}function q(e){this._elementRef=e}var H,W={provide:U,deps:[n.Overlay],useFactory:z},G=s.mixinColor(q),Y=(H=G,h.__extends(K,H),K.prototype.ngAfterViewInit=function(){this._calendar.focusActiveCell()},K.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-datepicker-content",template:'<mat-calendar cdkTrapFocus\n    [id]="datepicker.id"\n    [ngClass]="datepicker.panelClass"\n    [startAt]="datepicker.startAt"\n    [startView]="datepicker.startView"\n    [minDate]="datepicker._minDate"\n    [maxDate]="datepicker._maxDate"\n    [dateFilter]="datepicker._dateFilter"\n    [headerComponent]="datepicker.calendarHeaderComponent"\n    [selected]="datepicker._selected"\n    [dateClass]="datepicker.dateClass"\n    [@fadeInCalendar]="\'enter\'"\n    (selectedChange)="datepicker.select($event)"\n    (yearSelected)="datepicker._selectYear($event)"\n    (monthSelected)="datepicker._selectMonth($event)"\n    (_userSelection)="datepicker.close()">\n</mat-calendar>\n',host:{class:"mat-datepicker-content","[@transformPanel]":'"enter"',"[class.mat-datepicker-content-touch]":"datepicker.touchUi"},animations:[V.transformPanel,V.fadeInCalendar],exportAs:"matDatepickerContent",encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,inputs:["color"],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}/*# sourceMappingURL=datepicker-content.css.map */\n"]}]}],K.ctorParameters=function(){return[{type:l.ElementRef}]},K.propDecorators={_calendar:[{type:l.ViewChild,args:[F,{static:!1}]}]},K);function K(e){return H.call(this,e)||this}var Z=(Object.defineProperty(Q.prototype,"startAt",{get:function(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)},set:function(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"color",{get:function(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)},set:function(e){this._color=e},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"touchUi",{get:function(){return this._touchUi},set:function(e){this._touchUi=f.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"disabled",{get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(e){var t=f.coerceBooleanProperty(e);t!==this._disabled&&(this._disabled=t,this._disabledChange.next(t))},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"opened",{get:function(){return this._opened},set:function(e){e?this.open():this.close()},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"_selected",{get:function(){return this._validSelected},set:function(e){this._validSelected=e},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"_minDate",{get:function(){return this._datepickerInput&&this._datepickerInput.min},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"_maxDate",{get:function(){return this._datepickerInput&&this._datepickerInput.max},enumerable:!0,configurable:!0}),Object.defineProperty(Q.prototype,"_dateFilter",{get:function(){return this._datepickerInput&&this._datepickerInput._dateFilter},enumerable:!0,configurable:!0}),Q.prototype.ngOnDestroy=function(){this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null)},Q.prototype.select=function(e){var t=this._selected;this._selected=e,this._dateAdapter.sameDate(t,this._selected)||this._selectedChanged.next(e)},Q.prototype._selectYear=function(e){this.yearSelected.emit(e)},Q.prototype._selectMonth=function(e){this.monthSelected.emit(e)},Q.prototype._registerInput=function(e){var t=this;if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=e,this._inputSubscription=this._datepickerInput._valueChange.subscribe(function(e){return t._selected=e})},Q.prototype.open=function(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}},Q.prototype.close=function(){var e=this;if(this._opened){this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach();var t=function(){e._opened&&(e._opened=!1,e.closedStream.emit(),e._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}},Q.prototype._openAsDialog=function(){var e=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(Y,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe(function(){return e.close()}),(this._dialogRef.componentInstance.datepicker=this)._setColor()},Q.prototype._openAsPopup=function(){var e=this;this._calendarPortal||(this._calendarPortal=new r.ComponentPortal(Y,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),(this._popupComponentRef.instance.datepicker=this)._setColor(),this._ngZone.onStable.asObservable().pipe(d.take(1)).subscribe(function(){e._popupRef.updatePosition()}))},Q.prototype._createPopup=function(){var t=this,e=new n.OverlayConfig({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),u.merge(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(d.filter(function(e){return e.keyCode===c.ESCAPE||t._datepickerInput&&e.altKey&&e.keyCode===c.UP_ARROW}))).subscribe(function(e){e&&e.preventDefault(),t.close()})},Q.prototype._createPopupPositionStrategy=function(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])},Q.prototype._getValidDateOrNull=function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null},Q.prototype._setColor=function(){var e=this.color;this._popupComponentRef&&(this._popupComponentRef.instance.color=e),this._dialogRef&&(this._dialogRef.componentInstance.color=e)},Q.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-datepicker",template:"",exportAs:"matDatepicker",changeDetection:l.ChangeDetectionStrategy.OnPush,encapsulation:l.ViewEncapsulation.None}]}],Q.ctorParameters=function(){return[{type:a.MatDialog},{type:n.Overlay},{type:l.NgZone},{type:l.ViewContainerRef},{type:void 0,decorators:[{type:l.Inject,args:[U]}]},{type:s.DateAdapter,decorators:[{type:l.Optional}]},{type:p.Directionality,decorators:[{type:l.Optional}]},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[i.DOCUMENT]}]}]},Q.propDecorators={calendarHeaderComponent:[{type:l.Input}],startAt:[{type:l.Input}],startView:[{type:l.Input}],color:[{type:l.Input}],touchUi:[{type:l.Input}],disabled:[{type:l.Input}],yearSelected:[{type:l.Output}],monthSelected:[{type:l.Output}],panelClass:[{type:l.Input}],dateClass:[{type:l.Input}],openedStream:[{type:l.Output,args:["opened"]}],closedStream:[{type:l.Output,args:["closed"]}],opened:[{type:l.Input}]},Q);function Q(e,t,n,r,i,o,a,s){if(this._dialog=e,this._overlay=t,this._ngZone=n,this._viewContainerRef=r,this._dateAdapter=o,this._dir=a,this._document=s,this.startView="month",this._touchUi=!1,this.yearSelected=new l.EventEmitter,this.monthSelected=new l.EventEmitter,this.openedStream=new l.EventEmitter,this.closedStream=new l.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+B++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=u.Subscription.EMPTY,this._disabledChange=new u.Subject,this._selectedChanged=new u.Subject,!this._dateAdapter)throw _("DateAdapter");this._scrollStrategy=i}var X={provide:v.NG_VALUE_ACCESSOR,useExisting:l.forwardRef(function(){return ee}),multi:!0},$={provide:v.NG_VALIDATORS,useExisting:l.forwardRef(function(){return ee}),multi:!0},J=function(e,t){this.target=e,this.targetElement=t,this.value=this.target.value},ee=(Object.defineProperty(te.prototype,"matDatepicker",{set:function(e){var t=this;e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(function(e){t.value=e,t._cvaOnChange(e),t._onTouched(),t.dateInput.emit(new J(t,t._elementRef.nativeElement)),t.dateChange.emit(new J(t,t._elementRef.nativeElement))}))},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"matDatepickerFilter",{set:function(e){this._dateFilter=e,this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"value",{get:function(){return this._value},set:function(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);var t=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"min",{get:function(){return this._min},set:function(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"max",{get:function(){return this._max},set:function(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"disabled",{get:function(){return!!this._disabled},set:function(e){var t=f.coerceBooleanProperty(e),n=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this._disabledChange.emit(t)),t&&n.blur&&n.blur()},enumerable:!0,configurable:!0}),te.prototype.ngOnDestroy=function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()},te.prototype.registerOnValidatorChange=function(e){this._validatorOnChange=e},te.prototype.validate=function(e){return this._validator?this._validator(e):null},te.prototype.getPopupConnectionElementRef=function(){return this.getConnectedOverlayOrigin()},te.prototype.getConnectedOverlayOrigin=function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef},te.prototype.writeValue=function(e){this.value=e},te.prototype.registerOnChange=function(e){this._cvaOnChange=e},te.prototype.registerOnTouched=function(e){this._onTouched=e},te.prototype.setDisabledState=function(e){this.disabled=e},te.prototype._onKeydown=function(e){var t=e.altKey&&e.keyCode===c.DOWN_ARROW;this._datepicker&&t&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())},te.prototype._onInput=function(e){var t=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t),this._dateAdapter.sameDate(t,this._value)?this._validatorOnChange():(this._value=t,this._cvaOnChange(t),this._valueChange.emit(t),this.dateInput.emit(new J(this,this._elementRef.nativeElement)))},te.prototype._onChange=function(){this.dateChange.emit(new J(this,this._elementRef.nativeElement))},te.prototype._getThemePalette=function(){return this._formField?this._formField.color:void 0},te.prototype._onBlur=function(){this.value&&this._formatValue(this.value),this._onTouched()},te.prototype._formatValue=function(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""},te.prototype._getValidDateOrNull=function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null},te.decorators=[{type:l.Directive,args:[{selector:"input[matDatepicker]",providers:[X,$,{provide:g.MAT_INPUT_VALUE_ACCESSOR,useExisting:te}],host:{"[attr.aria-haspopup]":'_datepicker ? "dialog" : null',"[attr.aria-owns]":"(_datepicker?.opened && _datepicker.id) || null","[attr.min]":"min ? _dateAdapter.toIso8601(min) : null","[attr.max]":"max ? _dateAdapter.toIso8601(max) : null","[disabled]":"disabled","(input)":"_onInput($event.target.value)","(change)":"_onChange()","(blur)":"_onBlur()","(keydown)":"_onKeydown($event)"},exportAs:"matDatepickerInput"}]}],te.ctorParameters=function(){return[{type:l.ElementRef},{type:s.DateAdapter,decorators:[{type:l.Optional}]},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[s.MAT_DATE_FORMATS]}]},{type:y.MatFormField,decorators:[{type:l.Optional}]}]},te.propDecorators={matDatepicker:[{type:l.Input}],matDatepickerFilter:[{type:l.Input}],value:[{type:l.Input}],min:[{type:l.Input}],max:[{type:l.Input}],disabled:[{type:l.Input}],dateChange:[{type:l.Output}],dateInput:[{type:l.Output}]},te);function te(e,t,n,r){var i=this;if(this._elementRef=e,this._dateAdapter=t,this._dateFormats=n,this._formField=r,this.dateChange=new l.EventEmitter,this.dateInput=new l.EventEmitter,this._valueChange=new l.EventEmitter,this._disabledChange=new l.EventEmitter,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=u.Subscription.EMPTY,this._localeSubscription=u.Subscription.EMPTY,this._parseValidator=function(){return i._lastValueValid?null:{matDatepickerParse:{text:i._elementRef.nativeElement.value}}},this._minValidator=function(e){var t=i._getValidDateOrNull(i._dateAdapter.deserialize(e.value));return!i.min||!t||i._dateAdapter.compareDate(i.min,t)<=0?null:{matDatepickerMin:{min:i.min,actual:t}}},this._maxValidator=function(e){var t=i._getValidDateOrNull(i._dateAdapter.deserialize(e.value));return!i.max||!t||0<=i._dateAdapter.compareDate(i.max,t)?null:{matDatepickerMax:{max:i.max,actual:t}}},this._filterValidator=function(e){var t=i._getValidDateOrNull(i._dateAdapter.deserialize(e.value));return i._dateFilter&&t&&!i._dateFilter(t)?{matDatepickerFilter:!0}:null},this._validator=v.Validators.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw _("DateAdapter");if(!this._dateFormats)throw _("MAT_DATE_FORMATS");this._localeSubscription=t.localeChanges.subscribe(function(){i.value=i.value})}var ne=(re.decorators=[{type:l.Directive,args:[{selector:"[matDatepickerToggleIcon]"}]}],re);function re(){}var ie=(Object.defineProperty(oe.prototype,"disabled",{get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(e){this._disabled=f.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),oe.prototype.ngOnChanges=function(e){e.datepicker&&this._watchStateChanges()},oe.prototype.ngOnDestroy=function(){this._stateChanges.unsubscribe()},oe.prototype.ngAfterContentInit=function(){this._watchStateChanges()},oe.prototype._open=function(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())},oe.prototype._watchStateChanges=function(){var e=this,t=this.datepicker?this.datepicker._disabledChange:u.of(),n=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:u.of(),r=this.datepicker?u.merge(this.datepicker.openedStream,this.datepicker.closedStream):u.of();this._stateChanges.unsubscribe(),this._stateChanges=u.merge(this._intl.changes,t,n,r).subscribe(function(){return e._changeDetectorRef.markForCheck()})},oe.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-datepicker-toggle",template:'<button\n  #button\n  mat-icon-button\n  type="button"\n  [attr.aria-haspopup]="datepicker ? \'dialog\' : null"\n  [attr.aria-label]="_intl.openCalendarLabel"\n  [attr.tabindex]="disabled ? -1 : tabIndex"\n  [disabled]="disabled"\n  [disableRipple]="disableRipple"\n  (click)="_open($event)">\n\n  <svg\n    *ngIf="!_customIcon"\n    class="mat-datepicker-toggle-default-icon"\n    viewBox="0 0 24 24"\n    width="24px"\n    height="24px"\n    fill="currentColor"\n    focusable="false">\n    <path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/>\n  </svg>\n\n  <ng-content select="[matDatepickerToggleIcon]"></ng-content>\n</button>\n',host:{class:"mat-datepicker-toggle","[attr.tabindex]":"-1","[class.mat-datepicker-toggle-active]":"datepicker && datepicker.opened","[class.mat-accent]":'datepicker && datepicker.color === "accent"',"[class.mat-warn]":'datepicker && datepicker.color === "warn"',"(focus)":"_button.focus()"},exportAs:"matDatepickerToggle",encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}/*# sourceMappingURL=datepicker-toggle.css.map */\n"]}]}],oe.ctorParameters=function(){return[{type:b},{type:l.ChangeDetectorRef},{type:String,decorators:[{type:l.Attribute,args:["tabindex"]}]}]},oe.propDecorators={datepicker:[{type:l.Input,args:["for"]}],tabIndex:[{type:l.Input}],disabled:[{type:l.Input}],disableRipple:[{type:l.Input}],_customIcon:[{type:l.ContentChild,args:[ne,{static:!1}]}],_button:[{type:l.ViewChild,args:["button",{static:!1}]}]},oe);function oe(e,t,n){this._intl=e,this._changeDetectorRef=t,this._stateChanges=u.Subscription.EMPTY;var r=Number(n);this.tabIndex=r||0===r?r:null}var ae=(se.decorators=[{type:l.NgModule,args:[{imports:[i.CommonModule,o.MatButtonModule,a.MatDialogModule,n.OverlayModule,t.A11yModule,r.PortalModule],exports:[F,C,Z,Y,ee,ie,ne,E,M,D,N],declarations:[F,C,Z,Y,ee,ie,ne,E,M,D,N],providers:[b,W],entryComponents:[Y,N]}]}],se);function se(){}e.MatMultiYearView=D,e.yearsPerPage=k,e.yearsPerRow=4,e.MatDatepickerModule=ae,e.MatCalendarHeader=N,e.MatCalendar=F,e.MatCalendarCell=x,e.MatCalendarBody=C,e.MAT_DATEPICKER_SCROLL_STRATEGY=U,e.MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY=z,e.MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER=W,e.MatDatepickerContent=Y,e.MatDatepicker=Z,e.matDatepickerAnimations=V,e.MAT_DATEPICKER_VALUE_ACCESSOR=X,e.MAT_DATEPICKER_VALIDATORS=$,e.MatDatepickerInputEvent=J,e.MatDatepickerInput=ee,e.MatDatepickerIntl=b,e.MatDatepickerToggleIcon=ne,e.MatDatepickerToggle=ie,e.MatMonthView=E,e.MatYearView=M,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/overlay"),require("@angular/cdk/portal"),require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/bidi"),require("rxjs"),require("rxjs/operators"),require("@angular/animations"),require("@angular/cdk/a11y"),require("@angular/cdk/keycodes")):System.registerDynamic("npm:@angular/material/bundles/material-dialog.umd.js",["@angular/cdk/overlay","@angular/cdk/portal","@angular/common","@angular/core","@angular/material/core","tslib","@angular/cdk/bidi","rxjs","rxjs/operators","@angular/animations","@angular/cdk/a11y","@angular/cdk/keycodes"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/overlay"),e("@angular/cdk/portal"),e("@angular/common"),e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/bidi"),e("rxjs"),e("rxjs/operators"),e("@angular/animations"),e("@angular/cdk/a11y"),e("@angular/cdk/keycodes"))})}(0,function(e,n,s,t,l,r,a,o,u,c,i,p,d){"use strict";var h=function(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},f=[i.state("void, exit",i.style({opacity:0,transform:"scale(0.7)"})),i.state("enter",i.style({transform:"none"})),i.transition("* => enter",i.animate("150ms cubic-bezier(0, 0, 0.2, 1)",i.style({transform:"none",opacity:1}))),i.transition("* => void, * => exit",i.animate("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",i.style({opacity:0})))],m={dialogContainer:i.trigger("dialogContainer",f),slideDialog:i.trigger("slideDialog",f)};function v(){throw Error("Attempting to attach dialog content after content is already attached")}var y,g=(y=s.BasePortalOutlet,a.__extends(_,y),_.prototype.attachComponentPortal=function(e){return this._portalOutlet.hasAttached()&&v(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)},_.prototype.attachTemplatePortal=function(e){return this._portalOutlet.hasAttached()&&v(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)},_.prototype._trapFocus=function(){var e=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(e)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var t=this._document.activeElement;t===e||e.contains(t)||e.focus()}},_.prototype._restoreFocus=function(){var e=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&e&&"function"==typeof e.focus&&e.focus(),this._focusTrap&&this._focusTrap.destroy()},_.prototype._savePreviouslyFocusedElement=function(){var e=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return e._elementRef.nativeElement.focus()}))},_.prototype._onAnimationDone=function(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)},_.prototype._onAnimationStart=function(e){this._animationStateChanged.emit(e)},_.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},_.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-dialog-container",template:"<ng-template cdkPortalOutlet></ng-template>\n",encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.Default,animations:[m.dialogContainer],host:{class:"mat-dialog-container",tabindex:"-1","aria-modal":"true","[attr.id]":"_id","[attr.role]":"_config.role","[attr.aria-labelledby]":"_config.ariaLabel ? null : _ariaLabelledBy","[attr.aria-label]":"_config.ariaLabel","[attr.aria-describedby]":"_config.ariaDescribedBy || null","[@dialogContainer]":"_state","(@dialogContainer.start)":"_onAnimationStart($event)","(@dialogContainer.done)":"_onAnimationDone($event)"},styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media(-ms-high-contrast: active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}/*# sourceMappingURL=dialog.css.map */\n"]}]}],_.ctorParameters=function(){return[{type:l.ElementRef},{type:p.FocusTrapFactory},{type:l.ChangeDetectorRef},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[t.DOCUMENT]}]},{type:h}]},_.propDecorators={_portalOutlet:[{type:l.ViewChild,args:[s.CdkPortalOutlet,{static:!0}]}]},_);function _(e,t,n,r,i){var o=y.call(this)||this;return o._elementRef=e,o._focusTrapFactory=t,o._changeDetectorRef=n,o._document=r,o._config=i,o._elementFocusedBeforeDialogWasOpened=null,o._state="enter",o._animationStateChanged=new l.EventEmitter,o._ariaLabelledBy=i.ariaLabelledBy||null,o}var b=0,w=(x.prototype.close=function(t){var n=this;this._result=t,this._containerInstance._animationStateChanged.pipe(c.filter(function(e){return"start"===e.phaseName}),c.take(1)).subscribe(function(e){n._beforeClosed.next(t),n._beforeClosed.complete(),n._state=2,n._overlayRef.detachBackdrop(),n._closeFallbackTimeout=setTimeout(function(){n._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1},x.prototype.afterOpened=function(){return this._afterOpened.asObservable()},x.prototype.afterClosed=function(){return this._afterClosed.asObservable()},x.prototype.beforeClosed=function(){return this._beforeClosed.asObservable()},x.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},x.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},x.prototype.updatePosition=function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this},x.prototype.updateSize=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=""),this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this},x.prototype.addPanelClass=function(e){return this._overlayRef.addPanelClass(e),this},x.prototype.removePanelClass=function(e){return this._overlayRef.removePanelClass(e),this},x.prototype.afterOpen=function(){return this.afterOpened()},x.prototype.beforeClose=function(){return this.beforeClosed()},x.prototype.getState=function(){return this._state},x.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},x);function x(e,t,n,r){var i=this;void 0===r&&(r="mat-dialog-"+b++),this._overlayRef=e,this._containerInstance=t,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new u.Subject,this._afterClosed=new u.Subject,this._beforeClosed=new u.Subject,this._state=0,t._id=r,t._animationStateChanged.pipe(c.filter(function(e){return"done"===e.phaseName&&"enter"===e.toState}),c.take(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),t._animationStateChanged.pipe(c.filter(function(e){return"done"===e.phaseName&&"exit"===e.toState}),c.take(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._overlayRef.dispose()}),e.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),e.keydownEvents().pipe(c.filter(function(e){return e.keyCode===d.ESCAPE&&!i.disableClose&&!d.hasModifierKey(e)})).subscribe(function(e){e.preventDefault(),i.close()})}var C=new l.InjectionToken("MatDialogData"),S=new l.InjectionToken("mat-dialog-default-options"),E=new l.InjectionToken("mat-dialog-scroll-strategy");function O(e){return function(){return e.scrollStrategies.block()}}var k={provide:E,deps:[n.Overlay],useFactory:O},D=(Object.defineProperty(T.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"afterOpened",{get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"afterOpen",{get:function(){return this.afterOpened},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"_afterAllClosed",{get:function(){var e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),T.prototype.open=function(e,t){var n=this;if((t=function(e,t){return a.__assign({},t,e)}(t,this._defaultOptions||new h)).id&&this.getDialogById(t.id))throw Error('Dialog with id "'+t.id+'" exists already. The dialog id must be unique.');var r=this._createOverlay(t),i=this._attachDialogContainer(r,t),o=this._attachDialogContent(e,i,r,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return n._removeOpenDialog(o)}),this.afterOpened.next(o),o},T.prototype.closeAll=function(){this._closeDialogs(this.openDialogs)},T.prototype.getDialogById=function(t){return this.openDialogs.find(function(e){return e.id===t})},T.prototype.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()},T.prototype._createOverlay=function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)},T.prototype._getOverlayConfig=function(e){var t=new n.OverlayConfig({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t},T.prototype._attachDialogContainer=function(e,t){var n=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=new s.PortalInjector(n||this._injector,new WeakMap([[h,t]])),i=new s.ComponentPortal(g,t.viewContainerRef,r,t.componentFactoryResolver);return e.attach(i).instance},T.prototype._attachDialogContent=function(e,t,n,r){var i=new w(n,t,this._location,r.id);if(r.hasBackdrop&&n.backdropClick().subscribe(function(){i.disableClose||i.close()}),e instanceof l.TemplateRef)t.attachTemplatePortal(new s.TemplatePortal(e,null,{$implicit:r.data,dialogRef:i}));else{var o=this._createInjector(r,i,t),a=t.attachComponentPortal(new s.ComponentPortal(e,void 0,o));i.componentInstance=a.instance}return i.updateSize(r.width,r.height).updatePosition(r.position),i},T.prototype._createInjector=function(e,t,n){var r=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=new WeakMap([[g,n],[C,e.data],[w,t]]);return!e.direction||r&&r.get(o.Directionality,null)||i.set(o.Directionality,{value:e.direction,change:u.of()}),new s.PortalInjector(r||this._injector,i)},T.prototype._removeOpenDialog=function(e){var t=this.openDialogs.indexOf(e);-1<t&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},T.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;-1<n;n--){var r=t[n];r===e||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},T.prototype._closeDialogs=function(e){for(var t=e.length;t--;)e[t].close()},T.decorators=[{type:l.Injectable}],T.ctorParameters=function(){return[{type:n.Overlay},{type:l.Injector},{type:t.Location,decorators:[{type:l.Optional}]},{type:h,decorators:[{type:l.Optional},{type:l.Inject,args:[S]}]},{type:void 0,decorators:[{type:l.Inject,args:[E]}]},{type:T,decorators:[{type:l.Optional},{type:l.SkipSelf}]},{type:n.OverlayContainer}]},T);function T(e,t,n,r,i,o,a){var s=this;this._overlay=e,this._injector=t,this._location=n,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new u.Subject,this._afterOpenedAtThisLevel=new u.Subject,this._ariaHiddenElements=new Map,this.afterAllClosed=u.defer(function(){return s.openDialogs.length?s._afterAllClosed:s._afterAllClosed.pipe(c.startWith(void 0))}),this._scrollStrategy=i}var I=0,P=(A.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=V(this._elementRef,this._dialog.openDialogs))},A.prototype.ngOnChanges=function(e){var t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)},A.decorators=[{type:l.Directive,args:[{selector:"[mat-dialog-close], [matDialogClose]",exportAs:"matDialogClose",host:{"(click)":"dialogRef.close(dialogResult)","[attr.aria-label]":"ariaLabel || null","[attr.type]":"type"}}]}],A.ctorParameters=function(){return[{type:w,decorators:[{type:l.Optional}]},{type:l.ElementRef},{type:D}]},A.propDecorators={ariaLabel:[{type:l.Input,args:["aria-label"]}],type:[{type:l.Input}],dialogResult:[{type:l.Input,args:["mat-dialog-close"]}],_matDialogClose:[{type:l.Input,args:["matDialogClose"]}]},A);function A(e,t,n){this.dialogRef=e,this._elementRef=t,this._dialog=n,this.type="button"}var M=(R.prototype.ngOnInit=function(){var t=this;this._dialogRef||(this._dialogRef=V(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)})},R.decorators=[{type:l.Directive,args:[{selector:"[mat-dialog-title], [matDialogTitle]",exportAs:"matDialogTitle",host:{class:"mat-dialog-title","[id]":"id"}}]}],R.ctorParameters=function(){return[{type:w,decorators:[{type:l.Optional}]},{type:l.ElementRef},{type:D}]},R.propDecorators={id:[{type:l.Input}]},R);function R(e,t,n){this._dialogRef=e,this._elementRef=t,this._dialog=n,this.id="mat-dialog-title-"+I++}var N=(j.decorators=[{type:l.Directive,args:[{selector:"[mat-dialog-content], mat-dialog-content, [matDialogContent]",host:{class:"mat-dialog-content"}}]}],j);function j(){}var F=(L.decorators=[{type:l.Directive,args:[{selector:"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]",host:{class:"mat-dialog-actions"}}]}],L);function L(){}function V(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(function(e){return e.id===n.id}):null}var B=(U.decorators=[{type:l.NgModule,args:[{imports:[t.CommonModule,n.OverlayModule,s.PortalModule,r.MatCommonModule],exports:[g,P,M,N,F,r.MatCommonModule],declarations:[g,P,M,F,N],providers:[D,k],entryComponents:[g]}]}],U);function U(){}e.MatDialogModule=B,e.MAT_DIALOG_DATA=C,e.MAT_DIALOG_DEFAULT_OPTIONS=S,e.MAT_DIALOG_SCROLL_STRATEGY=E,e.MAT_DIALOG_SCROLL_STRATEGY_FACTORY=function(e){return function(){return e.scrollStrategies.block()}},e.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY=O,e.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER=k,e.MatDialog=D,e.throwMatDialogContentAlreadyAttachedError=v,e.MatDialogContainer=g,e.MatDialogClose=P,e.MatDialogTitle=M,e.MatDialogContent=N,e.MatDialogActions=F,e.MatDialogConfig=h,e.MatDialogRef=w,e.matDialogAnimations=m,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/cdk/collections"),require("@angular/cdk/coercion"),require("rxjs")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-accordion.umd.js",["@angular/core","@angular/cdk/collections","@angular/cdk/coercion","rxjs"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/cdk/collections"),e("@angular/cdk/coercion"),e("rxjs"))})}(0,function(e,i,t,n,o){"use strict";var r=0,a=(Object.defineProperty(s.prototype,"multi",{get:function(){return this._multi},set:function(e){this._multi=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),s.prototype.openAll=function(){this._openCloseAll(!0)},s.prototype.closeAll=function(){this._openCloseAll(!1)},s.prototype.ngOnChanges=function(e){this._stateChanges.next(e)},s.prototype.ngOnDestroy=function(){this._stateChanges.complete()},s.prototype._openCloseAll=function(e){this.multi&&this._openCloseAllActions.next(e)},s.decorators=[{type:i.Directive,args:[{selector:"cdk-accordion, [cdkAccordion]",exportAs:"cdkAccordion"}]}],s.propDecorators={multi:[{type:i.Input}]},s);function s(){this._stateChanges=new o.Subject,this._openCloseAllActions=new o.Subject,this.id="cdk-accordion-"+r++,this._multi=!1}var l=0,u=(Object.defineProperty(c.prototype,"expanded",{get:function(){return this._expanded},set:function(e){if(e=n.coerceBooleanProperty(e),this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();var t=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,t)}else this.closed.emit();this._changeDetectorRef.markForCheck()}},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),c.prototype.ngOnDestroy=function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()},c.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},c.prototype.close=function(){this.disabled||(this.expanded=!1)},c.prototype.open=function(){this.disabled||(this.expanded=!0)},c.prototype._subscribeToOpenCloseAllActions=function(){var t=this;return this.accordion._openCloseAllActions.subscribe(function(e){t.disabled||(t.expanded=e)})},c.decorators=[{type:i.Directive,args:[{selector:"cdk-accordion-item, [cdkAccordionItem]",exportAs:"cdkAccordionItem",providers:[{provide:a,useValue:void 0}]}]}],c.ctorParameters=function(){return[{type:a,decorators:[{type:i.Optional},{type:i.SkipSelf}]},{type:i.ChangeDetectorRef},{type:t.UniqueSelectionDispatcher}]},c.propDecorators={closed:[{type:i.Output}],opened:[{type:i.Output}],destroyed:[{type:i.Output}],expandedChange:[{type:i.Output}],expanded:[{type:i.Input}],disabled:[{type:i.Input}]},c);function c(e,t,n){var r=this;this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=n,this._openCloseAllSubscription=o.Subscription.EMPTY,this.closed=new i.EventEmitter,this.opened=new i.EventEmitter,this.destroyed=new i.EventEmitter,this.expandedChange=new i.EventEmitter,this.id="cdk-accordion-child-"+l++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.listen(function(e,t){r.accordion&&!r.accordion.multi&&r.accordion.id===t&&r.id!==e&&(r.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}var p=(d.decorators=[{type:i.NgModule,args:[{exports:[a,u],declarations:[a,u]}]}],d);function d(){}e.CdkAccordionItem=u,e.CdkAccordion=a,e.CdkAccordionModule=p,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/accordion"),require("@angular/cdk/portal"),require("@angular/common"),require("@angular/core"),require("tslib"),require("@angular/cdk/coercion"),require("@angular/cdk/a11y"),require("@angular/cdk/keycodes"),require("rxjs"),require("rxjs/operators"),require("@angular/animations"),require("@angular/cdk/collections"),require("@angular/platform-browser/animations")):System.registerDynamic("npm:@angular/material/bundles/material-expansion.umd.js",["@angular/cdk/accordion","@angular/cdk/portal","@angular/common","@angular/core","tslib","@angular/cdk/coercion","@angular/cdk/a11y","@angular/cdk/keycodes","rxjs","rxjs/operators","@angular/animations","@angular/cdk/collections","@angular/platform-browser/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/accordion"),e("@angular/cdk/portal"),e("@angular/common"),e("@angular/core"),e("tslib"),e("@angular/cdk/coercion"),e("@angular/cdk/a11y"),e("@angular/cdk/keycodes"),e("rxjs"),e("rxjs/operators"),e("@angular/animations"),e("@angular/cdk/collections"),e("@angular/platform-browser/animations"))})}(0,function(e,t,n,r,l,i,o,a,s,u,c,p,d,h){"use strict";var f=new l.InjectionToken("MAT_ACCORDION"),m="225ms cubic-bezier(0.4,0.0,0.2,1)",v={indicatorRotate:p.trigger("indicatorRotate",[p.state("collapsed, void",p.style({transform:"rotate(0deg)"})),p.state("expanded",p.style({transform:"rotate(180deg)"})),p.transition("expanded <=> collapsed, void => collapsed",p.animate(m))]),expansionHeaderHeight:p.trigger("expansionHeight",[p.state("collapsed, void",p.style({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),p.state("expanded",p.style({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),p.transition("expanded <=> collapsed, void => collapsed",p.group([p.query("@indicatorRotate",p.animateChild(),{optional:!0}),p.animate(m)]))]),bodyExpansion:p.trigger("bodyExpansion",[p.state("collapsed, void",p.style({height:"0px",visibility:"hidden"})),p.state("expanded",p.style({height:"*",visibility:"visible"})),p.transition("expanded <=> collapsed, void => collapsed",p.animate(m))])},y=(g.decorators=[{type:l.Directive,args:[{selector:"ng-template[matExpansionPanelContent]"}]}],g.ctorParameters=function(){return[{type:l.TemplateRef}]},g);function g(e){this._template=e}var _,b=0,w=new l.InjectionToken("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),x=(_=t.CdkAccordionItem,i.__extends(C,_),Object.defineProperty(C.prototype,"hideToggle",{get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=o.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"togglePosition",{get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e},enumerable:!0,configurable:!0}),C.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},C.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},C.prototype.ngAfterContentInit=function(){var e=this;this._lazyContent&&this.opened.pipe(c.startWith(null),c.filter(function(){return e.expanded&&!e._portal}),c.take(1)).subscribe(function(){e._portal=new n.TemplatePortal(e._lazyContent._template,e._viewContainerRef)})},C.prototype.ngOnChanges=function(e){this._inputChanges.next(e)},C.prototype.ngOnDestroy=function(){_.prototype.ngOnDestroy.call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()},C.prototype._containsFocus=function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1},C.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-expansion-panel",exportAs:"matExpansionPanel",template:'<ng-content select="mat-expansion-panel-header"></ng-content>\n<div class="mat-expansion-panel-content"\n     role="region"\n     [@bodyExpansion]="_getExpandedState()"\n     (@bodyExpansion.done)="_bodyAnimationDone.next($event)"\n     [attr.aria-labelledby]="_headerId"\n     [id]="id"\n     #body>\n  <div class="mat-expansion-panel-body">\n    <ng-content></ng-content>\n    <ng-template [cdkPortalOutlet]="_portal"></ng-template>\n  </div>\n  <ng-content select="mat-action-row"></ng-content>\n</div>\n',encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,inputs:["disabled","expanded"],outputs:["opened","closed","expandedChange"],animations:[v.bodyExpansion],providers:[{provide:f,useValue:void 0}],host:{class:"mat-expansion-panel","[class.mat-expanded]":"expanded","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"',"[class.mat-expansion-panel-spacing]":"_hasSpacing()"},styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media(-ms-high-contrast: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}/*# sourceMappingURL=expansion-panel.css.map */\n"]}]}],C.ctorParameters=function(){return[{type:void 0,decorators:[{type:l.Optional},{type:l.SkipSelf},{type:l.Inject,args:[f]}]},{type:l.ChangeDetectorRef},{type:d.UniqueSelectionDispatcher},{type:l.ViewContainerRef},{type:void 0,decorators:[{type:l.Inject,args:[r.DOCUMENT]}]},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[h.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:l.Inject,args:[w]},{type:l.Optional}]}]},C.propDecorators={hideToggle:[{type:l.Input}],togglePosition:[{type:l.Input}],afterExpand:[{type:l.Output}],afterCollapse:[{type:l.Output}],_lazyContent:[{type:l.ContentChild,args:[y,{static:!1}]}],_body:[{type:l.ViewChild,args:["body",{static:!1}]}]},C);function C(e,t,n,r,i,o,a){var s=_.call(this,e,t,n)||this;return s._viewContainerRef=r,s._animationMode=o,s._hideToggle=!1,s.afterExpand=new l.EventEmitter,s.afterCollapse=new l.EventEmitter,s._inputChanges=new u.Subject,s._headerId="mat-expansion-panel-header-"+b++,s._bodyAnimationDone=new u.Subject,s.accordion=e,s._document=i,s._bodyAnimationDone.pipe(c.distinctUntilChanged(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){"void"!==e.fromState&&("expanded"===e.toState?s.afterExpand.emit():"collapsed"===e.toState&&s.afterCollapse.emit())}),a&&(s.hideToggle=a.hideToggle),s}var S=(E.decorators=[{type:l.Directive,args:[{selector:"mat-action-row",host:{class:"mat-action-row"}}]}],E);function E(){}var O=(k.prototype._animationStarted=function(){this._animationsDisabled=!1},Object.defineProperty(k.prototype,"disabled",{get:function(){return this.panel.disabled},enumerable:!0,configurable:!0}),k.prototype._toggle=function(){this.panel.toggle()},k.prototype._isExpanded=function(){return this.panel.expanded},k.prototype._getExpandedState=function(){return this.panel._getExpandedState()},k.prototype._getPanelId=function(){return this.panel.id},k.prototype._getTogglePosition=function(){return this.panel.togglePosition},k.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},k.prototype._keydown=function(e){switch(e.keyCode){case s.SPACE:case s.ENTER:s.hasModifierKey(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}},k.prototype.focus=function(e,t){void 0===e&&(e="program"),this._focusMonitor.focusVia(this._element,e,t)},k.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)},k.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-expansion-panel-header",template:'<span class="mat-content">\n  <ng-content select="mat-panel-title"></ng-content>\n  <ng-content select="mat-panel-description"></ng-content>\n  <ng-content></ng-content>\n</span>\n<span [@indicatorRotate]="_getExpandedState()" *ngIf="_showToggle()"\n      class="mat-expansion-indicator"></span>\n',encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,animations:[v.indicatorRotate,v.expansionHeaderHeight],host:{class:"mat-expansion-panel-header",role:"button","[attr.id]":"panel._headerId","[attr.tabindex]":"disabled ? -1 : 0","[attr.aria-controls]":"_getPanelId()","[attr.aria-expanded]":"_isExpanded()","[attr.aria-disabled]":"panel.disabled","[class.mat-expanded]":"_isExpanded()","[class.mat-expansion-toggle-indicator-after]":"_getTogglePosition() === 'after'","[class.mat-expansion-toggle-indicator-before]":"_getTogglePosition() === 'before'","(click)":"_toggle()","(keydown)":"_keydown($event)","[@.disabled]":"_animationsDisabled","(@expansionHeight.start)":"_animationStarted()","[@expansionHeight]":"{\n        value: _getExpandedState(),\n        params: {\n          collapsedHeight: collapsedHeight,\n          expandedHeight: expandedHeight\n        }\n    }"},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}/*# sourceMappingURL=expansion-panel-header.css.map */\n']}]}],k.ctorParameters=function(){return[{type:x,decorators:[{type:l.Host}]},{type:l.ElementRef},{type:a.FocusMonitor},{type:l.ChangeDetectorRef},{type:void 0,decorators:[{type:l.Inject,args:[w]},{type:l.Optional}]}]},k.propDecorators={expandedHeight:[{type:l.Input}],collapsedHeight:[{type:l.Input}]},k);function k(t,e,n,r,i){var o=this;this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=r,this._parentChangeSubscription=u.Subscription.EMPTY,this._animationsDisabled=!0;var a=t.accordion?t.accordion._stateChanges.pipe(c.filter(function(e){return!(!e.hideToggle&&!e.togglePosition)})):u.EMPTY;this._parentChangeSubscription=u.merge(t.opened,t.closed,a,t._inputChanges.pipe(c.filter(function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)}))).subscribe(function(){return o._changeDetectorRef.markForCheck()}),t.closed.pipe(c.filter(function(){return t._containsFocus()})).subscribe(function(){return n.focusVia(e,"program")}),n.monitor(e).subscribe(function(e){e&&t.accordion&&t.accordion._handleHeaderFocus(o)}),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}var D=(T.decorators=[{type:l.Directive,args:[{selector:"mat-panel-description",host:{class:"mat-expansion-panel-header-description"}}]}],T);function T(){}var I=(P.decorators=[{type:l.Directive,args:[{selector:"mat-panel-title",host:{class:"mat-expansion-panel-header-title"}}]}],P);function P(){}var A,M=(A=t.CdkAccordion,i.__extends(R,A),Object.defineProperty(R.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(e){this._hideToggle=o.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),R.prototype.ngAfterContentInit=function(){this._keyManager=new a.FocusKeyManager(this._headers).withWrap()},R.prototype._handleHeaderKeydown=function(e){var t=e.keyCode,n=this._keyManager;t===s.HOME?s.hasModifierKey(e)||(n.setFirstItemActive(),e.preventDefault()):t===s.END?s.hasModifierKey(e)||(n.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e)},R.prototype._handleHeaderFocus=function(e){this._keyManager.updateActiveItem(e)},R.decorators=[{type:l.Directive,args:[{selector:"mat-accordion",exportAs:"matAccordion",inputs:["multi"],providers:[{provide:f,useExisting:R}],host:{class:"mat-accordion"}}]}],R.propDecorators={_headers:[{type:l.ContentChildren,args:[O,{descendants:!0}]}],hideToggle:[{type:l.Input}],displayMode:[{type:l.Input}],togglePosition:[{type:l.Input}]},R);function R(){var e=null!==A&&A.apply(this,arguments)||this;return e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}var N=(j.decorators=[{type:l.NgModule,args:[{imports:[r.CommonModule,t.CdkAccordionModule,n.PortalModule],exports:[M,x,S,O,I,D,y],declarations:[M,x,S,O,I,D,y]}]}],j);function j(){}e.MatExpansionModule=N,e.MatAccordion=M,e.MAT_ACCORDION=f,e.MAT_EXPANSION_PANEL_DEFAULT_OPTIONS=w,e.MatExpansionPanel=x,e.MatExpansionPanelActionRow=S,e.ɵ0=void 0,e.MatExpansionPanelHeader=O,e.MatExpansionPanelDescription=D,e.MatExpansionPanelTitle=I,e.MatExpansionPanelContent=y,e.EXPANSION_PANEL_ANIMATION_TIMING=m,e.matExpansionAnimations=v,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/material/core"),require("@angular/cdk/coercion"),require("tslib"),require("@angular/cdk/bidi")):System.registerDynamic("npm:@angular/material/bundles/material-grid-list.umd.js",["@angular/core","@angular/material/core","@angular/cdk/coercion","tslib","@angular/cdk/bidi"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/material/core"),e("@angular/cdk/coercion"),e("tslib"),e("@angular/cdk/bidi"))})}(0,function(e,t,n,r,i,o){"use strict";var a=new t.InjectionToken("MAT_GRID_LIST"),s=(Object.defineProperty(l.prototype,"rowspan",{get:function(){return this._rowspan},set:function(e){this._rowspan=Math.round(r.coerceNumberProperty(e))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"colspan",{get:function(){return this._colspan},set:function(e){this._colspan=Math.round(r.coerceNumberProperty(e))},enumerable:!0,configurable:!0}),l.prototype._setStyle=function(e,t){this._element.nativeElement.style[e]=t},l.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-grid-tile",exportAs:"matGridTile",host:{class:"mat-grid-tile"},template:'\x3c!-- TODO(kara): Revisit why this is a figure.--\x3e\n<figure class="mat-figure">\n  <ng-content></ng-content>\n</figure>',encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}/*# sourceMappingURL=grid-list.css.map */\n"]}]}],l.ctorParameters=function(){return[{type:t.ElementRef},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[a]}]}]},l.propDecorators={rowspan:[{type:t.Input}],colspan:[{type:t.Input}]},l);function l(e,t){this._element=e,this._gridList=t,this._rowspan=1,this._colspan=1}var u=(c.prototype.ngAfterContentInit=function(){n.setLines(this._lines,this._element)},c.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-grid-tile-header, mat-grid-tile-footer",template:'<ng-content select="[mat-grid-avatar], [matGridAvatar]"></ng-content>\n<div class="mat-grid-list-text"><ng-content select="[mat-line], [matLine]"></ng-content></div>\n<ng-content></ng-content>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None}]}],c.ctorParameters=function(){return[{type:t.ElementRef}]},c.propDecorators={_lines:[{type:t.ContentChildren,args:[n.MatLine]}]},c);function c(e){this._element=e}var p=(d.decorators=[{type:t.Directive,args:[{selector:"[mat-grid-avatar], [matGridAvatar]",host:{class:"mat-grid-avatar"}}]}],d);function d(){}var h=(f.decorators=[{type:t.Directive,args:[{selector:"mat-grid-tile-header",host:{class:"mat-grid-tile-header"}}]}],f);function f(){}var m=(v.decorators=[{type:t.Directive,args:[{selector:"mat-grid-tile-footer",host:{class:"mat-grid-tile-footer"}}]}],v);function v(){}var y=(Object.defineProperty(g.prototype,"rowCount",{get:function(){return this.rowIndex+1},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"rowspan",{get:function(){var e=Math.max.apply(Math,i.__spread(this.tracker));return 1<e?this.rowCount+e-1:this.rowCount},enumerable:!0,configurable:!0}),g.prototype.update=function(e,t){var n=this;this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(e),this.tracker.fill(0,0,this.tracker.length),this.positions=t.map(function(e){return n._trackTile(e)})},g.prototype._trackTile=function(e){var t=this._findMatchingGap(e.colspan);return this._markTilePosition(t,e),this.columnIndex=t+e.colspan,new _(this.rowIndex,t)},g.prototype._findMatchingGap=function(e){if(e>this.tracker.length)throw Error("mat-grid-list: tile with colspan "+e+' is wider than grid with cols="'+this.tracker.length+'".');for(var t=-1,n=-1;this.columnIndex+e>this.tracker.length?(this._nextRow(),t=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(t)):-1!=(t=this.tracker.indexOf(0,this.columnIndex))?(n=this._findGapEndIndex(t),this.columnIndex=t+1):(this._nextRow(),t=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(t)),n-t<e||0==n;);return Math.max(t,0)},g.prototype._nextRow=function(){this.columnIndex=0,this.rowIndex++;for(var e=0;e<this.tracker.length;e++)this.tracker[e]=Math.max(0,this.tracker[e]-1)},g.prototype._findGapEndIndex=function(e){for(var t=e+1;t<this.tracker.length;t++)if(0!=this.tracker[t])return t;return this.tracker.length},g.prototype._markTilePosition=function(e,t){for(var n=0;n<t.colspan;n++)this.tracker[e+n]=t.rowspan},g);function g(){this.columnIndex=0,this.rowIndex=0}var _=function(e,t){this.row=e,this.col=t},b=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,w=(x.prototype.init=function(e,t,n,r){this._gutterSize=M(e),this._rows=t.rowCount,this._rowspan=t.rowspan,this._cols=n,this._direction=r},x.prototype.getBaseTileSize=function(e,t){return"("+e+"% - ("+this._gutterSize+" * "+t+"))"},x.prototype.getTilePosition=function(e,t){return 0===t?"0":A("("+e+" + "+this._gutterSize+") * "+t)},x.prototype.getTileSize=function(e,t){return"("+e+" * "+t+") + ("+(t-1)+" * "+this._gutterSize+")"},x.prototype.setStyle=function(e,t,n){var r=100/this._cols,i=(this._cols-1)/this._cols;this.setColStyles(e,n,r,i),this.setRowStyles(e,t,r,i)},x.prototype.setColStyles=function(e,t,n,r){var i=this.getBaseTileSize(n,r),o="rtl"===this._direction?"right":"left";e._setStyle(o,this.getTilePosition(i,t)),e._setStyle("width",A(this.getTileSize(i,e.colspan)))},x.prototype.getGutterSpan=function(){return this._gutterSize+" * ("+this._rowspan+" - 1)"},x.prototype.getTileSpan=function(e){return this._rowspan+" * "+this.getTileSize(e,1)},x.prototype.getComputedHeight=function(){return null},x);function x(){this._rows=0,this._rowspan=0}var C,S=(C=w,i.__extends(E,C),E.prototype.init=function(e,t,n,r){if(C.prototype.init.call(this,e,t,n,r),this.fixedRowHeight=M(this.fixedRowHeight),!b.test(this.fixedRowHeight))throw Error('Invalid value "'+this.fixedRowHeight+'" set as rowHeight.')},E.prototype.setRowStyles=function(e,t){e._setStyle("top",this.getTilePosition(this.fixedRowHeight,t)),e._setStyle("height",A(this.getTileSize(this.fixedRowHeight,e.rowspan)))},E.prototype.getComputedHeight=function(){return["height",A(this.getTileSpan(this.fixedRowHeight)+" + "+this.getGutterSpan())]},E.prototype.reset=function(e){e._setListStyle(["height",null]),e._tiles&&e._tiles.forEach(function(e){e._setStyle("top",null),e._setStyle("height",null)})},E);function E(e){var t=C.call(this)||this;return t.fixedRowHeight=e,t}var O,k=(O=w,i.__extends(D,O),D.prototype.setRowStyles=function(e,t,n,r){var i=n/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(i,r),e._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,t)),e._setStyle("paddingTop",A(this.getTileSize(this.baseTileHeight,e.rowspan)))},D.prototype.getComputedHeight=function(){return["paddingBottom",A(this.getTileSpan(this.baseTileHeight)+" + "+this.getGutterSpan())]},D.prototype.reset=function(e){e._setListStyle(["paddingBottom",null]),e._tiles.forEach(function(e){e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})},D.prototype._parseRatio=function(e){var t=e.split(":");if(2!==t.length)throw Error('mat-grid-list: invalid ratio given for row-height: "'+e+'"');this.rowHeightRatio=parseFloat(t[0])/parseFloat(t[1])},D);function D(e){var t=O.call(this)||this;return t._parseRatio(e),t}var T,I=(T=w,i.__extends(P,T),P.prototype.setRowStyles=function(e,t){var n=100/this._rowspan,r=(this._rows-1)/this._rows,i=this.getBaseTileSize(n,r);e._setStyle("top",this.getTilePosition(i,t)),e._setStyle("height",A(this.getTileSize(i,e.rowspan)))},P.prototype.reset=function(e){e._tiles&&e._tiles.forEach(function(e){e._setStyle("top",null),e._setStyle("height",null)})},P);function P(){return null!==T&&T.apply(this,arguments)||this}function A(e){return"calc("+e+")"}function M(e){return e.match(/([A-Za-z%]+)$/)?e:e+"px"}var R=(Object.defineProperty(N.prototype,"cols",{get:function(){return this._cols},set:function(e){this._cols=Math.max(1,Math.round(r.coerceNumberProperty(e)))},enumerable:!0,configurable:!0}),Object.defineProperty(N.prototype,"gutterSize",{get:function(){return this._gutter},set:function(e){this._gutter=""+(null==e?"":e)},enumerable:!0,configurable:!0}),Object.defineProperty(N.prototype,"rowHeight",{get:function(){return this._rowHeight},set:function(e){var t=""+(null==e?"":e);t!==this._rowHeight&&(this._rowHeight=t,this._setTileStyler(this._rowHeight))},enumerable:!0,configurable:!0}),N.prototype.ngOnInit=function(){this._checkCols(),this._checkRowHeight()},N.prototype.ngAfterContentChecked=function(){this._layoutTiles()},N.prototype._checkCols=function(){if(!this.cols)throw Error('mat-grid-list: must pass in number of columns. Example: <mat-grid-list cols="3">')},N.prototype._checkRowHeight=function(){this._rowHeight||this._setTileStyler("1:1")},N.prototype._setTileStyler=function(e){this._tileStyler&&this._tileStyler.reset(this),"fit"===e?this._tileStyler=new I:e&&-1<e.indexOf(":")?this._tileStyler=new k(e):this._tileStyler=new S(e)},N.prototype._layoutTiles=function(){var r=this;this._tileCoordinator||(this._tileCoordinator=new y);var i=this._tileCoordinator,e=this._tiles.filter(function(e){return!e._gridList||e._gridList===r}),t=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,e),this._tileStyler.init(this.gutterSize,i,this.cols,t),e.forEach(function(e,t){var n=i.positions[t];r._tileStyler.setStyle(e,n.row,n.col)}),this._setListStyle(this._tileStyler.getComputedHeight())},N.prototype._setListStyle=function(e){e&&(this._element.nativeElement.style[e[0]]=e[1])},N.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-grid-list",exportAs:"matGridList",template:"<div>\n  <ng-content></ng-content>\n</div>",host:{class:"mat-grid-list"},providers:[{provide:a,useExisting:N}],changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}/*# sourceMappingURL=grid-list.css.map */\n"]}]}],N.ctorParameters=function(){return[{type:t.ElementRef},{type:o.Directionality,decorators:[{type:t.Optional}]}]},N.propDecorators={_tiles:[{type:t.ContentChildren,args:[s,{descendants:!0}]}],cols:[{type:t.Input}],gutterSize:[{type:t.Input}],rowHeight:[{type:t.Input}]},N);function N(e,t){this._element=e,this._dir=t,this._gutter="1px"}var j=(F.decorators=[{type:t.NgModule,args:[{imports:[n.MatLineModule,n.MatCommonModule],exports:[R,s,u,n.MatLineModule,n.MatCommonModule,h,m,p],declarations:[R,s,u,h,m,p]}]}],F);function F(){}e.ɵangular_material_src_material_grid_list_grid_list_a=a,e.MatGridListModule=j,e.MatGridList=R,e.MatGridTile=s,e.MatGridTileText=u,e.MatGridAvatarCssMatStyler=p,e.MatGridTileHeaderCssMatStyler=h,e.MatGridTileFooterCssMatStyler=m,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/platform"),require("@angular/core"),require("@angular/cdk/coercion"),require("rxjs"),require("rxjs/operators")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-text-field.umd.js",["@angular/cdk/platform","@angular/core","@angular/cdk/coercion","rxjs","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/platform"),e("@angular/core"),e("@angular/cdk/coercion"),e("rxjs"),e("rxjs/operators"))})}(0,function(e,t,n,s,l,r){"use strict";var u=t.normalizePassiveListenerOptions({passive:!0}),i=(o.prototype.monitor=function(e){var t=this;if(!this._platform.isBrowser)return l.EMPTY;var n=s.coerceElement(e),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();function i(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(a)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(a)&&(n.classList.remove(a),t._ngZone.run(function(){return o.next({target:e.target,isAutofilled:!1})})):(n.classList.add(a),t._ngZone.run(function(){return o.next({target:e.target,isAutofilled:!0})}))}var o=new l.Subject,a="cdk-text-field-autofilled";return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",i,u),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:o,unlisten:function(){n.removeEventListener("animationstart",i,u)}}),o.asObservable()},o.prototype.stopMonitoring=function(e){var t=s.coerceElement(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))},o.prototype.ngOnDestroy=function(){var n=this;this._monitoredElements.forEach(function(e,t){return n.stopMonitoring(t)})},o.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],o.ctorParameters=function(){return[{type:t.Platform},{type:n.NgZone}]},o.ngInjectableDef=n.ɵɵdefineInjectable({factory:function(){return new o(n.ɵɵinject(t.Platform),n.ɵɵinject(n.NgZone))},token:o,providedIn:"root"}),o);function o(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}var a=(c.prototype.ngOnInit=function(){var t=this;this._autofillMonitor.monitor(this._elementRef).subscribe(function(e){return t.cdkAutofill.emit(e)})},c.prototype.ngOnDestroy=function(){this._autofillMonitor.stopMonitoring(this._elementRef)},c.decorators=[{type:n.Directive,args:[{selector:"[cdkAutofill]"}]}],c.ctorParameters=function(){return[{type:n.ElementRef},{type:i}]},c.propDecorators={cdkAutofill:[{type:n.Output}]},c);function c(e,t){this._elementRef=e,this._autofillMonitor=t,this.cdkAutofill=new n.EventEmitter}var p=(Object.defineProperty(d.prototype,"minRows",{get:function(){return this._minRows},set:function(e){this._minRows=e,this._setMinHeight()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"maxRows",{get:function(){return this._maxRows},set:function(e){this._maxRows=e,this._setMaxHeight()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"enabled",{get:function(){return this._enabled},set:function(e){e=s.coerceBooleanProperty(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())},enumerable:!0,configurable:!0}),d.prototype._setMinHeight=function(){var e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)},d.prototype._setMaxHeight=function(){var e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)},d.prototype.ngAfterViewInit=function(){var e=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(function(){l.fromEvent(window,"resize").pipe(r.auditTime(16),r.takeUntil(e._destroyed)).subscribe(function(){return e.resizeToFitContent(!0)})}))},d.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},d.prototype._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,this._textareaElement.parentNode.removeChild(e),this._setMinHeight(),this._setMaxHeight()}},d.prototype.ngDoCheck=function(){this._platform.isBrowser&&this.resizeToFitContent()},d.prototype.resizeToFitContent=function(e){var t=this;if(void 0===e&&(e=!1),this._enabled&&(this._cacheTextareaLineHeight(),this._cachedLineHeight)){var n=this._elementRef.nativeElement,r=n.value;if(e||this._minRows!==this._previousMinRows||r!==this._previousValue){var i=n.placeholder;n.classList.add("cdk-textarea-autosize-measuring"),n.placeholder="";var o=n.scrollHeight-4;n.style.height=o+"px",n.classList.remove("cdk-textarea-autosize-measuring"),n.placeholder=i,this._ngZone.runOutsideAngular(function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(function(){return t._scrollToCaretPosition(n)}):setTimeout(function(){return t._scrollToCaretPosition(n)})}),this._previousValue=r,this._previousMinRows=this._minRows}}},d.prototype.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)},d.prototype._noopInputHandler=function(){},d.prototype._scrollToCaretPosition=function(e){var t=e.selectionStart,n=e.selectionEnd;this._destroyed.isStopped||document.activeElement!==e||e.setSelectionRange(t,n)},d.decorators=[{type:n.Directive,args:[{selector:"textarea[cdkTextareaAutosize]",exportAs:"cdkTextareaAutosize",host:{class:"cdk-textarea-autosize",rows:"1","(input)":"_noopInputHandler()"}}]}],d.ctorParameters=function(){return[{type:n.ElementRef},{type:t.Platform},{type:n.NgZone}]},d.propDecorators={minRows:[{type:n.Input,args:["cdkAutosizeMinRows"]}],maxRows:[{type:n.Input,args:["cdkAutosizeMaxRows"]}],enabled:[{type:n.Input,args:["cdkTextareaAutosize"]}]},d);function d(e,t,n){this._elementRef=e,this._platform=t,this._ngZone=n,this._destroyed=new l.Subject,this._enabled=!0,this._previousMinRows=-1,this._textareaElement=this._elementRef.nativeElement}var h=(f.decorators=[{type:n.NgModule,args:[{declarations:[a,p],imports:[t.PlatformModule],exports:[a,p]}]}],f);function f(){}e.AutofillMonitor=i,e.CdkAutofill=a,e.CdkTextareaAutosize=p,e.TextFieldModule=h,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("@angular/cdk/text-field"),require("@angular/core"),require("@angular/cdk/coercion"),require("@angular/cdk/platform"),require("@angular/forms"),require("@angular/material/core"),require("@angular/material/form-field"),require("rxjs"),require("@angular/common")):System.registerDynamic("npm:@angular/material/bundles/material-input.umd.js",["tslib","@angular/cdk/text-field","@angular/core","@angular/cdk/coercion","@angular/cdk/platform","@angular/forms","@angular/material/core","@angular/material/form-field","rxjs","@angular/common"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("@angular/cdk/text-field"),e("@angular/core"),e("@angular/cdk/coercion"),e("@angular/cdk/platform"),e("@angular/forms"),e("@angular/material/core"),e("@angular/material/form-field"),e("rxjs"),e("@angular/common"))})}(0,function(e,t,n,r,i,p,o,a,s,d,l){"use strict";var u,c=(u=n.CdkTextareaAutosize,t.__extends(h,u),Object.defineProperty(h.prototype,"matAutosizeMinRows",{get:function(){return this.minRows},set:function(e){this.minRows=e},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"matAutosizeMaxRows",{get:function(){return this.maxRows},set:function(e){this.maxRows=e},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"matAutosize",{get:function(){return this.enabled},set:function(e){this.enabled=e},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"matTextareaAutosize",{get:function(){return this.enabled},set:function(e){this.enabled=e},enumerable:!0,configurable:!0}),h.decorators=[{type:r.Directive,args:[{selector:"textarea[mat-autosize], textarea[matTextareaAutosize]",exportAs:"matTextareaAutosize",inputs:["cdkAutosizeMinRows","cdkAutosizeMaxRows"],host:{class:"cdk-textarea-autosize mat-autosize",rows:"1","(input)":"_noopInputHandler()"}}]}],h.propDecorators={matAutosizeMinRows:[{type:r.Input}],matAutosizeMaxRows:[{type:r.Input}],matAutosize:[{type:r.Input,args:["mat-autosize"]}],matTextareaAutosize:[{type:r.Input}]},h);function h(){return null!==u&&u.apply(this,arguments)||this}function f(e){return Error('Input type "'+e+"\" isn't supported by matInput.")}function m(e,t,n,r){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=r}var v,y=new r.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),g=["button","checkbox","file","hidden","image","radio","range","reset","submit"],_=0,b=a.mixinErrorState(m),w=(v=b,t.__extends(x,v),Object.defineProperty(x.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=i.coerceBooleanProperty(e),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"required",{get:function(){return this._required},set:function(e){this._required=i.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"type",{get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea()&&p.getSupportedInputTypes().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"readonly",{get:function(){return this._readonly},set:function(e){this._readonly=i.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),x.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()})},x.prototype.ngOnChanges=function(){this.stateChanges.next()},x.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},x.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},x.prototype.focus=function(e){this._elementRef.nativeElement.focus(e)},x.prototype._focusChanged=function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())},x.prototype._onInput=function(){},x.prototype._dirtyCheckNativeValue=function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())},x.prototype._validateType=function(){if(-1<g.indexOf(this._type))throw f(this._type)},x.prototype._isNeverEmpty=function(){return-1<this._neverEmptyInputTypes.indexOf(this._type)},x.prototype._isBadInput=function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput},x.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(x.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(-1<e.selectedIndex&&t&&t.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),x.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},x.prototype.onContainerClick=function(){this.focused||this.focus()},x.decorators=[{type:r.Directive,args:[{selector:"input[matInput], textarea[matInput], select[matNativeControl],\n      input[matNativeControl], textarea[matNativeControl]",exportAs:"matInput",host:{class:"mat-input-element mat-form-field-autofill-control","[class.mat-input-server]":"_isServer","[attr.id]":"id","[attr.placeholder]":"placeholder","[disabled]":"disabled","[required]":"required","[attr.readonly]":"readonly && !_isNativeSelect || null","[attr.aria-describedby]":"_ariaDescribedby || null","[attr.aria-invalid]":"errorState","[attr.aria-required]":"required.toString()","(blur)":"_focusChanged(false)","(focus)":"_focusChanged(true)","(input)":"_onInput()"},providers:[{provide:s.MatFormFieldControl,useExisting:x}]}]}],x.ctorParameters=function(){return[{type:r.ElementRef},{type:p.Platform},{type:o.NgControl,decorators:[{type:r.Optional},{type:r.Self}]},{type:o.NgForm,decorators:[{type:r.Optional}]},{type:o.FormGroupDirective,decorators:[{type:r.Optional}]},{type:a.ErrorStateMatcher},{type:void 0,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:n.AutofillMonitor},{type:r.NgZone}]},x.propDecorators={disabled:[{type:r.Input}],id:[{type:r.Input}],placeholder:[{type:r.Input}],required:[{type:r.Input}],type:[{type:r.Input}],errorStateMatcher:[{type:r.Input}],value:[{type:r.Input}],readonly:[{type:r.Input}]},x);function x(e,t,n,r,i,o,a,s,l){var u=v.call(this,o,r,i,n)||this;u._elementRef=e,u._platform=t,u.ngControl=n,u._autofillMonitor=s,u._uid="mat-input-"+_++,u._isServer=!1,u._isNativeSelect=!1,u.focused=!1,u.stateChanges=new d.Subject,u.controlType="mat-input",u.autofilled=!1,u._disabled=!1,u._required=!1,u._type="text",u._readonly=!1,u._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(e){return p.getSupportedInputTypes().has(e)});var c=u._elementRef.nativeElement;return u._inputValueAccessor=a||c,u._previousNativeValue=u.value,u.id=u.id,t.IOS&&l.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),u._isServer=!u._platform.isBrowser,u._isNativeSelect="select"===c.nodeName.toLowerCase(),u._isNativeSelect&&(u.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select"),u}var C=(S.decorators=[{type:r.NgModule,args:[{declarations:[w,c],imports:[l.CommonModule,n.TextFieldModule,s.MatFormFieldModule],exports:[n.TextFieldModule,s.MatFormFieldModule,w,c],providers:[a.ErrorStateMatcher]}]}],S);function S(){}e.MatTextareaAutosize=c,e.MatInput=w,e.getMatInputUnsupportedTypeError=f,e.MatInputModule=C,e.MAT_INPUT_VALUE_ACCESSOR=y,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/cdk/coercion"),require("@angular/common"),require("@angular/material/core")):System.registerDynamic("npm:@angular/material/bundles/material-divider.umd.js",["@angular/core","@angular/cdk/coercion","@angular/common","@angular/material/core"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/cdk/coercion"),e("@angular/common"),e("@angular/material/core"))})}(0,function(e,t,n,r,i){"use strict";var o=(Object.defineProperty(a.prototype,"vertical",{get:function(){return this._vertical},set:function(e){this._vertical=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"inset",{get:function(){return this._inset},set:function(e){this._inset=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),a.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-divider",host:{role:"separator","[attr.aria-orientation]":'vertical ? "vertical" : "horizontal"',"[class.mat-divider-vertical]":"vertical","[class.mat-divider-horizontal]":"!vertical","[class.mat-divider-inset]":"inset",class:"mat-divider"},template:"",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}/*# sourceMappingURL=divider.css.map */\n"]}]}],a.propDecorators={vertical:[{type:t.Input}],inset:[{type:t.Input}]},a);function a(){this._vertical=!1,this._inset=!1}var s=(l.decorators=[{type:t.NgModule,args:[{imports:[i.MatCommonModule,r.CommonModule],exports:[o,i.MatCommonModule],declarations:[o]}]}],l);function l(){}e.MatDivider=o,e.MatDividerModule=s,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("tslib"),require("rxjs"),require("rxjs/operators"),require("@angular/cdk/a11y"),require("@angular/cdk/coercion"),require("@angular/cdk/collections"),require("@angular/cdk/keycodes"),require("@angular/forms"),require("@angular/material/divider")):System.registerDynamic("npm:@angular/material/bundles/material-list.umd.js",["@angular/common","@angular/core","@angular/material/core","tslib","rxjs","rxjs/operators","@angular/cdk/a11y","@angular/cdk/coercion","@angular/cdk/collections","@angular/cdk/keycodes","@angular/forms","@angular/material/divider"],!1,function(e,t,n){return r.call(t,t,e("@angular/common"),e("@angular/core"),e("@angular/material/core"),e("tslib"),e("rxjs"),e("rxjs/operators"),e("@angular/cdk/a11y"),e("@angular/cdk/coercion"),e("@angular/cdk/collections"),e("@angular/cdk/keycodes"),e("@angular/forms"),e("@angular/material/divider"))})}(0,function(e,t,r,n,u,a,s,i,o,l,c,p,d){"use strict";function h(){}function f(){}var m,v=n.mixinDisableRipple(h),y=n.mixinDisableRipple(f),g=(m=v,u.__extends(_,m),_.prototype.ngOnChanges=function(){this._stateChanges.next()},_.prototype.ngOnDestroy=function(){this._stateChanges.complete()},_.decorators=[{type:r.Component,args:[{moduleId:module.id,selector:"mat-nav-list",exportAs:"matNavList",host:{role:"navigation",class:"mat-nav-list mat-list-base"},template:"<ng-content></ng-content>\n\n",inputs:["disableRipple"],encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}@media(-ms-high-contrast: active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,mat-action-list .mat-list-item:hover,mat-action-list .mat-list-item:focus{outline:dotted 1px}}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}/*# sourceMappingURL=list.css.map */\n"]}]}],_);function _(){var e=null!==m&&m.apply(this,arguments)||this;return e._stateChanges=new a.Subject,e}var b,w=(b=v,u.__extends(x,b),x.prototype._getListType=function(){var e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null},x.prototype.ngOnChanges=function(){this._stateChanges.next()},x.prototype.ngOnDestroy=function(){this._stateChanges.complete()},x.decorators=[{type:r.Component,args:[{moduleId:module.id,selector:"mat-list, mat-action-list",exportAs:"matList",template:"<ng-content></ng-content>\n\n",host:{class:"mat-list mat-list-base"},inputs:["disableRipple"],encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}@media(-ms-high-contrast: active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,mat-action-list .mat-list-item:hover,mat-action-list .mat-list-item:focus{outline:dotted 1px}}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}/*# sourceMappingURL=list.css.map */\n"]}]}],x.ctorParameters=function(){return[{type:r.ElementRef}]},x);function x(e){var t=b.call(this)||this;return t._elementRef=e,t._stateChanges=new a.Subject,"action-list"===t._getListType()&&e.nativeElement.classList.add("mat-action-list"),t}var C=(S.decorators=[{type:r.Directive,args:[{selector:"[mat-list-avatar], [matListAvatar]",host:{class:"mat-list-avatar"}}]}],S);function S(){}var E=(O.decorators=[{type:r.Directive,args:[{selector:"[mat-list-icon], [matListIcon]",host:{class:"mat-list-icon"}}]}],O);function O(){}var k=(D.decorators=[{type:r.Directive,args:[{selector:"[mat-subheader], [matSubheader]",host:{class:"mat-subheader"}}]}],D);function D(){}var T,I=(T=y,u.__extends(P,T),P.prototype.ngAfterContentInit=function(){n.setLines(this._lines,this._element)},P.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},P.prototype._isRippleDisabled=function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)},P.prototype._getHostElement=function(){return this._element.nativeElement},P.decorators=[{type:r.Component,args:[{moduleId:module.id,selector:"mat-list-item, a[mat-list-item], button[mat-list-item]",exportAs:"matListItem",host:{class:"mat-list-item","[class.mat-list-item-avatar]":"_avatar || _icon","[class.mat-list-item-with-avatar]":"_avatar || _icon"},inputs:["disableRipple"],template:'<div class="mat-list-item-content">\n  <div class="mat-list-item-ripple" mat-ripple\n       [matRippleTrigger]="_getHostElement()"\n       [matRippleDisabled]="_isRippleDisabled()">\n  </div>\n\n  <ng-content select="[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]">\n  </ng-content>\n\n  <div class="mat-list-text"><ng-content select="[mat-line], [matLine]"></ng-content></div>\n\n  <ng-content></ng-content>\n</div>\n',encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush}]}],P.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ChangeDetectorRef},{type:g,decorators:[{type:r.Optional}]},{type:w,decorators:[{type:r.Optional}]}]},P.propDecorators={_lines:[{type:r.ContentChildren,args:[n.MatLine,{descendants:!0}]}],_avatar:[{type:r.ContentChild,args:[C,{static:!1}]}],_icon:[{type:r.ContentChild,args:[E,{static:!1}]}]},P);function P(e,t,n,r){var i=T.call(this)||this;i._element=e,i._isInteractiveList=!1,i._destroyed=new a.Subject,i._isInteractiveList=!!(n||r&&"action-list"===r._getListType()),i._list=n||r;var o=i._getHostElement();return"button"!==o.nodeName.toLowerCase()||o.hasAttribute("type")||o.setAttribute("type","button"),i._list&&i._list._stateChanges.pipe(s.takeUntil(i._destroyed)).subscribe(function(){t.markForCheck()}),i}function A(){}function M(){}var R,N=n.mixinDisableRipple(A),j=n.mixinDisableRipple(M),F={provide:p.NG_VALUE_ACCESSOR,useExisting:r.forwardRef(function(){return z}),multi:!0},L=function(e,t){this.source=e,this.option=t},V=(R=j,u.__extends(B,R),Object.defineProperty(B.prototype,"color",{get:function(){return this._color||this.selectionList.color},set:function(e){this._color=e},enumerable:!0,configurable:!0}),Object.defineProperty(B.prototype,"value",{get:function(){return this._value},set:function(e){this.selected&&e!==this.value&&(this.selected=!1),this._value=e},enumerable:!0,configurable:!0}),Object.defineProperty(B.prototype,"disabled",{get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},set:function(e){var t=o.coerceBooleanProperty(e);t!==this._disabled&&(this._disabled=t,this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(B.prototype,"selected",{get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(e){var t=o.coerceBooleanProperty(e);t!==this._selected&&(this._setSelected(t),this.selectionList._reportValueChange())},enumerable:!0,configurable:!0}),B.prototype.ngOnInit=function(){var t=this,n=this.selectionList;n._value&&n._value.some(function(e){return n.compareWith(e,t._value)})&&this._setSelected(!0);var e=this._selected;Promise.resolve().then(function(){(t._selected||e)&&(t.selected=!0,t._changeDetector.markForCheck())})},B.prototype.ngAfterContentInit=function(){n.setLines(this._lines,this._element)},B.prototype.ngOnDestroy=function(){var e=this;this.selected&&Promise.resolve().then(function(){e.selected=!1});var t=this._hasFocus,n=this.selectionList._removeOptionFromList(this);t&&n&&n.focus()},B.prototype.toggle=function(){this.selected=!this.selected},B.prototype.focus=function(){this._element.nativeElement.focus()},B.prototype.getLabel=function(){return this._text&&this._text.nativeElement.textContent||""},B.prototype._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple},B.prototype._handleClick=function(){this.disabled||(this.toggle(),this.selectionList._emitChangeEvent(this))},B.prototype._handleFocus=function(){this.selectionList._setFocusedOption(this),this._hasFocus=!0},B.prototype._handleBlur=function(){this.selectionList._onTouched(),this._hasFocus=!1},B.prototype._getHostElement=function(){return this._element.nativeElement},B.prototype._setSelected=function(e){return e!==this._selected&&((this._selected=e)?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck(),!0)},B.prototype._markForCheck=function(){this._changeDetector.markForCheck()},B.decorators=[{type:r.Component,args:[{moduleId:module.id,selector:"mat-list-option",exportAs:"matListOption",inputs:["disableRipple"],host:{role:"option",class:"mat-list-item mat-list-option","(focus)":"_handleFocus()","(blur)":"_handleBlur()","(click)":"_handleClick()",tabindex:"-1","[class.mat-list-item-disabled]":"disabled","[class.mat-list-item-with-avatar]":"_avatar || _icon","[class.mat-primary]":'color === "primary"',"[class.mat-accent]":'color !== "primary" && color !== "warn"',"[class.mat-warn]":'color === "warn"',"[attr.aria-selected]":"selected","[attr.aria-disabled]":"disabled"},template:'<div class="mat-list-item-content"\n  [class.mat-list-item-content-reverse]="checkboxPosition == \'after\'">\n\n  <div mat-ripple\n    class="mat-list-item-ripple"\n    [matRippleTrigger]="_getHostElement()"\n    [matRippleDisabled]="_isRippleDisabled()"></div>\n\n  <mat-pseudo-checkbox\n    [state]="selected ? \'checked\' : \'unchecked\'"\n    [disabled]="disabled"></mat-pseudo-checkbox>\n\n  <div class="mat-list-text" #text><ng-content></ng-content></div>\n\n  <ng-content select="[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]">\n  </ng-content>\n\n</div>\n',encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush}]}],B.ctorParameters=function(){return[{type:r.ElementRef},{type:r.ChangeDetectorRef},{type:z,decorators:[{type:r.Inject,args:[r.forwardRef(function(){return z})]}]}]},B.propDecorators={_avatar:[{type:r.ContentChild,args:[C,{static:!1}]}],_icon:[{type:r.ContentChild,args:[E,{static:!1}]}],_lines:[{type:r.ContentChildren,args:[n.MatLine]}],_text:[{type:r.ViewChild,args:["text",{static:!1}]}],checkboxPosition:[{type:r.Input}],color:[{type:r.Input}],value:[{type:r.Input}],disabled:[{type:r.Input}],selected:[{type:r.Input}]},B);function B(e,t,n){var r=R.call(this)||this;return r._element=e,r._changeDetector=t,r.selectionList=n,r._selected=!1,r._disabled=!1,r._hasFocus=!1,r.checkboxPosition="after",r}var U,z=(U=N,u.__extends(q,U),Object.defineProperty(q.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=o.coerceBooleanProperty(e),this._markOptionsForCheck()},enumerable:!0,configurable:!0}),q.prototype.ngAfterContentInit=function(){this._keyManager=new i.FocusKeyManager(this.options).withWrap().withTypeAhead().skipPredicate(function(){return!1}).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this.selectedOptions.onChange.pipe(s.takeUntil(this._destroyed)).subscribe(function(e){var t,n,r,i;if(e.added)try{for(var o=u.__values(e.added),a=o.next();!a.done;a=o.next())a.value.selected=!0}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}if(e.removed)try{for(var s=u.__values(e.removed),l=s.next();!l.done;l=s.next())l.value.selected=!1}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}})},q.prototype.ngOnChanges=function(e){var t=e.disableRipple,n=e.color;(t&&!t.firstChange||n&&!n.firstChange)&&this._markOptionsForCheck()},q.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0},q.prototype.focus=function(e){this._element.nativeElement.focus(e)},q.prototype.selectAll=function(){this._setAllOptionsSelected(!0)},q.prototype.deselectAll=function(){this._setAllOptionsSelected(!1)},q.prototype._setFocusedOption=function(e){this._keyManager.updateActiveItem(e)},q.prototype._removeOptionFromList=function(e){var t=this._getOptionIndex(e);return-1<t&&this._keyManager.activeItemIndex===t&&(0<t?this._keyManager.updateActiveItem(t-1):0===t&&1<this.options.length&&this._keyManager.updateActiveItem(Math.min(t+1,this.options.length-1))),this._keyManager.activeItem},q.prototype._keydown=function(e){var t=e.keyCode,n=this._keyManager,r=n.activeItemIndex,i=c.hasModifierKey(e);switch(t){case c.SPACE:case c.ENTER:i||(this._toggleFocusedOption(),e.preventDefault());break;case c.HOME:case c.END:i||(t===c.HOME?n.setFirstItemActive():n.setLastItemActive(),e.preventDefault());break;case c.A:c.hasModifierKey(e,"ctrlKey")&&(this.options.find(function(e){return!e.selected})?this.selectAll():this.deselectAll(),e.preventDefault());break;default:n.onKeydown(e)}t!==c.UP_ARROW&&t!==c.DOWN_ARROW||!e.shiftKey||n.activeItemIndex===r||this._toggleFocusedOption()},q.prototype._reportValueChange=function(){if(this.options&&!this._isDestroyed){var e=this._getSelectedOptionValues();this._onChange(e),this._value=e}},q.prototype._emitChangeEvent=function(e){this.selectionChange.emit(new L(this,e))},q.prototype.writeValue=function(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])},q.prototype.setDisabledState=function(e){this.disabled=e},q.prototype.registerOnChange=function(e){this._onChange=e},q.prototype.registerOnTouched=function(e){this._onTouched=e},q.prototype._setOptionsFromValues=function(e){var n=this;this.options.forEach(function(e){return e._setSelected(!1)}),e.forEach(function(t){var e=n.options.find(function(e){return!e.selected&&n.compareWith(e.value,t)});e&&e._setSelected(!0)})},q.prototype._getSelectedOptionValues=function(){return this.options.filter(function(e){return e.selected}).map(function(e){return e.value})},q.prototype._toggleFocusedOption=function(){var e=this._keyManager.activeItemIndex;if(null!=e&&this._isValidIndex(e)){var t=this.options.toArray()[e];t&&!t.disabled&&(t.toggle(),this._emitChangeEvent(t))}},q.prototype._setAllOptionsSelected=function(t){var n=!1;this.options.forEach(function(e){e._setSelected(t)&&(n=!0)}),n&&this._reportValueChange()},q.prototype._isValidIndex=function(e){return 0<=e&&e<this.options.length},q.prototype._getOptionIndex=function(e){return this.options.toArray().indexOf(e)},q.prototype._markOptionsForCheck=function(){this.options&&this.options.forEach(function(e){return e._markForCheck()})},q.decorators=[{type:r.Component,args:[{moduleId:module.id,selector:"mat-selection-list",exportAs:"matSelectionList",inputs:["disableRipple"],host:{role:"listbox","[tabIndex]":"tabIndex",class:"mat-selection-list mat-list-base","(blur)":"_onTouched()","(keydown)":"_keydown($event)","aria-multiselectable":"true","[attr.aria-disabled]":"disabled.toString()"},template:"<ng-content></ng-content>",encapsulation:r.ViewEncapsulation.None,providers:[F],changeDetection:r.ChangeDetectionStrategy.OnPush,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}@media(-ms-high-contrast: active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,mat-action-list .mat-list-item:hover,mat-action-list .mat-list-item:focus{outline:dotted 1px}}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}/*# sourceMappingURL=list.css.map */\n"]}]}],q.ctorParameters=function(){return[{type:r.ElementRef},{type:String,decorators:[{type:r.Attribute,args:["tabindex"]}]}]},q.propDecorators={options:[{type:r.ContentChildren,args:[V,{descendants:!0}]}],selectionChange:[{type:r.Output}],tabIndex:[{type:r.Input}],color:[{type:r.Input}],compareWith:[{type:r.Input}],disabled:[{type:r.Input}]},q);function q(e,t){var n=U.call(this)||this;return n._element=e,n.selectionChange=new r.EventEmitter,n.tabIndex=0,n.color="accent",n.compareWith=function(e,t){return e===t},n._disabled=!1,n.selectedOptions=new l.SelectionModel(!0),n._onChange=function(e){},n._destroyed=new a.Subject,n._onTouched=function(){},n.tabIndex=parseInt(t)||0,n}var H=(W.decorators=[{type:r.NgModule,args:[{imports:[n.MatLineModule,n.MatRippleModule,n.MatCommonModule,n.MatPseudoCheckboxModule,t.CommonModule],exports:[w,g,I,C,n.MatLineModule,n.MatCommonModule,E,k,n.MatPseudoCheckboxModule,z,V,d.MatDividerModule],declarations:[w,g,I,C,E,k,z,V]}]}],W);function W(){}e.MatListModule=H,e.MatNavList=g,e.MatList=w,e.MatListAvatarCssMatStyler=C,e.MatListIconCssMatStyler=E,e.MatListSubheaderCssMatStyler=k,e.MatListItem=I,e.MAT_SELECTION_LIST_VALUE_ACCESSOR=F,e.MatSelectionListChange=L,e.MatListOption=V,e.MatSelectionList=z,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("@angular/cdk/a11y"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/animations"),require("@angular/cdk/portal"),require("@angular/common"),require("@angular/material/core"),require("@angular/cdk/bidi"),require("@angular/cdk/overlay"),require("@angular/cdk/platform")):System.registerDynamic("npm:@angular/material/bundles/material-menu.umd.js",["tslib","@angular/cdk/a11y","@angular/cdk/coercion","@angular/cdk/keycodes","@angular/core","rxjs","rxjs/operators","@angular/animations","@angular/cdk/portal","@angular/common","@angular/material/core","@angular/cdk/bidi","@angular/cdk/overlay","@angular/cdk/platform"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("@angular/cdk/a11y"),e("@angular/cdk/coercion"),e("@angular/cdk/keycodes"),e("@angular/core"),e("rxjs"),e("rxjs/operators"),e("@angular/animations"),e("@angular/cdk/portal"),e("@angular/common"),e("@angular/material/core"),e("@angular/cdk/bidi"),e("@angular/cdk/overlay"),e("@angular/cdk/platform"))})}(0,function(e,f,t,n,r,u,c,o,i,a,s,l,p,d,h){"use strict";var m={transformMenu:i.trigger("transformMenu",[i.state("void",i.style({opacity:0,transform:"scale(0.8)"})),i.transition("void => enter",i.group([i.query(".mat-menu-content, .mat-mdc-menu-content",i.animate("100ms linear",i.style({opacity:1}))),i.animate("120ms cubic-bezier(0, 0, 0.2, 1)",i.style({transform:"scale(1)"}))])),i.transition("* => void",i.animate("100ms 25ms linear",i.style({opacity:0})))]),fadeInItems:i.trigger("fadeInItems",[i.state("showing",i.style({opacity:1})),i.transition("void => *",[i.style({opacity:0}),i.animate("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},v=m.fadeInItems,y=m.transformMenu,g=(_.prototype.attach=function(e){void 0===e&&(e={}),this._portal||(this._portal=new a.TemplatePortal(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new a.DomPortalOutlet(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()},_.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()},_.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()},_.decorators=[{type:u.Directive,args:[{selector:"ng-template[matMenuContent]"}]}],_.ctorParameters=function(){return[{type:u.TemplateRef},{type:u.ComponentFactoryResolver},{type:u.ApplicationRef},{type:u.Injector},{type:u.ViewContainerRef},{type:void 0,decorators:[{type:u.Inject,args:[s.DOCUMENT]}]},{type:u.ChangeDetectorRef}]},_);function _(e,t,n,r,i,o,a){this._template=e,this._componentFactoryResolver=t,this._appRef=n,this._injector=r,this._viewContainerRef=i,this._document=o,this._changeDetectorRef=a,this._attached=new c.Subject}function b(){}var w,x=new u.InjectionToken("MAT_MENU_PANEL"),C=l.mixinDisableRipple(l.mixinDisabled(b)),S=(w=C,f.__extends(E,w),E.prototype.focus=function(e,t){void 0===e&&(e="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)},E.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},E.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},E.prototype._getHostElement=function(){return this._elementRef.nativeElement},E.prototype._checkDisabled=function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())},E.prototype._handleMouseEnter=function(){this._hovered.next(this)},E.prototype.getLabel=function(){var e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3,n="";if(e.childNodes)for(var r=e.childNodes.length,i=0;i<r;i++)e.childNodes[i].nodeType===t&&(n+=e.childNodes[i].textContent);return n.trim()},E.decorators=[{type:u.Component,args:[{moduleId:module.id,selector:"[mat-menu-item]",exportAs:"matMenuItem",inputs:["disabled","disableRipple"],host:{"[attr.role]":"role",class:"mat-menu-item","[class.mat-menu-item-highlighted]":"_highlighted","[class.mat-menu-item-submenu-trigger]":"_triggersSubmenu","[attr.tabindex]":"_getTabIndex()","[attr.aria-disabled]":"disabled.toString()","[attr.disabled]":"disabled || null"},changeDetection:u.ChangeDetectionStrategy.OnPush,encapsulation:u.ViewEncapsulation.None,template:'<ng-content></ng-content>\n<div class="mat-menu-ripple" matRipple\n     [matRippleDisabled]="disableRipple || disabled"\n     [matRippleTrigger]="_getHostElement()">\n</div>\n'}]}],E.ctorParameters=function(){return[{type:u.ElementRef},{type:void 0,decorators:[{type:u.Inject,args:[s.DOCUMENT]}]},{type:t.FocusMonitor},{type:void 0,decorators:[{type:u.Inject,args:[x]},{type:u.Optional}]}]},E.propDecorators={role:[{type:u.Input}],_checkDisabled:[{type:u.HostListener,args:["click",["$event"]]}],_handleMouseEnter:[{type:u.HostListener,args:["mouseenter"]}]},E);function E(e,t,n,r){var i=w.call(this)||this;return i._elementRef=e,i._focusMonitor=n,i._parentMenu=r,i.role="menuitem",i._hovered=new c.Subject,i._highlighted=!1,i._triggersSubmenu=!1,n&&n.monitor(i._elementRef,!1),r&&r.addItem&&r.addItem(i),i._document=t,i}var O=new u.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:k});function k(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var D=(Object.defineProperty(T.prototype,"xPosition",{get:function(){return this._xPosition},set:function(e){"before"!==e&&"after"!==e&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n      Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=e,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"yPosition",{get:function(){return this._yPosition},set:function(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n      Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=e,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"panelClass",{set:function(e){var t=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(function(e){t._classList[e]=!1}),(this._previousPanelClass=e)&&e.length&&(e.split(" ").forEach(function(e){t._classList[e]=!0}),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"classList",{get:function(){return this.panelClass},set:function(e){this.panelClass=e},enumerable:!0,configurable:!0}),T.prototype.ngOnInit=function(){this.setPositionClasses()},T.prototype.ngAfterContentInit=function(){var e=this;this._updateDirectDescendants(),this._keyManager=new t.FocusKeyManager(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return e.closed.emit("tab")})},T.prototype.ngOnDestroy=function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()},T.prototype._hovered=function(){return this._directDescendantItems.changes.pipe(o.startWith(this._directDescendantItems),o.switchMap(function(e){return c.merge.apply(void 0,f.__spread(e.map(function(e){return e._hovered})))}))},T.prototype.addItem=function(e){},T.prototype.removeItem=function(e){},T.prototype._handleKeydown=function(e){var t=e.keyCode,n=this._keyManager;switch(t){case r.ESCAPE:r.hasModifierKey(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case r.LEFT_ARROW:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case r.RIGHT_ARROW:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case r.HOME:case r.END:r.hasModifierKey(e)||(t===r.HOME?n.setFirstItemActive():n.setLastItemActive(),e.preventDefault());break;default:t!==r.UP_ARROW&&t!==r.DOWN_ARROW||n.setFocusOrigin("keyboard"),n.onKeydown(e)}},T.prototype.focusFirstItem=function(e){void 0===e&&(e="program");var t=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(o.take(1)).subscribe(function(){return t.setFocusOrigin(e).setFirstItemActive()}):t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}},T.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},T.prototype.setElevation=function(e){var t="mat-elevation-z"+(4+e),n=Object.keys(this._classList).find(function(e){return e.startsWith("mat-elevation-z")});n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)},T.prototype.setPositionClasses=function(e,t){void 0===e&&(e=this.xPosition),void 0===t&&(t=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t},T.prototype._startAnimation=function(){this._panelAnimationState="enter"},T.prototype._resetAnimation=function(){this._panelAnimationState="void"},T.prototype._onAnimationDone=function(e){this._animationDone.next(e),this._isAnimating=!1},T.prototype._onAnimationStart=function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)},T.prototype._updateDirectDescendants=function(){var t=this;this._allItems.changes.pipe(o.startWith(this._allItems)).subscribe(function(e){t._directDescendantItems.reset(e.filter(function(e){return e._parentMenu===t})),t._directDescendantItems.notifyOnChanges()})},T.ctorParameters=function(){return[{type:u.ElementRef},{type:u.NgZone},{type:void 0,decorators:[{type:u.Inject,args:[O]}]}]},T.propDecorators={_allItems:[{type:u.ContentChildren,args:[S,{descendants:!0}]}],backdropClass:[{type:u.Input}],xPosition:[{type:u.Input}],yPosition:[{type:u.Input}],templateRef:[{type:u.ViewChild,args:[u.TemplateRef,{static:!1}]}],items:[{type:u.ContentChildren,args:[S]}],lazyContent:[{type:u.ContentChild,args:[g,{static:!1}]}],overlapTrigger:[{type:u.Input}],hasBackdrop:[{type:u.Input}],panelClass:[{type:u.Input,args:["class"]}],classList:[{type:u.Input}],closed:[{type:u.Output}],close:[{type:u.Output}]},T);function T(e,t,n){this._elementRef=e,this._ngZone=t,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new u.QueryList,this._tabSubscription=c.Subscription.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new c.Subject,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new u.EventEmitter,this.close=this.closed}var I,P=(I=D,f.__extends(A,I),A);function A(){return null!==I&&I.apply(this,arguments)||this}var M,R=(M=P,f.__extends(N,M),N.decorators=[{type:u.Component,args:[{moduleId:module.id,selector:"mat-menu",template:'<ng-template>\n  <div\n    class="mat-menu-panel"\n    [ngClass]="_classList"\n    (keydown)="_handleKeydown($event)"\n    (click)="closed.emit(\'click\')"\n    [@transformMenu]="_panelAnimationState"\n    (@transformMenu.start)="_onAnimationStart($event)"\n    (@transformMenu.done)="_onAnimationDone($event)"\n    tabindex="-1"\n    role="menu">\n    <div class="mat-menu-content">\n      <ng-content></ng-content>\n    </div>\n  </div>\n</ng-template>\n',changeDetection:u.ChangeDetectionStrategy.OnPush,encapsulation:u.ViewEncapsulation.None,exportAs:"matMenu",animations:[m.transformMenu,m.fadeInItems],providers:[{provide:x,useExisting:P},{provide:P,useExisting:N}],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media(-ms-high-contrast: active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media(-ms-high-contrast: active){.mat-menu-item.cdk-program-focused,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item-highlighted{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}/*# sourceMappingURL=menu.css.map */\n']}]}],N.ctorParameters=function(){return[{type:u.ElementRef},{type:u.NgZone},{type:void 0,decorators:[{type:u.Inject,args:[O]}]}]},N);function N(e,t,n){return M.call(this,e,t,n)||this}var j=new u.InjectionToken("mat-menu-scroll-strategy");function F(e){return function(){return e.scrollStrategies.reposition()}}var L={provide:j,deps:[d.Overlay],useFactory:F},V=h.normalizePassiveListenerOptions({passive:!0}),B=(Object.defineProperty(U.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(e){this.menu=e},enumerable:!0,configurable:!0}),Object.defineProperty(U.prototype,"menu",{get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.asObservable().subscribe(function(e){t._destroyMenu(),"click"!==e&&"tab"!==e||!t._parentMenu||t._parentMenu.closed.emit(e)})))},enumerable:!0,configurable:!0}),U.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},U.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,V),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(U.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(U.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),U.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},U.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},U.prototype.openMenu=function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof P&&this.menu._startAnimation()}},U.prototype.closeMenu=function(){this.menu.close.emit()},U.prototype.focus=function(e,t){void 0===e&&(e="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)},U.prototype._destroyMenu=function(){var e=this;if(this._overlayRef&&this.menuOpen){var t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),t instanceof P?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(o.filter(function(e){return"void"===e.toState}),o.take(1),o.takeUntil(t.lazyContent._attached)).subscribe({next:function(){return t.lazyContent.detach()},complete:function(){return e._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach()),this._restoreFocus()}},U.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},U.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}},U.prototype._restoreFocus=function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},U.prototype._setIsMenuOpen=function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)},U.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n    Example:\n      <mat-menu #menu="matMenu"></mat-menu>\n      <button [matMenuTriggerFor]="menu"></button>')}()},U.prototype._createOverlay=function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},U.prototype._getOverlayConfig=function(){return new d.OverlayConfig({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},U.prototype._subscribeToPositions=function(e){var r=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){var t="start"===e.connectionPair.overlayX?"after":"before",n="top"===e.connectionPair.overlayY?"below":"above";r.menu.setPositionClasses(t,n)})},U.prototype._setPosition=function(e){var t=f.__read("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],r=t[1],i=f.__read("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=i[0],a=i[1],s=f.__read([o,a],2),l=s[0],u=s[1],c=f.__read([n,r],2),p=c[0],d=c[1],h=0;this.triggersSubmenu()?(d=n="before"===this.menu.xPosition?"start":"end",r=p="end"===n?"start":"end",h="bottom"===o?8:-8):this.menu.overlapTrigger||(l="top"===o?"bottom":"top",u="top"===a?"bottom":"top"),e.withPositions([{originX:n,originY:l,overlayX:p,overlayY:o,offsetY:h},{originX:r,originY:l,overlayX:d,overlayY:o,offsetY:h},{originX:n,originY:u,overlayX:p,overlayY:a,offsetY:-h},{originX:r,originY:u,overlayX:d,overlayY:a,offsetY:-h}])},U.prototype._menuClosingActions=function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),r=this._parentMenu?this._parentMenu.closed:c.of(),i=this._parentMenu?this._parentMenu._hovered().pipe(o.filter(function(e){return e!==t._menuItemInstance}),o.filter(function(){return t._menuOpen})):c.of();return c.merge(e,r,i,n)},U.prototype._handleMousedown=function(e){t.isFakeMousedownFromScreenReader(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())},U.prototype._handleKeydown=function(e){var t=e.keyCode;this.triggersSubmenu()&&(t===r.RIGHT_ARROW&&"ltr"===this.dir||t===r.LEFT_ARROW&&"rtl"===this.dir)&&this.openMenu()},U.prototype._handleClick=function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()},U.prototype._handleHover=function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(o.filter(function(e){return e===t._menuItemInstance&&!e.disabled}),o.delay(0,c.asapScheduler)).subscribe(function(){t._openedBy="mouse",t.menu instanceof P&&t.menu._isAnimating?t.menu._animationDone.pipe(o.take(1),o.delay(0,c.asapScheduler),o.takeUntil(t._parentMenu._hovered())).subscribe(function(){return t.openMenu()}):t.openMenu()}))},U.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new a.TemplatePortal(this.menu.templateRef,this._viewContainerRef)),this._portal},U.decorators=[{type:u.Directive,args:[{selector:"[mat-menu-trigger-for], [matMenuTriggerFor]",host:{class:"mat-menu-trigger","aria-haspopup":"true","[attr.aria-expanded]":"menuOpen || null","(mousedown)":"_handleMousedown($event)","(keydown)":"_handleKeydown($event)","(click)":"_handleClick($event)"},exportAs:"matMenuTrigger"}]}],U.ctorParameters=function(){return[{type:d.Overlay},{type:u.ElementRef},{type:u.ViewContainerRef},{type:void 0,decorators:[{type:u.Inject,args:[j]}]},{type:P,decorators:[{type:u.Optional}]},{type:S,decorators:[{type:u.Optional},{type:u.Self}]},{type:p.Directionality,decorators:[{type:u.Optional}]},{type:t.FocusMonitor}]},U.propDecorators={_deprecatedMatMenuTriggerFor:[{type:u.Input,args:["mat-menu-trigger-for"]}],menu:[{type:u.Input,args:["matMenuTriggerFor"]}],menuData:[{type:u.Input,args:["matMenuTriggerData"]}],restoreFocus:[{type:u.Input,args:["matMenuTriggerRestoreFocus"]}],menuOpened:[{type:u.Output}],onMenuOpen:[{type:u.Output}],menuClosed:[{type:u.Output}],onMenuClose:[{type:u.Output}]},U);function U(e,t,n,r,i,o,a,s){var l=this;this._overlay=e,this._element=t,this._viewContainerRef=n,this._parentMenu=i,this._menuItemInstance=o,this._dir=a,this._focusMonitor=s,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=c.Subscription.EMPTY,this._hoverSubscription=c.Subscription.EMPTY,this._menuCloseSubscription=c.Subscription.EMPTY,this._handleTouchStart=function(){return l._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new u.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new u.EventEmitter,this.onMenuClose=this.menuClosed,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,V),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}var z=(q.decorators=[{type:u.NgModule,args:[{exports:[B,g,l.MatCommonModule],declarations:[B,g],providers:[L]}]}],q);function q(){}var H=(W.decorators=[{type:u.NgModule,args:[{imports:[s.CommonModule,l.MatCommonModule,l.MatRippleModule,d.OverlayModule,z],exports:[R,S,z],declarations:[R,S],providers:[L]}]}],W);function W(){}e.ɵangular_material_src_material_menu_menu_a=k,e.ɵangular_material_src_material_menu_menu_b=F,e.ɵangular_material_src_material_menu_menu_c=L,e.MatMenu=P,e.MAT_MENU_DEFAULT_OPTIONS=O,e._MatMenu=R,e._MatMenuBase=D,e.MatMenuItem=S,e.MatMenuTrigger=B,e.MAT_MENU_SCROLL_STRATEGY=j,e.MAT_MENU_PANEL=x,e._MatMenuDirectivesModule=z,e.MatMenuModule=H,e.matMenuAnimations=m,e.fadeInItems=v,e.transformMenu=y,e.MatMenuContent=g,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/common"),require("@angular/core"),require("@angular/material/button"),require("@angular/material/select"),require("@angular/material/tooltip"),require("tslib"),require("@angular/cdk/coercion"),require("rxjs"),require("@angular/material/core")):System.registerDynamic("npm:@angular/material/bundles/material-paginator.umd.js",["@angular/common","@angular/core","@angular/material/button","@angular/material/select","@angular/material/tooltip","tslib","@angular/cdk/coercion","rxjs","@angular/material/core"],!1,function(e,t,n){return r.call(t,t,e("@angular/common"),e("@angular/core"),e("@angular/material/button"),e("@angular/material/select"),e("@angular/material/tooltip"),e("tslib"),e("@angular/cdk/coercion"),e("rxjs"),e("@angular/material/core"))})}(0,function(e,t,r,n,i,o,a,s,l,u){"use strict";var c=(p.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],p.ngInjectableDef=r.ɵɵdefineInjectable({factory:function(){return new p},token:p,providedIn:"root"}),p);function p(){this.changes=new l.Subject,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(e,t,n){if(0==n||0==t)return"0 of "+n;var r=e*t;return 1+r+" – "+(r<(n=Math.max(n,0))?Math.min(r+t,n):r+t)+" of "+n}}function d(e){return e||new c}function h(){}function f(){}var m,v={provide:c,deps:[[new r.Optional,new r.SkipSelf,c]],useFactory:d},y=u.mixinDisabled(u.mixinInitialized(f)),g=(m=y,a.__extends(_,m),Object.defineProperty(_.prototype,"pageIndex",{get:function(){return this._pageIndex},set:function(e){this._pageIndex=Math.max(s.coerceNumberProperty(e),0),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"length",{get:function(){return this._length},set:function(e){this._length=s.coerceNumberProperty(e),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"pageSize",{get:function(){return this._pageSize},set:function(e){this._pageSize=Math.max(s.coerceNumberProperty(e),0),this._updateDisplayedPageSizeOptions()},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"pageSizeOptions",{get:function(){return this._pageSizeOptions},set:function(e){this._pageSizeOptions=(e||[]).map(function(e){return s.coerceNumberProperty(e)}),this._updateDisplayedPageSizeOptions()},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"hidePageSize",{get:function(){return this._hidePageSize},set:function(e){this._hidePageSize=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"showFirstLastButtons",{get:function(){return this._showFirstLastButtons},set:function(e){this._showFirstLastButtons=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),_.prototype.ngOnInit=function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()},_.prototype.ngOnDestroy=function(){this._intlChanges.unsubscribe()},_.prototype.nextPage=function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}},_.prototype.previousPage=function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}},_.prototype.firstPage=function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}},_.prototype.lastPage=function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}},_.prototype.hasPreviousPage=function(){return 1<=this.pageIndex&&0!=this.pageSize},_.prototype.hasNextPage=function(){var e=this.getNumberOfPages()-1;return this.pageIndex<e&&0!=this.pageSize},_.prototype.getNumberOfPages=function(){return this.pageSize?Math.ceil(this.length/this.pageSize):0},_.prototype._changePageSize=function(e){var t=this.pageIndex*this.pageSize,n=this.pageIndex;this.pageIndex=Math.floor(t/e)||0,this.pageSize=e,this._emitPageEvent(n)},_.prototype._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()},_.prototype._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()},_.prototype._updateDisplayedPageSizeOptions=function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(e,t){return e-t}),this._changeDetectorRef.markForCheck())},_.prototype._emitPageEvent=function(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})},_.decorators=[{type:r.Component,args:[{moduleId:module.id,selector:"mat-paginator",exportAs:"matPaginator",template:'<div class="mat-paginator-outer-container">\n  <div class="mat-paginator-container">\n    <div class="mat-paginator-page-size" *ngIf="!hidePageSize">\n      <div class="mat-paginator-page-size-label">\n        {{_intl.itemsPerPageLabel}}\n      </div>\n\n      <mat-form-field\n        *ngIf="_displayedPageSizeOptions.length > 1"\n        [color]="color"\n        class="mat-paginator-page-size-select">\n        <mat-select\n          [value]="pageSize"\n          [disabled]="disabled"\n          [aria-label]="_intl.itemsPerPageLabel"\n          (selectionChange)="_changePageSize($event.value)">\n          <mat-option *ngFor="let pageSizeOption of _displayedPageSizeOptions" [value]="pageSizeOption">\n            {{pageSizeOption}}\n          </mat-option>\n        </mat-select>\n      </mat-form-field>\n\n      <div *ngIf="_displayedPageSizeOptions.length <= 1">{{pageSize}}</div>\n    </div>\n\n    <div class="mat-paginator-range-actions">\n      <div class="mat-paginator-range-label">\n        {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n      </div>\n\n      <button mat-icon-button type="button"\n              class="mat-paginator-navigation-first"\n              (click)="firstPage()"\n              [attr.aria-label]="_intl.firstPageLabel"\n              [matTooltip]="_intl.firstPageLabel"\n              [matTooltipDisabled]="_previousButtonsDisabled()"\n              [matTooltipPosition]="\'above\'"\n              [disabled]="_previousButtonsDisabled()"\n              *ngIf="showFirstLastButtons">\n        <svg class="mat-paginator-icon" viewBox="0 0 24 24" focusable="false">\n          <path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"/>\n        </svg>\n      </button>\n      <button mat-icon-button type="button"\n              class="mat-paginator-navigation-previous"\n              (click)="previousPage()"\n              [attr.aria-label]="_intl.previousPageLabel"\n              [matTooltip]="_intl.previousPageLabel"\n              [matTooltipDisabled]="_previousButtonsDisabled()"\n              [matTooltipPosition]="\'above\'"\n              [disabled]="_previousButtonsDisabled()">\n        <svg class="mat-paginator-icon" viewBox="0 0 24 24" focusable="false">\n          <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>\n        </svg>\n      </button>\n      <button mat-icon-button type="button"\n              class="mat-paginator-navigation-next"\n              (click)="nextPage()"\n              [attr.aria-label]="_intl.nextPageLabel"\n              [matTooltip]="_intl.nextPageLabel"\n              [matTooltipDisabled]="_nextButtonsDisabled()"\n              [matTooltipPosition]="\'above\'"\n              [disabled]="_nextButtonsDisabled()">\n        <svg class="mat-paginator-icon" viewBox="0 0 24 24" focusable="false">\n          <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>\n        </svg>\n      </button>\n      <button mat-icon-button type="button"\n              class="mat-paginator-navigation-last"\n              (click)="lastPage()"\n              [attr.aria-label]="_intl.lastPageLabel"\n              [matTooltip]="_intl.lastPageLabel"\n              [matTooltipDisabled]="_nextButtonsDisabled()"\n              [matTooltipPosition]="\'above\'"\n              [disabled]="_nextButtonsDisabled()"\n              *ngIf="showFirstLastButtons">\n        <svg class="mat-paginator-icon" viewBox="0 0 24 24" focusable="false">\n          <path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"/>\n        </svg>\n      </button>\n    </div>\n  </div>\n</div>\n',inputs:["disabled"],host:{class:"mat-paginator"},changeDetection:r.ChangeDetectionStrategy.OnPush,encapsulation:r.ViewEncapsulation.None,styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}/*# sourceMappingURL=paginator.css.map */\n"]}]}],_.ctorParameters=function(){return[{type:c},{type:r.ChangeDetectorRef}]},_.propDecorators={color:[{type:r.Input}],pageIndex:[{type:r.Input}],length:[{type:r.Input}],pageSize:[{type:r.Input}],pageSizeOptions:[{type:r.Input}],hidePageSize:[{type:r.Input}],showFirstLastButtons:[{type:r.Input}],page:[{type:r.Output}]},_);function _(e,t){var n=m.call(this)||this;return n._intl=e,n._changeDetectorRef=t,n._pageIndex=0,n._length=0,n._pageSizeOptions=[],n._hidePageSize=!1,n._showFirstLastButtons=!1,n.page=new r.EventEmitter,n._intlChanges=e.changes.subscribe(function(){return n._changeDetectorRef.markForCheck()}),n}var b=(w.decorators=[{type:r.NgModule,args:[{imports:[t.CommonModule,n.MatButtonModule,i.MatSelectModule,o.MatTooltipModule],exports:[g],declarations:[g],providers:[v]}]}],w);function w(){}e.MatPaginatorModule=b,e.PageEvent=h,e.MatPaginator=g,e.MatPaginatorIntl=c,e.MAT_PAGINATOR_INTL_PROVIDER_FACTORY=d,e.MAT_PAGINATOR_INTL_PROVIDER=v,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/common"),require("@angular/material/core"),require("tslib"),require("rxjs"),require("rxjs/operators"),require("@angular/platform-browser/animations")):System.registerDynamic("npm:@angular/material/bundles/material-progress-bar.umd.js",["@angular/core","@angular/common","@angular/material/core","tslib","rxjs","rxjs/operators","@angular/platform-browser/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/common"),e("@angular/material/core"),e("tslib"),e("rxjs"),e("rxjs/operators"),e("@angular/platform-browser/animations"))})}(0,function(e,a,n,t,r,s,i,o){"use strict";function l(e){this._elementRef=e}var u=t.mixinColor(l,"primary"),c=new a.InjectionToken("mat-progress-bar-location",{providedIn:"root",factory:p});function p(){var e=a.inject(n.DOCUMENT),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}var d,h=0,f=(d=u,r.__extends(m,d),Object.defineProperty(m.prototype,"value",{get:function(){return this._value},set:function(e){this._value=v(e||0),this._isNoopAnimation&&this._emitAnimationEnd()},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"bufferValue",{get:function(){return this._bufferValue},set:function(e){this._bufferValue=v(e||0)},enumerable:!0,configurable:!0}),m.prototype._primaryTransform=function(){return{transform:"scaleX("+this.value/100+")"}},m.prototype._bufferTransform=function(){if("buffer"===this.mode)return{transform:"scaleX("+this.bufferValue/100+")"}},m.prototype.ngAfterViewInit=function(){var e=this;this._isNoopAnimation||this._ngZone.runOutsideAngular(function(){var t=e._primaryValueBar.nativeElement;e._animationEndSubscription=s.fromEvent(t,"transitionend").pipe(i.filter(function(e){return e.target===t})).subscribe(function(){return e._ngZone.run(function(){return e._emitAnimationEnd()})})})},m.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()},m.prototype._emitAnimationEnd=function(){"determinate"!==this.mode&&"buffer"!==this.mode||this.animationEnd.next({value:this.value})},m.decorators=[{type:a.Component,args:[{moduleId:module.id,selector:"mat-progress-bar",exportAs:"matProgressBar",host:{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","[attr.aria-valuenow]":'(mode === "indeterminate" || mode === "query") ? null : value',"[attr.mode]":"mode",class:"mat-progress-bar","[class._mat-animation-noopable]":"_isNoopAnimation"},inputs:["color"],template:'\x3c!--\n  The background div is named as such because it appears below the other divs and is not sized based\n  on values.\n--\x3e\n<svg width="100%" height="4" focusable="false" class="mat-progress-bar-background mat-progress-bar-element">\n  <defs>\n    <pattern [id]="progressbarId" x="4" y="0" width="8" height="4" patternUnits="userSpaceOnUse">\n      <circle cx="2" cy="2" r="2"/>\n    </pattern>\n  </defs>\n  <rect [attr.fill]="_rectangleFillValue" width="100%" height="100%"/>\n</svg>\n<div class="mat-progress-bar-buffer mat-progress-bar-element" [ngStyle]="_bufferTransform()"></div>\n<div class="mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element" [ngStyle]="_primaryTransform()" #primaryValueBar></div>\n<div class="mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element"></div>\n',changeDetection:a.ChangeDetectionStrategy.OnPush,encapsulation:a.ViewEncapsulation.None,styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}@media(-ms-high-contrast: active){.mat-progress-bar .mat-progress-bar-background{display:none}}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}@media(-ms-high-contrast: active){.mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}@media(-ms-high-contrast: active){.mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition:none}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}/*# sourceMappingURL=progress-bar.css.map */\n']}]}],m.ctorParameters=function(){return[{type:a.ElementRef},{type:a.NgZone},{type:String,decorators:[{type:a.Optional},{type:a.Inject,args:[o.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[c]}]}]},m.propDecorators={value:[{type:a.Input}],bufferValue:[{type:a.Input}],_primaryValueBar:[{type:a.ViewChild,args:["primaryValueBar",{static:!1}]}],animationEnd:[{type:a.Output}],mode:[{type:a.Input}]},m);function m(e,t,n,r){var i=d.call(this,e)||this;i._elementRef=e,i._ngZone=t,i._animationMode=n,i._isNoopAnimation=!1,i._value=0,i._bufferValue=0,i.animationEnd=new a.EventEmitter,i._animationEndSubscription=s.Subscription.EMPTY,i.mode="determinate",i.progressbarId="mat-progress-bar-"+h++;var o=r?r.getPathname().split("#")[0]:"";return i._rectangleFillValue="url('"+o+"#"+i.progressbarId+"')",i._isNoopAnimation="NoopAnimations"===n,i}function v(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=100),Math.max(t,Math.min(n,e))}var y=(g.decorators=[{type:a.NgModule,args:[{imports:[n.CommonModule,t.MatCommonModule],exports:[f,t.MatCommonModule],declarations:[f]}]}],g);function g(){}e.MatProgressBarModule=y,e.MAT_PROGRESS_BAR_LOCATION=c,e.MAT_PROGRESS_BAR_LOCATION_FACTORY=p,e.MatProgressBar=f,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/common"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/coercion"),require("@angular/cdk/platform"),require("@angular/platform-browser/animations")):System.registerDynamic("npm:@angular/material/bundles/material-progress-spinner.umd.js",["@angular/core","@angular/common","@angular/material/core","tslib","@angular/cdk/coercion","@angular/cdk/platform","@angular/platform-browser/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/common"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/coercion"),e("@angular/cdk/platform"),e("@angular/platform-browser/animations"))})}(0,function(e,t,n,r,i,o,a,s){"use strict";function l(e){this._elementRef=e}var u=r.mixinColor(l,"primary"),c=new t.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:p});function p(){return{diameter:100}}var d,h=(d=u,i.__extends(f,d),Object.defineProperty(f.prototype,"diameter",{get:function(){return this._diameter},set:function(e){this._diameter=o.coerceNumberProperty(e),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(e){this._strokeWidth=o.coerceNumberProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(e){this._value=Math.max(0,Math.min(100,o.coerceNumberProperty(e)))},enumerable:!0,configurable:!0}),f.prototype.ngOnInit=function(){var e=this._elementRef.nativeElement;this._styleRoot=function(e,t){if("undefined"!=typeof window){var n=t.head;if(n&&(n.createShadowRoot||n.attachShadow)){var r=e.getRootNode?e.getRootNode():null;if(r instanceof window.ShadowRoot)return r}}return null}(e,this._document)||this._document.head,this._attachStyleNode();var t="mat-progress-spinner-indeterminate"+(this._fallbackAnimation?"-fallback":"")+"-animation";e.classList.add(t)},Object.defineProperty(f.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"_viewBox",{get:function(){var e=2*this._circleRadius+this.strokeWidth;return"0 0 "+e+" "+e},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"_strokeDashOffset",{get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),f.prototype._attachStyleNode=function(){var e=this._styleRoot,t=this._diameter,n=f._diameters,r=n.get(e);if(!r||!r.has(t)){var i=this._document.createElement("style");i.setAttribute("mat-spinner-animation",t+""),i.textContent=this._getAnimationText(),e.appendChild(i),r||(r=new Set,n.set(e,r)),r.add(t)}},f.prototype._getAnimationText=function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)},f._diameters=new WeakMap,f.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-progress-spinner",exportAs:"matProgressSpinner",host:{role:"progressbar",class:"mat-progress-spinner","[class._mat-animation-noopable]":"_noopAnimations","[style.width.px]":"diameter","[style.height.px]":"diameter","[attr.aria-valuemin]":'mode === "determinate" ? 0 : null',"[attr.aria-valuemax]":'mode === "determinate" ? 100 : null',"[attr.aria-valuenow]":'mode === "determinate" ? value : null',"[attr.mode]":"mode"},inputs:["color"],template:'\x3c!--\n  preserveAspectRatio of xMidYMid meet as the center of the viewport is the circle\'s\n  center. The center of the circle will remain at the center of the mat-progress-spinner\n  element containing the SVG. `focusable="false"` prevents IE from allowing the user to\n  tab into the SVG element.\n--\x3e\n\n<svg\n  [style.width.px]="diameter"\n  [style.height.px]="diameter"\n  [attr.viewBox]="_viewBox"\n  preserveAspectRatio="xMidYMid meet"\n  focusable="false"\n  [ngSwitch]="mode === \'indeterminate\'">\n\n  \x3c!--\n    Technically we can reuse the same `circle` element, however Safari has an issue that breaks\n    the SVG rendering in determinate mode, after switching between indeterminate and determinate.\n    Using a different element avoids the issue. An alternative to this is adding `display: none`\n    for a split second and then removing it when switching between modes, but it\'s hard to know\n    for how long to hide the element and it can cause the UI to blink.\n  --\x3e\n  <circle\n    *ngSwitchCase="true"\n    cx="50%"\n    cy="50%"\n    [attr.r]="_circleRadius"\n    [style.animation-name]="\'mat-progress-spinner-stroke-rotate-\' + diameter"\n    [style.stroke-dashoffset.px]="_strokeDashOffset"\n    [style.stroke-dasharray.px]="_strokeCircumference"\n    [style.stroke-width.%]="_circleStrokeWidth"></circle>\n\n  <circle\n    *ngSwitchCase="false"\n    cx="50%"\n    cy="50%"\n    [attr.r]="_circleRadius"\n    [style.stroke-dashoffset.px]="_strokeDashOffset"\n    [style.stroke-dasharray.px]="_strokeCircumference"\n    [style.stroke-width.%]="_circleStrokeWidth"></circle>\n</svg>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}/*# sourceMappingURL=progress-spinner.css.map */\n"]}]}],f.ctorParameters=function(){return[{type:t.ElementRef},{type:a.Platform},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[n.DOCUMENT]}]},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[s.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:t.Inject,args:[c]}]}]},f.propDecorators={diameter:[{type:t.Input}],strokeWidth:[{type:t.Input}],mode:[{type:t.Input}],value:[{type:t.Input}]},f);function f(e,t,n,r,i){var o=d.call(this,e)||this;o._elementRef=e,o._document=n,o._diameter=100,o._value=0,o._fallbackAnimation=!1,o.mode="determinate";var a=f._diameters;return a.has(n.head)||a.set(n.head,new Set([100])),o._fallbackAnimation=t.EDGE||t.TRIDENT,o._noopAnimations="NoopAnimations"===r&&!!i&&!i._forceAnimations,i&&(i.diameter&&(o.diameter=i.diameter),i.strokeWidth&&(o.strokeWidth=i.strokeWidth)),o}var m,v=(m=h,i.__extends(y,m),y.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-spinner",host:{role:"progressbar",mode:"indeterminate",class:"mat-spinner mat-progress-spinner","[class._mat-animation-noopable]":"_noopAnimations","[style.width.px]":"diameter","[style.height.px]":"diameter"},inputs:["color"],template:'\x3c!--\n  preserveAspectRatio of xMidYMid meet as the center of the viewport is the circle\'s\n  center. The center of the circle will remain at the center of the mat-progress-spinner\n  element containing the SVG. `focusable="false"` prevents IE from allowing the user to\n  tab into the SVG element.\n--\x3e\n\n<svg\n  [style.width.px]="diameter"\n  [style.height.px]="diameter"\n  [attr.viewBox]="_viewBox"\n  preserveAspectRatio="xMidYMid meet"\n  focusable="false"\n  [ngSwitch]="mode === \'indeterminate\'">\n\n  \x3c!--\n    Technically we can reuse the same `circle` element, however Safari has an issue that breaks\n    the SVG rendering in determinate mode, after switching between indeterminate and determinate.\n    Using a different element avoids the issue. An alternative to this is adding `display: none`\n    for a split second and then removing it when switching between modes, but it\'s hard to know\n    for how long to hide the element and it can cause the UI to blink.\n  --\x3e\n  <circle\n    *ngSwitchCase="true"\n    cx="50%"\n    cy="50%"\n    [attr.r]="_circleRadius"\n    [style.animation-name]="\'mat-progress-spinner-stroke-rotate-\' + diameter"\n    [style.stroke-dashoffset.px]="_strokeDashOffset"\n    [style.stroke-dasharray.px]="_strokeCircumference"\n    [style.stroke-width.%]="_circleStrokeWidth"></circle>\n\n  <circle\n    *ngSwitchCase="false"\n    cx="50%"\n    cy="50%"\n    [attr.r]="_circleRadius"\n    [style.stroke-dashoffset.px]="_strokeDashOffset"\n    [style.stroke-dasharray.px]="_strokeCircumference"\n    [style.stroke-width.%]="_circleStrokeWidth"></circle>\n</svg>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}/*# sourceMappingURL=progress-spinner.css.map */\n"]}]}],y.ctorParameters=function(){return[{type:t.ElementRef},{type:a.Platform},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[n.DOCUMENT]}]},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[s.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:t.Inject,args:[c]}]}]},y);function y(e,t,n,r,i){var o=m.call(this,e,t,n,r,i)||this;return o.mode="indeterminate",o}var g=(_.decorators=[{type:t.NgModule,args:[{imports:[r.MatCommonModule,n.CommonModule],exports:[h,v,r.MatCommonModule],declarations:[h,v]}]}],_);function _(){}e.MatProgressSpinner=h,e.MatSpinner=v,e.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS=c,e.MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY=p,e.MatProgressSpinnerModule=g,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/a11y"),require("@angular/cdk/coercion"),require("@angular/cdk/collections"),require("@angular/forms"),require("@angular/platform-browser/animations")):System.registerDynamic("npm:@angular/material/bundles/material-radio.umd.js",["@angular/common","@angular/core","@angular/material/core","tslib","@angular/cdk/a11y","@angular/cdk/coercion","@angular/cdk/collections","@angular/forms","@angular/platform-browser/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/common"),e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/a11y"),e("@angular/cdk/coercion"),e("@angular/cdk/collections"),e("@angular/forms"),e("@angular/platform-browser/animations"))})}(0,function(e,t,l,n,r,i,o,a,s,u){"use strict";var c=new l.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:p});function p(){return{color:"accent"}}var d=0,h={provide:s.NG_VALUE_ACCESSOR,useExisting:l.forwardRef(function(){return m}),multi:!0},f=function(e,t){this.source=e,this.value=t},m=(Object.defineProperty(v.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e,this._updateRadioButtonNames()},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"value",{get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())},enumerable:!0,configurable:!0}),v.prototype._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)},Object.defineProperty(v.prototype,"selected",{get:function(){return this._selected},set:function(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=o.coerceBooleanProperty(e),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"required",{get:function(){return this._required},set:function(e){this._required=o.coerceBooleanProperty(e),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),v.prototype.ngAfterContentInit=function(){this._isInitialized=!0},v.prototype._touch=function(){this.onTouched&&this.onTouched()},v.prototype._updateRadioButtonNames=function(){var t=this;this._radios&&this._radios.forEach(function(e){e.name=t.name,e._markForCheck()})},v.prototype._updateSelectedRadioFromValue=function(){var t=this,e=null!==this._selected&&this._selected.value===this._value;this._radios&&!e&&(this._selected=null,this._radios.forEach(function(e){e.checked=t.value===e.value,e.checked&&(t._selected=e)}))},v.prototype._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new f(this._selected,this._value))},v.prototype._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(e){return e._markForCheck()})},v.prototype.writeValue=function(e){this.value=e,this._changeDetector.markForCheck()},v.prototype.registerOnChange=function(e){this._controlValueAccessorChangeFn=e},v.prototype.registerOnTouched=function(e){this.onTouched=e},v.prototype.setDisabledState=function(e){this.disabled=e,this._changeDetector.markForCheck()},v.decorators=[{type:l.Directive,args:[{selector:"mat-radio-group",exportAs:"matRadioGroup",providers:[h],host:{role:"radiogroup",class:"mat-radio-group"}}]}],v.ctorParameters=function(){return[{type:l.ChangeDetectorRef}]},v.propDecorators={change:[{type:l.Output}],_radios:[{type:l.ContentChildren,args:[l.forwardRef(function(){return b}),{descendants:!0}]}],color:[{type:l.Input}],name:[{type:l.Input}],labelPosition:[{type:l.Input}],value:[{type:l.Input}],selected:[{type:l.Input}],disabled:[{type:l.Input}],required:[{type:l.Input}]},v);function v(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+d++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new l.EventEmitter}function y(e){this._elementRef=e}var g,_=n.mixinDisableRipple(n.mixinTabIndex(y)),b=(g=_,r.__extends(w,g),Object.defineProperty(w.prototype,"checked",{get:function(){return this._checked},set:function(e){var t=o.coerceBooleanProperty(e);this._checked!==t&&((this._checked=t)&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"value",{get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"labelPosition",{get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(e){this._labelPosition=e},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"disabled",{get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(e){var t=o.coerceBooleanProperty(e);this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"required",{get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(e){this._required=o.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"color",{get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(e){this._color=e},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),w.prototype.focus=function(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)},w.prototype._markForCheck=function(){this._changeDetector.markForCheck()},w.prototype.ngOnInit=function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)},w.prototype.ngAfterViewInit=function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){!e&&t.radioGroup&&t.radioGroup._touch()})},w.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()},w.prototype._emitChangeEvent=function(){this.change.emit(new f(this,this._value))},w.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},w.prototype._onInputClick=function(e){e.stopPropagation()},w.prototype._onInputChange=function(e){e.stopPropagation();var t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())},w.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-radio-button",template:'\x3c!-- TODO(jelbourn): render the radio on either side of the content --\x3e\n\x3c!-- TODO(mtlin): Evaluate trade-offs of using native radio vs. cost of additional bindings. --\x3e\n<label [attr.for]="inputId" class="mat-radio-label" #label>\n  \x3c!-- The actual \'radio\' part of the control. --\x3e\n  <div class="mat-radio-container">\n    <div class="mat-radio-outer-circle"></div>\n    <div class="mat-radio-inner-circle"></div>\n    <div mat-ripple class="mat-radio-ripple"\n         [matRippleTrigger]="label"\n         [matRippleDisabled]="_isRippleDisabled()"\n         [matRippleCentered]="true"\n         [matRippleRadius]="20"\n         [matRippleAnimation]="{enterDuration: 150}">\n\n      <div class="mat-ripple-element mat-radio-persistent-ripple"></div>\n    </div>\n\n    <input #input class="mat-radio-input cdk-visually-hidden" type="radio"\n        [id]="inputId"\n        [checked]="checked"\n        [disabled]="disabled"\n        [tabIndex]="tabIndex"\n        [attr.name]="name"\n        [attr.value]="value"\n        [required]="required"\n        [attr.aria-label]="ariaLabel"\n        [attr.aria-labelledby]="ariaLabelledby"\n        [attr.aria-describedby]="ariaDescribedby"\n        (change)="_onInputChange($event)"\n        (click)="_onInputClick($event)">\n  </div>\n\n  \x3c!-- The label content for radio control. --\x3e\n  <div class="mat-radio-label-content" [class.mat-radio-label-before]="labelPosition == \'before\'">\n    \x3c!-- Add an invisible span so JAWS can read the label --\x3e\n    <span style="display:none">&nbsp;</span>\n    <ng-content></ng-content>\n  </div>\n</label>\n',inputs:["disableRipple","tabIndex"],encapsulation:l.ViewEncapsulation.None,exportAs:"matRadioButton",host:{class:"mat-radio-button","[class.mat-radio-checked]":"checked","[class.mat-radio-disabled]":"disabled","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"',"[class.mat-primary]":'color === "primary"',"[class.mat-accent]":'color === "accent"',"[class.mat-warn]":'color === "warn"',"[attr.tabindex]":"-1","[attr.id]":"id","[attr.aria-label]":"null","[attr.aria-labelledby]":"null","[attr.aria-describedby]":"null","(focus)":"_inputElement.nativeElement.focus()"},changeDetection:l.ChangeDetectionStrategy.OnPush,styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}@media(-ms-high-contrast: active){.mat-radio-checked .mat-radio-inner-circle{border:solid 10px}}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}@media(-ms-high-contrast: active){.mat-radio-disabled{opacity:.5}}/*# sourceMappingURL=radio.css.map */\n"]}]}],w.ctorParameters=function(){return[{type:m,decorators:[{type:l.Optional}]},{type:l.ElementRef},{type:l.ChangeDetectorRef},{type:i.FocusMonitor},{type:a.UniqueSelectionDispatcher},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[u.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[c]}]}]},w.propDecorators={id:[{type:l.Input}],name:[{type:l.Input}],ariaLabel:[{type:l.Input,args:["aria-label"]}],ariaLabelledby:[{type:l.Input,args:["aria-labelledby"]}],ariaDescribedby:[{type:l.Input,args:["aria-describedby"]}],checked:[{type:l.Input}],value:[{type:l.Input}],labelPosition:[{type:l.Input}],disabled:[{type:l.Input}],required:[{type:l.Input}],color:[{type:l.Input}],change:[{type:l.Output}],_inputElement:[{type:l.ViewChild,args:["input",{static:!1}]}]},w);function w(e,t,n,r,i,o,a){var s=g.call(this,t)||this;return s._changeDetector=n,s._focusMonitor=r,s._radioDispatcher=i,s._animationMode=o,s._providerOverride=a,s._uniqueId="mat-radio-"+ ++d,s.id=s._uniqueId,s.change=new l.EventEmitter,s._checked=!1,s._value=null,s._removeUniqueSelectionListener=function(){},s.radioGroup=e,s._removeUniqueSelectionListener=i.listen(function(e,t){e!==s.id&&t===s.name&&(s.checked=!1)}),s}var x=(C.decorators=[{type:l.NgModule,args:[{imports:[t.CommonModule,n.MatRippleModule,n.MatCommonModule],exports:[m,b,n.MatCommonModule],declarations:[m,b]}]}],C);function C(){}e.MatRadioModule=x,e.MAT_RADIO_DEFAULT_OPTIONS=c,e.MAT_RADIO_DEFAULT_OPTIONS_FACTORY=p,e.MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR=h,e.MatRadioChange=f,e.MatRadioGroup=m,e.MatRadioButton=b,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/common"),require("@angular/core"),require("@angular/cdk/observers"),require("tslib"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/material/core"),require("rxjs"),require("rxjs/operators"),require("@angular/animations"),require("@angular/cdk/platform"),require("@angular/platform-browser/animations")):System.registerDynamic("npm:@angular/material/bundles/material-form-field.umd.js",["@angular/common","@angular/core","@angular/cdk/observers","tslib","@angular/cdk/bidi","@angular/cdk/coercion","@angular/material/core","rxjs","rxjs/operators","@angular/animations","@angular/cdk/platform","@angular/platform-browser/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/common"),e("@angular/core"),e("@angular/cdk/observers"),e("tslib"),e("@angular/cdk/bidi"),e("@angular/cdk/coercion"),e("@angular/material/core"),e("rxjs"),e("rxjs/operators"),e("@angular/animations"),e("@angular/cdk/platform"),e("@angular/platform-browser/animations"))})}(0,function(e,t,n,r,m,i,o,a,u,s,l,c,p){"use strict";var d=0,h=(f.decorators=[{type:n.Directive,args:[{selector:"mat-error",host:{class:"mat-error",role:"alert","[attr.id]":"id"}}]}],f.propDecorators={id:[{type:n.Input}]},f);function f(){this.id="mat-error-"+d++}function v(){}var y={transitionMessages:l.trigger("transitionMessages",[l.state("enter",l.style({opacity:1,transform:"translateY(0%)"})),l.transition("void => enter",[l.style({opacity:0,transform:"translateY(-100%)"}),l.animate("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};function g(){return Error("Placeholder attribute and child element were both specified.")}function _(e){return Error("A hint was already declared for 'align=\""+e+"\"'.")}function b(){return Error("mat-form-field must contain a MatFormFieldControl.")}var w=0,x=(C.decorators=[{type:n.Directive,args:[{selector:"mat-hint",host:{class:"mat-hint","[class.mat-right]":'align == "end"',"[attr.id]":"id","[attr.align]":"null"}}]}],C.propDecorators={align:[{type:n.Input}],id:[{type:n.Input}]},C);function C(){this.align="start",this.id="mat-hint-"+w++}var S=(E.decorators=[{type:n.Directive,args:[{selector:"mat-label"}]}],E);function E(){}var O=(k.decorators=[{type:n.Directive,args:[{selector:"mat-placeholder"}]}],k);function k(){}var D=(T.decorators=[{type:n.Directive,args:[{selector:"[matPrefix]"}]}],T);function T(){}var I=(P.decorators=[{type:n.Directive,args:[{selector:"[matSuffix]"}]}],P);function P(){}function A(e){this._elementRef=e}var M,R=0,N=a.mixinColor(A,"primary"),j=new n.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),F=(M=N,m.__extends(L,M),Object.defineProperty(L.prototype,"appearance",{get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=o.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"_control",{get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"_labelChild",{get:function(){return this._labelChildNonStatic||this._labelChildStatic},enumerable:!0,configurable:!0}),L.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},L.prototype.ngAfterContentInit=function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(s.startWith(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(s.takeUntil(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.asObservable().pipe(s.takeUntil(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),u.merge(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(s.startWith(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(s.startWith(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(s.takeUntil(this._destroyed)).subscribe(function(){e.updateOutlineGap(),e._previousDirection=e._dir.value})},L.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},L.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},L.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},L.prototype._shouldForward=function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]},L.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},L.prototype._hasLabel=function(){return!!this._labelChild},L.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},L.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},L.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},L.prototype._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"},L.prototype._animateAndLockLabel=function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,u.fromEvent(this._label.nativeElement,"transitionend").pipe(s.take(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},L.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw g()},L.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},L.prototype._validateHints=function(){var t,n,r=this;this._hintChildren&&this._hintChildren.forEach(function(e){if("start"===e.align){if(t||r.hintLabel)throw _("start");t=e}else if("end"===e.align){if(n)throw _("end");n=e}})},L.prototype._syncDescribedByIds=function(){if(this._control){var e=[];if("hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,n=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&(e=this._errorChildren.map(function(e){return e.id}));this._control.setDescribedByIds(e)}},L.prototype._validateControlChild=function(){if(!this._control)throw b()},L.prototype.updateOutlineGap=function(){var t,e,n=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&n&&n.children.length&&n.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var r=0,i=0,o=this._connectionContainerRef.nativeElement,a=o.querySelectorAll(".mat-form-field-outline-start"),s=o.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var l=o.getBoundingClientRect();if(0===l.width&&0===l.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var u=this._getStartEnd(l),c=this._getStartEnd(n.children[0].getBoundingClientRect()),p=0;try{for(var d=m.__values(n.children),h=d.next();!h.done;h=d.next())p+=h.value.offsetWidth}catch(e){t={error:e}}finally{try{h&&!h.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}r=c-u-5,i=0<p?.75*p+10:0}for(var f=0;f<a.length;f++)a.item(f).style.width=r+"px";for(f=0;f<s.length;f++)s.item(f).style.width=i+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0},L.prototype._getStartEnd=function(e){return"rtl"===this._previousDirection?e.right:e.left},L.decorators=[{type:n.Component,args:[{moduleId:module.id,selector:"mat-form-field",exportAs:"matFormField",template:'<div class="mat-form-field-wrapper">\n  <div class="mat-form-field-flex" #connectionContainer\n       (click)="_control.onContainerClick && _control.onContainerClick($event)">\n\n    \x3c!-- Outline used for outline appearance. --\x3e\n    <ng-container *ngIf="appearance == \'outline\'">\n      <div class="mat-form-field-outline">\n        <div class="mat-form-field-outline-start"></div>\n        <div class="mat-form-field-outline-gap"></div>\n        <div class="mat-form-field-outline-end"></div>\n      </div>\n      <div class="mat-form-field-outline mat-form-field-outline-thick">\n        <div class="mat-form-field-outline-start"></div>\n        <div class="mat-form-field-outline-gap"></div>\n        <div class="mat-form-field-outline-end"></div>\n      </div>\n    </ng-container>\n\n    <div class="mat-form-field-prefix" *ngIf="_prefixChildren.length">\n      <ng-content select="[matPrefix]"></ng-content>\n    </div>\n\n    <div class="mat-form-field-infix" #inputContainer>\n      <ng-content></ng-content>\n\n      <span class="mat-form-field-label-wrapper">\n        \x3c!-- We add aria-owns as a workaround for an issue in JAWS & NVDA where the label isn\'t\n             read if it comes before the control in the DOM. --\x3e\n        <label class="mat-form-field-label"\n               (cdkObserveContent)="updateOutlineGap()"\n               [cdkObserveContentDisabled]="appearance != \'outline\'"\n               [id]="_labelId"\n               [attr.for]="_control.id"\n               [attr.aria-owns]="_control.id"\n               [class.mat-empty]="_control.empty && !_shouldAlwaysFloat"\n               [class.mat-form-field-empty]="_control.empty && !_shouldAlwaysFloat"\n               [class.mat-accent]="color == \'accent\'"\n               [class.mat-warn]="color == \'warn\'"\n               #label\n               *ngIf="_hasFloatingLabel()"\n               [ngSwitch]="_hasLabel()">\n\n          \x3c!-- @breaking-change 8.0.0 remove in favor of mat-label element an placeholder attr. --\x3e\n          <ng-container *ngSwitchCase="false">\n            <ng-content select="mat-placeholder"></ng-content>\n            <span>{{_control.placeholder}}</span>\n          </ng-container>\n\n          <ng-content select="mat-label" *ngSwitchCase="true"></ng-content>\n\n          \x3c!-- @breaking-change 8.0.0 remove `mat-placeholder-required` class --\x3e\n          <span\n            class="mat-placeholder-required mat-form-field-required-marker"\n            aria-hidden="true"\n            *ngIf="!hideRequiredMarker && _control.required && !_control.disabled">&#32;*</span>\n        </label>\n      </span>\n    </div>\n\n    <div class="mat-form-field-suffix" *ngIf="_suffixChildren.length">\n      <ng-content select="[matSuffix]"></ng-content>\n    </div>\n  </div>\n\n  \x3c!-- Underline used for legacy, standard, and box appearances. --\x3e\n  <div class="mat-form-field-underline" #underline\n       *ngIf="appearance != \'outline\'">\n    <span class="mat-form-field-ripple"\n          [class.mat-accent]="color == \'accent\'"\n          [class.mat-warn]="color == \'warn\'"></span>\n  </div>\n\n  <div class="mat-form-field-subscript-wrapper"\n       [ngSwitch]="_getDisplayedMessages()">\n    <div *ngSwitchCase="\'error\'" [@transitionMessages]="_subscriptAnimationState">\n      <ng-content select="mat-error"></ng-content>\n    </div>\n\n    <div class="mat-form-field-hint-wrapper" *ngSwitchCase="\'hint\'"\n      [@transitionMessages]="_subscriptAnimationState">\n      \x3c!-- TODO(mmalerba): use an actual <mat-hint> once all selectors are switched to mat-* --\x3e\n      <div *ngIf="hintLabel" [id]="_hintLabelId" class="mat-hint">{{hintLabel}}</div>\n      <ng-content select="mat-hint:not([align=\'end\'])"></ng-content>\n      <div class="mat-form-field-hint-spacer"></div>\n      <ng-content select="mat-hint[align=\'end\']"></ng-content>\n    </div>\n  </div>\n</div>\n',animations:[y.transitionMessages],host:{class:"mat-form-field","[class.mat-form-field-appearance-standard]":'appearance == "standard"',"[class.mat-form-field-appearance-fill]":'appearance == "fill"',"[class.mat-form-field-appearance-outline]":'appearance == "outline"',"[class.mat-form-field-appearance-legacy]":'appearance == "legacy"',"[class.mat-form-field-invalid]":"_control.errorState","[class.mat-form-field-can-float]":"_canLabelFloat","[class.mat-form-field-should-float]":"_shouldLabelFloat()","[class.mat-form-field-has-label]":"_hasFloatingLabel()","[class.mat-form-field-hide-placeholder]":"_hideControlPlaceholder()","[class.mat-form-field-disabled]":"_control.disabled","[class.mat-form-field-autofilled]":"_control.autofilled","[class.mat-focused]":"_control.focused","[class.mat-accent]":'color == "accent"',"[class.mat-warn]":'color == "warn"',"[class.ng-untouched]":'_shouldForward("untouched")',"[class.ng-touched]":'_shouldForward("touched")',"[class.ng-pristine]":'_shouldForward("pristine")',"[class.ng-dirty]":'_shouldForward("dirty")',"[class.ng-valid]":'_shouldForward("valid")',"[class.ng-invalid]":'_shouldForward("invalid")',"[class.ng-pending]":'_shouldForward("pending")',"[class._mat-animation-noopable]":"!_animationsEnabled"},inputs:["color"],encapsulation:n.ViewEncapsulation.None,changeDetection:n.ChangeDetectionStrategy.OnPush,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media(-ms-high-contrast: active){.mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}/*# sourceMappingURL=form-field.css.map */\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media(-ms-high-contrast: active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media(-ms-high-contrast: active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}/*# sourceMappingURL=form-field-fill.css.map */\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}@media(-ms-high-contrast: active){.mat-focused select.mat-input-element::-ms-value{color:inherit}}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}/*# sourceMappingURL=form-field-input.css.map */\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media(-ms-high-contrast: active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media(-ms-high-contrast: active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media(-ms-high-contrast: active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}/*# sourceMappingURL=form-field-legacy.css.map */\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px;transition:border-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}/*# sourceMappingURL=form-field-outline.css.map */\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media(-ms-high-contrast: active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media(-ms-high-contrast: active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media(-ms-high-contrast: active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}/*# sourceMappingURL=form-field-standard.css.map */\n"]}]}],L.ctorParameters=function(){return[{type:n.ElementRef},{type:n.ChangeDetectorRef},{type:void 0,decorators:[{type:n.Optional},{type:n.Inject,args:[a.MAT_LABEL_GLOBAL_OPTIONS]}]},{type:i.Directionality,decorators:[{type:n.Optional}]},{type:void 0,decorators:[{type:n.Optional},{type:n.Inject,args:[j]}]},{type:c.Platform},{type:n.NgZone},{type:String,decorators:[{type:n.Optional},{type:n.Inject,args:[p.ANIMATION_MODULE_TYPE]}]}]},L.propDecorators={appearance:[{type:n.Input}],hideRequiredMarker:[{type:n.Input}],hintLabel:[{type:n.Input}],floatLabel:[{type:n.Input}],underlineRef:[{type:n.ViewChild,args:["underline",{static:!1}]}],_connectionContainerRef:[{type:n.ViewChild,args:["connectionContainer",{static:!0}]}],_inputContainerRef:[{type:n.ViewChild,args:["inputContainer",{static:!1}]}],_label:[{type:n.ViewChild,args:["label",{static:!1}]}],_controlNonStatic:[{type:n.ContentChild,args:[v,{static:!1}]}],_controlStatic:[{type:n.ContentChild,args:[v,{static:!0}]}],_labelChildNonStatic:[{type:n.ContentChild,args:[S,{static:!1}]}],_labelChildStatic:[{type:n.ContentChild,args:[S,{static:!0}]}],_placeholderChild:[{type:n.ContentChild,args:[O,{static:!1}]}],_errorChildren:[{type:n.ContentChildren,args:[h]}],_hintChildren:[{type:n.ContentChildren,args:[x]}],_prefixChildren:[{type:n.ContentChildren,args:[D]}],_suffixChildren:[{type:n.ContentChildren,args:[I]}]},L);function L(e,t,n,r,i,o,a,s){var l=M.call(this,e)||this;return l._elementRef=e,l._changeDetectorRef=t,l._dir=r,l._defaults=i,l._platform=o,l._ngZone=a,l._outlineGapCalculationNeededImmediately=!1,l._outlineGapCalculationNeededOnStable=!1,l._destroyed=new u.Subject,l._showAlwaysAnimate=!1,l._subscriptAnimationState="",l._hintLabel="",l._hintLabelId="mat-hint-"+R++,l._labelId="mat-form-field-label-"+R++,l._previousDirection="ltr",l._labelOptions=n||{},l.floatLabel=l._labelOptions.float||"auto",l._animationsEnabled="NoopAnimations"!==s,l.appearance=i&&i.appearance?i.appearance:"legacy",l._hideRequiredMarker=!(!i||null==i.hideRequiredMarker)&&i.hideRequiredMarker,l}var V=(B.decorators=[{type:n.NgModule,args:[{declarations:[h,F,x,S,O,D,I],imports:[t.CommonModule,r.ObserversModule],exports:[h,F,x,S,O,D,I]}]}],B);function B(){}e.MatFormFieldModule=V,e.MatError=h,e.MAT_FORM_FIELD_DEFAULT_OPTIONS=j,e.MatFormField=F,e.MatFormFieldControl=v,e.getMatFormFieldPlaceholderConflictError=g,e.getMatFormFieldDuplicatedHintError=_,e.getMatFormFieldMissingControlError=b,e.MatHint=x,e.MatPlaceholder=O,e.MatPrefix=D,e.MatSuffix=I,e.MatLabel=S,e.matFormFieldAnimations=y,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/overlay"),require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("@angular/material/form-field"),require("tslib"),require("@angular/cdk/a11y"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/cdk/collections"),require("@angular/cdk/keycodes"),require("@angular/cdk/scrolling"),require("@angular/forms"),require("rxjs"),require("rxjs/operators"),require("@angular/animations")):System.registerDynamic("npm:@angular/material/bundles/material-select.umd.js",["@angular/cdk/overlay","@angular/common","@angular/core","@angular/material/core","@angular/material/form-field","tslib","@angular/cdk/a11y","@angular/cdk/bidi","@angular/cdk/coercion","@angular/cdk/collections","@angular/cdk/keycodes","@angular/cdk/scrolling","@angular/forms","rxjs","rxjs/operators","@angular/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/overlay"),e("@angular/common"),e("@angular/core"),e("@angular/material/core"),e("@angular/material/form-field"),e("tslib"),e("@angular/cdk/a11y"),e("@angular/cdk/bidi"),e("@angular/cdk/coercion"),e("@angular/cdk/collections"),e("@angular/cdk/keycodes"),e("@angular/cdk/scrolling"),e("@angular/forms"),e("rxjs"),e("rxjs/operators"),e("@angular/animations"))})}(0,function(e,t,n,f,a,r,m,i,o,s,l,u,c,p,v,y,d){"use strict";var h={transformPanelWrap:d.trigger("transformPanelWrap",[d.transition("* => void",d.query("@transformPanel",[d.animateChild()],{optional:!0}))]),transformPanel:d.trigger("transformPanel",[d.state("void",d.style({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),d.state("showing",d.style({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),d.state("showing-multiple",d.style({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),d.transition("void => *",d.animate("120ms cubic-bezier(0, 0, 0.2, 1)")),d.transition("* => void",d.animate("100ms 25ms linear",d.style({opacity:0})))]),fadeInContent:d.trigger("fadeInContent",[d.state("showing",d.style({opacity:1})),d.transition("void => showing",[d.style({opacity:0}),d.animate("150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},g=h.transformPanel,_=h.fadeInContent;var b=0,w=new f.InjectionToken("mat-select-scroll-strategy");function x(e){return function(){return e.scrollStrategies.reposition()}}function C(e,t,n,r,i){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i}var S={provide:w,deps:[t.Overlay],useFactory:x},E=function(e,t){this.source=e,this.value=t},O=a.mixinDisableRipple(a.mixinTabIndex(a.mixinDisabled(a.mixinErrorState(C)))),k=(D.decorators=[{type:f.Directive,args:[{selector:"mat-select-trigger"}]}],D);function D(){}var T,I=(T=O,m.__extends(P,T),Object.defineProperty(P.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(e){this._focused=e},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"placeholder",{get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"required",{get:function(){return this._required},set:function(e){this._required=s.coerceBooleanProperty(e),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"multiple",{get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"value",{get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),P.prototype.ngOnInit=function(){var e=this;this._selectionModel=new l.SelectionModel(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(y.distinctUntilChanged(),y.takeUntil(this._destroy)).subscribe(function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(y.takeUntil(this._destroy)).subscribe(function(){e._panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})},P.prototype.ngAfterContentInit=function(){var e=this;this._initKeyManager(),this._selectionModel.onChange.pipe(y.takeUntil(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe(y.startWith(null),y.takeUntil(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})},P.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},P.prototype.ngOnChanges=function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)},P.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},P.prototype.toggle=function(){this.panelOpen?this.close():this.open()},P.prototype.open=function(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(y.take(1)).subscribe(function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize=e._triggerFontSize+"px")}))},P.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},P.prototype.writeValue=function(e){this.options&&this._setSelectionByValue(e)},P.prototype.registerOnChange=function(e){this._onChange=e},P.prototype.registerOnTouched=function(e){this._onTouched=e},P.prototype.setDisabledState=function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(P.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),P.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},P.prototype._handleKeydown=function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))},P.prototype._handleClosedKeydown=function(e){var t=e.keyCode,n=t===u.DOWN_ARROW||t===u.UP_ARROW||t===u.LEFT_ARROW||t===u.RIGHT_ARROW,r=t===u.ENTER||t===u.SPACE,i=this._keyManager;if(r&&!u.hasModifierKey(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;t===u.HOME||t===u.END?(t===u.HOME?i.setFirstItemActive():i.setLastItemActive(),e.preventDefault()):i.onKeydown(e);var a=this.selected;this._liveAnnouncer&&a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}},P.prototype._handleOpenKeydown=function(e){var t=e.keyCode,n=t===u.DOWN_ARROW||t===u.UP_ARROW,r=this._keyManager;if(t===u.HOME||t===u.END)e.preventDefault(),t===u.HOME?r.setFirstItemActive():r.setLastItemActive();else if(n&&e.altKey)e.preventDefault(),this.close();else if(t!==u.ENTER&&t!==u.SPACE||!r.activeItem||u.hasModifierKey(e))if(this._multiple&&t===u.A&&e.ctrlKey){e.preventDefault();var i=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(i?e.select():e.deselect())})}else{var o=r.activeItemIndex;r.onKeydown(e),this._multiple&&n&&e.shiftKey&&r.activeItem&&r.activeItemIndex!==o&&r.activeItem._selectViaInteraction()}else e.preventDefault(),r.activeItem._selectViaInteraction()},P.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},P.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},P.prototype._onAttached=function(){var e=this;this.overlayDir.positionChange.pipe(y.take(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop})},P.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(P.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),P.prototype._initializeSelection=function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})},P.prototype._setSelectionByValue=function(e){var t=this;if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach(function(e){return t._selectValue(e)}),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(e);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()},P.prototype._selectValue=function(t){var n=this,e=this.options.find(function(e){try{return null!=e.value&&n._compareWith(e.value,t)}catch(e){return f.isDevMode()&&console.warn(e),!1}});return e&&this._selectionModel.select(e),e},P.prototype._initKeyManager=function(){var e=this;this._keyManager=new i.ActiveDescendantKeyManager(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(y.takeUntil(this._destroy)).subscribe(function(){e.focus(),e.close()}),this._keyManager.change.pipe(y.takeUntil(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})},P.prototype._resetOptions=function(){var t=this,e=v.merge(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(y.takeUntil(e)).subscribe(function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())}),v.merge.apply(void 0,m.__spread(this.options.map(function(e){return e._stateChanges}))).pipe(y.takeUntil(e)).subscribe(function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()}),this._setOptionIds()},P.prototype._onSelect=function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()},P.prototype._sortValues=function(){var n=this;if(this.multiple){var r=this.options.toArray();this._selectionModel.sort(function(e,t){return n.sortComparator?n.sortComparator(e,t,r):r.indexOf(e)-r.indexOf(t)}),this.stateChanges.next()}},P.prototype._propagateChanges=function(e){var t=null;t=this.multiple?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new E(this,t)),this._changeDetectorRef.markForCheck()},P.prototype._setOptionIds=function(){this._optionIds=this.options.map(function(e){return e.id}).join(" ")},P.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},P.prototype._scrollActiveOptionIntoView=function(){var e=this._keyManager.activeItemIndex||0,t=a._countGroupLabelsBeforeOption(e,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=a._getOptionScrollPosition(e+t,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)},P.prototype.focus=function(e){this._elementRef.nativeElement.focus(e)},P.prototype._getOptionIndex=function(r){return this.options.reduce(function(e,t,n){return void 0===e?r===t?n:void 0:e},void 0)},P.prototype._calculateOverlayPosition=function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),r=t*e-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=a._countGroupLabelsBeforeOption(i,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)},P.prototype._calculateOverlayScroll=function(e,t,n){var r=this._getItemHeight(),i=r*e-t+r/2;return Math.min(Math.max(0,i),n)},P.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},P.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},P.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},P.prototype._calculateOverlayOffsetX=function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?56:32;if(this.multiple)e=40;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}r||(e*=-1);var a=0-(t.left+e-(r?i:0)),s=t.right+e-n.width+(r?0:i);0<a?e+=8+a:0<s&&(e-=8+s),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()},P.prototype._calculateOverlayOffsetY=function(e,t,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,a=Math.floor(256/i);return this._disableOptionCentering?0:(r=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-a))*i+(i-(this._getItemCount()*i-256)%i):t-i/2,Math.round(-1*r-o))},P.prototype._checkOverlayWithinViewport=function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;i<a?this._adjustPanelUp(a,i):r<o?this._adjustPanelDown(o,r,e):this._transformOrigin=this._getOriginBasedOnOption()},P.prototype._adjustPanelUp=function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},P.prototype._adjustPanelDown=function(e,t,n){var r=Math.round(e-t);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},P.prototype._getOriginBasedOnOption=function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-t+e/2)+"px 0px"},P.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},P.prototype._getItemHeight=function(){return 3*this._triggerFontSize},P.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},P.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(P.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),P.decorators=[{type:f.Component,args:[{moduleId:module.id,selector:"mat-select",exportAs:"matSelect",template:'<div cdk-overlay-origin\n     class="mat-select-trigger"\n     aria-hidden="true"\n     (click)="toggle()"\n     #origin="cdkOverlayOrigin"\n     #trigger>\n  <div class="mat-select-value" [ngSwitch]="empty">\n    <span class="mat-select-placeholder" *ngSwitchCase="true">{{placeholder || \'\\u00A0\'}}</span>\n    <span class="mat-select-value-text" *ngSwitchCase="false" [ngSwitch]="!!customTrigger">\n      <span *ngSwitchDefault>{{triggerValue || \'\\u00A0\'}}</span>\n      <ng-content select="mat-select-trigger" *ngSwitchCase="true"></ng-content>\n    </span>\n  </div>\n\n  <div class="mat-select-arrow-wrapper"><div class="mat-select-arrow"></div></div>\n</div>\n\n<ng-template\n  cdk-connected-overlay\n  cdkConnectedOverlayLockPosition\n  cdkConnectedOverlayHasBackdrop\n  cdkConnectedOverlayBackdropClass="cdk-overlay-transparent-backdrop"\n  [cdkConnectedOverlayScrollStrategy]="_scrollStrategy"\n  [cdkConnectedOverlayOrigin]="origin"\n  [cdkConnectedOverlayOpen]="panelOpen"\n  [cdkConnectedOverlayPositions]="_positions"\n  [cdkConnectedOverlayMinWidth]="_triggerRect?.width"\n  [cdkConnectedOverlayOffsetY]="_offsetY"\n  (backdropClick)="close()"\n  (attach)="_onAttached()"\n  (detach)="close()">\n  <div class="mat-select-panel-wrap" [@transformPanelWrap]>\n    <div\n      #panel\n      class="mat-select-panel {{ _getPanelTheme() }}"\n      [ngClass]="panelClass"\n      [@transformPanel]="multiple ? \'showing-multiple\' : \'showing\'"\n      (@transformPanel.done)="_panelDoneAnimatingStream.next($event.toState)"\n      [style.transformOrigin]="_transformOrigin"\n      [style.font-size.px]="_triggerFontSize"\n      (keydown)="_handleKeydown($event)">\n      <ng-content></ng-content>\n    </div>\n  </div>\n</ng-template>\n',inputs:["disabled","disableRipple","tabIndex"],encapsulation:f.ViewEncapsulation.None,changeDetection:f.ChangeDetectionStrategy.OnPush,host:{role:"listbox","[attr.id]":"id","[attr.tabindex]":"tabIndex","[attr.aria-label]":"_getAriaLabel()","[attr.aria-labelledby]":"_getAriaLabelledby()","[attr.aria-required]":"required.toString()","[attr.aria-disabled]":"disabled.toString()","[attr.aria-invalid]":"errorState","[attr.aria-owns]":"panelOpen ? _optionIds : null","[attr.aria-multiselectable]":"multiple","[attr.aria-describedby]":"_ariaDescribedby || null","[attr.aria-activedescendant]":"_getAriaActiveDescendant()","[class.mat-select-disabled]":"disabled","[class.mat-select-invalid]":"errorState","[class.mat-select-required]":"required","[class.mat-select-empty]":"empty",class:"mat-select","(keydown)":"_handleKeydown($event)","(focus)":"_onFocus()","(blur)":"_onBlur()"},animations:[h.transformPanelWrap,h.transformPanel],providers:[{provide:r.MatFormFieldControl,useExisting:P},{provide:a.MAT_OPTION_PARENT_COMPONENT,useExisting:P}],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media(-ms-high-contrast: active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}/*# sourceMappingURL=select.css.map */\n"]}]}],P.ctorParameters=function(){return[{type:c.ViewportRuler},{type:f.ChangeDetectorRef},{type:f.NgZone},{type:a.ErrorStateMatcher},{type:f.ElementRef},{type:o.Directionality,decorators:[{type:f.Optional}]},{type:p.NgForm,decorators:[{type:f.Optional}]},{type:p.FormGroupDirective,decorators:[{type:f.Optional}]},{type:r.MatFormField,decorators:[{type:f.Optional}]},{type:p.NgControl,decorators:[{type:f.Self},{type:f.Optional}]},{type:String,decorators:[{type:f.Attribute,args:["tabindex"]}]},{type:void 0,decorators:[{type:f.Inject,args:[w]}]},{type:i.LiveAnnouncer}]},P.propDecorators={trigger:[{type:f.ViewChild,args:["trigger",{static:!1}]}],panel:[{type:f.ViewChild,args:["panel",{static:!1}]}],overlayDir:[{type:f.ViewChild,args:[t.CdkConnectedOverlay,{static:!1}]}],options:[{type:f.ContentChildren,args:[a.MatOption,{descendants:!0}]}],optionGroups:[{type:f.ContentChildren,args:[a.MatOptgroup]}],panelClass:[{type:f.Input}],customTrigger:[{type:f.ContentChild,args:[k,{static:!1}]}],placeholder:[{type:f.Input}],required:[{type:f.Input}],multiple:[{type:f.Input}],disableOptionCentering:[{type:f.Input}],compareWith:[{type:f.Input}],value:[{type:f.Input}],ariaLabel:[{type:f.Input,args:["aria-label"]}],ariaLabelledby:[{type:f.Input,args:["aria-labelledby"]}],errorStateMatcher:[{type:f.Input}],typeaheadDebounceInterval:[{type:f.Input}],sortComparator:[{type:f.Input}],id:[{type:f.Input}],openedChange:[{type:f.Output}],_openedStream:[{type:f.Output,args:["opened"]}],_closedStream:[{type:f.Output,args:["closed"]}],selectionChange:[{type:f.Output}],valueChange:[{type:f.Output}]},P);function P(e,t,n,r,i,o,a,s,l,u,c,p,d){var h=T.call(this,i,r,a,s,u)||this;return h._viewportRuler=e,h._changeDetectorRef=t,h._ngZone=n,h._dir=o,h._parentFormField=l,h.ngControl=u,h._liveAnnouncer=d,h._panelOpen=!1,h._required=!1,h._scrollTop=0,h._multiple=!1,h._compareWith=function(e,t){return e===t},h._uid="mat-select-"+b++,h._destroy=new v.Subject,h._triggerFontSize=0,h._onChange=function(){},h._onTouched=function(){},h._optionIds="",h._transformOrigin="top",h._panelDoneAnimatingStream=new v.Subject,h._offsetY=0,h._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],h._disableOptionCentering=!1,h._focused=!1,h.controlType="mat-select",h.ariaLabel="",h.optionSelectionChanges=v.defer(function(){var e=h.options;return e?e.changes.pipe(y.startWith(e),y.switchMap(function(){return v.merge.apply(void 0,m.__spread(e.map(function(e){return e.onSelectionChange})))})):h._ngZone.onStable.asObservable().pipe(y.take(1),y.switchMap(function(){return h.optionSelectionChanges}))}),h.openedChange=new f.EventEmitter,h._openedStream=h.openedChange.pipe(y.filter(function(e){return e}),y.map(function(){})),h._closedStream=h.openedChange.pipe(y.filter(function(e){return!e}),y.map(function(){})),h.selectionChange=new f.EventEmitter,h.valueChange=new f.EventEmitter,h.ngControl&&(h.ngControl.valueAccessor=h),h._scrollStrategyFactory=p,h._scrollStrategy=h._scrollStrategyFactory(),h.tabIndex=parseInt(c)||0,h.id=h.id,h}var A=(M.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,t.OverlayModule,a.MatOptionModule,a.MatCommonModule],exports:[r.MatFormFieldModule,I,k,a.MatOptionModule,a.MatCommonModule],declarations:[I,k],providers:[S]}]}],M);function M(){}e.MatSelectModule=A,e.SELECT_PANEL_MAX_HEIGHT=256,e.SELECT_PANEL_PADDING_X=16,e.SELECT_PANEL_INDENT_PADDING_X=32,e.SELECT_ITEM_HEIGHT_EM=3,e.SELECT_MULTIPLE_PANEL_PADDING_X=40,e.SELECT_PANEL_VIEWPORT_PADDING=8,e.MAT_SELECT_SCROLL_STRATEGY=w,e.MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY=x,e.MAT_SELECT_SCROLL_STRATEGY_PROVIDER=S,e.MatSelectChange=E,e.MatSelectTrigger=k,e.MatSelect=I,e.matSelectAnimations=h,e.transformPanel=g,e.fadeInContent=_,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/platform"),require("@angular/cdk/scrolling"),require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/a11y"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("rxjs"),require("rxjs/operators"),require("@angular/animations"),require("@angular/platform-browser/animations")):System.registerDynamic("npm:@angular/material/bundles/material-sidenav.umd.js",["@angular/cdk/platform","@angular/cdk/scrolling","@angular/common","@angular/core","@angular/material/core","tslib","@angular/cdk/a11y","@angular/cdk/bidi","@angular/cdk/coercion","@angular/cdk/keycodes","rxjs","rxjs/operators","@angular/animations","@angular/platform-browser/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/platform"),e("@angular/cdk/scrolling"),e("@angular/common"),e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/a11y"),e("@angular/cdk/bidi"),e("@angular/cdk/coercion"),e("@angular/cdk/keycodes"),e("rxjs"),e("rxjs/operators"),e("@angular/animations"),e("@angular/platform-browser/animations"))})}(0,function(e,t,n,r,l,i,o,a,s,u,c,p,d,h,f){"use strict";var m={transformDrawer:h.trigger("transform",[h.state("open, open-instant",h.style({transform:"none",visibility:"visible"})),h.state("void",h.style({"box-shadow":"none",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)"))])};function v(e){throw Error("A drawer was already declared for 'position=\""+e+"\"'")}var y=new l.InjectionToken("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:g});function g(){return!1}var _,b=(_=n.CdkScrollable,o.__extends(w,_),w.prototype.ngAfterContentInit=function(){var e=this;this._container._contentMarginChanges.subscribe(function(){e._changeDetectorRef.markForCheck()})},w.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-drawer-content",template:"<ng-content></ng-content>",host:{class:"mat-drawer-content","[style.margin-left.px]":"_container._contentMargins.left","[style.margin-right.px]":"_container._contentMargins.right"},changeDetection:l.ChangeDetectionStrategy.OnPush,encapsulation:l.ViewEncapsulation.None}]}],w.ctorParameters=function(){return[{type:l.ChangeDetectorRef},{type:S,decorators:[{type:l.Inject,args:[l.forwardRef(function(){return S})]}]},{type:l.ElementRef},{type:n.ScrollDispatcher},{type:l.NgZone}]},w);function w(e,t,n,r,i){var o=_.call(this,n,r,i)||this;return o._changeDetectorRef=e,o._container=t,o}var x=(Object.defineProperty(C.prototype,"position",{get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"mode",{get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"disableClose",{get:function(){return this._disableClose},set:function(e){this._disableClose=u.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"autoFocus",{get:function(){return this._autoFocus},set:function(e){this._autoFocus=u.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(d.filter(function(e){return e}),d.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"openedStart",{get:function(){return this._animationStarted.pipe(d.filter(function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")}),d.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(d.filter(function(e){return!e}),d.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"closedStart",{get:function(){return this._animationStarted.pipe(d.filter(function(e){return e.fromState!==e.toState&&"void"===e.toState}),d.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"_isFocusTrapEnabled",{get:function(){return this.opened&&"side"!==this.mode},enumerable:!0,configurable:!0}),C.prototype._trapFocus=function(){var t=this;this.autoFocus&&this._focusTrap.focusInitialElementWhenReady().then(function(e){e||"function"!=typeof t._elementRef.nativeElement.focus||t._elementRef.nativeElement.focus()})},C.prototype._restoreFocus=function(){if(this.autoFocus){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}},C.prototype.ngAfterContentInit=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()},C.prototype.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)},C.prototype.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()},Object.defineProperty(C.prototype,"opened",{get:function(){return this._opened},set:function(e){this.toggle(u.coerceBooleanProperty(e))},enumerable:!0,configurable:!0}),C.prototype.open=function(e){return this.toggle(!0,e)},C.prototype.close=function(){return this.toggle(!1)},C.prototype.toggle=function(e,t){var n=this;return void 0===e&&(e=!this.opened),void 0===t&&(t="program"),(this._opened=e)?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=t):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(function(t){n.openedChange.pipe(d.take(1)).subscribe(function(e){return t(e?"open":"close")})})},Object.defineProperty(C.prototype,"_width",{get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0},enumerable:!0,configurable:!0}),C.prototype._updateFocusTrapState=function(){this._focusTrap&&(this._focusTrap.enabled=this._isFocusTrapEnabled)},C.prototype._animationStartListener=function(e){this._animationStarted.next(e)},C.prototype._animationDoneListener=function(e){this._animationEnd.next(e)},C.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-drawer",exportAs:"matDrawer",template:'<div class="mat-drawer-inner-container">\r\n  <ng-content></ng-content>\r\n</div>\r\n',animations:[m.transformDrawer],host:{class:"mat-drawer","[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"',"[class.mat-drawer-opened]":"opened",tabIndex:"-1"},changeDetection:l.ChangeDetectionStrategy.OnPush,encapsulation:l.ViewEncapsulation.None}]}],C.ctorParameters=function(){return[{type:l.ElementRef},{type:a.FocusTrapFactory},{type:a.FocusMonitor},{type:t.Platform},{type:l.NgZone},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[r.DOCUMENT]}]}]},C.propDecorators={position:[{type:l.Input}],mode:[{type:l.Input}],disableClose:[{type:l.Input}],autoFocus:[{type:l.Input}],_animationState:[{type:l.HostBinding,args:["@transform"]}],openedChange:[{type:l.Output}],_openedStream:[{type:l.Output,args:["opened"]}],openedStart:[{type:l.Output}],_closedStream:[{type:l.Output,args:["closed"]}],closedStart:[{type:l.Output}],onPositionChanged:[{type:l.Output,args:["positionChanged"]}],opened:[{type:l.Input}],_animationStartListener:[{type:l.HostListener,args:["@transform.start",["$event"]]}],_animationDoneListener:[{type:l.HostListener,args:["@transform.done",["$event"]]}]},C);function C(e,t,n,r,i,o){var a=this;this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=n,this._platform=r,this._ngZone=i,this._doc=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._autoFocus=!0,this._animationStarted=new p.Subject,this._animationEnd=new p.Subject,this._animationState="void",this.openedChange=new l.EventEmitter(!0),this._destroyed=new p.Subject,this.onPositionChanged=new l.EventEmitter,this._modeChanged=new p.Subject,this._opened=!1,this.openedChange.subscribe(function(e){e?(a._doc&&(a._elementFocusedBeforeDrawerWasOpened=a._doc.activeElement),a._isFocusTrapEnabled&&a._focusTrap&&a._trapFocus()):a._restoreFocus()}),this._ngZone.runOutsideAngular(function(){p.fromEvent(a._elementRef.nativeElement,"keydown").pipe(d.filter(function(e){return e.keyCode===c.ESCAPE&&!a.disableClose&&!c.hasModifierKey(e)}),d.takeUntil(a._destroyed)).subscribe(function(e){return a._ngZone.run(function(){a.close(),e.stopPropagation(),e.preventDefault()})})}),this._animationEnd.pipe(d.distinctUntilChanged(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&a.openedChange.emit(a._opened)})}var S=(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}),Object.defineProperty(E.prototype,"autosize",{get:function(){return this._autosize},set:function(e){this._autosize=u.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(E.prototype,"hasBackdrop",{get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:u.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(E.prototype,"scrollable",{get:function(){return this._userContent||this._content},enumerable:!0,configurable:!0}),E.prototype.ngAfterContentInit=function(){var t=this;this._drawers.changes.pipe(d.startWith(null)).subscribe(function(){t._validateDrawers(),t._drawers.forEach(function(e){t._watchDrawerToggle(e),t._watchDrawerPosition(e),t._watchDrawerMode(e)}),t._drawers.length&&!t._isDrawerOpen(t._start)&&!t._isDrawerOpen(t._end)||t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(d.debounceTime(10),d.takeUntil(this._destroyed)).subscribe(function(){return t.updateContentMargins()})},E.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._destroyed.next(),this._destroyed.complete()},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.updateContentMargins=function(){var e=this,t=0,n=0;if(this._left&&this._left.opened&&("side"==this._left.mode?t+=this._left._width:"push"==this._left.mode&&(t+=r=this._left._width,n-=r)),this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var r;n+=r=this._right._width,t-=r}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run(function(){return e._contentMarginChanges.next(e._contentMargins)}))},E.prototype.ngDoCheck=function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return e._doCheckSubject.next()})},E.prototype._watchDrawerToggle=function(e){var t=this;e._animationStarted.pipe(d.filter(function(e){return e.fromState!==e.toState}),d.takeUntil(this._drawers.changes)).subscribe(function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(d.takeUntil(this._drawers.changes)).subscribe(function(){return t._setContainerClass(e.opened)})},E.prototype._watchDrawerPosition=function(e){var t=this;e&&e.onPositionChanged.pipe(d.takeUntil(this._drawers.changes)).subscribe(function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(d.take(1)).subscribe(function(){t._validateDrawers()})})},E.prototype._watchDrawerMode=function(e){var t=this;e&&e._modeChanged.pipe(d.takeUntil(p.merge(this._drawers.changes,this._destroyed))).subscribe(function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()})},E.prototype._setContainerClass=function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)},E.prototype._validateDrawers=function(){var t=this;this._start=this._end=null,this._drawers.forEach(function(e){"end"==e.position?(null!=t._end&&v("end"),t._end=e):(null!=t._start&&v("start"),t._start=e)}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)},E.prototype._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode},E.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},E.prototype._closeModalDrawer=function(){var t=this;[this._start,this._end].filter(function(e){return e&&!e.disableClose&&t._canHaveBackdrop(e)}).forEach(function(e){return e.close()})},E.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)},E.prototype._canHaveBackdrop=function(e){return"side"!==e.mode||!!this._backdropOverride},E.prototype._isDrawerOpen=function(e){return null!=e&&e.opened},E.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-drawer-container",exportAs:"matDrawerContainer",template:'<div class="mat-drawer-backdrop" (click)="_onBackdropClicked()" *ngIf="hasBackdrop"\n     [class.mat-drawer-shown]="_isShowingBackdrop()"></div>\n\n<ng-content select="mat-drawer"></ng-content>\n\n<ng-content select="mat-drawer-content">\n</ng-content>\n<mat-drawer-content *ngIf="!_content">\n  <ng-content></ng-content>\n</mat-drawer-content>\n',host:{class:"mat-drawer-container","[class.mat-drawer-container-explicit-backdrop]":"_backdropOverride"},changeDetection:l.ChangeDetectionStrategy.OnPush,encapsulation:l.ViewEncapsulation.None,styles:[".mat-drawer-container{position:relative;z-index:1;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-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(-ms-high-contrast: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(-ms-high-contrast: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(-ms-high-contrast: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.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-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}/*# sourceMappingURL=drawer.css.map */\n"]}]}],E.ctorParameters=function(){return[{type:s.Directionality,decorators:[{type:l.Optional}]},{type:l.ElementRef},{type:l.NgZone},{type:l.ChangeDetectorRef},{type:n.ViewportRuler},{type:void 0,decorators:[{type:l.Inject,args:[y]}]},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[f.ANIMATION_MODULE_TYPE]}]}]},E.propDecorators={_drawers:[{type:l.ContentChildren,args:[x]}],_content:[{type:l.ContentChild,args:[b,{static:!1}]}],_userContent:[{type:l.ViewChild,args:[b,{static:!1}]}],autosize:[{type:l.Input}],hasBackdrop:[{type:l.Input}],backdropClick:[{type:l.Output}]},E);function E(e,t,n,r,i,o,a){var s=this;void 0===o&&(o=!1),this._dir=e,this._element=t,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=a,this.backdropClick=new l.EventEmitter,this._destroyed=new p.Subject,this._doCheckSubject=new p.Subject,this._contentMargins={left:null,right:null},this._contentMarginChanges=new p.Subject,e&&e.change.pipe(d.takeUntil(this._destroyed)).subscribe(function(){s._validateDrawers(),s.updateContentMargins()}),i.change().pipe(d.takeUntil(this._destroyed)).subscribe(function(){return s.updateContentMargins()}),this._autosize=o}var O,k=(O=b,o.__extends(D,O),D.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-sidenav-content",template:"<ng-content></ng-content>",host:{class:"mat-drawer-content mat-sidenav-content","[style.margin-left.px]":"_container._contentMargins.left","[style.margin-right.px]":"_container._contentMargins.right"},changeDetection:l.ChangeDetectionStrategy.OnPush,encapsulation:l.ViewEncapsulation.None}]}],D.ctorParameters=function(){return[{type:l.ChangeDetectorRef},{type:M,decorators:[{type:l.Inject,args:[l.forwardRef(function(){return M})]}]},{type:l.ElementRef},{type:n.ScrollDispatcher},{type:l.NgZone}]},D);function D(e,t,n,r,i){return O.call(this,e,t,n,r,i)||this}var T,I=(T=x,o.__extends(P,T),Object.defineProperty(P.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=u.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"fixedTopGap",{get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=u.coerceNumberProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"fixedBottomGap",{get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=u.coerceNumberProperty(e)},enumerable:!0,configurable:!0}),P.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-sidenav",exportAs:"matSidenav",template:'<div class="mat-drawer-inner-container">\r\n  <ng-content></ng-content>\r\n</div>\r\n',animations:[m.transformDrawer],host:{class:"mat-drawer mat-sidenav",tabIndex:"-1","[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"',"[class.mat-drawer-opened]":"opened","[class.mat-sidenav-fixed]":"fixedInViewport","[style.top.px]":"fixedInViewport ? fixedTopGap : null","[style.bottom.px]":"fixedInViewport ? fixedBottomGap : null"},changeDetection:l.ChangeDetectionStrategy.OnPush,encapsulation:l.ViewEncapsulation.None}]}],P.propDecorators={fixedInViewport:[{type:l.Input}],fixedTopGap:[{type:l.Input}],fixedBottomGap:[{type:l.Input}]},P);function P(){var e=null!==T&&T.apply(this,arguments)||this;return e._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}var A,M=(A=S,o.__extends(R,A),R.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-sidenav-container",exportAs:"matSidenavContainer",template:'<div class="mat-drawer-backdrop" (click)="_onBackdropClicked()" *ngIf="hasBackdrop"\n     [class.mat-drawer-shown]="_isShowingBackdrop()"></div>\n\n<ng-content select="mat-sidenav"></ng-content>\n\n<ng-content select="mat-sidenav-content">\n</ng-content>\n<mat-sidenav-content *ngIf="!_content" cdkScrollable>\n  <ng-content></ng-content>\n</mat-sidenav-content>\n',host:{class:"mat-drawer-container mat-sidenav-container","[class.mat-drawer-container-explicit-backdrop]":"_backdropOverride"},changeDetection:l.ChangeDetectionStrategy.OnPush,encapsulation:l.ViewEncapsulation.None,styles:[".mat-drawer-container{position:relative;z-index:1;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-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(-ms-high-contrast: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(-ms-high-contrast: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(-ms-high-contrast: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.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-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}/*# sourceMappingURL=drawer.css.map */\n"]}]}],R.propDecorators={_drawers:[{type:l.ContentChildren,args:[I]}],_content:[{type:l.ContentChild,args:[k,{static:!1}]}]},R);function R(){return null!==A&&A.apply(this,arguments)||this}var N=(j.decorators=[{type:l.NgModule,args:[{imports:[r.CommonModule,i.MatCommonModule,n.ScrollingModule,t.PlatformModule],exports:[i.MatCommonModule,x,S,b,I,M,k],declarations:[x,S,b,I,M,k]}]}],j);function j(){}e.MatSidenavModule=N,e.throwMatDuplicatedDrawerError=v,e.MAT_DRAWER_DEFAULT_AUTOSIZE=y,e.MAT_DRAWER_DEFAULT_AUTOSIZE_FACTORY=g,e.MatDrawerContent=b,e.MatDrawer=x,e.MatDrawerContainer=S,e.MatSidenavContent=k,e.MatSidenav=I,e.MatSidenavContainer=M,e.matDrawerAnimations=m,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/observers"),require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/a11y"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/forms"),require("@angular/platform-browser/animations")):System.registerDynamic("npm:@angular/material/bundles/material-slide-toggle.umd.js",["@angular/cdk/observers","@angular/core","@angular/material/core","tslib","@angular/cdk/a11y","@angular/cdk/bidi","@angular/cdk/coercion","@angular/forms","@angular/platform-browser/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/observers"),e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/a11y"),e("@angular/cdk/bidi"),e("@angular/cdk/coercion"),e("@angular/forms"),e("@angular/platform-browser/animations"))})}(0,function(e,t,u,n,r,i,o,a,s,l){"use strict";function c(e){this._elementRef=e}var p,d=new u.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),h=0,f={provide:s.NG_VALUE_ACCESSOR,useExisting:u.forwardRef(function(){return y}),multi:!0},m=function(e,t){this.source=e,this.checked=t},v=n.mixinTabIndex(n.mixinColor(n.mixinDisableRipple(n.mixinDisabled(c)),"accent")),y=(p=v,r.__extends(g,p),Object.defineProperty(g.prototype,"required",{get:function(){return this._required},set:function(e){this._required=a.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"checked",{get:function(){return this._checked},set:function(e){this._checked=a.coerceBooleanProperty(e),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),g.prototype.ngAfterContentInit=function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){e||Promise.resolve().then(function(){return t._onTouched()})})},g.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},g.prototype._onChangeEvent=function(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())},g.prototype._onInputClick=function(e){e.stopPropagation()},g.prototype.writeValue=function(e){this.checked=!!e},g.prototype.registerOnChange=function(e){this._onChange=e},g.prototype.registerOnTouched=function(e){this._onTouched=e},g.prototype.setDisabledState=function(e){this.disabled=e,this._changeDetectorRef.markForCheck()},g.prototype.focus=function(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)},g.prototype.toggle=function(){this.checked=!this.checked,this._onChange(this.checked)},g.prototype._emitChangeEvent=function(){this._onChange(this.checked),this.change.emit(new m(this,this.checked))},g.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},g.decorators=[{type:u.Component,args:[{moduleId:module.id,selector:"mat-slide-toggle",exportAs:"matSlideToggle",host:{class:"mat-slide-toggle","[id]":"id","[attr.tabindex]":"disabled ? null : -1","[attr.aria-label]":"null","[attr.aria-labelledby]":"null","[class.mat-checked]":"checked","[class.mat-disabled]":"disabled","[class.mat-slide-toggle-label-before]":'labelPosition == "before"',"[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"',"(focus)":"_inputElement.nativeElement.focus()"},template:'<label [attr.for]="inputId" class="mat-slide-toggle-label" #label>\n  <div #toggleBar class="mat-slide-toggle-bar"\n       [class.mat-slide-toggle-bar-no-side-margin]="!labelContent.textContent || !labelContent.textContent.trim()">\n\n    <input #input class="mat-slide-toggle-input cdk-visually-hidden" type="checkbox"\n           role="switch"\n           [id]="inputId"\n           [required]="required"\n           [tabIndex]="tabIndex"\n           [checked]="checked"\n           [disabled]="disabled"\n           [attr.name]="name"\n           [attr.aria-checked]="checked.toString()"\n           [attr.aria-label]="ariaLabel"\n           [attr.aria-labelledby]="ariaLabelledby"\n           (change)="_onChangeEvent($event)"\n           (click)="_onInputClick($event)">\n\n    <div class="mat-slide-toggle-thumb-container" #thumbContainer>\n      <div class="mat-slide-toggle-thumb"></div>\n      <div class="mat-slide-toggle-ripple" mat-ripple\n           [matRippleTrigger]="label"\n           [matRippleDisabled]="disableRipple || disabled"\n           [matRippleCentered]="true"\n           [matRippleRadius]="20"\n           [matRippleAnimation]="{enterDuration: 150}">\n\n        <div class="mat-ripple-element mat-slide-toggle-persistent-ripple"></div>\n      </div>\n    </div>\n\n  </div>\n\n  <span class="mat-slide-toggle-content" #labelContent (cdkObserveContent)="_onLabelTextChange()">\n    \x3c!-- Add an invisible span so JAWS can read the label --\x3e\n    <span style="display:none">&nbsp;</span>\n    <ng-content></ng-content>\n  </span>\n</label>\n',providers:[f],inputs:["disabled","disableRipple","color","tabIndex"],encapsulation:u.ViewEncapsulation.None,changeDetection:u.ChangeDetectionStrategy.OnPush,styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}@media(-ms-high-contrast: active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}.mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:1px dotted;outline-offset:5px}}@media(-ms-high-contrast: black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}/*# sourceMappingURL=slide-toggle.css.map */\n"]}]}],g.ctorParameters=function(){return[{type:u.ElementRef},{type:i.FocusMonitor},{type:u.ChangeDetectorRef},{type:String,decorators:[{type:u.Attribute,args:["tabindex"]}]},{type:u.NgZone},{type:void 0,decorators:[{type:u.Inject,args:[d]}]},{type:String,decorators:[{type:u.Optional},{type:u.Inject,args:[l.ANIMATION_MODULE_TYPE]}]},{type:o.Directionality,decorators:[{type:u.Optional}]}]},g.propDecorators={_thumbEl:[{type:u.ViewChild,args:["thumbContainer",{static:!1}]}],_thumbBarEl:[{type:u.ViewChild,args:["toggleBar",{static:!1}]}],name:[{type:u.Input}],id:[{type:u.Input}],labelPosition:[{type:u.Input}],ariaLabel:[{type:u.Input,args:["aria-label"]}],ariaLabelledby:[{type:u.Input,args:["aria-labelledby"]}],required:[{type:u.Input}],checked:[{type:u.Input}],change:[{type:u.Output}],toggleChange:[{type:u.Output}],dragChange:[{type:u.Output}],_inputElement:[{type:u.ViewChild,args:["input",{static:!1}]}]},g);function g(e,t,n,r,i,o,a,s){var l=p.call(this,e)||this;return l._focusMonitor=t,l._changeDetectorRef=n,l.defaults=o,l._animationMode=a,l._onChange=function(e){},l._onTouched=function(){},l._uniqueId="mat-slide-toggle-"+ ++h,l._required=!1,l._checked=!1,l.name=null,l.id=l._uniqueId,l.labelPosition="after",l.ariaLabel=null,l.ariaLabelledby=null,l.change=new u.EventEmitter,l.toggleChange=new u.EventEmitter,l.dragChange=new u.EventEmitter,l.tabIndex=parseInt(r)||0,l}var _,b={provide:s.NG_VALIDATORS,useExisting:u.forwardRef(function(){return w}),multi:!0},w=(_=s.CheckboxRequiredValidator,r.__extends(x,_),x.decorators=[{type:u.Directive,args:[{selector:"mat-slide-toggle[required][formControlName],\n             mat-slide-toggle[required][formControl], mat-slide-toggle[required][ngModel]",providers:[b]}]}],x);function x(){return null!==_&&_.apply(this,arguments)||this}var C=(S.decorators=[{type:u.NgModule,args:[{exports:[w],declarations:[w]}]}],S);function S(){}var E=(O.decorators=[{type:u.NgModule,args:[{imports:[C,n.MatRippleModule,n.MatCommonModule,t.ObserversModule],exports:[C,y,n.MatCommonModule],declarations:[y]}]}],O);function O(){}e._MatSlideToggleRequiredValidatorModule=C,e.MatSlideToggleModule=E,e.MAT_SLIDE_TOGGLE_VALUE_ACCESSOR=f,e.MatSlideToggleChange=m,e.MatSlideToggle=y,e.MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS=d,e.MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR=b,e.MatSlideToggleRequiredValidator=w,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/common"),require("rxjs"),require("rxjs/operators")):System.registerDynamic("npm:@angular/forms/bundles/forms.umd.js",["@angular/core","@angular/common","rxjs","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/common"),e("rxjs"),e("rxjs/operators"))})}(0,function(e,a,r,i,o){"use strict";var s=function(e,t){return(s=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])})(e,t)};function t(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var n=function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function l(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}function u(n,r){return function(e,t){r(e,t,n)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function d(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}var h=new a.InjectionToken("NgValueAccessor"),f={provide:h,useExisting:a.forwardRef(function(){return m}),multi:!0},m=(v.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},v.prototype.registerOnChange=function(e){this.onChange=e},v.prototype.registerOnTouched=function(e){this.onTouched=e},v.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},v=l([a.Directive({selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[f]}),c("design:paramtypes",[a.Renderer2,a.ElementRef])],v));function v(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}var y={provide:h,useExisting:a.forwardRef(function(){return _}),multi:!0};var g=new a.InjectionToken("CompositionEventMode"),_=(b.prototype.writeValue=function(e){var t=null==e?"":e;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},b.prototype.registerOnChange=function(e){this.onChange=e},b.prototype.registerOnTouched=function(e){this.onTouched=e},b.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},b.prototype._handleInput=function(e){this._compositionMode&&(!this._compositionMode||this._composing)||this.onChange(e)},b.prototype._compositionStart=function(){this._composing=!0},b.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},b=l([a.Directive({selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"$any(this)._handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"$any(this)._compositionStart()","(compositionend)":"$any(this)._compositionEnd($event.target.value)"},providers:[y]}),u(2,a.Optional()),u(2,a.Inject(g)),c("design:paramtypes",[a.Renderer2,a.ElementRef,Boolean])],b));function b(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){var e=r.ɵgetDOM()?r.ɵgetDOM().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}var w=(Object.defineProperty(x.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),x.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},x.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},x.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},x);function x(){}var C,S=(t(E,C=w),Object.defineProperty(E.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(E.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),E);function E(){return null!==C&&C.apply(this,arguments)||this}function O(){throw new Error("unimplemented")}var k,D=(t(T,k=w),Object.defineProperty(T.prototype,"validator",{get:function(){return O()},enumerable:!0,configurable:!0}),Object.defineProperty(T.prototype,"asyncValidator",{get:function(){return O()},enumerable:!0,configurable:!0}),T);function T(){var e=null!==k&&k.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}var I=(Object.defineProperty(P.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),P);function P(e){this._cd=e}var A,M={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"},R=(t(N,A=I),N=l([a.Directive({selector:"[formControlName],[ngModel],[formControl]",host:M}),u(0,a.Self()),c("design:paramtypes",[D])],N));function N(e){return A.call(this,e)||this}var j,F=(t(L,j=I),L=l([a.Directive({selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:M}),u(0,a.Self()),c("design:paramtypes",[S])],L));function L(e){return j.call(this,e)||this}function V(e){return null==e||0===e.length}var B=new a.InjectionToken("NgValidators"),U=new a.InjectionToken("NgAsyncValidators"),z=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,q=(H.min=function(n){return function(e){if(V(e.value)||V(n))return null;var t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}},H.max=function(n){return function(e){if(V(e.value)||V(n))return null;var t=parseFloat(e.value);return!isNaN(t)&&n<t?{max:{max:n,actual:e.value}}:null}},H.required=function(e){return V(e.value)?{required:!0}:null},H.requiredTrue=function(e){return!0===e.value?null:{required:!0}},H.email=function(e){return V(e.value)?null:z.test(e.value)?null:{email:!0}},H.minLength=function(n){return function(e){if(V(e.value))return null;var t=e.value?e.value.length:0;return t<n?{minlength:{requiredLength:n,actualLength:t}}:null}},H.maxLength=function(n){return function(e){var t=e.value?e.value.length:0;return n<t?{maxlength:{requiredLength:n,actualLength:t}}:null}},H.pattern=function(e){return e?(n="string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),new RegExp(r)):(r=e.toString(),e),function(e){if(V(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):H.nullValidator;var n,r},H.nullValidator=function(e){return null},H.compose=function(e){if(!e)return null;var t=e.filter(W);return 0==t.length?null:function(e){return Y(function(t,e){return e.map(function(e){return e(t)})}(e,t))}},H.composeAsync=function(e){if(!e)return null;var n=e.filter(W);return 0==n.length?null:function(e){var t=function(t,e){return e.map(function(e){return e(t)})}(e,n).map(G);return i.forkJoin(t).pipe(o.map(Y))}},H);function H(){}function W(e){return null!=e}function G(e){var t=a.ɵisPromise(e)?i.from(e):e;if(!a.ɵisObservable(t))throw new Error("Expected validator to return Promise or Observable.");return t}function Y(e){var t=e.reduce(function(e,t){return null!=t?n(n({},e),t):e},{});return 0===Object.keys(t).length?null:t}function K(t){return t.validate?function(e){return t.validate(e)}:t}function Z(t){return t.validate?function(e){return t.validate(e)}:t}var Q={provide:h,useExisting:a.forwardRef(function(){return X}),multi:!0},X=($.prototype.writeValue=function(e){var t=null==e?"":e;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)},$.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},$.prototype.registerOnTouched=function(e){this.onTouched=e},$.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},$=l([a.Directive({selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[Q]}),c("design:paramtypes",[a.Renderer2,a.ElementRef])],$));function $(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}var J={provide:h,useExisting:a.forwardRef(function(){return ne}),multi:!0},ee=(te.prototype.add=function(e,t){this._accessors.push([e,t])},te.prototype.remove=function(e){for(var t=this._accessors.length-1;0<=t;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},te.prototype.select=function(t){var n=this;this._accessors.forEach(function(e){n._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})},te.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},te=l([a.Injectable()],te));function te(){this._accessors=[]}var ne=(re.prototype.ngOnInit=function(){this._control=this._injector.get(D),this._checkName(),this._registry.add(this._control,this)},re.prototype.ngOnDestroy=function(){this._registry.remove(this)},re.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},re.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},re.prototype.fireUncheck=function(e){this.writeValue(e)},re.prototype.registerOnTouched=function(e){this.onTouched=e},re.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},re.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},re.prototype._throwNameError=function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')},l([a.Input(),c("design:type",String)],re.prototype,"name",void 0),l([a.Input(),c("design:type",String)],re.prototype,"formControlName",void 0),l([a.Input(),c("design:type",Object)],re.prototype,"value",void 0),re=l([a.Directive({selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[J]}),c("design:paramtypes",[a.Renderer2,a.ElementRef,ee,a.Injector])],re));function re(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}var ie={provide:h,useExisting:a.forwardRef(function(){return oe}),multi:!0},oe=(ae.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},ae.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},ae.prototype.registerOnTouched=function(e){this.onTouched=e},ae.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},ae=l([a.Directive({selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[ie]}),c("design:paramtypes",[a.Renderer2,a.ElementRef])],ae));function ae(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}var se='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',le='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',ue='\n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });',ce='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>',pe='\n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  ',de=(he.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+se)},he.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        '+le+"\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        "+ce)},he.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+se)},he.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+le)},he.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        "+ue)},he.disabledAttrWarning=function(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")},he.ngModelWarning=function(e){console.warn("\n    It looks like you're using ngModel on the same form field as "+e+". \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/"+("formControl"===e?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n    ")},he);function he(){}var fe={provide:h,useExisting:a.forwardRef(function(){return ve}),multi:!0};function me(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var ve=(Object.defineProperty(ye.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),ye.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=me(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},ye.prototype.registerOnChange=function(t){var n=this;this.onChange=function(e){n.value=n._getOptionValue(e),t(n.value)}},ye.prototype.registerOnTouched=function(e){this.onTouched=e},ye.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},ye.prototype._registerOption=function(){return(this._idCounter++).toString()},ye.prototype._getOptionId=function(e){var t,n;try{for(var r=p(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o),e))return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},ye.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},l([a.Input(),c("design:type",Function),c("design:paramtypes",[Function])],ye.prototype,"compareWith",null),ye=l([a.Directive({selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[fe]}),c("design:paramtypes",[a.Renderer2,a.ElementRef])],ye));function ye(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=a.ɵlooseIdentical}var ge=(Object.defineProperty(_e.prototype,"ngValue",{set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(me(this.id,e)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(_e.prototype,"value",{set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),_e.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},_e.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},l([a.Input("ngValue"),c("design:type",Object),c("design:paramtypes",[Object])],_e.prototype,"ngValue",null),l([a.Input("value"),c("design:type",Object),c("design:paramtypes",[Object])],_e.prototype,"value",null),_e=l([a.Directive({selector:"option"}),u(2,a.Optional()),u(2,a.Host()),c("design:paramtypes",[a.ElementRef,a.Renderer2,ve])],_e));function _e(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}var be={provide:h,useExisting:a.forwardRef(function(){return xe}),multi:!0};function we(e,t){return null==e?""+t:("string"==typeof t&&(t="'"+t+"'"),t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var xe=(Object.defineProperty(Ce.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),Ce.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(-1<r.indexOf(t.toString()))}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},Ce.prototype.registerOnChange=function(a){var s=this;this.onChange=function(e){var t=[];if(e.hasOwnProperty("selectedOptions"))for(var n=e.selectedOptions,r=0;r<n.length;r++){var i=n.item(r),o=s._getOptionValue(i.value);t.push(o)}else for(n=e.options,r=0;r<n.length;r++)(i=n.item(r)).selected&&(o=s._getOptionValue(i.value),t.push(o));s.value=t,a(t)}},Ce.prototype.registerOnTouched=function(e){this.onTouched=e},Ce.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},Ce.prototype._registerOption=function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t},Ce.prototype._getOptionId=function(e){var t,n;try{for(var r=p(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o)._value,e))return o}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},Ce.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e},l([a.Input(),c("design:type",Function),c("design:paramtypes",[Function])],Ce.prototype,"compareWith",null),Ce=l([a.Directive({selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[be]}),c("design:paramtypes",[a.Renderer2,a.ElementRef])],Ce));function Ce(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=a.ɵlooseIdentical}var Se=(Object.defineProperty(Ee.prototype,"ngValue",{set:function(e){null!=this._select&&(this._value=e,this._setElementValue(we(this.id,e)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(Ee.prototype,"value",{set:function(e){this._select?(this._value=e,this._setElementValue(we(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)},enumerable:!0,configurable:!0}),Ee.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},Ee.prototype._setSelected=function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)},Ee.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},l([a.Input("ngValue"),c("design:type",Object),c("design:paramtypes",[Object])],Ee.prototype,"ngValue",null),l([a.Input("value"),c("design:type",Object),c("design:paramtypes",[Object])],Ee.prototype,"value",null),Ee=l([a.Directive({selector:"option"}),u(2,a.Optional()),u(2,a.Host()),c("design:paramtypes",[a.ElementRef,a.Renderer2,xe])],Ee));function Ee(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}function Oe(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(d(arguments[t]));return e}(t.path,[e])}function ke(t,n){t||Pe(n,"Cannot find control with"),n.valueAccessor||Pe(n,"No value accessor for form control with"),t.validator=q.compose([t.validator,n.validator]),t.asyncValidator=q.composeAsync([t.asyncValidator,n.asyncValidator]),n.valueAccessor.writeValue(t.value),function(t,n){n.valueAccessor.registerOnChange(function(e){t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&De(t,n)})}(t,n),function(e,n){e.registerOnChange(function(e,t){n.valueAccessor.writeValue(e),t&&n.viewToModelUpdate(e)})}(t,n),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&De(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(t,n),n.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(e){n.valueAccessor.setDisabledState(e)}),n._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),n._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function De(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Te(e,t){null==e&&Pe(t,"Cannot find control with"),e.validator=q.compose([e.validator,t.validator]),e.asyncValidator=q.composeAsync([e.asyncValidator,t.asyncValidator])}function Ie(e){return Pe(e,"There is no FormControl instance attached to form control element with")}function Pe(e,t){var n;throw n=1<e.path.length?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function Ae(e){return null!=e?q.compose(e.map(K)):null}function Me(e){return null!=e?q.composeAsync(e.map(Z)):null}function Re(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!a.ɵlooseIdentical(t,n.currentValue)}var Ne=[m,oe,X,ve,xe,ne];function je(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Fe(t,e){if(!e)return null;Array.isArray(e)||Pe(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return e.forEach(function(e){e.constructor===_?n=e:!function(t){return Ne.some(function(e){return t.constructor===e})}(e)?(i&&Pe(t,"More than one custom value accessor matches form control with"),i=e):(r&&Pe(t,"More than one built-in value accessor matches form control with"),r=e)}),i||(r||(n||(Pe(t,"No valid value accessor for form control with"),null)))}function Le(e,t){var n=e.indexOf(t);-1<n&&e.splice(n,1)}function Ve(e,t,n,r){a.isDevMode()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(de.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}var Be="VALID",Ue="INVALID",ze="PENDING",qe="DISABLED";function He(e){var t=Ge(e)?e.validators:e;return Array.isArray(t)?Ae(t):t||null}function We(e,t){var n=Ge(t)?t.asyncValidators:e;return Array.isArray(n)?Me(n):n||null}function Ge(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Ye=(Object.defineProperty(Ke.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(Ke.prototype,"valid",{get:function(){return this.status===Be},enumerable:!0,configurable:!0}),Object.defineProperty(Ke.prototype,"invalid",{get:function(){return this.status===Ue},enumerable:!0,configurable:!0}),Object.defineProperty(Ke.prototype,"pending",{get:function(){return this.status==ze},enumerable:!0,configurable:!0}),Object.defineProperty(Ke.prototype,"disabled",{get:function(){return this.status===qe},enumerable:!0,configurable:!0}),Object.defineProperty(Ke.prototype,"enabled",{get:function(){return this.status!==qe},enumerable:!0,configurable:!0}),Object.defineProperty(Ke.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(Ke.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(Ke.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),Ke.prototype.setValidators=function(e){this.validator=He(e)},Ke.prototype.setAsyncValidators=function(e){this.asyncValidator=We(e)},Ke.prototype.clearValidators=function(){this.validator=null},Ke.prototype.clearAsyncValidators=function(){this.asyncValidator=null},Ke.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},Ke.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})},Ke.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},Ke.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},Ke.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},Ke.prototype.markAsPending=function(e){void 0===e&&(e={}),!(this.status=ze)!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},Ke.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status=qe,this.errors=null,this._forEachChild(function(e){e.disable(n(n({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(n(n({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(e){return e(!0)})},Ke.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status=Be,this._forEachChild(function(e){e.enable(n(n({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(n(n({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(e){return e(!1)})},Ke.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},Ke.prototype.setParent=function(e){this._parent=e},Ke.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Be&&this.status!==ze||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},Ke.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},Ke.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?qe:Be},Ke.prototype._runValidator=function(){return this.validator?this.validator(this):null},Ke.prototype._runAsyncValidator=function(t){var n=this;if(this.asyncValidator){this.status=ze;var e=G(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(function(e){return n.setErrors(e,{emitEvent:t})})}},Ke.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},Ke.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},Ke.prototype.get=function(e){return function(e,t,n){return null==t?null:(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length?null:t.reduce(function(e,t){return e instanceof Je?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof nt&&e.at(t)||null},e))}(this,e,".")},Ke.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},Ke.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(Ke.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),Ke.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},Ke.prototype._initObservables=function(){this.valueChanges=new a.EventEmitter,this.statusChanges=new a.EventEmitter},Ke.prototype._calculateStatus=function(){return this._allControlsDisabled()?qe:this.errors?Ue:this._anyControlsHaveStatus(ze)?ze:this._anyControlsHaveStatus(Ue)?Ue:Be},Ke.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},Ke.prototype._anyControlsDirty=function(){return this._anyControls(function(e){return e.dirty})},Ke.prototype._anyControlsTouched=function(){return this._anyControls(function(e){return e.touched})},Ke.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},Ke.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},Ke.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},Ke.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},Ke.prototype._setUpdateStrategy=function(e){Ge(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},Ke.prototype._parentMarkedDirty=function(e){var t=this._parent&&this._parent.dirty;return!e&&t&&!this._parent._anyControlsDirty()},Ke);function Ke(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}var Ze,Qe=(t(Xe,Ze=Ye),Xe.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(function(e){return e(n.value,!1!==t.emitViewToModelChange)}),this.updateValueAndValidity(t)},Xe.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},Xe.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},Xe.prototype._updateValue=function(){},Xe.prototype._anyControls=function(e){return!1},Xe.prototype._allControlsDisabled=function(){return this.disabled},Xe.prototype.registerOnChange=function(e){this._onChange.push(e)},Xe.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},Xe.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},Xe.prototype._forEachChild=function(e){},Xe.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},Xe.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},Xe);function Xe(e,t,n){void 0===e&&(e=null);var r=Ze.call(this,He(t),We(n,t))||this;return r._onChange=[],r._applyFormState(e),r._setUpdateStrategy(t),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}var $e,Je=(t(et,$e=Ye),et.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:((this.controls[e]=t).setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},et.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},et.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},et.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},et.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},et.prototype.setValue=function(t,n){var r=this;void 0===n&&(n={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(e){r._throwIfControlMissing(e),r.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},et.prototype.patchValue=function(t,n){var r=this;void 0===n&&(n={}),Object.keys(t).forEach(function(e){r.controls[e]&&r.controls[e].patchValue(t[e],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},et.prototype.reset=function(n,r){void 0===n&&(n={}),void 0===r&&(r={}),this._forEachChild(function(e,t){e.reset(n[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)},et.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof Qe?t.value:t.getRawValue(),e})},et.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},et.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},et.prototype._forEachChild=function(t){var n=this;Object.keys(this.controls).forEach(function(e){return t(n.controls[e],e)})},et.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},et.prototype._updateValue=function(){this.value=this._reduceValue()},et.prototype._anyControls=function(n){var r=this,i=!1;return this._forEachChild(function(e,t){i=i||r.contains(t)&&n(e)}),i},et.prototype._reduceValue=function(){var r=this;return this._reduceChildren({},function(e,t,n){return(t.enabled||r.disabled)&&(e[n]=t.value),e})},et.prototype._reduceChildren=function(e,n){var r=e;return this._forEachChild(function(e,t){r=n(r,e,t)}),r},et.prototype._allControlsDisabled=function(){var t,e;try{for(var n=p(Object.keys(this.controls)),r=n.next();!r.done;r=n.next()){var i=r.value;if(this.controls[i].enabled)return!1}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return 0<Object.keys(this.controls).length||this.disabled},et.prototype._checkAllValuesPresent=function(n){this._forEachChild(function(e,t){if(void 0===n[t])throw new Error("Must supply a value for form control with name: '"+t+"'.")})},et);function et(e,t,n){var r=$e.call(this,He(t),We(n,t))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(t),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}var tt,nt=(t(rt,tt=Ye),rt.prototype.at=function(e){return this.controls[e]},rt.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},rt.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},rt.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},rt.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(rt.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),rt.prototype.setValue=function(e,n){var r=this;void 0===n&&(n={}),this._checkAllValuesPresent(e),e.forEach(function(e,t){r._throwIfControlMissing(t),r.at(t).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},rt.prototype.patchValue=function(e,n){var r=this;void 0===n&&(n={}),e.forEach(function(e,t){r.at(t)&&r.at(t).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},rt.prototype.reset=function(n,r){void 0===n&&(n=[]),void 0===r&&(r={}),this._forEachChild(function(e,t){e.reset(n[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)},rt.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof Qe?e.value:e.getRawValue()})},rt.prototype.clear=function(){this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity())},rt.prototype._syncPendingControls=function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},rt.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},rt.prototype._forEachChild=function(n){this.controls.forEach(function(e,t){n(e,t)})},rt.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(e){return e.value})},rt.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},rt.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},rt.prototype._checkAllValuesPresent=function(n){this._forEachChild(function(e,t){if(void 0===n[t])throw new Error("Must supply a value for form control at index: "+t+".")})},rt.prototype._allControlsDisabled=function(){var t,e;try{for(var n=p(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return 0<this.controls.length||this.disabled},rt.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},rt);function rt(e,t,n){var r=tt.call(this,He(t),We(n,t))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(t),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}var it,ot={provide:S,useExisting:a.forwardRef(function(){return st})},at=Promise.resolve(null),st=(t(lt,it=S),lt.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(lt.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(lt.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(lt.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(lt.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),lt.prototype.addControl=function(t){var n=this;at.then(function(){var e=n._findContainer(t.path);t.control=e.registerControl(t.name,t.control),ke(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),n._directives.push(t)})},lt.prototype.getControl=function(e){return this.form.get(e.path)},lt.prototype.removeControl=function(t){var n=this;at.then(function(){var e=n._findContainer(t.path);e&&e.removeControl(t.name),Le(n._directives,t)})},lt.prototype.addFormGroup=function(n){var r=this;at.then(function(){var e=r._findContainer(n.path),t=new Je({});Te(t,n),e.registerControl(n.name,t),t.updateValueAndValidity({emitEvent:!1})})},lt.prototype.removeFormGroup=function(t){var n=this;at.then(function(){var e=n._findContainer(t.path);e&&e.removeControl(t.name)})},lt.prototype.getFormGroup=function(e){return this.form.get(e.path)},lt.prototype.updateModel=function(e,t){var n=this;at.then(function(){n.form.get(e.path).setValue(t)})},lt.prototype.setValue=function(e){this.control.setValue(e)},lt.prototype.onSubmit=function(e){return this.submitted=!0,je(this.form,this._directives),this.ngSubmit.emit(e),!1},lt.prototype.onReset=function(){this.resetForm()},lt.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},lt.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},lt.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},l([a.Input("ngFormOptions"),c("design:type",Object)],lt.prototype,"options",void 0),lt=l([a.Directive({selector:"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]",providers:[ot],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}),u(0,a.Optional()),u(0,a.Self()),u(0,a.Inject(B)),u(1,a.Optional()),u(1,a.Self()),u(1,a.Inject(U)),c("design:paramtypes",[Array,Array])],lt));function lt(e,t){var n=it.call(this)||this;return n.submitted=!1,n._directives=[],n.ngSubmit=new a.EventEmitter,n.form=new Je({},Ae(e),Me(t)),n}var ut,ct=(t(pt,ut=S),pt.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},pt.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(pt.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(pt.prototype,"path",{get:function(){return Oe(null==this.name?this.name:this.name.toString(),this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(pt.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(pt.prototype,"validator",{get:function(){return Ae(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(pt.prototype,"asyncValidator",{get:function(){return Me(this._asyncValidators)},enumerable:!0,configurable:!0}),pt.prototype._checkParentType=function(){},pt);function pt(){return null!==ut&&ut.apply(this,arguments)||this}var dt=(ht.modelParentException=function(){throw new Error('\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup\'s partner directive "formControlName" instead.  Example:\n\n      '+se+"\n\n      Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n      Example:\n\n      "+pe)},ht.formGroupNameException=function(){throw new Error("\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      "+le+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+ce)},ht.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},ht.modelGroupParentException=function(){throw new Error("\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      "+le+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+ce)},ht);function ht(){}var ft,mt,vt={provide:S,useExisting:a.forwardRef(function(){return yt})},yt=(t(gt,ft=ct),(mt=gt).prototype._checkParentType=function(){this._parent instanceof mt||this._parent instanceof st||dt.modelGroupParentException()},l([a.Input("ngModelGroup"),c("design:type",String)],gt.prototype,"name",void 0),gt=mt=l([a.Directive({selector:"[ngModelGroup]",providers:[vt],exportAs:"ngModelGroup"}),u(0,a.Host()),u(0,a.SkipSelf()),u(1,a.Optional()),u(1,a.Self()),u(1,a.Inject(B)),u(2,a.Optional()),u(2,a.Self()),u(2,a.Inject(U)),c("design:paramtypes",[S,Array,Array])],gt));function gt(e,t,n){var r=ft.call(this)||this;return r._parent=e,r._validators=t,r._asyncValidators=n,r}var _t,bt={provide:D,useExisting:a.forwardRef(function(){return xt})},wt=Promise.resolve(null),xt=(t(Ct,_t=D),Ct.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Re(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},Ct.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(Ct.prototype,"path",{get:function(){return this._parent?Oe(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(Ct.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(Ct.prototype,"validator",{get:function(){return Ae(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(Ct.prototype,"asyncValidator",{get:function(){return Me(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Ct.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},Ct.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},Ct.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},Ct.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},Ct.prototype._setUpStandalone=function(){ke(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},Ct.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},Ct.prototype._checkParentType=function(){!(this._parent instanceof yt)&&this._parent instanceof ct?dt.formGroupNameException():this._parent instanceof yt||this._parent instanceof st||dt.modelParentException()},Ct.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||dt.missingNameException()},Ct.prototype._updateValue=function(e){var t=this;wt.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},Ct.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;wt.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})},l([a.Input(),c("design:type",String)],Ct.prototype,"name",void 0),l([a.Input("disabled"),c("design:type",Boolean)],Ct.prototype,"isDisabled",void 0),l([a.Input("ngModel"),c("design:type",Object)],Ct.prototype,"model",void 0),l([a.Input("ngModelOptions"),c("design:type",Object)],Ct.prototype,"options",void 0),l([a.Output("ngModelChange"),c("design:type",Object)],Ct.prototype,"update",void 0),Ct=l([a.Directive({selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[bt],exportAs:"ngModel"}),u(0,a.Optional()),u(0,a.Host()),u(1,a.Optional()),u(1,a.Self()),u(1,a.Inject(B)),u(2,a.Optional()),u(2,a.Self()),u(2,a.Inject(U)),u(3,a.Optional()),u(3,a.Self()),u(3,a.Inject(h)),c("design:paramtypes",[S,Array,Array,Array])],Ct));function Ct(e,t,n,r){var i=_t.call(this)||this;return i.control=new Qe,i._registered=!1,i.update=new a.EventEmitter,i._parent=e,i._rawValidators=t||[],i._rawAsyncValidators=n||[],i.valueAccessor=Fe(i,r),i}var St=Et=l([a.Directive({selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}})],Et);function Et(){}var Ot,kt,Dt=new a.InjectionToken("NgModelWithFormControlWarning"),Tt={provide:D,useExisting:a.forwardRef(function(){return It})},It=(t(Pt,Ot=D),kt=Pt,Object.defineProperty(Pt.prototype,"isDisabled",{set:function(e){de.disabledAttrWarning()},enumerable:!0,configurable:!0}),Pt.prototype.ngOnChanges=function(e){this._isControlChanged(e)&&(ke(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),Re(e,this.viewModel)&&(Ve("formControl",kt,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(Pt.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(Pt.prototype,"validator",{get:function(){return Ae(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(Pt.prototype,"asyncValidator",{get:function(){return Me(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(Pt.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Pt.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},Pt.prototype._isControlChanged=function(e){return e.hasOwnProperty("form")},Pt._ngModelWarningSentOnce=!1,l([a.Input("formControl"),c("design:type",Qe)],Pt.prototype,"form",void 0),l([a.Input("disabled"),c("design:type",Boolean),c("design:paramtypes",[Boolean])],Pt.prototype,"isDisabled",null),l([a.Input("ngModel"),c("design:type",Object)],Pt.prototype,"model",void 0),l([a.Output("ngModelChange"),c("design:type",Object)],Pt.prototype,"update",void 0),Pt=kt=l([a.Directive({selector:"[formControl]",providers:[Tt],exportAs:"ngForm"}),u(0,a.Optional()),u(0,a.Self()),u(0,a.Inject(B)),u(1,a.Optional()),u(1,a.Self()),u(1,a.Inject(U)),u(2,a.Optional()),u(2,a.Self()),u(2,a.Inject(h)),u(3,a.Optional()),u(3,a.Inject(Dt)),c("design:paramtypes",[Array,Array,Array,Object])],Pt));function Pt(e,t,n,r){var i=Ot.call(this)||this;return i._ngModelWarningConfig=r,i.update=new a.EventEmitter,i._ngModelWarningSent=!1,i._rawValidators=e||[],i._rawAsyncValidators=t||[],i.valueAccessor=Fe(i,n),i}var At,Mt={provide:S,useExisting:a.forwardRef(function(){return Rt})},Rt=(t(Nt,At=S),Nt.prototype.ngOnChanges=function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(Nt.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(Nt.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(Nt.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Nt.prototype.addControl=function(e){var t=this.form.get(e.path);return ke(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t},Nt.prototype.getControl=function(e){return this.form.get(e.path)},Nt.prototype.removeControl=function(e){Le(this.directives,e)},Nt.prototype.addFormGroup=function(e){var t=this.form.get(e.path);Te(t,e),t.updateValueAndValidity({emitEvent:!1})},Nt.prototype.removeFormGroup=function(e){},Nt.prototype.getFormGroup=function(e){return this.form.get(e.path)},Nt.prototype.addFormArray=function(e){var t=this.form.get(e.path);Te(t,e),t.updateValueAndValidity({emitEvent:!1})},Nt.prototype.removeFormArray=function(e){},Nt.prototype.getFormArray=function(e){return this.form.get(e.path)},Nt.prototype.updateModel=function(e,t){this.form.get(e.path).setValue(t)},Nt.prototype.onSubmit=function(e){return this.submitted=!0,je(this.form,this.directives),this.ngSubmit.emit(e),!1},Nt.prototype.onReset=function(){this.resetForm()},Nt.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},Nt.prototype._updateDomValue=function(){var n=this;this.directives.forEach(function(e){var t=n.form.get(e.path);e.control!==t&&(function(e,t){t.valueAccessor.registerOnChange(function(){return Ie(t)}),t.valueAccessor.registerOnTouched(function(){return Ie(t)}),t._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&ke(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})},Nt.prototype._updateRegistrations=function(){var e=this;this.form._registerOnCollectionChange(function(){return e._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},Nt.prototype._updateValidators=function(){var e=Ae(this._validators);this.form.validator=q.compose([this.form.validator,e]);var t=Me(this._asyncValidators);this.form.asyncValidator=q.composeAsync([this.form.asyncValidator,t])},Nt.prototype._checkFormPresent=function(){this.form||de.missingFormException()},l([a.Input("formGroup"),c("design:type",Je)],Nt.prototype,"form",void 0),l([a.Output(),c("design:type",Object)],Nt.prototype,"ngSubmit",void 0),Nt=l([a.Directive({selector:"[formGroup]",providers:[Mt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}),u(0,a.Optional()),u(0,a.Self()),u(0,a.Inject(B)),u(1,a.Optional()),u(1,a.Self()),u(1,a.Inject(U)),c("design:paramtypes",[Array,Array])],Nt));function Nt(e,t){var n=At.call(this)||this;return n._validators=e,n._asyncValidators=t,n.submitted=!1,n.directives=[],n.form=null,n.ngSubmit=new a.EventEmitter,n}var jt,Ft={provide:S,useExisting:a.forwardRef(function(){return Lt})},Lt=(t(Vt,jt=ct),Vt.prototype._checkParentType=function(){Ht(this._parent)&&de.groupParentException()},l([a.Input("formGroupName"),c("design:type",Object)],Vt.prototype,"name",void 0),Vt=l([a.Directive({selector:"[formGroupName]",providers:[Ft]}),u(0,a.Optional()),u(0,a.Host()),u(0,a.SkipSelf()),u(1,a.Optional()),u(1,a.Self()),u(1,a.Inject(B)),u(2,a.Optional()),u(2,a.Self()),u(2,a.Inject(U)),c("design:paramtypes",[S,Array,Array])],Vt));function Vt(e,t,n){var r=jt.call(this)||this;return r._parent=e,r._validators=t,r._asyncValidators=n,r}var Bt,Ut={provide:S,useExisting:a.forwardRef(function(){return zt})},zt=(t(qt,Bt=S),qt.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},qt.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(qt.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(qt.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(qt.prototype,"path",{get:function(){return Oe(null==this.name?this.name:this.name.toString(),this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(qt.prototype,"validator",{get:function(){return Ae(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(qt.prototype,"asyncValidator",{get:function(){return Me(this._asyncValidators)},enumerable:!0,configurable:!0}),qt.prototype._checkParentType=function(){Ht(this._parent)&&de.arrayParentException()},l([a.Input("formArrayName"),c("design:type",Object)],qt.prototype,"name",void 0),qt=l([a.Directive({selector:"[formArrayName]",providers:[Ut]}),u(0,a.Optional()),u(0,a.Host()),u(0,a.SkipSelf()),u(1,a.Optional()),u(1,a.Self()),u(1,a.Inject(B)),u(2,a.Optional()),u(2,a.Self()),u(2,a.Inject(U)),c("design:paramtypes",[S,Array,Array])],qt));function qt(e,t,n){var r=Bt.call(this)||this;return r._parent=e,r._validators=t,r._asyncValidators=n,r}function Ht(e){return!(e instanceof Lt||e instanceof Rt||e instanceof zt)}var Wt,Gt,Yt={provide:D,useExisting:a.forwardRef(function(){return Kt})},Kt=(t(Zt,Wt=D),Gt=Zt,Object.defineProperty(Zt.prototype,"isDisabled",{set:function(e){de.disabledAttrWarning()},enumerable:!0,configurable:!0}),Zt.prototype.ngOnChanges=function(e){this._added||this._setUpControl(),Re(e,this.viewModel)&&(Ve("formControlName",Gt,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},Zt.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Zt.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},Object.defineProperty(Zt.prototype,"path",{get:function(){return Oe(null==this.name?this.name:this.name.toString(),this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(Zt.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(Zt.prototype,"validator",{get:function(){return Ae(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(Zt.prototype,"asyncValidator",{get:function(){return Me(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Zt.prototype._checkParentType=function(){!(this._parent instanceof Lt)&&this._parent instanceof ct?de.ngModelGroupException():this._parent instanceof Lt||this._parent instanceof Rt||this._parent instanceof zt||de.controlParentException()},Zt.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},Zt._ngModelWarningSentOnce=!1,l([a.Input("formControlName"),c("design:type",Object)],Zt.prototype,"name",void 0),l([a.Input("disabled"),c("design:type",Boolean),c("design:paramtypes",[Boolean])],Zt.prototype,"isDisabled",null),l([a.Input("ngModel"),c("design:type",Object)],Zt.prototype,"model",void 0),l([a.Output("ngModelChange"),c("design:type",Object)],Zt.prototype,"update",void 0),Zt=Gt=l([a.Directive({selector:"[formControlName]",providers:[Yt]}),u(0,a.Optional()),u(0,a.Host()),u(0,a.SkipSelf()),u(1,a.Optional()),u(1,a.Self()),u(1,a.Inject(B)),u(2,a.Optional()),u(2,a.Self()),u(2,a.Inject(U)),u(3,a.Optional()),u(3,a.Self()),u(3,a.Inject(h)),u(4,a.Optional()),u(4,a.Inject(Dt)),c("design:paramtypes",[S,Array,Array,Array,Object])],Zt));function Zt(e,t,n,r,i){var o=Wt.call(this)||this;return o._ngModelWarningConfig=i,o._added=!1,o.update=new a.EventEmitter,o._ngModelWarningSent=!1,o._parent=e,o._rawValidators=t||[],o._rawAsyncValidators=n||[],o.valueAccessor=Fe(o,r),o}var Qt={provide:B,useExisting:a.forwardRef(function(){return $t}),multi:!0},Xt={provide:B,useExisting:a.forwardRef(function(){return tn}),multi:!0},$t=(Object.defineProperty(Jt.prototype,"required",{get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),Jt.prototype.validate=function(e){return this.required?q.required(e):null},Jt.prototype.registerOnValidatorChange=function(e){this._onChange=e},l([a.Input(),c("design:type",Object),c("design:paramtypes",[Object])],Jt.prototype,"required",null),Jt=l([a.Directive({selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Qt],host:{"[attr.required]":'required ? "" : null'}})],Jt));function Jt(){}var en,tn=(t(nn,en=$t),nn.prototype.validate=function(e){return this.required?q.requiredTrue(e):null},nn=l([a.Directive({selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[Xt],host:{"[attr.required]":'required ? "" : null'}})],nn));function nn(){return null!==en&&en.apply(this,arguments)||this}var rn={provide:B,useExisting:a.forwardRef(function(){return on}),multi:!0},on=(Object.defineProperty(an.prototype,"email",{set:function(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),an.prototype.validate=function(e){return this._enabled?q.email(e):null},an.prototype.registerOnValidatorChange=function(e){this._onChange=e},l([a.Input(),c("design:type",Object),c("design:paramtypes",[Object])],an.prototype,"email",null),an=l([a.Directive({selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[rn]})],an));function an(){}var sn={provide:B,useExisting:a.forwardRef(function(){return ln}),multi:!0},ln=(un.prototype.ngOnChanges=function(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},un.prototype.validate=function(e){return null==this.minlength?null:this._validator(e)},un.prototype.registerOnValidatorChange=function(e){this._onChange=e},un.prototype._createValidator=function(){this._validator=q.minLength(parseInt(this.minlength,10))},l([a.Input(),c("design:type",String)],un.prototype,"minlength",void 0),un=l([a.Directive({selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[sn],host:{"[attr.minlength]":"minlength ? minlength : null"}})],un));function un(){}var cn={provide:B,useExisting:a.forwardRef(function(){return pn}),multi:!0},pn=(dn.prototype.ngOnChanges=function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},dn.prototype.validate=function(e){return null!=this.maxlength?this._validator(e):null},dn.prototype.registerOnValidatorChange=function(e){this._onChange=e},dn.prototype._createValidator=function(){this._validator=q.maxLength(parseInt(this.maxlength,10))},l([a.Input(),c("design:type",String)],dn.prototype,"maxlength",void 0),dn=l([a.Directive({selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[cn],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}})],dn));function dn(){}var hn={provide:B,useExisting:a.forwardRef(function(){return fn}),multi:!0},fn=(mn.prototype.ngOnChanges=function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())},mn.prototype.validate=function(e){return this._validator(e)},mn.prototype.registerOnValidatorChange=function(e){this._onChange=e},mn.prototype._createValidator=function(){this._validator=q.pattern(this.pattern)},l([a.Input(),c("design:type",Object)],mn.prototype,"pattern",void 0),mn=l([a.Directive({selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[hn],host:{"[attr.pattern]":"pattern ? pattern : null"}})],mn));function mn(){}var vn=[St,ge,Se,_,X,oe,m,ve,xe,ne,R,F,$t,ln,pn,fn,tn,on],yn=[xt,yt,st],gn=[It,Rt,Kt,Lt,zt],_n=bn=l([a.NgModule({declarations:vn,exports:vn})],bn);function bn(){}var wn=(xn.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),r=null,i=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Je(n,{asyncValidators:i,updateOn:o,validators:r})},xn.prototype.control=function(e,t,n){return new Qe(e,t,n)},xn.prototype.array=function(e,t,n){var r=this,i=e.map(function(e){return r._createControl(e)});return new nt(i,t,n)},xn.prototype._reduceControls=function(t){var n=this,r={};return Object.keys(t).forEach(function(e){r[e]=n._createControl(t[e])}),r},xn.prototype._createControl=function(e){if(e instanceof Qe||e instanceof Je||e instanceof nt)return e;if(Array.isArray(e)){var t=e[0],n=1<e.length?e[1]:null,r=2<e.length?e[2]:null;return this.control(t,n,r)}return this.control(e)},xn=l([a.Injectable()],xn));function xn(){}var Cn=new a.Version("9.0.0-next.12"),Sn=En=l([a.NgModule({declarations:yn,providers:[ee],exports:[_n,yn]})],En);function En(){}var On,kn=((On=Dn).withConfig=function(e){return{ngModule:On,providers:[{provide:Dt,useValue:e.warnOnNgModelWithFormControl}]}},Dn=On=l([a.NgModule({declarations:[gn],providers:[wn,ee],exports:[_n,gn]})],Dn));function Dn(){}e.ɵangular_packages_forms_forms_d=_n,e.ɵInternalFormsSharedModule=_n,e.ɵangular_packages_forms_forms_c=gn,e.ɵangular_packages_forms_forms_a=vn,e.ɵangular_packages_forms_forms_b=yn,e.ɵangular_packages_forms_forms_e=f,e.ɵangular_packages_forms_forms_f=y,e.ɵangular_packages_forms_forms_g=I,e.ɵangular_packages_forms_forms_h=M,e.ɵangular_packages_forms_forms_i=ot,e.ɵangular_packages_forms_forms_j=bt,e.ɵangular_packages_forms_forms_k=vt,e.ɵangular_packages_forms_forms_y=St,e.ɵNgNoValidate=St,e.ɵangular_packages_forms_forms_l=Q,e.ɵangular_packages_forms_forms_m=J,e.ɵangular_packages_forms_forms_n=ee,e.ɵangular_packages_forms_forms_o=ie,e.ɵangular_packages_forms_forms_p=Dt,e.ɵangular_packages_forms_forms_q=Tt,e.ɵangular_packages_forms_forms_r=Yt,e.ɵangular_packages_forms_forms_s=Mt,e.ɵangular_packages_forms_forms_u=Ut,e.ɵangular_packages_forms_forms_t=Ft,e.ɵangular_packages_forms_forms_v=fe,e.ɵangular_packages_forms_forms_x=Se,e.ɵNgSelectMultipleOption=Se,e.ɵangular_packages_forms_forms_w=be,e.ɵangular_packages_forms_forms_ba=Xt,e.ɵangular_packages_forms_forms_bb=rn,e.ɵangular_packages_forms_forms_bd=cn,e.ɵangular_packages_forms_forms_bc=sn,e.ɵangular_packages_forms_forms_be=hn,e.ɵangular_packages_forms_forms_z=Qt,e.AbstractControlDirective=w,e.AbstractFormGroupDirective=ct,e.CheckboxControlValueAccessor=m,e.ControlContainer=S,e.NG_VALUE_ACCESSOR=h,e.COMPOSITION_BUFFER_MODE=g,e.DefaultValueAccessor=_,e.NgControl=D,e.NgControlStatus=R,e.NgControlStatusGroup=F,e.NgForm=st,e.NgModel=xt,e.NgModelGroup=yt,e.NumberValueAccessor=X,e.RadioControlValueAccessor=ne,e.RangeValueAccessor=oe,e.FormControlDirective=It,e.FormControlName=Kt,e.FormGroupDirective=Rt,e.FormArrayName=zt,e.FormGroupName=Lt,e.NgSelectOption=ge,e.SelectControlValueAccessor=ve,e.SelectMultipleControlValueAccessor=xe,e.CheckboxRequiredValidator=tn,e.EmailValidator=on,e.MaxLengthValidator=pn,e.MinLengthValidator=ln,e.PatternValidator=fn,e.RequiredValidator=$t,e.FormBuilder=wn,e.AbstractControl=Ye,e.FormArray=nt,e.FormControl=Qe,e.FormGroup=Je,e.NG_ASYNC_VALIDATORS=U,e.NG_VALIDATORS=B,e.Validators=q,e.VERSION=Cn,e.FormsModule=Sn,e.ReactiveFormsModule=kn,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/a11y"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("@angular/forms"),require("@angular/platform-browser/animations"),require("@angular/cdk/platform"),require("rxjs")):System.registerDynamic("npm:@angular/material/bundles/material-slider.umd.js",["@angular/common","@angular/core","@angular/material/core","tslib","@angular/cdk/a11y","@angular/cdk/bidi","@angular/cdk/coercion","@angular/cdk/keycodes","@angular/forms","@angular/platform-browser/animations","@angular/cdk/platform","rxjs"],!1,function(e,t,n){return r.call(t,t,e("@angular/common"),e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/a11y"),e("@angular/cdk/bidi"),e("@angular/cdk/coercion"),e("@angular/cdk/keycodes"),e("@angular/forms"),e("@angular/platform-browser/animations"),e("@angular/cdk/platform"),e("rxjs"))})}(0,function(e,t,l,n,r,i,o,a,s,u,c,p,d){"use strict";function h(e){this._elementRef=e}var f,m=p.normalizePassiveListenerOptions({passive:!1}),v={provide:u.NG_VALUE_ACCESSOR,useExisting:l.forwardRef(function(){return _}),multi:!0},y=function(){},g=n.mixinTabIndex(n.mixinColor(n.mixinDisabled(h),"accent")),_=(f=g,r.__extends(b,f),Object.defineProperty(b.prototype,"invert",{get:function(){return this._invert},set:function(e){this._invert=a.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"max",{get:function(){return this._max},set:function(e){this._max=a.coerceNumberProperty(e,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"min",{get:function(){return this._min},set:function(e){this._min=a.coerceNumberProperty(e,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"step",{get:function(){return this._step},set:function(e){this._step=a.coerceNumberProperty(e,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"thumbLabel",{get:function(){return this._thumbLabel},set:function(e){this._thumbLabel=a.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"tickInterval",{get:function(){return this._tickInterval},set:function(e){this._tickInterval="auto"===e?"auto":"number"==typeof e||"string"==typeof e?a.coerceNumberProperty(e,this._tickInterval):0},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"value",{get:function(){return null===this._value&&(this.value=this._min),this._value},set:function(e){if(e!==this._value){var t=a.coerceNumberProperty(e);this._roundToDecimal&&(t=parseFloat(t.toFixed(this._roundToDecimal))),this._value=t,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"vertical",{get:function(){return this._vertical},set:function(e){this._vertical=a.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"displayValue",{get:function(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0},enumerable:!0,configurable:!0}),b.prototype.focus=function(e){this._focusHostElement(e)},b.prototype.blur=function(){this._blurHostElement()},Object.defineProperty(b.prototype,"percent",{get:function(){return this._clamp(this._percent)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"_invertAxis",{get:function(){return this.vertical?!this.invert:this.invert},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"_isMinValue",{get:function(){return 0===this.percent},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"_thumbGap",{get:function(){return this.disabled?7:this._isMinValue&&!this.thumbLabel?this._isActive?10:7:0},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"_trackBackgroundStyles",{get:function(){var e=this.vertical?"Y":"X",t=this.vertical?"1, "+(1-this.percent)+", 1":1-this.percent+", 1, 1";return{transform:"translate"+e+"("+(this._shouldInvertMouseCoords()?"-":"")+this._thumbGap+"px) scale3d("+t+")"}},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"_trackFillStyles",{get:function(){var e=this.vertical?"Y":"X",t=this.vertical?"1, "+this.percent+", 1":this.percent+", 1, 1";return{transform:"translate"+e+"("+(this._shouldInvertMouseCoords()?"":"-")+this._thumbGap+"px) scale3d("+t+")"}},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"_ticksContainerStyles",{get:function(){return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this.vertical||"rtl"!=this._getDirection()?"-":"")+this._tickIntervalPercent/2*100+"%)"}},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"_ticksStyles",{get:function(){var e=100*this._tickIntervalPercent,t={backgroundSize:this.vertical?"2px "+e+"%":e+"% 2px",transform:"translateZ(0) translate"+(this.vertical?"Y":"X")+"("+(this.vertical||"rtl"!=this._getDirection()?"":"-")+e/2+"%)"+(this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)")};return this._isMinValue&&this._thumbGap&&(t["padding"+(this.vertical?this._invertAxis?"Bottom":"Top":this._invertAxis?"Right":"Left")]=this._thumbGap+"px"),t},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"_thumbContainerStyles",{get:function(){return{transform:"translate"+(this.vertical?"Y":"X")+"(-"+100*(("rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis)?this.percent:1-this.percent)+"%)"}},enumerable:!0,configurable:!0}),b.prototype._shouldInvertMouseCoords=function(){return"rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis},b.prototype._getDirection=function(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"},b.prototype.ngOnInit=function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){t._isActive=!!e&&"keyboard"!==e,t._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(function(){t._changeDetectorRef.markForCheck()}))},b.prototype.ngOnDestroy=function(){var e=this._elementRef.nativeElement;e.removeEventListener("mousedown",this._pointerDown,m),e.removeEventListener("touchstart",this._pointerDown,m),this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()},b.prototype._onMouseenter=function(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())},b.prototype._onFocus=function(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()},b.prototype._onBlur=function(){this.onTouched()},b.prototype._onKeydown=function(e){if(!this.disabled&&!s.hasModifierKey(e)){var t=this.value;switch(e.keyCode){case s.PAGE_UP:this._increment(10);break;case s.PAGE_DOWN:this._increment(-10);break;case s.END:this.value=this.max;break;case s.HOME:this.value=this.min;break;case s.LEFT_ARROW:this._increment("rtl"==this._getDirection()?1:-1);break;case s.UP_ARROW:this._increment(1);break;case s.RIGHT_ARROW:this._increment("rtl"==this._getDirection()?-1:1);break;case s.DOWN_ARROW:this._increment(-1);break;default:return}t!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,e.preventDefault()}},b.prototype._onKeyup=function(){this._isSliding=!1},b.prototype._bindGlobalEvents=function(e){if("undefined"!=typeof document&&document){var t=w(e),n=t?"touchmove":"mousemove",r=t?"touchend":"mouseup";document.body.addEventListener(n,this._pointerMove,m),document.body.addEventListener(r,this._pointerUp,m)}},b.prototype._removeGlobalEvents=function(){"undefined"!=typeof document&&document&&(document.body.removeEventListener("mousemove",this._pointerMove,m),document.body.removeEventListener("mouseup",this._pointerUp,m),document.body.removeEventListener("touchmove",this._pointerMove,m),document.body.removeEventListener("touchend",this._pointerUp,m))},b.prototype._increment=function(e){this.value=this._clamp((this.value||0)+this.step*e,this.min,this.max)},b.prototype._updateValueFromPosition=function(e){if(this._sliderDimensions){var t=this.vertical?this._sliderDimensions.top:this._sliderDimensions.left,n=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,r=this.vertical?e.y:e.x,i=this._clamp((r-t)/n);if(this._shouldInvertMouseCoords()&&(i=1-i),0===i)this.value=this.min;else if(1===i)this.value=this.max;else{var o=this._calculateValue(i),a=Math.round((o-this.min)/this.step)*this.step+this.min;this.value=this._clamp(a,this.min,this.max)}}},b.prototype._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())},b.prototype._emitInputEvent=function(){this.input.emit(this._createChangeEvent())},b.prototype._updateTickIntervalPercent=function(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){var e=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,t=e*this.step/(this.max-this.min),n=Math.ceil(30/t)*this.step;this._tickIntervalPercent=n/e}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)},b.prototype._createChangeEvent=function(e){void 0===e&&(e=this.value);var t=new y;return t.source=this,t.value=e,t},b.prototype._calculatePercentage=function(e){return((e||0)-this.min)/(this.max-this.min)},b.prototype._calculateValue=function(e){return this.min+e*(this.max-this.min)},b.prototype._clamp=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),Math.max(t,Math.min(e,n))},b.prototype._getSliderDimensions=function(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null},b.prototype._focusHostElement=function(e){this._elementRef.nativeElement.focus(e)},b.prototype._blurHostElement=function(){this._elementRef.nativeElement.blur()},b.prototype._runInsideZone=function(e){this._ngZone?this._ngZone.run(e):e()},b.prototype._runOutsizeZone=function(e){this._ngZone?this._ngZone.runOutsideAngular(e):e()},b.prototype.writeValue=function(e){this.value=e},b.prototype.registerOnChange=function(e){this._controlValueAccessorChangeFn=e},b.prototype.registerOnTouched=function(e){this.onTouched=e},b.prototype.setDisabledState=function(e){this.disabled=e},b.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-slider",exportAs:"matSlider",providers:[v],host:{"(focus)":"_onFocus()","(blur)":"_onBlur()","(keydown)":"_onKeydown($event)","(keyup)":"_onKeyup()","(mouseenter)":"_onMouseenter()","(selectstart)":"$event.preventDefault()",class:"mat-slider",role:"slider","[tabIndex]":"tabIndex","[attr.aria-disabled]":"disabled","[attr.aria-valuemax]":"max","[attr.aria-valuemin]":"min","[attr.aria-valuenow]":"value","[attr.aria-orientation]":'vertical ? "vertical" : "horizontal"',"[class.mat-slider-disabled]":"disabled","[class.mat-slider-has-ticks]":"tickInterval","[class.mat-slider-horizontal]":"!vertical","[class.mat-slider-axis-inverted]":"_invertAxis","[class.mat-slider-invert-mouse-coords]":"_shouldInvertMouseCoords()","[class.mat-slider-sliding]":"_isSliding","[class.mat-slider-thumb-label-showing]":"thumbLabel","[class.mat-slider-vertical]":"vertical","[class.mat-slider-min-value]":"_isMinValue","[class.mat-slider-hide-last-tick]":"disabled || _isMinValue && _thumbGap && _invertAxis","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'},template:'<div class="mat-slider-wrapper" #sliderWrapper>\n  <div class="mat-slider-track-wrapper">\n    <div class="mat-slider-track-background" [ngStyle]="_trackBackgroundStyles"></div>\n    <div class="mat-slider-track-fill" [ngStyle]="_trackFillStyles"></div>\n  </div>\n  <div class="mat-slider-ticks-container" [ngStyle]="_ticksContainerStyles">\n    <div class="mat-slider-ticks" [ngStyle]="_ticksStyles"></div>\n  </div>\n  <div class="mat-slider-thumb-container" [ngStyle]="_thumbContainerStyles">\n    <div class="mat-slider-focus-ring"></div>\n    <div class="mat-slider-thumb"></div>\n    <div class="mat-slider-thumb-label">\n      <span class="mat-slider-thumb-label-text">{{displayValue}}</span>\n    </div>\n  </div>\n</div>\n',inputs:["disabled","color","tabIndex"],encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}@media(-ms-high-contrast: active){.mat-slider-thumb-label{outline:solid 1px}}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}@media(-ms-high-contrast: active){.mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}@media(-ms-high-contrast: active){.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}@media(-ms-high-contrast: active){.mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}/*# sourceMappingURL=slider.css.map */\n']}]}],b.ctorParameters=function(){return[{type:l.ElementRef},{type:i.FocusMonitor},{type:l.ChangeDetectorRef},{type:o.Directionality,decorators:[{type:l.Optional}]},{type:String,decorators:[{type:l.Attribute,args:["tabindex"]}]},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[c.ANIMATION_MODULE_TYPE]}]},{type:l.NgZone}]},b.propDecorators={invert:[{type:l.Input}],max:[{type:l.Input}],min:[{type:l.Input}],step:[{type:l.Input}],thumbLabel:[{type:l.Input}],tickInterval:[{type:l.Input}],value:[{type:l.Input}],displayWith:[{type:l.Input}],vertical:[{type:l.Input}],change:[{type:l.Output}],input:[{type:l.Output}],valueChange:[{type:l.Output}],_sliderWrapper:[{type:l.ViewChild,args:["sliderWrapper",{static:!1}]}]},b);function b(t,e,n,r,i,o,a){var s=f.call(this,t)||this;return s._focusMonitor=e,s._changeDetectorRef=n,s._dir=r,s._animationMode=o,s._ngZone=a,s._invert=!1,s._max=100,s._min=0,s._step=1,s._thumbLabel=!1,s._tickInterval=0,s._value=null,s._vertical=!1,s.change=new l.EventEmitter,s.input=new l.EventEmitter,s.valueChange=new l.EventEmitter,s.onTouched=function(){},s._percent=0,s._isSliding=!1,s._isActive=!1,s._tickIntervalPercent=0,s._sliderDimensions=null,s._controlValueAccessorChangeFn=function(){},s._dirChangeSubscription=d.Subscription.EMPTY,s._pointerDown=function(n){s.disabled||s._isSliding||!w(n)&&0!==n.button||s._runInsideZone(function(){var e=s.value,t=x(n);s._isSliding=!0,n.preventDefault(),s._focusHostElement(),s._onMouseenter(),s._bindGlobalEvents(n),s._focusHostElement(),s._updateValueFromPosition(t),s._valueOnSlideStart=s.value,s._pointerPositionOnStart=t,e!=s.value&&(s._emitInputEvent(),s._emitChangeEvent())})},s._pointerMove=function(e){if(s._isSliding){e.preventDefault();var t=s.value;s._updateValueFromPosition(x(e)),t!=s.value&&s._emitInputEvent()}},s._pointerUp=function(e){if(s._isSliding){var t=s._pointerPositionOnStart,n=x(e);e.preventDefault(),s._removeGlobalEvents(),s._valueOnSlideStart=s._pointerPositionOnStart=null,s._isSliding=!1,s._valueOnSlideStart==s.value||s.disabled||!t||t.x===n.x&&t.y===n.y||s._emitChangeEvent()}},s.tabIndex=parseInt(i)||0,s._runOutsizeZone(function(){var e=t.nativeElement;e.addEventListener("mousedown",s._pointerDown,m),e.addEventListener("touchstart",s._pointerDown,m)}),s}function w(e){return"t"===e.type[0]}function x(e){var t=w(e)?e.touches[0]||e.changedTouches[0]:e;return{x:t.clientX,y:t.clientY}}var C=(S.decorators=[{type:l.NgModule,args:[{imports:[t.CommonModule,n.MatCommonModule],exports:[_,n.MatCommonModule],declarations:[_]}]}],S);function S(){}e.MatSliderModule=C,e.MAT_SLIDER_VALUE_ACCESSOR=v,e.MatSliderChange=y,e.MatSlider=_,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/overlay"),require("@angular/cdk/portal"),require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("@angular/material/button"),require("rxjs"),require("tslib"),require("rxjs/operators"),require("@angular/animations"),require("@angular/cdk/a11y"),require("@angular/cdk/layout")):System.registerDynamic("npm:@angular/material/bundles/material-snack-bar.umd.js",["@angular/cdk/overlay","@angular/cdk/portal","@angular/common","@angular/core","@angular/material/core","@angular/material/button","rxjs","tslib","rxjs/operators","@angular/animations","@angular/cdk/a11y","@angular/cdk/layout"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/overlay"),e("@angular/cdk/portal"),e("@angular/common"),e("@angular/core"),e("@angular/material/core"),e("@angular/material/button"),e("rxjs"),e("tslib"),e("rxjs/operators"),e("@angular/animations"),e("@angular/cdk/a11y"),e("@angular/cdk/layout"))})}(0,function(e,a,u,t,c,n,r,o,p,d,i,s,h){"use strict";var f=(l.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)},l.prototype.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())},l.prototype.closeWithAction=function(){this.dismissWithAction()},l.prototype._dismissAfter=function(e){var t=this;this._durationTimeoutId=setTimeout(function(){return t.dismiss()},e)},l.prototype._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())},l.prototype._finishDismiss=function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1},l.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},l.prototype.afterOpened=function(){return this.containerInstance._onEnter},l.prototype.onAction=function(){return this._onAction.asObservable()},l);function l(e,t){var n=this;this._overlayRef=t,this._afterDismissed=new o.Subject,this._afterOpened=new o.Subject,this._onAction=new o.Subject,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe(function(){return n.dismiss()}),e._onExit.subscribe(function(){return n._finishDismiss()})}var m=new c.InjectionToken("MatSnackBarData"),v=function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"},y=(g.prototype.action=function(){this.snackBarRef.dismissWithAction()},Object.defineProperty(g.prototype,"hasAction",{get:function(){return!!this.data.action},enumerable:!0,configurable:!0}),g.decorators=[{type:c.Component,args:[{moduleId:module.id,selector:"simple-snack-bar",template:'<span>{{data.message}}</span>\n<div class="mat-simple-snackbar-action"  *ngIf="hasAction">\n  <button mat-button (click)="action()">{{data.action}}</button>\n</div>\n',encapsulation:c.ViewEncapsulation.None,changeDetection:c.ChangeDetectionStrategy.OnPush,host:{class:"mat-simple-snackbar"},styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}/*# sourceMappingURL=simple-snack-bar.css.map */\n"]}]}],g.ctorParameters=function(){return[{type:f},{type:void 0,decorators:[{type:c.Inject,args:[m]}]}]},g);function g(e,t){this.snackBarRef=e,this.data=t}var _,b={snackBarState:i.trigger("state",[i.state("void, hidden",i.style({transform:"scale(0.8)",opacity:0})),i.state("visible",i.style({transform:"scale(1)",opacity:1})),i.transition("* => visible",i.animate("150ms cubic-bezier(0, 0, 0.2, 1)")),i.transition("* => void, * => hidden",i.animate("75ms cubic-bezier(0.4, 0.0, 1, 1)",i.style({opacity:0})))])},w=(_=u.BasePortalOutlet,p.__extends(x,_),x.prototype.attachComponentPortal=function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)},x.prototype.attachTemplatePortal=function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)},x.prototype.onAnimationEnd=function(e){var t=e.fromState,n=e.toState;if(("void"===n&&"void"!==t||"hidden"===n)&&this._completeExit(),"visible"===n){var r=this._onEnter;this._ngZone.run(function(){r.next(),r.complete()})}},x.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},x.prototype.exit=function(){return this._animationState="hidden",this._onExit},x.prototype.ngOnDestroy=function(){this._destroyed=!0,this._completeExit()},x.prototype._completeExit=function(){var e=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(d.take(1)).subscribe(function(){e._onExit.next(),e._onExit.complete()})},x.prototype._applySnackBarClasses=function(){var t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(function(e){return t.classList.add(e)}):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")},x.prototype._assertNotAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")},x.decorators=[{type:c.Component,args:[{moduleId:module.id,selector:"snack-bar-container",template:"<ng-template cdkPortalOutlet></ng-template>\n",changeDetection:c.ChangeDetectionStrategy.Default,encapsulation:c.ViewEncapsulation.None,animations:[b.snackBarState],host:{"[attr.role]":"_role",class:"mat-snack-bar-container","[@state]":"_animationState","(@state.done)":"onAnimationEnd($event)"},styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media(-ms-high-contrast: active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}/*# sourceMappingURL=snack-bar-container.css.map */\n"]}]}],x.ctorParameters=function(){return[{type:c.NgZone},{type:c.ElementRef},{type:c.ChangeDetectorRef},{type:v}]},x.propDecorators={_portalOutlet:[{type:c.ViewChild,args:[u.CdkPortalOutlet,{static:!0}]}]},x);function x(e,t,n,r){var i=_.call(this)||this;return i._ngZone=e,i._elementRef=t,i._changeDetectorRef=n,i.snackBarConfig=r,i._destroyed=!1,i._onExit=new o.Subject,i._onEnter=new o.Subject,i._animationState="void","assertive"!==r.politeness||r.announcementMessage?"off"===r.politeness?i._role=null:i._role="status":i._role="alert",i}var C=(S.decorators=[{type:c.NgModule,args:[{imports:[a.OverlayModule,u.PortalModule,t.CommonModule,r.MatButtonModule,n.MatCommonModule],exports:[w,n.MatCommonModule],declarations:[w,y],entryComponents:[w,y]}]}],S);function S(){}var E=new c.InjectionToken("mat-snack-bar-default-options",{providedIn:"root",factory:O});function O(){return new v}var k=(Object.defineProperty(D.prototype,"_openedSnackBarRef",{get:function(){var e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e},enumerable:!0,configurable:!0}),D.prototype.openFromComponent=function(e,t){return this._attach(e,t)},D.prototype.openFromTemplate=function(e,t){return this._attach(e,t)},D.prototype.open=function(e,t,n){void 0===t&&(t="");var r=p.__assign({},this._defaultConfig,n);return r.data={message:e,action:t},r.announcementMessage||(r.announcementMessage=e),this.openFromComponent(y,r)},D.prototype.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()},D.prototype.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()},D.prototype._attachSnackBarContainer=function(e,t){var n=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=new u.PortalInjector(n||this._injector,new WeakMap([[v,t]])),i=new u.ComponentPortal(w,t.viewContainerRef,r),o=e.attach(i);return o.instance.snackBarConfig=t,o.instance},D.prototype._attach=function(e,t){var n=p.__assign({},new v,this._defaultConfig,t),r=this._createOverlay(n),i=this._attachSnackBarContainer(r,n),o=new f(i,r);if(e instanceof c.TemplateRef){var a=new u.TemplatePortal(e,null,{$implicit:n.data,snackBarRef:o});o.instance=i.attachTemplatePortal(a)}else{var s=this._createInjector(n,o),l=(a=new u.ComponentPortal(e,void 0,s),i.attachComponentPortal(a));o.instance=l.instance}return this._breakpointObserver.observe(h.Breakpoints.HandsetPortrait).pipe(d.takeUntil(r.detachments())).subscribe(function(e){var t=r.overlayElement.classList,n="mat-snack-bar-handset";e.matches?t.add(n):t.remove(n)}),this._animateSnackBar(o,n),this._openedSnackBarRef=o,this._openedSnackBarRef},D.prototype._animateSnackBar=function(e,t){var n=this;e.afterDismissed().subscribe(function(){n._openedSnackBarRef==e&&(n._openedSnackBarRef=null),t.announcementMessage&&n._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&0<t.duration&&e.afterOpened().subscribe(function(){return e._dismissAfter(t.duration)}),t.announcementMessage&&this._live.announce(t.announcementMessage,t.politeness)},D.prototype._createOverlay=function(e){var t=new a.OverlayConfig;t.direction=e.direction;var n=this._overlay.position().global(),r="rtl"===e.direction,i="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!r||"end"===e.horizontalPosition&&r,o=!i&&"center"!==e.horizontalPosition;return i?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)},D.prototype._createInjector=function(e,t){var n=e&&e.viewContainerRef&&e.viewContainerRef.injector;return new u.PortalInjector(n||this._injector,new WeakMap([[f,t],[m,e.data]]))},D.decorators=[{type:c.Injectable,args:[{providedIn:C}]}],D.ctorParameters=function(){return[{type:a.Overlay},{type:s.LiveAnnouncer},{type:c.Injector},{type:h.BreakpointObserver},{type:D,decorators:[{type:c.Optional},{type:c.SkipSelf}]},{type:v,decorators:[{type:c.Inject,args:[E]}]}]},D.ngInjectableDef=c.ɵɵdefineInjectable({factory:function(){return new D(c.ɵɵinject(a.Overlay),c.ɵɵinject(s.LiveAnnouncer),c.ɵɵinject(c.INJECTOR),c.ɵɵinject(h.BreakpointObserver),c.ɵɵinject(D,12),c.ɵɵinject(E))},token:D,providedIn:C}),D);function D(e,t,n,r,i,o){this._overlay=e,this._live=t,this._injector=n,this._breakpointObserver=r,this._parentSnackBar=i,this._defaultConfig=o,this._snackBarRefAtThisLevel=null}e.MatSnackBarModule=C,e.MAT_SNACK_BAR_DEFAULT_OPTIONS=E,e.MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY=O,e.MatSnackBar=k,e.MatSnackBarContainer=w,e.MAT_SNACK_BAR_DATA=m,e.MatSnackBarConfig=v,e.MatSnackBarRef=f,e.SimpleSnackBar=y,e.matSnackBarAnimations=b,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("tslib"),require("@angular/cdk/coercion"),require("@angular/material/core"),require("rxjs"),require("@angular/animations"),require("@angular/common")):System.registerDynamic("npm:@angular/material/bundles/material-sort.umd.js",["@angular/core","tslib","@angular/cdk/coercion","@angular/material/core","rxjs","@angular/animations","@angular/common"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("tslib"),e("@angular/cdk/coercion"),e("@angular/material/core"),e("rxjs"),e("@angular/animations"),e("@angular/common"))})}(0,function(e,t,n,r,i,o,a,s){"use strict";function l(){}var u,c=i.mixinInitialized(i.mixinDisabled(l)),p=(u=c,n.__extends(d,u),Object.defineProperty(d.prototype,"direction",{get:function(){return this._direction},set:function(e){if(t.isDevMode()&&e&&"asc"!==e&&"desc"!==e)throw function(e){return Error(e+" is not a valid sort direction ('asc' or 'desc').")}(e);this._direction=e},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"disableClear",{get:function(){return this._disableClear},set:function(e){this._disableClear=r.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),d.prototype.register=function(e){if(!e.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(e.id))throw function(e){return Error("Cannot have two MatSortables with the same id ("+e+").")}(e.id);this.sortables.set(e.id,e)},d.prototype.deregister=function(e){this.sortables.delete(e.id)},d.prototype.sort=function(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})},d.prototype.getNextSortDirection=function(e){if(!e)return"";var t=null!=e.disableClear?e.disableClear:this.disableClear,n=function(e,t){var n=["asc","desc"];return"desc"==e&&n.reverse(),t||n.push(""),n}(e.start||this.start,t),r=n.indexOf(this.direction)+1;return r>=n.length&&(r=0),n[r]},d.prototype.ngOnInit=function(){this._markInitialized()},d.prototype.ngOnChanges=function(){this._stateChanges.next()},d.prototype.ngOnDestroy=function(){this._stateChanges.complete()},d.decorators=[{type:t.Directive,args:[{selector:"[matSort]",exportAs:"matSort",inputs:["disabled: matSortDisabled"]}]}],d.propDecorators={active:[{type:t.Input,args:["matSortActive"]}],start:[{type:t.Input,args:["matSortStart"]}],direction:[{type:t.Input,args:["matSortDirection"]}],disableClear:[{type:t.Input,args:["matSortDisableClear"]}],sortChange:[{type:t.Output,args:["matSortChange"]}]},d);function d(){var e=null!==u&&u.apply(this,arguments)||this;return e.sortables=new Map,e._stateChanges=new o.Subject,e.start="asc",e._direction="",e.sortChange=new t.EventEmitter,e}var h=i.AnimationDurations.ENTERING+" "+i.AnimationCurves.STANDARD_CURVE,f={indicator:a.trigger("indicator",[a.state("active-asc, asc",a.style({transform:"translateY(0px)"})),a.state("active-desc, desc",a.style({transform:"translateY(10px)"})),a.transition("active-asc <=> active-desc",a.animate(h))]),leftPointer:a.trigger("leftPointer",[a.state("active-asc, asc",a.style({transform:"rotate(-45deg)"})),a.state("active-desc, desc",a.style({transform:"rotate(45deg)"})),a.transition("active-asc <=> active-desc",a.animate(h))]),rightPointer:a.trigger("rightPointer",[a.state("active-asc, asc",a.style({transform:"rotate(45deg)"})),a.state("active-desc, desc",a.style({transform:"rotate(-45deg)"})),a.transition("active-asc <=> active-desc",a.animate(h))]),arrowOpacity:a.trigger("arrowOpacity",[a.state("desc-to-active, asc-to-active, active",a.style({opacity:1})),a.state("desc-to-hint, asc-to-hint, hint",a.style({opacity:.54})),a.state("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",a.style({opacity:0})),a.transition("* => asc, * => desc, * => active, * => hint, * => void",a.animate("0ms")),a.transition("* <=> *",a.animate(h))]),arrowPosition:a.trigger("arrowPosition",[a.transition("* => desc-to-hint, * => desc-to-active",a.animate(h,a.keyframes([a.style({transform:"translateY(-25%)"}),a.style({transform:"translateY(0)"})]))),a.transition("* => hint-to-desc, * => active-to-desc",a.animate(h,a.keyframes([a.style({transform:"translateY(0)"}),a.style({transform:"translateY(25%)"})]))),a.transition("* => asc-to-hint, * => asc-to-active",a.animate(h,a.keyframes([a.style({transform:"translateY(25%)"}),a.style({transform:"translateY(0)"})]))),a.transition("* => hint-to-asc, * => active-to-asc",a.animate(h,a.keyframes([a.style({transform:"translateY(0)"}),a.style({transform:"translateY(-25%)"})]))),a.state("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",a.style({transform:"translateY(0)"})),a.state("hint-to-desc, active-to-desc, desc",a.style({transform:"translateY(-25%)"})),a.state("hint-to-asc, active-to-asc, asc",a.style({transform:"translateY(25%)"}))]),allowChildren:a.trigger("allowChildren",[a.transition("* <=> *",[a.query("@*",a.animateChild(),{optional:!0})])])},m=(v.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],v.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new v},token:v,providedIn:"root"}),v);function v(){this.changes=new o.Subject,this.sortButtonLabel=function(e){return"Change sorting for "+e}}function y(e){return e||new m}function g(){}var _,b={provide:m,deps:[[new t.Optional,new t.SkipSelf,m]],useFactory:y},w=i.mixinDisabled(g),x=(_=w,n.__extends(C,_),Object.defineProperty(C.prototype,"disableClear",{get:function(){return this._disableClear},set:function(e){this._disableClear=r.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),C.prototype.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)},C.prototype.ngOnDestroy=function(){this._sort.deregister(this),this._rerenderSubscription.unsubscribe()},C.prototype._setIndicatorHintVisible=function(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))},C.prototype._setAnimationTransitionState=function(e){this._viewState=e,this._disableViewStateAnimation&&(this._viewState={toState:e.toState})},C.prototype._handleClick=function(){if(!this._isDisabled()){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var e=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(e),this._showIndicatorHint=!1}},C.prototype._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)},C.prototype._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection},C.prototype._getArrowViewState=function(){var e=this._viewState.fromState;return(e?e+"-to-":"")+this._viewState.toState},C.prototype._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start},C.prototype._isDisabled=function(){return this._sort.disabled||this.disabled},C.prototype._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":null},C.prototype._renderArrow=function(){return!this._isDisabled()||this._isSorted()},C.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"[mat-sort-header]",exportAs:"matSortHeader",template:'<div class="mat-sort-header-container"\n     [class.mat-sort-header-sorted]="_isSorted()"\n     [class.mat-sort-header-position-before]="arrowPosition == \'before\'">\n  <button class="mat-sort-header-button" type="button"\n          [attr.disabled]="_isDisabled() || null"\n          [attr.aria-label]="_intl.sortButtonLabel(id)"\n          (focus)="_setIndicatorHintVisible(true)"\n          (blur)="_setIndicatorHintVisible(false)">\n    <ng-content></ng-content>\n  </button>\n\n  \x3c!-- Disable animations while a current animation is running --\x3e\n  <div class="mat-sort-header-arrow"\n       *ngIf="_renderArrow()"\n       [@arrowOpacity]="_getArrowViewState()"\n       [@arrowPosition]="_getArrowViewState()"\n       [@allowChildren]="_getArrowDirectionState()"\n       (@arrowPosition.start)="_disableViewStateAnimation = true"\n       (@arrowPosition.done)="_disableViewStateAnimation = false">\n    <div class="mat-sort-header-stem"></div>\n    <div class="mat-sort-header-indicator" [@indicator]="_getArrowDirectionState()">\n      <div class="mat-sort-header-pointer-left" [@leftPointer]="_getArrowDirectionState()"></div>\n      <div class="mat-sort-header-pointer-right" [@rightPointer]="_getArrowDirectionState()"></div>\n      <div class="mat-sort-header-pointer-middle"></div>\n    </div>\n  </div>\n</div>\n',host:{"(click)":"_handleClick()","(mouseenter)":"_setIndicatorHintVisible(true)","(mouseleave)":"_setIndicatorHintVisible(false)","[attr.aria-sort]":"_getAriaSortAttribute()","[class.mat-sort-header-disabled]":"_isDisabled()"},encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,inputs:["disabled"],animations:[f.indicator,f.leftPointer,f.rightPointer,f.arrowOpacity,f.arrowPosition,f.allowChildren],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media(-ms-high-contrast: active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media(-ms-high-contrast: active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media(-ms-high-contrast: active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}/*# sourceMappingURL=sort-header.css.map */\n"]}]}],C.ctorParameters=function(){return[{type:m},{type:t.ChangeDetectorRef},{type:p,decorators:[{type:t.Optional}]},{type:void 0,decorators:[{type:t.Inject,args:["MAT_SORT_HEADER_COLUMN_DEF"]},{type:t.Optional}]}]},C.propDecorators={id:[{type:t.Input,args:["mat-sort-header"]}],arrowPosition:[{type:t.Input}],start:[{type:t.Input}],disableClear:[{type:t.Input}]},C);function C(e,t,n,r){var i=_.call(this)||this;if(i._intl=e,i._sort=n,i._columnDef=r,i._showIndicatorHint=!1,i._arrowDirection="",i._disableViewStateAnimation=!1,i.arrowPosition="after",!n)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return i._rerenderSubscription=o.merge(n.sortChange,n._stateChanges,e.changes).subscribe(function(){i._isSorted()&&i._updateArrowDirection(),!i._isSorted()&&i._viewState&&"active"===i._viewState.toState&&(i._disableViewStateAnimation=!1,i._setAnimationTransitionState({fromState:"active",toState:i._arrowDirection})),t.markForCheck()}),i}var S=(E.decorators=[{type:t.NgModule,args:[{imports:[s.CommonModule],exports:[p,x],declarations:[p,x],providers:[b]}]}],E);function E(){}e.MatSortModule=S,e.MatSortHeader=x,e.MatSortHeaderIntl=m,e.MAT_SORT_HEADER_INTL_PROVIDER_FACTORY=y,e.MAT_SORT_HEADER_INTL_PROVIDER=b,e.MatSort=p,e.matSortAnimations=f,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/a11y"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("@angular/common"),require("@angular/core"),require("rxjs"),require("rxjs/operators")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-stepper.umd.js",["@angular/cdk/a11y","@angular/cdk/bidi","@angular/cdk/coercion","@angular/cdk/keycodes","@angular/common","@angular/core","rxjs","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/a11y"),e("@angular/cdk/bidi"),e("@angular/cdk/coercion"),e("@angular/cdk/keycodes"),e("@angular/common"),e("@angular/core"),e("rxjs"),e("rxjs/operators"))})}(0,function(e,n,t,r,i,o,a,s,l){"use strict";var u=(c.prototype.focus=function(){this._elementRef.nativeElement.focus()},c.decorators=[{type:a.Directive,args:[{selector:"[cdkStepHeader]",host:{role:"tab"}}]}],c.ctorParameters=function(){return[{type:a.ElementRef}]},c);function c(e){this._elementRef=e}var p=(d.decorators=[{type:a.Directive,args:[{selector:"[cdkStepLabel]"}]}],d.ctorParameters=function(){return[{type:a.TemplateRef}]},d);function d(e){this.template=e}function h(){}var f=0,m={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},v=new a.InjectionToken("STEPPER_GLOBAL_OPTIONS"),y=v,g=(Object.defineProperty(_.prototype,"editable",{get:function(){return this._editable},set:function(e){this._editable=r.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"optional",{get:function(){return this._optional},set:function(e){this._optional=r.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"completed",{get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(e){this._completedOverride=r.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),_.prototype._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted},Object.defineProperty(_.prototype,"hasError",{get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(e){this._customError=r.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),_.prototype._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted},_.prototype.select=function(){this._stepper.selected=this},_.prototype.reset=function(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()},_.prototype.ngOnChanges=function(){this._stepper._stateChanged()},_.decorators=[{type:a.Component,args:[{moduleId:module.id,selector:"cdk-step",exportAs:"cdkStep",template:"<ng-template><ng-content></ng-content></ng-template>",encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.OnPush}]}],_.ctorParameters=function(){return[{type:b,decorators:[{type:a.Inject,args:[a.forwardRef(function(){return b})]}]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[v]}]}]},_.propDecorators={stepLabel:[{type:a.ContentChild,args:[p,{static:!1}]}],content:[{type:a.ViewChild,args:[a.TemplateRef,{static:!0}]}],stepControl:[{type:a.Input}],label:[{type:a.Input}],errorMessage:[{type:a.Input}],ariaLabel:[{type:a.Input,args:["aria-label"]}],ariaLabelledby:[{type:a.Input,args:["aria-labelledby"]}],state:[{type:a.Input}],editable:[{type:a.Input}],optional:[{type:a.Input}],completed:[{type:a.Input}],hasError:[{type:a.Input}]},_);function _(e,t){this._stepper=e,this.interacted=!1,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=t||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}var b=(Object.defineProperty(w.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"linear",{get:function(){return this._linear},set:function(e){this._linear=r.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(e){var t=r.coerceNumberProperty(e);if(this.steps){if(t<0||t>this.steps.length-1)throw Error("cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.");this._selectedIndex!=t&&!this._anyControlsInvalidOrPending(t)&&(t>=this._selectedIndex||this.steps.toArray()[t].editable)&&this._updateSelectedItemIndex(e)}else this._selectedIndex=t},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"selected",{get:function(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0},set:function(e){this.selectedIndex=this.steps?this.steps.toArray().indexOf(e):-1},enumerable:!0,configurable:!0}),w.prototype.ngAfterViewInit=function(){var t=this;this._keyManager=new n.FocusKeyManager(this._stepHeader).withWrap().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:s.of()).pipe(l.startWith(this._layoutDirection()),l.takeUntil(this._destroyed)).subscribe(function(e){return t._keyManager.withHorizontalOrientation(e)}),this._keyManager.updateActiveItemIndex(this._selectedIndex),this.steps.changes.pipe(l.takeUntil(this._destroyed)).subscribe(function(){t.selected||(t._selectedIndex=Math.max(t._selectedIndex-1,0))})},w.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},w.prototype.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)},w.prototype.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)},w.prototype.reset=function(){this._updateSelectedItemIndex(0),this.steps.forEach(function(e){return e.reset()}),this._stateChanged()},w.prototype._getStepLabelId=function(e){return"cdk-step-label-"+this._groupId+"-"+e},w.prototype._getStepContentId=function(e){return"cdk-step-content-"+this._groupId+"-"+e},w.prototype._stateChanged=function(){this._changeDetectorRef.markForCheck()},w.prototype._getAnimationDirection=function(e){var t=e-this._selectedIndex;return t<0?"rtl"===this._layoutDirection()?"next":"previous":0<t?"rtl"===this._layoutDirection()?"previous":"next":"current"},w.prototype._getIndicatorType=function(e,t){void 0===t&&(t=m.NUMBER);var n=this.steps.toArray()[e],r=this._isCurrentStep(e);return n._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(n,r):this._getGuidelineLogic(n,r,t)},w.prototype._getDefaultIndicatorLogic=function(e,t){return e._showError&&e.hasError&&!t?m.ERROR:!e.completed||t?m.NUMBER:e.editable?m.EDIT:m.DONE},w.prototype._getGuidelineLogic=function(e,t,n){return void 0===n&&(n=m.NUMBER),e._showError&&e.hasError&&!t?m.ERROR:e.completed&&!t?m.DONE:e.completed&&t?n:e.editable&&t?m.EDIT:n},w.prototype._isCurrentStep=function(e){return this._selectedIndex===e},w.prototype._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex},w.prototype._updateSelectedItemIndex=function(e){var t=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItemIndex(e),this._selectedIndex=e,this._stateChanged()},w.prototype._onKeydown=function(e){var t=i.hasModifierKey(e),n=e.keyCode,r=this._keyManager;null==r.activeItemIndex||t||n!==i.SPACE&&n!==i.ENTER?n===i.HOME?(r.setFirstItemActive(),e.preventDefault()):n===i.END?(r.setLastItemActive(),e.preventDefault()):r.onKeydown(e):(this.selectedIndex=r.activeItemIndex,e.preventDefault())},w.prototype._anyControlsInvalidOrPending=function(e){var t=this.steps.toArray();return t[this._selectedIndex].interacted=!0,!!(this._linear&&0<=e)&&t.slice(0,e).some(function(e){var t=e.stepControl;return(t?t.invalid||t.pending||!e.interacted:!e.completed)&&!e.optional&&!e._completedOverride})},w.prototype._layoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},w.prototype._containsFocus=function(){if(!this._document||!this._elementRef)return!1;var e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)},w.decorators=[{type:a.Directive,args:[{selector:"[cdkStepper]",exportAs:"cdkStepper"}]}],w.ctorParameters=function(){return[{type:t.Directionality,decorators:[{type:a.Optional}]},{type:a.ChangeDetectorRef},{type:a.ElementRef},{type:void 0,decorators:[{type:a.Inject,args:[o.DOCUMENT]}]}]},w.propDecorators={_steps:[{type:a.ContentChildren,args:[g]}],_stepHeader:[{type:a.ContentChildren,args:[u]}],linear:[{type:a.Input}],selectedIndex:[{type:a.Input}],selected:[{type:a.Input}],selectionChange:[{type:a.Output}]},w);function w(e,t,n,r){this._dir=e,this._changeDetectorRef=t,this._elementRef=n,this._destroyed=new s.Subject,this._linear=!1,this._selectedIndex=0,this.selectionChange=new a.EventEmitter,this._orientation="horizontal",this._groupId=f++,this._document=r}var x=(C.prototype._handleClick=function(){this._stepper.next()},C.decorators=[{type:a.Directive,args:[{selector:"button[cdkStepperNext]",host:{"[type]":"type"}}]}],C.ctorParameters=function(){return[{type:b}]},C.propDecorators={type:[{type:a.Input}],_handleClick:[{type:a.HostListener,args:["click"]}]},C);function C(e){this._stepper=e,this.type="submit"}var S=(E.prototype._handleClick=function(){this._stepper.previous()},E.decorators=[{type:a.Directive,args:[{selector:"button[cdkStepperPrevious]",host:{"[type]":"type"}}]}],E.ctorParameters=function(){return[{type:b}]},E.propDecorators={type:[{type:a.Input}],_handleClick:[{type:a.HostListener,args:["click"]}]},E);function E(e){this._stepper=e,this.type="button"}var O=(k.decorators=[{type:a.NgModule,args:[{imports:[t.BidiModule,o.CommonModule],exports:[g,b,u,p,x,S],declarations:[g,b,u,p,x,S]}]}],k);function k(){}e.StepperSelectionEvent=h,e.STEP_STATE=m,e.STEPPER_GLOBAL_OPTIONS=v,e.MAT_STEPPER_GLOBAL_OPTIONS=y,e.CdkStep=g,e.CdkStepper=b,e.CdkStepLabel=p,e.CdkStepperNext=x,e.CdkStepperPrevious=S,e.CdkStepperModule=O,e.CdkStepHeader=u,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/a11y"),require("@angular/platform-browser/animations")):System.registerDynamic("npm:@angular/material/bundles/material-button.umd.js",["@angular/common","@angular/core","@angular/material/core","tslib","@angular/cdk/a11y","@angular/platform-browser/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/common"),e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/a11y"),e("@angular/platform-browser/animations"))})}(0,function(e,t,n,r,u,i,o){"use strict";function a(e){this._elementRef=e}var c,p=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],s=r.mixinColor(r.mixinDisabled(r.mixinDisableRipple(a))),l=(c=s,u.__extends(d,c),d.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},d.prototype.focus=function(e,t){void 0===e&&(e="program"),this._focusMonitor.focusVia(this._getHostElement(),e,t)},d.prototype._getHostElement=function(){return this._elementRef.nativeElement},d.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},d.prototype._hasHostAttributes=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.some(function(e){return t._getHostElement().hasAttribute(e)})},d.decorators=[{type:n.Component,args:[{moduleId:module.id,selector:"button[mat-button], button[mat-raised-button], button[mat-icon-button],\n             button[mat-fab], button[mat-mini-fab], button[mat-stroked-button],\n             button[mat-flat-button]",exportAs:"matButton",host:{"[attr.disabled]":"disabled || null","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'},template:'<span class="mat-button-wrapper"><ng-content></ng-content></span>\n<div matRipple class="mat-button-ripple"\n     [class.mat-button-ripple-round]="isRoundButton || isIconButton"\n     [matRippleDisabled]="_isRippleDisabled()"\n     [matRippleCentered]="isIconButton"\n     [matRippleTrigger]="_getHostElement()"></div>\n<div class="mat-button-focus-overlay"></div>\n',inputs:["disabled","disableRipple","color"],encapsulation:n.ViewEncapsulation.None,changeDetection:n.ChangeDetectionStrategy.OnPush,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media(-ms-high-contrast: active){.mat-button-focus-overlay{background-color:#fff}}@media(-ms-high-contrast: black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media(-ms-high-contrast: active){.mat-button,.mat-flat-button,.mat-raised-button,.mat-icon-button,.mat-fab,.mat-mini-fab{outline:solid 1px}}/*# sourceMappingURL=button.css.map */\n"]}]}],d.ctorParameters=function(){return[{type:n.ElementRef},{type:i.FocusMonitor},{type:String,decorators:[{type:n.Optional},{type:n.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},d.propDecorators={ripple:[{type:n.ViewChild,args:[r.MatRipple,{static:!1}]}]},d);function d(e,t,n){var r,i,o=c.call(this,e)||this;o._focusMonitor=t,o._animationMode=n,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");try{for(var a=u.__values(p),s=a.next();!s.done;s=a.next()){var l=s.value;o._hasHostAttributes(l)&&o._getHostElement().classList.add(l)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return e.nativeElement.classList.add("mat-button-base"),o._focusMonitor.monitor(o._elementRef,!0),o.isRoundButton&&(o.color="accent"),o}var h,f=(h=l,u.__extends(m,h),m.prototype._haltDisabledEvents=function(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())},m.decorators=[{type:n.Component,args:[{moduleId:module.id,selector:"a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab],\n             a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]",exportAs:"matButton, matAnchor",host:{"[attr.tabindex]":"disabled ? -1 : (tabIndex || 0)","[attr.disabled]":"disabled || null","[attr.aria-disabled]":"disabled.toString()","(click)":"_haltDisabledEvents($event)","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'},inputs:["disabled","disableRipple","color"],template:'<span class="mat-button-wrapper"><ng-content></ng-content></span>\n<div matRipple class="mat-button-ripple"\n     [class.mat-button-ripple-round]="isRoundButton || isIconButton"\n     [matRippleDisabled]="_isRippleDisabled()"\n     [matRippleCentered]="isIconButton"\n     [matRippleTrigger]="_getHostElement()"></div>\n<div class="mat-button-focus-overlay"></div>\n',encapsulation:n.ViewEncapsulation.None,changeDetection:n.ChangeDetectionStrategy.OnPush,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media(-ms-high-contrast: active){.mat-button-focus-overlay{background-color:#fff}}@media(-ms-high-contrast: black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media(-ms-high-contrast: active){.mat-button,.mat-flat-button,.mat-raised-button,.mat-icon-button,.mat-fab,.mat-mini-fab{outline:solid 1px}}/*# sourceMappingURL=button.css.map */\n"]}]}],m.ctorParameters=function(){return[{type:i.FocusMonitor},{type:n.ElementRef},{type:String,decorators:[{type:n.Optional},{type:n.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},m.propDecorators={tabIndex:[{type:n.Input}]},m);function m(e,t,n){return h.call(this,t,e,n)||this}var v=(y.decorators=[{type:n.NgModule,args:[{imports:[t.CommonModule,r.MatRippleModule,r.MatCommonModule],exports:[l,f,r.MatCommonModule],declarations:[l,f]}]}],y);function y(){}e.MatButtonModule=v,e.MatButton=l,e.MatAnchor=f,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/common")):System.registerDynamic("npm:@angular/common/bundles/common-http.umd.js",["@angular/core","rxjs","rxjs/operators","@angular/common"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("rxjs"),e("rxjs/operators"),e("@angular/common"))})}(0,function(f,e,u,c,t){"use strict";function n(){}function r(){}var i=function(e,t){return(i=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])})(e,t)};function o(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function a(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}function s(n,r){return function(e,t){r(e,t,n)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}var m=(d.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},d.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&0<t.length?t[0]:null},d.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},d.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},d.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},d.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},d.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},d.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},d.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},d.prototype.copyFrom=function(t){var n=this;t.init(),Array.from(t.headers.keys()).forEach(function(e){n.headers.set(e,t.headers.get(e)),n.normalizedNames.set(e,t.normalizedNames.get(e))})},d.prototype.clone=function(e){var t=new d;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t},d.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e}(n)),this.headers.set(t,r);break;case"d":var i=e.value;if(i){var o=this.headers.get(t);if(!o)return;0===(o=o.filter(function(e){return-1===i.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}},d.prototype.forEach=function(t){var n=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(e){return t(n.normalizedNames.get(e),n.headers.get(e))})},d);function d(r){var o=this;this.normalizedNames=new Map,this.lazyUpdate=null,r?this.lazyInit="string"==typeof r?function(){o.headers=new Map,r.split("\n").forEach(function(e){var t=e.indexOf(":");if(0<t){var n=e.slice(0,t),r=n.toLowerCase(),i=e.slice(t+1).trim();o.maybeSetNormalizedName(n,r),o.headers.has(r)?o.headers.get(r).push(i):o.headers.set(r,[i])}})}:function(){o.headers=new Map,Object.keys(r).forEach(function(e){var t=r[e],n=e.toLowerCase();"string"==typeof t&&(t=[t]),0<t.length&&(o.headers.set(n,t),o.maybeSetNormalizedName(e,n))})}:this.headers=new Map}var h=(v.prototype.encodeKey=function(e){return y(e)},v.prototype.encodeValue=function(e){return y(e)},v.prototype.decodeKey=function(e){return decodeURIComponent(e)},v.prototype.decodeValue=function(e){return decodeURIComponent(e)},v);function v(){}function y(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var g=(_.prototype.has=function(e){return this.init(),this.map.has(e)},_.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},_.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},_.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},_.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},_.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},_.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},_.prototype.toString=function(){var n=this;return this.init(),this.keys().map(function(e){var t=n.encoder.encodeKey(e);return n.map.get(e).map(function(e){return t+"="+n.encoder.encodeValue(e)}).join("&")}).join("&")},_.prototype.clone=function(e){var t=new _({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t},_.prototype.init=function(){var i=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return i.map.set(e,i.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var t=("a"===e.op?i.map.get(e.param):void 0)||[];t.push(e.value),i.map.set(e.param,t);break;case"d":if(void 0===e.value){i.map.delete(e.param);break}var n=i.map.get(e.param)||[],r=n.indexOf(e.value);-1!==r&&n.splice(r,1),0<n.length?i.map.set(e.param,n):i.map.delete(e.param)}}),this.cloneFrom=this.updates=null)},_);function _(n){var r=this;if(void 0===n&&(n={}),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new h,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,a){var s=new Map;return 0<e.length&&e.split("&").forEach(function(e){var t=e.indexOf("="),n=p(-1==t?[a.decodeKey(e),""]:[a.decodeKey(e.slice(0,t)),a.decodeValue(e.slice(t+1))],2),r=n[0],i=n[1],o=s.get(r)||[];o.push(i),s.set(r,o)}),s}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(e){var t=n.fromObject[e];r.map.set(e,Array.isArray(t)?t:[t])})):this.map=null}function b(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function w(e){return"undefined"!=typeof Blob&&e instanceof Blob}function x(e){return"undefined"!=typeof FormData&&e instanceof FormData}var C,S=(E.prototype.serializeBody=function(){return null===this.body?null:b(this.body)||w(this.body)||x(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},E.prototype.detectContentTypeHeader=function(){return null===this.body?null:x(this.body)?null:w(this.body)?this.body.type||null:b(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},E.prototype.clone=function(n){void 0===n&&(n={});var e=n.method||this.method,t=n.url||this.url,r=n.responseType||this.responseType,i=void 0!==n.body?n.body:this.body,o=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,a=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,s=n.headers||this.headers,l=n.params||this.params;return void 0!==n.setHeaders&&(s=Object.keys(n.setHeaders).reduce(function(e,t){return e.set(t,n.setHeaders[t])},s)),n.setParams&&(l=Object.keys(n.setParams).reduce(function(e,t){return e.set(t,n.setParams[t])},l)),new E(e,t,i,{params:l,headers:s,reportProgress:a,responseType:r,withCredentials:o})},E);function E(e,t,n,r){var i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),(i=function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,r):n)&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new m),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=t;else{var a=t.indexOf("?"),s=-1===a?"?":a<t.length-1?"&":"";this.urlWithParams=t+s+o}}else this.params=new g,this.urlWithParams=t}(C=f.HttpEventType||(f.HttpEventType={}))[C.Sent=0]="Sent",C[C.UploadProgress=1]="UploadProgress",C[C.ResponseHeader=2]="ResponseHeader",C[C.DownloadProgress=3]="DownloadProgress",C[C.Response=4]="Response",C[C.User=5]="User";function O(e,t,n){void 0===t&&(t=200),void 0===n&&(n="OK"),this.headers=e.headers||new m,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=200<=this.status&&this.status<300}var k,D=(o(T,k=O),T.prototype.clone=function(e){return void 0===e&&(e={}),new T({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},T);function T(e){void 0===e&&(e={});var t=k.call(this,e)||this;return t.type=f.HttpEventType.ResponseHeader,t}var I,P=(o(A,I=O),A.prototype.clone=function(e){return void 0===e&&(e={}),new A({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},A);function A(e){void 0===e&&(e={});var t=I.call(this,e)||this;return t.type=f.HttpEventType.Response,t.body=void 0!==e.body?e.body:null,t}var M,R=(o(N,M=O),N);function N(e){var t=M.call(this,e,0,"Unknown Error")||this;return t.name="HttpErrorResponse",t.ok=!1,200<=t.status&&t.status<300?t.message="Http failure during parsing for "+(e.url||"(unknown url)"):t.message="Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,t.error=e.error||null,t}function j(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var F=(L.prototype.request=function(e,t,n){var r,i=this;if(void 0===n&&(n={}),e instanceof S)r=e;else{var o=void 0;o=n.headers instanceof m?n.headers:new m(n.headers);var a=void 0;n.params&&(a=n.params instanceof g?n.params:new g({fromObject:n.params})),r=new S(e,t,void 0!==n.body?n.body:null,{headers:o,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var s=u.of(r).pipe(c.concatMap(function(e){return i.handler.handle(e)}));if(e instanceof S||"events"===n.observe)return s;var l=s.pipe(c.filter(function(e){return e instanceof P}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(c.map(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(c.map(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(c.map(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return l.pipe(c.map(function(e){return e.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},L.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},L.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},L.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},L.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},L.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},L.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,j(n,t))},L.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,j(n,t))},L.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,j(n,t))},L=a([e.Injectable(),l("design:paramtypes",[n])],L));function L(e){this.handler=e}var V=(B.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},B);function B(e,t){this.next=e,this.interceptor=t}var U=new e.InjectionToken("HTTP_INTERCEPTORS"),z=(q.prototype.intercept=function(e,t){return t.handle(e)},q=a([e.Injectable()],q));function q(){}function H(){}var W=0,G=(Y.prototype.nextCallback=function(){return"ng_jsonp_callback_"+W++},Y.prototype.handle=function(c){var p=this;if("JSONP"!==c.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==c.responseType)throw new Error("JSONP requests must use Json response type.");return new u.Observable(function(t){var n=p.nextCallback(),r=c.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,"="+n+"$1"),e=p.document.createElement("script");e.src=r;var i=null,o=!1,a=!1;function s(){e.parentNode&&e.parentNode.removeChild(e),delete p.callbackMap[n]}function l(e){a||(s(),o?(t.next(new P({body:i,status:200,statusText:"OK",url:r})),t.complete()):t.error(new R({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")})))}function u(e){a||(s(),t.error(new R({error:e,status:0,statusText:"JSONP Error",url:r})))}return p.callbackMap[n]=function(e){delete p.callbackMap[n],a||(i=e,o=!0)},e.addEventListener("load",l),e.addEventListener("error",u),p.document.body.appendChild(e),t.next({type:f.HttpEventType.Sent}),function(){a=!0,e.removeEventListener("load",l),e.removeEventListener("error",u),s()}})},Y=a([e.Injectable(),s(1,e.Inject(t.DOCUMENT)),l("design:paramtypes",[H,Object])],Y));function Y(e,t){this.callbackMap=e,this.document=t}var K=(Z.prototype.intercept=function(e,t){return"JSONP"===e.method?this.jsonp.handle(e):t.handle(e)},Z=a([e.Injectable(),l("design:paramtypes",[G])],Z));function Z(e){this.jsonp=e}var Q=/^\)\]\}',?\n/;function X(){}var $=(J.prototype.build=function(){return new XMLHttpRequest},J=a([e.Injectable(),l("design:paramtypes",[])],J));function J(){}var ee=(te.prototype.handle=function(d){var h=this;if("JSONP"===d.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new u.Observable(function(l){var u=h.xhrFactory.build();if(u.open(d.method,d.urlWithParams),d.withCredentials&&(u.withCredentials=!0),d.headers.forEach(function(e,t){return u.setRequestHeader(e,t.join(","))}),d.headers.has("Accept")||u.setRequestHeader("Accept","application/json, text/plain, */*"),!d.headers.has("Content-Type")){var e=d.detectContentTypeHeader();null!==e&&u.setRequestHeader("Content-Type",e)}if(d.responseType){var t=d.responseType.toLowerCase();u.responseType="json"!==t?t:"text"}function c(){if(null!==s)return s;var e=1223===u.status?204:u.status,t=u.statusText||"OK",n=new m(u.getAllResponseHeaders()),r=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(u)||d.url;return s=new D({headers:n,status:e,statusText:t,url:r})}function n(){var e=c(),t=e.headers,n=e.status,r=e.statusText,i=e.url,o=null;204!==n&&(o=void 0===u.response?u.responseText:u.response),0===n&&(n=o?200:0);var a=200<=n&&n<300;if("json"===d.responseType&&"string"==typeof o){var s=o;o=o.replace(Q,"");try{o=""!==o?JSON.parse(o):null}catch(e){o=s,a&&(a=!1,o={error:e,text:o})}}a?(l.next(new P({body:o,headers:t,status:n,statusText:r,url:i||void 0})),l.complete()):l.error(new R({error:o,headers:t,status:n,statusText:r,url:i||void 0}))}function r(e){var t=c().url,n=new R({error:e,status:u.status||0,statusText:u.statusText||"Unknown Error",url:t||void 0});l.error(n)}function i(e){p||(l.next(c()),p=!0);var t={type:f.HttpEventType.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),"text"===d.responseType&&u.responseText&&(t.partialText=u.responseText),l.next(t)}function o(e){var t={type:f.HttpEventType.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),l.next(t)}var a=d.serializeBody(),s=null,p=!1;return u.addEventListener("load",n),u.addEventListener("error",r),d.reportProgress&&(u.addEventListener("progress",i),null!==a&&u.upload&&u.upload.addEventListener("progress",o)),u.send(a),l.next({type:f.HttpEventType.Sent}),function(){u.removeEventListener("error",r),u.removeEventListener("load",n),d.reportProgress&&(u.removeEventListener("progress",i),null!==a&&u.upload&&u.upload.removeEventListener("progress",o)),u.abort()}})},te=a([e.Injectable(),l("design:paramtypes",[X])],te));function te(e){this.xhrFactory=e}function ne(){}var re=new e.InjectionToken("XSRF_COOKIE_NAME"),ie=new e.InjectionToken("XSRF_HEADER_NAME"),oe=(ae.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=t.ɵparseCookieValue(e,this.cookieName),this.lastCookieString=e),this.lastToken},ae=a([e.Injectable(),s(0,e.Inject(t.DOCUMENT)),s(1,e.Inject(e.PLATFORM_ID)),s(2,e.Inject(re)),l("design:paramtypes",[Object,String,String])],ae));function ae(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}var se=(le.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},le=a([e.Injectable(),s(1,e.Inject(ie)),l("design:paramtypes",[ne,String])],le));function le(e,t){this.tokenService=e,this.headerName=t}var ue=(ce.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(U,[]);this.chain=t.reduceRight(function(e,t){return new V(e,t)},this.backend)}return this.chain.handle(e)},ce=a([e.Injectable(),l("design:paramtypes",[r,e.Injector])],ce));function ce(e,t){this.backend=e,this.injector=t,this.chain=null}function pe(){return"object"==typeof window?window:{}}var de,he=((de=fe).disable=function(){return{ngModule:de,providers:[{provide:se,useClass:z}]}},fe.withOptions=function(e){return void 0===e&&(e={}),{ngModule:de,providers:[e.cookieName?{provide:re,useValue:e.cookieName}:[],e.headerName?{provide:ie,useValue:e.headerName}:[]]}},fe=de=a([e.NgModule({providers:[se,{provide:U,useExisting:se,multi:!0},{provide:ne,useClass:oe},{provide:re,useValue:"XSRF-TOKEN"},{provide:ie,useValue:"X-XSRF-TOKEN"}]})],fe));function fe(){}var me=ve=a([e.NgModule({imports:[he.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})],providers:[F,{provide:n,useClass:ue},ee,{provide:r,useExisting:ee},$,{provide:X,useExisting:$}]})],ve);function ve(){}var ye=ge=a([e.NgModule({providers:[G,{provide:H,useFactory:pe},{provide:U,useClass:K,multi:!0}]})],ge);function ge(){}f.ɵangular_packages_common_http_http_a=z,f.ɵangular_packages_common_http_http_b=H,f.ɵangular_packages_common_http_http_c=pe,f.ɵangular_packages_common_http_http_d=$,f.ɵangular_packages_common_http_http_g=oe,f.ɵangular_packages_common_http_http_h=se,f.ɵangular_packages_common_http_http_e=re,f.ɵangular_packages_common_http_http_f=ie,f.HttpBackend=r,f.HttpHandler=n,f.HttpClient=F,f.HttpHeaders=m,f.HTTP_INTERCEPTORS=U,f.JsonpClientBackend=G,f.JsonpInterceptor=K,f.HttpClientJsonpModule=ye,f.HttpClientModule=me,f.HttpClientXsrfModule=he,f.ɵHttpInterceptingHandler=ue,f.HttpParams=g,f.HttpUrlEncodingCodec=h,f.HttpRequest=S,f.HttpErrorResponse=R,f.HttpHeaderResponse=D,f.HttpResponse=P,f.HttpResponseBase=O,f.HttpXhrBackend=ee,f.XhrFactory=X,f.HttpXsrfTokenExtractor=ne,Object.defineProperty(f,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/coercion"),require("@angular/common"),require("rxjs/operators"),require("@angular/common/http"),require("@angular/platform-browser"),require("rxjs")):System.registerDynamic("npm:@angular/material/bundles/material-icon.umd.js",["@angular/core","@angular/material/core","tslib","@angular/cdk/coercion","@angular/common","rxjs/operators","@angular/common/http","@angular/platform-browser","rxjs"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/coercion"),e("@angular/common"),e("rxjs/operators"),e("@angular/common/http"),e("@angular/platform-browser"),e("rxjs"))})}(0,function(e,a,t,s,n,r,l,i,o,u){"use strict";function c(e){return Error('Unable to find icon with the name "'+e+'"')}function p(){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 d(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+e+'".')}function h(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+e+'".')}var f=function(e,t){this.options=t,e.nodeName?this.svgElement=e:this.url=e},m=(v.prototype.addSvgIcon=function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)},v.prototype.addSvgIconLiteral=function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)},v.prototype.addSvgIconInNamespace=function(e,t,n,r){return this._addSvgIconConfig(e,t,new f(n,r))},v.prototype.addSvgIconLiteralInNamespace=function(e,t,n,r){var i=this._sanitizer.sanitize(a.SecurityContext.HTML,n);if(!i)throw h(n);var o=this._createSvgElementForSingleIcon(i,r);return this._addSvgIconConfig(e,t,new f(o,r))},v.prototype.addSvgIconSet=function(e,t){return this.addSvgIconSetInNamespace("",e,t)},v.prototype.addSvgIconSetLiteral=function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)},v.prototype.addSvgIconSetInNamespace=function(e,t,n){return this._addSvgIconSetConfig(e,new f(t,n))},v.prototype.addSvgIconSetLiteralInNamespace=function(e,t,n){var r=this._sanitizer.sanitize(a.SecurityContext.HTML,t);if(!r)throw h(t);var i=this._svgElementFromString(r);return this._addSvgIconSetConfig(e,new f(i,n))},v.prototype.registerFontClassAlias=function(e,t){return void 0===t&&(t=e),this._fontCssClassesByAlias.set(e,t),this},v.prototype.classNameForFontAlias=function(e){return this._fontCssClassesByAlias.get(e)||e},v.prototype.setDefaultFontSetClass=function(e){return this._defaultFontSetClass=e,this},v.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},v.prototype.getSvgIconFromUrl=function(e){var t=this,n=this._sanitizer.sanitize(a.SecurityContext.RESOURCE_URL,e);if(!n)throw d(e);var r=this._cachedIconsByUrl.get(n);return r?u.of(_(r)):this._loadSvgIconFromConfig(new f(e)).pipe(l.tap(function(e){return t._cachedIconsByUrl.set(n,e)}),l.map(function(e){return _(e)}))},v.prototype.getNamedSvgIcon=function(e,t){void 0===t&&(t="");var n=b(t,e),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):u.throwError(c(n))},v.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},v.prototype._getSvgFromConfig=function(t){return t.svgElement?u.of(_(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(l.tap(function(e){return t.svgElement=e}),l.map(function(e){return _(e)}))},v.prototype._getSvgFromIconSetConfigs=function(t,n){var r=this,e=this._extractIconWithNameFromAnySet(t,n);if(e)return u.of(e);var i=n.filter(function(e){return!e.svgElement}).map(function(n){return r._loadSvgIconSetFromConfig(n).pipe(l.catchError(function(e){var t="Loading icon set URL: "+r._sanitizer.sanitize(a.SecurityContext.RESOURCE_URL,n.url)+" failed: "+e.message;return r._errorHandler?r._errorHandler.handleError(new Error(t)):console.error(t),u.of(null)}))});return u.forkJoin(i).pipe(l.map(function(){var e=r._extractIconWithNameFromAnySet(t,n);if(!e)throw c(t);return e}))},v.prototype._extractIconWithNameFromAnySet=function(e,t){for(var n=t.length-1;0<=n;n--){var r=t[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,e,r.options);if(i)return i}}return null},v.prototype._loadSvgIconFromConfig=function(t){var n=this;return this._fetchUrl(t.url).pipe(l.map(function(e){return n._createSvgElementForSingleIcon(e,t.options)}))},v.prototype._loadSvgIconSetFromConfig=function(t){var n=this;return t.svgElement?u.of(t.svgElement):this._fetchUrl(t.url).pipe(l.map(function(e){return t.svgElement||(t.svgElement=n._svgElementFromString(e)),t.svgElement}))},v.prototype._createSvgElementForSingleIcon=function(e,t){var n=this._svgElementFromString(e);return this._setSvgAttributes(n,t),n},v.prototype._extractSvgIconFromSet=function(e,t,n){var r=e.querySelector('[id="'+t+'"]');if(!r)return null;var i=r.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,n);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),n);var o=this._svgElementFromString("<svg></svg>");return o.appendChild(i),this._setSvgAttributes(o,n)},v.prototype._svgElementFromString=function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n},v.prototype._toSvgElement=function(e){for(var t=this._svgElementFromString("<svg></svg>"),n=e.attributes,r=0;r<n.length;r++){var i=n[r],o=i.name,a=i.value;"id"!==o&&t.setAttribute(o,a)}for(r=0;r<e.childNodes.length;r++)e.childNodes[r].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[r].cloneNode(!0));return t},v.prototype._setSvgAttributes=function(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e},v.prototype._fetchUrl=function(e){var t=this;if(!this._httpClient)throw p();if(null==e)throw Error('Cannot fetch icon from URL "'+e+'".');var n=this._sanitizer.sanitize(a.SecurityContext.RESOURCE_URL,e);if(!n)throw d(e);var r=this._inProgressUrlFetches.get(n);if(r)return r;var i=this._httpClient.get(n,{responseType:"text"}).pipe(l.finalize(function(){return t._inProgressUrlFetches.delete(n)}),l.share());return this._inProgressUrlFetches.set(n,i),i},v.prototype._addSvgIconConfig=function(e,t,n){return this._svgIconConfigs.set(b(e,t),n),this},v.prototype._addSvgIconSetConfig=function(e,t){var n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this},v.decorators=[{type:a.Injectable,args:[{providedIn:"root"}]}],v.ctorParameters=function(){return[{type:i.HttpClient,decorators:[{type:a.Optional}]},{type:o.DomSanitizer},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[r.DOCUMENT]}]},{type:a.ErrorHandler,decorators:[{type:a.Optional}]}]},v.ngInjectableDef=a.ɵɵdefineInjectable({factory:function(){return new v(a.ɵɵinject(i.HttpClient,8),a.ɵɵinject(o.DomSanitizer),a.ɵɵinject(r.DOCUMENT,8),a.ɵɵinject(a.ErrorHandler,8))},token:v,providedIn:"root"}),v);function v(e,t,n,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}function y(e,t,n,r,i){return e||new m(t,n,r,i)}var g={provide:m,deps:[[new a.Optional,new a.SkipSelf,m],[new a.Optional,i.HttpClient],o.DomSanitizer,[new a.Optional,a.ErrorHandler],[new a.Optional,r.DOCUMENT]],useFactory:y};function _(e){return e.cloneNode(!0)}function b(e,t){return e+":"+t}function w(e){this._elementRef=e}var x=t.mixinColor(w),C=new a.InjectionToken("mat-icon-location",{providedIn:"root",factory:S});function S(){var e=a.inject(r.DOCUMENT),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}function E(e){return"["+e+"]"}var O,k=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],D=k.map(E).join(", "),T=/^url\(['"]?#(.*?)['"]?\)$/,I=(O=x,s.__extends(P,O),Object.defineProperty(P.prototype,"inline",{get:function(){return this._inline},set:function(e){this._inline=n.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"fontSet",{get:function(){return this._fontSet},set:function(e){this._fontSet=this._cleanupFontValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"fontIcon",{get:function(){return this._fontIcon},set:function(e){this._fontIcon=this._cleanupFontValue(e)},enumerable:!0,configurable:!0}),P.prototype._splitIconName=function(e){if(!e)return["",""];var t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error('Invalid icon name: "'+e+'"')}},P.prototype.ngOnChanges=function(e){var n=this,t=e.svgIcon;if(t)if(this.svgIcon){var r=s.__read(this._splitIconName(this.svgIcon),2),i=r[0],o=r[1];this._iconRegistry.getNamedSvgIcon(o,i).pipe(l.take(1)).subscribe(function(e){return n._setSvgElement(e)},function(e){var t="Error retrieving icon "+i+":"+o+"! "+e.message;n._errorHandler?n._errorHandler.handleError(new Error(t)):console.error(t)})}else t.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()},P.prototype.ngOnInit=function(){this._usingFontIcon()&&this._updateFontIconClasses()},P.prototype.ngAfterViewChecked=function(){var e=this._elementsWithExternalReferences;if(e&&this._location&&e.size){var t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}},P.prototype.ngOnDestroy=function(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()},P.prototype._usingFontIcon=function(){return!this.svgIcon},P.prototype._setSvgElement=function(e){this._clearSvgElement();for(var t=e.querySelectorAll("style"),n=0;n<t.length;n++)t[n].textContent+=" ";if(this._location){var r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r)}this._elementRef.nativeElement.appendChild(e)},P.prototype._clearSvgElement=function(){var e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){var n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}},P.prototype._updateFontIconClasses=function(){if(this._usingFontIcon()){var e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}},P.prototype._cleanupFontValue=function(e){return"string"==typeof e?e.trim().split(" ")[0]:e},P.prototype._prependPathToReferences=function(n){var e=this._elementsWithExternalReferences;e&&e.forEach(function(e,t){e.forEach(function(e){t.setAttribute(e.name,"url('"+n+"#"+e.value+"')")})})},P.prototype._cacheChildrenWithExternalReferences=function(e){for(var a=e.querySelectorAll(D),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,t=function(o){k.forEach(function(e){var t=a[o],n=t.getAttribute(e),r=n?n.match(T):null;if(r){var i=s.get(t);i||(i=[],s.set(t,i)),i.push({name:e,value:r[1]})}})},n=0;n<a.length;n++)t(n)},P.decorators=[{type:a.Component,args:[{moduleId:module.id,template:"<ng-content></ng-content>",selector:"mat-icon",exportAs:"matIcon",inputs:["color"],host:{role:"img",class:"mat-icon notranslate","[class.mat-icon-inline]":"inline","[class.mat-icon-no-color]":'color !== "primary" && color !== "accent" && color !== "warn"'},encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.OnPush,styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}/*# sourceMappingURL=icon.css.map */\n"]}]}],P.ctorParameters=function(){return[{type:a.ElementRef},{type:m},{type:String,decorators:[{type:a.Attribute,args:["aria-hidden"]}]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[C]}]},{type:a.ErrorHandler,decorators:[{type:a.Optional}]}]},P.propDecorators={inline:[{type:a.Input}],svgIcon:[{type:a.Input}],fontSet:[{type:a.Input}],fontIcon:[{type:a.Input}]},P);function P(e,t,n,r,i){var o=O.call(this,e)||this;return o._iconRegistry=t,o._location=r,o._errorHandler=i,o._inline=!1,n||e.nativeElement.setAttribute("aria-hidden","true"),o}var A=(M.decorators=[{type:a.NgModule,args:[{imports:[t.MatCommonModule],exports:[I,t.MatCommonModule],declarations:[I]}]}],M);function M(){}e.MatIconModule=A,e.MAT_ICON_LOCATION=C,e.MAT_ICON_LOCATION_FACTORY=S,e.MatIcon=I,e.ɵ0=E,e.getMatIconNameNotFoundError=c,e.getMatIconNoHttpProviderError=p,e.getMatIconFailedToSanitizeUrlError=d,e.getMatIconFailedToSanitizeLiteralError=h,e.MatIconRegistry=m,e.ICON_REGISTRY_PROVIDER_FACTORY=y,e.ICON_REGISTRY_PROVIDER=g,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/portal"),require("@angular/cdk/stepper"),require("@angular/common"),require("@angular/core"),require("@angular/material/button"),require("@angular/material/core"),require("@angular/material/icon"),require("tslib"),require("@angular/cdk/a11y"),require("rxjs"),require("@angular/cdk/bidi"),require("rxjs/operators"),require("@angular/animations")):System.registerDynamic("npm:@angular/material/bundles/material-stepper.umd.js",["@angular/cdk/portal","@angular/cdk/stepper","@angular/common","@angular/core","@angular/material/button","@angular/material/core","@angular/material/icon","tslib","@angular/cdk/a11y","rxjs","@angular/cdk/bidi","rxjs/operators","@angular/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/portal"),e("@angular/cdk/stepper"),e("@angular/common"),e("@angular/core"),e("@angular/material/button"),e("@angular/material/core"),e("@angular/material/icon"),e("tslib"),e("@angular/cdk/a11y"),e("rxjs"),e("@angular/cdk/bidi"),e("rxjs/operators"),e("@angular/animations"))})}(0,function(e,t,n,r,i,o,a,s,l,u,c,p,d,h){"use strict";var f,m=(f=n.CdkStepLabel,l.__extends(v,f),v.decorators=[{type:i.Directive,args:[{selector:"[matStepLabel]"}]}],v);function v(){return null!==f&&f.apply(this,arguments)||this}var y=(g.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],g.ngInjectableDef=i.ɵɵdefineInjectable({factory:function(){return new g},token:g,providedIn:"root"}),g);function g(){this.changes=new c.Subject,this.optionalLabel="Optional"}function _(e){return e||new y}var b,w={provide:y,deps:[[new i.Optional,new i.SkipSelf,y]],useFactory:_},x=(b=n.CdkStepHeader,l.__extends(C,b),C.prototype.ngOnDestroy=function(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)},C.prototype.focus=function(){this._focusMonitor.focusVia(this._elementRef,"program")},C.prototype._stringLabel=function(){return this.label instanceof m?null:this.label},C.prototype._templateLabel=function(){return this.label instanceof m?this.label:null},C.prototype._getHostElement=function(){return this._elementRef.nativeElement},C.prototype._getIconContext=function(){return{index:this.index,active:this.active,optional:this.optional}},C.prototype._getDefaultTextForState=function(e){return"number"==e?""+(this.index+1):"edit"==e?"create":"error"==e?"warning":e},C.decorators=[{type:i.Component,args:[{moduleId:module.id,selector:"mat-step-header",template:'<div class="mat-step-header-ripple" matRipple\n     [matRippleTrigger]="_getHostElement()"\n     [matRippleDisabled]="disableRipple"></div>\n\n<div class="mat-step-icon-state-{{state}} mat-step-icon" [class.mat-step-icon-selected]="selected">\n  <div class="mat-step-icon-content" [ngSwitch]="!!(iconOverrides && iconOverrides[state])">\n    <ng-container\n      *ngSwitchCase="true"\n      [ngTemplateOutlet]="iconOverrides[state]"\n      [ngTemplateOutletContext]="_getIconContext()"></ng-container>\n    <ng-container *ngSwitchDefault [ngSwitch]="state">\n      <span *ngSwitchCase="\'number\'">{{_getDefaultTextForState(state)}}</span>\n      <mat-icon *ngSwitchDefault>{{_getDefaultTextForState(state)}}</mat-icon>\n    </ng-container>\n  </div>\n</div>\n<div class="mat-step-label"\n     [class.mat-step-label-active]="active"\n     [class.mat-step-label-selected]="selected"\n     [class.mat-step-label-error]="state == \'error\'">\n  \x3c!-- If there is a label template, use it. --\x3e\n  <ng-container *ngIf="_templateLabel()" [ngTemplateOutlet]="_templateLabel()!.template">\n  </ng-container>\n  \x3c!-- If there is no label template, fall back to the text label. --\x3e\n  <div class="mat-step-text-label" *ngIf="_stringLabel()">{{label}}</div>\n\n  <div class="mat-step-optional" *ngIf="optional && state != \'error\'">{{_intl.optionalLabel}}</div>\n  <div class="mat-step-sub-label-error" *ngIf="state == \'error\'">{{errorMessage}}</div>\n</div>\n\n',host:{class:"mat-step-header",role:"tab"},encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content,.mat-step-icon .mat-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}/*# sourceMappingURL=step-header.css.map */\n"]}]}],C.ctorParameters=function(){return[{type:y},{type:u.FocusMonitor},{type:i.ElementRef},{type:i.ChangeDetectorRef}]},C.propDecorators={state:[{type:i.Input}],label:[{type:i.Input}],errorMessage:[{type:i.Input}],iconOverrides:[{type:i.Input}],index:[{type:i.Input}],selected:[{type:i.Input}],active:[{type:i.Input}],optional:[{type:i.Input}],disableRipple:[{type:i.Input}]},C);function C(e,t,n,r){var i=b.call(this,n)||this;return i._intl=e,(i._focusMonitor=t).monitor(n,!0),i._intlSubscription=e.changes.subscribe(function(){return r.markForCheck()}),i}var S={horizontalStepTransition:h.trigger("stepTransition",[h.state("previous",h.style({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),h.state("current",h.style({transform:"none",visibility:"visible"})),h.state("next",h.style({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),h.transition("* => *",h.animate("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:h.trigger("stepTransition",[h.state("previous",h.style({height:"0px",visibility:"hidden"})),h.state("next",h.style({height:"0px",visibility:"hidden"})),h.state("current",h.style({height:"*",visibility:"visible"})),h.transition("* <=> current",h.animate("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])},E=(O.decorators=[{type:i.Directive,args:[{selector:"ng-template[matStepperIcon]"}]}],O.ctorParameters=function(){return[{type:i.TemplateRef}]},O.propDecorators={name:[{type:i.Input,args:["matStepperIcon"]}]},O);function O(e){this.templateRef=e}var k,D=(k=n.CdkStep,l.__extends(T,k),T.prototype.isErrorState=function(e,t){var n=this._errorStateMatcher.isErrorState(e,t),r=!!(e&&e.invalid&&this.interacted);return n||r},T.decorators=[{type:i.Component,args:[{moduleId:module.id,selector:"mat-step",template:"<ng-template><ng-content></ng-content></ng-template>\n",providers:[{provide:a.ErrorStateMatcher,useExisting:T}],encapsulation:i.ViewEncapsulation.None,exportAs:"matStep",changeDetection:i.ChangeDetectionStrategy.OnPush}]}],T.ctorParameters=function(){return[{type:P,decorators:[{type:i.Inject,args:[i.forwardRef(function(){return P})]}]},{type:a.ErrorStateMatcher,decorators:[{type:i.SkipSelf}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[n.STEPPER_GLOBAL_OPTIONS]}]}]},T.propDecorators={stepLabel:[{type:i.ContentChild,args:[m,{static:!1}]}]},T);function T(e,t,n){var r=k.call(this,e,n)||this;return r._errorStateMatcher=t,r}var I,P=(I=n.CdkStepper,l.__extends(A,I),A.prototype.ngAfterContentInit=function(){var r=this;this._icons.forEach(function(e){var t=e.name,n=e.templateRef;return r._iconOverrides[t]=n}),this._steps.changes.pipe(d.takeUntil(this._destroyed)).subscribe(function(){return r._stateChanged()}),this._animationDone.pipe(d.distinctUntilChanged(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}),d.takeUntil(this._destroyed)).subscribe(function(e){"current"===e.toState&&r.animationDone.emit()})},A.decorators=[{type:i.Directive,args:[{selector:"[matStepper]",providers:[{provide:n.CdkStepper,useExisting:A}]}]}],A.propDecorators={_stepHeader:[{type:i.ViewChildren,args:[x]}],_steps:[{type:i.ContentChildren,args:[D]}],_icons:[{type:i.ContentChildren,args:[E]}],animationDone:[{type:i.Output}],disableRipple:[{type:i.Input}]},A);function A(){var e=null!==I&&I.apply(this,arguments)||this;return e.animationDone=new i.EventEmitter,e._iconOverrides={},e._animationDone=new c.Subject,e}var M,R=(M=P,l.__extends(N,M),N.decorators=[{type:i.Component,args:[{moduleId:module.id,selector:"mat-horizontal-stepper",exportAs:"matHorizontalStepper",template:'<div class="mat-horizontal-stepper-header-container">\n  <ng-container *ngFor="let step of steps; let i = index; let isLast = last">\n    <mat-step-header class="mat-horizontal-stepper-header"\n                     (click)="step.select()"\n                     (keydown)="_onKeydown($event)"\n                     [tabIndex]="_getFocusIndex() === i ? 0 : -1"\n                     [id]="_getStepLabelId(i)"\n                     [attr.aria-posinset]="i + 1"\n                     [attr.aria-setsize]="steps.length"\n                     [attr.aria-controls]="_getStepContentId(i)"\n                     [attr.aria-selected]="selectedIndex == i"\n                     [attr.aria-label]="step.ariaLabel || null"\n                     [attr.aria-labelledby]="(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null"\n                     [index]="i"\n                     [state]="_getIndicatorType(i, step.state)"\n                     [label]="step.stepLabel || step.label"\n                     [selected]="selectedIndex === i"\n                     [active]="step.completed || selectedIndex === i || !linear"\n                     [optional]="step.optional"\n                     [errorMessage]="step.errorMessage"\n                     [iconOverrides]="_iconOverrides"\n                     [disableRipple]="disableRipple">\n    </mat-step-header>\n    <div *ngIf="!isLast" class="mat-stepper-horizontal-line"></div>\n  </ng-container>\n</div>\n\n<div class="mat-horizontal-content-container">\n  <div *ngFor="let step of steps; let i = index"\n       [attr.tabindex]="selectedIndex === i ? 0 : null"\n       class="mat-horizontal-stepper-content" role="tabpanel"\n       [@stepTransition]="_getAnimationDirection(i)"\n       (@stepTransition.done)="_animationDone.next($event)"\n       [id]="_getStepContentId(i)"\n       [attr.aria-labelledby]="_getStepLabelId(i)"\n       [attr.aria-expanded]="selectedIndex === i">\n    <ng-container [ngTemplateOutlet]="step.content"></ng-container>\n  </div>\n</div>\n',inputs:["selectedIndex"],host:{class:"mat-stepper-horizontal","[class.mat-stepper-label-position-end]":'labelPosition == "end"',"[class.mat-stepper-label-position-bottom]":'labelPosition == "bottom"',"aria-orientation":"horizontal",role:"tablist"},animations:[S.horizontalStepTransition],providers:[{provide:P,useExisting:N},{provide:n.CdkStepper,useExisting:N}],encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:36px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;top:36px;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;padding:24px;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;top:-16px;bottom:-16px;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}/*# sourceMappingURL=stepper.css.map */\n']}]}],N.propDecorators={labelPosition:[{type:i.Input}]},N);function N(){var e=null!==M&&M.apply(this,arguments)||this;return e.labelPosition="end",e}var j,F=(j=P,l.__extends(L,j),L.decorators=[{type:i.Component,args:[{moduleId:module.id,selector:"mat-vertical-stepper",exportAs:"matVerticalStepper",template:'<div class="mat-step" *ngFor="let step of steps; let i = index; let isLast = last">\n  <mat-step-header class="mat-vertical-stepper-header"\n                   (click)="step.select()"\n                   (keydown)="_onKeydown($event)"\n                   [tabIndex]="_getFocusIndex() == i ? 0 : -1"\n                   [id]="_getStepLabelId(i)"\n                   [attr.aria-posinset]="i + 1"\n                   [attr.aria-setsize]="steps.length"\n                   [attr.aria-controls]="_getStepContentId(i)"\n                   [attr.aria-selected]="selectedIndex === i"\n                   [attr.aria-label]="step.ariaLabel || null"\n                   [attr.aria-labelledby]="(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null"\n                   [index]="i"\n                   [state]="_getIndicatorType(i, step.state)"\n                   [label]="step.stepLabel || step.label"\n                   [selected]="selectedIndex === i"\n                   [active]="step.completed || selectedIndex === i || !linear"\n                   [optional]="step.optional"\n                   [errorMessage]="step.errorMessage"\n                   [iconOverrides]="_iconOverrides"\n                   [disableRipple]="disableRipple">\n  </mat-step-header>\n\n  <div class="mat-vertical-content-container" [class.mat-stepper-vertical-line]="!isLast">\n    <div class="mat-vertical-stepper-content" role="tabpanel"\n         [attr.tabindex]="selectedIndex === i ? 0 : null"\n         [@stepTransition]="_getAnimationDirection(i)"\n         (@stepTransition.done)="_animationDone.next($event)"\n         [id]="_getStepContentId(i)"\n         [attr.aria-labelledby]="_getStepLabelId(i)"\n         [attr.aria-expanded]="selectedIndex === i">\n      <div class="mat-vertical-content">\n        <ng-container [ngTemplateOutlet]="step.content"></ng-container>\n      </div>\n    </div>\n  </div>\n</div>\n',inputs:["selectedIndex"],host:{class:"mat-stepper-vertical","aria-orientation":"vertical",role:"tablist"},animations:[S.verticalStepTransition],providers:[{provide:P,useExisting:L},{provide:n.CdkStepper,useExisting:L}],encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:36px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;top:36px;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;padding:24px;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;top:-16px;bottom:-16px;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}/*# sourceMappingURL=stepper.css.map */\n']}]}],L.ctorParameters=function(){return[{type:p.Directionality,decorators:[{type:i.Optional}]},{type:i.ChangeDetectorRef},{type:i.ElementRef},{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}]},L);function L(e,t,n,r){var i=j.call(this,e,t,n,r)||this;return i._orientation="vertical",i}var V,B=(V=n.CdkStepperNext,l.__extends(U,V),U.decorators=[{type:i.Directive,args:[{selector:"button[matStepperNext]",host:{"[type]":"type"},inputs:["type"]}]}],U);function U(){return null!==V&&V.apply(this,arguments)||this}var z,q=(z=n.CdkStepperPrevious,l.__extends(H,z),H.decorators=[{type:i.Directive,args:[{selector:"button[matStepperPrevious]",host:{"[type]":"type"},inputs:["type"]}]}],H);function H(){return null!==z&&z.apply(this,arguments)||this}var W=(G.decorators=[{type:i.NgModule,args:[{imports:[a.MatCommonModule,r.CommonModule,t.PortalModule,o.MatButtonModule,n.CdkStepperModule,s.MatIconModule,a.MatRippleModule],exports:[a.MatCommonModule,R,F,D,m,P,B,q,x,E],declarations:[R,F,D,m,P,B,q,x,E],providers:[w,a.ErrorStateMatcher]}]}],G);function G(){}e.MatStepperModule=W,e.MatStepLabel=m,e.MatStep=D,e.MatStepper=P,e.MatHorizontalStepper=R,e.MatVerticalStepper=F,e.MatStepperNext=B,e.MatStepperPrevious=q,e.MatStepHeader=x,e.MatStepperIntl=y,e.MAT_STEPPER_INTL_PROVIDER_FACTORY=_,e.MAT_STEPPER_INTL_PROVIDER=w,e.matStepperAnimations=S,e.MatStepperIcon=E,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/cdk/collections"),require("@angular/cdk/platform"),require("@angular/common"),require("@angular/core"),require("rxjs"),require("rxjs/operators")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-table.umd.js",["tslib","@angular/cdk/bidi","@angular/cdk/coercion","@angular/cdk/collections","@angular/cdk/platform","@angular/common","@angular/core","rxjs","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("@angular/cdk/bidi"),e("@angular/cdk/coercion"),e("@angular/cdk/collections"),e("@angular/cdk/platform"),e("@angular/common"),e("@angular/core"),e("rxjs"),e("rxjs/operators"))})}(0,function(e,y,t,n,r,i,o,a,s,l){"use strict";function u(e){return r=e,y.__extends(t,r),Object.defineProperty(t.prototype,"sticky",{get:function(){return this._sticky},set:function(e){var t=this._sticky;this._sticky=n.coerceBooleanProperty(e),this._hasStickyChanged=t!==this._sticky},enumerable:!0,configurable:!0}),t.prototype.hasStickyChanged=function(){var e=this._hasStickyChanged;return this._hasStickyChanged=!1,e},t.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1},t;function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=r.apply(this,y.__spread(e))||this;return n._sticky=!1,n._hasStickyChanged=!1,n}var r}var c=(p.decorators=[{type:a.Directive,args:[{selector:"[cdkCellDef]"}]}],p.ctorParameters=function(){return[{type:a.TemplateRef}]},p);function p(e){this.template=e}var d=(h.decorators=[{type:a.Directive,args:[{selector:"[cdkHeaderCellDef]"}]}],h.ctorParameters=function(){return[{type:a.TemplateRef}]},h);function h(e){this.template=e}var f=(m.decorators=[{type:a.Directive,args:[{selector:"[cdkFooterCellDef]"}]}],m.ctorParameters=function(){return[{type:a.TemplateRef}]},m);function m(e){this.template=e}var v,g=u(function(){}),_=(v=g,y.__extends(b,v),Object.defineProperty(b.prototype,"name",{get:function(){return this._name},set:function(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"stickyEnd",{get:function(){return this._stickyEnd},set:function(e){var t=this._stickyEnd;this._stickyEnd=n.coerceBooleanProperty(e),this._hasStickyChanged=t!==this._stickyEnd},enumerable:!0,configurable:!0}),b.decorators=[{type:a.Directive,args:[{selector:"[cdkColumnDef]",inputs:["sticky"],providers:[{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:b}]}]}],b.propDecorators={name:[{type:a.Input,args:["cdkColumnDef"]}],stickyEnd:[{type:a.Input,args:["stickyEnd"]}],cell:[{type:a.ContentChild,args:[c,{static:!1}]}],headerCell:[{type:a.ContentChild,args:[d,{static:!1}]}],footerCell:[{type:a.ContentChild,args:[f,{static:!1}]}]},b);function b(){var e=null!==v&&v.apply(this,arguments)||this;return e._stickyEnd=!1,e}function w(e,t){var n="cdk-column-"+e.cssClassFriendlyName;t.nativeElement.classList.add(n)}var x,C=(x=w,y.__extends(S,x),S.decorators=[{type:a.Directive,args:[{selector:"cdk-header-cell, th[cdk-header-cell]",host:{class:"cdk-header-cell",role:"columnheader"}}]}],S.ctorParameters=function(){return[{type:_},{type:a.ElementRef}]},S);function S(e,t){return x.call(this,e,t)||this}var E,O=(E=w,y.__extends(k,E),k.decorators=[{type:a.Directive,args:[{selector:"cdk-footer-cell, td[cdk-footer-cell]",host:{class:"cdk-footer-cell",role:"gridcell"}}]}],k.ctorParameters=function(){return[{type:_},{type:a.ElementRef}]},k);function k(e,t){return E.call(this,e,t)||this}var D,T=(D=w,y.__extends(I,D),I.decorators=[{type:a.Directive,args:[{selector:"cdk-cell, td[cdk-cell]",host:{class:"cdk-cell",role:"gridcell"}}]}],I.ctorParameters=function(){return[{type:_},{type:a.ElementRef}]},I);function I(e,t){return D.call(this,e,t)||this}var P,A="<ng-container cdkCellOutlet></ng-container>",M=(R.prototype.ngOnChanges=function(e){if(!this._columnsDiffer){var t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}},R.prototype.getColumnsDiff=function(){return this._columnsDiffer.diff(this.columns)},R.prototype.extractCellTemplate=function(e){return this instanceof V?e.headerCell.template:this instanceof H?e.footerCell.template:e.cell.template},R);function R(e,t){this.template=e,this._differs=t}function N(){return null!==P&&P.apply(this,arguments)||this}var j,F,L=u((P=M,y.__extends(N,P),N)),V=(j=L,y.__extends(B,j),B.prototype.ngOnChanges=function(e){j.prototype.ngOnChanges.call(this,e)},B.decorators=[{type:a.Directive,args:[{selector:"[cdkHeaderRowDef]",inputs:["columns: cdkHeaderRowDef","sticky: cdkHeaderRowDefSticky"]}]}],B.ctorParameters=function(){return[{type:a.TemplateRef},{type:a.IterableDiffers}]},B);function B(e,t){return j.call(this,e,t)||this}function U(){return null!==F&&F.apply(this,arguments)||this}var z,q=u((F=M,y.__extends(U,F),U)),H=(z=q,y.__extends(W,z),W.prototype.ngOnChanges=function(e){z.prototype.ngOnChanges.call(this,e)},W.decorators=[{type:a.Directive,args:[{selector:"[cdkFooterRowDef]",inputs:["columns: cdkFooterRowDef","sticky: cdkFooterRowDefSticky"]}]}],W.ctorParameters=function(){return[{type:a.TemplateRef},{type:a.IterableDiffers}]},W);function W(e,t){return z.call(this,e,t)||this}var G,Y=(G=M,y.__extends(K,G),K.decorators=[{type:a.Directive,args:[{selector:"[cdkRowDef]",inputs:["columns: cdkRowDefColumns","when: cdkRowDefWhen"]}]}],K.ctorParameters=function(){return[{type:a.TemplateRef},{type:a.IterableDiffers}]},K);function K(e,t){return G.call(this,e,t)||this}var Z=(Q.prototype.ngOnDestroy=function(){Q.mostRecentCellOutlet===this&&(Q.mostRecentCellOutlet=null)},Q.mostRecentCellOutlet=null,Q.decorators=[{type:a.Directive,args:[{selector:"[cdkCellOutlet]"}]}],Q.ctorParameters=function(){return[{type:a.ViewContainerRef}]},Q);function Q(e){this._viewContainer=e,Q.mostRecentCellOutlet=this}var X=($.decorators=[{type:a.Component,args:[{moduleId:module.id,selector:"cdk-header-row, tr[cdk-header-row]",template:A,host:{class:"cdk-header-row",role:"row"},changeDetection:a.ChangeDetectionStrategy.Default,encapsulation:a.ViewEncapsulation.None}]}],$);function $(){}var J=(ee.decorators=[{type:a.Component,args:[{moduleId:module.id,selector:"cdk-footer-row, tr[cdk-footer-row]",template:A,host:{class:"cdk-footer-row",role:"row"},changeDetection:a.ChangeDetectionStrategy.Default,encapsulation:a.ViewEncapsulation.None}]}],ee);function ee(){}var te=(ne.decorators=[{type:a.Component,args:[{moduleId:module.id,selector:"cdk-row, tr[cdk-row]",template:A,host:{class:"cdk-row",role:"row"},changeDetection:a.ChangeDetectionStrategy.Default,encapsulation:a.ViewEncapsulation.None}]}],ne);function ne(){}var re=["top","bottom","left","right"],ie=(oe.prototype.clearStickyPositioning=function(e,t){var n,r;try{for(var i=y.__values(e),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.nodeType===a.ELEMENT_NODE){this._removeStickyStyle(a,t);for(var s=0;s<a.children.length;s++){var l=a.children[s];this._removeStickyStyle(l,t)}}}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},oe.prototype.updateStickyColumns=function(e,t,n){var r,i,o=t.some(function(e){return e})||n.some(function(e){return e});if(e.length&&o&&this._isBrowser){var a=e[0],s=a.children.length,l=this._getCellWidths(a),u=this._getStickyStartColumnPositions(l,t),c=this._getStickyEndColumnPositions(l,n),p="rtl"===this.direction;try{for(var d=y.__values(e),h=d.next();!h.done;h=d.next())for(var f=h.value,m=0;m<s;m++){var v=f.children[m];t[m]&&this._addStickyStyle(v,p?"right":"left",u[m]),n[m]&&this._addStickyStyle(v,p?"left":"right",c[m])}}catch(e){r={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}},oe.prototype.stickRows=function(e,t,n){if(this._isBrowser)for(var r="bottom"===n?e.reverse():e,i=0,o=0;o<r.length;o++)if(t[o]){var a=r[o];if(this._isNativeHtmlTable)for(var s=0;s<a.children.length;s++){var l=a.children[s];this._addStickyStyle(l,n,i)}else this._addStickyStyle(a,n,i);if(o===r.length-1)return;i+=a.getBoundingClientRect().height}},oe.prototype.updateStickyFooterContainer=function(e,t){if(this._isNativeHtmlTable){var n=e.querySelector("tfoot");t.some(function(e){return!e})?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)}},oe.prototype._removeStickyStyle=function(t,e){var n,r;try{for(var i=y.__values(e),o=i.next();!o.done;o=i.next()){var a=o.value;t.style[a]=""}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.style.zIndex=this._getCalculatedZIndex(t),re.some(function(e){return!!t.style[e]})||(t.style.position="",t.classList.remove(this._stickCellCss))},oe.prototype._addStickyStyle=function(e,t,n){e.classList.add(this._stickCellCss),e.style[t]=n+"px",e.style.cssText+="position: -webkit-sticky; position: sticky; ",e.style.zIndex=this._getCalculatedZIndex(e)},oe.prototype._getCalculatedZIndex=function(e){var t,n,r={top:100,bottom:10,left:1,right:1},i=0;try{for(var o=y.__values(re),a=o.next();!a.done;a=o.next()){var s=a.value;e.style[s]&&(i+=r[s])}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return i?""+i:""},oe.prototype._getCellWidths=function(e){for(var t=[],n=e.children,r=0;r<n.length;r++){var i=n[r];t.push(i.getBoundingClientRect().width)}return t},oe.prototype._getStickyStartColumnPositions=function(e,t){for(var n=[],r=0,i=0;i<e.length;i++)t[i]&&(n[i]=r,r+=e[i]);return n},oe.prototype._getStickyEndColumnPositions=function(e,t){for(var n=[],r=0,i=e.length;0<i;i--)t[i]&&(n[i]=r,r+=e[i]);return n},oe);function oe(e,t,n,r){void 0===r&&(r=!0),this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=n,this._isBrowser=r}function ae(e){return Error('Could not find column with id "'+e+'".')}var se=(le.decorators=[{type:a.Directive,args:[{selector:"[rowOutlet]"}]}],le.ctorParameters=function(){return[{type:a.ViewContainerRef},{type:a.ElementRef}]},le);function le(e,t){this.viewContainer=e,this.elementRef=t}var ue=(ce.decorators=[{type:a.Directive,args:[{selector:"[headerRowOutlet]"}]}],ce.ctorParameters=function(){return[{type:a.ViewContainerRef},{type:a.ElementRef}]},ce);function ce(e,t){this.viewContainer=e,this.elementRef=t}var pe=(de.decorators=[{type:a.Directive,args:[{selector:"[footerRowOutlet]"}]}],de.ctorParameters=function(){return[{type:a.ViewContainerRef},{type:a.ElementRef}]},de);function de(e,t){this.viewContainer=e,this.elementRef=t}var he,fe='\n  <ng-content select="caption"></ng-content>\n  <ng-container headerRowOutlet></ng-container>\n  <ng-container rowOutlet></ng-container>\n  <ng-container footerRowOutlet></ng-container>\n';he=a.EmbeddedViewRef,y.__extends(me,he);function me(){return null!==he&&he.apply(this,arguments)||this}var ve=(Object.defineProperty(ye.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(e){a.isDevMode()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+"."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(ye.prototype,"dataSource",{get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)},enumerable:!0,configurable:!0}),Object.defineProperty(ye.prototype,"multiTemplateDataRows",{get:function(){return this._multiTemplateDataRows},set:function(e){this._multiTemplateDataRows=n.coerceBooleanProperty(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()},enumerable:!0,configurable:!0}),ye.prototype.ngOnInit=function(){var n=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(e,t){return n.trackBy?n.trackBy(t.dataIndex,t.data):t})},ye.prototype.ngAfterContentChecked=function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&0<this._rowDefs.length&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()},ye.prototype.ngOnDestroy=function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),r.isDataSource(this.dataSource)&&this.dataSource.disconnect(this)},ye.prototype.renderRows=function(){var i=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var o=this._rowOutlet.viewContainer;e.forEachOperation(function(e,t,n){if(null==e.previousIndex)i._insertRow(e.item,n);else if(null==n)o.remove(t);else{var r=o.get(t);o.move(r,n)}}),this._updateRowIndexContext(),e.forEachIdentityChange(function(e){o.get(e.currentIndex).context.$implicit=e.item.data}),this.updateStickyColumnStyles()}},ye.prototype.setHeaderRowDef=function(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0},ye.prototype.setFooterRowDef=function(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0},ye.prototype.addColumnDef=function(e){this._customColumnDefs.add(e)},ye.prototype.removeColumnDef=function(e){this._customColumnDefs.delete(e)},ye.prototype.addRowDef=function(e){this._customRowDefs.add(e)},ye.prototype.removeRowDef=function(e){this._customRowDefs.delete(e)},ye.prototype.addHeaderRowDef=function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0},ye.prototype.removeHeaderRowDef=function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0},ye.prototype.addFooterRowDef=function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0},ye.prototype.removeFooterRowDef=function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0},ye.prototype.updateStickyHeaderRowStyles=function(){var e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");var n=this._headerRowDefs.map(function(e){return e.sticky});this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach(function(e){return e.resetStickyChanged()})},ye.prototype.updateStickyFooterRowStyles=function(){var e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");var n=this._footerRowDefs.map(function(e){return e.sticky});this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(function(e){return e.resetStickyChanged()})},ye.prototype.updateStickyColumnStyles=function(){var r=this,e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),t=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(y.__spread(e,i,t),["left","right"]),e.forEach(function(e,t){r._addStickyColumnStyles([e],r._headerRowDefs[t])}),this._rowDefs.forEach(function(e){for(var t=[],n=0;n<i.length;n++)r._renderRows[n].rowDef===e&&t.push(i[n]);r._addStickyColumnStyles(t,e)}),t.forEach(function(e,t){r._addStickyColumnStyles([e],r._footerRowDefs[t])}),Array.from(this._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})},ye.prototype._getAllRenderRows=function(){var e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var r=this._data[n],i=this._getRenderRowsForData(r,n,t.get(r));this._cachedRenderRowsMap.has(r)||this._cachedRenderRowsMap.set(r,new WeakMap);for(var o=0;o<i.length;o++){var a=i[o],s=this._cachedRenderRowsMap.get(a.data);s.has(a.rowDef)?s.get(a.rowDef).push(a):s.set(a.rowDef,[a]),e.push(a)}}return e},ye.prototype._getRenderRowsForData=function(r,i,o){return this._getRowDefs(r,i).map(function(e){var t=o&&o.has(e)?o.get(e):[];if(t.length){var n=t.shift();return n.dataIndex=i,n}return{data:r,rowDef:e,dataIndex:i}})},ye.prototype._cacheColumnDefs=function(){var t=this;this._columnDefsByName.clear(),ge(this._contentColumnDefs,this._customColumnDefs).forEach(function(e){if(t._columnDefsByName.has(e.name))throw function(e){return Error('Duplicate column definition name provided: "'+e+'".')}(e.name);t._columnDefsByName.set(e.name,e)})},ye.prototype._cacheRowDefs=function(){this._headerRowDefs=ge(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=ge(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=ge(this._contentRowDefs,this._customRowDefs);var e=this._rowDefs.filter(function(e){return!e.when});if(!this.multiTemplateDataRows&&1<e.length)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]},ye.prototype._renderUpdatedColumns=function(){function e(e,t){return e||!!t.getColumnsDiff()}this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()},ye.prototype._switchDataSource=function(e){this._data=[],r.isDataSource(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e},ye.prototype._observeRenderChanges=function(){var t=this;if(this.dataSource){var e;if(r.isDataSource(this.dataSource)?e=this.dataSource.connect(this):this.dataSource instanceof s.Observable?e=this.dataSource:Array.isArray(this.dataSource)&&(e=s.of(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(l.takeUntil(this._onDestroy)).subscribe(function(e){t._data=e||[],t.renderRows()})}},ye.prototype._forceRenderHeaderRows=function(){var n=this;0<this._headerRowOutlet.viewContainer.length&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(e,t){return n._renderRow(n._headerRowOutlet,e,t)}),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()},ye.prototype._forceRenderFooterRows=function(){var n=this;0<this._footerRowOutlet.viewContainer.length&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(e,t){return n._renderRow(n._footerRowOutlet,e,t)}),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()},ye.prototype._addStickyColumnStyles=function(e,t){var n=this,r=Array.from(t.columns||[]).map(function(e){var t=n._columnDefsByName.get(e);if(!t)throw ae(e);return t}),i=r.map(function(e){return e.sticky}),o=r.map(function(e){return e.stickyEnd});this._stickyStyler.updateStickyColumns(e,i,o)},ye.prototype._getRenderedRows=function(e){for(var t=[],n=0;n<e.viewContainer.length;n++){var r=e.viewContainer.get(n);t.push(r.rootNodes[0])}return t},ye.prototype._getRowDefs=function(t,n){if(1==this._rowDefs.length)return[this._rowDefs[0]];var e=[];if(this.multiTemplateDataRows)e=this._rowDefs.filter(function(e){return!e.when||e.when(n,t)});else{var r=this._rowDefs.find(function(e){return e.when&&e.when(n,t)})||this._defaultRowDef;r&&e.push(r)}if(!e.length)throw function(e){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(e))}(t);return e},ye.prototype._insertRow=function(e,t){var n=e.rowDef,r={$implicit:e.data};this._renderRow(this._rowOutlet,n,t,r)},ye.prototype._renderRow=function(e,t,n,r){var i,o;void 0===r&&(r={}),e.viewContainer.createEmbeddedView(t.template,r,n);try{for(var a=y.__values(this._getCellTemplates(t)),s=a.next();!s.done;s=a.next()){var l=s.value;Z.mostRecentCellOutlet&&Z.mostRecentCellOutlet._viewContainer.createEmbeddedView(l,r)}}catch(e){i={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}this._changeDetectorRef.markForCheck()},ye.prototype._updateRowIndexContext=function(){for(var e=this._rowOutlet.viewContainer,t=0,n=e.length;t<n;t++){var r=e.get(t).context;r.count=n,r.first=0===t,r.last=t===n-1,r.even=t%2==0,r.odd=!r.even,this.multiTemplateDataRows?(r.dataIndex=this._renderRows[t].dataIndex,r.renderIndex=t):r.index=this._renderRows[t].dataIndex}},ye.prototype._getCellTemplates=function(n){var r=this;return n&&n.columns?Array.from(n.columns,function(e){var t=r._columnDefsByName.get(e);if(!t)throw ae(e);return n.extractCellTemplate(t)}):[]},ye.prototype._applyNativeTableSections=function(){var t,e,n=this._document.createDocumentFragment(),r=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];try{for(var i=y.__values(r),o=i.next();!o.done;o=i.next()){var a=o.value,s=this._document.createElement(a.tag);s.setAttribute("role","rowgroup"),s.appendChild(a.outlet.elementRef.nativeElement),n.appendChild(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this._elementRef.nativeElement.appendChild(n)},ye.prototype._forceRenderDataRows=function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()},ye.prototype._checkStickyStates=function(){function e(e,t){return e||t.hasStickyChanged()}this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&this.updateStickyColumnStyles()},ye.prototype._setupStickyStyler=function(){var t=this,e=this._dir?this._dir.value:"ltr";this._stickyStyler=new ie(this._isNativeHtmlTable,this.stickyCssClass,e,this._platform.isBrowser),(this._dir?this._dir.change:s.of()).pipe(l.takeUntil(this._onDestroy)).subscribe(function(e){t._stickyStyler.direction=e,t.updateStickyColumnStyles()})},ye.decorators=[{type:a.Component,args:[{moduleId:module.id,selector:"cdk-table, table[cdk-table]",exportAs:"cdkTable",template:fe,host:{class:"cdk-table"},encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.Default}]}],ye.ctorParameters=function(){return[{type:a.IterableDiffers},{type:a.ChangeDetectorRef},{type:a.ElementRef},{type:String,decorators:[{type:a.Attribute,args:["role"]}]},{type:t.Directionality,decorators:[{type:a.Optional}]},{type:void 0,decorators:[{type:a.Inject,args:[o.DOCUMENT]}]},{type:i.Platform}]},ye.propDecorators={trackBy:[{type:a.Input}],dataSource:[{type:a.Input}],multiTemplateDataRows:[{type:a.Input}],_rowOutlet:[{type:a.ViewChild,args:[se,{static:!0}]}],_headerRowOutlet:[{type:a.ViewChild,args:[ue,{static:!0}]}],_footerRowOutlet:[{type:a.ViewChild,args:[pe,{static:!0}]}],_contentColumnDefs:[{type:a.ContentChildren,args:[_]}],_contentRowDefs:[{type:a.ContentChildren,args:[Y]}],_contentHeaderRowDefs:[{type:a.ContentChildren,args:[V]}],_contentFooterRowDefs:[{type:a.ContentChildren,args:[H]}]},ye);function ye(e,t,n,r,i,o,a){this._differs=e,this._changeDetectorRef=t,this._elementRef=n,this._dir=i,this._platform=a,this._onDestroy=new s.Subject,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new s.BehaviorSubject({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}function ge(e,t){return e.toArray().concat(Array.from(t))}var _e=new a.InjectionToken("text-column-options"),be=(Object.defineProperty(we.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e,this._syncColumnDefName()},enumerable:!0,configurable:!0}),we.prototype.ngOnInit=function(){if(this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||function(e,t){return e[t]}),!this._table)throw Error("Text column could not find a parent table for registration.");this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef)},we.prototype.ngOnDestroy=function(){this._table&&this._table.removeColumnDef(this.columnDef)},we.prototype._createDefaultHeaderText=function(){var e=this.name;if(a.isDevMode()&&!e)throw Error("Table text column must have a name.");return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(e):e[0].toUpperCase()+e.slice(1)},we.prototype._syncColumnDefName=function(){this.columnDef&&(this.columnDef.name=this.name)},we.decorators=[{type:a.Component,args:[{moduleId:module.id,selector:"cdk-text-column",template:'\n    <ng-container cdkColumnDef>\n      <th cdk-header-cell *cdkHeaderCellDef [style.text-align]="justify">\n        {{headerText}}\n      </th>\n      <td cdk-cell *cdkCellDef="let data" [style.text-align]="justify">\n        {{dataAccessor(data, name)}}\n      </td>\n    </ng-container>\n  ',encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.Default}]}],we.ctorParameters=function(){return[{type:ve,decorators:[{type:a.Optional}]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[_e]}]}]},we.propDecorators={name:[{type:a.Input}],headerText:[{type:a.Input}],dataAccessor:[{type:a.Input}],justify:[{type:a.Input}],columnDef:[{type:a.ViewChild,args:[_,{static:!0}]}],cell:[{type:a.ViewChild,args:[c,{static:!0}]}],headerCell:[{type:a.ViewChild,args:[d,{static:!0}]}]},we);function we(e,t){this._table=e,this._options=t,this.justify="start",this._options=t||{}}var xe=[ve,Y,c,Z,d,f,_,T,te,C,O,X,V,J,H,se,ue,pe,be],Ce=(Se.decorators=[{type:a.NgModule,args:[{imports:[o.CommonModule],exports:xe,declarations:xe}]}],Se);function Se(){}e.DataSource=r.DataSource,e.DataRowOutlet=se,e.HeaderRowOutlet=ue,e.FooterRowOutlet=pe,e.CDK_TABLE_TEMPLATE=fe,e.CdkTable=ve,e.CdkCellDef=c,e.CdkHeaderCellDef=d,e.CdkFooterCellDef=f,e.CdkColumnDef=_,e.BaseCdkCell=w,e.CdkHeaderCell=C,e.CdkFooterCell=O,e.CdkCell=T,e.CDK_ROW_TEMPLATE=A,e.BaseRowDef=M,e.CdkHeaderRowDef=V,e.CdkFooterRowDef=H,e.CdkRowDef=Y,e.CdkCellOutlet=Z,e.CdkHeaderRow=X,e.CdkFooterRow=J,e.CdkRow=te,e.CdkTableModule=Ce,e.STICKY_DIRECTIONS=re,e.StickyStyler=ie,e.mixinHasStickyInput=u,e.TEXT_COLUMN_OPTIONS=_e,e.CdkTextColumn=be,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("tslib"),require("@angular/cdk/table"),require("@angular/common"),require("@angular/material/core"),require("@angular/cdk/coercion"),require("rxjs"),require("rxjs/operators")):System.registerDynamic("npm:@angular/material/bundles/material-table.umd.js",["@angular/core","tslib","@angular/cdk/table","@angular/common","@angular/material/core","@angular/cdk/coercion","rxjs","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("tslib"),e("@angular/cdk/table"),e("@angular/common"),e("@angular/material/core"),e("@angular/cdk/coercion"),e("rxjs"),e("rxjs/operators"))})}(0,function(e,t,s,n,r,i,o,l,u){"use strict";var a,c=(a=n.CdkTable,s.__extends(p,a),p.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-table, table[mat-table]",exportAs:"matTable",template:n.CDK_TABLE_TEMPLATE,host:{class:"mat-table"},providers:[{provide:n.CdkTable,useExisting:p}],encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.Default,styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}/*# sourceMappingURL=table.css.map */\n']}]}],p);function p(){var e=null!==a&&a.apply(this,arguments)||this;return e.stickyCssClass="mat-table-sticky",e}var d,h=(d=n.CdkCellDef,s.__extends(f,d),f.decorators=[{type:t.Directive,args:[{selector:"[matCellDef]",providers:[{provide:n.CdkCellDef,useExisting:f}]}]}],f);function f(){return null!==d&&d.apply(this,arguments)||this}var m,v=(m=n.CdkHeaderCellDef,s.__extends(y,m),y.decorators=[{type:t.Directive,args:[{selector:"[matHeaderCellDef]",providers:[{provide:n.CdkHeaderCellDef,useExisting:y}]}]}],y);function y(){return null!==m&&m.apply(this,arguments)||this}var g,_=(g=n.CdkFooterCellDef,s.__extends(b,g),b.decorators=[{type:t.Directive,args:[{selector:"[matFooterCellDef]",providers:[{provide:n.CdkFooterCellDef,useExisting:b}]}]}],b);function b(){return null!==g&&g.apply(this,arguments)||this}var w,x=(w=n.CdkColumnDef,s.__extends(C,w),C.decorators=[{type:t.Directive,args:[{selector:"[matColumnDef]",providers:[{provide:n.CdkColumnDef,useExisting:C},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:C}]}]}],C.propDecorators={name:[{type:t.Input,args:["matColumnDef"]}],sticky:[{type:t.Input}],stickyEnd:[{type:t.Input}]},C);function C(){return null!==w&&w.apply(this,arguments)||this}var S,E=(S=n.CdkHeaderCell,s.__extends(O,S),O.decorators=[{type:t.Directive,args:[{selector:"mat-header-cell, th[mat-header-cell]",host:{class:"mat-header-cell",role:"columnheader"}}]}],O.ctorParameters=function(){return[{type:n.CdkColumnDef},{type:t.ElementRef}]},O);function O(e,t){var n=S.call(this,e,t)||this;return t.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),n}var k,D=(k=n.CdkFooterCell,s.__extends(T,k),T.decorators=[{type:t.Directive,args:[{selector:"mat-footer-cell, td[mat-footer-cell]",host:{class:"mat-footer-cell",role:"gridcell"}}]}],T.ctorParameters=function(){return[{type:n.CdkColumnDef},{type:t.ElementRef}]},T);function T(e,t){var n=k.call(this,e,t)||this;return t.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),n}var I,P=(I=n.CdkCell,s.__extends(A,I),A.decorators=[{type:t.Directive,args:[{selector:"mat-cell, td[mat-cell]",host:{class:"mat-cell",role:"gridcell"}}]}],A.ctorParameters=function(){return[{type:n.CdkColumnDef},{type:t.ElementRef}]},A);function A(e,t){var n=I.call(this,e,t)||this;return t.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),n}var M,R=(M=n.CdkHeaderRowDef,s.__extends(N,M),N.decorators=[{type:t.Directive,args:[{selector:"[matHeaderRowDef]",providers:[{provide:n.CdkHeaderRowDef,useExisting:N}],inputs:["columns: matHeaderRowDef","sticky: matHeaderRowDefSticky"]}]}],N);function N(){return null!==M&&M.apply(this,arguments)||this}var j,F=(j=n.CdkFooterRowDef,s.__extends(L,j),L.decorators=[{type:t.Directive,args:[{selector:"[matFooterRowDef]",providers:[{provide:n.CdkFooterRowDef,useExisting:L}],inputs:["columns: matFooterRowDef","sticky: matFooterRowDefSticky"]}]}],L);function L(){return null!==j&&j.apply(this,arguments)||this}var V,B=(V=n.CdkRowDef,s.__extends(U,V),U.decorators=[{type:t.Directive,args:[{selector:"[matRowDef]",providers:[{provide:n.CdkRowDef,useExisting:U}],inputs:["columns: matRowDefColumns","when: matRowDefWhen"]}]}],U);function U(){return null!==V&&V.apply(this,arguments)||this}var z,q=(z=n.CdkHeaderRow,s.__extends(H,z),H.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-header-row, tr[mat-header-row]",template:n.CDK_ROW_TEMPLATE,host:{class:"mat-header-row",role:"row"},changeDetection:t.ChangeDetectionStrategy.Default,encapsulation:t.ViewEncapsulation.None,exportAs:"matHeaderRow",providers:[{provide:n.CdkHeaderRow,useExisting:H}]}]}],H);function H(){return null!==z&&z.apply(this,arguments)||this}var W,G=(W=n.CdkFooterRow,s.__extends(Y,W),Y.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-footer-row, tr[mat-footer-row]",template:n.CDK_ROW_TEMPLATE,host:{class:"mat-footer-row",role:"row"},changeDetection:t.ChangeDetectionStrategy.Default,encapsulation:t.ViewEncapsulation.None,exportAs:"matFooterRow",providers:[{provide:n.CdkFooterRow,useExisting:Y}]}]}],Y);function Y(){return null!==W&&W.apply(this,arguments)||this}var K,Z=(K=n.CdkRow,s.__extends(Q,K),Q.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-row, tr[mat-row]",template:n.CDK_ROW_TEMPLATE,host:{class:"mat-row",role:"row"},changeDetection:t.ChangeDetectionStrategy.Default,encapsulation:t.ViewEncapsulation.None,exportAs:"matRow",providers:[{provide:n.CdkRow,useExisting:Q}]}]}],Q);function Q(){return null!==K&&K.apply(this,arguments)||this}var X,$=(X=n.CdkTextColumn,s.__extends(J,X),J.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-text-column",template:'\n    <ng-container matColumnDef>\n      <th mat-header-cell *matHeaderCellDef [style.text-align]="justify">\n        {{headerText}}\n      </th>\n      <td mat-cell *matCellDef="let data" [style.text-align]="justify">\n        {{dataAccessor(data, name)}}\n      </td>\n    </ng-container>\n  ',encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.Default}]}],J);function J(){return null!==X&&X.apply(this,arguments)||this}var ee=[c,v,R,x,h,B,_,F,E,P,D,q,Z,G,$],te=(ne.decorators=[{type:t.NgModule,args:[{imports:[n.CdkTableModule,r.CommonModule,i.MatCommonModule],exports:ee,declarations:ee}]}],ne);function ne(){}var re,ie=(re=n.DataSource,s.__extends(oe,re),Object.defineProperty(oe.prototype,"data",{get:function(){return this._data.value},set:function(e){this._data.next(e)},enumerable:!0,configurable:!0}),Object.defineProperty(oe.prototype,"filter",{get:function(){return this._filter.value},set:function(e){this._filter.next(e)},enumerable:!0,configurable:!0}),Object.defineProperty(oe.prototype,"sort",{get:function(){return this._sort},set:function(e){this._sort=e,this._updateChangeSubscription()},enumerable:!0,configurable:!0}),Object.defineProperty(oe.prototype,"paginator",{get:function(){return this._paginator},set:function(e){this._paginator=e,this._updateChangeSubscription()},enumerable:!0,configurable:!0}),oe.prototype._updateChangeSubscription=function(){var n=this,e=this._sort?l.merge(this._sort.sortChange,this._sort.initialized):l.of(null),t=this._paginator?l.merge(this._paginator.page,this._internalPageChanges,this._paginator.initialized):l.of(null),r=this._data,i=l.combineLatest([r,this._filter]).pipe(u.map(function(e){var t=s.__read(e,1)[0];return n._filterData(t)})),o=l.combineLatest([i,e]).pipe(u.map(function(e){var t=s.__read(e,1)[0];return n._orderData(t)})),a=l.combineLatest([o,t]).pipe(u.map(function(e){var t=s.__read(e,1)[0];return n._pageData(t)}));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=a.subscribe(function(e){return n._renderData.next(e)})},oe.prototype._filterData=function(e){var t=this;return this.filteredData=this.filter?e.filter(function(e){return t.filterPredicate(e,t.filter)}):e,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData},oe.prototype._orderData=function(e){return this.sort?this.sortData(e.slice(),this.sort):e},oe.prototype._pageData=function(e){if(!this.paginator)return e;var t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)},oe.prototype._updatePaginator=function(r){var i=this;Promise.resolve().then(function(){var e=i.paginator;if(e&&(e.length=r,0<e.pageIndex)){var t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,i._internalPageChanges.next())}})},oe.prototype.connect=function(){return this._renderData},oe.prototype.disconnect=function(){},oe);function oe(e){void 0===e&&(e=[]);var s=re.call(this)||this;return s._renderData=new l.BehaviorSubject([]),s._filter=new l.BehaviorSubject(""),s._internalPageChanges=new l.Subject,s._renderChangesSubscription=l.Subscription.EMPTY,s.sortingDataAccessor=function(e,t){var n=e[t];if(o._isNumberValue(n)){var r=Number(n);return r<9007199254740991?r:n}return n},s.sortData=function(e,t){var o=t.active,a=t.direction;return o&&""!=a?e.sort(function(e,t){var n=s.sortingDataAccessor(e,o),r=s.sortingDataAccessor(t,o),i=0;return null!=n&&null!=r?r<n?i=1:n<r&&(i=-1):null!=n?i=1:null!=r&&(i=-1),i*("asc"==a?1:-1)}):e},s.filterPredicate=function(n,e){var t=Object.keys(n).reduce(function(e,t){return e+n[t]+"◬"},"").toLowerCase(),r=e.trim().toLowerCase();return-1!=t.indexOf(r)},s._data=new l.BehaviorSubject(e),s._updateChangeSubscription(),s}e.MatTableModule=te,e.MatCellDef=h,e.MatHeaderCellDef=v,e.MatFooterCellDef=_,e.MatColumnDef=x,e.MatHeaderCell=E,e.MatFooterCell=D,e.MatCell=P,e.MatTable=c,e.MatHeaderRowDef=R,e.MatFooterRowDef=F,e.MatRowDef=B,e.MatHeaderRow=q,e.MatFooterRow=G,e.MatRow=Z,e.MatTableDataSource=ie,e.MatTextColumn=$,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/observers"),require("@angular/cdk/portal"),require("@angular/common"),require("@angular/core"),require("@angular/cdk/a11y"),require("@angular/material/core"),require("@angular/platform-browser/animations"),require("tslib"),require("rxjs"),require("@angular/cdk/bidi"),require("@angular/animations"),require("rxjs/operators"),require("@angular/cdk/coercion"),require("@angular/cdk/scrolling"),require("@angular/cdk/platform"),require("@angular/cdk/keycodes")):System.registerDynamic("npm:@angular/material/bundles/material-tabs.umd.js",["@angular/cdk/observers","@angular/cdk/portal","@angular/common","@angular/core","@angular/cdk/a11y","@angular/material/core","@angular/platform-browser/animations","tslib","rxjs","@angular/cdk/bidi","@angular/animations","rxjs/operators","@angular/cdk/coercion","@angular/cdk/scrolling","@angular/cdk/platform","@angular/cdk/keycodes"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/observers"),e("@angular/cdk/portal"),e("@angular/common"),e("@angular/core"),e("@angular/cdk/a11y"),e("@angular/material/core"),e("@angular/platform-browser/animations"),e("tslib"),e("rxjs"),e("@angular/cdk/bidi"),e("@angular/animations"),e("rxjs/operators"),e("@angular/cdk/coercion"),e("@angular/cdk/scrolling"),e("@angular/cdk/platform"),e("@angular/cdk/keycodes"))})}(0,function(e,t,n,r,l,i,u,o,a,c,s,p,d,h,f,m,v){"use strict";var y=new l.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:g});function g(){return function(e){return{left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"}}}var _=(b.prototype.alignToElement=function(e){var t=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return t._setStyles(e)})}):this._setStyles(e)},b.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},b.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},b.prototype._setStyles=function(e){var t=this._inkBarPositioner(e),n=this._elementRef.nativeElement;n.style.left=t.left,n.style.width=t.width},b.decorators=[{type:l.Directive,args:[{selector:"mat-ink-bar",host:{class:"mat-ink-bar","[class._mat-animation-noopable]":"_animationMode === 'NoopAnimations'"}}]}],b.ctorParameters=function(){return[{type:l.ElementRef},{type:l.NgZone},{type:void 0,decorators:[{type:l.Inject,args:[y]}]},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},b);function b(e,t,n,r){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=n,this._animationMode=r}var w=(x.decorators=[{type:l.Directive,args:[{selector:"[matTabContent]"}]}],x.ctorParameters=function(){return[{type:l.TemplateRef}]},x);function x(e){this.template=e}var C,S=(C=n.CdkPortal,a.__extends(E,C),E.decorators=[{type:l.Directive,args:[{selector:"[mat-tab-label], [matTabLabel]"}]}],E);function E(){return null!==C&&C.apply(this,arguments)||this}function O(){}var k,D=u.mixinDisabled(O),T=(k=D,a.__extends(I,k),Object.defineProperty(I.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),I.prototype.ngOnChanges=function(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()},I.prototype.ngOnDestroy=function(){this._stateChanges.complete()},I.prototype.ngOnInit=function(){this._contentPortal=new n.TemplatePortal(this._explicitContent||this._implicitContent,this._viewContainerRef)},I.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-tab",template:"\x3c!-- Create a template for the content of the <mat-tab> so that we can grab a reference to this\n    TemplateRef and use it in a Portal to render the tab content in the appropriate place in the\n    tab-group. --\x3e\n<ng-template><ng-content></ng-content></ng-template>\n",inputs:["disabled"],changeDetection:l.ChangeDetectionStrategy.OnPush,encapsulation:l.ViewEncapsulation.None,exportAs:"matTab"}]}],I.ctorParameters=function(){return[{type:l.ViewContainerRef}]},I.propDecorators={templateLabel:[{type:l.ContentChild,args:[S,{static:!1}]}],_explicitContent:[{type:l.ContentChild,args:[w,{read:l.TemplateRef,static:!0}]}],_implicitContent:[{type:l.ViewChild,args:[l.TemplateRef,{static:!0}]}],textLabel:[{type:l.Input,args:["label"]}],ariaLabel:[{type:l.Input,args:["aria-label"]}],ariaLabelledby:[{type:l.Input,args:["aria-labelledby"]}]},I);function I(e){var t=k.call(this)||this;return t._viewContainerRef=e,t.textLabel="",t._contentPortal=null,t._stateChanges=new c.Subject,t.position=null,t.origin=null,t.isActive=!1,t}var P,A={translateTab:p.trigger("translateTab",[p.state("center, void, left-origin-center, right-origin-center",p.style({transform:"none"})),p.state("left",p.style({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),p.state("right",p.style({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),p.transition("* => left, * => right, left => center, right => center",p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),p.transition("void => left-origin-center",[p.style({transform:"translate3d(-100%, 0, 0)"}),p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),p.transition("void => right-origin-center",[p.style({transform:"translate3d(100%, 0, 0)"}),p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},M=(P=n.CdkPortalOutlet,a.__extends(R,P),R.prototype.ngOnInit=function(){var t=this;P.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(d.startWith(this._host._isCenterPosition(this._host._position))).subscribe(function(e){e&&!t.hasAttached()&&t.attach(t._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){t.detach()})},R.prototype.ngOnDestroy=function(){P.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},R.decorators=[{type:l.Directive,args:[{selector:"[matTabBodyHost]"}]}],R.ctorParameters=function(){return[{type:l.ComponentFactoryResolver},{type:l.ViewContainerRef},{type:L,decorators:[{type:l.Inject,args:[l.forwardRef(function(){return L})]}]}]},R);function R(e,t,n){var r=P.call(this,e,t)||this;return r._host=n,r._centeringSub=c.Subscription.EMPTY,r._leavingSub=c.Subscription.EMPTY,r}var N=(Object.defineProperty(j.prototype,"position",{set:function(e){this._positionIndex=e,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),j.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},j.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},j.prototype._onTranslateTabStarted=function(e){var t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},j.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},j.prototype._isCenterPosition=function(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e},j.prototype._computePositionAnimationState=function(e){void 0===e&&(e=this._getLayoutDirection()),this._positionIndex<0?this._position="ltr"==e?"left":"right":0<this._positionIndex?this._position="ltr"==e?"right":"left":this._position="center"},j.prototype._computePositionFromOrigin=function(){var e=this._getLayoutDirection();return"ltr"==e&&this.origin<=0||"rtl"==e&&0<this.origin?"left-origin-center":"right-origin-center"},j.decorators=[{type:l.Directive,args:[{selector:"do-not-use-abstract-mat-tab-body-base"}]}],j.ctorParameters=function(){return[{type:l.ElementRef},{type:s.Directionality,decorators:[{type:l.Optional}]},{type:l.ChangeDetectorRef}]},j.propDecorators={_onCentering:[{type:l.Output}],_beforeCentering:[{type:l.Output}],_afterLeavingCenter:[{type:l.Output}],_onCentered:[{type:l.Output}],_content:[{type:l.Input,args:["content"]}],origin:[{type:l.Input}],animationDuration:[{type:l.Input}],position:[{type:l.Input}]},j);function j(e,t,n){var r=this;this._elementRef=e,this._dir=t,this._dirChangeSubscription=c.Subscription.EMPTY,this._translateTabComplete=new c.Subject,this._onCentering=new l.EventEmitter,this._beforeCentering=new l.EventEmitter,this._afterLeavingCenter=new l.EventEmitter,this._onCentered=new l.EventEmitter(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(function(e){r._computePositionAnimationState(e),n.markForCheck()})),this._translateTabComplete.pipe(d.distinctUntilChanged(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){r._isCenterPosition(e.toState)&&r._isCenterPosition(r._position)&&r._onCentered.emit(),r._isCenterPosition(e.fromState)&&!r._isCenterPosition(r._position)&&r._afterLeavingCenter.emit()})}var F,L=(F=N,a.__extends(V,F),V.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-tab-body",template:'<div class="mat-tab-body-content" #content\n     [@translateTab]="{\n        value: _position,\n        params: {animationDuration: animationDuration}\n     }"\n     (@translateTab.start)="_onTranslateTabStarted($event)"\n     (@translateTab.done)="_translateTabComplete.next($event)">\n  <ng-template matTabBodyHost></ng-template>\n</div>\n',encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,animations:[A.translateTab],host:{class:"mat-tab-body"},styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}/*# sourceMappingURL=tab-body.css.map */\n"]}]}],V.ctorParameters=function(){return[{type:l.ElementRef},{type:s.Directionality,decorators:[{type:l.Optional}]},{type:l.ChangeDetectorRef}]},V.propDecorators={_portalHost:[{type:l.ViewChild,args:[n.PortalHostDirective,{static:!1}]}]},V);function V(e,t,n){return F.call(this,e,t,n)||this}function B(e){this._elementRef=e}var U,z=0,q=function(){},H=new l.InjectionToken("MAT_TABS_CONFIG"),W=u.mixinColor(u.mixinDisableRipple(B),"primary"),G=(U=W,a.__extends(Y,U),Object.defineProperty(Y.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(e){this._dynamicHeight=h.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(Y.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(e){this._indexToSelect=h.coerceNumberProperty(e,null)},enumerable:!0,configurable:!0}),Object.defineProperty(Y.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e},enumerable:!0,configurable:!0}),Object.defineProperty(Y.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(e){var t=this._elementRef.nativeElement;t.classList.remove("mat-background-"+this.backgroundColor),e&&t.classList.add("mat-background-"+e),this._backgroundColor=e},enumerable:!0,configurable:!0}),Y.prototype.ngAfterContentChecked=function(){var n=this,r=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=r){var e=null==this._selectedIndex;e||this.selectedTabChange.emit(this._createChangeEvent(r)),Promise.resolve().then(function(){n._tabs.forEach(function(e,t){return e.isActive=t===r}),e||n.selectedIndexChange.emit(r)})}this._tabs.forEach(function(e,t){e.position=t-r,null==n._selectedIndex||0!=e.position||e.origin||(e.origin=r-n._selectedIndex)}),this._selectedIndex!==r&&(this._selectedIndex=r,this._changeDetectorRef.markForCheck())},Y.prototype.ngAfterContentInit=function(){var n=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(n._clampTabIndex(n._indexToSelect)===n._selectedIndex)for(var e=n._tabs.toArray(),t=0;t<e.length;t++)if(e[t].isActive){n._indexToSelect=n._selectedIndex=t;break}n._subscribeToTabLabels(),n._changeDetectorRef.markForCheck()})},Y.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},Y.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},Y.prototype._focusChanged=function(e){this.focusChange.emit(this._createChangeEvent(e))},Y.prototype._createChangeEvent=function(e){var t=new q;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t},Y.prototype._subscribeToTabLabels=function(){var e=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=c.merge.apply(void 0,a.__spread(this._tabs.map(function(e){return e._stateChanges}))).subscribe(function(){return e._changeDetectorRef.markForCheck()})},Y.prototype._clampTabIndex=function(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))},Y.prototype._getTabLabelId=function(e){return"mat-tab-label-"+this._groupId+"-"+e},Y.prototype._getTabContentId=function(e){return"mat-tab-content-"+this._groupId+"-"+e},Y.prototype._setTabBodyWrapperHeight=function(e){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}},Y.prototype._removeTabBodyWrapperHeight=function(){var e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()},Y.prototype._handleClick=function(e,t,n){e.disabled||(this.selectedIndex=t.focusIndex=n)},Y.prototype._getTabIndex=function(e,t){return e.disabled?null:this.selectedIndex===t?0:-1},Y.decorators=[{type:l.Directive,args:[{selector:"do-not-use-abstract-mat-tab-group-base"}]}],Y.ctorParameters=function(){return[{type:l.ElementRef},{type:l.ChangeDetectorRef},{type:void 0,decorators:[{type:l.Inject,args:[H]},{type:l.Optional}]},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},Y.propDecorators={dynamicHeight:[{type:l.Input}],selectedIndex:[{type:l.Input}],headerPosition:[{type:l.Input}],animationDuration:[{type:l.Input}],backgroundColor:[{type:l.Input}],selectedIndexChange:[{type:l.Output}],focusChange:[{type:l.Output}],animationDone:[{type:l.Output}],selectedTabChange:[{type:l.Output}]},Y);function Y(e,t,n,r){var i=U.call(this,e)||this;return i._changeDetectorRef=t,i._animationMode=r,i._indexToSelect=0,i._tabBodyWrapperHeight=0,i._tabsSubscription=c.Subscription.EMPTY,i._tabLabelSubscription=c.Subscription.EMPTY,i._dynamicHeight=!1,i._selectedIndex=null,i.headerPosition="above",i.selectedIndexChange=new l.EventEmitter,i.focusChange=new l.EventEmitter,i.animationDone=new l.EventEmitter,i.selectedTabChange=new l.EventEmitter(!0),i._groupId=z++,i.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",i}var K,Z=(K=G,a.__extends(Q,K),Q.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-tab-group",exportAs:"matTabGroup",template:'<mat-tab-header #tabHeader\n               [selectedIndex]="selectedIndex"\n               [disableRipple]="disableRipple"\n               (indexFocused)="_focusChanged($event)"\n               (selectFocusedIndex)="selectedIndex = $event">\n  <div class="mat-tab-label" role="tab" matTabLabelWrapper mat-ripple cdkMonitorElementFocus\n       *ngFor="let tab of _tabs; let i = index"\n       [id]="_getTabLabelId(i)"\n       [attr.tabIndex]="_getTabIndex(tab, i)"\n       [attr.aria-posinset]="i + 1"\n       [attr.aria-setsize]="_tabs.length"\n       [attr.aria-controls]="_getTabContentId(i)"\n       [attr.aria-selected]="selectedIndex == i"\n       [attr.aria-label]="tab.ariaLabel || null"\n       [attr.aria-labelledby]="(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null"\n       [class.mat-tab-label-active]="selectedIndex == i"\n       [disabled]="tab.disabled"\n       [matRippleDisabled]="tab.disabled || disableRipple"\n       (click)="_handleClick(tab, tabHeader, i)">\n\n\n    <div class="mat-tab-label-content">\n      \x3c!-- If there is a label template, use it. --\x3e\n      <ng-template [ngIf]="tab.templateLabel">\n        <ng-template [cdkPortalOutlet]="tab.templateLabel"></ng-template>\n      </ng-template>\n\n      \x3c!-- If there is not a label template, fall back to the text label. --\x3e\n      <ng-template [ngIf]="!tab.templateLabel">{{tab.textLabel}}</ng-template>\n    </div>\n  </div>\n</mat-tab-header>\n\n<div\n  class="mat-tab-body-wrapper"\n  [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n  #tabBodyWrapper>\n  <mat-tab-body role="tabpanel"\n               *ngFor="let tab of _tabs; let i = index"\n               [id]="_getTabContentId(i)"\n               [attr.aria-labelledby]="_getTabLabelId(i)"\n               [class.mat-tab-body-active]="selectedIndex == i"\n               [content]="tab.content"\n               [position]="tab.position"\n               [origin]="tab.origin"\n               [animationDuration]="animationDuration"\n               (_onCentered)="_removeTabBodyWrapperHeight()"\n               (_onCentering)="_setTabBodyWrapperHeight($event)">\n  </mat-tab-body>\n</div>\n',encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,inputs:["color","disableRipple"],host:{class:"mat-tab-group","[class.mat-tab-group-dynamic-height]":"dynamicHeight","[class.mat-tab-group-inverted-header]":'headerPosition === "below"'},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media(-ms-high-contrast: active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media(-ms-high-contrast: active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media(-ms-high-contrast: active){.mat-tab-label{opacity:1}}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}/*# sourceMappingURL=tab-group.css.map */\n"]}]}],Q.ctorParameters=function(){return[{type:l.ElementRef},{type:l.ChangeDetectorRef},{type:void 0,decorators:[{type:l.Inject,args:[H]},{type:l.Optional}]},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},Q.propDecorators={_tabs:[{type:l.ContentChildren,args:[T]}],_tabBodyWrapper:[{type:l.ViewChild,args:["tabBodyWrapper",{static:!1}]}],_tabHeader:[{type:l.ViewChild,args:["tabHeader",{static:!1}]}]},Q);function Q(e,t,n,r){return K.call(this,e,t,n,r)||this}function X(){}var $,J=u.mixinDisabled(X),ee=($=J,a.__extends(te,$),te.prototype.focus=function(){this.elementRef.nativeElement.focus()},te.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},te.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},te.decorators=[{type:l.Directive,args:[{selector:"[matTabLabelWrapper]",inputs:["disabled"],host:{"[class.mat-tab-disabled]":"disabled","[attr.aria-disabled]":"!!disabled"}}]}],te.ctorParameters=function(){return[{type:l.ElementRef}]},te);function te(e){var t=$.call(this)||this;return t.elementRef=e,t}var ne=m.normalizePassiveListenerOptions({passive:!0}),re=(Object.defineProperty(ie.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(e){e=h.coerceNumberProperty(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItemIndex(e))},enumerable:!0,configurable:!0}),ie.prototype.ngAfterViewInit=function(){var e=this;c.fromEvent(this._previousPaginator.nativeElement,"touchstart",ne).pipe(d.takeUntil(this._destroyed)).subscribe(function(){e._handlePaginatorPress("before")}),c.fromEvent(this._nextPaginator.nativeElement,"touchstart",ne).pipe(d.takeUntil(this._destroyed)).subscribe(function(){e._handlePaginatorPress("after")})},ie.prototype.ngAfterContentInit=function(){function e(){t.updatePagination(),t._alignInkBarToSelectedTab()}var t=this,n=this._dir?this._dir.change:c.of(null),r=this._viewportRuler.change(150);this._keyManager=new i.FocusKeyManager(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(e):e(),c.merge(n,r,this._items.changes).pipe(d.takeUntil(this._destroyed)).subscribe(function(){e(),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe(d.takeUntil(this._destroyed)).subscribe(function(e){t.indexFocused.emit(e),t._setTabFocus(e)})},ie.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},ie.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},ie.prototype._handleKeydown=function(e){if(!v.hasModifierKey(e))switch(e.keyCode){case v.HOME:this._keyManager.setFirstItemActive(),e.preventDefault();break;case v.END:this._keyManager.setLastItemActive(),e.preventDefault();break;case v.ENTER:case v.SPACE:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e);break;default:this._keyManager.onKeydown(e)}},ie.prototype._onContentChanges=function(){var e=this,t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(function(){e.updatePagination(),e._alignInkBarToSelectedTab(),e._changeDetectorRef.markForCheck()}))},ie.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(ie.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)},enumerable:!0,configurable:!0}),ie.prototype._isValidIndex=function(e){if(!this._items)return!0;var t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled},ie.prototype._setTabFocus=function(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();var t=this._tabListContainer.nativeElement,n=this._getLayoutDirection();t.scrollLeft="ltr"==n?0:t.scrollWidth-t.offsetWidth}},ie.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},ie.prototype._updateTabScrollPosition=function(){var e=this.scrollDistance,t=this._platform,n="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform="translateX("+Math.round(n)+"px)",t&&(t.TRIDENT||t.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)},Object.defineProperty(ie.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(e){this._scrollTo(e)},enumerable:!0,configurable:!0}),ie.prototype._scrollHeader=function(e){var t=("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3;return this._scrollTo(this._scrollDistance+t)},ie.prototype._handlePaginatorClick=function(e){this._stopInterval(),this._scrollHeader(e)},ie.prototype._scrollToLabel=function(e){var t=this._items?this._items.toArray()[e]:null;if(t){var n,r,i=this._tabListContainer.nativeElement.offsetWidth,o=t.elementRef.nativeElement,a=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?r=(n=a)+s:n=(r=this._tabList.nativeElement.offsetWidth-a)-s;var l=this.scrollDistance,u=this.scrollDistance+i;n<l?this.scrollDistance-=l-n+60:u<r&&(this.scrollDistance+=r-u+60)}},ie.prototype._checkPaginationEnabled=function(){var e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e},ie.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},ie.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},ie.prototype._alignInkBarToSelectedTab=function(){var e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()},ie.prototype._stopInterval=function(){this._stopScrolling.next()},ie.prototype._handlePaginatorPress=function(r){var i=this;this._stopInterval(),c.timer(650,100).pipe(d.takeUntil(c.merge(this._stopScrolling,this._destroyed))).subscribe(function(){var e=i._scrollHeader(r),t=e.maxScrollDistance,n=e.distance;(0===n||t<=n)&&i._stopInterval()})},ie.prototype._scrollTo=function(e){var t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}},ie.decorators=[{type:l.Directive,args:[{selector:"do-not-use-abstract-mat-paginated-tab-header"}]}],ie.ctorParameters=function(){return[{type:l.ElementRef},{type:l.ChangeDetectorRef},{type:f.ViewportRuler},{type:s.Directionality,decorators:[{type:l.Optional}]},{type:l.NgZone},{type:m.Platform},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},ie);function ie(e,t,n,r,i,o,a){var s=this;this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=n,this._dir=r,this._ngZone=i,this._platform=o,this._animationMode=a,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new c.Subject,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new c.Subject,this._selectedIndex=0,this.selectFocusedIndex=new l.EventEmitter,this.indexFocused=new l.EventEmitter,i.runOutsideAngular(function(){c.fromEvent(e.nativeElement,"mouseleave").pipe(d.takeUntil(s._destroyed)).subscribe(function(){s._stopInterval()})})}var oe,ae=(oe=re,a.__extends(se,oe),Object.defineProperty(se.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(e){this._disableRipple=h.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),se.prototype._itemSelected=function(e){e.preventDefault()},se.decorators=[{type:l.Directive,args:[{selector:"do-not-use-abstract-mat-tab-header-base"}]}],se.ctorParameters=function(){return[{type:l.ElementRef},{type:l.ChangeDetectorRef},{type:f.ViewportRuler},{type:s.Directionality,decorators:[{type:l.Optional}]},{type:l.NgZone},{type:m.Platform},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},se.propDecorators={disableRipple:[{type:l.Input}]},se);function se(e,t,n,r,i,o,a){var s=oe.call(this,e,t,n,r,i,o,a)||this;return s._disableRipple=!1,s}var le,ue=(le=ae,a.__extends(ce,le),ce.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"mat-tab-header",template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n     #previousPaginator\n     aria-hidden="true"\n     mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n     [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n     (click)="_handlePaginatorClick(\'before\')"\n     (mousedown)="_handlePaginatorPress(\'before\')"\n     (touchend)="_stopInterval()">\n  <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-label-container" #tabListContainer (keydown)="_handleKeydown($event)">\n  <div\n    #tabList\n    class="mat-tab-list"\n    [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n    role="tablist"\n    (cdkObserveContent)="_onContentChanges()">\n    <div class="mat-tab-labels">\n      <ng-content></ng-content>\n    </div>\n    <mat-ink-bar></mat-ink-bar>\n  </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n     #nextPaginator\n     aria-hidden="true"\n     mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n     [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n     (mousedown)="_handlePaginatorPress(\'after\')"\n     (click)="_handlePaginatorClick(\'after\')"\n     (touchend)="_stopInterval()">\n  <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',inputs:["selectedIndex"],outputs:["selectFocusedIndex","indexFocused"],encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,host:{class:"mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'"},styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media(-ms-high-contrast: active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media(-ms-high-contrast: active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media(-ms-high-contrast: active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media(-ms-high-contrast: active){.mat-tab-label{opacity:1}}@media(max-width: 599px){.mat-tab-label{min-width:72px}}/*# sourceMappingURL=tab-header.css.map */\n']}]}],ce.ctorParameters=function(){return[{type:l.ElementRef},{type:l.ChangeDetectorRef},{type:f.ViewportRuler},{type:s.Directionality,decorators:[{type:l.Optional}]},{type:l.NgZone},{type:m.Platform},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},ce.propDecorators={_items:[{type:l.ContentChildren,args:[ee]}],_inkBar:[{type:l.ViewChild,args:[_,{static:!0}]}],_tabListContainer:[{type:l.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:l.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:l.ViewChild,args:["nextPaginator",{static:!1}]}],_previousPaginator:[{type:l.ViewChild,args:["previousPaginator",{static:!1}]}]},ce);function ce(e,t,n,r,i,o,a){return le.call(this,e,t,n,r,i,o,a)||this}var pe,de=(pe=re,a.__extends(he,pe),Object.defineProperty(he.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(e){var t=this._elementRef.nativeElement.classList;t.remove("mat-background-"+this.backgroundColor),e&&t.add("mat-background-"+e),this._backgroundColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(he.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(e){this._disableRipple=h.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),he.prototype._itemSelected=function(){},he.prototype.ngAfterContentInit=function(){var e=this;this._items.changes.pipe(d.startWith(null),d.takeUntil(this._destroyed)).subscribe(function(){e.updateActiveLink()}),pe.prototype.ngAfterContentInit.call(this)},he.prototype.updateActiveLink=function(e){if(this._items){for(var t=this._items.toArray(),n=0;n<t.length;n++)if(t[n].active)return this.selectedIndex=n,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}},he.decorators=[{type:l.Directive,args:[{selector:"do-not-use-abstract-mat-tab-nav-base"}]}],he.ctorParameters=function(){return[{type:l.ElementRef},{type:s.Directionality,decorators:[{type:l.Optional}]},{type:l.NgZone},{type:l.ChangeDetectorRef},{type:f.ViewportRuler},{type:m.Platform,decorators:[{type:l.Optional}]},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},he.propDecorators={backgroundColor:[{type:l.Input}],disableRipple:[{type:l.Input}],color:[{type:l.Input}]},he);function he(e,t,n,r,i,o,a){var s=pe.call(this,e,r,i,t,n,o,a)||this;return s._disableRipple=!1,s.color="primary",s}var fe,me=(fe=de,a.__extends(ve,fe),ve.decorators=[{type:l.Component,args:[{moduleId:module.id,selector:"[mat-tab-nav-bar]",exportAs:"matTabNavBar, matTabNav",inputs:["color"],template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n     #previousPaginator\n     aria-hidden="true"\n     mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n     [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n     (click)="_handlePaginatorClick(\'before\')"\n     (mousedown)="_handlePaginatorPress(\'before\')"\n     (touchend)="_stopInterval()">\n  <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-link-container" #tabListContainer (keydown)="_handleKeydown($event)">\n  <div class="mat-tab-list" #tabList (cdkObserveContent)="_onContentChanges()">\n    <div class="mat-tab-links">\n      <ng-content></ng-content>\n    </div>\n    <mat-ink-bar></mat-ink-bar>\n  </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n     #nextPaginator\n     aria-hidden="true"\n     mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n     [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n     (mousedown)="_handlePaginatorPress(\'after\')"\n     (click)="_handlePaginatorClick(\'after\')"\n     (touchend)="_stopInterval()">\n  <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',host:{class:"mat-tab-nav-bar mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'","[class.mat-primary]":'color !== "warn" && color !== "accent"',"[class.mat-accent]":'color === "accent"',"[class.mat-warn]":'color === "warn"'},encapsulation:l.ViewEncapsulation.None,changeDetection:l.ChangeDetectionStrategy.OnPush,styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center] .mat-tab-links{justify-content:center}[mat-align-tabs=end] .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media(-ms-high-contrast: active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}@media(-ms-high-contrast: active){.mat-tab-link:focus{outline:dotted 2px}}.mat-tab-link.mat-tab-disabled{cursor:default}@media(-ms-high-contrast: active){.mat-tab-link.mat-tab-disabled{opacity:.5}}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media(-ms-high-contrast: active){.mat-tab-link{opacity:1}}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}/*# sourceMappingURL=tab-nav-bar.css.map */\n']}]}],ve.ctorParameters=function(){return[{type:l.ElementRef},{type:s.Directionality,decorators:[{type:l.Optional}]},{type:l.NgZone},{type:l.ChangeDetectorRef},{type:f.ViewportRuler},{type:m.Platform,decorators:[{type:l.Optional}]},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},ve.propDecorators={_items:[{type:l.ContentChildren,args:[l.forwardRef(function(){return Ce}),{descendants:!0}]}],_inkBar:[{type:l.ViewChild,args:[_,{static:!0}]}],_tabListContainer:[{type:l.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:l.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:l.ViewChild,args:["nextPaginator",{static:!1}]}],_previousPaginator:[{type:l.ViewChild,args:["previousPaginator",{static:!1}]}]},ve);function ve(e,t,n,r,i,o,a){return fe.call(this,e,t,n,r,i,o,a)||this}function ye(){}var ge,_e=u.mixinTabIndex(u.mixinDisableRipple(u.mixinDisabled(ye))),be=(ge=_e,a.__extends(we,ge),Object.defineProperty(we.prototype,"active",{get:function(){return this._isActive},set:function(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink(this.elementRef))},enumerable:!0,configurable:!0}),Object.defineProperty(we.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled},enumerable:!0,configurable:!0}),we.prototype.focus=function(){this.elementRef.nativeElement.focus()},we.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)},we.decorators=[{type:l.Directive,args:[{selector:"do-not-use-abstract-mat-tab-link-base"}]}],we.ctorParameters=function(){return[{type:de},{type:l.ElementRef},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[u.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:l.Attribute,args:["tabindex"]}]},{type:i.FocusMonitor},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},we.propDecorators={active:[{type:l.Input}]},we);function we(e,t,n,r,i,o){var a=ge.call(this)||this;return a._tabNavBar=e,a.elementRef=t,a._focusMonitor=i,a._isActive=!1,a.rippleConfig=n||{},a.tabIndex=parseInt(r)||0,"NoopAnimations"===o&&(a.rippleConfig.animation={enterDuration:0,exitDuration:0}),i.monitor(t),a}var xe,Ce=(xe=be,a.__extends(Se,xe),Se.prototype.ngOnDestroy=function(){xe.prototype.ngOnDestroy.call(this),this._tabLinkRipple._removeTriggerEvents()},Se.decorators=[{type:l.Directive,args:[{selector:"[mat-tab-link], [matTabLink]",exportAs:"matTabLink",inputs:["disabled","disableRipple","tabIndex"],host:{class:"mat-tab-link","[attr.aria-current]":'active ? "page" : null',"[attr.aria-disabled]":"disabled","[attr.tabIndex]":"tabIndex","[class.mat-tab-disabled]":"disabled","[class.mat-tab-label-active]":"active"}}]}],Se.ctorParameters=function(){return[{type:me},{type:l.ElementRef},{type:l.NgZone},{type:m.Platform},{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[u.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:l.Attribute,args:["tabindex"]}]},{type:i.FocusMonitor},{type:String,decorators:[{type:l.Optional},{type:l.Inject,args:[o.ANIMATION_MODULE_TYPE]}]}]},Se);function Se(e,t,n,r,i,o,a,s){var l=xe.call(this,e,t,i,o,a,s)||this;return l._tabLinkRipple=new u.RippleRenderer(l,n,t,r),l._tabLinkRipple.setupTriggerEvents(t.nativeElement),l}var Ee=(Oe.decorators=[{type:l.NgModule,args:[{imports:[r.CommonModule,u.MatCommonModule,n.PortalModule,u.MatRippleModule,t.ObserversModule,i.A11yModule],exports:[u.MatCommonModule,Z,S,T,me,Ce,w],declarations:[Z,S,T,_,ee,me,Ce,L,M,ue,w,re,G,de,N,ae,be]}]}],Oe);function Oe(){}e.ɵangular_material_src_material_tabs_tabs_a=g,e.ɵangular_material_src_material_tabs_tabs_b=re,e.MatTabsModule=Ee,e.MatInkBar=_,e._MAT_INK_BAR_POSITIONER=y,e.MatTabBody=L,e._MatTabBodyBase=N,e.MatTabBodyPortal=M,e.MatTabHeader=ue,e._MatTabHeaderBase=ae,e.MatTabLabelWrapper=ee,e.MatTab=T,e.MatTabLabel=S,e.MatTabNav=me,e.MatTabLink=Ce,e._MatTabNavBase=de,e._MatTabLinkBase=be,e.MatTabContent=w,e.MatTabChangeEvent=q,e.MAT_TABS_CONFIG=H,e._MatTabGroupBase=G,e.MatTabGroup=Z,e.matTabsAnimations=A,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/platform"),require("@angular/common")):System.registerDynamic("npm:@angular/material/bundles/material-toolbar.umd.js",["@angular/core","@angular/material/core","tslib","@angular/cdk/platform","@angular/common"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/platform"),e("@angular/common"))})}(0,function(e,t,n,r,i,o){"use strict";function a(e){this._elementRef=e}var s=n.mixinColor(a),l=(u.decorators=[{type:t.Directive,args:[{selector:"mat-toolbar-row",exportAs:"matToolbarRow",host:{class:"mat-toolbar-row"}}]}],u);function u(){}var c,p=(c=s,r.__extends(d,c),d.prototype.ngAfterViewInit=function(){var e=this;t.isDevMode()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return e._checkToolbarMixedModes()}))},d.prototype._checkToolbarMixedModes=function(){var t=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(function(e){return!(e.classList&&e.classList.contains("mat-toolbar-row"))}).filter(function(e){return e.nodeType!==(t._document?t._document.COMMENT_NODE:8)}).some(function(e){return!(!e.textContent||!e.textContent.trim())})&&h()},d.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"mat-toolbar",exportAs:"matToolbar",template:'<ng-content></ng-content>\n<ng-content select="mat-toolbar-row"></ng-content>\n',inputs:["color"],host:{class:"mat-toolbar","[class.mat-toolbar-multiple-rows]":"_toolbarRows.length > 0","[class.mat-toolbar-single-row]":"_toolbarRows.length === 0"},changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,styles:["@media(-ms-high-contrast: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}/*# sourceMappingURL=toolbar.css.map */\n"]}]}],d.ctorParameters=function(){return[{type:t.ElementRef},{type:i.Platform},{type:void 0,decorators:[{type:t.Inject,args:[o.DOCUMENT]}]}]},d.propDecorators={_toolbarRows:[{type:t.ContentChildren,args:[l]}]},d);function d(e,t,n){var r=c.call(this,e)||this;return r._platform=t,r._document=n,r}function h(){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 f=(m.decorators=[{type:t.NgModule,args:[{imports:[n.MatCommonModule],exports:[p,l,n.MatCommonModule],declarations:[p,l]}]}],m);function m(){}e.MatToolbarModule=f,e.MatToolbarRow=l,e.MatToolbar=p,e.throwToolbarMixedModesError=h,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("@angular/cdk/scrolling"),require("@angular/common"),require("@angular/core"),require("@angular/cdk/coercion"),require("@angular/cdk/bidi"),require("@angular/cdk/portal"),require("rxjs"),require("rxjs/operators"),require("@angular/cdk/platform"),require("@angular/cdk/keycodes")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-overlay.umd.js",["tslib","@angular/cdk/scrolling","@angular/common","@angular/core","@angular/cdk/coercion","@angular/cdk/bidi","@angular/cdk/portal","rxjs","rxjs/operators","@angular/cdk/platform","@angular/cdk/keycodes"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("@angular/cdk/scrolling"),e("@angular/common"),e("@angular/core"),e("@angular/cdk/coercion"),e("@angular/cdk/bidi"),e("@angular/cdk/portal"),e("rxjs"),e("rxjs/operators"),e("@angular/cdk/platform"),e("@angular/cdk/keycodes"))})}(0,function(e,w,t,n,o,s,r,a,u,i,l,c){"use strict";var p=(d.prototype.attach=function(){},d.prototype.enable=function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=s.coerceCssPixelValue(-this._previousScrollPosition.left),e.style.top=s.coerceCssPixelValue(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},d.prototype.disable=function(){if(this._isEnabled){var e=this._document.documentElement,t=this._document.body,n=e.style,r=t.style,i=n.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),n.scrollBehavior=r.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),n.scrollBehavior=i,r.scrollBehavior=o}},d.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width},d);function d(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}function h(){return Error("Scroll strategy has already been attached.")}var f=(m.prototype.attach=function(e){if(this._overlayRef)throw h();this._overlayRef=e},m.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&1<this._config.threshold?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}},m.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},m.prototype.detach=function(){this.disable(),this._overlayRef=null},m);function m(e,t,n,r){var i=this;this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run(function(){return i._overlayRef.detach()})}}var v=(y.prototype.enable=function(){},y.prototype.disable=function(){},y.prototype.attach=function(){},y);function y(){}function g(o,e){return e.some(function(e){var t=o.bottom<e.top,n=o.top>e.bottom,r=o.right<e.left,i=o.left>e.right;return t||n||r||i})}function _(o,e){return e.some(function(e){var t=o.top<e.top,n=o.bottom>e.bottom,r=o.left<e.left,i=o.right>e.right;return t||n||r||i})}var b=(x.prototype.attach=function(e){if(this._overlayRef)throw h();this._overlayRef=e},x.prototype.enable=function(){var i=this;if(!this._scrollSubscription){var e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(function(){if(i._overlayRef.updatePosition(),i._config&&i._config.autoClose){var e=i._overlayRef.overlayElement.getBoundingClientRect(),t=i._viewportRuler.getViewportSize(),n=t.width,r=t.height;g(e,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(i.disable(),i._ngZone.run(function(){return i._overlayRef.detach()}))}})}},x.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},x.prototype.detach=function(){this.disable(),this._overlayRef=null},x);function x(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=r,this._scrollSubscription=null}var C=(S.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],S.ctorParameters=function(){return[{type:t.ScrollDispatcher},{type:t.ViewportRuler},{type:o.NgZone},{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]}]},S.ngInjectableDef=o.ɵɵdefineInjectable({factory:function(){return new S(o.ɵɵinject(t.ScrollDispatcher),o.ɵɵinject(t.ViewportRuler),o.ɵɵinject(o.NgZone),o.ɵɵinject(n.DOCUMENT))},token:S,providedIn:"root"}),S);function S(e,t,n,r){var i=this;this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=function(){return new v},this.close=function(e){return new f(i._scrollDispatcher,i._ngZone,i._viewportRuler,e)},this.block=function(){return new p(i._viewportRuler,i._document)},this.reposition=function(e){return new b(i._scrollDispatcher,i._viewportRuler,i._ngZone,e)},this._document=r}function E(){}var O=function(e){var t,n;if(this.scrollStrategy=new v,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){var r=Object.keys(e);try{for(var i=w.__values(r),o=i.next();!o.done;o=i.next()){var a=o.value;void 0!==e[a]&&(this[a]=e[a])}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}},k=function(e,t,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY},D=(T.ctorParameters=function(){return[{type:k},{type:E,decorators:[{type:o.Optional}]}]},T);function T(e,t){this.connectionPair=e,this.scrollableViewProperties=t}function I(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "top", "bottom" or "center".')}function P(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "start", "end" or "center".')}var A=(M.prototype.ngOnDestroy=function(){this._detach()},M.prototype.add=function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)},M.prototype.remove=function(e){var t=this._attachedOverlays.indexOf(e);-1<t&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()},M.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},M.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],M.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]}]},M.ngInjectableDef=o.ɵɵdefineInjectable({factory:function(){return new M(o.ɵɵinject(n.DOCUMENT))},token:M,providedIn:"root"}),M);function M(e){var r=this;this._attachedOverlays=[],this._keydownListener=function(e){for(var t=r._attachedOverlays,n=t.length-1;-1<n;n--)if(0<t[n]._keydownEventSubscriptions){t[n]._keydownEvents.next(e);break}},this._document=e}function R(e,t){return e||new A(t)}var N={provide:A,deps:[[new o.Optional,new o.SkipSelf,A],n.DOCUMENT],useFactory:R},j=(F.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},F.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},F.prototype._createContainer=function(){for(var e="cdk-overlay-container",t=this._document.getElementsByClassName(e),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);var r=this._document.createElement("div");r.classList.add(e),this._document.body.appendChild(r),this._containerElement=r},F.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],F.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]}]},F.ngInjectableDef=o.ɵɵdefineInjectable({factory:function(){return new F(o.ɵɵinject(n.DOCUMENT))},token:F,providedIn:"root"}),F);function F(e){this._document=e}function L(e,t){return e||new j(t)}var V={provide:j,deps:[[new o.Optional,new o.SkipSelf,j],n.DOCUMENT],useFactory:L},B=(Object.defineProperty(U.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(U.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(U.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),U.prototype.attach=function(e){var t=this,n=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(i.take(1)).subscribe(function(){t.hasAttached()&&t.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(function(){return t.dispose()})),n},U.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}},U.prototype.dispose=function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()},U.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},U.prototype.backdropClick=function(){return this._backdropClick.asObservable()},U.prototype.attachments=function(){return this._attachments.asObservable()},U.prototype.detachments=function(){return this._detachments.asObservable()},U.prototype.keydownEvents=function(){return this._keydownEventsObservable},U.prototype.getConfig=function(){return this._config},U.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},U.prototype.updatePositionStrategy=function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))},U.prototype.updateSize=function(e){this._config=w.__assign({},this._config,e),this._updateElementSize()},U.prototype.setDirection=function(e){this._config=w.__assign({},this._config,{direction:e}),this._updateElementDirection()},U.prototype.addPanelClass=function(e){this._pane&&this._toggleClasses(this._pane,e,!0)},U.prototype.removePanelClass=function(e){this._pane&&this._toggleClasses(this._pane,e,!1)},U.prototype.getDirection=function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"},U.prototype.updateScrollStrategy=function(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))},U.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},U.prototype._updateElementSize=function(){if(this._pane){var e=this._pane.style;e.width=s.coerceCssPixelValue(this._config.width),e.height=s.coerceCssPixelValue(this._config.height),e.minWidth=s.coerceCssPixelValue(this._config.minWidth),e.minHeight=s.coerceCssPixelValue(this._config.minHeight),e.maxWidth=s.coerceCssPixelValue(this._config.maxWidth),e.maxHeight=s.coerceCssPixelValue(this._config.maxHeight)}},U.prototype._togglePointerEvents=function(e){this._pane.style.pointerEvents=e?"auto":"none"},U.prototype._attachBackdrop=function(){var e=this,t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e._backdropElement&&e._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)},U.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},U.prototype.detachBackdrop=function(){var e=this,t=this._backdropElement;if(t){var n,r=function(){t&&(t.removeEventListener("click",e._backdropClickHandler),t.removeEventListener("transitionend",r),t.parentNode&&t.parentNode.removeChild(t)),e._backdropElement==t&&(e._backdropElement=null),e._config.backdropClass&&e._toggleClasses(t,e._config.backdropClass,!1),clearTimeout(n)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){t.addEventListener("transitionend",r)}),t.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(r,500)})}},U.prototype._toggleClasses=function(e,t,n){var r=e.classList;s.coerceArray(t).forEach(function(e){e&&(n?r.add(e):r.remove(e))})},U.prototype._detachContentWhenStable=function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.asObservable().pipe(i.takeUntil(u.merge(t._attachments,t._detachments))).subscribe(function(){t._pane&&t._host&&0!==t._pane.children.length||(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())})})},U.prototype._disposeScrollStrategy=function(){var e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())},U);function U(e,t,n,r,i,o,a,s){var l=this;this._portalOutlet=e,this._host=t,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=o,this._document=a,this._location=s,this._backdropElement=null,this._backdropClick=new u.Subject,this._attachments=new u.Subject,this._detachments=new u.Subject,this._locationChanges=u.Subscription.EMPTY,this._backdropClickHandler=function(e){return l._backdropClick.next(e)},this._keydownEventsObservable=new u.Observable(function(e){var t=l._keydownEvents.subscribe(e);return l._keydownEventSubscriptions++,function(){t.unsubscribe(),l._keydownEventSubscriptions--}}),this._keydownEvents=new u.Subject,this._keydownEventSubscriptions=0,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}var z="cdk-overlay-connected-position-bounding-box",q=(Object.defineProperty(H.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),H.prototype.attach=function(e){var t=this;if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add(z),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){t._isInitialRender=!0,t.apply()})},H.prototype.apply=function(){var t,e,n,r;if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var i,o=this._originRect,a=this._overlayRect,s=this._viewportRect,l=[];try{for(var u=w.__values(this._preferredPositions),c=u.next();!c.done;c=u.next()){var p=c.value,d=this._getOriginPoint(o,p),h=this._getOverlayPoint(d,a,p),f=this._getOverlayFit(h,a,s,p);if(f.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(p,d);this._canFitWithFlexibleDimensions(f,h,s)?l.push({position:p,origin:d,overlayRect:a,boundingBoxRect:this._calculateBoundingBoxRect(d,p)}):(!i||i.overlayFit.visibleArea<f.visibleArea)&&(i={overlayFit:f,overlayPoint:h,originPoint:d,position:p,overlayRect:a})}}catch(e){t={error:e}}finally{try{c&&!c.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}if(l.length){var m=null,v=-1;try{for(var y=w.__values(l),g=y.next();!g.done;g=y.next()){var _=g.value,b=_.boundingBoxRect.width*_.boundingBoxRect.height*(_.position.weight||1);v<b&&(v=b,m=_)}}catch(e){n={error:e}}finally{try{g&&!g.done&&(r=y.return)&&r.call(y)}finally{if(n)throw n.error}}return this._isPushed=!1,void this._applyPosition(m.position,m.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}},H.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},H.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&W(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(z),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},H.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}},H.prototype.withScrollableContainers=function(e){return this._scrollables=e,this},H.prototype.withPositions=function(e){return-1===(this._preferredPositions=e).indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},H.prototype.withViewportMargin=function(e){return this._viewportMargin=e,this},H.prototype.withFlexibleDimensions=function(e){return void 0===e&&(e=!0),this._hasFlexibleDimensions=e,this},H.prototype.withGrowAfterOpen=function(e){return void 0===e&&(e=!0),this._growAfterOpen=e,this},H.prototype.withPush=function(e){return void 0===e&&(e=!0),this._canPush=e,this},H.prototype.withLockedPosition=function(e){return void 0===e&&(e=!0),this._positionLocked=e,this},H.prototype.setOrigin=function(e){return this._origin=e,this},H.prototype.withDefaultOffsetX=function(e){return this._offsetX=e,this},H.prototype.withDefaultOffsetY=function(e){return this._offsetY=e,this},H.prototype.withTransformOriginOn=function(e){return this._transformOriginSelector=e,this},H.prototype._getOriginPoint=function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var r=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?r:i}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}},H.prototype._getOverlayPoint=function(e,t,n){var r,i;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,i="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+r,y:e.y+i}},H.prototype._getOverlayFit=function(e,t,n,r){var i=e.x,o=e.y,a=this._getOffset(r,"x"),s=this._getOffset(r,"y");a&&(i+=a),s&&(o+=s);var l=0-i,u=i+t.width-n.width,c=0-o,p=o+t.height-n.height,d=this._subtractOverflows(t.width,l,u),h=this._subtractOverflows(t.height,c,p),f=d*h;return{visibleArea:f,isCompletelyWithinViewport:t.width*t.height==f,fitsInViewportVertically:h===t.height,fitsInViewportHorizontally:d==t.width}},H.prototype._canFitWithFlexibleDimensions=function(e,t,n){if(this._hasFlexibleDimensions){var r=n.bottom-t.y,i=n.right-t.x,o=this._overlayRef.getConfig().minHeight,a=this._overlayRef.getConfig().minWidth,s=e.fitsInViewportVertically||null!=o&&o<=r,l=e.fitsInViewportHorizontally||null!=a&&a<=i;return s&&l}return!1},H.prototype._pushOverlayOnScreen=function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var r=this._viewportRect,i=Math.max(e.x+t.width-r.right,0),o=Math.max(e.y+t.height-r.bottom,0),a=Math.max(r.top-n.top-e.y,0),s=Math.max(r.left-n.left-e.x,0),l=0,u=0;return l=t.width<=r.width?s||-i:e.x<this._viewportMargin?r.left-n.left-e.x:0,u=t.height<=r.height?a||-o:e.y<this._viewportMargin?r.top-n.top-e.y:0,this._previousPushAmount={x:l,y:u},{x:e.x+l,y:e.y+u}},H.prototype._applyPosition=function(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){var n=this._getScrollVisibility(),r=new D(e,n);this._positionChanges.next(r)}this._isInitialRender=!1},H.prototype._setTransformOrigin=function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var i=0;i<n.length;i++)n[i].style.transformOrigin=t+" "+r}},H.prototype._calculateBoundingBoxRect=function(e,t){var n,r,i,o=this._viewportRect,a=this._isRtl();if("top"===t.overlayY)r=e.y,n=o.height-r+this._viewportMargin;else if("bottom"===t.overlayY)i=o.height-e.y+2*this._viewportMargin,n=o.height-i+this._viewportMargin;else{var s=Math.min(o.bottom-e.y+o.top,e.y),l=this._lastBoundingBoxSize.height;n=2*s,r=e.y-s,l<n&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-l/2)}var u,c,p,d="start"===t.overlayX&&!a||"end"===t.overlayX&&a;if("end"===t.overlayX&&!a||"start"===t.overlayX&&a)p=o.width-e.x+this._viewportMargin,u=e.x-this._viewportMargin;else if(d)c=e.x,u=o.right-e.x;else{s=Math.min(o.right-e.x+o.left,e.x);var h=this._lastBoundingBoxSize.width;u=2*s,c=e.x-s,h<u&&!this._isInitialRender&&!this._growAfterOpen&&(c=e.x-h/2)}return{top:r,left:c,bottom:i,right:p,width:u,height:n}},H.prototype._setBoundingBoxStyles=function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=s.coerceCssPixelValue(n.height),r.top=s.coerceCssPixelValue(n.top),r.bottom=s.coerceCssPixelValue(n.bottom),r.width=s.coerceCssPixelValue(n.width),r.left=s.coerceCssPixelValue(n.left),r.right=s.coerceCssPixelValue(n.right),"center"===t.overlayX?r.alignItems="center":r.alignItems="end"===t.overlayX?"flex-end":"flex-start","center"===t.overlayY?r.justifyContent="center":r.justifyContent="bottom"===t.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=s.coerceCssPixelValue(i)),o&&(r.maxWidth=s.coerceCssPixelValue(o))}this._lastBoundingBoxSize=n,W(this._boundingBox.style,r)},H.prototype._resetBoundingBoxStyles=function(){W(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},H.prototype._resetOverlayElementStyles=function(){W(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},H.prototype._setOverlayElementStyles=function(e,t){var n={};if(this._hasExactPosition()){var r=this._viewportRuler.getViewportScrollPosition();W(n,this._getExactOverlayY(t,e,r)),W(n,this._getExactOverlayX(t,e,r))}else n.position="static";var i="",o=this._getOffset(t,"x"),a=this._getOffset(t,"y");o&&(i+="translateX("+o+"px) "),a&&(i+="translateY("+a+"px)"),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),W(this._pane.style,n)},H.prototype._getExactOverlayY=function(e,t,n){var r={top:null,bottom:null},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;if(i.y-=o,"bottom"===e.overlayY){var a=this._document.documentElement.clientHeight;r.bottom=a-(i.y+this._overlayRect.height)+"px"}else r.top=s.coerceCssPixelValue(i.y);return r},H.prototype._getExactOverlayX=function(e,t,n){var r={left:null,right:null},i=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")){var o=this._document.documentElement.clientWidth;r.right=o-(i.x+this._overlayRect.width)+"px"}else r.left=s.coerceCssPixelValue(i.x);return r},H.prototype._getScrollVisibility=function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:_(e,n),isOriginOutsideView:g(e,n),isOverlayClipped:_(t,n),isOverlayOutsideView:g(t,n)}},H.prototype._subtractOverflows=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(e,t){return e-Math.max(t,0)},e)},H.prototype._getNarrowedViewportRect=function(){var e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}},H.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},H.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},H.prototype._getOffset=function(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY},H.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(function(e){P("originX",e.originX),I("originY",e.originY),P("overlayX",e.overlayX),I("overlayY",e.overlayY)})},H.prototype._addPanelClasses=function(e){var t=this;this._pane&&s.coerceArray(e).forEach(function(e){""!==e&&-1===t._appliedPanelClasses.indexOf(e)&&(t._appliedPanelClasses.push(e),t._pane.classList.add(e))})},H.prototype._clearPanelClasses=function(){var t=this;this._pane&&(this._appliedPanelClasses.forEach(function(e){t._pane.classList.remove(e)}),this._appliedPanelClasses=[])},H.prototype._getOriginRect=function(){var e=this._origin;if(e instanceof o.ElementRef)return e.nativeElement.getBoundingClientRect();if(e instanceof HTMLElement)return e.getBoundingClientRect();var t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}},H);function H(e,t,n,r,i){this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.Subject,this._resizeSubscription=u.Subscription.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(e)}function W(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var G=(Object.defineProperty(Y.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(Y.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(Y.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),Y.prototype.attach=function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)},Y.prototype.dispose=function(){this._positionStrategy.dispose()},Y.prototype.detach=function(){this._positionStrategy.detach()},Y.prototype.apply=function(){this._positionStrategy.apply()},Y.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},Y.prototype.withScrollableContainers=function(e){this._positionStrategy.withScrollableContainers(e)},Y.prototype.withFallbackPosition=function(e,t,n,r){var i=new k(e,t,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this},Y.prototype.withDirection=function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this},Y.prototype.withOffsetX=function(e){return this._positionStrategy.withDefaultOffsetX(e),this},Y.prototype.withOffsetY=function(e){return this._positionStrategy.withDefaultOffsetY(e),this},Y.prototype.withLockedPosition=function(e){return this._positionStrategy.withLockedPosition(e),this},Y.prototype.withPositions=function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},Y.prototype.setOrigin=function(e){return this._positionStrategy.setOrigin(e),this},Y);function Y(e,t,n,r,i,o,a){this._preferredPositions=[],this._positionStrategy=new q(n,r,i,o,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t)}var K="cdk-global-overlay-wrapper",Z=(Q.prototype.attach=function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(K),this._isDisposed=!1},Q.prototype.top=function(e){return void 0===e&&(e=""),this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this},Q.prototype.left=function(e){return void 0===e&&(e=""),this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this},Q.prototype.bottom=function(e){return void 0===e&&(e=""),this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this},Q.prototype.right=function(e){return void 0===e&&(e=""),this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this},Q.prototype.width=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this},Q.prototype.height=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this},Q.prototype.centerHorizontally=function(e){return void 0===e&&(e=""),this.left(e),this._justifyContent="center",this},Q.prototype.centerVertically=function(e){return void 0===e&&(e=""),this.top(e),this._alignItems="center",this},Q.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();e.position=this._cssPosition,e.marginLeft="100%"===n.width?"0":this._leftOffset,e.marginTop="100%"===n.height?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,"100%"===n.width?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems="100%"===n.height?"flex-start":this._alignItems}},Q.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(K),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},Q);function Q(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}var X=($.prototype.global=function(){return new Z},$.prototype.connectedTo=function(e,t,n){return new G(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)},$.prototype.flexibleConnectedTo=function(e){return new q(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)},$.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],$.ctorParameters=function(){return[{type:t.ViewportRuler},{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]},{type:l.Platform},{type:j}]},$.ngInjectableDef=o.ɵɵdefineInjectable({factory:function(){return new $(o.ɵɵinject(t.ViewportRuler),o.ɵɵinject(n.DOCUMENT),o.ɵɵinject(l.Platform),o.ɵɵinject(j))},token:$,providedIn:"root"}),$);function $(e,t,n,r){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=r}var J=0,ee=(te.prototype.create=function(e){var t=this._createHostElement(),n=this._createPaneElement(t),r=this._createPortalOutlet(n),i=new O(e);return i.direction=i.direction||this._directionality.value,new B(r,t,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)},te.prototype.position=function(){return this._positionBuilder},te.prototype._createPaneElement=function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+J++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t},te.prototype._createHostElement=function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e},te.prototype._createPortalOutlet=function(e){return this._appRef||(this._appRef=this._injector.get(o.ApplicationRef)),new a.DomPortalOutlet(e,this._componentFactoryResolver,this._appRef,this._injector)},te.decorators=[{type:o.Injectable}],te.ctorParameters=function(){return[{type:C},{type:j},{type:o.ComponentFactoryResolver},{type:X},{type:A},{type:o.Injector},{type:o.NgZone},{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]},{type:r.Directionality},{type:n.Location,decorators:[{type:o.Optional}]}]},te);function te(e,t,n,r,i,o,a,s,l,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._injector=o,this._ngZone=a,this._document=s,this._directionality=l,this._location=u}var ne=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],re=new o.InjectionToken("cdk-connected-overlay-scroll-strategy");var ie=(oe.decorators=[{type:o.Directive,args:[{selector:"[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]",exportAs:"cdkOverlayOrigin"}]}],oe.ctorParameters=function(){return[{type:o.ElementRef}]},oe);function oe(e){this.elementRef=e}var ae=(Object.defineProperty(se.prototype,"offsetX",{get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(se.prototype,"offsetY",{get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(se.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(se.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(e){this._lockPosition=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(se.prototype,"flexibleDimensions",{get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(se.prototype,"growAfterOpen",{get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(se.prototype,"push",{get:function(){return this._push},set:function(e){this._push=s.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(se.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),Object.defineProperty(se.prototype,"dir",{get:function(){return this._dir?this._dir.value:"ltr"},enumerable:!0,configurable:!0}),se.prototype.ngOnDestroy=function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()},se.prototype.ngOnChanges=function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())},se.prototype._createOverlay=function(){var t=this;this.positions&&this.positions.length||(this.positions=ne),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(function(e){t.overlayKeydown.next(e),e.keyCode!==c.ESCAPE||c.hasModifierKey(e)||(e.preventDefault(),t._detachOverlay())})},se.prototype._buildConfig=function(){var e=this._position=this._createPositionStrategy(),t=new O({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return!this.width&&0!==this.width||(t.width=this.width),!this.height&&0!==this.height||(t.height=this.height),!this.minWidth&&0!==this.minWidth||(t.minWidth=this.minWidth),!this.minHeight&&0!==this.minHeight||(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t},se.prototype._updatePositionStrategy=function(e){var t=this,n=this.positions.map(function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}});return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)},se.prototype._createPositionStrategy=function(){var t=this,e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e.positionChanges.subscribe(function(e){return t.positionChange.emit(e)}),e},se.prototype._attachOverlay=function(){var t=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(e){t.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe()},se.prototype._detachOverlay=function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()},se.decorators=[{type:o.Directive,args:[{selector:"[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]",exportAs:"cdkConnectedOverlay"}]}],se.ctorParameters=function(){return[{type:ee},{type:o.TemplateRef},{type:o.ViewContainerRef},{type:void 0,decorators:[{type:o.Inject,args:[re]}]},{type:r.Directionality,decorators:[{type:o.Optional}]}]},se.propDecorators={origin:[{type:o.Input,args:["cdkConnectedOverlayOrigin"]}],positions:[{type:o.Input,args:["cdkConnectedOverlayPositions"]}],offsetX:[{type:o.Input,args:["cdkConnectedOverlayOffsetX"]}],offsetY:[{type:o.Input,args:["cdkConnectedOverlayOffsetY"]}],width:[{type:o.Input,args:["cdkConnectedOverlayWidth"]}],height:[{type:o.Input,args:["cdkConnectedOverlayHeight"]}],minWidth:[{type:o.Input,args:["cdkConnectedOverlayMinWidth"]}],minHeight:[{type:o.Input,args:["cdkConnectedOverlayMinHeight"]}],backdropClass:[{type:o.Input,args:["cdkConnectedOverlayBackdropClass"]}],panelClass:[{type:o.Input,args:["cdkConnectedOverlayPanelClass"]}],viewportMargin:[{type:o.Input,args:["cdkConnectedOverlayViewportMargin"]}],scrollStrategy:[{type:o.Input,args:["cdkConnectedOverlayScrollStrategy"]}],open:[{type:o.Input,args:["cdkConnectedOverlayOpen"]}],hasBackdrop:[{type:o.Input,args:["cdkConnectedOverlayHasBackdrop"]}],lockPosition:[{type:o.Input,args:["cdkConnectedOverlayLockPosition"]}],flexibleDimensions:[{type:o.Input,args:["cdkConnectedOverlayFlexibleDimensions"]}],growAfterOpen:[{type:o.Input,args:["cdkConnectedOverlayGrowAfterOpen"]}],push:[{type:o.Input,args:["cdkConnectedOverlayPush"]}],backdropClick:[{type:o.Output}],positionChange:[{type:o.Output}],attach:[{type:o.Output}],detach:[{type:o.Output}],overlayKeydown:[{type:o.Output}]},se);function se(e,t,n,r,i){this._overlay=e,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=u.Subscription.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new o.EventEmitter,this.positionChange=new o.EventEmitter,this.attach=new o.EventEmitter,this.detach=new o.EventEmitter,this.overlayKeydown=new o.EventEmitter,this._templatePortal=new a.TemplatePortal(t,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}function le(e){return function(){return e.scrollStrategies.reposition()}}var ue={provide:re,deps:[ee],useFactory:le},ce=(pe.decorators=[{type:o.NgModule,args:[{imports:[r.BidiModule,a.PortalModule,t.ScrollingModule],exports:[ae,ie,t.ScrollingModule],declarations:[ae,ie],providers:[ee,ue]}]}],pe);function pe(){}var de,he=[ee,X,N,t.VIEWPORT_RULER_PROVIDER,V,ue],fe=(de=j,w.__extends(me,de),me.prototype.ngOnDestroy=function(){de.prototype.ngOnDestroy.call(this),this._fullScreenEventName&&this._fullScreenListener&&this._document.removeEventListener(this._fullScreenEventName,this._fullScreenListener)},me.prototype._createContainer=function(){var e=this;de.prototype._createContainer.call(this),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener(function(){return e._adjustParentForFullscreenChange()})},me.prototype._adjustParentForFullscreenChange=function(){this._containerElement&&(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)},me.prototype._addFullscreenChangeListener=function(e){var t=this._getEventName();t&&(this._fullScreenListener&&this._document.removeEventListener(t,this._fullScreenListener),this._document.addEventListener(t,e),this._fullScreenListener=e)},me.prototype._getEventName=function(){if(!this._fullScreenEventName){var e=this._document;e.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":e.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":e.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":e.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")}return this._fullScreenEventName},me.prototype.getFullscreenElement=function(){var e=this._document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||null},me.decorators=[{type:o.Injectable,args:[{providedIn:"root"}]}],me.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]}]},me.ngInjectableDef=o.ɵɵdefineInjectable({factory:function(){return new me(o.ɵɵinject(n.DOCUMENT))},token:me,providedIn:"root"}),me);function me(e){return de.call(this,e)||this}e.ViewportRuler=t.ViewportRuler,e.VIEWPORT_RULER_PROVIDER=t.VIEWPORT_RULER_PROVIDER,e.CdkScrollable=t.CdkScrollable,e.ScrollDispatcher=t.ScrollDispatcher,e.ɵangular_material_src_cdk_overlay_overlay_g=N,e.ɵangular_material_src_cdk_overlay_overlay_f=R,e.ɵangular_material_src_cdk_overlay_overlay_b=V,e.ɵangular_material_src_cdk_overlay_overlay_a=L,e.ɵangular_material_src_cdk_overlay_overlay_c=re,e.ɵangular_material_src_cdk_overlay_overlay_e=ue,e.ɵangular_material_src_cdk_overlay_overlay_d=le,e.Overlay=ee,e.OverlayContainer=j,e.CdkOverlayOrigin=ie,e.CdkConnectedOverlay=ae,e.FullscreenOverlayContainer=fe,e.OverlayRef=B,e.OverlayKeyboardDispatcher=A,e.OverlayPositionBuilder=X,e.GlobalPositionStrategy=Z,e.ConnectedPositionStrategy=G,e.FlexibleConnectedPositionStrategy=q,e.OverlayConfig=O,e.ConnectionPositionPair=k,e.ScrollingVisibility=E,e.ConnectedOverlayPositionChange=D,e.validateVerticalPosition=I,e.validateHorizontalPosition=P,e.ScrollStrategyOptions=C,e.RepositionScrollStrategy=b,e.CloseScrollStrategy=f,e.NoopScrollStrategy=v,e.BlockScrollStrategy=p,e.OverlayModule=ce,e.OVERLAY_PROVIDERS=he,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/cdk/platform"),require("rxjs"),require("rxjs/operators"),require("@angular/cdk/coercion")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-layout.umd.js",["@angular/core","@angular/cdk/platform","rxjs","rxjs/operators","@angular/cdk/coercion"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/cdk/platform"),e("rxjs"),e("rxjs/operators"),e("@angular/cdk/coercion"))})}(0,function(e,t,n,i,o,a){"use strict";var r=(s.decorators=[{type:t.NgModule,args:[{}]}],s);function s(){}var l,u=new Set,c=(p.prototype.matchMedia=function(e){return this._platform.WEBKIT&&function(e){if(!u.has(e))try{l||((l=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(l)),l.sheet&&(l.sheet.insertRule("@media "+e+" {.fx-query-test{ }}",0),u.add(e))}catch(e){console.error(e)}}(e),this._matchMedia(e)},p.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],p.ctorParameters=function(){return[{type:n.Platform}]},p.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new p(t.ɵɵinject(n.Platform))},token:p,providedIn:"root"}),p);function p(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):d}function d(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var h=(f.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},f.prototype.isMatched=function(e){var t=this;return m(a.coerceArray(e)).some(function(e){return t._registerQuery(e).mql.matches})},f.prototype.observe=function(e){var t=this,n=m(a.coerceArray(e)).map(function(e){return t._registerQuery(e).observable}),r=i.combineLatest(n);return(r=i.concat(r.pipe(o.take(1)),r.pipe(o.skip(1),o.debounceTime(0)))).pipe(o.map(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches}),t}))},f.prototype._registerQuery=function(t){var n=this;if(this._queries.has(t))return this._queries.get(t);var r=this._mediaMatcher.matchMedia(t),e={observable:new i.Observable(function(t){function e(e){return n._zone.run(function(){return t.next(e)})}return r.addListener(e),function(){r.removeListener(e)}}).pipe(o.startWith(r),o.map(function(e){return{query:t,matches:e.matches}}),o.takeUntil(this._destroySubject)),mql:r};return this._queries.set(t,e),e},f.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],f.ctorParameters=function(){return[{type:c},{type:t.NgZone}]},f.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new f(t.ɵɵinject(c),t.ɵɵinject(t.NgZone))},token:f,providedIn:"root"}),f);function f(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new i.Subject}function m(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}e.LayoutModule=r,e.BreakpointObserver=h,e.Breakpoints={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},e.MediaMatcher=c,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("@angular/core")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-portal.umd.js",["tslib","@angular/core"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("@angular/core"))})}(0,function(e,t,r){"use strict";function n(){throw Error("Host already has a portal attached")}var i=(o.prototype.attach=function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&n(),(this._attachedHost=e).attach(this)},o.prototype.detach=function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())},Object.defineProperty(o.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),o.prototype.setAttachedHost=function(e){this._attachedHost=e},o);function o(){}var a,s=(a=i,t.__extends(l,a),l);function l(e,t,n,r){var i=a.call(this)||this;return i.component=e,i.viewContainerRef=t,i.injector=n,i.componentFactoryResolver=r,i}var u,c=(u=i,t.__extends(p,u),Object.defineProperty(p.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),p.prototype.attach=function(e,t){return void 0===t&&(t=this.context),this.context=t,u.prototype.attach.call(this,e)},p.prototype.detach=function(){return this.context=void 0,u.prototype.detach.call(this)},p);function p(e,t,n){var r=u.call(this)||this;return r.templateRef=e,r.viewContainerRef=t,r.context=n,r}var d=(h.prototype.hasAttached=function(){return!!this._attachedPortal},h.prototype.attach=function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&n(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof s?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof c?(this._attachedPortal=e,this.attachTemplatePortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},h.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},h.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},h.prototype.setDisposeFn=function(e){this._disposeFn=e},h.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},h);function h(){this._isDisposed=!1}var f,m=(f=d,t.__extends(v,f),v);function v(){return null!==f&&f.apply(this,arguments)||this}var y,g=(y=d,t.__extends(_,y),_.prototype.attachComponentPortal=function(e){var t,n=this,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=r.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),t},_.prototype.attachTemplatePortal=function(e){var t=this,n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context);return r.detectChanges(),r.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),this.setDisposeFn(function(){var e=n.indexOf(r);-1!==e&&n.remove(e)}),r},_.prototype.dispose=function(){y.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},_.prototype._getComponentRootNode=function(e){return e.hostView.rootNodes[0]},_);function _(e,t,n,r){var i=y.call(this)||this;return i.outletElement=e,i._componentFactoryResolver=t,i._appRef=n,i._defaultInjector=r,i}var b,w=(b=g,t.__extends(x,b),x);function x(){return null!==b&&b.apply(this,arguments)||this}var C,S=(C=c,t.__extends(E,C),E.decorators=[{type:r.Directive,args:[{selector:"[cdkPortal]",exportAs:"cdkPortal"}]}],E.ctorParameters=function(){return[{type:r.TemplateRef},{type:r.ViewContainerRef}]},E);function E(e,t){return C.call(this,e,t)||this}var O,k=(O=S,t.__extends(D,O),D.decorators=[{type:r.Directive,args:[{selector:"[cdk-portal], [portal]",exportAs:"cdkPortal",providers:[{provide:S,useExisting:D}]}]}],D);function D(){return null!==O&&O.apply(this,arguments)||this}var T,I=(T=d,t.__extends(P,T),Object.defineProperty(P.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&T.prototype.detach.call(this),e&&T.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),P.prototype.ngOnInit=function(){this._isInitialized=!0},P.prototype.ngOnDestroy=function(){T.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},P.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(n,t.length,e.injector||t.injector);return T.prototype.setDisposeFn.call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r},P.prototype.attachTemplatePortal=function(e){var t=this;e.setAttachedHost(this);var n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return T.prototype.setDisposeFn.call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n},P.decorators=[{type:r.Directive,args:[{selector:"[cdkPortalOutlet]",exportAs:"cdkPortalOutlet",inputs:["portal: cdkPortalOutlet"]}]}],P.ctorParameters=function(){return[{type:r.ComponentFactoryResolver},{type:r.ViewContainerRef}]},P.propDecorators={attached:[{type:r.Output}]},P);function P(e,t){var n=T.call(this)||this;return n._componentFactoryResolver=e,n._viewContainerRef=t,n._isInitialized=!1,n.attached=new r.EventEmitter,n}var A,M=(A=I,t.__extends(R,A),R.decorators=[{type:r.Directive,args:[{selector:"[cdkPortalHost], [portalHost]",exportAs:"cdkPortalHost",inputs:["portal: cdkPortalHost"],providers:[{provide:I,useExisting:R}]}]}],R);function R(){return null!==A&&A.apply(this,arguments)||this}var N=(j.decorators=[{type:r.NgModule,args:[{exports:[S,I,k,M],declarations:[S,I,k,M]}]}],j);function j(){}var F=(L.prototype.get=function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)},L);function L(e,t){this._parentInjector=e,this._customTokens=t}e.Portal=i,e.ComponentPortal=s,e.TemplatePortal=c,e.BasePortalOutlet=d,e.BasePortalHost=m,e.DomPortalOutlet=g,e.DomPortalHost=w,e.CdkPortal=S,e.TemplatePortalDirective=k,e.CdkPortalOutlet=I,e.PortalHostDirective=M,e.PortalModule=N,e.PortalInjector=F,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/coercion"),require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/cdk/platform"),require("@angular/cdk/bidi"),require("tslib"),require("@angular/cdk/collections")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-scrolling.umd.js",["@angular/cdk/coercion","@angular/core","rxjs","rxjs/operators","@angular/cdk/platform","@angular/cdk/bidi","tslib","@angular/cdk/collections"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/coercion"),e("@angular/core"),e("rxjs"),e("rxjs/operators"),e("@angular/cdk/platform"),e("@angular/cdk/bidi"),e("tslib"),e("@angular/cdk/collections"))})}(0,function(e,t,n,s,a,i,r,l,o){"use strict";var u=new n.InjectionToken("VIRTUAL_SCROLL_STRATEGY"),c=(p.prototype.attach=function(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()},p.prototype.detach=function(){this._scrolledIndexChange.complete(),this._viewport=null},p.prototype.updateItemAndBufferSize=function(e,t,n){if(n<t)throw Error("CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx");this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()},p.prototype.onContentScrolled=function(){this._updateRenderedRange()},p.prototype.onDataLengthChanged=function(){this._updateTotalContentSize(),this._updateRenderedRange()},p.prototype.onContentRendered=function(){},p.prototype.onRenderedOffsetChanged=function(){},p.prototype.scrollToIndex=function(e,t){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,t)},p.prototype._updateTotalContentSize=function(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)},p.prototype._updateRenderedRange=function(){if(this._viewport){var e=this._viewport.measureScrollOffset(),t=e/this._itemSize,n=this._viewport.getRenderedRange(),r={start:n.start,end:n.end},i=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),a=e-r.start*this._itemSize;if(a<this._minBufferPx&&0!=r.start){var s=Math.ceil((this._maxBufferPx-a)/this._itemSize);r.start=Math.max(0,r.start-s),r.end=Math.min(o,Math.ceil(t+(i+this._minBufferPx)/this._itemSize))}else{var l=r.end*this._itemSize-(e+i);if(l<this._minBufferPx&&r.end!=o){var u=Math.ceil((this._maxBufferPx-l)/this._itemSize);0<u&&(r.end=Math.min(o,r.end+u),r.start=Math.max(0,Math.floor(t-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(r),this._viewport.setRenderedContentOffset(this._itemSize*r.start),this._scrolledIndexChange.next(Math.floor(t))}},p);function p(e,t,n){this._scrolledIndexChange=new s.Subject,this.scrolledIndexChange=this._scrolledIndexChange.pipe(a.distinctUntilChanged()),this._viewport=null,this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n}function d(e){return e._scrollStrategy}var h=(Object.defineProperty(f.prototype,"itemSize",{get:function(){return this._itemSize},set:function(e){this._itemSize=t.coerceNumberProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"minBufferPx",{get:function(){return this._minBufferPx},set:function(e){this._minBufferPx=t.coerceNumberProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"maxBufferPx",{get:function(){return this._maxBufferPx},set:function(e){this._maxBufferPx=t.coerceNumberProperty(e)},enumerable:!0,configurable:!0}),f.prototype.ngOnChanges=function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)},f.decorators=[{type:n.Directive,args:[{selector:"cdk-virtual-scroll-viewport[itemSize]",providers:[{provide:u,useFactory:d,deps:[n.forwardRef(function(){return f})]}]}]}],f.propDecorators={itemSize:[{type:n.Input}],minBufferPx:[{type:n.Input}],maxBufferPx:[{type:n.Input}]},f);function f(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new c(this.itemSize,this.minBufferPx,this.maxBufferPx)}var m=(v.prototype.register=function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))},v.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},v.prototype.scrolled=function(n){var r=this;return void 0===n&&(n=20),this._platform.isBrowser?new s.Observable(function(e){r._globalSubscription||r._addGlobalListener();var t=0<n?r._scrolled.pipe(a.auditTime(n)).subscribe(e):r._scrolled.subscribe(e);return r._scrolledCount++,function(){t.unsubscribe(),r._scrolledCount--,r._scrolledCount||r._removeGlobalListener()}}):s.of()},v.prototype.ngOnDestroy=function(){var n=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,t){return n.deregister(t)}),this._scrolled.complete()},v.prototype.ancestorScrolled=function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(a.filter(function(e){return!e||-1<n.indexOf(e)}))},v.prototype.getAncestorScrollContainers=function(n){var r=this,i=[];return this.scrollContainers.forEach(function(e,t){r._scrollableContainsElement(t,n)&&i.push(t)}),i},v.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},v.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return s.fromEvent(window.document,"scroll").subscribe(function(){return e._scrolled.next()})})},v.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},v.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],v.ctorParameters=function(){return[{type:n.NgZone},{type:i.Platform}]},v.ngInjectableDef=n.ɵɵdefineInjectable({factory:function(){return new v(n.ɵɵinject(n.NgZone),n.ɵɵinject(i.Platform))},token:v,providedIn:"root"}),v);function v(e,t){this._ngZone=e,this._platform=t,this._scrolled=new s.Subject,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}function y(e,t,n){return e||new m(t,n)}var g={provide:m,deps:[[new n.Optional,new n.SkipSelf,m],n.NgZone,i.Platform],useFactory:y},_=(b.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)},b.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()},b.prototype.elementScrolled=function(){return this._elementScrolled},b.prototype.getElementRef=function(){return this.elementRef},b.prototype.scrollTo=function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;e.left=null==e.left?n?e.end:e.start:e.left,e.right=null==e.right?n?e.start:e.end:e.right,null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&i.getRtlScrollAxisType()!=i.RtlScrollAxisType.NORMAL?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),i.getRtlScrollAxisType()==i.RtlScrollAxisType.INVERTED?e.left=e.right:i.getRtlScrollAxisType()==i.RtlScrollAxisType.NEGATED&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)},b.prototype._applyScrollToOptions=function(e){var t=this.elementRef.nativeElement;i.supportsScrollBehavior()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))},b.prototype.measureScrollOffset=function(e){var t="left",n=this.elementRef.nativeElement;if("top"==e)return n.scrollTop;if("bottom"==e)return n.scrollHeight-n.clientHeight-n.scrollTop;var r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?"right":t:"end"==e&&(e=r?t:"right"),r&&i.getRtlScrollAxisType()==i.RtlScrollAxisType.INVERTED?e==t?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:r&&i.getRtlScrollAxisType()==i.RtlScrollAxisType.NEGATED?e==t?n.scrollLeft+n.scrollWidth-n.clientWidth:-n.scrollLeft:e==t?n.scrollLeft:n.scrollWidth-n.clientWidth-n.scrollLeft},b.decorators=[{type:n.Directive,args:[{selector:"[cdk-scrollable], [cdkScrollable]"}]}],b.ctorParameters=function(){return[{type:n.ElementRef},{type:m},{type:n.NgZone},{type:r.Directionality,decorators:[{type:n.Optional}]}]},b);function b(e,t,n,r){var i=this;this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=r,this._destroyed=new s.Subject,this._elementScrolled=new s.Observable(function(e){return i.ngZone.runOutsideAngular(function(){return s.fromEvent(i.elementRef.nativeElement,"scroll").pipe(a.takeUntil(i._destroyed)).subscribe(e)})})}var w,x="undefined"!=typeof requestAnimationFrame?s.animationFrameScheduler:s.asapScheduler,C=(w=_,l.__extends(S,w),Object.defineProperty(S.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())},enumerable:!0,configurable:!0}),S.prototype.ngOnInit=function(){var e=this;w.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){e._measureViewportSize(),e._scrollStrategy.attach(e),e.elementScrolled().pipe(a.startWith(null),a.auditTime(0,x)).subscribe(function(){return e._scrollStrategy.onContentScrolled()}),e._markChangeDetectionNeeded()})})},S.prototype.ngOnDestroy=function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),w.prototype.ngOnDestroy.call(this)},S.prototype.attach=function(e){var n=this;if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular(function(){n._forOf=e,n._forOf.dataStream.pipe(a.takeUntil(n._detachedSubject)).subscribe(function(e){var t=e.length;t!==n._dataLength&&(n._dataLength=t,n._scrollStrategy.onDataLengthChanged()),n._doChangeDetection()})})},S.prototype.detach=function(){this._forOf=null,this._detachedSubject.next()},S.prototype.getDataLength=function(){return this._dataLength},S.prototype.getViewportSize=function(){return this._viewportSize},S.prototype.getRenderedRange=function(){return this._renderedRange},S.prototype.setTotalContentSize=function(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())},S.prototype.setRenderedRange=function(e){var t=this;!function(e,t){return e.start==t.start&&e.end==t.end}(this._renderedRange,e)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(function(){return t._scrollStrategy.onContentRendered()}))},S.prototype.getOffsetToRenderedContentStart=function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset},S.prototype.setRenderedContentOffset=function(e,t){var n=this;void 0===t&&(t="to-start");var r=this.dir&&"rtl"==this.dir.value,i="horizontal"==this.orientation,o=i?"X":"Y",a="translate"+o+"("+Number((i&&r?-1:1)*e)+"px)";this._renderedContentOffset=e,"to-end"===t&&(a+=" translate"+o+"(-100%)",this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=a&&(this._renderedContentTransform=a,this._markChangeDetectionNeeded(function(){n._renderedContentOffsetNeedsRewrite?(n._renderedContentOffset-=n.measureRenderedContentSize(),n._renderedContentOffsetNeedsRewrite=!1,n.setRenderedContentOffset(n._renderedContentOffset)):n._scrollStrategy.onRenderedOffsetChanged()}))},S.prototype.scrollToOffset=function(e,t){void 0===t&&(t="auto");var n={behavior:t};"horizontal"===this.orientation?n.start=e:n.top=e,this.scrollTo(n)},S.prototype.scrollToIndex=function(e,t){void 0===t&&(t="auto"),this._scrollStrategy.scrollToIndex(e,t)},S.prototype.measureScrollOffset=function(e){return w.prototype.measureScrollOffset.call(this,e||("horizontal"===this.orientation?"start":"top"))},S.prototype.measureRenderedContentSize=function(){var e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight},S.prototype.measureRangeSize=function(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0},S.prototype.checkViewportSize=function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()},S.prototype._measureViewportSize=function(){var e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight},S.prototype._markChangeDetectionNeeded=function(e){var t=this;e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){t._doChangeDetection()})}))},S.prototype._doChangeDetection=function(){var t,e,n=this;this._isChangeDetectionPending=!1,this.ngZone.run(function(){return n._changeDetectorRef.markForCheck()}),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform;var r=this._runAfterChangeDetection;this._runAfterChangeDetection=[];try{for(var i=l.__values(r),o=i.next();!o.done;o=i.next())(0,o.value)()}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},S.prototype._calculateSpacerSize=function(){this._totalContentHeight="horizontal"===this.orientation?"":this._totalContentSize+"px",this._totalContentWidth="horizontal"===this.orientation?this._totalContentSize+"px":""},S.decorators=[{type:n.Component,args:[{moduleId:module.id,selector:"cdk-virtual-scroll-viewport",template:'\x3c!--\n  Wrap the rendered content in an element that will be used to offset it based on the scroll\n  position.\n--\x3e\n<div #contentWrapper class="cdk-virtual-scroll-content-wrapper">\n  <ng-content></ng-content>\n</div>\n\x3c!--\n  Spacer used to force the scrolling container to the correct size for the *total* number of items\n  so that the scrollbar captures the size of the entire data set.\n--\x3e\n<div class="cdk-virtual-scroll-spacer"\n     [style.width]="_totalContentWidth" [style.height]="_totalContentHeight"></div>\n',host:{class:"cdk-virtual-scroll-viewport","[class.cdk-virtual-scroll-orientation-horizontal]":'orientation === "horizontal"',"[class.cdk-virtual-scroll-orientation-vertical]":'orientation !== "horizontal"'},encapsulation:n.ViewEncapsulation.None,changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[{provide:_,useExisting:S}],styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}/*# sourceMappingURL=virtual-scroll-viewport.css.map */\n"]}]}],S.ctorParameters=function(){return[{type:n.ElementRef},{type:n.ChangeDetectorRef},{type:n.NgZone},{type:void 0,decorators:[{type:n.Optional},{type:n.Inject,args:[u]}]},{type:r.Directionality,decorators:[{type:n.Optional}]},{type:m}]},S.propDecorators={orientation:[{type:n.Input}],scrolledIndexChange:[{type:n.Output}],_contentWrapper:[{type:n.ViewChild,args:["contentWrapper",{static:!0}]}]},S);function S(e,t,n,r,i,o){var a=w.call(this,e,o,n,i)||this;if(a.elementRef=e,a._changeDetectorRef=t,a._scrollStrategy=r,a._detachedSubject=new s.Subject,a._renderedRangeSubject=new s.Subject,a._orientation="vertical",a.scrolledIndexChange=new s.Observable(function(t){return a._scrollStrategy.scrolledIndexChange.subscribe(function(e){return Promise.resolve().then(function(){return a.ngZone.run(function(){return t.next(e)})})})}),a.renderedRangeStream=a._renderedRangeSubject.asObservable(),a._totalContentSize=0,a._totalContentWidth="",a._totalContentHeight="",a._renderedRange={start:0,end:0},a._dataLength=0,a._viewportSize=0,a._renderedContentOffset=0,a._renderedContentOffsetNeedsRewrite=!1,a._isChangeDetectionPending=!1,a._runAfterChangeDetection=[],!r)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');return a}function E(e,t){var n=t;if(!n.getBoundingClientRect)return 0;var r=n.getBoundingClientRect();return"horizontal"==e?r.width:r.height}var O=(Object.defineProperty(k.prototype,"cdkVirtualForOf",{get:function(){return this._cdkVirtualForOf},set:function(e){this._cdkVirtualForOf=e;var t=o.isDataSource(e)?e:new o.ArrayDataSource(e instanceof s.Observable?e:Array.prototype.slice.call(e||[]));this._dataSourceChanges.next(t)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"cdkVirtualForTrackBy",{get:function(){return this._cdkVirtualForTrackBy},set:function(n){var r=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=n?function(e,t){return n(e+(r._renderedRange?r._renderedRange.start:0),t)}:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"cdkVirtualForTemplate",{set:function(e){e&&(this._needsUpdate=!0,this._template=e)},enumerable:!0,configurable:!0}),k.prototype.measureRangeSize=function(e,t){if(e.start>=e.end)return 0;if(e.start<this._renderedRange.start||e.end>this._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");for(var n=e.start-this._renderedRange.start,r=0,i=e.end-e.start;i--;)for(var o=this._viewContainerRef.get(i+n),a=o?o.rootNodes.length:0;a--;)r+=E(t,o.rootNodes[a]);return r},k.prototype.ngDoCheck=function(){if(this._differ&&this._needsUpdate){var e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}},k.prototype.ngOnDestroy=function(){var t,e;this._viewport.detach(),this._dataSourceChanges.next(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();try{for(var n=l.__values(this._templateCache),r=n.next();!r.done;r=n.next())r.value.destroy()}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},k.prototype._onRenderedDataChange=function(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)},k.prototype._changeDataSource=function(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):s.of()},k.prototype._updateContext=function(){for(var e=this._data.length,t=this._viewContainerRef.length;t--;){var n=this._viewContainerRef.get(t);n.context.index=this._renderedRange.start+t,n.context.count=e,this._updateComputedContextProperties(n.context),n.detectChanges()}},k.prototype._applyChanges=function(e){var i=this;e.forEachOperation(function(e,t,n){if(null==e.previousIndex)(r=i._insertViewForNewItem(n)).context.$implicit=e.item;else if(null==n)i._cacheView(i._detachView(t));else{var r=i._viewContainerRef.get(t);i._viewContainerRef.move(r,n),r.context.$implicit=e.item}}),e.forEachIdentityChange(function(e){i._viewContainerRef.get(e.currentIndex).context.$implicit=e.item});for(var t=this._data.length,n=this._viewContainerRef.length;n--;){var r=this._viewContainerRef.get(n);r.context.index=this._renderedRange.start+n,r.context.count=t,this._updateComputedContextProperties(r.context)}},k.prototype._cacheView=function(e){if(this._templateCache.length<this.cdkVirtualForTemplateCacheSize)this._templateCache.push(e);else{var t=this._viewContainerRef.indexOf(e);-1===t?e.destroy():this._viewContainerRef.remove(t)}},k.prototype._insertViewForNewItem=function(e){return this._insertViewFromCache(e)||this._createEmbeddedViewAt(e)},k.prototype._updateComputedContextProperties=function(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even},k.prototype._createEmbeddedViewAt=function(e){return this._viewContainerRef.createEmbeddedView(this._template,{$implicit:null,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},e)},k.prototype._insertViewFromCache=function(e){var t=this._templateCache.pop();return t&&this._viewContainerRef.insert(t,e),t||null},k.prototype._detachView=function(e){return this._viewContainerRef.detach(e)},k.decorators=[{type:n.Directive,args:[{selector:"[cdkVirtualFor][cdkVirtualForOf]"}]}],k.ctorParameters=function(){return[{type:n.ViewContainerRef},{type:n.TemplateRef},{type:n.IterableDiffers},{type:C,decorators:[{type:n.SkipSelf}]},{type:n.NgZone}]},k.propDecorators={cdkVirtualForOf:[{type:n.Input}],cdkVirtualForTrackBy:[{type:n.Input}],cdkVirtualForTemplate:[{type:n.Input}],cdkVirtualForTemplateCacheSize:[{type:n.Input}]},k);function k(e,t,n,r,i){var o=this;this._viewContainerRef=e,this._template=t,this._differs=n,this._viewport=r,this.viewChange=new s.Subject,this._dataSourceChanges=new s.Subject,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.pipe(a.startWith(null),a.pairwise(),a.switchMap(function(e){var t=l.__read(e,2),n=t[0],r=t[1];return o._changeDataSource(n,r)}),a.shareReplay(1)),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new s.Subject,this.dataStream.subscribe(function(e){o._data=e,o._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(a.takeUntil(this._destroyed)).subscribe(function(e){o._renderedRange=e,i.run(function(){return o.viewChange.next(o._renderedRange)}),o._onRenderedDataChange()}),this._viewport.attach(this)}var D=(T.decorators=[{type:n.NgModule,args:[{imports:[r.BidiModule,i.PlatformModule],exports:[r.BidiModule,h,_,O,C],declarations:[h,_,O,C]}]}],T);function T(){}var I=(P.decorators=[{type:n.NgModule,args:[{imports:[D],exports:[D]}]}],P);function P(){}var A=(M.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},M.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},M.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}},M.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement,t=e.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||e.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||e.scrollLeft||0}},M.prototype.change=function(e){return void 0===e&&(e=20),0<e?this._change.pipe(a.auditTime(e)):this._change},M.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},M.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],M.ctorParameters=function(){return[{type:i.Platform},{type:n.NgZone}]},M.ngInjectableDef=n.ɵɵdefineInjectable({factory:function(){return new M(n.ɵɵinject(i.Platform),n.ɵɵinject(n.NgZone))},token:M,providedIn:"root"}),M);function M(e,t){var n=this;this._platform=e,t.runOutsideAngular(function(){n._change=e.isBrowser?s.merge(s.fromEvent(window,"resize"),s.fromEvent(window,"orientationchange")):s.of(),n._invalidateCache=n.change().subscribe(function(){return n._updateViewportSize()})})}function R(e,t,n){return e||new A(t,n)}var N={provide:A,deps:[[new n.Optional,new n.SkipSelf,A],i.Platform,n.NgZone],useFactory:R};e.FixedSizeVirtualScrollStrategy=c,e._fixedSizeVirtualScrollStrategyFactory=d,e.CdkFixedSizeVirtualScroll=h,e.DEFAULT_SCROLL_TIME=20,e.ScrollDispatcher=m,e.SCROLL_DISPATCHER_PROVIDER_FACTORY=y,e.SCROLL_DISPATCHER_PROVIDER=g,e.CdkScrollable=_,e.ScrollingModule=D,e.ScrollDispatchModule=I,e.DEFAULT_RESIZE_TIME=20,e.ViewportRuler=A,e.VIEWPORT_RULER_PROVIDER_FACTORY=R,e.VIEWPORT_RULER_PROVIDER=N,e.CdkVirtualForOf=O,e.VIRTUAL_SCROLL_STRATEGY=u,e.CdkVirtualScrollViewport=C,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/overlay"),require("@angular/cdk/a11y"),require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("tslib"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("@angular/cdk/layout"),require("@angular/cdk/platform"),require("@angular/cdk/portal"),require("@angular/cdk/scrolling"),require("rxjs"),require("rxjs/operators"),require("@angular/animations")):System.registerDynamic("npm:@angular/material/bundles/material-tooltip.umd.js",["@angular/cdk/overlay","@angular/cdk/a11y","@angular/common","@angular/core","@angular/material/core","tslib","@angular/cdk/bidi","@angular/cdk/coercion","@angular/cdk/keycodes","@angular/cdk/layout","@angular/cdk/platform","@angular/cdk/portal","@angular/cdk/scrolling","rxjs","rxjs/operators","@angular/animations"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/overlay"),e("@angular/cdk/a11y"),e("@angular/common"),e("@angular/core"),e("@angular/material/core"),e("tslib"),e("@angular/cdk/bidi"),e("@angular/cdk/coercion"),e("@angular/cdk/keycodes"),e("@angular/cdk/layout"),e("@angular/cdk/platform"),e("@angular/cdk/portal"),e("@angular/cdk/scrolling"),e("rxjs"),e("rxjs/operators"),e("@angular/animations"))})}(0,function(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v){"use strict";var y={tooltipState:v.trigger("state",[v.state("initial, void, hidden",v.style({opacity:0,transform:"scale(0)"})),v.state("visible",v.style({transform:"scale(1)"})),v.transition("* => visible",v.animate("200ms cubic-bezier(0, 0, 0.2, 1)",v.keyframes([v.style({opacity:0,transform:"scale(0)",offset:0}),v.style({opacity:.5,transform:"scale(0.99)",offset:.5}),v.style({opacity:1,transform:"scale(1)",offset:1})]))),v.transition("* => hidden",v.animate("100ms cubic-bezier(0, 0, 0.2, 1)",v.style({opacity:0})))])},g="mat-tooltip-panel",_=p.normalizePassiveListenerOptions({passive:!0});function b(e){return Error('Tooltip position "'+e+'" is invalid.')}var w=new i.InjectionToken("mat-tooltip-scroll-strategy");function x(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}var C={provide:w,deps:[t.Overlay],useFactory:x},S=new i.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:E});function E(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var O=(Object.defineProperty(k.prototype,"position",{get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=l.coerceBooleanProperty(e),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"message",{get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?(""+e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message)})}))},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),k.prototype.ngOnInit=function(){this._setupPointerEvents()},k.prototype.ngOnDestroy=function(){var n=this;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(function(e,t){n._elementRef.nativeElement.removeEventListener(t,e,_)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},k.prototype.show=function(e){var t=this;if(void 0===e&&(e=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new d.ComponentPortal(D,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(m.takeUntil(this._destroyed)).subscribe(function(){return t._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}},k.prototype.hide=function(e){void 0===e&&(e=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(e)},k.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},k.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},k.prototype._handleKeydown=function(e){this._isTooltipVisible()&&e.keyCode===u.ESCAPE&&!u.hasModifierKey(e)&&(e.preventDefault(),e.stopPropagation(),this.hide(0))},k.prototype._createOverlay=function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(m.takeUntil(this._destroyed)).subscribe(function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:g,scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(m.takeUntil(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef},k.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},k.prototype._updatePosition=function(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([a.__assign({},t.main,n.main),a.__assign({},t.fallback,n.fallback)])},k.prototype._getOrigin=function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)e={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw b(n);e={originX:"end",originY:"center"}}var r=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:r.x,originY:r.y}}},k.prototype._getOverlayPosition=function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)e={overlayX:"center",overlayY:"bottom"};else if("below"==n)e={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw b(n);e={overlayX:"start",overlayY:"center"}}var r=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:r.x,overlayY:r.y}}},k.prototype._updateTooltipMessage=function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(m.take(1),m.takeUntil(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))},k.prototype._setTooltipClass=function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())},k.prototype._invertPosition=function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}},k.prototype._setupPointerEvents=function(){var n=this;if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var e=function(){clearTimeout(n._touchstartTimeout),n.hide(n._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",e).set("touchcancel",e).set("touchstart",function(){clearTimeout(n._touchstartTimeout),n._touchstartTimeout=setTimeout(function(){return n.show()},500)})}}else this._passiveListeners.set("mouseenter",function(){return n.show()}).set("mouseleave",function(){return n.hide()});this._passiveListeners.forEach(function(e,t){n._elementRef.nativeElement.addEventListener(t,e,_)})},k.prototype._disableNativeGesturesIfNecessary=function(){var e=this._elementRef.nativeElement,t=e.style,n=this.touchGestures;"off"!==n&&(("on"===n||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==n&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")},k.decorators=[{type:i.Directive,args:[{selector:"[matTooltip]",exportAs:"matTooltip",host:{"(keydown)":"_handleKeydown($event)"}}]}],k.ctorParameters=function(){return[{type:t.Overlay},{type:i.ElementRef},{type:h.ScrollDispatcher},{type:i.ViewContainerRef},{type:i.NgZone},{type:p.Platform},{type:n.AriaDescriber},{type:n.FocusMonitor},{type:void 0,decorators:[{type:i.Inject,args:[w]}]},{type:s.Directionality,decorators:[{type:i.Optional}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[S]}]},{type:void 0,decorators:[{type:i.Inject,args:[i.ElementRef]}]}]},k.propDecorators={position:[{type:i.Input,args:["matTooltipPosition"]}],disabled:[{type:i.Input,args:["matTooltipDisabled"]}],showDelay:[{type:i.Input,args:["matTooltipShowDelay"]}],hideDelay:[{type:i.Input,args:["matTooltipHideDelay"]}],touchGestures:[{type:i.Input,args:["matTooltipTouchGestures"]}],message:[{type:i.Input,args:["matTooltip"]}],tooltipClass:[{type:i.Input,args:["matTooltipClass"]}]},k);function k(e,t,n,r,i,o,a,s,l,u,c,p){var d=this;this._overlay=e,this._elementRef=t,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=i,this._platform=o,this._ariaDescriber=a,this._focusMonitor=s,this._dir=u,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new f.Subject,this._scrollStrategy=l,c&&(c.position&&(this.position=c.position),c.touchGestures&&(this.touchGestures=c.touchGestures)),s.monitor(t).pipe(m.takeUntil(this._destroyed)).subscribe(function(e){e?"keyboard"===e&&i.run(function(){return d.show()}):i.run(function(){return d.hide(0)})})}var D=(T.prototype.show=function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()},e)},T.prototype.hide=function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()},e)},T.prototype.afterHidden=function(){return this._onHide.asObservable()},T.prototype.isVisible=function(){return"visible"===this._visibility},T.prototype.ngOnDestroy=function(){this._onHide.complete()},T.prototype._animationStart=function(){this._closeOnInteraction=!1},T.prototype._animationDone=function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)},T.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},T.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},T.decorators=[{type:i.Component,args:[{moduleId:module.id,selector:"mat-tooltip-component",template:'<div class="mat-tooltip"\n     [ngClass]="tooltipClass"\n     [class.mat-tooltip-handset]="(_isHandset | async)?.matches"\n     [@state]="_visibility"\n     (@state.start)="_animationStart()"\n     (@state.done)="_animationDone($event)">{{message}}</div>\n',encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,animations:[y.tooltipState],host:{"[style.zoom]":'_visibility === "visible" ? 1 : null',"(body:click)":"this._handleBodyInteraction()","aria-hidden":"true"},styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media(-ms-high-contrast: active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}/*# sourceMappingURL=tooltip.css.map */\n"]}]}],T.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:c.BreakpointObserver}]},T);function T(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new f.Subject,this._isHandset=this._breakpointObserver.observe(c.Breakpoints.Handset)}var I=(P.decorators=[{type:i.NgModule,args:[{imports:[n.A11yModule,r.CommonModule,t.OverlayModule,o.MatCommonModule],exports:[O,D,o.MatCommonModule],declarations:[O,D],entryComponents:[D],providers:[C]}]}],P);function P(){}e.MatTooltipModule=I,e.SCROLL_THROTTLE_MS=20,e.TOOLTIP_PANEL_CLASS=g,e.getMatTooltipInvalidPositionError=b,e.MAT_TOOLTIP_SCROLL_STRATEGY=w,e.MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY=x,e.MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER=C,e.MAT_TOOLTIP_DEFAULT_OPTIONS=S,e.MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY=E,e.MatTooltip=O,e.TooltipComponent=D,e.matTooltipAnimations=y,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("@angular/cdk/collections"),require("rxjs"),require("rxjs/operators"),require("@angular/core"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/cdk/a11y"),require("@angular/common")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-tree.umd.js",["tslib","@angular/cdk/collections","rxjs","rxjs/operators","@angular/core","@angular/cdk/bidi","@angular/cdk/coercion","@angular/cdk/a11y","@angular/common"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("@angular/cdk/collections"),e("rxjs"),e("rxjs/operators"),e("@angular/core"),e("@angular/cdk/bidi"),e("@angular/cdk/coercion"),e("@angular/cdk/a11y"),e("@angular/common"))})}(0,function(e,l,n,u,c,t,r,i,o,a){"use strict";var s=(p.prototype.toggle=function(e){this.expansionModel.toggle(e)},p.prototype.expand=function(e){this.expansionModel.select(e)},p.prototype.collapse=function(e){this.expansionModel.deselect(e)},p.prototype.isExpanded=function(e){return this.expansionModel.isSelected(e)},p.prototype.toggleDescendants=function(e){this.expansionModel.isSelected(e)?this.collapseDescendants(e):this.expandDescendants(e)},p.prototype.collapseAll=function(){this.expansionModel.clear()},p.prototype.expandDescendants=function(e){var t,n=[e];n.push.apply(n,l.__spread(this.getDescendants(e))),(t=this.expansionModel).select.apply(t,l.__spread(n))},p.prototype.collapseDescendants=function(e){var t,n=[e];n.push.apply(n,l.__spread(this.getDescendants(e))),(t=this.expansionModel).deselect.apply(t,l.__spread(n))},p);function p(){this.expansionModel=new n.SelectionModel(!0)}var d,h=(d=s,l.__extends(f,d),f.prototype.getDescendants=function(e){for(var t=[],n=this.dataNodes.indexOf(e)+1;n<this.dataNodes.length&&this.getLevel(e)<this.getLevel(this.dataNodes[n]);n++)t.push(this.dataNodes[n]);return t},f.prototype.expandAll=function(){var e;(e=this.expansionModel).select.apply(e,l.__spread(this.dataNodes))},f);function f(e,t){var n=d.call(this)||this;return n.getLevel=e,n.isExpandable=t,n}var m,v=(m=s,l.__extends(y,m),y.prototype.expandAll=function(){var e,n=this;this.expansionModel.clear();var t=this.dataNodes.reduce(function(e,t){return l.__spread(e,n.getDescendants(t),[t])},[]);(e=this.expansionModel).select.apply(e,l.__spread(t))},y.prototype.getDescendants=function(e){var t=[];return this._getDescendants(t,e),t.splice(1)},y.prototype._getDescendants=function(a,e){var s=this;a.push(e);var t=this.getChildren(e);Array.isArray(t)?t.forEach(function(e){return s._getDescendants(a,e)}):t instanceof u.Observable&&t.pipe(c.take(1),c.filter(Boolean)).subscribe(function(e){var t,n;try{for(var r=l.__values(e),i=r.next();!i.done;i=r.next()){var o=i.value;s._getDescendants(a,o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}})},y);function y(e){var t=m.call(this)||this;return t.getChildren=e,t}var g=new t.InjectionToken("CDK_TREE_NODE_OUTLET_NODE"),_=(b.decorators=[{type:t.Directive,args:[{selector:"[cdkTreeNodeOutlet]"}]}],b.ctorParameters=function(){return[{type:t.ViewContainerRef},{type:void 0,decorators:[{type:t.Inject,args:[g]},{type:t.Optional}]}]},b);function b(e,t){this.viewContainer=e,this._node=t}var w=function(e){this.$implicit=e},x=(C.decorators=[{type:t.Directive,args:[{selector:"[cdkTreeNodeDef]",inputs:["when: cdkTreeNodeDefWhen"]}]}],C.ctorParameters=function(){return[{type:t.TemplateRef}]},C);function C(e){this.template=e}function S(){return Error("A valid data source must be provided.")}function E(){return Error("There can only be one default row without a when predicate function.")}function O(){return Error("Could not find a matching node definition for the provided node data.")}function k(){return Error("Could not find a tree control for the tree.")}function D(){return Error("Could not find functions for nested/flat tree in tree control.")}var T=(Object.defineProperty(I.prototype,"dataSource",{get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)},enumerable:!0,configurable:!0}),I.prototype.ngOnInit=function(){if(this._dataDiffer=this._differs.find([]).create(this.trackBy),!this.treeControl)throw k()},I.prototype.ngOnDestroy=function(){this._nodeOutlet.viewContainer.clear(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)},I.prototype.ngAfterContentChecked=function(){var e=this._nodeDefs.filter(function(e){return!e.when});if(1<e.length)throw E();this._defaultNodeDef=e[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()},I.prototype._switchDataSource=function(e){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._observeRenderChanges()},I.prototype._observeRenderChanges=function(){var e,t=this;if(n.isDataSource(this._dataSource)?e=this._dataSource.connect(this):this._dataSource instanceof u.Observable?e=this._dataSource:Array.isArray(this._dataSource)&&(e=u.of(this._dataSource)),!e)throw S();this._dataSubscription=e.pipe(c.takeUntil(this._onDestroy)).subscribe(function(e){return t.renderNodeChanges(e)})},I.prototype.renderNodeChanges=function(i,e,o,a){var s=this;void 0===e&&(e=this._dataDiffer),void 0===o&&(o=this._nodeOutlet.viewContainer);var t=e.diff(i);t&&(t.forEachOperation(function(e,t,n){if(null==e.previousIndex)s.insertNode(i[n],n,o,a);else if(null==n)o.remove(t),s._levels.delete(e.item);else{var r=o.get(t);o.move(r,n)}}),this._changeDetectorRef.detectChanges())},I.prototype._getNodeDef=function(t,n){if(1===this._nodeDefs.length)return this._nodeDefs.first;var e=this._nodeDefs.find(function(e){return e.when&&e.when(n,t)})||this._defaultNodeDef;if(!e)throw O();return e},I.prototype.insertNode=function(e,t,n,r){var i=this._getNodeDef(e,t),o=new w(e);this.treeControl.getLevel?o.level=this.treeControl.getLevel(e):void 0!==r&&this._levels.has(r)?o.level=this._levels.get(r)+1:o.level=0,this._levels.set(e,o.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(i.template,o,t),P.mostRecentTreeNode&&(P.mostRecentTreeNode.data=e)},I.decorators=[{type:t.Component,args:[{moduleId:module.id,selector:"cdk-tree",exportAs:"cdkTree",template:"<ng-container cdkTreeNodeOutlet></ng-container>",host:{class:"cdk-tree",role:"tree"},encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.Default}]}],I.ctorParameters=function(){return[{type:t.IterableDiffers},{type:t.ChangeDetectorRef}]},I.propDecorators={dataSource:[{type:t.Input}],treeControl:[{type:t.Input}],trackBy:[{type:t.Input}],_nodeOutlet:[{type:t.ViewChild,args:[_,{static:!0}]}],_nodeDefs:[{type:t.ContentChildren,args:[x]}]},I);function I(e,t){this._differs=e,this._changeDetectorRef=t,this._onDestroy=new u.Subject,this._levels=new Map,this.viewChange=new u.BehaviorSubject({start:0,end:Number.MAX_VALUE})}var P=(Object.defineProperty(A.prototype,"data",{get:function(){return this._data},set:function(e){e!==this._data&&(this._data=e,this._setRoleFromData(),this._dataChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"isExpanded",{get:function(){return this._tree.treeControl.isExpanded(this._data)},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"level",{get:function(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):0},enumerable:!0,configurable:!0}),A.prototype.ngOnDestroy=function(){A.mostRecentTreeNode===this&&(A.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()},A.prototype.focus=function(){this._elementRef.nativeElement.focus()},A.prototype._setRoleFromData=function(){var t=this;if(this._tree.treeControl.isExpandable)this.role=this._tree.treeControl.isExpandable(this._data)?"group":"treeitem";else{if(!this._tree.treeControl.getChildren)throw D();var e=this._tree.treeControl.getChildren(this._data);Array.isArray(e)?this._setRoleFromChildren(e):e instanceof u.Observable&&e.pipe(c.takeUntil(this._destroyed)).subscribe(function(e){return t._setRoleFromChildren(e)})}},A.prototype._setRoleFromChildren=function(e){this.role=e&&e.length?"group":"treeitem"},A.mostRecentTreeNode=null,A.decorators=[{type:t.Directive,args:[{selector:"cdk-tree-node",exportAs:"cdkTreeNode",host:{"[attr.aria-expanded]":"isExpanded","[attr.aria-level]":'role === "treeitem" ? level : null',"[attr.role]":"role",class:"cdk-tree-node"}}]}],A.ctorParameters=function(){return[{type:t.ElementRef},{type:T}]},A.propDecorators={role:[{type:t.Input}]},A);function A(e,t){this._elementRef=e,this._tree=t,this._destroyed=new u.Subject,this._dataChanges=new u.Subject,this.role="treeitem",A.mostRecentTreeNode=this}var M,R=(M=P,l.__extends(N,M),N.prototype.ngAfterContentInit=function(){var t=this;if(this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),!this._tree.treeControl.getChildren)throw D();var e=this._tree.treeControl.getChildren(this.data);Array.isArray(e)?this.updateChildrenNodes(e):e instanceof u.Observable&&e.pipe(c.takeUntil(this._destroyed)).subscribe(function(e){return t.updateChildrenNodes(e)}),this.nodeOutlet.changes.pipe(c.takeUntil(this._destroyed)).subscribe(function(){return t.updateChildrenNodes()})},N.prototype.ngOnDestroy=function(){this._clear(),M.prototype.ngOnDestroy.call(this)},N.prototype.updateChildrenNodes=function(e){var t=this._getNodeOutlet();if(e&&(this._children=e),t&&this._children){var n=t.viewContainer;this._tree.renderNodeChanges(this._children,this._dataDiffer,n,this._data)}else this._dataDiffer.diff([])},N.prototype._clear=function(){var e=this._getNodeOutlet();e&&(e.viewContainer.clear(),this._dataDiffer.diff([]))},N.prototype._getNodeOutlet=function(){var t=this,e=this.nodeOutlet;return e&&e.find(function(e){return!e._node||e._node===t})},N.decorators=[{type:t.Directive,args:[{selector:"cdk-nested-tree-node",exportAs:"cdkNestedTreeNode",host:{"[attr.aria-expanded]":"isExpanded","[attr.role]":"role",class:"cdk-tree-node cdk-nested-tree-node"},providers:[{provide:P,useExisting:N},{provide:g,useExisting:N}]}]}],N.ctorParameters=function(){return[{type:t.ElementRef},{type:T},{type:t.IterableDiffers}]},N.propDecorators={nodeOutlet:[{type:t.ContentChildren,args:[_,{descendants:!0}]}]},N);function N(e,t,n){var r=M.call(this,e,t)||this;return r._elementRef=e,r._tree=t,r._differs=n,r}var j=/([A-Za-z%]+)$/,F=(Object.defineProperty(L.prototype,"level",{get:function(){return this._level},set:function(e){this._level=i.coerceNumberProperty(e,null),this._setPadding()},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"indent",{get:function(){return this._indent},set:function(e){var t=e,n="px";if("string"==typeof e){var r=e.split(j);t=r[0],n=r[1]||n}this.indentUnits=n,this._indent=i.coerceNumberProperty(t),this._setPadding()},enumerable:!0,configurable:!0}),L.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},L.prototype._paddingIndent=function(){var e=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,t=null==this._level?e:this._level;return"number"==typeof t?""+t*this._indent+this.indentUnits:null},L.prototype._setPadding=function(e){void 0===e&&(e=!1);var t=this._paddingIndent();if(t!==this._currentPadding||e){var n=this._element.nativeElement,r=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",i="paddingLeft"==r?"paddingRight":"paddingLeft";this._renderer.setStyle(n,r,t),this._renderer.setStyle(n,i,null),this._currentPadding=t}},L.decorators=[{type:t.Directive,args:[{selector:"[cdkTreeNodePadding]"}]}],L.ctorParameters=function(){return[{type:P},{type:T},{type:t.Renderer2},{type:t.ElementRef},{type:r.Directionality,decorators:[{type:t.Optional}]}]},L.propDecorators={level:[{type:t.Input,args:["cdkTreeNodePadding"]}],indent:[{type:t.Input,args:["cdkTreeNodePaddingIndent"]}]},L);function L(e,t,n,r,i){var o=this;this._treeNode=e,this._tree=t,this._renderer=n,this._element=r,this._dir=i,this._destroyed=new u.Subject,this.indentUnits="px",this._indent=40,this._setPadding(),i&&i.change.pipe(c.takeUntil(this._destroyed)).subscribe(function(){return o._setPadding(!0)}),e._dataChanges.subscribe(function(){return o._setPadding()})}var V=(Object.defineProperty(B.prototype,"recursive",{get:function(){return this._recursive},set:function(e){this._recursive=i.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),B.prototype._toggle=function(e){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),e.stopPropagation()},B.decorators=[{type:t.Directive,args:[{selector:"[cdkTreeNodeToggle]"}]}],B.ctorParameters=function(){return[{type:T},{type:P}]},B.propDecorators={recursive:[{type:t.Input,args:["cdkTreeNodeToggleRecursive"]}],_toggle:[{type:t.HostListener,args:["click",["$event"]]}]},B);function B(e,t){this._tree=e,this._treeNode=t,this._recursive=!1}var U=[R,x,F,V,T,P,_],z=(q.decorators=[{type:t.NgModule,args:[{imports:[a.CommonModule],exports:U,declarations:U,providers:[o.FocusMonitor,x]}]}],q);function q(){}e.BaseTreeControl=s,e.FlatTreeControl=h,e.NestedTreeControl=v,e.CdkNestedTreeNode=R,e.CdkTreeNodeOutletContext=w,e.CdkTreeNodeDef=x,e.CdkTreeNodePadding=F,e.CDK_TREE_NODE_OUTLET_NODE=g,e.CdkTreeNodeOutlet=_,e.CdkTree=T,e.CdkTreeNode=P,e.getTreeNoValidDataSourceError=S,e.getTreeMultipleDefaultNodeDefsError=E,e.getTreeMissingMatchingNodeDefError=O,e.getTreeControlMissingError=k,e.getTreeControlFunctionsMissingError=D,e.CdkTreeModule=z,e.CdkTreeNodeToggle=V,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/common")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-bidi.umd.js",["@angular/core","@angular/common"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/common"))})}(0,function(e,i,t){"use strict";var n=new i.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:r});function r(){return i.inject(t.DOCUMENT)}var o=(a.prototype.ngOnDestroy=function(){this.change.complete()},a.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],a.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[n]}]}]},a.ngInjectableDef=i.ɵɵdefineInjectable({factory:function(){return new a(i.ɵɵinject(n,8))},token:a,providedIn:"root"}),a);function a(e){if(this.value="ltr",this.change=new i.EventEmitter,e){var t=e.body?e.body.dir:null,n=e.documentElement?e.documentElement.dir:null,r=t||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}var s=(Object.defineProperty(l.prototype,"dir",{get:function(){return this._dir},set:function(e){var t=this._dir,n=e?e.toLowerCase():e;this._rawDir=e,this._dir="ltr"===n||"rtl"===n?n:"ltr",t!==this._dir&&this._isInitialized&&this.change.emit(this._dir)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return this.dir},enumerable:!0,configurable:!0}),l.prototype.ngAfterContentInit=function(){this._isInitialized=!0},l.prototype.ngOnDestroy=function(){this.change.complete()},l.decorators=[{type:i.Directive,args:[{selector:"[dir]",providers:[{provide:o,useExisting:l}],host:{"[attr.dir]":"_rawDir"},exportAs:"dir"}]}],l.propDecorators={change:[{type:i.Output,args:["dirChange"]}],dir:[{type:i.Input}]},l);function l(){this._dir="ltr",this._isInitialized=!1,this.change=new i.EventEmitter}var u=(c.decorators=[{type:i.NgModule,args:[{exports:[s],declarations:[s]}]}],c);function c(){}e.ɵangular_material_src_cdk_bidi_bidi_a=r,e.Directionality=o,e.DIR_DOCUMENT=n,e.Dir=s,e.BidiModule=u,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core")):System.registerDynamic("npm:@angular/cdk/bundles/cdk.umd.js",["@angular/core"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"))})}(0,function(e,t){"use strict";var n=new t.Version("9.0.0-next.0");e.VERSION=n,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/common")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-platform.umd.js",["@angular/core","@angular/common"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/common"))})}(0,function(i,e,t){"use strict";var n;try{n="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(e){n=!1}var r=(o.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],o.ctorParameters=function(){return[{type:Object,decorators:[{type:e.Optional},{type:e.Inject,args:[e.PLATFORM_ID]}]}]},o.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new o(e.ɵɵinject(e.PLATFORM_ID,8))},token:o,providedIn:"root"}),o);function o(e){this._platformId=e,this.isBrowser=this._platformId?t.isPlatformBrowser(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!n)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}var a,s=(l.decorators=[{type:e.NgModule,args:[{}]}],l);function l(){}var u,c,p,d,h=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function f(){if(null==u&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return u=!0}}))}finally{u=u||!1}return u}(c=i.RtlScrollAxisType||(i.RtlScrollAxisType={}))[c.NORMAL=0]="NORMAL",c[c.NEGATED=1]="NEGATED",c[c.INVERTED=2]="INVERTED",i.Platform=r,i.PlatformModule=s,i.getSupportedInputTypes=function(){if(a)return a;if("object"!=typeof document||!document)return a=new Set(h);var t=document.createElement("input");return a=new Set(h.filter(function(e){return t.setAttribute("type",e),t.type===e}))},i.supportsPassiveEventListeners=f,i.normalizePassiveListenerOptions=function(e){return f()?e:!!e.capture},i.supportsScrollBehavior=function(){return!!("object"==typeof document&&"scrollBehavior"in document.documentElement.style)},i.getRtlScrollAxisType=function(){if("object"!=typeof document||!document)return i.RtlScrollAxisType.NORMAL;if(!p){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),p=i.RtlScrollAxisType.NORMAL,0===e.scrollLeft&&(e.scrollLeft=1,p=0===e.scrollLeft?i.RtlScrollAxisType.NEGATED:i.RtlScrollAxisType.INVERTED),e.parentNode.removeChild(e)}return p},i._supportsShadowDom=function(){if(null==d){var e="undefined"!=typeof document?document.head:null;d=!(!e||!e.createShadowRoot&&!e.attachShadow)}return d},Object.defineProperty(i,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/cdk/coercion"),require("@angular/core"),require("rxjs"),require("rxjs/operators")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-observers.umd.js",["@angular/cdk/coercion","@angular/core","rxjs","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("@angular/cdk/coercion"),e("@angular/core"),e("rxjs"),e("rxjs/operators"))})}(0,function(e,t,r,i,n){"use strict";var o=(a.prototype.create=function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)},a.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],a.ngInjectableDef=r.ɵɵdefineInjectable({factory:function(){return new a},token:a,providedIn:"root"}),a);function a(){}var s=(l.prototype.ngOnDestroy=function(){var n=this;this._observedElements.forEach(function(e,t){return n._cleanupObserver(t)})},l.prototype.observe=function(e){var n=this,r=t.coerceElement(e);return new i.Observable(function(e){var t=n._observeElement(r).subscribe(e);return function(){t.unsubscribe(),n._unobserveElement(r)}})},l.prototype._observeElement=function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new i.Subject,n=this._mutationObserverFactory.create(function(e){return t.next(e)});n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream},l.prototype._unobserveElement=function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))},l.prototype._cleanupObserver=function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,r=t.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}},l.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],l.ctorParameters=function(){return[{type:o}]},l.ngInjectableDef=r.ɵɵdefineInjectable({factory:function(){return new l(r.ɵɵinject(o))},token:l,providedIn:"root"}),l);function l(e){this._mutationObserverFactory=e,this._observedElements=new Map}var u=(Object.defineProperty(c.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=t.coerceBooleanProperty(e),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"debounce",{get:function(){return this._debounce},set:function(e){this._debounce=t.coerceNumberProperty(e),this._subscribe()},enumerable:!0,configurable:!0}),c.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},c.prototype.ngOnDestroy=function(){this._unsubscribe()},c.prototype._subscribe=function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){e._currentSubscription=(e.debounce?t.pipe(n.debounceTime(e.debounce)):t).subscribe(e.event)})},c.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},c.decorators=[{type:r.Directive,args:[{selector:"[cdkObserveContent]",exportAs:"cdkObserveContent"}]}],c.ctorParameters=function(){return[{type:s},{type:r.ElementRef},{type:r.NgZone}]},c.propDecorators={event:[{type:r.Output,args:["cdkObserveContent"]}],disabled:[{type:r.Input,args:["cdkObserveContentDisabled"]}],debounce:[{type:r.Input}]},c);function c(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new r.EventEmitter,this._disabled=!1,this._currentSubscription=null}var p=(d.decorators=[{type:r.NgModule,args:[{exports:[u],declarations:[u],providers:[o]}]}],d);function d(){}e.MutationObserverFactory=o,e.ContentObserver=s,e.CdkObserveContent=u,e.ObserversModule=p,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/common"),require("@angular/core"),require("tslib"),require("rxjs"),require("@angular/cdk/keycodes"),require("rxjs/operators"),require("@angular/cdk/coercion"),require("@angular/cdk/platform"),require("@angular/cdk/observers")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-a11y.umd.js",["@angular/common","@angular/core","tslib","rxjs","@angular/cdk/keycodes","rxjs/operators","@angular/cdk/coercion","@angular/cdk/platform","@angular/cdk/observers"],!1,function(e,t,n){return r.call(t,t,e("@angular/common"),e("@angular/core"),e("tslib"),e("rxjs"),e("@angular/cdk/keycodes"),e("rxjs/operators"),e("@angular/cdk/coercion"),e("@angular/cdk/platform"),e("@angular/cdk/observers"))})}(0,function(e,t,r,l,u,i,n,c,o,a){"use strict";function s(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var p="cdk-describedby-message-container",d="cdk-describedby-message",h="cdk-describedby-host",f=0,m=new Map,v=null,y=(g.prototype.describe=function(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),m.set(t,{messageElement:t,referenceCount:0})):m.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))},g.prototype.removeDescription=function(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){var n=m.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t)}v&&0===v.childNodes.length&&this._deleteMessagesContainer()}},g.prototype.ngOnDestroy=function(){for(var e=this._document.querySelectorAll("["+h+"]"),t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute(h);v&&this._deleteMessagesContainer(),m.clear()},g.prototype._createMessageElement=function(e){var t=this._document.createElement("div");this._setMessageId(t),t.textContent=e,this._createMessagesContainer(),v.appendChild(t),m.set(e,{messageElement:t,referenceCount:0})},g.prototype._setMessageId=function(e){e.id||(e.id=d+"-"+f++)},g.prototype._deleteMessageElement=function(e){var t=m.get(e),n=t&&t.messageElement;v&&n&&v.removeChild(n),m.delete(e)},g.prototype._createMessagesContainer=function(){if(!v){var e=this._document.getElementById(p);e&&e.parentNode.removeChild(e),(v=this._document.createElement("div")).id=p,v.setAttribute("aria-hidden","true"),v.style.display="none",this._document.body.appendChild(v)}},g.prototype._deleteMessagesContainer=function(){v&&v.parentNode&&(v.parentNode.removeChild(v),v=null)},g.prototype._removeCdkDescribedByReferenceIds=function(e){var t=s(e,"aria-describedby").filter(function(e){return 0!=e.indexOf(d)});e.setAttribute("aria-describedby",t.join(" "))},g.prototype._addMessageReference=function(e,t){var n=m.get(t);!function(e,t,n){var r=s(e,t);r.some(function(e){return e.trim()==n.trim()})||(r.push(n.trim()),e.setAttribute(t,r.join(" ")))}(e,"aria-describedby",n.messageElement.id),e.setAttribute(h,""),n.referenceCount++},g.prototype._removeMessageReference=function(e,t){var n=m.get(t);n.referenceCount--,function(e,t,n){var r=s(e,t).filter(function(e){return e!=n.trim()});r.length?e.setAttribute(t,r.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",n.messageElement.id),e.removeAttribute(h)},g.prototype._isElementDescribedByMessage=function(e,t){var n=s(e,"aria-describedby"),r=m.get(t),i=r&&r.messageElement.id;return!!i&&-1!=n.indexOf(i)},g.prototype._canBeDescribed=function(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;var n=null==t?"":(""+t).trim(),r=e.getAttribute("aria-label");return!(!n||r&&r.trim()===n)},g.prototype._isElementNode=function(e){return e.nodeType===this._document.ELEMENT_NODE},g.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],g.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[t.DOCUMENT]}]}]},g.ngInjectableDef=r.ɵɵdefineInjectable({factory:function(){return new g(r.ɵɵinject(t.DOCUMENT))},token:g,providedIn:"root"}),g);function g(e){this._document=e}function _(e,t){return e||new y(t)}var b={provide:y,deps:[[new r.Optional,new r.SkipSelf,y],t.DOCUMENT],useFactory:_},w=(x.prototype.skipPredicate=function(e){return this._skipPredicateFn=e,this},x.prototype.withWrap=function(e){return void 0===e&&(e=!0),this._wrap=e,this},x.prototype.withVerticalOrientation=function(e){return void 0===e&&(e=!0),this._vertical=e,this},x.prototype.withHorizontalOrientation=function(e){return this._horizontal=e,this},x.prototype.withAllowedModifierKeys=function(e){return this._allowedModifierKeys=e,this},x.prototype.withTypeAhead=function(e){var o=this;if(void 0===e&&(e=200),this._items.length&&this._items.some(function(e){return"function"!=typeof e.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(n.tap(function(e){return o._pressedLetters.push(e)}),n.debounceTime(e),n.filter(function(){return 0<o._pressedLetters.length}),n.map(function(){return o._pressedLetters.join("")})).subscribe(function(e){for(var t=o._getItemsArray(),n=1;n<t.length+1;n++){var r=(o._activeItemIndex+n)%t.length,i=t[r];if(!o._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(e)){o.setActiveItem(r);break}}o._pressedLetters=[]}),this},x.prototype.setActiveItem=function(e){var t=this._activeItemIndex;this.updateActiveItem(e),this._activeItemIndex!==t&&this.change.next(this._activeItemIndex)},x.prototype.onKeydown=function(t){var n=this,e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(function(e){return!t[e]||-1<n._allowedModifierKeys.indexOf(e)});switch(e){case i.TAB:return void this.tabOut.next();case i.DOWN_ARROW:if(this._vertical&&r){this.setNextItemActive();break}return;case i.UP_ARROW:if(this._vertical&&r){this.setPreviousItemActive();break}return;case i.RIGHT_ARROW:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case i.LEFT_ARROW:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((r||i.hasModifierKey(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=i.A&&e<=i.Z||e>=i.ZERO&&e<=i.NINE)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(x.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),x.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},x.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},x.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},x.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},x.prototype.updateActiveItem=function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),r=t[n];this._activeItem=null==r?null:r,this._activeItemIndex=n},x.prototype.updateActiveItemIndex=function(e){this.updateActiveItem(e)},x.prototype._setActiveItemByDelta=function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)},x.prototype._setActiveInWrapMode=function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var r=(this._activeItemIndex+e*n+t.length)%t.length,i=t[r];if(!this._skipPredicateFn(i))return void this.setActiveItem(r)}},x.prototype._setActiveInDefaultMode=function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)},x.prototype._setActiveItemByIndex=function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}},x.prototype._getItemsArray=function(){return this._items instanceof r.QueryList?this._items.toArray():this._items},x);function x(e){var n=this;this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new u.Subject,this._typeaheadSubscription=u.Subscription.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new u.Subject,this.change=new u.Subject,e instanceof r.QueryList&&e.changes.subscribe(function(e){if(n._activeItem){var t=e.toArray().indexOf(n._activeItem);-1<t&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}var C,S=(C=w,l.__extends(E,C),E.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),C.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},E);function E(){return null!==C&&C.apply(this,arguments)||this}var O,k=(O=w,l.__extends(D,O),D.prototype.setFocusOrigin=function(e){return this._origin=e,this},D.prototype.setActiveItem=function(e){O.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},D);function D(){var e=null!==O&&O.apply(this,arguments)||this;return e._origin="program",e}var T=(I.prototype.isDisabled=function(e){return e.hasAttribute("disabled")},I.prototype.isVisible=function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility},I.prototype.isTabbable=function(e){if(!this._platform.isBrowser)return!1;var t=function(e){try{return e.frameElement}catch(e){return null}}(function(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(e));if(t){var n=t&&t.nodeName.toLowerCase();if(-1===A(t))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(t))return!1}var r=e.nodeName.toLowerCase(),i=A(e);if(e.hasAttribute("contenteditable"))return-1!==i;if("iframe"===r)return!1;if("audio"===r){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&0<=e.tabIndex},I.prototype.isFocusable=function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||P(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)},I.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],I.ctorParameters=function(){return[{type:o.Platform}]},I.ngInjectableDef=r.ɵɵdefineInjectable({factory:function(){return new I(r.ɵɵinject(o.Platform))},token:I,providedIn:"root"}),I);function I(e){this._platform=e}function P(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function A(e){if(!P(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var M=(Object.defineProperty(R.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))},enumerable:!0,configurable:!0}),R.prototype.destroy=function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null},R.prototype.attachAnchors=function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},R.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})},R.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})},R.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})},R.prototype._getRegionBoundary=function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-"+e+"], [cdkFocusRegion"+e+"], [cdk-focus-"+e+"]"),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-"+e+"', use 'cdkFocusRegion"+e+"' instead. The deprecated attribute will be removed in 8.0.0.",t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+e+"', use 'cdkFocusRegion"+e+"' instead. The deprecated attribute will be removed in 8.0.0.",t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)},R.prototype.focusInitialElement=function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),r.isDevMode()&&!this._checker.isFocusable(e)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",e),e.focus(),!0):this.focusFirstTabbableElement()},R.prototype.focusFirstTabbableElement=function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e},R.prototype.focusLastTabbableElement=function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e},R.prototype.hasAttached=function(){return this._hasAttached},R.prototype._getFirstTabbableElement=function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null},R.prototype._getLastTabbableElement=function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;0<=n;n--){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null},R.prototype._createAnchor=function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e},R.prototype._toggleAnchorTabIndex=function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")},R.prototype._executeOnStable=function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(n.take(1)).subscribe(e)},R);function R(e,t,n,r,i){var o=this;void 0===i&&(i=!1),this._element=e,this._checker=t,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,i||this.attachAnchors()}var N=(j.prototype.create=function(e,t){return void 0===t&&(t=!1),new M(e,this._checker,this._ngZone,this._document,t)},j.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],j.ctorParameters=function(){return[{type:T},{type:r.NgZone},{type:void 0,decorators:[{type:r.Inject,args:[t.DOCUMENT]}]}]},j.ngInjectableDef=r.ɵɵdefineInjectable({factory:function(){return new j(r.ɵɵinject(T),r.ɵɵinject(r.NgZone),r.ɵɵinject(t.DOCUMENT))},token:j,providedIn:"root"}),j);function j(e,t,n){this._checker=e,this._ngZone=t,this._document=n}var F=(Object.defineProperty(L.prototype,"enabled",{get:function(){return this.focusTrap.enabled},set:function(e){this.focusTrap.enabled=c.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(L.prototype,"autoCapture",{get:function(){return this._autoCapture},set:function(e){this._autoCapture=c.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),L.prototype.ngOnDestroy=function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)},L.prototype.ngAfterContentInit=function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())},L.prototype.ngDoCheck=function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()},L.decorators=[{type:r.Directive,args:[{selector:"[cdkTrapFocus]",exportAs:"cdkTrapFocus"}]}],L.ctorParameters=function(){return[{type:r.ElementRef},{type:N},{type:void 0,decorators:[{type:r.Inject,args:[t.DOCUMENT]}]}]},L.propDecorators={enabled:[{type:r.Input,args:["cdkTrapFocus"]}],autoCapture:[{type:r.Input,args:["cdkTrapFocusAutoCapture"]}]},L);function L(e,t,n){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}var V=new r.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:B});function B(){return null}var U=new r.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),z=(q.prototype.announce=function(t){for(var e,n=this,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var o,a,s=this._defaultOptions;return a=1===r.length&&"number"==typeof r[0]?r[0]:(o=(e=l.__read(r,2))[0],e[1]),this.clear(),clearTimeout(this._previousTimeout),o=o||(s&&s.politeness?s.politeness:"polite"),null==a&&s&&(a=s.duration),this._liveElement.setAttribute("aria-live",o),this._ngZone.runOutsideAngular(function(){return new Promise(function(e){clearTimeout(n._previousTimeout),n._previousTimeout=setTimeout(function(){n._liveElement.textContent=t,e(),"number"==typeof a&&(n._previousTimeout=setTimeout(function(){return n.clear()},a))},100)})})},q.prototype.clear=function(){this._liveElement&&(this._liveElement.textContent="")},q.prototype.ngOnDestroy=function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)},q.prototype._createLiveElement=function(){for(var e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),n=this._document.createElement("div"),r=0;r<t.length;r++)t[r].parentNode.removeChild(t[r]);return n.classList.add(e),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n},q.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],q.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[V]}]},{type:r.NgZone},{type:void 0,decorators:[{type:r.Inject,args:[t.DOCUMENT]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[U]}]}]},q.ngInjectableDef=r.ɵɵdefineInjectable({factory:function(){return new q(r.ɵɵinject(V,8),r.ɵɵinject(r.NgZone),r.ɵɵinject(t.DOCUMENT),r.ɵɵinject(U,8))},token:q,providedIn:"root"}),q);function q(e,t,n,r){this._ngZone=t,this._defaultOptions=r,this._document=n,this._liveElement=e||this._createLiveElement()}var H=(Object.defineProperty(W.prototype,"politeness",{get:function(){return this._politeness},set:function(e){var t=this;this._politeness="polite"===e||"assertive"===e?e:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(function(){return t._contentObserver.observe(t._elementRef).subscribe(function(){var e=t._elementRef.nativeElement.textContent;e!==t._previousAnnouncedText&&(t._liveAnnouncer.announce(e,t._politeness),t._previousAnnouncedText=e)})}))},enumerable:!0,configurable:!0}),W.prototype.ngOnDestroy=function(){this._subscription&&this._subscription.unsubscribe()},W.decorators=[{type:r.Directive,args:[{selector:"[cdkAriaLive]",exportAs:"cdkAriaLive"}]}],W.ctorParameters=function(){return[{type:r.ElementRef},{type:z},{type:a.ContentObserver},{type:r.NgZone}]},W.propDecorators={politeness:[{type:r.Input,args:["cdkAriaLive"]}]},W);function W(e,t,n,r){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=n,this._ngZone=r,this._politeness="off"}function G(e,t,n,r){return e||new z(t,r,n)}var Y={provide:z,deps:[[new r.Optional,new r.SkipSelf,z],[new r.Optional,new r.Inject(V)],t.DOCUMENT,r.NgZone],useFactory:G},K=o.normalizePassiveListenerOptions({passive:!0,capture:!0}),Z=(Q.prototype.monitor=function(e,t){var n=this;if(void 0===t&&(t=!1),!this._platform.isBrowser)return u.of(null);var r=c.coerceElement(e);if(this._elementInfo.has(r)){var i=this._elementInfo.get(r);return i.checkChildren=t,i.subject.asObservable()}var o={unlisten:function(){},checkChildren:t,subject:new u.Subject};function a(e){return n._onFocus(e,r)}function s(e){return n._onBlur(e,r)}return this._elementInfo.set(r,o),this._incrementMonitoredElementCount(),this._ngZone.runOutsideAngular(function(){r.addEventListener("focus",a,!0),r.addEventListener("blur",s,!0)}),o.unlisten=function(){r.removeEventListener("focus",a,!0),r.removeEventListener("blur",s,!0)},o.subject.asObservable()},Q.prototype.stopMonitoring=function(e){var t=c.coerceElement(e),n=this._elementInfo.get(t);n&&(n.unlisten(),n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())},Q.prototype.focusVia=function(e,t,n){var r=c.coerceElement(e);this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n)},Q.prototype.ngOnDestroy=function(){var n=this;this._elementInfo.forEach(function(e,t){return n.stopMonitoring(t)})},Q.prototype._toggleClass=function(e,t,n){n?e.classList.add(t):e.classList.remove(t)},Q.prototype._setClasses=function(e,t){this._elementInfo.get(e)&&(this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t))},Q.prototype._setOriginForCurrentEventQueue=function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,t._originTimeoutId=setTimeout(function(){return t._origin=null},1)})},Q.prototype._wasCausedByTouch=function(e){var t=e.target;return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))},Q.prototype._onFocus=function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===e.target)){var r=this._origin;r=r||(this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}},Q.prototype._onBlur=function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))},Q.prototype._emitOrigin=function(e,t){this._ngZone.run(function(){return e.next(t)})},Q.prototype._incrementMonitoredElementCount=function(){var e=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",e._documentKeydownListener,K),document.addEventListener("mousedown",e._documentMousedownListener,K),document.addEventListener("touchstart",e._documentTouchstartListener,K),window.addEventListener("focus",e._windowFocusListener)})},Q.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,K),document.removeEventListener("mousedown",this._documentMousedownListener,K),document.removeEventListener("touchstart",this._documentTouchstartListener,K),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))},Q.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],Q.ctorParameters=function(){return[{type:r.NgZone},{type:o.Platform}]},Q.ngInjectableDef=r.ɵɵdefineInjectable({factory:function(){return new Q(r.ɵɵinject(r.NgZone),r.ɵɵinject(o.Platform))},token:Q,providedIn:"root"}),Q);function Q(e,t){var n=this;this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=function(){n._lastTouchTarget=null,n._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(){n._lastTouchTarget||n._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=function(e){null!=n._touchTimeoutId&&clearTimeout(n._touchTimeoutId),n._lastTouchTarget=e.composedPath?e.composedPath()[0]:e.target,n._touchTimeoutId=setTimeout(function(){return n._lastTouchTarget=null},650)},this._windowFocusListener=function(){n._windowFocused=!0,n._windowFocusTimeoutId=setTimeout(function(){return n._windowFocused=!1})}}var X=($.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()},$.decorators=[{type:r.Directive,args:[{selector:"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]"}]}],$.ctorParameters=function(){return[{type:r.ElementRef},{type:Z}]},$.propDecorators={cdkFocusChange:[{type:r.Output}]},$);function $(e,t){var n=this;this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new r.EventEmitter,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(e){return n.cdkFocusChange.emit(e)})}function J(e,t,n){return e||new Z(t,n)}var ee={provide:Z,deps:[[new r.Optional,new r.SkipSelf,Z],r.NgZone,o.Platform],useFactory:J};var te=(ne.decorators=[{type:r.NgModule,args:[{imports:[t.CommonModule,o.PlatformModule,a.ObserversModule],declarations:[H,F,X],exports:[H,F,X]}]}],ne);function ne(){}e.MESSAGES_CONTAINER_ID=p,e.CDK_DESCRIBEDBY_ID_PREFIX=d,e.CDK_DESCRIBEDBY_HOST_ATTRIBUTE=h,e.AriaDescriber=y,e.ARIA_DESCRIBER_PROVIDER_FACTORY=_,e.ARIA_DESCRIBER_PROVIDER=b,e.ActiveDescendantKeyManager=S,e.FocusKeyManager=k,e.ListKeyManager=w,e.FocusTrap=M,e.FocusTrapFactory=N,e.CdkTrapFocus=F,e.InteractivityChecker=T,e.LiveAnnouncer=z,e.CdkAriaLive=H,e.LIVE_ANNOUNCER_PROVIDER_FACTORY=G,e.LIVE_ANNOUNCER_PROVIDER=Y,e.LIVE_ANNOUNCER_ELEMENT_TOKEN=V,e.LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY=B,e.LIVE_ANNOUNCER_DEFAULT_OPTIONS=U,e.TOUCH_BUFFER_MS=650,e.FocusMonitor=Z,e.CdkMonitorFocus=X,e.FOCUS_MONITOR_PROVIDER_FACTORY=J,e.FOCUS_MONITOR_PROVIDER=ee,e.isFakeMousedownFromScreenReader=function(e){return 0===e.buttons},e.A11yModule=te,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/common"),require("@angular/core")):System.registerDynamic("npm:@angular/platform-browser/bundles/platform-browser.umd.js",["@angular/common","@angular/core"],!1,function(e,t,n){return r.call(t,t,e("@angular/common"),e("@angular/core"))})}(0,function(e,l,d){"use strict";var r=function(e,t){return(r=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])})(e,t)};function t(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var n=function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}function o(n,r){return function(e,t){r(e,t,n)}}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var s,u=(t(c,s=l.ɵDomAdapter),c.prototype.supportsDOMEvents=function(){return!0},c);function c(){return s.call(this)||this}!function(){if(d.ɵglobal.Node)d.ɵglobal.Node.prototype.contains}();var p,h=(t(f,p=u),f.makeCurrent=function(){l.ɵsetRootDomAdapter(new f)},f.prototype.getProperty=function(e,t){return e[t]},f.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},f.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},f.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},f.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},f.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},f.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},f.prototype.getValue=function(e){return e.value},f.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},f.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},f.prototype.getDefaultDocument=function(){return document},f.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},f.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},f.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},f.prototype.getHistory=function(){return window.history},f.prototype.getLocation=function(){return window.location},f.prototype.getBaseHref=function(e){var t=(v=v||document.querySelector("base"))?v.getAttribute("href"):null;return null==t?null:function(e){return(m=m||document.createElement("a")).setAttribute("href",e),"/"===m.pathname.charAt(0)?m.pathname:"/"+m.pathname}(t)},f.prototype.resetBaseElement=function(){v=null},f.prototype.getUserAgent=function(){return window.navigator.userAgent},f.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},f.prototype.supportsCookies=function(){return!0},f.prototype.getCookie=function(e){return l.ɵparseCookieValue(document.cookie,e)},f);function f(){return null!==p&&p.apply(this,arguments)||this}var m,v=null;var y=new d.InjectionToken("TRANSITION_ID");function g(n,e,t){return function(){t.get(d.ApplicationInitStatus).donePromise.then(function(){var t=l.ɵgetDOM();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(function(e){return e.getAttribute("ng-transition")===n}).forEach(function(e){return t.remove(e)})})}}var _=[{provide:d.APP_INITIALIZER,useFactory:g,deps:[y,l.DOCUMENT,d.Injector],multi:!0}],b=(w.init=function(){d.setTestabilityGetter(new w)},w.prototype.addToWindow=function(r){d.ɵglobal.getAngularTestability=function(e,t){void 0===t&&(t=!0);var n=r.findTestabilityInTree(e,t);if(null==n)throw new Error("Could not find testability for element.");return n},d.ɵglobal.getAllAngularTestabilities=function(){return r.getAllTestabilities()},d.ɵglobal.getAllAngularRootElements=function(){return r.getAllRootElements()},d.ɵglobal.frameworkStabilizers||(d.ɵglobal.frameworkStabilizers=[]),d.ɵglobal.frameworkStabilizers.push(function(t){function n(e){i=i||e,0==--r&&t(i)}var e=d.ɵglobal.getAllAngularTestabilities(),r=e.length,i=!1;e.forEach(function(e){e.whenStable(n)})})},w.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?l.ɵgetDOM().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null},w);function w(){}function x(e,t){"undefined"!=typeof COMPILED&&COMPILED||((d.ɵglobal.ng=d.ɵglobal.ng||{})[e]=t)}var C={ApplicationRef:d.ApplicationRef,NgZone:d.NgZone};function S(e){return d.getDebugNode(e)}function E(e){return x("probe",S),x("coreTokens",n(n({},C),function(e){return e.reduce(function(e,t){return e[t.name]=t.token,e},{})}(e||[]))),function(){return S}}var O=[{provide:d.APP_INITIALIZER,useFactory:E,deps:[[d.NgProbeToken,new d.Optional]],multi:!0}],k=O,D=new d.InjectionToken("EventManagerPlugins"),T=(I.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},I.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},I.prototype.getZone=function(){return this._zone},I.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event "+e)},I=i([d.Injectable(),o(0,d.Inject(D)),a("design:paramtypes",[Array,d.NgZone])],I));function I(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}var P=(A.prototype.addGlobalEventListener=function(e,t,n){var r=l.ɵgetDOM().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},A);function A(e){this._doc=e}var M=(R.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},R.prototype.onStylesAdded=function(e){},R.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},R=i([d.Injectable()],R));function R(){this._stylesSet=new Set}var N,j=(t(F,N=M),F.prototype._addStylesToHost=function(e,n){var r=this;e.forEach(function(e){var t=r._doc.createElement("style");t.textContent=e,r._styleNodes.add(n.appendChild(t))})},F.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},F.prototype.removeHost=function(e){this._hostNodes.delete(e)},F.prototype.onStylesAdded=function(t){var n=this;this._hostNodes.forEach(function(e){return n._addStylesToHost(t,e)})},F.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return l.ɵgetDOM().remove(e)})},F=i([d.Injectable(),o(0,d.Inject(l.DOCUMENT)),a("design:paramtypes",[Object])],F));function F(e){var t=N.call(this)||this;return t._doc=e,t._hostNodes=new Set,t._styleNodes=new Set,t._hostNodes.add(e.head),t}var L={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},V=/%COMP%/g,B="undefined"==typeof ngDevMode||!!ngDevMode,U="_nghost-%COMP%",z="_ngcontent-%COMP%";function q(e){return z.replace(V,e)}function H(e){return U.replace(V,e)}function W(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?W(e,i,n):(i=i.replace(V,e),n.push(i))}return n}function G(t){return function(e){if(e===Function)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var Y=(K.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case d.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new ee(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case d.ViewEncapsulation.Native:case d.ViewEncapsulation.ShadowDom:return new re(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=W(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},K.prototype.begin=function(){},K.prototype.end=function(){},K=i([d.Injectable(),o(2,d.Inject(d.APP_ID)),a("design:paramtypes",[T,j,String])],K));function K(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Z(e)}var Z=(Q.prototype.destroy=function(){},Q.prototype.createElement=function(e,t){return t?document.createElementNS(L[t]||t,e):document.createElement(e)},Q.prototype.createComment=function(e){return document.createComment(e)},Q.prototype.createText=function(e){return document.createTextNode(e)},Q.prototype.appendChild=function(e,t){e.appendChild(t)},Q.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},Q.prototype.removeChild=function(e,t){e&&e.removeChild(t)},Q.prototype.selectRootElement=function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'+e+'" did not match any elements');return t||(n.textContent=""),n},Q.prototype.parentNode=function(e){return e.parentNode},Q.prototype.nextSibling=function(e){return e.nextSibling},Q.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var i=L[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},Q.prototype.removeAttribute=function(e,t,n){if(n){var r=L[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},Q.prototype.addClass=function(e,t){e.classList.add(t)},Q.prototype.removeClass=function(e,t){e.classList.remove(t)},Q.prototype.setStyle=function(e,t,n,r){r&d.RendererStyleFlags2.DashCase?e.style.setProperty(t,n,r&d.RendererStyleFlags2.Important?"important":""):e.style[t]=n},Q.prototype.removeStyle=function(e,t,n){n&d.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""},Q.prototype.setProperty=function(e,t,n){B&&$(t,"property"),e[t]=n},Q.prototype.setValue=function(e,t){e.nodeValue=t},Q.prototype.listen=function(e,t,n){return B&&$(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,G(n)):this.eventManager.addEventListener(e,t,G(n))},Q);function Q(e){this.eventManager=e,this.data=Object.create(null)}var X="@".charCodeAt(0);function $(e,t){if(e.charCodeAt(0)===X)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var J,ee=(t(te,J=Z),te.prototype.applyToHost=function(e){J.prototype.setAttribute.call(this,e,this.hostAttr,"")},te.prototype.createElement=function(e,t){var n=J.prototype.createElement.call(this,e,t);return J.prototype.setAttribute.call(this,n,this.contentAttr,""),n},te);function te(e,t,n,r){var i=J.call(this,e)||this,o=W(r+"-"+(i.component=n).id,n.styles,[]);return t.addStyles(o),i.contentAttr=q(r+"-"+n.id),i.hostAttr=H(r+"-"+n.id),i}var ne,re=(t(ie,ne=Z),ie.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},ie.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},ie.prototype.appendChild=function(e,t){return ne.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),t)},ie.prototype.insertBefore=function(e,t,n){return ne.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),t,n)},ie.prototype.removeChild=function(e,t){return ne.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),t)},ie.prototype.parentNode=function(e){return this.nodeOrShadowRoot(ne.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},ie);function ie(e,t,n,r){var i=ne.call(this,e)||this;i.sharedStylesHost=t,i.hostEl=n,(i.component=r).encapsulation===d.ViewEncapsulation.ShadowDom?i.shadowRoot=n.attachShadow({mode:"open"}):i.shadowRoot=n.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var o=W(r.id,r.styles,[]),a=0;a<o.length;a++){var s=document.createElement("style");s.textContent=o[a],i.shadowRoot.appendChild(s)}return i}function oe(e){return!!me&&me.hasOwnProperty(e)}function ae(e){var t=pe[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var i=n.slice(),o=0;o<i.length&&!0!==e[he];o++){var a;(a=i[o]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}}var se,le="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},ue=le("addEventListener"),ce=le("removeEventListener"),pe={},de="removeEventListener",he="__zone_symbol__propagationStopped",fe="__zone_symbol__stopImmediatePropagation",me=function(){var e="undefined"!=typeof Zone&&Zone[le("UNPATCHED_EVENTS")];if(e){var t={};return e.forEach(function(e){t[e]=e}),t}}(),ve=(t(ye,se=P),ye.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype[fe]){var e=Event.prototype[fe]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[he]=!0),e&&e.apply(this,arguments)}}},ye.prototype.supports=function(e){return!0},ye.prototype.addEventListener=function(e,t,n){var r=this,i=e[ue],o=n;if(!i||d.NgZone.isInAngularZone()&&!oe(t))e.addEventListener(t,o,!1);else{var a=pe[t];a=a||(pe[t]=le("ANGULAR"+t+"FALSE"));var s=e[a],l=s&&0<s.length;s=s||(e[a]=[]);var u=oe(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:o});else{for(var c=!1,p=0;p<s.length;p++)if(s[p].handler===o){c=!0;break}c||s.push({zone:u,handler:o})}l||e[ue](t,ae,!1)}return function(){return r.removeEventListener(e,t,o)}},ye.prototype.removeEventListener=function(e,t,n){var r=e[ce];if(!r)return e[de].apply(e,[t,n,!1]);var i=pe[t],o=i&&e[i];if(!o)return e[de].apply(e,[t,n,!1]);for(var a=!1,s=0;s<o.length;s++)if(o[s].handler===n){a=!0,o.splice(s,1);break}a?0===o.length&&r.apply(e,[t,ae,!1]):e[de].apply(e,[t,n,!1])},ye=i([d.Injectable(),o(0,d.Inject(l.DOCUMENT)),o(2,d.Optional()),o(2,d.Inject(d.PLATFORM_ID)),a("design:paramtypes",[Object,d.NgZone,Object])],ye));function ye(e,t,n){var r=se.call(this,e)||this;return r.ngZone=t,n&&l.isPlatformServer(n)||r.patchEvent(),r}var ge={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},_e=new d.InjectionToken("HammerGestureConfig"),be=new d.InjectionToken("HammerLoader"),we=(xe.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},xe=i([d.Injectable()],xe));function xe(){this.events=[],this.overrides={}}var Ce,Se=(t(Ee,Ce=P),Ee.prototype.supports=function(e){return!(!ge.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},Ee.prototype.addEventListener=function(n,r,i){var o=this,a=this.manager.getZone();if(r=r.toLowerCase(),window.Hammer||!this.loader)return a.runOutsideAngular(function(){function e(e){a.runGuarded(function(){i(e)})}var t=o._config.buildHammer(n);return t.on(r,e),function(){t.off(r,e),"function"==typeof t.destroy&&t.destroy()}});var e=!1,t=function(){e=!0};return this.loader().then(function(){if(!window.Hammer)return o.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(t=function(){});e||(t=o.addEventListener(n,r,i))}).catch(function(){o.console.warn('The "'+r+'" event cannot be bound because the custom Hammer.JS loader failed.'),t=function(){}}),function(){t()}},Ee.prototype.isCustomEvent=function(e){return-1<this._config.events.indexOf(e)},Ee=i([d.Injectable(),o(0,d.Inject(l.DOCUMENT)),o(1,d.Inject(_e)),o(3,d.Optional()),o(3,d.Inject(be)),a("design:paramtypes",[Object,we,d.ɵConsole,Object])],Ee));function Ee(e,t,n,r){var i=Ce.call(this,e)||this;return i._config=t,i.console=n,i.loader=r,i}var Oe=[{provide:D,useClass:Se,multi:!0,deps:[l.DOCUMENT,_e,d.ɵConsole,[new d.Optional,be]]},{provide:_e,useClass:we,deps:[]}],ke=Oe,De=Te=i([d.NgModule({providers:Oe})],Te);function Te(){}var Ie,Pe,Ae=["alt","control","meta","shift"],Me={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Re={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},Ne={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},je=(t(Fe,Ie=P),(Pe=Fe).prototype.supports=function(e){return null!=Pe.parseEventName(e)},Fe.prototype.addEventListener=function(e,t,n){var r=Pe.parseEventName(t),i=Pe.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return l.ɵgetDOM().onAndCancel(e,r.domEventName,i)})},Fe.parseEventName=function(e){var n=e.toLowerCase().split("."),t=n.shift();if(0===n.length||"keydown"!==t&&"keyup"!==t)return null;var r=Pe._normalizeKey(n.pop()),i="";if(Ae.forEach(function(e){var t=n.indexOf(e);-1<t&&(n.splice(t,1),i+=e+".")}),i+=r,0!=n.length||0===r.length)return null;var o={};return o.domEventName=t,o.fullKey=i,o},Fe.getEventFullKey=function(t){var n="",r=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Re.hasOwnProperty(t)&&(t=Re[t]))}return Me[t]||t}(t);return" "===(r=r.toLowerCase())?r="space":"."===r&&(r="dot"),Ae.forEach(function(e){e!=r&&(0,Ne[e])(t)&&(n+=e+".")}),n+=r},Fe.eventCallback=function(t,n,r){return function(e){Pe.getEventFullKey(e)===t&&r.runGuarded(function(){return n(e)})}},Fe._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},Fe=Pe=i([d.Injectable(),o(0,d.Inject(l.DOCUMENT)),a("design:paramtypes",[Object])],Fe));function Fe(e){return Ie.call(this,e)||this}var Le=(Ve.ɵprov=d.ɵɵdefineInjectable({factory:function(){return d.ɵɵinject(ze)},token:Ve,providedIn:"root"}),Ve=i([d.Injectable({providedIn:"root",useExisting:d.forwardRef(function(){return ze})})],Ve));function Ve(){}function Be(e){return new ze(e.get(l.DOCUMENT))}var Ue,ze=(t(qe,Ue=Le),qe.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case d.SecurityContext.NONE:return t;case d.SecurityContext.HTML:return d.ɵallowSanitizationBypassAndThrow(t,"HTML")?d.ɵunwrapSafeValue(t):d.ɵ_sanitizeHtml(this._doc,String(t));case d.SecurityContext.STYLE:return d.ɵallowSanitizationBypassAndThrow(t,"Style")?d.ɵunwrapSafeValue(t):d.ɵ_sanitizeStyle(t);case d.SecurityContext.SCRIPT:if(d.ɵallowSanitizationBypassAndThrow(t,"Script"))return d.ɵunwrapSafeValue(t);throw new Error("unsafe value used in a script context");case d.SecurityContext.URL:return d.ɵgetSanitizationBypassType(t),d.ɵallowSanitizationBypassAndThrow(t,"URL")?d.ɵunwrapSafeValue(t):d.ɵ_sanitizeUrl(String(t));case d.SecurityContext.RESOURCE_URL:if(d.ɵallowSanitizationBypassAndThrow(t,"ResourceURL"))return d.ɵunwrapSafeValue(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},qe.prototype.bypassSecurityTrustHtml=function(e){return d.ɵbypassSanitizationTrustHtml(e)},qe.prototype.bypassSecurityTrustStyle=function(e){return d.ɵbypassSanitizationTrustStyle(e)},qe.prototype.bypassSecurityTrustScript=function(e){return d.ɵbypassSanitizationTrustScript(e)},qe.prototype.bypassSecurityTrustUrl=function(e){return d.ɵbypassSanitizationTrustUrl(e)},qe.prototype.bypassSecurityTrustResourceUrl=function(e){return d.ɵbypassSanitizationTrustResourceUrl(e)},qe.ɵprov=d.ɵɵdefineInjectable({factory:function(){return Be(d.ɵɵinject(d.INJECTOR))},token:qe,providedIn:"root"}),qe=i([d.Injectable({providedIn:"root",useFactory:Be,deps:[d.Injector]}),o(0,d.Inject(l.DOCUMENT)),a("design:paramtypes",[Object])],qe));function qe(e){var t=Ue.call(this)||this;return t._doc=e,t}var He=l.ɵPLATFORM_BROWSER_ID,We=[{provide:d.PLATFORM_ID,useValue:He},{provide:d.PLATFORM_INITIALIZER,useValue:Ke,multi:!0},{provide:l.DOCUMENT,useFactory:Qe,deps:[]}],Ge=[{provide:d.Sanitizer,useExisting:Le},{provide:Le,useClass:ze,deps:[l.DOCUMENT]}],Ye=d.createPlatformFactory(d.platformCore,"browser",We);function Ke(){h.makeCurrent(),b.init()}function Ze(){return new d.ErrorHandler}function Qe(){return document}var Xe,$e=[Ge,{provide:d.ɵINJECTOR_SCOPE,useValue:"root"},{provide:d.ErrorHandler,useFactory:Ze,deps:[]},{provide:D,useClass:ve,multi:!0,deps:[l.DOCUMENT,d.NgZone,d.PLATFORM_ID]},{provide:D,useClass:je,multi:!0,deps:[l.DOCUMENT]},ke,{provide:Y,useClass:Y,deps:[T,j,d.APP_ID]},{provide:d.RendererFactory2,useExisting:Y},{provide:M,useExisting:j},{provide:j,useClass:j,deps:[l.DOCUMENT]},{provide:d.Testability,useClass:d.Testability,deps:[d.NgZone]},{provide:T,useClass:T,deps:[D,d.NgZone]},k],Je=((Xe=et).withServerTransition=function(e){return{ngModule:Xe,providers:[{provide:d.APP_ID,useValue:e.appId},{provide:y,useExisting:d.APP_ID},_]}},et=Xe=i([d.NgModule({providers:$e,exports:[l.CommonModule,d.ApplicationModule]}),o(0,d.Optional()),o(0,d.SkipSelf()),o(0,d.Inject(Xe)),a("design:paramtypes",[Object])],et));function et(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}function tt(){return new nt(d.ɵɵinject(l.DOCUMENT))}var nt=(rt.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},rt.prototype.addTags=function(e,n){var r=this;return void 0===n&&(n=!1),e?e.reduce(function(e,t){return t&&e.push(r._getOrCreateElement(t,n)),e},[]):[]},rt.prototype.getTag=function(e){return e&&this._doc.querySelector("meta["+e+"]")||null},rt.prototype.getTags=function(e){if(!e)return[];var t=this._doc.querySelectorAll("meta["+e+"]");return t?[].slice.call(t):[]},rt.prototype.updateTag=function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)},rt.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},rt.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},rt.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i},rt.prototype._setMetaElementAttributes=function(t,n){return Object.keys(t).forEach(function(e){return n.setAttribute(e,t[e])}),n},rt.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},rt.prototype._containsAttributes=function(t,n){return Object.keys(t).every(function(e){return n.getAttribute(e)===t[e]})},rt.ɵprov=d.ɵɵdefineInjectable({factory:tt,token:rt,providedIn:"root"}),rt=i([d.Injectable({providedIn:"root",useFactory:tt,deps:[]}),o(0,d.Inject(l.DOCUMENT)),a("design:paramtypes",[Object])],rt));function rt(e){this._doc=e,this._dom=l.ɵgetDOM()}function it(){return new ot(d.ɵɵinject(l.DOCUMENT))}var ot=(at.prototype.getTitle=function(){return this._doc.title},at.prototype.setTitle=function(e){this._doc.title=e||""},at.ɵprov=d.ɵɵdefineInjectable({factory:it,token:at,providedIn:"root"}),at=i([d.Injectable({providedIn:"root",useFactory:it,deps:[]}),o(0,d.Inject(l.DOCUMENT)),a("design:paramtypes",[Object])],at));function at(e){this._doc=e}var st="undefined"!=typeof window&&window||{},lt=function(e,t){this.msPerTick=e,this.numTicks=t},ut=(ct.prototype.timeChangeDetection=function(e){var t=e&&e.record,n="Change Detection",r=null!=st.console.profile;t&&r&&st.console.profile(n);for(var i=l.ɵgetDOM().performanceNow(),o=0;o<5||l.ɵgetDOM().performanceNow()-i<500;)this.appRef.tick(),o++;var a=l.ɵgetDOM().performanceNow();t&&r&&st.console.profileEnd(n);var s=(a-i)/o;return st.console.log("ran "+o+" change detection cycles"),st.console.log(s.toFixed(2)+" ms per check"),new lt(s,o)},ct);function ct(e){this.appRef=e.injector.get(d.ApplicationRef)}var pt,dt=((pt=ht).init=function(e){var t=new pt;return t.store=e,t},ht.prototype.get=function(e,t){return void 0!==this.store[e]?this.store[e]:t},ht.prototype.set=function(e,t){this.store[e]=t},ht.prototype.remove=function(e){delete this.store[e]},ht.prototype.hasKey=function(e){return this.store.hasOwnProperty(e)},ht.prototype.onSerialize=function(e,t){this.onSerializeCallbacks[e]=t},ht.prototype.toJson=function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)},ht=pt=i([d.Injectable()],ht));function ht(){this.store={},this.onSerializeCallbacks={}}function ft(e,t){var n=e.getElementById(t+"-state"),r={};if(n&&n.textContent)try{r=JSON.parse(function(e){var t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,function(e){return t[e]})}(n.textContent))}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return dt.init(r)}var mt=vt=i([d.NgModule({providers:[{provide:dt,useFactory:ft,deps:[l.DOCUMENT,d.APP_ID]}]})],vt);function vt(){}var yt=(gt.all=function(){return function(){return!0}},gt.css=function(t){return function(e){return null!=e.nativeElement&&function(e,t){return!!l.ɵgetDOM().isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}(e.nativeElement,t)}},gt.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},gt);function gt(){}var _t=new d.Version("9.0.0-next.12");e.ɵgetDOM=l.ɵgetDOM,e.ɵangular_packages_platform_browser_platform_browser_c=$e,e.ɵangular_packages_platform_browser_platform_browser_b=Qe,e.ɵangular_packages_platform_browser_platform_browser_a=Ze,e.ɵangular_packages_platform_browser_platform_browser_o=u,e.ɵangular_packages_platform_browser_platform_browser_d=tt,e.ɵangular_packages_platform_browser_platform_browser_l=_,e.ɵangular_packages_platform_browser_platform_browser_k=g,e.ɵangular_packages_platform_browser_platform_browser_e=it,e.ɵangular_packages_platform_browser_platform_browser_f=ft,e.ɵangular_packages_platform_browser_platform_browser_n=O,e.ɵangular_packages_platform_browser_platform_browser_m=E,e.ɵangular_packages_platform_browser_platform_browser_g=P,e.ɵangular_packages_platform_browser_platform_browser_i=ke,e.ɵangular_packages_platform_browser_platform_browser_h=Oe,e.ɵangular_packages_platform_browser_platform_browser_j=Be,e.BrowserModule=Je,e.platformBrowser=Ye,e.Meta=nt,e.Title=ot,e.disableDebugTools=function(){x("profiler",null)},e.enableDebugTools=function(e){return x("profiler",new ut(e)),e},e.BrowserTransferStateModule=mt,e.TransferState=dt,e.makeStateKey=function(e){return e},e.By=yt,e.EVENT_MANAGER_PLUGINS=D,e.EventManager=T,e.HAMMER_GESTURE_CONFIG=_e,e.HAMMER_LOADER=be,e.ɵHAMMER_PROVIDERS__POST_R3__=[],e.HammerGestureConfig=we,e.HammerModule=De,e.DomSanitizer=Le,e.VERSION=_t,e.ɵELEMENT_PROBE_PROVIDERS__POST_R3__=[],e.ɵBROWSER_SANITIZATION_PROVIDERS=Ge,e.ɵBROWSER_SANITIZATION_PROVIDERS__POST_R3__=[],e.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS=We,e.ɵinitDomAdapter=Ke,e.ɵBrowserDomAdapter=h,e.ɵTRANSITION_ID=y,e.ɵBrowserGetTestability=b,e.ɵescapeHtml=function(e){var t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,function(e){return t[e]})},e.ɵELEMENT_PROBE_PROVIDERS=k,e.ɵDomRendererFactory2=Y,e.ɵNAMESPACE_URIS=L,e.ɵflattenStyles=W,e.ɵshimContentAttribute=q,e.ɵshimHostAttribute=H,e.ɵDomEventsPlugin=ve,e.ɵHammerGesturesPlugin=Se,e.ɵKeyEventsPlugin=je,e.ɵDomSharedStylesHost=j,e.ɵSharedStylesHost=M,e.ɵDomSanitizerImpl=ze,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):System.registerDynamic("npm:@angular/animations/bundles/animations.umd.js",[],!1,function(e,t,n){return r.call(t,t)})}(0,function(e){"use strict";function t(){}function n(){}function a(e){Promise.resolve(null).then(e)}var r=(i.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},i.prototype.onStart=function(e){this._onStartFns.push(e)},i.prototype.onDone=function(e){this._onDoneFns.push(e)},i.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},i.prototype.hasStarted=function(){return this._started},i.prototype.init=function(){},i.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},i.prototype.triggerMicrotask=function(){var e=this;a(function(){return e._onFinish()})},i.prototype._onStart=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},i.prototype.pause=function(){},i.prototype.restart=function(){},i.prototype.finish=function(){this._onFinish()},i.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},i.prototype.reset=function(){},i.prototype.setPosition=function(e){},i.prototype.getPosition=function(){return 0},i.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},i);function i(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}var o=(s.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},s.prototype.init=function(){this.players.forEach(function(e){return e.init()})},s.prototype.onStart=function(e){this._onStartFns.push(e)},s.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])},s.prototype.onDone=function(e){this._onDoneFns.push(e)},s.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},s.prototype.hasStarted=function(){return this._started},s.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})},s.prototype.pause=function(){this.players.forEach(function(e){return e.pause()})},s.prototype.restart=function(){this.players.forEach(function(e){return e.restart()})},s.prototype.finish=function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})},s.prototype.destroy=function(){this._onDestroy()},s.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},s.prototype.reset=function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},s.prototype.setPosition=function(e){var n=e*this.totalTime;this.players.forEach(function(e){var t=e.totalTime?Math.min(1,n/e.totalTime):1;e.setPosition(t)})},s.prototype.getPosition=function(){var n=0;return this.players.forEach(function(e){var t=e.getPosition();n=Math.min(t,n)}),n},s.prototype.beforeDestroy=function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})},s.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},s);function s(e){var t=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var n=0,r=0,i=0,o=this.players.length;0==o?a(function(){return t._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++n==o&&t._onFinish()}),e.onDestroy(function(){++r==o&&t._onDestroy()}),e.onStart(function(){++i==o&&t._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}e.AnimationBuilder=t,e.AnimationFactory=n,e.AUTO_STYLE="*",e.animate=function(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}},e.animateChild=function(e){return void 0===e&&(e=null),{type:9,options:e}},e.animation=function(e,t){return void 0===t&&(t=null),{type:8,animation:e,options:t}},e.group=function(e,t){return void 0===t&&(t=null),{type:3,steps:e,options:t}},e.keyframes=function(e){return{type:5,steps:e}},e.query=function(e,t,n){return void 0===n&&(n=null),{type:11,selector:e,animation:t,options:n}},e.sequence=function(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}},e.stagger=function(e,t){return{type:12,timings:e,animation:t}},e.state=function(e,t,n){return{type:0,name:e,styles:t,options:n}},e.style=function(e){return{type:6,styles:e,offset:null}},e.transition=function(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}},e.trigger=function(e,t){return{type:7,name:e,definitions:t,options:{}}},e.useAnimation=function(e,t){return void 0===t&&(t=null),{type:10,animation:e,options:t}},e.NoopAnimationPlayer=r,e.ɵPRE_STYLE="!",e.ɵAnimationGroupPlayer=o,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/animations"),require("@angular/core")):System.registerDynamic("npm:@angular/animations/bundles/animations-browser.umd.js",["@angular/animations","@angular/core"],!1,function(e,t,n){return r.call(t,t,e("@angular/animations"),e("@angular/core"))})}(0,function(e,q,t){"use strict";var r=function(e,t){return(r=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])})(e,t)};function n(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var H=function(){return(H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function h(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function W(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e}function o(){return"undefined"!=typeof process}function G(e){switch(e.length){case 0:return new q.NoopAnimationPlayer;case 1:return e[0];default:return new q.ɵAnimationGroupPlayer(e)}}function w(e,o,t,n,a,s){void 0===a&&(a={}),void 0===s&&(s={});var l=[],u=[],c=-1,p=null;if(n.forEach(function(r){var e=r.offset,t=e==c,i=t&&p||{};Object.keys(r).forEach(function(e){var t=e,n=r[e];if("offset"!==e)switch(t=o.normalizePropertyName(t,l),n){case q.ɵPRE_STYLE:n=a[e];break;case q.AUTO_STYLE:n=s[e];break;default:n=o.normalizeStyleValue(e,t,n,l)}i[t]=n}),t||u.push(i),p=i,c=e}),l.length){throw new Error("Unable to animate due to the following errors:\n - "+l.join("\n - "))}return u}function s(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&i(n,"start",e))});break;case"done":e.onDone(function(){return r(n&&i(n,"done",e))});break;case"destroy":e.onDestroy(function(){return r(n&&i(n,"destroy",e))})}}function i(e,t,n){var r=n.totalTime,i=!!n.disabled,o=u(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,i),a=e._data;return null!=a&&(o._data=a),o}function u(e,t,n,r,i,o,a){return void 0===i&&(i=""),void 0===o&&(o=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function Y(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):r=(r=e[t])||(e[t]=n),r}function c(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var a=function(e,t){return!1},p=function(e,t){return!1},d=function(e,t,n){return[]},f=o();!f&&"undefined"==typeof Element||(a=function(e,t){return e.contains(t)},p=function(){if(f||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,n=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return n?function(e,t){return n.apply(e,[t])}:p}(),d=function(e,t,n){var r=[];if(n)r.push.apply(r,W(e.querySelectorAll(t)));else{var i=e.querySelector(t);i&&r.push(i)}return r});var m=null,v=!1;function y(e){m||(m=("undefined"==typeof document?null:document.body)||{},v=!!m.style&&"WebkitAppearance"in m.style);var t=!0;m.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in m.style)&&v&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in m.style);return t}var g=p,_=a,b=d;function x(n){var r={};return Object.keys(n).forEach(function(e){var t=e.replace(/([a-z])([A-Z])/g,"$1-$2");r[t]=n[e]}),r}var C=(S.prototype.validateStyleProperty=function(e){return y(e)},S.prototype.matchesElement=function(e,t){return g(e,t)},S.prototype.containsElement=function(e,t){return _(e,t)},S.prototype.query=function(e,t,n){return b(e,t,n)},S.prototype.computeStyle=function(e,t,n){return n||""},S.prototype.animate=function(e,t,n,r,i,o,a){return void 0===o&&(o=[]),new q.NoopAnimationPlayer(n,r)},S=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}([t.Injectable()],S));function S(){}var E=(O.NOOP=new C,O);function O(){}var k=1e3,K="ng-enter",Z="ng-leave",D="ng-trigger",T=".ng-trigger",I="ng-animating",Q=".ng-animating";function P(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:A(parseFloat(t[1]),t[2])}function A(e,t){switch(t){case"s":return e*k;default:return e}}function M(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=A(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=A(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else r=e;if(!n){var u=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(c,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:i,easing:o}}(e,t,n)}function R(t,n){return void 0===n&&(n={}),Object.keys(t).forEach(function(e){n[e]=t[e]}),n}function N(e){var t={};return Array.isArray(e)?e.forEach(function(e){return j(e,!1,t)}):j(e,!1,t),t}function j(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else R(e,n);return n}function F(e,t,n){return n?t+":"+n+";":""}function L(e){for(var t="",n=0;n<e.style.length;n++){t+=F(0,r=e.style.item(n),e.style.getPropertyValue(r))}for(var r in e.style){if(e.style.hasOwnProperty(r)&&!r.startsWith("_"))t+=F(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[r])}e.setAttribute("style",t)}function X(n,r,i){n.style&&(Object.keys(r).forEach(function(e){var t=te(e);i&&!i.hasOwnProperty(e)&&(i[e]=n.style[t]),n.style[t]=r[e]}),o()&&L(n))}function $(n,e){n.style&&(Object.keys(e).forEach(function(e){var t=te(e);n.style[t]=""}),o()&&L(n))}function V(e){return Array.isArray(e)?1==e.length?e[0]:q.sequence(e):e}var B=new RegExp("{{\\s*(.+?)\\s*}}","g");function U(e){var t=[];if("string"==typeof e){for(var n=void 0;n=B.exec(e);)t.push(n[1]);B.lastIndex=0}return t}function z(e,r,i){var t=e.toString(),n=t.replace(B,function(e,t){var n=r[t];return r.hasOwnProperty(t)||(i.push("Please provide a value for the animation param "+t),n=""),n.toString()});return n==t?e:n}function J(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var ee=/-+([a-z0-9])/g;function te(e){return e.replace(ee,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[1].toUpperCase()})}function ne(e,t){return 0===e||0===t}function re(n,e,t){var r=Object.keys(t);if(r.length&&e.length){var i=e[0],o=[];if(r.forEach(function(e){i.hasOwnProperty(e)||o.push(e),i[e]=t[e]}),o.length)for(var a=function(){var t=e[s];o.forEach(function(e){t[e]=oe(n,e)})},s=1;s<e.length;s++)a()}return e}function ie(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function oe(e,t){return window.getComputedStyle(e)[t]}var ae="*";function se(e,t){var n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'+e+'" is not supported'),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var o=i[1],a=i[2],s=i[3];t.push(ce(o,s));var l=o==ae&&s==ae;"<"!=a[0]||l||t.push(ce(s,o))}(e,n,t)}):n.push(e),n}var le=new Set(["true","1"]),ue=new Set(["false","0"]);function ce(i,o){var a=le.has(i)||ue.has(i),s=le.has(o)||ue.has(o);return function(e,t){var n=i==ae||i==e,r=o==ae||o==t;return!n&&a&&"boolean"==typeof e&&(n=e?le.has(i):ue.has(i)),!r&&s&&"boolean"==typeof t&&(r=t?le.has(o):ue.has(o)),n&&r}}var pe=new RegExp("s*:selfs*,?","g");function de(e,t,n){return new he(e).build(t,n)}var he=(fe.prototype.build=function(e,t){var n=new me(t);return this._resetContextStyleTimingState(n),ie(this,V(e),n)},fe.prototype._resetContextStyleTimingState=function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0},fe.prototype.visitTrigger=function(e,i){var o=this,a=i.queryCount=0,s=i.depCount=0,l=[],u=[];return"@"==e.name.charAt(0)&&i.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(function(e){if(o._resetContextStyleTimingState(i),0==e.type){var t=e,n=t.name;n.toString().split(/\s*,\s*/).forEach(function(e){t.name=e,l.push(o.visitState(t,i))}),t.name=n}else if(1==e.type){var r=o.visitTransition(e,i);a+=r.queryCount,s+=r.depCount,u.push(r)}else i.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:l,transitions:u,queryCount:a,depCount:s,options:null}},fe.prototype.visitState=function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(e){if(ve(e)){var t=e;Object.keys(t).forEach(function(e){U(t[e]).forEach(function(e){o.hasOwnProperty(e)||i.add(e)})})}}),i.size){var a=J(i.values());t.errors.push('state("'+e.name+'", ...) must define default values for all the following style substitutions: '+a.join(", "))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}},fe.prototype.visitTransition=function(e,t){t.queryCount=0,t.depCount=0;var n=ie(this,V(e.animation),t);return{type:1,matchers:se(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ye(e.options)}},fe.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return ie(n,e,t)}),options:ye(e.options)}},fe.prototype.visitGroup=function(e,n){var r=this,i=n.currentTime,o=0,t=e.steps.map(function(e){n.currentTime=i;var t=ie(r,e,n);return o=Math.max(o,n.currentTime),t});return n.currentTime=o,{type:3,steps:t,options:ye(e.options)}},fe.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return ge(M(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var i=ge(0,0,"");return i.dynamic=!0,i.strValue=r,i}return ge((n=n||M(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:q.style({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=q.style(s)}t.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}return{type:4,timings:r,style:n,options:t.currentAnimateTimings=null}},fe.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},fe.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==q.AUTO_STYLE?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)}):n.push(e.styles);var i=!1,o=null;return n.forEach(function(e){if(ve(e)){var t=e,n=t.easing;if(n&&(o=n,delete t.easing),!i)for(var r in t)if(0<=t[r].toString().indexOf("{{")){i=!0;break}}}),{type:6,styles:n,easing:o,offset:e.offset,containsDynamicStyles:i,options:null}},fe.prototype._validateStyleAst=function(e,o){var a=this,t=o.currentAnimateTimings,s=o.currentTime,l=o.currentTime;t&&0<l&&(l-=t.duration+t.delay),e.styles.forEach(function(i){"string"!=typeof i&&Object.keys(i).forEach(function(e){if(a._driver.validateStyleProperty(e)){var t=o.collectedStyles[o.currentQuerySelector],n=t[e],r=!0;n&&(l!=s&&l>=n.startTime&&s<=n.endTime&&(o.errors.push('The CSS property "'+e+'" that exists between the times of "'+n.startTime+'ms" and "'+n.endTime+'ms" is also being animated in a parallel animation between the times of "'+l+'ms" and "'+s+'ms"'),r=!1),l=n.startTime),r&&(t[e]={startTime:l,endTime:s}),o.options&&function(e,t,n){var r=t.params||{},i=U(e);i.length&&i.forEach(function(e){r.hasOwnProperty(e)||n.push("Unable to resolve the local animation param "+e+" in the given list of values")})}(i[e],o.options,o.errors)}else o.errors.push('The provided animation property "'+e+'" is not a supported CSS property for animations')})})},fe.prototype.visitKeyframes=function(e,i){var o=this,a={type:5,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push("keyframes() must be placed inside of a call to animate()"),a;var s=0,l=[],u=!1,c=!1,p=0,t=e.steps.map(function(e){var t=o._makeStyleAst(e,i),n=null!=t.offset?t.offset:function(e){if("string"==typeof e)return null;var n=null;if(Array.isArray(e))e.forEach(function(e){if(ve(e)&&e.hasOwnProperty("offset")){var t=e;n=parseFloat(t.offset),delete t.offset}});else if(ve(e)&&e.hasOwnProperty("offset")){var t=e;n=parseFloat(t.offset),delete t.offset}return n}(t.styles),r=0;return null!=n&&(s++,r=t.offset=n),c=c||r<0||1<r,u=u||r<p,p=r,l.push(r),t});c&&i.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),u&&i.errors.push("Please ensure that all keyframe offsets are in order");var n=e.steps.length,d=0;0<s&&s<n?i.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==s&&(d=1/(n-1));var h=n-1,f=i.currentTime,m=i.currentAnimateTimings,v=m.duration;return t.forEach(function(e,t){var n=0<d?t==h?1:d*t:l[t],r=n*v;i.currentTime=f+m.delay+r,m.duration=r,o._validateStyleAst(e,i),e.offset=n,a.styles.push(e)}),a},fe.prototype.visitReference=function(e,t){return{type:8,animation:ie(this,V(e.animation),t),options:ye(e.options)}},fe.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:ye(e.options)}},fe.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ye(e.options)}},fe.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++;var i=l(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(pe,"")),[e=e.replace(/@\*/g,T).replace(/@\w+/g,function(e){return T+"-"+e.substr(1)}).replace(/:animating/g,Q),t]}((t.currentQuery=e).selector),2),o=i[0],a=i[1];t.currentQuerySelector=n.length?n+" "+o:o,Y(t.collectedStyles,t.currentQuerySelector,{});var s=ie(this,V(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:ye(e.options)}},fe.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:M(e.timings,t.errors,!0);return{type:12,animation:ie(this,V(e.animation),t),timings:n,options:null}},fe);function fe(e){this._driver=e}var me=function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function ve(e){return!Array.isArray(e)&&"object"==typeof e}function ye(e){return e?(e=R(e)).params&&(e.params=function(e){return e?R(e):null}(e.params)):e={},e}function ge(e,t,n){return{duration:e,delay:t,easing:n}}function _e(e,t,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var be=(we.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},we.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,W(t))},we.prototype.has=function(e){return this._map.has(e)},we.prototype.clear=function(){this._map.clear()},we);function we(){this._map=new Map}var xe=new RegExp(":enter","g"),Ce=new RegExp(":leave","g");function Se(e,t,n,r,i,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new Ee).buildKeyframes(e,t,n,r,i,o,a,s,l,u)}var Ee=(Oe.prototype.buildKeyframes=function(e,t,n,r,i,o,a,s,l,u){void 0===u&&(u=[]),l=l||new be;var c=new De(e,t,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),ie(this,n,c);var p=c.timelines.filter(function(e){return e.containsAnimation()});if(p.length&&Object.keys(a).length){var d=p[p.length-1];d.allowOnlyTimelineStyles()||d.setStyles([a],null,c.errors,s)}return p.length?p.map(function(e){return e.buildKeyframes()}):[_e(t,[],[],[],0,0,"",!1)]},Oe.prototype.visitTrigger=function(e,t){},Oe.prototype.visitState=function(e,t){},Oe.prototype.visitTransition=function(e,t){},Oe.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e},Oe.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},Oe.prototype._visitSubInstructions=function(e,n,t){var r=n.currentTimeline.currentTime,i=null!=t.duration?P(t.duration):null,o=null!=t.delay?P(t.delay):null;return 0!==i&&e.forEach(function(e){var t=n.appendInstructionToTimeline(e,i,o);r=Math.max(r,t.duration+t.delay)}),r},Oe.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),ie(this,e.animation,t),t.previousNode=e},Oe.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ke);var a=P(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return ie(n,e,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e},Oe.prototype.visitGroup=function(n,r){var i=this,o=[],a=r.currentTimeline.currentTime,s=n.options&&n.options.delay?P(n.options.delay):0;n.steps.forEach(function(e){var t=r.createSubContext(n.options);s&&t.delayNextStep(s),ie(i,e,t),a=Math.max(a,t.currentTimeline.currentTime),o.push(t.currentTimeline)}),o.forEach(function(e){return r.currentTimeline.mergeTimelineCollectedStyles(e)}),r.transformIntoNewTimeline(a),r.previousNode=n},Oe.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return M(t.params?z(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},Oe.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},Oe.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e},Oe.prototype.visitKeyframes=function(e,n){var t=n.currentAnimateTimings,r=n.currentTimeline.duration,i=t.duration,o=n.createSubContext().currentTimeline;o.easing=t.easing,e.styles.forEach(function(e){var t=e.offset||0;o.forwardTime(t*i),o.setStyles(e.styles,e.easing,n.errors,n.options),o.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(o),n.transformIntoNewTimeline(r+i),n.previousNode=e},Oe.prototype.visitQuery=function(i,o){var a=this,e=o.currentTimeline.currentTime,t=i.options||{},s=t.delay?P(t.delay):0;s&&(6===o.previousNode.type||0==e&&o.currentTimeline.getCurrentStyleProperties().length)&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=ke);var l=e,n=o.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!t.optional,o.errors);o.currentQueryTotal=n.length;var u=null;n.forEach(function(e,t){o.currentQueryIndex=t;var n=o.createSubContext(i.options,e);s&&n.delayNextStep(s),e===o.element&&(u=n.currentTimeline),ie(a,i.animation,n),n.currentTimeline.applyStylesToKeyframe();var r=n.currentTimeline.currentTime;l=Math.max(l,r)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(l),u&&(o.currentTimeline.mergeTimelineCollectedStyles(u),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=i},Oe.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;ie(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},Oe);function Oe(){}var ke={},De=(Object.defineProperty(Te.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),Te.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=P(r.duration)),null!=r.delay&&(i.delay=P(r.delay));var o=r.params;if(o){var a=i.params;a=a||(this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=z(o[e],a,n.errors))})}}},Te.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e},Te.prototype.createSubContext=function(e,t,n){void 0===e&&(e=null);var r=t||this.element,i=new Te(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,(i.parentContext=this).subContextCount++,i},Te.prototype.transformIntoNewTimeline=function(e){return this.previousNode=ke,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},Te.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new Me(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r},Te.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},Te.prototype.delayNextStep=function(e){0<e&&this.currentTimeline.delayNextStep(e)},Te.prototype.invokeQuery=function(e,t,n,r,i,o){var a=[];if(r&&a.push(this.element),0<e.length){e=(e=e.replace(xe,"."+this._enterClassName)).replace(Ce,"."+this._leaveClassName);var s=1!=n,l=this._driver.query(this.element,e,s);0!==n&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),a.push.apply(a,W(l))}return i||0!=a.length||o.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),a},Te);function Te(e,t,n,r,i,o,a,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ke,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new Ie(this._driver,t,0),a.push(this.currentTimeline)}var Ie=(Pe.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this.getCurrentStyleProperties().length;default:return!0}},Pe.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(Pe.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),Pe.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},Pe.prototype.fork=function(e,t){return this.applyStylesToKeyframe(),new Pe(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)},Pe.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},Pe.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},Pe.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},Pe.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},Pe.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},Pe.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||q.AUTO_STYLE,t._currentKeyframe[e]=q.AUTO_STYLE}),this._currentEmptyStepKeyframe=this._currentKeyframe},Pe.prototype.setStyles=function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},a=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=q.AUTO_STYLE}):j(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(a).forEach(function(e){var t=z(a[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:q.AUTO_STYLE),i._updateStyle(e,t)})},Pe.prototype.applyStylesToKeyframe=function(){var n=this,r=this._pendingStyles,e=Object.keys(r);0!=e.length&&(this._pendingStyles={},e.forEach(function(e){var t=r[e];n._currentKeyframe[e]=t}),Object.keys(this._localTimelineStyles).forEach(function(e){n._currentKeyframe.hasOwnProperty(e)||(n._currentKeyframe[e]=n._localTimelineStyles[e])}))},Pe.prototype.snapshotCurrentStyles=function(){var n=this;Object.keys(this._localTimelineStyles).forEach(function(e){var t=n._localTimelineStyles[e];n._pendingStyles[e]=t,n._updateStyle(e,t)})},Pe.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(Pe.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),Pe.prototype.mergeTimelineCollectedStyles=function(r){var i=this;Object.keys(r._styleSummary).forEach(function(e){var t=i._styleSummary[e],n=r._styleSummary[e];(!t||n.time>t.time)&&i._updateStyle(e,n.value)})},Pe.prototype.buildKeyframes=function(){var r=this;this.applyStylesToKeyframe();var i=new Set,o=new Set,a=1===this._keyframes.size&&0===this.duration,s=[];this._keyframes.forEach(function(e,t){var n=j(e,!0);Object.keys(n).forEach(function(e){var t=n[e];t==q.ɵPRE_STYLE?i.add(e):t==q.AUTO_STYLE&&o.add(e)}),a||(n.offset=t/r.duration),s.push(n)});var e=i.size?J(i.values()):[],t=o.size?J(o.values()):[];if(a){var n=s[0],l=R(n);n.offset=0,l.offset=1,s=[n,l]}return _e(this.element,s,e,t,this.duration,this.startTime,this.easing,!1)},Pe);function Pe(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}var Ae,Me=(n(Re,Ae=Ie),Re.prototype.containsAnimation=function(){return 1<this.keyframes.length},Re.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,l=j(e[0],!1);l.offset=0,o.push(l);var u=j(e[0],!1);u.offset=Ne(s),o.push(u);for(var c=e.length-1,p=1;p<=c;p++){var d=j(e[p],!1),h=n+d.offset*r;d.offset=Ne(h/a),o.push(d)}r=a,n=0,i="",e=o}return _e(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)},Re);function Re(e,t,n,r,i,o,a){void 0===a&&(a=!1);var s=Ae.call(this,e,t,o.delay)||this;return s.element=t,s.keyframes=n,s.preStyleProps=r,s.postStyleProps=i,s._stretchStartingKeyframe=a,s.timings={duration:o.duration,delay:o.delay,easing:o.easing},s}function Ne(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var je=(Fe.prototype.buildTimelines=function(e,t,n,r,i){var o=Array.isArray(t)?N(t):t,a=Array.isArray(n)?N(n):n,s=[];i=i||new be;var l=Se(this._driver,e,this._animationAst,K,Z,o,a,r,i,s);if(s.length){var u="animation building failed:\n"+s.join("\n");throw new Error(u)}return l},Fe);function Fe(e,t){var n=[],r=de(this._driver=e,t,n);if(n.length){var i="animation validation failed:\n"+n.join("\n");throw new Error(i)}this._animationAst=r}function Le(){}var Ve=(Be.prototype.normalizePropertyName=function(e,t){return e},Be.prototype.normalizeStyleValue=function(e,t,n,r){return n},Be);function Be(){}var Ue,ze=(n(qe,Ue=Le),qe.prototype.normalizePropertyName=function(e,t){return te(e)},qe.prototype.normalizeStyleValue=function(e,t,n,r){var i="",o=n.toString().trim();if(Ge[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return o+i},qe);function qe(){return null!==Ue&&Ue.apply(this,arguments)||this}var He,We,Ge=(He="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),We={},He.forEach(function(e){return We[e]=!0}),We);function Ye(e,t,n,r,i,o,a,s,l,u,c,p,d){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:p,errors:d}}var Ke={},Ze=(Qe.prototype.match=function(e,t,n,r){return function(e,t,n,r,i){return e.some(function(e){return e(t,n,r,i)})}(this.ast.matchers,e,t,n,r)},Qe.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o},Qe.prototype.build=function(e,i,t,n,r,o,a,s,l,u){var c=[],p=this.ast.options&&this.ast.options.params||Ke,d=a&&a.params||Ke,h=this.buildStyles(t,d,c),f=s&&s.params||Ke,m=this.buildStyles(n,f,c),v=new Set,y=new Map,g=new Map,_="void"===n,b={params:H(H({},p),f)},w=u?[]:Se(e,i,this.ast.animation,r,o,h,m,b,l,c),x=0;if(w.forEach(function(e){x=Math.max(e.duration+e.delay,x)}),c.length)return Ye(i,this._triggerName,t,n,_,h,m,[],[],y,g,x,c);w.forEach(function(e){var t=e.element,n=Y(y,t,{});e.preStyleProps.forEach(function(e){return n[e]=!0});var r=Y(g,t,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),t!==i&&v.add(t)});var C=J(v.values());return Ye(i,this._triggerName,t,n,_,h,m,w,C,y,g,x)},Qe);function Qe(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}var Xe=($e.prototype.buildStyles=function(n,r){var i={},o=R(this.defaultParams);return Object.keys(n).forEach(function(e){var t=n[e];null!=t&&(o[e]=t)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var n=e;Object.keys(n).forEach(function(e){var t=n[e];1<t.length&&(t=z(t,o,r)),i[e]=t})}}),i},$e);function $e(e,t){this.styles=e,this.defaultParams=t}var Je=(Object.defineProperty(et.prototype,"containsQueries",{get:function(){return 0<this.ast.queryCount},enumerable:!0,configurable:!0}),et.prototype.matchTransition=function(t,n,r,i){return this.transitionFactories.find(function(e){return e.match(t,n,r,i)})||null},et.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},et);function et(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(e){var t=e.options&&e.options.params||{};n.states[e.name]=new Xe(e.style,t)}),tt(this.states,"true","1"),tt(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new Ze(t,e,n.states))}),this.fallbackTransition=function(e,t){return new Ze(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},t)}(t,this.states)}function tt(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var nt=new be,rt=(it.prototype.register=function(e,t){var n=[],r=de(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},it.prototype._buildPlayer=function(e,t,n){var r=e.element,i=w(this._driver,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)},it.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var i,o=[],a=this._animations[e],s=new Map;if(a?(i=Se(this._driver,t,a,K,Z,{},{},n,nt,o)).forEach(function(e){var t=Y(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(t,n){Object.keys(t).forEach(function(e){t[e]=r._driver.computeStyle(n,e,q.AUTO_STYLE)})});var l=G(i.map(function(e){var t=s.get(e.element);return r._buildPlayer(e,{},t)}));return(this._playersById[e]=l).onDestroy(function(){return r.destroy(e)}),this.players.push(l),l},it.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);0<=n&&this.players.splice(n,1)},it.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},it.prototype.listen=function(e,t,n,r){var i=u(t,"","","");return s(this._getPlayer(e),n,i,r),function(){}},it.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else{var o=r[0]||{};this.create(e,t,o)}else this.register(e,r[0])},it);function it(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}var ot="ng-animate-queued",at="ng-animate-disabled",st=".ng-animate-disabled",lt=[],ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ct={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},pt="__ng_removed",dt=(Object.defineProperty(ht.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),ht.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}},ht);function ht(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=function(e){return null!=e?e:null}(r),n){var i=R(e);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}var ft="void",mt=new dt(ft),vt=(yt.prototype.listen=function(e,t,n,r){var i=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if(!function(e){return"start"==e||"done"==e}(n))throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var o=Y(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};o.push(a);var s=Y(this._engine.statesByElement,e,{});return s.hasOwnProperty(t)||(kt(e,D),kt(e,D+"-"+t),s[t]=mt),function(){i._engine.afterFlush(function(){var e=o.indexOf(a);0<=e&&o.splice(e,1),i._triggers[t]||delete s[t]})}},yt.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},yt.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},yt.prototype.trigger=function(r,t,e,n){var i=this;void 0===n&&(n=!0);var o=this._getTrigger(t),a=new bt(this.id,t,r),s=this._engine.statesByElement.get(r);s||(kt(r,D),kt(r,D+"-"+t),this._engine.statesByElement.set(r,s={}));var l=s[t],u=new dt(e,this.id);if(e&&e.hasOwnProperty("value")||!l||u.absorbOptions(l.options),s[t]=u,l=l||mt,u.value===ft||l.value!==u.value){var c=Y(this._engine.playersByElement,r,[]);c.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var p=o.matchTransition(l.value,u.value,r,u.params),d=!1;if(!p){if(!n)return;p=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:r,triggerName:t,transition:p,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(kt(r,ot),a.onStart(function(){Dt(r,ot)})),a.onDone(function(){var e=i.players.indexOf(a);0<=e&&i.players.splice(e,1);var t=i._engine.playersByElement.get(r);if(t){var n=t.indexOf(a);0<=n&&t.splice(n,1)}}),this.players.push(a),c.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return 0;for(var i=0;i<n.length;i++){var o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return 0}return 1}(l.params,u.params)){var h=[],f=o.matchStyles(l.value,l.params,h),m=o.matchStyles(u.value,u.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(function(){$(r,f),X(r,m)})}},yt.prototype.deregister=function(n){var r=this;delete this._triggers[n],this._engine.statesByElement.forEach(function(e,t){delete e[n]}),this._elementListeners.forEach(function(e,t){r._elementListeners.set(t,e.filter(function(e){return e.name!=n}))})},yt.prototype.clearElementCache=function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(e){return e.destroy()}),this._engine.playersByElement.delete(e))},yt.prototype._signalRemovalForInnerTriggers=function(e,n,t){var r=this;void 0===t&&(t=!1),this._engine.driver.query(e,T,!0).forEach(function(t){if(!t[pt]){var e=r._engine.fetchNamespacesByElement(t);e.size?e.forEach(function(e){return e.triggerLeaveAnimation(t,n,!1,!0)}):r.clearElementCache(t)}})},yt.prototype.triggerLeaveAnimation=function(n,e,t,r){var i=this,o=this._engine.statesByElement.get(n);if(o){var a=[];if(Object.keys(o).forEach(function(e){if(i._triggers[e]){var t=i.trigger(n,e,ft,r);t&&a.push(t)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e),t&&G(a).onDone(function(){return i._engine.processLeaveNode(n)}),!0}return!1},yt.prototype.prepareLeaveAnimationListeners=function(a){var s=this,e=this._elementListeners.get(a);if(e){var l=new Set;e.forEach(function(e){var t=e.name;if(!l.has(t)){l.add(t);var n=s._triggers[t].fallbackTransition,r=s._engine.statesByElement.get(a)[t]||mt,i=new dt(ft),o=new bt(s.id,t,a);s._engine.totalQueuedPlayers++,s._queue.push({element:a,triggerName:t,transition:n,fromState:r,toState:i,player:o,isFallbackTransition:!0})}})}},yt.prototype.removeNode=function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t,!0),!this.triggerLeaveAnimation(e,t,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else for(var a=e;a=a.parentNode;)if(r.statesByElement.get(a)){i=!0;break}}this.prepareLeaveAnimationListeners(e),i?r.markElementAsRemoved(this.id,e,!1,t):(r.afterFlush(function(){return n.clearElementCache(e)}),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}},yt.prototype.insertNode=function(e,t){kt(e,this._hostClassName)},yt.prototype.drainQueuedTransitions=function(i){var o=this,a=[];return this._queue.forEach(function(n){var e=n.player;if(!e.destroyed){var r=n.element,t=o._elementListeners.get(r);t&&t.forEach(function(e){if(e.name==n.triggerName){var t=u(r,n.triggerName,n.fromState.value,n.toState.value);t._data=i,s(n.player,e.phase,t,e.callback)}}),e.markedForDestroy?o._engine.afterFlush(function(){e.destroy()}):a.push(n)}}),this._queue=[],a.sort(function(e,t){var n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:o._engine.driver.containsElement(e.element,t.element)?1:-1})},yt.prototype.destroy=function(e){this.players.forEach(function(e){return e.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)},yt.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(function(e){return e.element===t})||e},yt);function yt(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,kt(t,this._hostClassName)}var gt=(_t.prototype._onRemovalComplete=function(e,t){this.onRemovalComplete(e,t)},Object.defineProperty(_t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t},enumerable:!0,configurable:!0}),_t.prototype.createNamespace=function(e,t){var n=new vt(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n},_t.prototype._balanceNamespaceList=function(e,t){var n=this._namespaceList.length-1;if(0<=n){for(var r=!1,i=n;0<=i;i--){var o=this._namespaceList[i];if(this.driver.containsElement(o.hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},_t.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n=n||this.createNamespace(e,t)},_t.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},_t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);0<=e&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},_t.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},_t.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&t.add(a)}}return t},_t.prototype.trigger=function(e,t,n,r){if(xt(t)){var i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1},_t.prototype.insertNode=function(e,t,n,r){if(xt(t)){var i=t[pt];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);0<=o&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}r&&this.collectEnterElement(t)}},_t.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},_t.prototype.markElementAsDisabled=function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),kt(e,at)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Dt(e,at))},_t.prototype.removeNode=function(e,t,n,r){if(xt(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)},_t.prototype.markElementAsRemoved=function(e,t,n,r){this.collectedLeaveElements.push(t),t[pt]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},_t.prototype.listen=function(e,t,n,r,i){return xt(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}},_t.prototype._buildInstruction=function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)},_t.prototype.destroyInnerAnimations=function(e){var t=this,n=this.driver.query(e,T,!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,Q,!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})},_t.prototype.destroyActiveAnimationsForElement=function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})},_t.prototype.finishActiveQueriedAnimationOnElement=function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})},_t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return G(t.players).onDone(function(){return e()});e()})},_t.prototype.processLeaveNode=function(e){var t=this,n=e[pt];if(n&&n.setForRemoval){if(e[pt]=ut,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,st)&&this.markElementAsDisabled(e,!1),this.driver.query(e,st,!0).forEach(function(e){t.markElementAsDisabled(e,!1)})},_t.prototype.flush=function(e){var n=this;void 0===e&&(e=-1);var t=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,t){return n._balanceNamespaceList(e,t)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)kt(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{t=this._flushAnimations(i,e)}finally{for(r=0;r<i.length;r++)i[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++){var o=this.collectedLeaveElements[r];this.processLeaveNode(o)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(e){return e()}),this._flushFns=[],this._whenQuietFns.length){var a=this._whenQuietFns;this._whenQuietFns=[],t.length?G(t).onDone(function(){a.forEach(function(e){return e()})}):a.forEach(function(e){return e()})}},_t.prototype.reportError=function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))},_t.prototype._flushAnimations=function(e,t){var c=this,p=new be,d=[],h=new Map,u=[],f=new Map,m=new Map,v=new Map,y=new Set;this.disabledNodes.forEach(function(e){y.add(e);for(var t=c.driver.query(e,".ng-animate-queued",!0),n=0;n<t.length;n++)y.add(t[n])});var g=this.bodyNode,n=Array.from(this.statesByElement.keys()),r=Et(n,this.collectedEnterElements),_=new Map,i=0;r.forEach(function(e,t){var n=K+i++;_.set(t,n),e.forEach(function(e){return kt(e,n)})});for(var o=[],a=new Set,s=new Set,l=0;l<this.collectedLeaveElements.length;l++)(j=(N=this.collectedLeaveElements[l])[pt])&&j.setForRemoval&&(o.push(N),a.add(N),j.hasAnimation?this.driver.query(N,".ng-star-inserted",!0).forEach(function(e){return a.add(e)}):s.add(N));var b=new Map,w=Et(n,Array.from(a));w.forEach(function(e,t){var n=Z+i++;b.set(t,n),e.forEach(function(e){return kt(e,n)})}),e.push(function(){r.forEach(function(e,t){var n=_.get(t);e.forEach(function(e){return Dt(e,n)})}),w.forEach(function(e,t){var n=b.get(t);e.forEach(function(e){return Dt(e,n)})}),o.forEach(function(e){c.processLeaveNode(e)})});for(var x=[],C=[],S=this._namespaceList.length-1;0<=S;S--)this._namespaceList[S].drainQueuedTransitions(t).forEach(function(e){var t=e.player,n=e.element;if(x.push(t),c.collectedEnterElements.length){var r=n[pt];if(r&&r.setForMove)return void t.destroy()}var i=!g||!c.driver.containsElement(g,n),o=b.get(n),a=_.get(n),s=c._buildInstruction(e,p,a,o,i);if(s.errors&&s.errors.length)C.push(s);else{if(i)return t.onStart(function(){return $(n,s.fromStyles)}),t.onDestroy(function(){return X(n,s.toStyles)}),void d.push(t);if(e.isFallbackTransition)return t.onStart(function(){return $(n,s.fromStyles)}),t.onDestroy(function(){return X(n,s.toStyles)}),void d.push(t);s.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),p.append(n,s.timelines);var l={instruction:s,player:t,element:n};u.push(l),s.queriedElements.forEach(function(e){return Y(f,e,[]).push(t)}),s.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=m.get(t);r||m.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),s.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=v.get(t);r||v.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}});if(C.length){var E=[];C.forEach(function(e){E.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach(function(e){return E.push("- "+e+"\n")})}),x.forEach(function(e){return e.destroy()}),this.reportError(E)}var O=new Map,k=new Map;u.forEach(function(e){var t=e.element;p.has(t)&&(k.set(t,t),c._beforeAnimationBuild(e.player.namespaceId,e.instruction,O))}),d.forEach(function(e){var t=e.element;c._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){Y(O,t,[]).push(e),e.destroy()})});var D=o.filter(function(e){return It(e,m,v)}),T=new Map;St(T,this.driver,s,v,q.AUTO_STYLE).forEach(function(e){It(e,m,v)&&D.push(e)});var I=new Map;r.forEach(function(e,t){St(I,c.driver,new Set(e),m,q.ɵPRE_STYLE)}),D.forEach(function(e){var t=T.get(e),n=I.get(e);T.set(e,H(H({},t),n))});var P=[],A=[],M={};u.forEach(function(e){var t=e.element,n=e.player,r=e.instruction;if(p.has(t)){if(y.has(t))return n.onDestroy(function(){return X(t,r.toStyles)}),n.disabled=!0,n.overrideTotalTime(r.totalTime),void d.push(n);var i=M;if(1<k.size){for(var o=t,a=[];o=o.parentNode;){var s=k.get(o);if(s){i=s;break}a.push(o)}a.forEach(function(e){return k.set(e,i)})}var l=c._buildAnimation(n.namespaceId,r,O,h,I,T);if(n.setRealPlayer(l),i===M)P.push(n);else{var u=c.playersByElement.get(i);u&&u.length&&(n.parentPlayer=G(u)),d.push(n)}}else $(t,r.fromStyles),n.onDestroy(function(){return X(t,r.toStyles)}),A.push(n),y.has(t)&&d.push(n)}),A.forEach(function(e){var t=h.get(e.element);if(t&&t.length){var n=G(t);e.setRealPlayer(n)}}),d.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var R=0;R<o.length;R++){var N,j=(N=o[R])[pt];if(Dt(N,Z),!j||!j.hasAnimation){var F=[];if(f.size){var L=f.get(N);L&&L.length&&F.push.apply(F,W(L));for(var V=this.driver.query(N,Q,!0),B=0;B<V.length;B++){var U=f.get(V[B]);U&&U.length&&F.push.apply(F,W(U))}}var z=F.filter(function(e){return!e.destroyed});z.length?Tt(this,N,z):this.processLeaveNode(N)}}return o.length=0,P.forEach(function(t){c.players.push(t),t.onDone(function(){t.destroy();var e=c.players.indexOf(t);c.players.splice(e,1)}),t.play()}),P},_t.prototype.elementContainsData=function(e,t){var n=!1,r=t[pt];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n},_t.prototype.afterFlush=function(e){this._flushFns.push(e)},_t.prototype.afterFlushAnimationsDone=function(e){this._whenQuietFns.push(e)},_t.prototype._getPreviousPlayers=function(e,t,n,r,i){var o=[];if(t){var a=this.playersByQueriedElement.get(e);a&&(o=a)}else{var s=this.playersByElement.get(e);if(s){var l=!i||i==ft;s.forEach(function(e){e.queued||!l&&e.triggerName!=r||o.push(e)})}}return(n||r)&&(o=o.filter(function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)})),o},_t.prototype._beforeAnimationBuild=function(e,i,o){function t(e){var t=e.element,n=t!==s,r=Y(o,t,[]);c._getPreviousPlayers(t,n,l,u,i.toState).forEach(function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),r.push(e)})}var n,r,a=i.triggerName,s=i.element,l=i.isRemovalTransition?void 0:e,u=i.isRemovalTransition?void 0:a,c=this;try{for(var p=h(i.timelines),d=p.next();!d.done;d=p.next())t(d.value)}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}$(s,i.fromStyles)},_t.prototype._buildAnimation=function(c,e,p,d,h,f){var m=this,v=e.triggerName,y=e.element,g=[],_=new Set,b=new Set,t=e.timelines.map(function(e){var n=e.element;_.add(n);var t=n[pt];if(t&&t.removedBeforeQueried)return new q.NoopAnimationPlayer(e.duration,e.delay);var r=n!==y,i=function(e){var t=[];return function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];i instanceof q.ɵAnimationGroupPlayer?e(i.players,n):n.push(i)}}(e,t),t}((p.get(n)||lt).map(function(e){return e.getRealPlayer()})).filter(function(e){var t=e;return!!t.element&&t.element===n}),o=h.get(n),a=f.get(n),s=w(m.driver,m._normalizer,0,e.keyframes,o,a),l=m._buildPlayer(e,s,i);if(e.subTimeline&&d&&b.add(n),r){var u=new bt(c,v,n);u.setRealPlayer(l),g.push(u)}return l});g.forEach(function(e){Y(m.playersByQueriedElement,e.element,[]).push(e),e.onDone(function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}}else(r=e[t])&&(r.length&&(i=r.indexOf(n),r.splice(i,1)),0==r.length&&delete e[t]);return r}(m.playersByQueriedElement,e.element,e)})}),_.forEach(function(e){return kt(e,I)});var n=G(t);return n.onDestroy(function(){_.forEach(function(e){return Dt(e,I)}),X(y,e.toStyles)}),b.forEach(function(e){Y(d,e,[]).push(n)}),n},_t.prototype._buildPlayer=function(e,t,n){return 0<t.length?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new q.NoopAnimationPlayer(e.duration,e.delay)},_t);function _t(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}var bt=(wt.prototype.setRealPlayer=function(n){var e=this;this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(function(t){e._queuedCallbacks[t].forEach(function(e){return s(n,t,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)},wt.prototype.getRealPlayer=function(){return this._player},wt.prototype.overrideTotalTime=function(e){this.totalTime=e},wt.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})},wt.prototype._queueEvent=function(e,t){Y(this._queuedCallbacks,e,[]).push(t)},wt.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},wt.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},wt.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},wt.prototype.init=function(){this._player.init()},wt.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},wt.prototype.play=function(){this.queued||this._player.play()},wt.prototype.pause=function(){this.queued||this._player.pause()},wt.prototype.restart=function(){this.queued||this._player.restart()},wt.prototype.finish=function(){this._player.finish()},wt.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},wt.prototype.reset=function(){this.queued||this._player.reset()},wt.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},wt.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},wt.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},wt);function wt(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new q.NoopAnimationPlayer,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}function xt(e){return e&&1===e.nodeType}function Ct(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function St(t,i,e,n,o){var r=[];e.forEach(function(e){return r.push(Ct(e))});var a=[];n.forEach(function(e,n){var r={};e.forEach(function(e){var t=r[e]=i.computeStyle(n,e,o);t&&0!=t.length||(n[pt]=ct,a.push(n))}),t.set(n,r)});var s=0;return e.forEach(function(e){return Ct(e,r[s++])}),a}function Et(e,t){var i=new Map;if(e.forEach(function(e){return i.set(e,[])}),0==t.length)return i;var o=1,a=new Set(t),s=new Map;return t.forEach(function(e){var t=function e(t){if(!t)return o;var n=s.get(t);if(n)return n;var r=t.parentNode;return n=i.has(r)?r:a.has(r)?o:e(r),s.set(t,n),n}(e);t!==o&&i.get(t).push(e)}),i}var Ot="$$classes";function kt(e,t){if(e.classList)e.classList.add(t);else{var n=e[Ot];(n=n||(e[Ot]={}))[t]=!0}}function Dt(e,t){if(e.classList)e.classList.remove(t);else{var n=e[Ot];n&&delete n[t]}}function Tt(e,t,n){G(n).onDone(function(){return e.processLeaveNode(t)})}function It(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach(function(e){return i.add(e)}):t.set(e,r),n.delete(e),!0}var Pt=(At.prototype.registerTrigger=function(e,t,n,r,i){var o=e+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=de(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(e,t){return new Je(e,t)}(r,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)},At.prototype.register=function(e,t){this._transitionEngine.register(e,t)},At.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},At.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},At.prototype.onRemove=function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)},At.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},At.prototype.process=function(e,t,n,r){if("@"==n.charAt(0)){var i=l(c(n),2),o=i[0],a=i[1],s=r;this._timelineEngine.command(o,t,a,s)}else this._transitionEngine.trigger(e,t,n,r)},At.prototype.listen=function(e,t,n,r,i){if("@"!=n.charAt(0))return this._transitionEngine.listen(e,t,n,r,i);var o=l(c(n),2),a=o[0],s=o[1];return this._timelineEngine.listen(a,t,s,i)},At.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(At.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),At.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},At);function At(e,t,n){var r=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new gt(e,t,n),this._timelineEngine=new rt(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}function Mt(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=jt(t[0]),1<t.length&&(r=jt(t[t.length-1]))):t&&(n=jt(t)),n||r?new Rt(e,n,r):null}var Rt=(Nt.prototype.start=function(){this._state<1&&(this._startStyles&&X(this._element,this._startStyles,this._initialStyles),this._state=1)},Nt.prototype.finish=function(){this.start(),this._state<2&&(X(this._element,this._initialStyles),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),this._state=1)},Nt.prototype.destroy=function(){this.finish(),this._state<3&&(Nt.initialStylesByElement.delete(this._element),this._startStyles&&($(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($(this._element,this._endStyles),this._endStyles=null),X(this._element,this._initialStyles),this._state=3)},Nt.initialStylesByElement=new WeakMap,Nt);function Nt(e,t,n){this._element=e,this._startStyles=t,this._endStyles=n,this._state=0;var r=Nt.initialStylesByElement.get(e);r||Nt.initialStylesByElement.set(e,r={}),this._initialStyles=r}function jt(e){for(var t,n=null,r=Object.keys(e),i=0;i<r.length;i++){var o=r[i];"display"!==(t=o)&&"position"!==t||((n=n||{})[o]=e[o])}return n}var Ft="animation",Lt="animationend",Vt=(Bt.prototype.apply=function(){!function(e,t){var n=Gt(e,"").trim();n.length&&(function(e,t){for(var n=0,r=0;r<e.length;r++)e.charAt(r)===t&&n++}(n,","),t=n+", "+t),Wt(e,"",t)}(this._element,this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name),Ht(this._element,this._eventFn,!1),this._startTime=Date.now()},Bt.prototype.pause=function(){Ut(this._element,this._name,"paused")},Bt.prototype.resume=function(){Ut(this._element,this._name,"running")},Bt.prototype.setPosition=function(e){var t=zt(this._element,this._name);this._position=e*this._duration,Wt(this._element,"Delay","-"+this._position+"ms",t)},Bt.prototype.getPosition=function(){return this._position},Bt.prototype._handleCallback=function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()},Bt.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Ht(this._element,this._eventFn,!0))},Bt.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){var n=Gt(e,"").split(","),r=qt(n,t);if(0<=r){n.splice(r,1);var i=n.join(",");Wt(e,"",i)}}(this._element,this._name))},Bt);function Bt(e,t,n,r,i,o,a){var s=this;this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return s._handleCallback(e)}}function Ut(e,t,n){Wt(e,"PlayState",n,zt(e,t))}function zt(e,t){var n=Gt(e,"");return 0<n.indexOf(",")?qt(n.split(","),t):qt([n],t)}function qt(e,t){for(var n=0;n<e.length;n++)if(0<=e[n].indexOf(t))return n;return-1}function Ht(e,t,n){n?e.removeEventListener(Lt,t):e.addEventListener(Lt,t)}function Wt(e,t,n,r){var i=Ft+t;if(null!=r){var o=e.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}e.style[i]=n}function Gt(e,t){return e.style[Ft+t]}var Yt=(Kt.prototype.onStart=function(e){this._onStartFns.push(e)},Kt.prototype.onDone=function(e){this._onDoneFns.push(e)},Kt.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},Kt.prototype.destroy=function(){this.init(),4<=this._state||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},Kt.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]},Kt.prototype._flushStartFns=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},Kt.prototype.finish=function(){this.init(),3<=this._state||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},Kt.prototype.setPosition=function(e){this._styler.setPosition(e)},Kt.prototype.getPosition=function(){return this._styler.getPosition()},Kt.prototype.hasStarted=function(){return 2<=this._state},Kt.prototype.init=function(){1<=this._state||(this._state=1,this.element,this._styler.apply(),this._delay&&this._styler.pause())},Kt.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},Kt.prototype.pause=function(){this.init(),this._styler.pause()},Kt.prototype.restart=function(){this.reset(),this.play()},Kt.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},Kt.prototype._buildStyler=function(){var e=this;this._styler=new Vt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})},Kt.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},Kt.prototype.beforeDestroy=function(){var t=this;this.init();var n={};if(this.hasStarted()){var r=3<=this._state;Object.keys(this._finalStyles).forEach(function(e){"offset"!=e&&(n[e]=r?t._finalStyles[e]:oe(t.element,e))})}this.currentSnapshot=n},Kt);function Kt(e,t,n,r,i,o,a,s){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}var Zt,Qt=(n(Xt,Zt=q.NoopAnimationPlayer),Xt.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),Zt.prototype.init.call(this))},Xt.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),Zt.prototype.play.call(this))},Xt.prototype.destroy=function(){var n=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(e){var t=n._startingStyles[e];t?n.element.style.setProperty(e,t):n.element.style.removeProperty(e)}),this._startingStyles=null,Zt.prototype.destroy.call(this))},Xt);function Xt(e,t){var n=Zt.call(this)||this;return n.element=e,n._startingStyles={},n.__initialized=!1,n._styles=x(t),n}var $t=(Jt.prototype.validateStyleProperty=function(e){return y(e)},Jt.prototype.matchesElement=function(e,t){return g(e,t)},Jt.prototype.containsElement=function(e,t){return _(e,t)},Jt.prototype.query=function(e,t,n){return b(e,t,n)},Jt.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},Jt.prototype.buildKeyframeElement=function(e,t,n){n=n.map(function(e){return x(e)});var r="@keyframes "+t+" {\n",i="";n.forEach(function(n){i=" ";var e=parseFloat(n.offset);r+=""+i+100*e+"% {\n",i+=" ",Object.keys(n).forEach(function(e){var t=n[e];switch(e){case"offset":return;case"easing":return void(t&&(r+=i+"animation-timing-function: "+t+";\n"));default:return void(r+=""+i+e+": "+t+";\n")}}),r+=i+"}\n"}),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},Jt.prototype.animate=function(e,t,n,r,i,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter(function(e){return e instanceof Yt}),l={};ne(n,r)&&s.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var u=function(e){var n={};return e&&(Array.isArray(e)?e:[e]).forEach(function(t){Object.keys(t).forEach(function(e){"offset"!=e&&"easing"!=e&&(n[e]=t[e])})}),n}(t=re(e,t,l));if(0==n)return new Qt(e,u);var c="gen_css_kf_"+this._count++,p=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(p);var d=Mt(e,t),h=new Yt(e,t,c,n,r,i,u,d);return h.onDestroy(function(){return function(e){e.parentNode.removeChild(e)}(p)}),h},Jt.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},Jt);function Jt(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}var en=(tn.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},tn.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},tn.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}},tn.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},tn.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},tn.prototype.onStart=function(e){this._onStartFns.push(e)},tn.prototype.onDone=function(e){this._onDoneFns.push(e)},tn.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},tn.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},tn.prototype.pause=function(){this.init(),this.domPlayer.pause()},tn.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},tn.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},tn.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},tn.prototype.restart=function(){this.reset(),this.play()},tn.prototype.hasStarted=function(){return this._started},tn.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},tn.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},tn.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(tn.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),tn.prototype.beforeDestroy=function(){var t=this,n={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(e){"offset"!=e&&(n[e]=t._finished?t._finalKeyframe[e]:oe(t.element,e))}),this.currentSnapshot=n},tn.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},tn);function tn(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}var nn=(rn.prototype.validateStyleProperty=function(e){return y(e)},rn.prototype.matchesElement=function(e,t){return g(e,t)},rn.prototype.containsElement=function(e,t){return _(e,t)},rn.prototype.query=function(e,t,n){return b(e,t,n)},rn.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},rn.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},rn.prototype.animate=function(e,t,n,r,i,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var l={},u=o.filter(function(e){return e instanceof en});ne(n,r)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var c=Mt(e,t=re(e,t=t.map(function(e){return j(e,!1)}),l));return new en(e,t,s,c)},rn);function rn(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(on().toString()),this._cssKeyframesDriver=new $t}function on(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}e.ɵangular_packages_animations_browser_browser_a=Rt,e.AnimationDriver=E,e.ɵAnimationDriver=E,e.ɵAnimation=je,e.ɵAnimationStyleNormalizer=Le,e.ɵNoopAnimationStyleNormalizer=Ve,e.ɵWebAnimationsStyleNormalizer=ze,e.ɵNoopAnimationDriver=C,e.ɵAnimationEngine=Pt,e.ɵCssKeyframesDriver=$t,e.ɵCssKeyframesPlayer=Yt,e.ɵcontainsElement=_,e.ɵinvokeQuery=b,e.ɵmatchesElement=g,e.ɵvalidateStyleProperty=y,e.ɵWebAnimationsDriver=nn,e.ɵsupportsWebAnimations=function(){return"function"==typeof on()},e.ɵWebAnimationsPlayer=en,e.ɵallowPreviousPlayerStylesMerge=ne,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/platform-browser"),require("@angular/animations"),require("@angular/animations/browser"),require("@angular/common")):System.registerDynamic("npm:@angular/platform-browser/bundles/platform-browser-animations.umd.js",["@angular/core","@angular/platform-browser","@angular/animations","@angular/animations/browser","@angular/common"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/platform-browser"),e("@angular/animations"),e("@angular/animations/browser"),e("@angular/common"))})}(0,function(e,i,t,r,n,o){"use strict";var a=function(e,t){return(a=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])})(e,t)};function s(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function l(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}function u(n,r){return function(e,t){r(e,t,n)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function d(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e}var h,f=(s(m,h=r.AnimationBuilder),m.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?r.sequence(e):e;return w(this._renderer,null,t,"register",[n]),new y(t,this._renderer)},m=l([i.Injectable(),u(1,i.Inject(o.DOCUMENT)),c("design:paramtypes",[i.RendererFactory2,Object])],m));function m(e,t){var n=h.call(this)||this;n._nextAnimationId=0;var r={id:"0",encapsulation:i.ViewEncapsulation.None,styles:[],data:{animation:[]}};return n._renderer=e.createRenderer(t.body,r),n}var v,y=(s(g,v=r.AnimationFactory),g.prototype.create=function(e,t){return new _(this._id,e,t||{},this._renderer)},g);function g(e,t){var n=v.call(this)||this;return n._id=e,n._renderer=t,n}var _=(b.prototype._listen=function(e,t){return this._renderer.listen(this.element,"@@"+this.id+":"+e,t)},b.prototype._command=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return w(this._renderer,this.element,this.id,e,t)},b.prototype.onDone=function(e){this._listen("done",e)},b.prototype.onStart=function(e){this._listen("start",e)},b.prototype.onDestroy=function(e){this._listen("destroy",e)},b.prototype.init=function(){this._command("init")},b.prototype.hasStarted=function(){return this._started},b.prototype.play=function(){this._command("play"),this._started=!0},b.prototype.pause=function(){this._command("pause")},b.prototype.restart=function(){this._command("restart")},b.prototype.finish=function(){this._command("finish")},b.prototype.destroy=function(){this._command("destroy")},b.prototype.reset=function(){this._command("reset")},b.prototype.setPosition=function(e){this._command("setPosition",e)},b.prototype.getPosition=function(){return 0},b);function b(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}function w(e,t,n,r,i){return e.setProperty(t,"@@"+n+":"+r,i)}var x="@.disabled",C=(S.prototype.createRenderer=function(t,e){var n=this,r=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var i=this._rendererCache.get(r);return i||(i=new E("",r,this.engine),this._rendererCache.set(r,i)),i}var o=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);var s=function(e){Array.isArray(e)?e.forEach(s):n.engine.registerTrigger(o,a,t,e.name,e)};return e.data.animation.forEach(s),new D(this,a,r,this.engine)},S.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},S.prototype._scheduleCountTask=function(){var e=this;this.promise.then(function(){e._microtaskId++})},S.prototype.scheduleListenerCallback=function(e,t,n){var r=this;0<=e&&e<this._microtaskId?this._zone.run(function(){return t(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(e){var t=p(e,2);(0,t[0])(t[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))},S.prototype.end=function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)}),this.delegate.end&&this.delegate.end()},S.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},S=l([i.Injectable(),c("design:paramtypes",[i.RendererFactory2,n.ɵAnimationEngine,i.NgZone])],S));function S(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}var E=(Object.defineProperty(O.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),O.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},O.prototype.createElement=function(e,t){return this.delegate.createElement(e,t)},O.prototype.createComment=function(e){return this.delegate.createComment(e)},O.prototype.createText=function(e){return this.delegate.createText(e)},O.prototype.appendChild=function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)},O.prototype.insertBefore=function(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)},O.prototype.removeChild=function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)},O.prototype.selectRootElement=function(e,t){return this.delegate.selectRootElement(e,t)},O.prototype.parentNode=function(e){return this.delegate.parentNode(e)},O.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},O.prototype.setAttribute=function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)},O.prototype.removeAttribute=function(e,t,n){this.delegate.removeAttribute(e,t,n)},O.prototype.addClass=function(e,t){this.delegate.addClass(e,t)},O.prototype.removeClass=function(e,t){this.delegate.removeClass(e,t)},O.prototype.setStyle=function(e,t,n,r){this.delegate.setStyle(e,t,n,r)},O.prototype.removeStyle=function(e,t,n){this.delegate.removeStyle(e,t,n)},O.prototype.setProperty=function(e,t,n){"@"==t.charAt(0)&&t==x?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)},O.prototype.setValue=function(e,t){this.delegate.setValue(e,t)},O.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},O.prototype.disableAnimations=function(e,t){this.engine.disableAnimations(e,t)},O);function O(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(e){return t.destroyNode(e)}:null}var k,D=(s(T,k=E),T.prototype.setProperty=function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&t==x?(n=void 0===n||!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)},T.prototype.listen=function(e,t,n){var r,i=this;if("@"!=t.charAt(0))return this.delegate.listen(e,t,n);var o=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),a=t.substr(1),s="";return"@"!=a.charAt(0)&&(a=(r=p(function(e){var t=e.indexOf("."),n=e.substring(0,t),r=e.substr(t+1);return[n,r]}(a),2))[0],s=r[1]),this.engine.listen(this.namespaceId,o,a,s,function(e){var t=e._data||-1;i.factory.scheduleListenerCallback(t,n,e)})},T);function T(e,t,n,r){var i=k.call(this,t,n,r)||this;return i.factory=e,i.namespaceId=t,i}var I,P=(s(A,I=n.ɵAnimationEngine),A=l([i.Injectable(),u(0,i.Inject(o.DOCUMENT)),c("design:paramtypes",[Object,n.AnimationDriver,n.ɵAnimationStyleNormalizer])],A));function A(e,t,n){return I.call(this,e.body,t,n)||this}function M(){return n.ɵsupportsWebAnimations()?new n.ɵWebAnimationsDriver:new n.ɵCssKeyframesDriver}function R(){return new n.ɵWebAnimationsStyleNormalizer}function N(e,t,n){return new C(e,t,n)}var j=new i.InjectionToken("AnimationModuleType"),F=[{provide:r.AnimationBuilder,useClass:f},{provide:n.ɵAnimationStyleNormalizer,useFactory:R},{provide:n.ɵAnimationEngine,useClass:P},{provide:i.RendererFactory2,useFactory:N,deps:[t.ɵDomRendererFactory2,n.ɵAnimationEngine,i.NgZone]}],L=d([{provide:n.AnimationDriver,useFactory:M},{provide:j,useValue:"BrowserAnimations"}],F),V=d([{provide:n.AnimationDriver,useClass:n.ɵNoopAnimationDriver},{provide:j,useValue:"NoopAnimations"}],F),B=U=l([i.NgModule({exports:[t.BrowserModule],providers:L})],U);function U(){}var z=q=l([i.NgModule({exports:[t.BrowserModule],providers:V})],q);function q(){}e.ɵangular_packages_platform_browser_animations_animations_f=E,e.ɵangular_packages_platform_browser_animations_animations_d=L,e.ɵangular_packages_platform_browser_animations_animations_e=V,e.ɵangular_packages_platform_browser_animations_animations_b=R,e.ɵangular_packages_platform_browser_animations_animations_c=N,e.ɵangular_packages_platform_browser_animations_animations_a=M,e.BrowserAnimationsModule=B,e.NoopAnimationsModule=z,e.ANIMATION_MODULE_TYPE=j,e.ɵBrowserAnimationBuilder=f,e.ɵBrowserAnimationFactory=y,e.ɵAnimationRenderer=D,e.ɵAnimationRendererFactory=C,e.ɵInjectableAnimationEngine=P,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):System.registerDynamic("npm:@angular/cdk/bundles/cdk-keycodes.umd.js",[],!1,function(e,t,n){return r.call(t,t)})}(0,function(e){"use strict";e.MAC_ENTER=3,e.BACKSPACE=8,e.TAB=9,e.NUM_CENTER=12,e.ENTER=13,e.SHIFT=16,e.CONTROL=17,e.ALT=18,e.PAUSE=19,e.CAPS_LOCK=20,e.ESCAPE=27,e.SPACE=32,e.PAGE_UP=33,e.PAGE_DOWN=34,e.END=35,e.HOME=36,e.LEFT_ARROW=37,e.UP_ARROW=38,e.RIGHT_ARROW=39,e.DOWN_ARROW=40,e.PLUS_SIGN=43,e.PRINT_SCREEN=44,e.INSERT=45,e.DELETE=46,e.ZERO=48,e.ONE=49,e.TWO=50,e.THREE=51,e.FOUR=52,e.FIVE=53,e.SIX=54,e.SEVEN=55,e.EIGHT=56,e.NINE=57,e.FF_SEMICOLON=59,e.FF_EQUALS=61,e.QUESTION_MARK=63,e.AT_SIGN=64,e.A=65,e.B=66,e.C=67,e.D=68,e.E=69,e.F=70,e.G=71,e.H=72,e.I=73,e.J=74,e.K=75,e.L=76,e.M=77,e.N=78,e.O=79,e.P=80,e.Q=81,e.R=82,e.S=83,e.T=84,e.U=85,e.V=86,e.W=87,e.X=88,e.Y=89,e.Z=90,e.META=91,e.MAC_WK_CMD_LEFT=91,e.MAC_WK_CMD_RIGHT=93,e.CONTEXT_MENU=93,e.NUMPAD_ZERO=96,e.NUMPAD_ONE=97,e.NUMPAD_TWO=98,e.NUMPAD_THREE=99,e.NUMPAD_FOUR=100,e.NUMPAD_FIVE=101,e.NUMPAD_SIX=102,e.NUMPAD_SEVEN=103,e.NUMPAD_EIGHT=104,e.NUMPAD_NINE=105,e.NUMPAD_MULTIPLY=106,e.NUMPAD_PLUS=107,e.NUMPAD_MINUS=109,e.NUMPAD_PERIOD=110,e.NUMPAD_DIVIDE=111,e.F1=112,e.F2=113,e.F3=114,e.F4=115,e.F5=116,e.F6=117,e.F7=118,e.F8=119,e.F9=120,e.F10=121,e.F11=122,e.F12=123,e.NUM_LOCK=144,e.SCROLL_LOCK=145,e.FIRST_MEDIA=166,e.FF_MINUS=173,e.MUTE=173,e.VOLUME_DOWN=174,e.VOLUME_UP=175,e.FF_MUTE=181,e.FF_VOLUME_DOWN=182,e.LAST_MEDIA=183,e.FF_VOLUME_UP=183,e.SEMICOLON=186,e.EQUALS=187,e.COMMA=188,e.DASH=189,e.SLASH=191,e.APOSTROPHE=192,e.TILDE=192,e.OPEN_SQUARE_BRACKET=219,e.BACKSLASH=220,e.CLOSE_SQUARE_BRACKET=221,e.SINGLE_QUOTE=222,e.MAC_META=224,e.hasModifierKey=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.length?e.some(function(e){return t[e]}):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey},Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/cdk/bidi"),require("@angular/cdk"),require("tslib"),require("@angular/cdk/coercion"),require("rxjs"),require("@angular/cdk/platform"),require("@angular/platform-browser"),require("rxjs/operators"),require("@angular/common"),require("@angular/cdk/a11y"),require("@angular/platform-browser/animations"),require("@angular/cdk/keycodes")):System.registerDynamic("npm:@angular/material/bundles/material-core.umd.js",["@angular/core","@angular/cdk/bidi","@angular/cdk","tslib","@angular/cdk/coercion","rxjs","@angular/cdk/platform","@angular/platform-browser","rxjs/operators","@angular/common","@angular/cdk/a11y","@angular/platform-browser/animations","@angular/cdk/keycodes"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"),e("@angular/cdk/bidi"),e("@angular/cdk"),e("tslib"),e("@angular/cdk/coercion"),e("rxjs"),e("@angular/cdk/platform"),e("@angular/platform-browser"),e("rxjs/operators"),e("@angular/common"),e("@angular/cdk/a11y"),e("@angular/platform-browser/animations"),e("@angular/cdk/keycodes"))})}(0,function(d,i,e,t,h,o,a,n,r,s,l,u,c,p){"use strict";var f=new i.Version("9.0.0-next.0"),m=(v.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",v.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",v.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",v.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",v);function v(){}var y=(g.COMPLEX="375ms",g.ENTERING="225ms",g.EXITING="195ms",g);function g(){}var _=new i.Version("9.0.0-next.0");function b(){return!0}var w=new i.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:b}),x=(C.prototype._checksAreEnabled=function(){return i.isDevMode()&&!this._isTestEnv()},C.prototype._isTestEnv=function(){var e=this._window;return e&&(e.__karma__||e.jasmine)},C.prototype._checkDoctypeIsDefined=function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&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.")},C.prototype._checkThemeIsPresent=function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}},C.prototype._checkCdkVersionMatch=function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&_.full!==t.VERSION.full&&console.warn("The Angular Material version ("+_.full+") does not match the Angular CDK version ("+t.VERSION.full+").\nPlease ensure the versions of these two packages exactly match.")},C.decorators=[{type:i.NgModule,args:[{imports:[e.BidiModule],exports:[e.BidiModule]}]}],C.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[w]}]}]},C);function C(e){this._hasDoneGlobalChecks=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}function S(e){return r=e,h.__extends(t,r),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=o.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),t;function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=r.apply(this,h.__spread(e))||this;return n._disabled=!1,n}var r}var E=new i.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:O});function O(){return i.inject(i.LOCALE_ID)}var k={provide:E,useExisting:i.LOCALE_ID},D=(Object.defineProperty(T.prototype,"localeChanges",{get:function(){return this._localeChanges},enumerable:!0,configurable:!0}),T.prototype.deserialize=function(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()},T.prototype.setLocale=function(e){this.locale=e,this._localeChanges.next()},T.prototype.compareDate=function(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)},T.prototype.sameDate=function(e,t){if(e&&t){var n=this.isValid(e),r=this.isValid(t);return n&&r?!this.compareDate(e,t):n==r}return e==t},T.prototype.clampDate=function(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&0<this.compareDate(e,n)?n:e},T);function T(){this._localeChanges=new a.Subject}var I,P=new i.InjectionToken("mat-date-formats");try{I="undefined"!=typeof Intl}catch(e){I=!1}var A={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"]},M=j(31,function(e){return String(e+1)}),R={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},N=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function j(e,t){for(var n=Array(e),r=0;r<e;r++)n[r]=t(r);return n}var F,L=(F=D,h.__extends(V,F),V.prototype.getYear=function(e){return e.getFullYear()},V.prototype.getMonth=function(e){return e.getMonth()},V.prototype.getDate=function(e){return e.getDate()},V.prototype.getDayOfWeek=function(e){return e.getDay()},V.prototype.getMonthNames=function(e){var t=this;if(I){var n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return j(12,function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,e,1)))})}return A[e]},V.prototype.getDateNames=function(){var t=this;if(I){var n=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return j(31,function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,0,e+1)))})}return M},V.prototype.getDayOfWeekNames=function(e){var t=this;if(I){var n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return j(7,function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,0,e+1)))})}return R[e]},V.prototype.getYearName=function(e){if(I){var t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))},V.prototype.getFirstDayOfWeek=function(){return 0},V.prototype.getNumDaysInMonth=function(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))},V.prototype.clone=function(e){return new Date(e.getTime())},V.prototype.createDate=function(e,t,n){if(t<0||11<t)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},V.prototype.today=function(){return new Date},V.prototype.parse=function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null},V.prototype.format=function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(I){this._clampDate&&(e.getFullYear()<1||9999<e.getFullYear())&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=h.__assign({},t,{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())},V.prototype.addCalendarYears=function(e,t){return this.addCalendarMonths(e,12*t)},V.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},V.prototype.addCalendarDays=function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)},V.prototype.toIso8601=function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")},V.prototype.deserialize=function(e){if("string"==typeof e){if(!e)return null;if(N.test(e)){var t=new Date(e);if(this.isValid(t))return t}}return F.prototype.deserialize.call(this,e)},V.prototype.isDateInstance=function(e){return e instanceof Date},V.prototype.isValid=function(e){return!isNaN(e.getTime())},V.prototype.invalid=function(){return new Date(NaN)},V.prototype._createDateWithOverflow=function(e,t,n){var r=new Date(e,t,n);return 0<=e&&e<100&&r.setFullYear(this.getYear(r)-1900),r},V.prototype._2digit=function(e){return("00"+e).slice(-2)},V.prototype._stripDirectionalityCharacters=function(e){return e.replace(/[\u200e\u200f]/g,"")},V.prototype._format=function(e,t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(n)},V.decorators=[{type:i.Injectable}],V.ctorParameters=function(){return[{type:String,decorators:[{type:i.Optional},{type:i.Inject,args:[E]}]},{type:n.Platform}]},V);function V(e,t){var n=F.call(this)||this;return n.useUtcForDisplay=!0,F.prototype.setLocale.call(n,e),n.useUtcForDisplay=!t.TRIDENT,n._clampDate=t.TRIDENT||t.EDGE,n}var B={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"}}},U=(z.decorators=[{type:i.NgModule,args:[{imports:[n.PlatformModule],providers:[{provide:D,useClass:L}]}]}],z);function z(){}var q=B,H=(W.decorators=[{type:i.NgModule,args:[{imports:[U],providers:[{provide:P,useValue:q}]}]}],W);function W(){}var G=(Y.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.dirty||t&&t.submitted))},Y.decorators=[{type:i.Injectable}],Y);function Y(){}var K=(Z.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))},Z.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],Z.ngInjectableDef=i.ɵɵdefineInjectable({factory:function(){return new Z},token:Z,providedIn:"root"}),Z);function Z(){}function Q(){}var X,$=new i.InjectionToken("MAT_HAMMER_OPTIONS"),J=["longpress","slide","slidestart","slideend","slideright","slideleft"],ee={on:function(){},off:Q},te=(X=r.HammerGestureConfig,h.__extends(ne,X),ne.prototype.buildHammer=function(e){var t="undefined"!=typeof window?window.Hammer:null;if(!t)return ee;var n=new t(e,this._hammerOptions||void 0),r=new t.Pan,i=new t.Swipe,o=new t.Press,a=this._createRecognizer(r,{event:"slide",threshold:0},i),s=this._createRecognizer(o,{event:"longpress",time:500});return r.recognizeWith(i),s.recognizeWith(a),n.add([i,o,r,a,s]),n},ne.prototype._createRecognizer=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=new e.constructor(t);return n.push(e),n.forEach(function(e){return i.recognizeWith(e)}),i},ne.decorators=[{type:i.Injectable}],ne.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[$]}]},{type:x,decorators:[{type:i.Optional}]}]},ne);function ne(e,t){var n=X.call(this)||this;return n._hammerOptions=e,n.events=J,n}var re=(ie.decorators=[{type:i.Directive,args:[{selector:"[mat-line], [matLine]",host:{class:"mat-line"}}]}],ie);function ie(){}function oe(e,n){e.changes.pipe(s.startWith(e)).subscribe(function(e){var t=e.length;ae(n,"mat-2-line",!1),ae(n,"mat-3-line",!1),ae(n,"mat-multi-line",!1),2===t||3===t?ae(n,"mat-"+t+"-line",!0):3<t&&ae(n,"mat-multi-line",!0)})}function ae(e,t,n){var r=e.nativeElement.classList;n?r.add(t):r.remove(t)}function se(e,t){oe(e,t)}var le,ue=(ce.decorators=[{type:i.NgModule,args:[{imports:[x],exports:[re,x],declarations:[re]}]}],ce);function ce(){}(le=d.RippleState||(d.RippleState={}))[le.FADING_IN=0]="FADING_IN",le[le.VISIBLE=1]="VISIBLE",le[le.FADING_OUT=2]="FADING_OUT",le[le.HIDDEN=3]="HIDDEN";var pe=(de.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},de);function de(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=d.RippleState.HIDDEN}var he={enterDuration:450,exitDuration:400},fe=n.normalizePassiveListenerOptions({passive:!0}),me=(ve.prototype.fadeInRipple=function(e,t,n){var r=this;void 0===n&&(n={});var i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=h.__assign({},he,n.animation);n.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);var a=n.radius||function(e,t,n){var r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}(e,t,i),s=e-i.left,l=t-i.top,u=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-a+"px",c.style.top=l-a+"px",c.style.height=2*a+"px",c.style.width=2*a+"px",c.style.backgroundColor=n.color||null,c.style.transitionDuration=u+"ms",this._containerElement.appendChild(c),function(e){window.getComputedStyle(e).getPropertyValue("opacity")}(c),c.style.transform="scale(1)";var p=new pe(this,c,n);return p.state=d.RippleState.FADING_IN,this._activeRipples.add(p),n.persistent||(this._mostRecentTransientRipple=p),this._runTimeoutOutsideZone(function(){var e=p===r._mostRecentTransientRipple;p.state=d.RippleState.VISIBLE,n.persistent||e&&r._isPointerDown||p.fadeOut()},u),p},ve.prototype.fadeOutRipple=function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,r=h.__assign({},he,e.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",e.state=d.RippleState.FADING_OUT,this._runTimeoutOutsideZone(function(){e.state=d.RippleState.HIDDEN,n.parentNode.removeChild(n)},r.exitDuration)}},ve.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(e){return e.fadeOut()})},ve.prototype.setupTriggerEvents=function(e){var t=this,n=o.coerceElement(e);n&&n!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(function(){t._triggerEvents.forEach(function(e,t){n.addEventListener(t,e,fe)})}),this._triggerElement=n)},ve.prototype._runTimeoutOutsideZone=function(e,t){void 0===t&&(t=0),this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})},ve.prototype._removeTriggerEvents=function(){var n=this;this._triggerElement&&this._triggerEvents.forEach(function(e,t){n._triggerElement.removeEventListener(t,e,fe)})},ve);function ve(e,t,n,r){var i=this;this._target=e,this._ngZone=t,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=function(e){var t=u.isFakeMousedownFromScreenReader(e),n=i._lastTouchStartEvent&&Date.now()<i._lastTouchStartEvent+800;i._target.rippleDisabled||t||n||(i._isPointerDown=!0,i.fadeInRipple(e.clientX,e.clientY,i._target.rippleConfig))},this._onTouchStart=function(e){if(!i._target.rippleDisabled){i._lastTouchStartEvent=Date.now(),i._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)i.fadeInRipple(t[n].clientX,t[n].clientY,i._target.rippleConfig)}},this._onPointerUp=function(){i._isPointerDown&&(i._isPointerDown=!1,i._activeRipples.forEach(function(e){var t=e.state===d.RippleState.VISIBLE||e.config.terminateOnPointerUp&&e.state===d.RippleState.FADING_IN;!e.config.persistent&&t&&e.fadeOut()}))},r.isBrowser&&(this._containerElement=o.coerceElement(n),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}var ye=new i.InjectionToken("mat-ripple-global-options"),ge=(Object.defineProperty(_e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(_e.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),_e.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},_e.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},_e.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(_e.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:h.__assign({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}},enumerable:!0,configurable:!0}),Object.defineProperty(_e.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),_e.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},_e.prototype.launch=function(e,t,n){return void 0===t&&(t=0),"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,h.__assign({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,h.__assign({},this.rippleConfig,e))},_e.decorators=[{type:i.Directive,args:[{selector:"[mat-ripple], [matRipple]",exportAs:"matRipple",host:{class:"mat-ripple","[class.mat-ripple-unbounded]":"unbounded"}}]}],_e.ctorParameters=function(){return[{type:i.ElementRef},{type:i.NgZone},{type:n.Platform},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[ye]}]},{type:String,decorators:[{type:i.Optional},{type:i.Inject,args:[c.ANIMATION_MODULE_TYPE]}]}]},_e.propDecorators={color:[{type:i.Input,args:["matRippleColor"]}],unbounded:[{type:i.Input,args:["matRippleUnbounded"]}],centered:[{type:i.Input,args:["matRippleCentered"]}],radius:[{type:i.Input,args:["matRippleRadius"]}],animation:[{type:i.Input,args:["matRippleAnimation"]}],disabled:[{type:i.Input,args:["matRippleDisabled"]}],trigger:[{type:i.Input,args:["matRippleTrigger"]}]},_e);function _e(e,t,n,r,i){this._elementRef=e,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new me(this,t,e,n),"NoopAnimations"===i&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}var be=(we.decorators=[{type:i.NgModule,args:[{imports:[x,n.PlatformModule],exports:[ge,x],declarations:[ge]}]}],we);function we(){}var xe=(Ce.decorators=[{type:i.Component,args:[{moduleId:module.id,encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,selector:"mat-pseudo-checkbox",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","[class._mat-animation-noopable]":'_animationMode === "NoopAnimations"'},styles:['.mat-pseudo-checkbox{width:16px;height:16px;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, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}/*# sourceMappingURL=pseudo-checkbox.css.map */\n']}]}],Ce.ctorParameters=function(){return[{type:String,decorators:[{type:i.Optional},{type:i.Inject,args:[c.ANIMATION_MODULE_TYPE]}]}]},Ce.propDecorators={state:[{type:i.Input}],disabled:[{type:i.Input}]},Ce);function Ce(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}var Se=(Ee.decorators=[{type:i.NgModule,args:[{exports:[xe],declarations:[xe]}]}],Ee);function Ee(){}var Oe,ke=S(function(){}),De=0,Te=(Oe=ke,h.__extends(Ie,Oe),Ie.decorators=[{type:i.Component,args:[{moduleId:module.id,selector:"mat-optgroup",exportAs:"matOptgroup",template:'<label class="mat-optgroup-label" [id]="_labelId">{{ label }} <ng-content></ng-content></label>\n<ng-content select="mat-option, ng-container"></ng-content>\n',encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,inputs:["disabled"],host:{class:"mat-optgroup",role:"group","[class.mat-optgroup-disabled]":"disabled","[attr.aria-disabled]":"disabled.toString()","[attr.aria-labelledby]":"_labelId"},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;max-width:100%;-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}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}/*# sourceMappingURL=optgroup.css.map */\n"]}]}],Ie.propDecorators={label:[{type:i.Input}]},Ie);function Ie(){var e=null!==Oe&&Oe.apply(this,arguments)||this;return e._labelId="mat-optgroup-label-"+De++,e}var Pe=0,Ae=function(e,t){void 0===t&&(t=!1),this.source=e,this.isUserInput=t},Me=new i.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),Re=(Object.defineProperty(Ne.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(Ne.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(Ne.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=o.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(Ne.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},enumerable:!0,configurable:!0}),Object.defineProperty(Ne.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(Ne.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),Ne.prototype.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},Ne.prototype.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},Ne.prototype.focus=function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)},Ne.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},Ne.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},Ne.prototype.getLabel=function(){return this.viewValue},Ne.prototype._handleKeydown=function(e){e.keyCode!==p.ENTER&&e.keyCode!==p.SPACE||p.hasModifierKey(e)||(this._selectViaInteraction(),e.preventDefault())},Ne.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},Ne.prototype._getAriaSelected=function(){return this.selected||!this.multiple&&null},Ne.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},Ne.prototype._getHostElement=function(){return this._element.nativeElement},Ne.prototype.ngAfterViewChecked=function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}},Ne.prototype.ngOnDestroy=function(){this._stateChanges.complete()},Ne.prototype._emitSelectionChangeEvent=function(e){void 0===e&&(e=!1),this.onSelectionChange.emit(new Ae(this,e))},Ne.decorators=[{type:i.Component,args:[{moduleId:module.id,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]":"_getAriaSelected()","[attr.aria-disabled]":"disabled.toString()","[class.mat-option-disabled]":"disabled","(click)":"_selectViaInteraction()","(keydown)":"_handleKeydown($event)",class:"mat-option"},template:'<mat-pseudo-checkbox *ngIf="multiple" class="mat-option-pseudo-checkbox"\n    [state]="selected ? \'checked\' : \'\'" [disabled]="disabled"></mat-pseudo-checkbox>\n\n<span class="mat-option-text"><ng-content></ng-content></span>\n\n<div class="mat-option-ripple" mat-ripple\n     [matRippleTrigger]="_getHostElement()"\n     [matRippleDisabled]="disabled || disableRipple">\n</div>\n',encapsulation:i.ViewEncapsulation.None,changeDetection:i.ChangeDetectionStrategy.OnPush,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;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[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}@media(-ms-high-contrast: active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media(-ms-high-contrast: active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}/*# sourceMappingURL=option.css.map */\n"]}]}],Ne.ctorParameters=function(){return[{type:i.ElementRef},{type:i.ChangeDetectorRef},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[Me]}]},{type:Te,decorators:[{type:i.Optional}]}]},Ne.propDecorators={value:[{type:i.Input}],id:[{type:i.Input}],disabled:[{type:i.Input}],onSelectionChange:[{type:i.Output}]},Ne);function Ne(e,t,n,r){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Pe++,this.onSelectionChange=new i.EventEmitter,this._stateChanges=new a.Subject}var je=(Fe.decorators=[{type:i.NgModule,args:[{imports:[be,l.CommonModule,Se],exports:[Re,Te],declarations:[Re,Te]}]}],Fe);function Fe(){}var Le=new i.InjectionToken("mat-label-global-options");d.ɵangular_material_src_material_core_core_a=b,d.VERSION=f,d.AnimationCurves=m,d.AnimationDurations=y,d.MatCommonModule=x,d.MATERIAL_SANITY_CHECKS=w,d.mixinDisabled=S,d.mixinColor=function(e,r){return i=e,h.__extends(t,i),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){var t=e||r;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)},enumerable:!0,configurable:!0}),t;function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i.apply(this,h.__spread(e))||this;return n.color=r,n}var i},d.mixinDisableRipple=function(e){return r=e,h.__extends(t,r),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(e){this._disableRipple=o.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),t;function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=r.apply(this,h.__spread(e))||this;return n._disableRipple=!1,n}var r},d.mixinTabIndex=function(e,r){return void 0===r&&(r=0),i=e,h.__extends(t,i),Object.defineProperty(t.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?e:r},enumerable:!0,configurable:!0}),t;function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i.apply(this,h.__spread(e))||this;return n._tabIndex=r,n}var i},d.mixinErrorState=function(e){return r=e,h.__extends(t,r),t.prototype.updateErrorState=function(){var e=this.errorState,t=this._parentFormGroup||this._parentForm,n=this.errorStateMatcher||this._defaultErrorStateMatcher,r=this.ngControl?this.ngControl.control:null,i=n.isErrorState(r,t);i!==e&&(this.errorState=i,this.stateChanges.next())},t;function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=r.apply(this,h.__spread(e))||this;return n.errorState=!1,n.stateChanges=new a.Subject,n}var r},d.mixinInitialized=function(e){return r=e,h.__extends(t,r),t.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},t.prototype._notifySubscriber=function(e){e.next(),e.complete()},t;function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=r.apply(this,h.__spread(e))||this;return n._isInitialized=!1,n._pendingSubscribers=[],n.initialized=new a.Observable(function(e){n._isInitialized?n._notifySubscriber(e):n._pendingSubscribers.push(e)}),n}var r},d.NativeDateModule=U,d.MatNativeDateModule=H,d.ɵ0=q,d.MAT_DATE_LOCALE=E,d.MAT_DATE_LOCALE_FACTORY=O,d.MAT_DATE_LOCALE_PROVIDER=k,d.DateAdapter=D,d.MAT_DATE_FORMATS=P,d.NativeDateAdapter=L,d.MAT_NATIVE_DATE_FORMATS=B,d.ShowOnDirtyErrorStateMatcher=G,d.ErrorStateMatcher=K,d.MAT_HAMMER_OPTIONS=$,d.GestureConfig=te,d.ɵ1=Q,d.MatLine=re,d.setLines=oe,d.MatLineSetter=se,d.MatLineModule=ue,d.MatOptionModule=je,d.MatOptionSelectionChange=Ae,d.MAT_OPTION_PARENT_COMPONENT=Me,d.MatOption=Re,d._countGroupLabelsBeforeOption=function(e,t,n){if(n.length){for(var r=t.toArray(),i=n.toArray(),o=0,a=0;a<e+1;a++)r[a].group&&r[a].group===i[o]&&o++;return o}return 0},d._getOptionScrollPosition=function(e,t,n,r){var i=e*t;return i<n?i:n+r<i+t?Math.max(0,i-r+t):n},d.MatOptgroup=Te,d.MAT_LABEL_GLOBAL_OPTIONS=Le,d.MatRippleModule=be,d.MAT_RIPPLE_GLOBAL_OPTIONS=ye,d.MatRipple=ge,d.RippleRef=pe,d.defaultRippleAnimationConfig=he,d.RippleRenderer=me,d.MatPseudoCheckboxModule=Se,d.MatPseudoCheckbox=xe,d.JAN=0,d.FEB=1,d.MAR=2,d.APR=3,d.MAY=4,d.JUN=5,d.JUL=6,d.AUG=7,d.SEP=8,d.OCT=9,d.NOV=10,d.DEC=11,Object.defineProperty(d,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-coercion.umd.js",["@angular/core"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"))})}(0,function(e,t){"use strict";function n(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}e.coerceBooleanProperty=function(e){return null!=e&&""+e!="false"},e.coerceNumberProperty=function(e,t){return void 0===t&&(t=0),n(e)?Number(e):t},e._isNumberValue=n,e.coerceArray=function(e){return Array.isArray(e)?e:[e]},e.coerceCssPixelValue=function(e){return null==e?"":"string"==typeof e?e:e+"px"},e.coerceElement=function(e){return e instanceof t.ElementRef?e.nativeElement:e},Object.defineProperty(e,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core")):System.registerDynamic("npm:@angular/common/bundles/common.umd.js",["@angular/core"],!1,function(e,t,n){return r.call(t,t,e("@angular/core"))})}(0,function(x,o){"use strict";var r=function(e,t){return(r=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])})(e,t)};function e(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function t(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}function n(n,r){return function(e,t){r(e,t,n)}}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function d(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}var s=(l.prototype.setValue=function(e){if(Array.isArray(e))this._lastSetValueType=4;else if(e instanceof Set)this._lastSetValueType=8;else if(e&&"string"==typeof e){if(!(4&this._options))throw new Error(this._name+" string values are not allowed");this._lastSetValueType=1}else this._lastSetValueType=e?2:0;this._lastSetValueIdentityChange=!0,this._lastSetValue=e||null},l.prototype.hasValueChanged=function(){var e=this._lastSetValueIdentityChange;if(!(e||14&this._lastSetValueType))return!1;var n=null,t=!!(1&this._options),r=!!(8&this._options),i=!!(2&this._options);switch(this._lastSetValueType){case 1:var o=this._lastSetValue.split(/\s+/g);16&this._options?(n={},o.forEach(function(e,t){return n[e]=!0})):n=o.reduce(function(e,t,n){return e+(n?" ":"")+t});break;case 2:var a=this._lastSetValue,s=Object.keys(a);(e=e||!this.value||function(e,t,n){var r=Object.keys(t),i=e;if(!m(r,i))return!0;for(var o=0;o<i.length;o++){var a=i[o];if(t[a]!==n[a])return!0}return!1}(s,this.value,a))&&(n=u(this._name,t,r,i,a,s));break;case 4:case 8:var l=Array.from(this._lastSetValue);(e=e||!m(Object.keys(this.value),l))&&(n=u(this._name,t,r,i,l));break;default:n=null}return e&&(this.value=n),e},l);function l(e,t){this._name=e,this._options=t,this.value=null,this._lastSetValue=null,this._lastSetValueType=0,this._lastSetValueIdentityChange=!1}function u(e,t,n,r,i,o){var a={};if(o)for(var s=0;s<o.length;s++){var l=o[s];h(a,l=t?l.trim():l,u=i[l],n,r)}else for(s=0;s<i.length;s++){var u;c(e,u=i[s]),h(a,u=t?u.trim():u,!0,!1,r)}return a}function c(e,t){if("string"!=typeof t)throw new Error(e+" can only toggle CSS classes expressed as strings, got "+t)}function h(e,t,n,r,i){if(i&&0<t.indexOf(" "))for(var o=t.split(/\s+/g),a=0;a<o.length;a++)f(e,o[a],n,r);else f(e,t,n,r)}function f(e,t,n,r){if(r){var i=function(e,t){var n=e.indexOf(".");if(0<n){var r=e.substr(n+1);e=e.substring(0,n),null!=t&&(t+=r)}return{key:e,value:t}}(t,n);n=i.value,t=i.key}e[t]=n}function m(e,t){if(e&&t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(-1===t.indexOf(e[n]))return!1;return!0}return!1}function v(){}var y=(g.prototype.getValue=function(){return null},g.prototype.setClass=function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},g.prototype.setNgClass=function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(o.ɵisListLikeIterable(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},g.prototype.applyChanges=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},g.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},g.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+o.ɵstringify(e.item));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})},g.prototype._applyClasses=function(t){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(e){return n._toggleClass(e,!0)}):Object.keys(t).forEach(function(e){return n._toggleClass(e,!!t[e])}))},g.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))},g.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})},g=t([o.Injectable(),a("design:paramtypes",[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2])],g));function g(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}var _=(b.prototype.getValue=function(){return this._value},b.prototype.setClass=function(e){(e||this._classStringDiffer)&&(this._classStringDiffer=this._classStringDiffer||new s("class",20),this._classStringDiffer.setValue(e))},b.prototype.setNgClass=function(e){this._ngClassDiffer.setValue(e)},b.prototype.applyChanges=function(){var e=!!this._classStringDiffer&&this._classStringDiffer.hasValueChanged(),t=this._ngClassDiffer.hasValueChanged();if(e||t){var n=this._ngClassDiffer.value;if(this._classStringDiffer){var r=this._classStringDiffer.value;r&&(n=n?i(i({},r),n):r)}this._value=n}},b=t([o.Injectable()],b));function b(){this._value=null,this._ngClassDiffer=new s("NgClass",23),this._classStringDiffer=null}var w={provide:v,useClass:y},C={provide:v,useClass:_},S=w,E=o.ɵɵdefineDirective({type:function(){},selectors:null,hostBindings:function(e,t,n){1&e&&o.ɵɵallocHostVars(1),2&e&&o.ɵɵclassMap(t.getValue())}}),O=(k.prototype.getValue=function(){return this._delegate.getValue()},k.ɵdir=void 0,k.ɵfac=void 0,k);function k(e){this._delegate=e}var D,T=(e(I,D=O),Object.defineProperty(I.prototype,"klass",{set:function(e){this._delegate.setClass(e)},enumerable:!0,configurable:!0}),Object.defineProperty(I.prototype,"ngClass",{set:function(e){this._delegate.setNgClass(e)},enumerable:!0,configurable:!0}),I.prototype.ngDoCheck=function(){this._delegate.applyChanges()},t([o.Input("class"),a("design:type",String),a("design:paramtypes",[String])],I.prototype,"klass",null),t([o.Input("ngClass"),a("design:type",Object),a("design:paramtypes",[Object])],I.prototype,"ngClass",null),I=t([o.Directive({selector:"[ngClass]",providers:[S]}),a("design:paramtypes",[v])],I));function I(e){return D.call(this,e)||this}function P(){}var A=(M.prototype.getValue=function(){return null},M.prototype.setNgStyle=function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())},M.prototype.applyChanges=function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}},M.prototype._applyChanges=function(e){var t=this;e.forEachRemovedItem(function(e){return t._setStyle(e.key,null)}),e.forEachAddedItem(function(e){return t._setStyle(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._setStyle(e.key,e.currentValue)})},M.prototype._setStyle=function(e,t){var n=d(e.split("."),2),r=n[0],i=n[1];null!=(t=null!=t&&i?""+t+i:t)?this._renderer.setStyle(this._ngEl.nativeElement,r,t):this._renderer.removeStyle(this._ngEl.nativeElement,r)},M=t([o.Injectable(),a("design:paramtypes",[o.ElementRef,o.KeyValueDiffers,o.Renderer2])],M));function M(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n}var R=(N.prototype.getValue=function(){return this._value},N.prototype.setNgStyle=function(e){this._differ.setValue(e)},N.prototype.applyChanges=function(){this._differ.hasValueChanged()&&(this._value=this._differ.value)},N=t([o.Injectable()],N));function N(){this._differ=new s("NgStyle",8),this._value=null}var j={provide:P,useClass:A},F={provide:P,useClass:R},L=j,V=o.ɵɵdefineDirective({type:function(){},selectors:null,hostBindings:function(e,t,n){1&e&&o.ɵɵallocHostVars(1),2&e&&o.ɵɵstyleMap(t.getValue())}}),B=(U.prototype.getValue=function(){return this._delegate.getValue()},U.ɵdir=void 0,U.ɵfac=void 0,U);function U(e){this._delegate=e}var z,q=(e(H,z=B),Object.defineProperty(H.prototype,"ngStyle",{set:function(e){this._delegate.setNgStyle(e)},enumerable:!0,configurable:!0}),H.prototype.ngDoCheck=function(){this._delegate.applyChanges()},t([o.Input("ngStyle"),a("design:type",Object),a("design:paramtypes",[Object])],H.prototype,"ngStyle",null),H=t([o.Directive({selector:"[ngStyle]",providers:[L]}),a("design:paramtypes",[P])],H));function H(e){return z.call(this,e)||this}var W=null;function G(){return W}function Y(){}var K=new o.InjectionToken("DocumentToken"),Z=(Q.ɵprov=o.ɵɵdefineInjectable({factory:X,token:Q,providedIn:"platform"}),Q=t([o.Injectable({providedIn:"platform",useFactory:X})],Q));function Q(){}function X(){return o.ɵɵinject(ee)}var $,J=new o.InjectionToken("Location Initialized"),ee=(e(te,$=Z),te.prototype._init=function(){this.location=G().getLocation(),this._history=G().getHistory()},te.prototype.getBaseHrefFromDOM=function(){return G().getBaseHref(this._doc)},te.prototype.onPopState=function(e){G().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},te.prototype.onHashChange=function(e){G().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(te.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(te.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),te.prototype.pushState=function(e,t,n){ne()?this._history.pushState(e,t,n):this.location.hash=n},te.prototype.replaceState=function(e,t,n){ne()?this._history.replaceState(e,t,n):this.location.hash=n},te.prototype.forward=function(){this._history.forward()},te.prototype.back=function(){this._history.back()},te.prototype.getState=function(){return this._history.state},te.ɵprov=o.ɵɵdefineInjectable({factory:re,token:te,providedIn:"platform"}),te=t([o.Injectable({providedIn:"platform",useFactory:re}),n(0,o.Inject(K)),a("design:paramtypes",[Object])],te));function te(e){var t=$.call(this)||this;return t._doc=e,t._init(),t}function ne(){return!!window.history.pushState}function re(){return new ee(o.ɵɵinject(K))}function ie(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function oe(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-("/"===e[n-1]?1:0);return e.slice(0,r)+e.slice(n)}function ae(e){return e&&"?"!==e[0]?"?"+e:e}var se=(le.ɵprov=o.ɵɵdefineInjectable({factory:ue,token:le,providedIn:"root"}),le=t([o.Injectable({providedIn:"root",useFactory:ue})],le));function le(){}function ue(e){var t=o.ɵɵinject(K).location;return new de(o.ɵɵinject(Z),t&&t.origin||"")}var ce,pe=new o.InjectionToken("appBaseHref"),de=(e(he,ce=se),he.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},he.prototype.getBaseHref=function(){return this._baseHref},he.prototype.prepareExternalUrl=function(e){return ie(this._baseHref,e)},he.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+ae(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},he.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+ae(r));this._platformLocation.pushState(e,t,i)},he.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+ae(r));this._platformLocation.replaceState(e,t,i)},he.prototype.forward=function(){this._platformLocation.forward()},he.prototype.back=function(){this._platformLocation.back()},he=t([o.Injectable(),n(1,o.Optional()),n(1,o.Inject(pe)),a("design:paramtypes",[Z,String])],he));function he(e,t){var n=ce.call(this)||this;if(n._platformLocation=e,null==t&&(t=n._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return n._baseHref=t,n}var fe,me=(e(ve,fe=se),ve.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},ve.prototype.getBaseHref=function(){return this._baseHref},ve.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),0<t.length?t.substring(1):t},ve.prototype.prepareExternalUrl=function(e){var t=ie(this._baseHref,e);return 0<t.length?"#"+t:t},ve.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+ae(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)},ve.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+ae(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)},ve.prototype.forward=function(){this._platformLocation.forward()},ve.prototype.back=function(){this._platformLocation.back()},ve=t([o.Injectable(),n(1,o.Optional()),n(1,o.Inject(pe)),a("design:paramtypes",[Z,String])],ve));function ve(e,t){var n=fe.call(this)||this;return n._platformLocation=e,n._baseHref="",null!=t&&(n._baseHref=t),n}var ye,ge=((ye=_e).prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},_e.prototype.getState=function(){return this._platformLocation.getState()},_e.prototype.isCurrentPathEqualTo=function(e,t){return void 0===t&&(t=""),this.path()==this.normalize(e+ae(t))},_e.prototype.normalize=function(e){return ye.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,we(e)))},_e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},_e.prototype.go=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ae(t)),n)},_e.prototype.replaceState=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ae(t)),n)},_e.prototype.forward=function(){this._platformStrategy.forward()},_e.prototype.back=function(){this._platformStrategy.back()},_e.prototype.onUrlChange=function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)})},_e.prototype._notifyUrlChangeListeners=function(t,n){void 0===t&&(t=""),this._urlChangeListeners.forEach(function(e){return e(t,n)})},_e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},_e.normalizeQueryParams=ae,_e.joinWithSlash=ie,_e.stripTrailingSlash=oe,_e.ɵprov=o.ɵɵdefineInjectable({factory:be,token:_e,providedIn:"root"}),_e=ye=t([o.Injectable({providedIn:"root",useFactory:be}),a("design:paramtypes",[se,Z])],_e));function _e(e,t){var n=this;this._subject=new o.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=oe(we(r)),this._platformStrategy.onPopState(function(e){n._subject.emit({url:n.path(!0),pop:!0,state:e.state,type:e.type})})}function be(){return new ge(o.ɵɵinject(se),o.ɵɵinject(Z))}function we(e){return e.replace(/\/index.html$/,"")}var xe,Ce,Se,Ee,Oe,ke,De,Te={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"р.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",0],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"₱"],PKR:[void 0,"Rs",0],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RUR:[void 0,"р."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};function Ie(e){return o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.LocaleId]}function Pe(e,t,n){var r=o.ɵfindLocaleData(e);return He(He([r[o.ɵLocaleDataIndex.DayPeriodsFormat],r[o.ɵLocaleDataIndex.DayPeriodsStandalone]],t),n)}function Ae(e,t,n){var r=o.ɵfindLocaleData(e);return He(He([r[o.ɵLocaleDataIndex.DaysFormat],r[o.ɵLocaleDataIndex.DaysStandalone]],t),n)}function Me(e,t,n){var r=o.ɵfindLocaleData(e);return He(He([r[o.ɵLocaleDataIndex.MonthsFormat],r[o.ɵLocaleDataIndex.MonthsStandalone]],t),n)}function Re(e,t){return He(o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.Eras],t)}function Ne(e,t){return He(o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.DateFormat],t)}function je(e,t){return He(o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.TimeFormat],t)}function Fe(e,t){return He(o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.DateTimeFormat],t)}function Le(e,t){var n=o.ɵfindLocaleData(e),r=n[o.ɵLocaleDataIndex.NumberSymbols][t];if(void 0===r){if(t===x.NumberSymbol.CurrencyDecimal)return n[o.ɵLocaleDataIndex.NumberSymbols][x.NumberSymbol.Decimal];if(t===x.NumberSymbol.CurrencyGroup)return n[o.ɵLocaleDataIndex.NumberSymbols][x.NumberSymbol.Group]}return r}function Ve(e,t){return o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.NumberFormats][t]}(xe=x.NumberFormatStyle||(x.NumberFormatStyle={}))[xe.Decimal=0]="Decimal",xe[xe.Percent=1]="Percent",xe[xe.Currency=2]="Currency",xe[xe.Scientific=3]="Scientific",(Ce=x.Plural||(x.Plural={}))[Ce.Zero=0]="Zero",Ce[Ce.One=1]="One",Ce[Ce.Two=2]="Two",Ce[Ce.Few=3]="Few",Ce[Ce.Many=4]="Many",Ce[Ce.Other=5]="Other",(Se=x.FormStyle||(x.FormStyle={}))[Se.Format=0]="Format",Se[Se.Standalone=1]="Standalone",(Ee=x.TranslationWidth||(x.TranslationWidth={}))[Ee.Narrow=0]="Narrow",Ee[Ee.Abbreviated=1]="Abbreviated",Ee[Ee.Wide=2]="Wide",Ee[Ee.Short=3]="Short",(Oe=x.FormatWidth||(x.FormatWidth={}))[Oe.Short=0]="Short",Oe[Oe.Medium=1]="Medium",Oe[Oe.Long=2]="Long",Oe[Oe.Full=3]="Full",(ke=x.NumberSymbol||(x.NumberSymbol={}))[ke.Decimal=0]="Decimal",ke[ke.Group=1]="Group",ke[ke.List=2]="List",ke[ke.PercentSign=3]="PercentSign",ke[ke.PlusSign=4]="PlusSign",ke[ke.MinusSign=5]="MinusSign",ke[ke.Exponential=6]="Exponential",ke[ke.SuperscriptingExponent=7]="SuperscriptingExponent",ke[ke.PerMille=8]="PerMille",ke[ke[1/0]=9]="Infinity",ke[ke.NaN=10]="NaN",ke[ke.TimeSeparator=11]="TimeSeparator",ke[ke.CurrencyDecimal=12]="CurrencyDecimal",ke[ke.CurrencyGroup=13]="CurrencyGroup",(De=x.WeekDay||(x.WeekDay={}))[De.Sunday=0]="Sunday",De[De.Monday=1]="Monday",De[De.Tuesday=2]="Tuesday",De[De.Wednesday=3]="Wednesday",De[De.Thursday=4]="Thursday",De[De.Friday=5]="Friday",De[De.Saturday=6]="Saturday";var Be=o.ɵgetLocalePluralCase;function Ue(e){if(!e[o.ɵLocaleDataIndex.ExtraData])throw new Error('Missing extra locale data for the locale "'+e[o.ɵLocaleDataIndex.LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function ze(e){var t=o.ɵfindLocaleData(e);return Ue(t),(t[o.ɵLocaleDataIndex.ExtraData][2]||[]).map(function(e){return"string"==typeof e?We(e):[We(e[0]),We(e[1])]})}function qe(e,t,n){var r=o.ɵfindLocaleData(e);return Ue(r),He(He([r[o.ɵLocaleDataIndex.ExtraData][0],r[o.ɵLocaleDataIndex.ExtraData][1]],t)||[],n)||[]}function He(e,t){for(var n=t;-1<n;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function We(e){var t=d(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function Ge(e,t,n){void 0===n&&(n="en");var r=function(e){return o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.Currencies]}(n)[e]||Te[e]||[],i=r[1];return"narrow"===t&&"string"==typeof i?i:r[0]||e}var Ye=2;function Ke(e){var t,n=Te[e];return n&&(t=n[2]),"number"==typeof t?t:Ye}var Ze,Qe,Xe,$e,Je,et,tt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,nt={},rt=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function it(e,t,n,r){var i=function(e){if(mt(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var n=d(e.split("-").map(function(e){return+e}),3),r=n[0],i=n[1],o=n[2];return new Date(r,i-1,o)}var a;if(a=e.match(tt))return function(e){var t=new Date(0),n=0,r=0,i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11]));i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-r,l=Number(e[6]||0),u=Math.round(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,l,u),t}(a)}var s=new Date(e);if(mt(s))return s;throw new Error('Unable to convert "'+e+'" into a date')}(e);t=function e(t,n){var r=Ie(t);nt[r]=nt[r]||{};if(nt[r][n])return nt[r][n];var i="";switch(n){case"shortDate":i=Ne(t,x.FormatWidth.Short);break;case"mediumDate":i=Ne(t,x.FormatWidth.Medium);break;case"longDate":i=Ne(t,x.FormatWidth.Long);break;case"fullDate":i=Ne(t,x.FormatWidth.Full);break;case"shortTime":i=je(t,x.FormatWidth.Short);break;case"mediumTime":i=je(t,x.FormatWidth.Medium);break;case"longTime":i=je(t,x.FormatWidth.Long);break;case"fullTime":i=je(t,x.FormatWidth.Full);break;case"short":var o=e(t,"shortTime"),a=e(t,"shortDate");i=ot(Fe(t,x.FormatWidth.Short),[o,a]);break;case"medium":var s=e(t,"mediumTime"),l=e(t,"mediumDate");i=ot(Fe(t,x.FormatWidth.Medium),[s,l]);break;case"long":var u=e(t,"longTime"),c=e(t,"longDate");i=ot(Fe(t,x.FormatWidth.Long),[u,c]);break;case"full":var p=e(t,"fullTime"),d=e(t,"fullDate");i=ot(Fe(t,x.FormatWidth.Full),[p,d])}i&&(nt[r][n]=i);return i}(n,t)||t;for(var o,a=[];t;){if(!(o=rt.exec(t))){a.push(t);break}var s=(a=a.concat(o.slice(1))).pop();if(!s)break;t=s}var l=i.getTimezoneOffset();r&&(l=ft(r,l),i=function(e,t,n){var r=n?-1:1,i=e.getTimezoneOffset(),o=ft(t,i);return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(o-i))}(i,r,!0));var u="";return a.forEach(function(e){var t=function(e){if(ht[e])return ht[e];var t;switch(e){case"G":case"GG":case"GGG":t=lt(Je.Eras,x.TranslationWidth.Abbreviated);break;case"GGGG":t=lt(Je.Eras,x.TranslationWidth.Wide);break;case"GGGGG":t=lt(Je.Eras,x.TranslationWidth.Narrow);break;case"y":t=st(Xe.FullYear,1,0,!1,!0);break;case"yy":t=st(Xe.FullYear,2,0,!0,!0);break;case"yyy":t=st(Xe.FullYear,3,0,!1,!0);break;case"yyyy":t=st(Xe.FullYear,4,0,!1,!0);break;case"M":case"L":t=st(Xe.Month,1,1);break;case"MM":case"LL":t=st(Xe.Month,2,1);break;case"MMM":t=lt(Je.Months,x.TranslationWidth.Abbreviated);break;case"MMMM":t=lt(Je.Months,x.TranslationWidth.Wide);break;case"MMMMM":t=lt(Je.Months,x.TranslationWidth.Narrow);break;case"LLL":t=lt(Je.Months,x.TranslationWidth.Abbreviated,x.FormStyle.Standalone);break;case"LLLL":t=lt(Je.Months,x.TranslationWidth.Wide,x.FormStyle.Standalone);break;case"LLLLL":t=lt(Je.Months,x.TranslationWidth.Narrow,x.FormStyle.Standalone);break;case"w":t=dt(1);break;case"ww":t=dt(2);break;case"W":t=dt(1,!0);break;case"d":t=st(Xe.Date,1);break;case"dd":t=st(Xe.Date,2);break;case"E":case"EE":case"EEE":t=lt(Je.Days,x.TranslationWidth.Abbreviated);break;case"EEEE":t=lt(Je.Days,x.TranslationWidth.Wide);break;case"EEEEE":t=lt(Je.Days,x.TranslationWidth.Narrow);break;case"EEEEEE":t=lt(Je.Days,x.TranslationWidth.Short);break;case"a":case"aa":case"aaa":t=lt(Je.DayPeriods,x.TranslationWidth.Abbreviated);break;case"aaaa":t=lt(Je.DayPeriods,x.TranslationWidth.Wide);break;case"aaaaa":t=lt(Je.DayPeriods,x.TranslationWidth.Narrow);break;case"b":case"bb":case"bbb":t=lt(Je.DayPeriods,x.TranslationWidth.Abbreviated,x.FormStyle.Standalone,!0);break;case"bbbb":t=lt(Je.DayPeriods,x.TranslationWidth.Wide,x.FormStyle.Standalone,!0);break;case"bbbbb":t=lt(Je.DayPeriods,x.TranslationWidth.Narrow,x.FormStyle.Standalone,!0);break;case"B":case"BB":case"BBB":t=lt(Je.DayPeriods,x.TranslationWidth.Abbreviated,x.FormStyle.Format,!0);break;case"BBBB":t=lt(Je.DayPeriods,x.TranslationWidth.Wide,x.FormStyle.Format,!0);break;case"BBBBB":t=lt(Je.DayPeriods,x.TranslationWidth.Narrow,x.FormStyle.Format,!0);break;case"h":t=st(Xe.Hours,1,-12);break;case"hh":t=st(Xe.Hours,2,-12);break;case"H":t=st(Xe.Hours,1);break;case"HH":t=st(Xe.Hours,2);break;case"m":t=st(Xe.Minutes,1);break;case"mm":t=st(Xe.Minutes,2);break;case"s":t=st(Xe.Seconds,1);break;case"ss":t=st(Xe.Seconds,2);break;case"S":t=st(Xe.FractionalSeconds,1);break;case"SS":t=st(Xe.FractionalSeconds,2);break;case"SSS":t=st(Xe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ut(Ze.Short);break;case"ZZZZZ":t=ut(Ze.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ut(Ze.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ut(Ze.Long);break;default:return null}return ht[e]=t}(e);u+=t?t(i,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ot(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(e,t){return null!=n&&t in n?n[t]:e})),e}function at(e,t,n,r,i){void 0===n&&(n="-");var o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));for(var a=String(e);a.length<t;)a="0"+a;return r&&(a=a.substr(a.length-t)),o+a}function st(i,o,a,s,l){return void 0===a&&(a=0),void 0===s&&(s=!1),void 0===l&&(l=!1),function(e,t){var n=function(e,t){switch(e){case Xe.FullYear:return t.getFullYear();case Xe.Month:return t.getMonth();case Xe.Date:return t.getDate();case Xe.Hours:return t.getHours();case Xe.Minutes:return t.getMinutes();case Xe.Seconds:return t.getSeconds();case Xe.FractionalSeconds:return t.getMilliseconds();case Xe.Day:return t.getDay();default:throw new Error('Unknown DateType value "'+e+'".')}}(i,e);if((0<a||-a<n)&&(n+=a),i===Xe.Hours)0===n&&-12===a&&(n=12);else if(i===Xe.FractionalSeconds)return function(e,t){return at(e,3).substr(0,t)}(n,o);var r=Le(t,x.NumberSymbol.MinusSign);return at(n,o,r,s,l)}}function lt(n,r,i,o){return void 0===i&&(i=x.FormStyle.Format),void 0===o&&(o=!1),function(e,t){return function(e,t,n,r,i,o){switch(n){case Je.Months:return Me(t,i,r)[e.getMonth()];case Je.Days:return Ae(t,i,r)[e.getDay()];case Je.DayPeriods:var c=e.getHours(),p=e.getMinutes();if(o){var d,a=ze(t),h=qe(t,i,r);if(a.forEach(function(e,t){if(Array.isArray(e)){var n=e[0],r=n.hours,i=n.minutes,o=e[1],a=o.hours,s=o.minutes;r<=c&&i<=p&&(c<a||c===a&&p<s)&&(d=h[t])}else{var l=e.hours,u=e.minutes;l===c&&u===p&&(d=h[t])}}),d)return d}return Pe(t,i,r)[c<12?0:1];case Je.Eras:return Re(t,r)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(e,t,n,r,i,o)}}function ut(a){return function(e,t,n){var r=-1*n,i=Le(t,x.NumberSymbol.MinusSign),o=0<r?Math.floor(r/60):Math.ceil(r/60);switch(a){case Ze.Short:return(0<=r?"+":"")+at(o,2,i)+at(Math.abs(r%60),2,i);case Ze.ShortGMT:return"GMT"+(0<=r?"+":"")+at(o,1,i);case Ze.Long:return"GMT"+(0<=r?"+":"")+at(o,2,i)+":"+at(Math.abs(r%60),2,i);case Ze.Extended:return 0===n?"Z":(0<=r?"+":"")+at(o,2,i)+":"+at(Math.abs(r%60),2,i);default:throw new Error('Unknown zone width "'+a+'"')}}}(Qe=Ze=Ze||{})[Qe.Short=0]="Short",Qe[Qe.ShortGMT=1]="ShortGMT",Qe[Qe.Long=2]="Long",Qe[Qe.Extended=3]="Extended",($e=Xe=Xe||{})[$e.FullYear=0]="FullYear",$e[$e.Month=1]="Month",$e[$e.Date=2]="Date",$e[$e.Hours=3]="Hours",$e[$e.Minutes=4]="Minutes",$e[$e.Seconds=5]="Seconds",$e[$e.FractionalSeconds=6]="FractionalSeconds",$e[$e.Day=7]="Day",(et=Je=Je||{})[et.DayPeriods=0]="DayPeriods",et[et.Days=1]="Days",et[et.Months=2]="Months",et[et.Eras=3]="Eras";var ct=0,pt=4;function dt(s,l){return void 0===l&&(l=!1),function(e,t){var n;if(l){var r=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,i=e.getDate();n=1+Math.floor((i+r)/7)}else{var o=function(e){var t=new Date(e,ct,1).getDay();return new Date(e,0,1+(t<=pt?pt:pt+7)-t)}(e.getFullYear()),a=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(pt-e.getDay()))}(e).getTime()-o.getTime();n=1+Math.round(a/6048e5)}return at(n,s,Le(t,x.NumberSymbol.MinusSign))}}var ht={};function ft(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function mt(e){return e instanceof Date&&!isNaN(e.valueOf())}var vt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,gt=".",_t="0",bt=";",wt=",",xt="#";function Ct(e,t,n,r,i,o,a){void 0===a&&(a=!1);var s="",l=!1;if(isFinite(e)){var u=function(e){var t,n,r,i,o,a=Math.abs(e)+"",s=0;-1<(n=a.indexOf(gt))&&(a=a.replace(gt,""));0<(r=a.search(/e/i))?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length);for(r=0;a.charAt(r)===_t;r++);if(r===(o=a.length))t=[0],n=1;else{for(o--;a.charAt(o)===_t;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=Number(a.charAt(r))}yt<n&&(t=t.splice(0,yt-1),s=n-1,n=1);return{digits:t,exponent:s,integerLen:n}}(e);a&&(u=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0==t?e.digits.push(0,0):1==t&&e.digits.push(0),e.integerLen+=2);return e}(u));var c=t.minInt,p=t.minFrac,d=t.maxFrac;if(o){var h=o.match(vt);if(null===h)throw new Error(o+" is not a valid digit info");var f=h[1],m=h[3],v=h[5];null!=f&&(c=Dt(f)),null!=m&&(p=Dt(m)),null!=v?d=Dt(v):null!=m&&d<p&&(d=p)}!function(e,t,n){if(n<t)throw new Error("The minimum number of digits after fraction ("+t+") is higher than the maximum ("+n+").");var r=e.digits,i=r.length-e.integerLen,o=Math.min(Math.max(t,i),n),a=o+e.integerLen,s=r[a];if(0<a){r.splice(Math.max(e.integerLen,a));for(var l=a;l<r.length;l++)r[l]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,a=o+1),r[0]=0;for(var u=1;u<a;u++)r[u]=0}if(5<=s)if(a-1<0){for(var c=0;a<c;c--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[a-1]++;for(;i<Math.max(0,o);i++)r.push(0);var p=0!==o,d=t+e.integerLen,h=r.reduceRight(function(e,t,n,r){return t+=e,r[n]=t<10?t:t-10,p&&(0===r[n]&&d<=n?r.pop():p=!1),10<=t?1:0},0);h&&(r.unshift(h),e.integerLen++)}(u,p,d);var y=u.digits,g=u.integerLen,_=u.exponent,b=[];for(l=y.every(function(e){return!e});g<c;g++)y.unshift(0);for(;g<0;g++)y.unshift(0);0<g?b=y.splice(g,y.length):(b=y,y=[0]);var w=[];for(y.length>=t.lgSize&&w.unshift(y.splice(-t.lgSize,y.length).join(""));y.length>t.gSize;)w.unshift(y.splice(-t.gSize,y.length).join(""));y.length&&w.unshift(y.join("")),s=w.join(Le(n,r)),b.length&&(s+=Le(n,i)+b.join("")),_&&(s+=Le(n,x.NumberSymbol.Exponential)+"+"+_)}else s=Le(n,x.NumberSymbol.Infinity);return s=e<0&&!l?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function St(e,t,n,r,i){var o=kt(Ve(t,x.NumberFormatStyle.Currency),Le(t,x.NumberSymbol.MinusSign));return o.minFrac=Ke(r),o.maxFrac=o.minFrac,Ct(e,o,t,x.NumberSymbol.CurrencyGroup,x.NumberSymbol.CurrencyDecimal,i).replace("¤",n).replace("¤","")}function Et(e,t,n){return Ct(e,kt(Ve(t,x.NumberFormatStyle.Percent),Le(t,x.NumberSymbol.MinusSign)),t,x.NumberSymbol.Group,x.NumberSymbol.Decimal,n,!0).replace(new RegExp("%","g"),Le(t,x.NumberSymbol.PercentSign))}function Ot(e,t,n){return Ct(e,kt(Ve(t,x.NumberFormatStyle.Decimal),Le(t,x.NumberSymbol.MinusSign)),t,x.NumberSymbol.Group,x.NumberSymbol.Decimal,n)}function kt(e,t){void 0===t&&(t="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(bt),i=r[0],o=r[1],a=-1!==i.indexOf(gt)?i.split(gt):[i.substring(0,i.lastIndexOf(_t)+1),i.substring(i.lastIndexOf(_t)+1)],s=a[0],l=a[1]||"";n.posPre=s.substr(0,s.indexOf(xt));for(var u=0;u<l.length;u++){var c=l.charAt(u);c===_t?n.minFrac=n.maxFrac=u+1:c===xt?n.maxFrac=u+1:n.posSuf+=c}var p=s.split(wt);if(n.gSize=p[1]?p[1].length:0,n.lgSize=p[2]||p[1]?(p[2]||p[1]).length:0,o){var d=i.length-n.posPre.length-n.posSuf.length,h=o.indexOf(xt);n.negPre=o.substr(0,h).replace(/'/g,""),n.negSuf=o.substr(h+d).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function Dt(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function Tt(){}function It(e,t,n,r){var i="="+e;if(-1<t.indexOf(i))return i;if(i=n.getPluralCategory(e,r),-1<t.indexOf(i))return i;if(-1<t.indexOf("other"))return"other";throw new Error('No plural message found for value "'+e+'"')}var Pt,At=(e(Mt,Pt=Tt),Mt.prototype.getPluralCategory=function(e,t){switch(Be(t||this.locale)(e)){case x.Plural.Zero:return"zero";case x.Plural.One:return"one";case x.Plural.Two:return"two";case x.Plural.Few:return"few";case x.Plural.Many:return"many";default:return"other"}},Mt=t([o.Injectable(),n(0,o.Inject(o.LOCALE_ID)),a("design:paramtypes",[String])],Mt));function Mt(e){var t=Pt.call(this)||this;return t.locale=e,t}function Rt(e,t,n){"string"!=typeof t&&(n=t,t=e[o.ɵLocaleDataIndex.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),o.ɵLOCALE_DATA[t]=e,n&&(o.ɵLOCALE_DATA[t][o.ɵLocaleDataIndex.ExtraData]=n)}var Nt=(jt.prototype.ngOnChanges=function(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=t.get(o.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(o.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(r,this._viewContainerRef.length,t,this.ngComponentOutletContent)}},jt.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t([o.Input(),a("design:type",o.Type)],jt.prototype,"ngComponentOutlet",void 0),t([o.Input(),a("design:type",o.Injector)],jt.prototype,"ngComponentOutletInjector",void 0),t([o.Input(),a("design:type",Array)],jt.prototype,"ngComponentOutletContent",void 0),t([o.Input(),a("design:type",o.NgModuleFactory)],jt.prototype,"ngComponentOutletNgModuleFactory",void 0),jt=t([o.Directive({selector:"[ngComponentOutlet]"}),a("design:paramtypes",[o.ViewContainerRef])],jt));function jt(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}var Ft=(Object.defineProperty(Lt.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(Lt.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(Lt.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(Lt.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),Lt);function Lt(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}var Vt=(Object.defineProperty(Bt.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(Bt.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){o.isDevMode()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(Bt.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),Bt.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(e){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+function(e){return e.name||typeof e}(t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}if(this._differ){var e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}},Bt.prototype._applyChanges=function(e){var o=this,a=[];e.forEachOperation(function(e,t,n){if(null==e.previousIndex){var r=o._viewContainer.createEmbeddedView(o._template,new Ft(null,o._ngForOf,-1,-1),null===n?void 0:n),i=new Ut(e,r);a.push(i)}else null==n?o._viewContainer.remove(null===t?void 0:t):null!==t&&(r=o._viewContainer.get(t),o._viewContainer.move(r,n),i=new Ut(e,r),a.push(i))});for(var t=0;t<a.length;t++)this._perViewChange(a[t].view,a[t].record);t=0;for(var n=this._viewContainer.length;t<n;t++){var r=this._viewContainer.get(t);r.context.index=t,r.context.count=n,r.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){o._viewContainer.get(e.currentIndex).context.$implicit=e.item})},Bt.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},Bt.ngTemplateContextGuard=function(e,t){return!0},t([o.Input(),a("design:type",Object),a("design:paramtypes",[Object])],Bt.prototype,"ngForOf",null),t([o.Input(),a("design:type",Function),a("design:paramtypes",[Function])],Bt.prototype,"ngForTrackBy",null),t([o.Input(),a("design:type",o.TemplateRef),a("design:paramtypes",[o.TemplateRef])],Bt.prototype,"ngForTemplate",null),Bt=t([o.Directive({selector:"[ngFor][ngForOf]"}),a("design:paramtypes",[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers])],Bt));function Bt(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}var Ut=function(e,t){this.record=e,this.view=t};var zt=(Object.defineProperty(qt.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(qt.prototype,"ngIfThen",{set:function(e){Wt("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(qt.prototype,"ngIfElse",{set:function(e){Wt("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),qt.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t([o.Input(),a("design:type",Object),a("design:paramtypes",[Object])],qt.prototype,"ngIf",null),t([o.Input(),a("design:type",Object),a("design:paramtypes",[Object])],qt.prototype,"ngIfThen",null),t([o.Input(),a("design:type",Object),a("design:paramtypes",[Object])],qt.prototype,"ngIfElse",null),qt=t([o.Directive({selector:"[ngIf]"}),a("design:paramtypes",[o.ViewContainerRef,o.TemplateRef])],qt));function qt(e,t){this._viewContainer=e,this._context=new Ht,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}var Ht=function(){this.$implicit=null,this.ngIf=null};function Wt(e,t){if(!!(t&&!t.createEmbeddedView))throw new Error(e+" must be a TemplateRef, but received '"+o.ɵstringify(t)+"'.")}var Gt=(Yt.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},Yt.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},Yt.prototype.enforceState=function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()},Yt);function Yt(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}var Kt=(Object.defineProperty(Zt.prototype,"ngSwitch",{set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),Zt.prototype._addCase=function(){return this._caseCount++},Zt.prototype._addDefault=function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)},Zt.prototype._matchCase=function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t},Zt.prototype._updateDefaultCases=function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}},t([o.Input(),a("design:type",Object),a("design:paramtypes",[Object])],Zt.prototype,"ngSwitch",null),Zt=t([o.Directive({selector:"[ngSwitch]"})],Zt));function Zt(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}var Qt=(Xt.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t([o.Input(),a("design:type",Object)],Xt.prototype,"ngSwitchCase",void 0),Xt=t([o.Directive({selector:"[ngSwitchCase]"}),n(2,o.Host()),a("design:paramtypes",[o.ViewContainerRef,o.TemplateRef,Kt])],Xt));function Xt(e,t,n){(this.ngSwitch=n)._addCase(),this._view=new Gt(e,t)}var $t=Jt=t([o.Directive({selector:"[ngSwitchDefault]"}),n(2,o.Host()),a("design:paramtypes",[o.ViewContainerRef,o.TemplateRef,Kt])],Jt);function Jt(e,t,n){n._addDefault(new Gt(e,t))}var en=(Object.defineProperty(tn.prototype,"ngPlural",{set:function(e){this._switchValue=e,this._updateView()},enumerable:!0,configurable:!0}),tn.prototype.addCase=function(e,t){this._caseViews[e]=t},tn.prototype._updateView=function(){this._clearViews();var e=Object.keys(this._caseViews),t=It(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])},tn.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},tn.prototype._activateView=function(e){e&&(this._activeView=e,this._activeView.create())},t([o.Input(),a("design:type",Number),a("design:paramtypes",[Number])],tn.prototype,"ngPlural",null),tn=t([o.Directive({selector:"[ngPlural]"}),a("design:paramtypes",[Tt])],tn));function tn(e){this._localization=e,this._caseViews={}}var nn=rn=t([o.Directive({selector:"[ngPluralCase]"}),n(0,o.Attribute("ngPluralCase")),n(3,o.Host()),a("design:paramtypes",[String,o.TemplateRef,o.ViewContainerRef,en])],rn);function rn(e,t,n,r){this.value=e;var i=!isNaN(Number(e));r.addCase(i?"="+e:e,new Gt(n,t))}var on=(an.prototype.ngOnChanges=function(e){if(this._shouldRecreateView(e)){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)},an.prototype._shouldRecreateView=function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)},an.prototype._hasContextShapeChanged=function(e){var t,n,r=Object.keys(e.previousValue||{}),i=Object.keys(e.currentValue||{});if(r.length!==i.length)return!0;try{for(var o=p(i),a=o.next();!a.done;a=o.next()){var s=a.value;if(-1===r.indexOf(s))return!0}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return!1},an.prototype._updateExistingContext=function(e){var t,n;try{for(var r=p(Object.keys(e)),i=r.next();!i.done;i=r.next()){var o=i.value;this._viewRef.context[o]=this.ngTemplateOutletContext[o]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},t([o.Input(),a("design:type",Object)],an.prototype,"ngTemplateOutletContext",void 0),t([o.Input(),a("design:type",Object)],an.prototype,"ngTemplateOutlet",void 0),an=t([o.Directive({selector:"[ngTemplateOutlet]"}),a("design:paramtypes",[o.ViewContainerRef])],an));function an(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}var sn=[T,Nt,Vt,zt,on,q,Kt,Qt,$t,en,nn];function ln(e,t){return Error("InvalidPipeArgument: '"+t+"' for pipe '"+o.ɵstringify(e)+"'")}var un=(cn.prototype.createSubscription=function(e,t){return e.subscribe({next:t,error:function(e){throw e}})},cn.prototype.dispose=function(e){e.unsubscribe()},cn.prototype.onDestroy=function(e){e.unsubscribe()},cn);function cn(){}function pn(){}var dn,hn=new(pn.prototype.createSubscription=function(e,t){return e.then(t,function(e){throw e})},pn.prototype.dispose=function(e){},pn.prototype.onDestroy=function(e){},pn),fn=new un,mn=((dn=vn).prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},vn.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):o.ɵlooseIdentical(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,o.WrappedValue.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)},vn.prototype._subscribe=function(t){var n=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(e){return n._updateLatestValue(t,e)})},vn.prototype._selectStrategy=function(e){if(o.ɵisPromise(e))return hn;if(o.ɵisObservable(e))return fn;throw ln(dn,e)},vn.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},vn.prototype._updateLatestValue=function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())},vn=dn=t([o.Pipe({name:"async",pure:!1}),a("design:paramtypes",[o.ChangeDetectorRef])],vn));function vn(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var yn,gn=((yn=_n).prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw ln(yn,e);return e.toLowerCase()},_n=yn=t([o.Pipe({name:"lowercase"})],_n));function _n(){}var bn,wn=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,xn=((bn=Cn).prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw ln(bn,e);return e.replace(wn,function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()})},Cn=bn=t([o.Pipe({name:"titlecase"})],Cn));function Cn(){}var Sn,En=((Sn=On).prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw ln(Sn,e);return e.toUpperCase()},On=Sn=t([o.Pipe({name:"uppercase"})],On));function On(){}var kn,Dn=((kn=Tn).prototype.transform=function(e,t,n,r){if(void 0===t&&(t="mediumDate"),null==e||""===e||e!=e)return null;try{return it(e,t,r||this.locale,n)}catch(e){throw ln(kn,e.message)}},Tn=kn=t([o.Pipe({name:"date",pure:!0}),n(0,o.Inject(o.LOCALE_ID)),a("design:paramtypes",[String])],Tn));function Tn(e){this.locale=e}var In,Pn=/#/g,An=((In=Mn).prototype.transform=function(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw ln(In,t);return t[It(e,Object.keys(t),this._localization,n)].replace(Pn,e.toString())},Mn=In=t([o.Pipe({name:"i18nPlural",pure:!0}),a("design:paramtypes",[Tt])],Mn));function Mn(e){this._localization=e}var Rn,Nn=((Rn=jn).prototype.transform=function(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw ln(Rn,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""},jn=Rn=t([o.Pipe({name:"i18nSelect",pure:!0})],jn));function jn(){}var Fn=(Ln.prototype.transform=function(e){return JSON.stringify(e,null,2)},Ln=t([o.Pipe({name:"json",pure:!1})],Ln));function Ln(){}var Vn=(Bn.prototype.transform=function(e,t){var n=this;if(void 0===t&&(t=Un),!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var r=this.differ.diff(e);return r&&(this.keyValues=[],r.forEachItem(function(e){n.keyValues.push(function(e,t){return{key:e,value:t}}(e.key,e.currentValue))}),this.keyValues.sort(t)),this.keyValues},Bn=t([o.Pipe({name:"keyvalue",pure:!1}),a("design:paramtypes",[o.KeyValueDiffers])],Bn));function Bn(e){this.differs=e,this.keyValues=[]}function Un(e,t){var n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;var i=String(n),o=String(r);return i==o?0:i<o?-1:1}var zn,qn=((zn=Hn).prototype.transform=function(e,t,n){if(Xn(e))return null;n=n||this._locale;try{return Ot($n(e),n,t)}catch(e){throw ln(zn,e.message)}},Hn=zn=t([o.Pipe({name:"number"}),n(0,o.Inject(o.LOCALE_ID)),a("design:paramtypes",[String])],Hn));function Hn(e){this._locale=e}var Wn,Gn=((Wn=Yn).prototype.transform=function(e,t,n){if(Xn(e))return null;n=n||this._locale;try{return Et($n(e),n,t)}catch(e){throw ln(Wn,e.message)}},Yn=Wn=t([o.Pipe({name:"percent"}),n(0,o.Inject(o.LOCALE_ID)),a("design:paramtypes",[String])],Yn));function Yn(e){this._locale=e}var Kn,Zn=((Kn=Qn).prototype.transform=function(e,t,n,r,i){if(void 0===n&&(n="symbol"),Xn(e))return null;i=i||this._locale,"boolean"==typeof n&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),n=n?"symbol":"code");var o=t||"USD";"code"!==n&&(o="symbol"===n||"symbol-narrow"===n?Ge(o,"symbol"===n?"wide":"narrow",i):n);try{return St($n(e),i,o,t,r)}catch(e){throw ln(Kn,e.message)}},Qn=Kn=t([o.Pipe({name:"currency"}),n(0,o.Inject(o.LOCALE_ID)),a("design:paramtypes",[String])],Qn));function Qn(e){this._locale=e}function Xn(e){return null==e||""===e||e!=e}function $n(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}var Jn,er=((Jn=tr).prototype.transform=function(e,t,n){if(null==e)return e;if(!this.supports(e))throw ln(Jn,e);return e.slice(t,n)},tr.prototype.supports=function(e){return"string"==typeof e||Array.isArray(e)},tr=Jn=t([o.Pipe({name:"slice",pure:!1})],tr));function tr(){}var nr=[mn,En,gn,Fn,er,qn,Gn,xn,Zn,Dn,An,Nn,Vn],rr=ir=t([o.NgModule({declarations:[sn,nr],exports:[sn,nr],providers:[{provide:Tt,useClass:At}]})],ir);function ir(){}var or="browserWorkerApp",ar="browserWorkerUi";var sr=new o.Version("9.0.0-next.12"),lr=(ur.ɵprov=o.ɵɵdefineInjectable({token:ur,providedIn:"root",factory:function(){return new cr(o.ɵɵinject(K),window,o.ɵɵinject(o.ErrorHandler))}}),ur);function ur(){}var cr=(pr.prototype.setOffset=function(e){Array.isArray(e)?this.offset=function(){return e}:this.offset=e},pr.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},pr.prototype.scrollToPosition=function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])},pr.prototype.scrollToAnchor=function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='"+e+"']");if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}},pr.prototype.setHistoryScrollRestoration=function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}},pr.prototype.scrollToElement=function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])},pr.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},pr);function pr(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=function(){return[0,0]}}var dr=(hr.prototype.setOffset=function(e){},hr.prototype.getScrollPosition=function(){return[0,0]},hr.prototype.scrollToPosition=function(e){},hr.prototype.scrollToAnchor=function(e){},hr.prototype.setHistoryScrollRestoration=function(e){},hr);function hr(){}x.ɵangular_packages_common_common_k=sn,x.ɵangular_packages_common_common_c=S,x.ɵangular_packages_common_common_b=w,x.ɵangular_packages_common_common_a=_,x.ɵangular_packages_common_common_f=L,x.ɵangular_packages_common_common_e=j,x.ɵangular_packages_common_common_d=R,x.ɵangular_packages_common_common_i=be,x.ɵangular_packages_common_common_j=ue,x.ɵangular_packages_common_common_h=re,x.ɵangular_packages_common_common_g=X,x.ɵangular_packages_common_common_l=nr,x.ɵregisterLocaleData=Rt,x.registerLocaleData=Rt,x.formatDate=it,x.formatCurrency=St,x.formatNumber=Ot,x.formatPercent=Et,x.NgLocaleLocalization=At,x.NgLocalization=Tt,x.getNumberOfCurrencyDigits=Ke,x.getCurrencySymbol=Ge,x.getLocaleDayPeriods=Pe,x.getLocaleDayNames=Ae,x.getLocaleMonthNames=Me,x.getLocaleId=Ie,x.getLocaleEraNames=Re,x.getLocaleWeekEndRange=function(e){return o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.WeekendRange]},x.getLocaleFirstDayOfWeek=function(e){return o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.FirstDayOfWeek]},x.getLocaleDateFormat=Ne,x.getLocaleDateTimeFormat=Fe,x.getLocaleExtraDayPeriodRules=ze,x.getLocaleExtraDayPeriods=qe,x.getLocalePluralCase=Be,x.getLocaleTimeFormat=je,x.getLocaleNumberSymbol=Le,x.getLocaleNumberFormat=Ve,x.getLocaleCurrencyName=function(e){return o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.CurrencyName]||null},x.getLocaleCurrencySymbol=function(e){return o.ɵfindLocaleData(e)[o.ɵLocaleDataIndex.CurrencySymbol]||null},x.ɵparseCookieValue=function(e,t){var n,r;t=encodeURIComponent(t);try{for(var i=p(e.split(";")),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.indexOf("="),l=d(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),u=l[0],c=l[1];if(u.trim()===t)return decodeURIComponent(c)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null},x.CommonModule=rr,x.NgClass=T,x.NgClassBase=O,x.NgForOf=Vt,x.NgForOfContext=Ft,x.NgIf=zt,x.NgIfContext=Ht,x.NgPlural=en,x.NgPluralCase=nn,x.NgStyle=q,x.NgStyleBase=B,x.NgSwitch=Kt,x.NgSwitchCase=Qt,x.NgSwitchDefault=$t,x.NgTemplateOutlet=on,x.NgComponentOutlet=Nt,x.DOCUMENT=K,x.AsyncPipe=mn,x.DatePipe=Dn,x.I18nPluralPipe=An,x.I18nSelectPipe=Nn,x.JsonPipe=Fn,x.LowerCasePipe=gn,x.CurrencyPipe=Zn,x.DecimalPipe=qn,x.PercentPipe=Gn,x.SlicePipe=er,x.UpperCasePipe=En,x.TitleCasePipe=xn,x.KeyValuePipe=Vn,x.ɵPLATFORM_BROWSER_ID="browser",x.ɵPLATFORM_SERVER_ID="server",x.ɵPLATFORM_WORKER_APP_ID=or,x.ɵPLATFORM_WORKER_UI_ID=ar,x.isPlatformBrowser=function(e){return"browser"===e},x.isPlatformServer=function(e){return"server"===e},x.isPlatformWorkerApp=function(e){return e===or},x.isPlatformWorkerUi=function(e){return e===ar},x.VERSION=sr,x.ViewportScroller=lr,x.ɵNullViewportScroller=dr,x.ɵngClassDirectiveDef__POST_R3__=E,x.ɵngClassFactoryDef__POST_R3__=function(){},x.ɵNgClassImpl=v,x.ɵNgClassImplProvider__POST_R3__=C,x.ɵNgClassR2Impl=y,x.ɵngStyleDirectiveDef__POST_R3__=V,x.ɵngStyleFactoryDef__POST_R3__=function(){},x.ɵNgStyleImpl=P,x.ɵNgStyleImplProvider__POST_R3__=F,x.ɵNgStyleR2Impl=A,x.ɵDomAdapter=Y,x.ɵgetDOM=G,x.ɵsetRootDomAdapter=function(e){W=W||e},x.ɵBrowserPlatformLocation=ee,x.HashLocationStrategy=me,x.Location=ge,x.APP_BASE_HREF=pe,x.LocationStrategy=se,x.PathLocationStrategy=de,x.LOCATION_INITIALIZED=J,x.PlatformLocation=Z,Object.defineProperty(x,"__esModule",{value:!0})}),function(r){var i="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function o(n,r){return n!==i&&("function"==typeof Object.create?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(e,t){return n[e]=r?r(e,t):t}}System.registerDynamic("npm:tslib/tslib.js",[],!1,function(e,t,n){return function(e){r(o(i,o(e)))}.call(t,t,e)})}(function(e){var r=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])};__extends=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},__decorate=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a},__param=function(n,r){return function(e,t){r(e,t,n)}},__metadata=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter=function(o,a,s,l){return new(s=s||Promise)(function(e,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function r(e){try{i(l.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):new s(function(e){e(t.value)}).then(n,r)}i((l=l.apply(o,a||[])).next())})},__generator=function(n,r){var i,o,a,e,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(a=2&t[0]?o.return:t[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,t[1])).done)return a;switch(o=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,o=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=r.call(n,s)}catch(e){t=[6,e],o=0}finally{i=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}},__exportStar=function(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])},__values=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}},__read=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},__spread=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e},__spreadArrays=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},__await=function(e){return this instanceof __await?(this.v=e,this):new __await(e)},__asyncGenerator=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(e,t||[]),a=[];return i={},r("next"),r("throw"),r("return"),i[Symbol.asyncIterator]=function(){return this},i;function r(r){o[r]&&(i[r]=function(n){return new Promise(function(e,t){1<a.push([r,n,e,t])||s(r,n)})})}function s(e,t){try{!function(e){e.value instanceof __await?Promise.resolve(e.value.v).then(l,u):c(a[0][2],e)}(o[e](t))}catch(e){c(a[0][3],e)}}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}},__asyncDelegator=function(r){var e,i;return e={},t("next"),t("throw",function(e){throw e}),t("return"),e[Symbol.iterator]=function(){return this},e;function t(t,n){e[t]=r[t]?function(e){return(i=!i)?{value:__await(r[t](e)),done:"return"===t}:n?n(e):e}:n}},__asyncValues=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=i[Symbol.asyncIterator];return t?t.call(i):(i="function"==typeof __values?__values(i):i[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=i[r]&&function(n){return new Promise(function(e,t){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(e,t,(n=i[r](n)).done,n.value)})}}},__makeTemplateObject=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault=function(e){return e&&e.__esModule?e:{default:e}},e("__extends",__extends),e("__assign",__assign),e("__rest",__rest),e("__decorate",__decorate),e("__param",__param),e("__metadata",__metadata),e("__awaiter",__awaiter),e("__generator",__generator),e("__exportStar",__exportStar),e("__values",__values),e("__read",__read),e("__spread",__spread),e("__spreadArrays",__spreadArrays),e("__await",__await),e("__asyncGenerator",__asyncGenerator),e("__asyncDelegator",__asyncDelegator),e("__asyncValues",__asyncValues),e("__makeTemplateObject",__makeTemplateObject),e("__importStar",__importStar),e("__importDefault",__importDefault)}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("rxjs"),require("rxjs/operators")):System.registerDynamic("npm:@angular/core/bundles/core.umd.js",["rxjs","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("rxjs"),e("rxjs/operators"))})}(0,function(N,u,c){"use strict";var r=function(e,t){return(r=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])})(e,t)};function p(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function e(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(o<3?i(a):3<o?i(t,n,a):i(t,n))||a);return 3<o&&a&&Object.defineProperty(t,n,a),a}function t(n,r){return function(e,t){r(e,t,n)}}function n(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function y(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function j(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function O(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(j(arguments[t]));return e}var d="__annotations__",h="__parameters__",f="__prop__metadata__";function i(e,t,n,i,o){var a=m(t);function s(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof s)return a.call.apply(a,O([this],t)),this;var r=new((e=s).bind.apply(e,O([void 0],t)));return function(e){return o&&o.apply(void 0,O([e],t)),(e.hasOwnProperty(d)?e[d]:Object.defineProperty(e,d,{value:[]})[d]).push(r),i&&i(e),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s}function m(i){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(i){var n=i.apply(void 0,O(e));for(var r in n)this[r]=n[r]}}}function o(e,t,n){var o=m(t);function a(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof a)return o.apply(this,t),this;var i=new((e=a).bind.apply(e,O([void 0],t)));return r.annotation=i,r;function r(e,t,n){for(var r=e.hasOwnProperty(h)?e[h]:Object.defineProperty(e,h,{value:[]})[h];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a}function a(e,t,n,a){var r=m(t);function s(){for(var e,i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];if(this instanceof s)return r.apply(this,i),this;var o=new((e=s).bind.apply(e,O([void 0],i)));return function(e,t){var n=e.constructor,r=n.hasOwnProperty(f)?n[f]:Object.defineProperty(n,f,{value:{}})[f];r[t]=r.hasOwnProperty(t)&&r[t]||[],r[t].unshift(o),a&&a.apply(void 0,O([e,t],i))}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s}function s(e){return{token:e}}function v(e){return{attributeName:e}}var g,_=o("Inject",s),b=o("Optional"),w=o("Self"),x=o("SkipSelf"),C=o("Host"),S=o("Attribute",v);function E(e){for(var t in e)if(e[t]===E)return t;throw Error("Could not find renamed property on target object.")}function k(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}(g=N.InjectFlags||(N.InjectFlags={}))[g.Default=0]="Default",g[g.Host=1]="Host",g[g.Self=2]="Self",g[g.SkipSelf=4]="SkipSelf",g[g.Optional=8]="Optional";var T=D;function I(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function P(e){var t=e[M]||e[F];return t&&t.token===e?t:null}function A(e){return e&&(e.hasOwnProperty(R)||e.hasOwnProperty(L))?e[R]:null}var M=E({"ɵprov":E}),R=E({"ɵinj":E}),F=E({ngInjectableDef:E}),L=E({ngInjectorDef:E});function V(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(V).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}var B=E({__forward_ref__:E});function U(e){return e.__forward_ref__=U,e.toString=function(){return V(this())},e}function z(e){return q(e)?e():e}function q(e){return"function"==typeof e&&e.hasOwnProperty(B)&&e.__forward_ref__===U}var H,W,G="undefined"!=typeof globalThis&&globalThis,Y="undefined"!=typeof window&&window,K="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global,Q=G||Z||Y||K;function X(){var e=Q.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.ɵcompilerFacade}(W=H=H||{})[W.Token=0]="Token",W[W.Attribute=1]="Attribute",W[W.ChangeDetectorRef=2]="ChangeDetectorRef";var $=E({"ɵcmp":E}),J=E({"ɵdir":E}),ee=E({"ɵpipe":E}),te=E({"ɵmod":E}),ne=E({"ɵloc":E}),re=E({ngBaseDef:E}),ie=E({"ɵfac":E}),oe=E({__NG_ELEMENT_ID__:E}),ae=(se.prototype.toString=function(){return"InjectionToken "+this._desc},se);function se(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ɵprov=D({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}var le,ue=new ae("INJECTOR",-1),ce=new Object,pe="ngTempTokenPath",de="ngTokenPath",he=/\n/gm,fe="ɵ",me="__source",ve=E({provide:String,useValue:E}),ye=void 0;function ge(e){var t=ye;return ye=e,t}function _e(e){var t=le;return le=e,t}function be(e,t){if(void 0===t&&(t=N.InjectFlags.Default),void 0===ye)throw new Error("inject() must be called from an injection context");return null===ye?Ce(e,void 0,t):ye.get(e,t&N.InjectFlags.Optional?null:void 0,t)}function we(e,t){return void 0===t&&(t=N.InjectFlags.Default),(le||be)(z(e),t)}var xe=we;function Ce(e,t,n){var r=P(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&N.InjectFlags.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND ["+V(e)+"]")}function Se(e){for(var t=[],n=0;n<e.length;n++){var r=z(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=N.InjectFlags.Default,a=0;a<r.length;a++){var s=r[a];s instanceof b||"Optional"===s.ngMetadataName||s===b?o|=N.InjectFlags.Optional:s instanceof x||"SkipSelf"===s.ngMetadataName||s===x?o|=N.InjectFlags.SkipSelf:s instanceof w||"Self"===s.ngMetadataName||s===w?o|=N.InjectFlags.Self:i=s instanceof _||s===_?s.token:s}t.push(we(i,o))}else t.push(we(r))}return t}var Ee=(Oe.prototype.get=function(e,t){if(void 0===t&&(t=ce),t!==ce)return t;var n=new Error("NullInjectorError: No provider for "+V(e)+"!");throw n.name="NullInjectorError",n},Oe);function Oe(){}function ke(e,t,n,r){var i=e[pe];throw t[me]&&i.unshift(t[me]),e.message=De("\n"+e.message,i,n,r),e[de]=i,e[pe]=null,e}function De(e,t,n,r){void 0===r&&(r=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==fe?e.substr(2):e;var i=V(t);if(Array.isArray(t))i=t.map(V).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):V(s)))}i="{"+o.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+i+"]: "+e.replace(he,"\n  ")}var Te={"ɵɵdefineInjectable":D,"ɵɵdefineInjector":I,"ɵɵinject":we,"ɵɵgetFactoryOf":function t(e){var n=e;if(q(e))return function(){var e=t(z(n));return e?e():null};var r=P(n)||A(n);if(!r||void 0===r.factory)return null;return r.factory}};function Ie(){}var Pe,Ae,Me,Re=function(){};function Ne(e,t){for(var n=0;n<e.length;n++)t.push(e[n])}function je(e,t){void 0===t&&(t=e);for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),je(r,t)):t!==e&&t.push(r)}return t}function Fe(e,t){e.forEach(function(e){return Array.isArray(e)?Fe(e,t):t(e)})}function Le(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ve(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Be(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function Ue(e,t,n){e!=t&&Ye(n)}function ze(e,t,n){e==t&&Ye(n)}function qe(e,t,n){e===t&&Ye(n)}function He(e,t,n){t<=e&&Ye(n)}function We(e,t,n){e<=t&&Ye(n)}function Ge(e,t){null==e&&Ye(t)}function Ye(e){throw new Error("ASSERTION ERROR: "+e)}function Ke(e){Ue("undefined"!=typeof Node&&e instanceof Node||"object"==typeof e&&null!=e&&"WebWorkerRenderNode"===e.constructor.name,!0,"The provided value must be an instance of a DOM Node but got "+V(e))}function Ze(e,t){var n=e?e.length:0;He(t,n,"Index expected to be less than "+n+" but got "+t)}function Qe(e){return""+{toString:e}}function Xe(){return!("undefined"!=typeof ngDevMode&&!ngDevMode)&&("object"!=typeof ngDevMode&&function(){var e="undefined"!=typeof location?location.toString():"",t={namedConstructors:-1!=e.indexOf("ngDevMode=namedConstructors"),firstTemplatePass:0,tNode:0,tView:0,rendererCreateTextNode:0,rendererSetText:0,rendererCreateElement:0,rendererAddEventListener:0,rendererSetAttribute:0,rendererRemoveAttribute:0,rendererSetProperty:0,rendererSetClassName:0,rendererAddClass:0,rendererRemoveClass:0,rendererSetStyle:0,rendererRemoveStyle:0,rendererDestroy:0,rendererDestroyNode:0,rendererMoveNode:0,rendererRemoveNode:0,rendererAppendChild:0,rendererInsertBefore:0,rendererCreateComment:0,styleMap:0,styleMapCacheMiss:0,classMap:0,classMapCacheMiss:0,styleProp:0,stylePropCacheMiss:0,classProp:0,classPropCacheMiss:0,flushStyling:0,classesApplied:0,stylesApplied:0},n=-1===e.indexOf("ngDevMode=false");Q.ngDevMode=n&&t}(),!!ngDevMode)}(Pe=N.ChangeDetectionStrategy||(N.ChangeDetectionStrategy={}))[Pe.OnPush=0]="OnPush",Pe[Pe.Default=1]="Default",(Ae=N.ɵChangeDetectorStatus||(N.ɵChangeDetectorStatus={}))[Ae.CheckOnce=0]="CheckOnce",Ae[Ae.Checked=1]="Checked",Ae[Ae.CheckAlways=2]="CheckAlways",Ae[Ae.Detached=3]="Detached",Ae[Ae.Errored=4]="Errored",Ae[Ae.Destroyed=5]="Destroyed",(Me=N.ViewEncapsulation||(N.ViewEncapsulation={}))[Me.Emulated=0]="Emulated",Me[Me.Native=1]="Native",Me[Me.None=2]="None",Me[Me.ShadowDom=3]="ShadowDom";var $e={},Je=[];("undefined"==typeof ngDevMode||ngDevMode)&&Xe()&&(Object.freeze($e),Object.freeze(Je));var et=0;function tt(r){"undefined"!=typeof ngDevMode&&!ngDevMode||Xe();var e=r.type,t=e.prototype,i={},o={type:e,providersResolver:null,decls:r.decls,vars:r.vars,factory:null,template:r.template||null,consts:r.consts||null,ngContentSelectors:r.ngContentSelectors,hostBindings:r.hostBindings||null,contentQueries:r.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:r.exportAs||null,onChanges:null,onInit:t.ngOnInit||null,doCheck:t.ngDoCheck||null,afterContentInit:t.ngAfterContentInit||null,afterContentChecked:t.ngAfterContentChecked||null,afterViewInit:t.ngAfterViewInit||null,afterViewChecked:t.ngAfterViewChecked||null,onDestroy:t.ngOnDestroy||null,onPush:r.changeDetection===N.ChangeDetectionStrategy.OnPush,directiveDefs:null,pipeDefs:null,selectors:r.selectors,viewQuery:r.viewQuery||null,features:r.features||null,data:r.data||{},encapsulation:r.encapsulation||N.ViewEncapsulation.Emulated,id:"c",styles:r.styles||Je,_:null,setInput:null,schemas:r.schemas||null,tView:null};return o._=Qe(function(){var e=r.directives,t=r.features,n=r.pipes;o.id+=et++,o.inputs=st(r.inputs,i),o.outputs=st(r.outputs),t&&t.forEach(function(e){return e(o)}),o.directiveDefs=e?function(){return("function"==typeof e?e():e).map(rt)}:null,o.pipeDefs=n?function(){return("function"==typeof n?n():n).map(it)}:null}),o}function nt(e,t,n){var r=e.ɵcmp;r.directiveDefs=function(){return t.map(rt)},r.pipeDefs=function(){return n.map(it)}}function rt(e){var t=pt(e)||dt(e);if(ngDevMode&&!t)throw new Error("'"+e.name+"' is neither 'ComponentType' or 'DirectiveType'.");return t}function it(e){var t=ht(e);if(ngDevMode&&!t)throw new Error("'"+e.name+"' is not a 'PipeType'.");return t}function ot(e){return{type:e.type,bootstrap:e.bootstrap||Je,declarations:e.declarations||Je,imports:e.imports||Je,exports:e.exports||Je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}}function at(t,n){return Qe(function(){var e=mt(t,!0);e.declarations=n.declarations||Je,e.imports=n.imports||Je,e.exports=n.exports||Je})}function st(e,t){if(null==e)return $e;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}function lt(e){var t={};return{inputs:st(e.inputs,t),declaredInputs:t,outputs:st(e.outputs),viewQuery:e.viewQuery||null,contentQueries:e.contentQueries||null,hostBindings:e.hostBindings||null}}var ut=tt;function ct(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function pt(e){return e[$]||null}function dt(e){return e[J]||null}function ht(e){return e[ee]||null}function ft(e,t){var n=e.hasOwnProperty(ie);if(!n&&!0===t&&ngDevMode)throw new Error("Type "+V(e)+" does not have 'ɵfac' property.");return n?e[ie]:null}function mt(e,t){var n=e[te]||null;if(!n&&!0===t)throw new Error("Type "+V(e)+" does not have 'ɵmod' property.");return n}var vt=0,yt=1,gt=2,_t=3,bt=4,wt=5,xt=6,Ct=7,St=8,Et=9,Ot=10,kt=11,Dt=12,Tt=13,It=14,Pt=15,At=16,Mt=17,Rt=18,Nt=19,jt=1,Ft=2,Lt=5,Vt=7,Bt=8,Ut=9;function zt(e){return Array.isArray(e)&&"object"==typeof e[jt]}function qt(e){return Array.isArray(e)&&!0===e[jt]}function Ht(e){return 0!=(8&e.flags)}function Wt(e){return 2==(2&e.flags)}function Gt(e){return 1==(1&e.flags)}function Yt(e){return null!==e.template}function Kt(e){return 0!=(512&e[gt])}function Zt(e,t){e.hasOwnProperty("tView_")&&Ue(e.tView_,t[yt],"This TNode does not belong to this LView.")}function Qt(e,t){void 0===t&&(t="Type passed in is not ComponentType, it does not have 'ɵcmp' property."),pt(e)||Ye(t)}function Xt(e){Ge(e,"previousOrParentTNode should exist!"),Ge(e.parent,"previousOrParentTNode should have a parent")}function $t(e){Ge(e,"LContainer must be defined"),Ue(qt(e),!0,"Expecting LContainer")}function Jt(e){e&&Ue(zt(e),!0,"Expecting LView or undefined or null")}function en(e){Ge(e,"LView must be defined"),Ue(zt(e),!0,"Expecting LView")}function tn(e,t){Ue(e.firstTemplatePass,!0,t||"Should only be called in first template pass.")}var nn=8,rn=8,on=9,an=-1,sn=function(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n};function ln(e,t){Ge(e,"should be called with a TNode"),Ue(e.type,t,"should be a "+cn(t))}function un(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Ge(t,"should be called with a TNode"),Ue(e.some(function(e){return t.type===e}),!0,"Should be one of "+e.map(cn).join(", ")+" but got "+cn(t.type))}function cn(e){return 1==e?"Projection":0==e?"Container":5==e?"IcuContainer":2==e?"View":3==e?"Element":4==e?"ElementContainer":"<unknown>"}var pn,dn,hn={previousOrParentTNode:null,isParent:null,lView:null,selectedIndex:-2,contextLView:null,checkNoChangesMode:!1,elementDepthCount:0,bindingsEnabled:!0,currentNamespace:null,currentSanitizer:null,currentDirectiveDef:null,activeDirectiveId:0,bindingRootIndex:-1,currentQueryIndex:0,elementExitFn:null};function fn(e){hn.currentDirectiveDef=e}function mn(){return hn.bindingsEnabled}function vn(){hn.bindingsEnabled=!0}function yn(){hn.bindingsEnabled=!1}function gn(){return hn.lView}function _n(e){return(hn.selectedIndex&e)===e}function bn(e){void 0===e&&(e=null),Vn()!==e&&(_n(1)&&wn(),Bn(null===e?-1:e),hn.activeDirectiveId=0)}function wn(){hn.elementExitFn(),hn.selectedIndex&=-2}function xn(e){!function(e){hn.selectedIndex|=e}(1),null==hn.elementExitFn&&(hn.elementExitFn=e),ngDevMode&&Ue(hn.elementExitFn,e,"Expecting to always get the same function")}function Cn(){return hn.activeDirectiveId}function Sn(){hn.activeDirectiveId+=1}function En(e){hn.contextLView=e}function On(){return hn.previousOrParentTNode}function kn(e,t){hn.previousOrParentTNode=e,hn.isParent=t}function Dn(e,t){ngDevMode&&Jt(t),hn.previousOrParentTNode=e,hn.lView=t}function Tn(){return hn.isParent}function In(){hn.isParent=!1}function Pn(){return hn.checkNoChangesMode}function An(e){hn.checkNoChangesMode=e}function Mn(){return hn.bindingRootIndex}function Rn(e){hn.bindingRootIndex=e}function Nn(){return hn.currentQueryIndex}function jn(e){hn.currentQueryIndex=e}function Fn(e,t){_n(1)&&wn(),ngDevMode&&Jt(e);var n=hn.lView;return hn.previousOrParentTNode=t,hn.isParent=!0,hn.lView=hn.contextLView=e,n}function Ln(e){return void 0===e&&(e=1),hn.contextLView=function(e,t){for(;0<e;)ngDevMode&&Ge(t[At],"Declaration view should be defined if nesting level is greater than 0."),t=t[At],e--;return t}(e,hn.contextLView),hn.contextLView[Et]}function Vn(){return hn.selectedIndex>>1}function Bn(e){hn.selectedIndex=e<<1}function Un(){hn.currentNamespace="http://www.w3.org/2000/svg"}function zn(){hn.currentNamespace="http://www.w3.org/1998/MathML/"}function qn(){Hn()}function Hn(){hn.currentNamespace=null}function Wn(e){hn.currentSanitizer=e}function Gn(){return hn.currentSanitizer}function Yn(e){return!!e.listen}(dn=pn=pn||{})[dn.Important=1]="Important",dn[dn.DashCase=2]="DashCase";var Kn={createRenderer:function(e,t){return document}};function Zn(e,t,n){for(var r=Yn(e),i=0;i<n.length;){var o=n[i];if("number"==typeof o){if(0!==o)break;i++;var a=n[i++],s=n[i++],l=n[i++];ngDevMode&&ngDevMode.rendererSetAttribute++,r?e.setAttribute(t,s,l,a):t.setAttributeNS(a,s,l)}else{s=o,l=n[++i];ngDevMode&&ngDevMode.rendererSetAttribute++,Xn(s)?r&&e.setProperty(t,s,l):r?e.setAttribute(t,s,l):t.setAttribute(s,l),i++}}return i}function Qn(e){return 3===e||4===e||6===e}function Xn(e){return 64===e.charCodeAt(0)}function $n(e){return e!==an}function Jn(e){return 32767&e}function er(e){return e>>16}function tr(e,t){for(var n=er(e),r=t;0<n;)r=r[At],n--;return r}function nr(e){return"string"==typeof e?e:null==e?"":""+e}function rr(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():nr(e)}var ir=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Q);function or(e){return{name:"window",target:e.ownerDocument.defaultView}}function ar(e){return{name:"document",target:e.ownerDocument}}function sr(e){return{name:"body",target:e.ownerDocument.body}}var lr="�";function ur(e){return e instanceof Function?e():e}var cr={},pr="[MAP]",dr=0,hr=null,fr=0,mr=1,vr=1;function yr(e){return[e]}function gr(e){return e[0]}function _r(e,t){return 0!=(gr(e)&t)}function br(e,t){var n=!1,r=gr(e),i=0!=(r&Ar(t));if(0==(1&r))n=!ngDevMode||i;else if(i){n=0==(8&r)&&6!=(6&r)}return n}function wr(e,t){e[0]|=t}function xr(e,t){return e[t+3]}function Cr(e,t){return 0!=(1&function(e,t){return 1&e[t+0]}(e,t))}function Sr(e,t,n){return e[t+(n?2:1)]}function Er(e){return Or(e)+1}function Or(e){return e[1]}function kr(e,t,n){return e[t+4+n]}function Dr(e,t){return e[t+4+Or(e)]}function Tr(e,t,n){e[t]=n}function Ir(e,t){return 0!==t?e[t]:null}function Pr(e,t){return _r(e,Ar(t))}function Ar(e){return e?256:128}function Mr(e){var t=3;return _r(e,4)&&(t+=4+Er(e)),t}function Rr(e,t){if(t===cr)return!1;var n=Array.isArray(e)?e[0]:e,r=Array.isArray(t)?t[0]:t;return!Object.is(n,r)}function Nr(e){return null!=e&&""!==e}function jr(e,t,n){return void 0===n&&(n=" "),e+(t.length&&e.length?n:"")+t}function Fr(e){return Lr(e)?e[2]:e}function Lr(e){return Array.isArray(e)&&3<=e.length&&"string"!=typeof e[1]}function Vr(e){var t=Fr(e);return t&&t[0]||""}function Br(e){return 0!=(16&e.flags)}function Ur(e){return 0!=(32&e.flags)}function zr(e,t){return e[t+0]}var qr="undefined"!=typeof ngDevMode&&ngDevMode?{}:{MAP_DIRTY_VALUE:!0};function Hr(e,t,n){e[t+1]=n}function Wr(e,t){return e[t+1]}function Gr(e){return e!==dr}function Yr(e,t){for(var n="",r=1;r<e.length;r+=2){var i=zr(e,r),o=Wr(e,r);n=jr(n,jr(i,t?"":o,":"),t?" ":"; ")}return n}function Kr(e,t,n,r){for(var i=1;i<e.length;i+=2){var o=zr(e,i);if(t<=o){var a=!1;if(o===t){var s=e[i];!r&&Nr(s)||(a=!0,Hr(e,i,n))}else a=!0,e.splice(i,0,t,n);return a}}return e.push(t,n),!0}function Zr(e,t,n){var r=Array.isArray(e)?e:yr(null);r[0]=t;for(var i=1;i<r.length;i+=2)Hr(r,i,null);var o,a=null,s=!1;if("string"==typeof t?t.length&&(a=t.split(/\s+/),s=!0):(a=t?Object.keys(t):null,o=t),a)for(var l=0;l<a.length;l++){var u=a[l];Kr(r,n?u.replace(/[a-z][A-Z]/g,function(e){return e.charAt(0)+"-"+e.charAt(1)}).toLowerCase():u,!!s||o[u],!0)}return r}function Qr(e){return e.hasOwnProperty("class")?"class":"className"}var Xr="__ngContext__";function $r(e){for(;Array.isArray(e);)e=e[vt];return e}function Jr(e,t){return $r(t[e+Nt])}function ei(e,t){ngDevMode&&Zt(e,t),ngDevMode&&Ze(t,e.index);var n=$r(t[e.index]);return ngDevMode&&!Yn(t[Dt])&&Ke(n),n}function ti(e,t){var n=e.index;if(-1===n)return null;ngDevMode&&Zt(e,t);var r=$r(t[n]);return ngDevMode&&null!==r&&!Yn(t[Dt])&&Ke(r),r}function ni(e,t){return ngDevMode&&We(e,-1,"wrong index for TNode"),ngDevMode&&He(e,t[yt].data.length,"wrong index for TNode"),t[yt].data[e+Nt]}function ri(e,t){return ngDevMode&&Ze(e,t+Nt),e[t+Nt]}function ii(e,t){ngDevMode&&Ze(t,e);var n=t[e];return zt(n)?n:n[vt]}function oi(e){return ngDevMode&&Ge(e,"Target expected"),e[Xr]||null}function ai(e){var t=oi(e);return t?Array.isArray(t)?t:t.lView:null}function si(e){return 4==(4&e[gt])}function li(e){e[Rt]=0}function ui(e){ngDevMode&&en(e);var t=e[_t];return qt(t)?t[_t]:t}function ci(e){ngDevMode&&Ge(e,"component");for(var t=zt(e)?e:ai(e);t&&!(512&t[gt]);)t=ui(t);return ngDevMode&&en(t),t}function pi(e){for(var t=e[xt];null!==t&&2===t.type;)ngDevMode&&Ge(e[At],"lView[DECLARATION_VIEW]"),t=(e=e[At])[xt];return ngDevMode&&en(e),e}function di(e){var t=ci(e);return ngDevMode&&Ge(t[Et],"RootView has no context. Perhaps it is disconnected?"),t[Et]}var hi=!0;function fi(e){var t=hi;return hi=e,t}var mi=255,vi=0;function yi(e,t){var n=_i(e,t);if(-1!==n)return n;var r=t[yt];r.firstTemplatePass&&(e.injectorIndex=t.length,gi(r.data,e),gi(t,null),gi(r.blueprint,null));var i=bi(e,t),o=e.injectorIndex;if($n(i))for(var a=Jn(i),s=tr(i,t),l=s[yt].data,u=0;u<8;u++)t[o+u]=s[a+u]|l[a+u];return t[o+rn]=i,o}function gi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function _i(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+rn]?-1:e.injectorIndex}function bi(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[xt],r=1;n&&-1===n.injectorIndex;)n=(t=t[At])?t[xt]:null,r++;return n?n.injectorIndex|r<<16:-1}function wi(e,t,n){!function(e,t,n){ngDevMode&&Ue(t.firstTemplatePass,!0,"expected firstTemplatePass to be true");var r="string"!=typeof n?n[oe]:n.charCodeAt(0)||0;null==r&&(r=n[oe]=vi++);var i=r&mi,o=1<<i,a=128&i,s=64&i,l=32&i,u=t.data;a?s?l?u[e+7]|=o:u[e+6]|=o:l?u[e+5]|=o:u[e+4]|=o:s?l?u[e+3]|=o:u[e+2]|=o:l?u[e+1]|=o:u[e]|=o}(e,t,n)}function xi(e,t){if(ngDevMode&&un(e,0,3,4),ngDevMode&&Ge(e,"expecting tNode"),"class"===t)return Vr(e.classes);if("style"===t)return Vr(e.styles);var n=e.attrs;if(n)for(var r=n.length,i=0;i<r;){var o=n[i];if(Qn(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}return null}function Ci(e,t,n,r,i){if(void 0===r&&(r=N.InjectFlags.Default),e){var o=function(e){if(ngDevMode&&Ge(e,"token must be defined"),"string"==typeof e)return e.charCodeAt(0)||0;var t=e[oe];return"number"==typeof t&&0<t?t&mi:t}(n);if("function"==typeof o){var a=On(),s=gn();Dn(e,t);try{var l=o();if(null!=l||r&N.InjectFlags.Optional)return l;throw new Error("No provider for "+rr(n)+"!")}finally{Dn(a,s)}}else if("number"==typeof o){if(-1===o)return new Ii(e,t);var u=null,c=_i(e,t),p=an,d=r&N.InjectFlags.Host?pi(t)[xt]:null;for((-1===c||r&N.InjectFlags.SkipSelf)&&(p=-1===c?bi(e,t):t[c+rn],Ti(r,!1)?(u=t[yt],c=Jn(p),t=tr(p,t)):c=-1);-1!==c;){p=t[c+rn];var h=t[yt];if(Di(o,c,h.data)){var f=Ei(c,t,n,u,r,d);if(f!==Si)return f}Ti(r,t[yt].data[c+nn]===d)&&Di(o,c,t)?(u=h,c=Jn(p),t=tr(p,t)):c=-1}}}if(r&N.InjectFlags.Optional&&void 0===i&&(i=null),0==(r&(N.InjectFlags.Self|N.InjectFlags.Host))){var m=t[Ot],v=_e(void 0);try{return m?m.get(n,i,r&N.InjectFlags.Optional):Ce(n,i,r&N.InjectFlags.Optional)}finally{_e(v)}}if(r&N.InjectFlags.Optional)return i;throw new Error("NodeInjector: NOT_FOUND ["+rr(n)+"]")}var Si={};function Ei(e,t,n,r,i,o){var a=t[yt],s=a.data[e+nn],l=Oi(s,a,n,null==r?Wt(s)&&hi:r!=a&&3===s.type,i&N.InjectFlags.Host&&o===s);return null!==l?ki(a.data,t,l,s):Si}function Oi(e,t,n,r,i){for(var o=e.providerIndexes,a=t.data,s=65535&o,l=e.directiveStart,u=e.directiveEnd,c=o>>16,p=i?s+c:u,d=r?s:s+c;d<p;d++){var h=a[d];if(d<l&&n===h||l<=d&&h.type===n)return d}if(i){var f=a[l];if(f&&Yt(f)&&f.type===n)return l}return null}function ki(e,t,n,r){var i=t[n];if(function(e){return e instanceof sn}(i)){var o=i;if(o.resolving)throw new Error("Circular dep for "+rr(e[n]));var a=fi(o.canSeeViewProviders);o.resolving=!0;var s=void 0;o.injectImpl&&(s=_e(o.injectImpl));var l=On(),u=gn();Dn(r,t);try{i=t[n]=o.factory(void 0,e,t,r)}finally{o.injectImpl&&_e(s),fi(a),o.resolving=!1,Dn(l,u)}}return i}function Di(e,t,n){var r=1<<e,i=64&e,o=32&e;return!!((128&e?i?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:i?o?n[t+3]:n[t+2]:o?n[t+1]:n[t])&r)}function Ti(e,t){return!(e&N.InjectFlags.Self||e&N.InjectFlags.Host&&t)}var Ii=(Pi.prototype.get=function(e,t){return Ci(this._tNode,this._lView,e,void 0,t)},Pi);function Pi(e,t){this._tNode=e,this._lView=t}function Ai(e){var t=e;if(q(e))return function(){var e=Ai(z(t));return e?e():null};var n=ft(t);if(null===n){var r=A(t);n=r&&r.factory}return n||null}function Mi(e){var t=Object.getPrototypeOf(e.prototype).constructor,n=t[ie]||Ai(t);return null!==n?n:function(e){return new e}}var Ri="ngDebugContext",Ni="ngOriginalError",ji="ngErrorLogger";function Fi(e){return e[Ri]}function Li(e){return e[Ni]}function Vi(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,O(t))}var Bi=(Ui.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[ji]||Vi}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},Ui.prototype._findContext=function(e){return e?Fi(e)?Fi(e):this._findContext(Li(e)):null},Ui.prototype._findOriginalError=function(e){for(var t=Li(e);t&&Li(t);)t=Li(t);return t},Ui);function Ui(){this._console=console}var zi={name:"custom-elements"},qi={name:"no-errors-schema"},Hi=(Wi.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},Wi);function Wi(e){this.changingThisBreaksApplicationSecurity=e}var Gi,Yi=(p(Ki,Gi=Hi),Ki.prototype.getTypeName=function(){return"HTML"},Ki);function Ki(){return null!==Gi&&Gi.apply(this,arguments)||this}var Zi,Qi=(p(Xi,Zi=Hi),Xi.prototype.getTypeName=function(){return"Style"},Xi);function Xi(){return null!==Zi&&Zi.apply(this,arguments)||this}var $i,Ji=(p(eo,$i=Hi),eo.prototype.getTypeName=function(){return"Script"},eo);function eo(){return null!==$i&&$i.apply(this,arguments)||this}var to,no=(p(ro,to=Hi),ro.prototype.getTypeName=function(){return"URL"},ro);function ro(){return null!==to&&to.apply(this,arguments)||this}var io,oo=(p(ao,io=Hi),ao.prototype.getTypeName=function(){return"ResourceURL"},ao);function ao(){return null!==io&&io.apply(this,arguments)||this}function so(e){return e instanceof Hi?e.changingThisBreaksApplicationSecurity:e}function lo(e,t){var n=uo(e);if(null==n||n===t)return n===t;if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe "+t+", got a "+n+" (see http://g.co/ng/security#xss)")}function uo(e){return e instanceof Hi&&e.getTypeName()||null}var co=!0,po=!1;function ho(){return po=!0,co}var fo=(mo.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},mo.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},mo.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},mo.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var i=e.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling},mo);function mo(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement=this.getInertBodyElement_DOMParser:this.getInertBodyElement=this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}var vo=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,yo=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function go(e){return(e=String(e)).match(vo)||e.match(yo)?e:(ho()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function _o(e){return(e=String(e)).split(",").map(function(e){return go(e.trim())}).join(", ")}function bo(e){var t,n,r={};try{for(var i=y(e.split(",")),o=i.next();!o.done;o=i.next()){r[o.value]=!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function wo(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};try{for(var o=y(n),a=o.next();!a.done;a=o.next()){var s=a.value;for(var l in s)s.hasOwnProperty(l)&&(i[l]=!0)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return i}var xo=bo("area,br,col,hr,img,wbr"),Co=bo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),So=bo("rp,rt"),Eo=wo(So,Co),Oo=wo(Co,bo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ko=wo(So,bo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Do=wo(xo,Oo,ko,Eo),To=bo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Io=bo("srcset"),Po=bo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ao=bo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Mo=wo(To,Io,Po,Ao),Ro=bo("script,style,template"),No=(jo.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},jo.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(!Do.hasOwnProperty(t))return this.sanitizedSomething=!0,!Ro.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,r=0;r<n.length;r++){var i=n.item(r),o=i.name,a=o.toLowerCase();if(Mo.hasOwnProperty(a)){var s=i.value;To[a]&&(s=go(s)),Io[a]&&(s=_o(s)),this.buf.push(" ",o,'="',Uo(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},jo.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Do.hasOwnProperty(t)&&!xo.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},jo.prototype.chars=function(e){this.buf.push(Uo(e))},jo.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},jo);function jo(){this.sanitizedSomething=!1,this.buf=[]}var Fo,Lo,Vo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bo=/([^\#-~ |!])/g;function Uo(e){return e.replace(/&/g,"&amp;").replace(Vo,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Bo,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function zo(e,t){var n=null;try{Fo=Fo||new fo(e);var r=t?String(t):"";n=Fo.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Fo.getInertBodyElement(r)}while(r!==o);var a=new No,s=a.sanitizeChildren(qo(n)||n);return ho()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=qo(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function qo(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}(Lo=N.SecurityContext||(N.SecurityContext={}))[Lo.NONE=0]="NONE",Lo[Lo.HTML=1]="HTML",Lo[Lo.STYLE=2]="STYLE",Lo[Lo.SCRIPT=3]="SCRIPT",Lo[Lo.URL=4]="URL",Lo[Lo.RESOURCE_URL=5]="RESOURCE_URL";var Ho=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Wo=/^url\(([^)]+)\)$/;function Go(e){if(!(e=String(e).trim()))return"";var t=e.match(Wo);return t&&go(t[1])===t[1]||e.match(Ho)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var i=e.charAt(r);"'"===i&&n?t=!t:'"'===i&&t&&(n=!n)}return t&&n}(e)?e:(ho()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}function Yo(e){var t=ta();return t?t.sanitize(N.SecurityContext.HTML,e)||"":lo(e,"HTML")?so(e):zo(document,nr(e))}function Ko(e){var t=ta();return t?t.sanitize(N.SecurityContext.STYLE,e)||"":lo(e,"Style")?so(e):Go(nr(e))}function Zo(e){var t=ta();return t?t.sanitize(N.SecurityContext.URL,e)||"":lo(e,"URL")?so(e):go(nr(e))}function Qo(e){var t=ta();if(t)return t.sanitize(N.SecurityContext.RESOURCE_URL,e)||"";if(lo(e,"ResourceURL"))return so(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function Xo(e){var t=ta();if(t)return t.sanitize(N.SecurityContext.SCRIPT,e)||"";if(lo(e,"Script"))return so(e);throw new Error("unsafe value used in a script context")}function $o(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Qo:Zo}function Jo(e,t,n){return $o(t,n)(e)}function ea(e,t,n){var r=!0;return 1&(n=n||3)&&(r="background-image"===e||"background"===e||"border-image"===e||"filter"===e||"list-style"===e||"list-style-image"===e||"clip-path"===e),2&n?r?Ko(t):t:r}function ta(){var e=gn();return e&&e[Tt]}function na(e){if(!ngDevMode)throw new Error("Looks like we are in 'prod mode', but we are creating a named Array type, which is wrong! Check your code");try{return new na.constructor("Array","return class "+e+" extends Array{}")(Array)}catch(e){return Array}}function ra(e){return"ng-reflect-"+(e=function(e){return e.replace(ia,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(e.replace(/[$@]/g,"_")))}var ia=/([A-Z])/g;function oa(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function aa(e){var t=oi(e);if(t){if(Array.isArray(t)){var n=t,r=void 0,i=void 0,o=void 0;if(function(e){return e&&e.constructor&&e.constructor.ɵcmp}(e)){if(-1==(r=da(n,e)))throw new Error("The provided component was not found in the application");i=e}else if(function(e){return e&&e.constructor&&e.constructor.ɵdir}(e)){if(-1==(r=function(e,t){var n=e[yt].firstChild;for(;n;){for(var r=n.directiveStart,i=n.directiveEnd,o=r;o<i;o++)if(e[o]===t)return n.index;n=pa(n)}return-1}(n,e)))throw new Error("The provided directive was not found in the application");o=ha(r,n,!1)}else if(-1==(r=ca(n,e)))return null;var a=oi(h=$r(n[r])),s=a&&!Array.isArray(a)?a:sa(n,r,h);if(i&&void 0===s.component&&(s.component=i,ua(s.component,s)),o&&void 0===s.directives){s.directives=o;for(var l=0;l<o.length;l++)ua(o[l],s)}ua(s.native,s),t=s}}else{var u=e;ngDevMode&&Ke(u);for(var c=u;c=c.parentNode;){var p=oi(c);if(p){n=void 0;if(!(n=Array.isArray(p)?p:p.lView))return null;var d=ca(n,u);if(0<=d){var h;ua(h=$r(n[d]),s=sa(n,d,h)),t=s;break}}}}return t||null}function sa(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function la(e){var t,n=oi(e);if(Array.isArray(n)){var r=da(n,e);ua((i=sa(n,r,(t=ii(r,n))[vt])).component=e,i),ua(i.native,i)}else{var i;t=ii((i=n).nodeIndex,i.lView)}return t}function ua(e,t){e[Xr]=t}function ca(e,t){for(var n=e[yt].firstChild;n;){if(ti(n,e)===t)return n.index;n=pa(n)}return-1}function pa(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function da(e,t){var n=e[yt].components;if(n)for(var r=0;r<n.length;r++){var i=n[r];if(ii(i,e)[Et]===t)return i}else if(ii(Nt,e)[Et]===t)return Nt;return-1}function ha(e,t,n){var r=t[yt].data[e],i=r.directiveStart;if(0==i)return Je;var o=r.directiveEnd;return!n&&2&r.flags&&i++,t.slice(i,o)}function fa(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function ma(e,t,n){var r="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";throw e&&(r+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),new Error(r)}function va(){throw new Error("Cannot mix multi providers and regular providers")}function ya(e,t,n,r,i,o){ngDevMode&&tn(n);var a=t.onChanges,s=t.onInit,l=t.doCheck;0<=i&&(!n.preOrderHooks||i===n.preOrderHooks.length)&&(a||s||l)&&(n.preOrderHooks||(n.preOrderHooks=[])).push(r),0<=o&&(!n.preOrderCheckHooks||o===n.preOrderCheckHooks.length)&&(a||l)&&(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)),s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,s),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l))}function ga(e,t){ngDevMode&&tn(e);for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var i=e.data[n];i.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,i.afterContentInit),i.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,i.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i.afterContentChecked)),i.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,i.afterViewInit),i.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,i.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,i.afterViewChecked)),null!=i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,i.onDestroy)}}function _a(e,t,n){xa(e,t,3,n)}function ba(e,t,n,r){ngDevMode&&ze(n,3,"Init pre-order hooks should not be called more than once"),(3&e[gt])===n&&xa(e,t,n,r)}function wa(e,t){ngDevMode&&ze(t,3,"Init hooks phase should not be incremented after all init hooks have been run.");var n=e[gt];(3&n)===t&&(n&=1023,n+=1,e[gt]=n)}function xa(e,t,n,r){ngDevMode&&Ue(Pn(),!1,"Hooks should never be run in the check no changes mode.");for(var i=null!=r?r:-1,o=0,a=void 0!==r?65535&e[Rt]:0;a<t.length;a++){if("number"==typeof t[a+1]){if(o=t[a],null!=r&&r<=o)break}else t[a]<0&&(e[Rt]+=65536),(o<i||-1==i)&&(Ca(e,n,t,a),e[Rt]=(4294901760&e[Rt])+a+2),a++}}function Ca(e,t,n,r){var i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[gt]>>10<e[Rt]>>16&&(3&e[gt])===t&&(e[gt]+=1024,o.call(a)):o.call(a)}var Sa="ng-template";function Ea(e,t){var n=e.length,r=e.toLowerCase().indexOf(t),i=r+t.length;return!(-1===r||0<r&&" "!==e[r-1]||i<n&&" "!==e[i])}function Oa(e,t,n){ngDevMode&&Ge(t[0],"Selector should have a tag name");for(var r,i,o=4,a=e.attrs||[],s=function(e){for(var t=0;t<e.length;t++){if(Qn(e[t]))return t}return e.length}(a),l=!1,u=0;u<t.length;u++){var c=t[u];if("number"!=typeof c){if(!l)if(4&o){if(o=2|1&o,""!==c&&(i=n,c!==(0!==(r=e).type||i?r.tagName:Sa))||""===c&&1===t.length){if(ka(o))return!1;l=!0}}else{var p=8&o?c:t[++u];if(8&o&&e.classes){if(!Ea(Vr(e.classes),p)){if(ka(o))return!1;l=!0}continue}var d=Da(8&o?"class":c,a,0==e.type&&e.tagName!==Sa,n);if(-1===d){if(ka(o))return!1;l=!0;continue}if(""!==p){var h=void 0;h=s<d?"":(ngDevMode&&ze(a[d],0,"We do not match directives on namespaced attributes"),a[d+1].toLowerCase());var f=8&o?h:null;if(f&&!Ea(f,p)||2&o&&p!==h){if(ka(o))return!1;l=!0}}}}else{if(!l&&!ka(o)&&!ka(c))return!1;if(l&&ka(c))continue;l=!1,o=c|1&o}}return ka(o)||l}function ka(e){return 0==(1&e)}function Da(e,t,n,r){if(null===t)return-1;var i=0;if(!r&&n)return function(e,t){var n=e.indexOf(4);if(-1<n)for(n++;n<e.length;){if(e[n]===t)return n;n++}return-1}(t,e);for(var o=!1;i<t.length;){var a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){for(var s=t[++i];"string"==typeof s;)s=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}function Ta(e,t,n){void 0===n&&(n=!1);for(var r=0;r<t.length;r++)if(Oa(e,t[r],n))return!0;return!1}function Ia(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}var Pa={element:null,directiveIndex:-1,sourceIndex:-1,classesBitMask:-1,classesIndex:-1,stylesBitMask:-1,stylesIndex:-1,lastDirectClassMap:null,lastDirectStyleMap:null},Aa=0,Ma=1;function Ra(e,t){return Pa.element!==e?(Pa.element=e,Pa.directiveIndex=t,Pa.sourceIndex=t===dr?0:1,Pa.classesBitMask=Aa,Pa.classesIndex=Ma,Pa.stylesBitMask=Aa,Pa.stylesIndex=Ma,Pa.lastDirectClassMap=null,Pa.lastDirectStyleMap=null):Pa.directiveIndex!==t&&(Pa.directiveIndex=t,Pa.sourceIndex++),Pa}var Na=0;function ja(e,t,n,r,i,o,a,s){var l=!i,u=Ra(n,r),c=l?Na:u.classesIndex++;if((!Pr(e,Gr(u.sourceIndex))||a!==cr)&&(La(e,t,c,u.sourceIndex,i,o,a,s,!1)||s))return u.classesBitMask|=1<<c,!0;return!1}function Fa(e,t,n,r,i,o,a,s,l){var u=!i,c=Ra(n,r),p=u?Na:c.stylesIndex++;if(!Pr(e,Gr(c.sourceIndex))||a!==cr){var d=u||!!s&&s(i,null,1);if(La(e,t,p,c.sourceIndex,i,o,a,l,d)||l)return c.stylesBitMask|=1<<p,!0}return!1}function La(e,t,n,r,i,o,a,s,l){var u=Gr(r);Pr(e,u)||(Va(e,n,r,i,o,l),wr(e,u?64:32));var c=s||Rr(t[o],a);c&&(Tr(t,o,a),!(64&gr(e))||u||i&&a||function(e,t,n){var r=Er(e);if(null!==n&&_r(e,2)){for(var i=4+r,o=3,a=!1;o<e.length;){if(xr(e,o)===n){a=!0;break}o+=i}if(a)for(var s=(c=o+4)+r-1,l=c+1;l<s;l++){var u=e[l];0!==u&&Tr(t,u,null)}}if(_r(e,4)){var c;for(s=(c=7)+r-1,o=c+1;o<s;o++){var p=Ir(t,e[o]);p&&(p[0]=qr)}}}(e,t,i));return c}function Va(e,t,n,r,i,o){var a=!1;r=r||pr;for(var s=Or(e);s<=n;)za(e),s++;for(var l="number"==typeof i,u=4+Er(e),c=3;c<e.length;){var p=xr(e,c);if(r<=p){r<p?Ba(e,c,r,o):l&&wr(e,8),Ua(e,c,i,t,n),a=!0;break}c+=u}a||(Ba(e,e.length,r,o),Ua(e,c,i,t,n))}function Ba(e,t,n,r){var i=r?1:0;e.splice(t,0,i,vr,vr,n),t+=4;for(var o=Or(e),a=0;a<o;a++)e.splice(t,0,fr),t++;e.splice(t,0,hr)}function Ua(e,t,n,r,i){if("number"==typeof n){var o=Gr(i);e[t+4+i]=n,function(e,t,n,r){e[t+(r?2:1)]=n}(e,t,Sr(e,t,o)|1<<r,o)}else null!==n&&null===Dr(e,t)&&function(e,t,n){e[t+4+Or(e)]=n}(e,t,n)}function za(e){for(var t=4+Er(e)-1,n=3;n<e.length;)n+=t,e.splice(n++,0,fr),n++;e[1]++}function qa(e,t,n,r,i,o,a){ngDevMode&&ngDevMode.flushStyling++;var s=Ra(i,o),l=Gr(s.sourceIndex);r&&(Pr(r,l)||Ha(r,l),0!==s.stylesBitMask&&Wa(r,e,i,t,s.stylesBitMask,Za,a,l)),n&&(Pr(n,l)||Ha(n,l),0!==s.classesBitMask&&Wa(n,e,i,t,s.classesBitMask,Qa,null,l)),Pa.element=null}function Ha(e,t){!function(e,t){for(var n=!1,r=1;r<t.length;r+=2){var i=Wr(t,r);if(i){var o=zr(t,r);Va(e,-1,0,o,i,!1),n=!0}}n&&wr(e,16)}(e,Fr(e)),function(e,t){wr(e,Ar(t))}(e,t)}function Wa(e,t,n,r,i,o,a,s){var l=function(e){return!0===e?-1:!1===e?0:e}(i),u=null,c=!1;_r(e,4)&&(u=Ka,c=0!=(l&Sr(e,3,s)));var p=Er(e),d=1,h=c?1:0;s&&(h|=8,d=p-1);for(var f=Mr(e);f<e.length;){if(l&Sr(e,f,s)){for(var m=!1,v=xr(e,f),y=Dr(e,f),g=0;g<d;g++){var _=kr(e,f,g);if(!m&&0!==_){var b=Ir(r,_);if(Nr(b)){if(!(s&&0===g))o(t,n,v,a&&Cr(e,f)?a(v,b,2):so(b),_);m=!0}}if(u){var w=h|(m?4:2);s&&0===g&&(w|=16);var x=u(e,t,n,r,g,o,a,w,v,y);m=m||x}}m||o(t,n,v,y)}f+=4+p}u&&(s&&(h|=16),u(e,t,n,r,0,o,a,h))}function Ga(e,t,n,r,i,o,a){var s=so(r);return!!Nr(s)&&(i(e,t,n,s=a?a(n,r,3):s,o),!0)}function Ya(e,t,n,r,i,o,a){for(var s=1;s<r.length;s+=2){var l=zr(r,s);if(l===i){var u=Wr(r,s);return n(e,t,i,u=a?a(i,u,3):u,o),!0}if(i<l)break}return!1}var Ka=null;var Za=function(e,t,n,r){var i;null!==e&&(Nr(r)?(r=r.toString(),ngDevMode&&ngDevMode.rendererSetStyle++,Yn(e)?e.setStyle(t,n,r,pn.DashCase):null!=(i=t.style)&&i.setProperty(n,r)):(ngDevMode&&ngDevMode.rendererRemoveStyle++,Yn(e)?e.removeStyle(t,n,pn.DashCase):null!=(i=t.style)&&i.removeProperty(n)))},Qa=function(e,t,n,r){var i;null!==e&&""!==n&&(r?(ngDevMode&&ngDevMode.rendererAddClass++,Yn(e)?e.addClass(t,n):null!=(i=t.classList)&&i.add(n)):(ngDevMode&&ngDevMode.rendererRemoveClass++,Yn(e)?e.removeClass(t,n):null!=(i=t.classList)&&i.remove(n)))};function Xa(e,t,n,r){var i=Fr(n);if(i)for(var o=1;o<i.length;o+=2){var a=zr(i,o),s=Wr(i,o);r?Qa(e,t,a,s,null):Za(e,t,a,s,null)}}function $a(e){ngDevMode&&We(e,0,"Can only advance forward"),es(gn(),Vn()+e,Pn())}function Ja(e){es(gn(),e,Pn())}function es(e,t,n){if(ngDevMode&&We(t,-1,"Invalid index"),ngDevMode&&Ze(e,t+Nt),_n(1)&&wn(),!n)if(3==(3&e[gt])){var r=e[yt].preOrderCheckHooks;null!==r&&_a(e,r,t)}else{var i=e[yt].preOrderHooks;null!==i&&ba(e,i,0,t)}Bn(t)}var ts={marker:"element"},ns={marker:"comment"};function rs(e,t){Object.defineProperty(e,"debug",{value:t,enumerable:!1})}function is(){!function(e){Ka=e}(os)}var os=function(e,t,n,r,i,o,a,s,l,u){var c=!1;if(Er(e)){var p=!0,d=!l;d&&0==(1&s)&&(c=!(p=!1)),p&&(c=function e(t,n,r,i,o,a,s,l,u,c){var p=Er(t)-1;var d=p-1;var h=u<d&&0!=(8&s);var f=0!=(16&s);f&&(s&=-17);var m=!1;if(u<=d){var v=us(u),y=kr(t,3,u),g=Ir(i,y);if(g){for(;v<g.length;){var _=zr(g,v),b=l&&l<_,w=!b&&_===l,x=Wr(g,v),C=Nr(x),S=b?s:as(s,C,w),E=b?l:_,O=h&&e(t,n,r,i,o,a,S,E,u+1,c);if(b){m=m||O;break}if(!O&&ss(s,w)&&(O=!0,!f)){var k=w&&!C,D=w?y:null,T=void 0;T=k?c:a?a(_,x,3):x?so(x):null,o(n,r,_,T,D)}m=O&&w,v+=2}I=v,ls[u]=I,!h||1!==g.length&&l||(m=e(t,n,r,i,o,a,s,l,u+1,c))}else h&&(m=e(t,n,r,i,o,a,s,l,u+1,c))}var I;return m}(e,t,n,r,o,a,s,l||null,i,u||null)),d&&function(){for(var e=0;e<ls.length;e++)ls[e]=1}()}return c};function as(e,t,n){var r=e;return!t&&(n?2&e:1&e)?(r|=2,r&=-5):(r|=4,r&=-3),r}function ss(e,t){var n=0!=(1&e);return n?4&e&&t&&(n=!1):2&e&&(n=t),n}var ls=[];function us(e){return e>=ls.length&&ls.push(1),ls[e]}var cs=(Object.defineProperty(ps.prototype,"config",{get:function(){return ys(this.context)},enumerable:!0,configurable:!0}),Object.defineProperty(ps.prototype,"entries",{get:function(){for(var e=this.context,t=Er(e),n={},r=Mr(e);r<e.length;){for(var i=xr(e,r),o=Sr(e,r,!1),a=Sr(e,r,!0),s=Dr(e,r),l=Cr(e,r),u=r+4,c=[],p=0;p<t;p++){var d=e[u+p];0!==d&&c.push(d)}n[i]={prop:i,templateBitMask:o,hostBindingsBitMask:a,sanitizationRequired:l,valuesCount:c.length,defaultValue:s,sources:c},r+=4+t}return n},enumerable:!0,configurable:!0}),ps.prototype.printSources=function(){for(var r="\n",e=this.context,t=this._isClassBased?"class":"style",n=[],i=Er(e),o=4+i,a=0;a<i;a++){for(var s=a===i-1,l=a!==dr,u=hs(a,i),c=[],p=3;p<e.length;){var d=kr(e,p,a);if(s||0<d){var h=Sr(e,p,l),f=s?-1:d,m=xr(e,p),v=t+(m===pr?"":"."+m);c.push({binding:v,value:d,bindingIndex:f,bitMask:h})}p+=o}n.push({type:u,entries:c.sort(function(e,t){return e.bindingIndex-t.bindingIndex})})}n.forEach(function(e){r+="["+e.type.toUpperCase()+"]\n",r+=fs("-",e.type.length+2)+"\n",e.entries.forEach(function(e){var t="number"!=typeof e.value,n=e.value;t&&null===n||(r+="  ["+e.binding+"] = `"+n+"`",r+="\n")}),r+="\n"}),console.log(r)},ps.prototype.printTable=function(){if(!console.table)throw new Error("This feature is not supported in your browser");for(var e=this.context,t=[],n=Er(e),r=4+n,i=Math.floor(e.length/r),o=3;o<e.length;){for(var a=xr(e,o),s=a===pr,l={prop:a,"tpl mask":ds(Sr(e,o,!1),s,i),"host mask":ds(Sr(e,o,!0),s,i)},u=0;u<n;u++){var c=hs(u,n),p=kr(e,o,u);l[c]=p}o+=r,t.push(l)}console.table(t)},ps);function ps(e,t){this.context=e,this._isClassBased=t}function ds(e,t,n){return t||1<e?"0b"+function(e,t,n){return fs(n,t-e.length)+e}(e.toString(2),n,"0"):null}function hs(e,t){return e===dr?"template":e===t-1?"defaults":"dir #"+e}function fs(e,t){for(var n="",r=0;r<t;r++)n+=e;return n}var ms=(Object.defineProperty(vs.prototype,"context",{get:function(){return this._debugContext},enumerable:!0,configurable:!0}),vs.prototype.overrideSanitizer=function(e){this._sanitizer=e},Object.defineProperty(vs.prototype,"summary",{get:function(){var r={};return this._mapValues(function(e,t,n){r[e]={prop:e,value:t,bindingIndex:n}}),r},enumerable:!0,configurable:!0}),Object.defineProperty(vs.prototype,"config",{get:function(){return ys(this.context.context)},enumerable:!0,configurable:!0}),Object.defineProperty(vs.prototype,"values",{get:function(){var n={};return this._mapValues(function(e,t){n[e]=t}),n},enumerable:!0,configurable:!0}),vs.prototype._mapValues=function(o){var e={};function t(e,t,n,r,i){return o(n,r,i||null)}_r(this.context.context,4)&&is();var n=this._isClassBased?null:this._sanitizer||Gn();Wa(this.context.context,null,e,this._data,!0,t,n,!1),Wa(this.context.context,null,e,this._data,!0,t,n,!0)},vs);function vs(e,t,n){this._data=t,this._isClassBased=n,this._sanitizer=null,this._debugContext=Lr(e)?new cs(e,n):e}function ys(e){return{hasMapBindings:_r(e,4),hasPropBindings:_r(e,2),hasCollisions:_r(e,8),hasTemplateBindings:_r(e,32),hasHostBindings:_r(e,64),templateBindingsLocked:_r(e,128),hostBindingsLocked:_r(e,256),allowDirectStyling:br(e,!1)||br(e,!0)}}var gs,_s=("undefined"==typeof ngDevMode||!!ngDevMode)&&Xe(),bs=_s&&na("LView")||null;var ws=(Object.defineProperty(xs.prototype,"template_",{get:function(){var e=[];return Es(this.firstChild,e),e.join("")},enumerable:!0,configurable:!0}),xs);function xs(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y,g,_,b,w,x,C,S,E,O,k){this.id=e,this.blueprint=t,this.template=n,this.queries=r,this.viewQuery=i,this.node=o,this.data=a,this.bindingStartIndex=s,this.expandoStartIndex=l,this.expandoInstructions=u,this.firstTemplatePass=c,this.staticViewQueries=p,this.staticContentQueries=d,this.preOrderHooks=h,this.preOrderCheckHooks=f,this.contentHooks=m,this.contentCheckHooks=v,this.viewHooks=y,this.viewCheckHooks=g,this.destroyHooks=_,this.cleanup=b,this.contentQueries=w,this.components=x,this.directiveRegistry=C,this.pipeRegistry=S,this.firstChild=E,this.schemas=O,this.consts=k}var Cs=(Object.defineProperty(Ss.prototype,"type_",{get:function(){switch(this.type){case 0:return"TNodeType.Container";case 3:return"TNodeType.Element";case 4:return"TNodeType.ElementContainer";case 5:return"TNodeType.IcuContainer";case 1:return"TNodeType.Projection";case 2:return"TNodeType.View";default:return"TNodeType.???"}},enumerable:!0,configurable:!0}),Object.defineProperty(Ss.prototype,"flags_",{get:function(){var e=[];return 16&this.flags&&e.push("TNodeFlags.hasClassInput"),8&this.flags&&e.push("TNodeFlags.hasContentQuery"),32&this.flags&&e.push("TNodeFlags.hasStyleInput"),64&this.flags&&e.push("TNodeFlags.hasInitialStyling"),256&this.flags&&e.push("TNodeFlags.hasHostBindings"),2&this.flags&&e.push("TNodeFlags.isComponentHost"),1&this.flags&&e.push("TNodeFlags.isDirectiveHost"),128&this.flags&&e.push("TNodeFlags.isDetached"),4&this.flags&&e.push("TNodeFlags.isProjected"),e.join("|")},enumerable:!0,configurable:!0}),Object.defineProperty(Ss.prototype,"template_",{get:function(){var e=[];if(e.push("<",this.tagName||this.type_),this.attrs)for(var t=0;t<this.attrs.length;){var n=this.attrs[t++];if("number"==typeof n)break;var r=this.attrs[t++];e.push(" ",n,'="',r,'"')}return e.push(">"),Es(this.child,e),e.push("</",this.tagName||this.type_,">"),e.join("")},enumerable:!0,configurable:!0}),Ss);function Ss(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y,g,_,b,w,x){this.tView_=e,this.type=t,this.index=n,this.injectorIndex=r,this.directiveStart=i,this.directiveEnd=o,this.propertyBindings=a,this.flags=s,this.providerIndexes=l,this.tagName=u,this.attrs=c,this.localNames=p,this.initialInputs=d,this.inputs=h,this.outputs=f,this.tViews=m,this.next=v,this.projectionNext=y,this.child=g,this.parent=_,this.projection=b,this.styles=w,this.classes=x}function Es(e,t){for(;e;)t.push(e.template_),e=e.next}var Os,ks=_s&&na("TViewData")||null;var Ds=_s&&na("LViewBlueprint")||null,Ts=_s&&na("MatchesArray")||null,Is=_s&&na("TViewComponents")||null,Ps=_s&&na("TNodeLocalNames")||null,As=_s&&na("TNodeInitialInputs")||null,Ms=(_s&&na("TNodeInitialData"),_s&&na("LCleanup")||null),Rs=_s&&na("TCleanup")||null;function Ns(e){if(e){var t=e.debug;return Ge(t,"Object does not have a debug representation."),t}return e}function js(e,t){void 0===t&&(t=!1);var n=$r(e);if(n){var r=n.nodeType===Node.TEXT_NODE,i=(r?n.textContent:n.outerHTML)||"";if(t||r)return i;var o=">"+n.innerHTML+"<";return i.split(o)[0]+">"}return null}var Fs=(Object.defineProperty(Ls.prototype,"flags",{get:function(){var e=this._raw_lView[gt];return{__raw__flags__:e,initPhaseState:3&e,creationMode:!!(4&e),firstViewPass:!!(8&e),checkAlways:!!(16&e),dirty:!!(64&e),attached:!!(128&e),destroyed:!!(256&e),isRoot:!!(512&e),indexWithinInitPhase:e>>10}},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"parent",{get:function(){return Ns(this._raw_lView[_t])},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"host",{get:function(){return js(this._raw_lView[vt],!0)},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"html",{get:function(){return(this.nodes||[]).map(function(e){return js(e.native,!0)}).join("")},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"context",{get:function(){return this._raw_lView[Et]},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"nodes",{get:function(){var e=this._raw_lView;return Vs(e[yt].firstChild,e)},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"tView",{get:function(){return this._raw_lView[yt]},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"cleanup",{get:function(){return this._raw_lView[St]},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"injector",{get:function(){return this._raw_lView[Ot]},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"rendererFactory",{get:function(){return this._raw_lView[kt]},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"renderer",{get:function(){return this._raw_lView[Dt]},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"sanitizer",{get:function(){return this._raw_lView[Tt]},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"childHead",{get:function(){return Ns(this._raw_lView[It])},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"next",{get:function(){return Ns(this._raw_lView[bt])},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"childTail",{get:function(){return Ns(this._raw_lView[Pt])},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"declarationView",{get:function(){return Ns(this._raw_lView[At])},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"queries",{get:function(){return this._raw_lView[wt]},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"tHost",{get:function(){return this._raw_lView[xt]},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"bindingIndex",{get:function(){return this._raw_lView[Ct]},enumerable:!0,configurable:!0}),Object.defineProperty(Ls.prototype,"childViews",{get:function(){for(var e=[],t=this.childHead;t;)e.push(t),t=t.next;return e},enumerable:!0,configurable:!0}),Ls);function Ls(e){this._raw_lView=e}function Vs(e,t){if(e){for(var n=[],r=e;r;)n.push(Bs(r,t,r.index)),r=r.next;return n}return null}function Bs(e,t,n){var r=t[n],i=$r(r),o=Ns(function(e){for(;Array.isArray(e);){if(e.length>=Nt-1)return e;e=e[vt]}return null}(r)),a=Lr(e.styles)?new ms(e.styles,t,!1):null,s=Lr(e.classes)?new ms(e.classes,t,!0):null;return{html:js(i),native:i,styles:a,classes:s,nodes:Vs(e.child,t),component:o}}var Us=(Object.defineProperty(zs.prototype,"activeIndex",{get:function(){return this._raw_lContainer[Ft]},enumerable:!0,configurable:!0}),Object.defineProperty(zs.prototype,"views",{get:function(){return this._raw_lContainer.slice(Ut).map(Ns)},enumerable:!0,configurable:!0}),Object.defineProperty(zs.prototype,"parent",{get:function(){return Ns(this._raw_lContainer[_t])},enumerable:!0,configurable:!0}),Object.defineProperty(zs.prototype,"movedViews",{get:function(){return this._raw_lContainer[Lt]},enumerable:!0,configurable:!0}),Object.defineProperty(zs.prototype,"host",{get:function(){return this._raw_lContainer[vt]},enumerable:!0,configurable:!0}),Object.defineProperty(zs.prototype,"native",{get:function(){return this._raw_lContainer[Vt]},enumerable:!0,configurable:!0}),Object.defineProperty(zs.prototype,"next",{get:function(){return Ns(this._raw_lContainer[bt])},enumerable:!0,configurable:!0}),zs);function zs(e){this._raw_lContainer=e}var qs=(Object.defineProperty(Hs.prototype,"tNode",{get:function(){return ni(this.nodeIndex,this._lView)},enumerable:!0,configurable:!0}),Hs);function Hs(e,t,n,r){this.__raw_opCode=e,this._lView=t,this.nodeIndex=n,this.type=r}var Ws=(Object.defineProperty(Gs.prototype,"operations",{get:function(){for(var e=this.__lView,t=this.__raw_opCodes,n=[],r=0;r<t.length;r++){var i=t[r],o=void 0;if("string"==typeof i&&(o={__raw_opCode:i,type:"Create Text Node",nodeIndex:t[++r],text:i}),"number"==typeof i)switch(7&i){case 1:o=new qs(i,e,i>>>17,"AppendChild");break;case 0:o=new qs(i,e,i>>>3,"Select");break;case 5:var a=i>>>3;o=new qs(i,e,a,"ElementEnd");break;case 4:(o=new qs(i,e,a=i>>>3,"Attr")).attrName=t[++r],o.attrValue=t[++r]}if(!o)switch(i){case ns:o={__raw_opCode:i,type:"COMMENT_MARKER",commentValue:t[++r],nodeIndex:t[++r]};break;case ts:o={__raw_opCode:i,type:"ELEMENT_MARKER"}}o=o||{__raw_opCode:i,type:"Unknown Op Code",code:i},n.push(o)}return n},enumerable:!0,configurable:!0}),Gs);function Gs(e,t){this.__raw_opCodes=e,this.__lView=t}var Ys=(Object.defineProperty(Ks.prototype,"operations",{get:function(){for(var e=this.__lView,t=this.__raw_opCodes,n=this.icus,r=[],i=0;i<t.length;i++){for(var o=t[i],a=t[++i],s="",l=i+1;l<=i+a;l++){var u=t[l];if("string"==typeof u)s+=u;else if("number"==typeof u)if(u<0)s+="�"+(-u-1)+"�";else{var c=u>>>2,p=void 0,d=void 0;switch(3&u){case 1:var h=t[++l],f=t[++l];r.push({__raw_opCode:u,checkBit:o,type:"Attr",attrValue:s,attrName:h,sanitizeFn:f});break;case 0:r.push({__raw_opCode:u,checkBit:o,type:"Text",nodeIndex:c,text:s});break;case 2:d=n[p=t[++l]];var m=new qs(u,e,c,"IcuSwitch");m.tIcuIndex=p,m.checkBit=o,m.mainBinding=s,m.tIcu=d,r.push(m);break;case 3:d=n[p=t[++l]],(m=new qs(u,e,c,"IcuUpdate")).tIcuIndex=p,m.checkBit=o,m.tIcu=d,r.push(m)}}}i+=a}return r},enumerable:!0,configurable:!0}),Ks);function Ks(e,t,n){this.__raw_opCodes=e,this.icus=t,this.__lView=n}var Zs=Promise.resolve(null);function Qs(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1];if(-1!==o){var a=e.data[o];ngDevMode&&Ge(a.contentQueries,"contentQueries function should be defined"),jn(i),a.contentQueries(2,t[o],o)}}}function Xs(e,t,n){return Yn(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function $s(e,t,n,r,i,o,a,s,l,u){var c=ngDevMode?function(e){return void 0===gs&&(gs=new bs),gs.concat(e)}(t.blueprint):t.blueprint.slice();return c[vt]=i,c[gt]=140|r,li(c),c[_t]=c[At]=e,c[Et]=n,c[kt]=a||e&&e[kt],ngDevMode&&Ge(c[kt],"RendererFactory is required"),c[Dt]=s||e&&e[Dt],ngDevMode&&Ge(c[Dt],"Renderer is required"),c[Tt]=l||e&&e[Tt]||null,c[Ot]=u||e&&e[Ot]||null,c[xt]=o,ngDevMode&&function(e){rs(e,new Fs(e))}(c),c}function Js(e,t,n,r,i,o){var a=n+Nt,s=e.data[a]||function(e,t,n,r,i,o){var a=On(),s=Tn(),l=s?a:a&&a.parent,u=l&&l!==t?l:null,c=e.data[n]=dl(e,u,r,n,i,o);null===e.firstChild&&(e.firstChild=c);a&&(!s||null!=a.child||null===c.parent&&2!==a.type?s||(a.next=c):a.child=c);return c}(e,t,a,r,i,o);return kn(s,!0),s}function el(e,t,n,r){var i=e.node;return null==i&&(ngDevMode&&t&&un(t,3,0),e.node=i=dl(e,t,2,n,null,null)),r[xt]=i}function tl(e,t,n){ngDevMode&&Ue(si(e),!0,"Should be run in creation mode");var r=Fn(e,e[xt]);try{var i=t.viewQuery;null!==i&&Bl(1,i,n);var o=t.template;null!==o&&il(e,o,1,n),t.firstTemplatePass&&(t.firstTemplatePass=!1),t.staticContentQueries&&Qs(t,e),t.staticViewQueries&&Bl(2,t.viewQuery,n);var a=t.components;null!==a&&function(e,t){for(var n=0;n<t.length;n++)Ml(e,t[n])}(e,a)}finally{e[gt]&=-5,Fn(r,null)}}function nl(e,t,n,r){ngDevMode&&Ue(si(e),!1,"Should be run in update mode");var i=Fn(e,e[xt]),o=e[gt];try{li(e),Rn(e[Ct]=t.bindingStartIndex),null!==n&&il(e,n,2,r);var a=Pn(),s=3==(3&o);if(!a)if(s){var l=t.preOrderCheckHooks;null!==l&&_a(e,l,null)}else{var u=t.preOrderHooks;null!==u&&ba(e,u,0,null),wa(e,0)}if(!function(e){var t=e[It];for(;null!==t;){if(qt(t)&&-1===t[Ft])for(var n=Ut;n<t.length;n++){var r=t[n],i=r[yt];ngDevMode&&Ge(i,"TView must be allocated"),nl(r,i,i.template,r[Et])}t=t[bt]}}(e),null!==t.contentQueries&&Qs(t,e),!a)if(s){var c=t.contentCheckHooks;null!==c&&_a(e,c)}else{var p=t.contentHooks;null!==p&&ba(e,p,1),wa(e,1)}!function(e,t){var n=Vn();try{if(null!==e.expandoInstructions){var r=t[Ct]=e.expandoStartIndex;Rn(r);for(var i=-1,o=-1,a=0;a<e.expandoInstructions.length;a++){var s=e.expandoInstructions[a];if("number"==typeof s){if(s<=0){bn(o=-s);var l=e.expandoInstructions[++a];i=r+=on+l}else r+=s;Rn(r)}else{if(null!==s)Sn(),t[Ct]=r,s(2,$r(t[i]),o);i++}}}}finally{bn(n)}}(t,e);var d=t.components;null!==d&&function(e,t){for(var n=0;n<t.length;n++)Al(e,t[n])}(e,d);var h=t.viewQuery;if(null!==h&&Bl(2,h,r),!a)if(s){var f=t.viewCheckHooks;null!==f&&_a(e,f)}else{var m=t.viewHooks;null!==m&&ba(e,m,2),wa(e,2)}}finally{e[gt]&=-73,Fn(i,null)}}function rl(e,t,n){var r=e[kt],i=!Pn(),o=si(e),a=On(),s=Tn();try{i&&!o&&r.begin&&r.begin();var l=e[yt];o&&tl(e,l,n),nl(e,l,t,n)}finally{i&&!o&&r.end&&r.end(),kn(a,s)}}function il(e,t,n,r){Hn();var i=Vn();try{bn(null),2&n&&e.length>Nt&&es(e,0,Pn()),t(n,r)}finally{_n(1)&&wn(),Bn(i)}}function ol(e,t,n){if(Ht(t))for(var r=t.directiveStart,i=t.directiveEnd,o=r;o<i;o++){var a=e.data[o];a.contentQueries&&a.contentQueries(1,n[o],o)}}function al(e,t,n){mn()&&(function(e,t,n){var r=n.directiveStart,i=n.directiveEnd;e.firstTemplatePass||yi(n,t);for(var o=r;o<i;o++){var a=e.data[o];Yt(a)&&(c=a,h=void 0,p=ei(u=n,l=t),d=ll(c),h=l[kt],f=Rl(l,$s(l,d,null,c.onPush?64:16,p,u,h,h.createRenderer(p,c))),l[u.index]=f);var s=ki(e.data,t,o,n);xl(t,n,s,a,o-r)}var l,u,c,p,d,h,f}(e,t,n),256==(256&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,a=e.firstTemplatePass,s=n.index-Nt;try{bn(s);for(var l=r;l<i;l++){var u=e.data[l],c=t[l];u.hostBindings?(Sn(),bl(u,o,c,n,a)):a&&o.push(null)}}finally{bn(null)}}(e,t,n))}function sl(e,t,n){void 0===n&&(n=ei);var r=t.localNames;if(r)for(var i=t.index+1,o=0;o<r.length;o+=2){var a=r[o+1],s=-1===a?n(t,e):e[a];e[i++]=s}}function ll(e){return e.tView||(e.tView=ul(-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts))}function ul(e,t,n,r,i,o,a,s,l){ngDevMode&&ngDevMode.tView++;var u=Nt+n,c=u+r,p=function(e,t){for(var n=ngDevMode?new Ds:[],r=0;r<t;r++)n.push(r<e?null:cr);return n[Ct]=e,n}(u,c);return p[yt]=ngDevMode?new ws(e,p,t,null,a,null,function(e){return void 0===Os&&(Os=new ks),Os.concat(e)}(p).fill(null,u),u,c,null,!0,!1,!1,null,null,null,null,null,null,null,null,null,null,"function"==typeof i?i():i,"function"==typeof o?o():o,null,s,l):{id:e,blueprint:p,template:t,queries:null,viewQuery:a,node:null,data:p.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:c,expandoInstructions:null,firstTemplatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:s,consts:l}}function cl(e,t){return new Error("Renderer: "+e+" ["+rr(t)+"]")}function pl(e,t){var n=e.createRenderer(null,null),r="string"==typeof t?Yn(n)?n.selectRootElement(t):n.querySelector(t):t;if(ngDevMode&&!r)throw cl("string"==typeof t?"Host node with selector not found:":"Host node is required:",t);return r}function dl(e,t,n,r,i,o){ngDevMode&&ngDevMode.tNode++;var a=t?t.injectorIndex:-1;return ngDevMode?new Cs(e,n,r,a,-1,-1,null,0,0,i,o,null,void 0,void 0,void 0,null,null,null,null,t,null,null,null):{type:n,index:r,injectorIndex:a,directiveStart:-1,directiveEnd:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,classes:null}}function hl(e,t,n){for(var r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;var i=e[r];n.hasOwnProperty(r)?n[r].push(t,r,i):n[r]=[t,r,i]}return n}function fl(e,t,n,r,i,o,a){ngDevMode&&qe(r,cr,"Incoming value should never be NO_CHANGE.");var s,l=Jr(t,e),u=ni(t,e),c=u.inputs;if(!o&&null!=c&&(s=c[n]))Yl(e,s,r),Wt(u)&&function(e,t){ngDevMode&&en(e);var n=ii(t,e);16&n[gt]||(n[gt]|=64)}(e,t+Nt),ngDevMode&&vl(e,l,u.type,s,r);else if(3===u.type){if(n=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n),ngDevMode){if(!function(e){if(e.toLowerCase().startsWith("on")){var t="Binding to event property '"+e+"' is disallowed for security reasons, please use ("+e.slice(2)+")=...\nIf '"+e+"' is a directive input, make sure the directive is imported by the current module.";throw new Error(t)}}(n),!function(e,t,n,r){return yl(e,r.tagName)||n in t||Xn(n)||"function"!=typeof Node||!(t instanceof Node)}(e,l,n,u))return void gl(n,u);ngDevMode.rendererSetProperty++}var p=a?a(u,e):e[Dt];r=null!=i?i(r,u.tagName||"",n):r,Yn(p)?p.setProperty(l,n,r):Xn(n)||(l.setProperty?l.setProperty(n,r):l[n]=r)}else 0===u.type&&ngDevMode&&!yl(e,u.tagName)&&gl(n,u)}function ml(e,t,n,r,i){var o,a=e[Dt];r=ra(r);var s=oa(i);if(3===n)null==i?Yn(a)?a.removeAttribute(t,r):t.removeAttribute(r):Yn(a)?a.setAttribute(t,r,s):t.setAttribute(r,s);else{var l="bindings="+JSON.stringify(((o={})[r]=s,o),null,2);Yn(a)?a.setValue(t,l):t.textContent=l}}function vl(e,t,n,r,i){if(3===n||0===n)for(var o=0;o<r.length;o+=3)ml(e,t,n,r[o+2],i)}function yl(e,t){var n=e[yt].schemas;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];if(i===qi||i===zi&&t&&-1<t.indexOf("-"))return!0}return!1}function gl(e,t){console.warn("Can't bind to '"+e+"' since it isn't a known property of '"+t.tagName+"'.")}function _l(e,t,n,r){if(ngDevMode&&tn(e),mn()){var i=function(e,t,n){ngDevMode&&tn(e),ngDevMode&&un(n,3,4,0);var r=e.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var a=r[o];Ta(n,a.selectors,!1)&&(i=i||(ngDevMode?new Ts:[]),wi(yi(n,t),e,a.type),Yt(a)?(2&n.flags&&fa(n),Sl(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),o=r?{"":-1}:null;if(null!==i){Ol(n,e.data.length,i.length);for(var a=0;a<i.length;a++){(c=i[a]).providersResolver&&c.providersResolver(c)}wl(e,n,i.length);var s=e.preOrderHooks&&e.preOrderHooks.length||0,l=e.preOrderCheckHooks&&e.preOrderCheckHooks.length||0,u=n.index-Nt;for(a=0;a<i.length;a++){var c=i[a],p=e.data.length;kl(e,t,c),El(e.data.length-1,c,o),null!==c.contentQueries&&(n.flags|=8),null!==c.hostBindings&&(n.flags|=256),ya(p,c,e,u,s,l)}!function(e,t){ngDevMode&&tn(e);for(var n=t.directiveStart,r=t.directiveEnd,i=e.data,o=t.attrs,a=ngDevMode?new As:[],s=null,l=null,u=n;u<r;u++){var c=i[u],p=c.inputs;a.push(null!==o?Tl(p,o):null),s=hl(p,u,s),l=hl(c.outputs,u,l)}null!==s&&((s.hasOwnProperty("class")||s.hasOwnProperty("className"))&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=s,t.outputs=l}(e,n)}o&&function(e,t,n){if(t)for(var r=e.localNames=ngDevMode?new Ps:[],i=0;i<t.length;i+=2){var o=n[t[i+1]];if(null==o)throw new Error("Export of name '"+t[i+1]+"' not found!");r.push(t[i],o)}}(n,r,o)}}function bl(e,t,n,r,i){var o=t.length;fn(e);var a=r.index-Nt;e.hostBindings(1,n,a),fn(null),o===t.length&&i&&t.push(e.hostBindings)}function wl(e,t,n){ngDevMode&&Ue(e.firstTemplatePass,!0,"Expando block should only be generated on first template pass.");var r=-(t.index-Nt),i=65535&t.providerIndexes,o=e.data.length-i;(e.expandoInstructions||(e.expandoInstructions=[])).push(r,o,n)}function xl(e,t,n,r,i){Cl(e,t,n),null!==t.initialInputs&&function(e,t,n,r,i){var o=i.initialInputs[t];if(null!==o)for(var a=r.setInput,s=0;s<o.length;){var l=o[s++],u=o[s++],c=o[s++];if(null!==a?r.setInput(n,c,l,u):n[u]=c,ngDevMode){var p=ei(i,e);ml(e,p,i.type,u,c)}}}(e,i,n,r,t),Yt(r)&&(ii(t.index,e)[Et]=n)}function Cl(e,t,n){ngDevMode&&Ue(e[Ct],e[yt].bindingStartIndex,"directives should be created before any bindings"),ua(n,e);var r=ei(t,e);r&&ua(r,e)}function Sl(e,t){ngDevMode&&tn(e),t.flags|=2,(e.components||(e.components=ngDevMode?new Is:[])).push(t.index)}function El(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;t.template&&(n[""]=e)}}function Ol(e,t,n){ngDevMode&&ze(n,e.directiveEnd-e.directiveStart,"Reached the max number of directives"),e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function kl(e,t,n){e.data.push(n);var r=n.factory||(n.factory=ft(n.type,!0)),i=new sn(r,Yt(n),null);e.blueprint.push(i),t.push(i)}function Dl(e,t,n,r,i,o){ngDevMode&&qe(n,cr,"Incoming value should never be NO_CHANGE."),ngDevMode&&function(e){if(e.toLowerCase().startsWith("on")){var t="Binding to event attribute '"+e+"' is disallowed for security reasons, please use ("+e.slice(2)+")=...";throw new Error(t)}}(t);var a=Jr(e,r),s=r[Dt];if(null==n)ngDevMode&&ngDevMode.rendererRemoveAttribute++,Yn(s)?s.removeAttribute(a,t,o):a.removeAttribute(t);else{ngDevMode&&ngDevMode.rendererSetAttribute++;var l=ni(e,r),u=null==i?nr(n):i(n,l.tagName||"",t);Yn(s)?s.setAttribute(a,t,u,o):o?a.setAttributeNS(o,t,u):a.setAttribute(t,u)}}function Tl(e,t){for(var n=null,r=0;r<t.length;){var i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}var Il=("undefined"==typeof ngDevMode||ngDevMode)&&Xe()&&na("LContainer");function Pl(e,t,n,r,i){ngDevMode&&en(t),ngDevMode&&!Yn(t[Dt])&&Ke(n);var o=new(ngDevMode?Il:Array)(e,!0,i?-1:0,t,null,null,r,n,null);return ngDevMode&&function(e){rs(e,new Us(e))}(o),o}function Al(e,t){ngDevMode&&Ue(si(e),!1,"Should be run in update mode");var n=ii(t,e);if(function(e){return 128==(128&e[gt])}(n)&&80&n[gt]){var r=n[yt];nl(n,r,r.template,n[Et])}}function Ml(e,t){ngDevMode&&Ue(si(e),!0,"Should be run in creation mode");var n=ii(t,e);!function(e){for(var t=e[yt],n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(n),tl(n,n[yt],n[Et])}function Rl(e,t){return e[It]?e[Pt][bt]=t:e[It]=t,e[Pt]=t}function Nl(e){for(;e;){e[gt]|=64;var t=ui(e);if(Kt(e)&&!t)return e;e=t}return null}function jl(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=ai(n);rl(r,r[yt].template,n)}}function Fl(t,e){var n=t[kt],r=On(),i=Tn();n.begin&&n.begin();try{var o=t[yt];nl(t,o,o.template,e)}catch(e){throw Gl(t,e),e}finally{n.end&&n.end(),kn(r,i)}}function Ll(e){jl(e[Et])}function Vl(e,t){An(!0);try{Fl(e,t)}finally{An(!1)}}function Bl(e,t,n){ngDevMode&&Ge(t,"View queries function to execute must be defined."),jn(0),t(e,n)}function Ul(e,t,n,r){for(var i=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];if(null===e[r]){var a=e[t+Nt];if(null==a.inputs||!a.inputs[n]){(a.propertyBindings||(a.propertyBindings=[])).push(r);var s=n;0<i.length&&(s+=lr+i.join(lr)),e[r]=s}}}var zl=Zs;function ql(e){return e[St]||(e[St]=ngDevMode?new Ms:[])}function Hl(e){return e[yt].cleanup||(e[yt].cleanup=ngDevMode?new Rs:[])}function Wl(e,t){return t[e.index][Dt]}function Gl(e,t){var n=e[Ot],r=n?n.get(Bi,null):null;r&&r.handleError(t)}function Yl(e,t,n){for(var r=e[yt],i=0;i<t.length;){var o=t[i++],a=t[i++],s=t[i++],l=e[o];ngDevMode&&Ze(e,o);var u=r.data[o];u.setInput?u.setInput(l,n,a,s):l[s]=n}}function Kl(e,t,n){ngDevMode&&qe(n,cr,"value should not be NO_CHANGE"),ngDevMode&&Ze(e,t+Nt);var r=Jr(t,e);ngDevMode&&Ge(r,"native element should exist"),ngDevMode&&ngDevMode.rendererSetText++;var i=e[Dt];Yn(i)?i.setValue(r,n):r.textContent=n}function Zl(e,t,n){Xa(e,t,n.classes,!0),Xa(e,t,n.styles,!1)}function Ql(e,t){ngDevMode&&en(t);var n=t[_t];return-1===e.index?qt(n)?n:null:(ngDevMode&&$t(n),n)}function Xl(e,t){var n=Ql(e,t);return n?du(t[Dt],n[Vt]):null}function $l(e,t,n,r,i){if(null!=r){var o=void 0,a=!1;qt(r)?o=r:zt(r)&&(a=!0,ngDevMode&&Ge(r[vt],"HOST must be defined for a component LView"),r=r[vt]);var s=$r(r);ngDevMode&&!Yn(t)&&Ke(s),0===e&&null!==n?null==i?cu(t,n,s):uu(t,n,s,i||null):1===e&&null!==n?uu(t,n,s,i||null):2===e?vu(t,s,a):3===e&&(ngDevMode&&ngDevMode.rendererDestroyNode++,t.destroyNode(s)),null!=o&&function(e,t,n,r,i){ngDevMode&&$t(n);var o=n[Vt],a=$r(n);o!==a&&$l(t,e,r,o,i);for(var s=Ut;s<n.length;s++){var l=n[s];gu(e,t,l,r,o)}}(t,e,o,n,i)}}function Jl(e,t){return ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&ngDevMode.rendererSetText++,Yn(t)?t.createText(e):t.createTextNode(e)}function eu(e,t,n){var r=Xl(e[yt].node,e);ngDevMode&&ln(e[yt].node,2),r&&gu(e[Dt],t?1:2,e,r,n)}function tu(e,t,n){ngDevMode&&en(e),ngDevMode&&$t(t);var r=Ut+n,i=t.length;0<n&&(t[r-1][bt]=e),n<i-Ut?(e[bt]=t[r],Le(t,Ut+n,e)):(t.push(e),e[bt]=null),e[_t]=t;var o=e[Mt];null!==o&&t!==o&&function(e,t){ngDevMode&&$t(e);var n=e[Lt];null===n?e[Lt]=[t]:n.push(t)}(o,e);var a=e[wt];null!==a&&a.insertView(e[yt]),e[gt]|=128}function nu(e,t){ngDevMode&&$t(e),ngDevMode&&Ge(e[Lt],"A projected view should belong to a non-empty projected views collection");var n=e[Lt],r=n.indexOf(t);n.splice(r,1)}function ru(e,t){if(!(e.length<=Ut)){var n=Ut+t,r=e[n];if(r){var i=r[Mt];null!==i&&i!==e&&nu(i,r),0<t&&(e[n-1][bt]=r[bt]);var o=Ve(e,Ut+t);eu(r,!1,null);var a=o[wt];null!==a&&a.detachView(o[yt]),r[_t]=null,r[bt]=null,r[gt]&=-129}return r}}function iu(e,t){var n=ru(e,t);n&&ou(n)}function ou(e){if(!(256&e[gt])){var t=e[Dt];Yn(t)&&t.destroyNode&&gu(t,3,e,null,null),function(e){var t=e[It];if(!t)return su(e);for(;t;){var n=null;if(zt(t))n=t[It];else{ngDevMode&&$t(t);var r=t[Ut];r&&(n=r)}if(!n){for(;t&&!t[bt]&&t!==e;)su(t),t=au(t,e);su(t||e),n=t&&t[bt]}t=n}}(e)}}function au(e,t){var n;return zt(e)&&(n=e[xt])&&2===n.type?Ql(n,e):e[_t]===t?null:e[_t]}function su(e){if(zt(e)&&!(256&e[gt])){e[gt]&=-129,e[gt]|=256,function(e){var t,n=e[yt];if(null!=n&&null!=(t=n.destroyHooks))for(var r=0;r<t.length;r+=2){var i=e[t[r]];i instanceof sn||t[r+1].call(i)}}(e),function(e){var t=e[yt].cleanup;if(null!==t){for(var n=e[St],r=0;r<t.length-1;r+=2)if("string"==typeof t[r]){var i=t[r+1],o="function"==typeof i?i(e):$r(e[i]),a=n[t[r+2]],s=t[r+3];"boolean"==typeof s?o.removeEventListener(t[r],a,s):0<=s?n[s]():n[-s].unsubscribe(),r+=2}else{var l=n[t[r+1]];t[r].call(l)}e[St]=null}}(e);var t=e[xt];t&&3===t.type&&Yn(e[Dt])&&(ngDevMode&&ngDevMode.rendererDestroy++,e[Dt].destroy());var n=e[Mt];if(null!==n&&qt(e[_t])){n!==e[_t]&&nu(n,e);var r=e[wt];null!==r&&r.detachView(e[yt])}}}function lu(e,t){if(Kt(t))return du(t[Dt],ei(e,t));for(var n=e.parent;null!=n&&(4===n.type||5===n.type);)n=(e=n).parent;if(null==n){var r=t[xt];return 2===r.type?Xl(r,t):function(e){ngDevMode&&en(e);var t=e[xt];return t&&3===t.type?ei(t,ui(e)):null}(t)}if(e&&5===e.type&&4&e.flags)return ei(e,t).parentNode;if(ngDevMode&&ln(n,3),2&n.flags){var i=t[yt].data,o=i[i[n.index].directiveStart].encapsulation;if(o!==N.ViewEncapsulation.ShadowDom&&o!==N.ViewEncapsulation.Native)return null}return ei(n,t)}function uu(e,t,n,r){ngDevMode&&ngDevMode.rendererInsertBefore++,Yn(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function cu(e,t,n){ngDevMode&&ngDevMode.rendererAppendChild++,ngDevMode&&Ge(t,"parent node must be defined"),Yn(e)?e.appendChild(t,n):t.appendChild(n)}function pu(e,t,n,r){null!==r?uu(e,t,n,r):cu(e,t,n)}function du(e,t){return Yn(e)?e.parentNode(t):t.parentNode}function hu(e,t){if(2!==e.type)return 4===e.type||5===e.type?ei(e,t):null;var n=Ql(e,t);return null===n?null:mu(n.indexOf(t,Ut)-Ut,n)}function fu(e,t,n){var r=lu(t,n);if(null!=r){var i=n[Dt],o=hu(t.parent||n[xt],n);if(Array.isArray(e))for(var a=0;a<e.length;a++)pu(i,r,e[a],o);else pu(i,r,e,o)}}function mu(e,t){var n=Ut+e+1;if(n<t.length){var r=t[n];ngDevMode&&Ge(r[xt],"Missing Host TNode");var i=r[xt].child;if(null!==i){if(4===i.type||5===i.type){for(var o=i.child;o&&(4===o.type||5===o.type);)o=o.child;i=o||i}return ti(i,r)}}return t[Vt]}function vu(e,t,n){var r=du(e,t);r&&function(e,t,n,r){Yn(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function yu(e,t,n,r,i,o,a){for(;null!=n;){ngDevMode&&Zt(n,r),ngDevMode&&un(n,0,3,4,1,1,5);var s=r[n.index],l=n.type;a&&0===t&&(s&&ua($r(s),r),n.flags|=4),128!=(128&n.flags)&&(4===l||5===l?(yu(e,t,n.child,r,i,o,!1),$l(t,e,i,s,o)):1===l?bu(e,t,r,n,i,o):(ngDevMode&&un(n,3,0),$l(t,e,i,s,o))),n=a?n.projectionNext:n.next}}function gu(e,t,n,r,i){var o=n[yt];ngDevMode&&ln(o.node,2),yu(e,t,o.node.child,n,r,i,!1)}function _u(e,t){bu(e[Dt],0,e,t,lu(t,e),hu(t.parent||e[xt],e))}function bu(e,t,n,r,i,o){var a=pi(n),s=a[xt];ngDevMode&&Ue(typeof r.projection,"number","expecting projection index");var l=s.projection[r.projection];if(Array.isArray(l))for(var u=0;u<l.length;u++){$l(t,e,i,l[u],o)}else yu(e,t,l,a[_t],i,o,!0)}var wu=(Object.defineProperty(xu.prototype,"rootNodes",{get:function(){if(null!=this._lView[vt])return[];var e=this._lView[xt];return function e(t,n,r){for(var i=n.child;i;){var o=ti(i,t);if(o&&r.push(o),4===i.type)e(t,i,r);else if(1===i.type)for(var a=pi(t),s=a[xt],l=ui(a),u=s.projection[i.projection];u&&l;)r.push(ei(u,l)),u=u.next;i=i.next}return r}(this._lView,e,[])},enumerable:!0,configurable:!0}),Object.defineProperty(xu.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(xu.prototype,"destroyed",{get:function(){return 256==(256&this._lView[gt])},enumerable:!0,configurable:!0}),xu.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);-1<e&&this._viewContainerRef.detach(e),this._viewContainerRef=null}ou(this._lView)},xu.prototype.onDestroy=function(e){!function(e,t){ql(e).push(t),e[yt].firstTemplatePass&&Hl(e).push(e[St].length-1,null)}(this._lView,e)},xu.prototype.markForCheck=function(){Nl(this._lView)},xu.prototype.detach=function(){this._lView[gt]&=-129},xu.prototype.reattach=function(){this._lView[gt]|=128},xu.prototype.detectChanges=function(){Fl(this._lView,this.context)},xu.prototype.checkNoChanges=function(){Vl(this._lView,this.context)},xu.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},xu.prototype.detachFromAppRef=function(){this._appRef=null,function(e){gu(e[Dt],2,e,null,null)}(this._lView)},xu.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},xu.prototype._lookUpContext=function(){return this._context=ui(this._lView)[this._componentIndex]},xu);function xu(e,t,n){this._context=t,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=e}var Cu,Su,Eu,Ou,ku=(p(Du,Cu=wu),Du.prototype.detectChanges=function(){Ll(this._view)},Du.prototype.checkNoChanges=function(){!function(e){An(!0);try{Ll(e)}finally{An(!1)}}(this._view)},Object.defineProperty(Du.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Du);function Du(e){var t=Cu.call(this,e,null,-1)||this;return t._view=e,t}function Tu(e,t,n){function r(){return null!==i&&i.apply(this,arguments)||this}var i;return Su||(p(r,i=e),Su=r),new Su(ei(t,n))}function Iu(e,t,n,r){function i(e,t,n){var r=o.call(this)||this;return r._declarationView=e,r._declarationTContainer=t,r.elementRef=n,r}var o;return Eu||(p(i,o=e),i.prototype.createEmbeddedView=function(e){var t=this._declarationTContainer.tViews,n=$s(this._declarationView,t,e,16,null,t.node),r=this._declarationView[this._declarationTContainer.index];ngDevMode&&$t(r),n[Mt]=r;var i=this._declarationView[wt];null!==i&&(n[wt]=i.createEmbeddedView(t)),tl(n,t,e);var o=new wu(n,e,-1);return o._tViewNode=n[xt],o},Eu=i),0===n.type?(ngDevMode&&Ge(n.tViews,"TView must be allocated"),new Eu(r,n,Tu(t,n,r))):null}function Pu(e,t,n,r){function i(e,t,n){var r=o.call(this)||this;return r._lContainer=e,r._hostTNode=t,r._hostView=n,r}var o,a;Ou||(p(i,o=e),Object.defineProperty(i.prototype,"element",{get:function(){return Tu(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"injector",{get:function(){return new Ii(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"parentInjector",{get:function(){var e=bi(this._hostTNode,this._hostView),t=tr(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,i=n.parent;null!=i.parent&&r==i.injectorIndex;)i=i.parent;return i}for(var o=er(e),a=t,s=t[xt];1<o;)s=(a=a[At])[xt],o--;return s}(e,this._hostView,this._hostTNode);return $n(e)&&null!=n?new Ii(n,t):new Ii(null,this._hostView)},enumerable:!0,configurable:!0}),i.prototype.clear=function(){for(;0<this.length;)this.remove(this.length-1)},i.prototype.get=function(e){return null!==this._lContainer[Bt]&&this._lContainer[Bt][e]||null},Object.defineProperty(i.prototype,"length",{get:function(){return this._lContainer.length-Ut},enumerable:!0,configurable:!0}),i.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},i.prototype.createComponent=function(e,t,n,r,i){var o=n||this.parentInjector;!i&&null==e.ngModule&&o&&(i=o.get(Re,null)||void 0);var a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a},i.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");this.allocateContainerIfNeeded();var n=e._lView,r=this._adjustIndex(t);return function(e){return qt(e[_t])}(n)?this.move(e,r):(tu(n,this._lContainer,r),eu(n,!0,mu(r,this._lContainer)),e.attachToViewContainerRef(this),Le(this._lContainer[Bt],r,e),e)},i.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this.indexOf(e);return-1!==n&&this.detach(n),this.insert(e,t),e},i.prototype.indexOf=function(e){return null!==this._lContainer[Bt]?this._lContainer[Bt].indexOf(e):0},i.prototype.remove=function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);iu(this._lContainer,t),Ve(this._lContainer[Bt],t)},i.prototype.detach=function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=ru(this._lContainer,t);return n&&null!=Ve(this._lContainer[Bt],t)?new wu(n,n[Et],-1):null},i.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this.length+t:(ngDevMode&&(We(e,-1,"index must be positive"),He(e,this.length+1+t,"index")),e)},i.prototype.allocateContainerIfNeeded=function(){null===this._lContainer[Bt]&&(this._lContainer[Bt]=[])},Ou=i),ngDevMode&&un(n,0,3,4);var s=r[n.index];if(qt(s))(a=s)[Ft]=-1;else{var l=void 0;if(l=4===n.type?$r(s):(ngDevMode&&ngDevMode.rendererCreateComment++,r[Dt].createComment(ngDevMode?"container":"")),Kt(r)){var u=r[Dt],c=ei(n,r);uu(u,du(u,c),l,function(e,t){return Yn(e)?e.nextSibling(t):t.nextSibling}(u,c))}else fu(l,n,r);r[n.index]=a=Pl(s,r,l,n,!0),Rl(r,a)}return new Ou(a,n,r)}function Au(e){return void 0===e&&(e=!1),function(e,t,n){{if(Wt(e)&&!n){var r=e.directiveStart,i=ii(e.index,t);return new wu(i,null,r)}if(3===e.type||0===e.type||4===e.type){var o=pi(t);return new wu(o,o[Et],-1)}}return null}(On(),gn(),e)}var Mu=(Ru.__NG_ELEMENT_ID__=function(){return Fu()},Ru);function Ru(){}function Nu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var ju=Au,Fu=Nu,Lu=Function;function Vu(e){return"function"==typeof e}var Bu=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Uu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,zu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,qu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/;var Hu=(Wu.prototype.isReflectionEnabled=function(){return!0},Wu.prototype.factory=function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,O([void 0],e)))}},Wu.prototype._zipTypesAndAnnotations=function(e,t){var n;n=Be(void 0===e?t.length:e.length);for(var r=0;r<n.length;r++)void 0===e?n[r]=[]:e[r]&&e[r]!=Object?n[r]=[e[r]]:n[r]=[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n},Wu.prototype._ownParameters=function(e,t){if(function(e){return Bu.test(e)||qu.test(e)||Uu.test(e)&&!zu.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var n=e.ctorParameters;if(n&&n!==t.ctorParameters){var r="function"==typeof n?n():n,i=r.map(function(e){return e&&e.type}),o=r.map(function(e){return e&&Gu(e.decorators)});return this._zipTypesAndAnnotations(i,o)}var a=e.hasOwnProperty(h)&&e[h],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||a?this._zipTypesAndAnnotations(s,a):Be(e.length)},Wu.prototype.parameters=function(e){if(!Vu(e))return[];var t=Yu(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]},Wu.prototype._ownAnnotations=function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?Gu(e.decorators):e.hasOwnProperty(d)?e[d]:null},Wu.prototype.annotations=function(e){if(!Vu(e))return[];var t=Yu(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)},Wu.prototype._ownPropMetadata=function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,i={};return Object.keys(r).forEach(function(e){i[e]=Gu(r[e])}),i}return e.hasOwnProperty(f)?e[f]:null},Wu.prototype.propMetadata=function(e){if(!Vu(e))return{};var t=Yu(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach(function(e){n[e]=r[e]})}var i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,O(n[e])),t.push.apply(t,O(i[e])),n[e]=t}),n},Wu.prototype.ownPropMetadata=function(e){return Vu(e)&&this._ownPropMetadata(e,Yu(e))||{}},Wu.prototype.hasLifecycleHook=function(e,t){return e instanceof Lu&&t in e.prototype},Wu.prototype.guards=function(e){return{}},Wu.prototype.getter=function(e){return new Function("o","return o."+e+";")},Wu.prototype.setter=function(e){return new Function("o","v","return o."+e+" = v;")},Wu.prototype.method=function(e){return new Function("o","args","if (!o."+e+") throw new Error('\""+e+"\" is undefined');\n        return o."+e+".apply(o, args);")},Wu.prototype.importUri=function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+V(e)},Wu.prototype.resourceUri=function(e){return"./"+V(e)},Wu.prototype.resolveIdentifier=function(e,t,n,r){return r},Wu.prototype.resolveEnum=function(e,t){return e[t]},Wu);function Wu(e){this._reflect=e||Q.Reflect}function Gu(e){return e?e.map(function(e){var t=e.type.annotationCls,n=e.args?e.args:[];return new(t.bind.apply(t,O([void 0],n)))}):[]}function Yu(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}var Ku=null;function Zu(){return Ku=Ku||new Hu}function Qu(e){return Xu(Zu().parameters(e))}function Xu(e){var t=X();return e.map(function(e){return function(t,e){var n={token:null,host:!1,optional:!1,resolved:t.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(e){n.resolved=t.R3ResolvedDependencyType.Token,n.token=e}if(Array.isArray(e)){if(0===e.length)throw new Error("Dependency array must have arguments.");for(var i=0;i<e.length;i++){var o=e[i];if(void 0!==o)if(o instanceof b||"Optional"===o.__proto__.ngMetadataName)n.optional=!0;else if(o instanceof x||"SkipSelf"===o.__proto__.ngMetadataName)n.skipSelf=!0;else if(o instanceof w||"Self"===o.__proto__.ngMetadataName)n.self=!0;else if(o instanceof C||"Host"===o.__proto__.ngMetadataName)n.host=!0;else if(o instanceof _)n.token=o.token;else if(o instanceof S){if(void 0===o.attributeName)throw new Error("Attribute name must be defined.");n.token=o.attributeName,n.resolved=t.R3ResolvedDependencyType.Attribute}else o===Mu?(n.token=o,n.resolved=t.R3ResolvedDependencyType.ChangeDetectorRef):r(o)}}else r(e);return n}(t,e)})}var $u=E({provide:String,useValue:E});function Ju(e){return void 0!==e.useClass}function ec(e){return void 0!==e.useFactory}function tc(e,t){var n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(Ju(n)||ec(n))&&void 0!==n.deps&&(r.userDeps=Xu(n.deps)),Ju(n)?r.useClass=z(n.useClass):!function(e){return $u in e}(n)?ec(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=z(n.useExisting)):r.useValue=z(n.useValue),r}var nc=E({provide:String,useValue:E}),rc=[];function ic(e,t){if(!t){var n=(l=new Hu).parameters(e);return function(){return new(e.bind.apply(e,O([void 0],Se(n))))}}if(nc in t){var r=t;return function(){return r.useValue}}if(t.useExisting){var i=t;return function(){return we(z(i.useExisting))}}if(t.useFactory){var o=t;return function(){return o.useFactory.apply(o,O(Se(o.deps||rc)))}}if(t.useClass){var a=t,s=t.deps;if(!s){var l=new Hu;s=l.parameters(e)}return function(){var e;return new((e=z(a.useClass)).bind.apply(e,O([void 0],Se(s))))}}var u=t.deps;if(!u){l=new Hu;u=l.parameters(e)}return function(){return new(e.bind.apply(e,O([void 0],Se(u))))}}var oc=i("Injectable",void 0,void 0,void 0,function(e,t){return sc(e,t)});function ac(t,n){var e=null,r=null;t.hasOwnProperty(M)||Object.defineProperty(t,M,{get:function(){return null===e&&(e=X().compileInjectable(Te,"ng:///"+t.name+"/ɵprov.js",tc(t,n))),e}}),t.hasOwnProperty(ie)||Object.defineProperty(t,ie,{get:function(){if(null===r){var e=tc(t,n);r=X().compileFactory(Te,"ng:///"+t.name+"/ɵfac.js",{name:e.name,type:e.type,typeArgumentCount:e.typeArgumentCount,deps:Qu(t),injectFn:"inject",isPipe:!1})}return r},configurable:!0})}var sc=function(e,t){t&&void 0!==t.providedIn&&!P(e)&&(e.ɵprov=D({token:e,providedIn:t.providedIn,factory:ic(e,t)}))},lc=new ae("Set Injector scope."),uc={},cc={},pc=[],dc=void 0;function hc(){return void 0===dc&&(dc=new Ee),dc}function fc(e,t,n,r){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||hc(),new mc(e,n,t,r)}var mc=(Object.defineProperty(vc.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),vc.prototype.destroy=function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},vc.prototype.get=function(t,e,n){void 0===e&&(e=ce),void 0===n&&(n=N.InjectFlags.Default),this.assertNotDestroyed();var r=ge(this);try{if(!(n&N.InjectFlags.SkipSelf)){var i=this.records.get(t);if(void 0===i){var o=function(e){return"function"==typeof e||"object"==typeof e&&e instanceof ae}(t)&&P(t);i=o&&this.injectableDefInScope(o)?_c(yc(t),uc):null,this.records.set(t,i)}if(null!=i)return this.hydrate(t,i)}var a=n&N.InjectFlags.Self?hc():this.parent;return e=n&N.InjectFlags.Optional&&e===ce?null:e,a.get(t,e)}catch(e){if("NullInjectorError"!==e.name)throw e;if((e[pe]=e[pe]||[]).unshift(V(t)),r)throw e;return ke(e,t,"R3InjectorError",this.source)}finally{ge(r)}},vc.prototype.toString=function(){var n=[];return this.records.forEach(function(e,t){return n.push(V(t))}),"R3Injector["+n.join(", ")+"]"},vc.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},vc.prototype.processInjectorType=function(e,t,n){var i=this;if(!(e=z(e)))return!1;var r=A(e),o=null==r&&e.ngModule||void 0,a=void 0===o?e:o;if(ngDevMode&&-1!==t.indexOf(a)){var s=V(a);throw new Error("Circular dependency in DI detected for type "+s+". Dependency path: "+t.map(function(e){return V(e)}).join(" > ")+" > "+s+".")}var l=-1!==n.indexOf(a);if(void 0!==o&&(r=A(o)),null==r)return!1;if(this.injectorDefTypes.add(a),this.records.set(a,_c(r.factory,uc)),null!=r.imports&&!l){var u;ngDevMode&&t.push(a),n.push(a);try{Fe(r.imports,function(e){i.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))})}finally{ngDevMode&&t.pop()}if(void 0!==u)for(var c=function(e){var t=u[e],n=t.ngModule,r=t.providers;Fe(r,function(e){return i.processProvider(e,n,r||pc)})},p=0;p<u.length;p++)c(p)}var d=r.providers;if(null!=d&&!l){var h=e;Fe(d,function(e){return i.processProvider(e,h,d)})}return void 0!==o&&void 0!==e.providers},vc.prototype.processProvider=function(e,t,n){var r=wc(e=z(e))?e:z(e&&e.provide),i=function(e,t,n){var r=gc(e,t,n);return bc(e)?_c(void 0,e.useValue):_c(r,uc)}(e,t,n);if(wc(e)||!0!==e.multi){var o=this.records.get(r);o&&void 0!==o.multi&&va()}else{var a=this.records.get(r);a?void 0===a.multi&&va():((a=_c(void 0,uc,!0)).factory=function(){return Se(a.multi)},this.records.set(r,a)),r=e,a.multi.push(e)}this.records.set(r,i)},vc.prototype.hydrate=function(e,t){return t.value===cc?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(V(e)):t.value===uc&&(t.value=cc,t.value=t.factory()),"object"==typeof t.value&&t.value&&function(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this.onDestroy.add(t.value),t.value},vc.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))},vc);function vc(t,n,e,r){var i=this;void 0===r&&(r=null),this.parent=e,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&Fe(n,function(e){return i.processProvider(e,t,n)}),Fe([t],function(e){return i.processInjectorType(e,[],o)}),this.records.set(ue,_c(void 0,this));var a=this.records.get(lc);this.scope=null!=a?a.value:null,this.injectorDefTypes.forEach(function(e){return i.get(e)}),this.source=r||("object"==typeof t?null:V(t))}function yc(e){var t=P(e),n=null!==t?t.factory:ft(e);if(null!==n)return n;var r=A(e);if(null!==r)return r.factory;if(e instanceof ae)throw new Error("Token "+V(e)+" is missing a ɵprov definition.");if(e instanceof Function)return function(e){var t=e.length;if(0<t){var n=Be(t,"?");throw new Error("Can't resolve all parameters for "+V(e)+": ("+n.join(", ")+").")}var r=function(e){var t=e&&(e[M]||e[F]);return t?(console.warn('DEPRECATED: DI is instantiating a token "'+e.name+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+e.name+'" class.'),t):null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function gc(e,t,n){var r=void 0;if(wc(e))return yc(z(e));if(bc(e))r=function(){return z(e.useValue)};else if(function(e){return!(!e||!e.useExisting)}(e))r=function(){return we(z(e.useExisting))};else if(function(e){return!(!e||!e.useFactory)}(e))r=function(){return e.useFactory.apply(e,O(Se(e.deps||[])))};else{var i=z(e&&(e.useClass||e.provide));if(i||function(e,t,n){var r="";throw e&&t&&(r=" - only instances of Provider and Type are allowed, got: ["+t.map(function(e){return e==n?"?"+n+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+V(e)+"'"+r)}(t,n,e),!function(e){return!!e.deps}(e))return yc(i);r=function(){return new(i.bind.apply(i,O([void 0],Se(e.deps))))}}return r}function _c(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function bc(e){return null!==e&&"object"==typeof e&&ve in e}function wc(e){return"function"==typeof e}var xc=function(e,t,n){return new Ic(e,t,n)},Cc=(Sc.create=function(e,t){return Array.isArray(e)?xc(e,t,""):xc(e.providers,e.parent,e.name||"")},Sc.THROW_IF_NOT_FOUND=ce,Sc.NULL=new Ee,Sc.ɵprov=D({token:Sc,providedIn:"any",factory:function(){return we(ue)}}),Sc.__NG_ELEMENT_ID__=-1,Sc);function Sc(){}var Ec=function(e){return e},Oc=[],kc=Ec,Dc=function(){return Array.prototype.slice.call(arguments)},Tc="ɵ",Ic=(Pc.prototype.get=function(t,e,n){void 0===n&&(n=N.InjectFlags.Default);var r=this._records,i=r.get(t);if(void 0===i){var o=P(t);if(o){var a=o&&o.providedIn;("any"===a||null!=a&&a===this.scope)&&r.set(t,i=Ac({provide:t,useFactory:o.factory,deps:Oc}))}void 0===i&&r.set(t,null)}var s=ge(this);try{return Rc(t,i,r,this.parent,e,n)}catch(e){return ke(e,t,"StaticInjectorError",this.source)}finally{ge(s)}},Pc.prototype.toString=function(){var n=[];return this._records.forEach(function(e,t){return n.push(V(t))}),"StaticInjector["+n.join(", ")+"]"},Pc);function Pc(e,t,n){void 0===t&&(t=Cc.NULL),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(Cc,{token:Cc,fn:Ec,deps:Oc,value:this,useNew:!1}),r.set(ue,{token:ue,fn:Ec,deps:Oc,value:this,useNew:!1}),this.scope=function e(t,n){var r=null;if(n)if(n=z(n),Array.isArray(n))for(var i=0;i<n.length;i++)r=e(t,n[i])||r;else{if("function"==typeof n)throw Nc("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Nc("Unexpected provider",n);var o=z(n.provide),a=Ac(n);if(!0===n.multi){var s=t.get(o);if(s){if(s.fn!==Dc)throw Mc(o)}else t.set(o,s={token:n.provide,deps:[],useNew:!1,fn:Dc,value:Oc});o=n,s.deps.push({token:o,options:6})}var l=t.get(o);if(l&&l.fn==Dc)throw Mc(o);o===lc&&(r=a.value),t.set(o,a)}return r}(r,e)}function Ac(e){var t=function(e){var t=Oc,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var i=6,o=z(n[r]);if(Array.isArray(o))for(var a=0,s=o;a<s.length;a++){var l=s[a];l instanceof b||l==b?i|=1:l instanceof x||l==x?i&=-3:l instanceof w||l==w?i&=-5:o=l instanceof _?l.token:z(l)}t.push({token:o,options:i})}}else if(e.useExisting){o=z(e.useExisting);t=[{token:o,options:6}]}else if(!(n||ve in e))throw Nc("'deps' required",e);return t}(e),n=Ec,r=Oc,i=!1,o=z(e.provide);if(ve in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,n=z(e.useClass);else{if("function"!=typeof o)throw Nc("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);i=!0,n=o}return{deps:t,fn:n,useNew:i,value:r}}function Mc(e){return Nc("Cannot mix multi providers and regular providers",e)}function Rc(t,n,e,r,i,o){try{return function(e,t,n,r,i,o){var a,s;if(!t||o&N.InjectFlags.SkipSelf)s=o&N.InjectFlags.Self?o&N.InjectFlags.Optional?Cc.NULL.get(e,void 0!==i?i:null):Cc.NULL.get(e,i):r.get(e,i,N.InjectFlags.Default);else{if((s=t.value)==kc)throw Error(Tc+"Circular dependency");if(s===Oc){t.value=kc;var l=t.useNew,u=t.fn,c=t.deps,p=Oc;if(c.length){p=[];for(var d=0;d<c.length;d++){var h=c[d],f=h.options,m=2&f?n.get(h.token):void 0;p.push(Rc(h.token,m,n,m||4&f?r:Cc.NULL,1&f?null:Cc.THROW_IF_NOT_FOUND,N.InjectFlags.Default))}}t.value=s=l?new((a=u).bind.apply(a,O([void 0],p))):u.apply(void 0,p)}}return s}(t,n,e,r,i,o)}catch(e){throw e instanceof Error||(e=new Error(e)),(e[pe]=e[pe]||[]).unshift(t),n&&n.value==kc&&(n.value=Oc),e}}function Nc(e,t){return new Error(De(e,t,"StaticInjectorError"))}function jc(e){return 1<e.length?" ("+function(e){for(var t=[],n=0;n<e.length;++n){if(-1<t.indexOf(e[n]))return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return V(e.token)}).join(" -> ")+")":""}function Fc(e,t,n,r){var i=[t],o=n(i),a=r?function(e,t){var n=e+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[Ni]=t,r}(o,r):Error(o);return a.addKey=Lc,a.keys=i,a.injectors=[e],a.constructResolvingMessage=n,a[Ni]=r,a}function Lc(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Vc(e,t){for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r];o&&0!=o.length?n.push(o.map(V).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+V(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+V(e)+"' is decorated with Injectable.")}var Bc=(Uc.get=function(e){return qc.get(z(e))},Object.defineProperty(Uc,"numberOfKeys",{get:function(){return qc.numberOfKeys},enumerable:!0,configurable:!0}),Uc);function Uc(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=V(this.token)}function zc(){this._allKeys=new Map}var qc=new(zc.prototype.get=function(e){if(e instanceof Bc)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new Bc(e,Bc.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(zc.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),zc);function Hc(e){this.reflectionCapabilities=e}var Wc=new(Hc.prototype.updateCapabilities=function(e){this.reflectionCapabilities=e},Hc.prototype.factory=function(e){return this.reflectionCapabilities.factory(e)},Hc.prototype.parameters=function(e){return this.reflectionCapabilities.parameters(e)},Hc.prototype.annotations=function(e){return this.reflectionCapabilities.annotations(e)},Hc.prototype.propMetadata=function(e){return this.reflectionCapabilities.propMetadata(e)},Hc.prototype.hasLifecycleHook=function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)},Hc.prototype.getter=function(e){return this.reflectionCapabilities.getter(e)},Hc.prototype.setter=function(e){return this.reflectionCapabilities.setter(e)},Hc.prototype.method=function(e){return this.reflectionCapabilities.method(e)},Hc.prototype.importUri=function(e){return this.reflectionCapabilities.importUri(e)},Hc.prototype.resourceUri=function(e){return this.reflectionCapabilities.resourceUri(e)},Hc.prototype.resolveIdentifier=function(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)},Hc.prototype.resolveEnum=function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)},Hc)(new Hu),Gc=(Yc.fromKey=function(e){return new Yc(e,!1,null)},Yc);function Yc(e,t,n){this.key=e,this.optional=t,this.visibility=n}var Kc=[],Zc=function(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},Qc=function(e,t){this.factory=e,this.dependencies=t};function Xc(e){var t,n;if(e.useClass){var r=z(e.useClass);t=Wc.factory(r),n=ep(r)}else n=e.useExisting?(t=function(e){return e},[Gc.fromKey(Bc.get(e.useExisting))]):e.useFactory?(t=e.useFactory,function(t,e){{if(e){var n=e.map(function(e){return[e]});return e.map(function(e){return tp(t,e,n)})}return ep(t)}}(e.useFactory,e.deps)):(t=function(){return e.useValue},Kc);return new Qc(t,n)}function $c(e){return new Zc(Bc.get(e.provide),[Xc(e)],e.multi||!1)}function Jc(e){var t=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=t.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+i+" "+r);if(r.multiProvider)for(var o=0;o<r.resolvedFactories.length;o++)i.resolvedFactories.push(r.resolvedFactories[o]);else t.set(r.key.id,r)}else{var a=void 0;a=r.multiProvider?new Zc(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,a)}}return t}(function t(e,n){e.forEach(function(e){if(e instanceof Lu)n.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)n.push(e);else{if(!Array.isArray(e))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e);t(e,n)}});return n}(e,[]).map($c),new Map);return Array.from(t.values())}function ep(t){var n=Wc.parameters(t);if(!n)return[];if(n.some(function(e){return null==e}))throw Vc(t,n);return n.map(function(e){return tp(t,e,n)})}function tp(e,t,n){var r=null,i=!1;if(!Array.isArray(t))return np(t instanceof _?t.token:t,i,null);for(var o=null,a=0;a<t.length;++a){var s=t[a];s instanceof Lu?r=s:s instanceof _?r=s.token:s instanceof b?i=!0:s instanceof w||s instanceof x?o=s:s instanceof ae&&(r=s)}if(null!=(r=z(r)))return np(r,i,o);throw Vc(e,n)}function np(e,t,n){return new Gc(Bc.get(e),t,n)}var rp=new Object,ip=(op.resolve=function(e){return Jc(e)},op.resolveAndCreate=function(e,t){var n=op.resolve(e);return op.fromResolvedProviders(n,t)},op.fromResolvedProviders=function(e,t){return new ap(e,t)},op);function op(){}var ap=(sp.prototype.get=function(e,t){return void 0===t&&(t=ce),this._getByKey(Bc.get(e),null,t)},sp.prototype.resolveAndCreateChild=function(e){var t=ip.resolve(e);return this.createChildFromResolved(t)},sp.prototype.createChildFromResolved=function(e){var t=new sp(e);return t.parent=this,t},sp.prototype.resolveAndInstantiate=function(e){return this.instantiateResolved(ip.resolve([e])[0])},sp.prototype.instantiateResolved=function(e){return this._instantiateProvider(e)},sp.prototype.getProviderAtIndex=function(e){if(e<0||e>=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},sp.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function(e,t){return Fc(e,t,function(e){return"Cannot instantiate cyclic dependency!"+jc(e)})}(this,e.key);return this._instantiateProvider(e)},sp.prototype._getMaxNumberOfObjects=function(){return this.objs.length},sp.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=[],n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])},sp.prototype._instantiate=function(t,e){var n,r,i=this,o=e.factory;try{n=e.dependencies.map(function(e){return i._getByReflectiveDependency(e)})}catch(e){throw e.addKey&&e.addKey(this,t.key),e}try{r=o.apply(void 0,O(n))}catch(e){throw function(e,n,t,r){return Fc(e,r,function(e){var t=V(e[0].token);return n.message+": Error during instantiation of "+t+"!"+jc(e)+"."},n)}(this,e,e.stack,t.key)}return r},sp.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:ce)},sp.prototype._getByKey=function(e,t,n){return e===sp.INJECTOR_KEY?this:t instanceof w?this._getByKeySelf(e,n):this._getByKeyDefault(e,n,t)},sp.prototype._getObjByKeyId=function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===rp&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return rp},sp.prototype._throwOrNull=function(e,t){if(t!==ce)return t;throw function(e,t){return Fc(e,t,function(e){return"No provider for "+V(e[0].token)+"!"+jc(e)})}(this,e)},sp.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==rp?n:this._throwOrNull(e,t)},sp.prototype._getByKeyDefault=function(e,t,n){var r;for(r=n instanceof x?this.parent:this;r instanceof sp;){var i=r,o=i._getObjByKeyId(e.id);if(o!==rp)return o;r=i.parent}return null!==r?r.get(e.token,t):this._throwOrNull(e,t)},Object.defineProperty(sp.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(e,t){for(var n=[],r=0;r<e._providers.length;++r)n[r]=t(e.getProviderAtIndex(r));return n}(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),sp.prototype.toString=function(){return this.displayName},sp.INJECTOR_KEY=Bc.get(Cc),sp);function sp(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;var n=e.length;this.keyIds=[],this.objs=[];for(var r=0;r<n;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=rp}function lp(){}var up=new ae("AnalyzeForEntryComponents"),cp=a("ContentChildren",function(e,t){return void 0===t&&(t={}),l({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)},lp),pp=a("ContentChild",function(e,t){return void 0===t&&(t={}),l({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},lp),dp=a("ViewChildren",function(e,t){return void 0===t&&(t={}),l({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)},lp),hp=a("ViewChild",function(e,t){return l({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},lp);function fp(r){var n=[],i=new Map;function l(e){var t=i.get(e);if(!t){var n=r(e);i.set(e,t=n.then(_p))}return t}return mp.forEach(function(r,e){var i=[];r.templateUrl&&i.push(l(r.templateUrl).then(function(e){r.template=e}));var o=r.styleUrls,a=r.styles||(r.styles=[]),s=r.styles.length;o&&o.forEach(function(t,n){a.push(""),i.push(l(t).then(function(e){a[s+n]=e,o.splice(o.indexOf(t),1),0==o.length&&(r.styleUrls=void 0)}))});var t=Promise.all(i).then(function(){return function(e){vp.delete(e)}(e)});n.push(t)}),gp(),Promise.all(n).then(function(){})}var mp=new Map,vp=new Set;function yp(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function gp(){var e=mp;return mp=new Map,e}function _p(e){return"string"==typeof e?e:e.text()}function bp(e){var t=gn(),n=t[yt];n.firstTemplatePass&&(function(e,t,n){ngDevMode&&Ue(e.firstTemplatePass,!0,"Should only be called in first template pass.");var r=e.expandoInstructions,i=r.length;2<=i&&r[i-2]===t.hostBindings?r[i-1]=r[i-1]+n:r.push(t.hostBindings,n)}(n,hn.currentDirectiveDef,e),function(e,t,n){ngDevMode&&Ue(e.firstTemplatePass,!0,"Should only be called in first template pass.");for(var r=0;r<n;r++)t.push(cr),e.blueprint.push(cr),e.data.push(null)}(n,t,e))}var wp=null;function xp(){if(!wp){var e=Q.Symbol;if(e&&e.iterator)wp=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(wp=r)}}return wp}function Cp(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Sp(e,t){var n=kp(e),r=kp(t);return n&&r?function(e,t,n){var r=e[xp()](),i=t[xp()]();for(;;){var o=r.next(),a=i.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(e,t,Sp):!(n||!(e&&("object"==typeof e||"function"==typeof e))||r||!(t&&("object"==typeof t||"function"==typeof t)))||Cp(e,t)}var Ep=(Op.wrap=function(e){return new Op(e)},Op.unwrap=function(e){return Op.isWrapped(e)?e.wrapped:e},Op.isWrapped=function(e){return e instanceof Op},Op);function Op(e){this.wrapped=e}function kp(e){return!!Dp(e)&&(Array.isArray(e)||!(e instanceof Map)&&xp()in e)}function Dp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Tp(e,t,n){return e[t]=n}function Ip(e,t){return ngDevMode&&Ze(e,t),ngDevMode&&qe(e[t],cr,"Stored value should never be NO_CHANGE."),e[t]}function Pp(e,t,n){ngDevMode&&qe(n,cr,"Incoming value should never be NO_CHANGE."),ngDevMode&&He(t,e.length,"Slot should have been initialized to NO_CHANGE");var r=e[t];if(Object.is(r,n))return!1;if(ngDevMode&&Pn()){var i=r!==cr?r:void 0;Sp(i,n)||ma(r===cr,i,n)}return e[t]=n,!0}function Ap(e,t,n,r){var i=Pp(e,t,n);return Pp(e,t+1,r)||i}function Mp(e,t,n,r,i){var o=Ap(e,t,n,r);return Pp(e,t+2,i)||o}function Rp(e,t,n,r,i,o){var a=Ap(e,t,n,r);return Ap(e,t+2,i,o)||a}function Np(e,t,n,r){var i=gn();return Pp(i,i[Ct]++,t)&&Dl(Vn(),e,t,i,n,r),Np}function jp(e,t){ngDevMode&&He(2,t.length,"should have at least 3 values"),ngDevMode&&Ue(t.length%2,1,"should have an odd number of values");for(var n=!1,r=e[Ct],i=1;i<t.length;i+=2)n=Pp(e,r++,t[i])||n;if(e[Ct]=r,!n)return cr;var o=t[0];for(i=1;i<t.length;i+=2)o+=nr(t[i])+t[i+1];return o}function Fp(e,t,n,r){return Pp(e,e[Ct]++,n)?t+nr(n)+r:cr}function Lp(e,t,n,r,i,o){var a=Ap(e,e[Ct],n,i);return e[Ct]+=2,a?t+nr(n)+r+nr(i)+o:cr}function Vp(e,t,n,r,i,o,a,s){var l=Mp(e,e[Ct],n,i,a);return e[Ct]+=3,l?t+nr(n)+r+nr(i)+o+nr(a)+s:cr}function Bp(e,t,n,r,i,o,a,s,l,u){var c=Rp(e,e[Ct],n,i,a,l);return e[Ct]+=4,c?t+nr(n)+r+nr(i)+o+nr(a)+s+nr(l)+u:cr}function Up(e,t,n,r,i,o,a,s,l,u,c,p){var d=e[Ct],h=Rp(e,d,n,i,a,l);return h=Pp(e,d+4,c)||h,e[Ct]+=5,h?t+nr(n)+r+nr(i)+o+nr(a)+s+nr(l)+u+nr(c)+p:cr}function zp(e,t,n,r,i,o,a,s,l,u,c,p,d,h){var f=e[Ct],m=Rp(e,f,n,i,a,l);return m=Ap(e,f+4,c,d)||m,e[Ct]+=6,m?t+nr(n)+r+nr(i)+o+nr(a)+s+nr(l)+u+nr(c)+p+nr(d)+h:cr}function qp(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m){var v=e[Ct],y=Rp(e,v,n,i,a,l);return y=Mp(e,v+4,c,d,f)||y,e[Ct]+=7,y?t+nr(n)+r+nr(i)+o+nr(a)+s+nr(l)+u+nr(c)+p+nr(d)+h+nr(f)+m:cr}function Hp(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y){var g=e[Ct],_=Rp(e,g,n,i,a,l);return _=Rp(e,g+4,c,d,f,v)||_,e[Ct]+=8,_?t+nr(n)+r+nr(i)+o+nr(a)+s+nr(l)+u+nr(c)+p+nr(d)+h+nr(f)+m+nr(v)+y:cr}function Wp(e,t,n,r,i,o){var a=gn(),s=Fp(a,t,n,r);return s!==cr&&Dl(Vn(),e,s,a,i,o),Wp}function Gp(e,t,n,r,i,o,a,s){var l=gn(),u=Lp(l,t,n,r,i,o);return u!==cr&&Dl(Vn(),e,u,l,a,s),Gp}function Yp(e,t,n,r,i,o,a,s,l,u){var c=gn(),p=Vp(c,t,n,r,i,o,a,s);return p!==cr&&Dl(Vn(),e,p,c,l,u),Yp}function Kp(e,t,n,r,i,o,a,s,l,u,c,p){var d=gn(),h=Bp(d,t,n,r,i,o,a,s,l,u);return h!==cr&&Dl(Vn(),e,h,d,c,p),Kp}function Zp(e,t,n,r,i,o,a,s,l,u,c,p,d,h){var f=gn(),m=Up(f,t,n,r,i,o,a,s,l,u,c,p);return m!==cr&&Dl(Vn(),e,m,f,d,h),Zp}function Qp(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m){var v=gn(),y=zp(v,t,n,r,i,o,a,s,l,u,c,p,d,h);return y!==cr&&Dl(Vn(),e,y,v,f,m),Qp}function Xp(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y){var g=Vn(),_=gn(),b=qp(_,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m);return b!==cr&&Dl(g,e,b,_,v,y),Xp}function $p(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y,g,_){var b=gn(),w=Hp(b,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y);return w!==cr&&Dl(Vn(),e,w,b,g,_),$p}function Jp(e,t,n,r){var i=gn(),o=jp(i,t);return o!==cr&&Dl(Vn(),e,o,i,n,r),Jp}function ed(e){ngDevMode&&Ge(e,"component");var t=Nl(la(e));ngDevMode&&Ge(t[Et],"rootContext should be defined"),function(t,e){var n,r=0===t.flags;t.flags|=e,r&&t.clean==Zs&&(t.clean=new Promise(function(e){return n=e}),t.scheduler(function(){if(1&t.flags&&(t.flags&=-2,jl(t)),2&t.flags){t.flags&=-3;var e=t.playerHandler;e&&e.flushPlayers()}t.clean=Zs,n(null)}))}(t[Et],1)}function td(e){var t=gn(),n=od(t,e,null,null);t[yt].firstTemplatePass&&(n.tViews=[]),In()}function nd(e,t,n,r,i,o,a,s){var l=gn(),u=l[yt],c=u.consts,p=od(l,e,i||null,null===c||null==o?null:c[o]);if(u.firstTemplatePass){ngDevMode&&ngDevMode.firstTemplatePass++,_l(u,l,p,a||null),ga(u,p);var d=p.tViews=ul(-1,t,n,r,u.directiveRegistry,u.pipeRegistry,null,u.schemas,c),h=dl(u,null,2,-1,null,null);h.injectorIndex=p.injectorIndex,d.node=h,null!==u.queries&&(u.queries.template(u,p),d.queries=u.queries.embeddedTView(p))}Gt(p)&&al(u,l,p),null!=a&&sl(l,p,s),In()}function rd(e){var t=gn(),n=t[yt],r=ri(n.data,e);if(ngDevMode&&ln(r,0),kn(r,!0),t[e+Nt][Ft]=0,!Pn())if(3==(3&t[gt])){var i=n.preOrderCheckHooks;null!==i&&_a(t,i,null)}else{var o=n.preOrderHooks;null!==o&&ba(t,o,0,null),wa(t,0)}}function id(){var e=On();Tn()?In():(ngDevMode&&ln(e,2),ngDevMode&&Xt(e),kn(e=e.parent,!1)),ngDevMode&&ln(e,0);for(var t=gn()[e.index],n=t[Ft];n<t.length-Ut;)iu(t,n)}function od(e,t,n,r){ngDevMode&&Ue(e[Ct],e[yt].bindingStartIndex,"container nodes should be created before any bindings");var i=t+Nt;ngDevMode&&Ze(e,t+Nt),ngDevMode&&ngDevMode.rendererCreateComment++;var o=e[i]=e[Dt].createComment(ngDevMode?"container":""),a=Js(e[yt],e[xt],t,0,n,r),s=e[i]=Pl(o,e,o,a);return fu(o,a,e),ua(ei(a,e),e),Rl(e,s),ngDevMode&&ln(On(),0),a}function ad(e,t){var n=gn(),r=n[yt],i=e+Nt;i>=r.data.length&&(r.data[i]=null,r.blueprint[i]=null),n[i]=t}function sd(e){return ri(hn.contextLView,e)}function ld(e,t){void 0===t&&(t=N.InjectFlags.Default),e=z(e);var n=gn();return null==n?we(e,t):Ci(On(),n,e,t)}function ud(e){return xi(On(),e)}function cd(e){Wn(e)}function pd(e,t,n){dd(Vn(),e,t,n)}function dd(e,t,n,r){var i=fd(e,gn()[Ct]++,t,function(e,t){if(e===cr)return e;var n=null;null!==e&&(n=t?nr(e)+t:e);return n}(n,r),!1);ngDevMode&&(ngDevMode.styleProp++,i&&ngDevMode.stylePropCacheMiss++)}function hd(e,t){var n=gn()[Ct]++,r=fd(Vn(),n,e,t,!0);ngDevMode&&(ngDevMode.classProp++,r&&ngDevMode.classPropCacheMiss++)}function fd(e,t,n,r,i){var o=!1,a=gn(),s=ni(e,a),l=ei(s,a),u=kd(),c=i?Ed(s):Sd(s),p=i?null:Gn();if(Pr(c,u)||wr(c,2),ngDevMode&&Pn()){var d=Ir(a,t);Rr(d,r)&&ma(!1,d,r)}if(br(c,u)){var h=i?null:p;o=function(e,t,n,r,i,o,a,s,l,u){var c=!1;if(Rr(r[i],a)){if(Tr(r,i,a),!(c=Ga(e,n,o,a,l,i,u))&&_r(t,4)){var p=Ra(n,dr);c=!!(d=s?p.lastDirectClassMap:p.lastDirectStyleMap)&&Ya(e,n,l,d,o,i,u)}var d;if(!c&&_r(t,16))c=!!(d=Fr(t))&&Ya(e,n,l,d,o,i);c||l(e,n,o,null,i)}return c}(wd(s,a),c,l,a,t,n,r,i,i?Qa:Za,h),h&&xn(bd)}else{var f=Cn();o=i?ja(c,a,l,f,n,t,r):Fa(c,a,l,f,n,t,r,p),xn(bd)}return o}function md(e){var t=Vn(),n=gn(),r=ni(t,n),i=Sd(r),o=n[Ct]++;!kd()&&Ur(r)&&e!==cr&&(_d(i,n,r,o,e,!1),e=cr);var a=gd(t,i,o,e,!1);ngDevMode&&(ngDevMode.styleMap++,a&&ngDevMode.styleMapCacheMiss++)}function vd(e){yd(Vn(),e)}function yd(e,t){var n=gn(),r=ni(e,n),i=Ed(r),o=n[Ct]++;!kd()&&Br(r)&&t!==cr&&(_d(i,n,r,o,t,!0),t=cr);var a=gd(e,i,o,t,!0);ngDevMode&&(ngDevMode.classMap++,a&&ngDevMode.classMapCacheMiss++)}function gd(e,t,n,r,i){var o=!1,a=gn(),s=Cn(),l=ni(e,a),u=ei(l,a),c=Ir(a,n),p=kd(),d=Gn(),h=Rr(c,r);ngDevMode&&h&&Pn()&&ma(!1,c,r),Pr(t,p)||wr(t,4);var f=r===cr?cr:Zr(c,r,!i);if(br(t,p)){var m=i?null:d;o=function(e,t,n,r,i,o,a,s,l,u){if(u||Rr(r[i],o)){Tr(r,i,o);for(var c=_r(t,16)?Fr(t):null,p=1;p<o.length;p+=2){var d=zr(o,p),h=Ga(e,n,d,Wr(o,p),s,i,l);!h&&c&&(h=Ya(e,n,s,c,d,i,l)),h||s(e,n,d,null,i)}var f=Ra(n,dr);return a?f.lastDirectClassMap=o:f.lastDirectStyleMap=o,!0}return!1}(wd(l,a),t,u,a,n,f,i,i?Qa:Za,m,h),m&&xn(bd)}else o=h,is(),i?ja(t,a,u,s,null,n,f,h):Fa(t,a,u,s,null,n,f,d,h),xn(bd);return o}function _d(e,t,n,r,i,o){if(t[r]!==i){if(i||Pr(e,!1)){var a=o?Qr(n.inputs):"style";Yl(t,n.inputs[a],function(e,t,n){var r=t;e.length&&(r=n?jr(e,function(e){return e&&"string"!=typeof e&&(e=Object.keys(e).join(" ")),e||""}(t)):jr(e,function(e){var t="";if(e)for(var n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];t=jr(t,i+":"+e[i],";")}return t}(t),";"));return r}(Vr(e),i,o)),xn(bd)}Tr(t,r,i)}}function bd(){var e=gn(),t=ni(Vn(),e),n=ei(t,e),r=Cn(),i=wd(t,e),o=Gn();qa(i,e,Lr(t.classes)?t.classes:null,Lr(t.styles)?t.styles:null,n,r,o),Wn(null)}function wd(e,t){return 3===e.type?t[Dt]:null}function xd(e,t,n){for(var r=!1,i=Fr(e.styles),o=Fr(e.classes),a=-1,s=n;s<t.length;s++){var l=t[s];if("number"==typeof l)a=l;else if(1==a)Kr(o=o||yr(null),l,!0),r=!0;else if(2==a){var u=t[++s];Kr(i=i||yr(null),l,u),r=!0}}return o&&1<o.length&&(e.classes||(e.classes=o),Cd(e.classes,Yr(o,!0))),i&&1<i.length&&(e.styles||(e.styles=i),Cd(e.styles,Yr(i,!1))),r&&(e.flags|=64),r}function Cd(e,t){Fr(e)[0]=t}function Sd(e){return Od(e,!1)}function Ed(e){return Od(e,!0)}function Od(e,t){var n=t?e.classes:e.styles;Lr(n)||(n=function(e,t){var n=0;return t&&(n|=1),1<(e=e||yr(null)).length&&(n|=16),[n,mr,e]}(n,Gt(e)),ngDevMode&&function(e,t){var n=new cs(e,t);rs(e,n)}(n,t),t?e.classes=n:e.styles=n);return n}function kd(){return Gr(Cn())}function Dd(e,t,n,r){var i=gn(),o=i[yt],a=o.consts,s=null===a||null==n?null:a[n];ngDevMode&&Ue(i[Ct],o.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&ngDevMode.rendererCreateElement++,ngDevMode&&Ze(i,e+Nt);var l=i[Dt],u=i[e+Nt]=Xs(t,l,hn.currentNamespace),c=Js(o,i[xt],e,3,t,s);if(null!=s){var p=Zn(l,u,s);o.firstTemplatePass&&xd(c,s,p)}64==(64&c.flags)&&Zl(l,u,c),fu(u,c,i),0===hn.elementDepthCount&&ua(u,i),hn.elementDepthCount++,o.firstTemplatePass&&(ngDevMode&&ngDevMode.firstTemplatePass++,_l(o,i,c,r||null),null!==o.queries&&o.queries.elementStart(o,c)),Gt(c)&&(al(o,i,c),ol(o,c,i)),null!=r&&sl(i,c)}function Td(){var e=On();ngDevMode&&Ge(e,"No parent node to close."),Tn()?In():(ngDevMode&&Xt(On()),kn(e=e.parent,!1));var t=e;ngDevMode&&ln(t,3);var n=gn(),r=n[yt];if(hn.elementDepthCount--,r.firstTemplatePass&&(ga(r,e),Ht(e)&&r.queries.elementEnd(e)),Br(t)){var i=Qr(t.inputs);Ad(t.classes,n,t.inputs[i])}Ur(t)&&Ad(t.styles,n,t.inputs.style)}function Id(e,t,n,r){Dd(e,t,n,r),Td()}function Pd(e){var t=Vn(),n=gn(),r=n[yt],i=ni(t,n);if(3===i.type){var o=ei(i,n),a=Zn(n[Dt],o,e);if(r.firstTemplatePass)if(xd(i,e,a))Zl(n[Dt],o,i)}}function Ad(e,t,n){Yl(t,n,e&&Vr(e)||null)}function Md(e,t,n){var r=gn(),i=r[yt],o=r[Dt],a="ng-container",s=i.consts,l=null===s||null==t?null:s[t];ngDevMode&&Ue(r[Ct],i.bindingStartIndex,"element containers should be created before any bindings"),ngDevMode&&ngDevMode.rendererCreateComment++,ngDevMode&&Ze(r,e+Nt);var u=r[e+Nt]=o.createComment(ngDevMode?a:"");ngDevMode&&Ze(r,e-1);var c=Js(i,r[xt],e,4,a,l);l&&i.firstTemplatePass&&xd(c,l,0),fu(u,c,r),ua(u,r),i.firstTemplatePass&&(ngDevMode&&ngDevMode.firstTemplatePass++,_l(i,r,c,n||null),i.queries&&i.queries.elementStart(i,c)),Gt(c)&&(al(i,r,c),ol(i,c,r)),null!=n&&sl(r,c)}function Rd(){var e=On(),t=gn()[yt];Tn()?In():(ngDevMode&&Xt(e),kn(e=e.parent,!1)),ngDevMode&&ln(e,4),t.firstTemplatePass&&(ga(t,e),Ht(e)&&t.queries.elementEnd(e))}function Nd(e,t,n){Md(e,t,n),Rd()}function jd(e,t,n){var r=gn(),i=On(),o=2===i.type?i.parent:i,a=r[o.index];ngDevMode&&ln(o,0);var s=function(e,t,n){for(var r=t+Ut;r<e.length;r++){var i=e[r][yt].id;if(i===n)return e[r];if(!(i<n))break;iu(e,r-Ut)}return null}(a,a[Ft],e);if(s)hn.isParent=!0,Fn(s,s[yt].node);else{s=$s(r,function(e,t,n,r){var i=gn()[yt];ngDevMode&&ln(r,0);var o=r.tViews;ngDevMode&&Ge(o,"TView expected"),ngDevMode&&Ue(Array.isArray(o),!0,"TViews should be in an array"),(e>=o.length||null==o[e])&&(o[e]=ul(e,null,t,n,i.directiveRegistry,i.pipeRegistry,null,null,i.consts));return o[e]}(e,t,n,o),null,16,null,null);var l=Tn()?i:i&&i.parent;el(s[yt],l,e,s),Fn(s,s[yt].node)}return a&&(si(s)&&tu(s,a,a[Ft]),a[Ft]++),si(s)?3:2}function Fd(){var e=gn(),t=e[yt],n=e[xt],r=e[Et];si(e)&&tl(e,t,r),nl(e,t,t.template,r);var i=e[_t];ngDevMode&&function(e){e&&Ue(qt(e),!0,"Expecting LContainer or undefined or null")}(i),Fn(i[_t],null),kn(n,!1)}function Ld(){return gn()}function Vd(e){return!!e&&"function"==typeof e.then}function Bd(e){return!!e&&"function"==typeof e.subscribe}function Ud(e,t,n,r){void 0===n&&(n=!1);var i=gn(),o=On();qd(i,i[Dt],o,e,t,n,r)}function zd(e,t,n,r){void 0===n&&(n=!1);var i=gn(),o=On();qd(i,Wl(o,i),o,e,t,n,r)}function qd(e,t,n,r,i,o,a){void 0===o&&(o=!1);var s=e[yt],l=Gt(n),u=s.firstTemplatePass&&(s.cleanup||(s.cleanup=[]));ngDevMode&&un(n,3,0,4);var c=!0;if(3===n.type){var p=ei(n,e),d=a?a(p):$e,h=d.target||p,f=(w=ql(e)).length,m=a?function(e){return a($r(e[n.index])).target}:n.index;if(Yn(t)){var v=null;if(!a&&l&&(v=function(e,t,n){var r=e[yt].cleanup;if(null!=r)for(var i=0;i<r.length-1;i+=2){var o=r[i];if(o===t&&r[i+1]===n){var a=e[St],s=r[i+2];return a.length>s?a[s]:null}"string"==typeof o&&(i+=2)}return null}(e,r,n.index)),null!==v){(v.__ngLastListenerFn__||v).__ngNextListenerFn__=i,v.__ngLastListenerFn__=i,c=!1}else{i=Wd(n,e,i,!1);var y=t.listen(d.name||h,r,i);ngDevMode&&ngDevMode.rendererAddEventListener++,w.push(i,y),u&&u.push(r,m,f,f+1)}}else i=Wd(n,e,i,!0),h.addEventListener(r,i,o),ngDevMode&&ngDevMode.rendererAddEventListener++,w.push(i),u&&u.push(r,m,f,o)}var g,_=n.outputs;if(c&&null!=_&&(g=_[r])){var b=g.length;if(b)for(var w=ql(e),x=0;x<b;x+=3){var C=g[x];ngDevMode&&Ze(e,C);var S=g[x+2],E=e[C],O=E[S];if(ngDevMode&&!Bd(O))throw new Error("@Output "+S+" not initialized in '"+E.constructor.name+"'.");var k=O.subscribe(i),D=w.length;w.push(i,k),u&&u.push(r,n.index,D,-(D+1))}}}function Hd(t,e,n){try{return!1!==e(n)}catch(e){return Gl(t,e),!1}}function Wd(o,a,s,l){return function e(t){if(t===Function)return s;var n=2&o.flags?ii(o.index,a):a;0==(32&a[gt])&&Nl(n);for(var r=Hd(a,s,t),i=e.__ngNextListenerFn__;i;)r=Hd(a,i,t)&&r,i=i.__ngNextListenerFn__;return l&&!1===r&&(t.preventDefault(),t.returnValue=!1),r}}function Gd(e){return void 0===e&&(e=1),Ln(e)}function Yd(e,t){for(var n=null,r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++){var o=t[i];if("*"!==o){if(null===r?Ta(e,o,!0):Ia(r,o))return i}else n=i}return n}function Kd(e){var t=pi(gn())[xt];if(!t.projection)for(var n=e?e.length:1,r=t.projection=Be(n,null),i=r.slice(),o=t.child;null!==o;){var a=e?Yd(o,e):0;null!==a&&(i[a]?i[a].projectionNext=o:r[a]=o,i[a]=o),o=o.next}}var Zd=!1;function Qd(e){Zd=e}function Xd(e,t,n){void 0===t&&(t=0);var r=gn(),i=Js(r[yt],r[xt],e,1,null,n||null);null===i.projection&&(i.projection=t),In(),Zd||_u(r,i)}function $d(e,t,n){var r=gn(),i=r[Ct]++;if(Pp(r,i,t)){var o=Vn();fl(r,o,e,t,n),ngDevMode&&Ul(r[yt].data,o,e,i)}return $d}function Jd(e,t,n){return eh(e,"",t,"",n),Jd}function eh(e,t,n,r,i){var o=gn(),a=Fp(o,t,n,r);return a!==cr&&(fl(o,Vn(),e,a,i),ngDevMode&&Ul(o[yt].data,Vn(),e,o[Ct]-1,t,r)),eh}function th(e,t,n,r,i,o,a){var s=gn(),l=Lp(s,t,n,r,i,o);if(l!==cr){var u=Vn();fl(s,u,e,l,a),ngDevMode&&Ul(s[yt].data,u,e,s[Ct]-2,t,r,o)}return th}function nh(e,t,n,r,i,o,a,s,l){var u=gn(),c=Vp(u,t,n,r,i,o,a,s);if(c!==cr){var p=Vn();fl(u,p,e,c,l),ngDevMode&&Ul(u[yt].data,p,e,u[Ct]-3,t,r,o,s)}return nh}function rh(e,t,n,r,i,o,a,s,l,u,c){var p=gn(),d=Bp(p,t,n,r,i,o,a,s,l,u);if(d!==cr){var h=Vn();fl(p,h,e,d,c),ngDevMode&&Ul(p[yt].data,h,e,p[Ct]-4,t,r,o,s,u)}return rh}function ih(e,t,n,r,i,o,a,s,l,u,c,p,d){var h=gn(),f=Up(h,t,n,r,i,o,a,s,l,u,c,p);if(f!==cr){var m=Vn();fl(h,m,e,f,d),ngDevMode&&Ul(h[yt].data,m,e,h[Ct]-5,t,r,o,s,u,p)}return ih}function oh(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f){var m=gn(),v=zp(m,t,n,r,i,o,a,s,l,u,c,p,d,h);if(v!==cr){var y=Vn();fl(m,y,e,v,f),ngDevMode&&Ul(m[yt].data,y,e,m[Ct]-6,t,r,o,s,u,p,h)}return oh}function ah(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v){var y=gn(),g=qp(y,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m);if(g!==cr){var _=Vn();fl(y,_,e,g,v),ngDevMode&&Ul(y[yt].data,_,e,y[Ct]-7,t,r,o,s,u,p,h,m)}return ah}function sh(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y,g){var _=gn(),b=Hp(_,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y);if(b!==cr){var w=Vn();fl(_,w,e,b,g),ngDevMode&&Ul(_[yt].data,w,e,_[Ct]-8,t,r,o,s,u,p,h,m,y)}return sh}function lh(e,t,n){var r=gn(),i=jp(r,t);if(i!==cr){var o=Vn();if(fl(r,o,e,i,n),ngDevMode){for(var a=[t[0]],s=2;s<t.length;s+=2)a.push(t[s]);Ul.apply(void 0,O([r[yt].data,o,e,r[Ct]-a.length+1],a))}}return lh}function uh(e,t){void 0===t&&(t="");var n=gn();ngDevMode&&Ue(n[Ct],n[yt].bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&Ze(n,e+Nt);var r=n[e+Nt]=Jl(t,n[Dt]),i=Js(n[yt],n[xt],e,3,null,null);In(),fu(r,i,n)}function ch(e){return ph("",e,""),ch}function ph(e,t,n){var r=gn(),i=Fp(r,e,t,n);return i!==cr&&Kl(r,Vn(),i),ph}function dh(e,t,n,r,i){var o=gn(),a=Lp(o,e,t,n,r,i);return a!==cr&&Kl(o,Vn(),a),dh}function hh(e,t,n,r,i,o,a){var s=gn(),l=Vp(s,e,t,n,r,i,o,a);return l!==cr&&Kl(s,Vn(),l),hh}function fh(e,t,n,r,i,o,a,s,l){var u=gn(),c=Bp(u,e,t,n,r,i,o,a,s,l);return c!==cr&&Kl(u,Vn(),c),fh}function mh(e,t,n,r,i,o,a,s,l,u,c){var p=gn(),d=Up(p,e,t,n,r,i,o,a,s,l,u,c);return d!==cr&&Kl(p,Vn(),d),mh}function vh(e,t,n,r,i,o,a,s,l,u,c,p,d){var h=gn(),f=zp(h,e,t,n,r,i,o,a,s,l,u,c,p,d);return f!==cr&&Kl(h,Vn(),f),vh}function yh(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f){var m=gn(),v=qp(m,e,t,n,r,i,o,a,s,l,u,c,p,d,h,f);return v!==cr&&Kl(m,Vn(),v),yh}function gh(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v){var y=gn(),g=Hp(y,e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v);return g!==cr&&Kl(y,Vn(),g),gh}function _h(e){var t=gn(),n=jp(t,e);return n!==cr&&Kl(t,Vn(),n),_h}function bh(e,t,n){var r=Fp(gn(),e,t,n);yd(Vn(),r)}function wh(e,t,n,r,i){var o=Lp(gn(),e,t,n,r,i);yd(Vn(),o)}function xh(e,t,n,r,i,o,a){var s=Vp(gn(),e,t,n,r,i,o,a);yd(Vn(),s)}function Ch(e,t,n,r,i,o,a,s,l){var u=Bp(gn(),e,t,n,r,i,o,a,s,l);yd(Vn(),u)}function Sh(e,t,n,r,i,o,a,s,l,u,c){var p=Up(gn(),e,t,n,r,i,o,a,s,l,u,c);yd(Vn(),p)}function Eh(e,t,n,r,i,o,a,s,l,u,c,p,d){var h=zp(gn(),e,t,n,r,i,o,a,s,l,u,c,p,d);yd(Vn(),h)}function Oh(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f){var m=qp(gn(),e,t,n,r,i,o,a,s,l,u,c,p,d,h,f);yd(Vn(),m)}function kh(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v){var y=Hp(gn(),e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v);yd(Vn(),y)}function Dh(e){var t=jp(gn(),e);yd(Vn(),t)}function Th(e,t,n,r,i){var o=Fp(gn(),t,n,r);return dd(Vn(),e,o,i),Th}function Ih(e,t,n,r,i,o,a){var s=Lp(gn(),t,n,r,i,o);return dd(Vn(),e,s,a),Ih}function Ph(e,t,n,r,i,o,a,s,l){var u=Vp(gn(),t,n,r,i,o,a,s);return dd(Vn(),e,u,l),Ph}function Ah(e,t,n,r,i,o,a,s,l,u,c){var p=Bp(gn(),t,n,r,i,o,a,s,l,u);return dd(Vn(),e,p,c),Ah}function Mh(e,t,n,r,i,o,a,s,l,u,c,p,d){var h=Up(gn(),t,n,r,i,o,a,s,l,u,c,p);return dd(Vn(),e,h,d),Mh}function Rh(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f){var m=zp(gn(),t,n,r,i,o,a,s,l,u,c,p,d,h);return dd(Vn(),e,m,f),Rh}function Nh(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v){var y=qp(gn(),t,n,r,i,o,a,s,l,u,c,p,d,h,f,m);return dd(Vn(),e,y,v),Nh}function jh(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y,g){var _=Hp(gn(),t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y);return dd(Vn(),e,_,g),jh}function Fh(e,t,n){var r=jp(gn(),t);return dd(Vn(),e,r,n),Fh}function Lh(e,t,n){var r=gn(),i=r[Ct]++;if(Pp(r,i,t)){var o=Vn();fl(r,o,e,t,n,!0),ngDevMode&&Ul(r[yt].data,o,e,i)}return Lh}function Vh(e,t,n){var r=gn(),i=r[Ct]++;if(Pp(r,i,t)){var o=Vn();fl(r,o,e,t,n,!0,Wl),ngDevMode&&Ul(r[yt].data,o,e,i)}return Vh}function Bh(e){if(!(e instanceof Node))throw new Error("Expecting instance of DOM Node");var t=Gh(e,!1);return null===t?null:(void 0===t.component&&(t.component=function(e,t){var n=t[yt].data[e],r=n.directiveStart;return 2&n.flags?t[r]:null}(t.nodeIndex,t.lView)),t.component)}function Uh(e){if(!(e instanceof Node))throw new Error("Expecting instance of DOM Node");var t=Gh(e,!1);return null===t?null:t.lView[Et]}function zh(e){var t=Gh(e,!1);if(null===t)return null;var n,r=t.lView;for(ngDevMode&&en(r);null===r[vt]&&(n=ui(r));)r=n;return 512&r[gt]?null:r[Et]}function qh(e){return O(di(e).components)}function Hh(e){var t=Gh(e,!1);if(null===t)return Cc.NULL;var n=t.lView[yt].data[t.nodeIndex];return new Ii(n,t.lView)}function Wh(e){var t=Gh(e);return void 0===t.directives&&(t.directives=ha(t.nodeIndex,t.lView,!1)),t.directives||[]}function Gh(e,t){void 0===t&&(t=!0);var n=aa(e);if(!n&&t)throw new Error(ngDevMode?"Unable to find context associated with "+rr(e):"Invalid ng target");return n}function Yh(e){var t=Gh(e,!1);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){var n=e[yt].data[t];if(n&&n.localNames){for(var r={},i=n.index+1,o=0;o<n.localNames.length;o+=2)r[n.localNames[o]]=e[i],i++;return r}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}function Kh(e){return aa(e).native}function Zh(e){return"boolean"==typeof e.useCapture}function Qh(e){if(!(e instanceof Node))throw new Error("Expecting instance of DOM Node");var t=Gh(e,!1);if(null===t)return[];var n=t.lView,r=n[yt],i=n[St],o=r.cleanup,a=[];if(o&&i)for(var s=0;s<o.length;){var l=o[s++],u=o[s++];if("string"==typeof l){var c=l,p=$r(n[u]),d=i[o[s++]],h=o[s++],f="boolean"==typeof h?h:!(0<=h)&&null;e==p&&a.push({element:e,name:c,callback:d,useCapture:f})}}return a.sort(Xh),a}function Xh(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function $h(e){var t=null,n=function(e){if(!(e instanceof Node))throw new Error("Expecting instance of DOM Node");return Gh(e)}(e),r=n.lView,i=n.nodeIndex;if(-1!==i){var o=r[i];t=Bs(zt(o)?o[xt]:ni(i-Nt,r),r,i)}return t}var Jh="ng",ef=!1;function tf(){ef||(ef=!0,nf("getComponent",Bh),nf("getContext",Uh),nf("getListeners",Qh),nf("getViewComponent",zh),nf("getHostElement",Kh),nf("getInjector",Hh),nf("getRootComponents",qh),nf("getDirectives",Wh),nf("getDebugNode",$h),nf("markDirty",ed))}function nf(e,t){if("undefined"==typeof COMPILED||!COMPILED){var n=Q;if(ngDevMode&&Ge(t,"function not defined"),n){var r=n[Jh];(r=r||(n[Jh]={}))[e]=t}}}function rf(e,t,n,r,i,o){hn.isParent=!1,hn.previousOrParentTNode=null,hn.elementDepthCount=0,hn.bindingsEnabled=!0,Wn(null);var a=n[yt];ngDevMode&&Ze(n,0+Nt),n[0+Nt]=e;var s=Js(a,null,0,3,null,null),l=$s(n,ll(t),null,t.onPush?64:16,n[Nt],s,r,i,o);return a.firstTemplatePass&&(wi(yi(s,n),a,t.type),Sl(a,s),Ol(s,n.length,1)),Rl(n,l),n[Nt]=l}function of(e,t,n,r,i){var o=n[yt],a=function(e,t,n){var r=On();e.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),wl(e,r,1),kl(e,t,n));var i=ki(e.data,t,t.length-1,r);return Cl(t,r,i),i}(o,n,t);r.components.push(a),e[Et]=a,i&&i.forEach(function(e){return e(a,t)}),t.contentQueries&&t.contentQueries(1,a,n.length-1);var s=On();if(o.firstTemplatePass&&t.hostBindings){bn(s.index-Nt),Sn();var l=o.expandoInstructions;bl(t,l,a,s,o.firstTemplatePass),bn(null)}return a}function af(e,t){return{components:[],scheduler:e||ir,clean:zl,playerHandler:t||null,flags:0}}function sf(e,t){var n=ai(e)[yt],r=n.data.length-1;ya(r,t,n,-1,-1,-1),ga(n,{directiveStart:r,directiveEnd:1+r})}var lf=(uf.prototype.isFirstChange=function(){return this.firstChange},uf);function uf(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}function cf(){return pf.ngInherit=!0,pf}function pf(e){e.type.prototype.ngOnChanges&&(e.setInput=df,e.onChanges=function(){var e=ff(this),t=e&&e.current;if(t){var n=e.previous;if(n===$e)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}})}function df(e,t,n,r){var i=ff(e)||function(e,t){return e[hf]=t}(e,{previous:$e,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],l=a[s];o[s]=new lf(l&&l.currentValue,t,a===$e),e[r]=t}var hf="__ngSimpleChanges__";function ff(e){return e[hf]||null}function mf(e){for(var t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type);t;){var n=void 0;if(Yt(e))n=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Error("Directives cannot inherit Components");n=t.ɵdir}var r=t.ngBaseDef;if(r||n){var i=e;i.inputs=vf(e.inputs),i.declaredInputs=vf(e.declaredInputs),i.outputs=vf(e.outputs)}if(r){var o=r.viewQuery,a=r.contentQueries,s=r.hostBindings;s&&_f(e,s),o&&yf(e,o),a&&gf(e,a),k(e.inputs,r.inputs),k(e.declaredInputs,r.declaredInputs),k(e.outputs,r.outputs)}if(n){var l=n.hostBindings;l&&_f(e,l);var u=n.viewQuery,c=n.contentQueries;u&&yf(e,u),c&&gf(e,c),k(e.inputs,n.inputs),k(e.declaredInputs,n.declaredInputs),k(e.outputs,n.outputs),e.afterContentChecked=e.afterContentChecked||n.afterContentChecked,e.afterContentInit=e.afterContentInit||n.afterContentInit,e.afterViewChecked=e.afterViewChecked||n.afterViewChecked,e.afterViewInit=e.afterViewInit||n.afterViewInit,e.doCheck=e.doCheck||n.doCheck,e.onDestroy=e.onDestroy||n.onDestroy,e.onInit=e.onInit||n.onInit;var p=n.features;if(p)for(var d=0;d<p.length;d++){var h=p[d];h&&h.ngInherit&&h(e)}}else{var f=t.prototype;f&&(e.afterContentChecked=e.afterContentChecked||f.ngAfterContentChecked,e.afterContentInit=e.afterContentInit||f.ngAfterContentInit,e.afterViewChecked=e.afterViewChecked||f.ngAfterViewChecked,e.afterViewInit=e.afterViewInit||f.ngAfterViewInit,e.doCheck=e.doCheck||f.ngDoCheck,e.onDestroy=e.onDestroy||f.ngOnDestroy,e.onInit=e.onInit||f.ngOnInit,f.ngOnChanges&&cf()(e))}t=Object.getPrototypeOf(t)}}function vf(e){return e===$e?{}:e===Je?[]:e}function yf(e,n){var r=e.viewQuery;e.viewQuery=r?function(e,t){n(e,t),r(e,t)}:n}function gf(e,r){var i=e.contentQueries;e.contentQueries=i?function(e,t,n){r(e,t,n),i(e,t,n)}:r}function _f(e,r){var i=e.hostBindings;r!==i&&(e.hostBindings=i?function(e,t,n){r(e,t,n),i(e,t,n)}:r)}function bf(e,t,n,r,i){if(e=z(e),Array.isArray(e))for(var o=0;o<e.length;o++)bf(e[o],t,n,r,i);else{var a=gn(),s=a[yt],l=wc(e)?e:z(e.provide),u=gc(e),c=On(),p=65535&c.providerIndexes,d=c.directiveStart,h=c.providerIndexes>>16;if(function(e){return!!e.useClass}(e)||wc(e)){var f=(e.useClass||e).prototype.ngOnDestroy;f&&(s.destroyHooks||(s.destroyHooks=[])).push(t.length,f)}if(wc(e)||!e.multi){var m=new sn(u,i,ld),v=xf(l,t,i?p:p+h,d);-1==v?(wi(yi(c,a),s,l),t.push(l),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(m),a.push(m)):(n[v]=m,a[v]=m)}else{var y=xf(l,t,p+h,d),g=xf(l,t,p,p+h),_=0<=y&&n[y],b=0<=g&&n[g];if(i&&!b||!i&&!_){wi(yi(c,a),s,l);m=function(e,t,n,r,i){var o=new sn(e,n,ld);return o.multi=[],o.index=t,o.componentProviders=0,wf(o,i,r&&!n),o}(i?Sf:Cf,n.length,i,r,u);!i&&b&&(n[g].providerFactory=m),t.push(l),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(m),a.push(m)}else wf(n[i?g:y],u,!i&&r);!i&&r&&b&&n[g].componentProviders++}}}function wf(e,t,n){e.multi.push(t),n&&e.componentProviders++}function xf(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function Cf(e,t,n,r){return Ef(this.multi,[])}function Sf(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=ki(t,n,this.providerFactory.index,r);Ef(o,i=s.slice(0,a));for(var l=a;l<s.length;l++)i.push(s[l])}else Ef(o,i=[]);return i}function Ef(e,t){for(var n=0;n<e.length;n++){var r=e[n];t.push(r())}return t}function Of(n,r){return void 0===r&&(r=[]),function(e){e.providersResolver=function(e,t){return function(e,t,n){var r=gn()[yt];if(r.firstTemplatePass){var i=Yt(e);bf(n,r.data,r.blueprint,i,!0),bf(t,r.data,r.blueprint,i,!1)}}(e,t?t(n):n,r)}}}function kf(){}function Df(){}function Tf(e){var t=Error("No component factory found for "+V(e)+". Did you add it to @NgModule.entryComponents?");return t[If]=e,t}var If="ngComponent";var Pf=(Af.prototype.resolveComponentFactory=function(e){throw Tf(e)},Af);function Af(){}var Mf=(Rf.NULL=new Pf,Rf);function Rf(){}var Nf=(jf.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Tf(e);return new Lf(t,this._ngModule)},jf);function jf(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var i=e[r];this._factories.set(i.componentType,i)}}var Ff,Lf=(p(Vf,Ff=Df),Vf.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},Vf);function Vf(e,t){var n=Ff.call(this)||this;return n.factory=e,n.ngModule=t,n.selector=e.selector,n.componentType=e.componentType,n.ngContentSelectors=e.ngContentSelectors,n.inputs=e.inputs,n.outputs=e.outputs,n}function Bf(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var Uf=(zf.__NG_ELEMENT_ID__=function(){return Wf(zf)},zf);function zf(e){this.nativeElement=e}function qf(e){return Tu(e,On(),gn())}var Hf,Wf=Bf,Gf=(new ae("Renderer2Interceptor"),function(){});(Hf=N.RendererStyleFlags2||(N.RendererStyleFlags2={}))[Hf.Important=1]="Important",Hf[Hf.DashCase=2]="DashCase";var Yf=(Kf.__NG_ELEMENT_ID__=function(){return Qf()},Kf);function Kf(){}function Zf(){var e=gn(),t=ii(On().index,e);return function(e){var t=e[Dt];if(Yn(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(zt(t)?t:e)}var Qf=Bf,Xf=($f.ɵprov=D({token:$f,providedIn:"root",factory:function(){return null}}),$f);function $f(){}var Jf=function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},em=new Jf("9.0.0-next.12"),tm=(nm.prototype.supports=function(e){return kp(e)},nm.prototype.create=function(e){return new im(e)},nm);function nm(){}function rm(e,t){return t}var im=(om.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},om.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<pm(n,r,i)?t:n,a=pm(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i=i||[];var l=a-r,u=s-r;if(l!=u){for(var c=0;c<l;c++){var p=c<i.length?i[c]:i[c]=0,d=p+c;u<=d&&d<l&&(i[c]=p+1)}i[o.previousIndex]=u-l}}a!==s&&e(o,a,s)}},om.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},om.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},om.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},om.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},om.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},om.prototype.diff=function(e){if(null==e&&(e=[]),!kp(e))throw new Error("Error trying to diff '"+V(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},om.prototype.onDestroy=function(){},om.prototype.check=function(e){var t=this;this._reset();var n,r,i,o=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=e[s],i=this._trackByFn(s,r),null!==o&&Cp(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),Cp(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,s),a=!0),o=o._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[xp()](),i=void 0;!(i=r.next()).done;)t(i.value)}(e,function(e){i=t._trackByFn(n,e),null!==o&&Cp(o.trackById,i)?(a&&(o=t._verifyReinsertion(o,e,i,n)),Cp(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),a=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=e,this.isDirty},Object.defineProperty(om.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),om.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},om.prototype._mismatch=function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Cp(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Cp(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new am(t,n),i,r),e},om.prototype._verifyReinsertion=function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},om.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},om.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},om.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},om.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e},om.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new um),this._linkedRecords.put(e),e.currentIndex=n,e},om.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},om.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},om.prototype._addToMoves=function(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e},om.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new um),this._unlinkedRecords.put(e),e.currentIndex=null,(e._nextRemoved=null)===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},om.prototype._addIdentityChange=function(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e},om);function om(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||rm}var am=function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},sm=(lm.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):((this._tail._nextDup=e)._prevDup=this._tail,e._nextDup=null,this._tail=e)},lm.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Cp(n.trackById,e))return n;return null},lm.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},lm);function lm(){this._head=null,this._tail=null}var um=(cm.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new sm,this.map.set(t,n)),n.add(e)},cm.prototype.get=function(e,t){var n=e,r=this.map.get(n);return r?r.get(e,t):null},cm.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(cm.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),cm.prototype.clear=function(){this.map.clear()},cm);function cm(){this.map=new Map}function pm(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}var dm=(hm.prototype.supports=function(e){return e instanceof Map||Dp(e)},hm.prototype.create=function(){return new fm},hm);function hm(){}var fm=(Object.defineProperty(mm.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),mm.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},mm.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},mm.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},mm.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},mm.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},mm.prototype.diff=function(e){if(e){if(!(e instanceof Map||Dp(e)))throw new Error("Error trying to diff '"+V(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},mm.prototype.onDestroy=function(){},mm.prototype.check=function(e){var r=this;this._reset();var i=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,t){if(i&&i.key===t)r._maybeAddToChanges(i,e),i=(r._appendAfter=i)._next;else{var n=r._getOrCreateRecordForKey(t,e);i=r._insertBeforeOrAppend(i,n)}}),i){i._prev&&(i._prev._next=null);for(var t=this._removalsHead=i;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},mm.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e}return this._appendAfter?(this._appendAfter._next=t)._prev=this._appendAfter:this._mapHead=t,this._appendAfter=t,null},mm.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new vm(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o},mm.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},mm.prototype._maybeAddToChanges=function(e,t){Cp(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},mm.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},mm.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},mm.prototype._forEach=function(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(function(e){return n(t[e],e)})},mm);function mm(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}var vm=function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},ym=(gm.create=function(e,t){if(null!=t){var n=t.factories.slice();e=e.concat(n)}return new gm(e)},gm.extend=function(t){return{provide:gm,useFactory:function(e){if(!e)throw new Error("Cannot extend IterableDiffers without a parent injector");return gm.create(t,e)},deps:[[gm,new x,new b]]}},gm.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(null!=e)return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+function(e){return e.name||typeof e}(t)+"'")},gm.ɵprov=D({token:gm,providedIn:"root",factory:function(){return new gm([new tm])}}),gm);function gm(e){this.factories=e}var _m=(bm.create=function(e,t){if(t){var n=t.factories.slice();e=e.concat(n)}return new bm(e)},bm.extend=function(t){return{provide:bm,useFactory:function(e){if(!e)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return bm.create(t,e)},deps:[[bm,new x,new b]]}},bm.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},bm.ɵprov=D({token:bm,providedIn:"root",factory:function(){return new bm([new dm])}}),bm);function bm(e){this.factories=e}var wm=[new dm],xm=new ym([new tm]),Cm=new _m(wm),Sm=(Em.__NG_ELEMENT_ID__=function(){return km(Em,Uf)},Em);function Em(){}function Om(e,t){return Iu(e,t,On(),gn())}var km=Bf,Dm=(Tm.__NG_ELEMENT_ID__=function(){return Pm(Tm,Uf)},Tm);function Tm(){}function Im(e,t){return Pu(e,t,On(),gn())}var Pm=Bf;function Am(e,t,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return Mm(n,t),n}(i,e)}function Mm(e,t){e[Ri]=t,e[ji]=t.logError.bind(t)}function Rm(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function Nm(e,t,n){var r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function jm(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Fm(e,t){return e.nodes[t]}function Lm(e,t){return e.nodes[t]}function Vm(e,t){return e.nodes[t]}function Bm(e,t){return e.nodes[t]}function Um(e,t){return e.nodes[t]}function zm(){}var qm={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Hm=function(){},Wm=new Map;function Gm(e){var t=Wm.get(e);return t||(t=V(e)+"_"+Wm.size,Wm.set(e,t)),t}var Ym="$$undefined",Km="$$empty";var Zm=0;function Qm(e,t,n,r){var i=e.oldValues;return!(!(2&e.state)&&Cp(i[t.bindingIndex+n],r))}function Xm(e,t,n,r){return!!Qm(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function $m(e,t,n,r){var i=e.oldValues[t.bindingIndex+n];if(1&e.state||!Sp(i,r)){var o=t.bindings[n].name;throw Am(qm.createDebugContext(e,t.nodeIndex),o+": "+i,o+": "+r,0!=(1&e.state))}}function Jm(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function ev(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function tv(t,e,n,r){try{return Jm(33554432&t.def.nodes[e].flags?Lm(t,e).componentView:t),qm.handleEvent(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}function nv(e){return e.parent?Lm(e.parent,e.parentNodeDef.nodeIndex):null}function rv(e){return e.parent?e.parentNodeDef.parent:null}function iv(e,t){switch(201347067&t.flags){case 1:return Lm(e,t.nodeIndex).renderElement;case 2:return Fm(e,t.nodeIndex).renderText}}function ov(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function av(e){return 1<<e%32}function sv(e){var i={},o=0,a={};return e&&e.forEach(function(e){var t=j(e,2),n=t[0],r=t[1];"number"==typeof n?(i[n]=r,o|=av(n)):a[n]=r}),{matchedQueries:i,references:a,matchedQueryIds:o}}function lv(e,i){return e.map(function(e){var t,n,r;return(n=Array.isArray(e)?(r=(t=j(e,2))[0],t[1]):(r=0,e))&&("function"==typeof n||"object"==typeof n)&&i&&Object.defineProperty(n,me,{value:i,configurable:!0}),{flags:r,token:n,tokenKey:Gm(n)}})}function uv(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===N.ViewEncapsulation.Native?Lm(e,n.renderParent.nodeIndex).renderElement:void 0:t}var cv=new WeakMap;function pv(e){var t=cv.get(e);return t||((t=e(function(){return Hm})).factory=e,cv.set(e,t)),t}function dv(e,t,n,r,i){3===t&&(n=e.renderer.parentNode(iv(e,e.def.lastRenderRootNode))),hv(e,t,0,e.def.nodes.length-1,n,r,i)}function hv(e,t,n,r,i,o,a){for(var s=n;s<=r;s++){var l=e.def.nodes[s];11&l.flags&&mv(e,l,t,i,o,a),s+=l.childCount}}function fv(e,t,n,r,i,o){for(var a=e;a&&!ov(a);)a=a.parent;for(var s=a.parent,l=rv(a),u=l.nodeIndex+1,c=l.nodeIndex+l.childCount,p=u;p<=c;p++){var d=s.def.nodes[p];d.ngContentIndex===t&&mv(s,d,n,r,i,o),p+=d.childCount}if(!s.parent){var h=e.root.projectableNodes[t];if(h)for(p=0;p<h.length;p++)vv(e,h[p],n,r,i,o)}}function mv(e,t,n,r,i,o){if(8&t.flags)fv(e,t.ngContent.index,n,r,i,o);else{var a=iv(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags){if(16&t.bindingFlags&&vv(e,a,n,r,i,o),32&t.bindingFlags)vv(Lm(e,t.nodeIndex).componentView,a,n,r,i,o)}else vv(e,a,n,r,i,o);if(16777216&t.flags)for(var s=Lm(e,t.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)dv(s[l],n,r,i,o);1&t.flags&&!t.element.name&&hv(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,o)}}function vv(e,t,n,r,i,o){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,i);break;case 3:a.removeChild(r,t);break;case 0:o.push(t)}}var yv=/^:([^:]+):(.+)$/;function gv(e){if(":"!==e[0])return["",e];var t=e.match(yv);return[t[1],t[2]]}function _v(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function bv(e){return null!=e?e.toString():""}var wv=new Object,xv=Gm(Cc),Cv=Gm(ue),Sv=Gm(Re);function Ev(e,t,n){void 0===n&&(n=Cc.THROW_IF_NOT_FOUND);var r=ge(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var i=t.tokenKey;switch(i){case xv:case Cv:case Sv:return e}var o=e._def.providersByKey[i],a=void 0;if(o){var s=e._providers[o.index];return void 0===s&&(s=e._providers[o.index]=Ov(e,o)),s===wv?void 0:s}if((a=P(t.token))&&function(e,t){var n=t.providedIn;return null!=n&&("any"===n||n===e._def.scope||function(e,t){return-1<e._def.modules.indexOf(t)}(e,n))}(e,a)){var l=e._providers.length;return e._def.providers[l]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:l,token:t.token},e._providers[l]=wv,e._providers[l]=Ov(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{ge(r)}}function Ov(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(Ev(e,n[0]));case 2:return new t(Ev(e,n[0]),Ev(e,n[1]));case 3:return new t(Ev(e,n[0]),Ev(e,n[1]),Ev(e,n[2]));default:for(var i=[],o=0;o<r;o++)i[o]=Ev(e,n[o]);return new(t.bind.apply(t,O([void 0],i)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(Ev(e,n[0]));case 2:return t(Ev(e,n[0]),Ev(e,n[1]));case 3:return t(Ev(e,n[0]),Ev(e,n[1]),Ev(e,n[2]));default:for(var i=[],o=0;o<r;o++)i[o]=Ev(e,n[o]);return t.apply(void 0,O(i))}}(e,t.value,t.deps);break;case 2048:n=Ev(e,t.deps[0]);break;case 256:n=t.value}return n===wv||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?wv:n}function kv(e,t,n,r){var i=t.viewContainer._embeddedViews;null==n&&(n=i.length),r.viewContainerParent=e,Le(i,n,r),function(e,t){var n=nv(t);if(!n||n===e||16&t.state)return;t.state|=16;var r=n.template._projectedViews;r=r||(n.template._projectedViews=[]);r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;var n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),qm.dirtyParentQueries(r),Tv(t,0<n?i[n-1]:null,r)}function Dv(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Ve(n,t),qm.dirtyParentQueries(r),Iv(r),r}function Tv(e,t,n){var r=t?iv(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);dv(n,2,i,o,void 0)}function Iv(e){dv(e,3,null,null,void 0)}var Pv=new Object;function Av(e){return e.viewDefFactory}var Mv,Rv=(p(Nv,Mv=Df),Object.defineProperty(Nv.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t){var r=t[n];e.push({propName:n,templateName:r})}return e},enumerable:!0,configurable:!0}),Object.defineProperty(Nv.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs){var n=this._outputs[t];e.push({propName:t,templateName:n})}return e},enumerable:!0,configurable:!0}),Nv.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var i=pv(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=qm.createRootView(e,t||[],n,i,r,Pv),s=Vm(a,o).instance;return n&&a.renderer.setAttribute(Lm(a,0).renderElement,"ng-version",em.full),new Fv(a,new Uv(a),s)},Nv);function Nv(e,t,n,r,i,o){var a=Mv.call(this)||this;return a.selector=e,a.componentType=t,a._inputs=r,a._outputs=i,a.ngContentSelectors=o,a.viewDefFactory=n,a}var jv,Fv=(p(Lv,jv=kf),Object.defineProperty(Lv.prototype,"location",{get:function(){return new Uf(Lm(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(Lv.prototype,"injector",{get:function(){return new Yv(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(Lv.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),Lv.prototype.destroy=function(){this._viewRef.destroy()},Lv.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},Lv);function Lv(e,t,n){var r=jv.call(this)||this;return r._view=e,r._viewRef=t,r._component=n,r._elDef=r._view.def.nodes[0],r.hostView=t,r.changeDetectorRef=t,r.instance=n,r}var Vv=(Object.defineProperty(Bv.prototype,"element",{get:function(){return new Uf(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(Bv.prototype,"injector",{get:function(){return new Yv(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(Bv.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=rv(e),e=e.parent;return e?new Yv(e,t):new Yv(this._view,null)},enumerable:!0,configurable:!0}),Bv.prototype.clear=function(){for(var e=this._embeddedViews.length-1;0<=e;e--){var t=Dv(this._data,e);qm.destroyView(t)}},Bv.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Uv(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(Bv.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),Bv.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},Bv.prototype.createComponent=function(e,t,n,r,i){var o=n||this.parentInjector;i||e instanceof Lf||(i=o.get(Re));var a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a},Bv.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e,r=n._view;return kv(this._view,this._data,t,r),n.attachToViewContainerRef(this),e},Bv.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(e._view);return function(e,t,n){var r=e.viewContainer._embeddedViews,i=r[t];Ve(r,t),null==n&&(n=r.length),Le(r,n,i),qm.dirtyParentQueries(i),Iv(i),Tv(e,0<n?r[n-1]:null,i)}(this._data,n,t),e},Bv.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},Bv.prototype.remove=function(e){var t=Dv(this._data,e);t&&qm.destroyView(t)},Bv.prototype.detach=function(e){var t=Dv(this._data,e);return t?new Uv(t):null},Bv);function Bv(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}var Uv=(Object.defineProperty(zv.prototype,"rootNodes",{get:function(){return function(e){var t=[];return dv(e,0,void 0,void 0,t),t}(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(zv.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(zv.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),zv.prototype.markForCheck=function(){Jm(this._view)},zv.prototype.detach=function(){this._view.state&=-5},zv.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{qm.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},zv.prototype.checkNoChanges=function(){qm.checkNoChangesView(this._view)},zv.prototype.reattach=function(){this._view.state|=4},zv.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},zv.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),qm.destroyView(this._view)},zv.prototype.detachFromAppRef=function(){this._appRef=null,Iv(this._view),qm.dirtyParentQueries(this._view)},zv.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},zv.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},zv);function zv(e){this._view=e,this._viewContainerRef=null,this._appRef=null}var qv,Hv=(p(Wv,qv=Sm),Wv.prototype.createEmbeddedView=function(e){return new Uv(qm.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(Wv.prototype,"elementRef",{get:function(){return new Uf(Lm(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Wv);function Wv(e,t){var n=qv.call(this)||this;return n._parentView=e,n._def=t,n}function Gv(e,t){return new Yv(e,t)}var Yv=(Kv.prototype.get=function(e,t){void 0===t&&(t=Cc.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return qm.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:Gm(e)},t)},Kv);function Kv(e,t){this.view=e,this.elDef=t}function Zv(e,t,n,r){return new Qv(e,t,n,r)}var Qv=(Xv.prototype.get=function(e,t,n){void 0===t&&(t=Cc.THROW_IF_NOT_FOUND),void 0===n&&(n=N.InjectFlags.Default);var r=0;return n&N.InjectFlags.SkipSelf?r|=1:n&N.InjectFlags.Self&&(r|=4),Ev(this,{token:e,tokenKey:Gm(e),flags:r},t)},Object.defineProperty(Xv.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(Xv.prototype,"componentFactoryResolver",{get:function(){return this.get(Mf)},enumerable:!0,configurable:!0}),Xv.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+V(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e){for(var t=e._def,n=new Set,r=0;r<t.providers.length;r++)if(131072&t.providers[r].flags){var i=e._providers[r];if(i&&i!==wv){var o=i.ngOnDestroy;"function"!=typeof o||n.has(i)||(o.apply(i),n.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},Xv.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Xv);function Xv(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,function(e){for(var t=e._def,n=e._providers=Be(t.providers.length),r=0;r<t.providers.length;r++){var i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=Ov(e,i))}}(this.injector=this)}var $v=Gm(Yf),Jv=Gm(Uf),ey=Gm(Dm),ty=Gm(Sm),ny=Gm(Mu),ry=Gm(Cc),iy=Gm(ue);function oy(e,t,n,r,i,o,a,s,l){var u=sv(n),c=u.matchedQueries,p=u.references,d=u.matchedQueryIds;l=l||[],s=s||[],o=z(o);var h=lv(a,V(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:p,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:_v(s),outputs:l,element:null,provider:{token:i,value:o,deps:h},text:null,query:null,ngContent:null}}function ay(e,t){for(var n=e;n.parent&&!ov(n);)n=n.parent;return cy(n.parent,rv(n),!0,t.provider.value,t.provider.deps)}function sy(e,t){var n=0<(32768&t.flags),r=cy(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(var i=0;i<t.outputs.length;i++){var o=t.outputs[i],a=r[o.propName];if(!Bd(a))throw new Error("@Output "+o.propName+" not initialized in '"+r.constructor.name+"'.");var s=a.subscribe(ly(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+i]=s.unsubscribe.bind(s)}return r}function ly(t,n,r){return function(e){return tv(t,n,r,e)}}function uy(e,t){var n=0<(8192&t.flags),r=t.provider;switch(201347067&t.flags){case 512:return cy(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(dy(e,t,n,i[0]));case 2:return r(dy(e,t,n,i[0]),dy(e,t,n,i[1]));case 3:return r(dy(e,t,n,i[0]),dy(e,t,n,i[1]),dy(e,t,n,i[2]));default:for(var a=[],s=0;s<o;s++)a.push(dy(e,t,n,i[s]));return r.apply(void 0,O(a))}}(e,t.parent,n,r.value,r.deps);case 2048:return dy(e,t.parent,n,r.deps[0]);case 256:return r.value}}function cy(e,t,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(dy(e,t,n,i[0]));case 2:return new r(dy(e,t,n,i[0]),dy(e,t,n,i[1]));case 3:return new r(dy(e,t,n,i[0]),dy(e,t,n,i[1]),dy(e,t,n,i[2]));default:for(var a=[],s=0;s<o;s++)a.push(dy(e,t,n,i[s]));return new(r.bind.apply(r,O([void 0],a)))}}var py={};function dy(e,t,n,r,i){if(void 0===i&&(i=Cc.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var o=e;2&r.flags&&(i=null);var a=r.tokenKey;a===ny&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(a){case $v:return hy(s,t,n).renderer;case Jv:return new Uf(Lm(s,t.nodeIndex).renderElement);case ey:return Lm(s,t.nodeIndex).viewContainer;case ty:if(t.element.template)return Lm(s,t.nodeIndex).template;break;case ny:var l=hy(s,t,n);return new Uv(l);case ry:case iy:return Gv(s,t);default:var u=(n?t.element.allProviders:t.element.publicProviders)[a];if(u){var c=Vm(s,u.nodeIndex);return c||(c={instance:uy(s,u)},s.nodes[u.nodeIndex]=c),c.instance}}n=ov(s),t=rv(s),s=s.parent,4&r.flags&&(s=null)}var p=o.root.injector.get(r.token,py);return p!==py||i===py?p:o.root.ngModule.injector.get(r.token,i)}function hy(e,t,n){var r;if(n)r=Lm(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!ov(r);)r=r.parent;return r}function fy(e,t,n,r,i,o){if(32768&n.flags){var a=Lm(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}var s=n.bindings[r].name;if(t.instance[s]=i,524288&n.flags){o=o||{};var l=Ep.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new lf(l,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,o}function my(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,i=0;i<n.length;i++){var o=n[i],a=o.parent;for(!a&&o.flags&t&&yy(e,i,o.flags&t,r++),0==(o.childFlags&t)&&(i+=o.childCount);a&&1&a.flags&&i===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=vy(e,a,t,r)),a=a.parent}}function vy(e,t,n,r){for(var i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){var o=e.def.nodes[i];o.flags&n&&yy(e,i,o.flags&n,r++),i+=o.childCount}return r}function yy(e,t,n,r){var i=Vm(e,t);if(i){var o=i.instance;o&&(qm.setCurrentNode(e,t),1048576&n&&jm(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&jm(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}var gy,_y=(p(by,gy=Mf),by.prototype.resolveComponentFactory=function(e){ngDevMode&&Qt(e);var t=pt(e);return new Sy(t,this.ngModule)},by);function by(e){var t=gy.call(this)||this;return t.ngModule=e,t}function wy(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t.push({propName:r,templateName:n})}return t}var xy=new ae("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return ir}});var Cy,Sy=(p(Ey,Cy=Df),Object.defineProperty(Ey.prototype,"inputs",{get:function(){return wy(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(Ey.prototype,"outputs",{get:function(){return wy(this.componentDef.outputs)},enumerable:!0,configurable:!0}),Ey.prototype.create=function(e,t,n,r){var i=(r=r||this.ngModule)?function(i,o){return{get:function(e,t,n){var r=i.get(e,py,n);return r!==py||t===py?r:o.get(e,t,n)}}}(e,r.injector):e,o=i.get(Gf,Kn),a=i.get(Xf,null);Hn();var s=n?pl(o,n):Xs(this.selector,o.createRenderer(null,this.componentDef),null),l=this.componentDef.onPush?576:528,u="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),c=af(),p=o.createRenderer(s,this.componentDef);n&&s&&(ngDevMode&&ngDevMode.rendererSetAttribute++,Yn(p)?p.setAttribute(s,"ng-version",em.full):s.setAttribute("ng-version",em.full));var d,h,f=ul(-1,null,1,0,null,null,null,null,null),m=$s(null,f,c,l,null,null,o,p,a,i),v=Fn(m,null);try{var y=rf(s,this.componentDef,m,o,p);h=ni(0,m),t&&(h.projection=t.map(function(e){return Array.from(e)})),d=of(y,this.componentDef,m,c,[sf]),tl(m,f,null)}finally{Fn(v,null)}var g=new ky(this.componentType,d,Tu(Uf,h,m),m,h);return n&&!u||(g.hostView._tViewNode.child=h),g},Ey);function Ey(e,t){var n=Cy.call(this)||this;return n.componentDef=e,n.ngModule=t,n.componentType=e.type,n.selector=e.selectors[0][0]||"div",n.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],n.isBoundToModule=!!t,n}new _y;var Oy,ky=(p(Dy,Oy=kf),Object.defineProperty(Dy.prototype,"injector",{get:function(){return new Ii(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),Dy.prototype.destroy=function(){this.destroyCbs&&(this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null,this.hostView.destroyed||this.hostView.destroy())},Dy.prototype.onDestroy=function(e){this.destroyCbs&&this.destroyCbs.push(e)},Dy);function Dy(e,t,n,r,i){var o=Oy.call(this)||this;return o.location=n,o._rootLView=r,o._tNode=i,o.destroyCbs=[],o.instance=t,o.hostView=o.changeDetectorRef=new ku(r),o.hostView._tViewNode=el(r[yt],null,-1,r),o.componentType=e,o}"undefined"==typeof ngI18nClosureMode&&(Q.ngI18nClosureMode="undefined"!=typeof goog&&"function"==typeof goog.getMsg);var Ty,Iy={};(Ty=N.ɵLocaleDataIndex||(N.ɵLocaleDataIndex={}))[Ty.LocaleId=0]="LocaleId",Ty[Ty.DayPeriodsFormat=1]="DayPeriodsFormat",Ty[Ty.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ty[Ty.DaysFormat=3]="DaysFormat",Ty[Ty.DaysStandalone=4]="DaysStandalone",Ty[Ty.MonthsFormat=5]="MonthsFormat",Ty[Ty.MonthsStandalone=6]="MonthsStandalone",Ty[Ty.Eras=7]="Eras",Ty[Ty.FirstDayOfWeek=8]="FirstDayOfWeek",Ty[Ty.WeekendRange=9]="WeekendRange",Ty[Ty.DateFormat=10]="DateFormat",Ty[Ty.TimeFormat=11]="TimeFormat",Ty[Ty.DateTimeFormat=12]="DateTimeFormat",Ty[Ty.NumberSymbols=13]="NumberSymbols",Ty[Ty.NumberFormats=14]="NumberFormats",Ty[Ty.CurrencySymbol=15]="CurrencySymbol",Ty[Ty.CurrencyName=16]="CurrencyName",Ty[Ty.Currencies=17]="Currencies",Ty[Ty.PluralCase=18]="PluralCase",Ty[Ty.ExtraData=19]="ExtraData";var Py=void 0;var Ay=["en",[["a","p"],["AM","PM"],Py],[["AM","PM"],Py,Py],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Py,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Py,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Py,"{1} 'at' {0}",Py],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];function My(e){return Ry(e)[N.ɵLocaleDataIndex.PluralCase]}function Ry(e){var t=e.toLowerCase().replace(/_/g,"-"),n=Iy[t];if(n)return n;var r=t.split("-")[0];if(n=Iy[r])return n;if("en"===r)return Ay;throw new Error('Missing locale data for the locale "'+e+'".')}var Ny="en-US",jy="�",Fy=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Ly=/�\/?\*(\d+:\d+)�/gi,Vy=/�(\/?[#*!]\d+):?\d*�/gi,By=/�(\d+):?\d*�/gi,Uy=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,zy=/\[(�.+?�?)\]/,qy=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,Hy=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Wy=/{([A-Z0-9_]+)}/g,Gy=/�I18N_EXP_(ICU(_\d+)?)�/g,Yy=/\/\*/,Ky=/\d+\:(\d+)/;function Zy(e){if(!e)return[];var t,n=0,r=[],i=[],o=/[{}]/g;for(o.lastIndex=0;t=o.exec(e);){var a=t.index;if("}"==t[0]){if(r.pop(),0==r.length){var s=e.substring(n,a);Fy.test(s)?i.push(Qy(s)):i.push(s),n=a+1}}else{if(0==r.length){var l=e.substring(n,a);i.push(l),n=a+1}r.push("{")}}var u=e.substring(n);return i.push(u),i}function Qy(e){for(var t=[],n=[],r=1,i=0,o=Zy(e=e.replace(Fy,function(e,t,n){return r="select"===n?0:1,i=parseInt(t.substr(1),10),""})),a=0;a<o.length;){var s=o[a++].trim();1===r&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&t.push(s);var l=Zy(o[a++]);t.length>n.length&&n.push(l)}return We(t.indexOf("other"),-1,'Missing key "other" in ICU statement.'),{type:r,mainBinding:i,cases:t,values:n}}function Xy(e){for(var t,n,r="",i=0,o=!1;null!==(t=Ly.exec(e));)o?t[0]===jy+"/*"+n+jy&&(i=t.index,o=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],o=!0);return ngDevMode&&Ue(o,!1,'Tag mismatch: unable to find the end of the sub-template in the translation "'+e+'"'),r+=e.substr(i)}function $y(e,t,n,r){void 0===r&&(r=null);for(var i=[null,null],o=e.split(By),a=0,s=0;s<o.length;s++){var l=o[s];if(1&s){var u=parseInt(l,10);i.push(-1-u),a|=ng(u)}else""!==l&&i.push(l)}return i.push(t<<2|(n?1:0)),n&&i.push(n,r),i[0]=a,i[1]=i.length-2,i}function Jy(e,t){var n;void 0===t&&(t=0),t|=ng(e.mainBinding);for(var r=0;r<e.values.length;r++)for(var i=e.values[r],o=0;o<i.length;o++){var a=i[o];if("string"==typeof a)for(;n=By.exec(a);)t|=ng(parseInt(n[1],10));else t=Jy(a,t)}return t}var eg=[],tg=-1;function ng(e){return 1<<Math.min(e,31)}var rg,ig=[];function og(e,t,n){var r=gn(),i=r[yt];ngDevMode&&Ge(i,"tView should be defined"),eg[++tg]=e,Qd(!0),i.firstTemplatePass&&null===i.data[e+Nt]&&function(e,t,n,r,i){var o=t.blueprint.length-Nt;rg=0;var a=On(),s=Tn()?a:a&&a.parent,l=s&&s!==e[xt]?s.index-Nt:n,u=0;ig[u]=l;var c=[];0<n&&a!==s&&c.push(a.index<<3|0);for(var p=[],d=[],h=function(e){return e.replace(xg," ")}(function(e,t){if("number"!=typeof t)return Xy(e);var n=e.indexOf(":"+t+jy)+2+t.toString().length,r=e.search(new RegExp(jy+"\\/\\*\\d+:"+t+jy));return Xy(e.substring(n,r))}(r,i)).split(Vy),f=0;f<h.length;f++){var m=h[f];if(1&f)if("/"===m.charAt(0)){if("#"===m.charAt(1)){var v=parseInt(m.substr(2),10);l=ig[--u],c.push(v<<3|5)}}else{v=parseInt(m.substr(1),10);c.push(v<<3|0,l<<17|1),"#"===m.charAt(0)&&(ig[++u]=l=v)}else for(var y=Zy(m),g=0;g<y.length;g++)if(1&g){var _=o+rg++;c.push(ns,ngDevMode?"ICU "+_:"",_,l<<17|1);var b=y[g],w=Jy(b);_g(d,b,_,_);var x=d.length-1;p.push(ng(b.mainBinding),3,-1-b.mainBinding,_<<2|2,x,w,2,_<<2|3,x)}else if(""!==y[g]){var C=y[g],S=C.match(By),E=o+rg++;c.push(S?"":C,E,l<<17|1),S&&Ne($y(C,E),p)}}0<rg&&function(e,t){if(ngDevMode&&We(t,0,"The number of slots to alloc should be greater than 0"),0<t){var n=e[yt];if(n.firstTemplatePass){for(var r=0;r<t;r++)n.blueprint.push(null),n.data.push(null),e.push(null);n.expandoInstructions?n.expandoInstructions.push(t):n.expandoStartIndex+=t}}}(e,rg);ngDevMode&&function(e,t,n,r){rs(e,new Ws(e,r)),rs(t,new Ys(t,n,r)),n&&n.forEach(function(e){e.create.forEach(function(e){rs(e,new Ws(e,r))}),e.update.forEach(function(e){rs(e,new Ys(e,n,r))})})}(c,p,d.length?d:null,e);var O={vars:rg,create:c,update:p,icus:d.length?d:null};t.data[n+Nt]=O}(r,i,e,t,n)}function ag(e,t,n,r){ngDevMode&&ngDevMode.rendererMoveNode++;var i=e.next;(n=n||t)===t&&e!==t.child?(e.next=t.child,t.child=e):n!==t&&e!==n.next?(e.next=n.next,n.next=e):e.next=null,t!==r[xt]&&(e.parent=t);for(var o=e.next;o;)o.next===e&&(o.next=i),o=o.next;if(1===e.type)return _u(r,e),e;fu(ei(e,r),e,r);var a=r[e.index];return 0!==e.type&&qt(a)&&fu(a[Vt],e,r),e}function sg(e,a){void 0===a&&(a={});var t=e;if(zy.test(e)){var d={},h=[0];t=t.replace(qy,function(e,t,n){var r=t||n,i=d[r]||[];if(i.length||(r.split("|").forEach(function(e){var t=e.match(Ky),n=t?parseInt(t[1],10):0,r=Yy.test(e);i.push([n,r,e])}),d[r]=i),!i.length)throw new Error("i18n postprocess: unmatched placeholder - "+r);for(var o=h[h.length-1],a=0,s=0;s<i.length;s++)if(i[s][0]===o){a=s;break}var l=j(i[a],3),u=l[0],c=l[1],p=l[2];return c?h.pop():o!==u&&h.push(u),i.splice(a,1),p})}return Object.keys(a).length?t=(t=(t=t.replace(Hy,function(e,t,n,r,i,o){return a.hasOwnProperty(n)?""+t+a[n]+o:e})).replace(Wy,function(e,t){return a.hasOwnProperty(t)?a[t]:e})).replace(Gy,function(e,t){if(a.hasOwnProperty(t)){var n=a[t];if(!n.length)throw new Error("i18n postprocess: unmatched ICU - "+e+" with key: "+t);return n.shift()}return e}):t}function lg(){var e=gn(),t=e[yt];ngDevMode&&Ge(t,"tView should be defined"),function(e,t){ngDevMode&&Ue(e[Ct],t.bindingStartIndex,"i18nEnd should be called before any binding");var n=eg[tg--],r=t.data[n+Nt];ngDevMode&&Ge(r,"You should call i18nStart before i18nEnd");for(var i=On(),o=cg(n,r.create,e),a=n+1;a<=i.index-Nt;a++)-1===o.indexOf(a)&&pg(a,e,!0)}(e,t),Qd(!1)}function ug(e,t,n,r,i){var o=On();ngDevMode&&Ze(e,t+Nt),e[t+Nt]=r;var a=Js(e[yt],e[xt],t,n,i,null);return o&&o.next===a&&(o.next=null),a}function cg(e,t,n){for(var r=n[Dt],i=null,o=null,a=[],s=0;s<t.length;s++){var l=t[s];if("string"==typeof l){var u=Jl(l,r),c=t[++s];ngDevMode&&ngDevMode.rendererCreateTextNode++,o=i,i=ug(n,c,3,u,null),a.push(c),In()}else if("number"==typeof l)switch(7&l){case 1:var p=l>>>17,d=void 0;d=p===e?n[xt]:ni(p,n),ngDevMode&&Ge(i,"You need to create or select a node before you can insert it into the DOM"),o=ag(i,d,o,n);break;case 0:var h=l>>>3;a.push(h),o=i,(i=ni(h,n))&&kn(i,3===i.type);break;case 5:o=i=ni(l>>>3,n),kn(i,!1);break;case 4:Dl(g=l>>>3,t[++s],t[++s],n);break;default:throw new Error('Unable to determine the type of mutate operation for "'+l+'"')}else switch(l){case ns:var f=t[++s],m=t[++s];ngDevMode&&Ue(typeof f,"string",'Expected "'+f+'" to be a comment node value');var v=r.createComment(f);ngDevMode&&ngDevMode.rendererCreateComment++,o=i,i=ug(n,m,5,v,null),a.push(m),ua(v,n),i.activeCaseIndex=null,In();break;case ts:var y=t[++s],g=t[++s];ngDevMode&&Ue(typeof y,"string",'Expected "'+y+'" to be an element node tag name');var _=r.createElement(y);ngDevMode&&ngDevMode.rendererCreateElement++,o=i,i=ug(n,g,3,_,y),a.push(g);break;default:throw new Error('Unable to determine the type of mutate operation for "'+l+'"')}}return In(),a}function pg(e,t,n){var r=ni(e,t),i=Jr(e,t);i&&vu(t[Dt],i);var o=ri(t,e);if(qt(o)){var a=o;0!==r.type&&vu(t[Dt],a[Vt])}n&&(r.flags|=128),ngDevMode&&ngDevMode.rendererRemoveNode++}function dg(e,t,n){og(e,t,n),lg()}function hg(e,t){var n=gn(),r=n[yt];ngDevMode&&Ge(r,"tView should be defined"),function(e,t,n,r){for(var i=On().index-Nt,o=[],a=0;a<r.length;a+=2)for(var s=r[a],l=r[a+1].split(Uy),u=0;u<l.length;u++){var c=l[u];if(1&u)throw new Error("ICU expressions are not yet supported in attributes");if(""!==c)if(!!c.match(By))t.firstTemplatePass&&null===t.data[n+Nt]&&Ne($y(c,i,s),o);else{Dl(i,s,c,e);var p=ni(i,e),d=p.inputs&&p.inputs[s];if(d&&(Yl(e,d,c),ngDevMode)){var h=Jr(i,e);vl(e,h,p.type,d,c)}}}t.firstTemplatePass&&null===t.data[n+Nt]&&(t.data[n+Nt]=o)}(n,r,e,t)}var fg=0,mg=0;function vg(e){var t=gn();return Pp(t,t[Ct]++,e)&&(fg|=1<<mg),mg++,vg}function yg(e){if(mg){var t=gn(),n=t[yt];ngDevMode&&Ge(n,"tView should be defined");var r=n.data[e+Nt],i=void 0,o=null;Array.isArray(r)?i=r:(i=r.update,o=r.icus),function e(t,n,r,i,o,a){void 0===a&&(a=!1);for(var s=!1,l=0;l<t.length;l++){var u=t[l],c=t[++l];if(a||u&i)for(var p="",d=l+1;d<=l+c;d++){var h=t[d];if("string"==typeof h)p+=h;else if("number"==typeof h)if(h<0)p+=nr(o[r-h]);else{var f=h>>>2,m=void 0,v=void 0;switch(3&h){case 1:fl(o,f,t[++d],p,t[++d]);break;case 0:Kl(o,f,p);break;case 2:if(m=n[t[++d]],null!==(v=ni(f,o)).activeCaseIndex)for(var y=m.remove[v.activeCaseIndex],g=0;g<y.length;g++){var _=y[g];switch(7&_){case 3:pg(_>>>3,o,!1);break;case 6:var b=ni(y[g+1]>>>3,o).activeCaseIndex;null!==b&&Ne(n[_>>>3].remove[b],y)}}var w=gg(m,p);v.activeCaseIndex=-1!==w?w:null,cg(-1,m.create[w],o),s=!0;break;case 3:m=n[t[++d]],v=ni(f,o),e(m.update[v.activeCaseIndex],n,r,i,o,s)}}}l+=c}}(i,o,t[Ct]-mg-1,fg,t),mg=fg=0}}function gg(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var r=function(e,t){switch(My(t)(e)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(t,Cg);-1===(n=e.cases.indexOf(r))&&"other"!==r&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function _g(e,t,n,r){for(var i=[],o=[],a=[],s=[],l=[],u=0;u<t.values.length;u++){for(var c=t.values[u],p=[],d=0;d<c.length;d++){var h=c[d];if("string"!=typeof h){var f=p.push(h)-1;c[d]="\x3c!--�"+f+"�--\x3e"}}var m=bg(c.join(""),n,p,e,r);i.push(m.create),o.push(m.remove),a.push(m.update),s.push(m.vars),l.push(m.childIcus)}var v={type:t.type,vars:s,childIcus:l,cases:t.cases,create:i,remove:o,update:a};e.push(v),rg+=Math.max.apply(Math,O(s))}function bg(e,t,n,r,i){var o=new fo(document).getInertBodyElement(e);if(!o)throw new Error("Unable to generate inert body element");var a={vars:0,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,r,i,o,a){if(t){for(var s=[];t;){var l=t.nextSibling,u=a+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:var c=t,p=c.tagName.toLowerCase();if(Do.hasOwnProperty(p)){n.create.push(ts,p,u,r<<17|1);for(var d=c.attributes,h=0;h<d.length;h++){var f=d.item(h),m=f.name.toLowerCase(),v=!!f.value.match(By);v?Mo.hasOwnProperty(m)?To[m]?Ne($y(f.value,u,f.name,go),n.update):Io[m]?Ne($y(f.value,u,f.name,_o),n.update):Ne($y(f.value,u,f.name),n.update):ngDevMode&&console.warn("WARNING: ignoring unsafe attribute value "+m+" on element "+p+" (see http://g.co/ng/security#xss)"):n.create.push(u<<3|4,f.name,f.value)}e(t.firstChild,n,u,i,o,a),n.remove.push(u<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var y=t.textContent||"",g=y.match(By);n.create.push(g?"":y,u,r<<17|1),n.remove.push(u<<3|3),g&&Ne($y(y,u),n.update);break;case Node.COMMENT_NODE:var _=wg.exec(t.textContent||"");if(_){var b=parseInt(_[1],10),w=ngDevMode?"nested ICU "+b:"";n.create.push(ns,w,u,r<<17|1);var x=i[b];s.push([x,u])}else n.vars--;break;default:n.vars--}t=l}for(var h=0;h<s.length;h++){var x=s[h][0],C=s[h][1];_g(o,x,C,a+n.vars);var S=o.length-1;n.vars+=Math.max.apply(Math,O(o[S].vars)),n.childIcus.push(S);var E=Jy(x);n.update.push(ng(x.mainBinding),3,-1-x.mainBinding,C<<2|2,S,E,2,C<<2|3,S),n.remove.push(S<<3|6,C<<3|3)}}}((qo(o)||o).firstChild,a,t,n,r,i),a}var wg=/�(\d+)�/;var xg=/\uE500/g;var Cg=Ny;function Sg(e){Ge(e,"Expected localeId to be defined"),"string"==typeof e&&(Cg=e.toLowerCase().replace(/_/g,"-"))}var Eg=new Map;function Og(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for "+e+" - "+V(t)+" vs "+V(t.name))}function kg(e){if(null!==e.ɵmod.id){var t=e.ɵmod.id;Og(t,Eg.get(t),e),Eg.set(t,e)}var n=e.ɵmod.imports;n instanceof Function&&(n=n()),n&&n.forEach(function(e){return kg(e)})}function Dg(e){return Eg.get(e)}var Tg,Ig={provide:Mf,useClass:_y,deps:[Re]},Pg=(p(Ag,Tg=Re),Ag.prototype.get=function(e,t,n){return void 0===t&&(t=Cc.THROW_IF_NOT_FOUND),void 0===n&&(n=N.InjectFlags.Default),e===Cc||e===Re||e===ue?this:this._r3Injector.get(e,t,n)},Object.defineProperty(Ag.prototype,"componentFactoryResolver",{get:function(){return this.get(Mf)},enumerable:!0,configurable:!0}),Ag.prototype.destroy=function(){ngDevMode&&Ge(this.destroyCbs,"NgModule already destroyed");var e=this._r3Injector;e.destroyed||e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},Ag.prototype.onDestroy=function(e){ngDevMode&&Ge(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)},Ag);function Ag(e,t){var n=Tg.call(this)||this;n._parent=t,n._bootstrapComponents=[],(n.injector=n).destroyCbs=[];var r=mt(e);ngDevMode&&Ge(r,"NgModule '"+V(e)+"' is not a subtype of 'NgModuleType'.");var i=function(e){return e[ne]||null}(e);i&&Sg(i),n._bootstrapComponents=ur(r.bootstrap);var o=[{provide:Re,useValue:n},Ig];return n._r3Injector=fc(e,t,o,V(e)),n.instance=n.get(e),n}var Mg,Rg=(p(Ng,Mg=Ie),Ng.prototype.create=function(e){return new Pg(this.moduleType,e)},Ng);function Ng(e){var t=Mg.call(this)||this;return null!==mt(t.moduleType=e)&&kg(e),t}function jg(e,t,n){var r=Mn()+e,i=gn();return si(i)?Tp(i,r,n?t.call(n):t()):Ip(i,r)}function Fg(e,t,n,r){var i=gn(),o=Mn()+e;return Pp(i,o,n)?Tp(i,o+1,r?t.call(r,n):t(n)):Ip(i,o+1)}function Lg(e,t,n,r,i){var o=Mn()+e,a=gn();return Ap(a,o,n,r)?Tp(a,o+2,i?t.call(i,n,r):t(n,r)):Ip(a,o+2)}function Vg(e,t,n,r,i,o){var a=Mn()+e,s=gn();return Mp(s,a,n,r,i)?Tp(s,a+3,o?t.call(o,n,r,i):t(n,r,i)):Ip(s,a+3)}function Bg(e,t,n,r,i,o,a){var s=Mn()+e,l=gn();return Rp(l,s,n,r,i,o)?Tp(l,s+4,a?t.call(a,n,r,i,o):t(n,r,i,o)):Ip(l,s+4)}function Ug(e,t,n,r,i,o,a,s){var l=Mn()+e,u=gn(),c=Rp(u,l,n,r,i,o);return Pp(u,l+4,a)||c?Tp(u,l+5,s?t.call(s,n,r,i,o,a):t(n,r,i,o,a)):Ip(u,l+5)}function zg(e,t,n,r,i,o,a,s,l){var u=Mn()+e,c=gn(),p=Rp(c,u,n,r,i,o);return Ap(c,u+4,a,s)||p?Tp(c,u+6,l?t.call(l,n,r,i,o,a,s):t(n,r,i,o,a,s)):Ip(c,u+6)}function qg(e,t,n,r,i,o,a,s,l,u){var c=Mn()+e,p=gn(),d=Rp(p,c,n,r,i,o);return Mp(p,c+4,a,s,l)||d?Tp(p,c+7,u?t.call(u,n,r,i,o,a,s,l):t(n,r,i,o,a,s,l)):Ip(p,c+7)}function Hg(e,t,n,r,i,o,a,s,l,u,c){var p=Mn()+e,d=gn(),h=Rp(d,p,n,r,i,o);return Rp(d,p+4,a,s,l,u)||h?Tp(d,p+8,c?t.call(c,n,r,i,o,a,s,l,u):t(n,r,i,o,a,s,l,u)):Ip(d,p+8)}function Wg(e,t,n,r){for(var i=Mn()+e,o=!1,a=gn(),s=0;s<n.length;s++)Pp(a,i++,n[s])&&(o=!0);return o?Tp(a,i,t.apply(r,n)):Ip(a,i)}function Gg(e,t){var n,r=gn()[yt],i=e+Nt;r.firstTemplatePass?(n=function(e,t){if(t)for(var n=t.length-1;0<=n;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '"+e+"' could not be found!")}(t,r.pipeRegistry),(r.data[i]=n).onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=(n.factory||(n.factory=ft(n.type,!0)))();return ad(e,o),o}function Yg(e,t,n){var r=gn(),i=ri(r,e);return Jg(r,$g(r,e)?Fg(t,i.transform,n,i):i.transform(n))}function Kg(e,t,n,r){var i=gn(),o=ri(i,e);return Jg(i,$g(i,e)?Lg(t,o.transform,n,r,o):o.transform(n,r))}function Zg(e,t,n,r,i){var o=gn(),a=ri(o,e);return Jg(o,$g(o,e)?Vg(t,a.transform,n,r,i,a):a.transform(n,r,i))}function Qg(e,t,n,r,i,o){var a=gn(),s=ri(a,e);return Jg(a,$g(a,e)?Bg(t,s.transform,n,r,i,o,s):s.transform(n,r,i,o))}function Xg(e,t,n){var r=gn(),i=ri(r,e);return Jg(r,$g(r,e)?Wg(t,i.transform,n,i):i.transform.apply(i,n))}function $g(e,t){return e[yt].data[t+Nt].pure}function Jg(e,t){Ep.isWrapped(t)&&(t=Ep.unwrap(t),e[e[Ct]]=cr);return t}var e_,t_=(p(n_,e_=u.Subject),n_.prototype.emit=function(e){e_.prototype.next.call(this,e)},n_.prototype.subscribe=function(t,n,e){var r,i=function(e){return null},o=function(){return null};t&&"object"==typeof t?(r=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(o=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(r=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),e&&(o=this.__isAsync?function(){setTimeout(function(){return e()})}:function(){e()}));var a=e_.prototype.subscribe.call(this,r,i,o);return t instanceof u.Subscription&&t.add(a),a},n_);function n_(e){void 0===e&&(e=!1);var t=e_.call(this)||this;return t.__isAsync=e,t}function r_(){return this._results[xp()]()}var i_=(o_.prototype.map=function(e){return this._results.map(e)},o_.prototype.filter=function(e){return this._results.filter(e)},o_.prototype.find=function(e){return this._results.find(e)},o_.prototype.reduce=function(e,t){return this._results.reduce(e,t)},o_.prototype.forEach=function(e){this._results.forEach(e)},o_.prototype.some=function(e){return this._results.some(e)},o_.prototype.toArray=function(){return this._results.slice()},o_.prototype.toString=function(){return this._results.toString()},o_.prototype.reset=function(e){this._results=je(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},o_.prototype.notifyOnChanges=function(){this.changes.emit(this)},o_.prototype.setDirty=function(){this.dirty=!0},o_.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},o_);function o_(){this.dirty=!0,this._results=[],this.changes=new t_,this.length=0;var e=xp(),t=o_.prototype;t[e]||(t[e]=r_)}var a_=(s_.prototype.clone=function(){return new s_(this.queryList)},s_.prototype.setDirty=function(){this.queryList.setDirty()},s_);function s_(e){this.queryList=e,this.matches=null}var l_=(u_.prototype.createEmbeddedView=function(e){var t=e.queries;if(null===t)return null;for(var n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[],i=0;i<n;i++){var o=t.getByIndex(i),a=this.queries[o.indexInDeclarationView];r.push(a.clone())}return new u_(r)},u_.prototype.insertView=function(e){this.dirtyQueriesWithMatches(e)},u_.prototype.detachView=function(e){this.dirtyQueriesWithMatches(e)},u_.prototype.dirtyQueriesWithMatches=function(e){for(var t=0;t<this.queries.length;t++)null!==D_(e,t).matches&&this.queries[t].setDirty()},u_);function u_(e){void 0===e&&(e=[]),this.queries=e}var c_=function(e,t,n,r){void 0===r&&(r=null),this.predicate=e,this.descendants=t,this.isStatic=n,this.read=r},p_=(d_.prototype.elementStart=function(e,t){ngDevMode&&tn(e,"Queries should collect results on the first template pass only");for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)},d_.prototype.elementEnd=function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)},d_.prototype.embeddedTView=function(e){for(var t=null,n=0;n<this.length;n++){var r=null!==t?t.length:0,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,null!==t?t.push(i):t=[i])}return null!==t?new d_(t):null},d_.prototype.template=function(e,t){ngDevMode&&tn(e,"Queries should collect results on the first template pass only");for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)},d_.prototype.getByIndex=function(e){return ngDevMode&&Ze(this.queries,e),this.queries[e]},Object.defineProperty(d_.prototype,"length",{get:function(){return this.queries.length},enumerable:!0,configurable:!0}),d_.prototype.track=function(e){this.queries.push(e)},d_);function d_(e){void 0===e&&(e=[]),this.queries=e}var h_=(f_.prototype.elementStart=function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)},f_.prototype.elementEnd=function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)},f_.prototype.template=function(e,t){this.elementStart(e,t)},f_.prototype.embeddedTView=function(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new f_(this.metadata)):null},f_.prototype.isApplyingToNode=function(e){return this._appliesToNextNode&&!1===this.metadata.descendants?this._declarationNodeIndex===(e.parent?e.parent.index:-1):this._appliesToNextNode},f_.prototype.matchTNode=function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,r=0;r<n.length;r++)this.matchTNodeWithReadOption(e,t,m_(t,n[r]));else{var i=this.metadata.predicate;i===Sm?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Oi(t,e,i,!1,!1))}},f_.prototype.matchTNodeWithReadOption=function(e,t,n){if(null!==n){var r=this.metadata.read;if(null!==r)if(r===Uf||r===Dm||r===Sm&&0===t.type)this.addMatch(t.index,-2);else{var i=Oi(t,e,r,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,n)}},f_.prototype.addMatch=function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)},f_);function f_(e,t){void 0===t&&(t=-1),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}function m_(e,t){var n=e.localNames;if(null!==n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function v_(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?Tu(Uf,e,t):0===e.type?Iu(Sm,Uf,e,t):null}(t,e):-2===n?function(e,t,n){{if(n===Uf)return Tu(Uf,t,e);if(n===Sm)return Iu(Sm,Uf,t,e);if(n===Dm)return ngDevMode&&un(t,3,0,4),Pu(Dm,Uf,t,e);ngDevMode&&Ye("Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got "+V(n)+".")}}(e,t,r):ki(e[yt].data,e,n,t)}function y_(e,t,n){var r=e[wt].queries[n];if(null===r.matches){for(var i=e[yt].data,o=t.matches,a=[],s=0;s<o.length;s+=2){var l=o[s];if(l<0)a.push(null);else{ngDevMode&&Ze(i,l);var u=i[l];a.push(v_(e,u,o[s+1],t.metadata.read))}}r.matches=a}return r.matches}function g_(e){var t=gn(),n=Nn();jn(n+1);var r=D_(t[yt],n);if(e.dirty&&si(t)===r.metadata.isStatic){if(null===r.matches)e.reset([]);else{var i=r.crossesNgTemplate?function e(t,n,r){var i=t[yt].queries.getByIndex(n),o=i.matches;if(null!==o)for(var a=y_(t,i,n),s=0;s<o.length;s+=2){var l=o[s];if(0<l){var u=a[s/2];ngDevMode&&Ge(u,"materialized query result should be defined"),r.push(u)}else{var c=o[s+1],p=t[-l];ngDevMode&&$t(p);for(var d=Ut;d<p.length;d++){var h=p[d];h[Mt]===h[_t]&&e(h,c,r)}if(null!==p[Lt])for(var f=p[Lt],m=0;m<f.length;m++)e(f[m],c,r)}}return r}(t,n,[]):y_(t,r,n);e.reset(i),e.notifyOnChanges()}return!0}return!1}function __(e,t,n){w_(gn(),e,t,n,!0)}function b_(e,t,n){w_(gn(),e,t,n,!1)}function w_(e,t,n,r,i){var o=e[yt];o.firstTemplatePass&&(k_(o,new c_(t,n,i,r),-1),i&&(o.staticViewQueries=!0)),O_(e)}function x_(e,t,n,r){S_(gn(),t,n,r,!1,On(),e)}function C_(e,t,n,r){S_(gn(),t,n,r,!0,On(),e)}function S_(e,t,n,r,i,o,a){var s=e[yt];s.firstTemplatePass&&(k_(s,new c_(t,n,i,r),o.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]),r=e.contentQueries.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}(s,a),i&&(s.staticContentQueries=!0)),O_(e)}function E_(){return function(e,t){return ngDevMode&&Ge(e[wt],"LQueries should be defined when trying to load a query"),ngDevMode&&Ze(e[wt].queries,t),e[wt].queries[t].queryList}(gn(),Nn())}function O_(e){var t=new i_;!function(e,t,n){var r=ql(e);r.push(t),e[yt].firstTemplatePass&&Hl(e).push(n,r.length-1)}(e,t,t.destroy),null===e[wt]&&(e[wt]=new l_),e[wt].queries.push(new a_(t))}function k_(e,t,n){null===e.queries&&(e.queries=new p_),e.queries.track(new h_(t,n))}function D_(e,t){return ngDevMode&&Ge(e.queries,"TQueries must be defined to retrieve a TQuery"),e.queries.getByIndex(t)}function T_(e,t){return Iu(Sm,Uf,e,t)}function I_(e){void 0===e&&(e=N.InjectFlags.Default);var t=Au(!0);if(null!=t||e&N.InjectFlags.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}var P_={"ɵɵattribute":Np,"ɵɵattributeInterpolate1":Wp,"ɵɵattributeInterpolate2":Gp,"ɵɵattributeInterpolate3":Yp,"ɵɵattributeInterpolate4":Kp,"ɵɵattributeInterpolate5":Zp,"ɵɵattributeInterpolate6":Qp,"ɵɵattributeInterpolate7":Xp,"ɵɵattributeInterpolate8":$p,"ɵɵattributeInterpolateV":Jp,"ɵɵdefineBase":lt,"ɵɵdefineComponent":tt,"ɵɵdefineDirective":ut,"ɵɵdefineInjectable":D,"ɵɵdefineInjector":I,"ɵɵdefineNgModule":ot,"ɵɵdefinePipe":ct,"ɵɵdirectiveInject":ld,"ɵɵgetFactoryOf":Ai,"ɵɵgetInheritedFactory":Mi,"ɵɵinject":we,"ɵɵinjectAttribute":ud,"ɵɵinjectPipeChangeDetectorRef":I_,"ɵɵtemplateRefExtractor":T_,"ɵɵNgOnChangesFeature":cf,"ɵɵProvidersFeature":Of,"ɵɵInheritDefinitionFeature":mf,"ɵɵcontainer":td,"ɵɵnextContext":Gd,"ɵɵcontainerRefreshStart":rd,"ɵɵcontainerRefreshEnd":id,"ɵɵnamespaceHTML":qn,"ɵɵnamespaceMathML":zn,"ɵɵnamespaceSVG":Un,"ɵɵenableBindings":vn,"ɵɵdisableBindings":yn,"ɵɵallocHostVars":bp,"ɵɵelementStart":Dd,"ɵɵelementEnd":Td,"ɵɵelement":Id,"ɵɵelementContainerStart":Md,"ɵɵelementContainerEnd":Rd,"ɵɵelementContainer":Nd,"ɵɵpureFunction0":jg,"ɵɵpureFunction1":Fg,"ɵɵpureFunction2":Lg,"ɵɵpureFunction3":Vg,"ɵɵpureFunction4":Bg,"ɵɵpureFunction5":Ug,"ɵɵpureFunction6":zg,"ɵɵpureFunction7":qg,"ɵɵpureFunction8":Hg,"ɵɵpureFunctionV":Wg,"ɵɵgetCurrentView":Ld,"ɵɵrestoreView":En,"ɵɵlistener":Ud,"ɵɵprojection":Xd,"ɵɵupdateSyntheticHostBinding":Vh,"ɵɵcomponentHostSyntheticListener":zd,"ɵɵpipeBind1":Yg,"ɵɵpipeBind2":Kg,"ɵɵpipeBind3":Zg,"ɵɵpipeBind4":Qg,"ɵɵpipeBindV":Xg,"ɵɵprojectionDef":Kd,"ɵɵhostProperty":Lh,"ɵɵproperty":$d,"ɵɵpropertyInterpolate":Jd,"ɵɵpropertyInterpolate1":eh,"ɵɵpropertyInterpolate2":th,"ɵɵpropertyInterpolate3":nh,"ɵɵpropertyInterpolate4":rh,"ɵɵpropertyInterpolate5":ih,"ɵɵpropertyInterpolate6":oh,"ɵɵpropertyInterpolate7":ah,"ɵɵpropertyInterpolate8":sh,"ɵɵpropertyInterpolateV":lh,"ɵɵpipe":Gg,"ɵɵqueryRefresh":g_,"ɵɵviewQuery":b_,"ɵɵstaticViewQuery":__,"ɵɵstaticContentQuery":C_,"ɵɵloadQuery":E_,"ɵɵcontentQuery":x_,"ɵɵreference":sd,"ɵɵelementHostAttrs":Pd,"ɵɵclassMap":vd,"ɵɵclassMapInterpolate1":bh,"ɵɵclassMapInterpolate2":wh,"ɵɵclassMapInterpolate3":xh,"ɵɵclassMapInterpolate4":Ch,"ɵɵclassMapInterpolate5":Sh,"ɵɵclassMapInterpolate6":Eh,"ɵɵclassMapInterpolate7":Oh,"ɵɵclassMapInterpolate8":kh,"ɵɵclassMapInterpolateV":Dh,"ɵɵstyleMap":md,"ɵɵstyleProp":pd,"ɵɵstylePropInterpolate1":Th,"ɵɵstylePropInterpolate2":Ih,"ɵɵstylePropInterpolate3":Ph,"ɵɵstylePropInterpolate4":Ah,"ɵɵstylePropInterpolate5":Mh,"ɵɵstylePropInterpolate6":Rh,"ɵɵstylePropInterpolate7":Nh,"ɵɵstylePropInterpolate8":jh,"ɵɵstylePropInterpolateV":Fh,"ɵɵstyleSanitizer":cd,"ɵɵclassProp":hd,"ɵɵselect":Ja,"ɵɵadvance":$a,"ɵɵtemplate":nd,"ɵɵtext":uh,"ɵɵtextInterpolate":ch,"ɵɵtextInterpolate1":ph,"ɵɵtextInterpolate2":dh,"ɵɵtextInterpolate3":hh,"ɵɵtextInterpolate4":fh,"ɵɵtextInterpolate5":mh,"ɵɵtextInterpolate6":vh,"ɵɵtextInterpolate7":yh,"ɵɵtextInterpolate8":gh,"ɵɵtextInterpolateV":_h,"ɵɵembeddedViewStart":jd,"ɵɵembeddedViewEnd":Fd,"ɵɵi18n":dg,"ɵɵi18nAttributes":hg,"ɵɵi18nExp":vg,"ɵɵi18nStart":og,"ɵɵi18nEnd":lg,"ɵɵi18nApply":yg,"ɵɵi18nPostprocess":sg,"ɵɵresolveWindow":or,"ɵɵresolveDocument":ar,"ɵɵresolveBody":sr,"ɵɵsetComponentScope":nt,"ɵɵsetNgModuleScope":at,"ɵɵsanitizeHtml":Yo,"ɵɵsanitizeStyle":Ko,"ɵɵdefaultStyleSanitizer":ea,"ɵɵsanitizeResourceUrl":Qo,"ɵɵsanitizeScript":Xo,"ɵɵsanitizeUrl":Zo,"ɵɵsanitizeUrlOrResourceUrl":Jo},A_=[],M_=[];var R_=!1;function N_(){if(!R_){R_=!0;try{for(var e=M_.length-1;0<=e;e--){var t=M_[e],n=t.moduleType,r=t.ngModule;r.declarations&&r.declarations.every(j_)&&(M_.splice(e,1),W_(n,r))}}finally{R_=!1}}}function j_(e){return Array.isArray(e)?e.every(j_):!!z(e)}function F_(e,t){void 0===t&&(t={}),L_(e,t),function(e,t){M_.push({moduleType:e,ngModule:t})}(e,t)}function L_(t,n,r){void 0===r&&(r=!1),ngDevMode&&Ge(t,"Required value moduleType"),ngDevMode&&Ge(n,"Required value ngModule");var e=je(n.declarations||A_),i=null;Object.defineProperty(t,te,{configurable:!0,get:function(){if(null===i){if(ngDevMode&&n.imports&&-1<n.imports.indexOf(t))throw new Error("'"+rr(t)+"' module can't import itself");i=X().compileNgModule(P_,"ng:///"+t.name+"/ɵmod.js",{type:t,bootstrap:je(n.bootstrap||A_).map(z),declarations:e.map(z),imports:je(n.imports||A_).map(z).map(K_),exports:je(n.exports||A_).map(z).map(K_),emitInline:!0,schemas:n.schemas?je(n.schemas):null,id:n.id||null})}return i}});var o=null;Object.defineProperty(t,R,{get:function(){if(null===o){ngDevMode&&V_(t,r);var e={name:t.name,type:t,deps:Qu(t),providers:n.providers||A_,imports:[(n.imports||A_).map(z),(n.exports||A_).map(z)]};o=X().compileInjector(P_,"ng:///"+t.name+"/ɵinj.js",e)}return o},configurable:!!ngDevMode})}function V_(i,t,e){if(!q_.get(i)){var n;if(q_.set(i,!0),i=z(i),e){if(!(n=mt(i)))throw new Error("Unexpected value '"+i.name+"' imported by the module '"+e.name+"'. Please add an @NgModule annotation.")}else n=mt(i,!0);var o=[],r=ur(n.declarations),a=ur(n.imports);je(a).map(B_).forEach(function(e){p(e,i),V_(e,!1,i)});var s=ur(n.exports);r.forEach(function(e){pt(e=z(e))||dt(e)||ht(e)||o.push("Unexpected value '"+rr(e)+"' declared by the module '"+rr(i)+"'. Please add a @Pipe/@Directive/@Component annotation.")}),r.forEach(function(e){var t=dt(e=z(e));!pt(e)&&t&&0==t.selectors.length&&o.push("Directive "+rr(e)+" has no selector, please add it!")});var l=O(r.map(z),je(a.map(H_)).map(z));s.forEach(function(e){var t=(pt(e=z(e))?"component":dt(e)&&"directive")||ht(e)&&"pipe";t&&-1===l.lastIndexOf(e)&&o.push("Can't export "+t+" "+rr(e)+" from "+rr(i)+" as it was neither declared nor imported!")}),r.forEach(function(e){return function(e,t){e=z(e);var n=z_.get(e);if(n&&n!==i){if(!t){var r=[n,i].map(rr).sort();o.push("Type "+rr(e)+" is part of the declarations of 2 modules: "+r[0]+" and "+r[1]+"! Please consider moving "+rr(e)+" to a higher module that imports "+r[0]+" and "+r[1]+". You can also create a new NgModule that exports and includes "+rr(e)+" then import that NgModule in "+r[0]+" and "+r[1]+".")}}else z_.set(e,i)}(e,t)}),r.forEach(function(e){if(pt(e=z(e))){var t=U_(e,"Component");t&&t.entryComponents&&Fe(t.entryComponents,c)}});var u=U_(i,"NgModule");if(u&&(u.imports&&je(u.imports).map(B_).forEach(function(e){p(e,i),V_(e,!1,i)}),u.bootstrap&&Fe(u.bootstrap,function(e){pt(e=z(e))||o.push(rr(e)+" cannot be used as an entry component.")}),u.bootstrap&&Fe(u.bootstrap,c),u.entryComponents&&Fe(u.entryComponents,c)),o.length)throw new Error(o.join("\n"))}function c(e){e=z(e),z_.get(e)||o.push("Component "+rr(e)+" is not part of any NgModule or the module has not been imported into your module.")}function p(e,t){if(pt(e=z(e))||dt(e))throw new Error("Unexpected directive '"+e.name+"' imported by the module '"+t.name+"'. Please add an @NgModule annotation.");if(ht(e))throw new Error("Unexpected pipe '"+e.name+"' imported by the module '"+t.name+"'. Please add an @NgModule annotation.")}}function B_(e){return(e=z(e)).ngModule||e}function U_(e,t){var n=null;return r(e.__annotations__),r(e.decorators),n;function r(e){e&&e.forEach(i)}function i(e){if(!n)if(Object.getPrototypeOf(e).ngMetadataName==t)n=e;else if(e.type){Object.getPrototypeOf(e.type).ngMetadataName==t&&(n=e.args[0])}}}var z_=new Map,q_=new Map;function H_(e){return O(je(ur(mt(e=z(e),!0).exports).map(function(e){return mt(e)?(V_(e,!1),H_(e)):e})))}function W_(t,e){var n=je(e.declarations||A_),r=Y_(t);n.forEach(function(e){e.hasOwnProperty($)?G_(pt(e),r):e.hasOwnProperty(J)||e.hasOwnProperty(ee)||(e.ngSelectorScope=t)})}function G_(e,t){e.directiveDefs=function(){return Array.from(t.compilation.directives).map(function(e){return e.hasOwnProperty($)?pt(e):dt(e)}).filter(function(e){return!!e})},e.pipeDefs=function(){return Array.from(t.compilation.pipes).map(function(e){return ht(e)})},e.schemas=t.schemas,e.tView=null}function Y_(e,r){if(!Z_(e))throw new Error(e.name+" does not have a module def (ɵmod property)");var t=mt(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;var i={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return ur(t.declarations).forEach(function(e){ht(e)?i.compilation.pipes.add(e):i.compilation.directives.add(e)}),ur(t.imports).forEach(function(e){var t=e;if(!Z_(t))throw new Error("Importing "+t.name+" which does not have a ɵmod property");r&&r(t);var n=Y_(t,r);n.exported.directives.forEach(function(e){return i.compilation.directives.add(e)}),n.exported.pipes.forEach(function(e){return i.compilation.pipes.add(e)})}),ur(t.exports).forEach(function(e){var t=e;if(Z_(t)){var n=Y_(t,r);n.exported.directives.forEach(function(e){i.compilation.directives.add(e),i.exported.directives.add(e)}),n.exported.pipes.forEach(function(e){i.compilation.pipes.add(e),i.exported.pipes.add(e)})}else ht(t)?i.exported.pipes.add(t):i.exported.directives.add(t)}),t.transitiveCompileScopes=i}function K_(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Z_(e){return!!mt(e)}function Q_(o,a){"undefined"!=typeof ngDevMode&&!ngDevMode||Xe();var s=null;!function(e,t){yp(t)&&(mp.set(e,t),vp.add(e))}(o,a),J_(o,a),Object.defineProperty(o,$,{get:function(){if(null===s){var e=X();if(yp(a)){var t=["Component '"+o.name+"' is not resolved:"];throw a.templateUrl&&t.push(" - templateUrl: "+a.templateUrl),a.styleUrls&&a.styleUrls.length&&t.push(" - styleUrls: "+JSON.stringify(a.styleUrls)),t.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(t.join("\n"))}var n=a.templateUrl||"ng:///"+o.name+"/template.html",r=l(l({},eb(o,a)),{typeSourceSpan:e.createParseSourceSpan("Component",o.name,n),template:a.template||"",preserveWhitespaces:a.preserveWhitespaces||!1,styles:a.styles||Je,animations:a.animations,directives:[],changeDetection:a.changeDetection,pipes:new Map,encapsulation:a.encapsulation||N.ViewEncapsulation.Emulated,interpolation:a.interpolation,viewProviders:a.viewProviders||null});if(r.usesInheritance&&tb(o),s=e.compileComponent(P_,n,r),N_(),function(e){return void 0!==e.ngSelectorScope}(o)){var i=Y_(o.ngSelectorScope);G_(s,i)}}return s},configurable:!!ngDevMode})}function X_(t,n){var r=null;J_(t,n||{}),Object.defineProperty(t,J,{get:function(){if(null===r){var e=$_(t,n||{});r=X().compileDirective(P_,e.sourceMapUrl,e.metadata)}return r},configurable:!!ngDevMode})}function $_(e,t){var n=e&&e.name,r="ng:///"+n+"/ɵdir.js",i=X(),o=eb(e,t);return o.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),o.usesInheritance&&tb(e),{metadata:o,sourceMapUrl:r}}function J_(t,n){var r=null;Object.defineProperty(t,ie,{get:function(){if(null===r){var e=$_(t,n);r=X().compileFactory(P_,"ng:///"+t.name+"/ɵfac.js",l(l({},e.metadata),{injectFn:"directiveInject",isPipe:!1}))}return r},configurable:!!ngDevMode})}function eb(e,t){var n=Zu().ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:Qu(e),host:t.host||$e,propMetadata:n,inputs:t.inputs||Je,outputs:t.outputs||Je,queries:ob(e,n,ab),lifecycle:{usesOnChanges:e.prototype.hasOwnProperty("ngOnChanges")},typeSourceSpan:null,usesInheritance:!function(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}(e),exportAs:function(e){return void 0!==e?e.split(",").map(function(e){return e.trim()}):null}(t.exportAs),providers:t.providers||null,viewQueries:ob(e,n,sb)}}function tb(e){for(var t=Object.prototype,n=Object.getPrototypeOf(e);n&&n!==t;){if(!dt(n)&&!pt(n)&&!n[re]){var r=rb(n);r&&nb(n,r)}n=Object.getPrototypeOf(n)}}function nb(n,r){var i=null;Object.defineProperty(n,re,{get:function(){if(null===i){var e="ng://"+(n&&n.name)+"/ngBaseDef.js",t=X();i=t.compileBase(P_,e,r)}return i},configurable:!!ngDevMode})}function rb(e){function t(n){o[n].forEach(function(e){var t=e.ngMetadataName;"Input"===t?(r=r||{})[n]=e.bindingPropertyName?[e.bindingPropertyName,n]:n:"Output"===t?(i=i||{})[n]=e.bindingPropertyName||n:"HostBinding"!==t&&"HostListener"!==t||(s=!0)})}var r,i,o=Zu().ownPropMetadata(e),n=ob(e,o,sb),a=ob(e,o,ab),s=!1;for(var l in o)t(l);return r||i||n.length||a.length||s?{name:e.name,type:e,inputs:r,outputs:i,viewQueries:n,queries:a,propMetadata:o}:null}function ib(e){return"string"==typeof e?function(e){return e.split(",").map(function(e){return e.trim()})}(e):z(e)}function ob(r,e,i){function t(t){if(e.hasOwnProperty(t)){var n=e[t];n.forEach(function(e){if(i(e)){if(!e.selector)throw new Error("Can't construct a query for the property \""+t+'" of "'+rr(r)+"\" since the query selector wasn't defined.");if(n.some(lb))throw new Error("Cannot combine @Input decorators with query decorators");o.push(function(e,t){return{propertyName:e,predicate:ib(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static}}(t,e))}})}}var o=[];for(var n in e)t(n);return o}function ab(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function sb(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function lb(e){return"Input"===e.ngMetadataName}function ub(t,n){var r=null,i=null;Object.defineProperty(t,ie,{get:function(){if(null===i){var e=cb(t,n);i=X().compileFactory(P_,"ng:///"+e.name+"/ɵfac.js",l(l({},e),{injectFn:"directiveInject",isPipe:!0}))}return i},configurable:!!ngDevMode}),Object.defineProperty(t,ee,{get:function(){if(null===r){var e=cb(t,n);r=X().compilePipe(P_,"ng:///"+e.name+"/ɵpipe.js",e)}return r},configurable:!!ngDevMode})}function cb(e,t){return{type:e,typeArgumentCount:0,name:e.name,deps:Qu(e),pipeName:t.name,pure:void 0===t.pure||t.pure}}var pb=i("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return xb(e,t)}),db=i("Component",function(e){return void 0===e&&(e={}),l({changeDetection:N.ChangeDetectionStrategy.Default},e)},pb,void 0,function(e,t){return wb(e,t)}),hb=i("Pipe",function(e){return l({pure:!0},e)},void 0,void 0,function(e,t){return Cb(e,t)}),fb=a("Input",function(e){return{bindingPropertyName:e}}),mb=a("Output",function(e){return{bindingPropertyName:e}}),vb=a("HostBinding",function(e){return{hostPropertyName:e}}),yb=a("HostListener",function(e,t){return{eventName:e,args:t}}),gb=Q_,_b=X_,bb=ub,wb=Bf,xb=Bf,Cb=Bf,Sb=i("NgModule",function(e){return e},void 0,void 0,function(e,t){return Ob(e,t)});var Eb=F_,Ob=function(e,t){var n=t&&t.imports||[];t&&t.exports&&(n=O(n,[t.exports])),e.ɵinj=I({factory:ic(e,{useClass:e}),providers:t&&t.providers,imports:n})},kb=new ae("Application Initializer"),Db=(Tb.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();Vd(i)&&e.push(i)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},Tb=e([oc(),t(0,_(kb)),t(0,b()),n("design:paramtypes",[Array])],Tb));function Tb(e){var n=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,t){n.resolve=e,n.reject=t})}var Ib=new ae("AppId");function Pb(){return""+Mb()+Mb()+Mb()}var Ab={provide:Ib,useFactory:Pb,deps:[]};function Mb(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Rb=new ae("Platform Initializer"),Nb=new ae("Platform ID"),jb=new ae("appBootstrapListener"),Fb=new ae("Application Packages Root URL"),Lb=(Vb.prototype.log=function(e){console.log(e)},Vb.prototype.warn=function(e){console.warn(e)},Vb=e([oc()],Vb));function Vb(){}var Bb,Ub=new ae("LocaleId"),zb=new ae("Translations"),qb=new ae("TranslationsFormat");(Bb=N.MissingTranslationStrategy||(N.MissingTranslationStrategy={}))[Bb.Error=0]="Error",Bb[Bb.Warning=1]="Warning";Bb[Bb.Ignore=2]="Ignore",Bb[Bb.Ignore=2]="Ignore";var Hb=function(e,t){this.ngModuleFactory=e,this.componentFactories=t};function Wb(){throw new Error("Runtime compiler is not loaded")}function Gb(e){return new Rg(e)}function Yb(e){var t=Gb(e),n=ur(mt(e).declarations).reduce(function(e,t){var n=pt(t);return n&&e.push(new Sy(n)),e},[]);return new Hb(t,n)}var Kb=Wb,Zb=Wb,Qb=Wb,Xb=Wb,$b=(Jb.prototype.clearCache=function(){},Jb.prototype.clearCacheFor=function(e){},Jb.prototype.getModuleId=function(e){},Jb=e([oc()],Jb));function Jb(){this.compileModuleSync=Kb,this.compileModuleAsync=Zb,this.compileModuleAndAllComponentsSync=Qb,this.compileModuleAndAllComponentsAsync=Xb}function ew(){}var tw,nw,rw=new ae("compilerOptions");function iw(){var e=Q.wtf;return!(!e||!(tw=e.trace))&&(nw=tw.events,!0)}function ow(e,t){return void 0===t&&(t=null),nw.createScope(e,t)}function aw(e,t){return tw.leaveScope(e,t),t}function sw(e,t){return tw.beginTimeRange(e,t)}function lw(e){tw.endTimeRange(e)}var uw=iw();function cw(e,t){return null}var pw=uw?ow:function(e,t){return cw},dw=uw?aw:function(e,t){return t},hw=uw?sw:function(e,t){return null},fw=uw?lw:function(e){return null},mw=Promise.resolve(0);function vw(e){"undefined"==typeof Zone?mw.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var yw=(gw.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},gw.assertInAngularZone=function(){if(!gw.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},gw.assertNotInAngularZone=function(){if(gw.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},gw.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},gw.prototype.runTask=function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,bw,_w,_w);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}},gw.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},gw.prototype.runOutsideAngular=function(e){return this._outer.run(e)},gw);function gw(e){var t=e.enableLongStackTrace,n=void 0!==t&&t;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new t_(!1),this.onMicrotaskEmpty=new t_(!1),this.onStable=new t_(!1),this.onError=new t_(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.wtfZoneSpec&&(r._inner=r._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),function(s){s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,t,n,r,i,o){try{return xw(s),e.invokeTask(n,r,i,o)}finally{Cw(s)}},onInvoke:function(e,t,n,r,i,o,a){try{return xw(s),e.invoke(n,r,i,o,a)}finally{Cw(s)}},onHasTask:function(e,t,n,r){e.hasTask(n,r),t===n&&("microTask"==r.change?(s.hasPendingMicrotasks=r.microTask,ww(s)):"macroTask"==r.change&&(s.hasPendingMacrotasks=r.macroTask))},onHandleError:function(e,t,n,r){return e.handleError(n,r),s.runOutsideAngular(function(){return s.onError.emit(r)}),!1}})}(r)}function _w(){}var bw={};function ww(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function xw(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Cw(e){e._nesting--,ww(e)}var Sw=(Ew.prototype.run=function(e,t,n){return e.apply(t,n)},Ew.prototype.runGuarded=function(e,t,n){return e.apply(t,n)},Ew.prototype.runOutsideAngular=function(e){return e()},Ew.prototype.runTask=function(e,t,n,r){return e.apply(t,n)},Ew);function Ew(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new t_,this.onMicrotaskEmpty=new t_,this.onStable=new t_,this.onError=new t_}var Ow=(kw.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){yw.assertNotInAngularZone(),vw(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},kw.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},kw.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},kw.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},kw.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())vw(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var n=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(n)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},kw.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]},kw.prototype.addCallback=function(e,t,n){var r=this,i=-1;t&&0<t&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==i}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},kw.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},kw.prototype.getPendingRequestCount=function(){return this._pendingCount},kw.prototype.findProviders=function(e,t,n){return[]},kw=e([oc(),n("design:paramtypes",[yw])],kw));function kw(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}var Dw=(Tw.prototype.registerApplication=function(e,t){this._applications.set(e,t)},Tw.prototype.unregisterApplication=function(e){this._applications.delete(e)},Tw.prototype.unregisterAllApplications=function(){this._applications.clear()},Tw.prototype.getTestability=function(e){return this._applications.get(e)||null},Tw.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},Tw.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},Tw.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Aw.findTestabilityInTree(this,e,t)},Tw=e([oc(),n("design:paramtypes",[])],Tw));function Tw(){this._applications=new Map,Aw.addToWindow(this)}function Iw(){}var Pw,Aw=new(Iw.prototype.addToWindow=function(e){},Iw.prototype.findTestabilityInTree=function(e,t,n){return null},Iw),Mw=function(e,t,n){return e.get(ew).createCompiler([t]).compileModuleAsync(n)};var Rw=function(){},Nw=function(e){return e instanceof Lf};function jw(e,t){this.name=e,this.token=t}var Fw=new ae("AllowMultipleToken");function Lw(e){if(Pw&&!Pw.destroyed&&!Pw.injector.get(Fw,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Rw(),Pw=e.get(zw);var t=e.get(Rb,null);return t&&t.forEach(function(e){return e()}),Pw}function Vw(r,e,i){void 0===i&&(i=[]);var o="Platform: "+e,a=new ae(o);return function(e){void 0===e&&(e=[]);var t=Uw();if(!t||t.injector.get(Fw,!1))if(r)r(i.concat(e).concat({provide:a,useValue:!0}));else{var n=i.concat(e).concat({provide:a,useValue:!0},{provide:lc,useValue:"platform"});Lw(Cc.create({providers:n,name:o}))}return Bw(a)}}function Bw(e){var t=Uw();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Uw(){return Pw&&!Pw.destroyed?Pw:null}var zw=(qw.prototype.bootstrapModuleFactory=function(r,e){var i=this,o=function(e){return"noop"===e?new Sw:("zone.js"===e?void 0:e)||new yw({enableLongStackTrace:ho()})}(e?e.ngZone:void 0),a=[{provide:yw,useValue:o}];return o.run(function(){var e=Cc.create({providers:a,parent:i.injector,name:r.moduleType.name}),t=r.create(e),n=t.injector.get(Bi,null);if(!n)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return t.onDestroy(function(){return Kw(i._modules,t)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){n.handleError(e)}})}),function(t,n,e){try{var r=e();return Vd(r)?r.catch(function(e){throw n.runOutsideAngular(function(){return t.handleError(e)}),e}):r}catch(e){throw n.runOutsideAngular(function(){return t.handleError(e)}),e}}(n,o,function(){var e=t.injector.get(Db);return e.runInitializers(),e.donePromise.then(function(){return i._moduleDoBootstrap(t),t})})})},qw.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=Hw({},t);return Mw(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},qw.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Gw);if(0<e._bootstrapComponents.length)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+V(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},qw.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(qw.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),qw.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(qw.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),qw=e([oc(),n("design:paramtypes",[Cc])],qw));function qw(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}function Hw(e,t){return e=Array.isArray(t)?t.reduce(Hw,e):l(l({},e),t)}var Ww,Gw=((Ww=Yw).prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Df?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=Nw(n)?void 0:this._injector.get(Re),o=t||n.selector,a=n.create(Cc.NULL,[],o,i);a.onDestroy(function(){r._unloadComponent(a)});var s=a.injector.get(Ow,null);return s&&a.injector.get(Dw).registerApplication(a.location.nativeElement,s),this._loadComponent(a),ho()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a},Yw.prototype.tick=function(){var t,e,n,r,i=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var o=Ww._tickScope();try{this._runningTick=!0;try{for(var a=y(this._views),s=a.next();!s.done;s=a.next())s.value.detectChanges()}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}if(this._enforceNoNewChanges)try{for(var l=y(this._views),u=l.next();!u.done;u=l.next())u.value.checkNoChanges()}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}catch(e){this._zone.runOutsideAngular(function(){return i._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,dw(o)}},Yw.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},Yw.prototype.detachView=function(e){var t=e;Kw(this._views,t),t.detachFromAppRef()},Yw.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(jb,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},Yw.prototype._unloadComponent=function(e){this.detachView(e.hostView),Kw(this.components,e)},Yw.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(Yw.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),Yw._tickScope=pw("ApplicationRef#tick()"),Yw=Ww=e([oc(),n("design:paramtypes",[yw,Lb,Cc,Bi,Mf,Db])],Yw));function Yw(e,t,n,r,i,o){var a=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ho(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new u.Observable(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),l=new u.Observable(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){yw.assertNotInAngularZone(),vw(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){yw.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=u.merge(s,l.pipe(c.share()))}function Kw(e,t){var n=e.indexOf(t);-1<n&&e.splice(n,1)}function Zw(){}function Qw(e){var t=Dg(e);if(!t)throw $w(e);return t}var Xw=Qw;function $w(e){return new Error("No module with ID "+e+" loaded")}function Jw(){}var ex={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},tx=(nx.prototype.load=function(e){return this._compiler instanceof $b?this.loadFactory(e):this.loadAndCompile(e)},nx.prototype.loadAndCompile=function(e){var t=this,n=j(e.split("#"),2),r=n[0],i=n[1];return void 0===i&&(i="default"),System.import(r).then(function(e){return e[i]}).then(function(e){return rx(e,r,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})},nx.prototype.loadFactory=function(e){var t=j(e.split("#"),2),n=t[0],r=t[1],i="NgFactory";return void 0===r&&(r="default",i=""),System.import(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(e){return e[r+i]}).then(function(e){return rx(e,n,r)})},nx=e([oc(),t(1,b()),n("design:paramtypes",[$b,Jw])],nx));function nx(e,t){this._compiler=e,this._config=t||ex}function rx(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var ix,ox=(p(ax,ix=Mu),ax);function ax(){return null!==ix&&ix.apply(this,arguments)||this}var sx,lx=(p(ux,sx=ox),ux);function ux(){return null!==sx&&sx.apply(this,arguments)||this}var cx=function(e,t){this.name=e,this.callback=t},px=(Object.defineProperty(dx.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(dx.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(dx.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(dx.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(dx.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),dx);function dx(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof fx&&t.addChild(this)}var hx,fx=(p(mx,hx=px),mx.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},mx.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},mx.prototype.insertChildrenAfter=function(t,e){var n,r=this,i=this.childNodes.indexOf(t);-1!==i&&((n=this.childNodes).splice.apply(n,O([i+1,0],e)),e.forEach(function(e){e.parent&&e.parent.removeChild(e),t.parent=r}))},mx.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),(t.parent=this).childNodes.splice(n,0,t))},mx.prototype.query=function(e){return this.queryAll(e)[0]||null},mx.prototype.queryAll=function(e){var t=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof fx&&(n(e)&&r.push(e),t(e,n,r))})}(this,e,t),t},mx.prototype.queryAllNodes=function(e){var t=[];return function t(e,n,r){e instanceof fx&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof fx&&t(e,n,r)})}(this,e,t),t},Object.defineProperty(mx.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof mx})},enumerable:!0,configurable:!0}),mx.prototype.triggerEventHandler=function(t,n){this.listeners.forEach(function(e){e.name==t&&e.callback(n)})},mx);function mx(e,t,n){var r=hx.call(this,e,t,n)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=e,r}var vx=(Object.defineProperty(yx.prototype,"parent",{get:function(){var e=this.nativeNode.parentNode;return e?new _x(e):null},enumerable:!0,configurable:!0}),Object.defineProperty(yx.prototype,"injector",{get:function(){return Hh(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(yx.prototype,"componentInstance",{get:function(){var e=this.nativeNode;return e&&(Bh(e)||zh(e))},enumerable:!0,configurable:!0}),Object.defineProperty(yx.prototype,"context",{get:function(){return Bh(this.nativeNode)||Uh(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(yx.prototype,"listeners",{get:function(){return Qh(this.nativeNode).filter(Zh)},enumerable:!0,configurable:!0}),Object.defineProperty(yx.prototype,"references",{get:function(){return Yh(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(yx.prototype,"providerTokens",{get:function(){return function(e){var t=Gh(e,!1);if(null===t)return[];for(var n,r=t.lView[yt],i=r.data[t.nodeIndex],o=[],a=65535&i.providerIndexes,s=i.directiveEnd,l=a;l<s;l++){var u=r.data[l];void 0!==(n=u).type&&void 0!==n.template&&void 0!==n.declaredInputs&&(u=u.type),o.push(u)}return o}(this.nativeNode)},enumerable:!0,configurable:!0}),yx);function yx(e){this.nativeNode=e}var gx,_x=(p(bx,gx=vx),Object.defineProperty(bx.prototype,"nativeElement",{get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null},enumerable:!0,configurable:!0}),Object.defineProperty(bx.prototype,"name",{get:function(){try{var e=Gh(this.nativeNode);return e.lView[yt].data[e.nodeIndex].tagName}catch(e){return this.nativeNode.nodeName}},enumerable:!0,configurable:!0}),Object.defineProperty(bx.prototype,"properties",{get:function(){var e=Gh(this.nativeNode,!1);if(null==e)return{};var t=e.lView,n=t[yt].data,r=function(e,t,n){var r={},i=e.propertyBindings;if(null!==i)for(var o=0;o<i.length;o++){var a=i[o],s=n[a].split(lr),l=s[0];if(1<s.length){for(var u=s[1],c=1;c<s.length-1;c++)u+=nr(t[a+c-1])+s[c+1];r[l]=u}else r[l]=t[a]}return r}(n[e.nodeIndex],t,n),i=function(e){var t,n,r=e.classes,i="";try{for(var o=y(Object.keys(r)),a=o.next();!a.done;a=o.next()){var s=a.value;r[s]&&(i=i?i+" "+s:s)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return i}(this);return i&&(r.className=r.className?r.className+" "+i:i),r},enumerable:!0,configurable:!0}),Object.defineProperty(bx.prototype,"attributes",{get:function(){var e={},t=this.nativeElement;if(!t)return e;var n=Gh(t,!1);if(null==n)return{};var r=n.lView[yt].data[n.nodeIndex].attrs,i=[];if(r)for(var o=0;o<r.length;){var a=r[o];if("string"!=typeof a)break;var s=r[o+1];e[a]=s,i.push(a.toLowerCase()),o+=2}var l=t.attributes;for(o=0;o<l.length;o++){var u=l[o];-1===i.indexOf(u.name)&&(e[u.name]=u.value)}return e},enumerable:!0,configurable:!0}),Object.defineProperty(bx.prototype,"styles",{get:function(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}},enumerable:!0,configurable:!0}),Object.defineProperty(bx.prototype,"classes",{get:function(){if(!this._classesProxy){var r=this.nativeElement;this._classesProxy=function(e){var t=Q;if(!t.Proxy)throw new Error("Proxy is not supported in this browser");return new t.Proxy({},e)}({get:function(e,t){return!!r&&r.classList.contains(t)},set:function(e,t,n){return!!r&&r.classList.toggle(t,!!n)},ownKeys:function(){return r?Array.from(r.classList).sort():[]},getOwnPropertyDescriptor:function(e){return{enumerable:!0,configurable:!0}}})}return this._classesProxy},enumerable:!0,configurable:!0}),Object.defineProperty(bx.prototype,"childNodes",{get:function(){for(var e=this.nativeNode.childNodes,t=[],n=0;n<e.length;n++){var r=e[n];t.push(kx(r))}return t},enumerable:!0,configurable:!0}),Object.defineProperty(bx.prototype,"children",{get:function(){var e=this.nativeElement;if(!e)return[];for(var t=e.children,n=[],r=0;r<t.length;r++){var i=t[r];n.push(kx(i))}return n},enumerable:!0,configurable:!0}),bx.prototype.query=function(e){return this.queryAll(e)[0]||null},bx.prototype.queryAll=function(e){var t=[];return wx(this,e,t,!0),t},bx.prototype.queryAllNodes=function(e){var t=[];return wx(this,e,t,!1),t},bx.prototype.triggerEventHandler=function(n,r){var e=this.nativeNode,i=[];this.listeners.forEach(function(e){if(e.name===n){var t=e.callback;t(r),i.push(t)}}),"function"==typeof e.eventListeners&&e.eventListeners(n).forEach(function(e){var t=e(Function);return-1===i.indexOf(t)&&t(r)})},bx);function bx(e){return ngDevMode&&Ke(e),gx.call(this,e)||this}function wx(e,t,n,r){var i=Gh(e.nativeNode);xx(i.lView[yt].data[i.nodeIndex],i.lView,t,n,r,e.nativeNode)}function xx(e,t,n,r,i,o){var a,s,l=ti(e,t);if(3===e.type||4===e.type){if(Sx(l,n,r,i,o),Wt(e))(p=ii(e.index,t))&&p[yt].firstChild&&xx(p[yt].firstChild,p,n,r,i,o);else e.child&&xx(e.child,t,n,r,i,o),l&&function e(t,n,r,i){var o=t.childNodes;var a=o.length;for(var s=0;s<a;s++){var l=o[s],u=Dx(l);u&&(i&&u instanceof _x&&n(u)&&-1===r.indexOf(u)?r.push(u):!i&&n(u)&&-1===r.indexOf(u)&&r.push(u),e(l,n,r,i))}}(l,n,r,i);var u=t[e.index];qt(u)&&Cx(u,n,r,i,o)}else if(0===e.type){var c=t[e.index];Sx(c[Vt],n,r,i,o),Cx(c,n,r,i,o)}else if(1===e.type){var p,d=(p=pi(t))[xt].projection[e.projection];if(Array.isArray(d))try{for(var h=y(d),f=h.next();!f.done;f=h.next()){Sx(f.value,n,r,i,o)}}catch(e){a={error:e}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}else if(d){var m,v=p[_t];xx(m=v[yt].data[d.index],v,n,r,i,o)}}else e.child&&xx(e.child,t,n,r,i,o);o!==l&&(m=4&e.flags?e.projectionNext:e.next)&&xx(m,t,n,r,i,o)}function Cx(e,t,n,r,i){for(var o=Ut;o<e.length;o++){var a=e[o];xx(a[yt].node,a,t,n,r,i)}}function Sx(e,t,n,r,i){if(i!==e){var o=Dx(e);if(!o)return;r&&o instanceof _x&&t(o)&&-1===n.indexOf(o)?n.push(o):!r&&t(o)&&-1===n.indexOf(o)&&n.push(o)}}var Ex=new Map;var Ox="__ng_debug__";function kx(e){return e instanceof Node?(e.hasOwnProperty(Ox)||(e[Ox]=e.nodeType==Node.ELEMENT_NODE?new _x(e):new vx(e)),e[Ox]):null}var Dx=function(e){return Ex.get(e)||null};function Tx(e){Ex.set(e.nativeNode,e)}var Ix=px,Px=fx,Ax=Vw(null,"core",[{provide:Nb,useValue:"unknown"},{provide:zw,deps:[Cc]},{provide:Dw,deps:[]},{provide:Lb,deps:[]}]);function Mx(){return xm}function Rx(){return Cm}function Nx(e){return e||(ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:Ny)}var jx=[{provide:Gw,useClass:Gw,deps:[yw,Lb,Cc,Bi,Mf,Db]},{provide:xy,deps:[yw],useFactory:Fx},{provide:Db,useClass:Db,deps:[[new b,kb]]},{provide:$b,useClass:$b,deps:[]},Ab,{provide:ym,useFactory:Mx,deps:[]},{provide:_m,useFactory:Rx,deps:[]},{provide:Ub,useFactory:Nx,deps:[[new _(Ub),new b,new x]]}];function Fx(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}var Lx,Vx,Bx=Ux=e([Sb({providers:jx}),n("design:paramtypes",[Gw])],Ux);function Ux(e){}function zx(e,t,n){var r,i=n.element,o=e.root.selectorOrNode,a=e.renderer;if(e.parent||!o){r=i.name?a.createElement(i.name,i.ns):a.createComment("");var s=uv(e,t,n);s&&a.appendChild(s,r)}else{var l=!!i.componentRendererType&&i.componentRendererType.encapsulation===N.ViewEncapsulation.ShadowDom;r=a.selectRootElement(o,l)}if(i.attrs)for(var u=0;u<i.attrs.length;u++){var c=j(i.attrs[u],3),p=c[0],d=c[1],h=c[2];a.setAttribute(r,d,h,p)}return r}function qx(e,t,n,r){for(var i=0;i<n.outputs.length;i++){var o=n.outputs[i],a=Hx(e,n.nodeIndex,(c=o.target,p=o.eventName,c?c+":"+p:p)),s=o.target,l=e;"component"===o.target&&(s=null,l=t);var u=l.renderer.listen(s||r,o.eventName,a);e.disposables[n.outputIndex+i]=u}var c,p}function Hx(t,n,r){return function(e){return tv(t,n,r,e)}}function Wx(e,t,n,r){if(!Xm(e,t,n,r))return!1;var i=t.bindings[n],o=Lm(e,t.nodeIndex),a=o.renderElement,s=i.name;switch(15&i.flags){case 1:!function(e,t,n,r,i,o){var a=t.securityContext,s=a?e.root.sanitizer.sanitize(a,o):o;s=null!=s?s.toString():null;var l=e.renderer;null!=o?l.setAttribute(n,i,s,r):l.removeAttribute(n,i,r)}(e,i,a,i.ns,s,r);break;case 2:!function(e,t,n,r){var i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,a,s,r);break;case 4:!function(e,t,n,r,i){var o=e.root.sanitizer.sanitize(N.SecurityContext.STYLE,i);if(null!=o){o=o.toString();var a=t.suffix;null!=a&&(o+=a)}else o=null;var s=e.renderer;null!=o?s.setStyle(n,r,o):s.removeStyle(n,r)}(e,i,a,s,r);break;case 8:!function(e,t,n,r,i){var o=t.securityContext,a=o?e.root.sanitizer.sanitize(o,i):i;e.renderer.setProperty(n,r,a)}(33554432&t.flags&&32&i.flags?o.componentView:e,i,a,s,r)}return!0}function Gx(e){for(var t,n=e.def.nodeMatchedQueries;e.parent&&((t=e).parent&&!(32768&t.parentNodeDef.flags));){var r=e.parentNodeDef;e=e.parent;for(var i=r.nodeIndex+r.childCount,o=0;o<=i;o++){67108864&(a=e.def.nodes[o]).flags&&536870912&a.flags&&(a.query.filterId&n)===a.query.filterId&&Um(e,o).setDirty(),!(1&a.flags&&o+a.childCount<r.nodeIndex)&&67108864&a.childFlags&&536870912&a.childFlags||(o+=a.childCount)}}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var a;134217728&(a=e.def.nodes[o]).flags&&536870912&a.flags&&Um(e,o).setDirty(),o+=a.childCount}}function Yx(e,t){var n=Um(e,t.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&t.flags){var o=t.parent.parent;i=Kx(e,o.nodeIndex,o.nodeIndex+o.childCount,t.query,[]),r=Vm(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=Kx(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i);for(var a=t.query.bindings,s=!1,l=0;l<a.length;l++){var u=a[l],c=void 0;switch(u.bindingType){case 0:c=n.first;break;case 1:c=n,s=!0}r[u.propName]=c}s&&n.notifyOnChanges()}}function Kx(e,t,n,r,i){for(var o=t;o<=n;o++){var a=e.def.nodes[o],s=a.matchedQueries[r.id];if(null!=s&&i.push(Zx(e,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var l=Lm(e,o);if((a.childMatchedQueries&r.filterId)===r.filterId&&(Kx(e,o+1,o+a.childCount,r,i),o+=a.childCount),16777216&a.flags)for(var u=l.viewContainer._embeddedViews,c=0;c<u.length;c++){var p=u[c],d=nv(p);d&&d===l&&Kx(p,0,p.def.nodes.length-1,r,i)}var h=l.template._projectedViews;if(h)for(c=0;c<h.length;c++){var f=h[c];Kx(f,0,f.def.nodes.length-1,r,i)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(o+=a.childCount)}return i}function Zx(e,t,n){if(null!=n)switch(n){case 1:return Lm(e,t.nodeIndex).renderElement;case 0:return new Uf(Lm(e,t.nodeIndex).renderElement);case 2:return Lm(e,t.nodeIndex).template;case 3:return Lm(e,t.nodeIndex).viewContainer;case 4:return Vm(e,t.nodeIndex).instance}}function Qx(e,t,n){for(var r=[],i=0;i<n.length;i++){var o=n[i];r.push({flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:_v(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Xx(e,t,n){var r,i=e.renderer;r=i.createText(n.text.prefix);var o=uv(e,t,n);return o&&i.appendChild(o,r),{renderText:r}}function $x(e,t){return(null!=e?e.toString():"")+t.suffix}function Jx(e){return 0!=(1&e.flags)&&null===e.element.name}function eC(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function tC(e,t,n,r){var i=iC(e.root,e.renderer,e,t,n);return oC(i,e.component,r),aC(i),i}function nC(e,t,n){var r=iC(e,e.renderer,null,null,t);return oC(r,n,n),aC(r),r}function rC(e,t,n,r){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,iC(e.root,i,e,t.element.componentProvider,n)}function iC(e,t,n,r,i){var o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function oC(e,t,n){e.component=t,e.context=n}function aC(e){var t;if(ov(e)){var n=e.parentNodeDef;t=Lm(e.parent,n.parent.nodeIndex).renderElement}for(var r,i,o,a,s,l=e.def,u=e.nodes,c=0;c<l.nodes.length;c++){var p=l.nodes[c];qm.setCurrentNode(e,c);var d=void 0;switch(201347067&p.flags){case 1:var h=zx(e,t,p),f=void 0;if(33554432&p.flags){var m=pv(p.element.componentView);f=qm.createComponentView(e,p,m,h)}qx(e,f,p,h),d={renderElement:h,componentView:f,viewContainer:null,template:p.element.template?(a=e,s=p,new Hv(a,s)):void 0},16777216&p.flags&&(d.viewContainer=new Vv(e,p,d));break;case 2:d=Xx(e,t,p);break;case 512:case 1024:case 2048:case 256:if(!((d=u[c])||4096&p.flags))d={instance:uy(e,p)};break;case 16:d={instance:ay(e,p)};break;case 16384:if(!(d=u[c]))d={instance:sy(e,p)};if(32768&p.flags)oC(Lm(e,p.parent.nodeIndex).componentView,d.instance,d.instance);break;case 32:case 64:case 128:d={value:void 0};break;case 67108864:case 134217728:d=new i_;break;case 8:void 0,(o=uv(r=e,t,i=p))&&fv(r,i.ngContent.index,1,o,null,void 0),d=void 0}u[c]=d}fC(e,Lx.CreateViewNodes),gC(e,201326592,268435456,0)}function sC(e){cC(e),qm.updateDirectives(e,1),mC(e,Lx.CheckNoChanges),qm.updateRenderer(e,1),fC(e,Lx.CheckNoChanges),e.state&=-97}function lC(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Nm(e,0,256),cC(e),qm.updateDirectives(e,0),mC(e,Lx.CheckAndUpdate),gC(e,67108864,536870912,0);var t=Nm(e,256,512);my(e,2097152|(t?1048576:0)),qm.updateRenderer(e,0),fC(e,Lx.CheckAndUpdate),gC(e,134217728,536870912,0),my(e,8388608|((t=Nm(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Nm(e,768,1024)}function uC(e,t,n,r,i,o,a,s,l,u,c,p,d){return 0===n?function(e,t,n,r,i,o,a,s,l,u,c,p){switch(201347067&t.flags){case 1:return function(e,t,n,r,i,o,a,s,l,u,c,p){var d=t.bindings.length,h=!1;return 0<d&&Wx(e,t,0,n)&&(h=!0),1<d&&Wx(e,t,1,r)&&(h=!0),2<d&&Wx(e,t,2,i)&&(h=!0),3<d&&Wx(e,t,3,o)&&(h=!0),4<d&&Wx(e,t,4,a)&&(h=!0),5<d&&Wx(e,t,5,s)&&(h=!0),6<d&&Wx(e,t,6,l)&&(h=!0),7<d&&Wx(e,t,7,u)&&(h=!0),8<d&&Wx(e,t,8,c)&&(h=!0),9<d&&Wx(e,t,9,p)&&(h=!0),h}(e,t,n,r,i,o,a,s,l,u,c,p);case 2:return function(e,t,n,r,i,o,a,s,l,u,c,p){var d=!1,h=t.bindings,f=h.length;if(0<f&&Xm(e,t,0,n)&&(d=!0),1<f&&Xm(e,t,1,r)&&(d=!0),2<f&&Xm(e,t,2,i)&&(d=!0),3<f&&Xm(e,t,3,o)&&(d=!0),4<f&&Xm(e,t,4,a)&&(d=!0),5<f&&Xm(e,t,5,s)&&(d=!0),6<f&&Xm(e,t,6,l)&&(d=!0),7<f&&Xm(e,t,7,u)&&(d=!0),8<f&&Xm(e,t,8,c)&&(d=!0),9<f&&Xm(e,t,9,p)&&(d=!0),d){var m=t.text.prefix;0<f&&(m+=$x(n,h[0])),1<f&&(m+=$x(r,h[1])),2<f&&(m+=$x(i,h[2])),3<f&&(m+=$x(o,h[3])),4<f&&(m+=$x(a,h[4])),5<f&&(m+=$x(s,h[5])),6<f&&(m+=$x(l,h[6])),7<f&&(m+=$x(u,h[7])),8<f&&(m+=$x(c,h[8])),9<f&&(m+=$x(p,h[9]));var v=Fm(e,t.nodeIndex).renderText;e.renderer.setValue(v,m)}return d}(e,t,n,r,i,o,a,s,l,u,c,p);case 16384:return function(e,t,n,r,i,o,a,s,l,u,c,p){var d=Vm(e,t.nodeIndex),h=d.instance,f=!1,m=void 0,v=t.bindings.length;return 0<v&&Qm(e,t,0,n)&&(f=!0,m=fy(e,d,t,0,n,m)),1<v&&Qm(e,t,1,r)&&(f=!0,m=fy(e,d,t,1,r,m)),2<v&&Qm(e,t,2,i)&&(f=!0,m=fy(e,d,t,2,i,m)),3<v&&Qm(e,t,3,o)&&(f=!0,m=fy(e,d,t,3,o,m)),4<v&&Qm(e,t,4,a)&&(f=!0,m=fy(e,d,t,4,a,m)),5<v&&Qm(e,t,5,s)&&(f=!0,m=fy(e,d,t,5,s,m)),6<v&&Qm(e,t,6,l)&&(f=!0,m=fy(e,d,t,6,l,m)),7<v&&Qm(e,t,7,u)&&(f=!0,m=fy(e,d,t,7,u,m)),8<v&&Qm(e,t,8,c)&&(f=!0,m=fy(e,d,t,8,c,m)),9<v&&Qm(e,t,9,p)&&(f=!0,m=fy(e,d,t,9,p,m)),m&&h.ngOnChanges(m),65536&t.flags&&jm(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),f}(e,t,n,r,i,o,a,s,l,u,c,p);case 32:case 64:case 128:return function(e,t,n,r,i,o,a,s,l,u,c,p){var d=t.bindings,h=!1,f=d.length;if(0<f&&Xm(e,t,0,n)&&(h=!0),1<f&&Xm(e,t,1,r)&&(h=!0),2<f&&Xm(e,t,2,i)&&(h=!0),3<f&&Xm(e,t,3,o)&&(h=!0),4<f&&Xm(e,t,4,a)&&(h=!0),5<f&&Xm(e,t,5,s)&&(h=!0),6<f&&Xm(e,t,6,l)&&(h=!0),7<f&&Xm(e,t,7,u)&&(h=!0),8<f&&Xm(e,t,8,c)&&(h=!0),9<f&&Xm(e,t,9,p)&&(h=!0),h){var m=Bm(e,t.nodeIndex),v=void 0;switch(201347067&t.flags){case 32:v=[],0<f&&v.push(n),1<f&&v.push(r),2<f&&v.push(i),3<f&&v.push(o),4<f&&v.push(a),5<f&&v.push(s),6<f&&v.push(l),7<f&&v.push(u),8<f&&v.push(c),9<f&&v.push(p);break;case 64:v={},0<f&&(v[d[0].name]=n),1<f&&(v[d[1].name]=r),2<f&&(v[d[2].name]=i),3<f&&(v[d[3].name]=o),4<f&&(v[d[4].name]=a),5<f&&(v[d[5].name]=s),6<f&&(v[d[6].name]=l),7<f&&(v[d[7].name]=u),8<f&&(v[d[8].name]=c),9<f&&(v[d[9].name]=p);break;case 128:var y=n;switch(f){case 1:v=y.transform(n);break;case 2:v=y.transform(r);break;case 3:v=y.transform(r,i);break;case 4:v=y.transform(r,i,o);break;case 5:v=y.transform(r,i,o,a);break;case 6:v=y.transform(r,i,o,a,s);break;case 7:v=y.transform(r,i,o,a,s,l);break;case 8:v=y.transform(r,i,o,a,s,l,u);break;case 9:v=y.transform(r,i,o,a,s,l,u,c);break;case 10:v=y.transform(r,i,o,a,s,l,u,c,p)}}m.value=v}return h}(e,t,n,r,i,o,a,s,l,u,c,p);default:throw"unreachable"}}(e,t,r,i,o,a,s,l,u,c,p,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,i=0;i<n.length;i++)Wx(e,t,i,n[i])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,i=!1,o=0;o<n.length;o++)Xm(e,t,o,n[o])&&(i=!0);if(i){var a="";for(o=0;o<n.length;o++)a+=$x(n[o],r[o]);a=t.text.prefix+a;var s=Fm(e,t.nodeIndex).renderText;e.renderer.setValue(s,a)}return i}(e,t,n);case 16384:return function(e,t,n){for(var r=Vm(e,t.nodeIndex),i=r.instance,o=!1,a=void 0,s=0;s<n.length;s++)Qm(e,t,s,n[s])&&(o=!0,a=fy(e,r,t,s,n[s],a));return a&&i.ngOnChanges(a),65536&t.flags&&jm(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,i=!1,o=0;o<n.length;o++)Xm(e,t,o,n[o])&&(i=!0);if(i){var a=Bm(e,t.nodeIndex),s=void 0;switch(201347067&t.flags){case 32:s=n;break;case 64:s={};for(o=0;o<n.length;o++)s[r[o].name]=n[o];break;case 128:var l=n[0],u=n.slice(1);s=l.transform.apply(l,O(u))}a.value=s}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function cC(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var i=Lm(e,n).template._projectedViews;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.state|=32,ev(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function pC(e,t,n,r,i,o,a,s,l,u,c,p,d){return 0===n?function(e,t,n,r,i,o,a,s,l,u,c,p){var d=t.bindings.length;0<d&&$m(e,t,0,n);1<d&&$m(e,t,1,r);2<d&&$m(e,t,2,i);3<d&&$m(e,t,3,o);4<d&&$m(e,t,4,a);5<d&&$m(e,t,5,s);6<d&&$m(e,t,6,l);7<d&&$m(e,t,7,u);8<d&&$m(e,t,8,c);9<d&&$m(e,t,9,p)}(e,t,r,i,o,a,s,l,u,c,p,d):function(e,t,n){for(var r=0;r<n.length;r++)$m(e,t,r,n[r])}(e,t,r),!1}function dC(e,t){if(Um(e,t.nodeIndex).dirty)throw Am(qm.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function hC(e){if(!(128&e.state)){if(mC(e,Lx.Destroy),fC(e,Lx.Destroy),my(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=nv(e);if(t){var n=t.template._projectedViews;n&&(Ve(n,n.indexOf(e)),qm.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Lm(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Fm(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Um(e,n).destroy()}}(e),ov(e)&&e.renderer.destroy(),e.state|=128}}function fC(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?vC(Lm(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function mC(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var o=Lm(e,r).viewContainer._embeddedViews,a=0;a<o.length;a++)vC(o[a],t);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function vC(e,t){var n=e.state;switch(t){case Lx.CheckNoChanges:0==(128&n)&&(12==(12&n)?sC(e):64&n&&yC(e,Lx.CheckNoChangesProjectedViews));break;case Lx.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?sC(e):64&n&&yC(e,t));break;case Lx.CheckAndUpdate:0==(128&n)&&(12==(12&n)?lC(e):64&n&&yC(e,Lx.CheckAndUpdateProjectedViews));break;case Lx.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?lC(e):64&n&&yC(e,t));break;case Lx.Destroy:hC(e);break;case Lx.CreateViewNodes:aC(e)}}function yC(e,t){mC(e,t),fC(e,t)}function gC(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var i=e.def.nodes.length,o=0;o<i;o++){var a=e.def.nodes[o];if(a.flags&t&&a.flags&n)switch(qm.setCurrentNode(e,a.nodeIndex),r){case 0:Yx(e,a);break;case 1:dC(e,a)}a.childFlags&t&&a.childFlags&n||(o+=a.childCount)}}(Vx=Lx=Lx||{})[Vx.CreateViewNodes=0]="CreateViewNodes",Vx[Vx.CheckNoChanges=1]="CheckNoChanges",Vx[Vx.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",Vx[Vx.CheckAndUpdate=3]="CheckAndUpdate",Vx[Vx.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews";var _C=!(Vx[Vx.Destroy=5]="Destroy");function bC(){if(!_C){_C=!0;var e=ho()?{setCurrentNode:HC,createRootView:xC,createEmbeddedView:SC,createComponentView:EC,createNgModuleRef:OC,overrideProvider:NC,overrideComponentView:jC,clearOverrides:FC,checkAndUpdateView:UC,checkNoChangesView:zC,destroyView:qC,createDebugContext:function(e,t){return new $C(e,t)},handleEvent:WC,updateDirectives:GC,updateRenderer:YC}:{setCurrentNode:function(){},createRootView:wC,createEmbeddedView:tC,createComponentView:rC,createNgModuleRef:Zv,overrideProvider:Hm,overrideComponentView:Hm,clearOverrides:Hm,checkAndUpdateView:lC,checkNoChangesView:sC,destroyView:hC,createDebugContext:function(e,t){return new $C(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?VC:BC,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?VC:BC,e)}};qm.setCurrentNode=e.setCurrentNode,qm.createRootView=e.createRootView,qm.createEmbeddedView=e.createEmbeddedView,qm.createComponentView=e.createComponentView,qm.createNgModuleRef=e.createNgModuleRef,qm.overrideProvider=e.overrideProvider,qm.overrideComponentView=e.overrideComponentView,qm.clearOverrides=e.clearOverrides,qm.checkAndUpdateView=e.checkAndUpdateView,qm.checkNoChangesView=e.checkNoChangesView,qm.destroyView=e.destroyView,qm.resolveDep=dy,qm.createDebugContext=e.createDebugContext,qm.handleEvent=e.handleEvent,qm.updateDirectives=e.updateDirectives,qm.updateRenderer=e.updateRenderer,qm.dirtyParentQueries=Gx}}function wC(e,t,n,r,i,o){var a=i.injector.get(Gf);return nC(CC(e,i,a,t,n),r,o)}function xC(e,t,n,r,i,o){var a=i.injector.get(Gf),s=CC(e,i,new rS(a),t,n),l=LC(r);return tS(kC.create,nC,null,[s,l,o])}function CC(e,t,n,r,i){var o=t.injector.get(Xf),a=t.injector.get(Bi),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:s,errorHandler:a}}function SC(e,t,n,r){var i=LC(n);return tS(kC.create,tC,null,[e,t,i,r])}function EC(e,t,n,r){var i=RC.get(t.element.componentProvider.provider.token);return n=i||LC(n),tS(kC.create,rC,null,[e,t,n,r])}function OC(e,t,n,r){return Zv(e,t,n,function(e){var t=function(e){var r=!1,i=!1;return 0!==AC.size&&(e.providers.forEach(function(e){var t=AC.get(e.token);3840&e.flags&&t&&(r=!0,i=i||t.deprecatedBehavior)}),e.modules.forEach(function(n){MC.forEach(function(e,t){P(t).providedIn===n&&(r=!0,i=i||e.deprecatedBehavior)})})),{hasOverrides:r,hasDeprecatedOverrides:i}}(e),n=t.hasOverrides,o=t.hasDeprecatedOverrides;return n&&function(r){for(var e=0;e<r.providers.length;e++){var t=r.providers[e];o&&(t.flags|=4096);var n=AC.get(t.token);n&&(t.flags=-3841&t.flags|n.flags,t.deps=lv(n.deps),t.value=n.value)}if(0<MC.size){var i=new Set(r.modules);MC.forEach(function(e,t){if(i.has(P(t).providedIn)){var n={token:t,flags:e.flags|(o?4096:0),deps:lv(e.deps),value:e.value,index:r.providers.length};r.providers.push(n),r.providersByKey[Gm(t)]=n}})}}(e=e.factory(function(){return Hm})),e}(r))}var kC,DC,TC,IC,PC,AC=new Map,MC=new Map,RC=new Map;function NC(e){var t;AC.set(e.token,e),"function"==typeof e.token&&(t=P(e.token))&&"function"==typeof t.providedIn&&MC.set(e.token,e)}function jC(e,t){var n=pv(pv(Av(t)).nodes[0].element.componentView);RC.set(e,n)}function FC(){AC.clear(),MC.clear(),RC.clear()}function LC(e){if(0===AC.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&AC.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Hm});for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var i=r.provider,o=AC.get(i.token);o&&(r.flags=-3841&r.flags|o.flags,i.deps=lv(o.deps),i.value=o.value)}}}}function VC(e,t,n,r,i,o,a,s,l,u,c,p,d){var h=e.def.nodes[t];return uC(e,h,n,r,i,o,a,s,l,u,c,p,d),224&h.flags?Bm(e,t).value:void 0}function BC(e,t,n,r,i,o,a,s,l,u,c,p,d){var h=e.def.nodes[t];return pC(e,h,n,r,i,o,a,s,l,u,c,p,d),224&h.flags?Bm(e,t).value:void 0}function UC(e){return tS(kC.detectChanges,lC,null,[e])}function zC(e){return tS(kC.checkNoChanges,sC,null,[e])}function qC(e){return tS(kC.destroy,hC,null,[e])}function HC(e,t){IC=e,PC=t}function WC(e,t,n,r){return HC(e,t),tS(kC.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function GC(e,a){if(128&e.state)throw Rm(kC[TC]);return HC(e,QC(e,0)),e.def.updateDirectives(function(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];var o=e.def.nodes[t];0===a?KC(e,o,n,r):ZC(e,o,n,r);16384&o.flags&&HC(e,QC(e,t));return 224&o.flags?Bm(e,o.nodeIndex).value:void 0},e)}function YC(e,a){if(128&e.state)throw Rm(kC[TC]);return HC(e,XC(e,0)),e.def.updateRenderer(function(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];var o=e.def.nodes[t];0===a?KC(e,o,n,r):ZC(e,o,n,r);3&o.flags&&HC(e,XC(e,t));return 224&o.flags?Bm(e,o.nodeIndex).value:void 0},e)}function KC(e,t,n,r){if(uC.apply(void 0,O([e,t,n],r))){var i=1===n?r[0]:r;if(16384&t.flags){for(var o={},a=0;a<t.bindings.length;a++){var s=t.bindings[a],l=i[a];8&s.flags&&(o[ra(s.nonMinifiedName)]=oa(l))}var u=t.parent,c=Lm(e,u.nodeIndex).renderElement;if(u.element.name)for(var p in o){null!=(l=o[p])?e.renderer.setAttribute(c,p,l):e.renderer.removeAttribute(c,p)}else e.renderer.setValue(c,"bindings="+JSON.stringify(o,null,2))}}}function ZC(e,t,n,r){pC.apply(void 0,O([e,t,n],r))}function QC(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function XC(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}(DC=kC=kC||{})[DC.create=0]="create",DC[DC.detectChanges=1]="detectChanges",DC[DC.checkNoChanges=2]="checkNoChanges",DC[DC.destroy=3]="destroy",DC[DC.handleEvent=4]="handleEvent";var $C=(Object.defineProperty(JC.prototype,"elOrCompView",{get:function(){return Lm(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(JC.prototype,"injector",{get:function(){return Gv(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(JC.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(JC.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(JC.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(JC.prototype,"references",{get:function(){var e={};if(this.elDef){eS(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&eS(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(JC.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!ov(e);)e=e.parent;return e.parent?Lm(e.parent,rv(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(JC.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?iv(this.view,this.nodeDef):iv(this.elView,this.elDef)},enumerable:!0,configurable:!0}),JC.prototype.logError=function(t){for(var e,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];n=2&this.nodeDef.flags?(e=this.view.def,this.nodeDef.nodeIndex):(e=this.elView.def,this.elDef.nodeIndex);var o=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(e,n),a=-1;e.factory(function(){var e;return++a===o?(e=t.error).bind.apply(e,O([t],r)):Hm}),a<o&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,O(r)))},JC);function JC(e,t){this.view=e,null==(this.nodeIndex=t)&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=rv(r),r=r.parent;this.elDef=n,this.elView=r}function eS(e,t,n){for(var r in t.references)n[r]=Zx(e,t,t.references[r])}function tS(e,t,n,r){var i=TC,o=IC,a=PC;try{TC=e;var s=t.apply(n,r);return IC=o,PC=a,TC=i,s}catch(e){if(function(e){return!!Fi(e)}(e)||!IC)throw e;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Mm(e,t),e}(e,nS())}}function nS(){return IC?new $C(IC,PC):null}var rS=(iS.prototype.createRenderer=function(e,t){return new oS(this.delegate.createRenderer(e,t))},iS.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},iS.prototype.end=function(){this.delegate.end&&this.delegate.end()},iS.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},iS);function iS(e){this.delegate=e}var oS=(aS.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},aS.prototype.destroyNode=function(e){var t=Dx(e);!function(e){Ex.delete(e.nativeNode)}(t),t instanceof px&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)},aS.prototype.destroy=function(){this.delegate.destroy()},aS.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var i=new fx(n,null,r);i.name=e,Tx(i)}return n},aS.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Tx(new px(t,null,n)),t},aS.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Tx(new px(t,null,n)),t},aS.prototype.appendChild=function(e,t){var n=Dx(e),r=Dx(t);n&&r&&n instanceof fx&&n.addChild(r),this.delegate.appendChild(e,t)},aS.prototype.insertBefore=function(e,t,n){var r=Dx(e),i=Dx(t),o=Dx(n);r&&i&&r instanceof fx&&r.insertBefore(o,i),this.delegate.insertBefore(e,t,n)},aS.prototype.removeChild=function(e,t){var n=Dx(e),r=Dx(t);n&&r&&n instanceof fx&&n.removeChild(r),this.delegate.removeChild(e,t)},aS.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=nS();return r&&Tx(new fx(n,null,r)),n},aS.prototype.setAttribute=function(e,t,n,r){var i=Dx(e);if(i&&i instanceof fx){var o=r?r+":"+t:t;i.attributes[o]=n}this.delegate.setAttribute(e,t,n,r)},aS.prototype.removeAttribute=function(e,t,n){var r=Dx(e);if(r&&r instanceof fx){var i=n?n+":"+t:t;r.attributes[i]=null}this.delegate.removeAttribute(e,t,n)},aS.prototype.addClass=function(e,t){var n=Dx(e);n&&n instanceof fx&&(n.classes[t]=!0),this.delegate.addClass(e,t)},aS.prototype.removeClass=function(e,t){var n=Dx(e);n&&n instanceof fx&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},aS.prototype.setStyle=function(e,t,n,r){var i=Dx(e);i&&i instanceof fx&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)},aS.prototype.removeStyle=function(e,t,n){var r=Dx(e);r&&r instanceof fx&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},aS.prototype.setProperty=function(e,t,n){var r=Dx(e);r&&r instanceof fx&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},aS.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=Dx(e);r&&r.listeners.push(new cx(t,n))}return this.delegate.listen(e,t,n)},aS.prototype.parentNode=function(e){return this.delegate.parentNode(e)},aS.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},aS.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},aS);function aS(e){this.delegate=e,this.debugContextFactory=nS,this.data=this.delegate.data}var sS,lS=(p(uS,sS=Ie),uS.prototype.create=function(e){bC();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:r}}(pv(this._ngModuleDefFactory));return qm.createNgModuleRef(this.moduleType,e||Cc.NULL,this._bootstrapComponents,t)},uS);function uS(e,t,n){var r=sS.call(this)||this;return r.moduleType=e,r._bootstrapComponents=t,r._ngModuleDefFactory=n,r}ngDevMode&&(Q.$localize=Q.$localize||function(){throw new Error("It looks like your application or one of its dependencies is using i18n.\nAngular 9 introduced a global `$localize()` function that needs to be loaded.\nPlease run `ng add @angular/localize` from the Angular CLI.\n(For non-CLI projects, add `import '@angular/localize/init';` to your polyfills.ts file)")}),N.ɵangular_packages_core_core_r=jx,N.ɵangular_packages_core_core_o=Mx,N.ɵangular_packages_core_core_p=Rx,N.ɵangular_packages_core_core_q=Nx,N.ɵangular_packages_core_core_s=Fx,N.ɵangular_packages_core_core_g=Pb,N.ɵangular_packages_core_core_m=tm,N.ɵangular_packages_core_core_n=dm,N.ɵangular_packages_core_core_l=fx,N.ɵangular_packages_core_core_k=px,N.ɵangular_packages_core_core_a=q,N.ɵangular_packages_core_core_c=Ee,N.ɵangular_packages_core_core_b=be,N.ɵangular_packages_core_core_d=ap,N.ɵangular_packages_core_core_e=Gc,N.ɵangular_packages_core_core_f=Jc,N.ɵangular_packages_core_core_j=Qw,N.ɵangular_packages_core_core_t=uw,N.ɵangular_packages_core_core_v=ow,N.ɵangular_packages_core_core_u=iw,N.ɵangular_packages_core_core_y=lw,N.ɵangular_packages_core_core_w=aw,N.ɵangular_packages_core_core_x=sw,N.ɵangular_packages_core_core_bb=xy,N.ɵangular_packages_core_core_bc=xi,N.ɵangular_packages_core_core_be=gn,N.ɵangular_packages_core_core_bf=On,N.ɵangular_packages_core_core_bd=hn,N.ɵangular_packages_core_core_bg=Ln,N.ɵangular_packages_core_core_bo=di,N.ɵangular_packages_core_core_h=Tu,N.ɵangular_packages_core_core_i=Iu,N.ɵangular_packages_core_core_bi=$o,N.ɵangular_packages_core_core_bn=Qe,N.ɵangular_packages_core_core_bj=o,N.ɵangular_packages_core_core_bk=a,N.ɵangular_packages_core_core_bl=E,N.ɵangular_packages_core_core_z=oy,N.ɵangular_packages_core_core_ba=zm,N.createPlatform=Lw,N.assertPlatform=Bw,N.destroyPlatform=function(){Pw&&!Pw.destroyed&&Pw.destroy()},N.getPlatform=Uw,N.PlatformRef=zw,N.ApplicationRef=Gw,N.createPlatformFactory=Vw,N.NgProbeToken=jw,N.enableProdMode=function(){if(po)throw new Error("Cannot enable prod mode after platform setup.");co=!1},N.isDevMode=ho,N.APP_ID=Ib,N.PACKAGE_ROOT_URL=Fb,N.PLATFORM_INITIALIZER=Rb,N.PLATFORM_ID=Nb,N.APP_BOOTSTRAP_LISTENER=jb,N.APP_INITIALIZER=kb,N.ApplicationInitStatus=Db,N.DebugElement=Px,N.DebugEventListener=cx,N.DebugNode=Ix,N.asNativeElements=function(e){return e.map(function(e){return e.nativeElement})},N.getDebugNode=Dx,N.Testability=Ow,N.TestabilityRegistry=Dw,N.setTestabilityGetter=function(e){Aw=e},N.TRANSLATIONS=zb,N.TRANSLATIONS_FORMAT=qb,N.LOCALE_ID=Ub,N.ApplicationModule=Bx,N.wtfCreateScope=pw,N.wtfLeave=dw,N.wtfStartTimeRange=hw,N.wtfEndTimeRange=fw,N.Type=Lu,N.EventEmitter=t_,N.ErrorHandler=Bi,N.Sanitizer=Xf,N.Attribute=S,N.ANALYZE_FOR_ENTRY_COMPONENTS=up,N.ContentChild=pp,N.ContentChildren=cp,N.Query=lp,N.ViewChild=hp,N.ViewChildren=dp,N.Component=db,N.Directive=pb,N.HostBinding=vb,N.HostListener=yb,N.Input=fb,N.Output=mb,N.Pipe=hb,N.NgModule=Sb,N.CUSTOM_ELEMENTS_SCHEMA=zi,N.NO_ERRORS_SCHEMA=qi,N.Version=Jf,N.VERSION=em,N.ɵɵdefineInjectable=D,N.defineInjectable=T,N.ɵɵdefineInjector=I,N.forwardRef=U,N.resolveForwardRef=z,N.Injectable=oc,N.Injector=Cc,N.ɵɵinject=we,N.inject=xe,N.INJECTOR=ue,N.ReflectiveInjector=ip,N.ResolvedReflectiveFactory=Qc,N.ReflectiveKey=Bc,N.InjectionToken=ae,N.Inject=_,N.Optional=b,N.Self=w,N.SkipSelf=x,N.Host=C,N.ɵ0=s,N.ɵ1=v,N.NgZone=yw,N.ɵNoopNgZone=Sw,N.Renderer2=Yf,N.RendererFactory2=Gf,N.COMPILER_OPTIONS=rw,N.Compiler=$b,N.CompilerFactory=ew,N.ModuleWithComponentFactories=Hb,N.ComponentFactory=Df,N.ɵComponentFactory=Df,N.ComponentRef=kf,N.ComponentFactoryResolver=Mf,N.ElementRef=Uf,N.NgModuleFactory=Ie,N.NgModuleRef=Re,N.NgModuleFactoryLoader=Zw,N.getModuleFactory=Xw,N.QueryList=i_,N.SystemJsNgModuleLoader=tx,N.SystemJsNgModuleLoaderConfig=Jw,N.TemplateRef=Sm,N.ViewContainerRef=Dm,N.EmbeddedViewRef=lx,N.ViewRef=ox,N.ChangeDetectorRef=Mu,N.DefaultIterableDiffer=im,N.IterableDiffers=ym,N.KeyValueDiffers=_m,N.SimpleChange=lf,N.WrappedValue=Ep,N.platformCore=Ax,N.ɵALLOW_MULTIPLE_PLATFORMS=Fw,N.ɵAPP_ID_RANDOM_PROVIDER=Ab,N.ɵdefaultIterableDiffers=xm,N.ɵdefaultKeyValueDiffers=Cm,N.ɵdevModeEqual=Sp,N.ɵisListLikeIterable=kp,N.ɵisDefaultChangeDetectionStrategy=function(e){return null==e||e===N.ChangeDetectionStrategy.Default},N.ɵConsole=Lb,N.ɵsetCurrentInjector=ge,N.ɵgetInjectableDef=P,N.ɵINJECTOR_SCOPE=lc,N.ɵDEFAULT_LOCALE_ID=Ny,N.ɵivyEnabled=!1,N.ɵCodegenComponentFactoryResolver=Nf,N.ɵclearResolutionOfComponentResourcesQueue=gp,N.ɵresolveComponentResources=fp,N.ɵReflectionCapabilities=Hu,N.ɵ_sanitizeHtml=zo,N.ɵ_sanitizeStyle=Go,N.ɵ_sanitizeUrl=go,N.ɵglobal=Q,N.ɵlooseIdentical=Cp,N.ɵstringify=V,N.ɵmakeDecorator=i,N.ɵisObservable=Bd,N.ɵisPromise=Vd,N.ɵclearOverrides=function(){return bC(),qm.clearOverrides()},N.ɵinitServicesIfNeeded=bC,N.ɵoverrideComponentView=function(e,t){return bC(),qm.overrideComponentView(e,t)},N.ɵoverrideProvider=function(e){return bC(),qm.overrideProvider(e)},N.ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR=py,N.ɵgetLocalePluralCase=My,N.ɵfindLocaleData=Ry,N.ɵLOCALE_DATA=Iy,N.ɵallowSanitizationBypassAndThrow=lo,N.ɵgetSanitizationBypassType=uo,N.ɵunwrapSafeValue=so,N.ɵɵattribute=Np,N.ɵɵattributeInterpolate1=Wp,N.ɵɵattributeInterpolate2=Gp,N.ɵɵattributeInterpolate3=Yp,N.ɵɵattributeInterpolate4=Kp,N.ɵɵattributeInterpolate5=Zp,N.ɵɵattributeInterpolate6=Qp,N.ɵɵattributeInterpolate7=Xp,N.ɵɵattributeInterpolate8=$p,N.ɵɵattributeInterpolateV=Jp,N.ɵɵdefineBase=lt,N.ɵɵdefineComponent=tt,N.ɵɵdefineDirective=ut,N.ɵɵdefinePipe=ct,N.ɵɵdefineNgModule=ot,N.ɵdetectChanges=function(e){Fl(la(e),e)},N.ɵrenderComponent=function(e,t){void 0===t&&(t={}),ngDevMode&&tf(),ngDevMode&&Qt(e),bn(null);var n=t.rendererFactory||Kn,r=t.sanitizer||null,i=pt(e);i.type!=e&&(i.type=e);var o,a=i.selectors[0][0],s=pl(n,t.host||a),l=i.onPush?576:528,u=af(t.scheduler,t.playerHandler),c=n.createRenderer(s,i),p=ul(-1,null,1,0,null,null,null,null,null),d=$s(null,p,u,l,null,null,n,c,void 0,t.injector||null),h=Fn(d,null);try{n.begin&&n.begin(),o=of(rf(s,i,d,n,c,r),i,d,u,t.hostFeatures||null),tl(d,p,null),nl(d,p,null,null)}finally{Fn(h,null),n.end&&n.end()}return o},N.ɵRender3ComponentFactory=Sy,N.ɵRender3ComponentRef=ky,N.ɵɵdirectiveInject=ld,N.ɵɵinjectAttribute=ud,N.ɵɵinjectPipeChangeDetectorRef=I_,N.ɵɵgetFactoryOf=Ai,N.ɵɵgetInheritedFactory=Mi,N.ɵɵsetComponentScope=nt,N.ɵɵsetNgModuleScope=at,N.ɵɵtemplateRefExtractor=T_,N.ɵɵProvidersFeature=Of,N.ɵɵInheritDefinitionFeature=mf,N.ɵɵNgOnChangesFeature=cf,N.ɵLifecycleHooksFeature=sf,N.ɵRender3NgModuleRef=Pg,N.ɵmarkDirty=ed,N.ɵNgModuleFactory=Rg,N.ɵNO_CHANGE=cr,N.ɵɵcontainer=td,N.ɵɵnextContext=Gd,N.ɵɵelementStart=Dd,N.ɵɵnamespaceHTML=qn,N.ɵɵnamespaceMathML=zn,N.ɵɵnamespaceSVG=Un,N.ɵɵelement=Id,N.ɵɵlistener=Ud,N.ɵɵtext=uh,N.ɵɵtextInterpolate=ch,N.ɵɵtextInterpolate1=ph,N.ɵɵtextInterpolate2=dh,N.ɵɵtextInterpolate3=hh,N.ɵɵtextInterpolate4=fh,N.ɵɵtextInterpolate5=mh,N.ɵɵtextInterpolate6=vh,N.ɵɵtextInterpolate7=yh,N.ɵɵtextInterpolate8=gh,N.ɵɵtextInterpolateV=_h,N.ɵɵembeddedViewStart=jd,N.ɵɵprojection=Xd,N.ɵɵpipeBind1=Yg,N.ɵɵpipeBind2=Kg,N.ɵɵpipeBind3=Zg,N.ɵɵpipeBind4=Qg,N.ɵɵpipeBindV=Xg,N.ɵɵpureFunction0=jg,N.ɵɵpureFunction1=Fg,N.ɵɵpureFunction2=Lg,N.ɵɵpureFunction3=Vg,N.ɵɵpureFunction4=Bg,N.ɵɵpureFunction5=Ug,N.ɵɵpureFunction6=zg,N.ɵɵpureFunction7=qg,N.ɵɵpureFunction8=Hg,N.ɵɵpureFunctionV=Wg,N.ɵɵgetCurrentView=Ld,N.ɵgetDirectives=Wh,N.ɵgetHostElement=Kh,N.ɵɵrestoreView=En,N.ɵɵcontainerRefreshStart=rd,N.ɵɵcontainerRefreshEnd=id,N.ɵɵqueryRefresh=g_,N.ɵɵviewQuery=b_,N.ɵɵstaticViewQuery=__,N.ɵɵstaticContentQuery=C_,N.ɵɵcontentQuery=x_,N.ɵɵloadQuery=E_,N.ɵɵelementEnd=Td,N.ɵɵhostProperty=Lh,N.ɵɵproperty=$d,N.ɵɵpropertyInterpolate=Jd,N.ɵɵpropertyInterpolate1=eh,N.ɵɵpropertyInterpolate2=th,N.ɵɵpropertyInterpolate3=nh,N.ɵɵpropertyInterpolate4=rh,N.ɵɵpropertyInterpolate5=ih,N.ɵɵpropertyInterpolate6=oh,N.ɵɵpropertyInterpolate7=ah,N.ɵɵpropertyInterpolate8=sh,N.ɵɵpropertyInterpolateV=lh,N.ɵɵupdateSyntheticHostBinding=Vh,N.ɵɵcomponentHostSyntheticListener=zd,N.ɵɵprojectionDef=Kd,N.ɵɵreference=sd,N.ɵɵenableBindings=vn,N.ɵɵdisableBindings=yn,N.ɵɵallocHostVars=bp,N.ɵɵelementContainerStart=Md,N.ɵɵelementContainerEnd=Rd,N.ɵɵelementContainer=Nd,N.ɵɵstyleMap=md,N.ɵɵstyleSanitizer=cd,N.ɵɵclassMap=vd,N.ɵɵclassMapInterpolate1=bh,N.ɵɵclassMapInterpolate2=wh,N.ɵɵclassMapInterpolate3=xh,N.ɵɵclassMapInterpolate4=Ch,N.ɵɵclassMapInterpolate5=Sh,N.ɵɵclassMapInterpolate6=Eh,N.ɵɵclassMapInterpolate7=Oh,N.ɵɵclassMapInterpolate8=kh,N.ɵɵclassMapInterpolateV=Dh,N.ɵɵstyleProp=pd,N.ɵɵstylePropInterpolate1=Th,N.ɵɵstylePropInterpolate2=Ih,N.ɵɵstylePropInterpolate3=Ph,N.ɵɵstylePropInterpolate4=Ah,N.ɵɵstylePropInterpolate5=Mh,N.ɵɵstylePropInterpolate6=Rh,N.ɵɵstylePropInterpolate7=Nh,N.ɵɵstylePropInterpolate8=jh,N.ɵɵstylePropInterpolateV=Fh,N.ɵɵclassProp=hd,N.ɵɵelementHostAttrs=Pd,N.ɵɵselect=Ja,N.ɵɵadvance=$a,N.ɵɵtemplate=nd,N.ɵɵembeddedViewEnd=Fd,N.ɵstore=ad,N.ɵɵpipe=Gg,N.ɵwhenRendered=function(e){return di(e).clean},N.ɵɵi18n=dg,N.ɵɵi18nAttributes=hg,N.ɵɵi18nExp=vg,N.ɵɵi18nStart=og,N.ɵɵi18nEnd=lg,N.ɵɵi18nApply=yg,N.ɵɵi18nPostprocess=sg,N.ɵsetLocaleId=Sg,N.ɵsetClassMetadata=function(i,o,a,s){return Qe(function(){var e,t=i,n=t.prototype?Object.getPrototypeOf(t.prototype):null,r=n&&n.constructor;null!==o&&(void 0===t.decorators||r&&r.decorators===t.decorators?t.decorators=o:(e=t.decorators).push.apply(e,O(o))),null!==a&&(t.ctorParameters=a),null!==s&&(void 0===t.propDecorators||r&&r.propDecorators===t.propDecorators?t.propDecorators=s:t.propDecorators=l(l({},t.propDecorators),s))})},N.ɵɵresolveWindow=or,N.ɵɵresolveDocument=ar,N.ɵɵresolveBody=sr,N.ɵcompileComponent=Q_,N.ɵcompileDirective=X_,N.ɵcompileNgModule=F_,N.ɵcompileNgModuleDefs=L_,N.ɵpatchComponentDefWithScope=G_,N.ɵresetCompiledComponents=function(){z_=new Map,q_=new Map,M_.length=0},N.ɵflushModuleScopingQueueAsMuchAsPossible=N_,N.ɵtransitiveScopesFor=Y_,N.ɵcompilePipe=ub,N.ɵɵsanitizeHtml=Yo,N.ɵɵsanitizeStyle=Ko,N.ɵɵdefaultStyleSanitizer=ea,N.ɵɵsanitizeScript=Xo,N.ɵɵsanitizeUrl=Zo,N.ɵɵsanitizeResourceUrl=Qo,N.ɵɵsanitizeUrlOrResourceUrl=Jo,N.ɵbypassSanitizationTrustHtml=function(e){return new Yi(e)},N.ɵbypassSanitizationTrustStyle=function(e){return new Qi(e)},N.ɵbypassSanitizationTrustScript=function(e){return new Ji(e)},N.ɵbypassSanitizationTrustUrl=function(e){return new no(e)},N.ɵbypassSanitizationTrustResourceUrl=function(e){return new oo(e)},N.ɵgetLContext=aa,N.ɵNG_ELEMENT_ID=oe,N.ɵNG_COMP_DEF=$,N.ɵNG_DIR_DEF=J,N.ɵNG_PIPE_DEF=ee,N.ɵNG_MOD_DEF=te,N.ɵNG_BASE_DEF=re,N.ɵNG_PROV_DEF=M,N.ɵNG_INJ_DEF=R,N.ɵcompileNgModuleFactory__POST_R3__=function(e,t,n){ngDevMode&&function(e,t){void 0===t&&(t="Type passed in is not NgModuleType, it does not have 'ɵmod' property."),mt(e)||Ye(t)}(n);var r=new Rg(n);if(0===mp.size)return Promise.resolve(r);var i=function(e){var t=[];return e.forEach(function(e){return e&&t.push.apply(t,O(e))}),t}(e.get(rw,[]).concat(t).map(function(e){return e.providers}));if(0===i.length)return Promise.resolve(r);var o=X(),a=Cc.create({providers:i}).get(o.ResourceLoader);return fp(function(e){return Promise.resolve(a.get(e))}).then(function(){return r})},N.ɵisBoundToModule__POST_R3__=function(e){return e.isBoundToModule},N.ɵSWITCH_COMPILE_COMPONENT__POST_R3__=gb,N.ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__=_b,N.ɵSWITCH_COMPILE_PIPE__POST_R3__=bb,N.ɵSWITCH_COMPILE_NGMODULE__POST_R3__=Eb,N.ɵgetDebugNode__POST_R3__=kx,N.ɵSWITCH_COMPILE_INJECTABLE__POST_R3__=ac,N.ɵSWITCH_IVY_ENABLED__POST_R3__=!0,N.ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__=ju,N.ɵCompiler_compileModuleSync__POST_R3__=Gb,N.ɵCompiler_compileModuleAsync__POST_R3__=function(e){return Promise.resolve(Gb(e))},N.ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__=Yb,N.ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__=function(e){return Promise.resolve(Yb(e))},N.ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__=qf,N.ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__=Om,N.ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__=Im,N.ɵSWITCH_RENDERER2_FACTORY__POST_R3__=Zf,N.ɵgetModuleFactory__POST_R3__=function(e){var t=Dg(e);if(!t)throw $w(e);return new Rg(t)},N.ɵregisterNgModuleType=kg,N.ɵpublishGlobalUtil=nf,N.ɵpublishDefaultGlobalUtils=tf,N.ɵcreateInjector=fc,N.ɵINJECTOR_IMPL__POST_R3__=function(e,t,n){return fc({name:n},t,e,n)},N.ɵregisterModuleFactory=function(e,t){var n=Eg.get(e);Og(e,n&&n.moduleType,t.moduleType),Eg.set(e,t)},N.ɵEMPTY_ARRAY=[],N.ɵEMPTY_MAP={},N.ɵand=function(e,t,n,r,i,o){e|=1;var a=sv(t),s=a.matchedQueries,l=a.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:a.matchedQueryIds,references:l,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?pv(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Hm},provider:null,text:null,query:null,ngContent:null}},N.ɵccf=function(e,t,n,r,i,o){return new Rv(e,t,n,r,i,o)},N.ɵcmf=function(e,t,n){return new lS(e,t,n)},N.ɵcrt=function(e){return{id:Ym,styles:e.styles,encapsulation:e.encapsulation,data:e.data}},N.ɵdid=function(e,t,n,r,i,o,a,s){var l=[];if(a)for(var u in a){var c=j(a[u],2),p=c[0],d=c[1];l[p]={flags:8,name:u,nonMinifiedName:d,ns:null,securityContext:null,suffix:null}}var h=[];if(s)for(var f in s)h.push({type:1,propName:f,target:null,eventName:s[f]});return oy(e,t|=16384,n,r,i,i,o,l,h)},N.ɵeld=function(e,t,n,r,i,o,a,s,l,u,c,p){var d;void 0===a&&(a=[]),u=u||Hm;var h=sv(n),f=h.matchedQueries,m=h.references,v=h.matchedQueryIds,y=null,g=null;o&&(y=(d=j(gv(o),2))[0],g=d[1]),s=s||[];for(var _=[],b=0;b<s.length;b++){var w=j(s[b],3),x=w[0],C=w[1],S=w[2],E=j(gv(C),2),O=E[0],k=E[1],D=void 0,T=void 0;switch(15&x){case 4:T=S;break;case 1:case 8:D=S}_[b]={flags:x,ns:O,name:k,nonMinifiedName:k,securityContext:D,suffix:T}}l=l||[];var I=[];for(b=0;b<l.length;b++){var P=j(l[b],2),A=P[0],M=P[1];I[b]={type:0,target:A,eventName:M,propName:null}}var R=(a=a||[]).map(function(e){var t=j(e,2),n=t[0],r=t[1],i=j(gv(n),2);return[i[0],i[1],r]});return p=function(e){if(e&&e.id===Ym){var t=null!=e.encapsulation&&e.encapsulation!==N.ViewEncapsulation.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Zm++:Km}return e&&e.id===Km&&(e=null),e||null}(p),c&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:f,matchedQueryIds:v,references:m,ngContentIndex:r,childCount:i,bindings:_,bindingFlags:_v(_),outputs:I,element:{ns:y,name:g,attrs:R,template:null,componentProvider:null,componentView:c||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:u||Hm},provider:null,text:null,query:null,ngContent:null}},N.ɵgetComponentViewDefinitionFactory=Av,N.ɵinlineInterpolate=function(e,t,n,r,i,o,a,s,l,u,c,p,d,h,f,m,v,y,g,_){switch(e){case 1:return t+bv(n)+r;case 2:return t+bv(n)+r+bv(i)+o;case 3:return t+bv(n)+r+bv(i)+o+bv(a)+s;case 4:return t+bv(n)+r+bv(i)+o+bv(a)+s+bv(l)+u;case 5:return t+bv(n)+r+bv(i)+o+bv(a)+s+bv(l)+u+bv(c)+p;case 6:return t+bv(n)+r+bv(i)+o+bv(a)+s+bv(l)+u+bv(c)+p+bv(d)+h;case 7:return t+bv(n)+r+bv(i)+o+bv(a)+s+bv(l)+u+bv(c)+p+bv(d)+h+bv(f)+m;case 8:return t+bv(n)+r+bv(i)+o+bv(a)+s+bv(l)+u+bv(c)+p+bv(d)+h+bv(f)+m+bv(v)+y;case 9:return t+bv(n)+r+bv(i)+o+bv(a)+s+bv(l)+u+bv(c)+p+bv(d)+h+bv(f)+m+bv(v)+y+bv(g)+_;default:throw new Error("Does not support more than 9 expressions")}},N.ɵinterpolate=function(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+bv(t[r+1]);return n+t[2*e]},N.ɵmod=function(e){for(var t={},n=[],r=null,i=0;i<e.length;i++){var o=e[i];o.token===lc&&(r=o.value),1073741824&o.flags&&n.push(o.token),o.index=i,t[Gm(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,scope:r}},N.ɵmpd=function(e,t,n,r){return n=z(n),{index:-1,deps:lv(r,V(t)),flags:e,token:t,value:n}},N.ɵncd=function(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}},N.ɵnov=function(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Lm(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Fm(e,n.nodeIndex).renderText;if(20240&n.flags)return Vm(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)},N.ɵpid=function(e,t,n){return oy(-1,e|=16,null,0,t,t,n)},N.ɵprd=function(e,t,n,r,i){return oy(-1,e,t,0,n,r,i)},N.ɵpad=function(e,t){return Qx(32,e,Be(t))},N.ɵpod=function(e,t){for(var n=Object.keys(t),r=n.length,i=[],o=0;o<r;o++){var a=n[o];t[a];i.push(a)}return Qx(64,e,i)},N.ɵppd=function(e,t){return Qx(128,e,Be(t+1))},N.ɵqud=function(e,t,n){var r=[];for(var i in n){var o=n[i];r.push({propName:i,bindingType:o})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:av(t),bindings:r},ngContent:null}},N.ɵted=function(e,t,n){for(var r=[],i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}},N.ɵunv=function(e,t,n,r){if(Ep.isWrapped(r)){r=Ep.unwrap(r);var i=e.def.nodes[t].bindingIndex+n,o=Ep.unwrap(e.oldValues[i]);e.oldValues[i]=new Ep(o)}return r},N.ɵvid=function(e,i,t,n){for(var r=0,o=0,a=0,s=0,l=0,u=null,c=null,p=!1,d=!1,h=null,f=0;f<i.length;f++){var m=i[f];if(m.nodeIndex=f,m.parent=u,m.bindingIndex=r,m.outputIndex=o,m.renderParent=c,a|=m.flags,l|=m.matchedQueryIds,m.element){var v=m.element;v.publicProviders=u?u.element.publicProviders:Object.create(null),v.allProviders=v.publicProviders,d=p=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if(eC(u,m,i.length),r+=m.bindings.length,o+=m.outputs.length,!c&&3&m.flags&&(h=m),20224&m.flags){p||(p=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);var y=0!=(8192&m.flags),g=0!=(32768&m.flags);!y||g?u.element.publicProviders[Gm(m.provider.token)]=m:(d||(d=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[Gm(m.provider.token)]=m),g&&(u.element.componentProvider=m)}if(u?(u.childFlags|=m.flags,u.directChildFlags|=m.flags,u.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(u.childMatchedQueries|=m.element.template.nodeMatchedQueries)):s|=m.flags,0<m.childCount)Jx(u=m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var _=u.parent;_&&(_.childFlags|=u.childFlags,_.childMatchedQueries|=u.childMatchedQueries),c=(u=_)&&Jx(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:i,updateDirectives:t||Hm,updateRenderer:n||Hm,handleEvent:function(e,t,n,r){return i[t].element.handleEvent(e,n,r)},bindingCount:r,outputCount:o,lastRenderRootNode:h}},Object.defineProperty(N,"__esModule",{value:!0})}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("rxjs"),require("@angular/core")):System.registerDynamic("npm:@angular/cdk/bundles/cdk-collections.umd.js",["tslib","rxjs","@angular/core"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("rxjs"),e("@angular/core"))})}(0,function(e,a,i,t){"use strict";function n(){}var r,o=(r=n,a.__extends(s,r),s.prototype.connect=function(){return this._data instanceof i.Observable?this._data:i.of(this._data)},s.prototype.disconnect=function(){},s);function s(e){var t=r.call(this)||this;return t._data=e,t}var l=(Object.defineProperty(u.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),u.prototype.select=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._verifyValueAssignment(e),e.forEach(function(e){return t._markSelected(e)}),this._emitChangeEvent()},u.prototype.deselect=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._verifyValueAssignment(e),e.forEach(function(e){return t._unmarkSelected(e)}),this._emitChangeEvent()},u.prototype.toggle=function(e){this.isSelected(e)?this.deselect(e):this.select(e)},u.prototype.clear=function(){this._unmarkAll(),this._emitChangeEvent()},u.prototype.isSelected=function(e){return this._selection.has(e)},u.prototype.isEmpty=function(){return 0===this._selection.size},u.prototype.hasValue=function(){return!this.isEmpty()},u.prototype.sort=function(e){this._multiple&&this.selected&&this._selected.sort(e)},u.prototype.isMultipleSelection=function(){return this._multiple},u.prototype._emitChangeEvent=function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])},u.prototype._markSelected=function(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))},u.prototype._unmarkSelected=function(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))},u.prototype._unmarkAll=function(){var t=this;this.isEmpty()||this._selection.forEach(function(e){return t._unmarkSelected(e)})},u.prototype._verifyValueAssignment=function(e){if(1<e.length&&!this._multiple)throw c()},u);function u(e,t,n){var r=this;void 0===e&&(e=!1),void 0===n&&(n=!0),this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new i.Subject,this.onChange=this.changed,t&&t.length&&(e?t.forEach(function(e){return r._markSelected(e)}):this._markSelected(t[0]),this._selectedToEmit.length=0)}function c(){return Error("Cannot pass multiple values into SelectionModel with single-value mode.")}var p=(d.prototype.notify=function(e,t){var n,r;try{for(var i=a.__values(this._listeners),o=i.next();!o.done;o=i.next())(0,o.value)(e,t)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},d.prototype.listen=function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter(function(e){return t!==e})}},d.prototype.ngOnDestroy=function(){this._listeners=[]},d.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],d.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new d},token:d,providedIn:"root"}),d);function d(){this._listeners=[]}e.UniqueSelectionDispatcher=p,e.ArrayDataSource=o,e.DataSource=n,e.isDataSource=function(e){return e&&"function"==typeof e.connect},e.SelectionModel=l,e.getMultipleValuesInSingleSelectionError=c,Object.defineProperty(e,"__esModule",{value:!0})}),System.registerDynamic("npm:rxjs/internal/scheduler/AnimationFrameAction.js",["./AsyncAction"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./AsyncAction"),s=(o=a.AsyncAction,i(l,o),l.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),null!==n&&0<n?o.prototype.requestAsyncId.call(this,e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},l.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&0<n||null===n&&0<this.delay)return o.prototype.recycleAsyncId.call(this,e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)},l);function l(e,t){var n=o.call(this,e,t)||this;return n.scheduler=e,n.work=t,n}t.AnimationFrameAction=s}),System.registerDynamic("npm:rxjs/internal/scheduler/AnimationFrameScheduler.js",["./AsyncScheduler"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./AsyncScheduler"),s=(o=a.AsyncScheduler,i(l,o),l.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<i&&(e=n.shift()));if(this.active=!1,t){for(;++r<i&&(e=n.shift());)e.unsubscribe();throw t}},l);function l(){return null!==o&&o.apply(this,arguments)||this}t.AnimationFrameScheduler=s}),System.registerDynamic("npm:rxjs/internal/scheduler/animationFrame.js",["./AnimationFrameAction","./AnimationFrameScheduler"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./AnimationFrameAction"),i=e("./AnimationFrameScheduler");t.animationFrame=new i.AnimationFrameScheduler(r.AnimationFrameAction)}),System.registerDynamic("npm:rxjs/internal/scheduler/VirtualTimeScheduler.js",["./AsyncAction","./AsyncScheduler"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./AsyncAction"),s=e("./AsyncScheduler"),l=(o=s.AsyncScheduler,i(u,o),u.prototype.flush=function(){for(var e,t,n=this.actions,r=this.maxFrames;(t=n[0])&&t.delay<=r&&(n.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=n.shift();)t.unsubscribe();throw e}},u.frameTimeFactor=10,u);function u(e,t){void 0===e&&(e=p),void 0===t&&(t=Number.POSITIVE_INFINITY);var n=o.call(this,e,function(){return n.frame})||this;return n.maxFrames=t,n.frame=0,n.index=-1,n}t.VirtualTimeScheduler=l;var c,p=(c=a.AsyncAction,i(d,c),d.prototype.schedule=function(e,t){if(void 0===t&&(t=0),!this.id)return c.prototype.schedule.call(this,e,t);this.active=!1;var n=new d(this.scheduler,this.work);return this.add(n),n.schedule(e,t)},d.prototype.requestAsyncId=function(e,t,n){void 0===n&&(n=0),this.delay=e.frame+n;var r=e.actions;return r.push(this),r.sort(d.sortActions),!0},d.prototype.recycleAsyncId=function(e,t,n){void 0===n&&(n=0)},d.prototype._execute=function(e,t){if(!0===this.active)return c.prototype._execute.call(this,e,t)},d.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},d);function d(e,t,n){void 0===n&&(n=e.index+=1);var r=c.call(this,e,t)||this;return r.scheduler=e,r.work=t,r.index=n,r.active=!0,r.index=e.index=n,r}t.VirtualAction=p}),System.registerDynamic("npm:rxjs/internal/util/isObservable.js",["../Observable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable");t.isObservable=function(e){return!!e&&(e instanceof r.Observable||"function"==typeof e.lift&&"function"==typeof e.subscribe)}}),System.registerDynamic("npm:rxjs/internal/observable/bindCallback.js",["../Observable","../AsyncSubject","../operators/map","../util/canReportError","../util/isArray","../util/isScheduler"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var l=e("../Observable"),u=e("../AsyncSubject"),i=e("../operators/map"),c=e("../util/canReportError"),o=e("../util/isArray"),p=e("../util/isScheduler");function d(e){var r=this,t=e.args,n=e.subscriber,i=e.params,o=i.callbackFunc,a=i.context,s=i.scheduler,l=i.subject;if(!l){l=i.subject=new u.AsyncSubject;try{o.apply(a,t.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length<=1?e[0]:e;r.add(s.schedule(h,0,{value:n,subject:l}))}]))}catch(e){l.error(e)}}this.add(l.subscribe(n))}function h(e){var t=e.value,n=e.subject;n.next(t),n.complete()}t.bindCallback=function n(a,r,s){if(r){if(!p.isScheduler(r))return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n(a,s).apply(void 0,e).pipe(i.map(function(e){return o.isArray(e)?r.apply(void 0,e):r(e)}))};s=r}return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r,i=this,o={context:i,subject:r,callbackFunc:a,scheduler:s};return new l.Observable(function(e){if(s){var t={args:n,subscriber:e,params:o};return s.schedule(d,0,t)}if(!r){r=new u.AsyncSubject;try{a.apply(i,n.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r.next(e.length<=1?e[0]:e),r.complete()}]))}catch(e){c.canReportError(r)?r.error(e):console.warn(e)}}return r.subscribe(e)})}}}),System.registerDynamic("npm:rxjs/internal/observable/bindNodeCallback.js",["../Observable","../AsyncSubject","../operators/map","../util/canReportError","../util/isScheduler","../util/isArray"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var s=e("../Observable"),u=e("../AsyncSubject"),i=e("../operators/map"),l=e("../util/canReportError"),c=e("../util/isScheduler"),p=e("../util/isArray");function d(e){var i=this,t=e.params,n=e.subscriber,r=e.context,o=t.callbackFunc,a=t.args,s=t.scheduler,l=t.subject;if(!l){l=t.subject=new u.AsyncSubject;try{o.apply(r,a.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.shift();if(n)i.add(s.schedule(f,0,{err:n,subject:l}));else{var r=e.length<=1?e[0]:e;i.add(s.schedule(h,0,{value:r,subject:l}))}}]))}catch(e){this.add(s.schedule(f,0,{err:e,subject:l}))}}this.add(l.subscribe(n))}function h(e){var t=e.value,n=e.subject;n.next(t),n.complete()}function f(e){var t=e.err;e.subject.error(t)}t.bindNodeCallback=function n(o,r,a){if(r){if(!c.isScheduler(r))return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n(o,a).apply(void 0,e).pipe(i.map(function(e){return p.isArray(e)?r.apply(void 0,e):r(e)}))};a=r}return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var i={subject:void 0,args:n,callbackFunc:o,scheduler:a,context:this};return new s.Observable(function(e){var t=i.context,r=i.subject;if(a)return a.schedule(d,0,{params:i,subscriber:e,context:t});if(!r){r=i.subject=new u.AsyncSubject;try{o.apply(t,n.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.shift();n?r.error(n):(r.next(e.length<=1?e[0]:e),r.complete())}]))}catch(e){l.canReportError(r)?r.error(e):console.warn(e)}}return r.subscribe(e)})}}}),System.registerDynamic("npm:rxjs/internal/observable/forkJoin.js",["../Observable","../util/isArray","../operators/map","../util/isObject","./from"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable"),o=e("../util/isArray"),a=e("../operators/map"),s=e("../util/isObject"),c=e("./from");function l(l,u){return new r.Observable(function(r){var i=l.length;if(0!==i)for(var o=new Array(i),a=0,s=0,e=function(t){var e=c.from(l[t]),n=!1;r.add(e.subscribe({next:function(e){n||(n=!0,s++),o[t]=e},error:function(e){return r.error(e)},complete:function(){++a!==i&&n||(s===i&&r.next(u?u.reduce(function(e,t,n){return e[t]=o[n],e},{}):o),r.complete())}}))},t=0;t<i;t++)e(t);else r.complete()})}t.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(o.isArray(n))return l(n,null);if(s.isObject(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return l(r.map(function(e){return n[e]}),r)}}if("function"!=typeof e[e.length-1])return l(e,null);var i=e.pop();return l(e=1===e.length&&o.isArray(e[0])?e[0]:e,null).pipe(a.map(function(e){return i.apply(void 0,e)}))}}),System.registerDynamic("npm:rxjs/internal/observable/fromEvent.js",["../Observable","../util/isArray","../util/isFunction","../operators/map"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Observable"),a=e("../util/isArray"),s=e("../util/isFunction"),l=e("../operators/map");Object.prototype.toString;t.fromEvent=function e(n,r,i,t){return s.isFunction(i)&&(t=i,i=void 0),t?e(n,r,i).pipe(l.map(function(e){return a.isArray(e)?t.apply(void 0,e):t(e)})):new o.Observable(function(t){!function e(t,n,r,i,o){var a,s,l,u;if((u=t)&&"function"==typeof u.addEventListener&&"function"==typeof u.removeEventListener){var c=t;t.addEventListener(n,r,o),a=function(){return c.removeEventListener(n,r,o)}}else if((l=t)&&"function"==typeof l.on&&"function"==typeof l.off){var p=t;t.on(n,r),a=function(){return p.off(n,r)}}else if((s=t)&&"function"==typeof s.addListener&&"function"==typeof s.removeListener){var d=t;t.addListener(n,r),a=function(){return d.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var h=0,f=t.length;h<f;h++)e(t[h],n,r,i,o)}i.add(a)}(n,r,function(e){1<arguments.length?t.next(Array.prototype.slice.call(arguments)):t.next(e)},t,i)})}}),System.registerDynamic("npm:rxjs/internal/observable/fromEventPattern.js",["../Observable","../util/isArray","../util/isFunction","../operators/map"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Observable"),a=e("../util/isArray"),s=e("../util/isFunction"),l=e("../operators/map");t.fromEventPattern=function e(r,i,t){return t?e(r,i).pipe(l.map(function(e){return a.isArray(e)?t.apply(void 0,e):t(e)})):new o.Observable(function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.next(1===e.length?e[0]:e)}var t;try{t=r(e)}catch(e){return void n.error(e)}if(s.isFunction(i))return function(){return i(e,t)}})}}),System.registerDynamic("npm:rxjs/internal/observable/generate.js",["../Observable","../util/identity","../util/isScheduler"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable"),u=e("../util/identity"),c=e("../util/isScheduler");function p(e){var t=e.subscriber,n=e.condition;if(!t.closed){if(e.needIterate)try{e.state=e.iterate(e.state)}catch(e){return void t.error(e)}else e.needIterate=!0;if(n){var r=void 0;try{r=n(e.state)}catch(e){return void t.error(e)}if(!r)return void t.complete();if(t.closed)return}var i;try{i=e.resultSelector(e.state)}catch(e){return void t.error(e)}if(!t.closed&&(t.next(i),!t.closed))return this.schedule(e)}}t.generate=function(e,i,o,t,a){var s,l;if(1==arguments.length){var n=e;l=n.initialState,i=n.condition,o=n.iterate,s=n.resultSelector||u.identity,a=n.scheduler}else void 0===t||c.isScheduler(t)?(l=e,s=u.identity,a=t):(l=e,s=t);return new r.Observable(function(t){var e=l;if(a)return a.schedule(p,0,{subscriber:t,iterate:o,condition:i,resultSelector:s,state:e});for(;;){if(i){var n=void 0;try{n=i(e)}catch(e){return void t.error(e)}if(!n){t.complete();break}}var r=void 0;try{r=s(e)}catch(e){return void t.error(e)}if(t.next(r),t.closed)break;try{e=o(e)}catch(e){return void t.error(e)}}})}}),System.registerDynamic("npm:rxjs/internal/observable/iif.js",["./defer","./empty"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./defer"),i=e("./empty");t.iif=function(e,t,n){return void 0===t&&(t=i.EMPTY),void 0===n&&(n=i.EMPTY),r.defer(function(){return e()?t:n})}}),System.registerDynamic("npm:rxjs/internal/observable/interval.js",["../Observable","../scheduler/async","../util/isNumeric"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable"),i=e("../scheduler/async"),o=e("../util/isNumeric");function a(e){var t=e.subscriber,n=e.counter,r=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:r},r)}t.interval=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=i.async),(!o.isNumeric(t)||t<0)&&(t=0),n&&"function"==typeof n.schedule||(n=i.async),new r.Observable(function(e){return e.add(n.schedule(a,t,{subscriber:e,counter:0,period:t})),e})}}),System.registerDynamic("npm:rxjs/internal/observable/never.js",["../Observable","../util/noop"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable"),i=e("../util/noop");t.NEVER=new r.Observable(i.noop),t.never=function(){return t.NEVER}}),System.registerDynamic("npm:rxjs/internal/observable/onErrorResumeNext.js",["../Observable","./from","../util/isArray","./empty"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Observable"),a=e("./from"),s=e("../util/isArray"),l=e("./empty");t.onErrorResumeNext=function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return l.EMPTY;var r=e[0],i=e.slice(1);return 1===e.length&&s.isArray(r)?n.apply(void 0,r):new o.Observable(function(t){function e(){return t.add(n.apply(void 0,i).subscribe(t))}return a.from(r).subscribe({next:function(e){t.next(e)},error:e,complete:e})})}}),System.registerDynamic("npm:rxjs/internal/observable/pairs.js",["../Observable","../Subscription"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Observable"),a=e("../Subscription");function s(e){var t=e.keys,n=e.index,r=e.subscriber,i=e.subscription,o=e.obj;if(!r.closed)if(n<t.length){var a=t[n];r.next([a,o[a]]),i.add(this.schedule({keys:t,index:n+1,subscriber:r,subscription:i,obj:o}))}else r.complete()}t.pairs=function(i,r){return r?new o.Observable(function(e){var t=Object.keys(i),n=new a.Subscription;return n.add(r.schedule(s,0,{keys:t,index:0,subscriber:e,subscription:n,obj:i})),n}):new o.Observable(function(e){for(var t=Object.keys(i),n=0;n<t.length&&!e.closed;n++){var r=t[n];i.hasOwnProperty(r)&&e.next([r,i[r]])}e.complete()})},t.dispatch=s}),System.registerDynamic("npm:rxjs/internal/observable/partition.js",["../util/not","../util/subscribeTo","../operators/filter","../Observable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../util/not"),i=e("../util/subscribeTo"),o=e("../operators/filter"),a=e("../Observable");t.partition=function(e,t,n){return[o.filter(t,n)(new a.Observable(i.subscribeTo(e))),o.filter(r.not(t,n))(new a.Observable(i.subscribeTo(e)))]}}),System.registerDynamic("npm:rxjs/internal/observable/range.js",["../Observable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var a=e("../Observable");function s(e){var t=e.start,n=e.index,r=e.count,i=e.subscriber;r<=n?i.complete():(i.next(t),i.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}t.range=function(r,i,o){return void 0===r&&(r=0),new a.Observable(function(e){void 0===i&&(i=r,r=0);var t=0,n=r;if(o)return o.schedule(s,0,{index:t,count:i,start:r,subscriber:e});for(;;){if(t++>=i){e.complete();break}if(e.next(n++),e.closed)break}})},t.dispatch=s}),System.registerDynamic("npm:rxjs/internal/observable/using.js",["../Observable","./from","./empty"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable"),a=e("./from"),s=e("./empty");t.using=function(i,o){return new r.Observable(function(t){var e,n;try{e=i()}catch(e){return void t.error(e)}try{n=o(e)}catch(e){return void t.error(e)}var r=(n?a.from(n):s.EMPTY).subscribe(t);return function(){r.unsubscribe(),e&&e.unsubscribe()}})}}),System.registerDynamic("npm:rxjs/index.js",["./internal/Observable","./internal/observable/ConnectableObservable","./internal/operators/groupBy","./internal/symbol/observable","./internal/Subject","./internal/BehaviorSubject","./internal/ReplaySubject","./internal/AsyncSubject","./internal/scheduler/asap","./internal/scheduler/async","./internal/scheduler/queue","./internal/scheduler/animationFrame","./internal/scheduler/VirtualTimeScheduler","./internal/Scheduler","./internal/Subscription","./internal/Subscriber","./internal/Notification","./internal/util/pipe","./internal/util/noop","./internal/util/identity","./internal/util/isObservable","./internal/util/ArgumentOutOfRangeError","./internal/util/EmptyError","./internal/util/ObjectUnsubscribedError","./internal/util/UnsubscriptionError","./internal/util/TimeoutError","./internal/observable/bindCallback","./internal/observable/bindNodeCallback","./internal/observable/combineLatest","./internal/observable/concat","./internal/observable/defer","./internal/observable/empty","./internal/observable/forkJoin","./internal/observable/from","./internal/observable/fromEvent","./internal/observable/fromEventPattern","./internal/observable/generate","./internal/observable/iif","./internal/observable/interval","./internal/observable/merge","./internal/observable/never","./internal/observable/of","./internal/observable/onErrorResumeNext","./internal/observable/pairs","./internal/observable/partition","./internal/observable/race","./internal/observable/range","./internal/observable/throwError","./internal/observable/timer","./internal/observable/using","./internal/observable/zip","./internal/scheduled/scheduled","./internal/config"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./internal/Observable");t.Observable=r.Observable;var i=e("./internal/observable/ConnectableObservable");t.ConnectableObservable=i.ConnectableObservable;var o=e("./internal/operators/groupBy");t.GroupedObservable=o.GroupedObservable;var a=e("./internal/symbol/observable");t.observable=a.observable;var s=e("./internal/Subject");t.Subject=s.Subject;var l=e("./internal/BehaviorSubject");t.BehaviorSubject=l.BehaviorSubject;var u=e("./internal/ReplaySubject");t.ReplaySubject=u.ReplaySubject;var c=e("./internal/AsyncSubject");t.AsyncSubject=c.AsyncSubject;var p=e("./internal/scheduler/asap");t.asapScheduler=p.asap;var d=e("./internal/scheduler/async");t.asyncScheduler=d.async;var h=e("./internal/scheduler/queue");t.queueScheduler=h.queue;var f=e("./internal/scheduler/animationFrame");t.animationFrameScheduler=f.animationFrame;var m=e("./internal/scheduler/VirtualTimeScheduler");t.VirtualTimeScheduler=m.VirtualTimeScheduler,t.VirtualAction=m.VirtualAction;var v=e("./internal/Scheduler");t.Scheduler=v.Scheduler;var y=e("./internal/Subscription");t.Subscription=y.Subscription;var g=e("./internal/Subscriber");t.Subscriber=g.Subscriber;var _=e("./internal/Notification");t.Notification=_.Notification,t.NotificationKind=_.NotificationKind;var b=e("./internal/util/pipe");t.pipe=b.pipe;var w=e("./internal/util/noop");t.noop=w.noop;var x=e("./internal/util/identity");t.identity=x.identity;var C=e("./internal/util/isObservable");t.isObservable=C.isObservable;var S=e("./internal/util/ArgumentOutOfRangeError");t.ArgumentOutOfRangeError=S.ArgumentOutOfRangeError;var E=e("./internal/util/EmptyError");t.EmptyError=E.EmptyError;var O=e("./internal/util/ObjectUnsubscribedError");t.ObjectUnsubscribedError=O.ObjectUnsubscribedError;var k=e("./internal/util/UnsubscriptionError");t.UnsubscriptionError=k.UnsubscriptionError;var D=e("./internal/util/TimeoutError");t.TimeoutError=D.TimeoutError;var T=e("./internal/observable/bindCallback");t.bindCallback=T.bindCallback;var I=e("./internal/observable/bindNodeCallback");t.bindNodeCallback=I.bindNodeCallback;var P=e("./internal/observable/combineLatest");t.combineLatest=P.combineLatest;var A=e("./internal/observable/concat");t.concat=A.concat;var M=e("./internal/observable/defer");t.defer=M.defer;var R=e("./internal/observable/empty");t.empty=R.empty;var N=e("./internal/observable/forkJoin");t.forkJoin=N.forkJoin;var j=e("./internal/observable/from");t.from=j.from;var F=e("./internal/observable/fromEvent");t.fromEvent=F.fromEvent;var L=e("./internal/observable/fromEventPattern");t.fromEventPattern=L.fromEventPattern;var V=e("./internal/observable/generate");t.generate=V.generate;var B=e("./internal/observable/iif");t.iif=B.iif;var U=e("./internal/observable/interval");t.interval=U.interval;var z=e("./internal/observable/merge");t.merge=z.merge;var q=e("./internal/observable/never");t.never=q.never;var H=e("./internal/observable/of");t.of=H.of;var W=e("./internal/observable/onErrorResumeNext");t.onErrorResumeNext=W.onErrorResumeNext;var G=e("./internal/observable/pairs");t.pairs=G.pairs;var Y=e("./internal/observable/partition");t.partition=Y.partition;var K=e("./internal/observable/race");t.race=K.race;var Z=e("./internal/observable/range");t.range=Z.range;var Q=e("./internal/observable/throwError");t.throwError=Q.throwError;var X=e("./internal/observable/timer");t.timer=X.timer;var $=e("./internal/observable/using");t.using=$.using;var J=e("./internal/observable/zip");t.zip=J.zip;var ee=e("./internal/scheduled/scheduled");t.scheduled=ee.scheduled;var te=e("./internal/observable/empty");t.EMPTY=te.EMPTY;var ne=e("./internal/observable/never");t.NEVER=ne.NEVER;var re=e("./internal/config");t.config=re.config}),System.registerDynamic("npm:rxjs/internal/operators/audit.js",["../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../util/subscribeToResult");t.audit=function(t){return function(e){return e.lift(new s(t))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.durationSelector))},l);function l(e){this.durationSelector=e}var u,c=(u=o.OuterSubscriber,i(p,u),p.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=void 0;try{t=(0,this.durationSelector)(e)}catch(e){return this.destination.error(e)}var n=a.subscribeToResult(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},p.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},p.prototype.notifyNext=function(e,t,n,r){this.clearThrottle()},p.prototype.notifyComplete=function(){this.clearThrottle()},p);function p(e,t){var n=u.call(this,e)||this;return n.durationSelector=t,n.hasValue=!1,n}}),System.registerDynamic("npm:rxjs/internal/observable/timer.js",["../Observable","../scheduler/async","../util/isNumeric","../util/isScheduler"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Observable"),a=e("../scheduler/async"),s=e("../util/isNumeric"),l=e("../util/isScheduler");function u(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}t.timer=function(n,e,r){void 0===n&&(n=0);var i=-1;return s.isNumeric(e)?i=Number(e)<1?1:Number(e):l.isScheduler(e)&&(r=e),l.isScheduler(r)||(r=a.async),new o.Observable(function(e){var t=s.isNumeric(n)?n:+n-r.now();return r.schedule(u,t,{index:0,period:i,subscriber:e})})}}),System.registerDynamic("npm:rxjs/internal/operators/auditTime.js",["../scheduler/async","./audit","../observable/timer"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../scheduler/async"),i=e("./audit"),o=e("../observable/timer");t.auditTime=function(e,t){return void 0===t&&(t=r.async),i.audit(function(){return o.timer(e,t)})}}),System.registerDynamic("npm:rxjs/internal/operators/buffer.js",["../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../util/subscribeToResult");t.buffer=function(t){return function(e){return e.lift(new s(t))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.closingNotifier))},l);function l(e){this.closingNotifier=e}var u,c=(u=o.OuterSubscriber,i(p,u),p.prototype._next=function(e){this.buffer.push(e)},p.prototype.notifyNext=function(e,t,n,r,i){var o=this.buffer;this.buffer=[],this.destination.next(o)},p);function p(e,t){var n=u.call(this,e)||this;return n.buffer=[],n.add(a.subscribeToResult(n,t)),n}}),System.registerDynamic("npm:rxjs/internal/operators/bufferCount.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.bufferCount=function(t,n){return void 0===n&&(n=null),function(e){return e.lift(new a(t,n))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new this.subscriberClass(e,this.bufferSize,this.startBufferEvery))},s);function s(e,t){this.bufferSize=e,this.startBufferEvery=t,this.subscriberClass=t&&e!==t?d:u}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){var t=this.buffer;t.push(e),t.length==this.bufferSize&&(this.destination.next(t),this.buffer=[])},c.prototype._complete=function(){var e=this.buffer;0<e.length&&this.destination.next(e),l.prototype._complete.call(this)},c);function c(e,t){var n=l.call(this,e)||this;return n.bufferSize=t,n.buffer=[],n}var p,d=(p=o.Subscriber,i(h,p),h.prototype._next=function(e){var t=this.bufferSize,n=this.startBufferEvery,r=this.buffers,i=this.count;this.count++,i%n==0&&r.push([]);for(var o=r.length;o--;){var a=r[o];a.push(e),a.length===t&&(r.splice(o,1),this.destination.next(a))}},h.prototype._complete=function(){for(var e=this.buffers,t=this.destination;0<e.length;){var n=e.shift();0<n.length&&t.next(n)}p.prototype._complete.call(this)},h);function h(e,t,n){var r=p.call(this,e)||this;return r.bufferSize=t,r.startBufferEvery=n,r.buffers=[],r.count=0,r}}),System.registerDynamic("npm:rxjs/internal/operators/bufferTime.js",["../scheduler/async","../Subscriber","../util/isScheduler"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../scheduler/async"),a=e("../Subscriber"),s=e("../util/isScheduler");t.bufferTime=function(t){var e=arguments.length,n=o.async;s.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;2<=e&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return 3<=e&&(i=arguments[2]),function(e){return e.lift(new l(t,r,i,n))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new d(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},u);function u(e,t,n,r){this.bufferTimeSpan=e,this.bufferCreationInterval=t,this.maxBufferSize=n,this.scheduler=r}var c,p=function(){this.buffer=[]},d=(c=a.Subscriber,i(h,c),h.prototype._next=function(e){for(var t,n=this.contexts,r=n.length,i=0;i<r;i++){var o=n[i],a=o.buffer;a.push(e),a.length==this.maxBufferSize&&(t=o)}t&&this.onBufferFull(t)},h.prototype._error=function(e){this.contexts.length=0,c.prototype._error.call(this,e)},h.prototype._complete=function(){for(var e=this.contexts,t=this.destination;0<e.length;){var n=e.shift();t.next(n.buffer)}c.prototype._complete.call(this)},h.prototype._unsubscribe=function(){this.contexts=null},h.prototype.onBufferFull=function(e){this.closeContext(e);var t=e.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){e=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:e,bufferTimeSpan:n};this.add(e.closeAction=this.scheduler.schedule(f,n,r))}},h.prototype.openContext=function(){var e=new p;return this.contexts.push(e),e},h.prototype.closeContext=function(e){this.destination.next(e.buffer);var t=this.contexts;0<=(t?t.indexOf(e):-1)&&t.splice(t.indexOf(e),1)},h);function h(e,t,n,r,i){var o=c.call(this,e)||this;o.bufferTimeSpan=t,o.bufferCreationInterval=n,o.maxBufferSize=r,o.scheduler=i,o.contexts=[];var a=o.openContext();if(o.timespanOnly=null==n||n<0,o.timespanOnly){var s={subscriber:o,context:a,bufferTimeSpan:t};o.add(a.closeAction=i.schedule(f,t,s))}else{var l={subscriber:o,context:a},u={bufferTimeSpan:t,bufferCreationInterval:n,subscriber:o,scheduler:i};o.add(a.closeAction=i.schedule(v,t,l)),o.add(i.schedule(m,n,u))}return o}function f(e){var t=e.subscriber,n=e.context;n&&t.closeContext(n),t.closed||(e.context=t.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function m(e){var t=e.bufferCreationInterval,n=e.bufferTimeSpan,r=e.subscriber,i=e.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(v,n,{subscriber:r,context:o})),this.schedule(e,t))}function v(e){var t=e.subscriber,n=e.context;t.closeContext(n)}}),System.registerDynamic("npm:rxjs/internal/operators/bufferToggle.js",["../Subscription","../util/subscribeToResult","../OuterSubscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscription"),a=e("../util/subscribeToResult"),s=e("../OuterSubscriber");t.bufferToggle=function(t,n){return function(e){return e.lift(new l(t,n))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.openings,this.closingSelector))},u);function u(e,t){this.openings=e,this.closingSelector=t}var c,p=(c=s.OuterSubscriber,i(d,c),d.prototype._next=function(e){for(var t=this.contexts,n=t.length,r=0;r<n;r++)t[r].buffer.push(e)},d.prototype._error=function(e){for(var t=this.contexts;0<t.length;){var n=t.shift();n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,c.prototype._error.call(this,e)},d.prototype._complete=function(){for(var e=this.contexts;0<e.length;){var t=e.shift();this.destination.next(t.buffer),t.subscription.unsubscribe(),t.buffer=null,t.subscription=null}this.contexts=null,c.prototype._complete.call(this)},d.prototype.notifyNext=function(e,t,n,r,i){e?this.closeBuffer(e):this.openBuffer(t)},d.prototype.notifyComplete=function(e){this.closeBuffer(e.context)},d.prototype.openBuffer=function(e){try{var t=this.closingSelector.call(this,e);t&&this.trySubscribe(t)}catch(e){this._error(e)}},d.prototype.closeBuffer=function(e){var t=this.contexts;if(t&&e){var n=e.buffer,r=e.subscription;this.destination.next(n),t.splice(t.indexOf(e),1),this.remove(r),r.unsubscribe()}},d.prototype.trySubscribe=function(e){var t=this.contexts,n=new o.Subscription,r={buffer:[],subscription:n};t.push(r);var i=a.subscribeToResult(this,e,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),n.add(i))},d);function d(e,t,n){var r=c.call(this,e)||this;return r.openings=t,r.closingSelector=n,r.contexts=[],r.add(a.subscribeToResult(r,t)),r}}),System.registerDynamic("npm:rxjs/internal/operators/bufferWhen.js",["../Subscription","../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscription"),a=e("../OuterSubscriber"),s=e("../util/subscribeToResult");t.bufferWhen=function(t){return function(e){return e.lift(new l(t))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.closingSelector))},u);function u(e){this.closingSelector=e}var c,p=(c=a.OuterSubscriber,i(d,c),d.prototype._next=function(e){this.buffer.push(e)},d.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),c.prototype._complete.call(this)},d.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},d.prototype.notifyNext=function(e,t,n,r,i){this.openBuffer()},d.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},d.prototype.openBuffer=function(){var e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe());var t,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{t=(0,this.closingSelector)()}catch(e){return this.error(e)}e=new o.Subscription,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(s.subscribeToResult(this,t)),this.subscribing=!1},d);function d(e,t){var n=c.call(this,e)||this;return n.closingSelector=t,n.subscribing=!1,n.openBuffer(),n}}),System.registerDynamic("npm:rxjs/internal/operators/catchError.js",["../OuterSubscriber","../InnerSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../InnerSubscriber"),s=e("../util/subscribeToResult");t.catchError=function(r){return function(e){var t=new l(r),n=e.lift(t);return t.caught=n}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.selector,this.caught))},u);function u(e){this.selector=e}var c,p=(c=o.OuterSubscriber,i(d,c),d.prototype.error=function(e){if(!this.isStopped){var t=void 0;try{t=this.selector(e,this.caught)}catch(e){return void c.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var n=new a.InnerSubscriber(this,void 0,void 0);this.add(n),s.subscribeToResult(this,t,void 0,void 0,n)}},d);function d(e,t,n){var r=c.call(this,e)||this;return r.selector=t,r.caught=n,r}}),System.registerDynamic("npm:rxjs/internal/operators/combineAll.js",["../observable/combineLatest"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../observable/combineLatest");t.combineAll=function(t){return function(e){return e.lift(new r.CombineLatestOperator(t))}}}),System.registerDynamic("npm:rxjs/internal/observable/combineLatest.js",["../util/isScheduler","../util/isArray","../OuterSubscriber","../util/subscribeToResult","./fromArray"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../util/isScheduler"),a=e("../util/isArray"),s=e("../OuterSubscriber"),l=e("../util/subscribeToResult"),u=e("./fromArray"),c={};t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null,r=null;return o.isScheduler(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&a.isArray(e[0])&&(e=e[0]),u.fromArray(e,r).lift(new p(n))};var p=(d.prototype.call=function(e,t){return t.subscribe(new f(e,this.resultSelector))},d);function d(e){this.resultSelector=e}t.CombineLatestOperator=p;var h,f=(h=s.OuterSubscriber,i(m,h),m.prototype._next=function(e){this.values.push(c),this.observables.push(e)},m.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(l.subscribeToResult(this,r,r,n))}}},m.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},m.prototype.notifyNext=function(e,t,n,r,i){var o=this.values,a=o[n],s=this.toRespond?a===c?--this.toRespond:this.toRespond:0;o[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},m.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},m);function m(e,t){var n=h.call(this,e)||this;return n.resultSelector=t,n.active=0,n.values=[],n.observables=[],n}t.CombineLatestSubscriber=f}),System.registerDynamic("npm:rxjs/internal/operators/combineLatest.js",["../util/isArray","../observable/combineLatest","../observable/from"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../util/isArray"),i=e("../observable/combineLatest"),o=e("../observable/from");t.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&r.isArray(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(o.from([e].concat(t)),new i.CombineLatestOperator(n))}}}),System.registerDynamic("npm:rxjs/internal/operators/concat.js",["../observable/concat"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../observable/concat");t.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(r.concat.apply(void 0,[e].concat(t)))}}}),System.registerDynamic("npm:rxjs/internal/operators/concatMap.js",["./mergeMap"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./mergeMap");t.concatMap=function(e,t){return r.mergeMap(e,t,1)}}),System.registerDynamic("npm:rxjs/internal/operators/concatMapTo.js",["./concatMap"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./concatMap");t.concatMapTo=function(e,t){return r.concatMap(function(){return e},t)}}),System.registerDynamic("npm:rxjs/internal/operators/count.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.count=function(t){return function(e){return e.lift(new a(t,e))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.predicate,this.source))},s);function s(e,t){this.predicate=e,this.source=t}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){this.predicate?this._tryPredicate(e):this.count++},c.prototype._tryPredicate=function(e){var t;try{t=this.predicate(e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t&&this.count++},c.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},c);function c(e,t,n){var r=l.call(this,e)||this;return r.predicate=t,r.source=n,r.count=0,r.index=0,r}}),System.registerDynamic("npm:rxjs/internal/operators/debounce.js",["../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../util/subscribeToResult");t.debounce=function(t){return function(e){return e.lift(new s(t))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.durationSelector))},l);function l(e){this.durationSelector=e}var u,c=(u=o.OuterSubscriber,i(p,u),p.prototype._next=function(e){try{var t=this.durationSelector.call(this,e);t&&this._tryNext(e,t)}catch(e){this.destination.error(e)}},p.prototype._complete=function(){this.emitValue(),this.destination.complete()},p.prototype._tryNext=function(e,t){var n=this.durationSubscription;this.value=e,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=a.subscribeToResult(this,t))&&!n.closed&&this.add(this.durationSubscription=n)},p.prototype.notifyNext=function(e,t,n,r,i){this.emitValue()},p.prototype.notifyComplete=function(){this.emitValue()},p.prototype.emitValue=function(){if(this.hasValue){var e=this.value,t=this.durationSubscription;t&&(this.durationSubscription=null,t.unsubscribe(),this.remove(t)),this.value=null,this.hasValue=!1,u.prototype._next.call(this,e)}},p);function p(e,t){var n=u.call(this,e)||this;return n.durationSelector=t,n.hasValue=!1,n.durationSubscription=null,n}}),System.registerDynamic("npm:rxjs/internal/operators/debounceTime.js",["../Subscriber","../scheduler/async"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../scheduler/async");t.debounceTime=function(t,n){return void 0===n&&(n=a.async),function(e){return e.lift(new s(t,n))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.dueTime,this.scheduler))},l);function l(e,t){this.dueTime=e,this.scheduler=t}var u,c=(u=o.Subscriber,i(p,u),p.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(d,this.dueTime,this))},p.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},p.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},p.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},p);function p(e,t,n){var r=u.call(this,e)||this;return r.dueTime=t,r.scheduler=n,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}function d(e){e.debouncedNext()}}),System.registerDynamic("npm:rxjs/internal/operators/delay.js",["../scheduler/async","../util/isDate","../Subscriber","../Notification"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../scheduler/async"),a=e("../util/isDate"),s=e("../Subscriber"),l=e("../Notification");t.delay=function(e,t){void 0===t&&(t=o.async);var n=a.isDate(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new u(n,t))}};var u=(c.prototype.call=function(e,t){return t.subscribe(new d(e,this.delay,this.scheduler))},c);function c(e,t){this.delay=e,this.scheduler=t}var p,d=(p=s.Subscriber,i(h,p),h.dispatch=function(e){for(var t=e.source,n=t.queue,r=e.scheduler,i=e.destination;0<n.length&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(0<n.length){var o=Math.max(0,n[0].time-r.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1},h.prototype._schedule=function(e){this.active=!0,this.destination.add(e.schedule(h.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},h.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,n=new f(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}},h.prototype._next=function(e){this.scheduleNotification(l.Notification.createNext(e))},h.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()},h.prototype._complete=function(){this.scheduleNotification(l.Notification.createComplete()),this.unsubscribe()},h);function h(e,t,n){var r=p.call(this,e)||this;return r.delay=t,r.scheduler=n,r.queue=[],r.active=!1,r.errored=!1,r}var f=function(e,t){this.time=e,this.notification=t}}),System.registerDynamic("npm:rxjs/internal/operators/delayWhen.js",["../Subscriber","../Observable","../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../Observable"),s=e("../OuterSubscriber"),l=e("../util/subscribeToResult");t.delayWhen=function(t,n){return n?function(e){return new m(e,n).lift(new u(t))}:function(e){return e.lift(new u(t))}};var u=(c.prototype.call=function(e,t){return t.subscribe(new d(e,this.delayDurationSelector))},c);function c(e){this.delayDurationSelector=e}var p,d=(p=s.OuterSubscriber,i(h,p),h.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(e),this.removeSubscription(i),this.tryComplete()},h.prototype.notifyError=function(e,t){this._error(e)},h.prototype.notifyComplete=function(e){var t=this.removeSubscription(e);t&&this.destination.next(t),this.tryComplete()},h.prototype._next=function(e){var t=this.index++;try{var n=this.delayDurationSelector(e,t);n&&this.tryDelay(n,e)}catch(e){this.destination.error(e)}},h.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},h.prototype.removeSubscription=function(e){e.unsubscribe();var t=this.delayNotifierSubscriptions.indexOf(e);return-1!==t&&this.delayNotifierSubscriptions.splice(t,1),e.outerValue},h.prototype.tryDelay=function(e,t){var n=l.subscribeToResult(this,e,t);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))},h.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},h);function h(e,t){var n=p.call(this,e)||this;return n.delayDurationSelector=t,n.completed=!1,n.delayNotifierSubscriptions=[],n.index=0,n}var f,m=(f=a.Observable,i(v,f),v.prototype._subscribe=function(e){this.subscriptionDelay.subscribe(new g(e,this.source))},v);function v(e,t){var n=f.call(this)||this;return n.source=e,n.subscriptionDelay=t,n}var y,g=(y=o.Subscriber,i(_,y),_.prototype._next=function(e){this.subscribeToSource()},_.prototype._error=function(e){this.unsubscribe(),this.parent.error(e)},_.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},_.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},_);function _(e,t){var n=y.call(this)||this;return n.parent=e,n.source=t,n.sourceSubscribed=!1,n}}),System.registerDynamic("npm:rxjs/internal/operators/dematerialize.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.dematerialize=function(){return function(e){return e.lift(new a)}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e))},s);function s(){}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){e.observe(this.destination)},c);function c(e){return l.call(this,e)||this}}),System.registerDynamic("npm:rxjs/internal/operators/distinct.js",["../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../util/subscribeToResult");t.distinct=function(t,n){return function(e){return e.lift(new s(t,n))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.keySelector,this.flushes))},l);function l(e,t){this.keySelector=e,this.flushes=t}var u,c=(u=o.OuterSubscriber,i(p,u),p.prototype.notifyNext=function(e,t,n,r,i){this.values.clear()},p.prototype.notifyError=function(e,t){this._error(e)},p.prototype._next=function(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)},p.prototype._useKeySelector=function(e){var t,n=this.destination;try{t=this.keySelector(e)}catch(e){return void n.error(e)}this._finalizeNext(t,e)},p.prototype._finalizeNext=function(e,t){var n=this.values;n.has(e)||(n.add(e),this.destination.next(t))},p);function p(e,t,n){var r=u.call(this,e)||this;return r.keySelector=t,r.values=new Set,n&&r.add(a.subscribeToResult(r,n)),r}t.DistinctSubscriber=c}),System.registerDynamic("npm:rxjs/internal/operators/distinctUntilChanged.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.distinctUntilChanged=function(t,n){return function(e){return e.lift(new a(t,n))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.compare,this.keySelector))},s);function s(e,t){this.compare=e,this.keySelector=t}var l,u=(l=o.Subscriber,i(c,l),c.prototype.compare=function(e,t){return e===t},c.prototype._next=function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(e){return this.destination.error(e)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))},c);function c(e,t,n){var r=l.call(this,e)||this;return r.keySelector=n,r.hasKey=!1,"function"==typeof t&&(r.compare=t),r}}),System.registerDynamic("npm:rxjs/internal/operators/distinctUntilKeyChanged.js",["./distinctUntilChanged"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var i=e("./distinctUntilChanged");t.distinctUntilKeyChanged=function(n,r){return i.distinctUntilChanged(function(e,t){return r?r(e[n],t[n]):e[n]===t[n]})}}),System.registerDynamic("npm:rxjs/internal/operators/elementAt.js",["../util/ArgumentOutOfRangeError","./filter","./throwIfEmpty","./defaultIfEmpty","./take"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var i=e("../util/ArgumentOutOfRangeError"),o=e("./filter"),a=e("./throwIfEmpty"),s=e("./defaultIfEmpty"),l=e("./take");t.elementAt=function(n,t){if(n<0)throw new i.ArgumentOutOfRangeError;var r=2<=arguments.length;return function(e){return e.pipe(o.filter(function(e,t){return t===n}),l.take(1),r?s.defaultIfEmpty(t):a.throwIfEmpty(function(){return new i.ArgumentOutOfRangeError}))}}}),System.registerDynamic("npm:rxjs/internal/operators/endWith.js",["../observable/concat","../observable/of"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../observable/concat"),i=e("../observable/of");t.endWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return r.concat(e,i.of.apply(void 0,t))}}}),System.registerDynamic("npm:rxjs/internal/operators/every.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.every=function(t,n){return function(e){return e.lift(new a(t,n,e))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.predicate,this.thisArg,this.source))},s);function s(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}var l,u=(l=o.Subscriber,i(c,l),c.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},c.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)},c.prototype._complete=function(){this.notifyComplete(!0)},c);function c(e,t,n,r){var i=l.call(this,e)||this;return i.predicate=t,i.thisArg=n,i.source=r,i.index=0,i.thisArg=n||i,i}}),System.registerDynamic("npm:rxjs/internal/operators/exhaust.js",["../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../util/subscribeToResult");t.exhaust=function(){return function(e){return e.lift(new s)}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e))},l);function l(){}var u,c=(u=o.OuterSubscriber,i(p,u),p.prototype._next=function(e){this.hasSubscription||(this.hasSubscription=!0,this.add(a.subscribeToResult(this,e)))},p.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},p.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},p);function p(e){var t=u.call(this,e)||this;return t.hasCompleted=!1,t.hasSubscription=!1,t}}),System.registerDynamic("npm:rxjs/internal/operators/exhaustMap.js",["../OuterSubscriber","../InnerSubscriber","../util/subscribeToResult","./map","../observable/from"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../InnerSubscriber"),s=e("../util/subscribeToResult"),l=e("./map"),u=e("../observable/from");t.exhaustMap=function t(i,o){return o?function(e){return e.pipe(t(function(n,r){return u.from(i(n,r)).pipe(l.map(function(e,t){return o(n,e,r,t)}))}))}:function(e){return e.lift(new c(i))}};var c=(p.prototype.call=function(e,t){return t.subscribe(new h(e,this.project))},p);function p(e){this.project=e}var d,h=(d=o.OuterSubscriber,i(f,d),f.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},f.prototype.tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(t,e,n)},f.prototype._innerSub=function(e,t,n){var r=new a.InnerSubscriber(this,void 0,void 0);this.destination.add(r),s.subscribeToResult(this,e,t,n,r)},f.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},f.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},f.prototype.notifyError=function(e){this.destination.error(e)},f.prototype.notifyComplete=function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},f);function f(e,t){var n=d.call(this,e)||this;return n.project=t,n.hasSubscription=!1,n.hasCompleted=!1,n.index=0,n}}),System.registerDynamic("npm:rxjs/internal/operators/expand.js",["../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../util/subscribeToResult");t.expand=function(t,n,r){return void 0===n&&(n=Number.POSITIVE_INFINITY),void 0===r&&(r=void 0),n=(n||0)<1?Number.POSITIVE_INFINITY:n,function(e){return e.lift(new s(t,n,r))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.project,this.concurrent,this.scheduler))},l);function l(e,t,n){this.project=e,this.concurrent=t,this.scheduler=n}t.ExpandOperator=s;var u,c=(u=o.OuterSubscriber,i(p,u),p.dispatch=function(e){var t=e.subscriber,n=e.result,r=e.value,i=e.index;t.subscribeToProjection(n,r,i)},p.prototype._next=function(e){var t=this.destination;if(t.closed)this._complete();else{var n=this.index++;if(this.active<this.concurrent){t.next(e);try{var r=(0,this.project)(e,n);if(this.scheduler){var i={subscriber:this,result:r,value:e,index:n};this.destination.add(this.scheduler.schedule(p.dispatch,0,i))}else this.subscribeToProjection(r,e,n)}catch(e){t.error(e)}}else this.buffer.push(e)}},p.prototype.subscribeToProjection=function(e,t,n){this.active++,this.destination.add(a.subscribeToResult(this,e,t,n))},p.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},p.prototype.notifyNext=function(e,t,n,r,i){this._next(t)},p.prototype.notifyComplete=function(e){var t=this.buffer;this.destination.remove(e),this.active--,t&&0<t.length&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},p);function p(e,t,n,r){var i=u.call(this,e)||this;return i.project=t,i.concurrent=n,i.scheduler=r,i.index=0,i.active=0,i.hasCompleted=!1,n<Number.POSITIVE_INFINITY&&(i.buffer=[]),i}t.ExpandSubscriber=c}),System.registerDynamic("npm:rxjs/internal/operators/finalize.js",["../Subscriber","../Subscription"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../Subscription");t.finalize=function(t){return function(e){return e.lift(new s(t))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.callback))},l);function l(e){this.callback=e}var u,c=(u=o.Subscriber,i(p,u),p);function p(e,t){var n=u.call(this,e)||this;return n.add(new a.Subscription(t)),n}}),System.registerDynamic("npm:rxjs/internal/operators/find.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.find=function(t,n){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(e){return e.lift(new a(t,e,!1,n))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.predicate,this.source,this.yieldIndex,this.thisArg))},s);function s(e,t,n,r){this.predicate=e,this.source=t,this.yieldIndex=n,this.thisArg=r}t.FindValueOperator=a;var l,u=(l=o.Subscriber,i(c,l),c.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete(),this.unsubscribe()},c.prototype._next=function(e){var t=this.predicate,n=this.thisArg,r=this.index++;try{t.call(n||this,e,r,this.source)&&this.notifyComplete(this.yieldIndex?r:e)}catch(e){this.destination.error(e)}},c.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},c);function c(e,t,n,r,i){var o=l.call(this,e)||this;return o.predicate=t,o.source=n,o.yieldIndex=r,o.thisArg=i,o.index=0,o}t.FindValueSubscriber=u}),System.registerDynamic("npm:rxjs/internal/operators/findIndex.js",["../operators/find"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../operators/find");t.findIndex=function(t,n){return function(e){return e.lift(new r.FindValueOperator(t,e,!0,n))}}}),System.registerDynamic("npm:rxjs/internal/operators/first.js",["../util/EmptyError","./filter","./take","./defaultIfEmpty","./throwIfEmpty","../util/identity"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var i=e("../util/EmptyError"),o=e("./filter"),a=e("./take"),s=e("./defaultIfEmpty"),l=e("./throwIfEmpty"),u=e("../util/identity");t.first=function(r,e){var t=2<=arguments.length;return function(n){return n.pipe(r?o.filter(function(e,t){return r(e,t,n)}):u.identity,a.take(1),t?s.defaultIfEmpty(e):l.throwIfEmpty(function(){return new i.EmptyError}))}}}),System.registerDynamic("npm:rxjs/internal/operators/groupBy.js",["../Subscriber","../Subscription","../Observable","../Subject"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../Subscription"),s=e("../Observable"),l=e("../Subject");t.groupBy=function(t,n,r,i){return function(e){return e.lift(new u(t,n,r,i))}};var u=(c.prototype.call=function(e,t){return t.subscribe(new d(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},c);function c(e,t,n,r){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=r}var p,d=(p=o.Subscriber,i(h,p),h.prototype._next=function(e){var t;try{t=this.keySelector(e)}catch(e){return void this.error(e)}this._group(e,t)},h.prototype._group=function(e,t){var n,r=this.groups,i=(r=r||(this.groups=new Map)).get(t);if(this.elementSelector)try{n=this.elementSelector(e)}catch(e){this.error(e)}else n=e;if(!i){i=this.subjectSelector?this.subjectSelector():new l.Subject,r.set(t,i);var o=new g(t,i,this);if(this.destination.next(o),this.durationSelector){var a=void 0;try{a=this.durationSelector(new g(t,i))}catch(e){return void this.error(e)}this.add(a.subscribe(new m(t,i,this)))}}i.closed||i.next(n)},h.prototype._error=function(n){var e=this.groups;e&&(e.forEach(function(e,t){e.error(n)}),e.clear()),this.destination.error(n)},h.prototype._complete=function(){var e=this.groups;e&&(e.forEach(function(e,t){e.complete()}),e.clear()),this.destination.complete()},h.prototype.removeGroup=function(e){this.groups.delete(e)},h.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&p.prototype.unsubscribe.call(this))},h);function h(e,t,n,r,i){var o=p.call(this,e)||this;return o.keySelector=t,o.elementSelector=n,o.durationSelector=r,o.subjectSelector=i,o.groups=null,o.attemptedToUnsubscribe=!1,o.count=0,o}var f,m=(f=o.Subscriber,i(v,f),v.prototype._next=function(e){this.complete()},v.prototype._unsubscribe=function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)},v);function v(e,t,n){var r=f.call(this,t)||this;return r.key=e,r.group=t,r.parent=n,r}var y,g=(y=s.Observable,i(_,y),_.prototype._subscribe=function(e){var t=new a.Subscription,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&t.add(new w(n)),t.add(r.subscribe(e)),t},_);function _(e,t,n){var r=y.call(this)||this;return r.key=e,r.groupSubject=t,r.refCountSubscription=n,r}t.GroupedObservable=g;var b,w=(b=a.Subscription,i(x,b),x.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(b.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},x);function x(e){var t=b.call(this)||this;return(t.parent=e).count++,t}}),System.registerDynamic("npm:rxjs/internal/operators/ignoreElements.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.ignoreElements=function(){return function(e){return e.lift(new a)}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e))},s);function s(){}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){},c);function c(){return null!==l&&l.apply(this,arguments)||this}}),System.registerDynamic("npm:rxjs/internal/operators/isEmpty.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.isEmpty=function(){return function(e){return e.lift(new a)}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e))},s);function s(){}var l,u=(l=o.Subscriber,i(c,l),c.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete()},c.prototype._next=function(e){this.notifyComplete(!1)},c.prototype._complete=function(){this.notifyComplete(!0)},c);function c(e){return l.call(this,e)||this}}),System.registerDynamic("npm:rxjs/internal/operators/last.js",["../util/EmptyError","./filter","./takeLast","./throwIfEmpty","./defaultIfEmpty","../util/identity"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var i=e("../util/EmptyError"),o=e("./filter"),a=e("./takeLast"),s=e("./throwIfEmpty"),l=e("./defaultIfEmpty"),u=e("../util/identity");t.last=function(r,e){var t=2<=arguments.length;return function(n){return n.pipe(r?o.filter(function(e,t){return r(e,t,n)}):u.identity,a.takeLast(1),t?l.defaultIfEmpty(e):s.throwIfEmpty(function(){return new i.EmptyError}))}}}),System.registerDynamic("npm:rxjs/internal/operators/mapTo.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.mapTo=function(t){return function(e){return e.lift(new a(t))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.value))},s);function s(e){this.value=e}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){this.destination.next(this.value)},c);function c(e,t){var n=l.call(this,e)||this;return n.value=t,n}}),System.registerDynamic("npm:rxjs/internal/operators/materialize.js",["../Subscriber","../Notification"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../Notification");t.materialize=function(){return function(e){return e.lift(new s)}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e))},l);function l(){}var u,c=(u=o.Subscriber,i(p,u),p.prototype._next=function(e){this.destination.next(a.Notification.createNext(e))},p.prototype._error=function(e){var t=this.destination;t.next(a.Notification.createError(e)),t.complete()},p.prototype._complete=function(){var e=this.destination;e.next(a.Notification.createComplete()),e.complete()},p);function p(e){return u.call(this,e)||this}}),System.registerDynamic("npm:rxjs/internal/operators/max.js",["./reduce"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./reduce");t.max=function(n){var e="function"==typeof n?function(e,t){return 0<n(e,t)?e:t}:function(e,t){return t<e?e:t};return r.reduce(e)}}),System.registerDynamic("npm:rxjs/internal/observable/merge.js",["../Observable","../util/isScheduler","../operators/mergeAll","./fromArray"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Observable"),a=e("../util/isScheduler"),s=e("../operators/mergeAll"),l=e("./fromArray");t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,i=e[e.length-1];return a.isScheduler(i)?(r=e.pop(),1<e.length&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof i&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof o.Observable?e[0]:s.mergeAll(n)(l.fromArray(e,r))}}),System.registerDynamic("npm:rxjs/internal/operators/merge.js",["../observable/merge"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../observable/merge");t.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(r.merge.apply(void 0,[e].concat(t)))}}}),System.registerDynamic("npm:rxjs/internal/operators/mergeMapTo.js",["./mergeMap"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./mergeMap");t.mergeMapTo=function(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?r.mergeMap(function(){return e},t,n):("number"==typeof t&&(n=t),r.mergeMap(function(){return e},n))}}),System.registerDynamic("npm:rxjs/internal/operators/mergeScan.js",["../util/subscribeToResult","../OuterSubscriber","../InnerSubscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../util/subscribeToResult"),a=e("../OuterSubscriber"),s=e("../InnerSubscriber");t.mergeScan=function(t,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),function(e){return e.lift(new l(t,n,r))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.accumulator,this.seed,this.concurrent))},u);function u(e,t,n){this.accumulator=e,this.seed=t,this.concurrent=n}t.MergeScanOperator=l;var c,p=(c=a.OuterSubscriber,i(d,c),d.prototype._next=function(e){if(this.active<this.concurrent){var t=this.index++,n=this.destination,r=void 0;try{r=(0,this.accumulator)(this.acc,e,t)}catch(e){return n.error(e)}this.active++,this._innerSub(r,e,t)}else this.buffer.push(e)},d.prototype._innerSub=function(e,t,n){var r=new s.InnerSubscriber(this,void 0,void 0);this.destination.add(r),o.subscribeToResult(this,e,t,n,r)},d.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},d.prototype.notifyNext=function(e,t,n,r,i){var o=this.destination;this.acc=t,this.hasValue=!0,o.next(t)},d.prototype.notifyComplete=function(e){var t=this.buffer;this.destination.remove(e),this.active--,0<t.length?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},d);function d(e,t,n,r){var i=c.call(this,e)||this;return i.accumulator=t,i.acc=n,i.concurrent=r,i.hasValue=!1,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}t.MergeScanSubscriber=p}),System.registerDynamic("npm:rxjs/internal/operators/min.js",["./reduce"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./reduce");t.min=function(n){var e="function"==typeof n?function(e,t){return n(e,t)<0?e:t}:function(e,t){return e<t?e:t};return r.reduce(e)}}),System.registerDynamic("npm:rxjs/internal/operators/onErrorResumeNext.js",["../observable/from","../util/isArray","../OuterSubscriber","../InnerSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../observable/from"),a=e("../util/isArray"),s=e("../OuterSubscriber"),l=e("../InnerSubscriber"),u=e("../util/subscribeToResult");t.onErrorResumeNext=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&a.isArray(t[0])&&(t=t[0]),function(e){return e.lift(new c(t))}},t.onErrorResumeNextStatic=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n;return 1===e.length&&a.isArray(e[0])&&(e=e[0]),n=e.shift(),o.from(n,null).lift(new c(e))};var c=(p.prototype.call=function(e,t){return t.subscribe(new h(e,this.nextSources))},p);function p(e){this.nextSources=e}var d,h=(d=s.OuterSubscriber,i(f,d),f.prototype.notifyError=function(e,t){this.subscribeToNextSource()},f.prototype.notifyComplete=function(e){this.subscribeToNextSource()},f.prototype._error=function(e){this.subscribeToNextSource(),this.unsubscribe()},f.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},f.prototype.subscribeToNextSource=function(){var e=this.nextSources.shift();if(e){var t=new l.InnerSubscriber(this,void 0,void 0);this.destination.add(t),u.subscribeToResult(this,e,void 0,void 0,t)}else this.destination.complete()},f);function f(e,t){var n=d.call(this,e)||this;return n.destination=e,n.nextSources=t,n}}),System.registerDynamic("npm:rxjs/internal/operators/pairwise.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.pairwise=function(){return function(e){return e.lift(new a)}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e))},s);function s(){}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){var t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)},c);function c(e){var t=l.call(this,e)||this;return t.hasPrev=!1,t}}),System.registerDynamic("npm:rxjs/internal/util/not.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.not=function(e,t){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=e,n.thisArg=t,n}}),System.registerDynamic("npm:rxjs/internal/operators/filter.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.filter=function(t,n){return function(e){return e.lift(new a(t,n))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.predicate,this.thisArg))},s);function s(e,t){this.predicate=e,this.thisArg=t}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},c);function c(e,t,n){var r=l.call(this,e)||this;return r.predicate=t,r.thisArg=n,r.count=0,r}}),System.registerDynamic("npm:rxjs/internal/operators/partition.js",["../util/not","./filter"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../util/not"),i=e("./filter");t.partition=function(t,n){return function(e){return[i.filter(t,n)(e),i.filter(r.not(t,n))(e)]}}}),System.registerDynamic("npm:rxjs/internal/operators/pluck.js",["./map"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./map");t.pluck=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return r.map(function(i,o){return function(e){for(var t=e,n=0;n<o;n++){var r=t[i[n]];if(void 0===r)return;t=r}return t}}(t,n))(e)}}}),System.registerDynamic("npm:rxjs/internal/operators/publish.js",["../Subject","./multicast"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Subject"),i=e("./multicast");t.publish=function(e){return e?i.multicast(function(){return new r.Subject},e):i.multicast(new r.Subject)}}),System.registerDynamic("npm:rxjs/internal/BehaviorSubject.js",["./Subject","./util/ObjectUnsubscribedError"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./Subject"),s=e("./util/ObjectUnsubscribedError"),l=(o=a.Subject,i(u,o),Object.defineProperty(u.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),u.prototype._subscribe=function(e){var t=o.prototype._subscribe.call(this,e);return t&&!t.closed&&e.next(this._value),t},u.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.ObjectUnsubscribedError;return this._value},u.prototype.next=function(e){o.prototype.next.call(this,this._value=e)},u);function u(e){var t=o.call(this)||this;return t._value=e,t}t.BehaviorSubject=l}),System.registerDynamic("npm:rxjs/internal/operators/publishBehavior.js",["../BehaviorSubject","./multicast"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../BehaviorSubject"),i=e("./multicast");t.publishBehavior=function(t){return function(e){return i.multicast(new r.BehaviorSubject(t))(e)}}}),System.registerDynamic("npm:rxjs/internal/AsyncSubject.js",["./Subject","./Subscription"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./Subject"),s=e("./Subscription"),l=(o=a.Subject,i(u,o),u.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),s.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),s.Subscription.EMPTY):o.prototype._subscribe.call(this,e)},u.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},u.prototype.error=function(e){this.hasCompleted||o.prototype.error.call(this,e)},u.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&o.prototype.next.call(this,this.value),o.prototype.complete.call(this)},u);function u(){var e=null!==o&&o.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}t.AsyncSubject=l}),System.registerDynamic("npm:rxjs/internal/operators/publishLast.js",["../AsyncSubject","./multicast"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../AsyncSubject"),i=e("./multicast");t.publishLast=function(){return function(e){return i.multicast(new r.AsyncSubject)(e)}}}),System.registerDynamic("npm:rxjs/internal/operators/publishReplay.js",["../ReplaySubject","./multicast"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var a=e("../ReplaySubject"),s=e("./multicast");t.publishReplay=function(e,t,n,r){n&&"function"!=typeof n&&(r=n);var i="function"==typeof n?n:void 0,o=new a.ReplaySubject(e,t,r);return function(e){return s.multicast(function(){return o},i)(e)}}}),System.registerDynamic("npm:rxjs/internal/observable/race.js",["../util/isArray","./fromArray","../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../util/isArray"),a=e("./fromArray"),s=e("../OuterSubscriber"),l=e("../util/subscribeToResult");t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){if(!o.isArray(e[0]))return e[0];e=e[0]}return a.fromArray(e,void 0).lift(new u)};var u=(c.prototype.call=function(e,t){return t.subscribe(new d(e))},c);function c(){}t.RaceOperator=u;var p,d=(p=s.OuterSubscriber,i(h,p),h.prototype._next=function(e){this.observables.push(e)},h.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var n=0;n<t&&!this.hasFirst;n++){var r=e[n],i=l.subscribeToResult(this,r,r,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},h.prototype.notifyNext=function(e,t,n,r,i){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var a=this.subscriptions[o];a.unsubscribe(),this.remove(a)}this.subscriptions=null}this.destination.next(t)},h);function h(e){var t=p.call(this,e)||this;return t.hasFirst=!1,t.observables=[],t.subscriptions=[],t}t.RaceSubscriber=d}),System.registerDynamic("npm:rxjs/internal/operators/race.js",["../util/isArray","../observable/race"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../util/isArray"),i=e("../observable/race");t.race=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return 1===t.length&&r.isArray(t[0])&&(t=t[0]),e.lift.call(i.race.apply(void 0,[e].concat(t)))}}}),System.registerDynamic("npm:rxjs/internal/operators/repeat.js",["../Subscriber","../observable/empty"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../observable/empty");t.repeat=function(t){return void 0===t&&(t=-1),function(e){return 0===t?a.empty():t<0?e.lift(new s(-1,e)):e.lift(new s(t-1,e))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.count,this.source))},l);function l(e,t){this.count=e,this.source=t}var u,c=(u=o.Subscriber,i(p,u),p.prototype.complete=function(){if(!this.isStopped){var e=this.source,t=this.count;if(0===t)return u.prototype.complete.call(this);-1<t&&(this.count=t-1),e.subscribe(this._unsubscribeAndRecycle())}},p);function p(e,t,n){var r=u.call(this,e)||this;return r.count=t,r.source=n,r}}),System.registerDynamic("npm:rxjs/internal/operators/repeatWhen.js",["../Subject","../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subject"),a=e("../OuterSubscriber"),s=e("../util/subscribeToResult");t.repeatWhen=function(t){return function(e){return e.lift(new l(t))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.notifier,t))},u);function u(e){this.notifier=e}var c,p=(c=a.OuterSubscriber,i(d,c),d.prototype.notifyNext=function(e,t,n,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},d.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return c.prototype.complete.call(this)},d.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return c.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},d.prototype._unsubscribe=function(){var e=this.notifications,t=this.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},d.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,c.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},d.prototype.subscribeToRetries=function(){var e;this.notifications=new o.Subject;try{e=(0,this.notifier)(this.notifications)}catch(e){return c.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=s.subscribeToResult(this,e)},d);function d(e,t,n){var r=c.call(this,e)||this;return r.notifier=t,r.source=n,r.sourceIsBeingSubscribedTo=!0,r}}),System.registerDynamic("npm:rxjs/internal/operators/retry.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.retry=function(t){return void 0===t&&(t=-1),function(e){return e.lift(new a(t,e))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.count,this.source))},s);function s(e,t){this.count=e,this.source=t}var l,u=(l=o.Subscriber,i(c,l),c.prototype.error=function(e){if(!this.isStopped){var t=this.source,n=this.count;if(0===n)return l.prototype.error.call(this,e);-1<n&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}},c);function c(e,t,n){var r=l.call(this,e)||this;return r.count=t,r.source=n,r}}),System.registerDynamic("npm:rxjs/internal/operators/retryWhen.js",["../Subject","../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subject"),a=e("../OuterSubscriber"),s=e("../util/subscribeToResult");t.retryWhen=function(t){return function(e){return e.lift(new l(t,e))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.notifier,this.source))},u);function u(e,t){this.notifier=e,this.source=t}var c,p=(c=a.OuterSubscriber,i(d,c),d.prototype.error=function(e){if(!this.isStopped){var t=this.errors,n=this.retries,r=this.retriesSubscription;if(n)this.errors=null,this.retriesSubscription=null;else{t=new o.Subject;try{n=(0,this.notifier)(t)}catch(e){return c.prototype.error.call(this,e)}r=s.subscribeToResult(this,n)}this._unsubscribeAndRecycle(),this.errors=t,this.retries=n,this.retriesSubscription=r,t.next(e)}},d.prototype._unsubscribe=function(){var e=this.errors,t=this.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},d.prototype.notifyNext=function(e,t,n,r,i){var o=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=o,this.source.subscribe(this)},d);function d(e,t,n){var r=c.call(this,e)||this;return r.notifier=t,r.source=n,r}}),System.registerDynamic("npm:rxjs/internal/operators/sample.js",["../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../util/subscribeToResult");t.sample=function(t){return function(e){return e.lift(new s(t))}};var s=(l.prototype.call=function(e,t){var n=new c(e),r=t.subscribe(n);return r.add(a.subscribeToResult(n,this.notifier)),r},l);function l(e){this.notifier=e}var u,c=(u=o.OuterSubscriber,i(p,u),p.prototype._next=function(e){this.value=e,this.hasValue=!0},p.prototype.notifyNext=function(e,t,n,r,i){this.emitValue()},p.prototype.notifyComplete=function(){this.emitValue()},p.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},p);function p(){var e=null!==u&&u.apply(this,arguments)||this;return e.hasValue=!1,e}}),System.registerDynamic("npm:rxjs/internal/operators/sampleTime.js",["../Subscriber","../scheduler/async"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../scheduler/async");t.sampleTime=function(t,n){return void 0===n&&(n=a.async),function(e){return e.lift(new s(t,n))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.period,this.scheduler))},l);function l(e,t){this.period=e,this.scheduler=t}var u,c=(u=o.Subscriber,i(p,u),p.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},p.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},p);function p(e,t,n){var r=u.call(this,e)||this;return r.period=t,r.scheduler=n,r.hasValue=!1,r.add(n.schedule(d,t,{subscriber:r,period:t})),r}function d(e){var t=e.subscriber,n=e.period;t.notifyNext(),this.schedule(e,n)}}),System.registerDynamic("npm:rxjs/internal/operators/sequenceEqual.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.sequenceEqual=function(t,n){return function(e){return e.lift(new a(t,n))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.compareTo,this.comparator))},s);function s(e,t){this.compareTo=e,this.comparator=t}t.SequenceEqualOperator=a;var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())},c.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},c.prototype.checkValues=function(){for(var e=this._a,t=this._b,n=this.comparator;0<e.length&&0<t.length;){var r=e.shift(),i=t.shift(),o=!1;try{o=n?n(r,i):r===i}catch(e){this.destination.error(e)}o||this.emit(!1)}},c.prototype.emit=function(e){var t=this.destination;t.next(e),t.complete()},c.prototype.nextB=function(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())},c.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},c);function c(e,t,n){var r=l.call(this,e)||this;return r.compareTo=t,r.comparator=n,r._a=[],r._b=[],r._oneComplete=!1,r.destination.add(t.subscribe(new d(e,r))),r}t.SequenceEqualSubscriber=u;var p,d=(p=o.Subscriber,i(h,p),h.prototype._next=function(e){this.parent.nextB(e)},h.prototype._error=function(e){this.parent.error(e),this.unsubscribe()},h.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},h);function h(e,t){var n=p.call(this,e)||this;return n.parent=t,n}}),System.registerDynamic("npm:rxjs/internal/observable/ConnectableObservable.js",["../Subject","../Observable","../Subscriber","../Subscription","../operators/refCount"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a,s=e("../Subject"),l=e("../Observable"),u=e("../Subscriber"),c=e("../Subscription"),p=e("../operators/refCount"),d=(o=l.Observable,i(h,o),h.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},h.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},h.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new c.Subscription).add(this.source.subscribe(new m(this.getSubject(),this))),e.closed&&(this._connection=null,e=c.Subscription.EMPTY)),e},h.prototype.refCount=function(){return p.refCount()(this)},h);function h(e,t){var n=o.call(this)||this;return n.source=e,n.subjectFactory=t,n._refCount=0,n._isComplete=!1,n}t.ConnectableObservable=d,t.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(a=d.prototype)._subscribe},_isComplete:{value:a._isComplete,writable:!0},getSubject:{value:a.getSubject},connect:{value:a.connect},refCount:{value:a.refCount}};var f,m=(f=s.SubjectSubscriber,i(v,f),v.prototype._error=function(e){this._unsubscribe(),f.prototype._error.call(this,e)},v.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),f.prototype._complete.call(this)},v.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},v);function v(e,t){var n=f.call(this,e)||this;return n.connectable=t,n}y.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new _(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i};function y(e){this.connectable=e}var g,_=(g=u.Subscriber,i(b,g),b.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,1<t)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},b);function b(e,t){var n=g.call(this,e)||this;return n.connectable=t,n}}),System.registerDynamic("npm:rxjs/internal/operators/multicast.js",["../observable/ConnectableObservable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../observable/ConnectableObservable");t.multicast=function(r,i){return function(e){var t;if(t="function"==typeof r?r:function(){return r},"function"==typeof i)return e.lift(new a(t,i));var n=Object.create(e,o.connectableObservableDescriptor);return n.source=e,n.subjectFactory=t,n}};var a=(r.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(e);return i.add(t.subscribe(r)),i},r);function r(e,t){this.subjectFactory=e,this.selector=t}t.MulticastOperator=a}),System.registerDynamic("npm:rxjs/internal/operators/refCount.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.refCount=function(){return function(e){return e.lift(new a(e))}};var a=(s.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new u(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i},s);function s(e){this.connectable=e}var l,u=(l=o.Subscriber,i(c,l),c.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,1<t)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},c);function c(e,t){var n=l.call(this,e)||this;return n.connectable=t,n}}),System.registerDynamic("npm:rxjs/internal/operators/share.js",["./multicast","./refCount","../Subject"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./multicast"),i=e("./refCount"),o=e("../Subject");function a(){return new o.Subject}t.share=function(){return function(e){return i.refCount()(r.multicast(a)(e))}}}),System.registerDynamic("npm:rxjs/internal/scheduler/QueueAction.js",["./AsyncAction"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./AsyncAction"),s=(o=a.AsyncAction,i(l,o),l.prototype.schedule=function(e,t){return void 0===t&&(t=0),0<t?o.prototype.schedule.call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)},l.prototype.execute=function(e,t){return 0<t||this.closed?o.prototype.execute.call(this,e,t):this._execute(e,t)},l.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),null!==n&&0<n||null===n&&0<this.delay?o.prototype.requestAsyncId.call(this,e,t,n):e.flush(this)},l);function l(e,t){var n=o.call(this,e,t)||this;return n.scheduler=e,n.work=t,n}t.QueueAction=s}),System.registerDynamic("npm:rxjs/internal/scheduler/QueueScheduler.js",["./AsyncScheduler"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./AsyncScheduler"),s=(o=a.AsyncScheduler,i(l,o),l);function l(){return null!==o&&o.apply(this,arguments)||this}t.QueueScheduler=s}),System.registerDynamic("npm:rxjs/internal/scheduler/queue.js",["./QueueAction","./QueueScheduler"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./QueueAction"),i=e("./QueueScheduler");t.queue=new i.QueueScheduler(r.QueueAction)}),System.registerDynamic("npm:rxjs/internal/Notification.js",["./observable/empty","./observable/of","./observable/throwError"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r,i=e("./observable/empty"),o=e("./observable/of"),a=e("./observable/throwError");(r=t.NotificationKind||(t.NotificationKind={})).NEXT="N",r.ERROR="E",r.COMPLETE="C";var s=(l.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},l.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},l.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},l.prototype.toObservable=function(){switch(this.kind){case"N":return o.of(this.value);case"E":return a.throwError(this.error);case"C":return i.empty()}throw new Error("unexpected notification kind value")},l.createNext=function(e){return void 0!==e?new l("N",e):l.undefinedValueNotification},l.createError=function(e){return new l("E",void 0,e)},l.createComplete=function(){return l.completeNotification},l.completeNotification=new l("C"),l.undefinedValueNotification=new l("N",void 0),l);function l(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}t.Notification=s}),System.registerDynamic("npm:rxjs/internal/operators/observeOn.js",["../Subscriber","../Notification"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../Notification");t.observeOn=function(t,n){return void 0===n&&(n=0),function(e){return e.lift(new s(t,n))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.scheduler,this.delay))},l);function l(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}t.ObserveOnOperator=s;var u,c=(u=o.Subscriber,i(p,u),p.dispatch=function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()},p.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(p.dispatch,this.delay,new d(e,this.destination)))},p.prototype._next=function(e){this.scheduleMessage(a.Notification.createNext(e))},p.prototype._error=function(e){this.scheduleMessage(a.Notification.createError(e)),this.unsubscribe()},p.prototype._complete=function(){this.scheduleMessage(a.Notification.createComplete()),this.unsubscribe()},p);function p(e,t,n){void 0===n&&(n=0);var r=u.call(this,e)||this;return r.scheduler=t,r.delay=n,r}t.ObserveOnSubscriber=c;var d=function(e,t){this.notification=e,this.destination=t};t.ObserveOnMessage=d}),System.registerDynamic("npm:rxjs/internal/ReplaySubject.js",["./Subject","./scheduler/queue","./Subscription","./operators/observeOn","./util/ObjectUnsubscribedError","./SubjectSubscription"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./Subject"),s=e("./scheduler/queue"),l=e("./Subscription"),u=e("./operators/observeOn"),c=e("./util/ObjectUnsubscribedError"),p=e("./SubjectSubscription"),d=(o=a.Subject,i(h,o),h.prototype.nextInfiniteTimeWindow=function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),o.prototype.next.call(this,e)},h.prototype.nextTimeWindow=function(e){this._events.push(new f(this._getNow(),e)),this._trimBufferThenGetEvents(),o.prototype.next.call(this,e)},h.prototype._subscribe=function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new c.ObjectUnsubscribedError;if(t=this.isStopped||this.hasError?l.Subscription.EMPTY:(this.observers.push(e),new p.SubjectSubscription(this,e)),i&&e.add(e=new u.ObserveOnSubscriber(e,i)),n)for(var a=0;a<o&&!e.closed;a++)e.next(r[a]);else for(a=0;a<o&&!e.closed;a++)e.next(r[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},h.prototype._getNow=function(){return(this.scheduler||s.queue).now()},h.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(e-r[o].time<n);)o++;return t<i&&(o=Math.max(o,i-t)),0<o&&r.splice(0,o),r},h);function h(e,t,n){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===t&&(t=Number.POSITIVE_INFINITY);var r=o.call(this)||this;return r.scheduler=n,r._events=[],r._infiniteTimeWindow=!1,r._bufferSize=e<1?1:e,r._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(r._infiniteTimeWindow=!0,r.next=r.nextInfiniteTimeWindow):r.next=r.nextTimeWindow,r}t.ReplaySubject=d;var f=function(e,t){this.time=e,this.value=t}}),System.registerDynamic("npm:rxjs/internal/operators/shareReplay.js",["../ReplaySubject"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var d=e("../ReplaySubject");t.shareReplay=function(e,t,n){var r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var n,r,t=e.bufferSize,i=void 0===t?Number.POSITIVE_INFINITY:t,o=e.windowTime,a=void 0===o?Number.POSITIVE_INFINITY:o,s=e.refCount,l=e.scheduler,u=0,c=!1,p=!1;return function(e){u++,n&&!c||(c=!1,n=new d.ReplaySubject(i,a,l),r=e.subscribe({next:function(e){n.next(e)},error:function(e){c=!0,n.error(e)},complete:function(){p=!0,n.complete()}}));var t=n.subscribe(this);this.add(function(){u--,t.unsubscribe(),r&&!p&&s&&0===u&&(r.unsubscribe(),n=r=void 0)})}}(r))}}}),System.registerDynamic("npm:rxjs/internal/operators/single.js",["../Subscriber","../util/EmptyError"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../util/EmptyError");t.single=function(t){return function(e){return e.lift(new s(t,e))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.predicate,this.source))},l);function l(e,t){this.predicate=e,this.source=t}var u,c=(u=o.Subscriber,i(p,u),p.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},p.prototype._next=function(e){var t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)},p.prototype.tryNext=function(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(e){this.destination.error(e)}},p.prototype._complete=function(){var e=this.destination;0<this.index?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new a.EmptyError)},p);function p(e,t,n){var r=u.call(this,e)||this;return r.predicate=t,r.source=n,r.seenValue=!1,r.index=0,r}}),System.registerDynamic("npm:rxjs/internal/operators/skip.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.skip=function(t){return function(e){return e.lift(new a(t))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.total))},s);function s(e){this.total=e}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},c);function c(e,t){var n=l.call(this,e)||this;return n.total=t,n.count=0,n}}),System.registerDynamic("npm:rxjs/internal/operators/skipLast.js",["../Subscriber","../util/ArgumentOutOfRangeError"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../util/ArgumentOutOfRangeError");t.skipLast=function(t){return function(e){return e.lift(new s(t))}};var s=(l.prototype.call=function(e,t){return 0===this._skipCount?t.subscribe(new o.Subscriber(e)):t.subscribe(new c(e,this._skipCount))},l);function l(e){if(this._skipCount=e,this._skipCount<0)throw new a.ArgumentOutOfRangeError}var u,c=(u=o.Subscriber,i(p,u),p.prototype._next=function(e){var t=this._skipCount,n=this._count++;if(n<t)this._ring[n]=e;else{var r=n%t,i=this._ring,o=i[r];i[r]=e,this.destination.next(o)}},p);function p(e,t){var n=u.call(this,e)||this;return n._skipCount=t,n._count=0,n._ring=new Array(t),n}}),System.registerDynamic("npm:rxjs/internal/operators/skipUntil.js",["../OuterSubscriber","../InnerSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../InnerSubscriber"),s=e("../util/subscribeToResult");t.skipUntil=function(t){return function(e){return e.lift(new l(t))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.notifier))},u);function u(e){this.notifier=e}var c,p=(c=o.OuterSubscriber,i(d,c),d.prototype._next=function(e){this.hasValue&&c.prototype._next.call(this,e)},d.prototype.notifyNext=function(e,t,n,r,i){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},d.prototype.notifyComplete=function(){},d);function d(e,t){var n=c.call(this,e)||this;n.hasValue=!1;var r=new a.InnerSubscriber(n,void 0,void 0);return n.add(r),n.innerSubscription=r,s.subscribeToResult(n,t,void 0,void 0,r),n}}),System.registerDynamic("npm:rxjs/internal/operators/skipWhile.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.skipWhile=function(t){return function(e){return e.lift(new a(t))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.predicate))},s);function s(e){this.predicate=e}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){var t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)},c.prototype.tryCallPredicate=function(e){try{var t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(e){this.destination.error(e)}},c);function c(e,t){var n=l.call(this,e)||this;return n.predicate=t,n.skipping=!0,n.index=0,n}}),System.registerDynamic("npm:rxjs/internal/observable/of.js",["../util/isScheduler","./fromArray","../scheduled/scheduleArray"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../util/isScheduler"),i=e("./fromArray"),o=e("../scheduled/scheduleArray");t.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return r.isScheduler(n)?(e.pop(),o.scheduleArray(e,n)):i.fromArray(e)}}),System.registerDynamic("npm:rxjs/internal/operators/mergeMap.js",["../util/subscribeToResult","../OuterSubscriber","../InnerSubscriber","./map","../observable/from"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../util/subscribeToResult"),a=e("../OuterSubscriber"),s=e("../InnerSubscriber"),l=e("./map"),u=e("../observable/from");t.mergeMap=function t(i,o,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof o?function(e){return e.pipe(t(function(n,r){return u.from(i(n,r)).pipe(l.map(function(e,t){return o(n,e,r,t)}))},n))}:("number"==typeof o&&(n=o),function(e){return e.lift(new c(i,n))})};var c=(p.prototype.call=function(e,t){return t.subscribe(new h(e,this.project,this.concurrent))},p);function p(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}t.MergeMapOperator=c;var d,h=(d=a.OuterSubscriber,i(f,d),f.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},f.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,n)},f.prototype._innerSub=function(e,t,n){var r=new s.InnerSubscriber(this,void 0,void 0);this.destination.add(r),o.subscribeToResult(this,e,t,n,r)},f.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},f.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},f.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,0<t.length?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},f);function f(e,t,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var r=d.call(this,e)||this;return r.project=t,r.concurrent=n,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}t.MergeMapSubscriber=h}),System.registerDynamic("npm:rxjs/internal/operators/mergeAll.js",["./mergeMap","../util/identity"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./mergeMap"),i=e("../util/identity");t.mergeAll=function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),r.mergeMap(i.identity,e)}}),System.registerDynamic("npm:rxjs/internal/operators/concatAll.js",["./mergeAll"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./mergeAll");t.concatAll=function(){return r.mergeAll(1)}}),System.registerDynamic("npm:rxjs/internal/observable/concat.js",["./of","../operators/concatAll"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./of"),i=e("../operators/concatAll");t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.concatAll()(r.of.apply(void 0,e))}}),System.registerDynamic("npm:rxjs/internal/operators/startWith.js",["../observable/concat","../util/isScheduler"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../observable/concat"),i=e("../util/isScheduler");t.startWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return i.isScheduler(n)?(t.pop(),function(e){return r.concat(t,e,n)}):function(e){return r.concat(t,e)}}}),System.registerDynamic("npm:rxjs/internal/util/Immediate.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=1,i={};t.Immediate={setImmediate:function(e){var t=r++;return i[t]=e,Promise.resolve().then(function(){return function(e){var t=i[e];t&&t()}(t)}),t},clearImmediate:function(e){delete i[e]}}}),System.registerDynamic("npm:rxjs/internal/scheduler/AsapAction.js",["../util/Immediate","./AsyncAction"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("../util/Immediate"),s=e("./AsyncAction"),l=(o=s.AsyncAction,i(u,o),u.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),null!==n&&0<n?o.prototype.requestAsyncId.call(this,e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=a.Immediate.setImmediate(e.flush.bind(e,null))))},u.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&0<n||null===n&&0<this.delay)return o.prototype.recycleAsyncId.call(this,e,t,n);0===e.actions.length&&(a.Immediate.clearImmediate(t),e.scheduled=void 0)},u);function u(e,t){var n=o.call(this,e,t)||this;return n.scheduler=e,n.work=t,n}t.AsapAction=l}),System.registerDynamic("npm:rxjs/internal/scheduler/AsapScheduler.js",["./AsyncScheduler"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./AsyncScheduler"),s=(o=a.AsyncScheduler,i(l,o),l.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<i&&(e=n.shift()));if(this.active=!1,t){for(;++r<i&&(e=n.shift());)e.unsubscribe();throw t}},l);function l(){return null!==o&&o.apply(this,arguments)||this}t.AsapScheduler=s}),System.registerDynamic("npm:rxjs/internal/scheduler/asap.js",["./AsapAction","./AsapScheduler"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./AsapAction"),i=e("./AsapScheduler");t.asap=new i.AsapScheduler(r.AsapAction)}),System.registerDynamic("npm:rxjs/internal/observable/SubscribeOnObservable.js",["../Observable","../scheduler/asap","../util/isNumeric"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("../Observable"),s=e("../scheduler/asap"),l=e("../util/isNumeric"),u=(o=a.Observable,i(c,o),c.create=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=s.asap),new c(e,t,n)},c.dispatch=function(e){var t=e.source,n=e.subscriber;return this.add(t.subscribe(n))},c.prototype._subscribe=function(e){var t=this.delayTime,n=this.source;return this.scheduler.schedule(c.dispatch,t,{source:n,subscriber:e})},c);function c(e,t,n){void 0===t&&(t=0),void 0===n&&(n=s.asap);var r=o.call(this)||this;return r.source=e,r.delayTime=t,r.scheduler=n,(!l.isNumeric(t)||t<0)&&(r.delayTime=0),n&&"function"==typeof n.schedule||(r.scheduler=s.asap),r}t.SubscribeOnObservable=u}),System.registerDynamic("npm:rxjs/internal/operators/subscribeOn.js",["../observable/SubscribeOnObservable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../observable/SubscribeOnObservable");t.subscribeOn=function(t,n){return void 0===n&&(n=0),function(e){return e.lift(new i(t,n))}};var i=(o.prototype.call=function(e,t){return new r.SubscribeOnObservable(t,this.delay,this.scheduler).subscribe(e)},o);function o(e,t){this.scheduler=e,this.delay=t}}),System.registerDynamic("npm:rxjs/internal/util/identity.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function(e){return e}}),System.registerDynamic("npm:rxjs/internal/operators/switchAll.js",["./switchMap","../util/identity"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./switchMap"),i=e("../util/identity");t.switchAll=function(){return r.switchMap(i.identity)}}),System.registerDynamic("npm:rxjs/internal/operators/switchMap.js",["../OuterSubscriber","../InnerSubscriber","../util/subscribeToResult","./map","../observable/from"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../InnerSubscriber"),s=e("../util/subscribeToResult"),l=e("./map"),u=e("../observable/from");t.switchMap=function t(i,o){return"function"==typeof o?function(e){return e.pipe(t(function(n,r){return u.from(i(n,r)).pipe(l.map(function(e,t){return o(n,e,r,t)}))}))}:function(e){return e.lift(new c(i))}};var c=(p.prototype.call=function(e,t){return t.subscribe(new h(e,this.project))},p);function p(e){this.project=e}var d,h=(d=o.OuterSubscriber,i(f,d),f.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,n)},f.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new a.InnerSubscriber(this,void 0,void 0);this.destination.add(i),this.innerSubscription=s.subscribeToResult(this,e,t,n,i)},f.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||d.prototype._complete.call(this),this.unsubscribe()},f.prototype._unsubscribe=function(){this.innerSubscription=null},f.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&d.prototype._complete.call(this)},f.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},f);function f(e,t){var n=d.call(this,e)||this;return n.project=t,n.index=0,n}}),System.registerDynamic("npm:rxjs/internal/operators/switchMapTo.js",["./switchMap"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./switchMap");t.switchMapTo=function(e,t){return t?r.switchMap(function(){return e},t):r.switchMap(function(){return e})}}),System.registerDynamic("npm:rxjs/internal/operators/take.js",["../Subscriber","../util/ArgumentOutOfRangeError","../observable/empty"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../util/ArgumentOutOfRangeError"),s=e("../observable/empty");t.take=function(t){return function(e){return 0===t?s.empty():e.lift(new l(t))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.total))},u);function u(e){if(this.total=e,this.total<0)throw new a.ArgumentOutOfRangeError}var c,p=(c=o.Subscriber,i(d,c),d.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},d);function d(e,t){var n=c.call(this,e)||this;return n.total=t,n.count=0,n}}),System.registerDynamic("npm:rxjs/internal/operators/takeUntil.js",["../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../util/subscribeToResult");t.takeUntil=function(t){return function(e){return e.lift(new s(t))}};var s=(l.prototype.call=function(e,t){var n=new c(e),r=a.subscribeToResult(n,this.notifier);return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n},l);function l(e){this.notifier=e}var u,c=(u=o.OuterSubscriber,i(p,u),p.prototype.notifyNext=function(e,t,n,r,i){this.seenValue=!0,this.complete()},p.prototype.notifyComplete=function(){},p);function p(e){var t=u.call(this,e)||this;return t.seenValue=!1,t}}),System.registerDynamic("npm:rxjs/internal/operators/takeWhile.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.takeWhile=function(t,n){return void 0===n&&(n=!1),function(e){return e.lift(new a(t,n))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.predicate,this.inclusive))},s);function s(e,t){this.predicate=e,this.inclusive=t}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(e){return void n.error(e)}this.nextOrComplete(e,t)},c.prototype.nextOrComplete=function(e,t){var n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())},c);function c(e,t,n){var r=l.call(this,e)||this;return r.predicate=t,r.inclusive=n,r.index=0,r}}),System.registerDynamic("npm:rxjs/internal/operators/tap.js",["../Subscriber","../util/noop","../util/isFunction"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../util/noop"),s=e("../util/isFunction");t.tap=function(t,n,r){return function(e){return e.lift(new l(t,n,r))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.nextOrObserver,this.error,this.complete))},u);function u(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}var c,p=(c=o.Subscriber,i(d,c),d.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},d.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},d.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},d);function d(e,t,n,r){var i=c.call(this,e)||this;return i._tapNext=a.noop,i._tapError=a.noop,i._tapComplete=a.noop,i._tapError=n||a.noop,i._tapComplete=r||a.noop,s.isFunction(t)?(i._context=i)._tapNext=t:t&&(i._context=t,i._tapNext=t.next||a.noop,i._tapError=t.error||a.noop,i._tapComplete=t.complete||a.noop),i}}),System.registerDynamic("npm:rxjs/internal/operators/throttle.js",["../OuterSubscriber","../util/subscribeToResult"],!0,function(e,r,t){"use strict";this||self;var i,n=r&&r.__extends||(i=function(e,t){return(i=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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(r,"__esModule",{value:!0});var o=e("../OuterSubscriber"),a=e("../util/subscribeToResult");r.defaultThrottleConfig={leading:!0,trailing:!1},r.throttle=function(t,n){return void 0===n&&(n=r.defaultThrottleConfig),function(e){return e.lift(new s(t,n.leading,n.trailing))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.durationSelector,this.leading,this.trailing))},l);function l(e,t,n){this.durationSelector=e,this.leading=t,this.trailing=n}var u,c=(u=o.OuterSubscriber,n(p,u),p.prototype._next=function(e){this._hasValue=!0,this._sendValue=e,this._throttled||(this._leading?this.send():this.throttle(e))},p.prototype.send=function(){var e=this._hasValue,t=this._sendValue;e&&(this.destination.next(t),this.throttle(t)),this._hasValue=!1,this._sendValue=null},p.prototype.throttle=function(e){var t=this.tryDurationSelector(e);t&&this.add(this._throttled=a.subscribeToResult(this,t))},p.prototype.tryDurationSelector=function(e){try{return this.durationSelector(e)}catch(e){return this.destination.error(e),null}},p.prototype.throttlingDone=function(){var e=this._throttled,t=this._trailing;e&&e.unsubscribe(),this._throttled=null,t&&this.send()},p.prototype.notifyNext=function(e,t,n,r,i){this.throttlingDone()},p.prototype.notifyComplete=function(){this.throttlingDone()},p);function p(e,t,n,r){var i=u.call(this,e)||this;return i.destination=e,i.durationSelector=t,i._leading=n,i._trailing=r,i._hasValue=!1,i}}),System.registerDynamic("npm:rxjs/internal/operators/throttleTime.js",["../Subscriber","../scheduler/async","./throttle"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../scheduler/async"),s=e("./throttle");t.throttleTime=function(t,n,r){return void 0===n&&(n=a.async),void 0===r&&(r=s.defaultThrottleConfig),function(e){return e.lift(new l(t,n,r.leading,r.trailing))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.duration,this.scheduler,this.leading,this.trailing))},u);function u(e,t,n,r){this.duration=e,this.scheduler=t,this.leading=n,this.trailing=r}var c,p=(c=o.Subscriber,i(d,c),d.prototype._next=function(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(h,this.duration,{subscriber:this})),this.leading?this.destination.next(e):this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0))},d.prototype._complete=function(){this._hasTrailingValue&&this.destination.next(this._trailingValue),this.destination.complete()},d.prototype.clearThrottle=function(){var e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)},d);function d(e,t,n,r,i){var o=c.call(this,e)||this;return o.duration=t,o.scheduler=n,o.leading=r,o.trailing=i,o._hasTrailingValue=!1,o._trailingValue=null,o}function h(e){e.subscriber.clearThrottle()}}),System.registerDynamic("npm:rxjs/internal/util/EmptyError.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=(i.prototype=Object.create(Error.prototype),i);function i(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}t.EmptyError=r}),System.registerDynamic("npm:rxjs/internal/operators/throwIfEmpty.js",["../util/EmptyError","../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../util/EmptyError"),a=e("../Subscriber");t.throwIfEmpty=function(t){return void 0===t&&(t=d),function(e){return e.lift(new s(t))}};var s=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.errorFactory))},l);function l(e){this.errorFactory=e}var u,c=(u=a.Subscriber,i(p,u),p.prototype._next=function(e){this.hasValue=!0,this.destination.next(e)},p.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var t=void 0;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)},p);function p(e,t){var n=u.call(this,e)||this;return n.errorFactory=t,n.hasValue=!1,n}function d(){return new o.EmptyError}}),System.registerDynamic("npm:rxjs/internal/scheduled/scheduleObservable.js",["../Observable","../Subscription","../symbol/observable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Observable"),a=e("../Subscription"),s=e("../symbol/observable");t.scheduleObservable=function(r,i){return new o.Observable(function(t){var n=new a.Subscription;return n.add(i.schedule(function(){var e=r[s.observable]();n.add(e.subscribe({next:function(e){n.add(i.schedule(function(){return t.next(e)}))},error:function(e){n.add(i.schedule(function(){return t.error(e)}))},complete:function(){n.add(i.schedule(function(){return t.complete()}))}}))})),n})}}),System.registerDynamic("npm:rxjs/internal/scheduled/schedulePromise.js",["../Observable","../Subscription"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var i=e("../Observable"),o=e("../Subscription");t.schedulePromise=function(e,r){return new i.Observable(function(t){var n=new o.Subscription;return n.add(r.schedule(function(){return e.then(function(e){n.add(r.schedule(function(){t.next(e),n.add(r.schedule(function(){return t.complete()}))}))},function(e){n.add(r.schedule(function(){return t.error(e)}))})})),n})}}),System.registerDynamic("npm:rxjs/internal/scheduled/scheduleIterable.js",["../Observable","../Subscription","../symbol/iterator"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable"),o=e("../Subscription"),a=e("../symbol/iterator");t.scheduleIterable=function(t,n){if(!t)throw new Error("Iterable cannot be null");return new r.Observable(function(r){var i,e=new o.Subscription;return e.add(function(){i&&"function"==typeof i.return&&i.return()}),e.add(n.schedule(function(){i=t[a.iterator](),e.add(n.schedule(function(){if(!r.closed){var e,t;try{var n=i.next();e=n.value,t=n.done}catch(e){return void r.error(e)}t?r.complete():(r.next(e),this.schedule())}}))})),e})}}),System.registerDynamic("npm:rxjs/internal/util/isInteropObservable.js",["../symbol/observable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../symbol/observable");t.isInteropObservable=function(e){return e&&"function"==typeof e[r.observable]}}),System.registerDynamic("npm:rxjs/internal/util/isIterable.js",["../symbol/iterator"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../symbol/iterator");t.isIterable=function(e){return e&&"function"==typeof e[r.iterator]}}),System.registerDynamic("npm:rxjs/internal/scheduled/scheduled.js",["./scheduleObservable","./schedulePromise","./scheduleArray","./scheduleIterable","../util/isInteropObservable","../util/isPromise","../util/isArrayLike","../util/isIterable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./scheduleObservable"),i=e("./schedulePromise"),o=e("./scheduleArray"),a=e("./scheduleIterable"),s=e("../util/isInteropObservable"),l=e("../util/isPromise"),u=e("../util/isArrayLike"),c=e("../util/isIterable");t.scheduled=function(e,t){if(null!=e){if(s.isInteropObservable(e))return r.scheduleObservable(e,t);if(l.isPromise(e))return i.schedulePromise(e,t);if(u.isArrayLike(e))return o.scheduleArray(e,t);if(c.isIterable(e)||"string"==typeof e)return a.scheduleIterable(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}}),System.registerDynamic("npm:rxjs/internal/observable/from.js",["../Observable","../util/subscribeTo","../scheduled/scheduled"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable"),i=e("../util/subscribeTo"),o=e("../scheduled/scheduled");t.from=function(e,t){return t?o.scheduled(e,t):e instanceof r.Observable?e:new r.Observable(i.subscribeTo(e))}}),System.registerDynamic("npm:rxjs/internal/observable/defer.js",["../Observable","./from","./empty"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable"),i=e("./from"),o=e("./empty");t.defer=function(n){return new r.Observable(function(t){var e;try{e=n()}catch(e){return void t.error(e)}return(e?i.from(e):o.empty()).subscribe(t)})}}),System.registerDynamic("npm:rxjs/internal/operators/timeInterval.js",["../scheduler/async","./scan","../observable/defer","./map"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var i=e("../scheduler/async"),o=e("./scan"),a=e("../observable/defer"),s=e("./map");t.timeInterval=function(r){return void 0===r&&(r=i.async),function(e){return a.defer(function(){return e.pipe(o.scan(function(e,t){var n=e.current;return{value:t,current:r.now(),last:n}},{current:r.now(),value:void 0,last:void 0}),s.map(function(e){var t=e.current,n=e.last,r=e.value;return new l(r,t-n)}))})}};var l=function(e,t){this.value=e,this.interval=t};t.TimeInterval=l}),System.registerDynamic("npm:rxjs/internal/util/TimeoutError.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=(i.prototype=Object.create(Error.prototype),i);function i(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}t.TimeoutError=r}),System.registerDynamic("npm:rxjs/internal/observable/throwError.js",["../Observable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable");function i(e){var t=e.error;e.subscriber.error(t)}t.throwError=function(t,n){return n?new r.Observable(function(e){return n.schedule(i,0,{error:t,subscriber:e})}):new r.Observable(function(e){return e.error(t)})}}),System.registerDynamic("npm:rxjs/internal/operators/timeout.js",["../scheduler/async","../util/TimeoutError","./timeoutWith","../observable/throwError"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../scheduler/async"),i=e("../util/TimeoutError"),o=e("./timeoutWith"),a=e("../observable/throwError");t.timeout=function(e,t){return void 0===t&&(t=r.async),o.timeoutWith(e,a.throwError(new i.TimeoutError),t)}}),System.registerDynamic("npm:rxjs/internal/util/isDate.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.isDate=function(e){return e instanceof Date&&!isNaN(+e)}}),System.registerDynamic("npm:rxjs/internal/operators/timeoutWith.js",["../scheduler/async","../util/isDate","../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=e("../scheduler/async"),s=e("../util/isDate"),o=e("../OuterSubscriber"),l=e("../util/subscribeToResult");t.timeoutWith=function(r,i,o){return void 0===o&&(o=a.async),function(e){var t=s.isDate(r),n=t?+r-o.now():Math.abs(r);return e.lift(new u(n,t,i,o))}};var u=(c.prototype.call=function(e,t){return t.subscribe(new d(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},c);function c(e,t,n,r){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=r}var p,d=(p=o.OuterSubscriber,i(h,p),h.dispatchTimeout=function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add(l.subscribeToResult(e,t))},h.prototype.scheduleTimeout=function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(h.dispatchTimeout,this.waitFor,this))},h.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),p.prototype._next.call(this,e)},h.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},h);function h(e,t,n,r,i){var o=p.call(this,e)||this;return o.absoluteTimeout=t,o.waitFor=n,o.withObservable=r,o.scheduler=i,o.action=null,o.scheduleTimeout(),o}}),System.registerDynamic("npm:rxjs/internal/operators/map.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.map=function(t,n){return function(e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new a(t,n))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.thisArg))},s);function s(e,t){this.project=e,this.thisArg=t}t.MapOperator=a;var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},c);function c(e,t,n){var r=l.call(this,e)||this;return r.project=t,r.count=0,r.thisArg=n||r,r}}),System.registerDynamic("npm:rxjs/internal/operators/timestamp.js",["../scheduler/async","./map"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../scheduler/async"),i=e("./map");t.timestamp=function(t){return void 0===t&&(t=r.async),i.map(function(e){return new o(e,t.now())})};var o=function(e,t){this.value=e,this.timestamp=t};t.Timestamp=o}),System.registerDynamic("npm:rxjs/internal/operators/scan.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.scan=function(t,n){var r=!1;return 2<=arguments.length&&(r=!0),function(e){return e.lift(new a(t,n,r))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.accumulator,this.seed,this.hasSeed))},s);function s(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}var l,u=(l=o.Subscriber,i(c,l),Object.defineProperty(c.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),c.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},c.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},c);function c(e,t,n,r){var i=l.call(this,e)||this;return i.accumulator=t,i._seed=n,i.hasSeed=r,i.index=0,i}}),System.registerDynamic("npm:rxjs/internal/util/ArgumentOutOfRangeError.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=(i.prototype=Object.create(Error.prototype),i);function i(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}t.ArgumentOutOfRangeError=r}),System.registerDynamic("npm:rxjs/internal/observable/empty.js",["../Observable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable");t.EMPTY=new r.Observable(function(e){return e.complete()}),t.empty=function(e){return e?function(t){return new r.Observable(function(e){return t.schedule(function(){return e.complete()})})}(e):t.EMPTY}}),System.registerDynamic("npm:rxjs/internal/operators/takeLast.js",["../Subscriber","../util/ArgumentOutOfRangeError","../observable/empty"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),a=e("../util/ArgumentOutOfRangeError"),s=e("../observable/empty");t.takeLast=function(t){return function(e){return 0===t?s.empty():e.lift(new l(t))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.total))},u);function u(e){if(this.total=e,this.total<0)throw new a.ArgumentOutOfRangeError}var c,p=(c=o.Subscriber,i(d,c),d.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e},d.prototype._complete=function(){var e=this.destination,t=this.count;if(0<t)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=t++%n;e.next(r[o])}e.complete()},d);function d(e,t){var n=c.call(this,e)||this;return n.total=t,n.ring=new Array,n.count=0,n}}),System.registerDynamic("npm:rxjs/internal/operators/defaultIfEmpty.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.defaultIfEmpty=function(t){return void 0===t&&(t=null),function(e){return e.lift(new a(t))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.defaultValue))},s);function s(e){this.defaultValue=e}var l,u=(l=o.Subscriber,i(c,l),c.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},c.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},c);function c(e,t){var n=l.call(this,e)||this;return n.defaultValue=t,n.isEmpty=!0,n}}),System.registerDynamic("npm:rxjs/internal/operators/reduce.js",["./scan","./takeLast","./defaultIfEmpty","../util/pipe"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var i=e("./scan"),o=e("./takeLast"),a=e("./defaultIfEmpty"),s=e("../util/pipe");t.reduce=function(r,t){return 2<=arguments.length?function(e){return s.pipe(i.scan(r,t),o.takeLast(1),a.defaultIfEmpty(t))(e)}:function(e){return s.pipe(i.scan(function(e,t,n){return r(e,t,n+1)}),o.takeLast(1))(e)}}}),System.registerDynamic("npm:rxjs/internal/operators/toArray.js",["./reduce"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./reduce");function i(e,t,n){return 0===n?[t]:(e.push(t),e)}t.toArray=function(){return r.reduce(i,[])}}),System.registerDynamic("npm:rxjs/internal/operators/window.js",["../Subject","../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subject"),a=e("../OuterSubscriber"),s=e("../util/subscribeToResult");t.window=function(t){return function(e){return e.lift(new l(t))}};var l=(u.prototype.call=function(e,t){var n=new p(e),r=t.subscribe(n);return r.closed||n.add(s.subscribeToResult(n,this.windowBoundaries)),r},u);function u(e){this.windowBoundaries=e}var c,p=(c=a.OuterSubscriber,i(d,c),d.prototype.notifyNext=function(e,t,n,r,i){this.openWindow()},d.prototype.notifyError=function(e,t){this._error(e)},d.prototype.notifyComplete=function(e){this._complete()},d.prototype._next=function(e){this.window.next(e)},d.prototype._error=function(e){this.window.error(e),this.destination.error(e)},d.prototype._complete=function(){this.window.complete(),this.destination.complete()},d.prototype._unsubscribe=function(){this.window=null},d.prototype.openWindow=function(){var e=this.window;e&&e.complete();var t=this.destination,n=this.window=new o.Subject;t.next(n)},d);function d(e){var t=c.call(this,e)||this;return t.window=new o.Subject,e.next(t.window),t}}),System.registerDynamic("npm:rxjs/internal/operators/windowCount.js",["../Subscriber","../Subject"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber"),u=e("../Subject");t.windowCount=function(t,n){return void 0===n&&(n=0),function(e){return e.lift(new a(t,n))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new c(e,this.windowSize,this.startWindowEvery))},s);function s(e,t){this.windowSize=e,this.startWindowEvery=t}var l,c=(l=o.Subscriber,i(p,l),p.prototype._next=function(e){for(var t=0<this.startWindowEvery?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,a=0;a<o&&!this.closed;a++)i[a].next(e);var s=this.count-r+1;if(0<=s&&s%t==0&&!this.closed&&i.shift().complete(),++this.count%t==0&&!this.closed){var l=new u.Subject;i.push(l),n.next(l)}},p.prototype._error=function(e){var t=this.windows;if(t)for(;0<t.length&&!this.closed;)t.shift().error(e);this.destination.error(e)},p.prototype._complete=function(){var e=this.windows;if(e)for(;0<e.length&&!this.closed;)e.shift().complete();this.destination.complete()},p.prototype._unsubscribe=function(){this.count=0,this.windows=null},p);function p(e,t,n){var r=l.call(this,e)||this;return r.destination=e,r.windowSize=t,r.startWindowEvery=n,r.windows=[new u.Subject],r.count=0,e.next(r.windows[0]),r}}),System.registerDynamic("npm:rxjs/internal/scheduler/Action.js",["../Subscription"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("../Subscription"),s=(o=a.Subscription,i(l,o),l.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},l);function l(e,t){return o.call(this)||this}t.Action=s}),System.registerDynamic("npm:rxjs/internal/scheduler/AsyncAction.js",["./Action"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./Action"),s=(o=a.Action,i(l,o),l.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},l.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),setInterval(e.flush.bind(e,this),n)},l.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)},l.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},l.prototype._execute=function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(e){n=!0,r=!!e&&e||new Error(e)}if(n)return this.unsubscribe(),r},l.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},l);function l(e,t){var n=o.call(this,e,t)||this;return n.scheduler=e,n.work=t,n.pending=!1,n}t.AsyncAction=s}),System.registerDynamic("npm:rxjs/internal/Scheduler.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=(i.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},i.now=function(){return Date.now()},i);function i(e,t){void 0===t&&(t=i.now),this.SchedulerAction=e,this.now=t}t.Scheduler=r}),System.registerDynamic("npm:rxjs/internal/scheduler/AsyncScheduler.js",["../Scheduler"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("../Scheduler"),s=(o=a.Scheduler,i(l,o),l.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),l.delegate&&l.delegate!==this?l.delegate.schedule(e,t,n):o.prototype.schedule.call(this,e,t,n)},l.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},l);function l(e,t){void 0===t&&(t=a.Scheduler.now);var n=o.call(this,e,function(){return l.delegate&&l.delegate!==n?l.delegate.now():t()})||this;return n.actions=[],n.active=!1,n.scheduled=void 0,n}t.AsyncScheduler=s}),System.registerDynamic("npm:rxjs/internal/scheduler/async.js",["./AsyncAction","./AsyncScheduler"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./AsyncAction"),i=e("./AsyncScheduler");t.async=new i.AsyncScheduler(r.AsyncAction)}),System.registerDynamic("npm:rxjs/internal/util/isNumeric.js",["./isArray"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./isArray");t.isNumeric=function(e){return!r.isArray(e)&&0<=e-parseFloat(e)+1}}),System.registerDynamic("npm:rxjs/internal/util/isScheduler.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.isScheduler=function(e){return e&&"function"==typeof e.schedule}}),System.registerDynamic("npm:rxjs/internal/operators/windowTime.js",["../Subject","../scheduler/async","../Subscriber","../util/isNumeric","../util/isScheduler"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subject"),a=e("../scheduler/async"),s=e("../Subscriber"),l=e("../util/isNumeric"),u=e("../util/isScheduler");t.windowTime=function(t){var n=a.async,r=null,i=Number.POSITIVE_INFINITY;return u.isScheduler(arguments[3])&&(n=arguments[3]),u.isScheduler(arguments[2])?n=arguments[2]:l.isNumeric(arguments[2])&&(i=arguments[2]),u.isScheduler(arguments[1])?n=arguments[1]:l.isNumeric(arguments[1])&&(r=arguments[1]),function(e){return e.lift(new c(t,r,i,n))}};var c=(p.prototype.call=function(e,t){return t.subscribe(new v(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},p);function p(e,t,n,r){this.windowTimeSpan=e,this.windowCreationInterval=t,this.maxWindowSize=n,this.scheduler=r}var d,h=(d=o.Subject,i(f,d),f.prototype.next=function(e){this._numberOfNextedValues++,d.prototype.next.call(this,e)},Object.defineProperty(f.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),f);function f(){var e=null!==d&&d.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}var m,v=(m=s.Subscriber,i(y,m),y.prototype._next=function(e){for(var t=this.windows,n=t.length,r=0;r<n;r++){var i=t[r];i.closed||(i.next(e),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},y.prototype._error=function(e){for(var t=this.windows;0<t.length;)t.shift().error(e);this.destination.error(e)},y.prototype._complete=function(){for(var e=this.windows;0<e.length;){var t=e.shift();t.closed||t.complete()}this.destination.complete()},y.prototype.openWindow=function(){var e=new h;return this.windows.push(e),this.destination.next(e),e},y.prototype.closeWindow=function(e){e.complete();var t=this.windows;t.splice(t.indexOf(e),1)},y);function y(e,t,n,r,i){var o=m.call(this,e)||this;o.destination=e,o.windowTimeSpan=t,o.windowCreationInterval=n,o.maxWindowSize=r,o.scheduler=i,o.windows=[];var a=o.openWindow();if(null!==n&&0<=n){var s={subscriber:o,window:a,context:null},l={windowTimeSpan:t,windowCreationInterval:n,subscriber:o,scheduler:i};o.add(i.schedule(b,t,s)),o.add(i.schedule(_,n,l))}else{var u={subscriber:o,window:a,windowTimeSpan:t};o.add(i.schedule(g,t,u))}return o}function g(e){var t=e.subscriber,n=e.windowTimeSpan,r=e.window;r&&t.closeWindow(r),e.window=t.openWindow(),this.schedule(e,n)}function _(e){var t=e.windowTimeSpan,n=e.subscriber,r=e.scheduler,i=e.windowCreationInterval,o=n.openWindow(),a={action:this,subscription:null},s={subscriber:n,window:o,context:a};a.subscription=r.schedule(b,t,s),this.add(a.subscription),this.schedule(e,i)}function b(e){var t=e.subscriber,n=e.window,r=e.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),t.closeWindow(n)}}),System.registerDynamic("npm:rxjs/internal/operators/windowToggle.js",["../Subject","../Subscription","../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var c=e("../Subject"),p=e("../Subscription"),o=e("../OuterSubscriber"),d=e("../util/subscribeToResult");t.windowToggle=function(t,n){return function(e){return e.lift(new a(t,n))}};var a=(s.prototype.call=function(e,t){return t.subscribe(new u(e,this.openings,this.closingSelector))},s);function s(e,t){this.openings=e,this.closingSelector=t}var l,u=(l=o.OuterSubscriber,i(h,l),h.prototype._next=function(e){var t=this.contexts;if(t)for(var n=t.length,r=0;r<n;r++)t[r].window.next(e)},h.prototype._error=function(e){var t=this.contexts;if(this.contexts=null,t)for(var n=t.length,r=-1;++r<n;){var i=t[r];i.window.error(e),i.subscription.unsubscribe()}l.prototype._error.call(this,e)},h.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var t=e.length,n=-1;++n<t;){var r=e[n];r.window.complete(),r.subscription.unsubscribe()}l.prototype._complete.call(this)},h.prototype._unsubscribe=function(){var e=this.contexts;if(this.contexts=null,e)for(var t=e.length,n=-1;++n<t;){var r=e[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},h.prototype.notifyNext=function(e,t,n,r,i){if(e===this.openings){var o=void 0;try{o=(0,this.closingSelector)(t)}catch(e){return this.error(e)}var a=new c.Subject,s=new p.Subscription,l={window:a,subscription:s};this.contexts.push(l);var u=d.subscribeToResult(this,o,l);u.closed?this.closeWindow(this.contexts.length-1):(u.context=l,s.add(u)),this.destination.next(a)}else this.closeWindow(this.contexts.indexOf(e))},h.prototype.notifyError=function(e){this.error(e)},h.prototype.notifyComplete=function(e){e!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(e.context))},h.prototype.closeWindow=function(e){if(-1!==e){var t=this.contexts,n=t[e],r=n.window,i=n.subscription;t.splice(e,1),r.complete(),i.unsubscribe()}},h);function h(e,t,n){var r=l.call(this,e)||this;return r.openings=t,r.closingSelector=n,r.contexts=[],r.add(r.openSubscription=d.subscribeToResult(r,t,t)),r}}),System.registerDynamic("npm:rxjs/internal/util/ObjectUnsubscribedError.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=(i.prototype=Object.create(Error.prototype),i);function i(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}t.ObjectUnsubscribedError=r}),System.registerDynamic("npm:rxjs/internal/SubjectSubscription.js",["./Subscription"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./Subscription"),s=(o=a.Subscription,i(l,o),l.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},l);function l(e,t){var n=o.call(this)||this;return n.subject=e,n.subscriber=t,n.closed=!1,n}t.SubjectSubscription=s}),System.registerDynamic("npm:rxjs/internal/Subject.js",["./Observable","./Subscriber","./Subscription","./util/ObjectUnsubscribedError","./SubjectSubscription","../internal/symbol/rxSubscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./Observable"),s=e("./Subscriber"),l=e("./Subscription"),u=e("./util/ObjectUnsubscribedError"),c=e("./SubjectSubscription"),p=e("../internal/symbol/rxSubscriber"),d=(o=s.Subscriber,i(h,o),h);function h(e){var t=o.call(this,e)||this;return t.destination=e,t}t.SubjectSubscriber=d;var f,m=(f=a.Observable,i(v,f),v.prototype[p.rxSubscriber]=function(){return new d(this)},v.prototype.lift=function(e){var t=new g(this,this);return t.operator=e,t},v.prototype.next=function(e){if(this.closed)throw new u.ObjectUnsubscribedError;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)},v.prototype.error=function(e){if(this.closed)throw new u.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0},v.prototype.complete=function(){if(this.closed)throw new u.ObjectUnsubscribedError;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},v.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},v.prototype._trySubscribe=function(e){if(this.closed)throw new u.ObjectUnsubscribedError;return f.prototype._trySubscribe.call(this,e)},v.prototype._subscribe=function(e){if(this.closed)throw new u.ObjectUnsubscribedError;return this.hasError?(e.error(this.thrownError),l.Subscription.EMPTY):this.isStopped?(e.complete(),l.Subscription.EMPTY):(this.observers.push(e),new c.SubjectSubscription(this,e))},v.prototype.asObservable=function(){var e=new a.Observable;return e.source=this,e},v.create=function(e,t){return new g(e,t)},v);function v(){var e=f.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}t.Subject=m;var y,g=(i(_,y=m),_.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},_.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},_.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},_.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):l.Subscription.EMPTY},_);function _(e,t){var n=y.call(this)||this;return n.destination=e,n.source=t,n}t.AnonymousSubject=g}),System.registerDynamic("npm:rxjs/internal/operators/windowWhen.js",["../Subject","../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subject"),a=e("../OuterSubscriber"),s=e("../util/subscribeToResult");t.windowWhen=function(t){return function(e){return e.lift(new l(t))}};var l=(u.prototype.call=function(e,t){return t.subscribe(new p(e,this.closingSelector))},u);function u(e){this.closingSelector=e}var c,p=(c=a.OuterSubscriber,i(d,c),d.prototype.notifyNext=function(e,t,n,r,i){this.openWindow(i)},d.prototype.notifyError=function(e,t){this._error(e)},d.prototype.notifyComplete=function(e){this.openWindow(e)},d.prototype._next=function(e){this.window.next(e)},d.prototype._error=function(e){this.window.error(e),this.destination.error(e),this.unsubscribeClosingNotification()},d.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},d.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},d.prototype.openWindow=function(e){void 0===e&&(e=null),e&&(this.remove(e),e.unsubscribe());var t=this.window;t&&t.complete();var n,r=this.window=new o.Subject;this.destination.next(r);try{n=(0,this.closingSelector)()}catch(e){return this.destination.error(e),void this.window.error(e)}this.add(this.closingNotification=s.subscribeToResult(this,n))},d);function d(e,t){var n=c.call(this,e)||this;return n.destination=e,n.closingSelector=t,n.openWindow(),n}}),System.registerDynamic("npm:rxjs/internal/operators/withLatestFrom.js",["../OuterSubscriber","../util/subscribeToResult"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("../OuterSubscriber"),s=e("../util/subscribeToResult");t.withLatestFrom=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return function(e){var t;"function"==typeof r[r.length-1]&&(t=r.pop());var n=r;return e.lift(new a(n,t))}};var a=(l.prototype.call=function(e,t){return t.subscribe(new c(e,this.observables,this.project))},l);function l(e,t){this.observables=e,this.project=t}var u,c=(u=o.OuterSubscriber,i(p,u),p.prototype.notifyNext=function(e,t,n,r,i){this.values[n]=t;var o=this.toRespond;if(0<o.length){var a=o.indexOf(n);-1!==a&&o.splice(a,1)}},p.prototype.notifyComplete=function(){},p.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},p.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},p);function p(e,t,n){var r=u.call(this,e)||this;r.observables=t,r.project=n,r.toRespond=[];var i=t.length;r.values=new Array(i);for(var o=0;o<i;o++)r.toRespond.push(o);for(o=0;o<i;o++){var a=t[o];r.add(s.subscribeToResult(r,a,a,o))}return r}}),System.registerDynamic("npm:rxjs/internal/operators/zip.js",["../observable/zip"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../observable/zip");t.zip=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(r.zip.apply(void 0,[e].concat(t)))}}}),System.registerDynamic("npm:rxjs/internal/scheduled/scheduleArray.js",["../Observable","../Subscription"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Observable"),a=e("../Subscription");t.scheduleArray=function(r,i){return new o.Observable(function(e){var t=new a.Subscription,n=0;return t.add(i.schedule(function(){n!==r.length?(e.next(r[n++]),e.closed||t.add(this.schedule())):e.complete()})),t})}}),System.registerDynamic("npm:rxjs/internal/observable/fromArray.js",["../Observable","../util/subscribeToArray","../scheduled/scheduleArray"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Observable"),i=e("../util/subscribeToArray"),o=e("../scheduled/scheduleArray");t.fromArray=function(e,t){return t?o.scheduleArray(e,t):new r.Observable(i.subscribeToArray(e))}}),System.registerDynamic("npm:rxjs/internal/OuterSubscriber.js",["./Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./Subscriber"),s=(o=a.Subscriber,i(l,o),l.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},l.prototype.notifyError=function(e,t){this.destination.error(e)},l.prototype.notifyComplete=function(e){this.destination.complete()},l);function l(){return null!==o&&o.apply(this,arguments)||this}t.OuterSubscriber=s}),System.registerDynamic("npm:rxjs/internal/InnerSubscriber.js",["./Subscriber"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=e("./Subscriber"),s=(o=a.Subscriber,i(l,o),l.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},l.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},l.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},l);function l(e,t,n){var r=o.call(this)||this;return r.parent=e,r.outerValue=t,r.outerIndex=n,r.index=0,r}t.InnerSubscriber=s}),System.registerDynamic("npm:rxjs/internal/util/subscribeToArray.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeToArray=function(r){return function(e){for(var t=0,n=r.length;t<n&&!e.closed;t++)e.next(r[t]);e.complete()}}}),System.registerDynamic("npm:rxjs/internal/util/subscribeToPromise.js",["./hostReportError"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./hostReportError");t.subscribeToPromise=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,r.hostReportError),t}}}),System.registerDynamic("npm:rxjs/internal/util/subscribeToIterable.js",["../symbol/iterator"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var i=e("../symbol/iterator");t.subscribeToIterable=function(r){return function(e){for(var t=r[i.iterator]();;){var n=t.next();if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}return"function"==typeof t.return&&e.add(function(){t.return&&t.return()}),e}}}),System.registerDynamic("npm:rxjs/internal/util/subscribeToObservable.js",["../symbol/observable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../symbol/observable");t.subscribeToObservable=function(n){return function(e){var t=n[r.observable]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)}}}),System.registerDynamic("npm:rxjs/internal/util/isArrayLike.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}}),System.registerDynamic("npm:rxjs/internal/util/isPromise.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}}),System.registerDynamic("npm:rxjs/internal/util/subscribeTo.js",["./subscribeToArray","./subscribeToPromise","./subscribeToIterable","./subscribeToObservable","./isArrayLike","./isPromise","./isObject","../symbol/iterator","../symbol/observable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./subscribeToArray"),i=e("./subscribeToPromise"),o=e("./subscribeToIterable"),a=e("./subscribeToObservable"),s=e("./isArrayLike"),l=e("./isPromise"),u=e("./isObject"),c=e("../symbol/iterator"),p=e("../symbol/observable");t.subscribeTo=function(e){if(e&&"function"==typeof e[p.observable])return a.subscribeToObservable(e);if(s.isArrayLike(e))return r.subscribeToArray(e);if(l.isPromise(e))return i.subscribeToPromise(e);if(e&&"function"==typeof e[c.iterator])return o.subscribeToIterable(e);var t=u.isObject(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}}),System.registerDynamic("npm:rxjs/internal/util/canReportError.js",["../Subscriber"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../Subscriber");t.canReportError=function(e){for(;e;){var t=e,n=t.closed,r=t.destination,i=t.isStopped;if(n||i)return!1;e=r&&r instanceof o.Subscriber?r:null}return!0}}),System.registerDynamic("npm:rxjs/internal/util/isArray.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}}),System.registerDynamic("npm:rxjs/internal/util/isObject.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function(e){return null!==e&&"object"==typeof e}}),System.registerDynamic("npm:rxjs/internal/util/isFunction.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e}}),System.registerDynamic("npm:rxjs/internal/util/UnsubscriptionError.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=(i.prototype=Object.create(Error.prototype),i);function i(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}t.UnsubscriptionError=r}),System.registerDynamic("npm:rxjs/internal/Subscription.js",["./util/isArray","./util/isObject","./util/isFunction","./util/UnsubscriptionError"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r,s=e("./util/isArray"),l=e("./util/isObject"),u=e("./util/isFunction"),c=e("./util/UnsubscriptionError"),i=(p.prototype.unsubscribe=function(){var t;if(!this.closed){var e=this._parentOrParents,n=this._unsubscribe,r=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof p)e.remove(this);else if(null!==e)for(var i=0;i<e.length;++i)e[i].remove(this);if(u.isFunction(n))try{n.call(this)}catch(e){t=e instanceof c.UnsubscriptionError?d(e.errors):[e]}if(s.isArray(r)){i=-1;for(var o=r.length;++i<o;){var a=r[i];if(l.isObject(a))try{a.unsubscribe()}catch(e){t=t||[],e instanceof c.UnsubscriptionError?t=t.concat(d(e.errors)):t.push(e)}}}if(t)throw new c.UnsubscriptionError(t)}},p.prototype.add=function(e){var t=e;if(!e)return p.EMPTY;switch(typeof e){case"function":t=new p(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof p)){var n=t;(t=new p)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var r=t._parentOrParents;if(null===r)t._parentOrParents=this;else if(r instanceof p){if(r===this)return t;t._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return t;r.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[t]:i.push(t),t},p.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},p.EMPTY=((r=new p).closed=!0,r),p);function p(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}function d(e){return e.reduce(function(e,t){return e.concat(t instanceof c.UnsubscriptionError?t.errors:t)},[])}t.Subscription=i}),System.registerDynamic("npm:rxjs/internal/Subscriber.js",["./util/isFunction","./Observer","./Subscription","../internal/symbol/rxSubscriber","./config","./util/hostReportError"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o,s=e("./util/isFunction"),l=e("./Observer"),a=e("./Subscription"),u=e("../internal/symbol/rxSubscriber"),c=e("./config"),p=e("./util/hostReportError"),d=(o=a.Subscription,i(h,o),h.prototype[u.rxSubscriber]=function(){return this},h.create=function(e,t,n){var r=new h(e,t,n);return r.syncErrorThrowable=!1,r},h.prototype.next=function(e){this.isStopped||this._next(e)},h.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},h.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},h.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,o.prototype.unsubscribe.call(this))},h.prototype._next=function(e){this.destination.next(e)},h.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},h.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},h.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},h);function h(e,t,n){var r=o.call(this)||this;switch(r.syncErrorValue=null,r.syncErrorThrown=!1,r.syncErrorThrowable=!1,r.isStopped=!1,arguments.length){case 0:r.destination=l.empty;break;case 1:if(!e){r.destination=l.empty;break}if("object"==typeof e){e instanceof h?(r.syncErrorThrowable=e.syncErrorThrowable,(r.destination=e).add(r)):(r.syncErrorThrowable=!0,r.destination=new m(r,e));break}default:r.syncErrorThrowable=!0,r.destination=new m(r,e,t,n)}return r}t.Subscriber=d;var f,m=(i(v,f=d),v.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;c.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},v.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=c.config.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?this.__tryOrSetError(t,this._error,e):this.__tryOrUnsub(this._error,e),this.unsubscribe();else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):p.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;p.hostReportError(e)}}},v.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};c.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,n):this.__tryOrUnsub(n),this.unsubscribe()}else this.unsubscribe()}},v.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),c.config.useDeprecatedSynchronousErrorHandling)throw e;p.hostReportError(e)}},v.prototype.__tryOrSetError=function(t,e,n){if(!c.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return c.config.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0):(p.hostReportError(e),!0)}return!1},v.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},v);function v(e,t,n,r){var i,o=f.call(this)||this;o._parentSubscriber=e;var a=o;return s.isFunction(t)?i=t:t&&(i=t.next,n=t.error,r=t.complete,t!==l.empty&&(a=Object.create(t),s.isFunction(a.unsubscribe)&&o.add(a.unsubscribe.bind(a)),a.unsubscribe=o.unsubscribe.bind(o))),o._context=a,o._next=i,o._error=n,o._complete=r,o}t.SafeSubscriber=m}),System.registerDynamic("npm:rxjs/internal/symbol/rxSubscriber.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),t.$$rxSubscriber=t.rxSubscriber}),System.registerDynamic("npm:rxjs/internal/util/hostReportError.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.hostReportError=function(e){setTimeout(function(){throw e},0)}}),System.registerDynamic("npm:rxjs/internal/Observer.js",["./config","./util/hostReportError"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./config"),i=e("./util/hostReportError");t.empty={closed:!0,next:function(e){},error:function(e){if(r.config.useDeprecatedSynchronousErrorHandling)throw e;i.hostReportError(e)},complete:function(){}}}),System.registerDynamic("npm:rxjs/internal/util/toSubscriber.js",["../Subscriber","../symbol/rxSubscriber","../Observer"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../Subscriber"),i=e("../symbol/rxSubscriber"),o=e("../Observer");t.toSubscriber=function(e,t,n){if(e){if(e instanceof r.Subscriber)return e;if(e[i.rxSubscriber])return e[i.rxSubscriber]()}return e||t||n?new r.Subscriber(e,t,n):new r.Subscriber(o.empty)}}),System.registerDynamic("npm:rxjs/internal/symbol/observable.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"}),System.registerDynamic("npm:rxjs/internal/util/noop.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){}}),System.registerDynamic("npm:rxjs/internal/util/pipe.js",["./noop"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./noop");function i(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)}:r.noop}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)},t.pipeFromArray=i}),System.registerDynamic("npm:rxjs/internal/config.js",[],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=!1;t.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}}),System.registerDynamic("npm:rxjs/internal/Observable.js",["./util/canReportError","./util/toSubscriber","./symbol/observable","./util/pipe","./config"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("./util/canReportError"),o=e("./util/toSubscriber"),i=e("./symbol/observable"),a=e("./util/pipe"),s=e("./config"),l=(u.prototype.lift=function(e){var t=new u;return t.source=this,t.operator=e,t},u.prototype.subscribe=function(e,t,n){var r=this.operator,i=o.toSubscriber(e,t,n);if(r?i.add(r.call(i,this.source)):i.add(this.source||s.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},u.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){s.config.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),r.canReportError(t)?t.error(e):console.warn(e)}},u.prototype.forEach=function(r,e){var i=this;return new(e=c(e))(function(e,t){var n;n=i.subscribe(function(e){try{r(e)}catch(e){t(e),n&&n.unsubscribe()}},t,e)})},u.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},u.prototype[i.observable]=function(){return this},u.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:a.pipeFromArray(e)(this)},u.prototype.toPromise=function(e){var r=this;return new(e=c(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},u.create=function(e){return new u(e)},u);function u(e){this._isScalar=!1,e&&(this._subscribe=e)}function c(e){if(!(e=e||(s.config.Promise||Promise)))throw new Error("no Promise impl found");return e}t.Observable=l}),System.registerDynamic("npm:rxjs/internal/util/subscribeToResult.js",["../InnerSubscriber","./subscribeTo","../Observable"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var o=e("../InnerSubscriber"),a=e("./subscribeTo"),s=e("../Observable");t.subscribeToResult=function(e,t,n,r,i){if(void 0===i&&(i=new o.InnerSubscriber(e,n,r)),!i.closed)return t instanceof s.Observable?t.subscribe(i):a.subscribeTo(t)(i)}}),System.registerDynamic("npm:rxjs/internal/symbol/iterator.js",[],!0,function(e,t,n){"use strict";this||self;function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.getSymbolIterator=r,t.iterator=r(),t.$$iterator=t.iterator}),System.registerDynamic("npm:rxjs/internal/observable/zip.js",["./fromArray","../util/isArray","../Subscriber","../OuterSubscriber","../util/subscribeToResult","../../internal/symbol/iterator"],!0,function(e,t,n){"use strict";this||self;var r,i=t&&t.__extends||(r=function(e,t){return(r=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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=e("./fromArray"),a=e("../util/isArray"),s=e("../Subscriber"),l=e("../OuterSubscriber"),u=e("../util/subscribeToResult"),c=e("../../internal/symbol/iterator");t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return"function"==typeof n&&e.pop(),o.fromArray(e,void 0).lift(new p(n))};var p=(d.prototype.call=function(e,t){return t.subscribe(new f(e,this.resultSelector))},d);function d(e){this.resultSelector=e}t.ZipOperator=p;var h,f=(h=s.Subscriber,i(m,h),m.prototype._next=function(e){var t=this.iterators;a.isArray(e)?t.push(new g(e)):"function"==typeof e[c.iterator]?t.push(new v(e[c.iterator]())):t.push(new w(this.destination,this,e))},m.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var n=0;n<t;n++){var r=e[n];r.stillUnsubscribed?this.destination.add(r.subscribe(r,n)):this.active--}}else this.destination.complete()},m.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},m.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,n=this.destination,r=0;r<t;r++)if("function"==typeof(a=e[r]).hasValue&&!a.hasValue())return;var i=!1,o=[];for(r=0;r<t;r++){var a,s=(a=e[r]).next();if(a.hasCompleted()&&(i=!0),s.done)return void n.complete();o.push(s.value)}this.resultSelector?this._tryresultSelector(o):n.next(o),i&&n.complete()},m.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},m);function m(e,t,n){void 0===n&&(n=Object.create(null));var r=h.call(this,e)||this;return r.iterators=[],r.active=0,r.resultSelector="function"==typeof t?t:null,r.values=n,r}t.ZipSubscriber=f;var v=(y.prototype.hasValue=function(){return!0},y.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},y.prototype.hasCompleted=function(){var e=this.nextResult;return e&&e.done},y);function y(e){this.iterator=e,this.nextResult=e.next()}var g=(_.prototype[c.iterator]=function(){return this},_.prototype.next=function(e){var t=this.index++,n=this.array;return t<this.length?{value:n[t],done:!1}:{value:null,done:!0}},_.prototype.hasValue=function(){return this.array.length>this.index},_.prototype.hasCompleted=function(){return this.array.length===this.index},_);function _(e){this.array=e,this.index=0,this.length=0,this.length=e.length}var b,w=(b=l.OuterSubscriber,i(x,b),x.prototype[c.iterator]=function(){return this},x.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},x.prototype.hasValue=function(){return 0<this.buffer.length},x.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},x.prototype.notifyComplete=function(){0<this.buffer.length?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},x.prototype.notifyNext=function(e,t,n,r,i){this.buffer.push(t),this.parent.checkIterators()},x.prototype.subscribe=function(e,t){return u.subscribeToResult(this,this.observable,this,t)},x);function x(e,t,n){var r=b.call(this,e)||this;return r.parent=t,r.observable=n,r.stillUnsubscribed=!0,r.buffer=[],r.isComplete=!1,r}}),System.registerDynamic("npm:rxjs/internal/operators/zipAll.js",["../observable/zip"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../observable/zip");t.zipAll=function(t){return function(e){return e.lift(new r.ZipOperator(t))}}}),System.registerDynamic("npm:rxjs/operators/index.js",["../internal/operators/audit","../internal/operators/auditTime","../internal/operators/buffer","../internal/operators/bufferCount","../internal/operators/bufferTime","../internal/operators/bufferToggle","../internal/operators/bufferWhen","../internal/operators/catchError","../internal/operators/combineAll","../internal/operators/combineLatest","../internal/operators/concat","../internal/operators/concatAll","../internal/operators/concatMap","../internal/operators/concatMapTo","../internal/operators/count","../internal/operators/debounce","../internal/operators/debounceTime","../internal/operators/defaultIfEmpty","../internal/operators/delay","../internal/operators/delayWhen","../internal/operators/dematerialize","../internal/operators/distinct","../internal/operators/distinctUntilChanged","../internal/operators/distinctUntilKeyChanged","../internal/operators/elementAt","../internal/operators/endWith","../internal/operators/every","../internal/operators/exhaust","../internal/operators/exhaustMap","../internal/operators/expand","../internal/operators/filter","../internal/operators/finalize","../internal/operators/find","../internal/operators/findIndex","../internal/operators/first","../internal/operators/groupBy","../internal/operators/ignoreElements","../internal/operators/isEmpty","../internal/operators/last","../internal/operators/map","../internal/operators/mapTo","../internal/operators/materialize","../internal/operators/max","../internal/operators/merge","../internal/operators/mergeAll","../internal/operators/mergeMap","../internal/operators/mergeMapTo","../internal/operators/mergeScan","../internal/operators/min","../internal/operators/multicast","../internal/operators/observeOn","../internal/operators/onErrorResumeNext","../internal/operators/pairwise","../internal/operators/partition","../internal/operators/pluck","../internal/operators/publish","../internal/operators/publishBehavior","../internal/operators/publishLast","../internal/operators/publishReplay","../internal/operators/race","../internal/operators/reduce","../internal/operators/repeat","../internal/operators/repeatWhen","../internal/operators/retry","../internal/operators/retryWhen","../internal/operators/refCount","../internal/operators/sample","../internal/operators/sampleTime","../internal/operators/scan","../internal/operators/sequenceEqual","../internal/operators/share","../internal/operators/shareReplay","../internal/operators/single","../internal/operators/skip","../internal/operators/skipLast","../internal/operators/skipUntil","../internal/operators/skipWhile","../internal/operators/startWith","../internal/operators/subscribeOn","../internal/operators/switchAll","../internal/operators/switchMap","../internal/operators/switchMapTo","../internal/operators/take","../internal/operators/takeLast","../internal/operators/takeUntil","../internal/operators/takeWhile","../internal/operators/tap","../internal/operators/throttle","../internal/operators/throttleTime","../internal/operators/throwIfEmpty","../internal/operators/timeInterval","../internal/operators/timeout","../internal/operators/timeoutWith","../internal/operators/timestamp","../internal/operators/toArray","../internal/operators/window","../internal/operators/windowCount","../internal/operators/windowTime","../internal/operators/windowToggle","../internal/operators/windowWhen","../internal/operators/withLatestFrom","../internal/operators/zip","../internal/operators/zipAll"],!0,function(e,t,n){"use strict";this||self;Object.defineProperty(t,"__esModule",{value:!0});var r=e("../internal/operators/audit");t.audit=r.audit;var i=e("../internal/operators/auditTime");t.auditTime=i.auditTime;var o=e("../internal/operators/buffer");t.buffer=o.buffer;var a=e("../internal/operators/bufferCount");t.bufferCount=a.bufferCount;var s=e("../internal/operators/bufferTime");t.bufferTime=s.bufferTime;var l=e("../internal/operators/bufferToggle");t.bufferToggle=l.bufferToggle;var u=e("../internal/operators/bufferWhen");t.bufferWhen=u.bufferWhen;var c=e("../internal/operators/catchError");t.catchError=c.catchError;var p=e("../internal/operators/combineAll");t.combineAll=p.combineAll;var d=e("../internal/operators/combineLatest");t.combineLatest=d.combineLatest;var h=e("../internal/operators/concat");t.concat=h.concat;var f=e("../internal/operators/concatAll");t.concatAll=f.concatAll;var m=e("../internal/operators/concatMap");t.concatMap=m.concatMap;var v=e("../internal/operators/concatMapTo");t.concatMapTo=v.concatMapTo;var y=e("../internal/operators/count");t.count=y.count;var g=e("../internal/operators/debounce");t.debounce=g.debounce;var _=e("../internal/operators/debounceTime");t.debounceTime=_.debounceTime;var b=e("../internal/operators/defaultIfEmpty");t.defaultIfEmpty=b.defaultIfEmpty;var w=e("../internal/operators/delay");t.delay=w.delay;var x=e("../internal/operators/delayWhen");t.delayWhen=x.delayWhen;var C=e("../internal/operators/dematerialize");t.dematerialize=C.dematerialize;var S=e("../internal/operators/distinct");t.distinct=S.distinct;var E=e("../internal/operators/distinctUntilChanged");t.distinctUntilChanged=E.distinctUntilChanged;var O=e("../internal/operators/distinctUntilKeyChanged");t.distinctUntilKeyChanged=O.distinctUntilKeyChanged;var k=e("../internal/operators/elementAt");t.elementAt=k.elementAt;var D=e("../internal/operators/endWith");t.endWith=D.endWith;var T=e("../internal/operators/every");t.every=T.every;var I=e("../internal/operators/exhaust");t.exhaust=I.exhaust;var P=e("../internal/operators/exhaustMap");t.exhaustMap=P.exhaustMap;var A=e("../internal/operators/expand");t.expand=A.expand;var M=e("../internal/operators/filter");t.filter=M.filter;var R=e("../internal/operators/finalize");t.finalize=R.finalize;var N=e("../internal/operators/find");t.find=N.find;var j=e("../internal/operators/findIndex");t.findIndex=j.findIndex;var F=e("../internal/operators/first");t.first=F.first;var L=e("../internal/operators/groupBy");t.groupBy=L.groupBy;var V=e("../internal/operators/ignoreElements");t.ignoreElements=V.ignoreElements;var B=e("../internal/operators/isEmpty");t.isEmpty=B.isEmpty;var U=e("../internal/operators/last");t.last=U.last;var z=e("../internal/operators/map");t.map=z.map;var q=e("../internal/operators/mapTo");t.mapTo=q.mapTo;var H=e("../internal/operators/materialize");t.materialize=H.materialize;var W=e("../internal/operators/max");t.max=W.max;var G=e("../internal/operators/merge");t.merge=G.merge;var Y=e("../internal/operators/mergeAll");t.mergeAll=Y.mergeAll;var K=e("../internal/operators/mergeMap");t.mergeMap=K.mergeMap;var Z=e("../internal/operators/mergeMap");t.flatMap=Z.mergeMap;var Q=e("../internal/operators/mergeMapTo");t.mergeMapTo=Q.mergeMapTo;var X=e("../internal/operators/mergeScan");t.mergeScan=X.mergeScan;var $=e("../internal/operators/min");t.min=$.min;var J=e("../internal/operators/multicast");t.multicast=J.multicast;var ee=e("../internal/operators/observeOn");t.observeOn=ee.observeOn;var te=e("../internal/operators/onErrorResumeNext");t.onErrorResumeNext=te.onErrorResumeNext;var ne=e("../internal/operators/pairwise");t.pairwise=ne.pairwise;var re=e("../internal/operators/partition");t.partition=re.partition;var ie=e("../internal/operators/pluck");t.pluck=ie.pluck;var oe=e("../internal/operators/publish");t.publish=oe.publish;var ae=e("../internal/operators/publishBehavior");t.publishBehavior=ae.publishBehavior;var se=e("../internal/operators/publishLast");t.publishLast=se.publishLast;var le=e("../internal/operators/publishReplay");t.publishReplay=le.publishReplay;var ue=e("../internal/operators/race");t.race=ue.race;var ce=e("../internal/operators/reduce");t.reduce=ce.reduce;var pe=e("../internal/operators/repeat");t.repeat=pe.repeat;var de=e("../internal/operators/repeatWhen");t.repeatWhen=de.repeatWhen;var he=e("../internal/operators/retry");t.retry=he.retry;var fe=e("../internal/operators/retryWhen");t.retryWhen=fe.retryWhen;var me=e("../internal/operators/refCount");t.refCount=me.refCount;var ve=e("../internal/operators/sample");t.sample=ve.sample;var ye=e("../internal/operators/sampleTime");t.sampleTime=ye.sampleTime;var ge=e("../internal/operators/scan");t.scan=ge.scan;var _e=e("../internal/operators/sequenceEqual");t.sequenceEqual=_e.sequenceEqual;var be=e("../internal/operators/share");t.share=be.share;var we=e("../internal/operators/shareReplay");t.shareReplay=we.shareReplay;var xe=e("../internal/operators/single");t.single=xe.single;var Ce=e("../internal/operators/skip");t.skip=Ce.skip;var Se=e("../internal/operators/skipLast");t.skipLast=Se.skipLast;var Ee=e("../internal/operators/skipUntil");t.skipUntil=Ee.skipUntil;var Oe=e("../internal/operators/skipWhile");t.skipWhile=Oe.skipWhile;var ke=e("../internal/operators/startWith");t.startWith=ke.startWith;var De=e("../internal/operators/subscribeOn");t.subscribeOn=De.subscribeOn;var Te=e("../internal/operators/switchAll");t.switchAll=Te.switchAll;var Ie=e("../internal/operators/switchMap");t.switchMap=Ie.switchMap;var Pe=e("../internal/operators/switchMapTo");t.switchMapTo=Pe.switchMapTo;var Ae=e("../internal/operators/take");t.take=Ae.take;var Me=e("../internal/operators/takeLast");t.takeLast=Me.takeLast;var Re=e("../internal/operators/takeUntil");t.takeUntil=Re.takeUntil;var Ne=e("../internal/operators/takeWhile");t.takeWhile=Ne.takeWhile;var je=e("../internal/operators/tap");t.tap=je.tap;var Fe=e("../internal/operators/throttle");t.throttle=Fe.throttle;var Le=e("../internal/operators/throttleTime");t.throttleTime=Le.throttleTime;var Ve=e("../internal/operators/throwIfEmpty");t.throwIfEmpty=Ve.throwIfEmpty;var Be=e("../internal/operators/timeInterval");t.timeInterval=Be.timeInterval;var Ue=e("../internal/operators/timeout");t.timeout=Ue.timeout;var ze=e("../internal/operators/timeoutWith");t.timeoutWith=ze.timeoutWith;var qe=e("../internal/operators/timestamp");t.timestamp=qe.timestamp;var He=e("../internal/operators/toArray");t.toArray=He.toArray;var We=e("../internal/operators/window");t.window=We.window;var Ge=e("../internal/operators/windowCount");t.windowCount=Ge.windowCount;var Ye=e("../internal/operators/windowTime");t.windowTime=Ye.windowTime;var Ke=e("../internal/operators/windowToggle");t.windowToggle=Ke.windowToggle;var Ze=e("../internal/operators/windowWhen");t.windowWhen=Ze.windowWhen;var Qe=e("../internal/operators/withLatestFrom");t.withLatestFrom=Qe.withLatestFrom;var Xe=e("../internal/operators/zip");t.zip=Xe.zip;var $e=e("../internal/operators/zipAll");t.zipAll=$e.zipAll}),function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("tslib"),require("@angular/cdk/tree"),require("@angular/core"),require("@angular/material/core"),require("@angular/cdk/coercion"),require("@angular/common"),require("@angular/cdk/collections"),require("rxjs"),require("rxjs/operators")):System.registerDynamic("npm:@angular/material/bundles/material-tree.umd.js",["tslib","@angular/cdk/tree","@angular/core","@angular/material/core","@angular/cdk/coercion","@angular/common","@angular/cdk/collections","rxjs","rxjs/operators"],!1,function(e,t,n){return r.call(t,t,e("tslib"),e("@angular/cdk/tree"),e("@angular/core"),e("@angular/material/core"),e("@angular/cdk/coercion"),e("@angular/common"),e("@angular/cdk/collections"),e("rxjs"),e("rxjs/operators"))})}(0,function(e,r,t,n,i,o,a,s,l,u){"use strict";var c,p=i.mixinTabIndex(i.mixinDisabled(t.CdkTreeNode)),d=(c=p,r.__extends(h,c),h.decorators=[{type:n.Directive,args:[{selector:"mat-tree-node",exportAs:"matTreeNode",inputs:["disabled","tabIndex"],host:{"[attr.aria-expanded]":"isExpanded","[attr.aria-level]":'role === "treeitem" ? level : null',"[attr.role]":"role",class:"mat-tree-node"},providers:[{provide:t.CdkTreeNode,useExisting:h}]}]}],h.ctorParameters=function(){return[{type:n.ElementRef},{type:t.CdkTree},{type:String,decorators:[{type:n.Attribute,args:["tabindex"]}]}]},h.propDecorators={role:[{type:n.Input}]},h);function h(e,t,n){var r=c.call(this,e,t)||this;return r._elementRef=e,r._tree=t,r.role="treeitem",r.tabIndex=Number(n)||0,r}var f,m=(f=t.CdkTreeNodeDef,r.__extends(v,f),v.decorators=[{type:n.Directive,args:[{selector:"[matTreeNodeDef]",inputs:["when: matTreeNodeDefWhen"],providers:[{provide:t.CdkTreeNodeDef,useExisting:v}]}]}],v.propDecorators={data:[{type:n.Input,args:["matTreeNode"]}]},v);function v(){return null!==f&&f.apply(this,arguments)||this}var y,g=(y=t.CdkNestedTreeNode,r.__extends(_,y),Object.defineProperty(_.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=o.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?e:0},enumerable:!0,configurable:!0}),_.prototype.ngAfterContentInit=function(){y.prototype.ngAfterContentInit.call(this)},_.prototype.ngOnDestroy=function(){y.prototype.ngOnDestroy.call(this)},_.decorators=[{type:n.Directive,args:[{selector:"mat-nested-tree-node",exportAs:"matNestedTreeNode",host:{"[attr.aria-expanded]":"isExpanded","[attr.role]":"role",class:"mat-nested-tree-node"},providers:[{provide:t.CdkNestedTreeNode,useExisting:_},{provide:t.CdkTreeNode,useExisting:_},{provide:t.CDK_TREE_NODE_OUTLET_NODE,useExisting:_}]}]}],_.ctorParameters=function(){return[{type:n.ElementRef},{type:t.CdkTree},{type:n.IterableDiffers},{type:String,decorators:[{type:n.Attribute,args:["tabindex"]}]}]},_.propDecorators={node:[{type:n.Input,args:["matNestedTreeNode"]}],disabled:[{type:n.Input}],tabIndex:[{type:n.Input}]},_);function _(e,t,n,r){var i=y.call(this,e,t,n)||this;return i._elementRef=e,i._tree=t,i._differs=n,i._disabled=!1,i.tabIndex=Number(r)||0,i}var b,w=(b=t.CdkTreeNodePadding,r.__extends(x,b),x.decorators=[{type:n.Directive,args:[{selector:"[matTreeNodePadding]",providers:[{provide:t.CdkTreeNodePadding,useExisting:x}]}]}],x.propDecorators={level:[{type:n.Input,args:["matTreeNodePadding"]}],indent:[{type:n.Input,args:["matTreeNodePaddingIndent"]}]},x);function x(){return null!==b&&b.apply(this,arguments)||this}var C=(S.decorators=[{type:n.Directive,args:[{selector:"[matTreeNodeOutlet]",providers:[{provide:t.CdkTreeNodeOutlet,useExisting:S}]}]}],S.ctorParameters=function(){return[{type:n.ViewContainerRef},{type:void 0,decorators:[{type:n.Inject,args:[t.CDK_TREE_NODE_OUTLET_NODE]},{type:n.Optional}]}]},S);function S(e,t){this.viewContainer=e,this._node=t}var E,O=(E=t.CdkTree,r.__extends(k,E),k.decorators=[{type:n.Component,args:[{moduleId:module.id,selector:"mat-tree",exportAs:"matTree",template:"<ng-container matTreeNodeOutlet></ng-container>",host:{class:"mat-tree",role:"tree"},encapsulation:n.ViewEncapsulation.None,changeDetection:n.ChangeDetectionStrategy.Default,providers:[{provide:t.CdkTree,useExisting:k}],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;min-height:48px;flex:1;overflow:hidden;word-wrap:break-word}.mat-nested-tree-ndoe{border-bottom-width:0}/*# sourceMappingURL=tree.css.map */\n"]}]}],k.propDecorators={_nodeOutlet:[{type:n.ViewChild,args:[C,{static:!0}]}]},k);function k(){return null!==E&&E.apply(this,arguments)||this}var D,T=(D=t.CdkTreeNodeToggle,r.__extends(I,D),I.decorators=[{type:n.Directive,args:[{selector:"[matTreeNodeToggle]",providers:[{provide:t.CdkTreeNodeToggle,useExisting:I}]}]}],I.propDecorators={recursive:[{type:n.Input,args:["matTreeNodeToggleRecursive"]}]},I);function I(){var e=null!==D&&D.apply(this,arguments)||this;return e.recursive=!1,e}var P=[g,m,w,T,O,d,C],A=(M.decorators=[{type:n.NgModule,args:[{imports:[t.CdkTreeModule,a.CommonModule,i.MatCommonModule],exports:P,declarations:P}]}],M);function M(){}var R=(N.prototype._flattenNode=function(e,t,n,r){var i=this,o=this.transformFunction(e,t);if(n.push(o),this.isExpandable(o)){var a=this.getChildren(e);a&&(Array.isArray(a)?this._flattenChildren(a,t,n,r):a.pipe(u.take(1)).subscribe(function(e){i._flattenChildren(e,t,n,r)}))}return n},N.prototype._flattenChildren=function(r,i,o,a){var s=this;r.forEach(function(e,t){var n=a.slice();n.push(t!=r.length-1),s._flattenNode(e,i+1,o,n)})},N.prototype.flattenNodes=function(e){var t=this,n=[];return e.forEach(function(e){return t._flattenNode(e,0,n,[])}),n},N.prototype.expandFlattenedNodes=function(e,r){var i=this,o=[],a=[];return a[0]=!0,e.forEach(function(e){for(var t=!0,n=0;n<=i.getLevel(e);n++)t=t&&a[n];t&&o.push(e),i.isExpandable(e)&&(a[i.getLevel(e)+1]=r.isExpanded(e))}),o},N);function N(e,t,n,r){this.transformFunction=e,this.getLevel=t,this.isExpandable=n,this.getChildren=r}var j,F=(j=s.DataSource,r.__extends(L,j),Object.defineProperty(L.prototype,"data",{get:function(){return this._data.value},set:function(e){this._data.next(e),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value},enumerable:!0,configurable:!0}),L.prototype.connect=function(e){var t=this,n=[e.viewChange,this._treeControl.expansionModel.onChange,this._flattenedData];return l.merge.apply(void 0,r.__spread(n)).pipe(u.map(function(){return t._expandedData.next(t._treeFlattener.expandFlattenedNodes(t._flattenedData.value,t._treeControl)),t._expandedData.value}))},L.prototype.disconnect=function(){},L);function L(e,t,n){void 0===n&&(n=[]);var r=j.call(this)||this;return r._treeControl=e,r._treeFlattener=t,r._flattenedData=new l.BehaviorSubject([]),r._expandedData=new l.BehaviorSubject([]),r._data=new l.BehaviorSubject(n),r}var V,B=(V=s.DataSource,r.__extends(U,V),Object.defineProperty(U.prototype,"data",{get:function(){return this._data.value},set:function(e){this._data.next(e)},enumerable:!0,configurable:!0}),U.prototype.connect=function(e){var t=this;return l.merge.apply(void 0,r.__spread([e.viewChange,this._data])).pipe(u.map(function(){return t.data}))},U.prototype.disconnect=function(){},U);function U(){var e=null!==V&&V.apply(this,arguments)||this;return e._data=new l.BehaviorSubject([]),e}e.MatTreeNode=d,e.MatTreeNodeDef=m,e.MatNestedTreeNode=g,e.MatTreeNodePadding=w,e.MatTree=O,e.MatTreeModule=A,e.MatTreeNodeToggle=T,e.MatTreeNodeOutlet=C,e.MatTreeFlattener=R,e.MatTreeFlatDataSource=F,e.MatTreeNestedDataSource=B,Object.defineProperty(e,"__esModule",{value:!0})}),System.register("libs/code-demos/assets/runner/ng2/basic.ts",["rxjs","@angular/core","@angular/animations","@angular/router","@angular/platform-browser-dynamic","@angular/platform-browser-dynamic/testing","@angular/core/testing","@angular/platform-browser/animations","@angular/material/autocomplete","@angular/material/badge","@angular/material/bottom-sheet","@angular/material/button","@angular/material/button-toggle","@angular/material/card","@angular/material/checkbox","@angular/material/chips","@angular/material/core","@angular/material/datepicker","@angular/material/dialog","@angular/material/divider","@angular/material/expansion","@angular/material/form-field","@angular/material/grid-list","@angular/material/icon","@angular/material/input","@angular/material/list","@angular/material/menu","@angular/material/paginator","@angular/material/progress-bar","@angular/material/progress-spinner","@angular/material/radio","@angular/material/select","@angular/material/sidenav","@angular/material/slide-toggle","@angular/material/slider","@angular/material/snack-bar","@angular/material/sort","@angular/material/stepper","@angular/material/table","@angular/material/tabs","@angular/material/toolbar","@angular/material/tooltip","@angular/material/tree"],function(e,t){"use strict";t&&t.id;return{setters:[function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){},function(e){}],execute:function(){}}});