diff --git a/demos/webpack4-angular8-cli/.gitignore b/demos/webpack4-angular8-cli/.gitignore index 966531c31..fec85f988 100644 --- a/demos/webpack4-angular8-cli/.gitignore +++ b/demos/webpack4-angular8-cli/.gitignore @@ -1,6 +1,5 @@ # Compiled files. -/dist /out-tsc /tmp diff --git a/demos/webpack4-angular8-cli/dist/1-es2015.9627718e9a3715d2508a.js b/demos/webpack4-angular8-cli/dist/1-es2015.9627718e9a3715d2508a.js new file mode 100644 index 000000000..dcd32bd80 --- /dev/null +++ b/demos/webpack4-angular8-cli/dist/1-es2015.9627718e9a3715d2508a.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{jCMx:function(t,n,o){"use strict";o.r(n);var e=o("fXoL"),s=o("tyNb");const a=["src","assets/like-a-boss.gif","width","498","height","226","alt","Animated GIF of the Like a Boss skit from Saturday Night Live."],r=(()=>{class t{}return t.ngComponentDef=e.Db({type:t,selectors:[["app-lazy"]],factory:function(n){return new(n||t)},consts:4,vars:0,template:function(t,n){1&t&&(e.Mb(0,"p"),e.Yb(1," I am the Lazy component! "),e.Lb(),e.Mb(2,"p"),e.Kb(3,"img",a),e.Lb())},styles:["[_nghost-%COMP%]{display:block}"]}),t})();o.d(n,"LazyModule",function(){return c});const c=(()=>{class t{}return t.ngModuleDef=e.Hb({type:t}),t.ngInjectorDef=e.Gb({factory:function(n){return new(n||t)},imports:[[s.b.forChild([{path:"",component:r}])]]}),t})();s.b.forChild([{path:"",component:r}])}}]); \ No newline at end of file diff --git a/demos/webpack4-angular8-cli/dist/1-es5.449c91a9b253e065eac9.js b/demos/webpack4-angular8-cli/dist/1-es5.449c91a9b253e065eac9.js new file mode 100644 index 000000000..fa0ec58ca --- /dev/null +++ b/demos/webpack4-angular8-cli/dist/1-es5.449c91a9b253e065eac9.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{jCMx:function(n,t,o){"use strict";o.r(t);var e=o("TYT/"),i=o("DUip"),r=["src","assets/like-a-boss.gif","width","498","height","226","alt","Animated GIF of the Like a Boss skit from Saturday Night Live."],s=function(){function n(){}return n.ngComponentDef=e.Db({type:n,selectors:[["app-lazy"]],factory:function(t){return new(t||n)},consts:4,vars:0,template:function(n,t){1&n&&(e.Mb(0,"p"),e.Yb(1," I am the Lazy component! "),e.Lb(),e.Mb(2,"p"),e.Kb(3,"img",r),e.Lb())},styles:["[_nghost-%COMP%]{display:block}"]}),n}();o.d(t,"LazyModule",function(){return a});var a=function(){function n(){}return n.ngModuleDef=e.Hb({type:n}),n.ngInjectorDef=e.Gb({factory:function(t){return new(t||n)},imports:[[i.b.forChild([{path:"",component:s}])]]}),n}();i.b.forChild([{path:"",component:s}])}}]); \ No newline at end of file diff --git a/demos/webpack4-angular8-cli/dist/assets/like-a-boss.gif b/demos/webpack4-angular8-cli/dist/assets/like-a-boss.gif new file mode 100644 index 000000000..c57106d0d Binary files /dev/null and b/demos/webpack4-angular8-cli/dist/assets/like-a-boss.gif differ diff --git a/demos/webpack4-angular8-cli/dist/index.htm b/demos/webpack4-angular8-cli/dist/index.htm new file mode 100644 index 000000000..4be79c8d0 --- /dev/null +++ b/demos/webpack4-angular8-cli/dist/index.htm @@ -0,0 +1,22 @@ + + + + + + + + Hello World With The CLI, AoT, Lazy Loading Routes, Differential Loading, And Ivy In Angular 8.1.0-beta.2 + + + + + + +

+ Hello World With The CLI, AoT, Lazy Loading Routes, Differential Loading, And Ivy In Angular 8.1.0-beta.2 +

+ + + + + diff --git a/demos/webpack4-angular8-cli/dist/main-es2015.83a451f549c772e69887.js b/demos/webpack4-angular8-cli/dist/main-es2015.83a451f549c772e69887.js new file mode 100644 index 000000000..1fa219b02 --- /dev/null +++ b/demos/webpack4-angular8-cli/dist/main-es2015.83a451f549c772e69887.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{0:function(t,e,n){t.exports=n("zUnb")},"2QA8":function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",function(){return o});let r=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("ZUHj"),o=n("l7GE"),s=n("51Dv"),i=n("lJxs"),a=n("Cfvw");function c(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(c((n,r)=>Object(a.a)(t(n,r)).pipe(Object(i.a)((t,o)=>e(n,t,r,o))),n)):("number"==typeof e&&(n=e),e=>e.lift(new u(t,n)))}class u{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends o.a{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("7o/Q");class o extends r.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("n6bG"),o=n("gRHU"),s=n("quSY"),i=n("2QA8"),a=n("2fFW"),c=n("NJ4a");class u extends s.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=o.a;break;case 1:if(!t){this.destination=o.a;break}if("object"==typeof t){t instanceof u?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,t,e,n)}}[i.a](){return this}static create(t,e,n){const r=new u(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parent:t,_parents:e}=this;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this}}class l extends u{constructor(t,e,n,s){let i;super(),this._parentSubscriber=t;let a=this;Object(r.a)(e)?i=e:e&&(i=e.next,n=e.error,s=e.complete,e!==o.a&&(a=Object.create(e),Object(r.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=i,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(c.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(c.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}__tryOrSetError(t,e,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(Object(c.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"9ppp":function(t,e,n){"use strict";function r(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.d(e,"a",function(){return o}),r.prototype=Object.create(Error.prototype);const o=r},CRDf:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("kJWO");const o=t=>e=>{const n=t[r.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},Cfvw:function(t,e,n){"use strict";var r=n("HDdC"),o=n("c2HN"),s=n("I55L"),i=n("kJWO"),a=n("Lhse"),c=n("yCtX"),u=n("quSY"),l=n("a7t3"),h=n("pLzU"),d=n("CRDf"),f=n("SeVD");function p(t,e){if(!e)return t instanceof r.a?t:new r.a(Object(f.a)(t));if(null!=t){if(function(t){return t&&"function"==typeof t[i.a]}(t))return function(t,e){return new r.a(e?n=>{const r=new u.a;return r.add(e.schedule(()=>{const o=t[i.a]();r.add(o.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r}:Object(d.a)(t))}(t,e);if(Object(o.a)(t))return function(t,e){return new r.a(e?n=>{const r=new u.a;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r}:Object(l.a)(t))}(t,e);if(Object(s.a)(t))return Object(c.a)(t,e);if(function(t){return t&&"function"==typeof t[a.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a(e?n=>{const r=new u.a;let o;return r.add(()=>{o&&"function"==typeof o.return&&o.return()}),r.add(e.schedule(()=>{o=t[a.a](),r.add(e.schedule(function(){if(n.closed)return;let t,e;try{const s=o.next();t=s.value,e=s.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())}))})),r}:Object(h.a)(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}n.d(e,"a",function(){return p})},DH7j:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=Array.isArray||(t=>t&&"number"==typeof t.length)},HDdC:function(t,e,n){"use strict";var r=n("7o/Q"),o=n("2QA8"),s=n("gRHU"),i=n("kJWO"),a=n("mCNh"),c=n("2fFW");n.d(e,"a",function(){return u});const u=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:i}=this,a=function(t,e,n){if(t){if(t instanceof r.a)return t;if(t[o.a])return t[o.a]()}return t||e||n?new r.a(t,e,n):new r.a(s.a)}(t,e,n);if(a.add(i?i.call(a,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:o}=t;if(e||o)return!1;t=n&&n instanceof r.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=l(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(o){n(o),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[i.a](){return this}pipe(...t){return 0===t.length?this:Object(a.b)(t)(this)}toPromise(t){return new(t=l(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function l(t){if(t||(t=c.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},I55L:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=t=>t&&"number"==typeof t.length&&"function"!=typeof t},KqfI:function(t,e,n){"use strict";function r(){}n.d(e,"a",function(){return r})},Lhse:function(t,e,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return o});const o=r()},NJ4a:function(t,e,n){"use strict";function r(t){setTimeout(()=>{throw t})}n.d(e,"a",function(){return r})},SeVD:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var r=n("HDdC"),o=n("ngJS"),s=n("a7t3"),i=n("pLzU"),a=n("CRDf"),c=n("I55L"),u=n("c2HN"),l=n("XoHu"),h=n("Lhse"),d=n("kJWO");const f=t=>{if(t instanceof r.a)return e=>t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e);if(t&&"function"==typeof t[d.a])return Object(a.a)(t);if(Object(c.a)(t))return Object(o.a)(t);if(Object(u.a)(t))return Object(s.a)(t);if(t&&"function"==typeof t[h.a])return Object(i.a)(t);{const e=Object(l.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}}},SpAZ:function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",function(){return r})},XNiG:function(t,e,n){"use strict";var r=n("HDdC"),o=n("7o/Q"),s=n("quSY"),i=n("9ppp");class a extends s.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}var c=n("2QA8");n.d(e,"b",function(){return u}),n.d(e,"a",function(){return l});class u extends o.a{constructor(t){super(t),this.destination=t}}const l=(()=>{class t extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new u(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new i.a;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let o=0;onew h(t,e),t})();class h extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):s.a.EMPTY}}},XoHu:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return r})},ZUHj:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("51Dv"),o=n("SeVD");function s(t,e,n,s,i=new r.a(t,n,s)){if(!i.closed)return Object(o.a)(e)(i)}},a7t3:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("NJ4a");const o=t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e)},bHdf:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("5+tZ"),o=n("SpAZ");function s(t=Number.POSITIVE_INFINITY){return Object(r.a)(o.a,t)}},c2HN:function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return r})},fXoL:function(t,e,n){"use strict";var r=n("XNiG"),o=n("quSY"),s=n("HDdC"),i=n("z+Ro"),a=n("bHdf"),c=n("yCtX"),u=n("7o/Q");function l(){return function(t){return t.lift(new h(t))}}class h{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new d(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}class d extends u.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}const f=class extends s.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new o.a).add(this.source.subscribe(new g(this.getSubject(),this))),t.closed?(this._connection=null,t=o.a.EMPTY):this._connection=t),t}refCount(){return l()(this)}}.prototype,p={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:f._subscribe},_isComplete:{value:f._isComplete,writable:!0},getSubject:{value:f.getSubject},connect:{value:f.connect},refCount:{value:f.refCount}};class g extends r.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function m(){return new r.a}n.d(e,"g",function(){return Hg}),n.d(e,"ab",function(){return Rg}),n.d(e,"G",function(){return Ng}),n.d(e,"bb",function(){return Ur}),n.d(e,"db",function(){return Hr}),n.d(e,"c",function(){return qp}),n.d(e,"L",function(){return Gp}),n.d(e,"K",function(){return Wp}),n.d(e,"b",function(){return Jp}),n.d(e,"d",function(){return zp}),n.d(e,"e",function(){return Bp}),n.d(e,"cb",function(){return em}),n.d(e,"V",function(){return Cg}),n.d(e,"fb",function(){return Og}),n.d(e,"B",function(){return Kp}),n.d(e,"f",function(){return om}),n.d(e,"q",function(){return Uf}),n.d(e,"p",function(){return Ss}),n.d(e,"Q",function(){return uo}),n.d(e,"R",function(){return co}),n.d(e,"h",function(){return k}),n.d(e,"a",function(){return ee}),n.d(e,"m",function(){return re}),n.d(e,"k",function(){return Np}),n.d(e,"n",function(){return jp}),n.d(e,"s",function(){return Mp}),n.d(e,"t",function(){return Hp}),n.d(e,"y",function(){return Pp}),n.d(e,"J",function(){return Dp}),n.d(e,"M",function(){return Rp}),n.d(e,"C",function(){return $p}),n.d(e,"Y",function(){return ue}),n.d(e,"W",function(){return Lh}),n.d(e,"Fb",function(){return R}),n.d(e,"Gb",function(){return P}),n.d(e,"v",function(){return Nt}),n.d(e,"x",function(){return Yt}),n.d(e,"Nb",function(){return ct}),n.d(e,"w",function(){return W}),n.d(e,"u",function(){return x}),n.d(e,"I",function(){return E}),n.d(e,"S",function(){return T}),n.d(e,"r",function(){return I}),n.d(e,"H",function(){return mg}),n.d(e,"N",function(){return Hh}),n.d(e,"O",function(){return Dh}),n.d(e,"P",function(){return Mh}),n.d(e,"j",function(){return ig}),n.d(e,"l",function(){return Ch}),n.d(e,"o",function(){return Rh}),n.d(e,"D",function(){return Eh}),n.d(e,"F",function(){return xh}),n.d(e,"E",function(){return Lg}),n.d(e,"T",function(){return qg}),n.d(e,"U",function(){return od}),n.d(e,"X",function(){return id}),n.d(e,"i",function(){return Xh}),n.d(e,"z",function(){return Yh}),n.d(e,"A",function(){return Kh}),n.d(e,"Z",function(){return Pc}),n.d(e,"eb",function(){return nm}),n.d(e,"qb",function(){return Dc}),n.d(e,"hb",function(){return Yp}),n.d(e,"gb",function(){return Mt}),n.d(e,"kb",function(){return io}),n.d(e,"lb",function(){return fo}),n.d(e,"mb",function(){return Fr}),n.d(e,"pb",function(){return Q}),n.d(e,"tb",function(){return Rc}),n.d(e,"vb",function(){return L}),n.d(e,"rb",function(){return gl}),n.d(e,"sb",function(){return pl}),n.d(e,"ob",function(){return vd}),n.d(e,"nb",function(){return bd}),n.d(e,"ib",function(){return pd}),n.d(e,"jb",function(){return gd}),n.d(e,"Ab",function(){return Zc}),n.d(e,"Db",function(){return _e}),n.d(e,"Eb",function(){return ke}),n.d(e,"Ib",function(){return Ae}),n.d(e,"Hb",function(){return Ee}),n.d(e,"Jb",function(){return $u}),n.d(e,"Ob",function(){return Fu}),n.d(e,"Ub",function(){return Oe}),n.d(e,"yb",function(){return vh}),n.d(e,"wb",function(){return ah}),n.d(e,"xb",function(){return nh}),n.d(e,"Mb",function(){return sl}),n.d(e,"Kb",function(){return al}),n.d(e,"Pb",function(){return ml}),n.d(e,"Yb",function(){return Hl}),n.d(e,"Sb",function(){return ep}),n.d(e,"Cb",function(){return ip}),n.d(e,"Qb",function(){return up}),n.d(e,"Lb",function(){return il}),n.d(e,"Rb",function(){return zc}),n.d(e,"zb",function(){return Ac}),n.d(e,"Wb",function(){return Ju}),n.d(e,"Vb",function(){return tl}),n.d(e,"Bb",function(){return el}),n.d(e,"Xb",function(){return nl}),n.d(e,"ub",function(){return bf}),n.d(e,"Tb",function(){return mo});const y="__annotations__",v="__parameters__",b="__prop__metadata__";function w(t,e,n,r,o){const s=_(e);function i(...t){if(this instanceof i)return s.call(this,...t),this;const e=new i(...t);return function(n){return o&&o(n,...t),(n.hasOwnProperty(y)?n[y]:Object.defineProperty(n,y,{value:[]})[y]).push(e),r&&r(n),n}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}function _(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}function S(t,e,n){const r=_(e);function o(...t){if(this instanceof o)return r.apply(this,t),this;const e=new o(...t);return n.annotation=e,n;function n(t,n,r){const o=t.hasOwnProperty(v)?t[v]:Object.defineProperty(t,v,{value:[]})[v];for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(e),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function C(t,e,n,r){const o=_(e);function s(...t){if(this instanceof s)return o.apply(this,t),this;const e=new s(...t);return function(n,o){const s=n.constructor,i=s.hasOwnProperty(b)?s[b]:Object.defineProperty(s,b,{value:{}})[b];i[o]=i.hasOwnProperty(o)&&i[o]||[],i[o].unshift(e),r&&r(n,o,...t)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s}const x=S("Inject",t=>({token:t})),E=S("Optional"),O=S("Self"),T=S("SkipSelf"),I=S("Host"),k=S("Attribute",t=>({attributeName:t}));var A=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function j(t){for(let e in t)if(t[e]===j)return e;throw Error("Could not find renamed property on target object.")}function N(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function R(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function P(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function D(t){const e=t[H];return e&&e.token===t?e:null}function M(t){return t&&t.hasOwnProperty(U)?t[U]:null}const H=j({ngInjectableDef:j}),U=j({ngInjectorDef:j});function L(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(L).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}const V=j({__forward_ref__:j});function $(t){return t.__forward_ref__=$,t.toString=function(){return L(this())},t}function F(t){const e=t;return"function"==typeof e&&e.hasOwnProperty(V)&&e.__forward_ref__===$?e():t}const z="undefined"!=typeof globalThis&&globalThis,B="undefined"!=typeof window&&window,q="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global,Q=z||Z||B||q;function G(){const t=Q.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}class W{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=R({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const J=new W("INJECTOR",-1),Y=new Object,K="ngTempTokenPath",X="ngTokenPath",tt=/\n/gm,et="\u0275",nt="__source",rt=j({provide:String,useValue:j});let ot,st=void 0;function it(t){const e=st;return st=t,e}function at(t){const e=ot;return ot=t,e}function ct(t,e=A.Default){return(ot||function(t,e=A.Default){if(void 0===st)throw new Error("inject() must be called from an injection context");return null===st?ut(t,void 0,e):st.get(t,e&A.Optional?null:void 0,e)})(t,e)}function ut(t,e,n){const r=D(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&A.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${L(t)}]`)}function lt(t){const e=[];for(let n=0;nnew t(...e)}_zipTypesAndAnnotations(t,e){let n;n=void 0===t?new Array(e.length):new Array(t.length);for(let r=0;rt&&t.type),r=t.map(t=>t&&wt(t.decorators));return this._zipTypesAndAnnotations(e,r)}const r=t.hasOwnProperty(v)&&t[v],o=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return o||r?this._zipTypesAndAnnotations(o,r):new Array(t.length).fill(void 0)}parameters(t){if(!pt(t))return[];const e=_t(t);let n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]}_ownAnnotations(t,e){if(t.annotations&&t.annotations!==e.annotations){let e=t.annotations;return"function"==typeof e&&e.annotations&&(e=e.annotations),e}return t.decorators&&t.decorators!==e.decorators?wt(t.decorators):t.hasOwnProperty(y)?t[y]:null}annotations(t){if(!pt(t))return[];const e=_t(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)}_ownPropMetadata(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){let e=t.propMetadata;return"function"==typeof e&&e.propMetadata&&(e=e.propMetadata),e}if(t.propDecorators&&t.propDecorators!==e.propDecorators){const e=t.propDecorators,n={};return Object.keys(e).forEach(t=>{n[t]=wt(e[t])}),n}return t.hasOwnProperty(b)?t[b]:null}propMetadata(t){if(!pt(t))return{};const e=_t(t),n={};if(e!==Object){const t=this.propMetadata(e);Object.keys(t).forEach(e=>{n[e]=t[e]})}const r=this._ownPropMetadata(t,e);return r&&Object.keys(r).forEach(t=>{const e=[];n.hasOwnProperty(t)&&e.push(...n[t]),e.push(...r[t]),n[t]=e}),n}ownPropMetadata(t){return pt(t)&&this._ownPropMetadata(t,_t(t))||{}}hasLifecycleHook(t,e){return t instanceof ft&&e in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${L(t)}`}resourceUri(t){return`./${L(t)}`}resolveIdentifier(t,e,n,r){return r}resolveEnum(t,e){return t[e]}}function wt(t){return t?t.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function _t(t){const e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}let St=null;function Ct(){return St=St||new bt}function xt(t){return Et(Ct().parameters(t))}function Et(t){const e=G();return t.map(t=>(function(t,e){const n={token:null,host:!1,optional:!1,resolved:t.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(e){n.resolved=t.R3ResolvedDependencyType.Token,n.token=e}if(Array.isArray(e)){if(0===e.length)throw new Error("Dependency array must have arguments.");for(let o=0;o{if(null===n){const r=e||{providedIn:null},o=It(r)||At(r)||kt(r)||jt(r),s={name:t.name,type:t,typeArgumentCount:0,providedIn:r.providedIn,ctorDeps:xt(t),userDeps:void 0};if((It(r)||At(r))&&void 0!==r.deps&&(s.userDeps=Et(r.deps)),o)if(It(r))s.useClass=r.useClass;else if(kt(r))s.useValue=r.useValue;else if(At(r))s.useFactory=r.useFactory;else{if(!jt(r))throw new Error("Unreachable state.");s.useExisting=r.useExisting}else s.useClass=t;n=G().compileInjectable(dt,`ng:///${t.name}/ngInjectableDef.js`,s)}return n}})}const Tt=j({provide:String,useValue:j});function It(t){return void 0!==t.useClass}function kt(t){return Tt in t}function At(t){return void 0!==t.useFactory}function jt(t){return void 0!==t.useExisting}const Nt=w("Injectable",void 0,void 0,void 0,(t,e)=>Rt(t,e)),Rt=Ot;function Pt(t){throw new Error(`Multiple components match node with tagname ${t.tagName}`)}function Dt(){throw new Error("Cannot mix multi providers and regular providers")}const Mt=new W("The presence of this token marks an injector as being the root injector."),Ht={},Ut={},Lt=[];let Vt=void 0;function $t(){return void 0===Vt&&(Vt=new ht),Vt}function Ft(t,e=null,n=null,r){return e=e||$t(),new zt(t,n,e,r)}class zt{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];Qt([t],t=>this.processInjectorType(t,[],o)),e&&Qt(e,n=>this.processProvider(n,t,e)),this.records.set(J,Zt(void 0,this)),this.isRootInjector=this.records.has(Mt),this.injectorDefTypes.forEach(t=>this.get(t)),this.source=r||("object"==typeof t?null:L(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Y,n=A.Default){this.assertNotDestroyed();const r=it(this);try{if(!(n&A.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof W)&&D(t);n&&this.injectableDefInScope(n)&&(e=Zt(Bt(t),Ht),this.records.set(t,e))}if(void 0!==e)return this.hydrate(t,e)}return(n&A.Self?$t():this.parent).get(t,n&A.Optional?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[K]=s[K]||[]).unshift(L(t)),r)throw s;return function(t,e,n,r){const o=t[K];throw e[nt]&&o.unshift(e[nt]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==et?t.substr(2):t;let o=L(e);if(e instanceof Array)o=e.map(L).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):L(r)))}o=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(tt,"\n ")}`}("\n"+t.message,o,n,r),t[X]=o,t[K]=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{it(r)}var o}toString(){const t=[];return this.records.forEach((e,n)=>t.push(L(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=F(t)))return!1;let r=M(t);const o=null==r&&t.ngModule||void 0,s=void 0===o?t:o,i=-1!==n.indexOf(s);if(void 0!==o&&(r=M(o)),null==r)return!1;if(this.injectorDefTypes.add(s),this.records.set(s,Zt(r.factory,Ht)),null!=r.imports&&!i){let t;n.push(s);try{Qt(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||Lt))}}const a=r.providers;if(null!=a&&!i){const e=t;Qt(a,t=>this.processProvider(t,e,a))}return void 0!==o&&void 0!==t.providers}processProvider(t,e,n){let r=Wt(t=F(t))?t:F(t&&t.provide);const o=function(t,e,n){let r=qt(t,e,n);return Gt(t)?Zt(void 0,t.useValue):Zt(r,Ht)}(t,e,n);if(Wt(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&Dt()}else{let e=this.records.get(r);e?void 0===e.multi&&Dt():((e=Zt(void 0,Ht,!0)).factory=()=>lt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,o)}hydrate(t,e){var n;return e.value===Ut?function(t){throw new Error(`Cannot instantiate cyclic dependency! ${t}`)}(L(t)):e.value===Ht&&(e.value=Ut,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||"root"===t.providedIn&&this.isRootInjector:this.injectorDefTypes.has(t.providedIn))}}function Bt(t){const e=D(t);if(null!==e)return e.factory;const n=M(t);if(null!==n)return n.factory;if(t instanceof W)throw new Error(`Token ${L(t)} is missing an ngInjectableDef definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=new Array(e).fill("?");throw new Error(`Can't resolve all parameters for ${L(t)}: (${n.join(", ")}).`)}const n=(r=t)&&r[H]?(console.warn(`DEPRECATED: DI is instantiating a token "${r.name}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${r.name}" class.`),r[H]):null;var r;return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function qt(t,e,n){let r=void 0;if(Wt(t))return Bt(F(t));if(Gt(t))r=()=>F(t.useValue);else if((o=t)&&o.useExisting)r=()=>ct(F(t.useExisting));else if(t&&t.useFactory)r=()=>t.useFactory(...lt(t.deps||[]));else{const o=F(t&&(t.useClass||t.provide));if(o||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${L(t)}'`+r)}(e,n,t),!t.deps)return Bt(o);r=()=>new o(...lt(t.deps))}var o;return r}function Zt(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Qt(t,e){t.forEach(t=>Array.isArray(t)?Qt(t,e):e(t))}function Gt(t){return null!==t&&"object"==typeof t&&rt in t}function Wt(t){return"function"==typeof t}const Jt=function(t,e,n){return Ft({name:n},e,t,n)},Yt=(()=>{class t{static create(t,e){return Array.isArray(t)?Jt(t,e,""):Jt(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Y,t.NULL=new ht,t.ngInjectableDef=R({token:t,providedIn:"any",factory:()=>ct(J)}),t.__NG_ELEMENT_ID__=-1,t})(),Kt="ngDebugContext",Xt="ngOriginalError",te="ngErrorLogger",ee=new W("AnalyzeForEntryComponents");class ne{}const re=C("ContentChildren",(t,e={})=>Object.assign({selector:t,first:!1,isViewQuery:!1,descendants:!1},e),ne),oe=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}();let se=new Map;const ie=new Set;function ae(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length)}function ce(t){return"string"==typeof t?t:t.text()}const ue=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}();function le(t){return""+{toString:t}}const he={},de=[],fe=j({ngComponentDef:j}),pe=j({ngDirectiveDef:j}),ge=j({ngPipeDef:j}),me=j({ngModuleDef:j}),ye=j({ngLocaleIdDef:j}),ve=j({ngBaseDef:j}),be=j({__NG_ELEMENT_ID__:j});let we=0;function _e(t){const e=t.type,n=e.prototype,r={},o={type:e,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===oe.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ue.Emulated,id:"c",styles:t.styles||de,_:null,setInput:null,schemas:t.schemas||null,tView:null};return o._=le(()=>{const n=t.directives,s=t.features,i=t.pipes;o.id+=we++,o.inputs=Te(t.inputs,r),o.outputs=Te(t.outputs),s&&s.forEach(t=>t(o)),o.directiveDefs=n?()=>("function"==typeof n?n():n).map(Ce):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(xe):null,e.hasOwnProperty(H)||(e[H]=R({token:e,factory:t.factory}))}),o}function Se(t,e,n){const r=t.ngComponentDef;r.directiveDefs=()=>e.map(Ce),r.pipeDefs=()=>n.map(xe)}function Ce(t){return je(t)||Ne(t)}function xe(t){return Re(t)}function Ee(t){return{type:t.type,bootstrap:t.bootstrap||de,declarations:t.declarations||de,imports:t.imports||de,exports:t.exports||de,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}}function Oe(t,e){return le(()=>{const n=De(t,!0);n.declarations=e.declarations||de,n.imports=e.imports||de,n.exports=e.exports||de})}function Te(t,e){if(null==t)return he;const n={};for(const r in t)if(t.hasOwnProperty(r)){let o=t[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,e&&(e[o]=s)}return n}function Ie(t){const e={};return{inputs:Te(t.inputs,e),declaredInputs:e,outputs:Te(t.outputs),viewQuery:t.viewQuery||null,contentQueries:t.contentQueries||null,hostBindings:t.hostBindings||null}}const ke=_e;function Ae(t){return{name:t.name,factory:t.factory,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function je(t){return t[fe]||null}function Ne(t){return t[pe]||null}function Re(t){return t[ge]||null}function Pe(t){return t[ve]||null}function De(t,e){const n=t[me]||null;if(!n&&!0===e)throw new Error(`Type ${L(t)} does not have 'ngModuleDef' property.`);return n}function Me(t){return"string"==typeof t?t:null==t?"":""+t}function He(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Me(t)}const Ue=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Q))();function Le(t){return{name:"window",target:t.ownerDocument.defaultView}}function Ve(t){return{name:"document",target:t.ownerDocument}}function $e(t){return{name:"body",target:t.ownerDocument.body}}const Fe="\ufffd";function ze(t){return t.indexOf(Fe)>=0}function Be(t){return t instanceof Function?t():t}const qe=0,Ze=1,Qe=2,Ge=3,We=4,Je=5,Ye=6,Ke=7,Xe=8,tn=9,en=10,nn=11,rn=12,on=13,sn=14,an=15,cn=16,un=17,ln=18,hn=20;const dn=1,fn=2,pn=7,gn=8,mn="__ngContext__";function yn(t){for(;Array.isArray(t);)t=t[qe];return t}function vn(t){return Array.isArray(t)&&"object"==typeof t[dn]}function bn(t){return Array.isArray(t)&&!0===t[dn]}function wn(t){return Array.isArray(t)&&"number"==typeof t[dn]}function _n(t,e){return yn(e[t+hn])}function Sn(t,e){return yn(e[t.index])}function Cn(t,e){return e[Ze].data[t+hn]}function xn(t,e){return t[e+hn]}function En(t,e){const n=e[t];return vn(n)?n:n[qe]}function On(t){return 0!=(4&t.flags)}function Tn(t){return 1==(1&t.flags)}function In(t){return null!==t.template}function kn(t){return 0!=(512&t[Qe])}function An(t){return t[mn]}function jn(t){const e=An(t);return e?Array.isArray(e)?e:e.lView:null}function Nn(t){return bn(t[Ge])}function Rn(t){t[ln]=0}function Pn(t,e,n,r,o,s){const{onChanges:i,onInit:a,doCheck:c}=e;o>=0&&(!n.preOrderHooks||o===n.preOrderHooks.length)&&(i||a||c)&&(n.preOrderHooks||(n.preOrderHooks=[])).push(r),s>=0&&(!n.preOrderCheckHooks||s===n.preOrderCheckHooks.length)&&(i||c)&&(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(r),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)),a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,a),c&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,c),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,c))}function Dn(t,e){if(t.firstTemplatePass)for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[i]<0&&(t[ln]+=65536),(s>10>16&&(3&t[Qe])===e&&(t[Qe]+=1024,s.call(i)):s.call(i)}let Ln,Vn=null;function $n(t){Vn=t}let Fn,zn=null;function Bn(t){zn=t}function qn(){Fn=!0}function Zn(){Fn=!1}function Qn(){return Yn}const Gn=1;let Wn,Jn,Yn,Kn=Gn,Xn=0,tr=0;function er(t=null){Or!==t&&(Ir(null==t?-1:t),Kn=null==t?0:Gn,Xn=0,tr=0)}function nr(){return Kn}function rr(){Kn+=1+tr,Xn=0,tr=0}function or(t){Xn+=t,tr=Math.max(tr,Xn)}function sr(){return tr}function ir(){return Xn}function ar(t){pr=t}function cr(){return Wn}function ur(t,e){Wn=t,Jn=e}function lr(t,e){Wn=t,Yn=e}function hr(){return Jn}function dr(){Jn=!1}function fr(t=Yn){return 4==(4&t[Qe])}let pr=null,gr=!1;function mr(){return gr}function yr(t){gr=t}let vr=-1;function br(){return vr}function wr(t){vr=t}let _r=0;function Sr(){return _r}function Cr(t){_r=t}function xr(t,e){const n=Yn;return t&&(vr=t[Ze].bindingStartIndex),Wn=e,Jn=!0,Yn=pr=t,n}function Er(t){const e=Yn[Ze];if(fr(Yn))Yn[Qe]&=-5;else try{Rn(Yn),Hn(Yn,e.viewHooks,e.viewCheckHooks,gr,2,void 0)}finally{Yn[Qe]&=-73,Yn[Ke]=e.bindingStartIndex}$n(null),xr(t,null)}let Or=-1;function Tr(){return Or}function Ir(t){Or=t,$n(null)}let kr=null;function Ar(){kr="http://www.w3.org/2000/svg"}function jr(){kr="http://www.w3.org/1998/MathML/"}function Nr(){kr=null}const Rr="__SANITIZER_TRUSTED_BRAND__";function Pr(t,e){return t instanceof String&&t[Rr]===e}let Dr=!0,Mr=!1;function Hr(){return Mr=!0,Dr}function Ur(){if(Mr)throw new Error("Cannot enable prod mode after platform setup.");Dr=!1}class Lr{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t=""+t+"";try{t=encodeURI(t)}catch(r){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t=""+t+"";try{const n=(new window.DOMParser).parseFromString(t,"text/html").body;return n.removeChild(n.firstChild),n}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0Fr(t.trim())).join(", ")}function Br(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function qr(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Zr=Br("area,br,col,hr,img,wbr"),Qr=Br("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Gr=Br("rp,rt"),Wr=qr(Gr,Qr),Jr=qr(Zr,qr(Qr,Br("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")),qr(Gr,Br("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")),Wr),Yr=Br("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Kr=Br("srcset"),Xr=qr(Yr,Kr,Br("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"),Br("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),to=Br("script,style,template");class eo{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Jr.hasOwnProperty(e))return this.sanitizedSomething=!0,!to.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();Jr.hasOwnProperty(e)&&!Zr.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(oo(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const no=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ro=/([^\#-~ |!])/g;function oo(t){return t.replace(/&/g,"&").replace(no,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ro,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let so;function io(t,e){let n=null;try{so=so||new Lr(t);let r=e?String(e):"";n=so.getInertBodyElement(r);let o=5,s=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=s,s=n.innerHTML,n=so.getInertBodyElement(r)}while(r!==s);const i=new eo,a=i.sanitizeChildren(ao(n)||n);return Hr()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=ao(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function ao(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const co=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}();class uo{}const lo=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"),ho=/^url\(([^)]+)\)$/;function fo(t){if(!(t=String(t).trim()))return"";const e=t.match(ho);return e&&Fr(e[1])===e[1]||t.match(lo)&&function(t){let e=!0,n=!0;for(let r=0;rdocument};function Ao(t,e,n){return{lView:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}function jo(t,e){t[mn]=e}function No(t,e){let n=t[Ze].firstChild;for(;n;){if(Sn(n,t)===e)return n.index;n=Ro(n)}return-1}function Ro(t){if(t.child)return t.child;if(t.next)return t.next;for(;t.parent&&!t.parent.next;)t=t.parent;return t.parent&&t.parent.next}class Po{constructor(){this._players=[]}flushPlayers(){for(let t=0;t=0&&-1===o[a]&&(o[a]=n,o[s+1]=r||null)}function Lo(t,e){let n=t,r=e[n],o=e;for(;Array.isArray(r);)o=r,r=r[qe];if(wn(o))return o;{const s=Cn(t-hn,e).stylingTemplate;return o!==e&&(n=qe),o[n]=s?function(t,e){const n=e.slice();for(let r=0;r<10;r++){const t=e[r];Array.isArray(t)&&(n[r]=t.slice())}return n[0]=t,n[1]|=16,n}(r,s):Ho(r)}}function Vo(t){return t[0]===Mo}function $o(t){return 0!=(8&t.flags)}function Fo(t){return 0!=(16&t.flags)}function zo(t,e,n,r,o,s){return s=s||n,o?t[o]=r:t.push(r),!!r&&(r.addEventListener(200,()=>{const e=t.indexOf(r);e&&(e>16}function Jo(t,e){let n=Wo(t),r=e;for(;n>0;)r=r[un],n--;return r}function Yo(t){const e=t[Ge];return bn(e)?e[Ge]:e}function Ko(t){let e=t[Ye];for(;null!==e&&2===e.type;)e=(t=t[un])[Ye];return t}function Xo(t){return function(t){let e=vn(t)?t:jn(t);for(;e&&!(512&e[Qe]);)e=Yo(e);return e}(t)[tn]}let ts=!0;function es(t){const e=ts;return ts=t,e}const ns=255;let rs=0;function os(t,e){const n=is(t,e);if(-1!==n)return n;const r=e[Ze];r.firstTemplatePass&&(t.injectorIndex=e.length,ss(r.data,t),ss(e,null),ss(r.blueprint,null));const o=as(t,e),s=Go(o),i=Jo(o,e),a=t.injectorIndex;if(Qo(o)){const t=i[Ze].data;for(let n=0;n<8;n++)e[a+n]=i[s+n]|t[s+n]}return e[a+Co]=o,a}function ss(t,e){t.push(0,0,0,0,0,0,0,0,e)}function is(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+Co]?-1:t.injectorIndex}function as(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[Ye],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[un])?e[Ye]:null,r++;return n?n.injectorIndex|r<<16:-1}function cs(t,e,n){!function(t,e,n){let r="string"!=typeof n?n[be]:n.charCodeAt(0)||0;null==r&&(r=n[be]=rs++);const o=r&ns,s=1<0?e&ns:e}(n);if("function"==typeof o){const s=cr(),i=Qn();lr(t,e);try{const t=o();if(null!=t||r&A.Optional)return t;throw new Error(`No provider for ${He(n)}!`)}finally{lr(s,i)}}else if("number"==typeof o){if(-1===o)return new ms(t,e);let s=null,i=is(t,e),a=Eo,c=r&A.Host?Ko(e)[Ye]:null;for((-1===i||r&A.SkipSelf)&&(a=-1===i?as(t,e):e[i+Co],gs(r,!1)?(s=e[Ze],i=Go(a),e=Jo(a,e)):i=-1);-1!==i;){a=e[i+Co];const t=e[Ze];if(ps(o,i,t.data)){const t=hs(i,e,n,s,r,c);if(t!==ls)return t}gs(r,e[Ze].data[i+So]===c)&&ps(o,i,e)?(s=t,i=Go(a),e=Jo(a,e)):i=-1}}}if(r&A.Optional&&void 0===o&&(o=null),0==(r&(A.Self|A.Host))){const t=e[en],s=at(void 0);try{return t?t.get(n,o,r&A.Optional):ut(n,o,r&A.Optional)}finally{at(s)}}if(r&A.Optional)return o;throw new Error(`NodeInjector: NOT_FOUND [${He(n)}]`)}const ls={};function hs(t,e,n,r,o,s){const i=e[Ze],a=i.data[t+So],c=ds(a,e,n,null==r?Tn(a)&&ts:r!=i&&3===a.type,o&A.Host&&s===a);return null!==c?fs(i.data,e,c,a):ls}function ds(t,e,n,r,o){const s=t.providerIndexes,i=e[Ze].data,a=65535&s,c=t.directiveStart,u=s>>16,l=o?a+u:t.directiveEnd;for(let h=r?a:a+u;h=c&&t.type===n)return h}if(o){const t=i[c];if(t&&In(t)&&t.type===n)return c}return null}function fs(t,e,n,r){let o=e[n];if(null!==(s=o)&&"object"==typeof s&&Object.getPrototypeOf(s)==Oo.prototype){const s=o;if(s.resolving)throw new Error(`Circular dep for ${He(t[n])}`);const i=es(s.canSeeViewProviders);let a;s.resolving=!0,s.injectImpl&&(a=at(s.injectImpl));const c=cr(),u=Qn();lr(r,e);try{o=e[n]=s.factory(null,t,e,r)}finally{s.injectImpl&&at(a),es(i),s.resolving=!1,lr(c,u)}}var s;return o}function ps(t,e,n){const r=64&t,o=32&t;let s;return!!((s=128&t?r?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:r?o?n[e+3]:n[e+2]:o?n[e+1]:n[e])&1<new t}function bs(t){return t[Kt]}function ws(t){return t[Xt]}function _s(t,...e){t.error(...e)}class Ss{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[te]||_s}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?bs(t)?bs(t):this._findContext(ws(t)):null}_findOriginalError(t){let e=ws(t);for(;e&&ws(e);)e=ws(e);return e}}const Cs={};function xs(t,e,n,r){const o=t[8];if(null!=o){const t=function(t,e){for(let n=1;ne)return n;return t.length}(o,e);o.splice(t,0,e,n,r)}}class Es{constructor(t,e){this.fn=t,this.value=e}}function Os(t,e,n=0){const r=Ho();return Ts(r,t,e,n),r}function Ts(t,e,n,r){if(16&t[1])return;Uo(t,r);let o=null,s=null,i=-1;for(let a=n;a=f;for(let r=b;r=10?e+0:e;n?t[r]|=1:t[r]&=-2}function $s(t,e){return 1==(1&t[e>=10?e+0:e])}function Fs(t,e){return 2==(2&t[e>=10?e+0:e])}function zs(t,e){return 4==(4&t[e>=10?e+0:e])}function Bs(t,e,n){return 31&t|e<<5|n<<19}function qs(t,e){const n=Zs(e);return(2&e?t[4]:t[3])[n]}function Zs(t){return t>>5&16383}function Qs(t){const e=t>>19&16383;return e>=10?e:-1}function Gs(t){return t[6][2]}function Ws(t){return t[7][2]}function Js(t,e,n){t[e+1]=n}function Ys(t,e,n){t[e+2]=n}function Ks(t,e,n){const r=t[9];if(e){if(!r||0===n)return!0}else if(!r)return!1;return r[n]!==e}function Xs(t,e,n){let r=t[9]||(t[9]=[5,null,null,null,null]);return n>0?r[n]=e:(r.splice(n=r[0],0,e,null),r[0]+=2),n}function ti(t,e,n,r){const o=function(t,e){return n<<16|t}(r);t[e+3]=o}function ei(t,e){return t[e+3]>>16&65535}function ni(t,e){const n=ei(t,e);if(n){const e=t[9];if(e)return e[n]}return null}function ri(t,e,n){t[1===e?e:e+0]=n}function oi(t,e){return t[1===e?e:e+0]}function si(t,e){return t[e+2]}function ii(t,e){return t[e+1]}function ai(t,e){Vs(t,1,e)}function ci(t,e){e?t[1]|=8:t[1]&=-9}function ui(t,e,n){if(e===n)return;const r=si(t,e),o=ii(t,e),s=oi(t,e),i=ei(t,e),a=mi(t,e);let c=s,u=oi(t,n);const l=Qs(c);if(l>=0){const e=oi(t,l);ri(t,l,Bs(e,Zs(e),n))}const h=Qs(u);if(h>=0){const n=oi(t,h);ri(t,h,Bs(n,Zs(n),e))}Ys(t,e,si(t,n)),Js(t,e,ii(t,n)),ri(t,e,oi(t,n)),ti(t,e,ei(t,n),mi(t,n)),Ys(t,n,r),Js(t,n,o),ri(t,n,s),ti(t,n,i,a)}function li(t,e,n,r,o,s,i,a){const c=e0){const n=Zs(oi(t,e));ri(t,e,Bs(($s(t,e)?1:0)|(Fs(t,e)?2:0)|(zs(t,e)?4:0),n,r))}}}(t)}function hi(t,e){return null!==t}function di(t,e,n,r){let o,s=r&&r(e,null,1)?4:0;return n?(s|=2,o=yi(t[4],e)):o=yi(t[3],e),Bs(s,o=o>0?o+1:0,0)}function fi(t,e,n){const r=qs(t,e);return!r||pi(e,r,n)}function pi(t,e,n){return!(2&t)&&e&&n&&4&t?e.toString()!==n.toString():e!==n}class gi{constructor(t,e,n){this._element=e,this._type=n,this._values={},this._dirty=!1,this._factory=t}setValue(t,e){this._values[t]!==e&&(this._values[t]=e,this._dirty=!0)}buildPlayer(t,e){if(this._dirty){const n=this._factory.fn(this._element,this._type,this._values,e,t||null);return this._values={},this._dirty=!1,n}}}function mi(t,e){return 65535&t[e+3]}function yi(t,e){for(let n=2;n`${t.charAt(0)}-${t.charAt(1).toLowerCase()}`)}function xi(t,e,n,r,o=0){const s=t[n?6:7];if(e>0){const t=1+4*e;for(;s.length0&&" "!==t[r-1]||os?"":o[l+1];const e=8&r?t:null;if(e&&!Ti(e,u)||2&r&&u!==t){if(Ai(r))return!1;i=!0}}}}else{if(!i&&!Ai(r)&&!Ai(c))return!1;if(i&&Ai(c))continue;i=!1,r=c|1&r}}return Ai(r)||i}function Ai(t){return 0==(1&t)}function ji(t){return t.stylingTemplate?_i(t.stylingTemplate):""}function Ni(t,e,n,r){if(null===e)return-1;let o=0;if(r||!n){let n=!1;for(;o-1)for(n++;n0}function Vi(t){Hi=t}function $i(){return Hi}const Fi="--MAP--";function zi(t,e,n,r){return ii(t,vi(t,n,e,r))}function Bi(t,e){t[1]=e}function qi(t){return t[0]}function Zi(t,e){return t[e+2]}function Qi(t,e){return 1&t[e+0]}function Gi(t,e){return(1&Qi(t,e))>0}function Wi(t,e){return t[e+0]>>1}function Ji(t,e,n){const r=Qi(t,e);t[e+0]=r|n<<1}function Yi(t,e){return t[e+1]}function Ki(t,e,n){return t[e+3+n]}function Xi(t,e){return e===t[1]}function ta(t){!function(t,e){t[0]=e}(t,1|qi(t))}function ea(t){return(1&qi(t))>0}function na(t){return 5+t[3]}function ra(t,e){return(Array.isArray(t)?t[0]:t)!==(Array.isArray(e)?e[0]:e)}function oa(t){return null!=t&&""!==t}function sa(t){const e=$i()||t[on];return e&&"function"!=typeof e?(Vi(e),ia):e}const ia=(t,e,n)=>{const r=$i();return r?!(2&n)||r.sanitize(co.STYLE,e):e},aa=null,ca=1,ua=1,la=0,ha=1;let da=ha,fa=ha,pa=0,ga=0,ma=[];function ya(t,e,n,r,o,s,i){const a=n?fa++:la;(ba(t,e,a,n,r,o,s,i,!1)||i)&&(ga|=1<0?1:0;let h=na(t);for(;h{r?(r=r.toString(),t&&Io(t)?t.setStyle(e,n,r,To.DashCase):e.style.setProperty(n,r)):t&&Io(t)?t.removeStyle(e,n,To.DashCase):e.style.removeProperty(n)},Ta=(t,e,n,r)=>{""!==n&&(r?t&&Io(t)?t.addClass(e,n):e.classList.add(n):t&&Io(t)?t.removeClass(e,n):e.classList.remove(n))},Ia=(t,e,n,r,o,s,i,a,c)=>{let u=!1;if(Yi(t,2)){let l=!0;const h=!a;h&&-2&i&&(l=!1,u=!0),l&&(u=function t(e,n,r,o,s,i,a,c,u,l){let h=!1;if(u=ja.length&&ja.push(1),ja[t]}(u);for(;pc,y=!m&&g===c,v=f[p+1],b=oa(v);let w=t(e,n,r,o,s,i,m?a:ka(a,b,y),m?c:g,u+1,l);if(m)break;if(!w&&Aa(a,y)){const t=y&&!b,e=t?l:v,o=t?d:null;s(n,r,g,i?i(g,e,3):e,o),w=!0}h=w&&y,p+=2}ja[u]=p}return h}(t,e,n,r,o,s,i,a||null,0,c||null)),h&&function(){for(let t=0;t0;return n?4&t&&e&&(n=!1):2&t&&(n=e),n}const ja=[];function Na(t,e){return t[e+0]}function Ra(t,e,n){t[e+1]=n}function Pa(t){Da(Qn(),t)}function Da(t,e){Mn(t,t[Ze],mr(),e),Ir(e)}const Ma=(()=>Promise.resolve(null))();function Ha(t){const e=t[Ze],n=fr(t);if(e.firstTemplatePass=!1,t[Ke]=e.bindingStartIndex,!n){const n=mr();Mn(t,e,n,void 0),function(t){for(let e=t[sn];null!==e;e=e[We])if(-1===e[fn]&&bn(e))for(let t=gn;t=0&&(e.stylingTemplate=Os(n,t))}}function Ga(t,e,n){if(On(e)){const r=e.directiveEnd;for(let o=e.directiveStart;oo){const t=0===e,i=n.data;for(let e=o;e=s.length)&&(s=function(t,e,n){const r=n.initialInputs||(n.initialInputs=[]);for(let i=r.length;i<=t;i++)r.push(null);const o=n.attrs;let s=0;for(;s=2&&r[o-2]===e.hostBindings?r[o-1]=r[o-1]+n:r.push(e.hostBindings,n)}(n,zn,t),function(t,e,n){for(let r=0;r0&&(e[r-1][We]=t),n0&&(t[n-1][We]=r[We]),t.splice(gn+e,1),yu(r,!1),128&r[Qe]&&!(256&r[Qe])&&r[Je]&&r[Je].removeView(),r[Ge]=null,r[We]=null,r[Qe]&=-129),r}function wu(t,e){const n=bu(t,e);n&&_u(n)}function _u(t){if(!(256&t[Qe])){const e=t[rn];Io(e)&&e.destroyNode&&pu(t,2,e,null),function(t){let e=t[sn];if(!e)return Cu(t);for(;e;){let n=null;if(vn(e))n=e[sn];else{const t=e[gn];t&&(n=t)}if(!n){for(;e&&!e[We]&&e!==t;)Cu(e),e=Su(e,t);Cu(e||t),n=e&&e[We]}e=n}}(t)}}function Su(t,e){let n;return vn(t)&&(n=t[Ye])&&2===n.type?hu(n,t):t[Ge]===e?null:t[Ge]}function Cu(t){if(vn(t)&&!(256&t[Qe])){t[Qe]&=-129,t[Qe]|=256,function(t){const e=t[Ze];let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?n[a]():n[-a].unsubscribe(),r+=2}else e[r].call(n[e[r+1]]);t[Xe]=null}}(t);const e=t[Ye];e&&3===e.type&&Io(t[rn])&&t[rn].destroy(),Nn(t)&&t[Je]&&t[Je].removeView()}}function xu(t,e,n,r){Io(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Eu(t,e,n,r){r?xu(t,e,n,r):function(t,e,n){Io(t)?t.appendChild(e,n):e.appendChild(n)}(t,e,n)}function Ou(t,e){return Io(t)?t.parentNode(e):e.parentNode}function Tu(t,e,n){const r=function(t,e){if(kn(e))return Ou(e[rn],Sn(t,e));const n=function(t){for(;null!=t.parent&&(4===t.parent.type||5===t.parent.type);)t=t.parent;return t}(t),r=n.parent;if(null==r){const t=e[Ye];return 2===t.type?du(t,e):function(t){const e=t[Ye];return e&&3===e.type?Sn(e,Yo(t)):null}(e)}{const t=n&&5===n.type;if(t&&2&n.flags)return Sn(n,e).parentNode;if(1&r.flags&&!t){const t=e[Ze].data,n=t[t[r.index].directiveStart].encapsulation;if(n!==ue.ShadowDom&&n!==ue.Native)return null}return Sn(r,e)}}(e,n);if(null!=r){const o=n[rn],s=function(t,e){if(2===t.type){const n=hu(t,e);return Iu(n.indexOf(e,gn)-gn,n)}return 4===t.type||5===t.type?Sn(t,e):null}(e.parent||n[Ye],n);if(Array.isArray(t))for(let e of t)Eu(o,r,e,s);else Eu(o,r,t,s)}}function Iu(t,e){const n=gn+t+1;if(n=r.data.length&&(r.data[o]=null,r.blueprint[o]=null),n[o]=e}function Lu(t){return xn(pr,t)}function Vu(t){return xn(Qn(),t)}function $u(t,e=A.Default){t=F(t);const n=Qn();return null==n?ct(t,e):us(cr(),n,t,e)}function Fu(t){return function(t,e){const n=t.attrs;if(n){const t=n.length;let r=0;for(;r0;if(n)ya(Gu(i),o,t,s,e,a,!1);else{const n=sa(o);va(Qu(i),o,t,s,e,n,a,!1)}}function qu(t,e){Ea=Ia;const n=Tr(),r=Qn(),o=r[Ke]++;if(t!==Cs){const s=Cn(n,r),i=sr()>0,a=r[o],c=ra(a,t),u=function(t,e){const n=Array.isArray(t)?t:[null];n[0]=e||null;for(let i=1;i{Yu(r,t,e,n,o),function(t,e){let n=t[8];n||(n=t[8]=[Do]),n[0]=e}(r.stylingTemplate,o)})):Yu(r,t,e,n,Do)}function Yu(t,e,n,r,o){!function(t,e,n,r,o){if(16&t[1])return;if(!function(t,e,n,r){const o=t[2],s=2*e;return!(s=0||(Uo(t,e,t[5].length,r),0))}(t,e,0,o))return;r&&(r=function(t){const e=[];for(let n=0;n=d,n=O>=(e?f:h),r=oi(t,O),o=Zs(r);let s=Qs(r);ri(t,O,Bs(r,o,s+=e?n?4*m.length:0:4*b+4*(n?m.length:0)))}for(let O=0;O<4*m.length;O++)t.splice(f,0,null),t.splice(h,0,null),h++,d++,f+=2;for(let O=0;O<4*y.length;O++)t.splice(d,0,null),t.push(null),d++,f++;const w=t[4],_=t[3];for(let O=0;O=m.length,r=n?O-m.length:O,s=n?y[r]:m[r];let c,u;n?(c=f+4*(i+r),u=h+4*(i+r)):(c=d+4*(a+r),u=10+4*(a+r));let l=n?w:_,p=yi(l,s);-1===p?p=Ei(null,l,s,!n&&null,e)+1:p+=1;const g=di(t,s,n,o||null);ri(t,u,Bs(g,p,c)),Js(t,u,s),Ys(t,u,null),ti(t,u,0,e),ri(t,c,Bs(g,p,u)),Js(t,c,s),Ys(t,c,null),ti(t,c,0,e)}s[1]=i+y.length,s[0]=a+m.length,c[0]+=y.length,u[0]+=m.length;const S=4*m.length,C=4*y.length,x=u.length;xi(t,e,!1,d+4*a,m.length);for(let O=1;O0&&function(t,e){const n=0===t.flags;if(t.flags|=2,n&&t.clean==Ma){let e;t.clean=new Promise(t=>e=t),t.scheduler(()=>{if(1&t.flags&&(t.flags&=-2,mc(t)),2&t.flags){t.flags&=-3;const e=t.playerHandler;e&&e.flushPlayers()}t.clean=Ma,e(null)})}}(Xo(n)),$n(null),Li()&&function(){const t=Tr(),e=Qn(),n=Cn(t,e),r=function(t,e){return 3===t.type?e[rn]:null}(n,e),o=function(t,n){let r=e[t+hn],o=e;for(;Array.isArray(r);)o=r,r=r[qe];return wn(o)?o[0]:r}(t),s=Zu();!function(t,e,n,r,o){Xi(n,o)&&(!ea(n)&&ta(n),ga&&(xa(n,t,r,e,ga,Ta,null),ga=0),fa=ha)}(r,e,Gu(n),o,s);const i=sa(e);!function(t,e,n,r,o,s){Xi(n,o)&&(!ea(n)&&ta(n),pa&&(xa(n,t,r,e,pa,Oa,s),pa=0),da=ha)}(r,e,Qu(n),o,s,i),Vi(null)}()}function rl(){return nr()+ir()}function ol(t,e){let n=Vn;return n||$n(n=Lo(t+hn,e)),n}function sl(t,e,n,r){const o=Qn(),s=o[Ze],i=o[t+hn]=La(e),a=o[rn],c=$a(s,o[Ye],t,3,e,n||null);let u=0,l=0,h=-1;if(n){Qa(s,c,n,h=Bo(i,n));const t=c.stylingTemplate;t&&(u=As(i,t,a),l=ks(i,t,a))}if(Tu(i,c,o),Wa(s,o,r),0===Ln&&jo(i,o),Ln++,s.firstTemplatePass){const t=Cc(c);t&&t.hasOwnProperty("class")&&(c.flags|=8),t&&t.hasOwnProperty("style")&&(c.flags|=16)}c.stylingTemplate&&(ks(i,c.stylingTemplate,a,l),As(i,c.stylingTemplate,a,u)),Li()&&h>=0&&function(t,e,n){let r,o,s=-1;for(let i=h;i=0){const n=rl();r.stylingTemplate?Ts(r.stylingTemplate,t,e,n):r.stylingTemplate=Os(t,e,n)}}}function ul(t,e,n){const r=Qn(),o=r[Ze],s=r[t+hn]=r[rn].createComment(""),i=$a(o,r[Ye],t,4,"ng-container",e||null);e&&Qa(o,i,e,0),Tu(s,i,r),Wa(o,r,n),jo(s,r);const a=r[Je];a&&(a.addNode(i),r[Je]=a.clone(i)),Ga(o,i,r)}function ll(){let t=cr();const e=Qn(),n=e[Ze];hr()?dr():ur(t=t.parent,!1);const r=e[Je];r&&t.index===r.nodeIndex&&(e[Je]=r.parent),t.onElementCreationFns&&kc(t),Dn(n,t)}function hl(t,e,n){const r=Qn(),o=cr(),s=2===o.type?o.parent:o,i=r[s.index];let a=function(t,e,n){for(let r=e+gn;r=s.length||null==s[t])&&(s[t]=Ya(t,null,e,n,o.directiveRegistry,o.pipeRegistry,null,null)),s[t]}(t,e,n,s),null,16,null,null),i[Je]&&(a[Je]=i[Je].createView());const c=hr()?o:o&&o.parent;Fa(a[Ze],c,t,a),xr(a,a[Ze].node)}return i&&(fr(a)&&vu(a,i,i[fn]),i[fn]++),fr(a)?3:2}function dl(){const t=Qn(),e=t[Ye];fr(t)&&(Ha(t),t[Qe]&=-5),Rn(t),Ha(t),Er(t[Ge][Ge]),ur(e,!1)}function fl(){return Qn()}function pl(t){return!!t&&"function"==typeof t.then}function gl(t){return!!t&&"function"==typeof t.subscribe}function ml(t,e,n=!1,r){vl(t,e,n,r)}function yl(t,e,n=!1,r){vl(t,e,n,r,Oc)}function vl(t,e,n=!1,r,o){const s=Qn(),i=cr(),a=s[Ze],c=a.firstTemplatePass&&(a.cleanup||(a.cleanup=[]));let u=!0;if(3===i.type){const a=Sn(i,s),l=r?r(a):he,h=l.target||a,d=o?o(i,s):s[rn],f=xc(s),p=f.length,g=r?t=>r(yn(t[i.index])).target:i.index;if(Io(d)){let n=null;if(!r&&function(t){return t.directiveEnd>t.directiveStart}(i)&&(n=function(t,e,n){const r=t[Ze].cleanup;if(null!=r)for(let o=0;on?e[n]:null}"string"==typeof s&&(o+=2)}return null}(s,t,i.index)),null!==n)e.__ngNextListenerFn__=n.__ngNextListenerFn__,n.__ngNextListenerFn__=e,u=!1;else{e=wl(i,s,e,!1);const n=d.listen(l.name||h,t,e);f.push(e,n),c&&c.push(t,g,p,p+1)}}else e=wl(i,s,e,!0),h.addEventListener(t,e,n),f.push(e),c&&c.push(t,g,p,n)}void 0===i.outputs&&(i.outputs=Xa(i,1));const l=i.outputs;let h;if(u&&l&&(h=l[t])){const n=h.length;if(n){const r=xc(s);for(let o=0;o0;)e=e[un],t--;return e}(t,pr))[tn]}(t)}function Sl(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let o=0;o=0){const t=yn(r[o]),n=Ao(r,o,t);jo(t,n),e=n;break}}}}var n;return e||null}(t);if(!n&&e)throw new Error("Invalid ng target");return n}function Jl(t){if(!(t instanceof Node))throw new Error("Expecting instance of DOM Node");return Wl(t)}function Yl(t){return"boolean"==typeof t.useCapture}function Kl(t,e){return t.name==e.name?0:t.name{e(t,r),n(t,r)}:e}function lh(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,o)=>{e(t,r,o),n(t,r,o)}:e}function hh(t,e){const n=t.hostBindings;e!==n&&(t.hostBindings=n?(t,r,o)=>{or(1);try{e(t,r,o)}finally{or(-1)}n(t,r,o)}:e)}function dh(t,e,n,r,o){if(t=F(t),Array.isArray(t))for(let s=0;s>16;if(t.useClass||Wt(t)){const n=(t.useClass||t).prototype.ngOnDestroy;if(n){const t=s[Ze];(t.destroyHooks||(t.destroyHooks=[])).push(e.length,n)}}if(Wt(t)||!t.multi){const t=new Oo(a,o,$u),r=ph(i,e,o?u:u+h,l);-1==r?(cs(os(c,s),s,i),e.push(i),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=65536),n.push(t),s.push(t)):(n[r]=t,s[r]=t)}else{const t=ph(i,e,u+h,l),d=ph(i,e,u,u+h),f=t>=0&&n[t],p=d>=0&&n[d];if(o&&!p||!o&&!f){cs(os(c,s),s,i);const t=function(t,e,n,r,o){const s=new Oo(t,n,$u);return s.multi=[],s.index=e,s.componentProviders=0,fh(s,o,r&&!n),s}(o?mh:gh,n.length,o,r,a);!o&&p&&(n[d].providerFactory=t),e.push(i),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=65536),n.push(t),s.push(t)}else fh(n[o?d:t],a,!o&&r);!o&&r&&p&&n[d].componentProviders++}}}function fh(t,e,n){t.multi.push(e),n&&t.componentProviders++}function ph(t,e,n,r){for(let o=n;o{n.providersResolver=(n,r)=>(function(t,e,n){const r=Qn()[Ze];if(r.firstTemplatePass){const o=In(t);dh(n,r.data,r.blueprint,o,!0),dh(e,r.data,r.blueprint,o,!1)}})(n,r?r(t):t,e)}}class bh{}class wh{}const _h="ngComponent";class Sh{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${L(t)}. Did you add it to @NgModule.entryComponents?`);return e[_h]=t,e}(t)}}const Ch=(()=>{class t{}return t.NULL=new Sh,t})();class xh{}class Eh{}class Oh{constructor(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=t}get rootNodes(){return null==this._lView[qe]?function t(e,n,r){let o=n.child;for(;o;){const n=Sn(o,e);if(n&&r.push(n),4===o.type)t(e,o,r);else if(1===o.type){const t=Ko(e),n=t[Ye],s=Yo(t);let i=n.projection[o.projection];for(;i&&s;)r.push(Sn(i,s)),i=i.next}o=o.next}return r}(this._lView,this._lView[Ye],[]):[]}get context(){return this._context?this._context:this._lookUpContext()}get destroyed(){return 256==(256&this._lView[Qe])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}_u(this._lView)}onDestroy(t){var e,n;n=t,xc(e=this._lView).push(n),e[Ze].firstTemplatePass&&Ec(e).push(e[Xe].length-1,null)}markForCheck(){gc(this._lView)}detach(){this._lView[Qe]&=-129}reattach(){this._lView[Qe]|=128}detectChanges(){yc(this._lView,this.context)}checkNoChanges(){!function(t,e){yr(!0);try{yc(t,e)}finally{yr(!1)}}(this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){this._appRef=null,function(t){pu(t,1,t[rn],null)}(this._lView)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}_lookUpContext(){return this._context=Yo(this._lView)[this._componentIndex]}}class Th extends Oh{constructor(t){super(t,null,-1),this._view=t}detectChanges(){vc(this._view)}checkNoChanges(){!function(t){yr(!0);try{vc(t)}finally{yr(!1)}}(this._view)}get context(){return null}}let Ih,kh,Ah;function jh(t,e,n){return Ih||(Ih=class extends t{}),new Ih(Sn(e,n))}function Nh(t,e,n,r){if(kh||(kh=class extends t{constructor(t,e,n,r,o){super(),this._declarationParentView=t,this.elementRef=e,this._tView=n,this._hostLContainer=r,this._injectorIndex=o}createEmbeddedView(t,e,n){const r=this._declarationParentView[Je];r&&null==this._hostLContainer[Je]&&(this._hostLContainer[Je]=r.container());const o=function(t,e,n,r,o){const s=hr(),i=cr();ur(null,!0);const a=Va(n,t,e,16,null,null);return a[un]=n,r&&(a[Je]=r.createView()),Fa(t,null,-1,a),t.firstTemplatePass&&(t.node.injectorIndex=o),ur(i,s),a}(this._tView,t,this._declarationParentView,this._hostLContainer[Je],this._injectorIndex);e&&vu(o,e,n),za(o,this._tView,t);const s=new Oh(o,t,-1);return s._tViewNode=o[Ye],s}}),0===n.type){const t=r[n.index];return new kh(r,jh(e,n,r),n.tViews,t,n.injectorIndex)}return null}const Rh=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Ph(t),t})(),Ph=function(t){return jh(t,cr(),Qn())};class Dh{}const Mh=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),Hh=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Uh(),t})(),Uh=function(){return function(t){const e=Qn()[rn];if(Io(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()};class Lh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Vh=new Lh("8.1.0-next.2");class $h{constructor(){}supports(t){return Dc(t)}create(t){return new zh(t)}}const Fh=(t,e)=>e;class zh{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Fh}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,o=null;for(;e||n;){const s=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==o&&Rc(o.trackById,r)?(s&&(o=this._verifyReinsertion(o,t,r,e)),Rc(o.item,t)||this._addIdentityChange(o,t)):(o=this._mismatch(o,t,r,e),s=!0),o=o._next,e++}),this.length=e;return this._truncate(o),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Rc(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Rc(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new Bh(e,n),o,r),t}_verifyReinsertion(t,e,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Zh),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Zh),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Bh{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class qh{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Rc(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Zh{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new qh,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Qh(t,e,n){const r=t.previousIndex;if(null===r)return r;let o=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new Jh(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Rc(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Jh{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}const Yh=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new T,new E]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.ngInjectableDef=R({token:t,providedIn:"root",factory:()=>new t([new $h])}),t})(),Kh=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new T,new E]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.ngInjectableDef=R({token:t,providedIn:"root",factory:()=>new t([new Gh])}),t})(),Xh=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>td(),t})(),td=function(){return function(t,e,n){if(Tn(t)){const n=t.directiveStart,r=En(t.index,e);return new Oh(r,null,n)}if(3===t.type||0===t.type||4===t.type){const t=Ko(e);return new Oh(t,t[tn],-1)}return null}(cr(),Qn())},ed=[new Gh],nd=new Yh([new $h]),rd=new Kh(ed),od=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>sd(t,Rh),t})(),sd=function(t,e){return Nh(t,e,cr(),Qn())},id=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ad(t,Rh),t})(),ad=function(t,e){return function(t,e,n,r){let o;Ah||(Ah=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n,this._viewRefs=[]}get element(){return jh(e,this._hostTNode,this._hostView)}get injector(){return new ms(this._hostTNode,this._hostView)}get parentInjector(){const t=as(this._hostTNode,this._hostView),e=Jo(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.injectorIndex;)e=e.parent;return e}let r=Wo(t),o=e,s=e[Ye];for(;r>1;)s=(o=o[un])[Ye],r--;return s}(t,this._hostView,this._hostTNode);return Qo(t)&&null!=n?new ms(n,e):new ms(null,this._hostView)}clear(){for(;this.length;)this.remove(0)}get(t){return this._viewRefs[t]||null}get length(){const t=this._lContainer.length-gn;return t>0?t:0}createEmbeddedView(t,e,n){const r=this._adjustIndex(n),o=t.createEmbeddedView(e||{},this._lContainer,r);return o.attachToViewContainerRef(this),this._viewRefs.splice(r,0,o),o}createComponent(t,e,n,r,o){const s=n||this.parentInjector;!o&&null==t.ngModule&&s&&(o=s.get(xh,null));const i=t.create(s,r,void 0,o);return this.insert(i.hostView,e),i}insert(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=t._lView,r=this._adjustIndex(e);return Nn(n)?this.move(t,r):(vu(n,this._lContainer,r),yu(n,!0,Iu(r,this._lContainer)),t.attachToViewContainerRef(this),this._viewRefs.splice(r,0,t),t)}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this.indexOf(t);return-1!==n&&this.detach(n),this.insert(t,e),t}indexOf(t){return this._viewRefs.indexOf(t)}remove(t){const e=this._adjustIndex(t,-1);wu(this._lContainer,e),this._viewRefs.splice(e,1)}detach(t){const e=this._adjustIndex(t,-1),n=bu(this._lContainer,e);return n&&null!=this._viewRefs.splice(e,1)[0]?new Oh(n,n[tn],-1):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}});const s=r[n.index];if(bn(s))(o=s)[fn]=-1;else{let t;if(t=4===n.type?yn(s):r[rn].createComment(""),kn(r)){const e=r[rn],o=Sn(n,r);xu(e,Ou(e,o),t,function(t,e){return Io(t)?t.nextSibling(e):e.nextSibling}(e,o))}else Tu(t,n,r);r[n.index]=o=dc(s,r,t,n,!0),pc(r,o)}return new Ah(o,n,r)}(t,e,cr(),Qn())},cd={};function ud(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const ld=new W("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:()=>Xl(ct(hd))}),hd=new W("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ue});class dd extends wh{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors[0][0],this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ud(this.componentDef.inputs)}get outputs(){return ud(this.componentDef.outputs)}create(t,e,n,r){const o=void 0===n,s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,o)=>{const s=t.get(n,cd,o);return s!==cd||r===cd?s:e.get(n,r,o)}}}(t,r.injector):t,i=s.get(Dh,ko),a=s.get(uo,null),c=o?La(this.selector,i.createRenderer(null,this.componentDef)):function(t,e){const n=i.createRenderer(null,null);return"string"==typeof e?Io(n)?n.selectRootElement(e):n.querySelector(e):e}(0,n),u=this.componentDef.onPush?576:528,l="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),h=o||l?Xl():s.get(ld),d=i.createRenderer(c,this.componentDef);n&&c&&(Io(d)?d.setAttribute(c,"ng-version",Vh.full):c.setAttribute("ng-version",Vh.full));const f=Va(null,Ya(-1,null,1,0,null,null,null,null),h,u,null,null,i,d,a,s),p=xr(f,null);let g,m;try{const t=function(t,e,n,r,o,s){Jn=!1,Wn=null,Ln=0,Fn=!0;const i=n[Ze];n[0+hn]=c;const a=$a(i,null,0,3,null,null),u=Va(n,Ja(e),null,e.onPush?64:16,n[hn],a,r,o,void 0);return i.firstTemplatePass&&(cs(os(a,n),n,e.type),a.flags=1,cc(a,n.length,1),ic(a)),n[hn]=u}(0,this.componentDef,f,i,d);m=Cn(0,f),e&&(m.projection=e.map(t=>Array.from(t))),g=function(t,e,n,r,o){const s=n[Ze],i=function(t,e,n){const r=cr();t.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),rc(t,r,1),uc(t,e,n,n.factory));const o=fs(t.data,e,e.length-1,r);return sc(e,r,o),o}(s,n,e);r.components.push(i),t[tn]=i,o&&o.forEach(t=>t(i,e)),e.contentQueries&&e.contentQueries(1,i,n.length-1);const a=cr();if(s.firstTemplatePass&&e.hostBindings&&(er(a.index-hn),nc(e,s.expandoInstructions,i,a,s.firstTemplatePass),a.onElementCreationFns&&kc(a),er(null)),a.stylingTemplate){const e=t[qe];ks(e,a.stylingTemplate,t[rn]),As(e,a.stylingTemplate,t[rn])}return i}(t,this.componentDef,f,h,[th]),pc(f,t),Ha(f)}finally{Er(p)}const y=new fd(this.componentType,g,jh(Rh,m,f),f,m);return o&&(y.hostView._tViewNode.child=m),y}}class fd extends bh{constructor(t,e,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Th(r),this.hostView._tViewNode=Fa(r[Ze],null,-1,r),this.componentType=t}get injector(){return new ms(this._tNode,this._rootLView)}destroy(){this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy()}onDestroy(t){this.destroyCbs.push(t)}}const pd={},gd=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}(),md=void 0;var yd=["en",[["a","p"],["AM","PM"],md],[["AM","PM"],md,md],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],md,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],md,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",md,"{1} 'at' {0}",md],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];function vd(t){return bd(t)[gd.PluralCase]}function bd(t){const e=t.toLowerCase().replace(/_/g,"-");let n=pd[e];if(n)return n;const r=e.split("-")[0];if(n=pd[r])return n;if("en"===r)return yd;throw new Error(`Missing locale data for the locale "${t}".`)}function wd(t,e){for(let n=0;nn.length&&n.push(o)}return i=e.indexOf("other"),a='Missing key "other" in ICU statement.',i<=-1&&function(t){throw new Error(`ASSERTION ERROR: ${t}`)}(a),{type:r,mainBinding:o,cases:e,values:n};var i,a}function Hd(t){let e,n,r="",o=0,s=!1;for(;null!==(e=xd.exec(t));)s?e[0]===`${Sd}/*${n}${Sd}`&&(o=e.index,s=!1):(r+=t.substring(o,e.index+e[0].length),n=e[1],s=!0);return r+t.substr(o)}function Ud(t,e,n,r=null){const o=[null,null],s=t.split(Od);let i=0;for(let a=0;a0&&i!==a&&l.push(i.index<<3|0);const h=[],d=[],f=function(t,e){if("number"!=typeof e)return Hd(t);{const n=t.indexOf(`:${e}${Sd}`)+2+e.toString().length,r=t.search(new RegExp(`${Sd}\\/\\*\\d+:${e}${Sd}`));return Hd(t.substring(n,r))}}(n,r).split(Ed);for(let p=0;p{const s=r||o,i=t[s]||[];if(i.length||(s.split("|").forEach(t=>{const e=t.match(Pd),n=e?parseInt(e[1],10):Id,r=Rd.test(t);i.push([n,r,t])}),t[s]=i),!i.length)throw new Error(`i18n postprocess: unmatched placeholder - ${s}`);const a=e[e.length-1];let c=0;for(let t=0;te.hasOwnProperty(r)?`${n}${e[r]}${i}`:t)).replace(Nd,(t,n)=>{if(e.hasOwnProperty(n)){const r=e[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${t} with key: ${n}`);return r.shift()}return t}):n}function Gd(){!function(t){const e=Qn(),n=Vd[$d--],r=t.data[n+hn];let o=cr();const s=Jd(n,r.create,0,e);for(let i=n+1;i<=o.index-hn;i++)-1===s.indexOf(i)&&Yd(i,e)}(Qn()[Ze]),El(!1)}function Wd(t,e,n,r,o){const s=cr();t[e+hn]=r;const i=$a(t[Ze],t[Ye],e,n,o,null);return s.next===i&&(s.next=null),i}function Jd(t,e,n,r){const o=Qn()[rn];let s=null,i=null;const a=[];for(let c=0;c>>17;let u;i=Zd(s,u=o===t?r[Ye]:Cn(o,r),i,r);break;case 0:const l=n>>>3;a.push(l),i=s,(s=Cn(l,r))&&ur(s,3===s.type);break;case 5:i=s=Cn(n>>>3,r),ur(s,!1);break;case 4:hc(n>>>3,e[++c],e[++c],r);break;default:throw new Error(`Unable to determine the type of mutate operation for "${n}"`)}else switch(n){case Mi:const t=e[++c],u=e[++c],l=o.createComment(t);i=s,s=Wd(r,u,5,l,null),a.push(u),jo(l,r),s.activeCaseIndex=null,dr();break;case Di:const h=e[++c],d=e[++c];i=s,s=Wd(r,d,3,o.createElement(h),h),a.push(d);break;default:throw new Error(`Unable to determine the type of mutate operation for "${n}"`)}}return dr(),a}function Yd(t,e){const n=Cn(t,e),r=_n(t,e);r&&ku(e[rn],r);const o=Vu(t);if(bn(o)){const t=o;0!==n.type&&ku(e[rn],t[pn])}n.flags|=32}function Kd(t,e,n){Bd(t,e,n),Gd()}function Xd(t,e){!function(t,e,n){const r=cr().index-hn,o=[];for(let s=0;s>>2;let h,d,f;switch(3&c){case 1:ec(l,e[++u],i,e[++u]);break;case 0:Ul(l,i);break;case 2:if(d=n[h=e[++u]],null!==(f=Cn(l,s)).activeCaseIndex){const t=d.remove[f.activeCaseIndex];for(let e=0;e>>3,s);break;case 6:const o=Cn(t[e+1]>>>3,s).activeCaseIndex;null!==o&&wd(n[r>>>3].remove[o],t)}}}const p=of(d,i);f.activeCaseIndex=-1!==p?p:null,Jd(-1,d.create[p],0,s),a=!0;break;case 3:d=n[h=e[++u]],f=Cn(l,s),t(d.update[f.activeCaseIndex],n,r,o,s,a)}}}}c+=l}}(r,o,e[Ke]-ef-1,tf,e),tf=0,ef=0}}function of(t,e){let n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:{const r=function(t,e){switch(vd(ff)(t)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(e);-1===(n=t.cases.indexOf(r))&&"other"!==r&&(n=t.cases.indexOf("other"));break}case 0:n=t.cases.indexOf("other")}return n}function sf(t,e,n,r){const o=[],s=[],i=[],a=[],c=[];for(let u=0;ue[n]||""):t}const df="en-US";let ff=df;function pf(t){ff=t.toLowerCase().replace(/_/g,"-")}const gf=new Map,mf={provide:Ch,useClass:class extends Ch{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=je(t);return new dd(e,this.ngModule)}},deps:[xh]};class yf extends xh{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[];const n=De(t),r=t[ye]||null;r&&pf(r),this._bootstrapComponents=Be(n.bootstrap),this._r3Injector=Ft(t,e,[{provide:xh,useValue:this},mf],L(t)),this.instance=this.get(t)}get(t,e=Yt.THROW_IF_NOT_FOUND,n=A.Default){return t===Yt||t===xh||t===J?this:this._r3Injector.get(t,e,n)}get componentFactoryResolver(){return this.get(Ch)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class vf extends Eh{constructor(t){super(),this.moduleType=t,null!==De(t)&&function t(e){if(null!==e.ngModuleDef.id){const t=e.ngModuleDef.id;(function(t,n,r){if(n&&n!==e)throw new Error(`Duplicate module registered for ${t} - ${L(n)} vs ${L(n.name)}`)})(t,gf.get(t)),gf.set(t,e)}let n=e.ngModuleDef.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new yf(this.moduleType,t)}}function bf(t,e,n,r){return le(()=>{const o=t,s=o.prototype?Object.getPrototypeOf(o.prototype):null,i=s&&s.constructor;null!==e&&(void 0===o.decorators||i&&i.decorators===o.decorators?o.decorators=e:o.decorators.push(...e)),null!==n&&(o.ctorParameters=n),null!==r&&(o.propDecorators=void 0===o.propDecorators||i&&i.propDecorators===o.propDecorators?r:Object.assign({},o.propDecorators,r))})}function wf(t,e,n){const r=br()+t,o=Qn();return fr()?Hc(o,r,n?e.call(n):e()):Uc(o,r)}function _f(t,e,n,r){const o=Qn(),s=br()+t;return Lc(o,s,n)?Hc(o,s+1,r?e.call(r,n):e(n)):Uc(o,s+1)}function Sf(t,e,n,r,o){const s=br()+t,i=Qn();return Vc(i,s,n,r)?Hc(i,s+2,o?e.call(o,n,r):e(n,r)):Uc(i,s+2)}function Cf(t,e,n,r,o,s){const i=br()+t,a=Qn();return $c(a,i,n,r,o)?Hc(a,i+3,s?e.call(s,n,r,o):e(n,r,o)):Uc(a,i+3)}function xf(t,e,n,r,o,s,i){const a=br()+t,c=Qn();return Fc(c,a,n,r,o,s)?Hc(c,a+4,i?e.call(i,n,r,o,s):e(n,r,o,s)):Uc(c,a+4)}function Ef(t,e,n,r,o,s,i,a){const c=br()+t,u=Qn(),l=Fc(u,c,n,r,o,s);return Lc(u,c+4,i)||l?Hc(u,c+5,a?e.call(a,n,r,o,s,i):e(n,r,o,s,i)):Uc(u,c+5)}function Of(t,e,n,r,o,s,i,a,c){const u=br()+t,l=Qn(),h=Fc(l,u,n,r,o,s);return Vc(l,u+4,i,a)||h?Hc(l,u+6,c?e.call(c,n,r,o,s,i,a):e(n,r,o,s,i,a)):Uc(l,u+6)}function Tf(t,e,n,r,o,s,i,a,c,u){const l=br()+t,h=Qn();let d=Fc(h,l,n,r,o,s);return $c(h,l+4,i,a,c)||d?Hc(h,l+7,u?e.call(u,n,r,o,s,i,a,c):e(n,r,o,s,i,a,c)):Uc(h,l+7)}function If(t,e,n,r,o,s,i,a,c,u,l){const h=br()+t,d=Qn(),f=Fc(d,h,n,r,o,s);return Fc(d,h+4,i,a,c,u)||f?Hc(d,h+8,l?e.call(l,n,r,o,s,i,a,c,u):e(n,r,o,s,i,a,c,u)):Uc(d,h+8)}function kf(t,e,n,r){let o=br()+t,s=!1;const i=Qn();for(let a=0;a=0;n--){const r=e[n];if(t===r.name)return r}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const s=r.factory();return Uu(t,s),s}function jf(t,e,n){const r=Vu(t);return Hf(Mf(t)?_f(e,r.transform,n,r):r.transform(n))}function Nf(t,e,n,r){const o=Vu(t);return Hf(Mf(t)?Sf(e,o.transform,n,r,o):o.transform(n,r))}function Rf(t,e,n,r,o){const s=Vu(t);return Hf(Mf(t)?Cf(e,s.transform,n,r,o,s):s.transform(n,r,o))}function Pf(t,e,n,r,o,s){const i=Vu(t);return Hf(Mf(t)?xf(e,i.transform,n,r,o,s,i):i.transform(n,r,o,s))}function Df(t,e,n){const r=Vu(t);return Hf(Mf(t)?kf(e,r.transform,n,r):r.transform.apply(r,n))}function Mf(t){return Qn()[Ze].data[t+hn].pure}function Hf(t){if(Pc.isWrapped(t)){t=Pc.unwrap(t);const e=Qn();e[e[Ke]]=Cs}return t}class Uf extends r.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,s=t=>null,i=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(i=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(r,s,i);return t instanceof o.a&&t.add(a),a}}function Lf(){return this._results[Nc()]()}class Vf{constructor(){this.dirty=!0,this._results=[],this.changes=new Uf,this.length=0;const t=Nc(),e=Vf.prototype;e[t]||(e[t]=Lf)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=_d(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class $f{constructor(t,e,n,r,o){this.next=t,this.list=e,this.predicate=n,this.values=r,this.containerValues=o}}class Ff{constructor(t,e,n,r=-1){this.parent=t,this.shallow=e,this.deep=n,this.nodeIndex=r}track(t,e,n,r){n?this.deep=Xf(this.deep,t,e,null!=r?r:null):this.shallow=Xf(this.shallow,t,e,null!=r?r:null)}clone(t){return null!==this.shallow||On(t)?new Ff(this,null,this.deep,t.index):this}container(){const t=zf(this.shallow),e=zf(this.deep);return t||e?new Ff(this,t,e):null}createView(){const t=Bf(this.shallow),e=Bf(this.deep);return t||e?new Ff(this,t,e):null}insertView(t){qf(t,this.shallow),qf(t,this.deep)}addNode(t){Yf(this.deep,t,!1),Yf(this.shallow,t,!1)}insertNodeBeforeViews(t){Yf(this.deep,t,!0),Yf(this.shallow,t,!0)}removeView(){Zf(this.shallow),Zf(this.deep)}}function zf(t){let e=null;for(;t;){const n=[];t.values.push(n),e=new $f(e,t.list,t.predicate,n,null),t=t.next}return e}function Bf(t){let e=null;for(;t;)e=new $f(e,t.list,t.predicate,[],t.values),t=t.next;return e}function qf(t,e){for(;e;)e.containerValues.splice(t,0,e.values),e.values.length&&e.list.setDirty(),e=e.next}function Zf(t){for(;t;){const e=t.containerValues,n=e.indexOf(t.values);e.splice(n,1)[0].length&&t.list.setDirty(),t=t.next}}function Qf(t,e){const n=t.localNames;if(n)for(let r=0;r-1?fs(e[Ze].data,e,r,t):function(t,e){return 3===t.type||4===t.type?jh(Rh,t,e):0===t.type?Nh(od,Rh,t,e):null}(t,e)}function Yf(t,e,n){const r=Qn();for(;t;){const o=t.predicate,s=o.type;if(s){let i=null;if(s===od)i=Wf(s,e,r,o.read);else{const t=ds(e,r,s,!1,!1);null!==t&&(i=Jf(e,r,o.read,t))}null!==i&&Kf(t,i,n)}else{const s=o.selector;for(let i=0;i({"\u0275\u0275attribute":Zc,"\u0275\u0275attributeInterpolate1":nu,"\u0275\u0275attributeInterpolate2":ru,"\u0275\u0275attributeInterpolate3":ou,"\u0275\u0275attributeInterpolate4":su,"\u0275\u0275attributeInterpolate5":iu,"\u0275\u0275attributeInterpolate6":au,"\u0275\u0275attributeInterpolate7":cu,"\u0275\u0275attributeInterpolate8":uu,"\u0275\u0275attributeInterpolateV":lu,"\u0275\u0275defineBase":Ie,"\u0275\u0275defineComponent":_e,"\u0275\u0275defineDirective":ke,"\u0275\u0275defineInjectable":R,"\u0275\u0275defineInjector":P,"\u0275\u0275defineNgModule":Ee,"\u0275\u0275definePipe":Ae,"\u0275\u0275directiveInject":$u,"\u0275\u0275getFactoryOf":ys,"\u0275\u0275getInheritedFactory":vs,"\u0275\u0275inject":ct,"\u0275\u0275injectAttribute":Fu,"\u0275\u0275templateRefExtractor":lp,"\u0275\u0275NgOnChangesFeature":nh,"\u0275\u0275ProvidersFeature":vh,"\u0275\u0275InheritDefinitionFeature":ah,"\u0275\u0275bind":Bc,"\u0275\u0275container":Nu,"\u0275\u0275nextContext":_l,"\u0275\u0275containerRefreshStart":Pu,"\u0275\u0275containerRefreshEnd":Du,"\u0275\u0275namespaceHTML":Nr,"\u0275\u0275namespaceMathML":jr,"\u0275\u0275namespaceSVG":Ar,"\u0275\u0275enableBindings":qn,"\u0275\u0275disableBindings":Zn,"\u0275\u0275allocHostVars":Ac,"\u0275\u0275elementStart":sl,"\u0275\u0275elementEnd":il,"\u0275\u0275element":al,"\u0275\u0275elementContainerStart":ul,"\u0275\u0275elementContainerEnd":ll,"\u0275\u0275pureFunction0":wf,"\u0275\u0275pureFunction1":_f,"\u0275\u0275pureFunction2":Sf,"\u0275\u0275pureFunction3":Cf,"\u0275\u0275pureFunction4":xf,"\u0275\u0275pureFunction5":Ef,"\u0275\u0275pureFunction6":Of,"\u0275\u0275pureFunction7":Tf,"\u0275\u0275pureFunction8":If,"\u0275\u0275pureFunctionV":kf,"\u0275\u0275getCurrentView":fl,"\u0275\u0275restoreView":ar,"\u0275\u0275interpolation1":Gc,"\u0275\u0275interpolation2":Wc,"\u0275\u0275interpolation3":Jc,"\u0275\u0275interpolation4":Yc,"\u0275\u0275interpolation5":Kc,"\u0275\u0275interpolation6":Xc,"\u0275\u0275interpolation7":tu,"\u0275\u0275interpolation8":eu,"\u0275\u0275interpolationV":Qc,"\u0275\u0275listener":ml,"\u0275\u0275load":Vu,"\u0275\u0275projection":Ol,"\u0275\u0275updateSyntheticHostBinding":qc,"\u0275\u0275componentHostSyntheticListener":yl,"\u0275\u0275pipeBind1":jf,"\u0275\u0275pipeBind2":Nf,"\u0275\u0275pipeBind3":Rf,"\u0275\u0275pipeBind4":Pf,"\u0275\u0275pipeBindV":Df,"\u0275\u0275projectionDef":Cl,"\u0275\u0275property":zc,"\u0275\u0275propertyInterpolate":Tl,"\u0275\u0275propertyInterpolate1":Il,"\u0275\u0275propertyInterpolate2":kl,"\u0275\u0275propertyInterpolate3":Al,"\u0275\u0275propertyInterpolate4":jl,"\u0275\u0275propertyInterpolate5":Nl,"\u0275\u0275propertyInterpolate6":Rl,"\u0275\u0275propertyInterpolate7":Pl,"\u0275\u0275propertyInterpolate8":Dl,"\u0275\u0275propertyInterpolateV":Ml,"\u0275\u0275pipe":Af,"\u0275\u0275queryRefresh":ep,"\u0275\u0275viewQuery":rp,"\u0275\u0275staticViewQuery":np,"\u0275\u0275staticContentQuery":cp,"\u0275\u0275loadViewQuery":sp,"\u0275\u0275contentQuery":ip,"\u0275\u0275loadContentQuery":up,"\u0275\u0275reference":Lu,"\u0275\u0275elementHostAttrs":cl,"\u0275\u0275classMap":el,"\u0275\u0275styling":Ju,"\u0275\u0275styleMap":tl,"\u0275\u0275styleProp":Ku,"\u0275\u0275styleSanitizer":zu,"\u0275\u0275stylingApply":nl,"\u0275\u0275classProp":Xu,"\u0275\u0275select":Pa,"\u0275\u0275template":Ru,"\u0275\u0275text":Hl,"\u0275\u0275textBinding":Ul,"\u0275\u0275textInterpolate":Ll,"\u0275\u0275textInterpolate1":Vl,"\u0275\u0275textInterpolate2":$l,"\u0275\u0275textInterpolate3":Fl,"\u0275\u0275textInterpolate4":zl,"\u0275\u0275textInterpolate5":Bl,"\u0275\u0275textInterpolate6":ql,"\u0275\u0275textInterpolate7":Zl,"\u0275\u0275textInterpolate8":Ql,"\u0275\u0275textInterpolateV":Gl,"\u0275\u0275embeddedViewStart":hl,"\u0275\u0275embeddedViewEnd":dl,"\u0275\u0275i18n":Kd,"\u0275\u0275i18nAttributes":Xd,"\u0275\u0275i18nExp":nf,"\u0275\u0275i18nStart":Bd,"\u0275\u0275i18nEnd":Gd,"\u0275\u0275i18nApply":rf,"\u0275\u0275i18nPostprocess":Qd,"\u0275\u0275i18nLocalize":hf,"\u0275\u0275resolveWindow":Le,"\u0275\u0275resolveDocument":Ve,"\u0275\u0275resolveBody":$e,"\u0275\u0275setComponentScope":Se,"\u0275\u0275setNgModuleScope":Oe,"\u0275\u0275sanitizeHtml":po,"\u0275\u0275sanitizeStyle":go,"\u0275\u0275defaultStyleSanitizer":wo,"\u0275\u0275sanitizeResourceUrl":yo,"\u0275\u0275sanitizeScript":vo,"\u0275\u0275sanitizeUrl":mo,"\u0275\u0275sanitizeUrlOrResourceUrl":bo}))(),dp=[],fp=[];let pp=!1;function gp(t){return Array.isArray(t)?t.every(gp):!!F(t)}function mp(t,e){const n=_d(e.declarations||dp),r=vp(t);n.forEach(e=>{e.hasOwnProperty(fe)?yp(je(e),r):e.hasOwnProperty(pe)||e.hasOwnProperty(ge)||(e.ngSelectorScope=t)})}function yp(t,e){t.directiveDefs=()=>Array.from(e.compilation.directives).map(t=>t.hasOwnProperty(fe)?je(t):Ne(t)).filter(t=>!!t),t.pipeDefs=()=>Array.from(e.compilation.pipes).map(t=>Re(t)),t.schemas=e.schemas,t.tView=null}function vp(t,e){if(!wp(t))throw new Error(`${t.name} does not have an ngModuleDef`);const n=De(t);if(null!==n.transitiveCompileScopes)return n.transitiveCompileScopes;const r={schemas:n.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Be(n.declarations).forEach(t=>{Re(t)?r.compilation.pipes.add(t):r.compilation.directives.add(t)}),Be(n.imports).forEach(t=>{const n=t;if(!wp(n))throw new Error(`Importing ${n.name} which does not have an ngModuleDef`);e&&e(n);const o=vp(n,e);o.exported.directives.forEach(t=>r.compilation.directives.add(t)),o.exported.pipes.forEach(t=>r.compilation.pipes.add(t))}),Be(n.exports).forEach(t=>{const n=t;if(wp(n)){const t=vp(n,e);t.exported.directives.forEach(t=>{r.compilation.directives.add(t),r.exported.directives.add(t)}),t.exported.pipes.forEach(t=>{r.compilation.pipes.add(t),r.exported.pipes.add(t)})}else Re(n)?r.exported.pipes.add(n):r.exported.directives.add(n)}),n.transitiveCompileScopes=r,r}function bp(t){return function(t){return void 0!==t.ngModule}(t)?t.ngModule:t}function wp(t){return!!De(t)}function _p(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function Sp(t,e){const n=Ct().ownPropMetadata(t);return{name:t.name,type:t,typeArgumentCount:0,selector:e.selector,deps:xt(t),host:e.host||he,propMetadata:n,inputs:e.inputs||de,outputs:e.outputs||de,queries:Tp(t,n,Ip),lifecycle:{usesOnChanges:t.prototype.hasOwnProperty("ngOnChanges")},typeSourceSpan:null,usesInheritance:!_p(t),exportAs:(r=e.exportAs,void 0===r?null:r.split(",").map(t=>t.trim())),providers:e.providers||null,viewQueries:Tp(t,n,kp)};var r}function Cp(t){const e=Object.prototype;let n=Object.getPrototypeOf(t);for(;n&&n!==e;){if(!Ne(n)&&!je(n)&&!Pe(n)){const t=Ep(n);t&&xp(n,t)}n=Object.getPrototypeOf(n)}}function xp(t,e){let n=null;Object.defineProperty(t,ve,{get:()=>{if(null===n){const r=`ng://${t&&t.name}/ngBaseDef.js`,o=G();n=o.compileBase(hp,r,e)}return n},configurable:!1})}function Ep(t){const e=Ct().ownPropMetadata(t),n=Tp(t,e,kp),r=Tp(t,e,Ip);let o,s,i=!1;for(const a in e)e[a].forEach(t=>{const e=t.ngMetadataName;"Input"===e?(o=o||{})[a]=t.bindingPropertyName?[t.bindingPropertyName,a]:a:"Output"===e?(s=s||{})[a]=t.bindingPropertyName||a:"HostBinding"!==e&&"HostListener"!==e||(i=!0)});return o||s||n.length||r.length||i?{name:t.name,inputs:o,outputs:s,viewQueries:n,queries:r,propMetadata:e}:null}function Op(t,e){return{propertyName:t,predicate:(n=e.selector,"string"==typeof n?n.split(",").map(t=>t.trim()):F(n)),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static};var n}function Tp(t,e,n){const r=[];for(const o in e)if(e.hasOwnProperty(o)){const s=e[o];s.forEach(e=>{if(n(e)){if(!e.selector)throw new Error(`Can't construct a query for the property "${o}" of `+`"${He(t)}" since the query selector wasn't defined.`);if(s.some(Ap))throw new Error("Cannot combine @Input decorators with query decorators");r.push(Op(o,e))}})}return r}function Ip(t){const e=t.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function kp(t){const e=t.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function Ap(t){return"Input"===t.ngMetadataName}const jp=w("Directive",(t={})=>t,void 0,void 0,(t,e)=>Lp(t,e)),Np=w("Component",(t={})=>Object.assign({changeDetection:oe.Default},t),jp,void 0,(t,e)=>Up(t,e)),Rp=w("Pipe",t=>Object.assign({pure:!0},t),void 0,void 0,(t,e)=>Vp(t,e)),Pp=C("Input",t=>({bindingPropertyName:t})),Dp=C("Output",t=>({bindingPropertyName:t})),Mp=C("HostBinding",t=>({hostPropertyName:t})),Hp=C("HostListener",(t,e)=>({eventName:t,args:e})),Up=function(t,e){let n=null;!function(t,e){ae(e)&&(se.set(t,e),ie.add(t))}(t,e),Object.defineProperty(t,fe,{get:()=>{const r=G();if(null===n){if(ae(e)){const n=[`Component '${t.name}' is not resolved:`];throw e.templateUrl&&n.push(` - templateUrl: ${e.templateUrl}`),e.styleUrls&&e.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(e.styleUrls)}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const o=e.templateUrl||`ng:///${t.name}/template.html`,s=Object.assign({},Sp(t,e),{typeSourceSpan:r.createParseSourceSpan("Component",t.name,o),template:e.template||"",preserveWhitespaces:e.preserveWhitespaces||!1,styles:e.styles||de,animations:e.animations,directives:[],changeDetection:e.changeDetection,pipes:new Map,encapsulation:e.encapsulation||ue.Emulated,interpolation:e.interpolation,viewProviders:e.viewProviders||null});if(s.usesInheritance&&Cp(t),n=r.compileComponent(hp,o,s),function(){if(!pp){pp=!0;try{for(let t=fp.length-1;t>=0;t--){const{moduleType:e,ngModule:n}=fp[t];n.declarations&&n.declarations.every(gp)&&(fp.splice(t,1),mp(e,n))}}finally{pp=!1}}}(),function(e){return void 0!==t.ngSelectorScope}()){const e=vp(t.ngSelectorScope);yp(n,e)}}return n},configurable:!1}),Ot(t)},Lp=function(t,e){let n=null;Object.defineProperty(t,pe,{get:()=>{if(null===n){const r=t&&t.name,o=`ng:///${r}/ngDirectiveDef.js`,s=G(),i=Sp(t,e);i.typeSourceSpan=s.createParseSourceSpan("Directive",r,o),i.usesInheritance&&Cp(t),n=s.compileDirective(hp,o,i)}return n},configurable:!1}),Ot(t)},Vp=function(t,e){let n=null;Object.defineProperty(t,ge,{get:()=>{if(null===n){const r=t.name;n=G().compilePipe(hp,`ng:///${r}/ngPipeDef.js`,{type:t,typeArgumentCount:0,name:r,deps:xt(t),pipeName:e.name,pure:void 0===e.pure||e.pure})}return n},configurable:!1})},$p=w("NgModule",t=>t,void 0,void 0,(t,e)=>Fp(t,e)),Fp=function(t,e={}){!function(t,e,n=!1){const r=_d(e.declarations||dp);let o=null;Object.defineProperty(t,me,{configurable:!0,get:()=>(null===o&&(o=G().compileNgModule(hp,`ng:///${t.name}/ngModuleDef.js`,{type:t,bootstrap:_d(e.bootstrap||dp).map(F),declarations:r.map(F),imports:_d(e.imports||dp).map(F).map(bp),exports:_d(e.exports||dp).map(F).map(bp),emitInline:!0,schemas:e.schemas?_d(e.schemas):null,id:e.id||null})),o)});let s=null;Object.defineProperty(t,U,{get:()=>{if(null===s){const n={name:t.name,type:t,deps:xt(t),providers:e.providers||dp,imports:[(e.imports||dp).map(F),(e.exports||dp).map(F)]};s=G().compileInjector(hp,`ng:///${t.name}/ngInjectorDef.js`,n)}return s},configurable:!1})}(t,e),function(t,e){fp.push({moduleType:t,ngModule:e})}(t,e)},zp=new W("Application Initializer"),Bp=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.ngInjectableDef=R({token:t,factory:function(e){return new(e||t)(ct(zp,8))},providedIn:null}),t})(),qp=new W("AppId"),Zp={provide:qp,useFactory:function(){return`${Qp()}${Qp()}${Qp()}`},deps:[]};function Qp(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Gp=new W("Platform Initializer"),Wp=new W("Platform ID"),Jp=new W("appBootstrapListener"),Yp=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.ngInjectableDef=R({token:t,factory:function(e){return new(e||t)},providedIn:null}),t})(),Kp=new W("LocaleId");class Xp{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const tg=function(t){return new vf(t)},eg=tg,ng=function(t){return Promise.resolve(tg(t))},rg=function(t){const e=tg(t),n=Be(De(t).declarations).reduce((t,e)=>{const n=je(e);return n&&t.push(new dd(n)),t},[]);return new Xp(e,n)},og=rg,sg=function(t){return Promise.resolve(rg(t))},ig=(()=>{class t{constructor(){this.compileModuleSync=eg,this.compileModuleAsync=ng,this.compileModuleAndAllComponentsSync=og,this.compileModuleAndAllComponentsAsync=sg}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.ngInjectableDef=R({token:t,factory:function(e){return new(e||t)},providedIn:null}),t})(),ag=new W("compilerOptions");let cg,ug;function lg(){const t=Q.wtf;return!(!t||!(cg=t.trace)||(ug=cg.events,0))}const hg=lg(),dg=hg?function(t,e=null){return ug.createScope(t,e)}:(t,e)=>(function(t,e){return null}),fg=hg?function(t,e){return cg.leaveScope(t,e),e}:(t,e)=>e,pg=(()=>Promise.resolve(0))();function gg(t){"undefined"==typeof Zone?pg.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class mg{constructor({enableLongStackTrace:t=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Uf(!1),this.onMicrotaskEmpty=new Uf(!1),this.onStable=new Uf(!1),this.onError=new Uf(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var e;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,n,r,o,s,i)=>{try{return wg(e),t.invokeTask(r,o,s,i)}finally{_g(e)}},onInvoke:(t,n,r,o,s,i,a)=>{try{return wg(e),t.invoke(r,o,s,i,a)}finally{_g(e)}},onHasTask:(t,n,r,o)=>{t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,bg(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,n,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!mg.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(mg.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,vg,yg,yg);try{return o.runTask(s,e,n)}finally{o.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function yg(){}const vg={};function bg(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function wg(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function _g(t){t._nesting--,bg(t)}class Sg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Uf,this.onMicrotaskEmpty=new Uf,this.onStable=new Uf,this.onError=new Uf}run(t){return t()}runGuarded(t){return t()}runOutsideAngular(t){return t()}runTask(t){return t()}}const Cg=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{mg.assertNotInAngularZone(),gg(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())gg(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.ngInjectableDef=R({token:t,factory:function(e){return new(e||t)(ct(mg))},providedIn:null}),t})(),xg=(()=>{class t{constructor(){this._applications=new Map,Ig.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Ig.findTestabilityInTree(this,t,e)}}return t.ngInjectableDef=R({token:t,factory:function(e){return new(e||t)},providedIn:null}),t.ctorParameters=()=>[],t})();class Eg{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Og(t){Ig=t}let Tg,Ig=new Eg,kg=function(t,e,n){const r=new vf(n);if(0===se.size)return Promise.resolve(r);const o=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(t.get(ag,[]).concat(e).map(t=>t.providers));if(0===o.length)return Promise.resolve(r);const s=G(),i=Yt.create({providers:o}).get(s.ResourceLoader);return function(t){const e=[],n=new Map;function r(e){let r=n.get(e);if(!r){const o=t(e);n.set(e,r=o.then(ce))}return r}return se.forEach((t,n)=>{const o=[];t.templateUrl&&o.push(r(t.templateUrl).then(e=>{t.template=e}));const s=t.styleUrls,i=t.styles||(t.styles=[]),a=t.styles.length;s&&s.forEach((e,n)=>{i.push(""),o.push(r(e).then(r=>{i[a+n]=r,s.splice(s.indexOf(e),1),0==s.length&&(t.styleUrls=void 0)}))});const c=Promise.all(o).then(()=>(function(t){ie.delete(t)})(n));e.push(c)}),se=new Map,Promise.all(e).then(()=>void 0)}(t=>Promise.resolve(i.get(t))).then(()=>r)},Ag=function(t){return t.isBoundToModule};const jg=new W("AllowMultipleToken");class Ng{constructor(t,e){this.name=t,this.token=e}}function Rg(t,e,n=[]){const r=`Platform: ${e}`,o=new W(r);return(e=[])=>{let s=Pg();if(!s||s.injector.get(jg,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{const t=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(Tg&&!Tg.destroyed&&!Tg.injector.get(jg,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Tg=t.get(Dg);const e=t.get(Gp,null);e&&e.forEach(t=>t())}(Yt.create({providers:t,name:r}))}return function(t){const e=Pg();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}(o)}}function Pg(){return Tg&&!Tg.destroyed?Tg:null}const Dg=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n="noop"===(o=e?e.ngZone:void 0)?new Sg:("zone.js"===o?void 0:o)||new mg({enableLongStackTrace:Hr()}),r=[{provide:mg,useValue:n}];var o;return n.run(()=>{const e=Yt.create({providers:r,parent:this.injector,name:t.moduleType.name}),o=t.create(e),s=o.injector.get(Ss,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return pf(o.injector.get(Kp,df)),o.onDestroy(()=>Ug(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const o=n();return pl(o)?o.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):o}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(s,n,()=>{const t=o.injector.get(Bp);return t.runInitializers(),t.donePromise.then(()=>(this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const n=Mg({},e);return kg(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Hg);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${L(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.ngInjectableDef=R({token:t,factory:function(e){return new(e||t)(ct(Yt))},providedIn:null}),t})();function Mg(t,e){return Array.isArray(e)?e.reduce(Mg,t):Object.assign({},t,e)}const Hg=(()=>{class t{constructor(t,e,n,r,o,u){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Hr(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const h=new s.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),d=new s.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{mg.assertNotInAngularZone(),gg(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{mg.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return Object(i.a)(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof s.a?t[0]:Object(a.a)(e)(Object(c.a)(t,n))}(h,d.pipe(t=>l()(function(t,e){return function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,p);return r.source=e,r.subjectFactory=n,r}}(m)(t))))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof wh?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=Ag(n)?null:this._injector.get(xh),o=n.create(Yt.NULL,[],e||n.selector,r);o.onDestroy(()=>{this._unloadComponent(o)});const s=o.injector.get(Cg,null);return s&&o.injector.get(xg).registerApplication(o.location.nativeElement,s),this._loadComponent(o),Hr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const e=t._tickScope();try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,fg(e)}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Ug(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Jp,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Ug(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.ngInjectableDef=R({token:t,factory:function(e){return new(e||t)(ct(mg),ct(Yp),ct(Yt),ct(Ss),ct(Ch),ct(Bp))},providedIn:null}),t._tickScope=dg("ApplicationRef#tick()"),t})();function Ug(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Lg{}const Vg=!0,$g="#",Fg="NgFactory";class zg{}const Bg={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},qg=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Bg}load(t){return!Vg&&this._compiler instanceof ig?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split($g);return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>Zg(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split($g),o=Fg;return void 0===r&&(r="default",o=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+o]).then(t=>Zg(t,e,r))}}return t.ngInjectableDef=R({token:t,factory:function(e){return new(e||t)(ct(ig),ct(zg,8))},providedIn:null}),t})();function Zg(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class Qg{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Gg(t):null}get injector(){return function(t){const e=Wl(t);return new ms(e.lView[Ze].data[e.nodeIndex],e.lView)}(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(function(e){const n=Jl(t);return void 0===n.component&&(n.component=function(t,e){const r=e[Ze].data[n.nodeIndex];return 1&r.flags?e[r.directiveStart]:null}(0,n.lView)),n.component}()||function(e){let n,r=Wl(t).lView;for(;null===r[qe]&&(n=Yo(r));)r=n;return 512&r[Qe]?null:r[tn]}())}get context(){return Jl(this.nativeNode).lView[tn]}get listeners(){return function(t){const e=Jl(t).lView,n=e[Xe],r=e[Ze].cleanup,o=[];if(r&&n)for(let s=0;s=0)&&null;t==u&&o.push({element:t,name:c,callback:l,useCapture:d})}}return o.sort(Kl),o}(this.nativeNode).filter(Yl)}get references(){return function(t){const e=Wl(t);return void 0===e.localRefs&&(e.localRefs=function(t,n){const r=t[Ze].data[e.nodeIndex];if(r&&r.localNames){const e={};let n=r.index+1;for(let o=0;o{n.name===t&&n.callback(e)})}}function Wg(t,e,n,r){const o=Wl(t.nativeNode);Jg(o.lView[Ze].data[o.nodeIndex],o.lView,e,n,r,t.nativeNode)}function Jg(t,e,n,r,o,s){const i=Sn(t,e);if(3===t.type||4===t.type){if(Kg(i,n,r,o,s),Tn(t)){const i=En(t.index,e);i&&i[Ze].firstChild&&Jg(i[Ze].firstChild,i,n,r,o,s)}else t.child&&Jg(t.child,e,n,r,o,s);const a=e[t.index];bn(a)&&Yg(a,n,r,o,s)}else if(0===t.type){const i=e[t.index];Kg(i[pn],n,r,o,s),Yg(i,n,r,o,s)}else if(1===t.type){const i=Ko(e),a=i[Ye].projection[t.projection];if(Array.isArray(a))for(let t of a)Kg(t,n,r,o,s);else if(a){const t=i[Ge];Jg(t[Ze].data[a.index],t,n,r,o,s)}}else t.child&&Jg(t.child,e,n,r,o,s);if(s!==i){const i=2&t.flags?t.projectionNext:t.next;i&&Jg(i,e,n,r,o,s)}}function Yg(t,e,n,r,o){for(let s=gn;s{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Bp,useClass:Bp,deps:[[new E,zp]]},{provide:ig,useClass:ig,deps:[]},Zp,{provide:Yh,useFactory:function(){return nd},deps:[]},{provide:Kh,useFactory:function(){return rd},deps:[]},{provide:Kp,useFactory:function(t){return t||"en-US"},deps:[[new x(Kp),new E,new T]]}],om=(()=>{class t{constructor(t){}}return t.ngModuleDef=Ee({type:t}),t.ngInjectorDef=P({factory:function(e){return new(e||t)(ct(Hg))},providers:rm}),t})()},gRHU:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("2fFW"),o=n("NJ4a");const s={closed:!0,next(t){},error(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(o.a)(t)},complete(){}}},jhN1:function(t,e,n){"use strict";n.d(e,"a",function(){return bt}),n.d(e,"b",function(){return yt}),n.d(e,"c",function(){return i});var r=n("ofXK"),o=n("fXoL");let s=null;function i(){return s}class a{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(t){this._attrToPropMap=t}}class c extends a{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const e=this.createElement("div",document);if(null!=this.getStyle(e,"animationName"))this._animationPrefix="";else{const t=["Webkit","Moz","O","ms"];for(let n=0;n{null!=this.getStyle(e,t)&&(this._transitionEnd=n[t])})}catch(t){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(t){return t.getDistributedNodes()}resolveAndSetHref(t,e,n){t.href=null==n?e:e+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const u={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},l=3,h={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},d={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},f=(()=>{if(o.pb.Node)return o.pb.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}})();class p extends c{parse(t){throw new Error("parse not implemented")}static makeCurrent(){var t;t=new p,s||(s=t)}hasProperty(t,e){return e in t}setProperty(t,e,n){t[e]=n}getProperty(t,e){return t[e]}invoke(t,e,n){t[e](...n)}logError(t){window.console&&(console.error?console.error(t):console.log(t))}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return u}contains(t,e){return f.call(t,e)}querySelector(t,e){return t.querySelector(e)}querySelectorAll(t,e){return t.querySelectorAll(e)}on(t,e,n){t.addEventListener(e,n,!1)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}createMouseEvent(t){const e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e}createEvent(t){const e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e}preventDefault(t){t.preventDefault(),t.returnValue=!1}isPrevented(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue}getInnerHTML(t){return t.innerHTML}getTemplateContent(t){return"content"in t&&this.isTemplateElement(t)?t.content:null}getOuterHTML(t){return t.outerHTML}nodeName(t){return t.nodeName}nodeValue(t){return t.nodeValue}type(t){return t.type}content(t){return this.hasProperty(t,"content")?t.content:t}firstChild(t){return t.firstChild}nextSibling(t){return t.nextSibling}parentElement(t){return t.parentNode}childNodes(t){return t.childNodes}childNodesAsList(t){const e=t.childNodes,n=new Array(e.length);for(let r=0;rt.insertBefore(n,e))}insertAfter(t,e,n){t.insertBefore(n,e.nextSibling)}setInnerHTML(t,e){t.innerHTML=e}getText(t){return t.textContent}setText(t,e){t.textContent=e}getValue(t){return t.value}setValue(t,e){t.value=e}getChecked(t){return t.checked}setChecked(t,e){t.checked=e}createComment(t){return this.getDefaultDocument().createComment(t)}createTemplate(t){const e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createElementNS(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)}createTextNode(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)}createScriptTag(t,e,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r}createStyleElement(t,e){const n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n}createShadowRoot(t){return t.createShadowRoot()}getShadowRoot(t){return t.shadowRoot}getHost(t){return t.host}clone(t){return t.cloneNode(!0)}getElementsByClassName(t,e){return t.getElementsByClassName(e)}getElementsByTagName(t,e){return t.getElementsByTagName(e)}classList(t){return Array.prototype.slice.call(t.classList,0)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}hasClass(t,e){return t.classList.contains(e)}setStyle(t,e,n){t.style[e]=n}removeStyle(t,e){t.style[e]=""}getStyle(t,e){return t.style[e]}hasStyle(t,e,n){const r=this.getStyle(t,e)||"";return n?r==n:r.length>0}tagName(t){return t.tagName}attributeMap(t){const e=new Map,n=t.attributes;for(let r=0;r{class t extends r.i{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=i().getLocation(),this._history=i().getHistory()}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(t){i().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){i().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){y()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){y()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.ngInjectableDef=o.Fb({token:t,factory:function(e){return new(e||t)(o.Nb(r.c))},providedIn:null}),t.ctorParameters=()=>[{type:void 0,decorators:[{type:o.u,args:[r.c]}]}],t})(),b=new o.w("TRANSITION_ID"),w=[{provide:o.d,useFactory:function(t,e,n){return()=>{n.get(o.e).donePromise.then(()=>{const n=i();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(e=>n.getAttribute(e,"ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[b,r.c,o.x],multi:!0}];class _{static init(){Object(o.fb)(new _)}addToWindow(t){o.pb.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},o.pb.getAllAngularTestabilities=()=>t.getAllTestabilities(),o.pb.getAllAngularRootElements=()=>t.getAllRootElements(),o.pb.frameworkStabilizers||(o.pb.frameworkStabilizers=[]),o.pb.frameworkStabilizers.push(t=>{const e=o.pb.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?i().isShadowRoot(e)?this.findTestabilityInTree(t,i().getHost(e),!0):this.findTestabilityInTree(t,i().parentElement(e),!0):null}}const S=new o.w("EventManagerPlugins"),C=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.ngInjectableDef=o.Fb({token:t,factory:function(e){return new(e||t)},providedIn:null}),t})(),O=(()=>{class t extends E{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>i().remove(t))}}return t.ngInjectableDef=o.Fb({token:t,factory:function(e){return new(e||t)(o.Nb(r.c))},providedIn:null}),t})(),T={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/"},I=/%COMP%/g,k="_nghost-%COMP%",A="_ngcontent-%COMP%";function j(t,e,n){for(let r=0;r{!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}const R=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new P(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case o.Y.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new H(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case o.Y.Native:case o.Y.ShadowDom:return new U(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=j(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.ngInjectableDef=o.Fb({token:t,factory:function(e){return new(e||t)(o.Nb(C),o.Nb(O),o.Nb(o.c))},providedIn:null}),t})();class P{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(T[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const o=T[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=T[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&o.P.DashCase?t.style.setProperty(e,n,r&o.P.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&o.P.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){M(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return M(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,N(n)):this.eventManager.addEventListener(t,e,N(n))}}const D=(()=>"@".charCodeAt(0))();function M(t,e){if(t.charCodeAt(0)===D)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class H extends P{constructor(t,e,n,r){super(t),this.component=n;const o=j(r+"-"+n.id,n.styles,[]);e.addStyles(o),this.contentAttr=A.replace(I,r+"-"+n.id),this.hostAttr=k.replace(I,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class U extends P{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===o.Y.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=j(r.id,r.styles,[]);for(let o=0;o"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t})(),V=L("addEventListener"),$=L("removeEventListener"),F={},z="FALSE",B="ANGULAR",q="addEventListener",Z="removeEventListener",Q="__zone_symbol__propagationStopped",G="__zone_symbol__stopImmediatePropagation",W=(()=>{const t="undefined"!=typeof Zone&&Zone[L("BLACK_LISTED_EVENTS")];if(t){const e={};return t.forEach(t=>{e[t]=t}),e}})(),J=function(t){return!!W&&W.hasOwnProperty(t)},Y=function(t){const e=F[t.type];if(!e)return;const n=this[e];if(!n)return;const r=[t];if(1===n.length){const t=n[0];return t.zone!==Zone.current?t.zone.run(t.handler,this,r):t.handler.apply(this,r)}{const e=n.slice();for(let n=0;n{class t extends x{constructor(t,e,n){super(t),this.ngZone=e,n&&Object(r.k)(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype[G])return;const t=Event.prototype[G]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Q]=!0),t&&t.apply(this,arguments)}}supports(t){return!0}addEventListener(t,e,n){let r=n;if(!t[V]||o.H.isInAngularZone()&&!J(e))t[q](e,r,!1);else{let n=F[e];n||(n=F[e]=L(B+e+z));let o=t[n];const s=o&&o.length>0;o||(o=t[n]=[]);const i=J(e)?Zone.root:Zone.current;if(0===o.length)o.push({zone:i,handler:r});else{let t=!1;for(let e=0;ethis.removeEventListener(t,e,r)}removeEventListener(t,e,n){let r=t[$];if(!r)return t[Z].apply(t,[e,n,!1]);let o=F[e],s=o&&t[o];if(!s)return t[Z].apply(t,[e,n,!1]);let i=!1;for(let a=0;a{class t{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}return t.ngInjectableDef=o.Fb({token:t,factory:function(e){return new(e||t)},providedIn:null}),t})(),rt=(()=>{class t extends x{constructor(t,e,n,r){super(t),this._config=e,this.console=n,this.loader=r}supports(t){return!(!X.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${t}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(t,e,n){const r=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){let r=!1,o=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(o=()=>{});r||(o=this.addEventListener(t,e,n))}).catch(()=>{this.console.warn(`The "${e}" event cannot be bound because the custom `+"Hammer.JS loader failed."),o=()=>{}}),()=>{o()}}return r.runOutsideAngular(()=>{const o=this._config.buildHammer(t),s=function(t){r.runGuarded(function(){n(t)})};return o.on(e,s),()=>{o.off(e,s),"function"==typeof o.destroy&&o.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}return t.ngInjectableDef=o.Fb({token:t,factory:function(e){return new(e||t)(o.Nb(r.c),o.Nb(tt),o.Nb(o.hb),o.Nb(et,8))},providedIn:null}),t})(),ot=["alt","control","meta","shift"],st={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},it=(()=>{class t extends x{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const o=t.parseEventName(n),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>i().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=t._normalizeKey(n.pop());let s="";if(ot.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=o,0!=n.length||0===o.length)return null;const i={};return i.domEventName=r,i.fullKey=s,i}static getEventFullKey(t){let e="",n=i().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ot.forEach(r=>{r!=n&&(0,st[r])(t)&&(e+=r+".")}),e+=n}static eventCallback(e,n,r){return o=>{t.getEventFullKey(o)===e&&r.runGuarded(()=>n(o))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.ngInjectableDef=o.Fb({token:t,factory:function(e){return new(e||t)(o.Nb(r.c))},providedIn:null}),t})();class at{}const ct=(()=>{class t extends at{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case o.R.NONE:return e;case o.R.HTML:return e instanceof lt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(o.kb)(this._doc,String(e)));case o.R.STYLE:return e instanceof ht?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(o.lb)(e));case o.R.SCRIPT:if(e instanceof dt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case o.R.URL:return e instanceof pt||e instanceof ft?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(o.mb)(String(e)));case o.R.RESOURCE_URL:if(e instanceof pt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(t,e){if(t instanceof ut)throw new Error(`Required a safe ${e}, got a ${t.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(t){return new lt(t)}bypassSecurityTrustStyle(t){return new ht(t)}bypassSecurityTrustScript(t){return new dt(t)}bypassSecurityTrustUrl(t){return new ft(t)}bypassSecurityTrustResourceUrl(t){return new pt(t)}}return t.ngInjectableDef=o.Fb({token:t,factory:function(e){return new(e||t)(o.Nb(r.c))},providedIn:null}),t})();class ut{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class lt extends ut{getTypeName(){return"HTML"}}class ht extends ut{getTypeName(){return"Style"}}class dt extends ut{getTypeName(){return"Script"}}class ft extends ut{getTypeName(){return"URL"}}class pt extends ut{getTypeName(){return"ResourceURL"}}const gt=[{provide:o.K,useValue:r.l},{provide:o.L,useValue:function(){p.makeCurrent(),_.init()},multi:!0},{provide:r.i,useClass:v,deps:[r.c]},{provide:r.c,useFactory:function(){return document},deps:[]}],mt=[{provide:o.Q,useExisting:at},{provide:at,useClass:ct,deps:[r.c]}],yt=Object(o.ab)(o.eb,"browser",gt),vt=[mt,{provide:o.gb,useValue:!0},{provide:o.p,useFactory:function(){return new o.p},deps:[]},{provide:S,useClass:K,multi:!0,deps:[r.c,o.H,o.K]},{provide:S,useClass:it,multi:!0,deps:[r.c]},{provide:S,useClass:rt,multi:!0,deps:[r.c,tt,o.hb,[new o.I,et]]},{provide:tt,useClass:nt,deps:[]},{provide:R,useClass:R,deps:[C,O,o.c]},{provide:o.O,useExisting:R},{provide:E,useExisting:O},{provide:O,useClass:O,deps:[r.c]},{provide:o.V,useClass:o.V,deps:[o.H]},{provide:C,useClass:C,deps:[S,o.H]},[]],bt=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:o.c,useValue:e.appId},{provide:b,useExisting:o.c},w]}}}return t.ngModuleDef=o.Hb({type:t}),t})();bt.ngInjectorDef=o.Gb({factory:function(t){return new(t||bt)(o.Nb(bt,12))},providers:vt,imports:[r.b,o.f]}),"undefined"!=typeof window&&window},kJWO:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},l7GE:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("7o/Q");class o extends r.a{notifyNext(t,e,n,r,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},lJxs:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("7o/Q");function o(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}class s{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new i(t,this.project,this.thisArg))}}class i extends r.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},mCNh:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var r=n("KqfI");function o(...t){return s(t)}function s(t){return t?1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}:r.a}},n6bG:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",function(){return r})},ngJS:function(t,e,n){"use strict";n.d(e,"a",function(){return r});const r=t=>e=>{for(let n=0,r=t.length;n{class t{constructor(e,n){this._subject=new r.q,this._urlChangeListeners=[],this._platformStrategy=e;const o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=t.stripTrailingSlash(u(o)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+t.normalizeQueryParams(n))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,u(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(e,n="",r=null){this._platformStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),r)}replaceState(e,n="",r=null){this._platformStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),r)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}static normalizeQueryParams(t){return t&&"?"!==t[0]?"?"+t:t}static joinWithSlash(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}static stripTrailingSlash(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}}return t.ngInjectableDef=r.Fb({token:t,factory:function(e){return new(e||t)(r.Nb(i),r.Nb(o))},providedIn:null}),t})();function u(t){return t.replace(/\/index.html$/,"")}const l=(()=>{class t extends i{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=c.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,r){let o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.ngInjectableDef=r.Fb({token:t,factory:function(e){return new(e||t)(r.Nb(o),r.Nb(a,8))},providedIn:null}),t})(),h=(()=>{class t extends i{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return c.joinWithSlash(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+c.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,r){const o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.ngInjectableDef=r.Fb({token:t,factory:function(e){return new(e||t)(r.Nb(o),r.Nb(a,8))},providedIn:null}),t})(),d=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),f=r.ob,p=new r.w("UseV4Plurals");class g{}const m=(()=>{class t extends g{constructor(t,e){super(),this.locale=t,this.deprecatedPluralFn=e}getPluralCategory(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):f(e||this.locale)(t)){case d.Zero:return"zero";case d.One:return"one";case d.Two:return"two";case d.Few:return"few";case d.Many:return"many";default:return"other"}}}return t.ngInjectableDef=r.Fb({token:t,factory:function(e){return new(e||t)(r.Nb(r.B),r.Nb(p,8))},providedIn:null}),t})();function y(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,o]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}const v=(()=>{class t{}return t.ngModuleDef=r.Hb({type:t}),t})();v.ngInjectorDef=r.Gb({factory:function(t){return new(t||v)},providers:[{provide:g,useClass:m}]});const b=(()=>{class t{}return t.ngModuleDef=r.Hb({type:t}),t})();b.ngInjectorDef=r.Gb({factory:function(t){return new(t||b)},providers:[{provide:p,useValue:function(t,e){"string"==typeof e&&(e=parseInt(e,10));const n=e,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),s=r.length,i=parseInt(r,10),a=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?d.One:d.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?d.One:d.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?d.One:d.Other;case"ar":return 0===n?d.Zero:1===n?d.One:2===n?d.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?d.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?d.Many:d.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===s?d.One:d.Other;case"be":return n%10==1&&n%100!=11?d.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?d.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?d.Many:d.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?d.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?d.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?d.Few:0!==n&&n%1e6==0?d.Many:d.Other;case"bs":case"hr":case"sr":return 0===s&&o%10==1&&o%100!=11||i%10==1&&i%100!=11?d.One:0===s&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?d.Few:d.Other;case"cs":case"sk":return 1===o&&0===s?d.One:o===Math.floor(o)&&o>=2&&o<=4&&0===s?d.Few:0!==s?d.Many:d.Other;case"cy":return 0===n?d.Zero:1===n?d.One:2===n?d.Two:3===n?d.Few:6===n?d.Many:d.Other;case"da":return 1===n||0!==a&&(0===o||1===o)?d.One:d.Other;case"dsb":case"hsb":return 0===s&&o%100==1||i%100==1?d.One:0===s&&o%100==2||i%100==2?d.Two:0===s&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4?d.Few:d.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?d.One:d.Other;case"fil":return 0===s&&(1===o||2===o||3===o)||0===s&&o%10!=4&&o%10!=6&&o%10!=9||0!==s&&i%10!=4&&i%10!=6&&i%10!=9?d.One:d.Other;case"ga":return 1===n?d.One:2===n?d.Two:n===Math.floor(n)&&n>=3&&n<=6?d.Few:n===Math.floor(n)&&n>=7&&n<=10?d.Many:d.Other;case"gd":return 1===n||11===n?d.One:2===n||12===n?d.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?d.Few:d.Other;case"gv":return 0===s&&o%10==1?d.One:0===s&&o%10==2?d.Two:0!==s||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==s?d.Many:d.Other:d.Few;case"he":return 1===o&&0===s?d.One:2===o&&0===s?d.Two:0!==s||n>=0&&n<=10||n%10!=0?d.Other:d.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?d.One:d.Other;case"ksh":return 0===n?d.Zero:1===n?d.One:d.Other;case"kw":case"naq":case"se":case"smn":return 1===n?d.One:2===n?d.Two:d.Other;case"lag":return 0===n?d.Zero:0!==o&&1!==o||0===n?d.Other:d.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?d.Few:0!==i?d.Many:d.Other:d.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===s&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=19?d.Zero:n%10==1&&n%100!=11||2===s&&i%10==1&&i%100!=11||2!==s&&i%10==1?d.One:d.Other;case"mk":return 0===s&&o%10==1||i%10==1?d.One:d.Other;case"mt":return 1===n?d.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?d.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?d.Many:d.Other;case"pl":return 1===o&&0===s?d.One:0===s&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?d.Few:0===s&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===s&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===s&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?d.Many:d.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?d.One:d.Other;case"ro":return 1===o&&0===s?d.One:0!==s||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?d.Few:d.Other;case"ru":case"uk":return 0===s&&o%10==1&&o%100!=11?d.One:0===s&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?d.Few:0===s&&o%10==0||0===s&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===s&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?d.Many:d.Other;case"shi":return 0===o||1===n?d.One:n===Math.floor(n)&&n>=2&&n<=10?d.Few:d.Other;case"si":return 0===n||1===n||0===o&&1===i?d.One:d.Other;case"sl":return 0===s&&o%100==1?d.One:0===s&&o%100==2?d.Two:0===s&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==s?d.Few:d.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?d.One:d.Other;default:return d.Other}}}]});const w=new r.w("DocumentToken"),_="browser",S="server";function C(t){return t===S}const x=(()=>{class t{}return t.ngInjectableDef=Object(r.Fb)({token:t,providedIn:"root",factory:()=>new E(Object(r.Nb)(w),window,Object(r.Nb)(r.p))}),t})();class E{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const n=this.document.querySelector(`#${t}`);if(n)return void this.scrollToElement(n);const r=this.document.querySelector(`[name='${t}']`);if(r)return void this.scrollToElement(r)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},pLzU:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("Lhse");const o=t=>e=>{const n=t[r.a]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e}},quSY:function(t,e,n){"use strict";var r=n("DH7j"),o=n("XoHu"),s=n("n6bG");function i(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}i.prototype=Object.create(Error.prototype);const a=i;n.d(e,"a",function(){return c});const c=(()=>{class t{constructor(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let t,e=!1;if(this.closed)return;let{_parent:n,_parents:i,_unsubscribe:c,_subscriptions:l}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let h=-1,d=i?i.length:0;for(;n;)n.remove(this),n=++ht.concat(e instanceof a?e.errors:e),[])}},tyNb:function(t,e,n){"use strict";var r=n("ofXK"),o=n("fXoL"),s=n("z+Ro"),i=n("yCtX"),a=n("HDdC");const c=new a.a(t=>t.complete());function u(t){return t?function(t){return new a.a(e=>t.schedule(()=>e.complete()))}(t):c}function l(t){const e=new a.a(e=>{e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function h(...t){let e=t[t.length-1];switch(Object(s.a)(e)?t.pop():e=void 0,t.length){case 0:return u(e);case 1:return e?Object(i.a)(t,e):l(t[0]);default:return Object(i.a)(t,e)}}var d=n("Cfvw"),f=n("XNiG"),p=n("9ppp");class g extends f.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new p.a;return this._value}next(t){super.next(this._value=t)}}function m(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}m.prototype=Object.create(Error.prototype);const y=m;var v=n("DH7j"),b=n("l7GE"),w=n("ZUHj");const _={};class S{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new C(t,this.resultSelector))}}class C extends b.a{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(_),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{let n;try{n=t()}catch(r){return void e.error(r)}return(n?Object(d.a)(n):u()).subscribe(e)})}var E=n("lJxs"),O=n("bHdf");function T(){return Object(O.a)(1)}var I=n("7o/Q");function k(t,e){return function(n){return n.lift(new A(t,e))}}class A{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new j(t,this.predicate,this.thisArg))}}class j extends I.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}function N(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}N.prototype=Object.create(Error.prototype);const R=N;function P(t){return function(e){return 0===t?u():e.lift(new D(t))}}class D{constructor(t){if(this.total=t,this.total<0)throw new R}call(t,e){return e.subscribe(new M(t,this.total))}}class M extends I.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let o=0;oL({hasValue:!1,next(){this.hasValue=!0},complete(){if(!this.hasValue)throw t()}});function z(t=null){return e=>e.lift(new B(t))}class B{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new q(t,this.defaultValue))}}class q extends I.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Z=n("SpAZ");function Q(t,e){const n=arguments.length>=2;return r=>r.pipe(t?k((e,n)=>t(e,n,r)):Z.a,P(1),n?z(e):F(()=>new y))}var G=n("51Dv");function W(t){return function(e){const n=new J(t),r=e.lift(n);return n.caught=r}}class J{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Y(t,this.selector,this.caught))}}class Y extends b.a{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new G.a(this,void 0,void 0);this.add(r),Object(w.a)(this,n,void 0,void 0,r)}}}function K(t){return e=>0===t?u():e.lift(new X(t))}class X{constructor(t){if(this.total=t,this.total<0)throw new R}call(t,e){return e.subscribe(new tt(t,this.total))}}class tt extends I.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function et(t,e){const n=arguments.length>=2;return r=>r.pipe(t?k((e,n)=>t(e,n,r)):Z.a,K(1),n?z(e):F(()=>new y))}var nt=n("5+tZ");class rt{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new ot(t,this.predicate,this.thisArg,this.source))}}class ot extends I.a{constructor(t,e,n,r){super(t),this.predicate=e,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function st(t,e){return"function"==typeof e?n=>n.pipe(st((n,r)=>Object(d.a)(t(n,r)).pipe(Object(E.a)((t,o)=>e(n,t,r,o))))):e=>e.lift(new it(t))}class it{constructor(t){this.project=t}call(t,e){return e.subscribe(new at(t,this.project))}}class at extends b.a{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)}_innerSub(t,e,n){const r=this.innerSubscription;r&&r.unsubscribe();const o=new G.a(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Object(w.a)(this,t,e,n,o)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,r,o){this.destination.next(e)}}function ct(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new ut(t,e,n))}}class ut{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new lt(t,this.accumulator,this.seed,this.hasSeed))}}class lt extends I.a{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function ht(t,e){return Object(nt.a)(t,e,1)}var dt=n("mCNh"),ft=n("quSY");class pt{constructor(t){this.callback=t}call(t,e){return e.subscribe(new gt(t,this.callback))}}class gt extends I.a{constructor(t,e){super(t),this.add(new ft.a(e))}}var mt=n("jhN1");n.d(e,"a",function(){return Mn}),n.d(e,"c",function(){return Vn}),n.d(e,"b",function(){return Jn});class yt{constructor(t,e){this.id=t,this.url=e}}class vt extends yt{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class bt extends yt{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class wt extends yt{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class _t extends yt{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class St extends yt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ct extends yt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xt extends yt{constructor(t,e,n,r,o){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Et extends yt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ot extends yt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tt{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class It{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class kt{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class At{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jt{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nt{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rt{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Pt=(()=>{class t{}return t.ngComponentDef=o.Db({type:t,selectors:[["ng-component"]],factory:function(e){return new(e||t)},consts:1,vars:0,template:function(t,e){1&t&&o.Kb(0,"router-outlet")},directives:function(){return[Vn]},encapsulation:2}),t})(),Dt="primary";class Mt{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Ht(t){return new Mt(t)}const Ut="ngNavigationCancelingError";function Lt(t){const e=Error("NavigationCancelingError: "+t);return e[Ut]=!0,e}function Vt(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function Wt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Jt(t){return Object(o.rb)(t)?t:Object(o.sb)(t)?Object(d.a)(Promise.resolve(t)):h(t)}function Yt(t,e,n){return n?function(t,e){return Zt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!ee(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>e[n]===t[n])}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length){return!!ee(n.segments.slice(0,o.length),o)&&!r.hasChildren()}if(n.segments.length===o.length){if(!ee(n.segments,o))return!1;for(const e in r.children){if(!n.children[e])return!1;if(!t(n.children[e],r.children[e]))return!1}return!0}{const t=o.slice(0,n.segments.length),s=o.slice(n.segments.length);return!!ee(n.segments,t)&&!!n.children[Dt]&&e(n.children[Dt],r,s)}}(e,n,n.segments)}(t.root,e.root)}class Kt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ht(this.queryParams)),this._queryParamMap}toString(){return se.serialize(this)}}class Xt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Wt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ie(this)}}class te{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Ht(this.parameters)),this._parameterMap}toString(){return de(this)}}function ee(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function ne(t,e){let n=[];return Wt(t.children,(t,r)=>{r===Dt&&(n=n.concat(e(t,r)))}),Wt(t.children,(t,r)=>{r!==Dt&&(n=n.concat(e(t,r)))}),n}class re{}class oe{parse(t){const e=new ye(t);return new Kt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${function t(e,n){if(!e.hasChildren())return ie(e);if(n){const n=e.children[Dt]?t(e.children[Dt],!1):"",r=[];return Wt(e.children,(e,n)=>{n!==Dt&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=ne(e,(n,r)=>r===Dt?[t(e.children[Dt],!1)]:[`${r}:${t(n,!1)}`]);return`${ie(e)}/(${n.join("//")})`}}(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${ce(e)}=${ce(t)}`).join("&"):`${ce(e)}=${ce(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const se=new oe;function ie(t){return t.segments.map(t=>de(t)).join("/")}function ae(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ce(t){return ae(t).replace(/%3B/gi,";")}function ue(t){return ae(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function le(t){return decodeURIComponent(t)}function he(t){return le(t.replace(/\+/g,"%20"))}function de(t){return`${ue(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${ue(t)}=${ue(e[t])}`).join("")}`;var e}const fe=/^[^\/()?;=#]+/;function pe(t){const e=t.match(fe);return e?e[0]:""}const ge=/^[^=?&#]+/,me=/^[^?&#]+/;class ye{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Xt([],{}):new Xt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[Dt]=new Xt(t,e)),n}parseSegment(){const t=pe(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new te(le(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=pe(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=pe(this.remaining);t&&this.capture(n=t)}t[le(e)]=le(n)}parseQueryParam(t){const e=function(t){const e=t.match(ge);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(me);return e?e[0]:""}(this.remaining);t&&this.capture(n=t)}const r=he(e),o=he(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(t[r]=e=[e]),e.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=pe(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=Dt);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[Dt]:new Xt([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class ve{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=be(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=be(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=we(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return we(t,this._root).map(t=>t.value)}}function be(t,e){if(t===e.value)return e;for(const n of e.children){const e=be(t,n);if(e)return e}return null}function we(t,e){if(t===e.value)return[e];for(const n of e.children){const r=we(t,n);if(r.length)return r.unshift(e),r}return[]}class _e{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Se(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Ce extends ve{constructor(t,e){super(t),this.snapshot=e,ke(this,t)}toString(){return this.snapshot.toString()}}function xe(t,e){const n=function(t,e){const n=new Te([],{},{},"",{},Dt,e,null,t.root,-1,{});return new Ie("",new _e(n,[]))}(t,e),r=new g([new te("",{})]),o=new g({}),s=new g({}),i=new g({}),a=new g(""),c=new Ee(r,o,i,a,s,Dt,e,n.root);return c.snapshot=n.root,new Ce(new _e(c,[]),n)}class Ee{constructor(t,e,n,r,o,s,i,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=s,this.component=i,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(E.a)(t=>Ht(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(E.a)(t=>Ht(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Oe(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Te{constructor(t,e,n,r,o,s,i,a,c,u,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=s,this.component=i,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=u,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ht(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ht(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ie extends ve{constructor(t,e){super(e),this.url=t,ke(this,e)}toString(){return Ae(this._root)}}function ke(t,e){e.value._routerState=t,e.children.forEach(e=>ke(t,e))}function Ae(t){const e=t.children.length>0?` { ${t.children.map(Ae).join(", ")} } `:"";return`${t.value}${e}`}function je(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Zt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Zt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nZt(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Ne(t.parent,e.parent))}function Re(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Pe(t,e,n,r,o){let s={};return r&&Wt(r,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new Kt(n.root===t?e:function t(e,n,r){const o={};return Wt(e.children,(e,s)=>{o[s]=e===n?r:t(e,n,r)}),new Xt(e.segments,o)}(n.root,t,e),s,o)}class De{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Re(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(r&&r!==Gt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Me{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function He(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[Dt]:`${t}`}function Ue(t,e,n){if(t||(t=new Xt([],{})),0===t.segments.length&&t.hasChildren())return Le(t,e,n);const r=function(t,e,n){let r=0,o=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return s;const e=t.segments[o],i=He(n[r]),a=r0&&void 0===i)break;if(i&&a&&"object"==typeof a&&void 0===a.outlets){if(!ze(i,a,e))return s;r+=2}else{if(!ze(i,{},e))return s;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex{null!==n&&(o[r]=Ue(t.children[r],e,n))}),Wt(t.children,(t,e)=>{void 0===r[e]&&(o[e]=t)}),new Xt(t.segments,o)}}function Ve(t,e,n){const r=t.segments.slice(0,e);let o=0;for(;o{null!==t&&(e[n]=Ve(new Xt([],{}),0,t))}),e}function Fe(t){const e={};return Wt(t,(t,n)=>e[n]=`${t}`),e}function ze(t,e,n){return t==n.path&&Zt(e,n.parameters)}const Be=(t,e,n)=>Object(E.a)(r=>(new qe(e,r.targetRouterState,r.currentRouterState,n).activate(t),r));class qe{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),je(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Se(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Wt(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=Se(t),o=t.value.component?n.children:e;Wt(r,(t,e)=>this.deactivateRouteAndItsChildren(t,o)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=Se(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Nt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new At(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,o=e?e.value:null;if(je(r),r===o)if(r.component){const o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Ze(t.route)}else{const n=function(t){for(let e=r.snapshot.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(),o=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=o,e.outlet&&e.outlet.activateWith(r,o),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Ze(t){je(t.value),t.children.forEach(Ze)}function Qe(t){return"function"==typeof t}function Ge(t){return t instanceof Kt}class We{constructor(t){this.segmentGroup=t||null}}class Je{constructor(t){this.urlTree=t}}function Ye(t){return new a.a(e=>e.error(new We(t)))}function Ke(t){return new a.a(e=>e.error(new Je(t)))}function Xe(t){return new a.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class tn{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(o.F)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Dt).pipe(Object(E.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(W(t=>{if(t instanceof Je)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof We)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Dt).pipe(Object(E.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(W(t=>{if(t instanceof We)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new Xt([],{[Dt]:t}):t;return new Kt(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(E.a)(t=>new Xt([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return h({});const n=[],r=[],o={};return Wt(t,(t,s)=>{const i=e(s,t).pipe(Object(E.a)(t=>o[s]=t));s===Dt?n.push(i):r.push(i)}),h.apply(null,n.concat(r)).pipe(T(),Q(),Object(E.a)(()=>o))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,o,s){return h(...n).pipe(Object(E.a)(i=>this.expandSegmentAgainstRoute(t,e,n,i,r,o,s).pipe(W(t=>{if(t instanceof We)return h(null);throw t}))),T(),et(t=>!!t),W((t,n)=>{if(t instanceof y||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,o))return h(new Xt([],{}));throw new We(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,o,s,i){return on(r)!==s?Ye(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):i&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,s):Ye(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ke(o):this.lineralizeSegments(n,o).pipe(Object(nt.a)(n=>{const o=new Xt(n,{});return this.expandSegment(t,o,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,s){const{matched:i,consumedSegments:a,lastChild:c,positionalParamSegments:u}=en(e,r,o);if(!i)return Ye(e);const l=this.applyRedirectCommands(a,r.redirectTo,u);return r.redirectTo.startsWith("/")?Ke(l):this.lineralizeSegments(r,l).pipe(Object(nt.a)(r=>this.expandSegment(t,e,n,r.concat(o.slice(c)),s,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(E.a)(t=>(n._loadedConfig=t,new Xt(r,{})))):h(new Xt(r,{}));const{matched:o,consumedSegments:s,lastChild:i}=en(e,n,r);if(!o)return Ye(e);const a=r.slice(i);return this.getChildConfig(t,n,r).pipe(Object(nt.a)(t=>{const n=t.module,r=t.routes,{segmentGroup:o,slicedSegments:i}=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(n=>rn(t,e,n)&&on(n)!==Dt)}(t,n)?{segmentGroup:nn(new Xt(e,function(t,e){const n={};n[Dt]=e;for(const r of t)""===r.path&&on(r)!==Dt&&(n[on(r)]=new Xt([],{}));return n}(r,new Xt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(n=>rn(t,e,n))}(t,n)?{segmentGroup:nn(new Xt(t.segments,function(t,e,n,r){const o={};for(const s of n)rn(t,e,s)&&!r[on(s)]&&(o[on(s)]=new Xt([],{}));return Object.assign({},r,o)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,s,a,r);return 0===i.length&&o.hasChildren()?this.expandChildren(n,r,o).pipe(Object(E.a)(t=>new Xt(s,t))):0===r.length&&0===i.length?h(new Xt(s,{})):this.expandSegment(n,o,r,i,Dt,!0).pipe(Object(E.a)(t=>new Xt(s.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?h(new $t(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?h(e._loadedConfig):function(t,e,n){const r=e.canLoad;return r&&0!==r.length?Object(d.a)(r).pipe(Object(E.a)(r=>{const o=t.get(r);let s;if(function(t){return t&&Qe(t.canLoad)}(o))s=o.canLoad(e,n);else{if(!Qe(o))throw new Error("Invalid CanLoad guard");s=o(e,n)}return Jt(s)})).pipe(T(),(o=t=>!0===t,t=>t.lift(new rt(o,void 0,t)))):h(!0);var o}(t.injector,e,n).pipe(Object(nt.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(E.a)(t=>(e._loadedConfig=t,t))):function(t){return new a.a(e=>e.error(Lt(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):h(new $t([],t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return h(n);if(r.numberOfChildren>1||!r.children[Dt])return Xe(t.redirectTo);r=r.children[Dt]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const o=this.createSegmentGroup(t,e.root,n,r);return new Kt(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Wt(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const o=t.substring(1);n[r]=e[o]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const o=this.createSegments(t,e.segments,n,r);let s={};return Wt(e.children,(e,o)=>{s[o]=this.createSegmentGroup(t,e,n,r)}),new Xt(o,s)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function en(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||Vt)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function nn(t){if(1===t.numberOfChildren&&t.children[Dt]){const e=t.children[Dt];return new Xt(t.segments.concat(e.segments),e.children)}return t}function rn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function on(t){return t.outlet||Dt}class sn{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class an{constructor(t,e){this.component=t,this.route=e}}function cn(t,e,n){const r=t._root;return function t(e,n,r,o,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=Se(n);return e.children.forEach(e=>{!function(e,n,r,o,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,a=n?n.value:null,c=r?r.getContext(e.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){const u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!ee(t.url,e.url);case"pathParamsOrQueryParamsChange":return!ee(t.url,e.url)||!Zt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ne(t,e)||!Zt(t.queryParams,e.queryParams);case"paramsChange":default:return!Ne(t,e)}}(a,i,i.routeConfig.runGuardsAndResolvers);if(u?s.canActivateChecks.push(new sn(o)):(i.data=a.data,i._resolvedData=a._resolvedData),t(e,n,i.component?c?c.children:null:r,o,s),u){s.canDeactivateChecks.push(new an(c&&c.outlet&&c.outlet.component||null,a))}}else a&&ln(n,c,s),s.canActivateChecks.push(new sn(o)),t(e,null,i.component?c?c.children:null:r,o,s)}(e,i[e.value.outlet],r,o.concat([e.value]),s),delete i[e.value.outlet]}),Wt(i,(t,e)=>ln(t,r.getContext(e),s)),s}(r,e?e._root:null,n,[r.value])}function un(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function ln(t,e,n){const r=Se(t),o=t.value;Wt(r,(t,r)=>{ln(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new an(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}const hn=Symbol("INITIAL_VALUE");function dn(){return st(t=>(function(...t){let e=null,n=null;return Object(s.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(v.a)(t[0])&&(t=t[0]),Object(i.a)(t,n).lift(new S(e))})(...t.map(t=>t.pipe(K(1),function(...t){return e=>{let n=t[t.length-1];Object(s.a)(n)?t.pop():n=null;const r=t.length;return function(...t){return T()(h(...t))}(1!==r||n?r>0?Object(i.a)(t,n):u(n):l(t[0]),e)}}(hn)))).pipe(ct((t,e)=>{let n=!1;return e.reduce((t,r,o)=>{if(t!==hn)return t;if(r===hn&&(n=!0),!n){if(!1===r)return r;if(o===e.length-1||Ge(r))return r}return t},t)},hn),k(t=>t!==hn),Object(E.a)(t=>Ge(t)?t:!0===t),K(1)))}function fn(t,e){return null!==t&&e&&e(new jt(t)),h(!0)}function pn(t,e){return null!==t&&e&&e(new kt(t)),h(!0)}function gn(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?h(r.map(r=>x(()=>{const o=un(r,e,n);let s;if(function(t){return t&&Qe(t.canActivate)}(o))s=Jt(o.canActivate(e,t));else{if(!Qe(o))throw new Error("Invalid CanActivate guard");s=Jt(o(e,t))}return s.pipe(et())}))).pipe(dn()):h(!0)}function mn(t,e,n){const r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(t=>(function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null})(t)).filter(t=>null!==t).map(e=>x(()=>h(e.guards.map(o=>{const s=un(o,e.node,n);let i;if(function(t){return t&&Qe(t.canActivateChild)}(s))i=Jt(s.canActivateChild(r,t));else{if(!Qe(s))throw new Error("Invalid CanActivateChild guard");i=Jt(s(r,t))}return i.pipe(et())})).pipe(dn())));return h(o).pipe(dn())}class yn{}class vn{constructor(t,e,n,r,o,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}recognize(){try{const e=_n(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,e,Dt),r=new Te([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Dt,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new _e(r,n),s=new Ie(this.url,o);return this.inheritParamsAndData(s._root),h(s)}catch(t){return new a.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=Oe(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=ne(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};n.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value})}(),n.sort((t,e)=>t.value.outlet===Dt?-1:e.value.outlet===Dt?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,r)}catch(o){if(!(o instanceof yn))throw o}if(this.noLeftoversInUrl(e,n,r))return[];throw new yn}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new yn;if((t.outlet||Dt)!==r)throw new yn;let o,s=[],i=[];if("**"===t.path){const s=n.length>0?Gt(n).parameters:{};o=new Te(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,xn(t),r,t.component,t,bn(e),wn(e)+n.length,En(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new yn;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||Vt)(n,t,e);if(!r)throw new yn;const o={};Wt(r.posParams,(t,e)=>{o[e]=t.path});const s=r.consumed.length>0?Object.assign({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s}}(e,t,n);s=a.consumedSegments,i=n.slice(a.lastChild),o=new Te(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,xn(t),r,t.component,t,bn(e),wn(e)+s.length,En(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:u}=_n(e,s,i,a,this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const t=this.processChildren(a,c);return[new _e(o,t)]}if(0===a.length&&0===u.length)return[new _e(o,[])];const l=this.processSegment(a,c,u,Dt);return[new _e(o,l)]}}function bn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function wn(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function _n(t,e,n,r,o){if(n.length>0&&function(t,e,n){return r.some(n=>Sn(t,e,n)&&Cn(n)!==Dt)}(t,n)){const o=new Xt(e,function(t,e,n,r){const o={};o[Dt]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&Cn(s)!==Dt){const n=new Xt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,o[Cn(s)]=n}return o}(t,e,r,new Xt(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(n=>Sn(t,e,n))}(t,n)){const s=new Xt(t.segments,function(t,e,n,r,o,s){const i={};for(const a of r)if(Sn(t,n,a)&&!o[Cn(a)]){const n=new Xt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,i[Cn(a)]=n}return Object.assign({},o,i)}(t,e,n,r,t.children,o));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Xt(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Sn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Cn(t){return t.outlet||Dt}function xn(t){return t.data||{}}function En(t){return t.resolve||{}}function On(t,e,n,r){const o=un(t,e,r);return Jt(o.resolve?o.resolve(e,n):o(e,n))}function Tn(t){return function(e){return e.pipe(st(e=>{const n=t(e);return n?Object(d.a)(n).pipe(Object(E.a)(()=>e)):Object(d.a)([e])}))}}class In{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const kn=new o.w("ROUTES");class An{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(E.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new $t(Qt(r.injector.get(kn)).map(qt),r)}))}loadModuleFactory(t){return"string"==typeof t?Object(d.a)(this.loader.load(t)):Jt(t()).pipe(Object(nt.a)(t=>t instanceof o.D?h(t):Object(d.a)(this.compiler.compileModuleAsync(t))))}}class jn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Nn(t){throw t}function Rn(t,e,n){return e.parse("/")}function Pn(t,e){return h(null)}class Dn{constructor(t,e,n,r,s,i,a,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new f.a,this.errorHandler=Nn,this.malformedUriErrorHandler=Rn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Pn,afterPreactivation:Pn},this.urlHandlingStrategy=new jn,this.routeReuseStrategy=new In,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(o.F),this.console=s.get(o.hb);const u=s.get(o.H);this.isNgZoneEnabled=u instanceof o.H,this.resetConfig(c),this.currentUrlTree=new Kt(new Xt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new An(i,a,t=>this.triggerEvent(new Tt(t)),t=>this.triggerEvent(new It(t))),this.routerState=xe(this.currentUrlTree,this.rootComponentType),this.transitions=new g({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(k(t=>0!==t.id),Object(E.a)(t=>Object.assign({},t,{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),st(t=>{let n=!1,r=!1;return h(t).pipe(L(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),st(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return h(t).pipe(st(t=>{const n=this.transitions.getValue();return e.next(new vt(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?c:[t]}),st(t=>Promise.resolve(t)),function(t,e,n,r){return function(o){return o.pipe(st(o=>(function(t,e,n,r,s){return new tn(t,e,n,o.extractedUrl,s).apply()})(t,e,n,0,r).pipe(Object(E.a)(t=>Object.assign({},o,{urlAfterRedirects:t})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),L(t=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,o){return function(s){return s.pipe(Object(nt.a)(s=>(function(t,e,n,r,o="emptyOnly",s="legacy"){return new vn(t,e,n,r,o,s).recognize()})(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),r,o).pipe(Object(E.a)(t=>Object.assign({},s,{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),L(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),L(t=>{const n=new St(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:o,restoredState:s,extras:i}=t,a=new vt(n,this.serializeUrl(r),o,s);e.next(a);const c=xe(r,this.rootComponentType).snapshot;return h(Object.assign({},t,{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign({},i,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),c}),Tn(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:o,extras:{skipLocationChange:s,replaceUrl:i}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!i})}),L(t=>{const e=new Ct(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(E.a)(t=>Object.assign({},t,{guards:cn(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(nt.a)(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:s,canDeactivateChecks:i}}=n;return 0===i.length&&0===s.length?h(Object.assign({},n,{guardsResult:!0})):function(t,e,n,r){return Object(d.a)(t).pipe(Object(nt.a)(t=>(function(t,e,n,r,o){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return s&&0!==s.length?h(s.map(s=>{const i=un(s,e,o);let a;if(function(t){return t&&Qe(t.canDeactivate)}(i))a=Jt(i.canDeactivate(t,e,n,r));else{if(!Qe(i))throw new Error("Invalid CanDeactivate guard");a=Jt(i(t,e,n,r))}return a.pipe(et())})).pipe(dn()):h(!0)})(t.component,t.route,n,e,r)),et(t=>!0!==t,!0))}(i,r,o,t).pipe(Object(nt.a)(n=>n&&function(t){return"boolean"==typeof n}()?function(t,e,n,r){return Object(d.a)(e).pipe(ht(e=>Object(d.a)([pn(e.route.parent,r),fn(e.route,r),mn(t,e.path,n),gn(t,e.route,n)]).pipe(T(),et(t=>!0!==t,!0))),et(t=>!0!==t,!0))}(r,s,t,e):h(n)),Object(E.a)(t=>Object.assign({},n,{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),L(t=>{if(Ge(t.guardsResult)){const e=Lt(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),L(t=>{const e=new xt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),k(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new wt(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Tn(t=>{if(t.guards.canActivateChecks.length)return h(t).pipe(L(t=>{const e=new Et(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),function(t,e){return function(n){return n.pipe(Object(nt.a)(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;return o.length?Object(d.a)(o).pipe(ht(n=>(function(t,e,n,o){return function(t,e,n,r){const o=Object.keys(t);if(0===o.length)return h({});if(1===o.length){const s=o[0];return On(t[s],e,n,r).pipe(Object(E.a)(t=>({[s]:t})))}const s={};return Object(d.a)(o).pipe(Object(nt.a)(o=>On(t[o],e,n,r).pipe(Object(E.a)(t=>(s[o]=t,t))))).pipe(Q(),Object(E.a)(()=>s))}(t._resolve,t,r,o).pipe(Object(E.a)(e=>(t._resolvedData=e,t.data=Object.assign({},t.data,Oe(t,n).resolve),null)))})(n.route,0,t,e)),function(t,e){return arguments.length>=2?function(e){return Object(dt.a)(ct(t,void 0),P(1),z(void 0))(e)}:function(e){return Object(dt.a)(ct((e,n,r)=>t(e)),P(1))(e)}}((t,e)=>t),Object(E.a)(t=>n)):h(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),L(t=>{const e=new Ot(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Tn(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:o,extras:{skipLocationChange:s,replaceUrl:i}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!i})}),Object(E.a)(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const o=r.value;o._futureSnapshot=n.value;const s=function(e,n,r){return n.children.map(n=>{for(const o of r.children)if(e.shouldReuseRoute(o.value.snapshot,n.value))return t(e,n,o);return t(e,n)})}(e,n,r);return new _e(o,s)}{const r=e.retrieve(n.value);if(r){const t=r.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let r=0;rt(e,n));return new _e(r,s)}}var o}(t,e._root,n?n._root:void 0);return new Ce(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign({},t,{targetRouterState:e})}),L(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Be(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),L({next(){n=!0},complete(){n=!0}}),function(t){return e=>e.lift(new pt(t))}(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new wt(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),W(n=>{if(r=!0,function(t){return n&&n[Ut]}()){const r=Ge(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const o=new wt(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(o),t.resolve(!1),r&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new _t(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(o){t.reject(o)}}return c}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign({},this.getTransition(),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",r=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Ft(t),this.config=t.map(qt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,preserveQueryParams:i,queryParamsHandling:a,preserveFragment:c}=e;Object(o.db)()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const u=n||this.routerState.root,l=c?this.currentUrlTree.fragment:s;let h=null;if(a)switch(a){case"merge":h=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=i?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,r,o){if(0===n.length)return Pe(e.root,e.root,e,r,o);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new De(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,o)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Wt(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===o?(r.split("/").forEach((r,o)=>{0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new De(n,e,r)}(n);if(s.toRoot())return Pe(e.root,new Xt([],{}),e,r,o);const i=function(t,n,r){if(t.isAbsolute)return new Me(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Me(r.snapshot._urlSegment,!0,0);const o=Re(t.commands[0])?0:1;return function(e,n,s){let i=r.snapshot._urlSegment,a=r.snapshot._lastPathIndex+o,c=t.numberOfDoubleDots;for(;c>a;){if(c-=a,!(i=i.parent))throw new Error("Invalid number of '../'");a=i.segments.length}return new Me(i,!1,a-c)}()}(s,0,t),a=i.processChildren?Le(i.segmentGroup,i.index,s.commands):Ue(i.segmentGroup,i.index,s.commands);return Pe(i.segmentGroup,a,e,r,o)}(u,this.currentUrlTree,t,h,l)}navigateByUrl(t,e={skipLocationChange:!1}){Object(o.db)()&&this.isNgZoneEnabled&&!o.H.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Ge(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new bt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r){const o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);let s=null,i=null;const a=new Promise((t,e)=>{s=t,i=e}),c=++this.navigationId;return this.setTransition({id:c,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:s,reject:i,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const o=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(o)||e?this.location.replaceState(o,"",Object.assign({},r,{navigationId:n})):this.location.go(o,"",Object.assign({},r,{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}const Mn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof bt&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(o.db)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:Hn(this.skipLocationChange),replaceUrl:Hn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Hn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Hn(this.preserveFragment)})}}return t.ngDirectiveDef=o.Eb({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],factory:function(e){return new(e||t)(o.Jb(Dn),o.Jb(Ee),o.Jb(r.g))},hostBindings:function(t,e,n){1&t&&(o.zb(2),o.Pb("click",function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)})),2&t&&(o.Rb("href",e.href,o.Tb,!0),o.Ab("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[o.xb()]}),t})();function Hn(t){return""===t||!!t}class Un{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ln,this.attachRef=null}}class Ln{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Un,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}const Vn=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.q,this.deactivateEvents=new o.q,this.name=r||Dt,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new $n(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.ngDirectiveDef=o.Eb({type:t,selectors:[["router-outlet"]],factory:function(e){return new(e||t)(o.Jb(Ln),o.Jb(o.X),o.Jb(o.l),o.Ob("name"),o.Jb(o.i))},outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class $n{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Ee?this.route:t===Ln?this.childContexts:this.parent.get(t,e)}}class Fn{}class zn{preload(t,e){return h(null)}}const Bn=(()=>{class t{constructor(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new An(e,n,e=>t.triggerEvent(new Tt(e)),e=>t.triggerEvent(new It(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(k(t=>t instanceof bt),ht(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(o.F);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return Object(d.a)(n).pipe(Object(O.a)(),Object(E.a)(t=>void 0))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(nt.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.ngInjectableDef=o.Fb({token:t,factory:function(e){return new(e||t)(o.Nb(Dn),o.Nb(o.E),o.Nb(o.j),o.Nb(o.x),o.Nb(Fn))},providedIn:null}),t})();class qn{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof vt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof bt&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Rt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new Rt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Zn=new o.w("ROUTER_CONFIGURATION"),Qn=new o.w("ROUTER_FORROOT_GUARD"),Gn=[r.f,{provide:re,useClass:oe},{provide:Dn,useFactory:function(t,e,n,r,o,s,i,a,c={},u,l){const h=new Dn(null,e,n,r,o,s,i,Qt(a));if(u&&(h.urlHandlingStrategy=u),l&&(h.routeReuseStrategy=l),c.errorHandler&&(h.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(h.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){const t=Object(mt.c)();h.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return c.onSameUrlNavigation&&(h.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(h.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(h.relativeLinkResolution=c.relativeLinkResolution),h},deps:[o.g,re,Ln,r.f,o.x,o.E,o.j,kn,Zn,[class{},new o.I],[class{},new o.I]]},Ln,{provide:Ee,useFactory:function(t){return t.routerState.root},deps:[Dn]},{provide:o.E,useClass:o.T},Bn,zn,class{preload(t,e){return e().pipe(W(()=>h(null)))}},{provide:Zn,useValue:{enableTracing:!1}}];function Wn(){return new o.G("Router",Dn)}const Jn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Gn,tr(e),{provide:Qn,useFactory:Xn,deps:[[Dn,new o.I,new o.S]]},{provide:Zn,useValue:n||{}},{provide:r.g,useFactory:Kn,deps:[r.i,[new o.u(r.a),new o.I],Zn]},{provide:qn,useFactory:Yn,deps:[Dn,r.j,Zn]},{provide:Fn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:zn},{provide:o.G,multi:!0,useFactory:Wn},[er,{provide:o.d,multi:!0,useFactory:nr,deps:[er]},{provide:or,useFactory:rr,deps:[er]},{provide:o.b,multi:!0,useExisting:or}]]}}static forChild(e){return{ngModule:t,providers:[tr(e)]}}}return t.ngModuleDef=o.Hb({type:t}),t})();function Yn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new qn(t,e,n)}function Kn(t,e,n={}){return n.useHash?new r.d(t,e):new r.h(t,e)}function Xn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function tr(t){return[{provide:o.a,multi:!0,useValue:t},{provide:kn,multi:!0,useValue:t}]}Jn.ngInjectorDef=o.Gb({factory:function(t){return new(t||Jn)(o.Nb(Qn,8),o.Nb(Dn,8))}});const er=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new f.a}appInitializer(){return this.injector.get(r.e,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Dn),r=this.injector.get(Zn);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?h(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Zn),n=this.injector.get(Bn),r=this.injector.get(qn),s=this.injector.get(Dn),i=this.injector.get(o.g);t===i.components[0]&&(this.isLegacyEnabled(e)?s.initialNavigation():this.isLegacyDisabled(e)&&s.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.ngInjectableDef=o.Fb({token:t,factory:function(e){return new(e||t)(o.Nb(o.x))},providedIn:null}),t})();function nr(t){return t.appInitializer.bind(t)}function rr(t){return t.bootstrapListener.bind(t)}const or=new o.w("Router Initializer")},yCtX:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("HDdC"),o=n("quSY"),s=n("ngJS");function i(t,e){return new r.a(e?n=>{const r=new o.a;let s=0;return r.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()})),r}:Object(s.a)(t))}},"z+Ro":function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return r})},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("fXoL");function o(t,e,n,r){return new(n||(n=Promise))(function(o,s){function i(t){try{c(r.next(t))}catch(e){s(e)}}function a(t){try{c(r.throw(t))}catch(e){s(e)}}function c(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(i,a)}c((r=r.apply(t,e||[])).next())})}Object.setPrototypeOf||Array;var s=n("jhN1"),i=n("tyNb");const a=["routerLink","./lazy"],c=(()=>{class t{}return t.ngComponentDef=r.Db({type:t,selectors:[["app-root"]],factory:function(e){return new(e||t)},consts:6,vars:0,template:function(t,e){1&t&&(r.Mb(0,"p"),r.Yb(1," I am the App component. "),r.Lb(),r.Mb(2,"p"),r.Mb(3,"a",a),r.Yb(4,"Load Lazy Route"),r.Lb(),r.Lb(),r.Kb(5,"router-outlet"))},directives:[i.a,i.c],styles:["[_nghost-%COMP%]{display:block;font-size:18px}"]}),t})(),u=(()=>{class t{}return t.ngModuleDef=r.Hb({type:t,bootstrap:[c]}),t.ngInjectorDef=r.Gb({factory:function(e){return new(e||t)},providers:[],imports:[[s.a,i.b.forRoot([{path:"lazy",loadChildren:()=>o(void 0,void 0,void 0,function*(){return(yield n.e(1).then(n.bind(null,"jCMx"))).LazyModule})}],{useHash:!0,scrollPositionRestoration:"enabled",anchorScrolling:"enabled",enableTracing:!1})]]}),t})();i.b.forRoot([{path:"lazy",loadChildren:()=>o(void 0,void 0,void 0,function*(){return(yield n.e(1).then(n.bind(null,"jCMx"))).LazyModule})}],{useHash:!0,scrollPositionRestoration:"enabled",anchorScrolling:"enabled",enableTracing:!1}),Object(r.bb)(),s.b().bootstrapModule(u).catch(t=>{console.warn("Angular application failed to bootstrap."),console.error(t)})},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/demos/webpack4-angular8-cli/dist/main-es5.44d82718f8b7ad424720.js b/demos/webpack4-angular8-cli/dist/main-es5.44d82718f8b7ad424720.js new file mode 100644 index 000000000..20f17e50a --- /dev/null +++ b/demos/webpack4-angular8-cli/dist/main-es5.44d82718f8b7ad424720.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+tJ4":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return function(e){for(var n=0,r=t.length;n0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o=2;return function(r){return r.pipe(t?P(function(e,n){return t(e,n,r)}):W.a,D(1),n?G(e):B(function(){return new m}))}}var K=n("rPjj");function J(t){return function(e){var n=new X(t),r=e.lift(n);return n.caught=r}}var X=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new $(t,this.selector,this.caught))},t}(),$=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return r.d(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(o){return void t.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new K.a(this,void 0,void 0);this.add(r),Object(_.a)(this,n,void 0,void 0,r)}},e}(w.a);function tt(t){return function(e){return 0===t?l():e.lift(new et(t))}}var et=function(){function t(t){if(this.total=t,this.total<0)throw new N}return t.prototype.call=function(t,e){return e.subscribe(new nt(t,this.total))},t}(),nt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.d(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(I.a);function rt(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?P(function(e,n){return t(e,n,r)}):W.a,tt(1),n?G(e):B(function(){return new m}))}}var ot=n("psW0"),it=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new at(t,this.predicate,this.thisArg,this.source))},t}(),at=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return r.d(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(I.a);function ut(t,e){return"function"==typeof e?function(n){return n.pipe(ut(function(n,r){return Object(h.a)(t(n,r)).pipe(Object(E.a)(function(t,o){return e(n,t,r,o)}))}))}:function(e){return e.lift(new st(t))}}var st=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new ct(t,this.project))},t}(),ct=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.d(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new K.a(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Object(_.a)(this,t,e,n,o)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e}(w.a);function lt(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new ft(t,e,n))}}var ft=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new pt(t,this.accumulator,this.seed,this.hasSeed))},t}(),pt=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return r.d(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(I.a);function ht(t,e){return Object(ot.a)(t,e,1)}var dt=n("y3By"),vt=n("pugT"),yt=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new gt(t,this.callback))},t}(),gt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new vt.a(n)),r}return r.d(e,t),e}(I.a),mt=n("E1rE");n.d(e,"a",function(){return Ln}),n.d(e,"c",function(){return Bn}),n.d(e,"b",function(){return tr});var bt=function(){return function(t,e){this.id=t,this.url=e}}(),wt=function(t){function e(e,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=t.call(this,e,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return Object(r.d)(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(bt),_t=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o}return Object(r.d)(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(bt),St=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.reason=r,o}return Object(r.d)(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(bt),xt=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.error=r,o}return Object(r.d)(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(bt),Ct=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.d)(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(bt),Ot=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.d)(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(bt),Et=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return Object(r.d)(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(bt),jt=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.d)(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(bt),Tt=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.d)(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(bt),It=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),Pt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),kt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),At=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Rt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Nt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Dt=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),Mt=function(){function t(){}return t.ngComponentDef=i.Db({type:t,selectors:[["ng-component"]],factory:function(e){return new(e||t)},consts:1,vars:0,template:function(t,e){1&t&&i.Kb(0,"router-outlet")},directives:function(){return[Bn]},encapsulation:2}),t}(),Ut="primary",Ht=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Lt(t){return new Ht(t)}var Vt="ngNavigationCancelingError";function Ft(t){var e=Error("NavigationCancelingError: "+t);return e[Vt]=!0,e}function zt(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function Jt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Xt(t){return Object(i.rb)(t)?t:Object(i.sb)(t)?Object(h.a)(Promise.resolve(t)):p(t)}function $t(t,e,n){return n?function(t,e){return Wt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!re(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!re(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!re(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!t(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),u=o.slice(n.segments.length);return!!re(n.segments,a)&&!!n.children[Ut]&&e(n.children[Ut],r,u)}(e,n,n.segments)}(t.root,e.root)}var te=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Lt(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return ue.serialize(this)},t}(),ee=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Jt(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return se(this)},t}(),ne=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Lt(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return de(this)},t}();function re(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function oe(t,e){var n=[];return Jt(t.children,function(t,r){r===Ut&&(n=n.concat(e(t,r)))}),Jt(t.children,function(t,r){r!==Ut&&(n=n.concat(e(t,r)))}),n}var ie=function(){return function(){}}(),ae=function(){function t(){}return t.prototype.parse=function(t){var e=new be(t);return new te(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return se(e);if(n){var r=e.children[Ut]?t(e.children[Ut],!1):"",o=[];return Jt(e.children,function(e,n){n!==Ut&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=oe(e,function(n,r){return r===Ut?[t(e.children[Ut],!1)]:[r+":"+t(n,!1)]});return se(e)+"/("+i.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return le(t)+"="+le(e)}).join("&"):le(t)+"="+le(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),ue=new ae;function se(t){return t.segments.map(function(t){return de(t)}).join("/")}function ce(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function le(t){return ce(t).replace(/%3B/gi,";")}function fe(t){return ce(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function pe(t){return decodeURIComponent(t)}function he(t){return pe(t.replace(/\+/g,"%20"))}function de(t){return""+fe(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+fe(t)+"="+fe(e[t])}).join(""));var e}var ve=/^[^\/()?;=#]+/;function ye(t){var e=t.match(ve);return e?e[0]:""}var ge=/^[^=?&#]+/,me=/^[^?&#]+/,be=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ee([],{}):new ee([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[Ut]=new ee(t,e)),n},t.prototype.parseSegment=function(){var t=ye(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new ne(pe(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=ye(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=ye(this.remaining);r&&this.capture(n=r)}t[pe(e)]=pe(n)}},t.prototype.parseQueryParam=function(t){var e=function(t){var e=t.match(ge);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(me);return e?e[0]:""}(this.remaining);r&&this.capture(n=r)}var o=he(e),i=he(n);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(t[o]=a=[a]),a.push(i)}else t[o]=i}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=ye(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=Ut);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[Ut]:new ee([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),we=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=_e(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=_e(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Se(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return Se(t,this._root).map(function(t){return t.value})},t}();function _e(t,e){var n,o;if(t===e.value)return e;try{for(var i=Object(r.j)(e.children),a=i.next();!a.done;a=i.next()){var u=_e(t,a.value);if(u)return u}}catch(s){n={error:s}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return null}function Se(t,e){var n,o;if(t===e.value)return[e];try{for(var i=Object(r.j)(e.children),a=i.next();!a.done;a=i.next()){var u=Se(t,a.value);if(u.length)return u.unshift(e),u}}catch(s){n={error:s}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return[]}var xe=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function Ce(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Oe=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,ke(r,e),r}return Object(r.d)(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(we);function Ee(t,e){var n=function(t,e){var n=new Ie([],{},{},"",{},Ut,e,null,t.root,-1,{});return new Pe("",new xe(n,[]))}(t,e),r=new y([new ne("",{})]),o=new y({}),i=new y({}),a=new y({}),u=new y(""),s=new je(r,o,a,u,i,Ut,e,n.root);return s.snapshot=n.root,new Oe(new xe(s,[]),n)}var je=function(){function t(t,e,n,r,o,i,a,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=u}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(E.a)(function(t){return Lt(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(E.a)(function(t){return Lt(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Te(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,o=0;if("always"!==e)for(o=n.length-1;o>=1;){var i=n[o],a=n[o-1];if(i.routeConfig&&""===i.routeConfig.path)o--;else{if(a.component)break;o--}}return function(t){return t.reduce(function(t,e){return{params:Object(r.a)({},t.params,e.params),data:Object(r.a)({},t.data,e.data),resolve:Object(r.a)({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(o))}var Ie=function(){function t(t,e,n,r,o,i,a,u,s,c,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Lt(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Lt(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),Pe=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,ke(r,n),r}return Object(r.d)(e,t),e.prototype.toString=function(){return Ae(this._root)},e}(we);function ke(t,e){e.value._routerState=t,e.children.forEach(function(e){return ke(t,e)})}function Ae(t){var e=t.children.length>0?" { "+t.children.map(Ae).join(", ")+" } ":"";return""+t.value+e}function Re(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Wt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Wt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&De(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==Kt(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),He=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function Le(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[Ut]:""+t}function Ve(t,e,n){if(t||(t=new ee([],{})),0===t.segments.length&&t.hasChildren())return Fe(t,e,n);var r=function(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o=n.length)return i;var a=t.segments[o],u=Le(n[r]),s=r0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!Ge(u,s,a))return i;r+=2}else{if(!Ge(u,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new ee([],((r={})[Ut]=t,r)):t;return new te(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(E.a)(function(t){return new ee([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return p({});var i=[],a=[],u={};return Jt(n,function(n,o){var s,c,l=(s=o,c=n,r.expandSegmentGroup(t,e,c,s)).pipe(Object(E.a)(function(t){return u[o]=t}));o===Ut?i.push(l):a.push(l)}),p.apply(null,i.concat(a)).pipe(T(),Y(),Object(E.a)(function(){return u}))}(n.children)},t.prototype.expandSegment=function(t,e,n,o,i,a){var u=this;return p.apply(void 0,Object(r.i)(n)).pipe(Object(E.a)(function(r){return u.expandSegmentAgainstRoute(t,e,n,r,o,i,a).pipe(J(function(t){if(t instanceof Ke)return p(null);throw t}))}),T(),rt(function(t){return!!t}),J(function(t,n){if(t instanceof m||"EmptyError"===t.name){if(u.noLeftoversInUrl(e,o,i))return p(new ee([],{}));throw new Ke(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return an(r)!==i?Xe(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):Xe(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?$e(i):this.lineralizeSegments(n,i).pipe(Object(ot.a)(function(n){var i=new ee(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,u=nn(e,r,o),s=u.consumedSegments,c=u.lastChild,l=u.positionalParamSegments;if(!u.matched)return Xe(e);var f=this.applyRedirectCommands(s,r.redirectTo,l);return r.redirectTo.startsWith("/")?$e(f):this.lineralizeSegments(r,f).pipe(Object(ot.a)(function(r){return a.expandSegment(t,e,n,r.concat(o.slice(c)),i,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,o){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(E.a)(function(t){return n._loadedConfig=t,new ee(o,{})})):p(new ee(o,{}));var a=nn(e,n,o),u=a.consumedSegments,s=a.lastChild;if(!a.matched)return Xe(e);var c=o.slice(s);return this.getChildConfig(t,n,o).pipe(Object(ot.a)(function(t){var n=t.module,o=t.routes,a=function(t,e,n,o){return n.length>0&&function(t,e,n){return o.some(function(n){return on(t,e,n)&&an(n)!==Ut})}(t,n)?{segmentGroup:rn(new ee(e,function(t,e){var n,o,i={};i[Ut]=e;try{for(var a=Object(r.j)(t),u=a.next();!u.done;u=a.next()){var s=u.value;""===s.path&&an(s)!==Ut&&(i[an(s)]=new ee([],{}))}}catch(c){n={error:c}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}(o,new ee(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return o.some(function(n){return on(t,e,n)})}(t,n)?{segmentGroup:rn(new ee(t.segments,function(t,e,n,o){var i,a,u={};try{for(var s=Object(r.j)(n),c=s.next();!c.done;c=s.next()){var l=c.value;on(t,e,l)&&!o[an(l)]&&(u[an(l)]=new ee([],{}))}}catch(f){i={error:f}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}return Object(r.a)({},o,u)}(t,n,o,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,c,o),s=a.segmentGroup,l=a.slicedSegments;return 0===l.length&&s.hasChildren()?i.expandChildren(n,o,s).pipe(Object(E.a)(function(t){return new ee(u,t)})):0===o.length&&0===l.length?p(new ee(u,{})):i.expandSegment(n,s,o,l,Ut,!0).pipe(Object(E.a)(function(t){return new ee(u.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?p(new Bt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?p(e._loadedConfig):function(t,e,n){var r,o=e.canLoad;return o&&0!==o.length?Object(h.a)(o).pipe(Object(E.a)(function(r){var o,i=t.get(r);if(function(t){return t&&We(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!We(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return Xt(o)})).pipe(T(),(r=function(t){return!0===t},function(t){return t.lift(new it(r,void 0,t))})):p(!0)}(t.injector,e,n).pipe(Object(ot.a)(function(n){return n?r.configLoader.load(t.injector,e).pipe(Object(E.a)(function(t){return e._loadedConfig=t,t})):function(t){return new s.a(function(e){return e.error(Ft("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):p(new Bt([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return p(n);if(r.numberOfChildren>1||!r.children[Ut])return tn(t.redirectTo);r=r.children[Ut]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new te(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Jt(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return Jt(e.children,function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)}),new ee(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,o,i=0;try{for(var a=Object(r.j)(e),u=a.next();!u.done;u=a.next()){var s=u.value;if(s.path===t.path)return e.splice(i),s;i++}}catch(c){n={error:c}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return t},t}();function nn(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||zt)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function rn(t){if(1===t.numberOfChildren&&t.children[Ut]){var e=t.children[Ut];return new ee(t.segments.concat(e.segments),e.children)}return t}function on(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function an(t){return t.outlet||Ut}var un=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),sn=function(){return function(t,e){this.component=t,this.route=e}}();function cn(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function ln(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=Ce(e);return t.children.forEach(function(t){!function(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=t.value,a=e?e.value:null,u=n?n.getContext(t.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var s=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!re(t.url,e.url);case"pathParamsOrQueryParamsChange":return!re(t.url,e.url)||!Wt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ne(t,e)||!Wt(t.queryParams,e.queryParams);case"paramsChange":default:return!Ne(t,e)}}(a,i,i.routeConfig.runGuardsAndResolvers);s?o.canActivateChecks.push(new un(r)):(i.data=a.data,i._resolvedData=a._resolvedData),ln(t,e,i.component?u?u.children:null:n,r,o),s&&o.canDeactivateChecks.push(new sn(u&&u.outlet&&u.outlet.component||null,a))}else a&&fn(e,u,o),o.canActivateChecks.push(new un(r)),ln(t,null,i.component?u?u.children:null:n,r,o)}(t,i[t.value.outlet],n,r.concat([t.value]),o),delete i[t.value.outlet]}),Jt(i,function(t,e){return fn(t,n.getContext(e),o)}),o}function fn(t,e,n){var r=Ce(t),o=t.value;Jt(r,function(t,r){fn(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new sn(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var pn=Symbol("INITIAL_VALUE");function hn(){return ut(function(t){return(function(){for(var t=[],e=0;e0?Object(u.a)(t,n):l(n):f(t[0]),e)}}(pn))}))).pipe(lt(function(t,e){var n=!1;return e.reduce(function(t,r,o){if(t!==pn)return t;if(r===pn&&(n=!0),!n){if(!1===r)return r;if(o===e.length-1||Ye(r))return r}return t},t)},pn),P(function(t){return t!==pn}),Object(E.a)(function(t){return Ye(t)?t:!0===t}),tt(1))})}function dn(t,e){return null!==t&&e&&e(new Rt(t)),p(!0)}function vn(t,e){return null!==t&&e&&e(new kt(t)),p(!0)}function yn(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?p(r.map(function(r){return O(function(){var o,i=cn(r,e,n);if(function(t){return t&&We(t.canActivate)}(i))o=Xt(i.canActivate(e,t));else{if(!We(i))throw new Error("Invalid CanActivate guard");o=Xt(i(e,t))}return o.pipe(rt())})})).pipe(hn()):p(!0)}function gn(t,e,n){var r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return O(function(){return p(e.guards.map(function(o){var i,a=cn(o,e.node,n);if(function(t){return t&&We(t.canActivateChild)}(a))i=Xt(a.canActivateChild(r,t));else{if(!We(a))throw new Error("Invalid CanActivateChild guard");i=Xt(a(r,t))}return i.pipe(rt())})).pipe(hn())})});return p(o).pipe(hn())}var mn=function(){return function(){}}(),bn=function(){function t(t,e,n,r,o,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return t.prototype.recognize=function(){try{var t=Sn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Ut),n=new Ie([],Object.freeze({}),Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,{},Ut,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new xe(n,e),i=new Pe(this.url,o);return this.inheritParamsAndData(i._root),p(i)}catch(a){return new s.a(function(t){return t.error(a)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=Te(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,o=oe(e,function(e,n){return r.processSegmentGroup(t,e,n)});return n={},o.forEach(function(t){var e=n[t.value.outlet];if(e){var r=e.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[t.value.outlet]=t.value}),o.sort(function(t,e){return t.value.outlet===Ut?-1:e.value.outlet===Ut?1:t.value.outlet.localeCompare(e.value.outlet)}),o},t.prototype.processSegment=function(t,e,n,o){var i,a;try{for(var u=Object(r.j)(t),s=u.next();!s.done;s=u.next()){var c=s.value;try{return this.processSegmentAgainstRoute(c,e,n,o)}catch(l){if(!(l instanceof mn))throw l}}}catch(f){i={error:f}}finally{try{s&&!s.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(e,n,o))return[];throw new mn},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,o){if(t.redirectTo)throw new mn;if((t.outlet||Ut)!==o)throw new mn;var i,a=[],u=[];if("**"===t.path){var s=n.length>0?Kt(n).parameters:{};i=new Ie(n,s,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,On(t),o,t.component,t,wn(e),_n(e)+n.length,En(t))}else{var c=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new mn;return{consumedSegments:[],lastChild:0,parameters:{}}}var o=(e.matcher||zt)(n,t,e);if(!o)throw new mn;var i={};Jt(o.posParams,function(t,e){i[e]=t.path});var a=o.consumed.length>0?Object(r.a)({},i,o.consumed[o.consumed.length-1].parameters):i;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:a}}(e,t,n);a=c.consumedSegments,u=n.slice(c.lastChild),i=new Ie(a,c.parameters,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,On(t),o,t.component,t,wn(e),_n(e)+a.length,En(t))}var l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),f=Sn(e,a,u,l,this.relativeLinkResolution),p=f.segmentGroup,h=f.slicedSegments;if(0===h.length&&p.hasChildren()){var d=this.processChildren(l,p);return[new xe(i,d)]}if(0===l.length&&0===h.length)return[new xe(i,[])];var v=this.processSegment(l,p,h,Ut);return[new xe(i,v)]},t}();function wn(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function _n(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Sn(t,e,n,o,i){if(n.length>0&&function(t,e,n){return o.some(function(n){return xn(t,e,n)&&Cn(n)!==Ut})}(t,n)){var a=new ee(e,function(t,e,n,o){var i,a,u={};u[Ut]=o,o._sourceSegment=t,o._segmentIndexShift=e.length;try{for(var s=Object(r.j)(n),c=s.next();!c.done;c=s.next()){var l=c.value;if(""===l.path&&Cn(l)!==Ut){var f=new ee([],{});f._sourceSegment=t,f._segmentIndexShift=e.length,u[Cn(l)]=f}}}catch(p){i={error:p}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}return u}(t,e,o,new ee(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return o.some(function(n){return xn(t,e,n)})}(t,n)){var u=new ee(t.segments,function(t,e,n,o,i,a){var u,s,c={};try{for(var l=Object(r.j)(o),f=l.next();!f.done;f=l.next()){var p=f.value;if(xn(t,n,p)&&!i[Cn(p)]){var h=new ee([],{});h._sourceSegment=t,h._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[Cn(p)]=h}}}catch(d){u={error:d}}finally{try{f&&!f.done&&(s=l.return)&&s.call(l)}finally{if(u)throw u.error}}return Object(r.a)({},i,c)}(t,e,n,o,t.children,i));return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}var s=new ee(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function xn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Cn(t){return t.outlet||Ut}function On(t){return t.data||{}}function En(t){return t.resolve||{}}function jn(t,e,n,r){var o=cn(t,e,r);return Xt(o.resolve?o.resolve(e,n):o(e,n))}function Tn(t){return function(e){return e.pipe(ut(function(e){var n=t(e);return n?Object(h.a)(n).pipe(Object(E.a)(function(){return e})):Object(h.a)([e])}))}}var In=function(){return function(){}}(),Pn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),kn=new i.w("ROUTES"),An=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(E.a)(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new Bt(Yt(o.injector.get(kn)).map(Zt),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(h.a)(this.loader.load(t)):Xt(t()).pipe(Object(ot.a)(function(t){return t instanceof i.D?p(t):Object(h.a)(e.compiler.compileModuleAsync(t))}))},t}(),Rn=function(){return function(){}}(),Nn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function Dn(t){throw t}function Mn(t,e,n){return e.parse("/")}function Un(t,e){return p(null)}var Hn=function(){function t(t,e,n,r,o,a,u,s){var c=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=s,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new d.a,this.errorHandler=Dn,this.malformedUriErrorHandler=Mn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Un,afterPreactivation:Un},this.urlHandlingStrategy=new Nn,this.routeReuseStrategy=new Pn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.F),this.console=o.get(i.hb);var l=o.get(i.H);this.isNgZoneEnabled=l instanceof i.H,this.resetConfig(s),this.currentUrlTree=new te(new ee([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new An(a,u,function(t){return c.triggerEvent(new It(t))},function(t){return c.triggerEvent(new Pt(t))}),this.routerState=Ee(this.currentUrlTree,this.rootComponentType),this.transitions=new y({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(P(function(t){return 0!==t.id}),Object(E.a)(function(t){return Object(r.a)({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),ut(function(t){var o,i,a,u,s=!1,l=!1;return p(t).pipe(V(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object(r.a)({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}}),ut(function(t){var o,i,a,u,s=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return p(t).pipe(ut(function(t){var r=e.transitions.getValue();return n.next(new wt(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?c:[t]}),ut(function(t){return Promise.resolve(t)}),(o=e.ngModule.injector,i=e.configLoader,a=e.urlSerializer,u=e.config,function(t){return t.pipe(ut(function(t){return function(e,n,r,o,i){return new en(e,n,r,t.extractedUrl,i).apply()}(o,i,a,0,u).pipe(Object(E.a)(function(e){return Object(r.a)({},t,{urlAfterRedirects:e})}))}))}),V(function(t){e.currentNavigation=Object(r.a)({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,n,o,i,a){return function(o){return o.pipe(Object(ot.a)(function(o){return function(t,e,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new bn(t,e,n,r,o,i).recognize()}(t,n,o.urlAfterRedirects,(u=o.urlAfterRedirects,e.serializeUrl(u)),i,a).pipe(Object(E.a)(function(t){return Object(r.a)({},o,{targetSnapshot:t})}));var u}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),V(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)}),V(function(t){var r=new Ct(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.extractedUrl,f=t.source,h=t.restoredState,d=t.extras,v=new wt(t.id,e.serializeUrl(l),f,h);n.next(v);var y=Ee(l,e.rootComponentType).snapshot;return p(Object(r.a)({},t,{targetSnapshot:y,urlAfterRedirects:l,extras:Object(r.a)({},d,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),c}),Tn(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),V(function(t){var n=new Ot(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),Object(E.a)(function(t){return Object(r.a)({},t,{guards:(n=t.targetSnapshot,o=t.currentSnapshot,i=e.rootContexts,a=n._root,ln(a,o?o._root:null,i,[a.value]))});var n,o,i,a}),function(t,e){return function(n){return n.pipe(Object(ot.a)(function(n){var o=n.targetSnapshot,i=n.currentSnapshot,a=n.guards,u=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===u.length?p(Object(r.a)({},n,{guardsResult:!0})):function(t,e,n,r){return Object(h.a)(t).pipe(Object(ot.a)(function(t){return function(t,e,n,r,o){var i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?p(i.map(function(i){var a,u=cn(i,e,o);if(function(t){return t&&We(t.canDeactivate)}(u))a=Xt(u.canDeactivate(t,e,n,r));else{if(!We(u))throw new Error("Invalid CanDeactivate guard");a=Xt(u(t,e,n,r))}return a.pipe(rt())})).pipe(hn()):p(!0)}(t.component,t.route,n,e,r)}),rt(function(t){return!0!==t},!0))}(s,o,i,t).pipe(Object(ot.a)(function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return Object(h.a)(e).pipe(ht(function(e){return Object(h.a)([vn(e.route.parent,r),dn(e.route,r),gn(t,e.path,n),yn(t,e.route,n)]).pipe(T(),rt(function(t){return!0!==t},!0))}),rt(function(t){return!0!==t},!0))}(o,u,t,e):p(n)}),Object(E.a)(function(t){return Object(r.a)({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),V(function(t){if(Ye(t.guardsResult)){var n=Ft('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),V(function(t){var n=new Et(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),P(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new St(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),Tn(function(t){if(t.guards.canActivateChecks.length)return p(t).pipe(V(function(t){var n=new jt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,o=e.ngModule.injector,function(t){return t.pipe(Object(ot.a)(function(t){var e=t.targetSnapshot,i=t.guards.canActivateChecks;return i.length?Object(h.a)(i).pipe(ht(function(t){return function(t,n,o,i){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return p({});if(1===o.length){var i=o[0];return jn(t[i],e,n,r).pipe(Object(E.a)(function(t){var e;return(e={})[i]=t,e}))}var a={};return Object(h.a)(o).pipe(Object(ot.a)(function(o){return jn(t[o],e,n,r).pipe(Object(E.a)(function(t){return a[o]=t,t}))})).pipe(Y(),Object(E.a)(function(){return a}))}(t._resolve,t,e,i).pipe(Object(E.a)(function(e){return t._resolvedData=e,t.data=Object(r.a)({},t.data,Te(t,o).resolve),null}))}(t.route,0,n,o)}),function(t,e){return arguments.length>=2?function(e){return Object(dt.a)(lt(t,void 0),D(1),G(void 0))(e)}:function(e){return Object(dt.a)(lt(function(e,n,r){return t(e)}),D(1))(e)}}(function(t,e){return t}),Object(E.a)(function(e){return t})):p(t)}))}),V(function(t){var n=new Tt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,o}),Tn(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Object(E.a)(function(t){var n,o,i,a=(i=function t(e,n,o){if(o&&e.shouldReuseRoute(n.value,o.value.snapshot)){(c=o.value)._futureSnapshot=n.value;var i=function(e,n,o){return n.children.map(function(n){var i,a;try{for(var u=Object(r.j)(o.children),s=u.next();!s.done;s=u.next()){var c=s.value;if(e.shouldReuseRoute(c.value.snapshot,n.value))return t(e,n,c)}}catch(l){i={error:l}}finally{try{s&&!s.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return t(e,n)})}(e,n,o);return new xe(c,i)}var a=e.retrieve(n.value);if(a){var u=a.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;ru;){if(s-=u,!(a=a.parent))throw new Error("Invalid number of '../'");u=a.segments.length}return new He(a,!1,u-s)}()}(a,0,t),s=u.processChildren?Fe(u.segmentGroup,u.index,a.commands):Ve(u.segmentGroup,u.index,a.commands);return Me(u.segmentGroup,s,e,o,i)}(l,this.currentUrlTree,t,p,f)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Object(i.db)()&&this.isNgZoneEnabled&&!i.H.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Ye(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;u||(u=t[a]=[]);var c=q(e)?Zone.root:Zone.current;if(0===u.length)u.push({zone:c,handler:o});else{for(var l=!1,f=0;f-1},e.ngInjectableDef=i.Fb({token:e,factory:function(t){return new(t||e)(i.Nb(o.c),i.Nb(W),i.Nb(i.hb),i.Nb(Y,8))},providedIn:null}),e}(x),X=["alt","control","meta","shift"],$={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},tt=function(t){function e(e){return t.call(this,e)||this}var n;return Object(r.d)(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var o=n.parseEventName(e),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return u().onAndCancel(t,o.domEventName,i)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(e.pop()),i="";if(X.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=u().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),X.forEach(function(r){r!=n&&(0,$[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(o){n.getEventFullKey(o)===t&&r.runGuarded(function(){return e(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.ngInjectableDef=i.Fb({token:e,factory:function(t){return new(t||e)(i.Nb(o.c))},providedIn:null}),e}(x),et=function(){return function(){}}(),nt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(r.d)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case i.R.NONE:return e;case i.R.HTML:return e instanceof ot?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(i.kb)(this._doc,String(e)));case i.R.STYLE:return e instanceof it?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(i.lb)(e));case i.R.SCRIPT:if(e instanceof at)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case i.R.URL:return e instanceof st||e instanceof ut?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(i.mb)(String(e)));case i.R.RESOURCE_URL:if(e instanceof st)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof rt)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new ot(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new it(t)},e.prototype.bypassSecurityTrustScript=function(t){return new at(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new ut(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new st(t)},e.ngInjectableDef=i.Fb({token:e,factory:function(t){return new(t||e)(i.Nb(o.c))},providedIn:null}),e}(et),rt=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.d)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(rt),it=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.d)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(rt),at=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.d)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(rt),ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.d)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(rt),st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.d)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(rt),ct=[{provide:i.K,useValue:o.l},{provide:i.L,useValue:function(){d.makeCurrent(),w.init()},multi:!0},{provide:o.i,useClass:g,deps:[o.c]},{provide:o.c,useFactory:function(){return document},deps:[]}],lt=[{provide:i.Q,useExisting:et},{provide:et,useClass:nt,deps:[o.c]}],ft=Object(i.ab)(i.eb,"browser",ct),pt=[lt,{provide:i.gb,useValue:!0},{provide:i.p,useFactory:function(){return new i.p},deps:[]},{provide:_,useClass:Q,multi:!0,deps:[o.c,i.H,i.K]},{provide:_,useClass:tt,multi:!0,deps:[o.c]},{provide:_,useClass:J,multi:!0,deps:[o.c,W,i.hb,[new i.I,Y]]},{provide:W,useClass:K,deps:[]},{provide:A,useClass:A,deps:[S,O,i.c]},{provide:i.O,useExisting:A},{provide:C,useExisting:O},{provide:O,useClass:O,deps:[o.c]},{provide:i.V,useClass:i.V,deps:[i.H]},{provide:S,useClass:S,deps:[_,i.H]},[]],ht=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:i.c,useValue:t.appId},{provide:m,useExisting:i.c},b]}},t.ngModuleDef=i.Hb({type:t}),t.ngInjectorDef=i.Gb({factory:function(n){return new(n||t)(i.Nb(e,12))},providers:pt,imports:[o.b,i.f]}),t}();"undefined"!=typeof window&&window},"En8+":function(t,e,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return o});var o=r()},FFOo:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n("mrSG"),o=n("2Bdj"),i=n("6ahw"),a=n("pugT"),u=n("L/V9"),s=n("iLxQ"),c=n("DKTb"),l=function(t){function e(n,r,o){var a=t.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=i.a;break;case 1:if(!n){a.destination=i.a;break}if("object"==typeof n){n instanceof e?(a.syncErrorThrowable=n.syncErrorThrowable,a.destination=n,n.add(a)):(a.syncErrorThrowable=!0,a.destination=new f(a,n));break}default:a.syncErrorThrowable=!0,a.destination=new f(a,n,r,o)}return a}return r.d(e,t),e.prototype[u.a]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(a.a),f=function(t){function e(e,n,r,a){var u,s=t.call(this)||this;s._parentSubscriber=e;var c=s;return Object(o.a)(n)?u=n:n&&(u=n.next,r=n.error,a=n.complete,n!==i.a&&(c=Object.create(n),Object(o.a)(c.unsubscribe)&&s.add(c.unsubscribe.bind(c)),c.unsubscribe=s.unsubscribe.bind(s))),s._context=c,s._next=u,s._error=r,s._complete=a,s}return r.d(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;s.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=s.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(c.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(c.a)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};s.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return s.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(Object(c.a)(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(l)},Fxb1:function(t,e,n){"use strict";n.d(e,"a",function(){return h});var r=n("6blF"),o=n("+tJ4"),i=n("S5XQ"),a=n("u67D"),u=n("JcRv"),s=n("2ePl"),c=n("/WYv"),l=n("McSo"),f=n("En8+"),p=n("xTla"),h=function(t){if(t instanceof r.a)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[p.a])return Object(u.a)(t);if(Object(s.a)(t))return Object(o.a)(t);if(Object(c.a)(t))return Object(i.a)(t);if(t&&"function"==typeof t[f.a])return Object(a.a)(t);var e=Object(l.a)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},IUTb:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("6blF"),o=n("pugT"),i=n("+tJ4");function a(t,e){return new r.a(e?function(n){var r=new o.a,i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r}:Object(i.a)(t))}},JcRv:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("xTla"),o=function(t){return function(e){var n=t[r.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}}},K9Ia:function(t,e,n){"use strict";var r=n("mrSG"),o=n("6blF"),i=n("FFOo"),a=n("pugT"),u=n("8g8A"),s=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.d(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}(a.a),c=n("L/V9");n.d(e,"b",function(){return l}),n.d(e,"a",function(){return f});var l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.d(e,t),e}(i.a),f=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.d(e,t),e.prototype[c.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(l.a),d=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.d(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||(this._isComplete=!1,(t=this._connection=new o.a).add(this.source.subscribe(new y(this.getSubject(),this))),t.closed?(this._connection=null,t=o.a.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return f()(this)},e}(a.a).prototype,v={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:d._subscribe},_isComplete:{value:d._isComplete,writable:!0},getSubject:{value:d.getSubject},connect:{value:d.connect},refCount:{value:d.refCount}},y=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.d(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.b);function g(){return new i.a}n.d(e,"g",function(){return Av}),n.d(e,"ab",function(){return Tv}),n.d(e,"G",function(){return jv}),n.d(e,"bb",function(){return Ur}),n.d(e,"db",function(){return Mr}),n.d(e,"c",function(){return zd}),n.d(e,"L",function(){return Zd}),n.d(e,"K",function(){return Wd}),n.d(e,"b",function(){return Yd}),n.d(e,"d",function(){return Vd}),n.d(e,"e",function(){return Fd}),n.d(e,"cb",function(){return Zv}),n.d(e,"V",function(){return _v}),n.d(e,"fb",function(){return xv}),n.d(e,"B",function(){return Jd}),n.d(e,"f",function(){return Kv}),n.d(e,"q",function(){return Mh}),n.d(e,"p",function(){return _i}),n.d(e,"Q",function(){return so}),n.d(e,"R",function(){return uo}),n.d(e,"h",function(){return P}),n.d(e,"a",function(){return ee}),n.d(e,"m",function(){return ne}),n.d(e,"k",function(){return Id}),n.d(e,"n",function(){return Td}),n.d(e,"s",function(){return Rd}),n.d(e,"t",function(){return Nd}),n.d(e,"y",function(){return kd}),n.d(e,"J",function(){return Ad}),n.d(e,"M",function(){return Pd}),n.d(e,"C",function(){return Hd}),n.d(e,"Y",function(){return se}),n.d(e,"W",function(){return Hf}),n.d(e,"Fb",function(){return N}),n.d(e,"Gb",function(){return D}),n.d(e,"v",function(){return Rt}),n.d(e,"x",function(){return Xt}),n.d(e,"Nb",function(){return ct}),n.d(e,"w",function(){return J}),n.d(e,"u",function(){return O}),n.d(e,"I",function(){return E}),n.d(e,"S",function(){return T}),n.d(e,"r",function(){return I}),n.d(e,"H",function(){return dv}),n.d(e,"N",function(){return Mf}),n.d(e,"O",function(){return Nf}),n.d(e,"P",function(){return Df}),n.d(e,"j",function(){return iv}),n.d(e,"l",function(){return Of}),n.d(e,"o",function(){return Af}),n.d(e,"D",function(){return jf}),n.d(e,"F",function(){return Ef}),n.d(e,"E",function(){return Nv}),n.d(e,"T",function(){return Uv}),n.d(e,"U",function(){return rp}),n.d(e,"X",function(){return ip}),n.d(e,"i",function(){return Xf}),n.d(e,"z",function(){return Kf}),n.d(e,"A",function(){return Jf}),n.d(e,"Z",function(){return Rs}),n.d(e,"eb",function(){return Wv}),n.d(e,"qb",function(){return Ns}),n.d(e,"hb",function(){return Kd}),n.d(e,"gb",function(){return Ut}),n.d(e,"kb",function(){return io}),n.d(e,"lb",function(){return fo}),n.d(e,"mb",function(){return Fr}),n.d(e,"pb",function(){return W}),n.d(e,"tb",function(){return As}),n.d(e,"vb",function(){return V}),n.d(e,"rb",function(){return dl}),n.d(e,"sb",function(){return hl}),n.d(e,"ob",function(){return mp}),n.d(e,"nb",function(){return bp}),n.d(e,"ib",function(){return dp}),n.d(e,"jb",function(){return vp}),n.d(e,"Ab",function(){return Gs}),n.d(e,"Db",function(){return we}),n.d(e,"Eb",function(){return Te}),n.d(e,"Ib",function(){return Ie}),n.d(e,"Hb",function(){return Ce}),n.d(e,"Jb",function(){return Vc}),n.d(e,"Ob",function(){return Fc}),n.d(e,"Ub",function(){return Oe}),n.d(e,"yb",function(){return mf}),n.d(e,"wb",function(){return uf}),n.d(e,"xb",function(){return ef}),n.d(e,"Mb",function(){return ol}),n.d(e,"Kb",function(){return al}),n.d(e,"Pb",function(){return vl}),n.d(e,"Yb",function(){return Ml}),n.d(e,"Sb",function(){return $h}),n.d(e,"Cb",function(){return od}),n.d(e,"Qb",function(){return ud}),n.d(e,"Lb",function(){return il}),n.d(e,"Rb",function(){return zs}),n.d(e,"zb",function(){return Is}),n.d(e,"Wb",function(){return Yc}),n.d(e,"Vb",function(){return $c}),n.d(e,"Bb",function(){return tl}),n.d(e,"Xb",function(){return el}),n.d(e,"ub",function(){return gh}),n.d(e,"Tb",function(){return vo});var m="__annotations__",b="__parameters__",w="__prop__metadata__";function _(t,e,n,o,i){var a=S(e);function u(){for(var t,e=[],n=0;n ");else if("object"==typeof e){var i=[];for(var a in e)if(e.hasOwnProperty(a)){var u=e[a];i.push(a+":"+("string"==typeof u?JSON.stringify(u):V(u)))}o="{"+i.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+o+"]: "+t.replace(nt,"\n ")}("\n"+t.message,o,n,r),t[et]=o,t[tt]=null,t}(u,t,"R3InjectorError",this.source)}throw u}finally{ut(o)}},t.prototype.toString=function(){var t=[];return this.records.forEach(function(e,n){return t.push(V(n))}),"R3Injector["+t.join(", ")+"]"},t.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e,n){var r=this;if(!(t=B(t)))return!1;var o=U(t),i=null==o&&t.ngModule||void 0,a=void 0===i?t:i,u=-1!==n.indexOf(a);if(void 0!==i&&(o=U(i)),null==o)return!1;if(this.injectorDefTypes.add(a),this.records.set(a,Zt(o.factory,Ht)),null!=o.imports&&!u){var s;n.push(a);try{Wt(o.imports,function(t){r.processInjectorType(t,e,n)&&(void 0===s&&(s=[]),s.push(t))})}finally{}if(void 0!==s)for(var c=function(t){var e=s[t],n=e.ngModule,o=e.providers;Wt(o,function(t){return r.processProvider(t,n,o||Vt)})},l=0;l0){var n=new Array(e).fill("?");throw new Error("Can't resolve all parameters for "+V(t)+": ("+n.join(", ")+").")}var r,o=(r=t)&&r[H]?(console.warn('DEPRECATED: DI is instantiating a token "'+r.name+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+r.name+'" class.'),r[H]):null;return null!==o?function(){return o.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function Qt(t,e,n){var o,i=void 0;if(Kt(t))return Gt(B(t));if(Yt(t))i=function(){return B(t.useValue)};else if((o=t)&&o.useExisting)i=function(){return ct(B(t.useExisting))};else if(t&&t.useFactory)i=function(){return t.useFactory.apply(t,Object(r.i)(ft(t.deps||[])))};else{var a=B(t&&(t.useClass||t.provide));if(a||function(t,e,n){var r="";throw t&&e&&(r=" - only instances of Provider and Type are allowed, got: ["+e.map(function(t){return t==n?"?"+n+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+V(t)+"'"+r)}(e,n,t),!t.deps)return Gt(a);i=function(){return new(a.bind.apply(a,Object(r.i)([void 0],ft(t.deps))))}}return i}function Zt(t,e,n){return void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Wt(t,e){t.forEach(function(t){return Array.isArray(t)?Wt(t,e):e(t)})}function Yt(t){return null!==t&&"object"==typeof t&&it in t}function Kt(t){return"function"==typeof t}var Jt=function(t,e,n){return Bt({name:n},e,t,n)},Xt=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?Jt(t,e,""):Jt(t.providers,t.parent,t.name||"")},t.THROW_IF_NOT_FOUND=$,t.NULL=new pt,t.ngInjectableDef=N({token:t,providedIn:"any",factory:function(){return ct(X)}}),t.__NG_ELEMENT_ID__=-1,t}(),$t="ngDebugContext",te="ngOriginalError",ee=new J("AnalyzeForEntryComponents"),ne=C("ContentChildren",function(t,e){return void 0===e&&(e={}),Object(r.a)({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)},function(){return function(){}}()),re=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),oe=new Map,ie=new Set;function ae(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length)}function ue(t){return"string"==typeof t?t:t.text()}var se=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});function ce(t){return""+{toString:t}}var le={},fe=[],pe=A({ngComponentDef:A}),he=A({ngDirectiveDef:A}),de=A({ngPipeDef:A}),ve=A({ngModuleDef:A}),ye=A({ngLocaleIdDef:A}),ge=A({ngBaseDef:A}),me=A({__NG_ELEMENT_ID__:A}),be=0;function we(t){var e=t.type,n=e.prototype,r={},o={type:e,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===re.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||se.Emulated,id:"c",styles:t.styles||fe,_:null,setInput:null,schemas:t.schemas||null,tView:null};return o._=ce(function(){var n=t.directives,i=t.features,a=t.pipes;o.id+=be++,o.inputs=Ee(t.inputs,r),o.outputs=Ee(t.outputs),i&&i.forEach(function(t){return t(o)}),o.directiveDefs=n?function(){return("function"==typeof n?n():n).map(Se)}:null,o.pipeDefs=a?function(){return("function"==typeof a?a():a).map(xe)}:null,e.hasOwnProperty(H)||(e[H]=N({token:e,factory:t.factory}))}),o}function _e(t,e,n){var r=t.ngComponentDef;r.directiveDefs=function(){return e.map(Se)},r.pipeDefs=function(){return n.map(xe)}}function Se(t){return Pe(t)||ke(t)}function xe(t){return Ae(t)}function Ce(t){return{type:t.type,bootstrap:t.bootstrap||fe,declarations:t.declarations||fe,imports:t.imports||fe,exports:t.exports||fe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}}function Oe(t,e){return ce(function(){var n=Ne(t,!0);n.declarations=e.declarations||fe,n.imports=e.imports||fe,n.exports=e.exports||fe})}function Ee(t,e){if(null==t)return le;var n={};for(var r in t)if(t.hasOwnProperty(r)){var o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[o]=i)}return n}function je(t){var e={};return{inputs:Ee(t.inputs,e),declaredInputs:e,outputs:Ee(t.outputs),viewQuery:t.viewQuery||null,contentQueries:t.contentQueries||null,hostBindings:t.hostBindings||null}}var Te=we;function Ie(t){return{name:t.name,factory:t.factory,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Pe(t){return t[pe]||null}function ke(t){return t[he]||null}function Ae(t){return t[de]||null}function Re(t){return t[ge]||null}function Ne(t,e){var n=t[ve]||null;if(!n&&!0===e)throw new Error("Type "+V(t)+" does not have 'ngModuleDef' property.");return n}function De(t){return"string"==typeof t?t:null==t?"":""+t}function Me(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():De(t)}var Ue=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(W)}();function He(t){return{name:"window",target:t.ownerDocument.defaultView}}function Le(t){return{name:"document",target:t.ownerDocument}}function Ve(t){return{name:"body",target:t.ownerDocument.body}}var Fe="\ufffd";function ze(t){return t.indexOf(Fe)>=0}function Be(t){return t instanceof Function?t():t}var qe=0,Ge=1,Qe=2,Ze=3,We=4,Ye=5,Ke=6,Je=7,Xe=8,$e=9,tn=10,en=11,nn=12,rn=13,on=14,an=15,un=16,sn=17,cn=18,ln=20;var fn=1,pn=2,hn=7,dn=8,vn="__ngContext__";function yn(t){for(;Array.isArray(t);)t=t[qe];return t}function gn(t){return Array.isArray(t)&&"object"==typeof t[fn]}function mn(t){return Array.isArray(t)&&!0===t[fn]}function bn(t){return Array.isArray(t)&&"number"==typeof t[fn]}function wn(t,e){return yn(e[t+ln])}function _n(t,e){return yn(e[t.index])}function Sn(t,e){return e[Ge].data[t+ln]}function xn(t,e){return t[e+ln]}function Cn(t,e){var n=e[t];return gn(n)?n:n[qe]}function On(t){return 0!=(4&t.flags)}function En(t){return 1==(1&t.flags)}function jn(t){return null!==t.template}function Tn(t){return 0!=(512&t[Qe])}function In(t){return t[vn]}function Pn(t){var e=In(t);return e?Array.isArray(e)?e:e.lView:null}function kn(t){return mn(t[Ze])}function An(t){t[cn]=0}function Rn(t,e,n,r,o,i){var a=e.onChanges,u=e.onInit,s=e.doCheck;o>=0&&(!n.preOrderHooks||o===n.preOrderHooks.length)&&(a||u||s)&&(n.preOrderHooks||(n.preOrderHooks=[])).push(r),i>=0&&(!n.preOrderCheckHooks||i===n.preOrderCheckHooks.length)&&(a||s)&&(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a)),u&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,u),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}function Nn(t,e){if(t.firstTemplatePass)for(var n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[a]<0&&(t[cn]+=65536),(i>10>16&&(3&t[Qe])===e&&(t[Qe]+=1024,i.call(a)):i.call(a)}var Hn,Ln=null;function Vn(t){Ln=t}var Fn,zn=null;function Bn(t){zn=t}function qn(){Fn=!0}function Gn(){Fn=!1}function Qn(){return Yn}var Zn,Wn,Yn,Kn=1,Jn=Kn,Xn=0,$n=0;function tr(t){void 0===t&&(t=null),Or!==t&&(jr(null==t?-1:t),Jn=null==t?0:Kn,Xn=0,$n=0)}function er(){return Jn}function nr(){Jn+=1+$n,Xn=0,$n=0}function rr(t){Xn+=t,$n=Math.max($n,Xn)}function or(){return $n}function ir(){return Xn}function ar(t){hr=t}function ur(){return Zn}function sr(t,e){Zn=t,Wn=e}function cr(t,e){Zn=t,Yn=e}function lr(){return Wn}function fr(){Wn=!1}function pr(t){return void 0===t&&(t=Yn),4==(4&t[Qe])}var hr=null,dr=!1;function vr(){return dr}function yr(t){dr=t}var gr=-1;function mr(){return gr}function br(t){gr=t}var wr=0;function _r(){return wr}function Sr(t){wr=t}function xr(t,e){var n=Yn;return t&&(gr=t[Ge].bindingStartIndex),Zn=e,Wn=!0,Yn=hr=t,n}function Cr(t){var e=Yn[Ge];if(pr(Yn))Yn[Qe]&=-5;else try{An(Yn),Mn(Yn,e.viewHooks,e.viewCheckHooks,dr,2,void 0)}finally{Yn[Qe]&=-73,Yn[Je]=e.bindingStartIndex}Vn(null),xr(t,null)}var Or=-1;function Er(){return Or}function jr(t){Or=t,Vn(null)}var Tr=null;function Ir(){Tr="http://www.w3.org/2000/svg"}function Pr(){Tr="http://www.w3.org/1998/MathML/"}function kr(){Tr=null}var Ar="__SANITIZER_TRUSTED_BRAND__";function Rr(t,e){return t instanceof String&&t[Ar]===e}var Nr=!0,Dr=!1;function Mr(){return Dr=!0,Nr}function Ur(){if(Dr)throw new Error("Cannot enable prod mode after platform setup.");Nr=!1}var Hr=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();Kr.hasOwnProperty(e)&&!Qr.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(oo(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),no=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ro=/([^\#-~ |!])/g;function oo(t){return t.replace(/&/g,"&").replace(no,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ro,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function io(t,e){var n=null;try{Gr=Gr||new Hr(t);var r=e?String(e):"";n=Gr.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Gr.getInertBodyElement(r)}while(r!==i);var a=new eo,u=a.sanitizeChildren(ao(n)||n);return Mr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var s=ao(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}function ao(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var uo=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),so=function(){return function(){}}(),co=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"),lo=/^url\(([^)]+)\)$/;function fo(t){if(!(t=String(t).trim()))return"";var e=t.match(lo);return e&&Fr(e[1])===e[1]||t.match(co)&&function(t){for(var e=!0,n=!0,r=0;r=0&&-1===o[s]&&(o[s]=n,o[i+1]=r||null)}function Ho(t,e){for(var n=t,r=e[n],o=e;Array.isArray(r);)o=r,r=r[qe];if(bn(o))return o;var i=Sn(t-ln,e).stylingTemplate;return o!==e&&(n=qe),o[n]=i?function(t,e){for(var n=e.slice(),r=0;r<10;r++){var o=e[r];Array.isArray(o)&&(n[r]=o.slice())}return n[0]=t,n[1]|=16,n}(r,i):Mo(r)}function Lo(t){return t[0]===Do}function Vo(t){return 0!=(8&t.flags)}function Fo(t){return 0!=(16&t.flags)}function zo(t,e,n,r,o,i){return i=i||n,o?t[o]=r:t.push(r),!!r&&(r.addEventListener(200,function(){var e=t.indexOf(r);e&&(e>16}function Yo(t,e){for(var n=Wo(t),r=e;n>0;)r=r[sn],n--;return r}function Ko(t){var e=t[Ze];return mn(e)?e[Ze]:e}function Jo(t){for(var e=t[Ke];null!==e&&2===e.type;)e=(t=t[sn])[Ke];return t}function Xo(t){return function(t){for(var e=gn(t)?t:Pn(t);e&&!(512&e[Qe]);)e=Ko(e);return e}(t)[$e]}var $o=!0;function ti(t){var e=$o;return $o=t,e}var ei=255,ni=0;function ri(t,e){var n=ii(t,e);if(-1!==n)return n;var r=e[Ge];r.firstTemplatePass&&(t.injectorIndex=e.length,oi(r.data,t),oi(e,null),oi(r.blueprint,null));var o=ai(t,e),i=Zo(o),a=Yo(o,e),u=t.injectorIndex;if(Qo(o))for(var s=a[Ge].data,c=0;c<8;c++)e[u+c]=a[i+c]|s[i+c];return e[u+So]=o,u}function oi(t,e){t.push(0,0,0,0,0,0,0,0,e)}function ii(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+So]?-1:t.injectorIndex}function ai(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[Ke],r=1;n&&-1===n.injectorIndex;)n=(e=e[sn])?e[Ke]:null,r++;return n?n.injectorIndex|r<<16:-1}function ui(t,e,n){!function(t,e,n){var r="string"!=typeof n?n[me]:n.charCodeAt(0)||0;null==r&&(r=n[me]=ni++);var o=r&ei,i=1<0?e&ei:e}(n);if("function"==typeof i){var a=ur(),u=Qn();cr(t,e);try{var s=i();if(null!=s||r&k.Optional)return s;throw new Error("No provider for "+Me(n)+"!")}finally{cr(a,u)}}else if("number"==typeof i){if(-1===i)return new vi(t,e);var c=null,l=ii(t,e),f=Co,p=r&k.Host?Jo(e)[Ke]:null;for((-1===l||r&k.SkipSelf)&&(f=-1===l?ai(t,e):e[l+So],di(r,!1)?(c=e[Ge],l=Zo(f),e=Yo(f,e)):l=-1);-1!==l;){f=e[l+So];var h=e[Ge];if(hi(i,l,h.data)){var d=li(l,e,n,c,r,p);if(d!==ci)return d}di(r,e[Ge].data[l+_o]===p)&&hi(i,l,e)?(c=h,l=Zo(f),e=Yo(f,e)):l=-1}}}if(r&k.Optional&&void 0===o&&(o=null),0==(r&(k.Self|k.Host))){var v=e[tn],y=st(void 0);try{return v?v.get(n,o,r&k.Optional):lt(n,o,r&k.Optional)}finally{st(y)}}if(r&k.Optional)return o;throw new Error("NodeInjector: NOT_FOUND ["+Me(n)+"]")}var ci={};function li(t,e,n,r,o,i){var a=e[Ge],u=a.data[t+_o],s=fi(u,e,n,null==r?En(u)&&$o:r!=a&&3===u.type,o&k.Host&&i===u);return null!==s?pi(a.data,e,s,u):ci}function fi(t,e,n,r,o){for(var i=t.providerIndexes,a=e[Ge].data,u=65535&i,s=t.directiveStart,c=i>>16,l=o?u+c:t.directiveEnd,f=r?u:u+c;f=s&&p.type===n)return f}if(o){var h=a[s];if(h&&jn(h)&&h.type===n)return s}return null}function pi(t,e,n,r){var o,i=e[n];if(null!==(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==Oo.prototype){var a=i;if(a.resolving)throw new Error("Circular dep for "+Me(t[n]));var u=ti(a.canSeeViewProviders);a.resolving=!0;var s=void 0;a.injectImpl&&(s=st(a.injectImpl));var c=ur(),l=Qn();cr(r,e);try{i=e[n]=a.factory(null,t,e,r)}finally{a.injectImpl&&st(s),ti(u),a.resolving=!1,cr(c,l)}}return i}function hi(t,e,n){var r=64&t,o=32&t;return!!((128&t?r?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:r?o?n[e+3]:n[e+2]:o?n[e+1]:n[e])&1<e)return n;return t.length}(o,e);o.splice(i,0,e,n,r)}}var Ci=function(){return function(t,e){this.fn=t,this.value=e}}();function Oi(t,e,n){void 0===n&&(n=0);var r=Mo();return Ei(r,t,e,n),r}function Ei(t,e,n,r){if(!(16&t[1])){Uo(t,r);for(var o=null,i=null,a=-1,u=n;u=h,k=b;k=10?e+0:e;n?t[r]|=1:t[r]&=-2}function Vi(t,e){return 1==(1&t[e>=10?e+0:e])}function Fi(t,e){return 2==(2&t[e>=10?e+0:e])}function zi(t,e){return 4==(4&t[e>=10?e+0:e])}function Bi(t,e,n){return 31&t|e<<5|n<<19}function qi(t,e){var n=Gi(e);return(2&e?t[4]:t[3])[n]}function Gi(t){return t>>5&16383}function Qi(t){var e=t>>19&16383;return e>=10?e:-1}function Zi(t){return t[6][2]}function Wi(t){return t[7][2]}function Yi(t,e,n){t[e+1]=n}function Ki(t,e,n){t[e+2]=n}function Ji(t,e,n){var r=t[9];if(e){if(!r||0===n)return!0}else if(!r)return!1;return r[n]!==e}function Xi(t,e,n){var r=t[9]||(t[9]=[5,null,null,null,null]);return n>0?r[n]=e:(r.splice(n=r[0],0,e,null),r[0]+=2),n}function $i(t,e,n,r){var o=function(t,e){return n<<16|t}(r);t[e+3]=o}function ta(t,e){return t[e+3]>>16&65535}function ea(t,e){var n=ta(t,e);if(n){var r=t[9];if(r)return r[n]}return null}function na(t,e,n){t[1===e?e:e+0]=n}function ra(t,e){return t[1===e?e:e+0]}function oa(t,e){return t[e+2]}function ia(t,e){return t[e+1]}function aa(t,e){Li(t,1,e)}function ua(t,e){e?t[1]|=8:t[1]&=-9}function sa(t,e,n){if(e!==n){var r=oa(t,e),o=ia(t,e),i=ra(t,e),a=ta(t,e),u=va(t,e),s=i,c=ra(t,n),l=Qi(s);l>=0&&na(t,l,Bi(f=ra(t,l),Gi(f),n));var f,p=Qi(c);p>=0&&na(t,p,Bi(f=ra(t,p),Gi(f),e)),Ki(t,e,oa(t,n)),Yi(t,e,ia(t,n)),na(t,e,ra(t,n)),$i(t,e,ta(t,n),va(t,n)),Ki(t,n,r),Yi(t,n,o),na(t,n,i),$i(t,n,a,u)}}function ca(t,e,n,r,o,i,a,u){var s=e0){var i=Gi(ra(t,o));na(t,o,Bi((Vi(t,o)?1:0)|(Fi(t,o)?2:0)|(zi(t,o)?4:0),i,r))}}}(t)}function la(t,e){return null!==t}function fa(t,e,n,r){var o,i=r&&r(e,null,1)?4:0;return n?(i|=2,o=ya(t[4],e)):o=ya(t[3],e),Bi(i,o=o>0?o+1:0,0)}function pa(t,e,n){var r=qi(t,e);return!r||ha(e,r,n)}function ha(t,e,n){return!(2&t)&&e&&n&&4&t?e.toString()!==n.toString():e!==n}var da=function(){function t(t,e,n){this._element=e,this._type=n,this._values={},this._dirty=!1,this._factory=t}return t.prototype.setValue=function(t,e){this._values[t]!==e&&(this._values[t]=e,this._dirty=!0)},t.prototype.buildPlayer=function(t,e){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,e,t||null);return this._values={},this._dirty=!1,n}},t}();function va(t,e){return 65535&t[e+3]}function ya(t,e){for(var n=2;n0)for(var a=1+4*e;i.length0&&" "!==t[r-1]||oi?"":o[l+1];var p=8&r?f:null;if(p&&!Ea(p,c)||2&r&&c!==f){if(Ia(r))return!1;a=!0}}}}else{if(!a&&!Ia(r)&&!Ia(s))return!1;if(a&&Ia(s))continue;a=!1,r=s|1&r}}return Ia(r)||a}function Ia(t){return 0==(1&t)}function Pa(t){return t.stylingTemplate?wa(t.stylingTemplate):""}function ka(t,e,n,r){if(null===e)return-1;var o=0;if(r||!n){for(var i=!1;o-1)for(n++;n0}function La(t){Na=t}function Va(){return Na}var Fa="--MAP--";function za(t,e,n,r){return ia(t,ga(t,n,e,r))}function Ba(t,e){t[1]=e}function qa(t){return t[0]}function Ga(t,e){return t[e+2]}function Qa(t,e){return 1&t[e+0]}function Za(t,e){return(1&Qa(t,e))>0}function Wa(t,e){return t[e+0]>>1}function Ya(t,e,n){var r=Qa(t,e);t[e+0]=r|n<<1}function Ka(t,e){return t[e+1]}function Ja(t,e,n){return t[e+3+n]}function Xa(t,e){return e===t[1]}function $a(t){!function(t,e){t[0]=e}(t,1|qa(t))}function tu(t){return(1&qa(t))>0}function eu(t){return 5+t[3]}function nu(t,e){return(Array.isArray(t)?t[0]:t)!==(Array.isArray(e)?e[0]:e)}function ru(t){return null!=t&&""!==t}function ou(t){var e=Va()||t[rn];return e&&"function"!=typeof e?(La(e),iu):e}var iu=function(t,e,n){var r=Va();return r?!(2&n)||r.sanitize(uo.STYLE,e):e},au=null,uu=1,su=1,cu=0,lu=1,fu=lu,pu=lu,hu=0,du=0,vu=[];function yu(t,e,n,r,o,i,a){var u=n?pu++:cu;(mu(t,e,u,n,r,o,i,a,!1)||a)&&(du|=1<0?1:0,l=eu(t);l=Pu.length&&Pu.push(1),Pu[t]}(c);ds,g=!y&&v===s,m=h[d+1],b=ru(m),w=t(e,n,r,o,i,a,y?u:Tu(u,b,g),y?s:v,c+1,l);if(y)break;if(!w&&Iu(u,g)){var _=g&&!b,S=_?l:m,x=_?p:null;i(n,r,v,a?a(v,S,3):S,x),w=!0}f=w&&g,d+=2}Pu[c]=d}return f}(t,e,n,r,o,i,a,u||null,0,s||null)),f&&function(){for(var t=0;t0;return n?4&t&&e&&(n=!1):2&t&&(n=e),n}var Pu=[];function ku(t,e){return t[e+0]}function Au(t,e,n){t[e+1]=n}function Ru(t){Nu(Qn(),t)}function Nu(t,e){Dn(t,t[Ge],vr(),e),jr(e)}var Du=function(){return Promise.resolve(null)}();function Mu(t){var e=t[Ge],n=pr(t);if(e.firstTemplatePass=!1,t[Je]=e.bindingStartIndex,!n){var r=vr();Dn(t,e,r,void 0),function(t){for(var e=t[on];null!==e;e=e[We])if(-1===e[pn]&&mn(e))for(var n=dn;n=0&&(e.stylingTemplate=Oi(n,o))}}function Zu(t,e,n){if(On(e))for(var r=e.directiveEnd,o=e.directiveStart;oo)for(var a=0===e,u=n.data,s=o;s=i.length)&&(i=function(t,e,n){for(var r=n.initialInputs||(n.initialInputs=[]),o=r.length;o<=t;o++)r.push(null);for(var i=n.attrs,a=0;a=2&&r[o-2]===e.hostBindings?r[o-1]=r[o-1]+n:r.push(e.hostBindings,n)}(n,zn,t),function(t,e,n){for(var r=0;r0&&(e[r-1][We]=t),n0&&(t[n-1][We]=r[We]),t.splice(dn+e,1),yc(r,!1),128&r[Qe]&&!(256&r[Qe])&&r[Ye]&&r[Ye].removeView(),r[Ze]=null,r[We]=null,r[Qe]&=-129),r}}function bc(t,e){var n=mc(t,e);n&&wc(n)}function wc(t){if(!(256&t[Qe])){var e=t[nn];jo(e)&&e.destroyNode&&hc(t,2,e,null),function(t){var e=t[on];if(!e)return Sc(t);for(;e;){var n=null;if(gn(e))n=e[on];else{var r=e[dn];r&&(n=r)}if(!n){for(;e&&!e[We]&&e!==t;)Sc(e),e=_c(e,t);Sc(e||t),n=e&&e[We]}e=n}}(t)}}function _c(t,e){var n;return gn(t)&&(n=t[Ke])&&2===n.type?lc(n,t):t[Ze]===e?null:t[Ze]}function Sc(t){if(gn(t)&&!(256&t[Qe])){t[Qe]&=-129,t[Qe]|=256,function(t){var e,n=t[Ge];if(null!=n&&null!=(e=n.destroyHooks))for(var r=0;r=0?n[a]():n[-a].unsubscribe(),r+=2}else e[r].call(n[e[r+1]]);t[Xe]=null}}(t);var e=t[Ke];e&&3===e.type&&jo(t[nn])&&t[nn].destroy(),kn(t)&&t[Ye]&&t[Ye].removeView()}}function xc(t,e,n,r){jo(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Cc(t,e,n,r){r?xc(t,e,n,r):function(t,e,n){jo(t)?t.appendChild(e,n):e.appendChild(n)}(t,e,n)}function Oc(t,e){return jo(t)?t.parentNode(e):e.parentNode}function Ec(t,e,n){var o,i,a=function(t,e){if(Tn(e))return Oc(e[nn],_n(t,e));var n=function(t){for(;null!=t.parent&&(4===t.parent.type||5===t.parent.type);)t=t.parent;return t}(t),r=n.parent;if(null==r){var o=e[Ke];return 2===o.type?fc(o,e):function(t){var e=t[Ke];return e&&3===e.type?_n(e,Ko(t)):null}(e)}var i=n&&5===n.type;if(i&&2&n.flags)return _n(n,e).parentNode;if(1&r.flags&&!i){var a=e[Ge].data,u=a[a[r.index].directiveStart].encapsulation;if(u!==se.ShadowDom&&u!==se.Native)return null}return _n(r,e)}(e,n);if(null!=a){var u=n[nn],s=function(t,e){if(2===t.type){var n=lc(t,e);return jc(n.indexOf(e,dn)-dn,n)}return 4===t.type||5===t.type?_n(t,e):null}(e.parent||n[Ke],n);if(Array.isArray(t))try{for(var c=Object(r.j)(t),l=c.next();!l.done;l=c.next())Cc(u,a,l.value,s)}catch(f){o={error:f}}finally{try{l&&!l.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}else Cc(u,a,t,s)}}function jc(t,e){var n=dn+t+1;if(n=r.data.length&&(r.data[o]=null,r.blueprint[o]=null),n[o]=e}function Hc(t){return xn(hr,t)}function Lc(t){return xn(Qn(),t)}function Vc(t,e){void 0===e&&(e=k.Default),t=B(t);var n=Qn();return null==n?ct(t,e):si(ur(),n,t,e)}function Fc(t){return function(t,e){var n=t.attrs;if(n)for(var r=n.length,o=0;o0;if(n)yu(Zc(a),o,t,i,e,u,!1);else{var s=ou(o);gu(Qc(a),o,t,i,e,s,u,!1)}}function qc(t,e){Cu=ju;var n=Er(),r=Qn(),o=r[Je]++;if(t!==Si){var i=Sn(n,r),a=or()>0,u=r[o],s=nu(u,t),c=function(t,e){var n=Array.isArray(t)?t:[null];n[0]=e||null;for(var r=1;r=0||(Uo(t,e,t[5].length,r),0))}(t,e,0,o)){r&&(r=function(t){for(var e=[],n=0;n=p,k=I>=(P?h:f),A=ra(t,I),R=Gi(A),N=Qi(A);na(t,I,Bi(A,R,N+=P?k?4*y.length:0:4*T+4*(k?y.length:0)))}for(var D=0;D<4*y.length;D++)t.splice(h,0,null),t.splice(f,0,null),f++,p++,h+=2;for(var M=0;M<4*b.length;M++)t.splice(p,0,null),t.push(null),p++,h++;for(var U=t[4],H=t[3],L=0;L=y.length,F=V?L-y.length:L,z=V?b[F]:y[F],B=void 0,q=void 0;V?(B=h+4*(a+F),q=f+4*(a+F)):(B=p+4*(u+F),q=10+4*(u+F));var G=V?U:H,Q=ya(G,z);-1===Q?Q=Ca(null,G,z,!V&&null,e)+1:Q+=1;var Z=fa(t,z,V,o||null);na(t,q,Bi(Z,Q,B)),Yi(t,q,z),Ki(t,q,null),$i(t,q,0,e),na(t,B,Bi(Z,Q,q)),Yi(t,B,z),Ki(t,B,null),$i(t,B,0,e)}i[1]=a+b.length,i[0]=u+y.length,s[0]+=b.length,c[0]+=y.length;var W=4*y.length,Y=4*b.length,K=c.length;xa(t,e,!1,p+4*u,y.length);for(var J=1;J0&&(n=0===(t=Xo(i)).flags,t.flags|=2,n&&t.clean==Du&&(t.clean=new Promise(function(t){return e=t}),t.scheduler(function(){if(1&t.flags&&(t.flags&=-2,vs(t)),2&t.flags){t.flags&=-3;var n=t.playerHandler;n&&n.flushPlayers()}t.clean=Du,e(null)}))),Vn(null),Ha()&&function(){var t=Er(),e=Qn(),n=Sn(t,e),r=function(t,e){return 3===t.type?e[nn]:null}(n,e),o=function(t,n){for(var r=e[t+ln],o=e;Array.isArray(r);)o=r,r=r[qe];return bn(o)?o[0]:r}(t),i=Gc();!function(t,e,n,r,o){Xa(n,o)&&(!tu(n)&&$a(n),du&&(xu(n,t,r,e,du,Eu,null),du=0),pu=lu)}(r,e,Zc(n),o,i);var a=ou(e);!function(t,e,n,r,o,i){Xa(n,o)&&(!tu(n)&&$a(n),hu&&(xu(n,t,r,e,hu,Ou,i),hu=0),fu=lu)}(r,e,Qc(n),o,i,a),La(null)}()}function nl(){return er()+ir()}function rl(t,e){var n=Ln;return n||Vn(n=Ho(t+ln,e)),n}function ol(t,e,n,r){var o=Qn(),i=o[Ge],a=o[t+ln]=Hu(e),u=o[nn],s=Vu(i,o[Ke],t,3,e,n||null),c=0,l=0,f=-1;if(n){Qu(i,s,n,f=Bo(a,n));var p=s.stylingTemplate;p&&(c=Ii(a,p,u),l=Ti(a,p,u))}if(Ec(a,s,o),Wu(i,o,r),0===Hn&&Po(a,o),Hn++,i.firstTemplatePass){var h=Ss(s);h&&h.hasOwnProperty("class")&&(s.flags|=8),h&&h.hasOwnProperty("style")&&(s.flags|=16)}s.stylingTemplate&&(Ti(a,s.stylingTemplate,u,l),Ii(a,s.stylingTemplate,u,c)),Ha()&&f>=0&&function(t,e,n){for(var r,o,i=-1,a=f;a=0){var i=nl();r.stylingTemplate?Ei(r.stylingTemplate,t,o,i):r.stylingTemplate=Oi(t,o,i)}}}function sl(t,e,n){var r=Qn(),o=r[Ge],i=r[t+ln]=r[nn].createComment(""),a=Vu(o,r[Ke],t,4,"ng-container",e||null);e&&Qu(o,a,e,0),Ec(i,a,r),Wu(o,r,n),Po(i,r);var u=r[Ye];u&&(u.addNode(a),r[Ye]=u.clone(a)),Zu(o,a,r)}function cl(){var t=ur(),e=Qn(),n=e[Ge];lr()?fr():sr(t=t.parent,!1);var r=e[Ye];r&&t.index===r.nodeIndex&&(e[Ye]=r.parent),t.onElementCreationFns&&Ts(t),Nn(n,t)}function ll(t,e,n){var r=Qn(),o=ur(),i=2===o.type?o.parent:o,a=r[i.index],u=function(t,e,n){for(var r=e+dn;r=i.length||null==i[t])&&(i[t]=Ku(t,null,e,n,o.directiveRegistry,o.pipeRegistry,null,null)),i[t]}(t,e,n,i),null,16,null,null),a[Ye]&&(u[Ye]=a[Ye].createView());var s=lr()?o:o&&o.parent;Fu(u[Ge],s,t,u),xr(u,u[Ge].node)}return a&&(pr(u)&&gc(u,a,a[pn]),a[pn]++),pr(u)?3:2}function fl(){var t=Qn(),e=t[Ke];pr(t)&&(Mu(t),t[Qe]&=-5),An(t),Mu(t),Cr(t[Ze][Ze]),sr(e,!1)}function pl(){return Qn()}function hl(t){return!!t&&"function"==typeof t.then}function dl(t){return!!t&&"function"==typeof t.subscribe}function vl(t,e,n,r){void 0===n&&(n=!1),gl(t,e,n,r)}function yl(t,e,n,r){void 0===n&&(n=!1),gl(t,e,n,r,Os)}function gl(t,e,n,r,o){void 0===n&&(n=!1);var i=Qn(),a=ur(),u=i[Ge],s=u.firstTemplatePass&&(u.cleanup||(u.cleanup=[])),c=!0;if(3===a.type){var l=_n(a,i),f=r?r(l):le,p=f.target||l,h=o?o(a,i):i[nn],d=(_=xs(i)).length,v=r?function(t){return r(yn(t[a.index])).target}:a.index;if(jo(h)){var y=null;if(!r&&function(t){return t.directiveEnd>t.directiveStart}(a)&&(y=function(t,e,n){var r=t[Ge].cleanup;if(null!=r)for(var o=0;ou?a[u]:null}"string"==typeof i&&(o+=2)}return null}(i,t,a.index)),null!==y)e.__ngNextListenerFn__=y.__ngNextListenerFn__,y.__ngNextListenerFn__=e,c=!1;else{e=bl(a,i,e,!1);var g=h.listen(f.name||p,t,e);_.push(e,g),s&&s.push(t,v,d,d+1)}}else e=bl(a,i,e,!0),p.addEventListener(t,e,n),_.push(e),s&&s.push(t,v,d,n)}void 0===a.outputs&&(a.outputs=Xu(a,1));var m,b=a.outputs;if(c&&b&&(m=b[t])){var w=m.length;if(w)for(var _=xs(i),S=0;S0;)e=e[sn],t--;return e}(t,hr))[$e]}(t)}function _l(t,e){for(var n=null,r=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),o=0;o=0){var d;Po(d=yn(r[h]),s=Io(r,h,d)),n=s;break}}}return n||null}(t);if(!n&&e)throw new Error("Invalid ng target");return n}function Yl(t){if(!(t instanceof Node))throw new Error("Expecting instance of DOM Node");return Wl(t)}function Kl(t){return"boolean"==typeof t.useCapture}function Jl(t,e){return t.name==e.name?0:t.name>16;if(t.useClass||Kt(t)){var h=(t.useClass||t).prototype.ngOnDestroy;if(h){var d=a[Ge];(d.destroyHooks||(d.destroyHooks=[])).push(e.length,h)}}if(Kt(t)||!t.multi){var v=new Oo(s,o,Vc),y=df(u,e,o?l:l+p,f);-1==y?(ui(ri(c,a),a,u),e.push(u),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=65536),n.push(v),a.push(v)):(n[y]=v,a[y]=v)}else{var g=df(u,e,l+p,f),m=df(u,e,l,l+p),b=m>=0&&n[m];o&&!b||!o&&!(g>=0&&n[g])?(ui(ri(c,a),a,u),v=function(t,e,n,r,o){var i=new Oo(t,n,Vc);return i.multi=[],i.index=e,i.componentProviders=0,hf(i,o,r&&!n),i}(o?yf:vf,n.length,o,r,s),!o&&b&&(n[m].providerFactory=v),e.push(u),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=65536),n.push(v),a.push(v)):hf(n[o?m:g],s,!o&&r),!o&&r&&b&&n[m].componentProviders++}}}function hf(t,e,n){t.multi.push(e),n&&t.componentProviders++}function df(t,e,n,r){for(var o=n;o-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}wc(this._lView)},t.prototype.onDestroy=function(t){var e,n;n=t,xs(e=this._lView).push(n),e[Ge].firstTemplatePass&&Cs(e).push(e[Xe].length-1,null)},t.prototype.markForCheck=function(){ds(this._lView)},t.prototype.detach=function(){this._lView[Qe]&=-129},t.prototype.reattach=function(){this._lView[Qe]|=128},t.prototype.detectChanges=function(){ys(this._lView,this.context)},t.prototype.checkNoChanges=function(){!function(t,e){yr(!0);try{ys(t,e)}finally{yr(!1)}}(this._lView,this.context)},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){var t;this._appRef=null,hc(t=this._lView,1,t[nn],null)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype._lookUpContext=function(){return this._context=Ko(this._lView)[this._componentIndex]},t}(),If=function(t){function e(e){var n=t.call(this,e,null,-1)||this;return n._view=e,n}return Object(r.d)(e,t),e.prototype.detectChanges=function(){gs(this._view)},e.prototype.checkNoChanges=function(){!function(t){yr(!0);try{gs(t)}finally{yr(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Tf);function Pf(t,e,n){return bf||(bf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.d)(e,t),e}(t)),new bf(_n(e,n))}function kf(t,e,n,o){if(wf||(wf=function(t){function e(e,n,r,o,i){var a=t.call(this)||this;return a._declarationParentView=e,a.elementRef=n,a._tView=r,a._hostLContainer=o,a._injectorIndex=i,a}return Object(r.d)(e,t),e.prototype.createEmbeddedView=function(t,e,n){var r=this._declarationParentView[Ye];r&&null==this._hostLContainer[Ye]&&(this._hostLContainer[Ye]=r.container());var o=function(t,e,n,r,o){var i=lr(),a=ur();sr(null,!0);var u=Lu(n,t,e,16,null,null);return u[sn]=n,r&&(u[Ye]=r.createView()),Fu(t,null,-1,u),t.firstTemplatePass&&(t.node.injectorIndex=o),sr(a,i),u}(this._tView,t,this._declarationParentView,this._hostLContainer[Ye],this._injectorIndex);e&&gc(o,e,n),zu(o,this._tView,t);var i=new Tf(o,t,-1);return i._tViewNode=o[Ke],i},e}(t)),0===n.type){var i=o[n.index];return new wf(o,Pf(e,n,o),n.tViews,i,n.injectorIndex)}return null}var Af=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return Rf(t)},t}(),Rf=function(t){return Pf(t,ur(),Qn())},Nf=function(){return function(){}}(),Df=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Mf=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Uf()},t}(),Uf=function(){return function(t){var e=Qn()[nn];if(jo(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},Hf=function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}(),Lf=new Hf("8.1.0-next.2"),Vf=function(){function t(){}return t.prototype.supports=function(t){return Ns(t)},t.prototype.create=function(t){return new zf(t)},t}(),Ff=function(t,e){return e},zf=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ff}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex1;)u=(a=a[sn])[Ke],i--;return u}(t,this._hostView,this._hostTNode);return Qo(t)&&null!=n?new vi(n,e):new vi(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this.length;)this.remove(0)},n.prototype.get=function(t){return this._viewRefs[t]||null},Object.defineProperty(n.prototype,"length",{get:function(){var t=this._lContainer.length-dn;return t>0?t:0},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(t,e,n){var r=this._adjustIndex(n),o=t.createEmbeddedView(e||{},this._lContainer,r);return o.attachToViewContainerRef(this),this._viewRefs.splice(r,0,o),o},n.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;!o&&null==t.ngModule&&i&&(o=i.get(Ef,null));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},n.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t._lView,r=this._adjustIndex(e);return kn(n)?this.move(t,r):(gc(n,this._lContainer,r),yc(n,!0,jc(r,this._lContainer)),t.attachToViewContainerRef(this),this._viewRefs.splice(r,0,t),t)},n.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this.indexOf(t);return-1!==n&&this.detach(n),this.insert(t,e),t},n.prototype.indexOf=function(t){return this._viewRefs.indexOf(t)},n.prototype.remove=function(t){var e=this._adjustIndex(t,-1);bc(this._lContainer,e),this._viewRefs.splice(e,1)},n.prototype.detach=function(t){var e=this._adjustIndex(t,-1),n=mc(this._lContainer,e);return n&&null!=this._viewRefs.splice(e,1)[0]?new Tf(n,n[$e],-1):null},n.prototype._adjustIndex=function(t,e){return void 0===e&&(e=0),null==t?this.length+e:t},n}(t));var a=o[n.index];if(mn(a))(i=a)[pn]=-1;else{var u;if(u=4===n.type?yn(a):o[nn].createComment(""),Tn(o)){var s=o[nn],c=_n(n,o);xc(s,Oc(s,c),u,function(t,e){return jo(t)?t.nextSibling(e):e.nextSibling}(s,c))}else Ec(u,n,o);o[n.index]=i=fs(a,o,u,n,!0),hs(o,i)}return new _f(i,n,o)}(t,e,ur(),Qn())},up={},sp=function(t){function e(e){var n=t.call(this)||this;return n.ngModule=e,n}return Object(r.d)(e,t),e.prototype.resolveComponentFactory=function(t){var e=Pe(t);return new pp(e,this.ngModule)},e}(Of);function cp(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var lp=new J("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Xl(ct(fp))}}),fp=new J("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ue}}),pp=function(t){function e(e,n){var r=t.call(this)||this;return r.componentDef=e,r.ngModule=n,r.componentType=e.type,r.selector=e.selectors[0][0],r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!n,r}return Object(r.d)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return cp(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return cp(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){var o,i,a=void 0===n,u=(r=r||this.ngModule)?function(t,e){return{get:function(n,r,o){var i=t.get(n,up,o);return i!==up||r===up?i:e.get(n,r,o)}}}(t,r.injector):t,s=u.get(Nf,To),c=u.get(so,null),l=a?Hu(this.selector,s.createRenderer(null,this.componentDef)):(o=n,i=s.createRenderer(null,null),"string"==typeof o?jo(i)?i.selectRootElement(o):i.querySelector(o):o),f=this.componentDef.onPush?576:528,p="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),h=a||p?Xl():u.get(lp),d=s.createRenderer(l,this.componentDef);n&&l&&(jo(d)?d.setAttribute(l,"ng-version",Lf.full):l.setAttribute("ng-version",Lf.full));var v,y,g=Lu(null,Ku(-1,null,1,0,null,null,null,null),h,f,null,null,s,d,c,u),m=xr(g,null);try{var b=function(t,e,n,r,o,i){Wn=!1,Zn=null,Hn=0,Fn=!0;var a=n[Ge];n[0+ln]=l;var u=Vu(a,null,0,3,null,null),s=Lu(n,Yu(e),null,e.onPush?64:16,n[ln],u,r,o,void 0);return a.firstTemplatePass&&(ui(ri(u,n),n,e.type),u.flags=1,us(u,n.length,1),is(u)),n[ln]=s}(0,this.componentDef,g,s,d);y=Sn(0,g),e&&(y.projection=e.map(function(t){return Array.from(t)})),v=function(t,e,n,r,o){var i=n[Ge],a=function(t,e,n){var r=ur();t.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),ns(t,r,1),ss(t,e,n,n.factory));var o=pi(t.data,e,e.length-1,r);return os(e,r,o),o}(i,n,e);r.components.push(a),t[$e]=a,o&&o.forEach(function(t){return t(a,e)}),e.contentQueries&&e.contentQueries(1,a,n.length-1);var u=ur();if(i.firstTemplatePass&&e.hostBindings&&(tr(u.index-ln),es(e,i.expandoInstructions,a,u,i.firstTemplatePass),u.onElementCreationFns&&Ts(u),tr(null)),u.stylingTemplate){var s=t[qe];Ti(s,u.stylingTemplate,t[nn]),Ii(s,u.stylingTemplate,t[nn])}return a}(b,this.componentDef,g,h,[$l]),hs(g,b),Mu(g)}finally{Cr(m)}var w=new hp(this.componentType,v,Pf(Af,y,g),g,y);return a&&(w.hostView._tViewNode.child=y),w},e}(xf),hp=function(t){function e(e,n,r,o,i){var a=t.call(this)||this;return a.location=r,a._rootLView=o,a._tNode=i,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new If(o),a.hostView._tViewNode=Fu(o[Ge],null,-1,o),a.componentType=e,a}return Object(r.d)(e,t),Object.defineProperty(e.prototype,"injector",{get:function(){return new vi(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy()},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(Sf),dp={},vp=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencySymbol=15]="CurrencySymbol",t[t.CurrencyName=16]="CurrencyName",t[t.Currencies=17]="Currencies",t[t.PluralCase=18]="PluralCase",t[t.ExtraData=19]="ExtraData",t}({}),yp=void 0,gp=["en",[["a","p"],["AM","PM"],yp],[["AM","PM"],yp,yp],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],yp,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],yp,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",yp,"{1} 'at' {0}",yp],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];function mp(t){return bp(t)[vp.PluralCase]}function bp(t){var e=t.toLowerCase().replace(/_/g,"-"),n=dp[e];if(n)return n;var r=e.split("-")[0];if(n=dp[r])return n;if("en"===r)return gp;throw new Error('Missing locale data for the locale "'+t+'".')}function wp(t,e){for(var n=0;nn.length&&n.push(s)}return c=e.indexOf("other"),l='Missing key "other" in ICU statement.',c<=-1&&function(t){throw new Error("ASSERTION ERROR: "+t)}(l),{type:r,mainBinding:o,cases:e,values:n};var c,l}function Up(t){for(var e,n,r="",o=0,i=!1;null!==(e=Cp.exec(t));)i?e[0]===Sp+"/*"+n+Sp&&(o=e.index,i=!1):(r+=t.substring(o,e.index+e[0].length),n=e[1],i=!0);return r+t.substr(o)}function Hp(t,e,n,r){void 0===r&&(r=null);for(var o=[null,null],i=t.split(Ep),a=0,u=0;u0&&a!==u&&l.push(a.index<<3|0);for(var f=[],p=[],h=function(t,e){if("number"!=typeof e)return Up(t);var n=t.indexOf(":"+e+Sp)+2+e.toString().length,r=t.search(new RegExp(Sp+"\\/\\*\\d+:"+e+Sp));return Up(t.substring(n,r))}(n,r).split(Op),d=0;d>>17;a=Qp(i,p===t?r[Ke]:Sn(p,r),a,r);break;case 0:var h=c>>>3;u.push(h),a=i,(i=Sn(h,r))&&sr(i,3===i.type);break;case 5:a=i=Sn(c>>>3,r),sr(i,!1);break;case 4:ls(g=c>>>3,e[++s],e[++s],r);break;default:throw new Error('Unable to determine the type of mutate operation for "'+c+'"')}else switch(c){case Ma:var d=e[++s],v=e[++s],y=o.createComment(d);a=i,i=Yp(r,v,5,y,null),u.push(v),Po(y,r),i.activeCaseIndex=null,fr();break;case Da:var g,m=e[++s];a=i,i=Yp(r,g=e[++s],3,o.createElement(m),m),u.push(g);break;default:throw new Error('Unable to determine the type of mutate operation for "'+c+'"')}}return fr(),u}function Jp(t,e){var n=Sn(t,e),r=wn(t,e);r&&Tc(e[nn],r);var o=Lc(t);mn(o)&&0!==n.type&&Tc(e[nn],o[hn]),n.flags|=32}function Xp(t,e,n){Gp(t,e,n),Wp()}function $p(t,e){!function(t,e,n){for(var r=ur().index-ln,o=[],i=0;i>>2,v=void 0,y=void 0;switch(3&h){case 1:ts(d,e[++p],f,e[++p]);break;case 0:Ul(d,f);break;case 2:if(v=n[e[++p]],null!==(y=Sn(d,i)).activeCaseIndex)for(var g=v.remove[y.activeCaseIndex],m=0;m>>3,i);break;case 6:var w=Sn(g[m+1]>>>3,i).activeCaseIndex;null!==w&&wp(n[b>>>3].remove[w],g)}}var _=oh(v,f);y.activeCaseIndex=-1!==_?_:null,Kp(-1,v.create[_],0,i),u=!0;break;case 3:v=n[e[++p]],y=Sn(d,i),t(v.update[y.activeCaseIndex],n,r,o,i,u)}}}s+=l}}(r,o,e[Je]-eh-1,th,e),th=0,eh=0}}function oh(t,e){var n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:var r=function(t,e){switch(mp(fh)(t)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(e);-1===(n=t.cases.indexOf(r))&&"other"!==r&&(n=t.cases.indexOf("other"));break;case 0:n=t.cases.indexOf("other")}return n}function ih(t,e,n,o){for(var i=[],a=[],u=[],s=[],c=[],l=0;l=0;n--){var r=e[n];if(t===r.name)return r}throw new Error("The pipe '"+t+"' could not be found!")}(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(o,n.onDestroy)):n=r.data[o];var i=n.factory();return Uc(t,i),i}function Ih(t,e,n){var r=Lc(t);return Dh(Nh(t)?bh(e,r.transform,n,r):r.transform(n))}function Ph(t,e,n,r){var o=Lc(t);return Dh(Nh(t)?wh(e,o.transform,n,r,o):o.transform(n,r))}function kh(t,e,n,r,o){var i=Lc(t);return Dh(Nh(t)?_h(e,i.transform,n,r,o,i):i.transform(n,r,o))}function Ah(t,e,n,r,o,i){var a=Lc(t);return Dh(Nh(t)?Sh(e,a.transform,n,r,o,i,a):a.transform(n,r,o,i))}function Rh(t,e,n){var r=Lc(t);return Dh(Nh(t)?jh(e,r.transform,n,r):r.transform.apply(r,n))}function Nh(t){return Qn()[Ge].data[t+ln].pure}function Dh(t){if(Rs.isWrapped(t)){t=Rs.unwrap(t);var e=Qn();e[e[Je]]=Si}return t}var Mh=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return Object(r.d)(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,a=function(t){return null},u=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(a=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(u=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(a=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(u=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var s=t.prototype.subscribe.call(this,i,a,u);return e instanceof o.a&&e.add(s),s},e}(i.a);function Uh(){return this._results[ks()]()}var Hh=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Mh,this.length=0;var e=ks(),n=t.prototype;n[e]||(n[e]=Uh)}return 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.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=_p(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Lh=function(){return function(t,e,n,r,o){this.next=t,this.list=e,this.predicate=n,this.values=r,this.containerValues=o}}(),Vh=function(){function t(t,e,n,r){void 0===r&&(r=-1),this.parent=t,this.shallow=e,this.deep=n,this.nodeIndex=r}return t.prototype.track=function(t,e,n,r){n?this.deep=Jh(this.deep,t,e,null!=r?r:null):this.shallow=Jh(this.shallow,t,e,null!=r?r:null)},t.prototype.clone=function(e){return null!==this.shallow||On(e)?new t(this,null,this.deep,e.index):this},t.prototype.container=function(){var e=Fh(this.shallow),n=Fh(this.deep);return e||n?new t(this,e,n):null},t.prototype.createView=function(){var e=zh(this.shallow),n=zh(this.deep);return e||n?new t(this,e,n):null},t.prototype.insertView=function(t){Bh(t,this.shallow),Bh(t,this.deep)},t.prototype.addNode=function(t){Yh(this.deep,t,!1),Yh(this.shallow,t,!1)},t.prototype.insertNodeBeforeViews=function(t){Yh(this.deep,t,!0),Yh(this.shallow,t,!0)},t.prototype.removeView=function(){qh(this.shallow),qh(this.deep)},t}();function Fh(t){for(var e=null;t;){var n=[];t.values.push(n),e=new Lh(e,t.list,t.predicate,n,null),t=t.next}return e}function zh(t){for(var e=null;t;)e=new Lh(e,t.list,t.predicate,[],t.values),t=t.next;return e}function Bh(t,e){for(;e;)e.containerValues.splice(t,0,e.values),e.values.length&&e.list.setDirty(),e=e.next}function qh(t){for(;t;){var e=t.containerValues,n=e.indexOf(t.values);e.splice(n,1)[0].length&&t.list.setDirty(),t=t.next}}function Gh(t,e){var n=t.localNames;if(n)for(var r=0;r-1?pi(e[Ge].data,e,r,t):function(t,e){return 3===t.type||4===t.type?Pf(Af,t,e):0===t.type?kf(rp,Af,t,e):null}(t,e)}function Yh(t,e,n){for(var r=Qn();t;){var o=t.predicate,i=o.type;if(i){var a=null;i===rp?a=Zh(i,e,r,o.read):null!==(c=fi(e,r,i,!1,!1))&&(a=Wh(e,r,o.read,c)),null!==a&&Kh(t,a,n)}else for(var u=o.selector,s=0;s=0;t--){var e=fd[t],n=e.moduleType,r=e.ngModule;r.declarations&&r.declarations.every(hd)&&(fd.splice(t,1),dd(n,r))}}finally{pd=!1}}}(),void 0!==t.ngSelectorScope){var s=yd(t.ngSelectorScope);vd(n,s)}}return n},configurable:!1}),jt(t)},Md=function(t,e){var n=null;Object.defineProperty(t,he,{get:function(){if(null===n){var r=t&&t.name,o="ng:///"+r+"/ngDirectiveDef.js",i=Y(),a=wd(t,e);a.typeSourceSpan=i.createParseSourceSpan("Directive",r,o),a.usesInheritance&&_d(t),n=i.compileDirective(cd,o,a)}return n},configurable:!1}),jt(t)},Ud=function(t,e){var n=null;Object.defineProperty(t,de,{get:function(){if(null===n){var r=t.name;n=Y().compilePipe(cd,"ng:///"+r+"/ngPipeDef.js",{type:t,typeArgumentCount:0,name:r,deps:Ot(t),pipeName:e.name,pure:void 0===e.pure||e.pure})}return n},configurable:!1})},Hd=_("NgModule",function(t){return t},void 0,void 0,function(t,e){return Ld(t,e)}),Ld=function(t,e){void 0===e&&(e={}),function(t,e,n){void 0===n&&(n=!1);var r=_p(e.declarations||ld),o=null;Object.defineProperty(t,ve,{configurable:!0,get:function(){return null===o&&(o=Y().compileNgModule(cd,"ng:///"+t.name+"/ngModuleDef.js",{type:t,bootstrap:_p(e.bootstrap||ld).map(B),declarations:r.map(B),imports:_p(e.imports||ld).map(B).map(gd),exports:_p(e.exports||ld).map(B).map(gd),emitInline:!0,schemas:e.schemas?_p(e.schemas):null,id:e.id||null})),o}});var i=null;Object.defineProperty(t,L,{get:function(){if(null===i){var n={name:t.name,type:t,deps:Ot(t),providers:e.providers||ld,imports:[(e.imports||ld).map(B),(e.exports||ld).map(B)]};i=Y().compileInjector(cd,"ng:///"+t.name+"/ngInjectorDef.js",n)}return i},configurable:!1})}(t,e),function(t,e){fd.push({moduleType:t,ngModule:e})}(t,e)},Vd=new J("Application Initializer"),Fd=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==o}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t.ngInjectableDef=N({token:t,factory:function(e){return new(e||t)(ct(dv))},providedIn:null}),t}(),Sv=function(){function t(){this._applications=new Map,Ov.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Ov.findTestabilityInTree(this,t,e)},(t=Object(r.c)([Object(r.f)("design:paramtypes",[])],t)).ngInjectableDef=N({token:t,factory:function(e){return new(e||t)},providedIn:null}),t}();function xv(t){Ov=t}var Cv,Ov=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Ev=new J("AllowMultipleToken"),jv=function(){return function(t,e){this.name=t,this.token=e}}();function Tv(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new J(r);return function(e){void 0===e&&(e=[]);var i=Iv();if(!i||i.injector.get(Ev,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var a=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(Cv&&!Cv.destroyed&&!Cv.injector.get(Ev,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Cv=t.get(Pv);var e=t.get(Zd,null);e&&e.forEach(function(t){return t()})}(Xt.create({providers:a,name:r}))}return function(t){var e=Iv();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}(o)}}function Iv(){return Cv&&!Cv.destroyed?Cv:null}var Pv=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,o="noop"===(n=e?e.ngZone:void 0)?new wv:("zone.js"===n?void 0:n)||new dv({enableLongStackTrace:Mr()}),i=[{provide:dv,useValue:o}];return o.run(function(){var e=Xt.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(_i,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return ph(n.injector.get(Jd,"en-US")),n.onDestroy(function(){return Rv(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){a.handleError(t)}})}),function(t,e,o){try{var i=((a=n.injector.get(Fd)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return hl(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(u){throw e.runOutsideAngular(function(){return t.handleError(u)}),u}var a}(a,o)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var o=kv({},e);return function(t,e,n){var o=new yh(n);if(0===oe.size)return Promise.resolve(o);var i,a,u=(i=t.get(av,[]).concat(e).map(function(t){return t.providers}),a=[],i.forEach(function(t){return t&&a.push.apply(a,Object(r.i)(t))}),a);if(0===u.length)return Promise.resolve(o);var s=Y(),c=Xt.create({providers:u}).get(s.ResourceLoader);return function(t){var e=[],n=new Map;function r(e){var r=n.get(e);if(!r){var o=t(e);n.set(e,r=o.then(ue))}return r}return oe.forEach(function(t,n){var o=[];t.templateUrl&&o.push(r(t.templateUrl).then(function(e){t.template=e}));var i=t.styleUrls,a=t.styles||(t.styles=[]),u=t.styles.length;i&&i.forEach(function(e,n){a.push(""),o.push(r(e).then(function(r){a[u+n]=r,i.splice(i.indexOf(e),1),0==i.length&&(t.styleUrls=void 0)}))});var s=Promise.all(o).then(function(){return function(t){ie.delete(t)}(n)});e.push(s)}),oe=new Map,Promise.all(e).then(function(){})}(function(t){return Promise.resolve(c.get(t))}).then(function(){return o})}(this.injector,o,t).then(function(t){return n.bootstrapModuleFactory(t,o)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Av);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+V(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.ngInjectableDef=N({token:t,factory:function(e){return new(e||t)(ct(Xt))},providedIn:null}),t}();function kv(t,e){return Array.isArray(e)?e.reduce(kv,t):Object(r.a)({},t,e)}var Av=function(){function t(t,e,n,r,o,i){var l=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Mr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var p=new a.a(function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){t.next(l._stable),t.complete()})}),h=new a.a(function(t){var e;l._zone.runOutsideAngular(function(){e=l._zone.onStable.subscribe(function(){dv.assertNotInAngularZone(),hv(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){dv.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof a.a?t[0]:Object(s.a)(n)(Object(c.a)(t,r))}(p,h.pipe(function(t){return f()((e=g,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,v);return r.source=t,r.subjectFactory=n,r})(t));var e}))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof xf?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n.isBoundToModule?null:this._injector.get(Ef),i=n.create(Xt.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(_v,null);return a&&i.injector.get(Sv).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Mr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var t,n,o,i,a=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var u=e._tickScope();try{this._runningTick=!0;try{for(var s=Object(r.j)(this._views),c=s.next();!c.done;c=s.next())c.value.detectChanges()}catch(p){t={error:p}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}if(this._enforceNoNewChanges)try{for(var l=Object(r.j)(this._views),f=l.next();!f.done;f=l.next())f.value.checkNoChanges()}catch(h){o={error:h}}finally{try{f&&!f.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}}catch(d){this._zone.runOutsideAngular(function(){return a._exceptionHandler.handleError(d)})}finally{this._runningTick=!1,fv(u)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;Rv(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Yd,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),Rv(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=lv("ApplicationRef#tick()"),t.ngInjectableDef=N({token:t,factory:function(e){return new(e||t)(ct(dv),ct(Kd),ct(Xt),ct(_i),ct(Of),ct(Fd))},providedIn:null}),t}();function Rv(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Nv=function(){return function(){}}(),Dv=function(){return function(){}}(),Mv={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Uv=function(){function t(t,e){this._compiler=t,this._config=e||Mv}return t.prototype.load=function(t){return this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,o=Object(r.h)(t.split("#"),2),i=o[0],a=o[1];return void 0===a&&(a="default"),n("zn8P")(i).then(function(t){return t[a]}).then(function(t){return Hv(t,i,a)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=Object(r.h)(t.split("#"),2),o=e[0],i=e[1],a="NgFactory";return void 0===i&&(i="default",a=""),n("zn8P")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then(function(t){return t[i+a]}).then(function(t){return Hv(t,o,i)})},t.ngInjectableDef=N({token:t,factory:function(e){return new(e||t)(ct(iv),ct(Dv,8))},providedIn:null}),t}();function Hv(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Lv=function(){function t(t){this.nativeNode=t}return Object.defineProperty(t.prototype,"parent",{get:function(){var t=this.nativeNode.parentNode;return t?new Vv(t):null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return t=Wl(this.nativeNode),new vi(t.lView[Ge].data[t.nodeIndex],t.lView);var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){var t,e,n,r=this.nativeNode;return r&&(void 0===(n=Yl(r)).component&&(n.component=1&(e=(t=n.lView)[Ge].data[n.nodeIndex]).flags?t[e.directiveStart]:null),n.component||function(t){for(var e,n=Wl(r).lView;null===n[qe]&&(e=Ko(n));)n=e;return 512&n[Qe]?null:n[$e]}())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return Yl(this.nativeNode).lView[$e]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"listeners",{get:function(){return function(t){var e=Yl(t).lView,n=e[Xe],r=e[Ge].cleanup,o=[];if(r&&n)for(var i=0;i=0)&&null})}}return o.sort(Jl),o}(this.nativeNode).filter(Kl)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return void 0===(t=Wl(this.nativeNode)).localRefs&&(t.localRefs=function(e,n){var r=e[Ge].data[t.nodeIndex];if(r&&r.localNames){for(var o={},i=r.index+1,a=0;a0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=c.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+c.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+c.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.ngInjectableDef=r.Fb({token:e,factory:function(t){return new(t||e)(r.Nb(i),r.Nb(s,8))},providedIn:null}),e}(u),p=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 Object(o.d)(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 c.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+c.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+c.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.ngInjectableDef=r.Fb({token:e,factory:function(t){return new(t||e)(r.Nb(i),r.Nb(s,8))},providedIn:null}),e}(u),h=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),d=r.ob,v=new r.w("UseV4Plurals"),y=function(){return function(){}}(),g=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(o.d)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):d(e||this.locale)(t)){case h.Zero:return"zero";case h.One:return"one";case h.Two:return"two";case h.Few:return"few";case h.Many:return"many";default:return"other"}},e.ngInjectableDef=r.Fb({token:e,factory:function(t){return new(t||e)(r.Nb(r.B),r.Nb(v,8))},providedIn:null}),e}(y);function m(t,e){var n,r;e=encodeURIComponent(e);try{for(var i=Object(o.j)(t.split(";")),a=i.next();!a.done;a=i.next()){var u=a.value,s=u.indexOf("="),c=Object(o.h)(-1==s?[u,""]:[u.slice(0,s),u.slice(s+1)],2),l=c[1];if(c[0].trim()===e)return decodeURIComponent(l)}}catch(f){n={error:f}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var b=function(){function t(){}return t.ngModuleDef=r.Hb({type:t}),t.ngInjectorDef=r.Gb({factory:function(e){return new(e||t)},providers:[{provide:y,useClass:g}]}),t}(),w=new r.w("DocumentToken"),_="browser",S="server";function x(t){return t===S}var C=function(){function t(){}return t.ngInjectableDef=Object(r.Fb)({token:t,providedIn:"root",factory:function(){return new O(Object(r.Nb)(w),window,Object(r.Nb)(r.p))}}),t}(),O=function(){function t(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}()},Zn8D:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("psW0"),o=n("mChF");function i(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(r.a)(o.a,t)}},iLxQ:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},isby:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},mChF:function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",function(){return r})},mrSG:function(t,e,n){"use strict";n.d(e,"d",function(){return o}),n.d(e,"a",function(){return i}),n.d(e,"c",function(){return a}),n.d(e,"g",function(){return u}),n.d(e,"f",function(){return s}),n.d(e,"b",function(){return c}),n.d(e,"e",function(){return l}),n.d(e,"j",function(){return f}),n.d(e,"h",function(){return p}),n.d(e,"i",function(){return h});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function s(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(t){try{s(r.next(t))}catch(e){i(e)}}function u(t){try{s(r.throw(t))}catch(e){i(e)}}function s(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(a,u)}s((r=r.apply(t,e||[])).next())})}function l(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=r[2&i[0]?"return":i[0]?"throw":"next"])&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[0,o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function h(){for(var t=[],e=0;e0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.a)},pugT:function(t,e,n){"use strict";var r=n("isby"),o=n("McSo"),i=n("2Bdj");function a(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}a.prototype=Object.create(Error.prototype);var u=a;n.d(e,"a",function(){return s});var s=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,a=this._parents,s=this._unsubscribe,l=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,p=a?a.length:0;n;)n.remove(this),n=++f{class t{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new a(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==D.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=t.current;for(;e.parent;)e=e.parent;return e}static get current(){return P.zone}static get currentTask(){return z}static __load_patch(s,i){if(D.hasOwnProperty(s)){if(r)throw Error("Already loaded patch: "+s)}else if(!e["__Zone_disable_"+s]){const r="Zone:"+s;n(r),D[s]=i(e,t,O),o(r,r)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{P=P.parent}}runGuarded(e,t=null,n,o){P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{P=P.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||m).name+"; Execution: "+this.name+")");if(e.state===y&&(e.type===S||e.type===Z))return;const o=e.state!=v;o&&e._transitionTo(v,b),e.runCount++;const r=z;z=e,P={parent:P,zone:this};try{e.type==Z&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==y&&e.state!==w&&(e.type==S||e.data&&e.data.isPeriodic?o&&e._transitionTo(b,v):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(y,v,y))),P=P.parent,z=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(k,y);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(w,k,y),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(b,k),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new c(E,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new c(Z,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new c(S,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||m).name+"; Execution: "+this.name+")");e._transitionTo(T,b,v);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(w,T),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(y,T),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;oe.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class a{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t.zone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t.zone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t.zone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:i,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=E)throw new Error("Task is missing scheduleFn.");g(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class c{constructor(t,n,o,r,s,i){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=i,this.callback=o;const a=this;this.invoke=t===S&&r&&r.useG?c.invokeTask:function(){return c.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),j++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==j&&_(),j--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(y,k)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==y&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const l=I("setTimeout"),u=I("Promise"),h=I("then");let p,f=[],d=!1;function g(t){if(0===j&&0===f.length)if(p||e[u]&&(p=e[u].resolve(0)),p){let e=p[h];e||(e=p.then),e.call(p,_)}else e[l](_,0);t&&f.push(t)}function _(){if(!d){for(d=!0;f.length;){const t=f;f=[];for(let n=0;nP,onUnhandledError:C,microtaskDrainDone:C,scheduleMicroTask:g,showUncaughtError:()=>!s[I("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:C,patchMethod:()=>C,bindArguments:()=>[],patchThen:()=>C,patchMacroTask:()=>C,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(p=e.resolve(0))},patchEventPrototype:()=>C,isIEOrEdge:()=>!1,getGlobalObjects:()=>void 0,ObjectDefineProperty:()=>C,ObjectGetOwnPropertyDescriptor:()=>void 0,ObjectCreate:()=>void 0,ArraySlice:()=>[],patchClass:()=>C,wrapWithCurrentZone:()=>C,filterProperties:()=>[],attachOriginToPatched:()=>C,_redefineProperty:()=>C,patchCallbacks:()=>C};let P={parent:null,zone:new s(null,null)},z=null,j=0;function C(){}function I(e){return"__zone_symbol__"+e}o("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,i=[],a=s("Promise"),c=s("then"),l="__creationTrace__";n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;i.length;)for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=s("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];n&&"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return R.reject(e)}const g=s("state"),_=s("value"),m=s("finally"),y=s("parentPromiseValue"),k=s("parentPromiseState"),b="Promise.then",v=null,T=!0,w=!1,E=0;function Z(e,t){return n=>{try{P(e,t,n)}catch(o){P(e,!1,o)}}}const S=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},D="Promise resolved with itself",O=s("currentTaskTrace");function P(e,o,s){const a=S();if(e===s)throw new TypeError(D);if(e[g]===v){let h=null;try{"object"!=typeof s&&"function"!=typeof s||(h=s&&s.then)}catch(u){return a(()=>{P(e,!1,u)})(),e}if(o!==w&&s instanceof R&&s.hasOwnProperty(g)&&s.hasOwnProperty(_)&&s[g]!==v)j(s),P(e,s[g],s[_]);else if(o!==w&&"function"==typeof h)try{h.call(s,a(Z(e,o)),a(Z(e,!1)))}catch(u){a(()=>{P(e,!1,u)})()}else{e[g]=o;const a=e[_];if(e[_]=s,e[m]===m&&o===T&&(e[g]=e[k],e[_]=e[y]),o===w&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data[l];e&&r(s,O,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const r=e[_],a=n&&m===n[m];a&&(n[y]=r,n[k]=s);const c=t.run(i,void 0,a&&i!==d&&i!==f?[]:[r]);P(n,!0,c)}catch(o){P(n,!1,o)}},n)}const I="function ZoneAwarePromise() { [native code] }";class R{constructor(e){const t=this;if(!(t instanceof R))throw new Error("Must be an instanceof Promise.");t[g]=v,t[_]=[];try{e&&e(Z(t,T),Z(t,w))}catch(n){P(t,!1,n)}}static toString(){return I}static resolve(e){return P(new this(null),T,e)}static reject(e){return P(new this(null),w,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let i of e)p(i)||(i=this.resolve(i)),i.then(r,s);return o}static all(e){let t,n,o=new this((e,o)=>{t=e,n=o}),r=2,s=0;const i=[];for(let a of e){p(a)||(a=this.resolve(a));const e=s;a.then(n=>{i[e]=n,0==--r&&t(i)},n),r++,s++}return 0==(r-=2)&&t(i),o}get[Symbol.toStringTag](){return"Promise"}then(e,n){const o=new this.constructor(null),r=t.current;return this[g]==v?this[_].push(r,o,e,n):C(this,r,o,e,n),o}catch(e){return this.then(null,e)}finally(e){const n=new this.constructor(null);n[m]=m;const o=t.current;return this[g]==v?this[_].push(o,n,e,e):C(this,o,n,e,e),n}}R.resolve=R.resolve,R.reject=R.reject,R.race=R.race,R.all=R.all;const x=e[a]=e.Promise,M=t.__symbol__("ZoneAwarePromise");let L=o(e,"Promise");L&&!L.configurable||(L&&delete L.writable,L&&delete L.value,L||(L={configurable:!0,enumerable:!0}),L.get=function(){return e[M]?e[M]:e[a]},L.set=function(t){t===R?e[M]=t:(e[a]=t,t.prototype[c]||A(t),n.setNativePromise(t))},r(e,"Promise",L)),e.Promise=R;const N=s("thenPatched");function A(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[c]=r,e.prototype.then=function(e,t){return new R((e,t)=>{r.call(this,e,t)}).then(e,t)},e[N]=!0}if(n.patchThen=A,x){A(x);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=function(e){return function(){let t=e.apply(this,arguments);if(t instanceof R)return t;let n=t.constructor;return n[N]||A(n),t}}(t))}return Promise[t.__symbol__("uncaughtPromiseErrors")]=i,R});const n=Object.getOwnPropertyDescriptor,o=Object.defineProperty,r=Object.getPrototypeOf,s=Object.create,i=Array.prototype.slice,a="addEventListener",c="removeEventListener",l=Zone.__symbol__(a),u=Zone.__symbol__(c),h="true",p="false",f="__zone_symbol__";function d(e,t){return Zone.current.wrap(e,t)}function g(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const _=Zone.__symbol__,m="undefined"!=typeof window,y=m?window:void 0,k=m&&y||"object"==typeof self&&self||global,b="removeAttribute",v=[null];function T(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=d(e[n],t+"_"+n));return e}function w(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const E="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Z=!("nw"in k)&&void 0!==k.process&&"[object process]"==={}.toString.call(k.process),S=!Z&&!E&&!(!m||!y.HTMLElement),D=void 0!==k.process&&"[object process]"==={}.toString.call(k.process)&&!E&&!(!m||!y.HTMLElement),O={},P=function(e){if(!(e=e||k.event))return;let t=O[e.type];t||(t=O[e.type]=_("ON_PROPERTY"+e.type));const n=this||e.target||k,o=n[t];let r;if(S&&n===y&&"error"===e.type){const t=e;!0===(r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error))&&e.preventDefault()}else null==(r=o&&o.apply(this,arguments))||r||e.preventDefault();return r};function z(e,t,r){let s=n(e,t);if(!s&&r&&n(r,t)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const i=_("on"+t+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete s.writable,delete s.value;const a=s.get,c=s.set,l=t.substr(2);let u=O[l];u||(u=O[l]=_("ON_PROPERTY"+l)),s.set=function(t){let n=this;n||e!==k||(n=k),n&&(n[u]&&n.removeEventListener(l,P),c&&c.apply(n,v),"function"==typeof t?(n[u]=t,n.addEventListener(l,P,!1)):n[u]=null)},s.get=function(){let n=this;if(n||e!==k||(n=k),!n)return null;const o=n[u];if(o)return o;if(a){let e=a&&a.call(this);if(e)return s.set.call(this,e),"function"==typeof n[b]&&n.removeAttribute(t),e}return null},o(e,t,s),e[i]=!0}function j(e,t,n){if(t)for(let o=0;o{const t=Object.getOwnPropertyDescriptor(c,e);Object.defineProperty(l,e,{get:function(){return c[e]},set:function(n){(!t||t.writable&&"function"==typeof t.set)&&(c[e]=n)},enumerable:!t||t.enumerable,configurable:!t||t.configurable})}))}var c,l;return a}function M(e,t,n){let o=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}o=x(e,t,e=>(function(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?g(s.name,o[s.cbIdx],s,r):e.apply(t,o)}))}function L(e,t){e[_("OriginalDelegate")]=t}let N=!1,A=!1;function F(){if(N)return A;N=!0;try{const t=y.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(A=!0)}catch(e){}return A}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=_("OriginalDelegate"),o=_("Promise"),r=_("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const i=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":i.call(this)}});let H=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){H=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(Te){H=!1}const G={useG:!0},q={},B={},$=/^__zone_symbol__(\w+)(true|false)$/,U="__zone_symbol__propagationStopped";function W(e,t,n){const o=n&&n.add||a,s=n&&n.rm||c,i=n&&n.listeners||"eventListeners",l=n&&n.rmAll||"removeAllListeners",u=_(o),d="."+o+":",g="prependListener",m="."+g+":",y=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[s].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},k=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[q[t.type][p]];if(o)if(1===o.length)y(o[0],n,t);else{const e=o.slice();for(let o=0;o(function(t,n){t[U]=!0,e&&e.apply(t,n)}))}function J(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const i=t[s]=t[o];t[o]=function(s,a,c){return a&&a.prototype&&r.forEach(function(t){const r=`${n}.${o}::`+t,s=a.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(a.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}),i.call(t,s,a,c)},e.attachOriginToPatched(t[o],i)}const Y=Zone.__symbol__,K=Object[Y("defineProperty")]=Object.defineProperty,Q=Object[Y("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,ee=Object.create,te=Y("unconfigurables");function ne(e,t,n){const o=n.configurable;return se(e,t,n=re(e,t,n),o)}function oe(e,t){return e&&e[te]&&e[te][t]}function re(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[te]||Object.isFrozen(e)||K(e,te,{writable:!0,value:{}}),e[te]&&(e[te][t]=!0)),n}function se(e,t,n,o){try{return K(e,t,n)}catch(r){if(!n.configurable)throw r;void 0===o?delete n.configurable:n.configurable=o;try{return K(e,t,n)}catch(r){let o=null;try{o=JSON.stringify(n)}catch(r){o=n.toString()}console.log(`Attempting to configure '${t}' with descriptor '${o}' on object '${e}' and got error, giving up: ${r}`)}}}const ie=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],ae=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],ce=["load"],le=["blur","error","focus","load","resize","scroll","messageerror"],ue=["bounce","finish","start"],he=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],pe=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],fe=["close","error","open","message"],de=["error","message"],ge=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],ie,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function _e(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function me(e,t,n,o){e&&j(e,_e(e,t,n),o)}function ye(e,t){if(Z&&!D)return;if(Zone[e.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(S){const e=window,t=function(){try{const n=e.navigator.userAgent;if(-1!==n.indexOf("MSIE ")||-1!==n.indexOf("Trident/"))return!0}catch(t){}return!1}?[{target:e,ignoreProperties:["error"]}]:[];me(e,ge.concat(["messageerror"]),o?o.concat(t):o,r(e)),me(Document.prototype,ge,o),void 0!==e.SVGElement&&me(e.SVGElement.prototype,ge,o),me(Element.prototype,ge,o),me(HTMLElement.prototype,ge,o),me(HTMLMediaElement.prototype,ae,o),me(HTMLFrameSetElement.prototype,ie.concat(le),o),me(HTMLBodyElement.prototype,ie.concat(le),o),me(HTMLFrameElement.prototype,ce,o),me(HTMLIFrameElement.prototype,ce,o);const n=e.HTMLMarqueeElement;n&&me(n.prototype,ue,o);const s=e.Worker;s&&me(s.prototype,de,o)}const s=t.XMLHttpRequest;s&&me(s.prototype,he,o);const i=t.XMLHttpRequestEventTarget;i&&me(i&&i.prototype,he,o),"undefined"!=typeof IDBIndex&&(me(IDBIndex.prototype,pe,o),me(IDBRequest.prototype,pe,o),me(IDBOpenDBRequest.prototype,pe,o),me(IDBDatabase.prototype,pe,o),me(IDBTransaction.prototype,pe,o),me(IDBCursor.prototype,pe,o)),n&&me(WebSocket.prototype,fe,o)}Zone.__load_patch("util",(e,t,r)=>{r.patchOnProperties=j,r.patchMethod=x,r.bindArguments=T,r.patchMacroTask=M;const l=t.__symbol__("BLACK_LISTED_EVENTS"),u=t.__symbol__("UNPATCHED_EVENTS");e[u]&&(e[l]=e[u]),e[l]&&(t[l]=t[u]=e[l]),r.patchEventPrototype=X,r.patchEventTarget=W,r.isIEOrEdge=F,r.ObjectDefineProperty=o,r.ObjectGetOwnPropertyDescriptor=n,r.ObjectCreate=s,r.ArraySlice=i,r.patchClass=I,r.wrapWithCurrentZone=d,r.filterProperties=_e,r.attachOriginToPatched=L,r._redefineProperty=ne,r.patchCallbacks=J,r.getGlobalObjects=()=>({globalSources:B,zoneSymbolEventNames:q,eventNames:ge,isBrowser:S,isMix:D,isNode:Z,TRUE_STR:h,FALSE_STR:p,ZONE_SYMBOL_PREFIX:f,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:c})});const ke=_("zoneTask");function be(e,t,n,o){let r=null,s=null;n+=o;const i={};function a(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete i[n.handleId]:n.handleId&&(n.handleId[ke]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return s(e.data.handleId)}r=x(e,t+=o,n=>(function(r,s){if("function"==typeof s[0]){const e=g(t,s[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},a,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?i[n]=e:n&&(n[ke]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,s)})),s=x(e,n,t=>(function(n,o){const r=o[0];let s;"number"==typeof r?s=i[r]:(s=r&&r[ke])||(s=r),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete i[r]:r&&(r[ke]=null),s.zone.cancelTask(s)):t.apply(e,o)}))}function ve(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:i}=t.getGlobalObjects();for(let c=0;c{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{be(e,"set","clear","Timeout"),be(e,"set","clear","Interval"),be(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{be(e,"request","cancel","AnimationFrame"),be(e,"mozRequest","mozCancel","AnimationFrame"),be(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o(function(o,s){return t.current.run(n,e,s,r)}))}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),ve(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),I("MutationObserver"),I("WebKitMutationObserver"),I("IntersectionObserver"),I("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ye(n,e),Object.defineProperty=function(e,t,n){if(oe(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);const o=n.configurable;return"prototype"!==t&&(n=re(e,t,n)),se(e,t,n,o)},Object.defineProperties=function(e,t){return Object.keys(t).forEach(function(n){Object.defineProperty(e,n,t[n])}),e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach(function(n){t[n]=re(e,n,t[n])}),ee(e,t)},Object.getOwnPropertyDescriptor=function(e,t){const n=Q(e,t);return n&&oe(e,t)&&(n.configurable=!1),n}}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(c){const h=e.XMLHttpRequest;if(!h)return;const p=h.prototype;let f=p[l],d=p[u];if(!f){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;f=e[l],d=e[u]}}const m="readystatechange",y="scheduled";function k(e){const t=e.data,o=t.target;o[s]=!1,o[a]=!1;const i=o[r];f||(f=o[l],d=o[u]),i&&d.call(o,m,i);const c=o[r]=()=>{if(o.readyState===o.DONE)if(!t.aborted&&o[s]&&e.state===y){const n=o.__zone_symbol__loadfalse;if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=o.__zone_symbol__loadfalse;for(let t=0;t(function(e,t){return e[o]=0==t[2],e[i]=t[1],T.apply(e,t)})),w=_("fetchTaskAborting"),E=_("fetchTaskScheduling"),Z=x(p,"send",()=>(function(e,n){if(!0===t.current[E])return Z.apply(e,n);if(e[o])return Z.apply(e,n);{const t={target:e,url:e[i],isPeriodic:!1,args:n,aborted:!1},o=g("XMLHttpRequest.send",b,t,k,v);e&&!0===e[a]&&!t.aborted&&o.state===y&&o.invoke()}})),S=x(p,"abort",()=>(function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[w])return S.apply(e,o)}))}();const n=_("xhrTask"),o=_("xhrSync"),r=_("xhrListener"),s=_("xhrScheduled"),i=_("xhrURL"),a=_("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,t){const o=e.constructor.name;for(let r=0;r{const t=function(){return e.apply(this,T(arguments,o+"."+s))};return L(t,e),t})(i)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){V(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[_("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[_("rejectionHandledHandler")]=n("rejectionhandled"))})}},[[1,0]]]); \ No newline at end of file diff --git a/demos/webpack4-angular8-cli/dist/polyfills-es5.8f1fdbe9af1f36a12db4.js b/demos/webpack4-angular8-cli/dist/polyfills-es5.8f1fdbe9af1f36a12db4.js new file mode 100644 index 000000000..030e8f75b --- /dev/null +++ b/demos/webpack4-angular8-cli/dist/polyfills-es5.8f1fdbe9af1f36a12db4.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+2oP":function(t,e,n){"use strict";var r=n("I+eb"),o=n("hh1v"),i=n("6LWA"),a=n("I8vh"),c=n("UMSQ"),u=n("/GqU"),s=n("hBjN"),f=n("Hd5f"),l=n("tiKp")("species"),p=[].slice,h=Math.max;r({target:"Array",proto:!0,forced:!f("slice")},{slice:function(t,e){var n,r,f,v=u(this),d=c(v.length),g=a(t,d),y=a(void 0===e?d:e,d);if(i(v)&&("function"!=typeof(n=v.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[l])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(v,g,y);for(r=new(void 0===n?Array:n)(h(y-g,0)),f=0;g",this._properties=e&&e.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return D.zone},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return M},enumerable:!0,configurable:!0}),e.__load_patch=function(i,a){if(O.hasOwnProperty(i)){if(o)throw Error("Already loaded patch: "+i)}else if(!t["__Zone_disable_"+i]){var c="Zone:"+i;n(c),O[i]=a(t,e,I),r(c,c)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},e.prototype.run=function(t,e,n,r){D={parent:D,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{D=D.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),D={parent:D,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{D=D.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||y).name+"; Execution: "+this.name+")");if(t.state!==b||t.type!==w&&t.type!==T){var r=t.state!=_;r&&t._transitionTo(_,k),t.runCount++;var o=M;M=t,D={parent:D,zone:this};try{t.type==T&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==b&&t.state!==S&&(t.type==w||t.data&&t.data.isPeriodic?r&&t._transitionTo(k,_):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(b,_,b))),D=D.parent,M=o}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(m,b);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(S,m,b),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==m&&t._transitionTo(k,m),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new s(E,t,e,n,r,void 0))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new s(T,t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new s(w,t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||y).name+"; Execution: "+this.name+")");t._transitionTo(x,k,_);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(S,x),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(b,x),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})},t}(),s=function(){function e(n,r,o,i,a,c){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,this.callback=o;var u=this;this.invoke=n===w&&i&&i.useG?e.invokeTask:function(){return e.invokeTask.call(t,u,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),j++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==j&&g(),j--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(b,m)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==b&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),f=R("setTimeout"),l=R("Promise"),p=R("then"),h=[],v=!1;function d(e){if(0===j&&0===h.length)if(i||t[l]&&(i=t[l].resolve(0)),i){var n=i[p];n||(n=i.then),n.call(i,g)}else t[f](g,0);e&&h.push(e)}function g(){if(!v){for(v=!0;h.length;){var t=h;h=[];for(var e=0;e=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}};Zone.__load_patch("ZoneAwarePromise",function(e,n,r){var o=Object.getOwnPropertyDescriptor,i=Object.defineProperty,a=r.symbol,c=[],u=a("Promise"),s=a("then"),f="__creationTrace__";r.onUnhandledError=function(t){if(r.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},r.microtaskDrainDone=function(){for(;c.length;)for(var t=function(){var t=c.shift();try{t.zone.runGuarded(function(){throw t})}catch(e){p(e)}};c.length;)t()};var l=a("unhandledPromiseRejectionHandler");function p(t){r.onUnhandledError(t);try{var e=n[l];e&&"function"==typeof e&&e.call(this,t)}catch(o){}}function h(t){return t&&t.then}function v(t){return t}function d(t){return A.reject(t)}var g=a("state"),y=a("value"),b=a("finally"),m=a("parentPromiseValue"),k=a("parentPromiseState"),_="Promise.then",x=null,S=!0,E=!1,T=0;function w(t,e){return function(n){try{M(t,e,n)}catch(r){M(t,!1,r)}}}var O=function(){var t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}},I="Promise resolved with itself",D=a("currentTaskTrace");function M(t,e,o){var a,u=O();if(t===o)throw new TypeError(I);if(t[g]===x){var s=null;try{"object"!=typeof o&&"function"!=typeof o||(s=o&&o.then)}catch(d){return u(function(){M(t,!1,d)})(),t}if(e!==E&&o instanceof A&&o.hasOwnProperty(g)&&o.hasOwnProperty(y)&&o[g]!==x)P(o),M(t,o[g],o[y]);else if(e!==E&&"function"==typeof s)try{s.call(o,u(w(t,e)),u(w(t,!1)))}catch(d){u(function(){M(t,!1,d)})()}else{t[g]=e;var l=t[y];if(t[y]=o,t[b]===b&&e===S&&(t[g]=t[k],t[y]=t[m]),e===E&&o instanceof Error){var p=n.currentTask&&n.currentTask.data&&n.currentTask.data[f];p&&i(o,D,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(var h=0;h=0;n--)"function"==typeof t[n]&&(t[n]=h(t[n],e+"_"+n));return t}function x(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var S="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,E=!("nw"in b)&&void 0!==b.process&&"[object process]"==={}.toString.call(b.process),T=!E&&!S&&!(!g||!y.HTMLElement),w=void 0!==b.process&&"[object process]"==={}.toString.call(b.process)&&!S&&!(!g||!y.HTMLElement),O={},I=function(t){if(t=t||b.event){var e=O[t.type];e||(e=O[t.type]=d("ON_PROPERTY"+t.type));var n,r=this||t.target||b,o=r[e];return T&&r===y&&"error"===t.type?!0===(n=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error))&&t.preventDefault():null==(n=o&&o.apply(this,arguments))||n||t.preventDefault(),n}};function D(t,r,o){var i=e(t,r);if(!i&&o&&e(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=d("on"+r+"patched");if(!t.hasOwnProperty(a)||!t[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=r.substr(2),f=O[s];f||(f=O[s]=d("ON_PROPERTY"+s)),i.set=function(e){var n=this;n||t!==b||(n=b),n&&(n[f]&&n.removeEventListener(s,I),u&&u.apply(n,k),"function"==typeof e?(n[f]=e,n.addEventListener(s,I,!1)):n[f]=null)},i.get=function(){var e=this;if(e||t!==b||(e=b),!e)return null;var n=e[f];if(n)return n;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof e[m]&&e.removeAttribute(r),o}return null},n(t,r,i),t[a]=!0}}}function M(t,e,n){if(e)for(var r=0;r=0&&"function"==typeof r[i.cbIdx]?v(i.name,r[i.cbIdx],i,o):t.apply(e,r)}})}function z(t,e){t[d("OriginalDelegate")]=e}var L=!1,F=!1;function Z(){try{var t=y.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(e){}return!1}function C(){if(L)return F;L=!0;try{var t=y.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(F=!0)}catch(e){}return F}Zone.__load_patch("toString",function(t){var e=Function.prototype.toString,n=d("OriginalDelegate"),r=d("Promise"),o=d("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=t[r];if(a)return e.call(a)}if(this===Error){var c=t[o];if(c)return e.call(c)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});var W=!1;if("undefined"!=typeof window)try{var U=Object.defineProperty({},"passive",{get:function(){W=!0}});window.addEventListener("test",U,U),window.removeEventListener("test",U,U)}catch(Tt){W=!1}var H={useG:!0},B={},G={},K=/^__zone_symbol__(\w+)(true|false)$/,V="__zone_symbol__propagationStopped";function X(t,e,n){var o=n&&n.add||a,i=n&&n.rm||c,u=n&&n.listeners||"eventListeners",s=n&&n.rmAll||"removeAllListeners",h=d(o),v="."+o+":",g="prependListener",y="."+g+":",b=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var o=t.options;o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)}},m=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[B[e.type][l]];if(r)if(1===r.length)b(r[0],n,e);else for(var o=r.slice(),i=0;i1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach(function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}})):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}Zone.__load_patch("util",function(t,r,u){u.patchOnProperties=M,u.patchMethod=A,u.bindArguments=_,u.patchMacroTask=N;var s=r.__symbol__("BLACK_LISTED_EVENTS"),v=r.__symbol__("UNPATCHED_EVENTS");t[v]&&(t[s]=t[v]),t[s]&&(r[s]=r[v]=t[s]),u.patchEventPrototype=Y,u.patchEventTarget=X,u.isIEOrEdge=C,u.ObjectDefineProperty=n,u.ObjectGetOwnPropertyDescriptor=e,u.ObjectCreate=o,u.ArraySlice=i,u.patchClass=P,u.wrapWithCurrentZone=h,u.filterProperties=yt,u.attachOriginToPatched=z,u._redefineProperty=rt,u.patchCallbacks=Q,u.getGlobalObjects=function(){return{globalSources:G,zoneSymbolEventNames:B,eventNames:gt,isBrowser:T,isMix:w,isNode:E,TRUE_STR:f,FALSE_STR:l,ZONE_SYMBOL_PREFIX:p,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:c}}}),function(t){t.__zone_symbol__legacyPatch=function(){var e=t.Zone;e.__load_patch("registerElement",function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)}),e.__load_patch("EventTargetLegacy",function(t,e,n){kt(t,n),_t(n,t)})}}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var xt=d("zoneTask");function St(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[xt]=null))}},n.handleId=o.apply(t,n.args),e}function u(t){return i(t.data.handleId)}o=A(t,e+=r,function(n){return function(o,i){if("function"==typeof i[0]){var s=v(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,u);if(!s)return s;var f=s.data.handleId;return"number"==typeof f?a[f]=s:f&&(f[xt]=s),f&&f.ref&&f.unref&&"function"==typeof f.ref&&"function"==typeof f.unref&&(s.ref=f.ref.bind(f),s.unref=f.unref.bind(f)),"number"==typeof f||f?f:s}return n.apply(t,i)}}),i=A(t,n,function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[xt])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[xt]=null),o.zone.cancelTask(o)):e.apply(t,r)}})}function Et(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u0){var o=t.invoke;t.invoke=function(){for(var n=r.__zone_symbol__loadfalse,i=0;i")}),f=!i(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});t.exports=function(t,e,n,l){var p=a(t),h=!i(function(){var e={};return e[p]=function(){return 7},7!=""[t](e)}),v=h&&!i(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[p](""),!e});if(!h||!v||"replace"===t&&!s||"split"===t&&!f){var d=/./[p],g=n(p,""[t],function(t,e,n,r,o){return e.exec===c?h&&!o?{done:!0,value:d.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),y=g[1];o(String.prototype,t,g[0]),o(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)}),l&&r(RegExp.prototype[p],"sham",!0)}}},"1E5z":function(t,e,n){var r=n("m/L8").f,o=n("UTVS"),i=n("tiKp")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},"1Y/n":function(t,e,n){var r=n("HAuM"),o=n("ewvW"),i=n("RK3t"),a=n("UMSQ");t.exports=function(t,e,n,c,u){r(e);var s=o(t),f=i(s),l=a(s.length),p=u?l-1:0,h=u?-1:1;if(n<2)for(;;){if(p in f){c=f[p],p+=h;break}if(p+=h,u?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:l>p;p+=h)p in f&&(c=e(c,f[p],p,s));return c}},"2A+d":function(t,e,n){var r=n("I+eb"),o=n("/GqU"),i=n("UMSQ");r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},"4oU/":function(t,e,n){var r=n("2oRo").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},"4syw":function(t,e,n){var r=n("busE");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},"5D5o":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("hh1v"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},"5DmW":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("/GqU"),a=n("Bs8V").f,c=n("g6v/"),u=o(function(){a(1)});r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},"5YOQ":function(t,e,n){var r=n("2oRo"),o=n("WKiH"),i=n("WJkJ"),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t),3);return a(n,e>>>0||(c.test(n)?16:10))}:a},"5Yz+":function(t,e,n){"use strict";var r=n("/GqU"),o=n("ppGB"),i=n("UMSQ"),a=n("swFL"),c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,s=a("lastIndexOf");t.exports=u||s?function(t){if(u)return c.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=Math.min(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:c},"5dW1":function(t,e,n){var r=n("ppGB"),o=n("HYAF");t.exports=function(t,e,n){var i,a,c=String(o(t)),u=r(e),s=c.length;return u<0||u>=s?n?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?n?c.charAt(u):i:n?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}},"5mdu":function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},"5s+n":function(t,e,n){"use strict";var r,o,i,a=n("I+eb"),c=n("xDBR"),u=n("2oRo"),s=n("Qo9l"),f=n("4syw"),l=n("1E5z"),p=n("JiZb"),h=n("hh1v"),v=n("HAuM"),d=n("GarU"),g=n("xrYK"),y=n("ImZN"),b=n("HH4o"),m=n("SEBh"),k=n("LPSS").set,_=n("tXUg"),x=n("zfnd"),S=n("RN6c"),E=n("8GlL"),T=n("5mdu"),w=n("s5pE"),O=n("afO8"),I=n("lMq5"),D=n("tiKp")("species"),M=O.get,j=O.set,P=O.getterFor("Promise"),R=u.Promise,A=u.TypeError,N=u.document,z=u.process,L=u.fetch,F=z&&z.versions,Z=F&&F.v8||"",C=E.f,W=C,U="process"==g(z),H=!!(N&&N.createEvent&&u.dispatchEvent),B=I("Promise",function(){var t=R.resolve(1),e=function(){},n=(t.constructor={})[D]=function(t){t(e,e)};return!((U||"function"==typeof PromiseRejectionEvent)&&(!c||t.finally)&&t.then(e)instanceof n&&0!==Z.indexOf("6.6")&&-1===w.indexOf("Chrome/66"))}),G=B||!b(function(t){R.all(t).catch(function(){})}),K=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},V=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;_(function(){for(var o=e.value,i=1==e.state,a=0,c=function(n){var r,a,c,u=i?n.ok:n.fail,s=n.resolve,f=n.reject,l=n.domain;try{u?(i||(2===e.rejection&&Q(t,e),e.rejection=1),!0===u?r=o:(l&&l.enter(),r=u(o),l&&(l.exit(),c=!0)),r===n.promise?f(A("Promise-chain cycle")):(a=K(r))?a.call(r,s,f):s(r)):f(o)}catch(p){l&&!c&&l.exit(),f(p)}};r.length>a;)c(r[a++]);e.reactions=[],e.notified=!1,n&&!e.rejection&&q(t,e)})}},X=function(t,e,n){var r,o;H?((r=N.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},(o=u["on"+t])?o(r):"unhandledrejection"===t&&S("Unhandled promise rejection",n)},q=function(t,e){k.call(u,function(){var n,r=e.value;if(Y(e)&&(n=T(function(){U?z.emit("unhandledRejection",r,t):X("unhandledrejection",t,r)}),e.rejection=U||Y(e)?2:1,n.error))throw n.value})},Y=function(t){return 1!==t.rejection&&!t.parent},Q=function(t,e){k.call(u,function(){U?z.emit("rejectionHandled",t):X("rejectionhandled",t,e.value)})},J=function(t,e,n,r){return function(o){t(e,n,o,r)}},$=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,V(t,e,!0))},tt=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw A("Promise can't be resolved itself");var o=K(n);o?_(function(){var r={done:!1};try{o.call(n,J(tt,t,r,e),J($,t,r,e))}catch(i){$(t,r,i,e)}}):(e.value=n,e.state=1,V(t,e,!1))}catch(i){$(t,{done:!1},i,e)}}};B&&(R=function(t){d(this,R,"Promise"),v(t),r.call(this);var e=M(this);try{t(J(tt,this,e),J($,this,e))}catch(n){$(this,e,n)}},(r=function(t){j(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(R.prototype,{then:function(t,e){var n=P(this),r=C(m(this,R));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=U?z.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&V(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=M(t);this.promise=t,this.resolve=J(tt,t,e),this.reject=J($,t,e)},E.f=C=function(t){return t===R||t===i?new o(t):W(t)},c||"function"!=typeof L||a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return x(R,L.apply(u,arguments))}})),a({global:!0,wrap:!0,forced:B},{Promise:R}),l(R,"Promise",!1,!0),p("Promise"),i=s.Promise,a({target:"Promise",stat:!0,forced:B},{reject:function(t){var e=C(this);return e.reject.call(void 0,t),e.promise}}),a({target:"Promise",stat:!0,forced:c||B},{resolve:function(t){return x(c&&this===i?R:this,t)}}),a({target:"Promise",stat:!0,forced:G},{all:function(t){var e=this,n=C(e),r=n.resolve,o=n.reject,i=T(function(){var n=v(e.resolve),i=[],a=0,c=1;y(t,function(t){var u=a++,s=!1;i.push(void 0),c++,n.call(e,t).then(function(t){s||(s=!0,i[u]=t,--c||r(i))},o)}),--c||r(i)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=C(e),r=n.reject,o=T(function(){var o=v(e.resolve);y(t,function(t){o.call(e,t).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},"5uH8":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},"6JNq":function(t,e,n){var r=n("UTVS"),o=n("Vu81"),i=n("Bs8V"),a=n("m/L8");t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s3})}},"7+zs":function(t,e,n){var r=n("X2U+"),o=n("UesL"),i=n("tiKp")("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},"7sbD":function(t,e,n){n("qePV"),n("NbN+"),n("8AyJ"),n("i6QF"),n("kSko"),n("WDsR"),n("r/Vq"),n("5uH8"),n("w1rZ"),n("JevA"),n("toAj"),n("VC3L");var r=n("Qo9l");t.exports=r.Number},"8AyJ":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{isFinite:n("4oU/")})},"8GlL":function(t,e,n){"use strict";var r=n("HAuM"),o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},"8YOa":function(t,e,n){var r=n("0BK2"),o=n("hh1v"),i=n("UTVS"),a=n("m/L8").f,c=n("kOOl"),u=n("uy83"),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){a(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return u&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};r[s]=!0},"90hW":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},"93I0":function(t,e,n){var r=n("VpIT"),o=n("kOOl"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"9LPj":function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("ewvW"),a=n("wE6v");r({target:"Date",proto:!0,forced:o(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"9N29":function(t,e,n){"use strict";var r=n("I+eb"),o=n("1Y/n");r({target:"Array",proto:!0,forced:n("swFL")("reduceRight")},{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},"9bJ7":function(t,e,n){"use strict";var r=n("I+eb"),o=n("5dW1");r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},"9d/t":function(t,e,n){var r=n("xrYK"),o=n("tiKp")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"9mRW":function(t,e,n){n("I+eb")({target:"Math",stat:!0},{fround:n("vo4V")})},"9tb/":function(t,e,n){var r=n("I+eb"),o=n("I8vh"),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},AmFO:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("jrUv"),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},Anvj:function(t,e,n){var r=n("33Wh"),o=n("dBg+"),i=n("0eef");t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,c=n(t),u=i.f,s=0;c.length>s;)u.call(t,a=c[s++])&&e.push(a);return e}},BNMt:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("blink")},{blink:function(){return o(this,"blink","","")}})},BTho:function(t,e,n){"use strict";var r=n("HAuM"),o=n("hh1v"),i=[].slice,a={};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),c=function(){var r=n.concat(i.call(arguments));return this instanceof c?function(t,e,n){if(!(e in a)){for(var r=[],o=0;o0?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u,!0,!0);if(l&&p){r=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,b=g.has,m=g.get,k=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),b.call(this,t)||e.frozen.has(t)}return b.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),b.call(this,t)?m.call(this,t):e.frozen.get(t)}return m.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=f(this);n.frozen||(n.frozen=new r),b.call(this,t)?k.call(this,t,e):n.frozen.set(t,e)}else k.call(this,t,e);return this}})}},EUja:function(t,e,n){"use strict";var r=n("ppGB"),o=n("HYAF");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EnZy:function(t,e,n){"use strict";var r=n("14Sl"),o=n("ROdP"),i=n("glrk"),a=n("HYAF"),c=n("SEBh"),u=n("iqWW"),s=n("UMSQ"),f=n("FMNM"),l=n("kmMV"),p=n("0Dky"),h=[].push,v=Math.min,d=!p(function(){return!RegExp(4294967295,"y")});r("split",2,function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var c,u,s,f=[],p=0,v=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=l.call(v,r))&&!((u=v.lastIndex)>p&&(f.push(r.slice(p,c.index)),c.length>1&&c.index=i));)v.lastIndex===c.index&&v.lastIndex++;return p===r.length?!s&&v.test("")||f.push(""):f.push(r.slice(p)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var l=i(t),p=String(this),h=c(l,RegExp),g=l.unicode,y=new h(d?l:"^(?:"+l.source+")",(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(d?"y":"g")),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===f(y,p)?[p]:[];for(var m=0,k=0,_=[];k2?arguments[2]:void 0,f=Math.min((void 0===s?a:o(s,a))-u,a-c),l=1;for(u0;)u in n?n[c]=n[u]:delete n[c],c+=l,u+=l;return n}},FMNM:function(t,e,n){var r=n("xrYK"),o=n("kmMV");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"G+Rx":function(t,e,n){var r=n("2oRo").document;t.exports=r&&r.documentElement},GKVU:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},GRPF:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},GarU:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},HAuM:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},HH4o:function(t,e,n){var r=n("tiKp")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},HRxU:function(t,e,n){var r=n("I+eb"),o=n("g6v/");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("N+g0")})},HYAF:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},Hd5f:function(t,e,n){var r=n("0Dky"),o=n("tiKp")("species");t.exports=function(t){return!r(function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},HsHA:function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},"I+eb":function(t,e,n){var r=n("2oRo"),o=n("Bs8V").f,i=n("X2U+"),a=n("busE"),c=n("zk60"),u=n("6JNq"),s=n("lMq5");t.exports=function(t,e){var n,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},I8vh:function(t,e,n){var r=n("ppGB"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},I9xj:function(t,e,n){n("1E5z")(Math,"Math",!0)},ImZN:function(t,e,n){var r=n("glrk"),o=n("6VoE"),i=n("UMSQ"),a=n("+MLx"),c=n("NaFW"),u=n("m92n"),s={};(t.exports=function(t,e,n,f,l){var p,h,v,d,g,y=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((f?y(r(g=t[v])[0],g[1]):y(t[v]))===s)return s;return}p=h.call(t)}for(;!(g=p.next()).done;)if(u(p,y,g.value,f)===s)return s}).BREAK=s},IxXR:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("strike")},{strike:function(){return o(this,"strike","","")}})},J30X:function(t,e,n){n("I+eb")({target:"Array",stat:!0},{isArray:n("6LWA")})},JBy8:function(t,e,n){var r=n("yoRg"),o=n("eDl+").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},JTJg:function(t,e,n){"use strict";var r=n("I+eb"),o=n("NA7A");r({target:"String",proto:!0,forced:!n("qxPZ")("includes")},{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},JevA:function(t,e,n){var r=n("I+eb"),o=n("5YOQ");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},JfAA:function(t,e,n){"use strict";var r=n("busE"),o=n("glrk"),i=n("0Dky"),a=n("rW0t"),c=/./.toString,u=RegExp.prototype;(i(function(){return"/a/b"!=c.call({source:"a",flags:"b"})})||"toString"!=c.name)&&r(RegExp.prototype,"toString",function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in u)?a.call(t):n)},{unsafe:!0})},JiZb:function(t,e,n){"use strict";var r=n("0GbY"),o=n("m/L8"),i=n("tiKp"),a=n("g6v/"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},Kv9l:function(t,e,n){n("TWNs"),n("JfAA"),n("rB9j"),n("U3f4"),n("Rm1S"),n("UxlC"),n("hByQ"),n("EnZy")},KvGi:function(t,e,n){n("I+eb")({target:"Math",stat:!0},{sign:n("90hW")})},Kxld:function(t,e,n){n("I+eb")({target:"Object",stat:!0},{is:n("Ep9I")})},LKBx:function(t,e,n){"use strict";var r=n("I+eb"),o=n("UMSQ"),i=n("NA7A"),a=n("qxPZ"),c="".startsWith;r({target:"String",proto:!0,forced:!a("startsWith")},{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return c?c.call(e,r,n):e.slice(n,n+r.length)===r}})},LPSS:function(t,e,n){var r,o,i,a=n("2oRo"),c=n("0Dky"),u=n("xrYK"),s=n("+MLx"),f=n("G+Rx"),l=n("zBJ4"),p=a.location,h=a.setImmediate,v=a.clearImmediate,d=a.process,g=a.MessageChannel,y=a.Dispatch,b=0,m={},k=function(t){if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){return function(){k(t)}},x=function(t){k(t.data)},S=function(t){a.postMessage(t+"",p.protocol+"//"+p.host)};h&&v||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},v=function(t){delete m[t]},"process"==u(d)?r=function(t){d.nextTick(_(t))}:y&&y.now?r=function(t){y.now(_(t))}:g?(i=(o=new g).port2,o.port1.onmessage=x,r=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(S)?r="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),k(t)}}:function(t){setTimeout(_(t),0)}:(r=S,a.addEventListener("message",x,!1))),t.exports={set:h,clear:v}},LhpL:function(t,e,n){var r=n("hh1v"),o=n("glrk");t.exports=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}},"N+g0":function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("glrk"),a=n("33Wh");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},NA7A:function(t,e,n){var r=n("ROdP"),o=n("HYAF");t.exports=function(t,e,n){if(r(e))throw TypeError("String.prototype."+n+" doesn't accept regex");return String(o(t))}},NBAS:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("ewvW"),a=n("4WOD"),c=n("4Xet");r({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},NaFW:function(t,e,n){var r=n("9d/t"),o=n("P4y1"),i=n("tiKp")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"NbN+":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},OM9Z:function(t,e,n){n("I+eb")({target:"String",proto:!0},{repeat:n("EUja")})},P0SU:function(t,e,n){var r=n("+MLx"),o=n("RK3t"),i=n("ewvW"),a=n("UMSQ"),c=n("ZfDv");t.exports=function(t,e){var n=1==t,u=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=e||c;return function(e,c,v){for(var d,g,y=i(e),b=o(y),m=r(c,v,3),k=a(b.length),_=0,x=n?h(e,k):u?h(e,0):void 0;k>_;_++)if((p||_ in b)&&(g=m(d=b[_],_,y),t))if(n)x[_]=g;else if(g)switch(t){case 3:return!0;case 5:return d;case 6:return _;case 2:x.push(d)}else if(f)return!1;return l?-1:s||f?f:x}}},P4y1:function(t,e){t.exports={}},PKPk:function(t,e,n){"use strict";var r=n("5dW1"),o=n("afO8"),i=n("fdAy"),a=o.set,c=o.getterFor("String Iterator");i(String,"String",function(t){a(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o,!0),e.index+=t.length,{value:t,done:!1})})},PqOI:function(t,e,n){var r=n("I+eb"),o=n("90hW"),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},QFcT:function(t,e,n){var r=n("I+eb"),o=Math.abs,i=Math.sqrt;r({target:"Math",stat:!0},{hypot:function(t,e){for(var n,r,a=0,c=0,u=arguments.length,s=0;c0?(r=n/s)*r:n;return s===1/0?1/0:s*i(a)}})},QIpd:function(t,e,n){var r=n("xrYK");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},QNnp:function(t,e,n){var r=n("I+eb"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},QWBl:function(t,e,n){"use strict";var r=n("I+eb"),o=n("F8JR");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},Qo9l:function(t,e,n){t.exports=n("2oRo")},RK3t:function(t,e,n){var r=n("0Dky"),o=n("xrYK"),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},RN6c:function(t,e,n){var r=n("2oRo");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},RNIs:function(t,e,n){var r=n("tiKp"),o=n("fHMY"),i=n("X2U+"),a=r("unscopables"),c=Array.prototype;null==c[a]&&i(c,a,o(null)),t.exports=function(t){c[a][t]=!0}},ROdP:function(t,e,n){var r=n("hh1v"),o=n("xrYK"),i=n("tiKp")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},Rfxz:function(t,e,n){"use strict";var r=n("I+eb"),o=n("P0SU"),i=n("swFL"),a=o(3);r({target:"Array",proto:!0,forced:i("some")},{some:function(t){return a(this,t,arguments[1])}})},Rm1S:function(t,e,n){"use strict";var r=n("14Sl"),o=n("glrk"),i=n("UMSQ"),a=n("HYAF"),c=n("iqWW"),u=n("FMNM");r("match",1,function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]})},SEBh:function(t,e,n){var r=n("glrk"),o=n("HAuM"),i=n("tiKp")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},STAE:function(t,e,n){var r=n("0Dky");t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},SYor:function(t,e,n){"use strict";var r=n("I+eb"),o=n("WKiH");r({target:"String",proto:!0,forced:n("4HCi")("trim")},{trim:function(){return o(this,3)}})},TFPT:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("sub")},{sub:function(){return o(this,"sub","","")}})},TWNs:function(t,e,n){var r=n("g6v/"),o=n("2oRo"),i=n("lMq5"),a=n("cVYH"),c=n("m/L8").f,u=n("JBy8").f,s=n("ROdP"),f=n("rW0t"),l=n("busE"),p=n("0Dky"),h=n("JiZb"),v=n("tiKp")("match"),d=o.RegExp,g=d.prototype,y=/a/g,b=/a/g,m=new d(y)!==y;if(i("RegExp",r&&(!m||p(function(){return b[v]=!1,d(y)!=y||d(b)==b||"/a/i"!=d(y,"i")})))){for(var k=function(t,e){var n=this instanceof k,r=s(t),o=void 0===e;return!n&&r&&t.constructor===k&&o?t:a(m?new d(r&&!o?t.source:t,e):d((r=t instanceof k)?t.source:t,r&&o?f.call(t):e),n?this:g,k)},_=function(t){t in k||c(k,t,{configurable:!0,get:function(){return d[t]},set:function(e){d[t]=e}})},x=u(d),S=0;Sf;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},TeQF:function(t,e,n){"use strict";var r=n("I+eb"),o=n("P0SU"),i=n("Hd5f"),a=o(2);r({target:"Array",proto:!0,forced:!i("filter")},{filter:function(t){return a(this,t,arguments[1])}})},TfTi:function(t,e,n){"use strict";var r=n("+MLx"),o=n("ewvW"),i=n("m92n"),a=n("6VoE"),c=n("UMSQ"),u=n("hBjN"),s=n("NaFW");t.exports=function(t){var e,n,f,l,p=o(t),h="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,g=void 0!==d,y=0,b=s(p);if(g&&(d=r(d,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(e=c(p.length));e>y;y++)u(n,y,g?d(p[y],y):p[y]);else for(l=b.call(p),n=new h;!(f=l.next()).done;y++)u(n,y,g?i(l,d,[f.value,y],!0):f.value);return n.length=y,n}},ToJy:function(t,e,n){"use strict";var r=n("I+eb"),o=n("HAuM"),i=n("ewvW"),a=n("0Dky"),c=n("swFL"),u=[].sort,s=[1,2,3],f=a(function(){s.sort(void 0)}),l=a(function(){s.sort(null)}),p=c("sort");r({target:"Array",proto:!0,forced:f||!l||p},{sort:function(t){return void 0===t?u.call(i(this)):u.call(i(this),o(t))}})},Tskq:function(t,e,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");t.exports=r("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},o,!0)},U3f4:function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("rW0t");r&&"g"!=/./g.flags&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},UMSQ:function(t,e,n){var r=n("ppGB"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},UTVS:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},UesL:function(t,e,n){"use strict";var r=n("glrk"),o=n("wE6v");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},UxlC:function(t,e,n){"use strict";var r=n("14Sl"),o=n("glrk"),i=n("ewvW"),a=n("UMSQ"),c=n("ppGB"),u=n("HYAF"),s=n("iqWW"),f=n("FMNM"),l=Math.max,p=Math.min,h=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;r("replace",2,function(t,e,n){return[function(n,r){var o=u(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,i){var u=n(e,t,this,i);if(u.done)return u.value;var h=o(t),v=String(this),d="function"==typeof i;d||(i=String(i));var g=h.global;if(g){var y=h.unicode;h.lastIndex=0}for(var b=[];;){var m=f(h,v);if(null===m)break;if(b.push(m),!g)break;""===String(m[0])&&(h.lastIndex=s(v,a(h.lastIndex),y))}for(var k,_="",x=0,S=0;S=x&&(_+=v.slice(x,T)+M,x=T+E.length)}return _+v.slice(x)}];function r(t,n,r,o,a,c){var u=r+t.length,s=o.length,f=d;return void 0!==a&&(a=i(a),f=v),e.call(c,f,function(e,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=h(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}c=o[f-1]}return void 0===c?"":c})}})},Uydy:function(t,e,n){var r=n("I+eb"),o=n("HsHA"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},VC3L:function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("QIpd"),a=1..toPrecision;r({target:"Number",proto:!0,forced:o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},VpIT:function(t,e,n){var r=n("2oRo"),o=n("zk60"),i=n("xDBR"),a=r["__core-js_shared__"]||o("__core-js_shared__",{});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.1.3",mode:i?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},Vu81:function(t,e,n){var r=n("2oRo"),o=n("JBy8"),i=n("dBg+"),a=n("glrk"),c=r.Reflect;t.exports=c&&c.ownKeys||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},WDsR:function(t,e,n){var r=n("I+eb"),o=n("Xol8"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},WJkJ:function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},WKiH:function(t,e,n){var r=n("HYAF"),o="["+n("WJkJ")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$");t.exports=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(i,"")),2&e&&(t=t.replace(a,"")),t}},"X2U+":function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("XGwC");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},XGwC:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},Xe3L:function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("hBjN");r({target:"Array",stat:!0,forced:o(function(){function t(){}return!(Array.of.call(t)instanceof t)})},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},Xol8:function(t,e,n){var r=n("hh1v"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},YGK4:function(t,e,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");t.exports=r("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},o)},YNrV:function(t,e,n){"use strict";var r=n("g6v/"),o=n("0Dky"),i=n("33Wh"),a=n("dBg+"),c=n("0eef"),u=n("ewvW"),s=n("RK3t"),f=Object.assign;t.exports=!f||o(function(){var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")})?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:f},ZOXb:function(t,e,n){"use strict";var r=n("0Dky"),o=Date.prototype,i=o.getTime,a=o.toISOString,c=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-5e13-1))})||!r(function(){a.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+("00000"+Math.abs(t)).slice(n?-6:-4)+"-"+c(this.getUTCMonth()+1)+"-"+c(this.getUTCDate())+"T"+c(this.getUTCHours())+":"+c(this.getUTCMinutes())+":"+c(this.getUTCSeconds())+"."+(e>99?e:"0"+c(e))+"Z"}:a},ZWaQ:function(t,e,n){"use strict";var r=n("m/L8").f,o=n("fHMY"),i=n("4syw"),a=n("+MLx"),c=n("GarU"),u=n("ImZN"),s=n("fdAy"),f=n("JiZb"),l=n("g6v/"),p=n("8YOa").fastKey,h=n("afO8"),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var f=t(function(t,r){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&u(r,t[s],t,n)}),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=h(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(f.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),f(e)}}},ZfDv:function(t,e,n){var r=n("hh1v"),o=n("6LWA"),i=n("tiKp")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},Zk8X:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("6unK")("sup")},{sup:function(){return o(this,"sup","","")}})},a5NK:function(t,e,n){var r=n("I+eb"),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},afO8:function(t,e,n){var r,o,i,a=n("f5p1"),c=n("2oRo"),u=n("hh1v"),s=n("X2U+"),f=n("UTVS"),l=n("93I0"),p=n("0BK2");if(a){var h=new(0,c.WeakMap),v=h.get,d=h.has,g=h.set;r=function(t,e){return g.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return d.call(h,t)}}else{var y=l("state");p[y]=!0,r=function(t,e){return s(t,y,e),e},o=function(t){return f(t,y)?t[y]:{}},i=function(t){return f(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},"b+VT":function(t,e,n){var r=n("2oRo"),o=n("WKiH"),i=n("WJkJ"),a=r.parseFloat,c=1/a(i+"-0")!=-1/0;t.exports=c?function(t){var e=o(String(t),3),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},bWFh:function(t,e,n){"use strict";var r=n("I+eb"),o=n("2oRo"),i=n("lMq5"),a=n("busE"),c=n("8YOa"),u=n("ImZN"),s=n("GarU"),f=n("hh1v"),l=n("0Dky"),p=n("HH4o"),h=n("1E5z"),v=n("cVYH");t.exports=function(t,e,n,d,g){var y=o[t],b=y&&y.prototype,m=y,k=d?"set":"add",_={},x=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof y||!(g||b.forEach&&!l(function(){(new y).entries().next()}))))m=n.getConstructor(e,t,d,k),c.REQUIRED=!0;else if(i(t,!0)){var S=new m,E=S[k](g?{}:-0,1)!=S,T=l(function(){S.has(1)}),w=p(function(t){new y(t)}),O=!g&&l(function(){for(var t=new y,e=5;e--;)t[k](e,e);return!t.has(-0)});w||((m=e(function(e,n){s(e,m,t);var r=v(new y,e,m);return null!=n&&u(n,r[k],r,d),r})).prototype=b,b.constructor=m),(T||O)&&(x("delete"),x("has"),d&&x("get")),(O||E)&&x(k),g&&b.clear&&delete b.clear}return _[t]=m,r({global:!0,forced:m!=y},_),h(m,t),g||n.setStrong(m,t,d),m}},brp2:function(t,e,n){n("I+eb")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},busE:function(t,e,n){var r=n("2oRo"),o=n("VpIT"),i=n("X2U+"),a=n("UTVS"),c=n("zk60"),u=n("noGo"),s=n("afO8"),f=s.get,l=s.enforce,p=String(u).split("toString");o("inspectSource",function(t){return u.call(t)}),(t.exports=function(t,e,n,o){var u=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,f=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||a(n,"name")||i(n,"name",e),l(n).source=p.join("string"==typeof e?e:"")),t!==r?(u?!f&&t[e]&&(s=!0):delete t[e],s?t[e]=n:i(t,e,n)):s?t[e]=n:c(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&f(this).source||u.call(this)})},cDke:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("BX/b").f;r({target:"Object",stat:!0,forced:o(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:i})},cVYH:function(t,e,n){var r=n("hh1v"),o=n("0rvr");t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},"dBg+":function(t,e){e.f=Object.getOwnPropertySymbols},"dG/n":function(t,e,n){var r=n("Qo9l"),o=n("UTVS"),i=n("wDLo"),a=n("m/L8").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"eDl+":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eJiR:function(t,e,n){var r=n("I+eb"),o=n("jrUv"),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},eajv:function(t,e,n){var r=n("I+eb"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},eoL8:function(t,e,n){var r=n("I+eb"),o=n("g6v/");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("m/L8").f})},ewvW:function(t,e,n){var r=n("HYAF");t.exports=function(t){return Object(r(t))}},f5p1:function(t,e,n){var r=n("2oRo"),o=n("noGo"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},fHMY:function(t,e,n){var r=n("glrk"),o=n("N+g0"),i=n("eDl+"),a=n("0BK2"),c=n("G+Rx"),u=n("zBJ4"),s=n("93I0")("IE_PROTO"),f=function(){},l=function(){var t,e=u("iframe"),n=i.length;for(e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("