(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},"4ik+":function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=n("FWf1");e.filter=function(t,e){return function(n){return n.lift(new s(t,e))}};var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))},t}(),o=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return r(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(i.Subscriber)},FWf1:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=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])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=n("pshJ"),s=n("GiSu"),o=n("zB/H"),a=n("p//D"),c=n("n3uD"),l=n("MkmW"),u=function(t){function e(n,r,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s.empty;break;case 1:if(!n){o.destination=s.empty;break}if("object"==typeof n){n instanceof e?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new h(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new h(o,n,r,i)}return o}return r(e,t),e.prototype[a.rxSubscriber]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},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._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(o.Subscription);e.Subscriber=u;var h=function(t){function e(e,n,r,o){var a,c=t.call(this)||this;c._parentSubscriber=e;var l=c;return i.isFunction(n)?a=n:n&&(a=n.next,r=n.error,o=n.complete,n!==s.empty&&(l=Object.create(n),i.isFunction(l.unsubscribe)&&c.add(l.unsubscribe.bind(l)),l.unsubscribe=c.unsubscribe.bind(c))),c._context=l,c._next=a,c._error=r,c._complete=o,c}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;c.config.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=c.config.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):l.hostReportError(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;l.hostReportError(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)};c.config.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(),c.config.useDeprecatedSynchronousErrorHandling)throw n;l.hostReportError(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!c.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return c.config.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(l.hostReportError(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u);e.SafeSubscriber=h},GMZp:function(t,e,n){"use strict";e.isObject=function(t){return null!==t&&"object"==typeof t}},GiSu:function(t,e,n){"use strict";var r=n("n3uD"),i=n("MkmW");e.empty={closed:!0,next:function(t){},error:function(t){if(r.config.useDeprecatedSynchronousErrorHandling)throw t;i.hostReportError(t)},complete:function(){}}},LBXl:function(t,e,n){"use strict";e.UnsubscriptionError=function(){function t(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}return t.prototype=Object.create(Error.prototype),t}()},MkmW:function(t,e,n){"use strict";e.hostReportError=function(t){setTimeout((function(){throw t}),0)}},Wgwc:function(t,e,n){t.exports=function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="day",s="week",o="month",a="quarter",c="year",l="date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},f=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},p={s:f,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+f(r,2,"0")+":"+f(i,2,"0")},m:function t(e,n){if(e.date(){throw t},0)}const a={closed:!0,next(t){},error(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},c=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function l(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(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}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:i,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof u?e.errors:e),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[f](){return this}static create(t,e,n){const r=new p(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{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends p{constructor(t,e,n,i){let s;super(),this._parentSubscriber=t;let o=this;r(e)?s=e:e&&(s=e.next,n=e.error,i=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.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}=s;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):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.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(),s.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}function b(...t){return v(t)}function v(t){return 0===t.length?y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}let w=(()=>{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:r}=this,i=function(t,e,n){if(t){if(t instanceof p)return t;if(t[f])return t[f]()}return t||e||n?new p(t,e,n):new p(a)}(t,e,n);if(i.add(r?r.call(i,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof p?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=_(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(i){n(i),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:v(t)(this)}toPromise(t){return new(t=_(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function _(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const C=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class I extends h{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)}}class x extends p{constructor(t){super(t),this.destination=t}}let S=(()=>{class t extends w{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new x(this)}lift(t){const e=new k(this,this);return e.operator=t,e}next(t){if(this.closed)throw new C;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;inew k(t,e),t})();class k extends S{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):h.EMPTY}}function E(t){return t&&"function"==typeof t.schedule}class T extends p{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()}}const A=t=>e=>{for(let n=0,r=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function F(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const D=t=>{if(t&&"function"==typeof t[m])return r=t,t=>{const e=r[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(R(t))return A(t);if(F(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[V])return e=t,t=>{const n=e[V]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=l(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.`)}var e,n,r};function U(t,e,n,r,i=new T(t,n,r)){if(!i.closed)return e instanceof w?e.subscribe(i):D(e)(i)}class N extends p{notifyNext(t,e,n,r,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function M(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 L(t,e))}}class L{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new B(t,this.project,this.thisArg))}}class B extends p{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)}}function P(t,e){return new w(n=>{const r=new h;let i=0;return r.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function H(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new w(n=>{const r=new h;return r.add(e.schedule(()=>{const i=t[m]();r.add(i.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})}(t,e);if(F(t))return function(t,e){return new w(n=>{const r=new h;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})}(t,e);if(R(t))return P(t,e);if(function(t){return t&&"function"==typeof t[V]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new w(n=>{const r=new h;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[V](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof w?t:new w(D(t))}function G(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(G((n,r)=>H(t(n,r)).pipe(M((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new j(t,n)))}class j{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new Z(t,this.project,this.concurrent))}}class Z extends N{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()}}function W(t=Number.POSITIVE_INFINITY){return G(y,t)}function z(t,e){return e?P(t,e):new w(A(t))}function X(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return E(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 w?t[0]:W(e)(z(t,n))}function Q(){return function(t){return t.lift(new J(t))}}class J{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new Y(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class Y extends p{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()}}class $ extends w{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 h,t.add(this.source.subscribe(new q(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return Q()(this)}}const K=(()=>{const t=$.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class q extends x{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 tt(){return new S}function et(t){return{toString:t}.toString()}function nt(t,e,n){return et(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}const rt=nt("Inject",t=>({token:t})),it=nt("Optional"),st=nt("Self"),ot=nt("SkipSelf");var at=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 ct(t){for(let e in t)if(t[e]===ct)return e;throw Error("Could not find renamed property on target object.")}function lt(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function ut(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ht(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function dt(t){return ft(t,t[gt])||ft(t,t[bt])}function ft(t,e){return e&&e.token===t?e:null}function pt(t){return t&&(t.hasOwnProperty(mt)||t.hasOwnProperty(vt))?t[mt]:null}const gt=ct({"\u0275prov":ct}),mt=ct({"\u0275inj":ct}),yt=ct({"\u0275provFallback":ct}),bt=ct({ngInjectableDef:ct}),vt=ct({ngInjectorDef:ct});function wt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(wt).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)}function _t(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Ct=ct({__forward_ref__:ct});function It(t){return t.__forward_ref__=It,t.toString=function(){return wt(this())},t}function xt(t){return St(t)?t():t}function St(t){return"function"==typeof t&&t.hasOwnProperty(Ct)&&t.__forward_ref__===It}const kt="undefined"!=typeof globalThis&&globalThis,Et="undefined"!=typeof window&&window,Tt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,At="undefined"!=typeof global&&global,Ot=kt||At||Et||Tt,Vt=ct({"\u0275cmp":ct}),Rt=ct({"\u0275dir":ct}),Ft=ct({"\u0275pipe":ct}),Dt=ct({"\u0275mod":ct}),Ut=ct({"\u0275loc":ct}),Nt=ct({"\u0275fac":ct}),Mt=ct({__NG_ELEMENT_ID__:ct});class Lt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ut({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const Bt=new Lt("INJECTOR",-1),Pt={},Ht=/\n/gm,Gt=ct({provide:String,useValue:ct});let jt,Zt=void 0;function Wt(t){const e=Zt;return Zt=t,e}function zt(t){const e=jt;return jt=t,e}function Xt(t,e=at.Default){if(void 0===Zt)throw new Error("inject() must be called from an injection context");return null===Zt?Jt(t,void 0,e):Zt.get(t,e&at.Optional?null:void 0,e)}function Qt(t,e=at.Default){return(jt||Xt)(xt(t),e)}function Jt(t,e,n){const r=dt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&at.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${wt(t)}]`)}function Yt(t){const e=[];for(let n=0;nArray.isArray(t)?ee(t,e):e(t))}function ne(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function re(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ie(t,e){const n=[];for(let r=0;r=0?t[1|r]=n:(r=~r,function(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function oe(t,e){const n=ae(t,e);if(n>=0)return t[1|n]}function ae(t,e){return function(t,e,n){let r=0,i=t.length>>1;for(;i!==r;){const n=r+(i-r>>1),s=t[n<<1];if(e===s)return n<<1;s>e?i=n:r=n+1}return~(i<<1)}(t,e)}const ce=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),le=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}(),ue={},he=[];let de=0;function fe(t){return et(()=>{const e=t.type,n=e.prototype,r={},i={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||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===ce.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||he,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||le.Emulated,id:"c",styles:t.styles||he,_:null,setInput:null,schemas:t.schemas||null,tView:null},s=t.directives,o=t.features,a=t.pipes;return i.id+=de++,i.inputs=be(t.inputs,r),i.outputs=be(t.outputs),o&&o.forEach(t=>t(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(pe):null,i.pipeDefs=a?()=>("function"==typeof a?a():a).map(ge):null,i})}function pe(t){return _e(t)||function(t){return t[Rt]||null}(t)}function ge(t){return function(t){return t[Ft]||null}(t)}const me={};function ye(t){const e={type:t.type,bootstrap:t.bootstrap||he,declarations:t.declarations||he,imports:t.imports||he,exports:t.exports||he,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&et(()=>{me[t.id]=t.type}),e}function be(t,e){if(null==t)return ue;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,e&&(e[i]=s)}return n}const ve=fe;function we(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function _e(t){return t[Vt]||null}function Ce(t,e){return t.hasOwnProperty(Nt)?t[Nt]:null}function Ie(t,e){const n=t[Dt]||null;if(!n&&!0===e)throw new Error(`Type ${wt(t)} does not have '\u0275mod' property.`);return n}function xe(t){return Array.isArray(t)&&"object"==typeof t[1]}function Se(t){return Array.isArray(t)&&!0===t[1]}function ke(t){return 0!=(8&t.flags)}function Ee(t){return 2==(2&t.flags)}function Te(t){return 1==(1&t.flags)}function Ae(t){return null!==t.template}function Oe(t){return 0!=(512&t[2])}let Ve=void 0;function Re(){return void 0!==Ve?Ve:"undefined"!=typeof document?document:void 0}function Fe(t){return!!t.listen}const De={createRenderer:(t,e)=>Re()};function Ue(t){for(;Array.isArray(t);)t=t[0];return t}function Ne(t,e){return Ue(e[t+20])}function Me(t,e){return Ue(e[t.index])}function Le(t,e){return t.data[e+20]}function Be(t,e){return t[e+20]}function Pe(t,e){const n=e[t];return xe(n)?n:n[0]}function He(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ge(t){return 4==(4&t[2])}function je(t){return 128==(128&t[2])}function Ze(t,e){return null===t||null==e?null:t[e]}function We(t){t[18]=0}function ze(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const Xe={lFrame:mn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Qe(){return Xe.bindingsEnabled}function Je(){return Xe.lFrame.lView}function Ye(){return Xe.lFrame.tView}function $e(t){Xe.lFrame.contextLView=t}function Ke(){return Xe.lFrame.previousOrParentTNode}function qe(t,e){Xe.lFrame.previousOrParentTNode=t,Xe.lFrame.isParent=e}function tn(){return Xe.lFrame.isParent}function en(){Xe.lFrame.isParent=!1}function nn(){return Xe.checkNoChangesMode}function rn(t){Xe.checkNoChangesMode=t}function sn(){const t=Xe.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function on(){return Xe.lFrame.bindingIndex}function an(){return Xe.lFrame.bindingIndex++}function cn(t){const e=Xe.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ln(t,e){const n=Xe.lFrame;n.bindingIndex=n.bindingRootIndex=t,un(e)}function un(t){Xe.lFrame.currentDirectiveIndex=t}function hn(){return Xe.lFrame.currentQueryIndex}function dn(t){Xe.lFrame.currentQueryIndex=t}function fn(t,e){const n=gn();Xe.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function pn(t,e){const n=gn(),r=t[1];Xe.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function gn(){const t=Xe.lFrame,e=null===t?null:t.child;return null===e?mn(t):e}function mn(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function yn(){const t=Xe.lFrame;return Xe.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const bn=yn;function vn(){const t=yn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function wn(){return Xe.lFrame.selectedIndex}function _n(t){Xe.lFrame.selectedIndex=t}function Cn(){const t=Xe.lFrame;return Le(t.tView,t.selectedIndex)}function In(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[o]<0&&(t[18]+=65536),(s>11>16&&(3&t[2])===e&&(t[2]+=2048,s.call(o)):s.call(o)}class An{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function On(t,e,n){const r=Fe(t);let i=0;for(;ie){o=s-1;break}}}for(;s>16}function Ln(t,e){let n=Mn(t),r=e;for(;n>0;)r=r[15],n--;return r}function Bn(t){return"string"==typeof t?t:null==t?"":""+t}function Pn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Bn(t)}const Hn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ot))();function Gn(t){return t instanceof Function?t():t}let jn=!0;function Zn(t){const e=jn;return jn=t,e}let Wn=0;function zn(t,e){const n=Qn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Xn(r.data,t),Xn(e,null),Xn(r.blueprint,null));const i=Jn(t,e),s=t.injectorIndex;if(Un(i)){const t=Nn(i),n=Ln(i,e),r=n[1].data;for(let i=0;i<8;i++)e[s+i]=n[t+i]|r[t+i]}return e[s+8]=i,s}function Xn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Qn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Jn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Yn(t,e,n){!function(t,e,n){let r="string"!=typeof n?n[Mt]:n.charCodeAt(0)||0;null==r&&(r=n[Mt]=Wn++);const i=255&r,s=1<0?255&e:e}(n);if("function"==typeof i){fn(e,t);try{const t=i();if(null!=t||r&at.Optional)return t;throw new Error(`No provider for ${Pn(n)}!`)}finally{bn()}}else if("number"==typeof i){if(-1===i)return new ir(t,e);let s=null,o=Qn(t,e),a=-1,c=r&at.Host?e[16][6]:null;for((-1===o||r&at.SkipSelf)&&(a=-1===o?Jn(t,e):e[o+8],rr(r,!1)?(s=e[1],o=Nn(a),e=Ln(a,e)):o=-1);-1!==o;){a=e[o+8];const t=e[1];if(nr(i,o,t.data)){const t=qn(o,e,n,s,r,c);if(t!==Kn)return t}rr(r,e[1].data[o+8]===c)&&nr(i,o,e)?(s=t,o=Nn(a),e=Ln(a,e)):o=-1}}}if(r&at.Optional&&void 0===i&&(i=null),0==(r&(at.Self|at.Host))){const t=e[9],s=zt(void 0);try{return t?t.get(n,i,r&at.Optional):Jt(n,i,r&at.Optional)}finally{zt(s)}}if(r&at.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${Pn(n)}]`)}const Kn={};function qn(t,e,n,r,i,s){const o=e[1],a=o.data[t+8],c=tr(a,o,n,null==r?Ee(a)&&jn:r!=o&&3===a.type,i&at.Host&&s===a);return null!==c?er(e,o,c,a):Kn}function tr(t,e,n,r,i){const s=t.providerIndexes,o=e.data,a=65535&s,c=t.directiveStart,l=s>>16,u=i?a+l:t.directiveEnd;for(let h=r?a:a+l;h=c&&t.type===n)return h}if(i){const t=o[c];if(t&&Ae(t)&&t.type===n)return c}return null}function er(t,e,n,r){let i=t[n];const s=e.data;if(i instanceof An){const o=i;if(o.resolving)throw new Error("Circular dep for "+Pn(s[n]));const a=Zn(o.canSeeViewProviders);let c;o.resolving=!0,o.injectImpl&&(c=zt(o.injectImpl)),fn(t,r);try{i=t[n]=o.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{onChanges:r,onInit:i,doCheck:s}=e;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{o.injectImpl&&zt(c),Zn(a),o.resolving=!1,bn()}}return i}function nr(t,e,n){const r=64&t,i=32&t;let s;return s=128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e],!!(s&1<{const t=sr(xt(e));return t?t():null};let n=Ce(e);if(null===n){const t=pt(e);n=t&&t.factory}return n||null}function or(t){return et(()=>{const e=t.prototype.constructor,n=e[Nt]||sr(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[Nt]||sr(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function ar(t){return t.ngDebugContext}function cr(t){return t.ngOriginalError}function lr(t,...e){t.error(...e)}class ur{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||lr}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?ar(t)?ar(t):this._findContext(cr(t)):null}_findOriginalError(t){let e=cr(t);for(;e&&cr(e);)e=cr(e);return e}}class hr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class dr extends hr{getTypeName(){return"HTML"}}class fr extends hr{getTypeName(){return"Style"}}class pr extends hr{getTypeName(){return"Script"}}class gr extends hr{getTypeName(){return"URL"}}class mr extends hr{getTypeName(){return"ResourceURL"}}function yr(t){return t instanceof hr?t.changingThisBreaksApplicationSecurity:t}function br(t,e){const n=vr(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function vr(t){return t instanceof hr&&t.getTypeName()||null}let wr=!0,_r=!1;function Cr(){return _r=!0,wr}class Ir{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),e=this.inertDocument.createElement("body"),t.appendChild(e)}e.innerHTML='',!e.querySelector||e.querySelector("svg")?(e.innerHTML='

',this.getInertBodyElement=e.querySelector&&e.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 e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0kr(t.trim())).join(", ")}function Tr(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Ar(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Or=Tr("area,br,col,hr,img,wbr"),Vr=Tr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rr=Tr("rp,rt"),Fr=Ar(Rr,Vr),Dr=Ar(Or,Ar(Vr,Tr("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")),Ar(Rr,Tr("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")),Fr),Ur=Tr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nr=Tr("srcset"),Mr=Ar(Ur,Nr,Tr("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"),Tr("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")),Lr=Tr("script,style,template");class Br{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(!Dr.hasOwnProperty(e))return this.sanitizedSomething=!0,!Lr.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();Dr.hasOwnProperty(e)&&!Or.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Gr(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 Pr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Hr=/([^\#-~ |!])/g;function Gr(t){return t.replace(/&/g,"&").replace(Pr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Hr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let jr;function Zr(t,e){let n=null;try{jr=jr||new Ir(t);let r=e?String(e):"";n=jr.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=jr.getInertBodyElement(r)}while(r!==s);const o=new Br,a=o.sanitizeChildren(Wr(n)||n);return Cr()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=Wr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Wr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const zr=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}(),Xr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Qr=/^url\(([^)]+)\)$/;function Jr(t){const e=Kr();return e?e.sanitize(zr.HTML,t)||"":br(t,"HTML")?yr(t):Zr(Re(),Bn(t))}function Yr(t){const e=Kr();return e?e.sanitize(zr.URL,t)||"":br(t,"URL")?yr(t):kr(Bn(t))}function $r(t){const e=Kr();if(e)return e.sanitize(zr.RESOURCE_URL,t)||"";if(br(t,"ResourceURL"))return yr(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function Kr(){const t=Je();return t&&t[12]}function qr(t,e){t.__ngContext__=e}function ti(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function ei(){throw new Error("Cannot mix multi providers and regular providers")}function ni(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}function ri(t,e,n){let r=0;for(;rs?"":i[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==ni(e,l,0)||2&r&&l!==t){if(ai(r))return!1;o=!0}}}}else{if(!o&&!ai(r)&&!ai(c))return!1;if(o&&ai(c))continue;o=!1,r=c|1&r}}return ai(r)||o}function ai(t){return 0==(1&t)}function ci(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||ai(o)||(e+=hi(s,i),i=""),r=o,s=s||!ai(r);n++}return""!==i&&(e+=hi(s,i)),e}const fi={};function pi(t){const e=t[3];return Se(e)?e[3]:e}function gi(t){return yi(t[13])}function mi(t){return yi(t[4])}function yi(t){for(;null!==t&&!Se(t);)t=t[4];return t}function bi(t){vi(Ye(),Je(),wn()+t,nn())}function vi(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&xn(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Sn(e,r,0,n)}_n(n)}const wi={marker:"element"},_i={marker:"comment"};function Ci(t,e){return t<<17|e<<2}function Ii(t){return t>>17&32767}function xi(t){return 2|t}function Si(t){return(131068&t)>>2}function ki(t,e){return-131069&t|e<<2}function Ei(t){return 1|t}function Ti(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r20&&vi(t,e,0,nn()),n(r,i)}finally{_n(s)}}function Ni(t,e,n){if(ke(e)){const r=e.directiveEnd;for(let i=e.directiveStart;i0&&function t(e){for(let r=gi(e);null!==r;r=mi(r))for(let e=10;e0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r0&&t(i)}}(n)}}function ss(t,e){const n=Pe(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function ds(t){return t[7]||(t[7]=[])}function fs(t){return t.cleanup||(t.cleanup=[])}function ps(t,e){const n=t[9],r=n?n.get(ur,null):null;r&&r.handleError(e)}function gs(t,e,n,r,i){for(let s=0;s0&&(t[n-1][4]=r[4]);const s=re(t,10+e);_s(r[1],r,!1,null);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function xs(t,e){if(!(256&e[2])){const n=e[11];Fe(n)&&n.destroyNode&&Ms(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return ks(t[1],t);for(;e;){let n=null;if(xe(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)xe(e)&&ks(e[1],e),e=Ss(e,t);null===e&&(e=t),xe(e)&&ks(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ss(t,e){let n;return xe(t)&&(n=t[6])&&2===n.type?ys(n,t):t[3]===e?null:t[3]}function ks(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&Fe(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&Se(e[3])){r!==e[3]&&Cs(r,e);const n=e[19];null!==n&&n.detachView(t)}}}function Es(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?bs(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Me(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==le.ShadowDom&&n!==le.Native)return null}return Me(r,n)}function Ts(t,e,n,r){Fe(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function As(t,e,n){Fe(t)?t.appendChild(e,n):e.appendChild(n)}function Os(t,e,n,r){null!==r?Ts(t,e,n,r):As(t,e,n)}function Vs(t,e){return Fe(t)?t.parentNode(e):e.parentNode}function Rs(t,e){if(2===t.type){const n=ys(t,e);return null===n?null:Ds(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?Me(t,e):null}function Fs(t,e,n,r){const i=Es(t,r,e);if(null!=i){const t=e[11],s=Rs(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}xs(this._lView[1],this._lView)}onDestroy(t){var e,n,r;e=this._lView[1],r=t,ds(n=this._lView).push(r),e.firstCreatePass&&fs(e).push(n[7].length-1,null)}markForCheck(){as(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){cs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){rn(!0);try{cs(t,e,n)}finally{rn(!1)}}(this._lView[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(){var t;this._appRef=null,Ms(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class js extends Gs{constructor(t){super(t),this._view=t}detectChanges(){ls(this._view)}checkNoChanges(){!function(t){rn(!0);try{ls(t)}finally{rn(!1)}}(this._view)}get context(){return null}}let Zs,Ws,zs;function Xs(t,e,n){return Zs||(Zs=class extends t{}),new Zs(Me(e,n))}function Qs(t,e,n,r){return Ws||(Ws=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Oi(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Ri(e,n,t),new Gs(n)}}),0===n.type?new Ws(r,n,Xs(e,n,r)):null}function Js(t,e,n,r){let i;zs||(zs=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return Xs(e,this._hostTNode,this._hostView)}get injector(){return new ir(this._hostTNode,this._hostView)}get parentInjector(){const t=Jn(this._hostTNode,this._hostView),e=Ln(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.parent.injectorIndex;)e=e.parent;return e}let r=Mn(t),i=e,s=e[6];for(;r>1;)i=i[15],s=i[6],r--;return s}(t,this._hostView,this._hostTNode);return Un(t)&&null!=n?new ir(n,e):new ir(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const s=n||this.parentInjector;if(!i&&null==t.ngModule&&s){const t=s.get(Kt,null);t&&(i=t)}const o=t.create(s,r,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Se(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new zs(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e);return function(t,e,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=e),r{class t{}return t.__NG_ELEMENT_ID__=()=>Ks(),t})();const Ks=Ys,qs=new Lt("Set Injector scope."),to={},eo={},no=[];let ro=void 0;function io(){return void 0===ro&&(ro=new $t),ro}function so(t,e=null,n=null,r){return new oo(t,n,e||io(),r)}class oo{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 i=[];e&&ee(e,n=>this.processProvider(n,t,e)),ee([t],t=>this.processInjectorType(t,[],i)),this.records.set(Bt,lo(void 0,this));const s=this.records.get(qs);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:wt(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=Pt,n=at.Default){this.assertNotDestroyed();const r=Wt(this);try{if(!(n&at.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Lt)&&dt(t);e=n&&this.injectableDefInScope(n)?lo(ao(t),to):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&at.Self?io():this.parent).get(t,e=n&at.Optional&&e===Pt?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(wt(t)),r)throw s;return function(t,e,n,r){const i=t.ngTempTokenPath;throw e.__source&&i.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=wt(e);if(Array.isArray(e))i=e.map(wt).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):wt(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(Ht,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{Wt(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(wt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=xt(t)))return!1;let r=pt(t);const i=null==r&&t.ngModule||void 0,s=void 0===i?t:i,o=-1!==n.indexOf(s);if(void 0!==i&&(r=pt(i)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(s);try{ee(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||no))}}this.injectorDefTypes.add(s),this.records.set(s,lo(r.factory,to));const a=r.providers;if(null!=a&&!o){const e=t;ee(a,t=>this.processProvider(t,e,a))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=ho(t=xt(t))?t:xt(t&&t.provide);const i=function(t,e,n){return uo(t)?lo(void 0,t.useValue):lo(co(t,e,n),to)}(t,e,n);if(ho(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&ei()}else{let e=this.records.get(r);e?void 0===e.multi&&ei():(e=lo(void 0,to,!0),e.factory=()=>Yt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){var n;return e.value===eo?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(wt(t)):e.value===to&&(e.value=eo,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||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function ao(t){const e=dt(t),n=null!==e?e.factory:Ce(t);if(null!==n)return n;const r=pt(t);if(null!==r)return r.factory;if(t instanceof Lt)throw new Error(`Token ${wt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=ie(e,"?");throw new Error(`Can't resolve all parameters for ${wt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[gt]||t[bt]||t[yt]&&t[yt]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function co(t,e,n){let r=void 0;if(ho(t)){const e=xt(t);return Ce(e)||ao(e)}if(uo(t))r=()=>xt(t.useValue);else if((i=t)&&i.useFactory)r=()=>t.useFactory(...Yt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Qt(xt(t.useExisting));else{const i=xt(t&&(t.useClass||t.provide));if(i||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 '${wt(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return Ce(i)||ao(i);r=()=>new i(...Yt(t.deps))}var i;return r}function lo(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function uo(t){return null!==t&&"object"==typeof t&&Gt in t}function ho(t){return"function"==typeof t}const fo=function(t,e,n){return function(t,e=null,n=null,r){const i=so(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let po=(()=>{class t{static create(t,e){return Array.isArray(t)?fo(t,e,""):fo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Pt,t.NULL=new $t,t.\u0275prov=ut({token:t,providedIn:"any",factory:()=>Qt(Bt)}),t.__NG_ELEMENT_ID__=-1,t})();const go=new Lt("AnalyzeForEntryComponents");let mo=new Map;const yo=new Set;function bo(t){return"string"==typeof t?t:t.text()}function vo(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let o=0;oa(Ue(t[r.index])).target:r.index;if(Fe(n)){let o=null;if(!a&&c&&(o=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let s=0;sn?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,i,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1;else{s=Jo(r,e,s,!1);const t=n.listen(f.name||p,i,s);u.push(s,t),l&&l.push(i,m,g,g+1)}}else s=Jo(r,e,s,!0),p.addEventListener(i,s,o),u.push(s),l&&l.push(i,m,g,o)}const d=r.outputs;let f;if(h&&null!==d&&(f=d[i])){const t=f.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Xe.lFrame.contextLView))[8]}(t)}function $o(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 i=0;i=0}const ca={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function la(t){return t.substring(ca.key,ca.keyEnd)}function ua(t,e){const n=ca.textEnd;return n===e?-1:(e=ca.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,ca.key=e,n),ha(t,e,n))}function ha(t,e,n){for(;e=0;n=ua(e,n))se(t,la(e),!0)}function ma(t,e,n,r){const i=Je(),s=Ye(),o=cn(2);if(s.firstUpdatePass&&va(s,t,o,r),e!==fi&&Eo(i,o,e)){let a;null==n&&(a=function(){const t=Xe.lFrame;return null===t?null:t.currentSanitizer}())&&(n=a),Ca(s,s.data[wn()+20],i,i[11],t,i[o+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=wt(yr(t)))),t}(e,n),r,o)}}function ya(t,e,n,r){const i=Ye(),s=cn(2);i.firstUpdatePass&&va(i,null,s,r);const o=Je();if(n!==fi&&Eo(o,s,n)){const a=i.data[wn()+20];if(Sa(a,r)&&!ba(i,s)){let t=r?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=_t(t,n||"")),Lo(i,a,o,n,r)}else!function(t,e,n,r,i,s,o,a){i===fi&&(i=sa);let c=0,l=0,u=0=t.expandoStartIndex}function va(t,e,n,r){const i=t.data;if(null===i[n+1]){const s=i[wn()+20],o=ba(t,n);Sa(s,r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const i=function(t){const e=Xe.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let s=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=_a(n=wa(null,t,e,n,r),e.attrs,r),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=wa(i,t,e,n,r),null===s){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Si(r))return t[Ii(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=wa(null,t,e,n[1],r),n=_a(n,e.attrs,r),function(t,e,n,r){t[Ii(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else s=function(t,e,n){let r=void 0;const i=e.directiveEnd;for(let s=1+e.directiveStylingLast;s0)&&(u=!0)}else l=n;if(i)if(0!==c){const e=Ii(t[a+1]);t[r+1]=Ci(e,a),0!==e&&(t[e+1]=ki(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=Ci(a,0),0!==a&&(t[a+1]=ki(t[a+1],r)),a=r;else t[r+1]=Ci(c,0),0===a?a=r:t[c+1]=ki(t[c+1],r),c=r;u&&(t[r+1]=xi(t[r+1])),oa(t,l,r,!0),oa(t,l,r,!1),function(t,e,n,r,i){const s=i?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&ae(s,e)>=0&&(n[r+1]=Ei(n[r+1]))}(e,l,t,r,s),o=Ci(a,c),s?e.classBindings=o:e.styleBindings=o}(i,s,e,n,o,r)}}function wa(t,e,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[i],s=Array.isArray(e),c=s?e[1]:e,l=null===c;let u=n[i+1];u===fi&&(u=l?sa:void 0);let h=l?oe(u,r):c===r?u:void 0;if(s&&!xa(h)&&(h=oe(e,r)),xa(h)&&(a=h,o))return a;const d=t[i+1];i=o?Ii(d):Si(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=oe(t,r))}return a}function xa(t){return void 0!==t}function Sa(t,e){return 0!=(t.flags&(e?16:32))}function ka(t,e=""){const n=Je(),r=Ye(),i=t+20,s=r.firstCreatePass?Vi(r,n[6],t,3,null,null):r.data[i],o=n[i]=ws(e,n[11]);Fs(r,n,o,s),qe(s,!1)}function Ea(t){return Ta("",t,""),Ea}function Ta(t,e,n){const r=Je(),i=Oo(r,t,e,n);return i!==fi&&ms(r,wn(),i),Ta}function Aa(t,e,n,r,i){const s=Je(),o=Vo(s,t,e,n,r,i);return o!==fi&&ms(s,wn(),o),Aa}function Oa(t,e,n){const r=Je();return Eo(r,an(),e)&&ji(Ye(),Cn(),r,t,e,r[11],n,!0),Oa}function Va(t,e){const n=He(t)[1],r=n.data.length-1;In(n,{directiveStart:r,directiveEnd:r+1})}function Ra(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let i=void 0;if(Ae(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const e=t;e.inputs=Fa(t.inputs),e.declaredInputs=Fa(t.declaredInputs),e.outputs=Fa(t.outputs);const n=i.hostBindings;n&&Na(t,n);const s=i.viewQuery,o=i.contentQueries;if(s&&Da(t,s),o&&Ua(t,o),lt(t.inputs,i.inputs),lt(t.declaredInputs,i.declaredInputs),lt(t.outputs,i.outputs),Ae(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}e.afterContentChecked=e.afterContentChecked||i.afterContentChecked,e.afterContentInit=t.afterContentInit||i.afterContentInit,e.afterViewChecked=t.afterViewChecked||i.afterViewChecked,e.afterViewInit=t.afterViewInit||i.afterViewInit,e.doCheck=t.doCheck||i.doCheck,e.onDestroy=t.onDestroy||i.onDestroy,e.onInit=t.onInit||i.onInit}const e=i.features;if(e)for(let r=0;r=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Fn(i.hostAttrs,n=Fn(n,i.hostAttrs))}}(r)}function Fa(t){return t===ue?{}:t===he?[]:t}function Da(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Ua(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function Na(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}class Ma{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function La(t){t.type.prototype.ngOnChanges&&(t.setInput=Ba,t.onChanges=function(){const t=Pa(this),e=t&&t.current;if(e){const n=t.previous;if(n===ue)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function Ba(t,e,n,r){const i=Pa(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:ue,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],c=o[a];s[a]=new Ma(c&&c.currentValue,e,o===ue),t[r]=e}function Pa(t){return t.__ngSimpleChanges__||null}function Ha(t,e,n,r,i){if(t=xt(t),Array.isArray(t))for(let s=0;s>16;if(ho(t)||!t.multi){const r=new An(c,i,Do),f=Za(a,e,i?u:u+d,h);-1===f?(Yn(zn(l,o),s,a),Ga(s,t,e.length),e.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=65536),n.push(r),o.push(r)):(n[f]=r,o[f]=r)}else{const f=Za(a,e,u+d,h),p=Za(a,e,u,u+d),g=f>=0&&n[f],m=p>=0&&n[p];if(i&&!m||!i&&!g){Yn(zn(l,o),s,a);const u=function(t,e,n,r,i){const s=new An(t,n,Do);return s.multi=[],s.index=e,s.componentProviders=0,ja(s,i,r&&!n),s}(i?za:Wa,n.length,i,r,c);!i&&m&&(n[p].providerFactory=u),Ga(s,t,e.length,0),e.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=65536),n.push(u),o.push(u)}else Ga(s,t,f>-1?f:p,ja(n[i?p:f],c,!i&&r));!i&&r&&m&&n[p].componentProviders++}}}function Ga(t,e,n,r){const i=ho(e);if(i||e.useClass){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,s]):o[t+1].push(r,s)}else o.push(n,s)}}}function ja(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Za(t,e,n,r){for(let i=n;i{n.providersResolver=(n,r)=>function(t,e,n){const r=Ye();if(r.firstCreatePass){const i=Ae(t);Ha(n,r.data,r.blueprint,i,!0),Ha(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}La.ngInherit=!0;class Ja{}class Ya{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${wt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let $a=(()=>{class t{}return t.NULL=new Ya,t})(),Ka=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>qa(t),t})();const qa=function(t){return Xs(t,Ke(),Je())};class tc{}const ec=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let nc=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>rc(),t})();const rc=function(){const t=Je(),e=Pe(Ke().index,t);return function(t){const e=t[11];if(Fe(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(xe(e)?e:t)};let ic=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>null}),t})();class sc{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const oc=new sc("9.1.13");class ac{constructor(){}supports(t){return xo(t)}create(t){return new lc(t)}}const cc=(t,e)=>e;class lc{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||cc}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,i=null;for(;e||n;){const s=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==i&&Co(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,t,r,e)),Co(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),s=!0),i=i._next,e++}),this.length=e;return this._truncate(i),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 i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Co(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Co(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new uc(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,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,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._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 dc),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||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new dc),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 uc{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 hc{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)&&Co(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 dc{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new hc,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 fc(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=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,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new mc(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){Co(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 mc{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}}let yc=(()=>{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 ot,new it]]}}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.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new t([new ac])}),t})(),bc=(()=>{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 ot,new it]]}}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.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new t([new pc])}),t})();const vc=[new pc],wc=new yc([new ac]),_c=new bc(vc);let Cc=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ic(t,Ka),t})();const Ic=function(t,e){return Qs(t,e,Ke(),Je())};let xc=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Sc(t,Ka),t})();const Sc=function(t,e){return Js(t,e,Ke(),Je())},kc={};class Ec extends $a{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=_e(t);return new Oc(e,this.ngModule)}}function Tc(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Ac=new Lt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Hn});class Oc extends Ja{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(di).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Tc(this.componentDef.inputs)}get outputs(){return Tc(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const s=t.get(n,kc,i);return s!==kc||r===kc?s:e.get(n,r,i)}}}(t,r.injector):t,s=i.get(tc,De),o=i.get(ic,null),a=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(t,e,n){if(Fe(t))return t.selectRootElement(e,n===le.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Ai(c,s.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,h="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d={components:[],scheduler:Hn,clean:hs,playerHandler:null,flags:0},f=Pi(0,-1,null,1,0,null,null,null,null,null),p=Oi(null,f,d,u,null,null,s,a,o,i);let g,m;pn(p,null);try{const t=function(t,e,n,r,i,s){const o=n[1];n[20]=t;const a=Vi(o,null,0,3,null,null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(vo(a,c,!0),null!==t&&(On(i,t,c),null!==a.classes&&Hs(i,t,a.classes),null!==a.styles&&Ps(i,t,a.styles)));const l=r.createRenderer(t,e),u=Oi(n,Bi(e),null,e.onPush?64:16,n[20],a,r,l,void 0);return o.firstCreatePass&&(Yn(zn(a,n),o,e.type),Ji(o,a),$i(a,n.length,1)),os(n,u),n[20]=u}(l,this.componentDef,p,s,a);if(l)if(n)On(a,l,["ng-version",oc.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r0&&Hs(a,l,e.join(" "))}if(m=Le(f,0),void 0!==e){const t=m.projection=[];for(let n=0;nt(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=Ke();if(s.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){_n(a.index-20);const t=n[1];Wi(t,e),zi(t,n,e.hostVars),Xi(e,o)}return o}(t,this.componentDef,p,d,[Va]),Ri(f,p,null)}finally{vn()}const y=new Vc(this.componentType,g,Xs(Ka,m,p),p,m);return n&&!h||(f.node.child=m),y}}class Vc extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new js(r),function(t,e,n,r){let i=t.node;null==i&&(t.node=i=Hi(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=t}get injector(){return new ir(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Rc=void 0;var Fc=["en",[["a","p"],["AM","PM"],Rc],[["AM","PM"],Rc,Rc],[["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"]],Rc,[["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"]],Rc,[["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}",Rc,"{1} 'at' {0}",Rc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Dc={};function Uc(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Mc(e);if(n)return n;const r=e.split("-")[0];if(n=Mc(r),n)return n;if("en"===r)return Fc;throw new Error(`Missing locale data for the locale "${t}".`)}function Nc(t){return Uc(t)[Lc.PluralCase]}function Mc(t){return t in Dc||(Dc[t]=Ot.ng&&Ot.ng.common&&Ot.ng.common.locales&&Ot.ng.common.locales[t]),Dc[t]}const Lc=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,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};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.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.Directionality]="Directionality",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}(),Bc=["zero","one","two","few","many"],Pc=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Hc=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Gc=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,jc=/\ufffd(\d+):?\d*\ufffd/gi,Zc=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi;function Wc(t){if(!t)return[];let e=0;const n=[],r=[],i=/[{}]/g;let s;for(i.lastIndex=0;s=i.exec(t);){const i=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=t.substring(e,i);Pc.test(n)?r.push(zc(n)):r.push(n),e=i+1}}else{if(0==n.length){const n=t.substring(e,i);r.push(n),e=i+1}n.push("{")}}const o=t.substring(e);return r.push(o),r}function zc(t){const e=[],n=[];let r=1,i=0;const s=Wc(t=t.replace(Pc,(function(t,e,n){return r="select"===n?0:1,i=parseInt(e.substr(1),10),""})));for(let o=0;on.length&&n.push(i)}return{type:r,mainBinding:i,cases:e,values:n}}function Xc(t){let e,n,r="",i=0,s=!1;for(;null!==(e=Hc.exec(t));)s?e[0]===`\ufffd/*${n}\ufffd`&&(i=e.index,s=!1):(r+=t.substring(i,e.index+e[0].length),n=e[1],s=!0);return r+=t.substr(i),r}function Qc(t,e,n,r=null){const i=[null,null],s=t.split(jc);let o=0;for(let a=0;a>>17;let u;u=i===t?r[6]:Le(n,i),o=nl(n,s,u,o,r);break;case 0:const h=l>=0,d=(h?l:~l)>>>3;a.push(d),o=s,s=Le(n,d),s&&qe(s,h);break;case 5:o=s=Le(n,l>>>3),qe(s,!1);break;case 4:const f=e[++c],p=e[++c];ts(Le(n,l>>>3),r,f,p,null,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case _i:const t=e[++c],u=e[++c],h=i.createComment(t);o=s,s=il(n,r,u,5,h,null),a.push(u),qr(h,r),s.activeCaseIndex=null,en();break;case wi:const d=e[++c],f=e[++c];o=s,s=il(n,r,f,3,i.createElement(d),d),a.push(f);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}}return en(),a}function ol(t,e,n,r){const i=Le(t,n),s=Ne(n,e);s&&Us(e[11],s);const o=Be(e,n);if(Se(o)){const t=o;0!==i.type&&Us(e[11],t[7])}r&&(i.flags|=64)}function al(t,e,n){(function(t,e,n){const r=Ye();Yc[++$c]=t,ta(!0),r.firstCreatePass&&null===r.data[t+20]&&function(t,e,n,r,i){const s=e.blueprint.length-20;tl=0;const o=Ke(),a=tn()?o:o&&o.parent;let c=a&&a!==t[6]?a.index-20:n,l=0;qc[l]=c;const u=[];if(n>0&&o!==a){let t=o.index-20;tn()||(t=~t),u.push(t<<3|0)}const h=[],d=[];if(""===r&&rl(i))u.push(r,el(s),c<<17|1);else{const t=function(t,e){if(rl(e))return Xc(t);{const n=t.indexOf(`:${e}\ufffd`)+2+e.toString().length,r=t.search(new RegExp(`\ufffd\\/\\*\\d+:${e}\ufffd`));return Xc(t.substring(n,r))}}(r,i),e=(f=t,f.replace(yl," ")).split(Gc);for(let n=0;n0&&function(t,e,n){if(n>0&&t.firstCreatePass){for(let r=0;r>1),o++}}(Ye(),t),ta(!1)}()}function cl(t,e){!function(t,e,n,r){const i=Ke().index-20,s=[];for(let o=0;o>>2;let d,f,p;switch(3&l){case 1:const l=e[++u],g=e[++u];ji(s,Le(s,h),o,l,a,o[11],g,!1);break;case 0:ms(o,h,a);break;case 2:if(d=e[++u],f=n[d],p=Le(s,h),null!==p.activeCaseIndex){const t=f.remove[p.activeCaseIndex];for(let e=0;e>>3,!1);break;case 6:const i=Le(s,t[e+1]>>>3).activeCaseIndex;null!==i&&te(n[r>>>3].remove[i],t)}}}const m=fl(f,a);p.activeCaseIndex=-1!==m?m:null,m>-1&&(sl(-1,f.create[m],s,o),c=!0);break;case 3:d=e[++u],f=n[d],p=Le(s,h),null!==p.activeCaseIndex&&t(f.update[p.activeCaseIndex],n,r,i,s,o,c)}}}}l+=h}}(r,i,s,ll,e,o),ll=0,ul=0}}function fl(t,e){let n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:{const r=function(t,e){const n=Nc(e)(parseInt(t,10)),r=Bc[n];return void 0!==r?r:"other"}(e,bl);n=t.cases.indexOf(r),-1===n&&"other"!==r&&(n=t.cases.indexOf("other"));break}case 0:n=t.cases.indexOf("other")}return n}function pl(t,e,n,r){const i=[],s=[],o=[],a=[],c=[];for(let l=0;l null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(bl=t.toLowerCase().replace(/_/g,"-"))}const wl=new Map;class _l extends Kt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ec(this);const n=Ie(t),r=t[Ut]||null;r&&vl(r),this._bootstrapComponents=Gn(n.bootstrap),this._r3Injector=so(t,e,[{provide:Kt,useValue:this},{provide:$a,useValue:this.componentFactoryResolver}],wt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=po.THROW_IF_NOT_FOUND,n=at.Default){return t===po||t===Kt||t===Bt?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Cl extends qt{constructor(t){super(),this.moduleType=t,null!==Ie(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${wt(e)} vs ${wt(e.name)}`)})(t,wl.get(t),e),wl.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new _l(this.moduleType,t)}}function Il(t,e,n){const r=sn()+t,i=Je();return i[r]===fi?ko(i,r,n?e.call(n):e()):function(t,e){return t[e]}(i,r)}function xl(t,e,n,r){return kl(Je(),sn(),t,e,n,r)}function Sl(t,e){const n=t[e];return n===fi?void 0:n}function kl(t,e,n,r,i,s){const o=e+n;return Eo(t,o,i)?ko(t,o+1,s?r.call(s,i):r(i)):Sl(t,o+1)}function El(t,e){const n=Ye();let r;const i=t+20;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=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[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=Ce(r.type)),o=zt(Do),a=Zn(!1),c=s();return Zn(a),zt(o),function(t,e,n,r){const i=n+20;i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=r}(n,Je(),t,c),c}function Tl(t,e,n){const r=Je(),i=Be(r,t);return Ol(r,Al(r,t)?kl(r,sn(),e,i.transform,n,i):i.transform(n))}function Al(t,e){return t[1].data[e+20].pure}function Ol(t,e){return Io.isWrapped(e)&&(e=Io.unwrap(e),t[on()]=fi),e}class Vl extends S{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,i=t=>null,s=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(s=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,i,s);return t instanceof h&&t.add(o),o}}function Rl(){return this._results[_o()]()}class Fl{constructor(){this.dirty=!0,this._results=[],this.changes=new Vl,this.length=0;const t=_o(),e=Fl.prototype;e[t]||(e[t]=Rl)}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=function t(e,n){void 0===n&&(n=e);for(let r=0;r0)i.push(a[e/2]);else{const s=o[e+1],a=n[-r];for(let e=10;e{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.\u0275fac=function(e){return new(e||t)(Qt(tu,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const nu=new Lt("AppId"),ru={provide:nu,useFactory:function(){return`${iu()}${iu()}${iu()}`},deps:[]};function iu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const su=new Lt("Platform Initializer"),ou=new Lt("Platform ID"),au=new Lt("appBootstrapListener");let cu=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const lu=new Lt("LocaleId"),uu=new Lt("DefaultCurrencyCode");class hu{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const du=function(t){return new Cl(t)},fu=du,pu=function(t){return Promise.resolve(du(t))},gu=function(t){const e=du(t),n=Gn(Ie(t).declarations).reduce((t,e)=>{const n=_e(e);return n&&t.push(new Oc(n)),t},[]);return new hu(e,n)},mu=gu,yu=function(t){return Promise.resolve(gu(t))};let bu=(()=>{class t{constructor(){this.compileModuleSync=fu,this.compileModuleAsync=pu,this.compileModuleAndAllComponentsSync=mu,this.compileModuleAndAllComponentsAsync=yu}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const vu=new Lt("compilerOptions"),wu=(()=>Promise.resolve(0))();function _u(t){"undefined"==typeof Zone?wu.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Cu{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Vl(!1),this.onMicrotaskEmpty=new Vl(!1),this.onStable=new Vl(!1),this.onError=new Vl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");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)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=Ot.requestAnimationFrame,e=Ot.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ot,()=>{t.lastRequestAnimationFrameId=-1,ku(t),Su(t)}),ku(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,i,s,o,a)=>{try{return Eu(t),n.invokeTask(i,s,o,a)}finally{e&&"eventTask"===s.type&&e(),Tu(t)}},onInvoke:(e,n,r,i,s,o,a)=>{try{return Eu(t),e.invoke(r,i,s,o,a)}finally{Tu(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,ku(t),Su(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Cu.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Cu.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 i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,t,xu,Iu,Iu);try{return i.runTask(s,e,n)}finally{i.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Iu(){}const xu={};function Su(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 ku(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Eu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Tu(t){t._nesting--,Su(t)}class Au{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Vl,this.onMicrotaskEmpty=new Vl,this.onStable=new Vl,this.onError=new Vl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let Ou=(()=>{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:()=>{Cu.assertNotInAngularZone(),_u(()=>{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())_u(()=>{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.\u0275fac=function(e){return new(e||t)(Qt(Cu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Vu=(()=>{class t{constructor(){this._applications=new Map,Du.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 Du.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Ru{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Fu,Du=new Ru,Uu=function(t,e,n){const r=t.get(vu,[]).concat(e),i=new Cl(n);if(0===mo.size)return Promise.resolve(i);const s=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(r.map(t=>t.providers));if(0===s.length)return Promise.resolve(i);const o=function(){const t=Ot.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}(),a=po.create({providers:s}).get(o.ResourceLoader);return function(t){const e=[],n=new Map;function r(t){let e=n.get(t);if(!e){const r=(t=>Promise.resolve(a.get(t)))(t);n.set(t,e=r.then(bo))}return e}return mo.forEach((t,n)=>{const i=[];t.templateUrl&&i.push(r(t.templateUrl).then(e=>{t.template=e}));const s=t.styleUrls,o=t.styles||(t.styles=[]),a=t.styles.length;s&&s.forEach((e,n)=>{o.push(""),i.push(r(e).then(r=>{o[a+n]=r,s.splice(s.indexOf(e),1),0==s.length&&(t.styleUrls=void 0)}))});const c=Promise.all(i).then(()=>function(t){yo.delete(t)}(n));e.push(c)}),mo=new Map,Promise.all(e).then(()=>{})}().then(()=>i)};const Nu=new Lt("AllowMultipleToken");class Mu{constructor(t,e){this.name=t,this.token=e}}function Lu(t,e,n=[]){const r="Platform: "+e,i=new Lt(r);return(e=[])=>{let s=Bu();if(!s||s.injector.get(Nu,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:qs,useValue:"platform"});!function(t){if(Fu&&!Fu.destroyed&&!Fu.injector.get(Nu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Fu=t.get(Pu);const e=t.get(su,null);e&&e.forEach(t=>t())}(po.create({providers:t,name:r}))}return function(t){const e=Bu();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}(i)}}function Bu(){return Fu&&!Fu.destroyed?Fu:null}let Pu=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Au:("zone.js"===t?void 0:t)||new Cu({enableLongStackTrace:Cr(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Cu,useValue:n}];return n.run(()=>{const e=po.create({providers:r,parent:this.injector,name:t.moduleType.name}),i=t.create(e),s=i.injector.get(ur,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>ju(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const r=n();return Wo(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(s,n,()=>{const t=i.injector.get(eu);return t.runInitializers(),t.donePromise.then(()=>(vl(i.injector.get(lu,"en-US")||"en-US"),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=Hu({},e);return Uu(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Gu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${wt(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.\u0275fac=function(e){return new(e||t)(Qt(po))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Hu(t,e){return Array.isArray(e)?e.reduce(Hu,t):Object.assign(Object.assign({},t),e)}let Gu=(()=>{class t{constructor(t,e,n,r,i,s){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Cr(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new w(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new w(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Cu.assertNotInAngularZone(),_u(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Cu.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=X(o,a.pipe(t=>{return Q()((e=tt,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,K);return r.source=t,r.subjectFactory=n,r})(t));var e}))}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 Ja?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Kt),i=n.create(po.NULL,[],e||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const s=i.injector.get(Ou,null);return s&&i.injector.get(Vu).registerApplication(i.location.nativeElement,s),this._loadComponent(i),Cr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;ju(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(au,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),ju(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Qt(Cu),Qt(cu),Qt(po),Qt(ur),Qt($a),Qt(eu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function ju(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Zu{}class Wu{}const zu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Xu=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||zu}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>Qu(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+i]).then(t=>Qu(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(Qt(bu),Qt(Wu,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Qu(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Ju=Lu(null,"core",[{provide:ou,useValue:"unknown"},{provide:Pu,deps:[po]},{provide:Vu,deps:[]},{provide:cu,deps:[]}]),Yu=[{provide:Gu,useClass:Gu,deps:[Cu,cu,po,ur,$a,eu]},{provide:Ac,deps:[Cu],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:eu,useClass:eu,deps:[[new it,tu]]},{provide:bu,useClass:bu,deps:[]},ru,{provide:yc,useFactory:function(){return wc},deps:[]},{provide:bc,useFactory:function(){return _c},deps:[]},{provide:lu,useFactory:function(t){return vl(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new rt(lu),new it,new ot]]},{provide:uu,useValue:"USD"}];let $u=(()=>{class t{constructor(t){}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)(Qt(Gu))},providers:Yu}),t})();const Ku={production:!0,api:"https://api.venko.training",host:"https://venko.training"};let qu=null;function th(){return qu}const eh=new Lt("DocumentToken");let nh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:rh,token:t,providedIn:"platform"}),t})();function rh(){return Qt(sh)}const ih=new Lt("Location Initialized");let sh=(()=>{class t extends nh{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=th().getLocation(),this._history=th().getHistory()}getBaseHrefFromDOM(){return th().getBaseHref(this._doc)}onPopState(t){th().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){th().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){oh()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){oh()?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.\u0275fac=function(e){return new(e||t)(Qt(eh))},t.\u0275prov=ut({factory:ah,token:t,providedIn:"platform"}),t})();function oh(){return!!window.history.pushState}function ah(){return new sh(Qt(eh))}function ch(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}function lh(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function uh(t){return t&&"?"!==t[0]?"?"+t:t}let hh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:dh,token:t,providedIn:"root"}),t})();function dh(t){const e=Qt(eh).location;return new ph(Qt(nh),e&&e.origin||"")}const fh=new Lt("appBaseHref");let ph=(()=>{class t extends hh{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 ch(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+uh(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+uh(r));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+uh(r));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Qt(nh),Qt(fh,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),gh=(()=>{class t extends hh{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=ch(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let i=this.prepareExternalUrl(n+uh(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){let i=this.prepareExternalUrl(n+uh(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Qt(nh),Qt(fh,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),mh=(()=>{class t{constructor(t,e){this._subject=new Vl,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=lh(bh(n)),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(t,e=""){return this.path()==this.normalize(t+uh(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,bh(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+uh(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+uh(e)),n)}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})}}return t.\u0275fac=function(e){return new(e||t)(Qt(hh),Qt(nh))},t.normalizeQueryParams=uh,t.joinWithSlash=ch,t.stripTrailingSlash=lh,t.\u0275prov=ut({factory:yh,token:t,providedIn:"root"}),t})();function yh(){return new mh(Qt(hh),Qt(nh))}function bh(t){return t.replace(/\/index.html$/,"")}const vh=function(){var t={Decimal:0,Percent:1,Currency:2,Scientific:3};return t[t.Decimal]="Decimal",t[t.Percent]="Percent",t[t.Currency]="Currency",t[t.Scientific]="Scientific",t}(),wh=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}(),_h=function(){var t={Format:0,Standalone:1};return t[t.Format]="Format",t[t.Standalone]="Standalone",t}(),Ch=function(){var t={Narrow:0,Abbreviated:1,Wide:2,Short:3};return t[t.Narrow]="Narrow",t[t.Abbreviated]="Abbreviated",t[t.Wide]="Wide",t[t.Short]="Short",t}(),Ih=function(){var t={Short:0,Medium:1,Long:2,Full:3};return t[t.Short]="Short",t[t.Medium]="Medium",t[t.Long]="Long",t[t.Full]="Full",t}(),xh=function(){var t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return t[t.Decimal]="Decimal",t[t.Group]="Group",t[t.List]="List",t[t.PercentSign]="PercentSign",t[t.PlusSign]="PlusSign",t[t.MinusSign]="MinusSign",t[t.Exponential]="Exponential",t[t.SuperscriptingExponent]="SuperscriptingExponent",t[t.PerMille]="PerMille",t[t.Infinity]="Infinity",t[t.NaN]="NaN",t[t.TimeSeparator]="TimeSeparator",t[t.CurrencyDecimal]="CurrencyDecimal",t[t.CurrencyGroup]="CurrencyGroup",t}();function Sh(t,e,n){const r=Uc(t),i=Dh([r[Lc.DayPeriodsFormat],r[Lc.DayPeriodsStandalone]],e);return Dh(i,n)}function kh(t,e,n){const r=Uc(t),i=Dh([r[Lc.DaysFormat],r[Lc.DaysStandalone]],e);return Dh(i,n)}function Eh(t,e,n){const r=Uc(t),i=Dh([r[Lc.MonthsFormat],r[Lc.MonthsStandalone]],e);return Dh(i,n)}function Th(t,e){return Dh(Uc(t)[Lc.DateFormat],e)}function Ah(t,e){return Dh(Uc(t)[Lc.TimeFormat],e)}function Oh(t,e){return Dh(Uc(t)[Lc.DateTimeFormat],e)}function Vh(t,e){const n=Uc(t),r=n[Lc.NumberSymbols][e];if(void 0===r){if(e===xh.CurrencyDecimal)return n[Lc.NumberSymbols][xh.Decimal];if(e===xh.CurrencyGroup)return n[Lc.NumberSymbols][xh.Group]}return r}const Rh=Nc;function Fh(t){if(!t[Lc.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[Lc.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Dh(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function Uh(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const Nh=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Mh={},Lh=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Bh=function(){var t={Short:0,ShortGMT:1,Long:2,Extended:3};return t[t.Short]="Short",t[t.ShortGMT]="ShortGMT",t[t.Long]="Long",t[t.Extended]="Extended",t}(),Ph=function(){var t={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return t[t.FullYear]="FullYear",t[t.Month]="Month",t[t.Date]="Date",t[t.Hours]="Hours",t[t.Minutes]="Minutes",t[t.Seconds]="Seconds",t[t.FractionalSeconds]="FractionalSeconds",t[t.Day]="Day",t}(),Hh=function(){var t={DayPeriods:0,Days:1,Months:2,Eras:3};return t[t.DayPeriods]="DayPeriods",t[t.Days]="Days",t[t.Months]="Months",t[t.Eras]="Eras",t}();function Gh(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function jh(t,e,n="-",r,i){let s="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,s=n));let o=String(t);for(;o.length0||a>-n)&&(a+=n),t===Ph.Hours)0===a&&-12===n&&(a=12);else if(t===Ph.FractionalSeconds)return c=e,jh(a,3).substr(0,c);var c;const l=Vh(o,xh.MinusSign);return jh(a,e,l,r,i)}}function Wh(t,e,n=_h.Format,r=!1){return function(i,s){return function(t,e,n,r,i,s){switch(n){case Hh.Months:return Eh(e,i,r)[t.getMonth()];case Hh.Days:return kh(e,i,r)[t.getDay()];case Hh.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(s){const t=function(t){const e=Uc(t);return Fh(e),(e[Lc.ExtraData][2]||[]).map(t=>"string"==typeof t?Uh(t):[Uh(t[0]),Uh(t[1])])}(e),n=function(t,e,n){const r=Uc(t);Fh(r);const i=Dh([r[Lc.ExtraData][0],r[Lc.ExtraData][1]],e)||[];return Dh(i,n)||[]}(e,i,r);let s;if(t.forEach((t,e)=>{if(Array.isArray(t)){const{hours:r,minutes:i}=t[0],{hours:c,minutes:l}=t[1];o>=r&&a>=i&&(o0?Math.floor(i/60):Math.ceil(i/60);switch(t){case Bh.Short:return(i>=0?"+":"")+jh(o,2,s)+jh(Math.abs(i%60),2,s);case Bh.ShortGMT:return"GMT"+(i>=0?"+":"")+jh(o,1,s);case Bh.Long:return"GMT"+(i>=0?"+":"")+jh(o,2,s)+":"+jh(Math.abs(i%60),2,s);case Bh.Extended:return 0===r?"Z":(i>=0?"+":"")+jh(o,2,s)+":"+jh(Math.abs(i%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function Xh(t,e=!1){return function(n,r){let i;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();i=1+Math.floor((e+t)/7)}else{const t=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(n.getFullYear()),e=(s=n,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))).getTime()-t.getTime();i=1+Math.round(e/6048e5)}var s;return jh(i,t,Vh(r,xh.MinusSign))}}const Qh={};function Jh(t){return t instanceof Date&&!isNaN(t.valueOf())}const Yh=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function $h(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class Kh{}let qh=(()=>{class t extends Kh{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(Rh(e||this.locale)(t)){case wh.Zero:return"zero";case wh.One:return"one";case wh.Two:return"two";case wh.Few:return"few";case wh.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Qt(lu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function td(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}let ed=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(xo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+wt(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(Do(yc),Do(bc),Do(Ka),Do(nc))},t.\u0275dir=ve({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class nd{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let rd=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Cr()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new nd(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new id(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const s=new id(t,i);e.push(s)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Do(xc),Do(Cc),Do(yc))},t.\u0275dir=ve({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class id{constructor(t,e){this.record=t,this.view=e}}let sd=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new od,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){ad("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){ad("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Do(xc),Do(Cc))},t.\u0275dir=ve({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class od{constructor(){this.$implicit=null,this.ngIf=null}}function ad(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${wt(e)}'.`)}let cd=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(Do(xc))},t.\u0275dir=ve({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[La]}),t})();function ld(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${wt(t)}'`)}class ud{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class hd{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const dd=new hd,fd=new ud;let pd=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Co(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,Io.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Wo(e))return dd;if(zo(e))return fd;throw ld(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(ql())},t.\u0275pipe=we({name:"async",type:t,pure:!1}),t})(),gd=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=we({name:"json",type:t,pure:!1}),t})(),md=(()=>{class t{constructor(t){this._locale=t}transform(e,n,r){if(function(t){return null==t||""===t||t!=t}(e))return null;r=r||this._locale;try{return function(t,e,n){return function(t,e,n,r,i,s,o=!1){let a="",c=!1;if(isFinite(t)){let l=function(t){let e,n,r,i,s,o=Math.abs(t)+"",a=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length),r=0;"0"===o.charAt(r);r++);if(r===(s=o.length))e=[0],n=1;else{for(s--;"0"===o.charAt(s);)s--;for(n-=r,e=[],i=0;r<=s;r++,i++)e[i]=Number(o.charAt(r))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(l=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(l));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(s){const t=s.match(Yh);if(null===t)throw new Error(s+" is not a valid digit info");const e=t[1],n=t[3],r=t[5];null!=e&&(u=$h(e)),null!=n&&(h=$h(n)),null!=r?d=$h(r):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let r=t.digits,i=r.length-t.integerLen;const s=Math.min(Math.max(e,i),n);let o=s+t.integerLen,a=r[o];if(o>0){r.splice(Math.max(t.integerLen,o));for(let t=o;t=5)if(o-1<0){for(let e=0;e>o;e--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[o-1]++;for(;i=l?r.pop():c=!1),e>=10?1:0}),0);u&&(r.unshift(u),t.integerLen++)}(l,h,d);let f=l.digits,p=l.integerLen;const g=l.exponent;let m=[];for(c=f.every(t=>!t);p0?m=f.splice(p,f.length):(m=f,f=[0]);const y=[];for(f.length>=e.lgSize&&y.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)y.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&y.unshift(f.join("")),a=y.join(Vh(n,r)),m.length&&(a+=Vh(n,i)+m.join("")),g&&(a+=Vh(n,xh.Exponential)+"+"+g)}else a=Vh(n,xh.Infinity);return a=t<0&&!c?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(";"),i=r[0],s=r[1],o=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],a=o[0],c=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)},providers:[{provide:Kh,useClass:qh}]}),t})(),bd=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new vd(Qt(eh),window,Qt(ur))}),t})();class vd{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 e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}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,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}class wd extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new wd,qu||(qu=t)}getProperty(t,e){return t[e]}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()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=Cd||(Cd=document.querySelector("base"),Cd)?Cd.getAttribute("href"):null;return null==e?null:(n=e,_d||(_d=document.createElement("a")),_d.setAttribute("href",n),"/"===_d.pathname.charAt(0)?_d.pathname:"/"+_d.pathname);var n}resetBaseElement(){Cd=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return td(document.cookie,t)}}let _d,Cd=null;const Id=new Lt("TRANSITION_ID"),xd=[{provide:tu,useFactory:function(t,e,n){return()=>{n.get(eu).donePromise.then(()=>{const n=th();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Id,eh,po],multi:!0}];class Sd{static init(){var t;t=new Sd,Du=t}addToWindow(t){Ot.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ot.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ot.getAllAngularRootElements=()=>t.getAllRootElements(),Ot.frameworkStabilizers||(Ot.frameworkStabilizers=[]),Ot.frameworkStabilizers.push(t=>{const e=Ot.getAllAngularTestabilities();let n=e.length,r=!1;const i=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(i)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?th().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const kd=new Lt("EventManagerPlugins");let Ed=(()=>{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.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Od=(()=>{class t extends Ad{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=>th().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Qt(eh))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Vd={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/"},Rd=/%COMP%/g;function Fd(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Ud=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Nd(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case le.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Md(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case le.Native:case le.ShadowDom:return new Ld(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Fd(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Qt(Ed),Qt(Od),Qt(nu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Nd{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Vd[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 i=Vd[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Vd[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&ec.DashCase?t.style.setProperty(e,n,r&ec.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&ec.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Dd(n)):this.eventManager.addEventListener(t,e,Dd(n))}}class Md extends Nd{constructor(t,e,n,r){super(t),this.component=n;const i=Fd(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(Rd,r+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(Rd,t)}(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 Ld extends Nd{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===le.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=Fd(r.id,r.styles,[]);for(let s=0;s{class t extends Td{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(Qt(eh))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Pd=["alt","control","meta","shift"],Hd={"\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"},Gd={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"},jd={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Zd=(()=>{class t extends Td{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const i=t.parseEventName(n),s=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>th().onAndCancel(e,i.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let s="";if(Pd.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=r,o.fullKey=s,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Gd.hasOwnProperty(e)&&(e=Gd[e]))}return Hd[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Pd.forEach(r=>{r!=n&&(0,jd[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Qt(eh))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Wd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return Qt(zd)},token:t,providedIn:"root"}),t})(),zd=(()=>{class t extends Wd{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case zr.NONE:return e;case zr.HTML:return br(e,"HTML")?yr(e):Zr(this._doc,String(e));case zr.STYLE:return br(e,"Style")?yr(e):function(t){if(!(t=String(t).trim()))return"";const e=t.match(Qr);return e&&kr(e[1])===e[1]||t.match(Xr)&&function(t){let e=!0,n=!0;for(let r=0;r{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:nu,useValue:e.appId},{provide:Id,useExisting:nu},xd]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)(Qt(t,12))},providers:Qd,imports:[yd,$u]}),t})();function Yd(...t){let e=t[t.length-1];return E(e)?(t.pop(),P(t,e)):z(t)}"undefined"!=typeof window&&window;class $d extends S{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 C;return this._value}next(t){super.next(this._value=t)}}const Kd=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),qd={};function tf(...t){let e=null,n=null;return E(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&c(t[0])&&(t=t[0]),z(t,n).lift(new ef(e))}class ef{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new nf(t,this.resultSelector))}}class nf extends N{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(qd),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;nt.complete());function sf(t){return t?function(t){return new w(e=>t.schedule(()=>e.complete()))}(t):rf}function of(t){return new w(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?H(n):sf()).subscribe(e)})}function af(){return W(1)}function cf(t,e){return function(n){return n.lift(new lf(t,e))}}class lf{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new uf(t,this.predicate,this.thisArg))}}class uf extends p{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)}}const hf=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function df(t){return function(e){return 0===t?sf():e.lift(new ff(t))}}class ff{constructor(t){if(this.total=t,this.total<0)throw new hf}call(t,e){return e.subscribe(new pf(t,this.total))}}class pf extends p{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 i=0;ie.lift(new mf(t))}class mf{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new yf(t,this.errorFactory))}}class yf extends p{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function bf(){return new Kd}function vf(t=null){return e=>e.lift(new wf(t))}class wf{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new _f(t,this.defaultValue))}}class _f extends p{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()}}function Cf(t,e){const n=arguments.length>=2;return r=>r.pipe(t?cf((e,n)=>t(e,n,r)):y,df(1),n?vf(e):gf(()=>new Kd))}function If(t){return function(e){const n=new xf(t),r=e.lift(n);return n.caught=r}}class xf{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Sf(t,this.selector,this.caught))}}class Sf extends N{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 T(this,void 0,void 0);this.add(r);const i=U(this,n,void 0,void 0,r);i!==r&&this.add(i)}}}function kf(t){return e=>0===t?sf():e.lift(new Ef(t))}class Ef{constructor(t){if(this.total=t,this.total<0)throw new hf}call(t,e){return e.subscribe(new Tf(t,this.total))}}class Tf extends p{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 Af(t,e){const n=arguments.length>=2;return r=>r.pipe(t?cf((e,n)=>t(e,n,r)):y,kf(1),n?vf(e):gf(()=>new Kd))}class Of{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new Vf(t,this.predicate,this.thisArg,this.source))}}class Vf extends p{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 Rf(t,e){return"function"==typeof e?n=>n.pipe(Rf((n,r)=>H(t(n,r)).pipe(M((t,i)=>e(n,t,r,i))))):e=>e.lift(new Ff(t))}class Ff{constructor(t){this.project=t}call(t,e){return e.subscribe(new Df(t,this.project))}}class Df extends N{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 i=new T(this,e,n),s=this.destination;s.add(i),this.innerSubscription=U(this,t,void 0,void 0,i),this.innerSubscription!==i&&s.add(this.innerSubscription)}_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,i){this.destination.next(e)}}function Uf(...t){return af()(Yd(...t))}function Nf(...t){const e=t[t.length-1];return E(e)?(t.pop(),n=>Uf(t,n,e)):e=>Uf(t,e)}function Mf(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Lf(t,e,n))}}class Lf{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new Bf(t,this.accumulator,this.seed,this.hasSeed))}}class Bf extends p{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 Pf(t,e){return G(t,e,1)}function Hf(){}function Gf(t,e,n){return function(r){return r.lift(new jf(t,e,n))}}class jf{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Zf(t,this.nextOrObserver,this.error,this.complete))}}class Zf extends p{constructor(t,e,n,i){super(t),this._tapNext=Hf,this._tapError=Hf,this._tapComplete=Hf,this._tapError=n||Hf,this._tapComplete=i||Hf,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Hf,this._tapError=e.error||Hf,this._tapComplete=e.complete||Hf)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}class Wf{constructor(t){this.callback=t}call(t,e){return e.subscribe(new zf(t,this.callback))}}class zf extends p{constructor(t,e){super(t),this.add(new h(e))}}class Xf{constructor(t,e){this.id=t,this.url=e}}class Qf extends Xf{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 Jf extends Xf{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Yf extends Xf{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class $f extends Xf{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Kf extends Xf{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 qf extends Xf{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 tp extends Xf{constructor(t,e,n,r,i){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ep extends Xf{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 np extends Xf{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 rp{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ip{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class sp{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class op{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ap{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cp{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lp{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}')`}}let up=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Ho(0,"router-outlet")},directives:function(){return[gm]},encapsulation:2}),t})();class hp{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 dp(t){return new hp(t)}function fp(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function pp(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.lengthe.indexOf(t)>-1):t===e}function Cp(t){return Array.prototype.concat.apply([],t)}function Ip(t){return t.length>0?t[t.length-1]:null}function xp(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Sp(t){return zo(t)?t:Wo(t)?H(Promise.resolve(t)):Yd(t)}function kp(t,e,n){return n?function(t,e){return wp(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Op(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=>_p(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Op(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Op(n.segments,i))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=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!Op(n.segments,t)&&!!n.children.primary&&e(n.children.primary,r,s)}}(e,n,n.segments)}(t.root,e.root)}class Ep{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=dp(this.queryParams)),this._queryParamMap}toString(){return Dp.serialize(this)}}class Tp{constructor(t,e){this.segments=t,this.children=e,this.parent=null,xp(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Up(this)}}class Ap{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=dp(this.parameters)),this._parameterMap}toString(){return Hp(this)}}function Op(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Vp(t,e){let n=[];return xp(t.children,(t,r)=>{"primary"===r&&(n=n.concat(e(t,r)))}),xp(t.children,(t,r)=>{"primary"!==r&&(n=n.concat(e(t,r)))}),n}class Rp{}class Fp{parse(t){const e=new zp(t);return new Ep(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return Up(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",r=[];return xp(e.children,(e,n)=>{"primary"!==n&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=Vp(e,(n,r)=>"primary"===r?[t(e.children.primary,!1)]:[`${r}:${t(n,!1)}`]);return`${Up(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=>`${Mp(e)}=${Mp(t)}`).join("&"):`${Mp(e)}=${Mp(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+function(t){return encodeURI(t)}(t.fragment):""}`}}const Dp=new Fp;function Up(t){return t.segments.map(t=>Hp(t)).join("/")}function Np(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mp(t){return Np(t).replace(/%3B/gi,";")}function Lp(t){return Np(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bp(t){return decodeURIComponent(t)}function Pp(t){return Bp(t.replace(/\+/g,"%20"))}function Hp(t){return`${Lp(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Lp(t)}=${Lp(e[t])}`).join("")}`;var e}const Gp=/^[^\/()?;=#]+/;function jp(t){const e=t.match(Gp);return e?e[0]:""}const Zp=/^[^=?&#]+/,Wp=/^[^?&#]+/;class zp{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Tp([],{}):new Tp([],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.primary=new Tp(t,e)),n}parseSegment(){const t=jp(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Ap(Bp(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=jp(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=jp(this.remaining);t&&(n=t,this.capture(n))}t[Bp(e)]=Bp(n)}parseQueryParam(t){const e=function(t){const e=t.match(Zp);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(Wp);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=Pp(e),i=Pp(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(i)}else t[r]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=jp(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i="primary");const s=this.parseChildren();e[i]=1===Object.keys(s).length?s.primary:new Tp([],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 Xp{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=Qp(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Qp(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Jp(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Jp(t,this._root).map(t=>t.value)}}function Qp(t,e){if(t===e.value)return e;for(const n of e.children){const e=Qp(t,n);if(e)return e}return null}function Jp(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Jp(t,n);if(r.length)return r.unshift(e),r}return[]}class Yp{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function $p(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Kp extends Xp{constructor(t,e){super(t),this.snapshot=e,ig(this,t)}toString(){return this.snapshot.toString()}}function qp(t,e){const n=function(t,e){const n=new ng([],{},{},"",{},"primary",e,null,t.root,-1,{});return new rg("",new Yp(n,[]))}(t,e),r=new $d([new Ap("",{})]),i=new $d({}),s=new $d({}),o=new $d({}),a=new $d(""),c=new tg(r,i,o,a,s,"primary",e,n.root);return c.snapshot=n.root,new Kp(new Yp(c,[]),n)}class tg{constructor(t,e,n,r,i,s,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,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(M(t=>dp(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(M(t=>dp(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function eg(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(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ng{constructor(t,e,n,r,i,s,o,a,c,l,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=l,this._resolve=u}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=dp(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=dp(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class rg extends Xp{constructor(t,e){super(e),this.url=t,ig(this,e)}toString(){return sg(this._root)}}function ig(t,e){e.value._routerState=t,e.children.forEach(e=>ig(t,e))}function sg(t){const e=t.children.length>0?` { ${t.children.map(sg).join(", ")} } `:"";return`${t.value}${e}`}function og(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,wp(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),wp(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nwp(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||ag(t.parent,e.parent))}function cg(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function lg(t,e,n,r,i){let s={};return r&&xp(r,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new Ep(n.root===t?e:function t(e,n,r){const i={};return xp(e.children,(e,s)=>{i[s]=e===n?r:t(e,n,r)}),new Tp(e.segments,i)}(n.root,t,e),s,i)}class ug{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&cg(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!==Ip(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class hg{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function dg(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function fg(t,e,n){if(t||(t=new Tp([],{})),0===t.segments.length&&t.hasChildren())return pg(t,e,n);const r=function(t,e,n){let r=0,i=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return s;const e=t.segments[i],o=dg(n[r]),a=r0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!bg(o,a,e))return s;r+=2}else{if(!bg(o,{},e))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex{null!==n&&(i[r]=fg(t.children[r],e,n))}),xp(t.children,(t,e)=>{void 0===r[e]&&(i[e]=t)}),new Tp(t.segments,i)}}function gg(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i{null!==t&&(e[n]=gg(new Tp([],{}),0,t))}),e}function yg(t){const e={};return xp(t,(t,n)=>e[n]=""+t),e}function bg(t,e,n){return t==n.path&&wp(e,n.parameters)}class vg{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),og(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=$p(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),xp(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&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=$p(t),i=t.value.component?n.children:e;xp(r,(t,e)=>this.deactivateRouteAndItsChildren(t,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=$p(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new cp(t.value.snapshot))}),t.children.length&&this.forwardEvent(new op(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(og(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.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),wg(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=i,e.outlet&&e.outlet.activateWith(r,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function wg(t){og(t.value),t.children.forEach(wg)}function _g(t){return"function"==typeof t}function Cg(t){return t instanceof Ep}class Ig{constructor(t){this.segmentGroup=t||null}}class xg{constructor(t){this.urlTree=t}}function Sg(t){return new w(e=>e.error(new Ig(t)))}function kg(t){return new w(e=>e.error(new xg(t)))}function Eg(t){return new w(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Tg{constructor(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(Kt)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(M(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(If(t=>{if(t instanceof xg)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Ig)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(M(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(If(t=>{if(t instanceof Ig)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 Tp([],{primary:t}):t;return new Ep(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(M(t=>new Tp([],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 Yd({});const n=[],r=[],i={};return xp(t,(t,s)=>{const o=e(s,t).pipe(M(t=>i[s]=t));"primary"===s?n.push(o):r.push(o)}),Yd.apply(null,n.concat(r)).pipe(af(),Cf(),M(()=>i))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,i,s){return Yd(...n).pipe(M(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,i,s).pipe(If(t=>{if(t instanceof Ig)return Yd(null);throw t}))),af(),Af(t=>!!t),If((t,n)=>{if(t instanceof Kd||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,i))return Yd(new Tp([],{}));throw new Ig(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,i,s,o){return Rg(r)!==s?Sg(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s):Sg(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?kg(i):this.lineralizeSegments(n,i).pipe(G(n=>{const i=new Tp(n,{});return this.expandSegment(t,i,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s){const{matched:o,consumedSegments:a,lastChild:c,positionalParamSegments:l}=Ag(e,r,i);if(!o)return Sg(e);const u=this.applyRedirectCommands(a,r.redirectTo,l);return r.redirectTo.startsWith("/")?kg(u):this.lineralizeSegments(r,u).pipe(G(r=>this.expandSegment(t,e,n,r.concat(i.slice(c)),s,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(M(t=>(n._loadedConfig=t,new Tp(r,{})))):Yd(new Tp(r,{}));const{matched:i,consumedSegments:s,lastChild:o}=Ag(e,n,r);if(!i)return Sg(e);const a=r.slice(o);return this.getChildConfig(t,n,r).pipe(G(t=>{const n=t.module,r=t.routes,{segmentGroup:i,slicedSegments:o}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>Vg(t,e,n)&&"primary"!==Rg(n))}(t,n,r)?{segmentGroup:Og(new Tp(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&"primary"!==Rg(r)&&(n[Rg(r)]=new Tp([],{}));return n}(r,new Tp(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Vg(t,e,n))}(t,n,r)?{segmentGroup:Og(new Tp(t.segments,function(t,e,n,r){const i={};for(const s of n)Vg(t,e,s)&&!r[Rg(s)]&&(i[Rg(s)]=new Tp([],{}));return Object.assign(Object.assign({},r),i)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,s,a,r);return 0===o.length&&i.hasChildren()?this.expandChildren(n,r,i).pipe(M(t=>new Tp(s,t))):0===r.length&&0===o.length?Yd(new Tp(s,{})):this.expandSegment(n,i,r,o,"primary",!0).pipe(M(t=>new Tp(s.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Yd(new gp(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Yd(e._loadedConfig):function(t,e,n){const r=e.canLoad;return r&&0!==r.length?H(r).pipe(M(r=>{const i=t.get(r);let s;if(function(t){return t&&_g(t.canLoad)}(i))s=i.canLoad(e,n);else{if(!_g(i))throw new Error("Invalid CanLoad guard");s=i(e,n)}return Sp(s)})).pipe(af(),(i=t=>!0===t,t=>t.lift(new Of(i,void 0,t)))):Yd(!0);var i}(t.injector,e,n).pipe(G(n=>n?this.configLoader.load(t.injector,e).pipe(M(t=>(e._loadedConfig=t,t))):function(t){return new w(e=>e.error(fp(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Yd(new gp([],t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Yd(n);if(r.numberOfChildren>1||!r.children.primary)return Eg(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const i=this.createSegmentGroup(t,e.root,n,r);return new Ep(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return xp(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[r]=e[i]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const i=this.createSegments(t,e.segments,n,r);let s={};return xp(e.children,(e,i)=>{s[i]=this.createSegmentGroup(t,e,n,r)}),new Tp(i,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 Ag(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||pp)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Og(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Tp(t.segments.concat(e.segments),e.children)}return t}function Vg(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Rg(t){return t.outlet||"primary"}class Fg{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Dg{constructor(t,e){this.component=t,this.route=e}}function Ug(t,e,n){const r=t._root;return function t(e,n,r,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=$p(n);return e.children.forEach(e=>{!function(e,n,r,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,c=r?r.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Op(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Op(t.url,e.url)||!wp(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ag(t,e)||!wp(t.queryParams,e.queryParams);case"paramsChange":default:return!ag(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Fg(i)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?c?c.children:null:r,i,s),l&&s.canDeactivateChecks.push(new Dg(c&&c.outlet&&c.outlet.component||null,a))}else a&&Mg(n,c,s),s.canActivateChecks.push(new Fg(i)),t(e,null,o.component?c?c.children:null:r,i,s)}(e,o[e.value.outlet],r,i.concat([e.value]),s),delete o[e.value.outlet]}),xp(o,(t,e)=>Mg(t,r.getContext(e),s)),s}(r,e?e._root:null,n,[r.value])}function Ng(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 Mg(t,e,n){const r=$p(t),i=t.value;xp(r,(t,r)=>{Mg(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Dg(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}const Lg=Symbol("INITIAL_VALUE");function Bg(){return Rf(t=>tf(...t.map(t=>t.pipe(kf(1),Nf(Lg)))).pipe(Mf((t,e)=>{let n=!1;return e.reduce((t,r,i)=>{if(t!==Lg)return t;if(r===Lg&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||Cg(r))return r}return t},t)},Lg),cf(t=>t!==Lg),M(t=>Cg(t)?t:!0===t),kf(1)))}function Pg(t,e){return null!==t&&e&&e(new ap(t)),Yd(!0)}function Hg(t,e){return null!==t&&e&&e(new sp(t)),Yd(!0)}function Gg(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Yd(r.map(r=>of(()=>{const i=Ng(r,e,n);let s;if(function(t){return t&&_g(t.canActivate)}(i))s=Sp(i.canActivate(e,t));else{if(!_g(i))throw new Error("Invalid CanActivate guard");s=Sp(i(e,t))}return s.pipe(Af())}))).pipe(Bg()):Yd(!0)}function jg(t,e,n){const r=e[e.length-1],i=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=>of(()=>Yd(e.guards.map(i=>{const s=Ng(i,e.node,n);let o;if(function(t){return t&&_g(t.canActivateChild)}(s))o=Sp(s.canActivateChild(r,t));else{if(!_g(s))throw new Error("Invalid CanActivateChild guard");o=Sp(s(r,t))}return o.pipe(Af())})).pipe(Bg())));return Yd(i).pipe(Bg())}class Zg{}class Wg{constructor(t,e,n,r,i,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){try{const t=Qg(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new ng([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Yp(n,e),i=new rg(this.url,r);return this.inheritParamsAndData(i._root),Yd(i)}catch(t){return new w(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=eg(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=Vp(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.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),n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?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(i){if(!(i instanceof Zg))throw i}if(this.noLeftoversInUrl(e,n,r))return[];throw new Zg}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new Zg;if((t.outlet||"primary")!==r)throw new Zg;let i,s=[],o=[];if("**"===t.path){const s=n.length>0?Ip(n).parameters:{};i=new ng(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,$g(t),r,t.component,t,zg(e),Xg(e)+n.length,Kg(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Zg;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||pp)(n,t,e);if(!r)throw new Zg;const i={};xp(r.posParams,(t,e)=>{i[e]=t.path});const s=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s}}(e,t,n);s=a.consumedSegments,o=n.slice(a.lastChild),i=new ng(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,$g(t),r,t.component,t,zg(e),Xg(e)+s.length,Kg(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:l}=Qg(e,s,o,a,this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const t=this.processChildren(a,c);return[new Yp(i,t)]}if(0===a.length&&0===l.length)return[new Yp(i,[])];const u=this.processSegment(a,c,l,"primary");return[new Yp(i,u)]}}function zg(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Xg(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Qg(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some(n=>Jg(t,e,n)&&"primary"!==Yg(n))}(t,n,r)){const i=new Tp(e,function(t,e,n,r){const i={};i.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&"primary"!==Yg(s)){const n=new Tp([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[Yg(s)]=n}return i}(t,e,r,new Tp(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Jg(t,e,n))}(t,n,r)){const s=new Tp(t.segments,function(t,e,n,r,i,s){const o={};for(const a of r)if(Jg(t,n,a)&&!i[Yg(a)]){const n=new Tp([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[Yg(a)]=n}return Object.assign(Object.assign({},i),o)}(t,e,n,r,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Tp(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Jg(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Yg(t){return t.outlet||"primary"}function $g(t){return t.data||{}}function Kg(t){return t.resolve||{}}function qg(t,e,n,r){const i=Ng(t,e,r);return Sp(i.resolve?i.resolve(e,n):i(e,n))}function tm(t){return function(e){return e.pipe(Rf(e=>{const n=t(e);return n?H(n).pipe(M(()=>e)):H([e])}))}}class em{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const nm=new Lt("ROUTES");class rm{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(M(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new gp(Cp(r.injector.get(nm)).map(vp),r)}))}loadModuleFactory(t){return"string"==typeof t?H(this.loader.load(t)):Sp(t()).pipe(G(t=>t instanceof qt?Yd(t):H(this.compiler.compileModuleAsync(t))))}}class im{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function sm(t){throw t}function om(t,e,n){return e.parse("/")}function am(t,e){return Yd(null)}let cm=(()=>{class t{constructor(t,e,n,r,i,s,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new S,this.errorHandler=sm,this.malformedUriErrorHandler=om,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:am,afterPreactivation:am},this.urlHandlingStrategy=new im,this.routeReuseStrategy=new em,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(Kt),this.console=i.get(cu);const c=i.get(Cu);this.isNgZoneEnabled=c instanceof Cu,this.resetConfig(a),this.currentUrlTree=new Ep(new Tp([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new rm(s,o,t=>this.triggerEvent(new rp(t)),t=>this.triggerEvent(new ip(t))),this.routerState=qp(this.currentUrlTree,this.rootComponentType),this.transitions=new $d({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(cf(t=>0!==t.id),M(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Rf(t=>{let n=!1,r=!1;return Yd(t).pipe(Gf(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Rf(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Yd(t).pipe(Rf(t=>{const n=this.transitions.getValue();return e.next(new Qf(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?rf:[t]}),Rf(t=>Promise.resolve(t)),(r=this.ngModule.injector,i=this.configLoader,s=this.urlSerializer,o=this.config,function(t){return t.pipe(Rf(t=>function(t,e,n,r,i){return new Tg(t,e,n,r,i).apply()}(r,i,s,t.extractedUrl,o).pipe(M(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Gf(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,i){return function(s){return s.pipe(G(s=>function(t,e,n,r,i="emptyOnly",s="legacy"){return new Wg(t,e,n,r,i,s).recognize()}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(M(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Gf(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Gf(t=>{const n=new Kf(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,i,s,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:s,extras:o}=t,a=new Qf(n,this.serializeUrl(r),i,s);e.next(a);const c=qp(r,this.rootComponentType).snapshot;return Yd(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),rf}),tm(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),Gf(t=>{const e=new qf(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),M(t=>Object.assign(Object.assign({},t),{guards:Ug(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(G(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?Yd(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return H(t).pipe(G(t=>function(t,e,n,r,i){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return s&&0!==s.length?Yd(s.map(s=>{const o=Ng(s,e,i);let a;if(function(t){return t&&_g(t.canDeactivate)}(o))a=Sp(o.canDeactivate(t,e,n,r));else{if(!_g(o))throw new Error("Invalid CanDeactivate guard");a=Sp(o(t,e,n,r))}return a.pipe(Af())})).pipe(Bg()):Yd(!0)}(t.component,t.route,n,e,r)),Af(t=>!0!==t,!0))}(o,r,i,t).pipe(G(n=>n&&"boolean"==typeof n?function(t,e,n,r){return H(e).pipe(Pf(e=>H([Hg(e.route.parent,r),Pg(e.route,r),jg(t,e.path,n),Gg(t,e.route,n)]).pipe(af(),Af(t=>!0!==t,!0))),Af(t=>!0!==t,!0))}(r,s,t,e):Yd(n)),M(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Gf(t=>{if(Cg(t.guardsResult)){const e=fp(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Gf(t=>{const e=new tp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),cf(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Yf(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),tm(t=>{if(t.guards.canActivateChecks.length)return Yd(t).pipe(Gf(t=>{const e=new ep(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(e=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(t){return t.pipe(G(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;return i.length?H(i).pipe(Pf(t=>function(t,e,n,r){return function(t,e,n,r){const i=Object.keys(t);if(0===i.length)return Yd({});if(1===i.length){const s=i[0];return qg(t[s],e,n,r).pipe(M(t=>({[s]:t})))}const s={};return H(i).pipe(G(i=>qg(t[i],e,n,r).pipe(M(t=>(s[i]=t,t))))).pipe(Cf(),M(()=>s))}(t._resolve,t,e,r).pipe(M(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),eg(t,n).resolve),null)))}(t.route,r,e,n)),function(t,e){return arguments.length>=2?function(n){return b(Mf(t,e),df(1),vf(e))(n)}:function(e){return b(Mf((e,n,r)=>t(e,n,r+1)),df(1))(e)}}((t,e)=>t),M(e=>t)):Yd(t)}))}),Gf(t=>{const e=new np(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),tm(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),M(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const i=r.value;i._futureSnapshot=n.value;const s=function(e,n,r){return n.children.map(n=>{for(const i of r.children)if(e.shouldReuseRoute(i.value.snapshot,n.value))return t(e,n,i);return t(e,n)})}(e,n,r);return new Yp(i,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 Yp(r,s)}}var i}(t,e._root,n?n._root:void 0);return new Kp(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Gf(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)}),(s=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),M(t=>(new vg(o,t.targetRouterState,t.currentRouterState,a).activate(s),t))),Gf({next(){n=!0},complete(){n=!0}}),(i=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Yf(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},t=>t.lift(new Wf(i))),If(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=Cg(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new Yf(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new $f(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(Fy){t.reject(Fy)}}var i;return rf}));var i,s,o,a}))}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(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){mp(t),this.config=t.map(vp),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:i,preserveQueryParams:s,queryParamsHandling:o,preserveFragment:a}=e;Cr()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=n||this.routerState.root,l=a?this.currentUrlTree.fragment:i;let u=null;if(o)switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=s?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,r,i){if(0===n.length)return lg(e.root,e.root,e,r,i);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ug(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return xp(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===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new ug(n,e,r)}(n);if(s.toRoot())return lg(e.root,new Tp([],{}),e,r,i);const o=function(t,e,n){if(t.isAbsolute)return new hg(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new hg(n.snapshot._urlSegment,!0,0);const r=cg(t.commands[0])?0:1;return function(t,e,n){let r=t,i=e,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new hg(r,!1,i-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?pg(o.segmentGroup,o.index,s.commands):fg(o.segmentGroup,o.index,s.commands);return lg(o.segmentGroup,a,e,r,i)}(c,this.currentUrlTree,t,u,l)}navigateByUrl(t,e={skipLocationChange:!1}){Cr()&&this.isNgZoneEnabled&&!Cu.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Cg(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 Jf(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,i){const s=this.getTransition();if(s&&"imperative"!==e&&"imperative"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&"hashchange"==e&&"popstate"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&"popstate"==e&&"hashchange"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);let o,a,c;i?(o=i.resolve,a=i.reject,c=i.promise):c=new Promise((t,e)=>{o=t,a=e});const l=++this.navigationId;return this.setTransition({id:l,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:o,reject:a,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const i=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(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})}}return t.\u0275fac=function(t){No()},t.\u0275dir=ve({type:t}),t})(),lm=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Cr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:hm(this.skipLocationChange),replaceUrl:hm(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:hm(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:hm(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Do(cm),Do(tg),Uo("tabindex"),Do(nc),Do(Ka))},t.\u0275dir=ve({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&Xo("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),t})(),um=(()=>{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 Jf&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Cr()&&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 i={skipLocationChange:hm(this.skipLocationChange),replaceUrl:hm(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!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:hm(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:hm(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Do(cm),Do(tg),Do(hh))},t.\u0275dir=ve({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Xo("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)})),2&t&&(Oa("href",e.href,Yr),Ao("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:[La]}),t})();function hm(t){return""===t||!!t}let dm=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.element=e,this.renderer=n,this.link=r,this.linkWithHref=i,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(t=>{t instanceof Jf&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(t=>this.update()),this.linksWithHrefs.changes.subscribe(t=>this.update()),this.update()}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(Do(cm),Do(Ka),Do(nc),Do(lm,8),Do(um,8))},t.\u0275dir=ve({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){var r;1&t&&(zl(n,lm,!0),zl(n,um,!0)),2&t&&(Gl(r=Ql())&&(e.links=r),Gl(r=Ql())&&(e.linksWithHrefs=r))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[La]}),t})();class fm{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new pm,this.attachRef=null}}class pm{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 fm,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let gm=(()=>{class t{constructor(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new Vl,this.deactivateEvents=new Vl,this.name=r||"primary",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,i=new mm(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(Do(pm),Do(xc),Do($a),Uo("name"),Do($s))},t.\u0275dir=ve({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class mm{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===tg?this.route:t===pm?this.childContexts:this.parent.get(t,e)}}class ym{}class bm{preload(t,e){return Yd(null)}}let vm=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=new rm(e,n,e=>t.triggerEvent(new rp(e)),e=>t.triggerEvent(new ip(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(cf(t=>t instanceof Jf),Pf(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Kt);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 H(n).pipe(W(),M(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(G(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(Qt(cm),Qt(Zu),Qt(bu),Qt(po),Qt(ym))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),wm=(()=>{class t{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 Qf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Jf&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof lp&&(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 lp(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(t){No()},t.\u0275dir=ve({type:t}),t})();const _m=new Lt("ROUTER_CONFIGURATION"),Cm=new Lt("ROUTER_FORROOT_GUARD"),Im=[mh,{provide:Rp,useClass:Fp},{provide:cm,useFactory:function(t,e,n,r,i,s,o,a={},c,l){const u=new cm(null,t,e,n,r,i,s,Cp(o));if(c&&(u.urlHandlingStrategy=c),l&&(u.routeReuseStrategy=l),a.errorHandler&&(u.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(u.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=th();u.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(u.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(u.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(u.relativeLinkResolution=a.relativeLinkResolution),u},deps:[Rp,pm,mh,po,Zu,bu,nm,_m,[class{},new it],[class{},new it]]},pm,{provide:tg,useFactory:function(t){return t.routerState.root},deps:[cm]},{provide:Zu,useClass:Xu},vm,bm,class{preload(t,e){return e().pipe(If(()=>Yd(null)))}},{provide:_m,useValue:{enableTracing:!1}}];function xm(){return new Mu("Router",cm)}let Sm=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Im,Am(e),{provide:Cm,useFactory:Tm,deps:[[cm,new it,new ot]]},{provide:_m,useValue:n||{}},{provide:hh,useFactory:Em,deps:[nh,[new rt(fh),new it],_m]},{provide:wm,useFactory:km,deps:[cm,bd,_m]},{provide:ym,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:bm},{provide:Mu,multi:!0,useFactory:xm},[Om,{provide:tu,multi:!0,useFactory:Vm,deps:[Om]},{provide:Fm,useFactory:Rm,deps:[Om]},{provide:au,multi:!0,useExisting:Fm}]]}}static forChild(e){return{ngModule:t,providers:[Am(e)]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=ht({factory:function(e){return new(e||t)(Qt(Cm,8),Qt(cm,8))}}),t})();function km(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new wm(t,e,n)}function Em(t,e,n={}){return n.useHash?new gh(t,e):new ph(t,e)}function Tm(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Am(t){return[{provide:go,multi:!0,useValue:t},{provide:nm,multi:!0,useValue:t}]}let Om=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get(ih,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(cm),r=this.injector.get(_m);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?Yd(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(_m),n=this.injector.get(vm),r=this.injector.get(wm),i=this.injector.get(cm),s=this.injector.get(Gu);t===s.components[0]&&(this.isLegacyEnabled(e)?i.initialNavigation():this.isLegacyDisabled(e)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(s.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.\u0275fac=function(e){return new(e||t)(Qt(po))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Vm(t){return t.appInitializer.bind(t)}function Rm(t){return t.bootstrapListener.bind(t)}const Fm=new Lt("Router Initializer");var Dm=function(t,e){return(Dm=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])})(t,e)};function Um(t,e){function n(){this.constructor=t}Dm(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Nm=function(){return(Nm=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]0?Wy:Zy)(t)},Xy=Math.min,Qy=function(t){return t>0?Xy(zy(t),9007199254740991):0},Jy=Math.max,Yy=Math.min,$y=function(t){return function(e,n,r){var i,s=ny(e),o=Qy(s.length),a=function(t,e){var n=zy(t);return n<0?Jy(n+e,0):Yy(n,e)}(r,o);if(t&&n!=n){for(;o>a;)if((i=s[a++])!=i)return!0}else for(;o>a;a++)if((t||a in s)&&s[a]===n)return t||a||0;return!t&&-1}},Ky={includes:$y(!0),indexOf:$y(!1)},qy=Ky.indexOf,tb=function(t,e){var n,r=ny(t),i=0,s=[];for(n in r)!oy(Ry,n)&&oy(r,n)&&s.push(n);for(;e.length>i;)oy(r,n=e[i++])&&(~qy(s,n)||s.push(n));return s},eb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],nb=eb.concat("length","prototype"),rb={f:Object.getOwnPropertyNames||function(t){return tb(t,nb)}},ib={f:Object.getOwnPropertySymbols},sb=jy("Reflect","ownKeys")||function(t){var e=rb.f(fy(t)),n=ib.f;return n?e.concat(n(t)):e},ob=function(t,e){for(var n=sb(e),r=gy.f,i=dy.f,s=0;s1?arguments[1]:void 0,e.length)),r=String(t);return Eb?Eb.call(e,r,n):e.slice(n,n+r.length)===r}});var Vb,Rb,Fb=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Db=function(t,e,n){if(Fb(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}},Ub=Function.call,Nb=function(t,e,n){return Db(Ub,Zm[t].prototype[e],n)},Mb=(Nb("String","startsWith"),Array.isArray||function(t){return"Array"==Km(t)}),Lb=function(t){return Object(ey(t))},Bb=function(t,e,n){var r=iy(e);r in t?gy.f(t,r,Ym(0,n)):t[r]=n},Pb=_b("species"),Hb=function(t,e){var n;return Mb(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Mb(n.prototype)?ry(n)&&null===(n=n[Pb])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},Gb=jy("navigator","userAgent")||"",jb=Zm.process,Zb=jb&&jb.versions,Wb=Zb&&Zb.v8;Wb?Rb=(Vb=Wb.split("."))[0]+Vb[1]:Gb&&(!(Vb=Gb.match(/Edge\/(\d+)/))||Vb[1]>=74)&&(Vb=Gb.match(/Chrome\/(\d+)/))&&(Rb=Vb[1]);var zb=Rb&&+Rb,Xb=_b("species"),Qb=_b("isConcatSpreadable"),Jb=zb>=51||!Wm((function(){var t=[];return t[Qb]=!1,t.concat()[0]!==t})),Yb=zb>=51||!Wm((function(){var t=[];return(t.constructor={})[Xb]=function(){return{foo:1}},1!==t.concat(Boolean).foo})),$b=function(t){if(!ry(t))return!1;var e=t[Qb];return void 0!==e?!!e:Mb(t)};gb({target:"Array",proto:!0,forced:!Jb||!Yb},{concat:function(t){var e,n,r,i,s,o=Lb(this),a=Hb(o,0),c=0;for(e=-1,r=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");Bb(a,c++,s)}return a.length=c,a}});var Kb={};Kb[_b("toStringTag")]="z";var qb="[object z]"===String(Kb),tv=_b("toStringTag"),ev="Arguments"==Km(function(){return arguments}()),nv=qb?Km:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),tv))?n:ev?Km(e):"Object"==(r=Km(e))&&"function"==typeof e.callee?"Arguments":r};qb||Py(Object.prototype,"toString",qb?{}.toString:function(){return"[object "+nv(this)+"]"},{unsafe:!0});var rv,iv=Object.keys||function(t){return tb(t,eb)},sv=zm?Object.defineProperties:function(t,e){fy(t);for(var n,r=iv(e),i=r.length,s=0;i>s;)gy.f(t,n=r[s++],e[n]);return t},ov=jy("document","documentElement"),av=Vy("IE_PROTO"),cv=function(){},lv=function(t){return"