var $localize=Object.assign(void 0===$localize?{}:$localize,{locale:"en"}); "use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(n){let i=Math.floor(Math.abs(n)),v=n.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["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"]],u,[["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"]],u,[["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}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);; (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(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._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:i,_subscriptions:o}=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 p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f 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 f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(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 m extends f{constructor(t,e,n,s){let i;super(),this._parentSubscriber=t;let o=this;r(e)?i=e:e&&(i=e.next,n=e.error,s=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=i,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.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}=i;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);i.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(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return i.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 g=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}let _=(()=>{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,s=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.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 f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=v(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[g](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=v(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function v(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class w 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 S extends f{constructor(t){super(t),this.destination=t}}let E=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new S(this)}lift(t){const e=new C(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;snew C(t,e),t})();class C extends E{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 x(t){return t&&"function"==typeof t.schedule}function T(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 k(t,e))}}class k{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new A(t,this.project,this.thisArg))}}class A extends f{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)}}const I=t=>e=>{for(let n=0,r=t.length;nt&&"number"==typeof t.length&&"function"!=typeof t;function N(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const D=t=>{if(t&&"function"==typeof t[g])return r=t,t=>{const e=r[g]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(P(t))return I(t);if(N(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[O])return e=t,t=>{const n=e[O]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}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=c(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 j(t,e){return new _(n=>{const r=new h;let s=0;return r.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function L(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[g]}(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>{const s=t[g]();r.add(s.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(N(t))return function(t,e){return new _(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(P(t))return j(t,e);if(function(t){return t&&"function"==typeof t[O]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[O](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=s.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 _?t:new _(D(t))}class M extends f{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class F extends f{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function U(t,e){if(!e.closed)return t instanceof _?t.subscribe(e):D(t)(e)}function H(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(H((n,r)=>L(t(n,r)).pipe(T((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new $(t,n)))}class ${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 F{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(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function B(t=Number.POSITIVE_INFINITY){return H(y,t)}function V(t,e){return e?j(t,e):new _(I(t))}function q(){return function(t){return t.lift(new G(t))}}class G{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new Q(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class Q extends f{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 W extends _{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 Z(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return q()(this)}}const K=(()=>{const t=W.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 Z extends S{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 Y(){return new E}function J(t){return{toString:t}.toString()}function X(t,e,n){return J(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}const tt=X("Inject",t=>({token:t})),et=X("Optional"),nt=X("Self"),rt=X("SkipSelf");function st(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(st).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 it(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}function ot(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function at(t){for(let e in t)if(t[e]===at)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 ct(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ut(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function ht(t){return dt(t,ft)||dt(t,gt)}function dt(t,e){return t.hasOwnProperty(e)?t[e]:null}function pt(t){return t&&(t.hasOwnProperty(mt)||t.hasOwnProperty(yt))?t[mt]:null}const ft=at({\u0275prov:at}),mt=at({\u0275inj:at}),gt=at({ngInjectableDef:at}),yt=at({ngInjectorDef:at});class _t{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=ct({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const vt=new _t("AnalyzeForEntryComponents");var bt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({});const wt="undefined"!=typeof globalThis&&globalThis,St="undefined"!=typeof window&&window,Et="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ct="undefined"!=typeof global&&global,xt=wt||Ct||St||Et,Tt=at({__forward_ref__:at});function kt(t){return t.__forward_ref__=kt,t.toString=function(){return st(this())},t}function At(t){return"function"==typeof(e=t)&&e.hasOwnProperty(Tt)&&e.__forward_ref__===kt?t():t;var e}const It=Function;function Rt(t,e){t.forEach(t=>Array.isArray(t)?Rt(t,e):e(t))}function Ot(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Pt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Nt(t,e){const n=[];for(let r=0;r=0?t[1|r]=n:(r=~r,function(t,e,n,r){let s=t.length;if(s==e)t.push(n,r);else if(1===s)t.push(r,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function jt(t,e){const n=Lt(t,e);if(n>=0)return t[1|n]}function Lt(t,e){return function(t,e,n){let r=0,s=t.length>>1;for(;s!==r;){const n=r+(s-r>>1),i=t[n<<1];if(e===i)return n<<1;i>e?s=n:r=n+1}return~(s<<1)}(t,e)}var Mt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const Ft={},Ut=[],Ht=at({\u0275cmp:at}),$t=at({\u0275dir:at}),zt=at({\u0275pipe:at}),Bt=at({\u0275mod:at}),Vt=at({\u0275loc:at}),qt=at({\u0275fac:at}),Gt=at({__NG_ELEMENT_ID__:at});let Qt=0;function Wt(t){return J(()=>{const e={},n={type:t.type,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:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===bt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Ut,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Mt.Emulated,id:"c",styles:t.styles||Ut,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,s=t.features,i=t.pipes;return n.id+=Qt++,n.inputs=Xt(t.inputs,e),n.outputs=Xt(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Kt):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(Zt):null,n})}function Kt(t){return ee(t)||function(t){return t[$t]||null}(t)}function Zt(t){return function(t){return t[zt]||null}(t)}const Yt={};function Jt(t){const e={type:t.type,bootstrap:t.bootstrap||Ut,declarations:t.declarations||Ut,imports:t.imports||Ut,exports:t.exports||Ut,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&J(()=>{Yt[t.id]=t.type}),e}function Xt(t,e){if(null==t)return Ft;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const te=Wt;function ee(t){return t[Ht]||null}function ne(t,e){const n=t[Bt]||null;if(!n&&!0===e)throw new Error(`Type ${st(t)} does not have '\u0275mod' property.`);return n}function re(t){return"string"==typeof t?t:null==t?"":""+t}function se(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():re(t)}var ie=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}({});let oe;function ae(t){const e=oe;return oe=t,e}function le(t,e,n){const r=ht(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ie.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${st(t)}]`)}const ce={},ue=/\n/gm,he=at({provide:String,useValue:at});let de=void 0;function pe(t){const e=de;return de=t,e}function fe(t,e=ie.Default){if(void 0===de)throw new Error("inject() must be called from an injection context");return null===de?le(t,void 0,e):de.get(t,e&ie.Optional?null:void 0,e)}function me(t,e=ie.Default){return(oe||fe)(At(t),e)}const ge=me;function ye(t){const e=[];for(let n=0;nve()};function Ae(t){for(;Array.isArray(t);)t=t[0];return t}function Ie(t,e){return Ae(e[t.index])}function Re(t,e){return t.data[e]}function Oe(t,e){const n=e[t];return be(n)?n:n[0]}function Pe(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ne(t){return 4==(4&t[2])}function De(t){return 128==(128&t[2])}function je(t,e){return null==e?null:t[e]}function Le(t){t[18]=0}function Me(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 Fe={lFrame:an(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ue(){return Fe.bindingsEnabled}function He(){return Fe.lFrame.lView}function $e(){return Fe.lFrame.tView}function ze(){let t=Be();for(;null!==t&&64===t.type;)t=t.parent;return t}function Be(){return Fe.lFrame.currentTNode}function Ve(){const t=Fe.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function qe(t,e){const n=Fe.lFrame;n.currentTNode=t,n.isParent=e}function Ge(){return Fe.lFrame.isParent}function Qe(){Fe.lFrame.isParent=!1}function We(){return Fe.isInCheckNoChangesMode}function Ke(t){Fe.isInCheckNoChangesMode=t}function Ze(){return Fe.lFrame.bindingIndex++}function Ye(t){Fe.lFrame.inI18n=t}function Je(t,e){const n=Fe.lFrame;n.bindingIndex=n.bindingRootIndex=t,Xe(e)}function Xe(t){Fe.lFrame.currentDirectiveIndex=t}function tn(){return Fe.lFrame.currentQueryIndex}function en(t){Fe.lFrame.currentQueryIndex=t}function nn(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function rn(t,e,n){if(n&ie.SkipSelf){let r=e,s=t;for(;r=r.parent,!(null!==r||n&ie.Host||(r=nn(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;e=r,t=s}const r=Fe.lFrame=on();return r.currentTNode=e,r.lView=t,!0}function sn(t){const e=on(),n=t[1];Fe.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function on(){const t=Fe.lFrame,e=null===t?null:t.child;return null===e?an(t):e}function an(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function ln(){const t=Fe.lFrame;return Fe.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const cn=ln;function un(){const t=ln();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function hn(){return Fe.lFrame.selectedIndex}function dn(t){Fe.lFrame.selectedIndex=t}function pn(){const t=Fe.lFrame;return Re(t.tView,t.selectedIndex)}let fn;function mn(t){var e;return(null===(e=function(){if(void 0===fn&&(fn=null,xt.trustedTypes))try{fn=xt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return fn}())||void 0===e?void 0:e.createHTML(t))||t}class gn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}function yn(t){return t instanceof gn?t.changingThisBreaksApplicationSecurity:t}let _n=!0,vn=!1;function bn(){return vn=!0,_n}class wn{getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(mn(t),"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}}class Sn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=mn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=mn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0xn(t.trim())).join(", ")}function kn(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function An(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const In=kn("area,br,col,hr,img,wbr"),Rn=kn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),On=kn("rp,rt"),Pn=An(On,Rn),Nn=An(In,An(Rn,kn("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")),An(On,kn("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")),Pn),Dn=kn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jn=kn("srcset"),Ln=An(Dn,jn,kn("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"),kn("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"));var Mn=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Fn(t){const e=function(){const t=He();return t&&t[12]}();return e?e.sanitize(Mn.URL,t)||"":function(t,e){const n=function(t){return t instanceof gn&&t.getTypeName()||null}(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}(t,"URL")?yn(t):xn(re(t))}function Un(t,e){return t.hasOwnProperty(qt)?t[qt]:null}class Hn extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function $n(t,e){const n=e?" in "+e:"";throw new Hn("201",`No provider for ${se(t)} found${n}`)}class zn{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Bn(){return Vn}function Vn(t){return t.type.prototype.ngOnChanges&&(t.setInput=Gn),qn}function qn(){const t=Qn(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Ft)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function Gn(t,e,n,r){const s=Qn(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Ft,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new zn(l&&l.currentValue,e,o===Ft),t[r]=e}function Qn(t){return t.__ngSimpleChanges__||null}function Wn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[o]<0&&(t[18]+=65536),(i>11>16&&(3&t[2])===e&&(t[2]+=2048,i.call(o)):i.call(o)}Bn.ngInherit=!0;class tr{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function er(t,e,n){const r=Te(t);let s=0;for(;se){o=i-1;break}}}for(;i>16,r=e;for(;n>0;)r=r[15],n--;return r}let cr=!0;function ur(t){const e=cr;return cr=t,e}let hr=0;function dr(t,e){const n=fr(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,pr(r.data,t),pr(e,null),pr(r.blueprint,null));const s=mr(t,e),i=t.injectorIndex;if(or(s)){const t=ar(s),n=lr(s,e),r=n[1].data;for(let s=0;s<8;s++)e[i+s]=n[t+s]|r[t+s]}return e[i+8]=s,i}function pr(t,e){t.push(0,0,0,0,0,0,0,0,e)}function fr(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function mr(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(r=2===e?t.declTNode:1===e?s[6]:null,null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function gr(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Gt)&&(r=n[Gt]),null==r&&(r=n[Gt]=hr++);const s=255&r,i=1<=0?255&e:wr:e}(n);if("function"==typeof i){if(!rn(e,t,r))return r&ie.Host?yr(s,n,r):_r(e,n,r,s);try{const t=i();if(null!=t||r&ie.Optional)return t;$n(n)}finally{cn()}}else if("number"==typeof i){let s=null,o=fr(t,e),a=-1,l=r&ie.Host?e[16][6]:null;for((-1===o||r&ie.SkipSelf)&&(a=-1===o?mr(t,e):e[o+8],-1!==a&&Tr(r,!1)?(s=e[1],o=ar(a),e=lr(a,e)):o=-1);-1!==o;){const t=e[1];if(xr(i,o,t.data)){const t=Sr(o,e,n,s,r,l);if(t!==br)return t}a=e[o+8],-1!==a&&Tr(r,e[1].data[o+8]===l)&&xr(i,o,e)?(s=t,o=ar(a),e=lr(a,e)):o=-1}}}return _r(e,n,r,s)}const br={};function wr(){return new kr(ze(),He())}function Sr(t,e,n,r,s,i){const o=e[1],a=o.data[t+8],l=Er(a,o,n,null==r?Ee(a)&&cr:r!=o&&0!=(3&a.type),s&ie.Host&&i===a);return null!==l?Cr(e,o,l,a):br}function Er(t,e,n,r,s){const i=t.providerIndexes,o=e.data,a=1048575&i,l=t.directiveStart,c=i>>20,u=s?a+c:t.directiveEnd;for(let h=r?a:a+c;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&&xe(t)&&t.type===n)return l}return null}function Cr(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof tr){const o=s;o.resolving&&function(t,e){throw new Hn("200","Circular dependency in DI detected for "+t)}(se(i[n]));const a=ur(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?ae(o.injectImpl):null;rn(t,r,ie.Default);try{s=t[n]=o.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=e.type.prototype;if(r){const r=Vn(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{null!==l&&ae(l),ur(a),o.resolving=!1,cn()}}return s}function xr(t,e,n){const r=64&t,s=32&t;let i;return i=128&t?r?s?n[e+7]:n[e+6]:s?n[e+5]:n[e+4]:r?s?n[e+3]:n[e+2]:s?n[e+1]:n[e],!!(i&1<("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(xt))();function Dr(t){return{name:"window",target:t.ownerDocument.defaultView}}function jr(t){return t instanceof Function?t():t}var Lr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let Mr;function Fr(t,e){return Mr(t,e)}function Ur(t){const e=t[3];return we(e)?e[3]:e}function Hr(t){return zr(t[13])}function $r(t){return zr(t[4])}function zr(t){for(;null!==t&&!we(t);)t=t[4];return t}function Br(t,e,n,r,s){if(null!=r){let i,o=!1;we(r)?i=r:be(r)&&(o=!0,r=r[0]);const a=Ae(r);0===t&&null!==n?null==s?Xr(e,n,a):Jr(e,n,a,s||null,!0):1===t&&null!==n?Jr(e,n,a,s||null,!0):2===t?function(t,e,n){const r=es(t,e);r&&function(t,e,n,r){Te(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,r,s){const i=n[7];i!==Ae(n)&&Br(e,t,r,i,s);for(let o=10;o0&&(t[n-1][4]=r[4]);const o=Pt(t,10+e);cs(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function Wr(t,e){if(!(256&e[2])){const n=e[11];Te(n)&&n.destroyNode&&cs(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Kr(t[1],t);for(;e;){let n=null;if(be(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)be(e)&&Kr(e[1],e),e=e[3];null===e&&(e=t),be(e)&&Kr(e[1],e),n=e&&e[4]}e=n}}(e)}}function Kr(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),1===e[1].type&&Te(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&we(e[3])){n!==e[3]&&Gr(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function Zr(t,e,n){return Yr(t,e.parent,n)}function Yr(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const e=t.data[r.directiveStart].encapsulation;if(e===Mt.None||e===Mt.Emulated)return null}return Ie(r,n)}function Jr(t,e,n,r,s){Te(t)?t.insertBefore(e,n,r,s):e.insertBefore(n,r,s)}function Xr(t,e,n){Te(t)?t.appendChild(e,n):e.appendChild(n)}function ts(t,e,n,r,s){null!==r?Jr(t,e,n,r,s):Xr(t,e,n)}function es(t,e){return Te(t)?t.parentNode(e):e.parentNode}function ns(t,e,n){return is(t,e,n)}function rs(t,e,n){return 40&t.type?Ie(t,n):null}let ss,is=rs;function os(t,e){is=t,ss=e}function as(t,e,n,r){const s=Zr(t,r,e),i=e[11],o=ns(r.parent||e[6],r,e);if(null!=s)if(Array.isArray(n))for(let a=0;ai?"":s[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==ps(e,c,0)||2&r&&c!==t){if(_s(r))return!1;o=!0}}}}else{if(!o&&!_s(r)&&!_s(l))return!1;if(o&&_s(l))continue;o=!1,r=l|1&r}}return _s(r)||o}function _s(t){return 0==(1&t)}function vs(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||_s(o)||(e+=Ss(i,s),s=""),r=o,i=i||!_s(r);n++}return""!==s&&(e+=Ss(i,s)),e}const Cs={};function xs(t){Ts($e(),He(),hn()+t,We())}function Ts(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Kn(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Zn(e,r,0,n)}dn(n)}function ks(t,e){return t<<17|e<<2}function As(t){return t>>17&32767}function Is(t){return 2|t}function Rs(t){return(131068&t)>>2}function Os(t,e){return-131069&t|e<<2}function Ps(t){return 1|t}function Ns(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r20&&Ts(t,e,20,We()),n(r,s)}finally{dn(i)}}function zs(t,e,n){Ue()&&(function(t,e,n,r){const s=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||dr(n,e),Pr(r,e);const o=n.initialInputs;for(let a=s;a0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,s,o)}}function Ys(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Js(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Xs(t,e,n){if(n){if(e.exportAs)for(let r=0;r0&&function t(e){for(let r=Hr(e);null!==r;r=$r(r))for(let e=10;e0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r0&&t(s)}}(n)}}function ai(t,e){const n=Oe(e,t),r=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function fi(t){return t[7]||(t[7]=[])}function mi(t,e){const n=t[9],r=n?n.get(Or,null):null;r&&r.handleError(e)}function gi(t,e,n,r,s){for(let i=0;ithis.processProvider(n,t,e)),Rt([t],t=>this.processInjectorType(t,[],s)),this.records.set(_i,Ri(void 0,this));const i=this.records.get(bi);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof t?null:st(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=ce,n=ie.Default){this.assertNotDestroyed();const r=pe(this);try{if(!(n&ie.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof _t)&&ht(t);e=n&&this.injectableDefInScope(n)?Ri(Ai(t),wi):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&ie.Self?xi():this.parent).get(t,e=n&ie.Optional&&e===ce?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(st(t)),r)throw i;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e.__source&&s.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 s=st(e);if(Array.isArray(e))s=e.map(st).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):st(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(ue,"\n ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{pe(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(st(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=At(t)))return!1;let r=pt(t);const s=null==r&&t.ngModule||void 0,i=void 0===s?t:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=pt(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{Rt(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||Ei))}}this.injectorDefTypes.add(i),this.records.set(i,Ri(r.factory,wi));const a=r.providers;if(null!=a&&!o){const e=t;Rt(a,t=>this.processProvider(t,e,a))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=Pi(t=At(t))?t:At(t&&t.provide);const s=function(t,e,n){return Oi(t)?Ri(void 0,t.useValue):Ri(Ii(t),wi)}(t);if(Pi(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Ri(void 0,wi,!0),e.factory=()=>ye(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===wi&&(e.value=Si,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 Ai(t){const e=ht(t),n=null!==e?e.factory:Un(t);if(null!==n)return n;const r=pt(t);if(null!==r)return r.factory;if(t instanceof _t)throw new Error(`Token ${st(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=Nt(e,"?");throw new Error(`Can't resolve all parameters for ${st(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[ft]||t[gt]);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 a future version of Angular. 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 Ii(t,e,n){let r=void 0;if(Pi(t)){const e=At(t);return Un(e)||Ai(e)}if(Oi(t))r=()=>At(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...ye(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>me(At(t.useExisting));else{const e=At(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Un(e)||Ai(e);r=()=>new e(...ye(t.deps))}var s;return r}function Ri(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Oi(t){return null!==t&&"object"==typeof t&&he in t}function Pi(t){return"function"==typeof t}const Ni=function(t,e,n){return function(t,e=null,n=null,r){const s=Ti(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let Di=(()=>{class t{static create(t,e){return Array.isArray(t)?Ni(t,e,""):Ni(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=ce,t.NULL=new vi,t.\u0275prov=ct({token:t,providedIn:"any",factory:()=>me(_i)}),t.__NG_ELEMENT_ID__=-1,t})();function ji(t,e){Wn(Pe(t)[1],ze())}function Li(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let s=void 0;if(xe(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){r.push(s);const e=t;e.inputs=Mi(t.inputs),e.declaredInputs=Mi(t.declaredInputs),e.outputs=Mi(t.outputs);const n=s.hostBindings;n&&Hi(t,n);const i=s.viewQuery,o=s.contentQueries;if(i&&Fi(t,i),o&&Ui(t,o),lt(t.inputs,s.inputs),lt(t.declaredInputs,s.declaredInputs),lt(t.outputs,s.outputs),xe(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let r=0;r=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=sr(s.hostAttrs,n=sr(n,s.hostAttrs))}}(r)}function Mi(t){return t===Ft?{}:t===Ut?[]:t}function Fi(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Ui(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function Hi(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}let $i=null;function zi(){if(!$i){const t=xt.Symbol;if(t&&t.iterator)$i=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Ae(t[r.index])).target:r.index;if(Te(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let i=0;in?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=no(r,e,i,!1);const t=n.listen(p.name||f,s,i);u.push(i,t),c&&c.push(s,g,m,m+1)}}else i=no(r,e,i,!0),f.addEventListener(s,i,o),u.push(i),c&&c.push(s,g,m,o)}const d=r.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n=0}function co(t,e){return function(t,e,n,r){const s=He(),i=$e(),o=function(t){const e=Fe.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+2,n}();i.firstUpdatePass&&function(t,e,n,r){const s=t.data;if(null===s[n+1]){const r=s[hn()],i=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(16&t.flags)})(r)&&null===e&&!i&&(e=!1),e=function(t,e,n,r){const s=function(t){const e=Fe.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=e.residualClasses;if(null===s)0===e.classBindings&&(n=ho(n=uo(null,t,e,n,true),e.attrs,true),i=null);else{const r=e.directiveStylingLast;if(-1===r||t[r]!==s)if(n=uo(s,t,e,n,true),null===i){let n=function(t,e,n){const r=e.classBindings;if(0!==Rs(r))return t[As(r)]}(t,e);void 0!==n&&Array.isArray(n)&&(n=uo(null,t,e,n[1],true),n=ho(n,e.attrs,true),function(t,e,n,r){t[As(e.classBindings)]=r}(t,e,0,n))}else i=function(t,e,n){let r=void 0;const s=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0)&&(u=!0)}else c=n;if(s)if(0!==l){const e=As(t[a+1]);t[r+1]=ks(e,a),0!==e&&(t[e+1]=Os(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=ks(a,0),0!==a&&(t[a+1]=Os(t[a+1],r)),a=r;else t[r+1]=ks(l,0),0===a?a=r:t[l+1]=Os(t[l+1],r),l=r;u&&(t[r+1]=Is(t[r+1])),ao(t,c,r,!0),ao(t,c,r,!1),function(t,e,n,r,s){const i=t.residualClasses;null!=i&&"string"==typeof e&&Lt(i,e)>=0&&(n[r+1]=Ps(n[r+1]))}(e,c,t,r),o=ks(a,l),e.classBindings=o}(s,r,e,n,i)}}(i,t,o),e!==Cs&&qi(s,o,e)&&function(t,e,n,r,s,i,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];fo(1==(1&c)?po(l,e,n,s,Rs(c),true):void 0)||(fo(i)||function(t){return 2==(2&t)}(c)&&(i=po(l,null,n,s,a,true)),function(t,e,n,r,s){const i=Te(t);s?i?t.addClass(n,r):n.classList.add(r):i?t.removeClass(n,r):n.classList.remove(r)}(r,0,function(t,e){return Ae(e[t])}(hn(),n),s,i))}(i,i.data[hn()],s,s[11],t,s[o+1]=function(t,e){return null==t||"object"==typeof t&&(t=st(yn(t))),t}(e),0,o)}(t,e),co}function uo(t,e,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[s],i=Array.isArray(e),l=i?e[1]:e,c=null===l;let u=n[s+1];u===Cs&&(u=c?oo:void 0);let h=c?jt(u,r):l===r?u:void 0;if(i&&!fo(h)&&(h=jt(e,r)),fo(h)&&(a=h,o))return a;const d=t[s+1];s=o?As(d):Rs(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(a=jt(t,r))}return a}function fo(t){return void 0!==t}function mo(t,e=""){const n=He(),r=$e(),s=t+20,i=r.firstCreatePass?js(r,s,1,e,null):r.data[s],o=n[s]=Vr(n[11],e);as(r,n,o,i),qe(i,!1)}function go(t,e,n){const r=He();return qi(r,Ze(),e)&&Ws($e(),pn(),r,t,e,r[11],n,!0),go}const yo=void 0;var _o=["en",[["a","p"],["AM","PM"],yo],[["AM","PM"],yo,yo],[["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"]],yo,[["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"]],yo,[["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}",yo,"{1} 'at' {0}",yo],[".",",",";","%","+","-","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 vo={};function bo(t){return t in vo||(vo[t]=xt.ng&&xt.ng.common&&xt.ng.common.locales&&xt.ng.common.locales[t]),vo[t]}var wo=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const So={marker:"element"},Eo={marker:"ICU"};var Co=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}({});let xo="en-US";function To(t){var e;null==(e=t)&&ot("Expected localeId to be defined",e,null,"!="),"string"==typeof t&&(xo=t.toLowerCase().replace(/_/g,"-"))}function ko(t,e,n){const r=e.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?rs(t,0,n):Ae(n[s])}function Ao(t,e,n,r,s){const i=e.insertBeforeIndex;if(Array.isArray(i)){let o=r,a=null;if(3&e.type||(a=o,o=s),null!==o&&0==(2&e.flags))for(let e=1;e1)for(let n=t.length-2;n>=0;n--){const r=t[n];Ro(r)||Oo(r,e)&&null===Po(r)&&No(r,e.index)}}function Ro(t){return!(64&t.type)}function Oo(t,e){return Ro(e)||t.index>e.index}function Po(t){const e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function No(t,e){const n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(os(ko,Ao),t.insertBeforeIndex=e)}function Do(t,e,n){const r=Ls(t,n,64,null,null);return Io(e,r),r}const jo=/\ufffd(\d+):?\d*\ufffd/gi,Lo=/\ufffd(\d+)\ufffd/,Mo=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Fo=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Uo=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Ho=/\uE500/g;function $o(t,e,n,r,s,i,o){const a=Ms(t,r,1,null);let l=a<0?e[o]:(t.push(r,n),s(e[1].data[~o],e),i())}return 0===t.length?null:(n=t.pop(),r=t.pop(),i())}return function(n,r){for(e=r;t.length;)t.pop();return s(n.value,r),i}}())),s.push(l,null===i?"":i);const u=Ls(t,a,o?32:1,null===i?"":i,null);Io(n,u);const h=u.index;return qe(u,!1),null!==c&&e!==c&&function(t,e){let n=t.insertBeforeIndex;var r;null===n?(os(ko,Ao),n=t.insertBeforeIndex=[null,e]):("Expecting array here",(r=Array.isArray(n))!=!0&&ot("Expecting array here",r,true,"=="),n.push(e))}(c,h),u}function zo(t,e,n,r,s,i,o){const a=o.match(jo),l=$o(t,e,n,i,r,a?null:o,!1);a&&Bo(s,o,l.index)}function Bo(t,e,n,r,s=null){const i=t.length,o=i+1;t.push(null,null);const a=i+2,l=e.split(jo);let c=0;for(let u=0;un.length&&n.push(s)}return{type:r,mainBinding:s,cases:e,values:n}}function Wo(t){if(!t)return[];let e=0;const n=[],r=[],s=/[{}]/g;let i;for(s.lastIndex=0;i=s.exec(t);){const s=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=t.substring(e,s);Mo.test(n)?r.push(Qo(n)):r.push(n),e=s+1}}else{if(0==n.length){const n=t.substring(e,s);r.push(n),e=s+1}n.push("{")}}const o=t.substring(e);return r.push(o),r}function Ko(t,e,n,r,s,i,o,a){const l=[],c=[],u=[];e.cases.push(i),e.create.push(l),e.remove.push(c),e.update.push(u);const h=(f=ve(),function(){try{return!!(new window.DOMParser).parseFromString(mn(""),"text/html")}catch(t){return!1}}()?new wn:new Sn(f)).getInertBodyElement(o),d=("content"in(p=h)&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(p)?p.content:null)||h;var p,f;return d?function t(e,n,r,s,i,o,a,l,c,u,h){let d=0,p=l.firstChild;for(;p;){const l=Ms(e,r,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:const f=p,m=f.tagName.toLowerCase();if(Nn.hasOwnProperty(m)){Jo(i,So,m,c,l),e.data[l]=m;const g=f.attributes;for(let t=0;t>>Co.SHIFT;let h=t[u];null===h&&(h=t[u]=l?s.createComment(a):Vr(s,a)),c&&null!==n&&Jr(s,n,h,r,!1)}}(s,l.create,c,a&&8&a.type?s[a.index]:null),Ye(!0)}function ea(){Ye(!1)}function na(t,e,n){ta(t,e,n),ea()}function ra(t,e,n,r,s){if(t=At(t),Array.isArray(t))for(let i=0;i>20;if(Pi(t)||!t.multi){const r=new tr(l,s,Qi),p=oa(a,e,s?u:u+d,h);-1===p?(gr(dr(c,o),i,a),sa(i,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=oa(a,e,u+d,h),f=oa(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(s&&!g||!s&&!m){gr(dr(c,o),i,a);const u=function(t,e,n,r,s){const i=new tr(t,n,Qi);return i.multi=[],i.index=e,i.componentProviders=0,ia(i,s,r&&!n),i}(s?la:aa,n.length,s,r,l);!s&&g&&(n[f].providerFactory=u),sa(i,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else sa(i,t,p>-1?p:f,ia(n[s?f:p],l,!s&&r));!s&&r&&g&&n[f].componentProviders++}}}function sa(t,e,n,r){const s=Pi(e);if(s||e.useClass){const i=(e.useClass||e).prototype.ngOnDestroy;if(i){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,i]):o[t+1].push(r,i)}else o.push(n,i)}}}function ia(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function oa(t,e,n,r){for(let s=n;s{n.providersResolver=(n,r)=>function(t,e,n){const r=$e();if(r.firstCreatePass){const s=xe(t);ra(n,r.data,r.blueprint,s,!0),ra(e,r.data,r.blueprint,s,!1)}}(n,r?r(t):t,e)}}class ha{}class da{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${st(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let pa=(()=>{class t{}return t.NULL=new da,t})();function fa(...t){}function ma(t,e){return new ya(Ie(t,e))}const ga=function(){return ma(ze(),He())};let ya=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=ga,t})();class _a{}let va=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ba(),t})();const ba=function(){const t=He(),e=Oe(ze().index,t);return function(t){return t[11]}(be(e)?e:t)};let wa=(()=>{class t{}return t.\u0275prov=ct({token:t,providedIn:"root",factory:()=>null}),t})();class Sa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ea=new Sa("11.0.2");class Ca{constructor(){}supports(t){return Bi(t)}create(t){return new Ta(t)}}const xa=(t,e)=>e;class Ta{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||xa}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,s=null;for(;e||n;){const i=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!0),s=s._next,e++}),this.length=e;return this._truncate(s),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;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=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):t=this._addAfter(new ka(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,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,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._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 Ia),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 Ia),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 ka{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 Aa{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)&&Object.is(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 Ia{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Aa,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 Ra(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=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,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new Na(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){Object.is(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 Na{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 Da=(()=>{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 rt,new et]]}}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=ct({token:t,providedIn:"root",factory:()=>new t([new Ca])}),t})(),ja=(()=>{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 rt,new et]]}}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=ct({token:t,providedIn:"root",factory:()=>new t([new Oa])}),t})();class La{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView,e=t[1];return function t(e,n,r,s,i=!1){for(;null!==r;){const o=n[r.index];if(null!==o&&s.push(Ae(o)),we(o))for(let e=10;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Wr(this._lView[1],this._lView)}onDestroy(t){Gs(this._lView[1],this._lView,null,t)}markForCheck(){ci(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ui(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ke(!0);try{ui(t,e,n)}finally{Ke(!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,cs(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 Ma extends La{constructor(t){super(t),this._view=t}detectChanges(){hi(this._view)}checkNoChanges(){!function(t){Ke(!0);try{hi(t)}finally{Ke(!1)}}(this._view)}get context(){return null}}const Fa=function(t=!1){return function(t,e,n){if(!n&&Ee(t)){const n=Oe(t.index,e);return new La(n,n)}return 47&t.type?new La(e[16],e):null}(ze(),He(),t)};let Ua=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fa,t.__ChangeDetectorRef__=!0,t})();const Ha=[new Oa],$a=new Da([new Ca]),za=new ja(Ha),Ba=function(){return Qa(ze(),He())};let Va=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ba,t})();const qa=Va,Ga=class extends qa{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Ds(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Fs(e,n,t),new La(n)}};function Qa(t,e){return 4&t.type?new Ga(e,t,ma(t,e)):null}class Wa{}class Ka{}const Za=function(){return nl(ze(),He())};let Ya=(()=>{class t{}return t.__NG_ELEMENT_ID__=Za,t})();const Ja=Ya,Xa=class extends Ja{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ma(this._hostTNode,this._hostLView)}get injector(){return new kr(this._hostTNode,this._hostLView)}get parentInjector(){const t=mr(this._hostTNode,this._hostLView);if(or(t)){const e=lr(t,this._hostLView),n=ar(t);return new kr(e[1].data[n+8],e)}return new kr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=tl(this._lContainer);return null!==e&&e[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,s){const i=n||this.parentInjector;if(!s&&null==t.ngModule&&i){const t=i.get(Wa,null);t&&(s=t)}const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(we(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new Xa(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e),i=this._lContainer;!function(t,e,n,r){const s=10+r,i=n.length;r>0&&(n[s-1][4]=e),rNr});class al extends ha{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Es).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return il(this.componentDef.inputs)}get outputs(){return il(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const i=t.get(n,rl,s);return i!==rl||r===rl?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(_a,ke),o=s.get(wa,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Te(t))return t.selectRootElement(e,n===Mt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):qr(i.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Nr,clean:pi,playerHandler:null,flags:0},d=qs(0,null,null,1,0,null,null,null,null,null),p=Ds(null,d,h,u,null,null,i,a,o,s);let f,m;sn(p);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=js(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(yi(a,l,!0),null!==t&&(er(s,t,l),null!==a.classes&&ds(s,t,a.classes),null!==a.styles&&hs(s,t,a.styles)));const c=r.createRenderer(t,e),u=Ds(n,Vs(e),null,e.onPush?64:16,n[20],a,r,c,null,null);return o.firstCreatePass&&(gr(dr(a,n),o,e.type),Js(o,a),ti(a,n.length,1)),li(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)er(a,c,["ng-version",Ea.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r0&&ds(a,c,e.join(" "))}if(m=Re(d,20),void 0!==e){const t=m.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=ze();e.contentQueries(1,o,t.directiveStart)}const a=ze();return!i.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(dn(a.index),Zs(n[1],a,0,a.directiveStart,a.directiveEnd,e),Ys(e,o)),o}(t,this.componentDef,p,h,[ji]),Fs(d,p,null)}finally{un()}return new ll(this.componentType,f,ma(m,p),p,m)}}class ll extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Ma(r),this.componentType=t}get injector(){return new kr(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 cl=new Map;class ul extends Wa{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sl(this);const n=ne(t),r=t[Vt]||null;r&&To(r),this._bootstrapComponents=jr(n.bootstrap),this._r3Injector=Ti(t,e,[{provide:Wa,useValue:this},{provide:pa,useValue:this.componentFactoryResolver}],st(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Di.THROW_IF_NOT_FOUND,n=ie.Default){return t===Di||t===Wa||t===_i?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 hl extends Ka{constructor(t){super(),this.moduleType=t,null!==ne(t)&&function(t){const e=new Set;!function t(n){const r=ne(n,!0),s=r.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${st(e)} vs ${st(e.name)}`)}(s,cl.get(s),n),cl.set(s,n));const i=jr(r.imports);for(const o of i)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new ul(this.moduleType,t)}}const dl=class extends E{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,s=t=>null,i=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(i=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,s,i);return t instanceof h&&t.add(o),o}};function pl(){return this._results[zi()]()}class fl{constructor(){this.dirty=!0,this._results=[],this.changes=new dl,this.length=0;const t=zi(),e=fl.prototype;e[t]||(e[t]=pl)}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)s.push(a[e/2]);else{const i=o[e+1],a=n[-r];for(let e=10;e{class t{constructor(t){this.appInits=t,this.resolve=fa,this.reject=fa,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)(me(Il,8))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();const Ol=new _t("AppId"),Pl={provide:Ol,useFactory:function(){return`${Nl()}${Nl()}${Nl()}`},deps:[]};function Nl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Dl=new _t("Platform Initializer"),jl=new _t("Platform ID"),Ll=new _t("appBootstrapListener");let Ml=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();const Fl=new _t("LocaleId"),Ul=new _t("DefaultCurrencyCode");class Hl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const $l=function(t){return new hl(t)},zl=$l,Bl=function(t){return Promise.resolve($l(t))},Vl=function(t){const e=$l(t),n=jr(ne(t).declarations).reduce((t,e)=>{const n=ee(e);return n&&t.push(new al(n)),t},[]);return new Hl(e,n)},ql=Vl,Gl=function(t){return Promise.resolve(Vl(t))};let Ql=(()=>{class t{constructor(){this.compileModuleSync=zl,this.compileModuleAsync=Bl,this.compileModuleAndAllComponentsSync=ql,this.compileModuleAndAllComponentsAsync=Gl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();const Wl=(()=>Promise.resolve(0))();function Kl(t){"undefined"==typeof Zone?Wl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Zl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new dl(!1),this.onMicrotaskEmpty=new dl(!1),this.onStable=new dl(!1),this.onError=new dl(!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.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=xt.requestAnimationFrame,e=xt.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(xt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,tc(t),Xl(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),tc(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,s,i,o,a)=>{try{return ec(t),n.invokeTask(s,i,o,a)}finally{e&&"eventTask"===i.type&&e(),nc(t)}},onInvoke:(e,n,r,s,i,o,a)=>{try{return ec(t),e.invoke(r,s,i,o,a)}finally{nc(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,tc(t),Xl(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Zl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Zl.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 s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,t,Jl,Yl,Yl);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Yl(){}const Jl={};function Xl(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 tc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function ec(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nc(t){t._nesting--,Xl(t)}class rc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new dl,this.onMicrotaskEmpty=new dl,this.onStable=new dl,this.onError=new dl}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 sc=(()=>{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:()=>{Zl.assertNotInAngularZone(),Kl(()=>{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())Kl(()=>{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)(me(Zl))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})(),ic=(()=>{class t{constructor(){this._applications=new Map,lc.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 lc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();class oc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let ac,lc=new oc;const cc=new _t("AllowMultipleToken");class uc{constructor(t,e){this.name=t,this.token=e}}function hc(t,e,n=[]){const r="Platform: "+e,s=new _t(r);return(e=[])=>{let i=dc();if(!i||i.injector.get(cc,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:bi,useValue:"platform"});!function(t){if(ac&&!ac.destroyed&&!ac.injector.get(cc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ac=t.get(pc);const e=t.get(Dl,null);e&&e.forEach(t=>t())}(Di.create({providers:t,name:r}))}return function(t){const e=dc();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}(s)}}function dc(){return ac&&!ac.destroyed?ac:null}let pc=(()=>{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 rc:("zone.js"===t?void 0:t)||new Zl({enableLongStackTrace:bn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Zl,useValue:n}];return n.run(()=>{const e=Di.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(Or,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>gc(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{i.handleError(t)}})),function(t,e,n){try{const r=n();return Xi(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(Rl);return t.runInitializers(),t.donePromise.then(()=>(To(s.injector.get(Fl,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=fc({},e);return function(t,e,n){const r=new hl(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(mc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${st(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)(me(Di))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();function fc(t,e){return Array.isArray(e)?e.reduce(fc,t):Object.assign(Object.assign({},t),e)}let mc=(()=>{class t{constructor(t,e,n,r,s,i){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=bn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Zl.assertNotInAngularZone(),Kl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Zl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return x(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 _?t[0]:B(e)(V(t,n))}(o,a.pipe(t=>{return q()((e=Y,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 ha?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Wa),s=n.create(Di.NULL,[],e||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(sc,null);return i&&s.injector.get(ic).registerApplication(s.location.nativeElement,i),this._loadComponent(s),bn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),s}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;gc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ll,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),gc(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)(me(Zl),me(Ml),me(Di),me(Or),me(pa),me(Rl))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();function gc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class yc{}class _c{}const vc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let bc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||vc}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=>wc(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>wc(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(me(Ql),me(_c,8))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();function wc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Sc=hc(null,"core",[{provide:jl,useValue:"unknown"},{provide:pc,deps:[Di]},{provide:ic,deps:[]},{provide:Ml,deps:[]}]),Ec=[{provide:mc,useClass:mc,deps:[Zl,Ml,Di,Or,pa,Rl]},{provide:ol,deps:[Zl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Rl,useClass:Rl,deps:[[new et,Il]]},{provide:Ql,useClass:Ql,deps:[]},Pl,{provide:Da,useFactory:function(){return $a},deps:[]},{provide:ja,useFactory:function(){return za},deps:[]},{provide:Fl,useFactory:function(t){return To(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new tt(Fl),new et,new rt]]},{provide:Ul,useValue:"USD"}];let Cc=(()=>{class t{constructor(t){}}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)(me(mc))},providers:Ec}),t})(),xc=null;function Tc(){return xc}const kc=new _t("DocumentToken");let Ac=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ct({factory:Ic,token:t,providedIn:"platform"}),t})();function Ic(){return me(Oc)}const Rc=new _t("Location Initialized");let Oc=(()=>{class t extends Ac{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=Tc().getLocation(),this._history=Tc().getHistory()}getBaseHrefFromDOM(){return Tc().getBaseHref(this._doc)}onPopState(t){Tc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){Tc().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){Pc()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){Pc()?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)(me(kc))},t.\u0275prov=ct({factory:Nc,token:t,providedIn:"platform"}),t})();function Pc(){return!!window.history.pushState}function Nc(){return new Oc(me(kc))}function Dc(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 jc(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 Lc(t){return t&&"?"!==t[0]?"?"+t:t}let Mc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ct({factory:Fc,token:t,providedIn:"root"}),t})();function Fc(t){const e=me(kc).location;return new Hc(me(Ac),e&&e.origin||"")}const Uc=new _t("appBaseHref");let Hc=(()=>{class t extends Mc{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 Dc(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Lc(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+Lc(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+Lc(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(me(Ac),me(Uc,8))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})(),$c=(()=>{class t extends Mc{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=Dc(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+Lc(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+Lc(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(me(Ac),me(Uc,8))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})(),zc=(()=>{class t{constructor(t,e){this._subject=new dl,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=jc(Vc(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+Lc(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Vc(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+Lc(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Lc(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=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)(me(Mc),me(Ac))},t.normalizeQueryParams=Lc,t.joinWithSlash=Dc,t.stripTrailingSlash=jc,t.\u0275prov=ct({factory:Bc,token:t,providedIn:"root"}),t})();function Bc(){return new zc(me(Mc),me(Ac))}function Vc(t){return t.replace(/\/index.html$/,"")}var qc=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class Gc{}let Qc=(()=>{class t extends Gc{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=bo(e);if(n)return n;const r=e.split("-")[0];if(n=bo(r),n)return n;if("en"===r)return _o;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[wo.PluralCase]}(e||this.locale)(t)){case qc.Zero:return"zero";case qc.One:return"one";case qc.Two:return"two";case qc.Few:return"few";case qc.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(me(Fl))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})(),Wc=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Kc,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){Zc("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Zc("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)(Qi(Ya),Qi(Va))},t.\u0275dir=te({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Kc{constructor(){this.$implicit=null,this.ngIf=null}}function Zc(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${st(e)}'.`)}let Yc=(()=>{class t{}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:[{provide:Gc,useClass:Qc}]}),t})();function Jc(t){return"browser"===t}let Xc=(()=>{class t{}return t.\u0275prov=ct({token:t,providedIn:"root",factory:()=>new tu(me(kc),window,me(Or))}),t})();class tu{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.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(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,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const t=eu(this.window.history)||eu(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(t){return!1}}}function eu(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class nu extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new nu,xc||(xc=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=su||(su=document.querySelector("base"),su)?su.getAttribute("href"):null;return null==e?null:(n=e,ru||(ru=document.createElement("a")),ru.setAttribute("href",n),"/"===ru.pathname.charAt(0)?ru.pathname:"/"+ru.pathname);var n}resetBaseElement(){su=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 function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,t)}}let ru,su=null;const iu=new _t("TRANSITION_ID"),ou=[{provide:Il,useFactory:function(t,e,n){return()=>{n.get(Rl).donePromise.then(()=>{const n=Tc();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[iu,kc,Di],multi:!0}];class au{static init(){var t;t=new au,lc=t}addToWindow(t){xt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},xt.getAllAngularTestabilities=()=>t.getAllTestabilities(),xt.getAllAngularRootElements=()=>t.getAllRootElements(),xt.frameworkStabilizers||(xt.frameworkStabilizers=[]),xt.frameworkStabilizers.push(t=>{const e=xt.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Tc().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const lu=new _t("EventManagerPlugins");let cu=(()=>{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=ct({token:t,factory:t.\u0275fac}),t})(),du=(()=>{class t extends hu{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=>Tc().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(me(kc))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();const pu={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/"},fu=/%COMP%/g;function mu(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let yu=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new _u(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Mt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new vu(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case Mt.ShadowDom:return new bu(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=mu(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)(me(cu),me(du),me(Ol))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();class _u{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(pu[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 s=pu[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=pu[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&(Lr.DashCase|Lr.Important)?t.style.setProperty(e,n,r&Lr.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Lr.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,gu(n)):this.eventManager.addEventListener(t,e,gu(n))}}class vu extends _u{constructor(t,e,n,r){super(t),this.component=n;const s=mu(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(fu,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(fu,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 bu extends _u{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=mu(r.id,r.styles,[]);for(let i=0;i{class t extends uu{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)(me(kc))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();const Su=["alt","control","meta","shift"],Eu={"\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"},Cu={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"},xu={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Tu=(()=>{class t extends uu{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),i=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Tc().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let i="";if(Su.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,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&&Cu.hasOwnProperty(e)&&(e=Cu[e]))}return Eu[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Su.forEach(r=>{r!=n&&(0,xu[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(me(kc))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();const ku=hc(Sc,"browser",[{provide:jl,useValue:"browser"},{provide:Dl,useValue:function(){nu.makeCurrent(),au.init()},multi:!0},{provide:kc,useFactory:function(){return function(t){_e=t}(document),document},deps:[]}]),Au=[[],{provide:bi,useValue:"root"},{provide:Or,useFactory:function(){return new Or},deps:[]},{provide:lu,useClass:wu,multi:!0,deps:[kc,Zl,jl]},{provide:lu,useClass:Tu,multi:!0,deps:[kc]},[],{provide:yu,useClass:yu,deps:[cu,du,Ol]},{provide:_a,useExisting:yu},{provide:hu,useExisting:du},{provide:du,useClass:du,deps:[kc]},{provide:sc,useClass:sc,deps:[Zl]},{provide:cu,useClass:cu,deps:[lu,Zl]},[]];let Iu=(()=>{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:Ol,useValue:e.appId},{provide:iu,useExisting:Ol},ou]}}}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)(me(t,12))},providers:Au,imports:[Yc,Cc]}),t})();function Ru(){return new Ou(me(kc))}let Ou=(()=>{class t{constructor(t){this._doc=t,this._dom=Tc()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTag(e);if(n&&this._containsAttributes(t,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(t,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(n=>e.setAttribute(n,t[n])),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(n=>e.getAttribute(n)===t[n])}}return t.\u0275fac=function(e){return new(e||t)(me(kc))},t.\u0275prov=ct({factory:Ru,token:t,providedIn:"root"}),t})();function Pu(){return new Nu(me(kc))}let Nu=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(me(kc))},t.\u0275prov=ct({factory:Pu,token:t,providedIn:"root"}),t})();function Du(...t){let e=t[t.length-1];return x(e)?(t.pop(),j(t,e)):V(t)}"undefined"!=typeof window&&window;class ju extends E{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 b;return this._value}next(t){super.next(this._value=t)}}class Lu extends f{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Mu extends f{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()}}function Fu(t,e,n,r,s=new Mu(t,n,r)){if(!s.closed)return e instanceof _?e.subscribe(s):D(e)(s)}const Uu={};class Hu{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new $u(t,this.resultSelector))}}class $u extends Lu{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Uu),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),Bu=new _(t=>t.complete());function Vu(t){return t?function(t){return new _(e=>t.schedule(()=>e.complete()))}(t):Bu}function qu(t){return new _(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?L(n):Vu()).subscribe(e)})}function Gu(){return B(1)}function Qu(t,e){return function(n){return n.lift(new Wu(t,e))}}class Wu{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Ku(t,this.predicate,this.thisArg))}}class Ku extends f{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 Zu=(()=>{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 Yu(t){return function(e){return 0===t?Vu():e.lift(new Ju(t))}}class Ju{constructor(t){if(this.total=t,this.total<0)throw new Zu}call(t,e){return e.subscribe(new Xu(t,this.total))}}class Xu extends f{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 s=0;se.lift(new eh(t))}class eh{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new nh(t,this.errorFactory))}}class nh extends f{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 rh(){return new zu}function sh(t=null){return e=>e.lift(new ih(t))}class ih{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new oh(t,this.defaultValue))}}class oh extends f{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 ah(t,e){return"function"==typeof e?n=>n.pipe(ah((n,r)=>L(t(n,r)).pipe(T((t,s)=>e(n,t,r,s))))):e=>e.lift(new lh(t))}class lh{constructor(t){this.project=t}call(t,e){return e.subscribe(new ch(t,this.project))}}class ch extends F{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)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new M(this),r=this.destination;r.add(n),this.innerSubscription=U(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}function uh(t){return e=>0===t?Vu():e.lift(new hh(t))}class hh{constructor(t){if(this.total=t,this.total<0)throw new Zu}call(t,e){return e.subscribe(new dh(t,this.total))}}class dh extends f{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 ph(...t){return Gu()(Du(...t))}class fh{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new mh(t,this.accumulator,this.seed,this.hasSeed))}}class mh extends f{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 gh(t){return function(e){const n=new yh(t),r=e.lift(n);return n.caught=r}}class yh{constructor(t){this.selector=t}call(t,e){return e.subscribe(new _h(t,this.selector,this.caught))}}class _h extends F{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 M(this);this.add(r);const s=U(n,r);s!==r&&this.add(s)}}}function vh(t,e){return H(t,e,1)}function bh(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Qu((e,n)=>t(e,n,r)):y,uh(1),n?sh(e):th(()=>new zu))}function wh(){}function Sh(t,e,n){return function(r){return r.lift(new Eh(t,e,n))}}class Eh{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Ch(t,this.nextOrObserver,this.error,this.complete))}}class Ch extends f{constructor(t,e,n,s){super(t),this._tapNext=wh,this._tapError=wh,this._tapComplete=wh,this._tapError=n||wh,this._tapComplete=s||wh,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||wh,this._tapError=e.error||wh,this._tapComplete=e.complete||wh)}_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 xh{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Th(t,this.callback))}}class Th extends f{constructor(t,e){super(t),this.add(new h(e))}}class kh{constructor(t,e){this.id=t,this.url=e}}class Ah extends kh{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 Ih extends kh{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Rh extends kh{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Oh extends kh{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ph extends kh{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 Nh extends kh{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 Dh extends kh{constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class jh extends kh{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 Lh extends kh{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 Mh{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Fh{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Uh{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hh{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $h{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zh{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bh{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}')`}}class Vh{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,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 qh(t){return new Vh(t)}function Gh(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Qh(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.lengthr[e]===t)}return t===e}function Zh(t){return Array.prototype.concat.apply([],t)}function Yh(t){return t.length>0?t[t.length-1]:null}function Jh(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Xh(t){return(e=t)&&"function"==typeof e.subscribe?t:Xi(t)?L(Promise.resolve(t)):Du(t);var e}function td(t,e,n){return n?function(t,e){return Wh(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!sd(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=>Kh(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,s){if(n.segments.length>s.length)return!!sd(n.segments.slice(0,s.length),s)&&!r.hasChildren();if(n.segments.length===s.length){if(!sd(n.segments,s))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=s.slice(0,n.segments.length),i=s.slice(n.segments.length);return!!sd(n.segments,t)&&!!n.children.primary&&e(n.children.primary,r,i)}}(e,n,n.segments)}(t.root,e.root)}class ed{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qh(this.queryParams)),this._queryParamMap}toString(){return ld.serialize(this)}}class nd{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Jh(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return cd(this)}}class rd{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=qh(this.parameters)),this._parameterMap}toString(){return md(this)}}function sd(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function id(t,e){let n=[];return Jh(t.children,(t,r)=>{"primary"===r&&(n=n.concat(e(t,r)))}),Jh(t.children,(t,r)=>{"primary"!==r&&(n=n.concat(e(t,r)))}),n}class od{}class ad{parse(t){const e=new bd(t);return new ed(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return cd(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",r=[];return Jh(e.children,(e,n)=>{"primary"!==n&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=id(e,(n,r)=>"primary"===r?[t(e.children.primary,!1)]:[`${r}:${t(n,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${cd(e)}/${n[0]}`:`${cd(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=>`${hd(e)}=${hd(t)}`).join("&"):`${hd(e)}=${hd(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const ld=new ad;function cd(t){return t.segments.map(t=>md(t)).join("/")}function ud(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function hd(t){return ud(t).replace(/%3B/gi,";")}function dd(t){return ud(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function pd(t){return decodeURIComponent(t)}function fd(t){return pd(t.replace(/\+/g,"%20"))}function md(t){return`${dd(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${dd(t)}=${dd(e[t])}`).join("")}`;var e}const gd=/^[^\/()?;=#]+/;function yd(t){const e=t.match(gd);return e?e[0]:""}const _d=/^[^=?&#]+/,vd=/^[^?&#]+/;class bd{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nd([],{}):new nd([],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 nd(t,e)),n}parseSegment(){const t=yd(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new rd(pd(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=yd(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=yd(this.remaining);t&&(n=t,this.capture(n))}t[pd(e)]=pd(n)}parseQueryParam(t){const e=function(t){const e=t.match(_d);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(vd);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=fd(e),s=fd(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=yd(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s="primary");const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new nd([],i),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 wd{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=Sd(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Sd(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Ed(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Ed(t,this._root).map(t=>t.value)}}function Sd(t,e){if(t===e.value)return e;for(const n of e.children){const e=Sd(t,n);if(e)return e}return null}function Ed(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Ed(t,n);if(r.length)return r.unshift(e),r}return[]}class Cd{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function xd(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Td extends wd{constructor(t,e){super(t),this.snapshot=e,Pd(this,t)}toString(){return this.snapshot.toString()}}function kd(t,e){const n=function(t,e){const n=new Rd([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Od("",new Cd(n,[]))}(t,e),r=new ju([new rd("",{})]),s=new ju({}),i=new ju({}),o=new ju({}),a=new ju(""),l=new Ad(r,s,o,a,i,"primary",e,n.root);return l.snapshot=n.root,new Td(new Cd(l,[]),n)}class Ad{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,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(T(t=>qh(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(T(t=>qh(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Id(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 Rd{constructor(t,e,n,r,s,i,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,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=qh(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qh(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Od extends wd{constructor(t,e){super(e),this.url=t,Pd(this,e)}toString(){return Nd(this._root)}}function Pd(t,e){e.value._routerState=t,e.children.forEach(e=>Pd(t,e))}function Nd(t){const e=t.children.length>0?` { ${t.children.map(Nd).join(", ")} } `:"";return`${t.value}${e}`}function Dd(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Wh(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Wh(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nWh(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||jd(t.parent,e.parent))}function Ld(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Md(t){return"object"==typeof t&&null!=t&&t.outlets}function Fd(t,e,n,r,s){let i={};return r&&Jh(r,(t,e)=>{i[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new ed(n.root===t?e:function t(e,n,r){const s={};return Jh(e.children,(e,i)=>{s[i]=e===n?r:t(e,n,r)}),new nd(e.segments,s)}(n.root,t,e),i,s)}class Ud{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Ld(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Md);if(r&&r!==Yh(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Hd{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function $d(t,e,n){if(t||(t=new nd([],{})),0===t.segments.length&&t.hasChildren())return zd(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return i;const e=t.segments[s],o=n[r];if(Md(o))break;const a=""+o,l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Gd(a,l,e))return i;r+=2}else{if(!Gd(a,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex{null!==n&&(s[r]=$d(t.children[r],e,n))}),Jh(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new nd(t.segments,s)}}function Bd(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s{null!==t&&(e[n]=Bd(new nd([],{}),0,t))}),e}function qd(t){const e={};return Jh(t,(t,n)=>e[n]=""+t),e}function Gd(t,e,n){return t==n.path&&Wh(e,n.parameters)}class Qd{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),Dd(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=xd(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Jh(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&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=xd(t),s=t.value.component?n.children:e;Jh(r,(t,e)=>this.deactivateRouteAndItsChildren(t,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=xd(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new zh(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Hh(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(Dd(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.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),Wd(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),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Wd(t){Dd(t.value),t.children.forEach(Wd)}class Kd{constructor(t,e){this.routes=t,this.module=e}}function Zd(t){return"function"==typeof t}function Yd(t){return t instanceof ed}const Jd=Symbol("INITIAL_VALUE");function Xd(){return ah(t=>function(...t){let e=void 0,n=void 0;return x(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),V(t,n).lift(new Hu(e))}(...t.map(t=>t.pipe(uh(1),function(...t){const e=t[t.length-1];return x(e)?(t.pop(),n=>ph(t,n,e)):e=>ph(t,e)}(Jd)))).pipe(function(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new fh(t,e,n))}}((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==Jd)return t;if(r===Jd&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||Yd(r))return r}return t},t)},Jd),Qu(t=>t!==Jd),T(t=>Yd(t)?t:!0===t),uh(1)))}let tp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Wt({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Ji(0,"router-outlet")},directives:function(){return[Gp]},encapsulation:2}),t})();function ep(t,e=""){for(let n=0;ne.error(new op(t)))}function cp(t){return new _(e=>e.error(new ap(t)))}function up(t){return new _(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class hp{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Wa)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(T(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(gh(t=>{if(t instanceof ap)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof op)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(T(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(gh(t=>{if(t instanceof op)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 nd([],{primary:t}):t;return new ed(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(T(t=>new nd([],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 Du({});const n=[],r=[],s={};return Jh(t,(t,i)=>{const o=e(i,t).pipe(T(t=>s[i]=t));"primary"===i?n.push(o):r.push(o)}),Du.apply(null,n.concat(r)).pipe(Gu(),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Qu((e,n)=>t(e,n,r)):y,Yu(1),n?sh(e):th(()=>new zu))}(),T(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,s,i){const o=function(t){return t.reduce((t,e)=>{const n=ip(e);return t.has(n)?t.get(n).push(e):t.set(n,[e]),t},new Map)}(n);o.has(s)||o.set(s,[]);const a=n=>L(n).pipe(vh(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(gh(t=>{if(t instanceof op)return Du(null);throw t}))),bh(t=>null!==t),gh(t=>{if(t instanceof zu||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,s))return Du(new nd([],{}));throw new op(e)}throw t}));return L(Array.from(o.entries()).map(([t,e])=>{const n=a(e);return t===s?n:n.pipe(T(()=>null),gh(()=>Du(null)))})).pipe(t=>t.lift(new Hu(void 0)),bh(),T(t=>t.find(t=>null!==t)))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return ip(r)!==i&&""!==r.path?lp(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):lp(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?cp(s):this.lineralizeSegments(n,s).pipe(H(n=>{const s=new nd(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=dp(e,r,s);if(!o)return lp(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?cp(u):this.lineralizeSegments(r,u).pipe(H(r=>this.expandSegment(t,e,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(T(t=>(n._loadedConfig=t,new nd(r,{})))):Du(new nd(r,{}));const{matched:s,consumedSegments:i,lastChild:o}=dp(e,n,r);if(!s)return lp(e);const a=r.slice(o);return this.getChildConfig(t,n,r).pipe(H(t=>{const n=t.module,r=t.routes,{segmentGroup:s,slicedSegments:o}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>fp(t,e,n)&&"primary"!==ip(n))}(t,n,r)?{segmentGroup:pp(new nd(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&"primary"!==ip(r)&&(n[ip(r)]=new nd([],{}));return n}(r,new nd(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>fp(t,e,n))}(t,n,r)?{segmentGroup:pp(new nd(t.segments,function(t,e,n,r){const s={};for(const i of n)fp(t,e,i)&&!r[ip(i)]&&(s[ip(i)]=new nd([],{}));return Object.assign(Object.assign({},r),s)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,i,a,r);return 0===o.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(T(t=>new nd(i,t))):0===r.length&&0===o.length?Du(new nd(i,{})):this.expandSegment(n,s,r,o,"primary",!0).pipe(T(t=>new nd(i.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Du(new Kd(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Du(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(H(n=>n?this.configLoader.load(t.injector,e).pipe(T(t=>(e._loadedConfig=t,t))):function(t){return new _(e=>e.error(Gh(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Du(new Kd([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?Du(r.map(r=>{const s=t.get(r);let i;if(function(t){return t&&Zd(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!Zd(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return Xh(i)})).pipe(Xd(),Sh(t=>{if(!Yd(t))return;const e=Gh(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),T(t=>!0===t)):Du(!0)}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Du(n);if(r.numberOfChildren>1||!r.children.primary)return up(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 s=this.createSegmentGroup(t,e.root,n,r);return new ed(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Jh(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return Jh(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new nd(s,i)}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 dp(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||Qh)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function pp(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new nd(t.segments.concat(e.segments),e.children)}return t}function fp(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}class mp{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class gp{constructor(t,e){this.component=t,this.route=e}}function yp(t,e,n){const r=t._root;return function t(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=xd(n);return e.children.forEach(e=>{!function(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!sd(t.url,e.url);case"pathParamsOrQueryParamsChange":return!sd(t.url,e.url)||!Wh(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jd(t,e)||!Wh(t.queryParams,e.queryParams);case"paramsChange":default:return!jd(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new mp(s)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?l?l.children:null:r,s,i),c&&l&&l.outlet&&l.outlet.isActivated&&i.canDeactivateChecks.push(new gp(l.outlet.component,a))}else a&&vp(n,l,i),i.canActivateChecks.push(new mp(s)),t(e,null,o.component?l?l.children:null:r,s,i)}(e,o[e.value.outlet],r,s.concat([e.value]),i),delete o[e.value.outlet]}),Jh(o,(t,e)=>vp(t,r.getContext(e),i)),i}(r,e?e._root:null,n,[r.value])}function _p(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 vp(t,e,n){const r=xd(t),s=t.value;Jh(r,(t,r)=>{vp(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new gp(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}function bp(t,e){return null!==t&&e&&e(new $h(t)),Du(!0)}function wp(t,e){return null!==t&&e&&e(new Uh(t)),Du(!0)}function Sp(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Du(r.map(r=>qu(()=>{const s=_p(r,e,n);let i;if(function(t){return t&&Zd(t.canActivate)}(s))i=Xh(s.canActivate(e,t));else{if(!Zd(s))throw new Error("Invalid CanActivate guard");i=Xh(s(e,t))}return i.pipe(bh())}))).pipe(Xd()):Du(!0)}function Ep(t,e,n){const r=e[e.length-1],s=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=>qu(()=>Du(e.guards.map(s=>{const i=_p(s,e.node,n);let o;if(function(t){return t&&Zd(t.canActivateChild)}(i))o=Xh(i.canActivateChild(r,t));else{if(!Zd(i))throw new Error("Invalid CanActivateChild guard");o=Xh(i(r,t))}return o.pipe(bh())})).pipe(Xd())));return Du(s).pipe(Xd())}class Cp{}class xp{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){try{const t=Ap(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new Rd([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Cd(n,e),s=new Od(this.url,r);return this.inheritParamsAndData(s._root),Du(s)}catch(t){return new _(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=Id(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=id(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 i of t)try{return this.processSegmentAgainstRoute(i,e,n,r)}catch(s){if(!(s instanceof Cp))throw s}if(this.noLeftoversInUrl(e,n,r))return[];throw new Cp}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new Cp;if((t.outlet||"primary")!==r)throw new Cp;let s,i=[],o=[];if("**"===t.path){const i=n.length>0?Yh(n).parameters:{};s=new Rd(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Op(t),r,t.component,t,Tp(e),kp(e)+n.length,Pp(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Cp;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||Qh)(n,t,e);if(!r)throw new Cp;const s={};Jh(r.posParams,(t,e)=>{s[e]=t.path});const i=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(e,t,n);i=a.consumedSegments,o=n.slice(a.lastChild),s=new Rd(i,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Op(t),r,t.component,t,Tp(e),kp(e)+i.length,Pp(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Ap(e,i,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return[new Cd(s,t)]}if(0===a.length&&0===c.length)return[new Cd(s,[])];const u=this.processSegment(a,l,c,"primary");return[new Cd(s,u)]}}function Tp(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function kp(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 Ap(t,e,n,r,s){if(n.length>0&&function(t,e,n){return n.some(n=>Ip(t,e,n)&&"primary"!==Rp(n))}(t,n,r)){const s=new nd(e,function(t,e,n,r){const s={};s.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&"primary"!==Rp(i)){const n=new nd([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[Rp(i)]=n}return s}(t,e,r,new nd(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ip(t,e,n))}(t,n,r)){const i=new nd(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(Ip(t,n,a)&&!s[Rp(a)]){const n=new nd([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[Rp(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new nd(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function Ip(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Rp(t){return t.outlet||"primary"}function Op(t){return t.data||{}}function Pp(t){return t.resolve||{}}function Np(t){return function(e){return e.pipe(ah(e=>{const n=t(e);return n?L(n).pipe(T(()=>e)):L([e])}))}}class Dp extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const jp=new _t("ROUTES");class Lp{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(T(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new Kd(Zh(r.injector.get(jp)).map(sp),r)}))}loadModuleFactory(t){return"string"==typeof t?L(this.loader.load(t)):Xh(t()).pipe(H(t=>t instanceof Ka?Du(t):L(this.compiler.compileModuleAsync(t))))}}class Mp{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Fp,this.attachRef=null}}class Fp{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 Mp,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Up{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Hp(t){throw t}function $p(t,e,n){return e.parse("/")}function zp(t,e){return Du(null)}let Bp=(()=>{class t{constructor(t,e,n,r,s,i,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new E,this.errorHandler=Hp,this.malformedUriErrorHandler=$p,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:zp,afterPreactivation:zp},this.urlHandlingStrategy=new Up,this.routeReuseStrategy=new Dp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(Wa),this.console=s.get(Ml);const l=s.get(Zl);this.isNgZoneEnabled=l instanceof Zl,this.resetConfig(a),this.currentUrlTree=new ed(new nd([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Lp(i,o,t=>this.triggerEvent(new Mh(t)),t=>this.triggerEvent(new Fh(t))),this.routerState=kd(this.currentUrlTree,this.rootComponentType),this.transitions=new ju({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(Qu(t=>0!==t.id),T(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),ah(t=>{let n=!1,r=!1;return Du(t).pipe(Sh(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}}),ah(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Du(t).pipe(ah(t=>{const n=this.transitions.getValue();return e.next(new Ah(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Bu:[t]}),ah(t=>Promise.resolve(t)),(r=this.ngModule.injector,s=this.configLoader,i=this.urlSerializer,o=this.config,function(t){return t.pipe(ah(t=>function(t,e,n,r,s){return new hp(t,e,n,r,s).apply()}(r,s,i,t.extractedUrl,o).pipe(T(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Sh(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return function(i){return i.pipe(H(i=>function(t,e,n,r,s="emptyOnly",i="legacy"){return new xp(t,e,n,r,s,i).recognize()}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(T(t=>Object.assign(Object.assign({},i),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Sh(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Sh(t=>{const n=new Ph(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,s,i,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new Ah(n,this.serializeUrl(r),s,i);e.next(a);const l=kd(r,this.rootComponentType).snapshot;return Du(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Bu}),Np(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),Sh(t=>{const e=new Nh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),T(t=>Object.assign(Object.assign({},t),{guards:yp(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(H(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?Du(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return L(t).pipe(H(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Du(i.map(i=>{const o=_p(i,e,s);let a;if(function(t){return t&&Zd(t.canDeactivate)}(o))a=Xh(o.canDeactivate(t,e,n,r));else{if(!Zd(o))throw new Error("Invalid CanDeactivate guard");a=Xh(o(t,e,n,r))}return a.pipe(bh())})).pipe(Xd()):Du(!0)}(t.component,t.route,n,e,r)),bh(t=>!0!==t,!0))}(o,r,s,t).pipe(H(n=>n&&"boolean"==typeof n?function(t,e,n,r){return L(e).pipe(vh(e=>L([wp(e.route.parent,r),bp(e.route,r),Ep(t,e.path,n),Sp(t,e.route,n)]).pipe(Gu(),bh(t=>!0!==t,!0))),bh(t=>!0!==t,!0))}(r,i,t,e):Du(n)),T(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Sh(t=>{if(Yd(t.guardsResult)){const e=Gh(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Sh(t=>{const e=new Dh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Qu(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Rh(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Np(t=>{if(t.guards.canActivateChecks.length)return Du(t).pipe(Sh(t=>{const e=new jh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),ah(t=>{let n=!1;return Du(t).pipe((r=this.paramsInheritanceStrategy,s=this.ngModule.injector,function(t){return t.pipe(H(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Du(t);let i=0;return L(n).pipe(vh(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return Du({});const i={};return L(s).pipe(H(s=>function(t,e,n,r){const s=_p(t,e,r);return Xh(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,r).pipe(Sh(t=>{i[s]=t}))),Yu(1),H(()=>Object.keys(i).length===s.length?Du(i):Bu))}(t._resolve,t,e,r).pipe(T(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Id(t,n).resolve),null)))}(t.route,e,r,s)),Sh(()=>i++),Yu(1),H(e=>i===n.length?Du(t):Bu))}))}),Sh({next:()=>n=!0,complete:()=>{if(!n){const n=new Rh(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var r,s}),Sh(t=>{const e=new Lh(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Np(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),T(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const s=r.value;s._futureSnapshot=n.value;const i=function(e,n,r){return n.children.map(n=>{for(const s of r.children)if(e.shouldReuseRoute(n.value,s.value.snapshot))return t(e,n,s);return t(e,n)})}(e,n,r);return new Cd(s,i)}{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 Cd(r,i)}}var s}(t,e._root,n?n._root:void 0);return new Td(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Sh(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)}),(i=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),T(t=>(new Qd(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),Sh({next(){n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Rh(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 xh(s))),gh(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=Yd(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Rh(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),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 Oh(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return Bu}));var s,i,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=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:r}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(r,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){ep(t),this.config=t.map(sp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:i,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let c=null;switch(i){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,s){if(0===n.length)return Fd(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Ud(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Jh(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===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Ud(n,e,r)}(n);if(i.toRoot())return Fd(e.root,new nd([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new Hd(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new Hd(t,t===e.root,0)}const r=Ld(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new Hd(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?zd(o.segmentGroup,o.index,i.commands):$d(o.segmentGroup,o.index,i.commands);return Fd(o.segmentGroup,a,e,r,s)}(a,this.currentUrlTree,t,c,l)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Yd(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 Ih(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,s){const i=this.getTransition(),o="imperative"!==e&&"imperative"===(null==i?void 0:i.source),a=(this.lastSuccessfulId===i.id||this.currentNavigation?i.rawUrl:i.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;s?(l=s.resolve,c=s.reject,u=s.promise):u=new Promise((t,e)=>{l=t,c=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const s=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(s,"",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(e){return new(e||t)(me(It),me(od),me(Fp),me(zc),me(Di),me(yc),me(Ql),me(void 0))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})(),Vp=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new E,this.subscription=t.events.subscribe(t=>{t instanceof Ih&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r,s){if(0!==t||e||n||r||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:qp(this.skipLocationChange),replaceUrl:qp(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,queryParamsHandling:this.queryParamsHandling,preserveFragment:qp(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Qi(Bp),Qi(Ad),Qi(Mc))},t.\u0275dir=te({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&to("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)})),2&t&&(go("href",e.href,Fn),Gi("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Bn]}),t})();function qp(t){return""===t||!!t}let Gp=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new dl,this.deactivateEvents=new dl,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,s=new Qp(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(Qi(Fp),Qi(Ya),Qi(pa),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let e=0;for(;e{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new Lp(e,n,e=>t.triggerEvent(new Mh(e)),e=>t.triggerEvent(new Fh(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Qu(t=>t instanceof Ih),vh(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Wa);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&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 L(n).pipe(B(),T(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(H(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(me(Bp),me(yc),me(Ql),me(Di),me(Wp))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})(),Yp=(()=>{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 Ah?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ih&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Bh&&(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 Bh(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(e){return new(e||t)(me(Bp),me(Xc),me(void 0))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();const Jp=new _t("ROUTER_CONFIGURATION"),Xp=new _t("ROUTER_FORROOT_GUARD"),tf=[zc,{provide:od,useClass:ad},{provide:Bp,useFactory:function(t,e,n,r,s,i,o,a={},l,c){const u=new Bp(null,t,e,n,r,s,i,Zh(o));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing){const t=Tc();u.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return u},deps:[od,Fp,zc,Di,yc,Ql,jp,Jp,[class{},new et],[class{},new et]]},Fp,{provide:Ad,useFactory:function(t){return t.routerState.root},deps:[Bp]},{provide:yc,useClass:bc},Zp,Kp,class{preload(t,e){return e().pipe(gh(()=>Du(null)))}},{provide:Jp,useValue:{enableTracing:!1}}];function ef(){return new uc("Router",Bp)}let nf=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[tf,af(e),{provide:Xp,useFactory:of,deps:[[Bp,new et,new rt]]},{provide:Jp,useValue:n||{}},{provide:Mc,useFactory:sf,deps:[Ac,[new tt(Uc),new et],Jp]},{provide:Yp,useFactory:rf,deps:[Bp,Xc,Jp]},{provide:Wp,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Kp},{provide:uc,multi:!0,useFactory:ef},[lf,{provide:Il,multi:!0,useFactory:cf,deps:[lf]},{provide:hf,useFactory:uf,deps:[lf]},{provide:Ll,multi:!0,useExisting:hf}]]}}static forChild(e){return{ngModule:t,providers:[af(e)]}}}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)(me(Xp,8),me(Bp,8))}}),t})();function rf(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Yp(t,e,n)}function sf(t,e,n={}){return n.useHash?new $c(t,e):new Hc(t,e)}function of(t){return"guarded"}function af(t){return[{provide:vt,multi:!0,useValue:t},{provide:jp,multi:!0,useValue:t}]}let lf=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new E}appInitializer(){return this.injector.get(Rc,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Bp),r=this.injector.get(Jp);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Du(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Jp),n=this.injector.get(Zp),r=this.injector.get(Yp),s=this.injector.get(Bp),i=this.injector.get(mc);t===i.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(me(Di))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();function cf(t){return t.appInitializer.bind(t)}function uf(t){return t.bootstrapListener.bind(t)}const hf=new _t("Router Initializer");let df,pf=(()=>{class t{constructor(t,e,n){this.document=t,this.title=e,this.meta=n}updateMetaData(t,e,n){var r,s=document.getElementsByTagName("link");let i=!1;for(var o=0;o{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Jc(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!df)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(me(jl))},t.\u0275prov=ct({factory:function(){return new t(me(jl))},token:t,providedIn:"root"}),t})(),yf=(()=>{class t{}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)}}),t})();function _f(t){return function(){if(null==ff&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ff=!0}))}finally{ff=ff||!1}return ff}()?t:!!t.capture}function vf(t){return null!=t&&""+t!="false"}function bf(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function wf(t){return t instanceof ya?t.nativeElement:t}function Sf(t){return 0===t.buttons}"undefined"!=typeof Element&∈const Ef=new _t("cdk-focus-monitor-default-options"),Cf=_f({passive:!0,capture:!0});let xf=(()=>{class t{constructor(t,e,n,r){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=Sf(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=Tf(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=Tf(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let r=e;r;r=r.parentElement)n.call(this,t,r)},this._document=n,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(t,e=!1){if(!this._platform.isBrowser)return Du(null);const n=wf(t),r=function(t){if(function(){if(null==mf){const t="undefined"!=typeof document?document.head:null;mf=!(!t||!t.createShadowRoot&&!t.attachShadow)}return mf}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(n)||this._getDocument(),s=this._elementInfo.get(n);if(s)return e&&(s.checkChildren=!0),s.subject;const i={checkChildren:e,subject:new E,rootNode:r};return this._elementInfo.set(n,i),this._registerGlobalListeners(i),i.subject}stopMonitoring(t){const e=wf(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const r=wf(t);this._setOriginForCurrentEventQueue(e),"function"==typeof r.focus&&r.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=Tf(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==Tf(t))return;const r=this._getFocusOrigin(t);this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Cf),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Cf)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,Cf),t.addEventListener("mousedown",this._documentMousedownListener,Cf),t.addEventListener("touchstart",this._documentTouchstartListener,Cf),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Cf),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Cf),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,Cf),t.removeEventListener("mousedown",this._documentMousedownListener,Cf),t.removeEventListener("touchstart",this._documentTouchstartListener,Cf),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return t.\u0275fac=function(e){return new(e||t)(me(Zl),me(gf),me(kc,8),me(Ef,8))},t.\u0275prov=ct({factory:function(){return new t(me(Zl),me(gf),me(kc,8),me(Ef,8))},token:t,providedIn:"root"}),t})();function Tf(t){return t.composedPath?t.composedPath()[0]:t.target}let kf=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(me(gf),me(kc))},t.\u0275prov=ct({factory:function(){return new t(me(gf),me(kc))},token:t,providedIn:"root"}),t})();const Af=new _t("cdk-dir-doc",{providedIn:"root",factory:function(){return ge(kc)}});let If=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new dl,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(me(Af,8))},t.\u0275prov=ct({factory:function(){return new t(me(Af,8))},token:t,providedIn:"root"}),t})(),Rf=(()=>{class t{}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)}}),t})();const Of=new Sa("10.2.0");class Pf{}function Nf(t,e=null){return{type:2,steps:t,options:e}}function Df(t){return{type:6,styles:t,offset:null}}function jf(t){Promise.resolve(null).then(t)}class Lf{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){jf(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Mf{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const s=this.players.length;0==s?jf(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function Ff(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Uf(t){switch(t.length){case 0:return new Lf;case 1:return t[0];default:return new Mf(t)}}function Hf(t,e,n,r,s={},i={}){const o=[],a=[];let l=-1,c=null;if(r.forEach(t=>{const n=t.offset,r=n==l,u=r&&c||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,o),a){case"!":a=s[n];break;case"*":a=i[n];break;default:a=e.normalizeStyleValue(n,r,a,o)}u[r]=a}),r||a.push(u),c=u,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function $f(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&zf(n,"start",t)));break;case"done":t.onDone(()=>r(n&&zf(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&zf(n,"destroy",t)))}}function zf(t,e,n){const r=n.totalTime,s=Bf(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),i=t._data;return null!=i&&(s._data=i),s}function Bf(t,e,n,r,s="",i=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:s,totalTime:i,disabled:!!o}}function Vf(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function qf(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Gf=(t,e)=>!1,Qf=(t,e)=>!1,Wf=(t,e,n)=>[];const Kf=Ff();(Kf||"undefined"!=typeof Element)&&(Gf=(t,e)=>t.contains(e),Qf=(()=>{if(Kf||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):Qf}})(),Wf=(t,e,n)=>{let r=[];if(n)r.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&r.push(n)}return r});let Zf=null,Yf=!1;function Jf(t){Zf||(Zf=("undefined"!=typeof document?document.body:null)||{},Yf=!!Zf.style&&"WebkitAppearance"in Zf.style);let e=!0;return Zf.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in Zf.style,!e&&Yf)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Zf.style),e}const Xf=Qf,tm=Gf,em=Wf;function nm(t){const e={};return Object.keys(t).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let rm=(()=>{class t{validateStyleProperty(t){return Jf(t)}matchesElement(t,e){return Xf(t,e)}containsElement(t,e){return tm(t,e)}query(t,e,n){return em(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,s,i=[],o){return new Lf(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})(),sm=(()=>{class t{}return t.NOOP=new rm,t})();function im(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:om(parseFloat(e[1]),e[2])}function om(t,e){switch(e){case"s":return 1e3*t;default:return t}}function am(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,s=0,i="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};r=om(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=om(parseFloat(o),n[4]));const a=n[5];a&&(i=a)}else r=t;if(!n){let n=!1,i=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(i,0,`The provided timing value "${t}" is invalid.`)}return{duration:r,delay:s,easing:i}}(t,e,n)}function lm(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function cm(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else lm(t,n);return n}function um(t,e,n){return n?e+":"+n+";":""}function hm(t){let e="";for(let n=0;n{const s=bm(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[s]),t.style[s]=e[r]}),Ff()&&hm(t))}function pm(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=bm(e);t.style[n]=""}),Ff()&&hm(t))}function fm(t){return Array.isArray(t)?1==t.length?t[0]:Nf(t):t}const mm=new RegExp("{{\\s*(.+?)\\s*}}","g");function gm(t){let e=[];if("string"==typeof t){let n;for(;n=mm.exec(t);)e.push(n[1]);mm.lastIndex=0}return e}function ym(t,e,n){const r=t.toString(),s=r.replace(mm,(t,r)=>{let s=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),s=""),s.toString()});return s==r?t:s}function _m(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const vm=/-+([a-z0-9])/g;function bm(t){return t.replace(vm,(...t)=>t[1].toUpperCase())}function wm(t,e){return 0===t||0===e}function Sm(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let i=e[0],o=[];if(r.forEach(t=>{i.hasOwnProperty(t)||o.push(t),i[t]=n[t]}),o.length)for(var s=1;sfunction(t,e,n){if(":"==t[0]){const r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=r[1],i=r[2],o=r[3];e.push(Am(s,o)),"<"!=i[0]||"*"==s&&"*"==o||e.push(Am(o,s))}(t,n,e)):n.push(t),n}const Tm=new Set(["true","1"]),km=new Set(["false","0"]);function Am(t,e){const n=Tm.has(t)||km.has(t),r=Tm.has(e)||km.has(e);return(s,i)=>{let o="*"==t||t==s,a="*"==e||e==i;return!o&&n&&"boolean"==typeof s&&(o=s?Tm.has(t):km.has(t)),!a&&r&&"boolean"==typeof i&&(a=i?Tm.has(e):km.has(e)),o&&a}}const Im=new RegExp("s*:selfs*,?","g");function Rm(t,e,n){return new Om(t).build(e,n)}class Om{constructor(t){this._driver=t}build(t,e){const n=new Pm(e);return this._resetContextStyleTimingState(n),Em(this,fm(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const s=[],i=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,r+=s.depCount,i.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:i,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,i=r||{};if(n.styles.forEach(t=>{if(Nm(t)){const e=t;Object.keys(e).forEach(t=>{gm(e[t]).forEach(t=>{i.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=_m(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Em(this,fm(t.animation),e);return{type:1,matchers:xm(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:Dm(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Em(this,t,e)),options:Dm(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const s=t.steps.map(t=>{e.currentTime=n;const s=Em(this,t,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:s,options:Dm(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return jm(am(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=jm(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||am(r,e),jm(n.duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let s=t.styles?t.styles:Df({});if(5==s.type)r=this.visitKeyframes(s,e);else{let s=t.styles,i=!1;if(!s){i=!0;const t={};n.easing&&(t.easing=n.easing),s=Df(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(s,e);o.isEmptyStep=i,r=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?"*"==t?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,s=null;return n.forEach(t=>{if(Nm(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],o=i[n];let a=!0;o&&(s!=r&&s>=o.startTime&&r<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${r}ms"`),a=!1),s=o.startTime),a&&(i[n]={startTime:s,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},s=gm(t);s.length&&s.forEach(t=>{r.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const s=[];let i=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(Nm(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(Nm(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,i=i||c0&&r{const i=u>0?r==h?1:u*r:s[r],o=i*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=i,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Em(this,fm(t.animation),e),options:Dm(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Dm(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Dm(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[s,i]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Im,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,Vf(e.collectedStyles,e.currentQuerySelector,{});const o=Em(this,fm(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:o,originalSelector:t.selector,options:Dm(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:am(t.timings,e.errors,!0);return{type:12,animation:Em(this,fm(t.animation),e),timings:n,options:null}}}class Pm{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Nm(t){return!Array.isArray(t)&&"object"==typeof t}function Dm(t){var e;return t?(t=lm(t)).params&&(t.params=(e=t.params)?lm(e):null):t={},t}function jm(t,e,n){return{duration:t,delay:e,easing:n}}function Lm(t,e,n,r,s,i,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:s,delay:i,totalTime:s+i,easing:o,subTimeline:a}}class Mm{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const Fm=new RegExp(":enter","g"),Um=new RegExp(":leave","g");function Hm(t,e,n,r,s,i={},o={},a,l,c=[]){return(new $m).buildKeyframes(t,e,n,r,s,i,o,a,l,c)}class $m{buildKeyframes(t,e,n,r,s,i,o,a,l,c=[]){l=l||new Mm;const u=new Bm(t,e,l,r,s,c,[]);u.options=a,u.currentTimeline.setStyles([i],null,u.errors,a),Em(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[Lm(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),s=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);s!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let r=e.currentTimeline.currentTime;const s=null!=n.duration?im(n.duration):null,i=null!=n.delay?im(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,i);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),Em(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const s=t.options;if(s&&(s.params||s.delay)&&(r=e.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=zm);const t=im(s.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Em(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?im(t.options.delay):0;t.steps.forEach(i=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),Em(this,i,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return am(e.params?ym(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,s=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(t=>{i.forwardTime((t.offset||0)*s),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(r+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},s=r.delay?im(r.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=zm);let i=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),Em(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,s=t.timings,i=Math.abs(s.duration),o=i*(e.currentQueryTotal-1);let a=i*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Em(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const zm={};class Bm{constructor(t,e,n,r,s,i,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=s,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=zm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Vm(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=im(n.duration)),null!=n.delay&&(r.delay=im(n.delay));const s=n.params;if(s){let t=r.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=ym(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,s=new Bm(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=zm,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new qm(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,s,i){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(Fm,"."+this._enterClassName)).replace(Um,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return s||0!=o.length||i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class Vm{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Vm(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||"*",this._currentKeyframe[t]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},i=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]="*"})):cm(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(i).forEach(t=>{const e=ym(i[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:"*"),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,i)=>{const o=cm(s,!0);Object.keys(o).forEach(n=>{const r=o[n];"!"==r?t.add(n):"*"==r&&e.add(n)}),n||(o.offset=i/this.duration),r.push(o)});const s=t.size?_m(t.values()):[],i=e.size?_m(e.values()):[];if(n){const t=r[0],e=lm(t);t.offset=0,e.offset=1,r=[t,e]}return Lm(this.element,r,s,i,this.duration,this.startTime,this.easing,!1)}}class qm extends Vm{constructor(t,e,n,r,s,i,o=!1){super(t,e,i.delay),this.element=e,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],i=n+e,o=e/i,a=cm(t[0],!1);a.offset=0,s.push(a);const l=cm(t[0],!1);l.offset=Gm(o),s.push(l);const c=t.length-1;for(let r=1;r<=c;r++){let o=cm(t[r],!1);o.offset=Gm((e+o.offset*n)/i),s.push(o)}n=i,e=0,r="",t=s}return Lm(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function Gm(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Qm{}class Wm extends Qm{normalizePropertyName(t,e){return bm(t)}normalizeStyleValue(t,e,n,r){let s="";const i=n.toString().trim();if(Km[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return i+s}}const Km=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Zm(t,e,n,r,s,i,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Ym={};class Jm{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,s){return t.some(t=>t(e,n,r,s))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],s=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return s?s.buildStyles(e,n):i}build(t,e,n,r,s,i,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Ym,d=this.buildStyles(n,o&&o.params||Ym,u),p=a&&a.params||Ym,f=this.buildStyles(r,p,u),m=new Set,g=new Map,y=new Map,_="void"===r,v={params:Object.assign(Object.assign({},h),p)},b=c?[]:Hm(t,e,this.ast.animation,s,i,d,f,v,l,u);let w=0;if(b.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),u.length)return Zm(e,this._triggerName,n,r,_,d,f,[],[],g,y,w,u);b.forEach(t=>{const n=t.element,r=Vf(g,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const s=Vf(y,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&m.add(n)});const S=_m(m.values());return Zm(e,this._triggerName,n,r,_,d,f,b,S,g,y,w)}}class Xm{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},r=lm(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let i=s[t];i.length>1&&(i=ym(i,r,e)),n[t]=i})}}),n}}class tg{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Xm(t.style,t.options&&t.options.params||{})}),eg(this.states,"true","1"),eg(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Jm(t,e,this.states))}),this.fallbackTransition=new Jm(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(s=>s.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function eg(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const ng=new Mm;class rg{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=Rm(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r}_buildPlayer(t,e,n){const r=t.element,s=Hf(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],s=this._animations[t];let i;const o=new Map;if(s?(i=Hm(this._driver,e,s,"ng-enter","ng-leave",{},{},n,ng,r),i.forEach(t=>{const e=Vf(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),i=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,"*")})});const a=Uf(i.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,r){const s=Bf(e,"","","");return $f(this._getPlayer(t),n,s,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const sg=[],ig={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},og={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class ag{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=lm(t);delete e.value,this.options=e}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const lg=new ag("void");class cg{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,gg(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const i=Vf(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};i.push(o);const a=Vf(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(gg(t,"ng-trigger"),gg(t,"ng-trigger-"+e),a[e]=lg),()=>{this._engine.afterFlush(()=>{const t=i.indexOf(o);t>=0&&i.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,r=!0){const s=this._getTrigger(e),i=new hg(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(gg(t,"ng-trigger"),gg(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new ag(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=lg),"void"!==l.value&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let s=0;s{pm(t,n),dm(t,r)})}return}const c=Vf(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!r)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:i,isFallbackTransition:h}),h||(gg(t,"ng-animate-queued"),i.onStart(()=>{yg(t,"ng-animate-queued")})),i.onDone(()=>{let e=this.players.indexOf(i);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(i);t>=0&&n.splice(t,1)}}),this.players.push(i),c.push(i),i}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,r){const s=this._engine.statesByElement.get(t);if(s){const i=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",r);n&&i.push(n)}}),i.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&Uf(i).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const r=e.name;if(n.has(r))return;n.add(r);const s=this._triggers[r].fallbackTransition,i=this._engine.statesByElement.get(t)[r]||lg,o=new ag("void"),a=new hg(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:s,fromState:i,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t.__ng_removed;r&&r!==ig||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){gg(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const s=n.element,i=this._elementListeners.get(s);i&&i.forEach(e=>{if(e.name==n.triggerName){const r=Bf(s,n.triggerName,n.fromState.value,n.toState.value);r._data=t,$f(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class ug{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new cg(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let r=0;r=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),gg(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),yg(t,"ng-animate-disabled"))}removeNode(t,e,n,r){if(dg(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,s){return dg(e)?this._fetchNamespace(t).listen(e,n,r,s):()=>{}}_buildInstruction(t,e,n,r,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Uf(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=ig,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Uf(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new Mm,r=[],s=new Map,i=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n="ng-enter"+f++;p.set(e,n),t.forEach(t=>gg(t,n))});const m=[],g=new Set,y=new Set;for(let R=0;Rg.add(t)):y.add(t))}const _=new Map,v=mg(h,Array.from(g));v.forEach((t,e)=>{const n="ng-leave"+f++;_.set(e,n),t.forEach(t=>gg(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=p.get(e);t.forEach(t=>yg(t,n))}),v.forEach((t,e)=>{const n=_.get(e);t.forEach(t=>yg(t,n))}),m.forEach(t=>{this.processLeaveNode(t)})});const b=[],w=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(b.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,s),h=_.get(s),d=p.get(s),f=this._buildInstruction(t,n,d,h,c);if(f.errors&&f.errors.length)w.push(f);else{if(c)return e.onStart(()=>pm(s,f.fromStyles)),e.onDestroy(()=>dm(s,f.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>pm(s,f.fromStyles)),e.onDestroy(()=>dm(s,f.toStyles)),void r.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,f.timelines),i.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>Vf(o,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=l.get(e);r||l.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),b.forEach(t=>t.destroy()),this.reportError(t)}const S=new Map,E=new Map;i.forEach(t=>{const e=t.element;n.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,S))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Vf(S,e,[]).push(t),t.destroy()})});const C=m.filter(t=>vg(t,a,l)),x=new Map;fg(x,this.driver,y,l,"*").forEach(t=>{vg(t,a,l)&&C.push(t)});const T=new Map;d.forEach((t,e)=>{fg(T,this.driver,new Set(t),a,"!")}),C.forEach(t=>{const e=x.get(t),n=T.get(t);x.set(t,Object.assign(Object.assign({},e),n))});const k=[],A=[],I={};i.forEach(t=>{const{element:e,player:i,instruction:o}=t;if(n.has(e)){if(c.has(e))return i.onDestroy(()=>dm(e,o.toStyles)),i.disabled=!0,i.overrideTotalTime(o.totalTime),void r.push(i);let t=I;if(E.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=E.get(n);if(e){t=e;break}r.push(n)}r.forEach(e=>E.set(e,t))}const n=this._buildAnimation(i.namespaceId,o,S,s,T,x);if(i.setRealPlayer(n),t===I)k.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=Uf(e)),r.push(i)}}else pm(e,o.fromStyles),i.onDestroy(()=>dm(e,o.toStyles)),A.push(i),c.has(e)&&r.push(i)}),A.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=Uf(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let R=0;R!t.destroyed);r.length?_g(this,t,r):this.processLeaveNode(t)}return m.length=0,k.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),k}elementContainsData(t,e){let n=!1;const r=e.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,s){let i=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(i=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==r)&&i.push(e)})}}return(n||r)&&(i=i.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),i}_beforeAnimationBuild(t,e,n){const r=e.element,s=e.isRemovalTransition?void 0:t,i=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==r,l=Vf(n,t,[]);this._getPreviousPlayers(t,a,s,i,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}pm(r,e.fromStyles)}_buildAnimation(t,e,n,r,s,i){const o=e.triggerName,a=e.element,l=[],c=new Set,u=new Set,h=e.timelines.map(e=>{const h=e.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new Lf(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return function t(e,n){for(let r=0;rt.getRealPlayer())).filter(t=>!!t.element&&t.element===h),m=s.get(h),g=i.get(h),y=Hf(0,this._normalizer,0,e.keyframes,m,g),_=this._buildPlayer(e,y,f);if(e.subTimeline&&r&&u.add(h),p){const e=new hg(t,o,h);e.setRealPlayer(_),l.push(e)}return _});l.forEach(t=>{Vf(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>gg(t,"ng-animating"));const d=Uf(h);return d.onDestroy(()=>{c.forEach(t=>yg(t,"ng-animating")),dm(a,e.toStyles)}),u.forEach(t=>{Vf(r,t,[]).push(d)}),d}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Lf(t.duration,t.delay)}}class hg{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Lf,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>$f(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Vf(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function dg(t){return t&&1===t.nodeType}function pg(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function fg(t,e,n,r,s){const i=[];n.forEach(t=>i.push(pg(t)));const o=[];r.forEach((n,r)=>{const i={};n.forEach(t=>{const n=i[t]=e.computeStyle(r,t,s);n&&0!=n.length||(r.__ng_removed=og,o.push(r))}),t.set(r,i)});let a=0;return n.forEach(t=>pg(t,i[a++])),o}function mg(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),s=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let i=s.get(e);if(i)return i;const o=e.parentNode;return i=n.has(o)?o:r.has(o)?1:t(o),s.set(e,i),i}(t);1!==e&&n.get(e).push(t)}),n}function gg(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function yg(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function _g(t,e,n){Uf(n).onDone(()=>t.processLeaveNode(e))}function vg(t,e,n){const r=n.get(t);if(!r)return!1;let s=e.get(t);return s?r.forEach(t=>s.add(t)):e.set(t,r),n.delete(t),!0}class bg{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new ug(t,e,n),this._timelineEngine=new rg(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,s){const i=t+"-"+r;let o=this._triggerCache[i];if(!o){const t=[],e=Rm(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new tg(t,e)}(r,e),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,s]=qf(n);this._timelineEngine.command(t,e,s,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,s){if("@"==n.charAt(0)){const[t,r]=qf(n);return this._timelineEngine.listen(t,e,r,s)}return this._transitionEngine.listen(t,e,n,r,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function wg(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=Eg(e[0]),e.length>1&&(r=Eg(e[e.length-1]))):e&&(n=Eg(e)),n||r?new Sg(t,n,r):null}let Sg=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&dm(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(dm(this._element,this._initialStyles),this._endStyles&&(dm(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(pm(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(pm(this._element,this._endStyles),this._endStyles=null),dm(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Eg(t){let e=null;const n=Object.keys(t);for(let r=0;rthis._handleCallback(t)}apply(){!function(t,e){const n=Og(t,"").trim();n.length&&(function(t,e){let n=0;for(let r=0;r=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ig(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Og(t,"").split(","),r=Ag(n,e);r>=0&&(n.splice(r,1),Rg(t,"",n.join(",")))}(this._element,this._name))}}function Tg(t,e,n){Rg(t,"PlayState",n,kg(t,e))}function kg(t,e){const n=Og(t,"");return n.indexOf(",")>0?Ag(n.split(","),e):Ag([n],e)}function Ag(t,e){for(let n=0;n=0)return n;return-1}function Ig(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Rg(t,e,n,r){const s="animation"+e;if(null!=r){const e=t.style[s];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[s]=n}function Og(t,e){return t.style["animation"+e]}class Pg{constructor(t,e,n,r,s,i,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||"linear",this.totalTime=r+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new xg(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:Cm(this.element,n))})}this.currentSnapshot=t}}class Ng extends Lf{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=nm(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class Dg{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return Jf(t)}matchesElement(t,e){return Xf(t,e)}containsElement(t,e){return tm(t,e)}query(t,e,n){return em(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>nm(t));let r=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);r+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${s}animation-timing-function: ${n};\n`));default:return void(r+=`${s}${e}: ${n};\n`)}}),r+=s+"}\n"}),r+="}\n";const i=document.createElement("style");return i.textContent=r,i}animate(t,e,n,r,s,i=[],o){o&&this._notifyFaultyScrubber();const a=i.filter(t=>t instanceof Pg),l={};wm(n,r)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Sm(t,e,l));if(0==n)return new Ng(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const d=wg(t,e),p=new Pg(t,e,u,n,r,s,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class jg{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:Cm(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Lg{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Mg().toString()),this._cssKeyframesDriver=new Dg}validateStyleProperty(t){return Jf(t)}matchesElement(t,e){return Xf(t,e)}containsElement(t,e){return tm(t,e)}query(t,e,n){return em(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,s,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,s,i);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};s&&(a.easing=s);const l={},c=i.filter(t=>t instanceof jg);wm(n,r)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=wg(t,e=Sm(t,e=e.map(t=>cm(t,!1)),l));return new jg(t,e,a,u)}}function Mg(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Fg=(()=>{class t extends Pf{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:Mt.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Nf(t):t;return $g(this._renderer,null,e,"register",[n]),new Ug(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(me(_a),me(kc))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();class Ug extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Hg(this._id,t,e||{},this._renderer)}}class Hg{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return $g(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function $g(t,e,n,r,s){return t.setProperty(e,`@@${n}:${r}`,s)}let zg=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new Bg("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const i=e=>{Array.isArray(e)?e.forEach(i):this.engine.registerTrigger(r,s,t,e.name,e)};return e.data.animation.forEach(i),new Vg(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(me(_a),me(bg),me(Zl))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();class Bg{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,r=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Vg extends Bg{constructor(t,e,n,r){super(e,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),i="";return"@"!=s.charAt(0)&&([s,i]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,r,s,i,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let qg=(()=>{class t extends bg{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(me(kc),me(sm),me(Qm))},t.\u0275prov=ct({token:t,factory:t.\u0275fac}),t})();const Gg=new _t("AnimationModuleType"),Qg=[{provide:sm,useFactory:function(){return"function"==typeof Mg()?new Lg:new Dg}},{provide:Gg,useValue:"BrowserAnimations"},{provide:Pf,useClass:Fg},{provide:Qm,useFactory:function(){return new Wm}},{provide:bg,useClass:qg},{provide:_a,useFactory:function(t,e,n){return new zg(t,e,n)},deps:[yu,bg,Zl]}];let Wg=(()=>{class t{}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:Qg,imports:[Iu]}),t})();const Kg=new Sa("10.2.0"),Zg=new _t("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Yg,Jg=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return bn()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);const r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(n)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Kg.full!==Of.full&&console.warn("The Angular Material version ("+Kg.full+") does not match the Angular CDK version ("+Of.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)(me(kf),me(Zg,8),me(kc,8))},imports:[[Rf],Rf]}),t})();function Xg(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=vf(t)}}}function ty(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-"+e),this._color=e)}}}function ey(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=vf(t)}}}try{Yg="undefined"!=typeof Intl}catch(Vy){Yg=!1}let ny=(()=>{class t{}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Jg],Jg]}),t})();class ry{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const sy={enterDuration:450,exitDuration:400},iy=_f({passive:!0}),oy=["mousedown","touchstart"],ay=["mouseup","mouseleave","touchend","touchcancel"];class ly{constructor(t,e,n,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=wf(n))}fadeInRipple(t,e,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},sy),n.animation);n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const i=n.radius||function(t,e,n){const r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),s=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+s*s)}(t,e,r),o=t-r.left,a=e-r.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-i+"px",c.style.top=a-i+"px",c.style.height=2*i+"px",c.style.width=2*i+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new ry(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,n.persistent||t&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,r=Object.assign(Object.assign({},sy),t.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=wf(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(oy))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(ay),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Sf(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,iy)})})}_removeTriggerEvents(){this._triggerElement&&(oy.forEach(t=>{this._triggerElement.removeEventListener(t,this,iy)}),this._pointerUpEventsRegistered&&ay.forEach(t=>{this._triggerElement.removeEventListener(t,this,iy)}))}}const cy=new _t("mat-ripple-global-options");let uy=(()=>{class t{constructor(t,e,n,r,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new ly(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(Qi(ya),Qi(Zl),Qi(gf),Qi(cy,8),Qi(Gg,8))},t.\u0275dir=te({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&co("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),hy=(()=>{class t{}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[Jg,yf],Jg]}),t})();const dy=["*"],py=".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}\n",fy=new _t("MAT_GRID_LIST");let my=(()=>{class t{constructor(t,e){this._element=t,this._gridList=e,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(t){this._rowspan=Math.round(bf(t))}get colspan(){return this._colspan}set colspan(t){this._colspan=Math.round(bf(t))}_setStyle(t,e){this._element.nativeElement.style[t]=e}}return t.\u0275fac=function(e){return new(e||t)(Qi(ya),Qi(fy,8))},t.\u0275cmp=Wt({type:t,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,e){2&t&&Gi("rowspan",e.rowspan)("colspan",e.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:dy,decls:2,vars:0,consts:[[1,"mat-figure"]],template:function(t,e){1&t&&(so(),Zi(0,"figure",0),io(1),Yi())},styles:[py],encapsulation:2,changeDetection:0}),t})();class gy{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const t=Math.max(...this.tracker);return t>1?this.rowCount+t-1:this.rowCount}update(t,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(t=>this._trackTile(t))}_trackTile(t){const e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new yy(this.rowIndex,e)}_findMatchingGap(t){let e=-1,n=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)):(e=this.tracker.indexOf(0,this.columnIndex),-1!=e?(n=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)))}while(n-e{t._setStyle("top",null),t._setStyle("height",null)})}}class wy extends vy{constructor(t){super(),this._parseRatio(t)}setRowStyles(t,e,n,r){this.baseTileHeight=this.getBaseTileSize(n/this.rowHeightRatio,r),t._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),t._setStyle("paddingTop",Ey(this.getTileSize(this.baseTileHeight,t.rowspan)))}getComputedHeight(){return["paddingBottom",Ey(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(t){t._setListStyle(["paddingBottom",null]),t._tiles.forEach(t=>{t._setStyle("marginTop",null),t._setStyle("paddingTop",null)})}_parseRatio(t){const e=t.split(":");this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}}class Sy extends vy{setRowStyles(t,e){let n=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);t._setStyle("top",this.getTilePosition(n,e)),t._setStyle("height",Ey(this.getTileSize(n,t.rowspan)))}reset(t){t._tiles&&t._tiles.forEach(t=>{t._setStyle("top",null),t._setStyle("height",null)})}}function Ey(t){return`calc(${t})`}function Cy(t){return t.match(/([A-Za-z%]+)$/)?t:t+"px"}let xy=(()=>{class t{constructor(t,e){this._element=t,this._dir=e,this._gutter="1px"}get cols(){return this._cols}set cols(t){this._cols=Math.max(1,Math.round(bf(t)))}get gutterSize(){return this._gutter}set gutterSize(t){this._gutter=""+(null==t?"":t)}get rowHeight(){return this._rowHeight}set rowHeight(t){const e=""+(null==t?"":t);e!==this._rowHeight&&(this._rowHeight=e,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(t){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===t?new Sy:t&&t.indexOf(":")>-1?new wy(t):new by(t)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new gy);const t=this._tileCoordinator,e=this._tiles.filter(t=>!t._gridList||t._gridList===this),n=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,e),this._tileStyler.init(this.gutterSize,t,this.cols,n),e.forEach((e,n)=>{const r=t.positions[n];this._tileStyler.setStyle(e,r.row,r.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(t){t&&(this._element.nativeElement.style[t[0]]=t[1])}}return t.\u0275fac=function(e){return new(e||t)(Qi(ya),Qi(If,8))},t.\u0275cmp=Wt({type:t,selectors:[["mat-grid-list"]],contentQueries:function(t,e,n){if(1&t&&(r=n,s=my,i=!0,function(t,e,n,r,s,i,o,a){t.firstCreatePass&&(kl(t,new yl(n,r,!1,s),o.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,a)),Tl(t,e)}($e(),He(),s,i,o,0,ze(),r)),2&t){let t;El(t=xl())&&(e._tiles=t)}var r,s,i,o},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,e){2&t&&Gi("cols",e.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[ua([{provide:fy,useExisting:t}])],ngContentSelectors:dy,decls:2,vars:0,template:function(t,e){1&t&&(so(),Zi(0,"div"),io(1),Yi())},styles:[py],encapsulation:2,changeDetection:0}),t})(),Ty=(()=>{class t{}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[ny,Jg],ny,Jg]}),t})();const ky=["metaTitleRef"],Ay=["metaDescriptionRef"],Iy=[{path:"",component:(()=>{class t{constructor(t,e){this.localeId=t,this.seoService=e}ngOnInit(){this.setColumns(window.innerWidth)}ngAfterViewInit(){let t="https://teacapps.de/locale/"+this.localeId+"/";"en-US"==this.localeId&&(t="https://teacapps.de/"),this.seoService.updateMetaData(t,this.metaTitleRef.nativeElement.innerText,this.metaDescriptionRef.nativeElement.innerText)}onResize(t){this.setColumns(t.target.innerWidth)}setColumns(t){this.colums=t<260?1:t<450?2:t<670?3:t<1050?4:5}}return t.\u0275fac=function(e){return new(e||t)(Qi(Fl),Qi(pf))},t.\u0275cmp=Wt({type:t,selectors:[["app-home"]],viewQuery:function(t,e){if(1&t&&(Cl(ky,!0),Cl(Ay,!0)),2&t){let t;El(t=xl())&&(e.metaTitleRef=t.first),El(t=xl())&&(e.metaDescriptionRef=t.first)}},decls:29,vars:1,consts:function(){let t,e,n,r;return t="TeaCapps | Mobile apps",e="We develop mobile apps.",n="About us",r="As a German software company founded in 2011 we publish apps for Android and iOS.",[[1,"metadata"],["metaTitleRef",""],t,["metaDescriptionRef",""],e,["id","apps-grid",1,"container"],["rowHeight","140",3,"cols","resize"],["href","https://qrbot.net","target","_blank"],["src","assets/app-icons/qrbot.svg",1,"icon"],["href","https://play.google.com/store/apps/details?id=com.teacapps.barcodescanner","target","_blank"],["src","assets/app-icons/barcode.svg",1,"icon"],["href","https://namekeeper.info","target","_blank"],["src","assets/app-icons/namekeeper.svg",1,"icon"],["href","https://wifiqrcode.com","target","_blank"],["src","assets/app-icons/wifiqrcode.svg",1,"icon"],["href","https://misterpushup.com","target","_blank"],["src","assets/app-icons/misterpushup.svg",1,"icon"],[1,"container"],n,r]},template:function(t,e){1&t&&(Zi(0,"div",0),Zi(1,"div",null,1),na(3,2),Yi(),Zi(4,"div",null,3),na(6,4),Yi(),Yi(),Zi(7,"div",5),Zi(8,"mat-grid-list",6),to("resize",(function(t){return e.onResize(t)}),!1,Dr),Zi(9,"mat-grid-tile"),Zi(10,"a",7),Ji(11,"img",8),Yi(),Yi(),Zi(12,"mat-grid-tile"),Zi(13,"a",9),Ji(14,"img",10),Yi(),Yi(),Zi(15,"mat-grid-tile"),Zi(16,"a",11),Ji(17,"img",12),Yi(),Yi(),Zi(18,"mat-grid-tile"),Zi(19,"a",13),Ji(20,"img",14),Yi(),Yi(),Zi(21,"mat-grid-tile"),Zi(22,"a",15),Ji(23,"img",16),Yi(),Yi(),Yi(),Yi(),Zi(24,"div",17),Zi(25,"h1"),na(26,18),Yi(),Zi(27,"p"),na(28,19),Yi(),Yi()),2&t&&(xs(8),Wi("cols",e.colums))},directives:[xy,my],styles:["#apps-grid[_ngcontent-%COMP%]{background-color:#575b64;padding-top:2rem;padding-bottom:2rem;z-index:0}img.icon[_ngcontent-%COMP%]{width:100px;border-radius:20%;box-shadow:0 0 6px #333}"]}),t})()},{path:"imprint",component:(()=>{class t{constructor(t,e){this.localeId=t,this.seoService=e}ngOnInit(){let t="https://teacapps.de/locale/"+this.localeId+"/imprint";"en-US"==this.localeId&&(t="https://teacapps.de/imprint"),this.seoService.updateMetaData(t,"Imprint","Imprint teacapps.de")}}return t.\u0275fac=function(e){return new(e||t)(Qi(Fl),Qi(pf))},t.\u0275cmp=Wt({type:t,selectors:[["app-imprint"]],decls:39,vars:0,consts:[[1,"container"]],template:function(t,e){1&t&&(Zi(0,"div",0),Zi(1,"h1"),mo(2,"Imprint"),Yi(),Zi(3,"p"),mo(4,"TeaCapps GmbH"),Ji(5,"br"),mo(6," Tal\xe4ckerstr. 42"),Ji(7,"br"),mo(8," 74182 Obersulm "),Yi(),Zi(9,"p"),mo(10," Markus W\xf6rz"),Ji(11,"br"),mo(12," Christian W\xf6rz "),Yi(),Zi(13,"p"),mo(14," District Court: Stuttgart"),Ji(15,"br"),mo(16," HRB: 739480"),Ji(17,"br"),mo(18," USt-ID: DE280227894 "),Yi(),Zi(19,"p"),mo(20," info@teacapps.de "),Yi(),Zi(21,"h2"),mo(22,"Liability for Contents"),Yi(),Zi(23,"p"),mo(24,"As service providers, we are liable for own contents of these websites according to Sec. 7, paragraph 1 German Telemedia Act (TMG). However, according to Sec. 8 to 10 German Telemedia Act (TMG), service providers are not obligated to permanently monitor submitted or stored information or to search for evidences that indicate illegal activities."),Yi(),Zi(25,"p"),mo(26,"Legal obligations to removing information or to blocking the use of information remain unchallenged. In this case, liability is only possible at the time of knowledge about a specific violation of law. Illegal contents will be removed immediately at the time we get knowledge of them."),Yi(),Zi(27,"h2"),mo(28,"Liability for Links"),Yi(),Zi(29,"p"),mo(30,"Our offer includes links to external third party websites. We have no influence on the contents of those websites, therefore we cannot guarantee for those contents. Providers or administrators of linked websites are always responsible for their own contents."),Yi(),Zi(31,"p"),mo(32,"The linked websites had been checked for possible violations of law at the time of the establishment of the link. Illegal contents were not detected at the time of the linking. A permanent monitoring of the contents of linked websites cannot be imposed without reasonable indications that there has been a violation of law. Illegal links will be removed immediately at the time we get knowledge of them."),Yi(),Zi(33,"h2"),mo(34,"Copyright"),Yi(),Zi(35,"p"),mo(36,"Contents and compilations published on these websites by the providers are subject to German copyright laws. Reproduction, editing, distribution as well as the use of any kind outside the scope of the copyright law require a written permission of the author or originator. Downloads and copies of these websites are permitted for private use only. The commercial use of our contents without permission of the originator is prohibited."),Yi(),Zi(37,"p"),mo(38,"Copyright laws of third parties are respected as long as the contents on these websites do not originate from the provider. Contributions of third parties on this site are indicated as such. However, if you notice any violations of copyright law, please inform us. Such contents will be removed immediately."),Yi(),Yi())},styles:[""]}),t})()},{path:"privacy-policy",component:(()=>{class t{constructor(t,e){this.localeId=t,this.seoService=e}ngOnInit(){let t="https://teacapps.de/locale/"+this.localeId+"/privacy-policy";"en-US"==this.localeId&&(t="https://teacapps.de/privacy-policy"),this.seoService.updateMetaData(t,"Privacy Policy","Privacy policy teacapps.de")}}return t.\u0275fac=function(e){return new(e||t)(Qi(Fl),Qi(pf))},t.\u0275cmp=Wt({type:t,selectors:[["app-privacy"]],decls:87,vars:0,consts:[[1,"container"],["target","_blank","href","https://www.firebase.com/terms/privacy-policy.html"],["target","_blank","href","https://www.google.com/policies/privacy/"],["target","_blank","href","http://tools.google.com/dlpage/gaoptout"],["id","ga-opt-out","href","javascript:void(0)"]],template:function(t,e){1&t&&(Zi(0,"div",0),Zi(1,"h1"),mo(2,"Privacy Policy"),Yi(),Zi(3,"p"),mo(4,"In this Privacy Policy, we inform you about which data we collect in the context of your use of this website and for which purposes your data is used."),Yi(),Zi(5,"h2"),mo(6,"Controller/contact"),Yi(),Zi(7,"p"),mo(8,"The controller within the meaning of the data protection laws is:"),Yi(),Zi(9,"p"),mo(10,"TeaCapps GmbH"),Ji(11,"br"),mo(12," Tal\xe4ckerstr. 42"),Ji(13,"br"),mo(14," 74182 Obersulm "),Yi(),Zi(15,"p"),mo(16,"If you have any questions or suggestions concerning data protection, please email us at info@teacapps.de."),Yi(),Zi(17,"h2"),mo(18,"Legal basis"),Yi(),Zi(19,"p"),mo(20,"When processing personal data that is required to fulfill a contract with the user, point (b) of paragraph 1 of article 6 of the GDPR serves as the legal basis."),Yi(),Zi(21,"p"),mo(22,"If the processing is necessary to account for the legitimate interests of our company or a third party and if these interests are not overridden by interests of the user, the legal basis is provided by point (f) of paragraph 1 of article 6 of the GDPR."),Yi(),Zi(23,"h2"),mo(24,"Automated data collection"),Yi(),Zi(25,"p"),mo(26,"When you access our website, your device will automatically transmit data for technical reasons. The data includes:"),Yi(),Zi(27,"ul"),Zi(28,"li"),mo(29,"date and time of the access"),Yi(),Zi(30,"li"),mo(31,"browser type/version"),Yi(),Zi(32,"li"),mo(33,"operating system used"),Yi(),Zi(34,"li"),mo(35,"URL of the previously visited website"),Yi(),Zi(36,"li"),mo(37,"IP address"),Yi(),Yi(),Zi(38,"p"),mo(39,"We host our website with Google Firebase Hosting. Please visit "),Zi(40,"a",1),mo(41,"https://www.firebase.com/terms/privacy-policy.html"),Yi(),mo(42," for more information."),Yi(),Zi(43,"h2"),mo(44,"Google Analytics"),Yi(),Zi(45,"p"),mo(46,'We use "Google Analytics", a web analysis service of Google LLC ("Google"). Google Analytics uses so-called "cookies", i.e. text files that are stored on your end device, and that permit analysis of your use of the website. The information regarding your use of the website (including your abbreviated IP address) is transferred to and stored on servers of Google in the United States of America. Google will use this information to evaluate your use of the website, in order to compile reports on the website activities for the website operators, and to provide further services connected to the use of our website and the internet. Google will also transfer this information to third parties if this is required by law or to the extent that third parties process these data on behalf of Google.'),Yi(),Zi(47,"p"),mo(48,"Technically, we integrate Google Analytics with Google Tag Manager which is a tag management system created by Google to manage JavaScript and HTML tags used for tracking and analytics on websites."),Yi(),Zi(49,"p"),mo(50,"For more information on how Google uses your data, see Google\u2019s Privacy Policy: "),Zi(51,"a",2),mo(52,"https://www.google.com/policies/privacy/"),Yi(),mo(53,"."),Yi(),Zi(54,"p"),mo(55,"The data stored at Google Analytics are stored for a period of fourteen (14) months. After the end of this time, Google Analytics will only store aggregated statistics."),Yi(),Zi(56,"p"),mo(57,"You can deactivate Google Analytics with a browser add-on if you do not accept website analysis. You can download such add-on here: "),Zi(58,"a",3),mo(59,"http://tools.google.com/dlpage/gaoptout"),Yi(),mo(60,"."),Yi(),Zi(61,"p"),mo(62,"You can also deactivate recording by Google Analytics on this website by clicking "),Zi(63,"a",4),mo(64,"here"),Yi(),mo(65,"."),Yi(),Zi(66,"p"),mo(67,"Google Analytics is used based on our legitimate interest in demand-oriented design, statistical evaluation and efficient marketing of our website, and the fact that your legitimate interests are not overriding, Article 6(1) point (f) GDPR."),Yi(),Zi(68,"h2"),mo(69,"Cookies"),Yi(),Zi(70,"p"),mo(71,'We store so-called "cookies" in order to offer you all features of our website, and to make the use of our websites more convenient. Cookies are small files that are stored on your computer using your internet browser. If you do not want cookies to be used, you can prevent storage of cookies on your device by making the corresponding settings in your internet browser. Please note that the scope of features of our website may be restricted due to this.'),Yi(),Zi(72,"p"),mo(73,"We specifically use the following cookies:"),Yi(),Zi(74,"ul"),Zi(75,"li"),mo(76,"3 cookies from Google Analytics for statistical evaluation of the use of the website and for improvement of our offer"),Yi(),Zi(77,"li"),mo(78,"a cookie to deactivate data transmission to Google Analytics"),Yi(),Zi(79,"li"),mo(80,"a cookie to record whether you have already confirmed the cookie notice with OK"),Yi(),Yi(),Zi(81,"p"),mo(82,"These cookies cannot identify you as a person. In any case, use of cookies is justified based on our legitimate interest in demand-oriented design, as well as statistical evaluation of our website, and the fact that your legitimate interests are not overriding, Article 6(1) point (f) GDPR."),Yi(),Zi(83,"h2"),mo(84,"Support requests / feedback"),Yi(),Zi(85,"p"),mo(86,"Users may send us an email either directly or using the feedback form within the website. Transmitted personal data will be stored. In this context, data will not be disclosed with third parties. The data is used exclusively for processing the conversation. The data will be deleted, if the purpose of its collection has been fulfilled. This is the case when the conversion with the user has come to an end or it can be seen from the conversation that the subject has been clarified."),Yi(),Yi())},styles:[""]}),t})()},{path:"404",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Wt({type:t,selectors:[["app-not-found"]],decls:10,vars:0,consts:[[1,"container"],["routerLink",""]],template:function(t,e){1&t&&(Zi(0,"div",0),Zi(1,"h2"),mo(2,"Page not found"),Yi(),Zi(3,"p"),mo(4,"We could not find the above page on our servers."),Yi(),Zi(5,"p"),mo(6,"Alternatively, you can visit the "),Zi(7,"a",1),mo(8,"Main Page"),Yi(),mo(9,"."),Yi(),Yi())},directives:[Vp],styles:[""]}),t})()},{path:"**",redirectTo:"/404"}];let Ry=(()=>{class t{}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[nf.forRoot(Iy,{scrollPositionRestoration:"enabled",relativeLinkResolution:"legacy"})],nf]}),t})(),Oy=(()=>{class t{constructor(t,e){this.document=t,this.platformId=e,this.documentIsAccessible=Jc(this.platformId)}check(t){return!!this.documentIsAccessible&&(t=encodeURIComponent(t),this.getCookieRegExp(t).test(this.document.cookie))}get(t){if(this.documentIsAccessible&&this.check(t)){t=encodeURIComponent(t);const e=this.getCookieRegExp(t).exec(this.document.cookie);return this.safeDecodeURIComponent(e[1])}return""}getAll(){if(!this.documentIsAccessible)return{};const t={},e=this.document;return e.cookie&&""!==e.cookie&&e.cookie.split(";").forEach(e=>{const[n,r]=e.split("=");t[this.safeDecodeURIComponent(n.replace(/^ /,""))]=this.safeDecodeURIComponent(r)}),t}set(t,e,n,r,s,i,o="Lax"){if(!this.documentIsAccessible)return;let a=encodeURIComponent(t)+"="+encodeURIComponent(e)+";";n&&(a+="number"==typeof n?"expires="+new Date((new Date).getTime()+1e3*n*60*60*24).toUTCString()+";":"expires="+n.toUTCString()+";"),r&&(a+="path="+r+";"),s&&(a+="domain="+s+";"),!1===i&&"None"===o&&(i=!0,console.warn(`[ngx-cookie-service] Cookie ${t} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),i&&(a+="secure;"),a+="sameSite="+o+";",this.document.cookie=a}delete(t,e,n,r,s="Lax"){this.documentIsAccessible&&this.set(t,"",new Date("Thu, 01 Jan 1970 00:00:01 GMT"),e,n,r,s)}deleteAll(t,e,n,r="Lax"){if(!this.documentIsAccessible)return;const s=this.getAll();for(const i in s)s.hasOwnProperty(i)&&this.delete(i,t,e,n,r)}getCookieRegExp(t){const e=t.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+e+"|;\\s*"+e+")=(.*?)(?:;|$)","g")}safeDecodeURIComponent(t){try{return decodeURIComponent(t)}catch(Vy){return t}}}return t.\u0275fac=function(e){return new(e||t)(me(kc),me(jl))},t.\u0275prov=ct({factory:function(){return new t(me(kc),me(jl))},token:t,providedIn:"root"}),t})(),Py=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Wt({type:t,selectors:[["app-header"]],decls:9,vars:0,consts:[[1,"header"],["align","right"],["id","title-icon","src","assets/teacapps-icon.svg"],["id","title-text","src","assets/teacapps-text.svg"]],template:function(t,e){1&t&&(Zi(0,"div",0),Zi(1,"table"),Zi(2,"tr"),Zi(3,"td",1),Zi(4,"div"),Ji(5,"img",2),Yi(),Yi(),Zi(6,"td"),Zi(7,"div"),Ji(8,"img",3),Yi(),Yi(),Yi(),Yi(),Yi())},styles:["div.header[_ngcontent-%COMP%]{padding:1.2rem 0;box-shadow:0 0 6px #333;z-index:1}table[_ngcontent-%COMP%]{margin:0 auto}#title-icon[_ngcontent-%COMP%]{height:24px;vertical-align:middle;padding-right:.4rem}#title-text[_ngcontent-%COMP%]{height:20px;vertical-align:middle;margin-top:.2rem}"]}),t})(),Ny=(()=>{class t{constructor(t){this.cookieService=t}ngOnInit(){}select(t){const e=window.location.href,n=window.location.origin;var r=new Date,s=r.getTime();r.setTime(s+15778476e5),this.cookieService.set("firebase-language-override",t,r,"/");const i=["en","de"];let o=n;for(let l in i){let t=n+"/locale/"+i[l];if(e.startsWith(t)){o=t;break}}let a=n;if(i.includes(t)&&(a=n+"/locale/"+t),a!==o){const t=a+e.slice(o.length);window.location.href=t}}}return t.\u0275fac=function(e){return new(e||t)(Qi(Oy))},t.\u0275cmp=Wt({type:t,selectors:[["app-footer"]],decls:20,vars:0,consts:function(){let t,e,n;return t="Home",e="Privacy Policy",n="Imprint",[[1,"footer","no-print"],[1,"container"],[1,"language-icon",3,"click"],["src","assets/flags/us.svg",1,"flag"],["src","assets/flags/de.svg",1,"flag"],[1,"nav-link"],["routerLink",""],t,["routerLink","privacy-policy"],e,["routerLink","imprint"],n,["id","copyright",1,"container"]]},template:function(t,e){1&t&&(Zi(0,"div",0),Zi(1,"div",1),Zi(2,"nav"),Zi(3,"span",2),to("click",(function(){return e.select("en")})),Ji(4,"img",3),Yi(),Zi(5,"span",2),to("click",(function(){return e.select("de")})),Ji(6,"img",4),Yi(),Yi(),Yi(),Zi(7,"div",1),Zi(8,"nav"),Zi(9,"div",5),Zi(10,"a",6),na(11,7),Yi(),Yi(),Zi(12,"div",5),Zi(13,"a",8),na(14,9),Yi(),Yi(),Zi(15,"div",5),Zi(16,"a",10),na(17,11),Yi(),Yi(),Yi(),Yi(),Zi(18,"div",12),mo(19,"\xa9 2020 TeaCapps GmbH"),Yi(),Yi())},directives:[Vp],styles:["div.footer[_ngcontent-%COMP%]{color:#fff;text-align:center;padding:2rem 1rem;background-color:#333}span.language-icon[_ngcontent-%COMP%]{padding:0 .8rem}img.flag[_ngcontent-%COMP%]{height:25px;border-radius:50%;border:2px solid #fff}div.container[_ngcontent-%COMP%]{padding:.5rem 0}a[_ngcontent-%COMP%]{color:#fff;font-weight:400}@media (min-width:500px){div.nav-link[_ngcontent-%COMP%]{display:inline}}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:0 .8rem}#copyright[_ngcontent-%COMP%]{padding-top:1.5rem;padding-bottom:2.5rem}"]}),t})();const Dy=["mat-button",""],jy=["*"],Ly=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class My{constructor(t){this._elementRef=t}}const Fy=ty(Xg(ey(My)));let Uy=(()=>{class t extends Fy{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const r of Ly)this._hasHostAttributes(r)&&this._getHostElement().classList.add(r);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(Qi(ya),Qi(xf),Qi(Gg,8))},t.\u0275cmp=Wt({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&Cl(uy,!0),2&t){let t;El(t=xl())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(Gi("disabled",e.disabled||null),co("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Li],attrs:Dy,ngContentSelectors:jy,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(so(),Zi(0,"span",0),io(1),Yi(),Ji(2,"span",1),Ji(3,"span",2)),2&t&&(xs(2),co("mat-button-ripple-round",e.isRoundButton||e.isIconButton),Wi("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[uy],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),t})(),Hy=(()=>{class t{}return t.\u0275mod=Jt({type:t}),t.\u0275inj=ut({factory:function(e){return new(e||t)},imports:[[hy,Jg],Jg]}),t})();function $y(t,e){if(1&t){const t=He();Zi(0,"div",1),Zi(1,"div",2),Zi(2,"div",3),ta(3,4),Ji(4,"a",5),ea(),Yi(),Zi(5,"div",6),Zi(6,"button",7),to("click",(function(){return Fe.lFrame.contextLView=t,function(t=1){return function(t){return(Fe.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Fe.lFrame.contextLView))[8]}(t)}().hideCookieBanner()})),mo(7,"OK"),Yi(),Yi(),Yi(),Yi()}}let zy=(()=>{class t{constructor(t,e,n,r){this.cookieService=t,this.title="teacapps-web",this.cookieBannerVisible=!0,r.setAttribute(e.documentElement,"lang",n)}ngOnInit(){this.cookieBannerVisible="1"!==this.cookieService.get("cookieBannerHidden")}hideCookieBanner(){var t=new Date,e=t.getTime();t.setTime(e+15778476e5),this.cookieService.set("cookieBannerHidden","1",t,"/"),this.cookieBannerVisible=!1}}return t.\u0275fac=function(e){return new(e||t)(Qi(Oy),Qi(kc),Qi(Fl),Qi(va))},t.\u0275cmp=Wt({type:t,selectors:[["app-root"]],decls:4,vars:1,consts:function(){let t;return t="We use cookies to analyse the use of our website. " + "\ufffd#4\ufffd" + "See details" + "\ufffd/#4\ufffd" + "",[["id","cookie-banner",4,"ngIf"],["id","cookie-banner"],["id","cookie-container"],["id","cookie-text-cell"],t,["routerLink","/privacy-policy"],["id","cookie-button-cell"],["id","cookie-button","mat-raised-button","","color","primary",3,"click"]]},template:function(t,e){1&t&&(Ji(0,"app-header"),Ji(1,"router-outlet"),Ji(2,"app-footer"),function(t,e,n,r,s,i,o,a){const l=He(),c=$e(),u=c.firstCreatePass?function(t,e,n,r,s,i,o,a,l){const c=e.consts,u=js(e,23,4,"div",je(c,0));Ks(e,n,u,je(c,undefined)),Wn(e,u);const h=u.tViews=qs(2,u,r,8,0,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(0,c,l,e):c.data[23];qe(u,!1);const h=l[11].createComment("");as(c,l,h,u),Pr(h,l),li(l,l[23]=ii(h,l,h,u)),Ce(u)&&zs(c,l,u)}(0,$y)),2&t&&(xs(3),Wi("ngIf",e.cookieBannerVisible))},directives:[Py,Gp,Ny,Wc,Vp,Uy],styles:["#contact-button[_ngcontent-%COMP%]{top:auto;right:20px;bottom:20px;left:auto;position:fixed;z-index:1}#contact-button[_ngcontent-%COMP%] .mat-button-wrapper{padding:0}#contact-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{-webkit-filter:invert(100%);width:32px}#cookie-banner[_ngcontent-%COMP%]{width:100%;font-size:16px;background-color:#fbfbfb;position:fixed;bottom:0;z-index:1;box-shadow:0 0 1px #999;display:table;border-spacing:10px}#cookie-container[_ngcontent-%COMP%]{display:table-row}#cookie-button-cell[_ngcontent-%COMP%], #cookie-text-cell[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}#cookie-button-cell[_ngcontent-%COMP%]{width:40px}#cookie-button[_ngcontent-%COMP%]{line-height:30px;width:40px}"]}),t})(),By=(()=>{class t{}return t.\u0275mod=Jt({type:t,bootstrap:[zy]}),t.\u0275inj=ut({factory:function(e){return new(e||t)},providers:[],imports:[[Iu,Ry,Wg,Ty,Hy]]}),t})();(function(){if(vn)throw new Error("Cannot enable prod mode after platform setup.");_n=!1})(),ku().bootstrapModule(By).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);