exam/example/app.js

767 lines
682 KiB
JavaScript
Raw Normal View History

2017-06-10 16:28:49 +03:00
!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/build/",e(e.s=140)}({119:function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},120:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(9),i=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(o.Observable);e.EmptyObservable=i},121:function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var o=n(37);e.getSymbolObservable=r,e.observable=r(o.root),e.$$observable=e.observable},122:function(t,e,n){"use strict";e.errorObject={e:{}}},123:function(t,e,n){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},124:function(t,e,n){"use strict";function r(t){return"function"==typeof t}e.isFunction=r},125:function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t}e.isObject=r},126:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.isScheduler=r},127:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(135),o=n(20),i=n(86),s=n(49);n.d(e,"RESOURCE_CACHE_PROVIDER",function(){return h}),n.d(e,"platformBrowserDynamic",function(){return f}),n.d(e,"VERSION",function(){return p}),n.d(e,"ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS",function(){return c}),n.d(e,"ɵResourceLoaderImpl",function(){return u});var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.get=function(t){var e,n,r=new Promise(function(t,r){e=t,n=r}),o=new XMLHttpRequest;return o.open("GET",t,!0),o.responseType="text",o.onload=function(){var r=o.response||o.responseText,i=1223===o.status?204:o.status;0===i&&(i=r?200:0),200<=i&&i<=300?e(r):n("Failed to load "+t)},o.onerror=function(){n("Failed to load "+t)},o.send(),r},e}(r.a);u.decorators=[{type:o.Injectable}],u.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var c=[s["ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS"],{provide:o.COMPILER_OPTIONS,useValue:{providers:[{provide:r.a,useClass:u}]},multi:!0},{provide:o.PLATFORM_ID,useValue:i.b}],l=function(t){function e(){var e=t.call(this)||this;if(e._cache=o["ɵglobal"].$templateCache,null==e._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.");return e}return a(e,t),e.prototype.get=function(t){return this._cache.hasOwnProperty(t)?Promise.resolve(this._cache[t]):Promise.reject("CachedResourceLoader: Did not find cached template for "+t)},e}(r.a),p=new o.Version("4.1.1"),h=[{provide:r.a,useClass:l}],f=n.i(o.createPlatformFactory)(r.b,"browserDynamic",c)},128:function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,"__esModule",{value:!0});var o=n(20),i=n(49),s=n(88),a=n(136),u=n(137),c=n(139),l=n(138),p=function(){function t(){}return t}();p=r([o.NgModule({imports:[i.BrowserModule,s.HttpModule,a.FormsModule],declarations:[u.AppComponent],providers:[c.ContactService,l.MemContactService],bootstrap:[u.AppComponent]})],p),e.AppModule=p},131:function(t,e,n){"use strict";var r=n(9),o=n(304);r.Observable.throw=o._throw},132:function(t,e,n){"use strict";var r=n(9),o=n(305);r.Observable.prototype.catch=o._catch,r.Observable.prototype._catch=o._catch},133:function(t,e,n){"use strict";var r=n(9),o=n(311);r.Observable.prototype.toPromise=o.toPromise},135:function(t,e,n){"use strict";function r(t,e,n){void 0===n&&(n=null);var r=[],o=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=o(t);e&&r.push(e)}),r}function o(t){if(":"!=t[0])return[null,t];var e=t.indexOf(":",1);if(-1==e)throw new Error('Unsupported format "'+t+'" expecting ":namespace:name"');return[t.slice(1,e),t.slice(e+1)]}function i(t){return"ng-container"===o(t)[1]}function s(t){return"ng-content"===o(t)[1]}function a(t){return"ng-template"===o(t)[1]}function u(t){return null===t?null:o(t)[0]}function c(t,e){return t?":"+t+":"+e:e}function l(t){return vo[t.toLowerCase()]||mo}function p(t){return t.replace(So,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()})}function h(t,e){return d(t,":",e)}function f(t,e){return d(t,".",e)}function d(t,e,n){var r=t.indexOf(e);return-1==r?n:[t.slice(0,r).trim(),t.slice(r+1).trim()]}function y(t,e,n){return Array.isArray(t)?e.visitArray(t,n):b(t)?e.visitStringMap(t,n):null==t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t?e.visitPrimitive(t,n):e.visitOther(t,n)}function v(t){return null!==t&&void 0!==t}function m(t){return void 0===t?null:t}function g(t){var e=Error(t);return e[Po]=!0,e}function _(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function b(t){return"object"==typeof t&&null!==t&&Object.getPrototypeOf(t)===Ao}function w(t){for(var e="",n=0;n<t.length;n++){var r=t.charCodeAt(n);if(r>=55296&&r<=56319&&t.length>n+1){var o=t.charCodeAt(n+1);o>=56320&&o<=57343&&(n++,r=(r-55296<<10)+o-56320+65536)}r<=127?e+=String.fromCharCode(r):r<=2047?e+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?e+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(e+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return e}function E(t){return t.replace(/\W/g,"_")}function C(t){if(!t||!t.reference)return null;var e=t.reference;if(e instanceof lo)return e.name;if(e.__anonymousType)return e.__anonymousType;var r=n.i(Kr["ɵstringify"])(e);return r.indexOf("(")>=0?(r="anonymous_"+No++,e.__anonymousType=r):r=E(r),r}function S(t){var e=t.reference;return e instanceof lo?e.filePath:Kr["ɵreflector"].importUri(e)}function x(t,e){return"View_"+C({reference:t})+"_"+e}function T(t){return"RenderType_"+C({reference:t})}functi
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function G(t,e){if(n.i(Kr.isDevMode)()&&null!=e){if(!Array.isArray(e))throw new Error("Expected '"+t+"' to be an array of strings.");for(var r=0;r<e.length;r+=1)if("string"!=typeof e[r])throw new Error("Expected '"+t+"' to be an array of strings.")}}function z(t,e){if(!(null==e||Array.isArray(e)&&2==e.length))throw new Error("Expected '"+t+"' to be an array, [start, end].");if(n.i(Kr.isDevMode)()&&null!=e){var r=e[0],o=e[1];Xi.forEach(function(t){if(t.test(r)||t.test(o))throw new Error("['"+r+"', '"+o+"'] contains unusable interpolation symbol.")})}}function W(t,e){return new es(t,$i.Character,e,String.fromCharCode(e))}function K(t,e){return new es(t,$i.Identifier,0,e)}function Q(t,e){return new es(t,$i.Keyword,0,e)}function X(t,e){return new es(t,$i.Operator,0,e)}function Z(t,e){return new es(t,$i.String,0,e)}function Y(t,e){return new es(t,$i.Number,e,"")}function $(t,e){return new es(t,$i.Error,0,e)}function J(t){return Fi<=t&&t<=zi||Ii<=t&&t<=Vi||t==Li||t==Ci}function tt(t){if(0==t.length)return!1;var e=new rs(t);if(!J(e.peek))return!1;for(e.advance();e.peek!==yi;){if(!et(e.peek))return!1;e.advance()}return!0}function et(t){return U(t)||H(t)||t==Li||t==Ci}function nt(t){return t==ji||t==Ri}function rt(t){return t==Ti||t==xi}function ot(t){return t===Si||t===Ei||t===Qi}function it(t){switch(t){case Ui:return mi;case Hi:return _i;case Bi:return bi;case qi:return vi;case Gi:return gi;default:return t}}function st(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function at(t){var e=_(t.start)+"([\\s\\S]*?)"+_(t.end);return new RegExp(e,"g")}function ut(t,e){var n=S(e),r=null!=n?"in "+t+" "+C(e)+" in "+n:"in "+t+" "+C(e),o=new ls("",r);return new ps(new cs(o,-1,-1,-1),new cs(o,-1,-1,-1))}function ct(t,e,n){void 0===n&&(n=null);var r=[],o=t.visit?function(e){return t.visit(e,n)||e.visit(t,n)}:function(e){return e.visit(t,n)};return e.forEach(function(t){var e=o(t);e&&r.push(e)}),r}function lt(t,e,n,r,o){return void 0===r&&(r=!1),void 0===o&&(o=Yi),new xs(new ls(t,e),n,r,o).tokenize()}function pt(t){return'Unexpected character "'+(t===yi?"EOF":String.fromCharCode(t))+'"'}function ht(t){return'Unknown entity "'+t+'" - use the "&#<decimal>;" or "&#x<hex>;" syntax'}function ft(t){return!j(t)||t===yi}function dt(t){return j(t)||t===Mi||t===Pi||t===Si||t===Ei||t===Oi}function yt(t){return(t<Fi||zi<t)&&(t<Ii||Vi<t)&&(t<ki||t>Ni)}function vt(t){return t==Ai||t==yi||!B(t)}function mt(t){return t==Ai||t==yi||!U(t)}function gt(t,e,n){var r=!!n&&t.indexOf(n.start,e)==e;return t.charCodeAt(e)==Wi&&!r}function _t(t){return t===Oi||U(t)}function bt(t,e){return wt(t)==wt(e)}function wt(t){return t>=Fi&&t<=zi?t-Fi+Ii:t}function Et(t){for(var e=[],n=void 0,r=0;r<t.length;r++){var o=t[r];n&&n.type==bs.TEXT&&o.type==bs.TEXT?(n.parts[0]+=o.parts[0],n.sourceSpan.end=o.sourceSpan.end):(n=o,e.push(n))}return e}function Ct(t,e){return t.length>0&&t[t.length-1]===e}function St(t){var e=new Bs(Us,t);return function(t,n,r,o){return e.toI18nMessage(t,n,r,o)}}function xt(t){return t.split(qs)[2]}function Tt(t,e,n,r){return new Zs(n,r).extract(t,e)}function Pt(t,e,n,r,o){return new Zs(r,o).merge(t,e,n)}function At(t){return!!(t instanceof _s&&t.value&&t.value.startsWith("i18n"))}function Ot(t){return!!(t instanceof _s&&t.value&&"/i18n"===t.value)}function Mt(t){return t.attrs.find(function(t){return t.name===zs})||null}function kt(t){if(!t)return{meaning:"",description:"",id:""};var e=t.indexOf(Ks),n=t.indexOf(Ws),r=e>-1?[t.slice(0,e),t.slice(e+2)]:[t,""],o=r[0],i=r[1],s=n>-1?[o.slice(0,n),o.slice(n+1)]:["",o];return{meaning:s[0],description:s[1],id:i}}function Nt(t){return $s}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function It(t){return t.id||Vt(Dt(t.nodes).join("")+"["+t.meaning+"]")}function Rt(t){if(t.id)return t.id;var e=new na;return jt(t.nodes.map(function(t){return t.visit(e,null)}).join(""),t.meaning)}function Dt(t){return t.map(function(t){return t.visit(ea,null)})}function Vt(t){var e=w(t),n=Qt(e,ra.Big),r=8*e.length,o=new Array(80),i=[1732584193,4023233417,2562383102,271733878,3285377520],s=i[0],a=i[1],u=i[2],c=i[3],l=i[4];n[r>>5]|=128<<24-r%32,n[15+(r+64>>9<<4)]=r;for(var p=0;p<n.length;p+=16){for(var h=[s,a,u,c,l],f=h[0],d=h[1],y=h[2],v=h[3],m=h[4],g=0;g<80;g++){o[g]=g<16?n[p+g]:Wt(o[g-3]^o[g-8]^o[g-14]^o[g-16],1);var _=Lt(g,a,u,c),b=_[0],E=_[1],C=[Wt(s,5),b,l,E,o[g]].reduce(Bt);S=[c,u,Wt(a,30),s,C],l=S[0],c=S[1],u=S[2],a=S[3],s=S[4]}x=[Bt(s,f),Bt(a,d),Bt(u,y),Bt(c,v),Bt(l,m)],s=x[0],a=x[1],u=x[2],c=x[3],l=x[4]}return Jt(Yt([s,a,u,c,l]));var S,x}function Lt(t,e,n,r){return t<20?[e&n|~e&r,1518500249]:t<40?[e^n^r,1859775393]:t<60?[e&n|e&r|n&r,2400959708]:[e^n^r,3395469782]}function Ft(t){var e=w(t),n=[Ht(e,0),Ht(e,102072)],r=n[0],o=n[1];return 0!=r||0!=o&&1!=o||(r^=319790063,o^=-1801410264),[r,o]}function jt(t,e){var n=Ft(t),r=n[0],o=n[1];if(e){var i=Ft(e),s=i[0],a=i[1];u=Gt(Kt([r,o],1),[s,a]),r=u[0],o=u[1]}return te(Yt([2147483647&r,o]));var u}function Ht(t,e){var n,r=[2654435769,2654435769],o=r[0],i=r[1],s=t.length;for(n=0;n+12<=s;n+=12)o=Bt(o,Zt(t,n,ra.Little)),i=Bt(i,Zt(t,n+4,ra.Little)),e=Bt(e,Zt(t,n+8,ra.Little)),a=Ut([o,i,e]),o=a[0],i=a[1],e=a[2];return o=Bt(o,Zt(t,n,ra.Little)),i=Bt(i,Zt(t,n+4,ra.Little)),e=Bt(e,s),e=Bt(e,Zt(t,n+8,ra.Little)<<8),Ut([o,i,e])[2];var a}function Ut(t){var e=t[0],n=t[1],r=t[2];return e=zt(e,n),e=zt(e,r),e^=r>>>13,n=zt(n,r),n=zt(n,e),n^=e<<8,r=zt(r,e),r=zt(r,n),r^=n>>>13,e=zt(e,n),e=zt(e,r),e^=r>>>12,n=zt(n,r),n=zt(n,e),n^=e<<16,r=zt(r,e),r=zt(r,n),r^=n>>>5,e=zt(e,n),e=zt(e,r),e^=r>>>3,n=zt(n,r),n=zt(n,e),n^=e<<10,r=zt(r,e),r=zt(r,n),r^=n>>>15,[e,n,r]}function Bt(t,e){return qt(t,e)[1]}function qt(t,e){var n=(65535&t)+(65535&e),r=(t>>>16)+(e>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function Gt(t,e){var n=t[0],r=t[1],o=e[0],i=e[1],s=qt(r,i),a=s[0],u=s[1];return[Bt(Bt(n,o),a),u]}function zt(t,e){var n=(65535&t)-(65535&e);return(t>>16)-(e>>16)+(n>>16)<<16|65535&n}function Wt(t,e){return t<<e|t>>>32-e}function Kt(t,e){var n=t[0],r=t[1];return[n<<e|r>>>32-e,r<<e|n>>>32-e]}function Qt(t,e){for(var n=Array(t.length+3>>>2),r=0;r<n.length;r++)n[r]=Zt(t,4*r,e);return n}function Xt(t,e){return e>=t.length?0:255&t.charCodeAt(e)}function Zt(t,e,n){var r=0;if(n===ra.Big)for(var o=0;o<4;o++)r+=Xt(t,e+o)<<24-8*o;else for(var o=0;o<4;o++)r+=Xt(t,e+o)<<8*o;return r}function Yt(t){return t.reduce(function(t,e){return t+$t(e)},"")}function $t(t){for(var e="",n=0;n<4;n++)e+=String.fromCharCode(t>>>8*(3-n)&255);return e}function Jt(t){for(var e="",n=0;n<t.length;n++){var r=Xt(t,n);e+=(r>>>4).toString(16)+(15&r).toString(16)}return e.toLowerCase()}function te(t){for(var e="",n="1",r=t.length-1;r>=0;r--)e=ee(e,ne(Xt(t,r),n)),n=ne(256,n);return e.split("").reverse().join("")}function ee(t,e){for(var n="",r=Math.max(t.length,e.length),o=0,i=0;o<r||i;o++){var s=i+ +(t[o]||0)+ +(e[o]||0);s>=10?(i=1,n+=s-10):(i=0,n+=s)}return n}function ne(t,e){for(var n="",r=e;0!==t;t>>>=1)1&t&&(n=ee(n,r)),r=ee(r,r);return n}function re(t){return t.map(function(t){return t.visit(aa)}).join("")}function oe(t){return fa.reduce(function(t,e){return t.replace(e[0],e[1])},t)}function ie(t){switch(t.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+t}}function se(t){switch(t.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}function ae(t){return Rt(t)}function ue(t){return t.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}function ce(t,e,n){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){var r=n();return Object.defineProperty(t,e,{enumerable:!0,value:r}),r},set:function(t){throw new Error("Could not overwrite an XTB translation")}})}function le(t){switch(t=(t||"xlf").toLowerCase()){case"xmb":return new Ea;case"
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function $e(t,e){return Kr["ɵreflector"].hasLifecycleHook(e,Je(t))}function Je(t){switch(t){case Kr["ɵLifecycleHooks"].OnInit:return"ngOnInit";case Kr["ɵLifecycleHooks"].OnDestroy:return"ngOnDestroy";case Kr["ɵLifecycleHooks"].DoCheck:return"ngDoCheck";case Kr["ɵLifecycleHooks"].OnChanges:return"ngOnChanges";case Kr["ɵLifecycleHooks"].AfterContentInit:return"ngAfterContentInit";case Kr["ɵLifecycleHooks"].AfterContentChecked:return"ngAfterContentChecked";case Kr["ɵLifecycleHooks"].AfterViewInit:return"ngAfterViewInit";case Kr["ɵLifecycleHooks"].AfterViewChecked:return"ngAfterViewChecked"}}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function tn(t){return t instanceof Kr.NgModule}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function en(t){return t instanceof Kr.Pipe}function nn(t,e){if(void 0===e&&(e=[]),t)for(var r=0;r<t.length;r++){var o=n.i(Kr.resolveForwardRef)(t[r]);Array.isArray(o)?nn(o,e):e.push(o)}return e}function rn(t){return t?Array.from(new Set(t)):[]}function on(t){return rn(nn(t))}function sn(t){return t instanceof lo||t instanceof Kr.Type}function an(t,e,n){if(e instanceof lo)return t.resourceUri(e);var r=n.moduleId;if("string"==typeof r){return je(r)?r:"package:"+r+Co}if(null!==r&&void 0!==r)throw g('moduleId should be a string in "'+cn(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 t.importUri(e)}function un(t,e){y(t,new ju,e)}function cn(t){return t instanceof lo?t.name+" in "+t.filePath:n.i(Kr["ɵstringify"])(t)}function ln(t){var e=Error("Can't compile synchronously as "+n.i(Kr["ɵstringify"])(t)+" is still being loaded!");return e[Kr["ɵERROR_COMPONENT_TYPE"]]=t,e}function pn(t){var e=new Uc;return e.visitAllStatements(t,null),e.varNames}function hn(t,e){if(!e)return t;var n=new Bc(e);return t.visitStatement(n,null)}function fn(t,e){if(!e)return t;var n=new Bc(e);return t.visitExpression(n,null)}function dn(t,e,n){return new Ju(t,e,n)}function yn(t,e,n){return void 0===e&&(e=null),new uc(t,null,e,n)}function vn(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),null!=t?mn(yn(t,e,null),n):null}function mn(t,e){return void 0===e&&(e=null),null!=t?new Gu(t,e):null}function gn(t,e,n){return new mc(t,e,n)}function _n(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=!1),new _c(t.map(function(t){return new gc(t[0],t[1],n)}),e,null)}function bn(t,e){return new lc(t,e)}function wn(t,e,n,r){return new fc(t,e,n,r)}function En(t,e,n){return new ac(t,e,n)}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Cn(t){var e=t.parentArgs||[],n=t.parent?[Ec.callFn(e).toStmt()]:[],r=Sn(Array.isArray(t.builders)?t.builders:[t.builders]),o=new Ic(null,t.ctorParams||[],n.concat(r.ctorStmts));return new Dc(t.name,t.parent||null,r.fields,r.getters,o,r.methods,t.modifiers||[],t.sourceSpan)}function Sn(t){return{fields:[].concat.apply([],t.map(function(t){return t.fields||[]})),methods:[].concat.apply([],t.map(function(t){return t.methods||[]})),getters:[].concat.apply([],t.map(function(t){return t.getters||[]})),ctorStmts:[].concat.apply([],t.map(function(t){return t.ctorStmts||[]}))}}function xn(t,e){return void 0===e&&(e=null),y(t,new qc,e)}function Tn(t){return null!=t.value?En(t.value):yn(t.identifier)}function Pn(t){var e="";t=w(t);for(var n=0;n<t.length;){var r=t.charCodeAt(n++),o=t.charCodeAt(n++),i=t.charCodeAt(n++);e+=On(r>>2),e+=On((3&r)<<4|(isNaN(o)?0:o>>4)),e+=isNaN(o)?"=":On((15&o)<<2|i>>6),e+=isNaN(o)||isNaN(i)?"=":On(63&i)}return e}function An(t){t=t<0?1+(-t<<1):t<<1;var e="";do{var n=31&t;t>>=5,t>0&&(n|=32),e+=On(n)}while(t>0);return e}function On(t){if(t<0||t>=64)throw new Error("Can only encode value in the range [0, 63]");return Yc[t]}function Mn(t,e,n){if(void 0===n&&(n=!0),null==t)return null;var r=t.replace($c,function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return"$"==t[0]?e?"\\$":"$":"\n"==t[0]?"\\n":"\r"==t[0]?"\\r":"\\"+t[0]});return n||!Jc.test(r)?"'"+r+"'":r}function kn(t){for(var e="",n=0;n<t;n++)e+=tl;return e}function Nn(t){var e=new al(sl,{fileNameToModuleName:function(t,e){return t},getImportAs:function(t){return null},getTypeArity:function(t){return null}}),n=ol.createRoot([]);return(Array.isArray(t)?t:[t]).forEach(function(t){if(t instanceof Tc)t.visitStatement(e,n);else if(t instanceof Yu)t.visitExpression(e,n);else{if(!(t instanceof Uu))throw new Error("Don't know how to print debug info for "+t);t.visitType(e,n)}}),n.toSource()}function In(t,e){for(var n=0,r=e;n<r.length;n++){var o=r[n];ul[o.toLowerCase()]=t}}function Rn(t){switch(t){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!0;default:return!1}}function Dn(t){return t.replace(Rl,"")}function Vn(t){var e=t.match(Dl);return e?e[0]:""}function Ln(t,e){var n=Fn(t),r=0;return n.escapedString.replace(Vl,function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var i=t[2],s="",a=t[4],u="";a&&a.startsWith("{"+Hl)&&(s=n.blocks[r++],a=a.substring(Hl.length+1),u="{");var c=e(new Ul(i,s));return""+t[1]+c.selector+t[3]+u+c.content+a})}function Fn(t){for(var e=t.split(Ll),n=[],r=[],o=0,i=[],s=0;s<e.length;s++){var a=e[s];a==jl&&o--,o>0?i.push(a):(i.length>0&&(r.push(i.join("")),n.push(Hl),i=[]),n.push(a)),a==Fl&&o++}return i.length>0&&(r.push(i.join("")),n.push(Hl)),new Bl(n.join(""),r)}function jn(t){var e="styles";return t&&(e+="_"+C(t.type)),e}function Hn(t,e,n,r){t||(t=new Jl);var o=Un({createLiteralArrayConverter:function(t){return function(t){return gn(t)}},createLiteralMapConverter:function(t){return function(e){return _n(t.map(function(t,n){return[t,e[n]]}))}},createPipeConverter:function(t){throw new Error("Illegal State: Actions are not allowed to contain pipes. Pipe: "+t)}},n),i=new $l(t,e,r),s=[];Zn(o.visit(i,Zl.Statement),s),Wn(i.temporaryCount,r,s);var a=s.length-1,u=null;if(a>=0){var c=s[a],l=Jn(c);l&&(u=$n(r),s[a]=u.set(l.cast(Ku).notIdentical(En(!1))).toDeclStmt(null,[xc.Final]))}return new Ql(s,u)}function Un(t,e){return qn(t,e)}function Bn(t,e,n,r){t||(t=new Jl);var o=Yn(r),i=[],s=new $l(t,e,r),a=n.visit(s,Zl.Expression);if(s.temporaryCount)for(var u=0;u<s.temporaryCount;u++)i.push(zn(r,u));return i.push(o.set(a).toDeclStmt(null,[xc.Final])),new Xl(i,o)}function qn(t,e){var
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function mr(t,e,n,r){var o=new fp(e,t);n.forEach(function(t){return o.addOrMergeSummary({symbol:t.symbol,metadata:t.metadata})});for(var i=0;i<o.symbols.length;i++){var s=o.symbols[i];if(t.isLibraryFile(s.filePath)){var a=t.resolveSummary(s);if(!a){var u=e.resolveSymbol(s);u&&(a={symbol:u.symbol,metadata:u.metadata})}a&&o.addOrMergeSummary(a)}}return r.forEach(function(e){if(o.addOrMergeSummary({symbol:e.type.reference,metadata:null,type:e}),e.summaryKind===Io.NgModule){var n=e;n.exportedDirectives.concat(n.exportedPipes).forEach(function(e){var n=e.reference;if(t.isLibraryFile(n.filePath)){var r=t.resolveSummary(n);r&&o.addOrMergeSummary(r)}})}}),o.serialize()}function gr(t,e){return new dp(t).deserialize(e)}function _r(t,e,n){return e.dependencies.forEach(function(e){e.valuePlaceholder.reference=t.getStaticSymbol(br(e.moduleUrl,e.isShimmed,n),e.name)}),e.statements}function br(t,e,n){return t+(e?".shim":"")+".ngstyle"+n}function wr(t){if(!t.isComponent)throw new Error("Could not compile '"+C(t.type)+"' because it is not a component.")}function Er(t,e,n){var r=Tr(t,e,n);return Sr(t,r.ngModules,r.symbolsMissingModule,n)}function Cr(t,e,n){var r=Er(t,e,n);if(r.symbolsMissingModule&&r.symbolsMissingModule.length){throw g(r.symbolsMissingModule.map(function(t){return"Cannot determine the module for class "+t.name+" in "+t.filePath+"! Add "+t.name+" to the NgModule to fix it."}).join("\n"))}return r}function Sr(t,e,n,r){var o=new Map;e.forEach(function(t){return o.set(t.type.reference,t)});var i=new Map,s=new Map,a=new Map,u=new Map,c=new Map,l=new Set;t.forEach(function(t){var e=t.filePath;l.add(e),r.isInjectable(t)&&c.set(e,(c.get(e)||[]).concat(t))}),e.forEach(function(t){var e=t.type.reference.filePath;l.add(e),s.set(e,(s.get(e)||[]).concat(t.type.reference)),t.declaredDirectives.forEach(function(e){var n=e.reference.filePath;l.add(n),a.set(n,(a.get(n)||[]).concat(e.reference)),i.set(e.reference,t)}),t.declaredPipes.forEach(function(e){var n=e.reference.filePath;l.add(n),u.set(n,(u.get(n)||[]).concat(e.reference)),i.set(e.reference,t)})});var p=[];return l.forEach(function(t){var e=a.get(t)||[],n=u.get(t)||[],r=s.get(t)||[],o=c.get(t)||[];p.push({srcUrl:t,directives:e,pipes:n,ngModules:r,injectables:o})}),{ngModuleByPipeOrDirective:i,files:p,ngModules:e,symbolsMissingModule:n}}function xr(t,e,n){var r=[];return e.filter(function(t){return n.isSourceFile(t)}).forEach(function(e){t.getSymbolsOf(e).forEach(function(e){var n=t.resolveSymbol(e),o=n.metadata;o&&"error"!=o.__symbolic&&r.push(n.symbol)})}),r}function Tr(t,e,n){var r=new Map,o=[],i=new Set,s=function(t){if(r.has(t)||!e.isSourceFile(t.filePath))return!1;var o=n.getNgModuleMetadata(t,!1);return o&&(r.set(o.type.reference,o),o.declaredDirectives.forEach(function(t){return i.add(t.reference)}),o.declaredPipes.forEach(function(t){return i.add(t.reference)}),o.transitiveModule.modules.forEach(function(t){return s(t.reference)})),!!o};t.forEach(function(t){s(t)||!n.isDirective(t)&&!n.isPipe(t)||o.push(t)});var a=o.filter(function(t){return!i.has(t)});return{ngModules:Array.from(r.values()),symbolsMissingModule:a}}function Pr(t){return"object"==typeof t&&t.name&&t.filePath}function Ar(t){return t&&"ignore"==t.__symbolic}function Or(t){switch(t.message){case"Reference to non-exported class":if(t.context&&t.context.className)return"Reference to a non-exported class "+t.context.className+". Consider exporting the class";break;case"Variable not initialized":return"Only initialized variables and constants can be referenced because the value of this variable is needed by the template compiler";case"Destructuring not supported":return"Referencing an exported destructured variable or constant is not supported by the template compiler. Consider simplifying this to avoid destructuring";case"Could not resolve type":if(t.context&&t.context.typeName)return"Could not resolve type "+t.context.typeName;break;case"Function call not supported":return(t.context&&t.context.name?"Calling function '"+t.context.name+"', f":"F")+"unction calls are not supported. Consider replacing the function
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Dr(t,e){var n=t.concat([new Mc(gn(e.map(function(t){return dn(t)})))]),r=new xp(null,null,null,new Map),o=new Pp,i=o.visitAllStatements(n,r);return null!=i?i.value:null}function Vr(t,e,n,r,o){for(var i=r.createChildWihtLocalVars(),s=0;s<t.length;s++)i.vars.set(t[s],e[s]);var a=o.visitAllStatements(n,i);return a?a.value:null}function Lr(t,e,n){var r={};t.getters.forEach(function(o){r[o.name]={configurable:!1,get:function(){var r=new xp(e,this,t.name,e.vars);return Vr([],[],o.body,r,n)}}}),t.methods.forEach(function(o){var i=o.params.map(function(t){return t.name});r[o.name]={writable:!1,configurable:!1,value:function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var a=new xp(e,this,t.name,e.vars);return Vr(i,r,o.body,a,n)}}});var o=t.constructorMethod.params.map(function(t){return t.name}),i=function(){for(var r=this,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];var a=new xp(e,this,t.name,e.vars);t.fields.forEach(function(t){r[t.name]=void 0}),Vr(o,i,t.constructorMethod.body,a,n)},s=t.parent?t.parent.visitExpression(n,e):Object;return i.prototype=Object.create(s.prototype,r),i}function Fr(t,e,n,r){return function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return Vr(t,o,e,n,r)}}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function jr(t,e,r){var o=e.toSource()+"\n//# sourceURL="+t,i=[],s=[];for(var a in r)i.push(a),s.push(r[a]);if(n.i(Kr.isDevMode)()){var u=(new(Function.bind.apply(Function,[void 0].concat(i.concat("return null;"))))).toString(),c=u.slice(0,u.indexOf("return null;")).split("\n").length-1;o+="\n"+e.toSourceMapGenerator(t,t,c).toJsComment()}return(new(Function.bind.apply(Function,[void 0].concat(i.concat(o))))).apply(void 0,s)}function Hr(t,e,n){var r=new kp,o=ol.createRoot(n),i=new Mc(gn(n.map(function(t){return dn(t)})));return r.visitAllStatements(e.concat([i]),o),jr(t,o,r.getArgs())}function Ur(t){if(!t.isComponent)throw new Error("Could not compile '"+C(t.type)+"' because it is not a component.")}function Br(t,e,n,r,o){return new ka(t,e,n,r.missingTranslation,o)}function qr(){Kr["ɵreflector"].reflectionCapabilities=new Kr["ɵReflectionCapabilities"]}function Gr(t){return{useJit:zr(t.map(function(t){return t.useJit})),defaultEncapsulation:zr(t.map(function(t){return t.defaultEncapsulation})),providers:Wr(t.map(function(t){return t.providers})),missingTranslation:zr(t.map(function(t){return t.missingTranslation}))}}function zr(t){for(var e=t.length-1;e>=0;e--)if(void 0!==t[e])return t[e]}function Wr(t){var e=[];return t.forEach(function(t){return t&&e.push.apply(e,t)}),e}var Kr=n(20);n.d(e,"b",function(){return Up}),n.d(e,"a",function(){return Cu});var Qr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Xr=(new Kr.Version("4.1.1"),function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}()),Zr=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitBoundText(this,e)},t}(),Yr=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitAttr(this,e)},t}(),$r=function(){function t(t,e,n,r,o,i){this.name=t,this.type=e,this.securityContext=n,this.value=r,this.unit=o,this.sourceSpan=i}return t.prototype.visit=function(t,e){return t.visitElementProperty(this,e)},Object.defineProperty(t.prototype,"isAnimation",{get:function(){return this.type===co.Animation},enumerable:!0,configurable:!0}),t}(),Jr=function(){function t(t,e,n,r,o){this.name=t,this.target=e,this.phase=n,this.handler=r,this.sourceSpan=o}return t.calcFullName=function(t,e,n){return e?e+":"+t:n?"@"+t+"."+n:t},t.prototype.visit=function(t,e){return t.visitEvent(this,e)},Object.defineProperty(t.prototype,"fullName",{get:function(){return t.calcFullName(this.name,this.target,this.phase)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAnimation",{get:function(){return!!this.phase},enumerable:!0,configurable:!0}),t}(),to=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitReference(this,e)},t}(),eo=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitVariable(this,e)},t}(),no=function(){function t(t,e,n,r,o,i,s,a,u,c,l,p,h){this.name=t,this.attrs=e,this.inputs=n,this.outputs=r,this.references=o,this.directives=i,this.providers=s,this.hasViewContainer=a,this.queryMatches=u,this.children=c,this.ngContentIndex=l,this.sourceSpan=p,this.endSourceSpan=h}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),ro=function(){function t(t,e,n,r,o,i,s,a,u,c,l){this.attrs=t,this.outputs=e,this.references=n,this.variables=r,this.directives=o,this.providers=i,this.hasViewContainer=s,this.queryMatches=a,this.children=u,this.ngContentIndex=c,this.sourceSpan=l}return t.prototype.visit=function(t,e){return t.visitEmbeddedTemplate(this,e)},t}(),oo=function(){function t(t,e,n,r){this.directiveName=t,this.templateName=e,this.value=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitDirectiveProperty(this,e)},t}(),io=func
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var oa=function(){function t(){}return t.prototype.write=function(t,e){},t.prototype.load=function(t,e){},t.prototype.digest=function(t){},t.prototype.createNameMapper=function(t){return null},t}(),ia=function(t){function e(e,n){var r=t.call(this)||this;return r.mapName=n,r.internalToPublic={},r.publicToNextId={},r.publicToInternal={},e.nodes.forEach(function(t){return t.visit(r)}),r}return Qr(e,t),e.prototype.toPublicName=function(t){return this.internalToPublic.hasOwnProperty(t)?this.internalToPublic[t]:null},e.prototype.toInternalName=function(t){return this.publicToInternal.hasOwnProperty(t)?this.publicToInternal[t]:null},e.prototype.visitText=function(t,e){return null},e.prototype.visitTagPlaceholder=function(e,n){this.visitPlaceholderName(e.startName),t.prototype.visitTagPlaceholder.call(this,e,n),this.visitPlaceholderName(e.closeName)},e.prototype.visitPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},e.prototype.visitIcuPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},e.prototype.visitPlaceholderName=function(t){if(t&&!this.internalToPublic.hasOwnProperty(t)){var e=this.mapName(t);if(this.publicToInternal.hasOwnProperty(e)){var n=this.publicToNextId[e];this.publicToNextId[e]=n+1,e=e+"_"+n}else this.publicToNextId[e]=1;this.internalToPublic[t]=e,this.publicToInternal[e]=t}},e}(Fs),sa=function(){function t(){}return t.prototype.visitTag=function(t){var e=this,n=this._serializeAttributes(t.attrs);if(0==t.children.length)return"<"+t.name+n+"/>";var r=t.children.map(function(t){return t.visit(e)});return"<"+t.name+n+">"+r.join("")+"</"+t.name+">"},t.prototype.visitText=function(t){return t.value},t.prototype.visitDeclaration=function(t){return"<?xml"+this._serializeAttributes(t.attrs)+" ?>"},t.prototype._serializeAttributes=function(t){var e=Object.keys(t).map(function(e){return e+'="'+t[e]+'"'}).join(" ");return e.length>0?" "+e:""},t.prototype.visitDoctype=function(t){return"<!DOCTYPE "+t.rootTag+" [\n"+t.dtd+"\n]>"},t}(),aa=new sa,ua=function(){function t(t){var e=this;this.attrs={},Object.keys(t).forEach(function(n){e.attrs[n]=oe(t[n])})}return t.prototype.visit=function(t){return t.visitDeclaration(this)},t}(),ca=function(){function t(t,e){this.rootTag=t,this.dtd=e}return t.prototype.visit=function(t){return t.visitDoctype(this)},t}(),la=function(){function t(t,e,n){void 0===e&&(e={}),void 0===n&&(n=[]);var r=this;this.name=t,this.children=n,this.attrs={},Object.keys(e).forEach(function(t){r.attrs[t]=oe(e[t])})}return t.prototype.visit=function(t){return t.visitTag(this)},t}(),pa=function(){function t(t){this.value=oe(t)}return t.prototype.visit=function(t){return t.visitText(this)},t}(),ha=function(t){function e(e){return void 0===e&&(e=0),t.call(this,"\n"+new Array(e+1).join(" "))||this}return Qr(e,t),e}(pa),fa=[[/&/g,"&amp;"],[/"/g,"&quot;"],[/'/g,"&apos;"],[/</g,"&lt;"],[/>/g,"&gt;"]],da=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Qr(e,t),e.prototype.write=function(t,e){var n=new ya,r=[];t.forEach(function(t){var e=[];t.sources.forEach(function(t){var n=new la("context-group",{purpose:"location"});n.children.push(new ha(10),new la("context",{"context-type":"sourcefile"},[new pa(t.filePath)]),new ha(10),new la("context",{"context-type":"linenumber"},[new pa(""+t.startLine)]),new ha(8)),e.push(new ha(8),n)});var o=new la("trans-unit",{id:t.id,datatype:"html"});(i=o.children).push.apply(i,[new ha(8),new la("source",{},n.serialize(t.nodes)),new ha(8),new la("target")].concat(e)),t.description&&o.children.push(new ha(8),new la("note",{priority:"1",from:"description"},[new pa(t.description)])),t.meaning&&o.children.push(new ha(8),new la("note",{priority:"1",from:"meaning"},[new pa(t.meaning)])),o.children.push(new ha(6)),r.push(new ha(6),o);var i});var o=new la("body",{},r.concat([new ha(4)])),i=new la("file",{"source-language":e||"en",datatype:"plaintext",original:"ng2.template"},[new ha(4),o,new ha(2)]),s=new la("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new ha(2),i,new ha]);return re([new ua({version:"1.0",encoding:"UTF-8"}),n
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Oa=function(){function t(t,e,n,r,o,i){void 0===t&&(t={}),void 0===o&&(o=Kr.MissingTranslationStrategy.Warning),this._i18nNodesByMsgId=t,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new Ma(t,e,n,r,o,i)}return t.load=function(e,n,r,o,i){var s=r.load(e,n),a=s.locale;return new t(s.i18nNodesByMsgId,a,function(t){return r.digest(t)},function(t){return r.createNameMapper(t)},o,i)},t.prototype.get=function(t){var e=this._i18nToHtml.convert(t);if(e.errors.length)throw new Error(e.errors.join("\n"));return e.nodes},t.prototype.has=function(t){return this.digest(t)in this._i18nNodesByMsgId},t}(),Ma=function(){function t(t,e,n,r,o,i){void 0===t&&(t={}),this._i18nNodesByMsgId=t,this._locale=e,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=o,this._console=i,this._contextStack=[],this._errors=[]}return t.prototype.convert=function(t){this._contextStack.length=0,this._errors.length=0;var e=this._convertToText(t),n=t.nodes[0].sourceSpan.start.file.url,r=(new Aa).parse(e,n,!0);return{nodes:r.rootNodes,errors:this._errors.concat(r.errors)}},t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return t.children.map(function(t){return t.visit(n)}).join("")},t.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(" ")+"}"},t.prototype.visitPlaceholder=function(t,e){var n=this._mapper(t.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n]:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(t,'Unknown placeholder "'+t.name+'"'),"")},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=""+t.tag,o=Object.keys(t.attrs).map(function(e){return e+'="'+t.attrs[e]+'"'}).join(" ");return t.isVoid?"<"+r+" "+o+"/>":"<"+r+" "+o+">"+t.children.map(function(t){return t.visit(n)}).join("")+"</"+r+">"},t.prototype.visitIcuPlaceholder=function(t,e){return this._convertToText(this._srcMsg.placeholderToMessage[t.name])},t.prototype._convertToText=function(t){var e,n=this,r=this._digest(t),o=this._mapperFactory?this._mapperFactory(t):null;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=t,this._i18nNodesByMsgId.hasOwnProperty(r))e=this._i18nNodesByMsgId[r],this._mapper=function(t){return o?o.toInternalName(t):t};else{if(this._missingTranslationStrategy===Kr.MissingTranslationStrategy.Error){var i=this._locale?' for locale "'+this._locale+'"':"";this._addError(t.nodes[0],'Missing translation for message "'+r+'"'+i)}else if(this._console&&this._missingTranslationStrategy===Kr.MissingTranslationStrategy.Warning){var i=this._locale?' for locale "'+this._locale+'"':"";this._console.warn('Missing translation for message "'+r+'"'+i)}e=t.nodes,this._mapper=function(t){return t}}var s=e.map(function(t){return t.visit(n)}).join(""),a=this._contextStack.pop();return this._srcMsg=a.msg,this._mapper=a.mapper,s},t.prototype._addError=function(t,e){this._errors.push(new Gs(t.sourceSpan,e))},t}(),ka=function(){function t(t,e,n,r,o){if(void 0===r&&(r=Kr.MissingTranslationStrategy.Warning),this._htmlParser=t,e){var i=le(n);this._translationBundle=Oa.load(e,"i18n",i,r,o)}}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=Yi);var o=this._htmlParser.parse(t,e,n,r);return this._translationBundle?o.errors.length?new Ps(o.rootNodes,o.errors):Pt(o.rootNodes,this._translationBundle,r,[],{}):o},t}(),Na=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n="src"),null==e?"@angular/"+t:"@angular/"+t+"/"+n+"/"+e}("core"),Ia=function(){function t(){}return t}();Ia.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleUrl:Na,runtime:Kr.ANALYZE_FOR_ENTRY_COMPONENTS},Ia.ElementRef={name:"ElementRef",moduleUrl:Na,runtime:Kr.ElementRef},Ia.NgModuleRef={name:"NgModuleRef",moduleUrl:Na,runtime:Kr.NgModuleRef},Ia.View
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ra=["zero","one","two","few","many","other"],Da=function(){function t(t,e,n){this.nodes=t,this.expanded=e,this.errors=n}return t}(),Va=function(t){function e(e,n){return t.call(this,e,n)||this}return Qr(e,t),e}(fs),La=function(){function t(){this.isExpanded=!1,this.errors=[]}return t.prototype.visitElement=function(t,e){return new gs(t.name,t.attrs,ct(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t},t.prototype.visitText=function(t,e){return t},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return this.isExpanded=!0,"plural"==t.type?ve(t,this.errors):me(t,this.errors)},t.prototype.visitExpansionCase=function(t,e){throw new Error("Should not be reached")},t}(),Fa=function(t){function e(e,n){return t.call(this,n,e)||this}return Qr(e,t),e}(fs),ja=function(){function t(t){var e=this;this.component=t,this.errors=[],this.viewQueries=Ee(t),this.viewProviders=new Map,t.viewProviders.forEach(function(t){null==e.viewProviders.get(M(t.token))&&e.viewProviders.set(M(t.token),!0)})}return t}(),Ha=function(){function t(t,e,n,r,o,i,s,a,u){var c=this;this.viewContext=t,this._parent=e,this._isViewRoot=n,this._directiveAsts=r,this._sourceSpan=u,this._transformedProviders=new Map,this._seenProviders=new Map,this._hasViewContainer=!1,this._queriedTokens=new Map,this._attrs={},o.forEach(function(t){return c._attrs[t.name]=t.value});var l=r.map(function(t){return t.directive});if(this._allProviders=be(l,u,t.errors),this._contentQueries=Ce(a,l),Array.from(this._allProviders.values()).forEach(function(t){c._addQueryReadsTo(t.token,t.token,c._queriedTokens)}),s){var p=de(Ia.TemplateRef);this._addQueryReadsTo(p,p,this._queriedTokens)}i.forEach(function(t){var e=t.value||de(Ia.ElementRef);c._addQueryReadsTo({value:t.name},e,c._queriedTokens)}),this._queriedTokens.get(pe(Ia.ViewContainerRef))&&(this._hasViewContainer=!0),Array.from(this._allProviders.values()).forEach(function(t){(t.eager||c._queriedTokens.get(M(t.token)))&&c._getOrCreateLocalProvider(t.providerType,t.token,!0)})}return t.prototype.afterElement=function(){var t=this;Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.providerType,e.token,!1)})},Object.defineProperty(t.prototype,"transformProviders",{get:function(){return Array.from(this._transformedProviders.values())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedDirectiveAsts",{get:function(){var t=this.transformProviders.map(function(t){return t.token.identifier}),e=this._directiveAsts.slice();return e.sort(function(e,n){return t.indexOf(e.directive.type)-t.indexOf(n.directive.type)}),e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedHasViewContainer",{get:function(){return this._hasViewContainer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryMatches",{get:function(){var t=[];return this._queriedTokens.forEach(function(e){t.push.apply(t,e)}),t},enumerable:!0,configurable:!0}),t.prototype._addQueryReadsTo=function(t,e,n){this._getQueriesFor(t).forEach(function(t){var r=t.meta.read||e,o=M(r),i=n.get(o);i||(i=[],n.set(o,i)),i.push({queryId:t.queryId,value:r})})},t.prototype._getQueriesFor=function(t){for(var e,n=[],r=this,o=0;null!==r;)e=r._contentQueries.get(M(t)),e&&n.push.apply(n,e.filter(function(t){return t.meta.descendants||o<=1})),r._directiveAsts.length>0&&o++,r=r._parent;return e=this.viewContext.viewQueries.get(M(t)),e&&n.push.apply(n,e),n},t.prototype._getOrCreateLocalProvider=function(t,e,n){var r=this,o=this._allProviders.get(M(e));if(!o||(t===ao.Directive||t===ao.PublicService)&&o.providerType===ao.PrivateService||(t===ao.PrivateService||t===ao.PublicService)&&o.providerType===ao.Builtin)return null;var i=this._transformedProviders.get(M(e));if(i)return i;if(null!=this._seenProviders.get(M(e)))return this.viewContext.errors.push(new Fa("Cannot instantiate cyclic dependency! "+O(e),this._sourceSpan)),null;this._seenProviders.set(M(e),!0);var s=o.providers.map(function(t){var e=t.u
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Au=function(){function t(t,e,n,r){this._resourceLoader=t,this._urlResolver=e,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}return t.prototype.clearCache=function(){this._resourceLoaderCache.clear()},t.prototype.clearCacheFor=function(t){var e=this;if(t.isComponent){var n=t.template;this._resourceLoaderCache.delete(n.templateUrl),n.externalStylesheets.forEach(function(t){e._resourceLoaderCache.delete(t.moduleUrl)})}},t.prototype._fetch=function(t){var e=this._resourceLoaderCache.get(t);return e||(e=this._resourceLoader.get(t),this._resourceLoaderCache.set(t,e)),e},t.prototype.normalizeTemplate=function(t){var e=this,r=null,o=void 0;if(v(t.template)){if(v(t.templateUrl))throw g("'"+n.i(Kr["ɵstringify"])(t.componentType)+"' component cannot define both template and templateUrl");if("string"!=typeof t.template)throw g("The template specified for component "+n.i(Kr["ɵstringify"])(t.componentType)+" is not a string");r=this.normalizeTemplateSync(t),o=Promise.resolve(r)}else{if(!v(t.templateUrl))throw g("No template specified for component "+n.i(Kr["ɵstringify"])(t.componentType));if("string"!=typeof t.templateUrl)throw g("The templateUrl specified for component "+n.i(Kr["ɵstringify"])(t.componentType)+" is not a string");o=this.normalizeTemplateAsync(t)}return r&&0===r.styleUrls.length?new To(r):new To(null,o.then(function(t){return e.normalizeExternalStylesheets(t)}))},t.prototype.normalizeTemplateSync=function(t){return this.normalizeLoadedTemplate(t,t.template,t.moduleUrl)},t.prototype.normalizeTemplateAsync=function(t){var e=this,n=this._urlResolver.resolve(t.moduleUrl,t.templateUrl);return this._fetch(n).then(function(r){return e.normalizeLoadedTemplate(t,r,n)})},t.prototype.normalizeLoadedTemplate=function(t,e,n){var r=!!t.template,o=Zi.fromArray(t.interpolation),i=this._htmlParser.parse(e,D({reference:t.ngModuleType},{type:{reference:t.componentType}},{isInline:r,templateUrl:n}),!0,o);if(i.errors.length>0){throw g("Template parse errors:\n"+i.errors.join("\n"))}var s=this.normalizeStylesheet(new Ro({styles:t.styles,styleUrls:t.styleUrls,moduleUrl:t.moduleUrl})),a=new Ou;ct(a,i.rootNodes);var u=this.normalizeStylesheet(new Ro({styles:a.styles,styleUrls:a.styleUrls,moduleUrl:n})),c=t.encapsulation;null==c&&(c=this._config.defaultEncapsulation);var l=s.styles.concat(u.styles),p=s.styleUrls.concat(u.styleUrls);return c===Kr.ViewEncapsulation.Emulated&&0===l.length&&0===p.length&&(c=Kr.ViewEncapsulation.None),new Do({encapsulation:c,template:e,templateUrl:n,styles:l,styleUrls:p,ngContentSelectors:a.ngContentSelectors,animations:t.animations,interpolation:t.interpolation,isInline:r,externalStylesheets:[]})},t.prototype.normalizeExternalStylesheets=function(t){return this._loadMissingExternalStylesheets(t.styleUrls).then(function(e){return new Do({encapsulation:t.encapsulation,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,externalStylesheets:e,ngContentSelectors:t.ngContentSelectors,animations:t.animations,interpolation:t.interpolation,isInline:t.isInline})})},t.prototype._loadMissingExternalStylesheets=function(t,e){var n=this;return void 0===e&&(e=new Map),Promise.all(t.filter(function(t){return!e.has(t)}).map(function(t){return n._fetch(t).then(function(r){var o=n.normalizeStylesheet(new Ro({styles:[r],moduleUrl:t}));return e.set(t,o),n._loadMissingExternalStylesheets(o.styleUrls,e)})})).then(function(t){return Array.from(e.values())})},t.prototype.normalizeStylesheet=function(t){var e=this,n=t.moduleUrl,r=t.styleUrls.filter(xe).map(function(t){return e._urlResolver.resolve(n,t)}),o=t.styles.map(function(t){var o=Te(e._urlResolver,n,t);return r.push.apply(r,o.styleUrls),o.style});return new Ro({styles:o,styleUrls:r,moduleUrl:n})},t}();Au.decorators=[{type:q}],Au.ctorParameters=function(){return[{type:Cu},{type:xu},{type:Aa},{type:Uo}]};var Ou=function(){function t(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return t.prototype.visitElement=function(t,e){var n=Oe(t);switch(n.type){case su.NG_CONTENT:0===this.n
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Nu=/(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/,Iu=/\.ngfactory\./,Ru=function(){function t(t){void 0===t&&(t=Kr["ɵreflector"]),this._reflector=t}return t.prototype.isNgModule=function(t){return this._reflector.annotations(t).some(tn)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var r=We(this._reflector.annotations(t),tn);if(r)return r;if(e)throw new Error("No NgModule metadata found for '"+n.i(Kr["ɵstringify"])(t)+"'.");return null},t}();Ru.decorators=[{type:q}],Ru.ctorParameters=function(){return[{type:Kr["ɵReflectorReader"]}]};var Du=function(){function t(t){void 0===t&&(t=Kr["ɵreflector"]),this._reflector=t}return t.prototype.isPipe=function(t){var e=this._reflector.annotations(n.i(Kr.resolveForwardRef)(t));return e&&e.some(en)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var r=this._reflector.annotations(n.i(Kr.resolveForwardRef)(t));if(r){var o=We(r,en);if(o)return o}if(e)throw new Error("No Pipe decorator found on "+n.i(Kr["ɵstringify"])(t));return null},t}();Du.decorators=[{type:q}],Du.ctorParameters=function(){return[{type:Kr["ɵReflectorReader"]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Vu=function(){function t(){}return t.prototype.isLibraryFile=function(t){return!1},t.prototype.getLibraryFileName=function(t){return null},t.prototype.resolveSummary=function(t){return null},t.prototype.getSymbolsOf=function(t){return[]},t.prototype.getImportAs=function(t){return t},t}();Vu.decorators=[{type:q}],Vu.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Lu=new Kr.InjectionToken("ErrorCollector"),Fu=function(){function t(t,e,n,r,o,i,s,a,u,c,l){void 0===c&&(c=Kr["ɵreflector"]),this._config=t,this._ngModuleResolver=e,this._directiveResolver=n,this._pipeResolver=r,this._summaryResolver=o,this._schemaRegistry=i,this._directiveNormalizer=s,this._console=a,this._staticSymbolCache=u,this._reflector=c,this._errorCollector=l,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map}return t.prototype.clearCacheFor=function(t){var e=this._directiveCache.get(t);this._directiveCache.delete(t),this._nonNormalizedDirectiveCache.delete(t),this._summaryCache.delete(t),this._pipeCache.delete(t),this._ngModuleOfTypes.delete(t),this._ngModuleCache.clear(),e&&this._directiveNormalizer.clearCacheFor(e)},t.prototype.clearCache=function(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()},t.prototype._createProxyClass=function(t,e){var r=null,o=function(){if(!r)throw new Error("Illegal state: Class "+e+" for type "+n.i(Kr["ɵstringify"])(t)+" is not compiled yet!");return r.apply(this,arguments)};return o.setDelegate=function(t){r=t,o.prototype=t.prototype},o.overriddenName=e,o},t.prototype.getGeneratedClass=function(t,e){return t instanceof lo?this._staticSymbolCache.get(Ke(t.filePath),e):this._createProxyClass(t,e)},t.prototype.getComponentViewClass=function(t){return this.getGeneratedClass(t,x(t,0))},t.prototype.getHostComponentViewClass=function(t){return this.getGeneratedClass(t,P(t))},t.prototype.getHostComponentType=function(t){var e=C({reference:t})+"_Host";if(t instanceof lo)return this._staticSymbolCache.get(t.filePath,e);var n=function(){};return n.overriddenName=e,n},t.prototype.getRendererType=function(t){return t instanceof lo?this._staticSymbolCache.get(Ke(t.filePath),T(t)):{}},t.prototype.getComponentFactory=function(t,e,r,o){if(e instanceof lo)return this._staticSymbolCache.get(Ke(e.filePath),A(e));var i=this.getHostComponentViewClass(e);return n.i(Kr["ɵccf"])(t,e,i,r,o,[])},t.prototype.initComponentFactory=function(t,e){t instanceof lo||(n=t.ngContentSelectors).push.apply(n,e);var n},t.prototype._loadSummary=function(t,e){var n=this._summaryCache.get(t);if(!n){var r=this._summaryResolver.resolveSummary(t);n=r?r.type:null,this._summaryCache.set(t,n||null)}return n&&n.summaryKind===e?n:null},t.prototype._loadDirectiveMetadata=function(t,e,r){var o=this;if(this._directiveCache.has(e))return null;e=n.i(Kr.resolveForwardRef)(e);var i=this.getNonNormalizedDirectiveMetadata(e),s=i.annotation,a=i.metadata,u=function(t){var n=new Vo({isHost:!1,type:a.type,isComponent:a.isComponent,selector:a.selector,exportAs:a.exportAs,changeDetection:a.changeDetection,inputs:a.inputs,outputs:a.outputs,hostListeners:a.hostListeners,hostProperties:a.hostProperties,hostAttributes:a.hostAttributes,providers:a.providers,viewProviders:a.viewProviders,queries:a.queries,viewQueries:a.viewQueries,entryComponents:a.entryComponents,componentViewType:a.componentViewType,rendererType:a.rendererType,componentFactory:a.componentFactory,template:t});return t&&o.initComponentFactory(a.componentFactory,t.ngContentSelectors),o._directiveCache.set(e,n),o._summaryCache.set(e,n.toSummary()),n};if(a.isComponent){var c=a.template,l=this._directiveNormalizer.normalizeTemplate({ngModuleType:t,componentType:e,moduleUrl:an(this._reflector,e,s),encapsulation:c.encapsulation,template:c.template,templateUrl:c.templateUrl,styles:c.styles,styleUrls:c.styleUrls,animations:c.animations,interpolation:c.interpolation});return l.syncResult?(u(l.syncResult),null):r?(this._reportError(ln(e),e),null):l.asyncResult.then(u)}return u(null),null},t.prototype.getNonNormalizedDirectiveMetadata=function(t){var e=this;if(!(t=n.i(Kr.resolveForwardRef)(t)))return null;var r=this._nonNormalizedDirectiveCache.get(t);if(r)return r;var o=this._directiveResolver
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Zc=function(){function t(t){void 0===t&&(t=null),this.file=t,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}return t.prototype.addSource=function(t,e){return void 0===e&&(e=null),this.sourcesContent.has(t)||this.sourcesContent.set(t,e),this},t.prototype.addLine=function(){return this.lines.push([]),this.lastCol0=0,this},t.prototype.addMapping=function(t,e,n,r){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=e&&!this.sourcesContent.has(e))throw new Error('Unknown source file "'+e+'"');if(null==t)throw new Error("The column in the generated code must be provided");if(t<this.lastCol0)throw new Error("Mapping should be added in output order");if(e&&(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=t,this.currentLine.push({col0:t,sourceUrl:e,sourceLine0:n,sourceCol0:r}),this},Object.defineProperty(t.prototype,"currentLine",{get:function(){return this.lines.slice(-1)[0]},enumerable:!0,configurable:!0}),t.prototype.toJSON=function(){var t=this;if(!this.hasMappings)return null;var e=new Map,n=[],r=[];Array.from(this.sourcesContent.keys()).forEach(function(o,i){e.set(o,i),n.push(o),r.push(t.sourcesContent.get(o)||null)});var o="",i=0,s=0,a=0,u=0;return this.lines.forEach(function(t){i=0,o+=t.map(function(t){var n=An(t.col0-i);return i=t.col0,null!=t.sourceUrl&&(n+=An(e.get(t.sourceUrl)-s),s=e.get(t.sourceUrl),n+=An(t.sourceLine0-a),a=t.sourceLine0,n+=An(t.sourceCol0-u),u=t.sourceCol0),n}).join(","),o+=";"}),o=o.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:n,sourcesContent:r,mappings:o}},t.prototype.toJsComment=function(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+Pn(JSON.stringify(this,null,0)):""},t}(),Yc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$c=/'|\\|\n|\r|\$/g,Jc=/^[$A-Z_][0-9A-Z_$]*$/i,tl=" ",el=dn("error",null,null),nl=dn("stack",null,null),rl=function(){function t(t){this.indent=t,this.parts=[],this.srcSpans=[]}return t}(),ol=function(){function t(t,e){this._exportedVars=t,this._indent=e,this._classes=[],this._lines=[new rl(e)]}return t.createRoot=function(e){return new t(e,0)},Object.defineProperty(t.prototype,"_currentLine",{get:function(){return this._lines[this._lines.length-1]},enumerable:!0,configurable:!0}),t.prototype.isExportedVar=function(t){return-1!==this._exportedVars.indexOf(t)},t.prototype.println=function(t,e){void 0===e&&(e=""),this.print(t||null,e,!0)},t.prototype.lineIsEmpty=function(){return 0===this._currentLine.parts.length},t.prototype.print=function(t,e,n){void 0===n&&(n=!1),e.length>0&&(this._currentLine.parts.push(e),this._currentLine.srcSpans.push(t&&t.sourceSpan||null)),n&&this._lines.push(new rl(this._indent))},t.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},t.prototype.incIndent=function(){this._indent++,this._currentLine.indent=this._indent},t.prototype.decIndent=function(){this._indent--,this._currentLine.indent=this._indent},t.prototype.pushClass=function(t){this._classes.push(t)},t.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(t.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),t.prototype.toSource=function(){return this.sourceLines.map(function(t){return t.parts.length>0?kn(t.indent)+t.parts.join(""):""}).join("\n")},t.prototype.toSourceMapGenerator=function(t,e,n){void 0===n&&(n=0);for(var r=new Zc(e),o=!1,i=function(){o||(r.addSource(t," ").addMapping(0,t,0,0),o=!0)},s=0;s<n;s++)r.addLine(),i();return this.sourceLines.forEach(function(t,e){r.addLine();for(var n=t.srcSpans,s=t.parts,a=t.indent*tl.length,u=0;u<n.length&&!n[u];)a+=s[u].length,u++;for(u<n.length&&0===e&&0===a?o=!0:i();u<n.length;){var c=n[u],l=c.start.file,p=c.start.line,h=c.start.col;for(r.addSource(l.url,l.content).addMapping(a,l.url,p,h),a+=s[u].length,u++;u<n.length&&(c===n[u]||!n[u]);)a+=s[u].leng
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var cl="boolean",ll="number",pl="string",hl="object",fl=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*beforecopy,*beforecut,*beforepaste,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*message,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*paste,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*search,*seeked,*seeking,*select,*selectstart,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,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,*beforecopy,*beforecut,*beforepaste,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*message,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*paste,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*search,*seeked,*seeking,*select,*selectstart,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*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,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,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,vLi
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Kl=function(){function t(){}return t}();Kl.event=dn("$event");var Ql=function(){function t(t,e){this.stmts=t,this.allowDefault=e}return t}(),Xl=function(){function t(t,e){this.stmts=t,this.currValExpr=e}return t}(),Zl={};Zl.Statement=0,Zl.Expression=1,Zl[Zl.Statement]="Statement",Zl[Zl.Expression]="Expression";var Yl=function(t){function e(e){var n=t.call(this)||this;return n._converterFactory=e,n}return Qr(e,t),e.prototype.visitPipe=function(t,e){var n=this,r=[t.exp].concat(t.args).map(function(t){return t.visit(n,e)});return new tp(t.span,r,this._converterFactory.createPipeConverter(t.name,r.length))},e.prototype.visitLiteralArray=function(t,e){var n=this,r=t.expressions.map(function(t){return t.visit(n,e)});return new tp(t.span,r,this._converterFactory.createLiteralArrayConverter(t.expressions.length))},e.prototype.visitLiteralMap=function(t,e){var n=this,r=t.values.map(function(t){return t.visit(n,e)});return new tp(t.span,r,this._converterFactory.createLiteralMapConverter(t.keys))},e}(di),$l=function(){function t(t,e,n){this._localResolver=t,this._implicitReceiver=e,this.bindingId=n,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0}return t.prototype.visitBinary=function(t,e){var n;switch(t.operation){case"+":n=Zu.Plus;break;case"-":n=Zu.Minus;break;case"*":n=Zu.Multiply;break;case"/":n=Zu.Divide;break;case"%":n=Zu.Modulo;break;case"&&":n=Zu.And;break;case"||":n=Zu.Or;break;case"==":n=Zu.Equals;break;case"!=":n=Zu.NotEquals;break;case"===":n=Zu.Identical;break;case"!==":n=Zu.NotIdentical;break;case"<":n=Zu.Lower;break;case">":n=Zu.Bigger;break;case"<=":n=Zu.LowerEquals;break;case">=":n=Zu.BiggerEquals;break;default:throw new Error("Unsupported operation "+t.operation)}return Xn(e,new dc(n,this.visit(t.left,Zl.Expression),this.visit(t.right,Zl.Expression)))},t.prototype.visitChain=function(t,e){return Kn(e,t),this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return Xn(e,this.visit(t.condition,Zl.Expression).conditional(this.visit(t.trueExp,Zl.Expression),this.visit(t.falseExp,Zl.Expression)))},t.prototype.visitPipe=function(t,e){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+t.name)},t.prototype.visitFunctionCall=function(t,e){var n,r=this.visitAll(t.args,Zl.Expression);return n=t instanceof tp?t.converter(r):this.visit(t.target,Zl.Expression).callFn(r),Xn(e,n)},t.prototype.visitImplicitReceiver=function(t,e){return Qn(e,t),this._implicitReceiver},t.prototype.visitInterpolation=function(t,e){Qn(e,t);for(var n=[En(t.expressions.length)],r=0;r<t.strings.length-1;r++)n.push(En(t.strings[r])),n.push(this.visit(t.expressions[r],Zl.Expression));return n.push(En(t.strings[t.strings.length-1])),t.expressions.length<=9?yn(he(Ia.inlineInterpolate)).callFn(n):yn(he(Ia.interpolate)).callFn([n[0],gn(n.slice(1))])},t.prototype.visitKeyedRead=function(t,e){var n=this.leftMostSafeNode(t);return n?this.convertSafeAccess(t,n,e):Xn(e,this.visit(t.obj,Zl.Expression).key(this.visit(t.key,Zl.Expression)))},t.prototype.visitKeyedWrite=function(t,e){var n=this.visit(t.obj,Zl.Expression),r=this.visit(t.key,Zl.Expression),o=this.visit(t.value,Zl.Expression);return Xn(e,n.key(r).set(o))},t.prototype.visitLiteralArray=function(t,e){throw new Error("Illegal State: literal arrays should have been converted into functions")},t.prototype.visitLiteralMap=function(t,e){throw new Error("Illegal State: literal maps should have been converted into functions")},t.prototype.visitLiteralPrimitive=function(t,e){return Xn(e,En(t.value))},t.prototype._getLocal=function(t){return this._localResolver.getLocal(t)},t.prototype.visitMethodCall=function(t,e){var n=this.leftMostSafeNode(t);if(n)return this.convertSafeAccess(t,n,e);var r=this.visitAll(t.args,Zl.Expression),o=null,i=this.visit(t.receiver,Zl.Expression);if(i===this._implicitReceiver){var s=this._getLocal(t.name);s&&(o=s.callFn(r))}return null==o&&(o=i.callMethod(t.name,r)),Xn(e,o)},t.prototype.visitPrefixNot=function(t,e){return Xn(e,bn(this.visit(t.expression,Zl.Expression)))},t.prototype
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function l(t){return t.validate?function(e){return t.validate(e)}:t}function p(t){return t.validate?function(e){return t.validate(e)}:t}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function h(){throw new Error("unimplemented")}function f(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t){return t.split(":")[0]}function y(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function v(t){return t.split(":")[0]}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function m(t,e){return e.path.concat([t])}function g(t,e){t||E(e,"Cannot find control with"),e.valueAccessor||E(e,"No value accessor for form control with"),t.validator=z.compose([t.validator,e.validator]),t.asyncValidator=z.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),e.valueAccessor.registerOnChange(function(n){e.viewToModelUpdate(n),t.markAsDirty(),t.setValue(n,{emitModelToViewChange:!1})}),e.valueAccessor.registerOnTouched(function(){return t.markAsTouched()}),t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function _(t,e){e.valueAccessor.registerOnChange(function(){return w(e)}),e.valueAccessor.registerOnTouched(function(){return w(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function b(t,e){null==t&&E(e,"Cannot find control with"),t.validator=z.compose([t.validator,e.validator]),t.asyncValidator=z.composeAsync([t.asyncValidator,e.asyncValidator])}function w(t){return E(t,"There is no FormControl instance attached to form control element with")}function E(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function C(t){return null!=t?z.compose(t.map(l)):null}function S(t){return null!=t?z.composeAsync(t.map(p)):null}function x(t,e){if(!t.hasOwnProperty("model"))return!1;var r=t.model;return!!r.isFirstChange()||!n.i(I["ɵlooseIdentical"])(e,r.currentValue)}function T(t){return ht.some(function(e){return t.constructor===e})}function P(t,e){if(!e)return null;var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){e.constructor===Y?n=e:T(e)?(r&&E(t,"More than one built-in value accessor matches form control with"),r=e):(o&&E(t,"More than one custom value accessor matches form control with"),o=e)}),o||(r||(n||(E(t,"No valid value accessor for form control with"),null)))}function A(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof bt?t.controls[e]||null:t instanceof wt?t.at(e)||null:null},t))}function O(t){return Array.isArray(t)?C(t):t||null}function M(t){return Array.isArray(t)?S(t):t||null}function k(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function N(t){return!(t instanceof Ft||t instanceof Vt||t instanceof Ht)}Object.defineProperty(e,"__esModule",{value:!0});var I=n(20),R=n(301),D=(n.n(R),n(302)),V=(n.n(D),n(306)),L=(n.n(V),n(49));n.d(e,"AbstractControlDirective",function(){return j}),n.d(e,"AbstractFormGroupDirective",function(){return ft}),n.d(e,"CheckboxControlValueAccessor",function(){return Q}),n.d(e,"ControlContainer",function(){return H}),n.d(e,"NG_VALUE_ACCESSOR",function(){return W}),n.d(e,"COMPOSITION_BUFFER_MODE",function(){return Z}),n.d(e,"DefaultValueAccessor",function(){return Y}),n.d(e,"NgControl",function(){return tt}),n.d(e,"NgControlStatus",function(){return vt}),n.d(e,"NgControlStatusGroup",function(){return mt}),n.d(e,"NgForm",function(){return St}),n.d(e,"NgModel",function(){return kt}),n.d(e,"NgModelGroup",function(){return At}),n.d(e,"RadioControlValueAccessor",function(){return rt}),n.d(e,"FormControlDirective",function(){return Rt}),n.d(e,"FormControlName",function(){return Bt}),n.d(e,"FormGroupDirective",function(){return Vt}),n.d(e,"FormArrayName",function(){return Ht}),n.d(e,"FormGroupName",function(){return Ft}),n.d(e,"NgSelectOption",function(){return ut}),n.d(e,"SelectControlValueAccessor",function(){return at}),n.d(e,"Select
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var X={provide:W,useExisting:n.i(I.forwardRef)(function(){return Y}),multi:!0},Z=new I.InjectionToken("CompositionEventMode"),Y=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!c())}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setElementProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();Y.decorators=[{type:I.Directive,args:[{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)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},providers:[X]}]}],Y.ctorParameters=function(){return[{type:I.Renderer},{type:I.ElementRef},{type:void 0,decorators:[{type:I.Optional},{type:I.Inject,args:[Z]}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var $={provide:W,useExisting:n.i(I.forwardRef)(function(){return J}),multi:!0},J=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setElementProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t}();J.decorators=[{type:I.Directive,args:[{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:[$]}]}],J.ctorParameters=function(){return[{type:I.Renderer},{type:I.ElementRef}]};var tt=function(t){function e(){var e=t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return F(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return h()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return h()},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){},e}(j),et={provide:W,useExisting:n.i(I.forwardRef)(function(){return rt}),multi:!0},nt=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t}();nt.decorators=[{type:I.Injectable}],nt.ctorParameters=function(){return[]};var rt=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(tt),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setElementProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.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 ')},t}();rt.decorators=[{type:I.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[et]}]}],rt.ctorParameters=function(){return[{type:I.Renderer},{type:I.ElementRef},{type:nt},{type:I.Injector}]},rt.propDecorators={name:[{type:I.Input}],formControlName:[{type:I.Input}],value:[{type:I.Input}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ot={provide:W,useExisting:n.i(I.forwardRef)(function(){return it}),multi:!0},it=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t}();it.decorators=[{type:I.Directive,args:[{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:[ot]}]}],it.ctorParameters=function(){return[{type:I.Renderer},{type:I.ElementRef}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var st={provide:W,useExisting:n.i(I.forwardRef)(function(){return at}),multi:!0},at=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=I["ɵlooseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setElementProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=f(e,t);this._renderer.setElementProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=n,t(e._getOptionValue(n))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r),t))return r}return null},t.prototype._getOptionValue=function(t){var e=d(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}();at.decorators=[{type:I.Directive,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[st]}]}],at.ctorParameters=function(){return[{type:I.Renderer},{type:I.ElementRef}]},at.propDecorators={compareWith:[{type:I.Input}]};var ut=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(f(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setElementProperty(this._element.nativeElement,"value",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}();ut.decorators=[{type:I.Directive,args:[{selector:"option"}]}],ut.ctorParameters=function(){return[{type:I.ElementRef},{type:I.Renderer},{type:at,decorators:[{type:I.Optional},{type:I.Host}]}]},ut.propDecorators={ngValue:[{type:I.Input,args:["ngValue"]}],value:[{type:I.Input,args:["value"]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ct={provide:W,useExisting:n.i(I.forwardRef)(function(){return lt}),multi:!0},lt=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=I["ɵlooseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e=this;this.value=t;var n;if(Array.isArray(t)){var r=t.map(function(t){return e._getOptionId(t)});n=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var s=o.item(i),a=e._getOptionValue(s.value);r.push(a)}else for(var o=n.options,i=0;i<o.length;i++){var s=o.item(i);if(s.selected){var a=e._getOptionValue(s.value);r.push(a)}}e.value=r,t(r)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setElementProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r)._value,t))return r}return null},t.prototype._getOptionValue=function(t){var e=v(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}();lt.decorators=[{type:I.Directive,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[ct]}]}],lt.ctorParameters=function(){return[{type:I.Renderer},{type:I.ElementRef}]},lt.propDecorators={compareWith:[{type:I.Input}]};var pt=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._value=t,this._setElementValue(y(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._select?(this._value=t,this._setElementValue(y(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setElementProperty(this._element.nativeElement,"value",t)},t.prototype._setSelected=function(t){this._renderer.setElementProperty(this._element.nativeElement,"selected",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}();pt.decorators=[{type:I.Directive,args:[{selector:"option"}]}],pt.ctorParameters=function(){return[{type:I.ElementRef},{type:I.Renderer},{type:lt,decorators:[{type:I.Optional},{type:I.Host}]}]},pt.propDecorators={ngValue:[{type:I.Input,args:["ngValue"]}],value:[{type:I.Input,args:["value"]}]};var ht=[Q,it,J,at,lt,rt],ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return F(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.pr
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var gt=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this._pristine=!0,this._touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this._status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this._errors},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this._pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this._valueChanges},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this._statusChanges},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=O(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=M(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=!0,this._parent&&!e&&this._parent.markAsTouched({onlySelf:e})},t.prototype.markAsUntouched=function(t){var e=(void 0===t?{}:t).onlySelf;this._touched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!e&&this._parent._updateTouched({onlySelf:e})},t.prototype.markAsDirty=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!1,this._parent&&!e&&this._parent.markAsDirty({onlySelf:e})},t.prototype.markAsPristine=function(t){var e=(void 0===t?{}:t).onlySelf;this._pristine=!0,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!e&&this._parent._updatePristine({onlySelf:e})},t.prototype.markAsPending=function(t){var e=(void 0===t?{}:t).onlySelf;this._status="PENDING",this._parent&&!e&&this._parent.markAsPending({onlySelf:e})},t.prototype.disable=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._status="DISABLED",this._errors=null,this._forEachChild(function(t){t.disable({onlySelf:!0})}),this._updateValue(),!1!==r&&(this._valueChanges.emit(this._value),this._statusChanges.emit(this._status)),this._updateAncestors(!!n),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){var e=void 0===t?{}:t,n=e.onlySelf,r=e.emitEvent;this._status="VALID",this._forEachChild(function(t){t.enable({onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r}),this._updateAncestors(!!n),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t&&(this._parent.updateValueAndValidity(),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.setValue=function(t,e){},t.prototype.patchValue=function(t,e){},t.prototype.reset=function(t,e){},t.prototype.
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var xt={formControlName:'\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 });',formGroupName:'\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 });',formArrayName:'\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 });',ngModelGroup:'\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',ngModelWithFormGroup:'\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n '},Tt=function(){function t(){}return t.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 '+xt.formControlName+"\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 "+xt.ngModelWithFormGroup)},t.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 "+xt.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+xt.ngModelGroup)},t.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}">')},t.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 "+xt.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+xt.ngModelGroup)},t}(),Pt={provide:H,useExisting:n.i(I.forwardRef)(function(){return At})},At=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return F(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof St||Tt.modelGroupParentException()},e}(ft);At.decorators=[{type:I.Directive,args:[{selector:"[ngModelGroup]",providers:[Pt],exportAs:"ngModelGroup"}]}],At.ctorParameters=function(){return[{type:H,decorators:[{type:I.Host},{type:I.SkipSelf}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[B]}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[q]}]}]},At.propDecorators={name:[{type:I.Input,args:["ngModelGroup"]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ot={provide:tt,useExisting:n.i(I.forwardRef)(function(){return kt})},Mt=Promise.resolve(null),kt=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._control=new _t,i._registered=!1,i.update=new I.EventEmitter,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=P(i,o),i}return F(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),x(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?m(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){g(this._control,this),this._control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof At)&&this._parent instanceof ft?Tt.formGroupNameException():this._parent instanceof At||this._parent instanceof St||Tt.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Tt.missingNameException()},e.prototype._updateValue=function(t){var e=this;Mt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;Mt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(tt);kt.decorators=[{type:I.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Ot],exportAs:"ngModel"}]}],kt.ctorParameters=function(){return[{type:H,decorators:[{type:I.Optional},{type:I.Host}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[B]}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[q]}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[W]}]}]},kt.propDecorators={name:[{type:I.Input}],isDisabled:[{type:I.Input,args:["disabled"]}],model:[{type:I.Input,args:["ngModel"]}],options:[{type:I.Input,args:["ngModelOptions"]}],update:[{type:I.Output,args:["ngModelChange"]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Nt=function(){function t(){}return t.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 "+xt.formControlName)},t.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 '+xt.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+xt.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+xt.formControlName)},t.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 "+xt.formGroupName)},t.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 "+xt.formArrayName)},t.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 ")},t}(),It={provide:tt,useExisting:n.i(I.forwardRef)(function(){return Rt})},Rt=function(t){function e(e,n,r){var o=t.call(this)||this;return o.update=new I.EventEmitter,o._rawValidators=e||[],o._rawAsyncValidators=n||[],o.valueAccessor=P(o,r),o}return F(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Nt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(g(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),x(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e}(tt);Rt.decorators=[{type:I.Directive,args:[{selector:"[formControl]",providers:[It],exportAs:"ngForm"}]}],Rt.ctorParameters=function(){return[{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[B]}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[q]}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[W]}]}]},Rt.propDecorators={form:[{type:I.Input,args:["formControl"]}],model:[{type:I.Input,args:["ngModel"]}],update:[{type:I.Output,args:["ngModelChange"]}],isDisabled:[{type:I.Input,args:["disabled"]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Dt={provide:H,useExisting:n.i(I.forwardRef)(function(){return Vt})},Vt=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r._submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new I.EventEmitter,r}return F(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return g(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){k(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);b(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);b(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e._control!==n&&(_(e._control,e),n&&g(n,e),e._control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=C(this._validators);this.form.validator=z.compose([this.form.validator,t]);var e=S(this._asyncValidators);this.form.asyncValidator=z.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Nt.missingFormException()},e}(H);Vt.decorators=[{type:I.Directive,args:[{selector:"[formGroup]",providers:[Dt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],Vt.ctorParameters=function(){return[{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[B]}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[q]}]}]},Vt.propDecorators={form:[{type:I.Input,args:["formGroup"]}],ngSubmit:[{type:I.Output}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Lt={provide:H,useExisting:n.i(I.forwardRef)(function(){return Ft})},Ft=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return F(e,t),e.prototype._checkParentType=function(){N(this._parent)&&Nt.groupParentException()},e}(ft);Ft.decorators=[{type:I.Directive,args:[{selector:"[formGroupName]",providers:[Lt]}]}],Ft.ctorParameters=function(){return[{type:H,decorators:[{type:I.Optional},{type:I.Host},{type:I.SkipSelf}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[B]}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[q]}]}]},Ft.propDecorators={name:[{type:I.Input,args:["formGroupName"]}]};var jt={provide:H,useExisting:n.i(I.forwardRef)(function(){return Ht})},Ht=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return F(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){N(this._parent)&&Nt.arrayParentException()},e}(H);Ht.decorators=[{type:I.Directive,args:[{selector:"[formArrayName]",providers:[jt]}]}],Ht.ctorParameters=function(){return[{type:H,decorators:[{type:I.Optional},{type:I.Host},{type:I.SkipSelf}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[B]}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[q]}]}]},Ht.propDecorators={name:[{type:I.Input,args:["formArrayName"]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ut={provide:tt,useExisting:n.i(I.forwardRef)(function(){return Bt})},Bt=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._added=!1,i.update=new I.EventEmitter,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=P(i,o),i}return F(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Nt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),x(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Ft)&&this._parent instanceof ft?Nt.ngModelGroupException():this._parent instanceof Ft||this._parent instanceof Vt||this._parent instanceof Ht||Nt.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this._control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e}(tt);Bt.decorators=[{type:I.Directive,args:[{selector:"[formControlName]",providers:[Ut]}]}],Bt.ctorParameters=function(){return[{type:H,decorators:[{type:I.Optional},{type:I.Host},{type:I.SkipSelf}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[B]}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[q]}]},{type:Array,decorators:[{type:I.Optional},{type:I.Self},{type:I.Inject,args:[W]}]}]},Bt.propDecorators={name:[{type:I.Input,args:["formControlName"]}],model:[{type:I.Input,args:["ngModel"]}],update:[{type:I.Output,args:["ngModelChange"]}],isDisabled:[{type:I.Input,args:["disabled"]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var qt={provide:B,useExisting:n.i(I.forwardRef)(function(){return zt}),multi:!0},Gt={provide:B,useExisting:n.i(I.forwardRef)(function(){return Wt}),multi:!0},zt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?z.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}();zt.decorators=[{type:I.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[qt],host:{"[attr.required]":'required ? "" : null'}}]}],zt.ctorParameters=function(){return[]},zt.propDecorators={required:[{type:I.Input}]};var Wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return F(e,t),e.prototype.validate=function(t){return this.required?z.requiredTrue(t):null},e}(zt);Wt.decorators=[{type:I.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[Gt],host:{"[attr.required]":'required ? "" : null'}}]}],Wt.ctorParameters=function(){return[]};var Kt={provide:B,useExisting:n.i(I.forwardRef)(function(){return Qt}),multi:!0},Qt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?z.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}();Qt.decorators=[{type:I.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Kt]}]}],Qt.ctorParameters=function(){return[]},Qt.propDecorators={email:[{type:I.Input}]};var Xt={provide:B,useExisting:n.i(I.forwardRef)(function(){return Zt}),multi:!0},Zt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=z.minLength(parseInt(this.minlength,10))},t}();Zt.decorators=[{type:I.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[Xt],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],Zt.ctorParameters=function(){return[]},Zt.propDecorators={minlength:[{type:I.Input}]};var Yt={provide:B,useExisting:n.i(I.forwardRef)(function(){return $t}),multi:!0},$t=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=z.maxLength(parseInt(this.maxlength,10))},t}();$t.decorators=[{type:I.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[Yt],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],$t.ctorParameters=function(){return[]},$t.propDecorators={maxlength:[{type:I.Input}]};var Jt={provide:B,useExisting:n.i(I.forwardRef)(function(){return te}),multi:!0},te=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=z.pattern(this.pattern)},t}();te.decorators=[{type:I.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ee=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null!=e?e.validator:null,o=null!=e?e.asyncValidator:null;return new bt(n,r,o)},t.prototype.control=function(t,e,n){return new _t(t,e,n)},t.prototype.array=function(t,e,n){var r=this,o=t.map(function(t){return r._createControl(t)});return new wt(o,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof _t||t instanceof bt||t instanceof wt)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t}();ee.decorators=[{type:I.Injectable}],ee.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ne=new I.Version("4.1.1"),re=function(){function t(){}return t}();re.decorators=[{type:I.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],re.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var oe=[re,ut,pt,Y,J,it,Q,at,lt,rt,vt,mt,zt,Zt,$t,te,Wt,Qt],ie=[kt,At,St],se=[Rt,Vt,Bt,Ft,Ht],ae=function(){function t(){}return t}();ae.decorators=[{type:I.NgModule,args:[{declarations:oe,exports:oe}]}],ae.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ue=function(){function t(){}return t}();ue.decorators=[{type:I.NgModule,args:[{declarations:ie,providers:[nt],exports:[ae,ie]}]}],ue.ctorParameters=function(){return[]};var ce=function(){function t(){}return t}();ce.decorators=[{type:I.NgModule,args:[{declarations:[se],providers:[ee,nt],exports:[ae,se]}]}],ce.ctorParameters=function(){return[]}},137:function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s};Object.defineProperty(e,"__esModule",{value:!0});var o=n(20),i=function(){function t(){this.items=[{title:"Banaanid",price:1,quantity:0},{title:"Õunad",price:2,quantity:0}]}return t.prototype.increaseQuantity=function(t){t.quantity++},t.prototype.getTotal=function(){return this.items.map(function(t){return t.price*t.quantity}).reduce(function(t,e){return t+e},0)},t.prototype.decreaseQuantity=function(t){t.quantity>0&&t.quantity--},t}();i=r([o.Component({selector:"my-app",templateUrl:"app/app.html"})],i),e.AppComponent=i;!function(){function t(){}}()},138:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.contacts=[]}return t.prototype.clone=function(t){return JSON.parse(JSON.stringify(t))},t.prototype.getContacts=function(){return Promise.resolve(this.clone(this.contacts))},t.prototype.getContact=function(t){return Promise.resolve(this.clone(this.contacts).filter(function(e){return e._id===t}).pop())},t.prototype.saveContact=function(t){return t._id?(this.contacts=this.contacts.map(function(e){return e._id===t._id?t:e}),Promise.resolve()):(t._id=(Math.random()+"A").substr(2),this.contacts.push(t),Promise.resolve())},t.prototype.deleteContact=function(t){return this.contacts=this.contacts.filter(function(e){return e._id!==t}),Promise.resolve()},t.prototype.deleteAllContacts=function(t){return this.contacts=this.contacts.filter(function(e){return-1===t.indexOf(e._id)}),Promise.resolve()},t}();e.MemContactService=r},139:function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var i=n(88),s=n(20),a=function(){function t(t,e){this.name=t,this.phone=e,this.selected=!1}return t}();e.Contact=a;var u=function(){function t(t){this.http=t}return t.prototype.getContacts=function(){return this.http.get("api/contacts").toPromise().then(function(t){return t.json()})},t.prototype.getContact=function(t){return this.http.get("api/contacts/"+t).toPromise().then(function(t){return t.json()})},t.prototype.saveContact=function(t){return this.http.post("api/contacts",t).toPromise().then(function(){return null})},t.prototype.deleteContact=function(t){return this.http.delete("api/contacts/"+t).toPromise().then(function(){return null})},t.prototype.deleteAllContacts=function(t){return this.http.post("api/contacts/delete",t).toPromise().then(function(){return null})},t}();u=r([s.Injectable(),o("design:paramtypes",[i.Http])],u),e.ContactService=u},140:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(131),n(132),n(133);var r=n(127),o=n(128);r.platformBrowserDynamic().bootstrapModule(o.AppModule)},20:function(t,e,n){"use strict";(function(t){function r(){if(!io){var t=oo.Symbol;if(t&&t.iterator)io=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function y(t){return t.__forward_ref__=y,t.toString=function(){return s(this())},t}function v(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===y?t():t}function m(t){return t[qo]}function g(t){return t[Go]}function _(t){return t[zo]||b}function b(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,e)}function w(t,e){var n=t+" caused by: "+(e instanceof Error?e.message:e),r=Error(n);return r[Go]=e,r}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function E(t){for(var e=[],n=0;n<t.length;++n){if(e.indexOf(t[n])>-1)return e.push(t[n]),e;e.push(t[n])}return e}function C(t){if(t.length>1){return" ("+E(t.slice().reverse()).map(function(t){return s(t.token)}).join(" -> ")+")"}return""}function S(t,e,n,r){var o=r?w("",r):Error();return o.addKey=x,o.keys=[e],o.injectors=[t],o.constructResolvingMessage=n,o.message=o.constructResolvingMessage(),o[Go]=r,o}function x(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage()}function T(t,e){return S(t,e,function(){return"No provider for "+s(this.keys[0].token)+"!"+C(this.keys)})}function P(t,e){return S(t,e,function(){return"Cannot instantiate cyclic dependency!"+C(this.keys)})}function A(t,e,n,r){return S(t,r,function(){var t=s(this.keys[0].token);return g(this).message+": Error during instantiation of "+t+"!"+C(this.keys)+"."},e)}function O(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function M(t,e){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];i&&0!=i.length?n.push(i.map(s).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+s(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+s(t)+"' is decorated with Injectable.")}function k(t){return Error("Index "+t+" is out-of-bounds.")}function N(t,e){return Error("Cannot mix multi providers and regular providers, got: "+t+" "+e)}function I(t){return"function"==typeof t}function R(t){return t?t.map(function(t){var e=t.type,n=e.annotationCls,r=t.args?t.args:[];return new(n.bind.apply(n,[void 0].concat(r)))}):[]}function D(t){var e=Object.getPrototypeOf(t.prototype);return(e?e.constructor:null)||Object}function V(t){var e,n;if(t.useClass){var r=v(t.useClass);e=ei.factory(r),n=B(r)}else t.useExisting?(e=function(t){return t},n=[ni.fromKey(Ko.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=U(t.useFactory,t.deps)):(e=function(){return t.useValue},n=ri);return new ii(e,n)}function L(t){return new oi(Ko.get(t.provide),[V(t)],t.multi||!1)}function F(t){var e=H(t,[]),n=e.map(L),r=j(n,new Map);return Array.from(r.values())}function j(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=e.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw N(o,r);if(r.multiProvider)for(var i=0;i<r.resolvedFactories.length;i++)o.resolvedFactories.push(r.resolvedFactories[i]);else e.set(r.key.id,r)}else{var s=void 0;s=r.multiProvider?new oi(r.key,r.resolvedFactories.slice(),r.multiProvider):r,e.set(r.key.id,s)}}return e}function H(t,e){return t.forEach(function(t){if(t instanceof Zo)e.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)e.push(t);else{if(!(t instanceof Array))throw O(t);H(t,e)}}),e}function U(t,e){if(e){var n=e.map(function(t){return[t]});return e.map(function(e){return q(t,e,n)})}return B(t)}function B(t){var e=ei.parameters(t);if(!e)return[];if(e.some(function(t){return null==t}))throw M(t,e);return e.map(function(n){return q(t,n,e)})}function q(t,e,n){var r=null,o=!1;if(!Array.isArray(e))return e instanceof No?G(e.token,o,null):G(e,o,null);for(var i=null,s=0;s<e.length;++s){var a=e[s];a instanceof Zo?r=a:a instanceof No?r=a.token:a instanceof Io?o=!0:a instanceof Do||a instanceof Vo?i=a:a instanceof to&&(r=a)}if(null!=(r=v(r)))return G(r,o,i);throw M(t,n)}function G(t,e,n){return new ni(Ko.get(t),e,n)}function z(t,e){for(var n=new Array(t._providers.length),r=0;r<t._providers.length;++r)n[r]=e(t.getProviderAtIndex(r));return n}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function W(t){return!!t&&"function"==typeof t.then}function K(t){return!!t&&"function"==typeof t.subscribe}function Q(){return""+X()+X()+X()}function X(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function Z(){throw new Error("Runtime compiler is not loaded")}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Y(t){var e=Error("No component factory found for "+s(t)+". Did you add it to @NgModule.entryComponents?");return e[xi]=t,e}function $(){var t=oo.wtf;return!(!t||!(Ai=t.trace))&&(Oi=Ai.events,!0)}function J(t,e){return void 0===e&&(e=null),Oi.createScope(t,e)}function tt(t,e){return Ai.leaveScope(t,e),e}function et(t,e){return Ai.beginTimeRange(t,e)}function nt(t){Ai.endTimeRange(t)}function rt(t,e){return null}function ot(t){Ki=t}function it(){if(Xi)throw new Error("Cannot enable prod mode after platform setup.");Qi=!1}function st(){return Xi=!0,Qi}function at(t){if(zi&&!zi.destroyed&&!zi.injector.get(Zi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");zi=t.get($i);var e=t.get(di,null);return e&&e.forEach(function(t){return t()}),zi}function ut(t,e,n){void 0===n&&(n=[]);var r=new to("Platform: "+e);return function(e){void 0===e&&(e=[]);var o=pt();return o&&!o.injector.get(Zi,!1)||(t?t(n.concat(e).concat({provide:r,useValue:!0})):at(ai.resolveAndCreate(n.concat(e).concat({provide:r,useValue:!0})))),ct(r)}}function ct(t){var e=pt();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function lt(){zi&&!zi.destroyed&&zi.destroy()}function pt(){return zi&&!zi.destroyed?zi:null}function ht(t,e){try{var n=e();return W(n)?n.catch(function(e){throw t.handleError(e),e}):n}catch(e){throw t.handleError(e),e}}function ft(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function dt(t,e){var n=ps.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);ps.set(t,e)}function yt(t){var e=ps.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}function vt(t){return t.reduce(function(t,e){var n=Array.isArray(e)?vt(e):e;return t.concat(n)},[])}function mt(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function gt(t){return t.map(function(t){return t.nativeElement})}function _t(t,e,n){t.childNodes.forEach(function(t){t instanceof Cs&&(e(t)&&n.push(t),_t(t,e,n))})}function bt(t,e,n){t instanceof Cs&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Cs&&bt(t,e,n)})}function wt(t){return Ss.get(t)||null}function Et(t){Ss.set(t.nativeNode,t)}function Ct(t){Ss.delete(t.nativeNode)}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function St(t,e){var n=xt(t),r=xt(e);if(n&&r)return Tt(t,e,St);var o=t&&("object"==typeof t||"function"==typeof t),s=e&&("object"==typeof e||"function"==typeof e);return!(n||!o||r||!s)||i(t,e)}function xt(t){return!!At(t)&&(Array.isArray(t)||!(t instanceof Map)&&r()in t)}function Tt(t,e,n){for(var o=t[r()](),i=e[r()]();;){var s=o.next(),a=i.next();if(s.done&&a.done)return!0;if(s.done||a.done)return!1;if(!n(s.value,a.value))return!1}}function Pt(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var o=t[r()](),i=void 0;!(i=o.next()).done;)e(i.value)}function At(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ot(t,e,n){var r=t.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+e+o}function Mt(t){return t.name||typeof t}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function kt(){return ei}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Nt(t,e){return t.nodes[e]}function It(t,e){return t.nodes[e]}function Rt(t,e){return t.nodes[e]}function Dt(t,e){return t.nodes[e]}function Vt(t,e){return t.nodes[e]}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Lt(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(o+=" 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 ?"),jt(o,t)}function Ft(t,e){return t instanceof Error||(t=new Error(t.toString())),Ht(t,e),t}function jt(t,e){var n=new Error(t);return Ht(n,e),n}function Ht(t,e){t[qo]=e,t[zo]=e.logError.bind(e)}function Ut(t){return!!m(t)}function Bt(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function qt(t){var e=ta.get(t);return e||(e=s(t)+"_"+ta.size,ta.set(t,e)),e}function Gt(t,e,n,r){if(r instanceof xs){r=r.wrapped;var o=t.def.nodes[e].bindingIndex+n,i=t.oldValues[o];i instanceof xs&&(i=i.wrapped),t.oldValues[o]=new xs(i)}return r}function zt(t){return{id:ea,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}function Wt(t){if(t&&t.id===ea){var e=null!=t.encapsulation&&t.encapsulation!==Ao.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+ra++:na}return t&&t.id===na&&(t=null),t||null}function Kt(t,e,n,r){var o=t.oldValues;return!(!(2&t.state)&&i(o[e.bindingIndex+n],r))}function Qt(t,e,n,r){return!!Kt(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function Xt(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!St(o,r))throw Lt($s.createDebugContext(t,e.index),o,r,0!=(1&t.state))}function Zt(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Yt(t,e,n,r){return Zt(16777216&t.def.nodes[e].flags?It(t,e).componentView:t),$s.handleEvent(t,e,n,r)}function $t(t){if(t.parent){return It(t.parent,t.parentNodeDef.index)}return null}function Jt(t){return t.parent?t.parentNodeDef.parent:null}function te(t,e){switch(100673535&e.flags){case 1:return It(t,e.index).renderElement;case 2:return Nt(t,e.index).renderText}}function ee(t,e){return t?t+":"+e:e}function ne(t){return!!t.parent&&!!(16384&t.parentNodeDef.flags)}function re(t){return!(!t.parent||16384&t.parentNodeDef.flags)}function oe(t){return 1<<t%32}function ie(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=t[0],i=t[1];"number"==typeof o?(e[o]=i,n|=oe(o)):r[o]=i}),{matchedQueries:e,references:r,matchedQueryIds:n}}function se(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(16777216&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Ao.Native?It(t,n.renderParent.index).renderElement:void 0:e}function ae(t){var e=oa.get(t);return e||(e=t(function(){return Js}),e.factory=t,oa.set(t,e)),e}function ue(t){var e=[];return ce(t,0,void 0,void 0,e),e}function ce(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(te(t,t.def.lastRenderRootNode))),le(t,e,0,t.def.nodes.length-1,n,r,o)}function le(t,e,n,r,o,i,s){for(var a=n;a<=r;a++){var u=t.def.nodes[a];7&u.flags&&he(t,u,e,o,i,s),a+=u.childCount}}function pe(t,e,n,r,o,i){for(var s=t;s&&!ne(s);)s=s.parent;for(var a=s.parent,u=Jt(s),c=u.index+1,l=u.index+u.childCount,p=c;p<=l;p++){var h=a.def.nodes[p];h.ngContentIndex===e&&he(a,h,n,r,o,i),p+=h.childCount}if(!a.parent){var f=t.root.projectableNodes[e];if(f)for(var p=0;p<f.length;p++)fe(t,f[p],n,r,o,i)}}function he(t,e,n,r,o,i){if(4&e.flags)pe(t,e.ngContent.index,n,r,o,i);else{var s=te(t,e);if(3===n&&16777216&e.flags&&48&e.bindingFlags){if(16&e.bindingFlags&&fe(t,s,n,r,o,i),32&e.bindingFlags){var a=It(t,e.index).componentView;fe(a,s,n,r,o,i)}}else fe(t,s,n,r,o,i);if(8388608&e.flags)for(var u=It(t,e.index).viewContainer._embeddedViews,c=0;c<u.length;c++)ce(u[c],n,r,o,i);1&e.flags&&!e.element.name&&le(t,n,e.index+1,e.index+e.childCount,r,o,i)}}function fe(t,e,n,r,o,i){var s=t.renderer;switch(n){case 1:s.appendChild(r,e);break;case 2:s.insertBefore(r,e,o);break;case 3:s.removeChild(r,e);break;case 0:i.push(e)}}function de(t){if(":"===t[0]){var e=t.match(ia);return[e[1],e[2]]}return["",t]}function ye(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function ve(t,e){for(var n="",r=0;r<2*t;r+=2)n=n+e[r]+ge(e[r+1]);return n+e[2*t]}fu
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function _e(t,e,n,r,o,i){t|=1;var s=ie(e),a=s.matchedQueries,u=s.references;return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a,matchedQueryIds:s.matchedQueryIds,references:u,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?ae(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Js},provider:null,text:null,query:null,ngContent:null}}function be(t,e,n,r,o,i,s,a,u,c,l){void 0===i&&(i=[]),u||(u=Js);var p=ie(e),h=p.matchedQueries,f=p.references,d=p.matchedQueryIds,y=null,v=null;o&&(I=de(o),y=I[0],v=I[1]),s=s||[];for(var m=new Array(s.length),g=0;g<s.length;g++){var _=s[g],b=_[0],w=_[1],E=_[2],C=de(w),S=C[0],x=C[1],T=void 0,P=void 0;switch(15&b){case 4:P=E;break;case 1:case 8:T=E}m[g]={flags:b,ns:S,name:x,nonMinifiedName:x,securityContext:T,suffix:P}}a=a||[];for(var A=new Array(a.length),g=0;g<a.length;g++){var O=a[g],M=O[0],k=O[1];A[g]={type:0,target:M,eventName:k,propName:null}}i=i||[];var N=i.map(function(t){var e=t[0],n=t[1],r=de(e);return[r[0],r[1],n]});return l=Wt(l),c&&(t|=16777216),t|=1,{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:d,references:f,ngContentIndex:n,childCount:r,bindings:m,bindingFlags:ye(m),outputs:A,element:{ns:y,name:v,attrs:N,template:null,componentProvider:null,componentView:c||null,componentRendererType:l,publicProviders:null,allProviders:null,handleEvent:u||Js},provider:null,text:null,query:null,ngContent:null};var I}function we(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,s=t.renderer;if(t.parent||!i){r=o.name?s.createElement(o.name,o.ns):s.createComment("");var a=se(t,e,n);a&&s.appendChild(a,r)}else r=s.selectRootElement(i);if(o.attrs)for(var u=0;u<o.attrs.length;u++){var c=o.attrs[u],l=c[0],p=c[1],h=c[2];s.setAttribute(r,p,h,l)}return r}function Ee(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],s=Ce(t,n.index,ee(i.target,i.eventName)),a=i.target,u=t;"component"===i.target&&(a=null,u=e);var c=u.renderer.listen(a||r,i.eventName,s);t.disposables[n.outputIndex+o]=c}}function Ce(t,e,n){return function(r){try{return Yt(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}}function Se(t,e,n,r,o,i,s,a,u,c,l,p){var h=e.bindings.length,f=!1;return h>0&&Te(t,e,0,n)&&(f=!0),h>1&&Te(t,e,1,r)&&(f=!0),h>2&&Te(t,e,2,o)&&(f=!0),h>3&&Te(t,e,3,i)&&(f=!0),h>4&&Te(t,e,4,s)&&(f=!0),h>5&&Te(t,e,5,a)&&(f=!0),h>6&&Te(t,e,6,u)&&(f=!0),h>7&&Te(t,e,7,c)&&(f=!0),h>8&&Te(t,e,8,l)&&(f=!0),h>9&&Te(t,e,9,p)&&(f=!0),f}function xe(t,e,n){for(var r=!1,o=0;o<n.length;o++)Te(t,e,o,n[o])&&(r=!0);return r}function Te(t,e,n,r){if(!Qt(t,e,n,r))return!1;var o=e.bindings[n],i=It(t,e.index),s=i.renderElement,a=o.name;switch(15&o.flags){case 1:Pe(t,o,s,o.ns,a,r);break;case 2:Ae(t,s,a,r);break;case 4:Oe(t,o,s,a,r);break;case 8:Me(16777216&e.flags&&32&o.flags?i.componentView:t,o,s,a,r)}return!0}function Pe(t,e,n,r,o,i){var s=e.securityContext,a=s?t.root.sanitizer.sanitize(s,i):i;a=null!=a?a.toString():null;var u=t.renderer;null!=i?u.setAttribute(n,o,a,r):u.removeAttribute(n,o,r)}function Ae(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}function Oe(t,e,n,r,o){var i=t.root.sanitizer.sanitize(Xs.STYLE,o);if(null!=i){i=i.toString();var s=e.suffix;null!=s&&(i+=s)}else i=null;var a=t.renderer;null!=i?a.setStyle(n,r,i):a.removeStyle(n,r)}function Me(t,e,n,r,o){var i=e.securityContext,s=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,s)}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function ke(t,e){return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:4,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function Ne(t,e,n){var r=se(t,e,n);if(r){pe(t,n.ngContent.index,1,r,null,void 0)}}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Ie(t,e,n,r){var o=e.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=o.length),r.viewContainerParent=t,Fe(o,n,r);var i=$t(r);if(i&&i!==e){var s=i.template._projectedViews;s||(s=i.template._projectedViews=[]),s.push(r)}$s.dirtyParentQueries(r),Ve(e,n>0?o[n-1]:null,r)}function Re(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];r.viewContainerParent=null,je(n,e);var o=$t(r);if(o&&o!==t){var i=o.template._projectedViews;je(i,i.indexOf(r))}return $s.dirtyParentQueries(r),Le(r),r}function De(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return je(r,e),null==n&&(n=r.length),Fe(r,n,o),$s.dirtyParentQueries(o),Le(o),Ve(t,n>0?r[n-1]:null,o),o}function Ve(t,e,n){var r=e?te(e,e.def.lastRenderRootNode):t.renderElement;ce(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Le(t){ce(t,3,null,null,void 0)}function Fe(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function je(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function He(t,e,n,r,o,i){return new ca(t,e,n,r,o,i)}function Ue(t){return t.viewDefFactory}function Be(t,e,n){return new pa(t,e,n)}function qe(t){return new ha(t)}function Ge(t,e){return new fa(t,e)}function ze(t,e){return new da(t,e)}function We(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=It(t,n.index);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Nt(t,n.index).renderText;if(10120&n.flags)return Rt(t,n.index).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Ke(t){return new ya(t.renderer)}function Qe(t,e,n,r,o,i,s){var a=[];if(i)for(var u in i){var c=i[u],l=c[0],p=c[1];a[l]={flags:8,name:u,nonMinifiedName:p,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 t|=8192,Ye(t,e,n,r,r,o,a,h)}function Xe(t,e,n){return t|=8,Ye(t,null,0,e,e,n)}function Ze(t,e,n,r,o){return Ye(t,e,0,n,r,o)}function Ye(t,e,n,r,o,i,s,a){var u=ie(e),c=u.matchedQueries,l=u.references,p=u.matchedQueryIds;a||(a=[]),s||(s=[]);var h=i.map(function(t){var e,n;return Array.isArray(t)?(n=t[0],e=t[1]):(n=0,e=t),{flags:n,token:e,tokenKey:qt(e)}});return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:l,ngContentIndex:-1,childCount:n,bindings:s,bindingFlags:ye(s),outputs:a,element:null,provider:{token:r,tokenKey:qt(r),value:o,deps:h},text:null,query:null,ngContent:null}}function $e(t,e){return 2048&e.flags?Ca:on(t,e)}function Je(t,e){for(var n=t;n.parent&&!ne(n);)n=n.parent;return sn(n.parent,Jt(n),!0,e.provider.value,e.provider.deps)}function tn(t,e){var n=(16384&e.flags)>0,r=sn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o<e.outputs.length;o++){var i=e.outputs[o],s=r[i.propName].subscribe(en(t,e.parent.index,i.eventName));t.disposables[e.outputIndex+o]=s.unsubscribe.bind(s)}return r}function en(t,e,n){return function(r){try{return Yt(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}}function nn(t,e,n,r,o,i,s,a,u,c,l,p){var h=Rt(t,e.index),f=h.instance,d=!1,y=void 0,v=e.bindings.length;return v>0&&Kt(t,e,0,n)&&(d=!0,y=ln(t,h,e,0,n,y)),v>1&&Kt(t,e,1,r)&&(d=!0,y=ln(t,h,e,1,r,y)),v>2&&Kt(t,e,2,o)&&(d=!0,y=ln(t,h,e,2,o,y)),v>3&&Kt(t,e,3,i)&&(d=!0,y=ln(t,h,e,3,i,y)),v>4&&Kt(t,e,4,s)&&(d=!0,y=ln(t,h,e,4,s,y)),v>5&&Kt(t,e,5,a)&&(d=!0,y=ln(t,h,e,5,a,y)),v>6&&Kt(t,e,6,u)&&(d=!0,y=ln(t,h,e,6,u,y)),v>7&&Kt(t,e,7,c)&&(d=!0,y=ln(t,h,e,7,c,y)),v>8&&Kt(t,e,8,l)&&(d=!0,y=ln(t,h,e,8,l,y)),v>9&&Kt(t,e,9,p)&&(d=!0,y=ln(t,h,e,9,p,y)),y&&f.ngOnChanges(y),2&t.state&&32768&e.flags&&f.ngOnInit(),131072&e.flags&&f.ngDoCheck(),d}function rn(t,e,n){for(var r=Rt(t,e.index),o=r.instance,i=!1,s=void 0,a=0;a<n.length;a++)Kt(t,e,a,n[a])&&(i=!0,s=ln(t,r,e,a,n[a],s));return s&&o.ngOnChanges(s),2&t.state&&32768&e.flags&&o.ngOnInit(),131072&e.flags&&o.ngDoCheck(),i}function on(t,e){var n,r=(4096&e.flags)>0,o=e.provider;switch(100673535&e.flags){case 256:n=sn(t,e.parent,r,o.value,o.deps);bre
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function dn(t){return mn(64,new Array(t+1))}function yn(t){return mn(16,new Array(t))}function vn(t){return mn(32,t)}function mn(t,e){for(var n=new Array(e.length),r=0;r<e.length;r++){var o=e[r];n[r]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:n,bindingFlags:ye(n),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function gn(t,e){return{value:void 0}}function _n(t,e,n,r,o,i,s,a,u,c,l,p){var h=e.bindings,f=!1,d=h.length;if(d>0&&Qt(t,e,0,n)&&(f=!0),d>1&&Qt(t,e,1,r)&&(f=!0),d>2&&Qt(t,e,2,o)&&(f=!0),d>3&&Qt(t,e,3,i)&&(f=!0),d>4&&Qt(t,e,4,s)&&(f=!0),d>5&&Qt(t,e,5,a)&&(f=!0),d>6&&Qt(t,e,6,u)&&(f=!0),d>7&&Qt(t,e,7,c)&&(f=!0),d>8&&Qt(t,e,8,l)&&(f=!0),d>9&&Qt(t,e,9,p)&&(f=!0),f){var y=Dt(t,e.index),v=void 0;switch(100673535&e.flags){case 16:v=new Array(h.length),d>0&&(v[0]=n),d>1&&(v[1]=r),d>2&&(v[2]=o),d>3&&(v[3]=i),d>4&&(v[4]=s),d>5&&(v[5]=a),d>6&&(v[6]=u),d>7&&(v[7]=c),d>8&&(v[8]=l),d>9&&(v[9]=p);break;case 32:v={},d>0&&(v[h[0].name]=n),d>1&&(v[h[1].name]=r),d>2&&(v[h[2].name]=o),d>3&&(v[h[3].name]=i),d>4&&(v[h[4].name]=s),d>5&&(v[h[5].name]=a),d>6&&(v[h[6].name]=u),d>7&&(v[h[7].name]=c),d>8&&(v[h[8].name]=l),d>9&&(v[h[9].name]=p);break;case 64:var m=n;switch(d){case 1:v=m.transform(n);break;case 2:v=m.transform(r);break;case 3:v=m.transform(r,o);break;case 4:v=m.transform(r,o,i);break;case 5:v=m.transform(r,o,i,s);break;case 6:v=m.transform(r,o,i,s,a);break;case 7:v=m.transform(r,o,i,s,a,u);break;case 8:v=m.transform(r,o,i,s,a,u,c);break;case 9:v=m.transform(r,o,i,s,a,u,c,l);break;case 10:v=m.transform(r,o,i,s,a,u,c,l,p)}}y.value=v}return f}function bn(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)Qt(t,e,i,n[i])&&(o=!0);if(o){var s=Dt(t,e.index),a=void 0;switch(100673535&e.flags){case 16:a=n;break;case 32:a={};for(var i=0;i<n.length;i++)a[r[i].name]=n[i];break;case 64:var u=n[0],c=n.slice(1);a=u.transform.apply(u,c)}s.value=a}return o}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function wn(t,e,n){var r=[];for(var o in n){var i=n[o];r.push({propName:o,bindingType:i})}return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,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:e,filterId:oe(e),bindings:r},ngContent:null}}function En(){return new hs}function Cn(t){for(var e=t.def.nodeMatchedQueries;t.parent&&re(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.index+n.childCount,o=0;o<=r;o++){var i=t.def.nodes[o];33554432&i.flags&&268435456&i.flags&&(i.query.filterId&e)===i.query.filterId&&Vt(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.index)&&33554432&i.childFlags&&268435456&i.childFlags||(o+=i.childCount)}}if(67108864&t.def.nodeFlags)for(var o=0;o<t.def.nodes.length;o++){var i=t.def.nodes[o];67108864&i.flags&&268435456&i.flags&&Vt(t,o).setDirty(),o+=i.childCount}}function Sn(t,e){var n=Vt(t,e.index);if(n.dirty){var r,o=void 0;if(33554432&e.flags){var i=e.parent.parent;o=xn(t,i.index,i.index+i.childCount,e.query,[]),r=Rt(t,e.parent.index).instance}else 67108864&e.flags&&(o=xn(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var s=e.query.bindings,a=!1,u=0;u<s.length;u++){var c=s[u],l=void 0;switch(c.bindingType){case 0:l=n.first;break;case 1:l=n,a=!0}r[c.propName]=l}a&&n.notifyOnChanges()}}function xn(t,e,n,r,o){for(var i=e;i<=n;i++){var s=t.def.nodes[i],a=s.matchedQueries[r.id];if(null!=a&&o.push(Tn(t,s,a)),1&s.flags&&s.element.template&&(s.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=It(t,i);if(8388608&s.flags)for(var c=u.viewContainer._embeddedViews,l=0;l<c.length;l++){var p=c[l],h=$t(p);h&&h===u&&xn(p,0,p.def.nodes.length-1,r,o)}var f=u.template._projectedViews;if(f)for(var l=0;l<f.length;l++){var d=f[l];xn(d,0,d.def.nodes.length-1,r,o)}}(s.childMatchedQueries&r.filterId)!==r.filterId&&(i+=s.childCount)}return o}function Tn(t,e,n){if(null!=n){var r=void 0;switch(n){case 1:r=It(t,e.index).renderElement;break;case 0:r=new cs(It(t,e.index).renderElement);break;case 2:r=It(t,e.index).template;break;case 3:r=It(t,e.index).viewContainer;break;case 4:r=Rt(t,e.index).instance}return r}}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Pn(t,e){for(var n=new Array(e.length-1),r=1;r<e.length;r++)n[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:e[r]};return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:n,bindingFlags:ye(n),outputs:[],element:null,provider:null,text:{prefix:e[0]},query:null,ngContent:null}}function An(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=se(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function On(t,e,n,r,o,i,s,a,u,c,l,p){var h=!1,f=e.bindings,d=f.length;if(d>0&&Qt(t,e,0,n)&&(h=!0),d>1&&Qt(t,e,1,r)&&(h=!0),d>2&&Qt(t,e,2,o)&&(h=!0),d>3&&Qt(t,e,3,i)&&(h=!0),d>4&&Qt(t,e,4,s)&&(h=!0),d>5&&Qt(t,e,5,a)&&(h=!0),d>6&&Qt(t,e,6,u)&&(h=!0),d>7&&Qt(t,e,7,c)&&(h=!0),d>8&&Qt(t,e,8,l)&&(h=!0),d>9&&Qt(t,e,9,p)&&(h=!0),h){var y=e.text.prefix;d>0&&(y+=kn(n,f[0])),d>1&&(y+=kn(r,f[1])),d>2&&(y+=kn(o,f[2])),d>3&&(y+=kn(i,f[3])),d>4&&(y+=kn(s,f[4])),d>5&&(y+=kn(a,f[5])),d>6&&(y+=kn(u,f[6])),d>7&&(y+=kn(c,f[7])),d>8&&(y+=kn(l,f[8])),d>9&&(y+=kn(p,f[9]));var v=Nt(t,e.index).renderText;t.renderer.setValue(v,y)}return h}function Mn(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)Qt(t,e,i,n[i])&&(o=!0);if(o){for(var s="",i=0;i<n.length;i++)s+=kn(n[i],r[i]);s=e.text.prefix+s;var a=Nt(t,e.index).renderText;t.renderer.setValue(a,s)}return o}function kn(t,e){return(null!=t?t.toString():"")+e.suffix}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Nn(t,e,n,r){for(var o=0,i=0,s=0,a=0,u=0,c=null,l=!1,p=!1,h=null,f=0;f<e.length;f++){for(;c&&f>c.index+c.childCount;){var d=c.parent;d&&(d.childFlags|=c.childFlags,d.childMatchedQueries|=c.childMatchedQueries),c=d}var y=e[f];y.index=f,y.parent=c,y.bindingIndex=o,y.outputIndex=i;var v=void 0;if(v=c&&1&c.flags&&!c.element.name?c.renderParent:c,y.renderParent=v,y.element){var m=y.element;m.publicProviders=c?c.element.publicProviders:Object.create(null),m.allProviders=m.publicProviders,l=!1,p=!1}if(In(c,y,e.length),s|=y.flags,u|=y.matchedQueryIds,y.element&&y.element.template&&(u|=y.element.template.nodeMatchedQueries),c?(c.childFlags|=y.flags,c.directChildFlags|=y.flags,c.childMatchedQueries|=y.matchedQueryIds,y.element&&y.element.template&&(c.childMatchedQueries|=y.element.template.nodeMatchedQueries)):a|=y.flags,o+=y.bindings.length,i+=y.outputs.length,!v&&3&y.flags&&(h=y),10112&y.flags){l||(l=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var g=0!=(4096&y.flags),_=0!=(16384&y.flags);!g||_?c.element.publicProviders[y.provider.tokenKey]=y:(p||(p=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[y.provider.tokenKey]=y),_&&(c.element.componentProvider=y)}y.childCount&&(c=y)}for(;c;){var d=c.parent;d&&(d.childFlags|=c.childFlags,d.childMatchedQueries|=c.childMatchedQueries),c=d}var b=function(t,n,r,o){return e[n].element.handleEvent(t,r,o)};return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||Js,updateRenderer:r||Js,handleEvent:b||Js,bindingCount:o,outputCount:i,lastRenderRootNode:h}}function In(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&8388608&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.index+"!")}if(10112&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: Provider/Directive nodes need to be children of elements or anchors, at index "+e.index+"!")}if(e.query){if(33554432&e.flags&&(!t||0==(8192&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.index+"!");if(67108864&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.index+"!")}if(e.childCount){var o=t?t.index+t.childCount:n-1;if(e.index<=o&&e.index+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.index+"!")}}function Rn(t,e,n){var r=Vn(t.root,t.renderer,t,e,e.element.template);return Ln(r,t.component,n),Fn(r),r}function Dn(t,e,n){var r=Vn(t,t.renderer,null,null,e);return Ln(r,n,n),Fn(r),r}function Vn(t,e,n,r,o){var i=new Array(o.nodes.length),s=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:s}}function Ln(t,e,n){t.component=e,t.context=n}function Fn(t){var e;if(ne(t)){var n=t.parentNodeDef;e=It(t.parent,n.parent.index).renderElement}for(var r=t.def,o=t.nodes,i=0;i<r.nodes.length;i++){var s=r.nodes[i];$s.setCurrentNode(t,i);var a=void 0;switch(100673535&s.flags){case 1:var u=we(t,e,s),c=void 0;if(16777216&s.flags){var l=ae(s.element.componentView),p=s.element.componentRendererType,h=void 0;h=p?t.root.rendererFactory.createRenderer(u,p):t.root.renderer,c=Vn(t.root,h,t,s.element.componentProvider,l)}Ee(t,c,s,u),a={renderElement:u,componentView:c,viewContainer:null,template:s.element.template?Ge(t,s):void 0},8388608&s.flags&&(a.viewContainer=Be(t,s,a));break;case 2:a=An(t,e,s);break;case 256:case 512:case 1024:case 128:var f=$e(t,s);a={instance:f};break;case 8:var f=Je(t,s);a={instance:f};break;case 8192:var f=tn(t,s);if(a={instance:f},16384&s.flags){Ln(It(t,s.parent.index).componentView,f,f)}break;case 16:case 32:case 64:a=gn(t,s);break;case 3
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Ar(){return Us}function Or(){return Bs}function Mr(t){return t||"en-US"}function kr(){tr()}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Nr(t,e){return{name:t,definitions:e}}function Ir(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function Rr(t){return{type:3,steps:t}}function Dr(t){return{type:2,steps:t}}function Vr(t){return{type:6,styles:t}}function Lr(t,e){return{type:0,name:t,styles:e}}function Fr(t){return{type:5,steps:t}}function jr(t,e){return{type:1,expr:t,animation:e}}function Hr(t,e){return Nr(t,e)}function Ur(t,e){return Ir(t,e)}function Br(t){return Rr(t)}function qr(t){return Dr(t)}function Gr(t){return Vr(t)}function zr(t,e){return Lr(t,e)}function Wr(t){return Fr(t)}function Kr(t,e){return jr(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var Qr=n(9),Xr=(n.n(Qr),n(303)),Zr=(n.n(Xr),n(310)),Yr=(n.n(Zr),n(83));n.n(Yr);n.d(e,"Class",function(){return c}),n.d(e,"createPlatform",function(){return at}),n.d(e,"assertPlatform",function(){return ct}),n.d(e,"destroyPlatform",function(){return lt}),n.d(e,"getPlatform",function(){return pt}),n.d(e,"PlatformRef",function(){return $i}),n.d(e,"ApplicationRef",function(){return ts}),n.d(e,"enableProdMode",function(){return it}),n.d(e,"isDevMode",function(){return st}),n.d(e,"createPlatformFactory",function(){return ut}),n.d(e,"NgProbeToken",function(){return Yi}),n.d(e,"APP_ID",function(){return hi}),n.d(e,"PACKAGE_ROOT_URL",function(){return mi}),n.d(e,"PLATFORM_INITIALIZER",function(){return di}),n.d(e,"PLATFORM_ID",function(){return yi}),n.d(e,"APP_BOOTSTRAP_LISTENER",function(){return vi}),n.d(e,"APP_INITIALIZER",function(){return li}),n.d(e,"ApplicationInitStatus",function(){return pi}),n.d(e,"DebugElement",function(){return Cs}),n.d(e,"DebugNode",function(){return Es}),n.d(e,"asNativeElements",function(){return gt}),n.d(e,"getDebugNode",function(){return wt}),n.d(e,"Testability",function(){return qi}),n.d(e,"TestabilityRegistry",function(){return Gi}),n.d(e,"setTestabilityGetter",function(){return ot}),n.d(e,"TRANSLATIONS",function(){return Ws}),n.d(e,"TRANSLATIONS_FORMAT",function(){return Ks}),n.d(e,"LOCALE_ID",function(){return zs}),n.d(e,"MissingTranslationStrategy",function(){return Qs}),n.d(e,"ApplicationModule",function(){return Da}),n.d(e,"wtfCreateScope",function(){return Li}),n.d(e,"wtfLeave",function(){return Fi}),n.d(e,"wtfStartTimeRange",function(){return ji}),n.d(e,"wtfEndTimeRange",function(){return Hi}),n.d(e,"Type",function(){return Zo}),n.d(e,"EventEmitter",function(){return Ui}),n.d(e,"ErrorHandler",function(){return Wo}),n.d(e,"Sanitizer",function(){return Zs}),n.d(e,"SecurityContext",function(){return Xs}),n.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return uo}),n.d(e,"Attribute",function(){return co}),n.d(e,"ContentChild",function(){return ho}),n.d(e,"ContentChildren",function(){return po}),n.d(e,"Query",function(){return lo}),n.d(e,"ViewChild",function(){return yo}),n.d(e,"ViewChildren",function(){return fo}),n.d(e,"Component",function(){return _o}),n.d(e,"Directive",function(){return go}),n.d(e,"HostBinding",function(){return Co}),n.d(e,"HostListener",function(){return So}),n.d(e,"Input",function(){return wo}),n.d(e,"Output",function(){return Eo}),n.d(e,"Pipe",function(){return bo}),n.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return xo}),n.d(e,"NO_ERRORS_SCHEMA",function(){return To}),n.d(e,"NgModule",function(){return Po}),n.d(e,"ViewEncapsulation",function(){return Ao}),n.d(e,"Version",function(){return Mo}),n.d(e,"VERSION",function(){return ko}),n.d(e,"forwardRef",function(){return y}),n.d(e,"resolveForwardRef",function(){return v}),n.d(e,"Injector",function(){return Uo}),n.d(e,"ReflectiveInjector",function(){return ai}),n.d(e,"ResolvedReflectiveFactory",function(){return ii}),n.d(e,"ReflectiveKey",function(){return Ko}),n.d(e,"InjectionToken",function(){return to}),n.d(e,"OpaqueToken",function(){return Jr}),n.d(e,"Inject",function(){return No}),n.d(e,"Optional",function(){return Io}),n.d(e,"Injectable",function(){return Ro}),n.d(e,"Self",function(){return Do}),n.d(e,"SkipSelf",function(){return Vo}),n.d(e,"Host",function(){return Lo}),n.d(e,"NgZone",function(){return Bi}),n.d(e,"RenderComponentType",function(){return ns}),n.d(e,"Renderer"
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var go=l("Directive",{selector:void 0,inputs:void 0,outputs:void 0,host:void 0,providers:void 0,exportAs:void 0,queries:void 0}),_o=l("Component",{selector:void 0,inputs:void 0,outputs:void 0,host:void 0,exportAs:void 0,moduleId:void 0,providers:void 0,viewProviders:void 0,changeDetection:vo.Default,queries:void 0,templateUrl:void 0,template:void 0,styleUrls:void 0,styles:void 0,animations:void 0,encapsulation:void 0,interpolation:void 0,entryComponents:void 0},go),bo=l("Pipe",{name:void 0,pure:!0}),wo=f("Input",[["bindingPropertyName",void 0]]),Eo=f("Output",[["bindingPropertyName",void 0]]),Co=f("HostBinding",[["hostPropertyName",void 0]]),So=f("HostListener",[["eventName",void 0],["args",[]]]),xo={name:"custom-elements"},To={name:"no-errors-schema"},Po=l("NgModule",{providers:void 0,declarations:void 0,imports:void 0,exports:void 0,entryComponents:void 0,bootstrap:void 0,schemas:void 0,id:void 0}),Ao={};Ao.Emulated=0,Ao.Native=1,Ao.None=2,Ao[Ao.Emulated]="Emulated",Ao[Ao.Native]="Native",Ao[Ao.None]="None";var Oo=function(){function t(t){var e=void 0===t?{}:t,n=e.templateUrl,r=e.template,o=e.encapsulation,i=e.styles,s=e.styleUrls,a=e.animations,u=e.interpolation;this.templateUrl=n,this.template=r,this.styleUrls=s,this.styles=i,this.encapsulation=o,this.animations=a,this.interpolation=u}return t}(),Mo=function(){function t(t){this.full=t}return Object.defineProperty(t.prototype,"major",{get:function(){return this.full.split(".")[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minor",{get:function(){return this.full.split(".")[1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"patch",{get:function(){return this.full.split(".").slice(2).join(".")},enumerable:!0,configurable:!0}),t}(),ko=new Mo("4.1.1"),No=h("Inject",[["token",void 0]]),Io=h("Optional",[]),Ro=l("Injectable",[]),Do=h("Self",[]),Vo=h("SkipSelf",[]),Lo=h("Host",[]),Fo=new Object,jo=Fo,Ho=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=Fo),e===Fo)throw new Error("No provider for "+s(t)+"!");return e},t}(),Uo=function(){function t(){}return t.prototype.get=function(t,e){},t.prototype.get=function(t,e){},t}();Uo.THROW_IF_NOT_FOUND=Fo,Uo.NULL=new Ho;/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Bo="ngComponentType",qo="ngDebugContext",Go="ngOriginalError",zo="ngErrorLogger",Wo=function(){function t(t){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=_(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?m(t)?m(t):this._findContext(g(t)):null},t.prototype._findOriginalError=function(t){for(var e=g(t);e&&g(e);)e=g(e);return e},t}(),Ko=function(){function t(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!")}return Object.defineProperty(t.prototype,"displayName",{get:function(){return s(this.token)},enumerable:!0,configurable:!0}),t.get=function(t){return Xo.get(v(t))},Object.defineProperty(t,"numberOfKeys",{get:function(){return Xo.numberOfKeys},enumerable:!0,configurable:!0}),t}(),Qo=function(){function t(){this._allKeys=new Map}return t.prototype.get=function(t){if(t instanceof Ko)return t;if(this._allKeys.has(t))return this._allKeys.get(t);var e=new Ko(t,Ko.numberOfKeys);return this._allKeys.set(t,e),e},Object.defineProperty(t.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),t}(),Xo=new Qo,Zo=Function,Yo=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,$o=function(){function t(t){this._reflect=t||oo.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,[void 0].concat(e)))}},t.prototype._zipTypesAndAnnotations=function(t,e){var n;n=void 0===t?new Array(e.length):new Array(t.length);for(var r=0;r<n.length;r++)void 0===t?n[r]=[]:t[r]!=Object?n[r]=[t[r]]:n[r]=[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n},t.prototype._ownParameters=function(t,e){if(Yo.exec(t.toString()))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;var n=t.ctorParameters;if(n&&n!==e.ctorParameters){var r="function"==typeof n?n():n,o=r.map(function(t){return t&&t.type}),i=r.map(function(t){return t&&R(t.decorators)});return this._zipTypesAndAnnotations(o,i)}if(null!=this._reflect&&null!=this._reflect.getOwnMetadata){var i=this._reflect.getOwnMetadata("parameters",t),o=this._reflect.getOwnMetadata("design:paramtypes",t);if(o||i)return this._zipTypesAndAnnotations(o,i)}return new Array(t.length).fill(void 0)},t.prototype.parameters=function(t){if(!I(t))return[];var e=D(t),n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]},t.prototype._ownAnnotations=function(t,e){if(t.annotations&&t.annotations!==e.annotations){var n=t.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return t.decorators&&t.decorators!==e.decorators?R(t.decorators):this._reflect&&this._reflect.getOwnMetadata?this._reflect.getOwnMetadata("annotations",t):null},t.prototype.annotations=function(t){if(!I(t))return[];var e=D(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)},t.prototype._ownPropMetadata=function(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){var n=t.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(t.propDecorators&&t.propDecorators!==e.propDecorators){var r=t.propDecorators,o={};return Object.keys(r).forEach(function(t){o[t]=R(r[t])}),o}return this._reflect&&this._reflect.getOwnMetadata?this._reflect.getOwnMetadata("propMetadata",t):null},t.prototype.propMetadata=function(t){if(!I(t))return{};var e=D(t),n={};if(e!==Object){var r=this.propMetadata(e);Object.keys(r).forEach(function(t){n[t]=r[t]})}var o=this._ownPropMetadata(t,e);return o&&Object.keys(o).forEach(function(t){var e=[];n.hasOwnProperty(t)&&e.push.apply(e,n[t]),e.push.apply(e,o[t]),n[t]=e}),n},t.prototype.hasLifecycleHook=function(t,e){return t instanceof Zo&&e in t.prototype},t.prototype.getter=function(t){return new Function("o","return o."+t+";")},t.prototype.setter=function(t){return new Function("o","v","return o."+t+" = v;")},t.pro
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var hi=new to("AppId"),fi={provide:hi,useFactory:Q,deps:[]},di=new to("Platform Initializer"),yi=new to("Platform ID"),vi=new to("appBootstrapListener"),mi=new to("Application Packages Root URL"),gi=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();gi.decorators=[{type:Ro}],gi.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var _i=function(){function t(t,e){this.ngModuleFactory=t,this.componentFactories=e}return t}(),bi=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw Z()},t.prototype.compileModuleAsync=function(t){throw Z()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw Z()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw Z()},t.prototype.getNgContentSelectors=function(t){throw Z()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t}();bi.decorators=[{type:Ro}],bi.ctorParameters=function(){return[]};var wi=new to("compilerOptions"),Ei=function(){function t(){}return t.prototype.createCompiler=function(t){},t}(),Ci=function(){function t(){}return t.prototype.location=function(){},t.prototype.injector=function(){},t.prototype.instance=function(){},t.prototype.hostView=function(){},t.prototype.changeDetectorRef=function(){},t.prototype.componentType=function(){},t.prototype.destroy=function(){},t.prototype.onDestroy=function(t){},t}(),Si=function(){function t(){}return t.prototype.selector=function(){},t.prototype.componentType=function(){},t.prototype.ngContentSelectors=function(){},t.prototype.inputs=function(){},t.prototype.outputs=function(){},t.prototype.create=function(t,e,n,r){},t}(),xi="ngComponent",Ti=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw Y(t)},t}(),Pi=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){},t}();Pi.NULL=new Ti;var Ai,Oi,Mi=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var o=t[r];this._factories.set(o.componentType,o)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t)||this._parent.resolveComponentFactory(t);return new ki(e,this._ngModule)},t}(),ki=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r}return $r(e,t),Object.defineProperty(e.prototype,"selector",{get:function(){return this.factory.selector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this.factory.componentType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngContentSelectors",{get:function(){return this.factory.ngContentSelectors},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputs",{get:function(){return this.factory.inputs},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return this.factory.outputs},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(Si),Ni=function(){function t(){}return t.prototype.injector=function(){},t.prototype.componentFactoryResolver=function(){},t.prototype.instance=function(){},t.prototype.destroy=function(){},t.prototype.onDestroy=function(t){},t}(),Ii=function(){function t(t,e){this._injectorClass=t,this._moduleType=e}return Object.defineProperty(t.prototype,"moduleType",{get:function(){return this._moduleType},enumerable:!0,configurable:!0}),t.prototype.create=function(t){var e=new this._injectorClass(t||Uo.NULL);return e.create(),e},t}(),Ri=new Object,Di=function(){function t(t,e,n){var r=this;this.parent=t,this._destroyListeners=[],this._destroyed=!1,this.bootstrapFactories=n.map(function(t){return new ki(t,r)}),this._cmpFactoryResolver=new Mi(e,t.get(Pi,Pi.NULL),this)}return t.prototype.create=function(){this.instance=this.createInternal()},t.prototype.createInternal=function(){},t.prototype.get=function(t,e){if(void 0===e&&(e=jo),t===Uo||t===Ni)return this;if(t===Pi)return this._cmpFactoryResolver;var n=this.getInternal(t,Ri);return n===Ri?this.parent.get(t,e):n},t.prototype.getInternal=function(t,e){},Object.defineProperty(t.prototype,"injector",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this._cmpFactoryResolver},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new E
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ns=function(){function t(t,e,n,r,o,i){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i}return t}(),rs=function(){function t(){}return t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.source=function(){},t}(),os=function(){function t(){}return t.prototype.selectRootElement=function(t,e){},t.prototype.createElement=function(t,e,n){},t.prototype.createViewRoot=function(t){},t.prototype.createTemplateAnchor=function(t,e){},t.prototype.createText=function(t,e,n){},t.prototype.projectNodes=function(t,e){},t.prototype.attachViewAfter=function(t,e){},t.prototype.detachView=function(t){},t.prototype.destroyView=function(t,e){},t.prototype.listen=function(t,e,n){},t.prototype.listenGlobal=function(t,e,n){},t.prototype.setElementProperty=function(t,e,n){},t.prototype.setElementAttribute=function(t,e,n){},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){},t.prototype.setElementStyle=function(t,e,n){},t.prototype.invokeElementMethod=function(t,e,n){},t.prototype.setText=function(t,e){},t.prototype.animate=function(t,e,n,r,o,i,s){},t}(),is=(new to("Renderer2Interceptor"),function(){function t(){}return t.prototype.renderComponent=function(t){},t}()),ss=function(){function t(){}return t.prototype.createRenderer=function(t,e){},t}(),as={};as.Important=1,as.DashCase=2,as[as.Important]="Important",as[as.DashCase]="DashCase";var us=function(){function t(){}return t.prototype.data=function(){},t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){},t.prototype.createComment=function(t){},t.prototype.createText=function(t){},t.prototype.appendChild=function(t,e){},t.prototype.insertBefore=function(t,e,n){},t.prototype.removeChild=function(t,e){},t.prototype.selectRootElement=function(t){},t.prototype.parentNode=function(t){},t.prototype.nextSibling=function(t){},t.prototype.setAttribute=function(t,e,n,r){},t.prototype.removeAttribute=function(t,e,n){},t.prototype.addClass=function(t,e){},t.prototype.removeClass=function(t,e){},t.prototype.setStyle=function(t,e,n,r){},t.prototype.removeStyle=function(t,e,n){},t.prototype.setProperty=function(t,e,n){},t.prototype.setValue=function(t,e){},t.prototype.listen=function(t,e,n){},t}(),cs=function(){function t(t){this.nativeElement=t}return t}(),ls=function(){function t(){}return t.prototype.load=function(t){},t}(),ps=new Map,hs=function(){function t(){this._dirty=!0,this._results=[],this._emitter=new Ui}return Object.defineProperty(t.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[r()]=function(){return this._results[r()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=vt(t),this._dirty=!1},t.prototype.notifyOnChanges=function(){this._emitter.emit(this)},t.prototype.setDirty=function(){this._dirty=!0},Object.defineProperty(t.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),t}(),fs=function(){function t(){}return t}(),ds={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},ys=function(){function t(t,e){this._compiler=t,thi
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var vs=function(){function t(){}return t.prototype.elementRef=function(){},t.prototype.createEmbeddedView=function(t){},t}(),ms=function(){function t(){}return t.prototype.element=function(){},t.prototype.injector=function(){},t.prototype.parentInjector=function(){},t.prototype.clear=function(){},t.prototype.get=function(t){},t.prototype.length=function(){},t.prototype.createEmbeddedView=function(t,e,n){},t.prototype.createComponent=function(t,e,n,r,o){},t.prototype.insert=function(t,e){},t.prototype.move=function(t,e){},t.prototype.indexOf=function(t){},t.prototype.remove=function(t){},t.prototype.detach=function(t){},t}(),gs=function(){function t(){}return t.prototype.markForCheck=function(){},t.prototype.detach=function(){},t.prototype.detectChanges=function(){},t.prototype.checkNoChanges=function(){},t.prototype.reattach=function(){},t}(),_s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return $r(e,t),e.prototype.destroy=function(){},e.prototype.destroyed=function(){},e.prototype.onDestroy=function(t){},e}(gs),bs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return $r(e,t),e.prototype.context=function(){},e.prototype.rootNodes=function(){},e}(_s),ws=function(){function t(t,e){this.name=t,this.callback=e}return t}(),Es=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Cs?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return"Deprecated since v4"},enumerable:!0,configurable:!0}),t}(),Cs=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return $r(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((o=this.childNodes).splice.apply(o,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var o},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return _t(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return bt(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Es),Ss=new Map,xs=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Ts=function(){function t(){this.hasWrappedValue=!1}return t.prototype.unwrap=function(t){return t instanceof xs?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1},t}(),Ps=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),As=function(){function t(){}return t.prototype.supports=function(t){return xt(t)},t.prototype.create=function(t,e){return new M
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ta=!1,Pa={};Pa.create=0,Pa.detectChanges=1,Pa.checkNoChanges=2,Pa.destroy=3,Pa.handleEvent=4,Pa[Pa.create]="create",Pa[Pa.detectChanges]="detectChanges",Pa[Pa.checkNoChanges]="checkNoChanges",Pa[Pa.destroy]="destroy",Pa[Pa.handleEvent]="handleEvent";var Aa,Oa,Ma,ka=/([A-Z])/g,Na=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Jt(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return It(this.elView,this.elDef.index).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return ze(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.index+1;e<=this.elDef.index+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];10112&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){xr(this.elView,this.elDef,t);for(var e=this.elDef.index+1;e<=this.elDef.index+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];10112&n.flags&&xr(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=Sr(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?te(this.view,this.nodeDef):te(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r,o;2&this.nodeDef.flags?(r=this.view.def,o=this.nodeDef.index):(r=this.elView.def,o=this.elDef.index);var i=Cr(r,o),s=-1,a=function(){return s++,s===i?(n=t.error).bind.apply(n,[t].concat(e)):Js;var n};r.factory(a),s<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,e))},t}(),Ia=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new Ra(this.delegate.createRenderer(t,e))},t}(),Ra=function(){function t(t){this.delegate=t}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroyNode=function(t){Ct(wt(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=Pr();if(r){var o=new Cs(n,null,r);o.name=t,Et(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=Pr();return n&&Et(new Es(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=Pr();return n&&Et(new Es(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=wt(t),r=wt(e);n&&r&&n instanceof Cs&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=wt(t),o=wt(e),i=wt(n);r&&o&&r instanceof Cs&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=wt(t),r=wt(e);n&&r&&n instanceof Cs&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t){var e=this.delegate.selectRootElement(t),n=Pr();return n&&Et(new Cs(e,null,n)),e},t.prototype.setAttribute=function(t,e,n,r){var o=wt(t);if(o&&o instanceof Cs){var i=r?r+":"+e:e;o.attributes[i]=n}this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=wt(t);if(r&&r instanceof Cs){var o=n?n+":"+e:e;r.attributes[o]=null}this.de
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Va={};Va.OnInit=0,Va.OnDestroy=1,Va.DoCheck=2,Va.OnChanges=3,Va.AfterContentInit=4,Va.AfterContentChecked=5,Va.AfterViewInit=6,Va.AfterViewChecked=7,Va[Va.OnInit]="OnInit",Va[Va.OnDestroy]="OnDestroy",Va[Va.DoCheck]="DoCheck",Va[Va.OnChanges]="OnChanges",Va[Va.AfterContentInit]="AfterContentInit",Va[Va.AfterContentChecked]="AfterContentChecked",Va[Va.AfterViewInit]="AfterViewInit",Va[Va.AfterViewChecked]="AfterViewChecked";var La=[Va.OnInit,Va.OnDestroy,Va.DoCheck,Va.OnChanges,Va.AfterContentInit,Va.AfterContentChecked,Va.AfterViewInit,Va.AfterViewChecked],Fa="*"}).call(e,n(60))},293:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(44),i=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(o.Subscriber);e.InnerSubscriber=i},294:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(59),i=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(o.Subscription);e.SubjectSubscription=i},295:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(9),i=n(300),s=n(120),a=n(126),u=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var r=t[t.length-1];a.isScheduler(r)?t.pop():r=null;var o=t.length;return o>1?new e(t,r):1===o?new i.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e[n]),o.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var i=0;i<r&&!t.closed;i++)t.next(n[i]);t.complete()},e}(o.Observable);e.ArrayObservable=u},296:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(83),i=n(9),s=n(44),a=n(59),u=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0}return r(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(t=this._connection=new a.Subscription,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return this.lift(new l(this))},e}(i.Observable);e.ConnectableObservable=u,e.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:u.prototype._subscribe},getSubject:{value:u.protot
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
* @return {?}
*/
function c(){return!!window.history.pushState}function l(t,e){return function(){var n=r();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})}}function p(t){return n.i(V.getDebugNode)(t)}function h(t,e){var n=(t||[]).concat(e||[]);return r().setGlobalVar(rt,p),r().setGlobalVar(ot,et({},nt,f(n||[]))),function(){return p}}function f(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}function d(t){return yt.replace(ft,t)}function y(t){return dt.replace(ft,t)}function v(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?v(t,o,n):(o=o.replace(ft,t),n.push(o))}return n}function m(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}function g(t,e){if(t.charCodeAt(0)===gt)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}function _(t){return t=String(t),t.match(Ot)||t.match(Mt)?t:(n.i(V.isDevMode)()&&r().log("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function b(t){return t=String(t),t.split(",").map(function(t){return _(t.trim())}).join(", ")}function w(){if(kt)return kt;Nt=r();var t=Nt.createElement("template");if("content"in t)return t;var e=Nt.createHtmlDocument();if(null==(kt=Nt.querySelector(e,"body"))){var n=Nt.createElement("html",e);kt=Nt.createElement("body",e),Nt.appendChild(n,kt),Nt.appendChild(e,n)}return kt}function E(t){for(var e={},n=0,r=t.split(",");n<r.length;n++){e[r[n]]=!0}return e}function C(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n={},r=0,o=t;r<o.length;r++){var i=o[r];for(var s in i)i.hasOwnProperty(s)&&(n[s]=!0)}return n}function S(t,e){if(e&&Nt.contains(t,e))throw new Error("Failed to sanitize html because the element is clobbered: "+Nt.getOuterHTML(t));return e}function x(t){return t.replace(/&/g,"&amp;").replace(zt,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Wt,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function T(t){Nt.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||Nt.removeAttribute(t,n)});for(var e=0,n=Nt.childNodesAsList(t);e<n.length;e++){var r=n[e];Nt.isElementNode(r)&&T(r)}}function P(t,e){try{var r=w(),o=e?String(e):"",i=5,s=o;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,o=s,Nt.setInnerHTML(r,o),t.documentMode&&T(r),s=Nt.getInnerHTML(r)}while(o!==s);for(var a=new Gt,u=a.sanitizeChildren(Nt.getTemplateContent(r)||r),c=Nt.getTemplateContent(r)||r,l=0,p=Nt.childNodesAsList(c);l<p.length;l++){var h=p[l];Nt.removeChild(c,h)}return n.i(V.isDevMode)()&&a.sanitizedSomething&&Nt.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}catch(t){throw kt=null,t}}function A(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var o=t.charAt(r);"'"===o&&n?e=!e:'"'===o&&e&&(n=!n)}return e&&n}function O(t){if(!(t=String(t).trim()))return"";var e=t.match(Qt);return e&&_(e[1])===e[1]||t.match(Kt)&&A(t)?t:(n.i(V.isDevMode)()&&r().log("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}function M(){W.makeCurrent(),J.init()}function k(){return new V.ErrorHandler}function N(){return document}function I(t){return r().setGlobalVar(le,new ce(t)),t}function R(){r().setGlobalVar(le,null)}Object.defineProperty(e,"__esModule",{value:!0});var D=n(86),V=n(20);n.d(e,"BrowserModule",function(){return se}),n.d(e,"platformBrowser",function(){return ie}),n.d(e,"Meta",function(){return Z}),n.d(e,"Title",function(){return tt}),n.d(e,"disableDebugTools",function(){return R}),n.d(e,"enableDebugTools",function(){return I}),n.d(e,"By",function(){return pe}),n.d(e,"NgProbeToken",function(){return it}),n.d(e,"DOCUMENT",function(){return Q}),n.d(e,"EVENT_MANAGER_PLUGINS",function(){return at}),n.d(e,"EventManager",function(){return ut}),n.d(e,"HAMMER_GESTURE_CONF
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Z=function(){function t(t){this._doc=t,this._dom=r()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var n=this;return void 0===e&&(e=!1),t?t.reduce(function(t,r){return r&&t.push(n._getOrCreateElement(r,e)),t},[]):[]},t.prototype.getTag=function(t){return t?this._dom.querySelector(this._doc,"meta["+t+"]"):null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),r=this.getTag(n);if(r&&this._containsAttributes(t,r))return r}var o=this._dom.createElement("meta");this._setMetaElementAttributes(t,o);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,o),o},t.prototype._setMetaElementAttributes=function(t,e){var n=this;return Object.keys(t).forEach(function(r){return n._dom.setAttribute(e,r,t[r])}),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){var n=this;return Object.keys(t).every(function(r){return n._dom.getAttribute(e,r)===t[r]})},t}();Z.decorators=[{type:V.Injectable}],Z.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.Inject,args:[Q]}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Y=new V.InjectionToken("TRANSITION_ID"),$=[{provide:V.APP_INITIALIZER,useFactory:l,deps:[Y,Q],multi:!0}],J=function(){function t(){}return t.init=function(){n.i(V.setTestabilityGetter)(new t)},t.prototype.addToWindow=function(t){V["ɵglobal"].getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},V["ɵglobal"].getAllAngularTestabilities=function(){return t.getAllTestabilities()},V["ɵglobal"].getAllAngularRootElements=function(){return t.getAllRootElements()};var e=function(t){var e=V["ɵglobal"].getAllAngularTestabilities(),n=e.length,r=!1,o=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(o)})};V["ɵglobal"].frameworkStabilizers||(V["ɵglobal"].frameworkStabilizers=[]),V["ɵglobal"].frameworkStabilizers.push(e)},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var o=t.getTestability(e);return null!=o?o:n?r().isShadowRoot(e)?this.findTestabilityInTree(t,r().getHost(e),!0):this.findTestabilityInTree(t,r().parentElement(e),!0):null},t}(),tt=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return r().getTitle(this._doc)},t.prototype.setTitle=function(t){r().setTitle(this._doc,t)},t}();tt.decorators=[{type:V.Injectable}],tt.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.Inject,args:[Q]}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var et=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},nt={ApplicationRef:V.ApplicationRef,NgZone:V.NgZone},rt="ng.probe",ot="ng.coreTokens",it=function(){function t(t,e){this.name=t,this.token=e}return t}(),st=[{provide:V.APP_INITIALIZER,useFactory:h,deps:[[it,new V.Optional],[V.NgProbeToken,new V.Optional]],multi:!0}],at=new V.InjectionToken("EventManagerPlugins"),ut=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}();ut.decorators=[{type:V.Injectable}],ut.ctorParameters=function(){return[{type:Array,decorators:[{type:V.Inject,args:[at]}]},{type:V.NgZone}]};var ct=function(){function t(t){this._doc=t}return t.prototype.supports=function(t){},t.prototype.addEventListener=function(t,e,n){},t.prototype.addGlobalEventListener=function(t,e,n){var o=r().getGlobalEventTarget(this._doc,t);if(!o)throw new Error("Unsupported event target "+o+" for event "+e);return this.addEventListener(o,e,n)},t}(),lt=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}();lt.decorators=[{type:V.Injectable}],lt.ctorParameters=function(){return[]};var pt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return F(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return r().remove(t)})},e}(lt);pt.decorators=[{type:V.Injectable}],pt.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.Inject,args:[Q]}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ht={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/"},ft=/%COMP%/g,dt="_nghost-%COMP%",yt="_ngcontent-%COMP%",vt=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new mt(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case V.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new _t(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case V.ViewEncapsulation.Native:return new bt(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=v(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t}();vt.decorators=[{type:V.Injectable}],vt.ctorParameters=function(){return[{type:ut},{type:pt}]};var mt=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(ht[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t){var e="string"==typeof t?document.querySelector(t):t;if(!e)throw new Error('The selector "'+t+'" did not match any elements');return e.textContent="",e},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var o=ht[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=ht[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&V.RendererStyleFlags2.DashCase?t.style.setProperty(e,n,r&V.RendererStyleFlags2.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&V.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){g(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return g(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,m(n)):this.eventManager.addEventListener(t,e,m(n))},t}(),gt="@".charCodeAt(0),_t=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.component=r;var i=v(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=d(r.id),o.hostAttr=y(r.id),o}return F(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(mt),bt=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var s=v(o.id,o.styles,[]),a=0;a<s.length;a++){var u=document.createElement("style");u.textContent=s[a],i.shadowRoot.appendChild(u)}return i}return F(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.rem
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Et={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},Ct=new V.InjectionToken("HammerGestureConfig"),St=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},t}();St.decorators=[{type:V.Injectable}],St.ctorParameters=function(){return[]};var xt=function(t){function e(e,n){var r=t.call(this,e)||this;return r._config=n,r}return F(e,t),e.prototype.supports=function(t){if(!Et.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t))return!1;if(!window.Hammer)throw new Error("Hammer.js is not loaded, can not bind "+t+" event");return!0},e.prototype.addEventListener=function(t,e,n){var r=this,o=this.manager.getZone();return e=e.toLowerCase(),o.runOutsideAngular(function(){var i=r._config.buildHammer(t),s=function(t){o.runGuarded(function(){n(t)})};return i.on(e,s),function(){return i.off(e,s)}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(ct);xt.decorators=[{type:V.Injectable}],xt.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.Inject,args:[Q]}]},{type:St,decorators:[{type:V.Inject,args:[Ct]}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Tt=["alt","control","meta","shift"],Pt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},At=function(t){function e(e){return t.call(this,e)||this}return F(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,o){var i=e.parseEventName(n),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,i.domEventName,s)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(Tt.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var s={};return s.domEventName=r,s.fullKey=i,s},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Tt.forEach(function(r){if(r!=n){(0,Pt[r])(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(ct);At.decorators=[{type:V.Injectable}],At.ctorParameters=function(){return[{type:void 0,decorators:[{type:V.Inject,args:[Q]}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ot=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Mt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,kt=null,Nt=null,It=E("area,br,col,hr,img,wbr"),Rt=E("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Dt=E("rp,rt"),Vt=C(Dt,Rt),Lt=C(Rt,E("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")),Ft=C(Dt,E("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")),jt=C(It,Lt,Ft,Vt),Ht=E("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ut=E("srcset"),Bt=E("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"),qt=C(Ht,Ut,Bt),Gt=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(Nt.isElementNode(e)?this.startElement(e):Nt.isTextNode(e)?this.chars(Nt.nodeValue(e)):this.sanitizedSomething=!0,Nt.firstChild(e))e=Nt.firstChild(e);else for(;e;){Nt.isElementNode(e)&&this.endElement(e);var n=S(e,Nt.nextSibling(e));if(n){e=n;break}e=S(e,Nt.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=Nt.nodeName(t).toLowerCase();if(!jt.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),Nt.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!qt.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Ht[r]&&(t=_(t)),Ut[r]&&(t=b(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(x(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=Nt.nodeName(t).toLowerCase();jt.hasOwnProperty(e)&&!It.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(x(t))},t}(),zt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wt=/([^\#-~ |!])/g,Kt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Qt=/^url\(([^)]+)\)$/,Xt=function(){function t(){}return t.prototype.sanitize=function(t,e){},t.prototype.bypassSecurityTrustHtml=function(t){},t.prototype.bypassSecurityTrustStyle=function(t){},t.prototype.bypassSecurityTrustScript=function(t){},t.prototype.bypassSecurityTrustUrl=function(t){},t.prototype.bypassSecurityTrustResourceUrl=function(t){},t}(),Zt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return F(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case V.SecurityContext.NONE:return e;case V.SecurityContext.HTML:return e instanceof $t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),P(this._doc,String(e)));case V.SecurityContext.STYLE:return e instanceof Jt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),O(e));case V.SecurityContext.SCRIPT:if(e instanceof te)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case V.SecurityContext.URL:return e instanceof ne||e instanceof ee?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),_(String(e)));case V.SecurityContext.RESOURCE_URL:if(e instanceof ne)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http:
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ae="undefined"!=typeof window&&window||{},ue=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}(),ce=function(){function t(t){this.appRef=t.injector.get(V.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=ae.console.profile;e&&n&&ae.console.profile("Change Detection");for(var o=r().performanceNow(),i=0;i<5||r().performanceNow()-o<500;)this.appRef.tick(),i++;var s=r().performanceNow();e&&n&&ae.console.profileEnd("Change Detection");var a=(s-o)/i;return ae.console.log("ran "+i+" change detection cycles"),ae.console.log(a.toFixed(2)+" ms per check"),new ue(a,i)},t}(),le="ng.profiler",pe=function(){function t(){}return t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&r().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),he=new V.Version("4.1.1")},59:function(t,e,n){"use strict";function r(t){return t.reduce(function(t,e){return t.concat(e instanceof c.UnsubscriptionError?e.errors:e)},[])}var o=n(123),i=n(125),s=n(124),a=n(318),u=n(122),c=n(314),l=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this,l=n._parent,p=n._parents,h=n._unsubscribe,f=n._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var d=-1,y=p?p.length:0;l;)l.remove(this),l=++d<y&&p[d]||null;if(s.isFunction(h)){var v=a.tryCatch(h).call(this);v===u.errorObject&&(e=!0,t=t||(u.errorObject.e instanceof c.UnsubscriptionError?r(u.errorObject.e.errors):[u.errorObject.e]))}if(o.isArray(f))for(d=-1,y=f.length;++d<y;){var m=f[d];if(i.isObject(m)){var v=a.tryCatch(m.unsubscribe).call(m);if(v===u.errorObject){e=!0,t=t||[];var g=u.errorObject.e;g instanceof c.UnsubscriptionError?t=t.concat(r(g.errors)):t.push(g)}}}if(e)throw new c.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;n=new t,n._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this,n=e._parent,r=e._parents;n&&n!==t?r?-1===r.indexOf(t)&&r.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();e.Subscription=l},60:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},82:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(44),i=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(o.Subscriber);e.OuterSubscriber=i},83:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(9),i=n(44),s=n(59),a=n(313),u=n(294),c=n(84),l=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(i.Subscriber);e.SubjectSubscriber=l;var p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[c.
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function u(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+n.i(A["ɵstringify"])(t)+"'")}function c(t){return t?t[0].toUpperCase()+t.substr(1).toLowerCase():t}function l(t){return function(e,n){var r=t(e,n);return 1==r.length?"0"+r:r}}function p(t){return function(e,n){return t(e,n).split(" ")[0]}}function h(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function f(t){var e={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,n){var r=h(t,n,e);return r?r.substring(3):""}}function d(t,e){return t.hour12=e,t}function y(t,e){var n={};return n[t]=2===e?"2-digit":"numeric",n}function v(t,e){var n={};return n[t]=e<4?e>1?"short":"narrow":"long",n}function m(t){return Object.assign.apply(Object,[{}].concat(t))}function g(t){return function(e,n){return h(e,n,t)}}function _(t,e,n){var r=ht[t];if(r)return r(e,n);var o=t,i=dt.get(o);if(!i){i=[];var s=void 0;pt.exec(t);for(var a=t;a;)s=pt.exec(a),s?(i=i.concat(s.slice(1)),a=i.pop()):(i.push(a),a=null);dt.set(o,i)}return i.reduce(function(t,r){var o=ft[r];return t+(o?o(e,n):b(r))},"")}function b(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function w(t,e,n,r,o,i,s){if(void 0===i&&(i=null),void 0===s&&(s=!1),null==n)return null;if("number"!=typeof(n="string"==typeof n&&C(n)?+n:n))throw u(t,n);var a=void 0,c=void 0,l=void 0;if(r!==ct.Currency&&(a=1,c=0,l=3),o){var p=o.match(vt);if(null===p)throw new Error(o+" is not a valid digit info for number pipes");null!=p[1]&&(a=E(p[1])),null!=p[3]&&(c=E(p[3])),null!=p[5]&&(l=E(p[5]))}return lt.format(n,e,r,{minimumIntegerDigits:a,minimumFractionDigits:c,maximumFractionDigits:l,currency:i,currencyAsSymbol:s})}function E(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function C(t){return!isNaN(t-parseFloat(t))}function S(t){return null==t||""===t}function x(t){return t instanceof Date&&!isNaN(t.valueOf())}function T(t){var e=new Date(0),n=0,r=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=P(t[9]+t[10]),r=P(t[9]+t[11])),o.call(e,P(t[1]),P(t[2])-1,P(t[3]));var s=P(t[4]||"0")-n,a=P(t[5]||"0")-r,u=P(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,s,a,u,c),e}function P(t){return parseInt(t,10)}var A=n(20);n.d(e,"c",function(){return Tt}),n.d(e,"b",function(){return Pt}),n.d(e,"a",function(){return M});var O=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},M=function(){function t(){}return t.prototype.getBaseHrefFromDOM=function(){},t.prototype.onPopState=function(t){},t.prototype.onHashChange=function(t){},t.prototype.pathname=function(){},t.prototype.search=function(){},t.prototype.hash=function(){},t.prototype.replaceState=function(t,e,n){},t.prototype.pushState=function(t,e,n){},t.prototype.forward=function(){},t.prototype.back=function(){},t}(),k=(new A.InjectionToken("Location Initialized"),function(){function t(){}return t.prototype.path=function(t){},t.prototype.prepareExternalUrl=function(t){},t.prototype.pushState=function(t,e,n,r){},t.prototype.replaceState=function(t,e,n,r){},t.prototype.forward=function(){},t.prototype.back=function(){},t.prototype.onPopState=function(t){},t.prototype.getBaseHref=function(){},t}()),N=new A.InjectionToken("appBaseHref"),I=function(){function t(e){var n=this;this._subject=new A.EventEmitter,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(o(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(r(this._baseHref,o(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var R=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return O(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=I.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+I.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+I.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(k);R.decorators=[{type:A.Injectable}],R.ctorParameters=function(){return[{type:M},{type:void 0,decorators:[{type:A.Optional},{type:A.Inject,args:[N]}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var D=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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 r._baseHref=n,r}return O(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return I.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+I.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+I.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+I.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(k);D.decorators=[{type:A.Injectable}],D.ctorParameters=function(){return[{type:M},{type:void 0,decorators:[{type:A.Optional},{type:A.Inject,args:[N]}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var V=function(){function t(){}return t.prototype.getPluralCategory=function(t){},t}(),L=function(t){function e(e){var n=t.call(this)||this;return n.locale=e,n}return O(e,t),e.prototype.getPluralCategory=function(t){switch(s(this.locale,t)){case F.Zero:return"zero";case F.One:return"one";case F.Two:return"two";case F.Few:return"few";case F.Many:return"many";default:return"other"}},e}(V);L.decorators=[{type:A.Injectable}],L.ctorParameters=function(){return[{type:void 0,decorators:[{type:A.Inject,args:[A.LOCALE_ID]}]}]};var F={};F.Zero=0,F.One=1,F.Two=2,F.Few=3,F.Many=4,F.Other=5,F[F.Zero]="Zero",F[F.One]="One",F[F.Two]="Two",F[F.Few]="Few",F[F.Many]="Many",F[F.Other]="Other";/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var j=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(n.i(A["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+n.i(A["ɵstringify"])(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){null!=t[r]&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){n._renderer.setElementClass(n._ngEl.nativeElement,t,!!e)})},t}();j.decorators=[{type:A.Directive,args:[{selector:"[ngClass]"}]}],j.ctorParameters=function(){return[{type:A.IterableDiffers},{type:A.KeyValueDiffers},{type:A.ElementRef},{type:A.Renderer}]},j.propDecorators={klass:[{type:A.Input,args:["class"]}],ngClass:[{type:A.Input}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var H=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(A.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(A.ComponentFactoryResolver),o=r.resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t}();H.decorators=[{type:A.Directive,args:[{selector:"[ngComponentOutlet]"}]}],H.ctorParameters=function(){return[{type:A.ViewContainerRef}]},H.propDecorators={ngComponentOutlet:[{type:A.Input}],ngComponentOutletInjector:[{type:A.Input}],ngComponentOutletContent:[{type:A.Input}],ngComponentOutletNgModuleFactory:[{type:A.Input}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var U=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),B=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){n.i(A.isDevMode)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+a(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new U(null,e.ngForOf,-1,-1),o),s=new q(t,i);n.push(s)}else if(null==o)e._viewContainer.remove(r);else{var i=e._viewContainer.get(r);e._viewContainer.move(i,o);var s=new q(t,i);n.push(s)}});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var r=0,o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t}();B.decorators=[{type:A.Directive,args:[{selector:"[ngFor][ngForOf]"}]}],B.ctorParameters=function(){return[{type:A.ViewContainerRef},{type:A.TemplateRef},{type:A.IterableDiffers}]},B.propDecorators={ngForOf:[{type:A.Input}],ngForTrackBy:[{type:A.Input}],ngForTemplate:[{type:A.Input}]};var q=function(){function t(t,e){this.record=t,this.view=e}return t}(),G=function(){function t(t,e){this._viewContainer=t,this._context=new z,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.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}();G.decorators=[{type:A.Directive,args:[{selector:"[ngIf]"}]}],G.ctorParameters=function(){return[{type:A.ViewContainerRef},{type:A.TemplateRef}]},G.propDecorators={ngIf:[{type:A.Input}],ngIfThen:[{type:A.Input}],ngIfElse:[{type:A.
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Z=function(){function t(t){this._localization=t,this._caseViews={}}return Object.defineProperty(t.prototype,"ngPlural",{set:function(t){this._switchValue=t,this._updateView()},enumerable:!0,configurable:!0}),t.prototype.addCase=function(t,e){this._caseViews[t]=e},t.prototype._updateView=function(){this._clearViews();var t=Object.keys(this._caseViews),e=i(this._switchValue,t,this._localization);this._activateView(this._caseViews[e])},t.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},t.prototype._activateView=function(t){t&&(this._activeView=t,this._activeView.create())},t}();Z.decorators=[{type:A.Directive,args:[{selector:"[ngPlural]"}]}],Z.ctorParameters=function(){return[{type:V}]},Z.propDecorators={ngPlural:[{type:A.Input}]};var Y=function(){function t(t,e,n,r){this.value=t;var o=!isNaN(Number(t));r.addCase(o?"="+t:t,new W(n,e))}return t}();Y.decorators=[{type:A.Directive,args:[{selector:"[ngPluralCase]"}]}],Y.ctorParameters=function(){return[{type:void 0,decorators:[{type:A.Attribute,args:["ngPluralCase"]}]},{type:A.TemplateRef},{type:A.ViewContainerRef},{type:Z,decorators:[{type:A.Host}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var $=function(){function t(t,e,n){this._differs=t,this._ngEl=e,this._renderer=n}return Object.defineProperty(t.prototype,"ngStyle",{set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this;t.forEachRemovedItem(function(t){return e._setStyle(t.key,null)}),t.forEachAddedItem(function(t){return e._setStyle(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._setStyle(t.key,t.currentValue)})},t.prototype._setStyle=function(t,e){var n=t.split("."),r=n[0],o=n[1];e=null!=e&&o?""+e+o:e,this._renderer.setElementStyle(this._ngEl.nativeElement,r,e)},t}();$.decorators=[{type:A.Directive,args:[{selector:"[ngStyle]"}]}],$.ctorParameters=function(){return[{type:A.KeyValueDiffers},{type:A.ElementRef},{type:A.Renderer}]},$.propDecorators={ngStyle:[{type:A.Input}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var J=function(){function t(t){this._viewContainerRef=t}return Object.defineProperty(t.prototype,"ngOutletContext",{set:function(t){this.ngTemplateOutletContext=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))},t}();J.decorators=[{type:A.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],J.ctorParameters=function(){return[{type:A.ViewContainerRef}]},J.propDecorators={ngTemplateOutletContext:[{type:A.Input}],ngTemplateOutlet:[{type:A.Input}],ngOutletContext:[{type:A.Input}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var tt=[j,H,B,G,J,$,K,Q,X,Z,Y],et=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),nt=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}(),rt=new nt,ot=new et,it=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,A.WrappedValue.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(e){if(n.i(A["ɵisPromise"])(e))return rt;if(n.i(A["ɵisObservable"])(e))return ot;throw u(t,e)},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t}();it.decorators=[{type:A.Pipe,args:[{name:"async",pure:!1}]}],it.ctorParameters=function(){return[{type:A.ChangeDetectorRef}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var st=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw u(t,e);return e.toLowerCase()},t}();st.decorators=[{type:A.Pipe,args:[{name:"lowercase"}]}],st.ctorParameters=function(){return[]};var at=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw u(t,e);return e.split(/\b/g).map(function(t){return c(t)}).join("")},t}();at.decorators=[{type:A.Pipe,args:[{name:"titlecase"}]}],at.ctorParameters=function(){return[]};var ut=function(){function t(){}return t.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw u(t,e);return e.toUpperCase()},t}();ut.decorators=[{type:A.Pipe,args:[{name:"uppercase"}]}],ut.ctorParameters=function(){return[]};var ct={};ct.Decimal=0,ct.Percent=1,ct.Currency=2,ct[ct.Decimal]="Decimal",ct[ct.Percent]="Percent",ct[ct.Currency]="Currency";var lt=function(){function t(){}return t.format=function(t,e,n,r){var o=void 0===r?{}:r,i=o.minimumIntegerDigits,s=o.minimumFractionDigits,a=o.maximumFractionDigits,u=o.currency,c=o.currencyAsSymbol,l=void 0!==c&&c,p={minimumIntegerDigits:i,minimumFractionDigits:s,maximumFractionDigits:a,style:ct[n].toLowerCase()};return n==ct.Currency&&(p.currency="string"==typeof u?u:void 0,p.currencyDisplay=l?"symbol":"code"),new Intl.NumberFormat(e,p).format(t)},t}(),pt=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,ht={yMMMdjms:g(m([y("year",1),v("month",3),y("day",1),y("hour",1),y("minute",1),y("second",1)])),yMdjm:g(m([y("year",1),y("month",1),y("day",1),y("hour",1),y("minute",1)])),yMMMMEEEEd:g(m([y("year",1),v("month",4),v("weekday",4),y("day",1)])),yMMMMd:g(m([y("year",1),v("month",4),y("day",1)])),yMMMd:g(m([y("year",1),v("month",3),y("day",1)])),yMd:g(m([y("year",1),y("month",1),y("day",1)])),jms:g(m([y("hour",1),y("second",1),y("minute",1)])),jm:g(m([y("hour",1),y("minute",1)]))},ft={yyyy:g(y("year",4)),yy:g(y("year",2)),y:g(y("year",1)),MMMM:g(v("month",4)),MMM:g(v("month",3)),MM:g(y("month",2)),M:g(y("month",1)),LLLL:g(v("month",4)),L:g(v("month",1)),dd:g(y("day",2)),d:g(y("day",1)),HH:l(p(g(d(y("hour",2),!1)))),H:p(g(d(y("hour",1),!1))),hh:l(p(g(d(y("hour",2),!0)))),h:p(g(d(y("hour",1),!0))),jj:g(y("hour",2)),j:g(y("hour",1)),mm:l(g(y("minute",2))),m:g(y("minute",1)),ss:l(g(y("second",2))),s:g(y("second",1)),sss:g(y("second",3)),EEEE:g(v("weekday",4)),EEE:g(v("weekday",3)),EE:g(v("weekday",2)),E:g(v("weekday",1)),a:function(t){return function(e,n){return t(e,n).split(" ")[1]}}(g(d(y("hour",1),!0))),Z:f("short"),z:f("long"),ww:g({}),w:g({}),G:g(v("era",1)),GG:g(v("era",2)),GGG:g(v("era",3)),GGGG:g(v("era",4))},dt=new Map,yt=function(){function t(){}return t.format=function(t,e,n){return _(n,t,e)},t}(),vt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,mt=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return w(t,this._locale,e,ct.Decimal,n)},t}();mt.decorators=[{type:A.Pipe,args:[{name:"number"}]}],mt.ctorParameters=function(){return[{type:void 0,decorators:[{type:A.Inject,args:[A.LOCALE_ID]}]}]};var gt=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){return w(t,this._locale,e,ct.Percent,n)},t}();gt.decorators=[{type:A.Pipe,args:[{name:"percent"}]}],gt.ctorParameters=function(){return[{type:void 0,decorators:[{type:A.Inject,args:[A.LOCALE_ID]}]}]};var _t=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r,o){return void 0===n&&(n="USD"),void 0===r&&(r=!1),w(t,this._locale,e,ct.Currency,o,n,r)},t}();_t.decorators=[{type:A.Pipe,args:[{name:"currency"}]}],_t.ctorParameters=function(){return[{type:void 0,decorators:[{type:A.Inject,args:[A.LOCALE_ID]}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var bt=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n){void 0===n&&(n="mediumDate");var r;if(S(e)||e!==e)return null;if("string"==typeof e&&(e=e.trim()),x(e))r=e;else if(C(e))r=new Date(parseFloat(e));else if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var o=e.split("-").map(function(t){return parseInt(t,10)}),i=o[0],s=o[1],a=o[2];r=new Date(i,s-1,a)}else r=new Date(e);if(!x(r)){var c=void 0;if("string"!=typeof e||!(c=e.match(/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/)))throw u(t,e);r=T(c)}return yt.format(r,this._locale,t._ALIASES[n]||n)},t}();bt._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},bt.decorators=[{type:A.Pipe,args:[{name:"date",pure:!0}]}],bt.ctorParameters=function(){return[{type:void 0,decorators:[{type:A.Inject,args:[A.LOCALE_ID]}]}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var wt=function(){function t(t){this._localization=t}return t.prototype.transform=function(e,n){if(null==e)return"";if("object"!=typeof n||null===n)throw u(t,n);return n[i(e,Object.keys(n),this._localization)].replace(/#/g,e.toString())},t}();wt.decorators=[{type:A.Pipe,args:[{name:"i18nPlural",pure:!0}]}],wt.ctorParameters=function(){return[{type:V}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Et=function(){function t(){}return t.prototype.transform=function(e,n){if(null==e)return"";if("object"!=typeof n||"string"!=typeof e)throw u(t,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""},t}();Et.decorators=[{type:A.Pipe,args:[{name:"i18nSelect",pure:!0}]}],Et.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ct=function(){function t(){}return t.prototype.transform=function(t){return JSON.stringify(t,null,2)},t}();Ct.decorators=[{type:A.Pipe,args:[{name:"json",pure:!1}]}],Ct.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var St=function(){function t(){}return t.prototype.transform=function(e,n,r){if(null==e)return e;if(!this.supports(e))throw u(t,e);return e.slice(n,r)},t.prototype.supports=function(t){return"string"==typeof t||Array.isArray(t)},t}();St.decorators=[{type:A.Pipe,args:[{name:"slice",pure:!1}]}],St.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var xt=[it,ut,st,Ct,St,mt,gt,at,_t,bt,wt,Et],Tt=function(){function t(){}return t}();Tt.decorators=[{type:A.NgModule,args:[{declarations:[tt,xt],exports:[tt,xt],providers:[{provide:V,useClass:L}]}]}],Tt.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Pt="browser";new A.Version("4.1.1")},87:function(t,e){function n(t){throw new Error("Cannot find module '"+t+"'.")}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id=87},88:function(t,e,n){"use strict";/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function r(t){if("string"!=typeof t)return t;switch(t.toUpperCase()){case"GET":return _.Get;case"POST":return _.Post;case"PUT":return _.Put;case"DELETE":return _.Delete;case"OPTIONS":return _.Options;case"HEAD":return _.Head;case"PATCH":return _.Patch}throw new Error('Invalid request method. The method "'+t+'" is not supported.')}function o(t){return"responseURL"in t?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function i(t){for(var e=new Uint16Array(t.length),n=0,r=t.length;n<r;n++)e[n]=t.charCodeAt(n);return e.buffer}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
* @param {?=} rawParams
* @return {?}
*/
function s(t){void 0===t&&(t="");var e=new Map;if(t.length>0){t.split("&").forEach(function(t){var n=t.indexOf("="),r=-1==n?[t,""]:[t.slice(0,n),t.slice(n+1)],o=r[0],i=r[1],s=e.get(o)||[];s.push(i),e.set(o,s)})}return e}function a(t){return encodeURIComponent(t).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,"/")}function u(){var t="object"==typeof window?window:{};return null===L&&(L=t[V]={}),L}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function c(t,e){return t.createConnection(e).response}function l(t,e,n,r){var o=t;return e?o.merge(new X({method:e.method||n,url:e.url||r,search:e.search,params:e.params,headers:e.headers,body:e.body,withCredentials:e.withCredentials,responseType:e.responseType})):o.merge(new X({method:n,url:r}))}/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function p(){return new K}function h(t,e){return new rt(t,e)}function f(t,e){return new ot(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var d=n(20),y=n(9),v=(n.n(y),n(49));n.d(e,"BrowserXhr",function(){return g}),n.d(e,"JSONPBackend",function(){return q}),n.d(e,"JSONPConnection",function(){return U}),n.d(e,"CookieXSRFStrategy",function(){return K}),n.d(e,"XHRBackend",function(){return Q}),n.d(e,"XHRConnection",function(){return W}),n.d(e,"BaseRequestOptions",function(){return Z}),n.d(e,"RequestOptions",function(){return X}),n.d(e,"BaseResponseOptions",function(){return T}),n.d(e,"ResponseOptions",function(){return x}),n.d(e,"ReadyState",function(){return b}),n.d(e,"RequestMethod",function(){return _}),n.d(e,"ResponseContentType",function(){return C}),n.d(e,"ResponseType",function(){return w}),n.d(e,"Headers",function(){return S}),n.d(e,"Http",function(){return rt}),n.d(e,"Jsonp",function(){return ot}),n.d(e,"HttpModule",function(){return it}),n.d(e,"JsonpModule",function(){return st}),n.d(e,"Connection",function(){return A}),n.d(e,"ConnectionBackend",function(){return P}),n.d(e,"XSRFStrategy",function(){return O}),n.d(e,"Request",function(){return Y}),n.d(e,"Response",function(){return R}),n.d(e,"QueryEncoder",function(){return k}),n.d(e,"URLSearchParams",function(){return N}),n.d(e,"VERSION",function(){return at}),n.d(e,"ɵg",function(){return F}),n.d(e,"ɵa",function(){return G}),n.d(e,"ɵf",function(){return I}),n.d(e,"ɵb",function(){return p}),n.d(e,"ɵc",function(){return h}),n.d(e,"ɵd",function(){return f});var m=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},g=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}();g.decorators=[{type:d.Injectable}],g.ctorParameters=function(){return[]};var _={};_.Get=0,_.Post=1,_.Put=2,_.Delete=3,_.Options=4,_.Head=5,_.Patch=6,_[_.Get]="Get",_[_.Post]="Post",_[_.Put]="Put",_[_.Delete]="Delete",_[_.Options]="Options",_[_.Head]="Head",_[_.Patch]="Patch";var b={};b.Unsent=0,b.Open=1,b.HeadersReceived=2,b.Loading=3,b.Done=4,b.Cancelled=5,b[b.Unsent]="Unsent",b[b.Open]="Open",b[b.HeadersReceived]="HeadersReceived",b[b.Loading]="Loading",b[b.Done]="Done",b[b.Cancelled]="Cancelled";var w={};w.Basic=0,w.Cors=1,w.Default=2,w.Error=3,w.Opaque=4,w[w.Basic]="Basic",w[w.Cors]="Cors",w[w.Default]="Default",w[w.Error]="Error",w[w.Opaque]="Opaque";var E={};E.NONE=0,E.JSON=1,E.FORM=2,E.FORM_DATA=3,E.TEXT=4,E.BLOB=5,E.ARRAY_BUFFER=6,E[E.NONE]="NONE",E[E.JSON]="JSON",E[E.FORM]="FORM",E[E.FORM_DATA]="FORM_DATA",E[E.TEXT]="TEXT",E[E.BLOB]="BLOB",E[E.ARRAY_BUFFER]="ARRAY_BUFFER";var C={};C.Text=0,C.Json=1,C.ArrayBuffer=2,C.Blob=3,C[C.Text]="Text",C[C.Json]="Json",C[C.ArrayBuffer]="ArrayBuffer",C[C.Blob]="Blob";var S=function(){function t(e){var n=this;if(this._headers=new Map,this._normalizedNames=new Map,e)return e instanceof t?void e.forEach(function(t,e){t.forEach(function(t){return n.append(e,t)})}):void Object.keys(e).forEach(function(t){var r=Array.isArray(e[t])?e[t]:[e[t]];n.delete(t),r.forEach(function(e){return n.append(t,e)})})}return t.fromResponseHeaderString=function(e){var n=new t;return e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var r=t.slice(0,e),o=t.slice(e+1).trim();n.set(r,o)}}),n},t.prototype.append=function(t,e){var n=this.getAll(t);null===n?this.set(t,e):n.push(e)},t.prototype.delete=function(t){var e=t.toLowerCase();this._normalizedNames.delete(e),this._headers.delete(e)},t.prototype.forEach=function(t){var e=this;this._headers.forEach(function(n,r){return t(n,e._normalizedNames.get(r),e._headers)})},t.prototype.get=function(t){var e=this.getAll(t);return null===e?null:e.length>0?e[0]:null},t.prototype.has=function(t){return this._headers.has(t.toLowerCase())},t.prototype.keys=function(){return Array.from(this._normalizedNames.values())},t.prototype.set=function(t,e){Array.isArray(e)?e.length&&this._headers.set(t.toLowerCase(),[e.join(",")]):this._headers.set(t.toLowerCase(
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var P=function(){function t(){}return t.prototype.createConnection=function(t){},t}(),A=function(){function t(){}return t}(),O=function(){function t(){}return t.prototype.configureRequest=function(t){},t}(),M=function(t){return t>=200&&t<300},k=function(){function t(){}return t.prototype.encodeKey=function(t){return a(t)},t.prototype.encodeValue=function(t){return a(t)},t}(),N=function(){function t(t,e){void 0===t&&(t=""),void 0===e&&(e=new k),this.rawParams=t,this.queryEncoder=e,this.paramsMap=s(t)}return t.prototype.clone=function(){var e=new t("",this.queryEncoder);return e.appendAll(this),e},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var e=this.paramsMap.get(t);return Array.isArray(e)?e[0]:null},t.prototype.getAll=function(t){return this.paramsMap.get(t)||[]},t.prototype.set=function(t,e){if(void 0===e||null===e)return void this.delete(t);var n=this.paramsMap.get(t)||[];n.length=0,n.push(e),this.paramsMap.set(t,n)},t.prototype.setAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0,r.push(t[0]),e.paramsMap.set(n,r)})},t.prototype.append=function(t,e){if(void 0!==e&&null!==e){var n=this.paramsMap.get(t)||[];n.push(e),this.paramsMap.set(t,n)}},t.prototype.appendAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){for(var r=e.paramsMap.get(n)||[],o=0;o<t.length;++o)r.push(t[o]);e.paramsMap.set(n,r)})},t.prototype.replaceAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0;for(var o=0;o<t.length;++o)r.push(t[o]);e.paramsMap.set(n,r)})},t.prototype.toString=function(){var t=this,e=[];return this.paramsMap.forEach(function(n,r){n.forEach(function(n){return e.push(t.queryEncoder.encodeKey(r)+"="+t.queryEncoder.encodeValue(n))})}),e.join("&")},t.prototype.delete=function(t){this.paramsMap.delete(t)},t}(),I=function(){function t(){}return t.prototype.json=function(){return"string"==typeof this._body?JSON.parse(this._body):this._body instanceof ArrayBuffer?JSON.parse(this.text()):this._body},t.prototype.text=function(){return this._body instanceof N?this._body.toString():this._body instanceof ArrayBuffer?String.fromCharCode.apply(null,new Uint16Array(this._body)):null==this._body?"":"object"==typeof this._body?JSON.stringify(this._body,null,2):this._body.toString()},t.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:i(this.text())},t.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},t}(),R=function(t){function e(e){var n=t.call(this)||this;return n._body=e.body,n.status=e.status,n.ok=n.status>=200&&n.status<=299,n.statusText=e.statusText,n.headers=e.headers,n.type=e.type,n.url=e.url,n}return m(e,t),e.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},e}(I),D=0,V="__ng_jsonp__",L=null,F=function(){function t(){}return t.prototype.build=function(t){var e=document.createElement("script");return e.src=t,e},t.prototype.nextRequestID=function(){return"__req"+D++},t.prototype.requestCallback=function(t){return V+"."+t+".finished"},t.prototype.exposeConnection=function(t,e){u()[t]=e},t.prototype.removeConnection=function(t){u()[t]=null},t.prototype.send=function(t){document.body.appendChild(t)},t.prototype.cleanup=function(t){t.parentNode&&t.parentNode.removeChild(t)},t}();F.decorators=[{type:d.Injectable}],F.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var j="JSONP injected script did not invoke callback.",H="JSONP requests must use GET request method.",U=function(){function t(){}return t.prototype.finished=function(t){},t}(),B=function(t){function e(e,n,r){var o=t.call(this)||this;if(o._dom=n,o.baseResponseOptions=r,o._finished=!1,e.method!==_.Get)throw new TypeError(H);return o.request=e,o.response=new y.Observable(function(t){o.readyState=b.Loading;var i=o._id=n.nextRequestID();n.exposeConnection(i,o);var s=n.requestCallback(o._id),a=e.url;a.indexOf("=JSONP_CALLBACK&")>-1?a=a.replace("=JSONP_CALLBACK&","="+s+"&"):a.lastIndexOf("=JSONP_CALLBACK")===a.length-"=JSONP_CALLBACK".length&&(a=a.substring(0,a.length-"=JSONP_CALLBACK".length)+"="+s);var u=o._script=n.build(a),c=function(e){if(o.readyState!==b.Cancelled){if(o.readyState=b.Done,n.cleanup(u),!o._finished){var i=new x({body:j,type:w.Error,url:a});return r&&(i=r.merge(i)),void t.error(new R(i))}var s=new x({body:o._responseData,url:a});o.baseResponseOptions&&(s=o.baseResponseOptions.merge(s)),t.next(new R(s)),t.complete()}},l=function(e){if(o.readyState!==b.Cancelled){o.readyState=b.Done,n.cleanup(u);var i=new x({body:e.message,type:w.Error});r&&(i=r.merge(i)),t.error(new R(i))}};return u.addEventListener("load",c),u.addEventListener("error",l),n.send(u),function(){o.readyState=b.Cancelled,u.removeEventListener("load",c),u.removeEventListener("error",l),o._dom.cleanup(u)}}),o}return m(e,t),e.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==b.Cancelled&&(this._responseData=t)},e}(U),q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return m(e,t),e}(P),G=function(t){function e(e,n){var r=t.call(this)||this;return r._browserJSONP=e,r._baseResponseOptions=n,r}return m(e,t),e.prototype.createConnection=function(t){return new B(t,this._browserJSONP,this._baseResponseOptions)},e}(q);G.decorators=[{type:d.Injectable}],G.ctorParameters=function(){return[{type:F},{type:x}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var z=/^\)\]\}',?\n/,W=function(){function t(t,e,n){var r=this;this.request=t,this.response=new y.Observable(function(i){var s=e.build();s.open(_[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(s.withCredentials=t.withCredentials);var a=function(){var e=1223===s.status?204:s.status,r=null;204!==e&&"string"==typeof(r=void 0===s.response?s.responseText:s.response)&&(r=r.replace(z,"")),0===e&&(e=r?200:0);var a=S.fromResponseHeaderString(s.getAllResponseHeaders()),u=o(s)||t.url,c=s.statusText||"OK",l=new x({body:r,status:e,headers:a,statusText:c,url:u});null!=n&&(l=n.merge(l));var p=new R(l);if(p.ok=M(e),p.ok)return i.next(p),void i.complete();i.error(p)},u=function(t){var e=new x({body:t,type:w.Error,status:s.status,statusText:s.statusText});null!=n&&(e=n.merge(e)),i.error(new R(e))};if(r.setDetectedContentType(t,s),null==t.headers&&(t.headers=new S),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(t,e){return s.setRequestHeader(e,t.join(","))}),null!=t.responseType&&null!=s.responseType)switch(t.responseType){case C.ArrayBuffer:s.responseType="arraybuffer";break;case C.Json:s.responseType="json";break;case C.Text:s.responseType="text";break;case C.Blob:s.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return s.addEventListener("load",a),s.addEventListener("error",u),s.send(r.request.getBody()),function(){s.removeEventListener("load",a),s.removeEventListener("error",u),s.abort()}})}return t.prototype.setDetectedContentType=function(t,e){if(null==t.headers||null==t.headers.get("Content-Type"))switch(t.contentType){case E.NONE:break;case E.JSON:e.setRequestHeader("content-type","application/json");break;case E.FORM:e.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case E.TEXT:e.setRequestHeader("content-type","text/plain");break;case E.BLOB:var n=t.blob();n.type&&e.setRequestHeader("content-type",n.type)}},t}(),K=function(){function t(t,e){void 0===t&&(t="XSRF-TOKEN"),void 0===e&&(e="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=e}return t.prototype.configureRequest=function(t){var e=n.i(v["ɵgetDOM"])().getCookie(this._cookieName);e&&t.headers.set(this._headerName,e)},t}(),Q=function(){function t(t,e,n){this._browserXHR=t,this._baseResponseOptions=e,this._xsrfStrategy=n}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new W(t,this._browserXHR,this._baseResponseOptions)},t}();Q.decorators=[{type:d.Injectable}],Q.ctorParameters=function(){return[{type:g},{type:x},{type:O}]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var X=function(){function t(t){var e=void 0===t?{}:t,n=e.method,o=e.headers,i=e.body,s=e.url,a=e.search,u=e.params,c=e.withCredentials,l=e.responseType;this.method=null!=n?r(n):null,this.headers=null!=o?o:null,this.body=null!=i?i:null,this.url=null!=s?s:null,this.params=this._mergeSearchParams(u||a),this.withCredentials=null!=c?c:null,this.responseType=null!=l?l:null}return Object.defineProperty(t.prototype,"search",{get:function(){return this.params},set:function(t){this.params=t},enumerable:!0,configurable:!0}),t.prototype.merge=function(e){return new t({method:e&&null!=e.method?e.method:this.method,headers:e&&null!=e.headers?e.headers:new S(this.headers),body:e&&null!=e.body?e.body:this.body,url:e&&null!=e.url?e.url:this.url,params:e&&this._mergeSearchParams(e.params||e.search),withCredentials:e&&null!=e.withCredentials?e.withCredentials:this.withCredentials,responseType:e&&null!=e.responseType?e.responseType:this.responseType})},t.prototype._mergeSearchParams=function(t){return t?t instanceof N?t.clone():"string"==typeof t?new N(t):this._parseParams(t):this.params},t.prototype._parseParams=function(t){var e=this;void 0===t&&(t={});var n=new N;return Object.keys(t).forEach(function(r){var o=t[r];Array.isArray(o)?o.forEach(function(t){return e._appendParam(r,t,n)}):e._appendParam(r,o,n)}),n},t.prototype._appendParam=function(t,e,n){"string"!=typeof e&&(e=JSON.stringify(e)),n.append(t,e)},t}(),Z=function(t){function e(){return t.call(this,{method:_.Get,headers:new S})||this}return m(e,t),e}(X);Z.decorators=[{type:d.Injectable}],Z.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Y=function(t){function e(e){var n=t.call(this)||this,o=e.url;if(n.url=e.url,e.params){var i=e.params.toString();if(i.length>0){var s="?";-1!=n.url.indexOf("?")&&(s="&"==n.url[n.url.length-1]?"":"&"),n.url=o+s+i}}return n._body=e.body,n.method=r(e.method),n.headers=new S(e.headers),n.contentType=n.detectContentType(),n.withCredentials=e.withCredentials,n.responseType=e.responseType,n}return m(e,t),e.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return E.JSON;case"application/x-www-form-urlencoded":return E.FORM;case"multipart/form-data":return E.FORM_DATA;case"text/plain":case"text/html":return E.TEXT;case"application/octet-stream":return this._body instanceof nt?E.ARRAY_BUFFER:E.BLOB;default:return this.detectContentTypeFromBody()}},e.prototype.detectContentTypeFromBody=function(){return null==this._body?E.NONE:this._body instanceof N?E.FORM:this._body instanceof tt?E.FORM_DATA:this._body instanceof et?E.BLOB:this._body instanceof nt?E.ARRAY_BUFFER:this._body&&"object"==typeof this._body?E.JSON:E.TEXT},e.prototype.getBody=function(){switch(this.contentType){case E.JSON:case E.FORM:return this.text();case E.FORM_DATA:return this._body;case E.TEXT:return this.text();case E.BLOB:return this.blob();case E.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},e}(I),$=function(){},J="object"==typeof window?window:$,tt=J.FormData||$,et=J.Blob||$,nt=J.ArrayBuffer||$,rt=function(){function t(t,e){this._backend=t,this._defaultOptions=e}return t.prototype.request=function(t,e){var n;if("string"==typeof t)n=c(this._backend,new Y(l(this._defaultOptions,e,_.Get,t)));else{if(!(t instanceof Y))throw new Error("First argument must be a url string or Request instance.");n=c(this._backend,t)}return n},t.prototype.get=function(t,e){return this.request(new Y(l(this._defaultOptions,e,_.Get,t)))},t.prototype.post=function(t,e,n){return this.request(new Y(l(this._defaultOptions.merge(new X({body:e})),n,_.Post,t)))},t.prototype.put=function(t,e,n){return this.request(new Y(l(this._defaultOptions.merge(new X({body:e})),n,_.Put,t)))},t.prototype.delete=function(t,e){return this.request(new Y(l(this._defaultOptions,e,_.Delete,t)))},t.prototype.patch=function(t,e,n){return this.request(new Y(l(this._defaultOptions.merge(new X({body:e})),n,_.Patch,t)))},t.prototype.head=function(t,e){return this.request(new Y(l(this._defaultOptions,e,_.Head,t)))},t.prototype.options=function(t,e){return this.request(new Y(l(this._defaultOptions,e,_.Options,t)))},t}();rt.decorators=[{type:d.Injectable}],rt.ctorParameters=function(){return[{type:P},{type:X}]};var ot=function(t){function e(e,n){return t.call(this,e,n)||this}return m(e,t),e.prototype.request=function(t,e){if("string"==typeof t&&(t=new Y(l(this._defaultOptions,e,_.Get,t))),!(t instanceof Y))throw new Error("First argument must be a url string or Request instance.");if(t.method!==_.Get)throw new Error("JSONP requests must use GET request method.");return c(this._backend,t)},e}(rt);ot.decorators=[{type:d.Injectable}],ot.ctorParameters=function(){return[{type:P},{type:X}]};var it=function(){function t(){}return t}();it.decorators=[{type:d.NgModule,args:[{providers:[{provide:rt,useFactory:h,deps:[Q,X]},g,{provide:X,useClass:Z},{provide:x,useClass:T},Q,{provide:O,useFactory:p}]}]}],it.ctorParameters=function(){return[]};var st=function(){function t(){}return t}();st.decorators=[{type:d.NgModule,args:[{providers:[{provide:ot,useFactory:f,deps:[q,X]},F,{provide:X,useClass:Z},{provide:x,useClass:T},{provide:q,useClass:G}]}]}],st.ctorParameters=function(){return[]};/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var at=new d.Version("4.1.1")},9:function(t,e,n){"use strict";var r=n(37),o=n(317),i=n(121),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=o.toSubscriber(t,e,n);if(r?r.call(i,this.source):i.add(this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var o;o=n.subscribe(function(e){if(o)try{t(e)}catch(t){r(t),o.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.create=function(e){return new t(e)},t}();e.Observable=s}});