-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain-es2015.8cfadee5cd9c594cd73a.js
More file actions
1 lines (1 loc) · 135 KB
/
Copy pathmain-es2015.8cfadee5cd9c594cd73a.js
File metadata and controls
1 lines (1 loc) · 135 KB
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let s=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function i(e){setTimeout(()=>{throw e})}const a={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;i(e)},complete(){}},l=Array.isArray||(e=>e&&"number"==typeof e.length);function c(e){return null!==e&&"object"==typeof e}function u(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}u.prototype=Object.create(Error.prototype);const d=u;let h=(()=>{class e{constructor(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let e,t=!1;if(this.closed)return;let{_parent:n,_parents:s,_unsubscribe:o,_subscriptions:i}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let a=-1,u=s?s.length:0;for(;n;)n.remove(this),n=++a<u&&s[a]||null;if(r(o))try{o.call(this)}catch(h){t=!0,e=h instanceof d?f(h.errors):[h]}if(l(i))for(a=-1,u=i.length;++a<u;){const n=i[a];if(c(n))try{n.unsubscribe()}catch(h){t=!0,e=e||[],h instanceof d?e=e.concat(f(h.errors)):e.push(h)}}if(t)throw new d(e)}add(t){let n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;(n=new e)._subscriptions=[t]}break;default:if(!t)return e.EMPTY;throw new Error("unrecognized teardown "+t+" added to Subscription.")}if(n._addParent(this)){const e=this._subscriptions;e?e.push(n):this._subscriptions=[n]}return n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}_addParent(e){let{_parent:t,_parents:n}=this;return t!==e&&(t?n?-1===n.indexOf(e)&&(n.push(e),!0):(this._parents=[e],!0):(this._parent=e,!0))}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function f(e){return e.reduce((e,t)=>e.concat(t instanceof d?t.errors:t),[])}const p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class g extends h{constructor(e,t,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(!e){this.destination=a;break}if("object"==typeof e){e instanceof g?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new g(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parent:e,_parents:t}=this;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this}}class m extends g{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let i=this;r(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==a&&(r((i=Object.create(t)).unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):i(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;i(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const _="function"==typeof Symbol&&Symbol.observable||"@@observable";let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,s=function(e,t,n){if(e){if(e instanceof g)return e;if(e[p])return e[p]()}return e||t||n?new g(e,t,n):new g(a)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),o.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof g?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=w(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[_](){return this}pipe(...e){return 0===e.length?this:((t=e)?1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)}:function(){})(this);var t}toPromise(e){return new(e=w(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function w(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function b(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}b.prototype=Object.create(Error.prototype);const v=b;class E extends h{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class C extends g{constructor(e){super(e),this.destination=e}}let x=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(e){const t=new T(this,this);return t.operator=e,t}next(e){if(this.closed)throw new v;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new v;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new v;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new v;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new v;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new E(this,e))}asObservable(){const e=new y;return e.source=this,e}}return e.create=(e,t)=>new T(e,t),e})();class T extends x{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):h.EMPTY}}class k extends g{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const I=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()},N=e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i),t);function S(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const A=S(),D=e=>t=>{const n=e[A]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t},M=e=>t=>{const n=e[_]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)},R=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function O(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const P=e=>{if(e instanceof y)return t=>e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t);if(e&&"function"==typeof e[_])return M(e);if(R(e))return I(e);if(O(e))return N(e);if(e&&"function"==typeof e[A])return D(e);{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}};class V extends g{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class H{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new j(e,this.project,this.thisArg))}}class j extends g{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function L(e,t){return new y(t?n=>{const r=new h;let s=0;return r.add(t.schedule(function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()})),r}:I(e))}class F{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new B(e,this.project,this.concurrent))}}class B extends V{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new k(this,void 0,void 0);this.destination.add(r),function(e,t,n,r,s=new k(e,n,r)){s.closed||P(t)(s)}(this,e,t,n,r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function z(e){return e}function U(){return function(e){return e.lift(new Z(e))}}class Z{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new $(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class $ extends g{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}const Q=class extends y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new h).add(this.source.subscribe(new W(this.getSubject(),this))),e.closed?(this._connection=null,e=h.EMPTY):this._connection=e),e}refCount(){return U()(this)}}.prototype,G={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Q._subscribe},_isComplete:{value:Q._isComplete,writable:!0},getSubject:{value:Q.getSubject},connect:{value:Q.connect},refCount:{value:Q.refCount}};class W extends C{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function q(){return new x}const K="__parameters__";function Y(e,t,n){const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(K)?e[K]:Object.defineProperty(e,K,{value:[]})[K];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}const J=Y("Inject",e=>({token:e})),X=Y("Optional"),ee=Y("Self"),te=Y("SkipSelf");var ne=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function re(e){for(let t in e)if(e[t]===re)return t;throw Error("Could not find renamed property on target object.")}function se(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function oe(e){const t=e[ie];return t&&t.token===e?t:null}const ie=re({ngInjectableDef:re});function ae(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(ae).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const le=re({__forward_ref__:re});function ce(e){return e.__forward_ref__=ce,e.toString=function(){return ae(this())},e}function ue(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(le)&&t.__forward_ref__===ce?t():e}const de="undefined"!=typeof globalThis&&globalThis,he="undefined"!=typeof window&&window,fe="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,pe="undefined"!=typeof global&&global,ge=de||pe||he||fe;class me{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=se({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const _e=new me("INJECTOR",-1),ye=new Object,we="ngTempTokenPath",be="ngTokenPath",ve=/\n/gm,Ee="\u0275",Ce="__source",xe=re({provide:String,useValue:re});let Te,ke=void 0;function Ie(e){const t=ke;return ke=e,t}class Ne{get(e,t=ye){if(t===ye){const t=new Error(`NullInjectorError: No provider for ${ae(e)}!`);throw t.name="NullInjectorError",t}return t}}function Se(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Ee?e.substr(2):e;let s=ae(t);if(t instanceof Array)s=t.map(ae).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):ae(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(ve,"\n ")}`}const Ae=new me("The presence of this token marks an injector as being the root injector."),De=function(e,t,n){return new je(e,t,n)};let Me=(()=>{class e{static create(e,t){return Array.isArray(e)?De(e,t,""):De(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=ye,e.NULL=new Ne,e.ngInjectableDef=se({token:e,providedIn:"any",factory:()=>(function(e,t=ne.Default){return(Te||function(e,t=ne.Default){if(void 0===ke)throw new Error("inject() must be called from an injection context");return null===ke?function(e,t,n){const r=oe(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ne.Optional)return null;throw new Error(`Injector: NOT_FOUND [${ae(e)}]`)}(e,0,t):ke.get(e,t&ne.Optional?null:void 0,t)})(e,t)})(_e)}),e.__NG_ELEMENT_ID__=-1,e})();const Re=function(e){return e},Oe=[],Pe=Re,Ve=function(){return Array.prototype.slice.call(arguments)},He="\u0275";class je{constructor(e,t=Me.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(Me,{token:Me,fn:Re,deps:Oe,value:this,useNew:!1}),r.set(_e,{token:_e,fn:Re,deps:Oe,value:this,useNew:!1}),function e(t,n){if(n)if((n=ue(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Fe("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Fe("Unexpected provider",n);{let e=ue(n.provide);const r=function(e){const t=function(e){let t=Oe;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,s=ue(n[e]);if(s instanceof Array)for(let e=0,t=s;e<t.length;e++){const n=t[e];n instanceof X||n==X?r|=1:n instanceof te||n==te?r&=-3:n instanceof ee||n==ee?r&=-5:s=n instanceof J?n.token:ue(n)}t.push({token:s,options:r})}}else if(e.useExisting)t=[{token:ue(e.useExisting),options:6}];else if(!(n||xe in e))throw Fe("'deps' required",e);return t}(e);let n=Re,r=Oe,s=!1,o=ue(e.provide);if(xe in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)s=!0,n=ue(e.useClass);else{if("function"!=typeof o)throw Fe("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);s=!0,n=o}return{deps:t,fn:n,useNew:s,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==Ve)throw Le(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:Ve,value:Oe});r.deps.push({token:e=n,options:6})}const s=t.get(e);if(s&&s.fn==Ve)throw Le(e);t.set(e,r)}}}(r,e)}get(e,t,n=ne.Default){const r=this._records.get(e);try{return function e(t,n,r,s,o,i){try{return function(t,n,r,s,o,i){let a;if(!n||i&ne.SkipSelf)i&ne.Self||(a=s.get(t,o,ne.Default));else{if((a=n.value)==Pe)throw Error(He+"Circular dependency");if(a===Oe){n.value=Pe;let t=void 0,o=n.useNew,i=n.fn,l=n.deps,c=Oe;if(l.length){c=[];for(let t=0;t<l.length;t++){const n=l[t],o=n.options,i=2&o?r.get(n.token):void 0;c.push(e(n.token,i,r,i||4&o?s:Me.NULL,1&o?null:Me.THROW_IF_NOT_FOUND,ne.Default))}}n.value=a=o?new i(...c):i.apply(t,c)}}return a}(t,n,r,s,o,i)}catch(a){throw a instanceof Error||(a=new Error(a)),(a[we]=a[we]||[]).unshift(t),n&&n.value==Pe&&(n.value=Oe),a}}(e,r,this._records,this.parent,t,n)}catch(s){return function(e,t,n,r){const s=e[we];throw t[Ce]&&s.unshift(t[Ce]),e.message=Se("\n"+e.message,s,"StaticInjectorError",r),e[be]=s,e[we]=null,e}(s,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(ae(n))),`StaticInjector[${e.join(", ")}]`}}function Le(e){return Fe("Cannot mix multi providers and regular providers",e)}function Fe(e,t){return new Error(Se(e,t,"StaticInjectorError"))}const Be="ngDebugContext",ze="ngOriginalError",Ue="ngErrorLogger",Ze=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),$e=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ge))();let Qe=!0,Ge=!1;function We(){return Ge=!0,Qe}class qe{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const n=(new window.DOMParser).parseFromString(e,"text/html").body;return n.removeChild(n.firstChild),n}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Ke=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Je(e){return(e=String(e)).match(Ke)||e.match(Ye)?e:(We()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Xe(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function et(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const tt=Xe("area,br,col,hr,img,wbr"),nt=Xe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rt=Xe("rp,rt"),st=et(rt,nt),ot=et(tt,et(nt,Xe("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")),et(rt,Xe("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")),st),it=Xe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),at=Xe("srcset"),lt=et(it,at,Xe("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"),Xe("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")),ct=Xe("script,style,template");class ut{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!ot.hasOwnProperty(t))return this.sanitizedSomething=!0,!ct.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,o=t.toLowerCase();if(!lt.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let i=e.value;it[o]&&(i=Je(i)),at[o]&&(r=i,i=(r=String(r)).split(",").map(e=>Je(e.trim())).join(", ")),this.buf.push(" ",t,'="',ft(i),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();ot.hasOwnProperty(t)&&!tt.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(ft(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const dt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ht=/([^\#-~ |!])/g;function ft(e){return e.replace(/&/g,"&").replace(dt,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(ht,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let pt;function gt(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const mt=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class _t{}const yt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),wt=/^url\(([^)]+)\)$/;function bt(e){return e[Be]}function vt(e){return e[ze]}function Et(e,...t){e.error(...t)}class Ct{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[Ue]||Et}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?bt(e)?bt(e):this._findContext(vt(e)):null}_findOriginalError(e){let t=vt(e);for(;t&&vt(t);)t=vt(t);return t}}const xt=/([A-Z])/g;function Tt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}let kt=null;function It(){if(!kt){const e=ge.Symbol;if(e&&e.iterator)kt=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(kt=n)}}}return kt}function Nt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function St(e,t){const n=Dt(e),r=Dt(t);if(n&&r)return function(e,t,n){const r=e[It()](),s=t[It()]();for(;;){const e=r.next(),t=s.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,St);{const s=e&&("object"==typeof e||"function"==typeof e),o=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!o)||Nt(e,t)}}class At{constructor(e){this.wrapped=e}static wrap(e){return new At(e)}static unwrap(e){return At.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof At}}function Dt(e){return!!Mt(e)&&(Array.isArray(e)||!(e instanceof Map)&&It()in e)}function Mt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Rt(e){return!!e&&"function"==typeof e.then}class Ot{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}class Pt{}class Vt{}function Ht(e){const t=Error(`No component factory found for ${ae(e)}. Did you add it to @NgModule.entryComponents?`);return t[jt]=e,t}const jt="ngComponent";class Lt{resolveComponentFactory(e){throw Ht(e)}}let Ft=(()=>{class e{}return e.NULL=new Lt,e})();class Bt{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Ht(e);return new zt(t,this._ngModule)}}class zt extends Vt{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}class Ut{}class Zt{}function $t(...e){}let Qt=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Gt(e),e})();const Gt=$t;class Wt{}class qt{}const Kt=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Yt=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Jt(),e})();const Jt=$t;class Xt{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const en=new Xt("8.1.3");class tn{constructor(){}supports(e){return Dt(e)}create(e){return new rn(e)}}const nn=(e,t)=>t;class rn{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||nn}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const o=!n||t&&t.currentIndex<ln(n,r,s)?t:n,i=ln(o,r,s),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{s||(s=[]);const e=i-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,o=r+n;t<=o&&o<e&&(s[n]=r+1)}s[o.previousIndex]=t-e}}i!==a&&e(o,i,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Dt(e))throw new Error(`Error trying to diff '${ae(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)r=this._trackByFn(t,n=e[t]),null!==s&&Nt(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,n,r,t)),Nt(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),o=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[It()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&Nt(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,e,r,t)),Nt(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),o=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Nt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Nt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new sn(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new an),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new an),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class sn{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class on{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Nt(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class an{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new on,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ln(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class cn{constructor(){}supports(e){return e instanceof Map||Mt(e)}create(){return new un}}class un{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Mt(e)))throw new Error(`Error trying to diff '${ae(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);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 dn(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Nt(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class dn{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let hn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new te,new X]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=se({token:e,providedIn:"root",factory:()=>new e([new tn])}),e})(),fn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new te,new X]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ngInjectableDef=se({token:e,providedIn:"root",factory:()=>new e([new cn])}),e})(),pn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>gn(),e})();const gn=(...e)=>{},mn=[new cn],_n=new hn([new tn]),yn=new fn(mn);let wn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>bn(e,Qt),e})();const bn=$t;let vn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>En(e,Qt),e})();const En=$t;function Cn(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return xn(n,t),n}(s,e)}function xn(e,t){e[Be]=t,e[Ue]=t.logError.bind(t)}function Tn(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function kn(e,t,n){const r=e.state,s=1792&r;return s===t?(e.state=-1793&r|n,e.initIndex=-1,!0):s===n}function In(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Nn(e,t){return e.nodes[t]}function Sn(e,t){return e.nodes[t]}function An(e,t){return e.nodes[t]}function Dn(e,t){return e.nodes[t]}function Mn(e,t){return e.nodes[t]}const Rn={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},On=()=>{},Pn=new Map;function Vn(e){let t=Pn.get(e);return t||(t=ae(e)+"_"+Pn.size,Pn.set(e,t)),t}const Hn="$$undefined",jn="$$empty";function Ln(e){return{id:Hn,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Fn=0;function Bn(e,t,n,r){return!(!(2&e.state)&&Nt(e.oldValues[t.bindingIndex+n],r))}function zn(e,t,n,r){return!!Bn(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Un(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!St(s,r)){const o=t.bindings[n].name;throw Cn(Rn.createDebugContext(e,t.nodeIndex),`${o}: ${s}`,`${o}: ${r}`,0!=(1&e.state))}}function Zn(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function $n(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Qn(e,t,n,r){try{return Zn(33554432&e.def.nodes[t].flags?Sn(e,t).componentView:e),Rn.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function Gn(e){return e.parent?Sn(e.parent,e.parentNodeDef.nodeIndex):null}function Wn(e){return e.parent?e.parentNodeDef.parent:null}function qn(e,t){switch(201347067&t.flags){case 1:return Sn(e,t.nodeIndex).renderElement;case 2:return Nn(e,t.nodeIndex).renderText}}function Kn(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Yn(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Jn(e){const t={};let n=0;const r={};return e&&e.forEach(([e,s])=>{"number"==typeof e?(t[e]=s,n|=function(e){return 1<<e%32}(e)):r[e]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Xn(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,Ce,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Vn(n)}})}function er(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Ze.Native?Sn(e,n.renderParent.nodeIndex).renderElement:void 0:t}const tr=new WeakMap;function nr(e){let t=tr.get(e);return t||((t=e(()=>On)).factory=e,tr.set(e,t)),t}function rr(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(qn(e,e.def.lastRenderRootNode))),sr(e,t,0,e.def.nodes.length-1,n,r,s)}function sr(e,t,n,r,s,o,i){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&ir(e,n,t,s,o,i),a+=n.childCount}}function or(e,t,n,r,s,o){let i=e;for(;i&&!Kn(i);)i=i.parent;const a=i.parent,l=Wn(i),c=l.nodeIndex+l.childCount;for(let u=l.nodeIndex+1;u<=c;u++){const e=a.def.nodes[u];e.ngContentIndex===t&&ir(a,e,n,r,s,o),u+=e.childCount}if(!a.parent){const i=e.root.projectableNodes[t];if(i)for(let t=0;t<i.length;t++)ar(e,i[t],n,r,s,o)}}function ir(e,t,n,r,s,o){if(8&t.flags)or(e,t.ngContent.index,n,r,s,o);else{const i=qn(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ar(e,i,n,r,s,o),32&t.bindingFlags&&ar(Sn(e,t.nodeIndex).componentView,i,n,r,s,o)):ar(e,i,n,r,s,o),16777216&t.flags){const i=Sn(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<i.length;e++)rr(i[e],n,r,s,o)}1&t.flags&&!t.element.name&&sr(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,s,o)}}function ar(e,t,n,r,s,o){const i=e.renderer;switch(n){case 1:i.appendChild(r,t);break;case 2:i.insertBefore(r,t,s);break;case 3:i.removeChild(r,t);break;case 0:o.push(t)}}const lr=/^:([^:]+):(.+)$/;function cr(e){if(":"===e[0]){const t=e.match(lr);return[t[1],t[2]]}return["",e]}function ur(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}const dr=new Object,hr=Vn(Me),fr=Vn(_e),pr=Vn(Ut);function gr(e,t,n,r){return n=ue(n),{index:-1,deps:Xn(r,ae(t)),flags:e,token:t,value:n}}function mr(e,t,n=Me.THROW_IF_NOT_FOUND){const r=Ie(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const i=t.tokenKey;switch(i){case hr:case fr:case pr:return e}const a=e._def.providersByKey[i];let l;if(a){let t=e._providers[a.index];return void 0===t&&(t=e._providers[a.index]=_r(e,a)),t===dr?void 0:t}if((l=oe(t.token))&&(s=e,null!=(o=l).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(s)||"root"===o.providedIn&&s._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:l.factory,deps:[],index:n,token:t.token},e._providers[n]=dr,e._providers[n]=_r(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ie(r)}var s,o}function _r(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(mr(e,n[0]));case 2:return new t(mr(e,n[0]),mr(e,n[1]));case 3:return new t(mr(e,n[0]),mr(e,n[1]),mr(e,n[2]));default:const s=new Array(r);for(let t=0;t<r;t++)s[t]=mr(e,n[t]);return new t(...s)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(mr(e,n[0]));case 2:return t(mr(e,n[0]),mr(e,n[1]));case 3:return t(mr(e,n[0]),mr(e,n[1]),mr(e,n[2]));default:const s=Array(r);for(let t=0;t<r;t++)s[t]=mr(e,n[t]);return t(...s)}}(e,t.value,t.deps);break;case 2048:n=mr(e,t.deps[0]);break;case 256:n=t.value}return n===dr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?dr:n}function yr(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Er(n,t),Rn.dirtyParentQueries(r),br(r),r}function wr(e,t,n){const r=t?qn(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);rr(n,2,s,o,void 0)}function br(e){rr(e,3,null,null,void 0)}function vr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Er(e,t){t>=e.length-1?e.pop():e.splice(t,1)}const Cr=new Object;function xr(e,t,n,r,s,o){return new Tr(e,t,n,r,s,o)}class Tr extends Vt{constructor(e,t,n,r,s,o){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=s,this.ngContentSelectors=o,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const s=nr(this.viewDefFactory),o=s.nodes[0].element.componentProvider.nodeIndex,i=Rn.createRootView(e,t||[],n,s,r,Cr),a=An(i,o).instance;return n&&i.renderer.setAttribute(Sn(i,0).renderElement,"ng-version",en.full),new kr(i,new Ar(i),a)}}class kr extends Pt{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Qt(Sn(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Or(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Ir(e,t,n){return new Nr(e,t,n)}class Nr{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Qt(this._data.renderElement)}get injector(){return new Or(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Wn(e),e=e.parent;return e?new Or(e,t):new Or(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=yr(this._data,e);Rn.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Ar(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const o=n||this.parentInjector;s||e instanceof zt||(s=o.get(Ut));const i=e.create(o,r,void 0,s);return this.insert(i.hostView,t),i}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let s=t.viewContainer._embeddedViews;null==n&&(n=s.length),r.viewContainerParent=e,vr(s,n,r),function(e,t){const n=Gn(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(4&n.flags)return;t.parent.def.nodeFlags|=4,n.flags|=4;let r=n.parent;for(;r;)r.childFlags|=4,r=r.parent}(0,t.parentNodeDef)}(t,r),Rn.dirtyParentQueries(r),wr(t,n>0?s[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,r){const s=e.viewContainer._embeddedViews,o=s[n];Er(s,n),null==r&&(r=s.length),vr(s,r,o),Rn.dirtyParentQueries(o),br(o),wr(e,r>0?s[r-1]:null,o)}(this._data,0,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=yr(this._data,e);t&&Rn.destroyView(t)}detach(e){const t=yr(this._data,e);return t?new Ar(t):null}}function Sr(e){return new Ar(e)}class Ar{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return rr(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Zn(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Rn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Rn.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Rn.destroyView(this._view)}detachFromAppRef(){this._appRef=null,br(this._view),Rn.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Dr(e,t){return new Mr(e,t)}class Mr extends wn{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Ar(Rn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Qt(Sn(this._parentView,this._def.nodeIndex).renderElement)}}function Rr(e,t){return new Or(e,t)}class Or{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Me.THROW_IF_NOT_FOUND){return Rn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Vn(e)},t)}}function Pr(e){return new Vr(e.renderer)}class Vr{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=cr(t),s=this.delegate.createElement(r,n);return e&&this.delegate.appendChild(e,s),s}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}attachViewAfter(e,t){const n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e);for(let s=0;s<t.length;s++)this.delegate.insertBefore(n,t[s],r)}detachView(e){for(let t=0;t<e.length;t++){const n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}destroyView(e,t){for(let n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}listen(e,t,n){return this.delegate.listen(e,t,n)}listenGlobal(e,t,n){return this.delegate.listen(e,t,n)}setElementProperty(e,t,n){this.delegate.setProperty(e,t,n)}setElementAttribute(e,t,n){const[r,s]=cr(t);null!=n?this.delegate.setAttribute(e,s,n,r):this.delegate.removeAttribute(e,s,r)}setBindingDebugInfo(e,t,n){}setElementClass(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}setElementStyle(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}invokeElementMethod(e,t,n){e[t].apply(e,n)}setText(e,t){this.delegate.setValue(e,t)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function Hr(e,t,n,r){return new jr(e,t,n,r)}class jr{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=new Array(t.providers.length);for(let r=0;r<t.providers.length;r++){const s=t.providers[r];4096&s.flags||void 0===n[r]&&(n[r]=_r(e,s))}}(this)}get(e,t=Me.THROW_IF_NOT_FOUND,n=ne.Default){let r=0;return n&ne.SkipSelf?r|=1:n&ne.Self&&(r|=4),mr(this,{token:e,tokenKey:Vn(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Ft)}destroy(){if(this._destroyed)throw new Error(`The ng module ${ae(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let s=0;s<n.providers.length;s++)if(131072&n.providers[s].flags){const t=e._providers[s];if(t&&t!==dr){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const Lr=Vn(Wt),Fr=Vn(Yt),Br=Vn(Qt),zr=Vn(vn),Ur=Vn(wn),Zr=Vn(pn),$r=Vn(Me),Qr=Vn(_e);function Gr(e,t,n,r,s,o,i,a){const l=[];if(i)for(let u in i){const[e,t]=i[u];l[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let u in a)c.push({type:1,propName:u,target:null,eventName:a[u]});return function(e,t,n,r,s,o,i,a,l){const{matchedQueries:c,references:u,matchedQueryIds:d}=Jn(n);l||(l=[]),a||(a=[]),o=ue(o);const h=Xn(i,ae(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:u,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:ur(a),outputs:l,element:null,provider:{token:s,value:o,deps:h},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,s,s,o,l,c)}function Wr(e,t){return Jr(e,t)}function qr(e,t){let n=e;for(;n.parent&&!Kn(n);)n=n.parent;return Xr(n.parent,Wn(n),!0,t.provider.value,t.provider.deps)}function Kr(e,t){const n=Xr(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let s=0;s<t.outputs.length;s++){const o=t.outputs[s],i=n[o.propName];if(!(r=i)||"function"!=typeof r.subscribe)throw new Error(`@Output ${o.propName} not initialized in '${n.constructor.name}'.`);{const n=i.subscribe(Yr(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+s]=n.unsubscribe.bind(n)}}var r;return n}function Yr(e,t,n){return r=>Qn(e,t,n,r)}function Jr(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Xr(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,s){const o=s.length;switch(o){case 0:return r();case 1:return r(ts(e,t,n,s[0]));case 2:return r(ts(e,t,n,s[0]),ts(e,t,n,s[1]));case 3:return r(ts(e,t,n,s[0]),ts(e,t,n,s[1]),ts(e,t,n,s[2]));default:const i=Array(o);for(let r=0;r<o;r++)i[r]=ts(e,t,n,s[r]);return r(...i)}}(e,t.parent,n,r.value,r.deps);case 2048:return ts(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Xr(e,t,n,r,s){const o=s.length;switch(o){case 0:return new r;case 1:return new r(ts(e,t,n,s[0]));case 2:return new r(ts(e,t,n,s[0]),ts(e,t,n,s[1]));case 3:return new r(ts(e,t,n,s[0]),ts(e,t,n,s[1]),ts(e,t,n,s[2]));default:const i=new Array(o);for(let r=0;r<o;r++)i[r]=ts(e,t,n,s[r]);return new r(...i)}}const es={};function ts(e,t,n,r,s=Me.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const o=e;2&r.flags&&(s=null);const i=r.tokenKey;i===Zr&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(i){case Lr:return Pr(ns(a,t,n));case Fr:return ns(a,t,n).renderer;case Br:return new Qt(Sn(a,t.nodeIndex).renderElement);case zr:return Sn(a,t.nodeIndex).viewContainer;case Ur:if(t.element.template)return Sn(a,t.nodeIndex).template;break;case Zr:return Sr(ns(a,t,n));case $r:case Qr:return Rr(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[i];if(e){let t=An(a,e.nodeIndex);return t||(t={instance:Jr(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=Kn(a),t=Wn(a),a=a.parent,4&r.flags&&(a=null)}const l=o.root.injector.get(r.token,es);return l!==es||s===es?l:o.root.ngModule.injector.get(r.token,s)}function ns(e,t,n){let r;if(n)r=Sn(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Kn(r);)r=r.parent;return r}function rs(e,t,n,r,s,o){if(32768&n.flags){const t=Sn(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=s,524288&n.flags){o=o||{};const t=At.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new Ot(t,s,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=s,o}function ss(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let s=0;s<n.length;s++){const o=n[s];let i=o.parent;for(!i&&o.flags&t&&is(e,s,o.flags&t,r++),0==(o.childFlags&t)&&(s+=o.childCount);i&&1&i.flags&&s===i.nodeIndex+i.childCount;)i.directChildFlags&t&&(r=os(e,i,t,r)),i=i.parent}}function os(e,t,n,r){for(let s=t.nodeIndex+1;s<=t.nodeIndex+t.childCount;s++){const t=e.def.nodes[s];t.flags&n&&is(e,s,t.flags&n,r++),s+=t.childCount}return r}function is(e,t,n,r){const s=An(e,t);if(!s)return;const o=s.instance;o&&(Rn.setCurrentNode(e,t),1048576&n&&In(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&In(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}const as=new me("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>$e}),ls={},cs=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),us=void 0;var ds=["en",[["a","p"],["AM","PM"],us],[["AM","PM"],us,us],[["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"]],us,[["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"]],us,[["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}",us,"{1} 'at' {0}",us],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let hs="en-US";class fs extends x{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,s,o);return e instanceof h&&e.add(i),i}}function ps(){return this._results[It()]()}class gs{constructor(){this.dirty=!0,this._results=[],this.changes=new fs,this.length=0;const e=It(),t=gs.prototype;t[e]||(t[e]=ps)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?(n===t&&(n=t.slice(0,r)),e(s,n)):n!==t&&n.push(s)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}const ms=new me("Application Initializer");let _s=(()=>(class{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Rt(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}))();const ys=new me("AppId");function ws(){return`${bs()}${bs()}${bs()}`}function bs(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const vs=new me("Platform Initializer"),Es=new me("Platform ID"),Cs=new me("appBootstrapListener");let xs=(()=>(class{log(e){console.log(e)}warn(e){console.warn(e)}}))();const Ts=new me("LocaleId");function ks(){throw new Error("Runtime compiler is not loaded")}const Is=ks,Ns=ks,Ss=ks,As=ks;let Ds,Ms,Rs=(()=>(class{constructor(){this.compileModuleSync=Is,this.compileModuleAsync=Ns,this.compileModuleAndAllComponentsSync=Ss,this.compileModuleAndAllComponentsAsync=As}clearCache(){}clearCacheFor(e){}getModuleId(e){}}))();class Os{}function Ps(){const e=ge.wtf;return!(!e||!(Ds=e.trace)||(Ms=Ds.events,0))}const Vs=Ps(),Hs=Vs?function(e,t=null){return Ms.createScope(e,t)}:(e,t)=>(function(e,t){return null}),js=Vs?function(e,t){return Ds.leaveScope(e,t),t}:(e,t)=>t,Ls=(()=>Promise.resolve(0))();function Fs(e){"undefined"==typeof Zone?Ls.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Bs{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fs(!1),this.onMicrotaskEmpty=new fs(!1),this.onStable=new fs(!1),this.onError=new fs(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,s,o,i)=>{try{return $s(t),e.invokeTask(r,s,o,i)}finally{Qs(t)}},onInvoke:(e,n,r,s,o,i,a)=>{try{return $s(t),e.invoke(r,s,o,i,a)}finally{Qs(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,Zs(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Bs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Bs.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,e,Us,zs,zs);try{return s.runTask(o,t,n)}finally{s.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function zs(){}const Us={};function Zs(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function $s(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qs(e){e._nesting--,Zs(e)}class Gs{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fs,this.onMicrotaskEmpty=new fs,this.onStable=new fs,this.onError=new fs}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}let Ws=(()=>(class{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.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:()=>{Bs.assertNotInAngularZone(),Fs(()=>{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())Fs(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}))(),qs=(()=>{class e{constructor(){this._applications=new Map,Js.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Js.findTestabilityInTree(this,e,t)}}return e.ctorParameters=()=>[],e})();class Ks{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let Ys,Js=new Ks,Xs=function(e){return e instanceof zt};const eo=new me("AllowMultipleToken");class to{constructor(e,t){this.name=e,this.token=t}}function no(e,t,n=[]){const r=`Platform: ${t}`,s=new me(r);return(t=[])=>{let o=ro();if(!o||o.injector.get(eo,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0});!function(e){if(Ys&&!Ys.destroyed&&!Ys.injector.get(eo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ys=e.get(so);const t=e.get(vs,null);t&&t.forEach(e=>e())}(Me.create({providers:e,name:r}))}return function(e){const t=ro();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function ro(){return Ys&&!Ys.destroyed?Ys:null}let so=(()=>(class{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n="noop"===(s=t?t.ngZone:void 0)?new Gs:("zone.js"===s?void 0:s)||new Bs({enableLongStackTrace:We()}),r=[{provide:Bs,useValue:n}];var s;return n.run(()=>{const t=Me.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get(Ct,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return function(e){hs=e.toLowerCase().replace(/_/g,"-")}(s.injector.get(Ts,"en-US")),s.onDestroy(()=>ao(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const s=n();return Rt(s)?s.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):s}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=s.injector.get(_s);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=oo({},t);return function(e,t,n){return e.get(Os).createCompiler([t]).compileModuleAsync(n)}(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(io);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ae(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}))();function oo(e,t){return Array.isArray(t)?t.reduce(oo,e):Object.assign({},e,t)}let io=(()=>{class e{constructor(e,t,n,r,s,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=We(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),a=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Bs.assertNotInAngularZone(),Fs(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Bs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];var s;return(s=r)&&"function"==typeof s.schedule?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof y?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?s=>s.pipe(e((e,r)=>(function(e,t){return e instanceof y?e:new y(P(e))})(t(e,r)).pipe(function(e,t){return function(t){return t.lift(new H(e,void 0))}}((t,s)=>n(e,t,r,s))),r)):("number"==typeof n&&(r=n),e=>e.lift(new F(t,r)))}(z,e)}(t)(L(e,n))}(i,a.pipe(e=>U()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,G);return r.source=t,r.subjectFactory=n,r}}(q)(e))))}bootstrap(e,t){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=e instanceof Vt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Xs(n)?null:this._injector.get(Ut),s=n.create(Me.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(Ws,null);return o&&s.injector.get(qs).registerApplication(s.location.nativeElement,o),this._loadComponent(s),We()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,js(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;ao(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Cs,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),ao(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=Hs("ApplicationRef#tick()"),e})();function ao(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class lo{constructor(e,t){this.name=e,this.callback=t}}class co{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof uo&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class uo extends co{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof uo&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof uo&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof uo&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof uo)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const ho=new Map,fo=function(e){return ho.get(e)||null};function po(e){ho.set(e.nativeNode,e)}const go=no(null,"core",[{provide:Es,useValue:"unknown"},{provide:so,deps:[Me]},{provide:qs,deps:[]},{provide:xs,deps:[]}]);function mo(){return _n}function _o(){return yn}function yo(e){return e||"en-US"}function wo(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}let bo=(()=>(class{constructor(e){}}))();function vo(e,t,n,r,s,o,i=[],a,l,c,u,d){c||(c=On);const{matchedQueries:h,references:f,matchedQueryIds:p}=Jn(n);let g=null,m=null;o&&([g,m]=cr(o)),a=a||[];const _=new Array(a.length);for(let b=0;b<a.length;b++){const[e,t,n]=a[b],[r,s]=cr(t);let o=void 0,i=void 0;switch(15&e){case 4:i=n;break;case 1:case 8:o=n}_[b]={flags:e,ns:r,name:s,nonMinifiedName:s,securityContext:o,suffix:i}}l=l||[];const y=new Array(l.length);for(let b=0;b<l.length;b++){const[e,t]=l[b];y[b]={type:0,target:e,eventName:t,propName:null}}const w=(i=i||[]).map(([e,t])=>{const[n,r]=cr(e);return[n,r,t]});return d=function(e){if(e&&e.id===Hn){const t=null!=e.encapsulation&&e.encapsulation!==Ze.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${Fn++}`:jn}return e&&e.id===jn&&(e=null),e||null}(d),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:p,references:f,ngContentIndex:r,childCount:s,bindings:_,bindingFlags:ur(_),outputs:y,element:{ns:g,name:m,attrs:w,template:null,componentProvider:null,componentView:u||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||On},provider:null,text:null,query:null,ngContent:null}}function Eo(e,t,n){const r=n.element,s=e.root.selectorOrNode,o=e.renderer;let i;if(e.parent||!s){i=r.name?o.createElement(r.name,r.ns):o.createComment("");const s=er(e,t,n);s&&o.appendChild(s,i)}else i=o.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===Ze.ShadowDom);if(r.attrs)for(let a=0;a<r.attrs.length;a++){const[e,t,n]=r.attrs[a];o.setAttribute(i,t,n,e)}return i}function Co(e,t,n,r){for(let i=0;i<n.outputs.length;i++){const a=n.outputs[i],l=xo(e,n.nodeIndex,(o=a.eventName,(s=a.target)?`${s}:${o}`:o));let c=a.target,u=e;"component"===a.target&&(c=null,u=t);const d=u.renderer.listen(c||r,a.eventName,l);e.disposables[n.outputIndex+i]=d}var s,o}function xo(e,t,n){return r=>Qn(e,t,n,r)}function To(e,t,n,r){if(!zn(e,t,n,r))return!1;const s=t.bindings[n],o=Sn(e,t.nodeIndex),i=o.renderElement,a=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,o){const i=t.securityContext;let a=i?e.root.sanitizer.sanitize(i,o):o;a=null!=a?a.toString():null;const l=e.renderer;null!=o?l.setAttribute(n,s,a,r):l.removeAttribute(n,s,r)}(e,s,i,s.ns,a,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,i,a,r);break;case 4:!function(e,t,n,r,s){let o=e.root.sanitizer.sanitize(mt.STYLE,s);if(null!=o){o=o.toString();const e=t.suffix;null!=e&&(o+=e)}else o=null;const i=e.renderer;null!=o?i.setStyle(n,r,o):i.removeStyle(n,r)}(e,s,i,a,r);break;case 8:!function(e,t,n,r,s){const o=t.securityContext;let i=o?e.root.sanitizer.sanitize(o,s):s;e.renderer.setProperty(n,r,i)}(33554432&t.flags&&32&s.flags?o.componentView:e,s,i,a,r)}return!0}function ko(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Yn(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let s=0;s<=r;s++){const r=e.def.nodes[s];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Mn(e,s).setDirty(),!(1&r.flags&&s+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(s+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&Mn(e,n).setDirty(),n+=t.childCount}}function Io(e,t){const n=Mn(e,t.nodeIndex);if(!n.dirty)return;let r,s=void 0;if(67108864&t.flags){const n=t.parent.parent;s=No(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=An(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(s=No(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(s);const o=t.query.bindings;let i=!1;for(let a=0;a<o.length;a++){const e=o[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,i=!0}r[e.propName]=t}i&&n.notifyOnChanges()}function No(e,t,n,r,s){for(let o=t;o<=n;o++){const t=e.def.nodes[o],n=t.matchedQueries[r.id];if(null!=n&&s.push(So(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=Sn(e,o);if((t.childMatchedQueries&r.filterId)===r.filterId&&(No(e,o+1,o+t.childCount,r,s),o+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const o=e[t],i=Gn(o);i&&i===n&&No(o,0,o.def.nodes.length-1,r,s)}}const i=n.template._projectedViews;if(i)for(let e=0;e<i.length;e++){const t=i[e];No(t,0,t.def.nodes.length-1,r,s)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(o+=t.childCount)}return s}function So(e,t,n){if(null!=n)switch(n){case 1:return Sn(e,t.nodeIndex).renderElement;case 0:return new Qt(Sn(e,t.nodeIndex).renderElement);case 2:return Sn(e,t.nodeIndex).template;case 3:return Sn(e,t.nodeIndex).viewContainer;case 4:return An(e,t.nodeIndex).instance}}function Ao(e,t,n){const r=er(e,t,n);r&&or(e,n.ngContent.index,1,r,null,void 0)}function Do(e,t,n){const r=new Array(n.length-1);for(let s=1;s<n.length;s++)r[s-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[s]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Mo(e,t,n){let r;const s=e.renderer;r=s.createText(n.text.prefix);const o=er(e,t,n);return o&&s.appendChild(o,r),{renderText:r}}function Ro(e,t){return(null!=e?e.toString():"")+t.suffix}function Oo(e,t,n,r){let s=0,o=0,i=0,a=0,l=0,c=null,u=null,d=!1,h=!1,f=null;for(let p=0;p<t.length;p++){const e=t[p];if(e.nodeIndex=p,e.parent=c,e.bindingIndex=s,e.outputIndex=o,e.renderParent=u,i|=e.flags,l|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=c?c.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(l|=e.element.template.nodeMatchedQueries)}if(Vo(c,e,t.length),s+=e.bindings.length,o+=e.outputs.length,!u&&3&e.flags&&(f=e),20224&e.flags){d||(d=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?c.element.publicProviders[Vn(e.provider.token)]=e:(h||(h=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Vn(e.provider.token)]=e),t&&(c.element.componentProvider=e)}if(c?(c.childFlags|=e.flags,c.directChildFlags|=e.flags,c.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(c.childMatchedQueries|=e.element.template.nodeMatchedQueries)):a|=e.flags,e.childCount>0)c=e,Po(e)||(u=e);else for(;c&&p===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),u=(c=e)&&Po(c)?c.renderParent:c}}return{factory:null,nodeFlags:i,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||On,updateRenderer:r||On,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:o,lastRenderRootNode:f}}function Po(e){return 0!=(1&e.flags)&&null===e.element.name}function Vo(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function Ho(e,t,n,r){const s=Fo(e.root,e.renderer,e,t,n);return Bo(s,e.component,r),zo(s),s}function jo(e,t,n){const r=Fo(e,e.renderer,null,null,t);return Bo(r,n,n),zo(r),r}function Lo(e,t,n,r){const s=t.element.componentRendererType;let o;return o=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,Fo(e.root,o,e,t.element.componentProvider,n)}function Fo(e,t,n,r,s){const o=new Array(s.nodes.length),i=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(s.bindingCount),disposables:i,initIndex:-1}}function Bo(e,t,n){e.component=t,e.context=n}function zo(e){let t;Kn(e)&&(t=Sn(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s<n.nodes.length;s++){const o=n.nodes[s];let i;switch(Rn.setCurrentNode(e,s),201347067&o.flags){case 1:const n=Eo(e,t,o);let a=void 0;if(33554432&o.flags){const t=nr(o.element.componentView);a=Rn.createComponentView(e,o,t,n)}Co(e,a,o,n),i={renderElement:n,componentView:a,viewContainer:null,template:o.element.template?Dr(e,o):void 0},16777216&o.flags&&(i.viewContainer=Ir(e,o,i));break;case 2:i=Mo(e,t,o);break;case 512:case 1024:case 2048:case 256:(i=r[s])||4096&o.flags||(i={instance:Wr(e,o)});break;case 16:i={instance:qr(e,o)};break;case 16384:(i=r[s])||(i={instance:Kr(e,o)}),32768&o.flags&&Bo(Sn(e,o.parent.nodeIndex).componentView,i.instance,i.instance);break;case 32:case 64:case 128:i={value:void 0};break;case 67108864:case 134217728:i=new gs;break;case 8:Ao(e,t,o),i=void 0}r[s]=i}Yo(e,Ko.CreateViewNodes),ti(e,201326592,268435456,0)}function Uo(e){Qo(e),Rn.updateDirectives(e,1),Jo(e,Ko.CheckNoChanges),Rn.updateRenderer(e,1),Yo(e,Ko.CheckNoChanges),e.state&=-97}function Zo(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,kn(e,0,256),Qo(e),Rn.updateDirectives(e,0),Jo(e,Ko.CheckAndUpdate),ti(e,67108864,536870912,0);let t=kn(e,256,512);ss(e,2097152|(t?1048576:0)),Rn.updateRenderer(e,0),Yo(e,Ko.CheckAndUpdate),ti(e,134217728,536870912,0),ss(e,8388608|((t=kn(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,kn(e,768,1024)}function $o(e,t,n,r,s,o,i,a,l,c,u,d,h){return 0===n?function(e,t,n,r,s,o,i,a,l,c,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,s,o,i,a,l,c,u,d){const h=t.bindings.length;let f=!1;return h>0&&To(e,t,0,n)&&(f=!0),h>1&&To(e,t,1,r)&&(f=!0),h>2&&To(e,t,2,s)&&(f=!0),h>3&&To(e,t,3,o)&&(f=!0),h>4&&To(e,t,4,i)&&(f=!0),h>5&&To(e,t,5,a)&&(f=!0),h>6&&To(e,t,6,l)&&(f=!0),h>7&&To(e,t,7,c)&&(f=!0),h>8&&To(e,t,8,u)&&(f=!0),h>9&&To(e,t,9,d)&&(f=!0),f}(e,t,n,r,s,o,i,a,l,c,u,d);case 2:return function(e,t,n,r,s,o,i,a,l,c,u,d){let h=!1;const f=t.bindings,p=f.length;if(p>0&&zn(e,t,0,n)&&(h=!0),p>1&&zn(e,t,1,r)&&(h=!0),p>2&&zn(e,t,2,s)&&(h=!0),p>3&&zn(e,t,3,o)&&(h=!0),p>4&&zn(e,t,4,i)&&(h=!0),p>5&&zn(e,t,5,a)&&(h=!0),p>6&&zn(e,t,6,l)&&(h=!0),p>7&&zn(e,t,7,c)&&(h=!0),p>8&&zn(e,t,8,u)&&(h=!0),p>9&&zn(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;p>0&&(h+=Ro(n,f[0])),p>1&&(h+=Ro(r,f[1])),p>2&&(h+=Ro(s,f[2])),p>3&&(h+=Ro(o,f[3])),p>4&&(h+=Ro(i,f[4])),p>5&&(h+=Ro(a,f[5])),p>6&&(h+=Ro(l,f[6])),p>7&&(h+=Ro(c,f[7])),p>8&&(h+=Ro(u,f[8])),p>9&&(h+=Ro(d,f[9]));const g=Nn(e,t.nodeIndex).renderText;e.renderer.setValue(g,h)}return h}(e,t,n,r,s,o,i,a,l,c,u,d);case 16384:return function(e,t,n,r,s,o,i,a,l,c,u,d){const h=An(e,t.nodeIndex),f=h.instance;let p=!1,g=void 0;const m=t.bindings.length;return m>0&&Bn(e,t,0,n)&&(p=!0,g=rs(e,h,t,0,n,g)),m>1&&Bn(e,t,1,r)&&(p=!0,g=rs(e,h,t,1,r,g)),m>2&&Bn(e,t,2,s)&&(p=!0,g=rs(e,h,t,2,s,g)),m>3&&Bn(e,t,3,o)&&(p=!0,g=rs(e,h,t,3,o,g)),m>4&&Bn(e,t,4,i)&&(p=!0,g=rs(e,h,t,4,i,g)),m>5&&Bn(e,t,5,a)&&(p=!0,g=rs(e,h,t,5,a,g)),m>6&&Bn(e,t,6,l)&&(p=!0,g=rs(e,h,t,6,l,g)),m>7&&Bn(e,t,7,c)&&(p=!0,g=rs(e,h,t,7,c,g)),m>8&&Bn(e,t,8,u)&&(p=!0,g=rs(e,h,t,8,u,g)),m>9&&Bn(e,t,9,d)&&(p=!0,g=rs(e,h,t,9,d,g)),g&&f.ngOnChanges(g),65536&t.flags&&In(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,s,o,i,a,l,c,u,d);case 32:case 64:case 128:return function(e,t,n,r,s,o,i,a,l,c,u,d){const h=t.bindings;let f=!1;const p=h.length;if(p>0&&zn(e,t,0,n)&&(f=!0),p>1&&zn(e,t,1,r)&&(f=!0),p>2&&zn(e,t,2,s)&&(f=!0),p>3&&zn(e,t,3,o)&&(f=!0),p>4&&zn(e,t,4,i)&&(f=!0),p>5&&zn(e,t,5,a)&&(f=!0),p>6&&zn(e,t,6,l)&&(f=!0),p>7&&zn(e,t,7,c)&&(f=!0),p>8&&zn(e,t,8,u)&&(f=!0),p>9&&zn(e,t,9,d)&&(f=!0),f){const f=Dn(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(h.length),p>0&&(g[0]=n),p>1&&(g[1]=r),p>2&&(g[2]=s),p>3&&(g[3]=o),p>4&&(g[4]=i),p>5&&(g[5]=a),p>6&&(g[6]=l),p>7&&(g[7]=c),p>8&&(g[8]=u),p>9&&(g[9]=d);break;case 64:g={},p>0&&(g[h[0].name]=n),p>1&&(g[h[1].name]=r),p>2&&(g[h[2].name]=s),p>3&&(g[h[3].name]=o),p>4&&(g[h[4].name]=i),p>5&&(g[h[5].name]=a),p>6&&(g[h[6].name]=l),p>7&&(g[h[7].name]=c),p>8&&(g[h[8].name]=u),p>9&&(g[h[9].name]=d);break;case 128:const e=n;switch(p){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,s);break;case 4:g=e.transform(r,s,o);break;case 5:g=e.transform(r,s,o,i);break;case 6:g=e.transform(r,s,o,i,a);break;case 7:g=e.transform(r,s,o,i,a,l);break;case 8:g=e.transform(r,s,o,i,a,l,c);break;case 9:g=e.transform(r,s,o,i,a,l,c,u);break;case 10:g=e.transform(r,s,o,i,a,l,c,u,d)}}f.value=g}return f}(e,t,n,r,s,o,i,a,l,c,u,d);default:throw"unreachable"}}(e,t,r,s,o,i,a,l,c,u,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s<n.length;s++)To(e,t,s,n[s])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let s=!1;for(let o=0;o<n.length;o++)zn(e,t,o,n[o])&&(s=!0);if(s){let s="";for(let e=0;e<n.length;e++)s+=Ro(n[e],r[e]);s=t.text.prefix+s;const o=Nn(e,t.nodeIndex).renderText;e.renderer.setValue(o,s)}return s}(e,t,n);case 16384:return function(e,t,n){const r=An(e,t.nodeIndex),s=r.instance;let o=!1,i=void 0;for(let a=0;a<n.length;a++)Bn(e,t,a,n[a])&&(o=!0,i=rs(e,r,t,a,n[a],i));return i&&s.ngOnChanges(i),65536&t.flags&&In(e,256,t.nodeIndex)&&s.ngOnInit(),262144&t.flags&&s.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let s=!1;for(let o=0;o<n.length;o++)zn(e,t,o,n[o])&&(s=!0);if(s){const s=Dn(e,t.nodeIndex);let o;switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(let t=0;t<n.length;t++)o[r[t].name]=n[t];break;case 128:const e=n[0],s=n.slice(1);o=e.transform(...s)}s.value=o}return s}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Qo(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=Sn(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,$n(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Go(e,t,n,r,s,o,i,a,l,c,u,d,h){return 0===n?function(e,t,n,r,s,o,i,a,l,c,u,d){const h=t.bindings.length;h>0&&Un(e,t,0,n),h>1&&Un(e,t,1,r),h>2&&Un(e,t,2,s),h>3&&Un(e,t,3,o),h>4&&Un(e,t,4,i),h>5&&Un(e,t,5,a),h>6&&Un(e,t,6,l),h>7&&Un(e,t,7,c),h>8&&Un(e,t,8,u),h>9&&Un(e,t,9,d)}(e,t,r,s,o,i,a,l,c,u,d,h):function(e,t,n){for(let r=0;r<n.length;r++)Un(e,t,r,n[r])}(e,t,r),!1}function Wo(e,t){if(Mn(e,t.nodeIndex).dirty)throw Cn(Rn.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function qo(e){if(!(128&e.state)){if(Jo(e,Ko.Destroy),Yo(e,Ko.Destroy),ss(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=Gn(e);if(t){const n=t.template._projectedViews;n&&(Er(n,n.indexOf(e)),Rn.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(Sn(e,n).renderElement):2&t.flags?e.renderer.destroyNode(Nn(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Mn(e,n).destroy()}}(e),Kn(e)&&e.renderer.destroy(),e.state|=128}}const Ko=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function Yo(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];33554432&s.flags?Xo(Sn(e,r).componentView,t):0==(33554432&s.childFlags)&&(r+=s.childCount)}}function Jo(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];if(16777216&s.flags){const n=Sn(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)Xo(n[e],t)}else 0==(16777216&s.childFlags)&&(r+=s.childCount)}}function Xo(e,t){const n=e.state;switch(t){case Ko.CheckNoChanges:0==(128&n)&&(12==(12&n)?Uo(e):64&n&&ei(e,Ko.CheckNoChangesProjectedViews));break;case Ko.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Uo(e):64&n&&ei(e,t));break;case Ko.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Zo(e):64&n&&ei(e,Ko.CheckAndUpdateProjectedViews));break;case Ko.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Zo(e):64&n&&ei(e,t));break;case Ko.Destroy:qo(e);break;case Ko.CreateViewNodes:zo(e)}}function ei(e,t){Jo(e,t),Yo(e,t)}function ti(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const s=e.def.nodes.length;for(let o=0;o<s;o++){const s=e.def.nodes[o];if(s.flags&t&&s.flags&n)switch(Rn.setCurrentNode(e,s.nodeIndex),r){case 0:Io(e,s);break;case 1:Wo(e,s)}s.childFlags&t&&s.childFlags&n||(o+=s.childCount)}}let ni=!1;function ri(e,t,n,r,s,o){const i=s.injector.get(qt);return jo(oi(e,s,i,t,n),r,o)}function si(e,t,n,r,s,o){const i=s.injector.get(qt),a=oi(e,s,new Hi(i),t,n),l=gi(r);return Pi(vi.create,jo,null,[a,l,o])}function oi(e,t,n,r,s){const o=t.injector.get(_t),i=t.injector.get(Ct),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:s,sanitizer:o,rendererFactory:n,renderer:a,errorHandler:i}}function ii(e,t,n,r){const s=gi(n);return Pi(vi.create,Ho,null,[e,t,s,r])}function ai(e,t,n,r){return n=di.get(t.element.componentProvider.provider.token)||gi(n),Pi(vi.create,Lo,null,[e,t,n,r])}function li(e,t,n,r){return Hr(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===ci.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const r=ci.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{ui.forEach((r,s)=>{oe(s).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const s=ci.get(r.token);s&&(r.flags=-3841&r.flags|s.flags,r.deps=Xn(s.deps),r.value=s.value)}if(ui.size>0){let t=new Set(e.modules);ui.forEach((r,s)=>{if(t.has(oe(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:Xn(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Vn(s)]=t}})}}(e=e.factory(()=>On)),e):e}(r))}const ci=new Map,ui=new Map,di=new Map;function hi(e){let t;ci.set(e.token,e),"function"==typeof e.token&&(t=oe(e.token))&&"function"==typeof t.providedIn&&ui.set(e.token,e)}function fi(e,t){const n=nr(t.viewDefFactory),r=nr(n.nodes[0].element.componentView);di.set(e,r)}function pi(){ci.clear(),ui.clear(),di.clear()}function gi(e){if(0===ci.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const s=e.nodes[r];1&s.flags&&(n=s),n&&3840&s.flags&&ci.has(s.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>On);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=ci.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=Xn(n.deps),e.value=n.value)}}}}function mi(e,t,n,r,s,o,i,a,l,c,u,d,h){const f=e.def.nodes[t];return $o(e,f,n,r,s,o,i,a,l,c,u,d,h),224&f.flags?Dn(e,t).value:void 0}function _i(e,t,n,r,s,o,i,a,l,c,u,d,h){const f=e.def.nodes[t];return Go(e,f,n,r,s,o,i,a,l,c,u,d,h),224&f.flags?Dn(e,t).value:void 0}function yi(e){return Pi(vi.detectChanges,Zo,null,[e])}function wi(e){return Pi(vi.checkNoChanges,Uo,null,[e])}function bi(e){return Pi(vi.destroy,qo,null,[e])}const vi=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let Ei,Ci,xi;function Ti(e,t){Ci=e,xi=t}function ki(e,t,n,r){return Ti(e,t),Pi(vi.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Ii(e,t){if(128&e.state)throw Tn(vi[Ei]);return Ti(e,Di(e,0)),e.def.updateDirectives(function(e,n,r,...s){const o=e.def.nodes[n];return 0===t?Si(e,o,r,s):Ai(e,o,r,s),16384&o.flags&&Ti(e,Di(e,n)),224&o.flags?Dn(e,o.nodeIndex).value:void 0},e)}function Ni(e,t){if(128&e.state)throw Tn(vi[Ei]);return Ti(e,Mi(e,0)),e.def.updateRenderer(function(e,n,r,...s){const o=e.def.nodes[n];return 0===t?Si(e,o,r,s):Ai(e,o,r,s),3&o.flags&&Ti(e,Mi(e,n)),224&o.flags?Dn(e,o.nodeIndex).value:void 0},e)}function Si(e,t,n,r){if($o(e,t,n,...r)){const i=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],a=i[e];8&r.flags&&(n[(s=r.nonMinifiedName,o=void 0,o=s.replace(/[$@]/g,"_"),`ng-reflect-${s=o.replace(xt,(...e)=>"-"+e[1].toLowerCase())}`)]=Tt(a))}const r=t.parent,a=Sn(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(a,t,r):e.renderer.removeAttribute(a,t)}else e.renderer.setValue(a,`bindings=${JSON.stringify(n,null,2)}`)}}var s,o}function Ai(e,t,n,r){Go(e,t,n,...r)}function Di(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function Mi(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class Ri{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Wn(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return Sn(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Rr(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){Oi(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&Oi(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!Kn(e);)e=e.parent;return e.parent?Sn(e.parent,Wn(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?qn(this.view,this.nodeDef):qn(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const s=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let o=-1;n.factory(()=>++o===s?e.error.bind(e,...t):On),o<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function Oi(e,t,n){for(let r in t.references)n[r]=So(e,t,t.references[r])}function Pi(e,t,n,r){const s=Ei,o=Ci,i=xi;try{Ei=e;const l=t.apply(n,r);return Ci=o,xi=i,Ei=s,l}catch(a){if(bt(a)||!Ci)throw a;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),xn(e,t),e}(a,Vi())}}function Vi(){return Ci?new Ri(Ci,xi):null}class Hi{constructor(e){this.delegate=e}createRenderer(e,t){return new ji(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class ji{constructor(e){this.delegate=e,this.debugContextFactory=Vi,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){!function(e){ho.delete(e.nativeNode)}(fo(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new uo(n,null,r);t.name=e,po(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&po(new co(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&po(new co(t,null,n)),t}appendChild(e,t){const n=fo(e),r=fo(t);n&&r&&n instanceof uo&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=fo(e),s=fo(t),o=fo(n);r&&s&&r instanceof uo&&r.insertBefore(o,s),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=fo(e),r=fo(t);n&&r&&n instanceof uo&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=Vi();return r&&po(new uo(n,null,r)),n}setAttribute(e,t,n,r){const s=fo(e);s&&s instanceof uo&&(s.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=fo(e);r&&r instanceof uo&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=fo(e);n&&n instanceof uo&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=fo(e);n&&n instanceof uo&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const s=fo(e);s&&s instanceof uo&&(s.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=fo(e);r&&r instanceof uo&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=fo(e);r&&r instanceof uo&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=fo(e);r&&r.listeners.push(new lo(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function Li(e,t,n){return new Fi(e,t,n)}class Fi extends Zt{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(ni)return;ni=!0;const e=We()?{setCurrentNode:Ti,createRootView:si,createEmbeddedView:ii,createComponentView:ai,createNgModuleRef:li,overrideProvider:hi,overrideComponentView:fi,clearOverrides:pi,checkAndUpdateView:yi,checkNoChangesView:wi,destroyView:bi,createDebugContext:(e,t)=>new Ri(e,t),handleEvent:ki,updateDirectives:Ii,updateRenderer:Ni}:{setCurrentNode:()=>{},createRootView:ri,createEmbeddedView:Ho,createComponentView:Lo,createNgModuleRef:Hr,overrideProvider:On,overrideComponentView:On,clearOverrides:On,checkAndUpdateView:Zo,checkNoChangesView:Uo,destroyView:qo,createDebugContext:(e,t)=>new Ri(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?mi:_i,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?mi:_i,e)};Rn.setCurrentNode=e.setCurrentNode,Rn.createRootView=e.createRootView,Rn.createEmbeddedView=e.createEmbeddedView,Rn.createComponentView=e.createComponentView,Rn.createNgModuleRef=e.createNgModuleRef,Rn.overrideProvider=e.overrideProvider,Rn.overrideComponentView=e.overrideComponentView,Rn.clearOverrides=e.clearOverrides,Rn.checkAndUpdateView=e.checkAndUpdateView,Rn.checkNoChangesView=e.checkNoChangesView,Rn.destroyView=e.destroyView,Rn.resolveDep=ts,Rn.createDebugContext=e.createDebugContext,Rn.handleEvent=e.handleEvent,Rn.updateDirectives=e.updateDirectives,Rn.updateRenderer=e.updateRenderer,Rn.dirtyParentQueries=ko}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const s in e.providersByKey)r[s]=e.providersByKey[s];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(nr(this._ngModuleDefFactory));return Rn.createNgModuleRef(this.moduleType,e||Me.NULL,this._bootstrapComponents,t)}}class Bi{}class zi{constructor(){this.title="snomed-search-ui"}}var Ui=Ln({encapsulation:0,styles:[[""]],data:{}});function Zi(e){return Oo(0,[(e()(),vo(0,0,null,null,3,"div",[["style","text-align:center"]],null,null,null,null,null)),(e()(),vo(1,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),Do(2,null,[" Welcome to ","! "])),(e()(),vo(3,0,null,null,0,"img",[["alt","Angular Logo"],["src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="],["width","300"]],null,null,null,null,null)),(e()(),vo(4,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),Do(-1,null,["Here are some links to help you start: "])),(e()(),vo(6,0,null,null,12,"ul",[],null,null,null,null,null)),(e()(),vo(7,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),vo(8,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),vo(9,0,null,null,1,"a",[["href","https://angular.io/tutorial"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(e()(),Do(-1,null,["Tour of Heroes"])),(e()(),vo(11,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),vo(12,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),vo(13,0,null,null,1,"a",[["href","https://angular.io/cli"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(e()(),Do(-1,null,["CLI Documentation"])),(e()(),vo(15,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),vo(16,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),vo(17,0,null,null,1,"a",[["href","https://blog.angular.io/"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(e()(),Do(-1,null,["Angular blog"]))],null,function(e,t){e(t,2,0,t.component.title)})}function $i(e){return Oo(0,[(e()(),vo(0,0,null,null,1,"app-root",[],null,null,null,Zi,Ui)),Gr(1,49152,null,0,zi,[],null,null)],null,null)}var Qi=xr("app-root",zi,$i,{},{},[]);class Gi{}const Wi=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),qi=new me("UseV4Plurals");class Ki{}let Yi=(()=>(class extends Ki{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){const t=e.toLowerCase().replace(/_/g,"-");let n=ls[t];if(n)return n;const r=t.split("-")[0];if(n=ls[r])return n;if("en"===r)return ds;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[cs.PluralCase]}(t||this.locale)(e)){case Wi.Zero:return"zero";case Wi.One:return"one";case Wi.Two:return"two";case Wi.Few:return"few";case Wi.Many:return"many";default:return"other"}}}))(),Ji=(()=>(class{}))();const Xi=new me("DocumentToken");let ea=null;function ta(){return ea}class na{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class ra extends na{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n<e.length;n++)if(null!=this.getStyle(t,e[n]+"AnimationName")){this._animationPrefix="-"+e[n].toLowerCase()+"-";break}}const n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(n).forEach(e=>{null!=this.getStyle(t,e)&&(this._transitionEnd=n[e])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const sa={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},oa=3,ia={"\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"},aa={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"},la=(()=>{if(ge.Node)return ge.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class ca extends ra{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new ca,ea||(ea=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return sa}contains(e,t){return la.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r];return n}clearNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)}appendChild(e,t){e.appendChild(t)}removeChild(e,t){e.removeChild(t)}replaceChild(e,t,n){e.replaceChild(t,n)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}insertBefore(e,t,n){e.insertBefore(n,t)}insertAllBefore(e,t,n){n.forEach(n=>e.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const r=this.getStyle(e,t)||"";return n?r==n:r.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r);t.set(e.name,e.value)}return t}hasAttribute(e,t){return e.hasAttribute(t)}hasAttributeNS(e,t,n){return e.hasAttributeNS(t,n)}getAttribute(e,t){return e.getAttribute(t)}getAttributeNS(e,t,n){return e.getAttributeNS(t,n)}setAttribute(e,t,n){e.setAttribute(t,n)}setAttributeNS(e,t,n,r){e.setAttributeNS(t,n,r)}removeAttribute(e,t){e.removeAttribute(t)}removeAttributeNS(e,t,n){e.removeAttributeNS(t,n)}templateAwareRoot(e){return this.isTemplateElement(e)?this.content(e):e}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(e){return e.title}setTitle(e,t){e.title=t||""}elementMatches(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}isTemplateElement(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}isTextNode(e){return e.nodeType===Node.TEXT_NODE}isCommentNode(e){return e.nodeType===Node.COMMENT_NODE}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}hasShadowRoot(e){return null!=e.shadowRoot&&e instanceof HTMLElement}isShadowRoot(e){return e instanceof DocumentFragment}importIntoDoc(e){return document.importNode(this.templateAwareRoot(e),!0)}adoptNode(e){return document.adoptNode(e)}getHref(e){return e.getAttribute("href")}getEventKey(e){let t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),e.location===oa&&aa.hasOwnProperty(t)&&(t=aa[t]))}return ia[t]||t}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=da||(da=document.querySelector("base"))?da.getAttribute("href"):null;return null==t?null:(n=t,ua||(ua=document.createElement("a")),ua.setAttribute("href",n),"/"===ua.pathname.charAt(0)?ua.pathname:"/"+ua.pathname);var n}resetBaseElement(){da=null}getUserAgent(){return window.navigator.userAgent}setData(e,t,n){this.setAttribute(e,"data-"+t,n)}getData(e,t){return this.getAttribute(e,"data-"+t)}getComputedStyle(e){return getComputedStyle(e)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let ua,da=null;function ha(){return!!window.history.pushState}let fa=(()=>{class e extends Gi{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=ta().getLocation(),this._history=ta().getHistory()}getBaseHrefFromDOM(){return ta().getBaseHref(this._doc)}onPopState(e){ta().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){ta().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!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(e){this.location.pathname=e}pushState(e,t,n){ha()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){ha()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.ctorParameters=()=>[{type:void 0,decorators:[{type:J,args:[Xi]}]}],e})();const pa=new me("TRANSITION_ID"),ga=[{provide:ms,useFactory:function(e,t,n){return()=>{n.get(_s).donePromise.then(()=>{const n=ta();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[pa,Xi,Me],multi:!0}];class ma{static init(){var e;e=new ma,Js=e}addToWindow(e){ge.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},ge.getAllAngularTestabilities=()=>e.getAllTestabilities(),ge.getAllAngularRootElements=()=>e.getAllRootElements(),ge.frameworkStabilizers||(ge.frameworkStabilizers=[]),ge.frameworkStabilizers.push(e=>{const t=ge.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(s)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?ta().isShadowRoot(t)?this.findTestabilityInTree(e,ta().getHost(t),!0):this.findTestabilityInTree(e,ta().parentElement(t),!0):null}}function _a(e,t){"undefined"!=typeof COMPILED&&COMPILED||((ge.ng=ge.ng||{})[e]=t)}const ya=(()=>({ApplicationRef:io,NgZone:Bs}))();function wa(e){return fo(e)}const ba=new me("EventManagerPlugins");let va=(()=>(class{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}))();class Ea{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=ta().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let Ca=(()=>(class{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}))(),xa=(()=>(class extends Ca{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>ta().remove(e))}}))();const Ta={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/"},ka=/%COMP%/g,Ia="_nghost-%COMP%",Na="_ngcontent-%COMP%";function Sa(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?Sa(e,s,n):(s=s.replace(ka,e),n.push(s))}return n}function Aa(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Da=(()=>(class{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Ma(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Ze.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Pa(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Ze.Native:case Ze.ShadowDom:return new Va(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Sa(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}))();class Ma{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Ta[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=Ta[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=Ta[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&Kt.DashCase?e.style.setProperty(t,n,r&Kt.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Kt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){Oa(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return Oa(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Aa(n)):this.eventManager.addEventListener(e,t,Aa(n))}}const Ra=(()=>"@".charCodeAt(0))();function Oa(e,t){if(e.charCodeAt(0)===Ra)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class Pa extends Ma{constructor(e,t,n,r){super(e),this.component=n;const s=Sa(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=Na.replace(ka,r+"-"+n.id),this.hostAttr=Ia.replace(ka,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Va extends Ma{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Ze.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Sa(r.id,r.styles,[]);for(let o=0;o<s.length;o++){const e=document.createElement("style");e.textContent=s[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}const Ha=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),ja=Ha("addEventListener"),La=Ha("removeEventListener"),Fa={},Ba="__zone_symbol__propagationStopped",za=(()=>{const e="undefined"!=typeof Zone&&Zone[Ha("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),Ua=function(e){return!!za&&za.hasOwnProperty(e)},Za=function(e){const t=Fa[e.type];if(!t)return;const n=this[t];if(!n)return;const r=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}{const t=n.slice();for(let n=0;n<t.length&&!0!==e[Ba];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}};let $a=(()=>(class extends Ea{constructor(e,t,n){super(e),this.ngZone=t,n&&function(e){return"server"===e}(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Ba]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[ja]||Bs.isInAngularZone()&&!Ua(t))e.addEventListener(t,r,!1);else{let n=Fa[t];n||(n=Fa[t]=Ha("ANGULAR"+t+"FALSE"));let s=e[n];const o=s&&s.length>0;s||(s=e[n]=[]);const i=Ua(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:i,handler:r});else{let e=!1;for(let t=0;t<s.length;t++)if(s[t].handler===r){e=!0;break}e||s.push({zone:i,handler:r})}o||e[ja](t,Za,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[La];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);let s=Fa[t],o=s&&e[s];if(!o)return e.removeEventListener.apply(e,[t,n,!1]);let i=!1;for(let a=0;a<o.length;a++)if(o[a].handler===n){i=!0,o.splice(a,1);break}i?0===o.length&&r.apply(e,[t,Za,!1]):e.removeEventListener.apply(e,[t,n,!1])}}))();const Qa={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Ga=new me("HammerGestureConfig"),Wa=new me("HammerLoader");let qa=(()=>(class{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}))(),Ka=(()=>(class extends Ea{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!Qa.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,s=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=()=>{});r||(s=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom `+"Hammer.JS loader failed."),s=()=>{}}),()=>{s()}}return r.runOutsideAngular(()=>{const s=this._config.buildHammer(e),o=function(e){r.runGuarded(function(){n(e)})};return s.on(t,o),()=>{s.off(t,o),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}))();const Ya=["alt","control","meta","shift"],Ja={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Xa=(()=>{class e extends Ea{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),o=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ta().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let o="";if(Ya.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=s,0!=n.length||0===s.length)return null;const i={};return i.domEventName=r,i.fullKey=o,i}static getEventFullKey(e){let t="",n=ta().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Ya.forEach(r=>{r!=n&&(0,Ja[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e})();class el{}let tl=(()=>(class extends el{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case mt.NONE:return t;case mt.HTML:return t instanceof rl?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){let n=null;try{pt=pt||new qe(e);let r=t?String(t):"";n=pt.getInertBodyElement(r);let s=5,o=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=o,o=n.innerHTML,n=pt.getInertBodyElement(r)}while(r!==o);const i=new ut,a=i.sanitizeChildren(gt(n)||n);return We()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=gt(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(this._doc,String(t)));case mt.STYLE:return t instanceof sl?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";const t=e.match(wt);return t&&Je(t[1])===t[1]||e.match(yt)&&function(e){let t=!0,n=!0;for(let r=0;r<e.length;r++){const s=e.charAt(r);"'"===s&&n?t=!t:'"'===s&&t&&(n=!n)}return t&&n}(e)?e:(We()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}(t));case mt.SCRIPT:if(t instanceof ol)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case mt.URL:return t instanceof al||t instanceof il?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Je(String(t)));case mt.RESOURCE_URL:if(t instanceof al)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(e,t){if(e instanceof nl)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(e){return new rl(e)}bypassSecurityTrustStyle(e){return new sl(e)}bypassSecurityTrustScript(e){return new ol(e)}bypassSecurityTrustUrl(e){return new il(e)}bypassSecurityTrustResourceUrl(e){return new al(e)}}))();class nl{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class rl extends nl{getTypeName(){return"HTML"}}class sl extends nl{getTypeName(){return"Style"}}class ol extends nl{getTypeName(){return"Script"}}class il extends nl{getTypeName(){return"URL"}}class al extends nl{getTypeName(){return"ResourceURL"}}const ll=no(go,"browser",[{provide:Es,useValue:"browser"},{provide:vs,useValue:function(){ca.makeCurrent(),ma.init()},multi:!0},{provide:Gi,useClass:fa,deps:[Xi]},{provide:Xi,useFactory:function(){return document},deps:[]}]);function cl(){return new Ct}let ul=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:ys,useValue:t.appId},{provide:pa,useExisting:ys},ga]}}}return e})();"undefined"!=typeof window&&window;var dl=Li(Bi,[zi],function(e){return function(e){const t={},n=[];let r=!1;for(let s=0;s<e.length;s++){const o=e[s];o.token===Ae&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=s,t[Vn(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([gr(512,Ft,Bt,[[8,[Qi]],[3,Ft],Ut]),gr(5120,Ts,yo,[[3,Ts]]),gr(4608,Ki,Yi,[Ts,[2,qi]]),gr(5120,as,wo,[Bs]),gr(4608,Rs,Rs,[]),gr(5120,ys,ws,[]),gr(5120,hn,mo,[]),gr(5120,fn,_o,[]),gr(4608,el,tl,[Xi]),gr(6144,_t,null,[el]),gr(4608,Ga,qa,[]),gr(5120,ba,function(e,t,n,r,s,o,i,a){return[new $a(e,t,n),new Xa(r),new Ka(s,o,i,a)]},[Xi,Bs,Es,Xi,Xi,Ga,xs,[2,Wa]]),gr(4608,va,va,[ba,Bs]),gr(135680,xa,xa,[Xi]),gr(4608,Da,Da,[va,xa,ys]),gr(6144,qt,null,[Da]),gr(6144,Ca,null,[xa]),gr(4608,Ws,Ws,[Bs]),gr(1073742336,Ji,Ji,[]),gr(1024,Ct,cl,[]),gr(1024,ms,function(e){return[(t=e,_a("probe",wa),_a("coreTokens",Object.assign({},ya,(t||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>wa)];var t},[[2,to]]),gr(512,_s,_s,[[2,ms]]),gr(131584,io,io,[Bs,xs,Me,Ct,Ft,_s]),gr(1073742336,bo,bo,[io]),gr(1073742336,ul,ul,[[3,ul]]),gr(1073742336,Bi,Bi,[]),gr(256,Ae,!0,[])])});(function(){if(Ge)throw new Error("Cannot enable prod mode after platform setup.");Qe=!1})(),ll().bootstrapModuleFactory(dl).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);