-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmain.50dc9351b254ae2a9b3e.js
More file actions
1 lines (1 loc) · 442 KB
/
main.50dc9351b254ae2a9b3e.js
File metadata and controls
1 lines (1 loc) · 442 KB
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},c=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function l(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:i,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(r(i))try{i.call(this)}catch(o){e=o instanceof u?d(o.errors):[o]}if(c(s)){let t=-1,n=s.length;for(;++t<n;){const n=s[t];if(l(n))try{n.unsubscribe()}catch(o){e=e||[],o instanceof u?e=e.concat(d(o.errors)):e.push(o)}}}if(e)throw new u(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function d(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,i){let s;super(),this._parentSubscriber=t;let o=this;r(e)?s=e:e&&(s=e.next,n=e.error,i=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=s;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function v(t){return t}let _=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,i=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(i.add(r?r.call(i,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=y(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(i){n(i),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?v:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=y(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function y(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class w extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class C extends f{constructor(t){super(t),this.destination=t}}let S=(()=>{class t extends _{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new x(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].next(t)}}error(t){if(this.closed)throw new b;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new b;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new b;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new b;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new w(this,t))}asObservable(){const t=new _;return t.source=this,t}}return t.create=(t,e)=>new x(t,e),t})();class x extends S{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function E(t){return t&&"function"==typeof t.schedule}class P extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const O=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()};function T(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const k=T(),A=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function I(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const M=t=>{if(t&&"function"==typeof t[m])return r=t,t=>{const e=r[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(A(t))return O(t);if(I(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[k])return e=t,t=>{const n=e[k]();for(;;){let e;try{e=n.next()}catch(r){return t.error(r),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=l(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,r};function R(t,e,n,r,i=new P(t,n,r)){if(!i.closed)return e instanceof _?e.subscribe(i):M(e)(i)}class N extends f{notifyNext(t,e,n,r,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function D(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new L(t,e))}}class L{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new j(t,this.project,this.thisArg))}}class j extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function V(t,e){return new _(n=>{const r=new h;let i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function H(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>{const i=t[m]();r.add(i.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(I(t))return function(t,e){return new _(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(A(t))return V(t,e);if(function(t){return t&&"function"==typeof t[k]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new _(n=>{const r=new h;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[k](),r.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof _?t:new _(M(t))}function F(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(F((n,r)=>H(t(n,r)).pipe(D((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new U(t,n)))}class U{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new z(t,this.project,this.concurrent))}}class z extends N{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)}_innerSub(t,e,n){const r=new P(this,e,n),i=this.destination;i.add(r);const s=R(this,t,void 0,void 0,r);s!==r&&i.add(s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,r,i){this.destination.next(e)}notifyComplete(t){const e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function G(t=Number.POSITIVE_INFINITY){return F(v,t)}function B(t,e){return e?V(t,e):new _(O(t))}function W(){return function(t){return t.lift(new $(t))}}class ${constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new q(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class q extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class Y extends _{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new Q(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return W()(this)}}const Z=(()=>{const t=Y.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class Q extends C{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function K(){return new S}function X(t){for(let e in t)if(t[e]===X)return e;throw Error("Could not find renamed property on target object.")}function J(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function tt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(tt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function et(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const nt=X({__forward_ref__:X});function rt(t){return t.__forward_ref__=rt,t.toString=function(){return tt(this())},t}function it(t){return st(t)?t():t}function st(t){return"function"==typeof t&&t.hasOwnProperty(nt)&&t.__forward_ref__===rt}function ot(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function at(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function ct(t){return lt(t,ht)||lt(t,pt)}function lt(t,e){return t.hasOwnProperty(e)?t[e]:null}function ut(t){return t&&(t.hasOwnProperty(dt)||t.hasOwnProperty(ft))?t[dt]:null}const ht=X({"\u0275prov":X}),dt=X({"\u0275inj":X}),pt=X({ngInjectableDef:X}),ft=X({ngInjectorDef:X});var gt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let mt;function vt(t){const e=mt;return mt=t,e}function _t(t,e,n){const r=ct(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n>.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${tt(t)}]`)}function yt(t){return{toString:t}.toString()}var bt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),wt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const Ct="undefined"!=typeof globalThis&&globalThis,St="undefined"!=typeof window&&window,xt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Et="undefined"!=typeof global&&global,Pt=Ct||Et||St||xt,Ot={},Tt=[],kt=X({"\u0275cmp":X}),At=X({"\u0275dir":X}),It=X({"\u0275pipe":X}),Mt=X({"\u0275mod":X}),Rt=X({"\u0275loc":X}),Nt=X({"\u0275fac":X}),Dt=X({__NG_ELEMENT_ID__:X});let Lt=0;function jt(t){return yt(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===bt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Tt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||wt.Emulated,id:"c",styles:t.styles||Tt,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,i=t.features,s=t.pipes;return n.id+=Lt++,n.inputs=zt(t.inputs,e),n.outputs=zt(t.outputs),i&&i.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Vt):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(Ht):null,n})}function Vt(t){return Wt(t)||function(t){return t[At]||null}(t)}function Ht(t){return function(t){return t[It]||null}(t)}const Ft={};function Ut(t){const e={type:t.type,bootstrap:t.bootstrap||Tt,declarations:t.declarations||Tt,imports:t.imports||Tt,exports:t.exports||Tt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&yt(()=>{Ft[t.id]=t.type}),e}function zt(t,e){if(null==t)return Ot;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,e&&(e[i]=s)}return n}const Gt=jt;function Bt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Wt(t){return t[kt]||null}function $t(t,e){const n=t[Mt]||null;if(!n&&!0===e)throw new Error(`Type ${tt(t)} does not have '\u0275mod' property.`);return n}const qt=20,Yt=10;function Zt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Qt(t){return Array.isArray(t)&&!0===t[1]}function Kt(t){return 0!=(8&t.flags)}function Xt(t){return 2==(2&t.flags)}function Jt(t){return 1==(1&t.flags)}function te(t){return null!==t.template}function ee(t,e){return t.hasOwnProperty(Nt)?t[Nt]:null}class ne extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function re(t){return"string"==typeof t?t:null==t?"":String(t)}function ie(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():re(t)}function se(t,e){const n=e?" in "+e:"";throw new ne("201",`No provider for ${ie(t)} found${n}`)}class oe{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ae(){return ce}function ce(t){return t.type.prototype.ngOnChanges&&(t.setInput=ue),le}function le(){const t=he(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===Ot)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function ue(t,e,n,r){const i=he(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Ot,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],c=o[a];s[a]=new oe(c&&c.currentValue,e,o===Ot),t[r]=e}function he(t){return t.__ngSimpleChanges__||null}ae.ngInherit=!0;const de="http://www.w3.org/2000/svg";let pe=void 0;function fe(){return void 0!==pe?pe:"undefined"!=typeof document?document:void 0}function ge(t){return!!t.listen}const me={createRenderer:(t,e)=>fe()};function ve(t){for(;Array.isArray(t);)t=t[0];return t}function _e(t,e){return ve(e[t])}function ye(t,e){return ve(e[t.index])}function be(t,e){return t.data[e]}function we(t,e){return t[e]}function Ce(t,e){const n=e[t];return Zt(n)?n:n[0]}function Se(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function xe(t){return 4==(4&t[2])}function Ee(t){return 128==(128&t[2])}function Pe(t,e){return null==e?null:t[e]}function Oe(t){t[18]=0}function Te(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const ke={lFrame:Je(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ae(){return ke.bindingsEnabled}function Ie(){return ke.lFrame.lView}function Me(){return ke.lFrame.tView}function Re(t){ke.lFrame.contextLView=t}function Ne(){let t=De();for(;null!==t&&64===t.type;)t=t.parent;return t}function De(){return ke.lFrame.currentTNode}function Le(t,e){const n=ke.lFrame;n.currentTNode=t,n.isParent=e}function je(){return ke.lFrame.isParent}function Ve(){ke.lFrame.isParent=!1}function He(){return ke.isInCheckNoChangesMode}function Fe(t){ke.isInCheckNoChangesMode=t}function Ue(){const t=ke.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ze(){return ke.lFrame.bindingIndex}function Ge(){return ke.lFrame.bindingIndex++}function Be(t){const e=ke.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function We(t,e){const n=ke.lFrame;n.bindingIndex=n.bindingRootIndex=t,$e(e)}function $e(t){ke.lFrame.currentDirectiveIndex=t}function qe(){return ke.lFrame.currentQueryIndex}function Ye(t){ke.lFrame.currentQueryIndex=t}function Ze(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Qe(t,e,n){if(n>.SkipSelf){let r=e,i=t;for(;r=r.parent,!(null!==r||n>.Host||(r=Ze(i),null===r)||(i=i[15],10&r.type)););if(null===r)return!1;e=r,t=i}const r=ke.lFrame=Xe();return r.currentTNode=e,r.lView=t,!0}function Ke(t){const e=Xe(),n=t[1];ke.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Xe(){const t=ke.lFrame,e=null===t?null:t.child;return null===e?Je(t):e}function Je(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function tn(){const t=ke.lFrame;return ke.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const en=tn;function nn(){const t=tn();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function rn(){return ke.lFrame.selectedIndex}function sn(t){ke.lFrame.selectedIndex=t}function on(){const t=ke.lFrame;return be(t.tView,t.selectedIndex)}function an(){ke.lFrame.currentNamespace=de}function cn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:s,ngAfterViewChecked:o,ngOnDestroy:a}=e;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),i&&((t.contentHooks||(t.contentHooks=[])).push(n,i),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,i)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function ln(t,e,n){dn(t,e,3,n)}function un(t,e,n,r){(3&t[2])===n&&dn(t,e,n,r)}function hn(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function dn(t,e,n,r){const i=null!=r?r:-1;let s=0;for(let o=void 0!==r?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(s=e[o],null!=r&&s>=r)break}else e[o]<0&&(t[18]+=65536),(s<i||-1==i)&&(pn(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function pn(t,e,n,r){const i=n[r]<0,s=n[r+1],o=t[i?-n[r]:n[r]];i?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,s.call(o)):s.call(o)}const fn=-1;class gn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function mn(t,e,n){const r=ge(t);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],c=n[i++];r?t.setAttribute(e,a,c,o):e.setAttributeNS(o,a,c)}else{const o=s,a=n[++i];_n(o)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),i++}}return i}function vn(t){return 3===t||4===t||6===t}function _n(t){return 64===t.charCodeAt(0)}function yn(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||bn(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function bn(t,e,n,r,i){let s=0,o=t.length;if(-1===e)o=-1;else for(;s<t.length;){const n=t[s++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=s-1;break}}}for(;s<t.length;){const e=t[s];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==i&&(t[s+1]=i));if(r===t[s+1])return void(t[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==i&&t.splice(s++,0,i)}function wn(t){return t!==fn}function Cn(t){return 32767&t}function Sn(t,e){let n=t>>16,r=e;for(;n>0;)r=r[15],n--;return r}let xn=!0;function En(t){const e=xn;return xn=t,e}let Pn=0;function On(t,e){const n=kn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Tn(r.data,t),Tn(e,null),Tn(r.blueprint,null));const i=An(t,e),s=t.injectorIndex;if(wn(i)){const t=Cn(i),n=Sn(i,e),r=n[1].data;for(let i=0;i<8;i++)e[s+i]=n[t+i]|r[t+i]}return e[s+8]=i,s}function Tn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function kn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function An(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){const t=i[1],e=t.type;if(r=2===e?t.declTNode:1===e?i[6]:null,null===r)return fn;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return fn}function In(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dt)&&(r=n[Dt]),null==r&&(r=n[Dt]=Pn++);const i=255&r,s=1<<i,o=64&i,a=32&i,c=e.data;128&i?o?a?c[t+7]|=s:c[t+6]|=s:a?c[t+5]|=s:c[t+4]|=s:o?a?c[t+3]|=s:c[t+2]|=s:a?c[t+1]|=s:c[t]|=s}(t,e,n)}function Mn(t,e,n){if(n>.Optional)return t;se(e,"NodeInjector")}function Rn(t,e,n,r){if(n>.Optional&&void 0===r&&(r=null),0==(n&(gt.Self|gt.Host))){const i=t[9],s=vt(void 0);try{return i?i.get(e,r,n>.Optional):_t(e,r,n>.Optional)}finally{vt(s)}}return Mn(r,e,n)}function Nn(t,e,n,r=gt.Default,i){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Dt)?t[Dt]:void 0;return"number"==typeof e?e>=0?255&e:Ln:e}(n);if("function"==typeof s){if(!Qe(e,t,r))return r>.Host?Mn(i,n,r):Rn(e,n,r,i);try{const t=s();if(null!=t||r>.Optional)return t;se(n)}finally{en()}}else if("number"==typeof s){let i=null,o=kn(t,e),a=fn,c=r>.Host?e[16][6]:null;for((-1===o||r>.SkipSelf)&&(a=-1===o?An(t,e):e[o+8],a!==fn&&Un(r,!1)?(i=e[1],o=Cn(a),e=Sn(a,e)):o=-1);-1!==o;){const t=e[1];if(Fn(s,o,t.data)){const t=jn(o,e,n,i,r,c);if(t!==Dn)return t}a=e[o+8],a!==fn&&Un(r,e[1].data[o+8]===c)&&Fn(s,o,e)?(i=t,o=Cn(a),e=Sn(a,e)):o=-1}}}return Rn(e,n,r,i)}const Dn={};function Ln(){return new zn(Ne(),Ie())}function jn(t,e,n,r,i,s){const o=e[1],a=o.data[t+8],c=Vn(a,o,n,null==r?Xt(a)&&xn:r!=o&&0!=(3&a.type),i>.Host&&s===a);return null!==c?Hn(e,o,c,a):Dn}function Vn(t,e,n,r,i){const s=t.providerIndexes,o=e.data,a=1048575&s,c=t.directiveStart,l=s>>20,u=i?a+l:t.directiveEnd;for(let h=r?a:a+l;h<u;h++){const t=o[h];if(h<c&&n===t||h>=c&&t.type===n)return h}if(i){const t=o[c];if(t&&te(t)&&t.type===n)return c}return null}function Hn(t,e,n,r){let i=t[n];const s=e.data;if(i instanceof gn){const o=i;o.resolving&&function(t,e){throw new ne("200","Circular dependency in DI detected for "+t)}(ie(s[n]));const a=En(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?vt(o.injectImpl):null;Qe(t,r,gt.Default);try{i=t[n]=o.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=e.type.prototype;if(r){const r=ce(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==c&&vt(c),En(a),o.resolving=!1,en()}}return i}function Fn(t,e,n){const r=64&t,i=32&t;let s;return s=128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e],!!(s&1<<t)}function Un(t,e){return!(t>.Self||t>.Host&&e)}class zn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Nn(this._tNode,this._lView,t,void 0,e)}}function Gn(t){const e=t;if(st(t))return()=>{const t=Gn(it(e));return t?t():null};let n=ee(e);if(null===n){const t=ut(e);n=t&&t.factory}return n||null}function Bn(t){return yt(()=>{const e=t.prototype.constructor,n=e[Nt]||Gn(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[Nt]||Gn(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}const Wn="__parameters__",$n="__prop__metadata__";function qn(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}function Yn(t,e,n){return yt(()=>{const r=qn(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty(Wn)?t[Wn]:Object.defineProperty(t,Wn,{value:[]})[Wn];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function Zn(t,e,n,r){return yt(()=>{const i=qn(e);function s(...t){if(this instanceof s)return i.apply(this,t),this;const e=new s(...t);return function(n,i){const s=n.constructor,o=s.hasOwnProperty($n)?s[$n]:Object.defineProperty(s,$n,{value:{}})[$n];o[i]=o.hasOwnProperty(i)&&o[i]||[],o[i].unshift(e),r&&r(n,i,...t)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class Qn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ot({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const Kn=new Qn("AnalyzeForEntryComponents"),Xn=Function;function Jn(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let r=t[n];Array.isArray(r)?(e===t&&(e=t.slice(0,n)),Jn(r,e)):e!==t&&e.push(r)}return e}function tr(t,e){t.forEach(t=>Array.isArray(t)?tr(t,e):e(t))}function er(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function nr(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function rr(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function ir(t,e,n){let r=or(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function sr(t,e){const n=or(t,e);if(n>=0)return t[1|n]}function or(t,e){return function(t,e,n){let r=0,i=t.length>>1;for(;i!==r;){const n=r+(i-r>>1),s=t[n<<1];if(e===s)return n<<1;s>e?i=n:r=n+1}return~(i<<1)}(t,e)}const ar=Yn("Inject",t=>({token:t})),cr=Yn("Optional"),lr=Yn("Self"),ur=Yn("SkipSelf"),hr={},dr=/\n/gm,pr="__source",fr=X({provide:String,useValue:X});let gr,mr=void 0;function vr(t){const e=mr;return mr=t,e}function _r(t,e=gt.Default){if(void 0===mr)throw new Error("inject() must be called from an injection context");return null===mr?_t(t,void 0,e):mr.get(t,e>.Optional?null:void 0,e)}function yr(t,e=gt.Default){return(mt||_r)(it(t),e)}function br(t){const e=[];for(let n=0;n<t.length;n++){const r=it(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=gt.Default;for(let e=0;e<r.length;e++){const i=r[e];i instanceof cr||"Optional"===i.ngMetadataName||i===cr?n|=gt.Optional:i instanceof ur||"SkipSelf"===i.ngMetadataName||i===ur?n|=gt.SkipSelf:i instanceof lr||"Self"===i.ngMetadataName||i===lr?n|=gt.Self:t=i instanceof ar||i===ar?i.token:i}e.push(yr(t,n))}else e.push(yr(r))}return e}function wr(t){var e;return(null===(e=function(){if(void 0===gr&&(gr=null,Pt.trustedTypes))try{gr=Pt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return gr}())||void 0===e?void 0:e.createHTML(t))||t}class Cr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}class Sr extends Cr{getTypeName(){return"HTML"}}class xr extends Cr{getTypeName(){return"Style"}}class Er extends Cr{getTypeName(){return"Script"}}class Pr extends Cr{getTypeName(){return"URL"}}class Or extends Cr{getTypeName(){return"ResourceURL"}}function Tr(t){return t instanceof Cr?t.changingThisBreaksApplicationSecurity:t}function kr(t,e){const n=Ar(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Ar(t){return t instanceof Cr&&t.getTypeName()||null}class Ir{getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(wr(t),"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}}class Mr{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=wr(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=wr(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const n=e.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Rr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Nr=/^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 Dr(t){return(t=String(t)).match(Rr)||t.match(Nr)?t:"unsafe:"+t}function Lr(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function jr(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Vr=Lr("area,br,col,hr,img,wbr"),Hr=Lr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fr=Lr("rp,rt"),Ur=jr(Fr,Hr),zr=jr(Vr,jr(Hr,Lr("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")),jr(Fr,Lr("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")),Ur),Gr=Lr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Br=Lr("srcset"),Wr=jr(Gr,Br,Lr("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"),Lr("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")),$r=Lr("script,style,template");class qr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!zr.hasOwnProperty(e))return this.sanitizedSomething=!0,!$r.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,s=e.toLowerCase();if(!Wr.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let o=t.value;Gr[s]&&(o=Dr(o)),Br[s]&&(r=o,o=(r=String(r)).split(",").map(t=>Dr(t.trim())).join(", ")),this.buf.push(" ",e,'="',Qr(o),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();zr.hasOwnProperty(e)&&!Vr.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Qr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const Yr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zr=/([^\#-~ |!])/g;function Qr(t){return t.replace(/&/g,"&").replace(Yr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Zr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Kr;function Xr(t,e){let n=null;try{Kr=Kr||function(t){return function(){try{return!!(new window.DOMParser).parseFromString(wr(""),"text/html")}catch(t){return!1}}()?new Ir:new Mr(t)}(t);let r=e?String(e):"";n=Kr.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Kr.getInertBodyElement(r)}while(r!==s);return(new qr).sanitizeChildren(Jr(n)||n)}finally{if(n){const t=Jr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Jr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ti=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function ei(t){const e=ri();return e?e.sanitize(ti.HTML,t)||"":kr(t,"HTML")?Tr(t):Xr(fe(),re(t))}function ni(t){const e=ri();return e?e.sanitize(ti.URL,t)||"":kr(t,"URL")?Tr(t):Dr(re(t))}function ri(){const t=Ie();return t&&t[12]}function ii(t){return t.ngDebugContext}function si(t){return t.ngOriginalError}function oi(t,...e){t.error(...e)}class ai{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||oi}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?ii(t)?ii(t):this._findContext(si(t)):null}_findOriginalError(t){let e=si(t);for(;e&&si(e);)e=si(e);return e}}function ci(t,e){t.__ngContext__=e}const li=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Pt))();function ui(t){return{name:"window",target:t.ownerDocument.defaultView}}function hi(t){return t instanceof Function?t():t}var di=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function pi(t,e){return(void 0)(t,e)}function fi(t){const e=t[3];return Qt(e)?e[3]:e}function gi(t){return vi(t[13])}function mi(t){return vi(t[4])}function vi(t){for(;null!==t&&!Qt(t);)t=t[4];return t}function _i(t,e,n,r,i){if(null!=r){let s,o=!1;Qt(r)?s=r:Zt(r)&&(o=!0,r=r[0]);const a=ve(r);0===t&&null!==n?null==i?Pi(e,n,a):Ei(e,n,a,i||null,!0):1===t&&null!==n?Ei(e,n,a,i||null,!0):2===t?function(t,e,n){const r=Ti(t,e);r&&function(t,e,n,r){ge(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,r,i){const s=n[7];s!==ve(n)&&_i(e,t,r,s,i);for(let o=Yt;o<n.length;o++){const i=n[o];Di(i[1],i,t,e,r,s)}}(e,t,s,n,i)}}function yi(t,e,n){return ge(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function bi(t,e){const n=t[9],r=n.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,Te(i,-1)),n.splice(r,1)}function wi(t,e){if(t.length<=Yt)return;const n=Yt+e,r=t[n];if(r){const s=r[17];null!==s&&s!==t&&bi(s,r),e>0&&(t[n-1][4]=r[4]);const o=nr(t,Yt+e);Di(r[1],i=r,i[11],2,null,null),i[0]=null,i[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var i;return r}function Ci(t,e){if(!(256&e[2])){const n=e[11];ge(n)&&n.destroyNode&&Di(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Si(t[1],t);for(;e;){let n=null;if(Zt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Zt(e)&&Si(e[1],e),e=e[3];null===e&&(e=t),Zt(e)&&Si(e[1],e),n=e&&e[4]}e=n}}(e)}}function Si(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof gn)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];let i=-1;if(null!==n){for(let t=0;t<n.length-1;t+=2)if("string"==typeof n[t]){const s=n[t+1],o="function"==typeof s?s(e):ve(e[s]),a=r[i=n[t+2]],c=n[t+3];"boolean"==typeof c?o.removeEventListener(n[t],a,c):c>=0?r[i=c]():r[i=-c].unsubscribe(),t+=2}else{const e=r[i=n[t+1]];n[t].call(e)}if(null!==r)for(let t=i+1;t<r.length;t++)(0,r[t])();e[7]=null}}(t,e),1===e[1].type&&ge(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&Qt(e[3])){n!==e[3]&&bi(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function xi(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const e=t.data[r.directiveStart].encapsulation;if(e===wt.None||e===wt.Emulated)return null}return ye(r,n)}(t,e.parent,n)}function Ei(t,e,n,r,i){ge(t)?t.insertBefore(e,n,r,i):e.insertBefore(n,r,i)}function Pi(t,e,n){ge(t)?t.appendChild(e,n):e.appendChild(n)}function Oi(t,e,n,r,i){null!==r?Ei(t,e,n,r,i):Pi(t,e,n)}function Ti(t,e){return ge(t)?t.parentNode(e):e.parentNode}function ki(t,e,n){return Ai(t,e,n)}let Ai=function(t,e,n){return 40&t.type?ye(t,n):null};function Ii(t,e,n,r){const i=xi(t,r,e),s=e[11],o=ki(r.parent||e[6],r,e);if(null!=i)if(Array.isArray(n))for(let a=0;a<n.length;a++)Oi(s,i,n[a],o,!1);else Oi(s,i,n,o,!1)}function Mi(t,e){if(null!==e){const n=e.type;if(3&n)return ye(e,t);if(4&n)return Ri(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return Mi(t,n);{const n=t[e.index];return Qt(n)?Ri(-1,n):ve(n)}}if(32&n)return pi(e,t)()||ve(t[e.index]);{const n=t[16],r=n[6],i=fi(n),s=r.projection[e.projection];return null!=s?Mi(i,s):Mi(t,e.next)}}return null}function Ri(t,e){const n=Yt+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return Mi(t,r)}return e[7]}function Ni(t,e,n,r,i,s,o){for(;null!=n;){const a=r[n.index],c=n.type;if(o&&0===e&&(a&&ci(ve(a),r),n.flags|=4),64!=(64&n.flags))if(8&c)Ni(t,e,n.child,r,i,s,!1),_i(e,t,i,a,s);else if(32&c){const o=pi(n,r);let c;for(;c=o();)_i(e,t,i,c,s);_i(e,t,i,a,s)}else 16&c?Li(t,e,r,n,i,s):_i(e,t,i,a,s);n=o?n.projectionNext:n.next}}function Di(t,e,n,r,i,s){Ni(n,r,t.firstChild,e,i,s,!1)}function Li(t,e,n,r,i,s){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let c=0;c<a.length;c++)_i(e,t,i,a[c],s);else Ni(t,e,a,o[3],i,s,!0)}function ji(t,e,n){ge(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Vi(t,e,n){ge(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Hi(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}const Fi="ng-template";function Ui(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==Hi(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function zi(t){return 4===t.type&&t.value!==Fi}function Gi(t,e,n){return e===(4!==t.type||n?t.value:Fi)}function Bi(t,e,n){let r=4;const i=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(vn(t[e]))return e;return t.length}(i);let o=!1;for(let a=0;a<e.length;a++){const c=e[a];if("number"!=typeof c){if(!o)if(4&r){if(r=2|1&r,""!==c&&!Gi(t,c,n)||""===c&&1===e.length){if(Wi(r))return!1;o=!0}}else{const l=8&r?c:e[++a];if(8&r&&null!==t.attrs){if(!Ui(t.attrs,l,n)){if(Wi(r))return!1;o=!0}continue}const u=$i(8&r?"class":c,i,zi(t),n);if(-1===u){if(Wi(r))return!1;o=!0;continue}if(""!==l){let t;t=u>s?"":i[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Hi(e,l,0)||2&r&&l!==t){if(Wi(r))return!1;o=!0}}}}else{if(!o&&!Wi(r)&&!Wi(c))return!1;if(o&&Wi(c))continue;o=!1,r=c|1&r}}return Wi(r)||o}function Wi(t){return 0==(1&t)}function $i(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i<e.length;){const r=e[i];if(r===t)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function qi(t,e,n=!1){for(let r=0;r<e.length;r++)if(Bi(t,e[r],n))return!0;return!1}function Yi(t,e){t:for(let n=0;n<e.length;n++){const r=e[n];if(t.length===r.length){for(let e=0;e<t.length;e++)if(t[e]!==r[e])continue t;return!0}}return!1}function Zi(t,e){return t?":not("+e.trim()+")":e}function Qi(t){let e=t[0],n=1,r=2,i="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const e=t[++n];i+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||Wi(o)||(e+=Zi(s,i),i=""),r=o,s=s||!Wi(r);n++}return""!==i&&(e+=Zi(s,i)),e}const Ki={};function Xi(t){Ji(Me(),Ie(),rn()+t,He())}function Ji(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&ln(e,r,n)}else{const r=t.preOrderHooks;null!==r&&un(e,r,0,n)}sn(n)}function ts(t,e){return t<<17|e<<2}function es(t){return t>>17&32767}function ns(t){return 2|t}function rs(t){return(131068&t)>>2}function is(t,e){return-131069&t|e<<2}function ss(t){return 1|t}function os(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const n=t.data[s];Ye(i),n.contentQueries(2,e[s],s)}}}function as(t,e,n,r,i,s,o,a,c,l){const u=e.blueprint.slice();return u[0]=i,u[2]=140|r,Oe(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=c||t&&t[12]||null,u[9]=l||t&&t[9]||null,u[6]=s,u[16]=2==e.type?t[16]:u,u}function cs(t,e,n,r,i){let s=t.data[e];if(null===s)s=function(t,e,n,r,i){const s=De(),o=je(),a=t.data[e]=function(t,e,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,e,r,i);return null===t.firstChild&&(t.firstChild=a),null!==s&&(o?null==s.child&&null!==a.parent&&(s.child=a):null===s.next&&(s.next=a)),a}(t,e,n,r,i),ke.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const t=function(){const t=ke.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===t?-1:t.injectorIndex}return Le(s,!0),s}function ls(t,e,n,r){if(0===n)return-1;const i=e.length;for(let s=0;s<n;s++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function us(t,e,n){Ke(e);try{const r=t.viewQuery;null!==r&&Fs(1,r,n);const i=t.template;null!==i&&ps(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&os(t,e),t.staticViewQueries&&Fs(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Ds(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,nn()}}function hs(t,e,n,r){const i=e[2];if(256==(256&i))return;Ke(e);const s=He();try{Oe(e),ke.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&ps(t,e,n,2,r);const o=3==(3&i);if(!s)if(o){const n=t.preOrderCheckHooks;null!==n&&ln(e,n,null)}else{const n=t.preOrderHooks;null!==n&&un(e,n,0,null),hn(e,0)}if(function(t){for(let e=gi(t);null!==e;e=mi(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&Te(r,1),n[2]|=1024}}}(e),function(t){for(let e=gi(t);null!==e;e=mi(e))for(let t=Yt;t<e.length;t++){const n=e[t],r=n[1];Ee(n)&&hs(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&os(t,e),!s)if(o){const n=t.contentCheckHooks;null!==n&&ln(e,n)}else{const n=t.contentHooks;null!==n&&un(e,n,1),hn(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)sn(~r);else{const i=r,s=n[++t],o=n[++t];We(s,i),o(2,e[i])}}}finally{sn(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Rs(t,e[n])}(e,a);const c=t.viewQuery;if(null!==c&&Fs(2,c,r),!s)if(o){const n=t.viewCheckHooks;null!==n&&ln(e,n)}else{const n=t.viewHooks;null!==n&&un(e,n,2),hn(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Te(e[3],-1))}finally{nn()}}function ds(t,e,n,r){const i=e[10],s=!He(),o=xe(e);try{s&&!o&&i.begin&&i.begin(),o&&us(t,e,r),hs(t,e,n,r)}finally{s&&!o&&i.end&&i.end()}}function ps(t,e,n,r,i){const s=rn();try{sn(-1),2&r&&e.length>qt&&Ji(t,e,qt,He()),n(r,i)}finally{sn(s)}}function fs(t,e,n){if(Kt(e)){const r=e.directiveEnd;for(let i=e.directiveStart;i<r;i++){const e=t.data[i];e.contentQueries&&e.contentQueries(1,n[i],i)}}}function gs(t,e,n){Ae()&&(function(t,e,n,r){const i=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||On(n,e),ci(r,e);const o=n.initialInputs;for(let a=i;a<s;a++){const r=t.data[a],s=te(r);s&&ks(e,n,r);const c=Hn(e,t,a,n);ci(c,e),null!==o&&As(0,a-i,c,r,0,o),s&&(Ce(n.index,e)[8]=c)}}(t,e,n,ye(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,o=ke.lFrame.currentDirectiveIndex;try{sn(s);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];$e(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||xs(r,i)}}finally{sn(-1),$e(o)}}(t,e,n))}function ms(t,e,n=ye){const r=e.localNames;if(null!==r){let i=e.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(e,t):t[o];t[i++]=a}}}function vs(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=_s(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function _s(t,e,n,r,i,s,o,a,c,l){const u=qt+r,h=u+i,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Ki);return n}(u,h),p="function"==typeof l?l():l;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1}}function ys(t,e,n,r){const i=zs(e);null===n?i.push(r):(i.push(n),t.firstCreatePass&&Gs(t).push(r,i.length-1))}function bs(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function ws(t,e,n,r,i,s,o,a){const c=ye(e,n);let l,u=e.inputs;var h;!a&&null!=u&&(l=u[r])?(Ws(t,n,l,r,i),Xt(e)&&function(t,e){const n=Ce(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,i=null!=o?o(i,e.value||"",r):i,ge(s)?s.setProperty(c,r,i):_n(r)||(c.setProperty?c.setProperty(r,i):c[r]=i))}function Cs(t,e,n,r){let i=!1;if(Ae()){const s=function(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];qi(n,o.selectors,!1)&&(i||(i=[]),In(On(n,e),t,o.type),te(o)?(Es(t,n),i.unshift(o)):i.push(o))}return i}(t,e,n),o=null===r?null:{"":-1};if(null!==s){i=!0,Os(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}let r=!1,a=!1,c=ls(t,e,s.length,null);for(let i=0;i<s.length;i++){const l=s[i];n.mergedAttrs=yn(n.mergedAttrs,l.hostAttrs),Ts(t,n,e,c,l),Ps(c,l,o),null!==l.contentQueries&&(n.flags|=8),null===l.hostBindings&&null===l.hostAttrs&&0===l.hostVars||(n.flags|=128);const u=l.type.prototype;!r&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),r=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),c++}!function(t,e){const n=e.directiveEnd,r=t.data,i=e.attrs,s=[];let o=null,a=null;for(let c=e.directiveStart;c<n;c++){const t=r[c],n=t.inputs,l=null===i||zi(e)?null:Is(n,i);s.push(l),o=bs(n,c,o),a=bs(t.outputs,c,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=o,e.outputs=a}(t,n)}o&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new ne("301",`Export of name '${e[t+1]}' not found!`);r.push(e[t],i)}}}(n,r,o)}return n.mergedAttrs=yn(n.mergedAttrs,n.attrs),i}function Ss(t,e,n,r,i,s){const o=s.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const s=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(r,i,o)}}function xs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Es(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Ps(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;te(e)&&(n[""]=t)}}function Os(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Ts(t,e,n,r,i){t.data[r]=i;const s=i.factory||(i.factory=ee(i.type)),o=new gn(s,te(i),null);t.blueprint[r]=o,n[r]=o,Ss(t,e,0,r,ls(t,n,i.hostVars,Ki),i)}function ks(t,e,n){const r=ye(e,t),i=vs(n),s=t[10],o=Ls(t,as(t,i,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n),null,null));t[e.index]=o}function As(t,e,n,r,i,s){const o=s[e];if(null!==o){const t=r.setInput;for(let e=0;e<o.length;){const i=o[e++],s=o[e++],a=o[e++];null!==t?r.setInput(n,a,i,s):n[s]=a}}}function Is(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function Ms(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function Rs(t,e){const n=Ce(e,t);if(Ee(n)){const t=n[1];80&n[2]?hs(t,n,t.template,n[8]):n[5]>0&&Ns(n)}}function Ns(t){for(let n=gi(t);null!==n;n=mi(n))for(let t=Yt;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];hs(t,e,t.template,e[8])}else e[5]>0&&Ns(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const r=Ce(e[n],t);Ee(r)&&r[5]>0&&Ns(r)}}function Ds(t,e){const n=Ce(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),us(r,n,n[8])}function Ls(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function js(t){for(;t;){t[2]|=64;const e=fi(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function Vs(t,e,n){const r=e[10];r.begin&&r.begin();try{hs(t,e,t.template,n)}catch(i){throw Bs(e,i),i}finally{r.end&&r.end()}}function Hs(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Se(n),i=r[1];ds(i,r,i.template,n)}}(t[8])}function Fs(t,e,n){Ye(0),e(t,n)}const Us=(()=>Promise.resolve(null))();function zs(t){return t[7]||(t[7]=[])}function Gs(t){return t.cleanup||(t.cleanup=[])}function Bs(t,e){const n=t[9],r=n?n.get(ai,null):null;r&&r.handleError(e)}function Ws(t,e,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],c=e[o],l=t.data[o];null!==l.setInput?l.setInput(c,i,r,a):c[a]=i}}function $s(t,e,n){const r=_e(e,t);!function(t,e,n){ge(t)?t.setValue(e,n):e.textContent=n}(t[11],r,n)}function qs(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?s=t:1==s?i=et(i,t):2==s&&(r=et(r,t+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}const Ys=new Qn("INJECTOR",-1);class Zs{get(t,e=hr){if(e===hr){const e=new Error(`NullInjectorError: No provider for ${tt(t)}!`);throw e.name="NullInjectorError",e}return e}}const Qs=new Qn("Set Injector scope."),Ks={},Xs={},Js=[];let to=void 0;function eo(){return void 0===to&&(to=new Zs),to}function no(t,e=null,n=null,r){return new ro(t,n,e||eo(),r)}class ro{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&tr(e,n=>this.processProvider(n,t,e)),tr([t],t=>this.processInjectorType(t,[],i)),this.records.set(Ys,oo(void 0,this));const s=this.records.get(Qs);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:tt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=hr,n=gt.Default){this.assertNotDestroyed();const r=vr(this);try{if(!(n>.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Qn)&&ct(t);e=n&&this.injectableDefInScope(n)?oo(io(t),Ks):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n>.Self?eo():this.parent).get(t,e=n>.Optional&&e===hr?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(tt(t)),r)throw s;return function(t,e,n,r){const i=t.ngTempTokenPath;throw e[pr]&&i.unshift(e[pr]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=tt(e);if(Array.isArray(e))i=e.map(tt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):tt(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(dr,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{vr(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(tt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=it(t)))return!1;let r=ut(t);const i=null==r&&t.ngModule||void 0,s=void 0===i?t:i,o=-1!==n.indexOf(s);if(void 0!==i&&(r=ut(i)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(s);try{tr(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];tr(r,t=>this.processProvider(t,n,r||Js))}}this.injectorDefTypes.add(s),this.records.set(s,oo(r.factory,Ks));const a=r.providers;if(null!=a&&!o){const e=t;tr(a,t=>this.processProvider(t,e,a))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=co(t=it(t))?t:it(t&&t.provide);const i=function(t,e,n){return ao(t)?oo(void 0,t.useValue):oo(so(t),Ks)}(t);if(co(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=oo(void 0,Ks,!0),e.factory=()=>br(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){var n;return e.value===Ks&&(e.value=Xs,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function io(t){const e=ct(t),n=null!==e?e.factory:ee(t);if(null!==n)return n;const r=ut(t);if(null!==r)return r.factory;if(t instanceof Qn)throw new Error(`Token ${tt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=rr(e,"?");throw new Error(`Can't resolve all parameters for ${tt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[ht]||t[pt]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function so(t,e,n){let r=void 0;if(co(t)){const e=it(t);return ee(e)||io(e)}if(ao(t))r=()=>it(t.useValue);else if((i=t)&&i.useFactory)r=()=>t.useFactory(...br(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>yr(it(t.useExisting));else{const e=it(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ee(e)||io(e);r=()=>new e(...br(t.deps))}var i;return r}function oo(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function ao(t){return null!==t&&"object"==typeof t&&fr in t}function co(t){return"function"==typeof t}const lo=function(t,e,n){return function(t,e=null,n=null,r){const i=no(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let uo=(()=>{class t{static create(t,e){return Array.isArray(t)?lo(t,e,""):lo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=hr,t.NULL=new Zs,t.\u0275prov=ot({token:t,providedIn:"any",factory:()=>yr(Ys)}),t.__NG_ELEMENT_ID__=-1,t})();function ho(t,e){cn(Se(t)[1],Ne())}function po(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let i=void 0;if(te(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const e=t;e.inputs=fo(t.inputs),e.declaredInputs=fo(t.declaredInputs),e.outputs=fo(t.outputs);const n=i.hostBindings;n&&vo(t,n);const s=i.viewQuery,o=i.contentQueries;if(s&&go(t,s),o&&mo(t,o),J(t.inputs,i.inputs),J(t.declaredInputs,i.declaredInputs),J(t.outputs,i.outputs),te(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let r=0;r<e.length;r++){const i=e[r];i&&i.ngInherit&&i(t),i===po&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=yn(i.hostAttrs,n=yn(n,i.hostAttrs))}}(r)}function fo(t){return t===Ot?{}:t===Tt?[]:t}function go(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function mo(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function vo(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}let _o=null;function yo(){if(!_o){const t=Pt.Symbol;if(t&&t.iterator)_o=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(_o=n)}}}return _o}class bo{constructor(t){this.wrapped=t}static wrap(t){return new bo(t)}static unwrap(t){return bo.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof bo}}function wo(t){return!!Co(t)&&(Array.isArray(t)||!(t instanceof Map)&&yo()in t)}function Co(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function So(t,e,n){return t[e]=n}function xo(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Eo(t,e,n,r){const i=xo(t,e,n);return xo(t,e+1,r)||i}function Po(t,e,n,r){const i=Ie();return xo(i,Ge(),e)&&(Me(),function(t,e,n,r,i,s){const o=ye(t,e);!function(t,e,n,r,i,s,o){if(null==s)ge(t)?t.removeAttribute(e,i,n):e.removeAttribute(i);else{const a=null==o?re(s):o(s,r||"",i);ge(t)?t.setAttribute(e,i,a,n):n?e.setAttributeNS(n,i,a):e.setAttribute(i,a)}}(e[11],o,s,t.value,n,r,i)}(on(),i,t,e,n,r)),Po}function Oo(t,e,n,r){return xo(t,Ge(),n)?e+re(n)+r:Ki}function To(t,e,n,r,i,s,o,a){const c=Ie(),l=Me(),u=t+qt,h=l.firstCreatePass?function(t,e,n,r,i,s,o,a,c){const l=e.consts,u=cs(e,t,4,o||null,Pe(l,a));Cs(e,n,u,Pe(l,c)),cn(e,u);const h=u.tViews=_s(2,u,r,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,l,c,e,n,r,i,s,o):l.data[u];Le(h,!1);const d=c[11].createComment("");Ii(l,c,d,h),ci(d,c),Ls(c,c[u]=Ms(d,c,d,h)),Jt(h)&&gs(l,c,h),null!=o&&ms(c,h,a)}function ko(t){return we(ke.lFrame.contextLView,qt+t)}function Ao(t,e=gt.Default){const n=Ie();return null===n?yr(t,e):Nn(Ne(),n,it(t),e)}function Io(t,e,n){const r=Ie();return xo(r,Ge(),e)&&ws(Me(),on(),r,t,e,r[11],n,!1),Io}function Mo(t,e,n,r,i){const s=i?"class":"style";Ws(t,n,e.inputs[s],s,r)}function Ro(t,e,n,r){const i=Ie(),s=Me(),o=qt+t,a=i[11],c=i[o]=yi(a,e,ke.lFrame.currentNamespace),l=s.firstCreatePass?function(t,e,n,r,i,s,o){const a=e.consts,c=cs(e,t,2,i,Pe(a,s));return Cs(e,n,c,Pe(a,o)),null!==c.attrs&&qs(c,c.attrs,!1),null!==c.mergedAttrs&&qs(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(o,s,i,0,e,n,r):s.data[o];Le(l,!0);const u=l.mergedAttrs;null!==u&&mn(a,c,u);const h=l.classes;null!==h&&Vi(a,c,h);const d=l.styles;null!==d&&ji(a,c,d),64!=(64&l.flags)&&Ii(s,i,c,l),0===ke.lFrame.elementDepthCount&&ci(c,i),ke.lFrame.elementDepthCount++,Jt(l)&&(gs(s,i,l),fs(s,l,i)),null!==r&&ms(i,l)}function No(){let t=Ne();je()?Ve():(t=t.parent,Le(t,!1));const e=t;ke.lFrame.elementDepthCount--;const n=Me();n.firstCreatePass&&(cn(n,t),Kt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Mo(n,e,Ie(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Mo(n,e,Ie(),e.stylesWithoutHost,!1)}function Do(t,e,n,r){Ro(t,e,n,r),No()}function Lo(t,e,n){const r=Ie(),i=Me(),s=t+qt,o=i.firstCreatePass?function(t,e,n,r,i){const s=e.consts,o=Pe(s,r),a=cs(e,t,8,"ng-container",o);return null!==o&&qs(a,o,!0),Cs(e,n,a,Pe(s,i)),null!==e.queries&&e.queries.elementStart(e,a),a}(s,i,r,e,n):i.data[s];Le(o,!0);const a=r[s]=r[11].createComment("");Ii(i,r,a,o),ci(a,r),Jt(o)&&(gs(i,r,o),fs(i,o,r)),null!=n&&ms(r,o)}function jo(){let t=Ne();const e=Me();je()?Ve():(t=t.parent,Le(t,!1)),e.firstCreatePass&&(cn(e,t),Kt(t)&&e.queries.elementEnd(t))}function Vo(){return Ie()}function Ho(t){return!!t&&"function"==typeof t.then}function Fo(t){return!!t&&"function"==typeof t.subscribe}function Uo(t,e,n=!1,r){const i=Ie(),s=Me(),o=Ne();return function(t,e,n,r,i,s,o=!1,a){const c=Jt(r),l=t.firstCreatePass&&Gs(t),u=zs(e);let h=!0;if(3&r.type){const d=ye(r,e),p=a?a(d):Ot,f=p.target||d,g=u.length,m=a?t=>a(ve(t[r.index])).target:r.index;if(ge(n)){let o=null;if(!a&&c&&(o=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const t=i[s];if(t===n&&i[s+1]===r){const t=e[7],n=i[s+2];return t.length>n?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,i,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1;else{s=Go(r,e,s,!1);const t=n.listen(p.name||f,i,s);u.push(s,t),l&&l.push(i,m,g,g+1)}}else s=Go(r,e,s,!0),f.addEventListener(i,s,o),u.push(s),l&&l.push(i,m,g,o)}else s=Go(r,e,s,!1);const d=r.outputs;let p;if(h&&null!==d&&(p=d[i])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(s),o=u.length;u.push(s,t),l&&l.push(i,r.index,o,-(o+1))}}}(s,i,i[11],o,t,e,n,r),Uo}function zo(t,e,n){try{return!1!==e(n)}catch(r){return Bs(t,r),!1}}function Go(t,e,n,r){return function i(s){if(s===Function)return n;const o=2&t.flags?Ce(t.index,e):e;0==(32&e[2])&&js(o);let a=zo(e,n,s),c=i.__ngNextListenerFn__;for(;c;)a=zo(e,c,s)&&a,c=c.__ngNextListenerFn__;return r&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function Bo(t=1){return function(t){return(ke.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,ke.lFrame.contextLView))[8]}(t)}function Wo(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let i=0;i<e.length;i++){const s=e[i];if("*"!==s){if(null===r?qi(t,s,!0):Yi(r,s))return i}else n=i}return n}function $o(t){const e=Ie()[16][6];if(!e.projection){const n=e.projection=rr(t?t.length:1,null),r=n.slice();let i=e.child;for(;null!==i;){const e=t?Wo(i,t):0;null!==e&&(r[e]?r[e].projectionNext=i:n[e]=i,r[e]=i),i=i.next}}}function qo(t,e=0,n){const r=Ie(),i=Me(),s=cs(i,qt+t,16,null,n||null);null===s.projection&&(s.projection=e),Ve(),64!=(64&s.flags)&&function(t,e,n){Li(e[11],0,e,n,xi(t,n,e),ki(n.parent||e[6],n,e))}(i,r,s)}function Yo(t,e,n){return Zo(t,"",e,"",n),Yo}function Zo(t,e,n,r,i){const s=Ie(),o=Oo(s,e,n,r);return o!==Ki&&ws(Me(),on(),s,t,o,s[11],i,!1),Zo}const Qo=[];function Ko(t,e,n,r,i){const s=t[n+1],o=null===e;let a=r?es(s):rs(s),c=!1;for(;0!==a&&(!1===c||o);){const n=t[a+1];Xo(t[a],e)&&(c=!0,t[a+1]=r?ss(n):ns(n)),a=r?es(n):rs(n)}c&&(t[n+1]=r?ns(s):ss(s))}function Xo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&or(t,e)>=0}const Jo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ta(t){return t.substring(Jo.key,Jo.keyEnd)}function ea(t,e){const n=Jo.textEnd;return n===e?-1:(e=Jo.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Jo.key=e,n),na(t,e,n))}function na(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function ra(t,e){return function(t,e,n,r){const i=Ie(),s=Me(),o=Be(2);s.firstUpdatePass&&aa(s,t,o,true),e!==Ki&&xo(i,o,e)&&ua(s,s.data[rn()],i,i[11],t,i[o+1]=function(t,e){return null==t||"object"==typeof t&&(t=tt(Tr(t))),t}(e),true,o)}(t,e),ra}function ia(t){!function(t,e,n,r){const i=Me(),s=Be(2);i.firstUpdatePass&&aa(i,null,s,r);const o=Ie();if(n!==Ki&&xo(o,s,n)){const a=i.data[rn()];if(pa(a,r)&&!oa(i,s)){let t=a.classesWithoutHost;null!==t&&(n=et(t,n||"")),Mo(i,a,o,n,r)}else!function(t,e,n,r,i,s,o,a){i===Ki&&(i=Qo);let c=0,l=0,u=0<i.length?i[0]:null,h=0<s.length?s[0]:null;for(;null!==u||null!==h;){const o=c<i.length?i[c+1]:void 0,d=l<s.length?s[l+1]:void 0;let p=null,f=void 0;u===h?(c+=2,l+=2,o!==d&&(p=h,f=d)):null===h||null!==u&&u<h?(c+=2,p=u):(l+=2,p=h,f=d),null!==p&&ua(t,e,n,r,p,f,true,a),u=c<i.length?i[c]:null,h=l<s.length?s[l]:null}}(i,a,o,o[11],o[s+1],o[s+1]=function(t,e,n){if(null==n||""===n)return Qo;const r=[],i=Tr(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)t(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&t(r,s,i[s]);else"string"==typeof i&&e(r,i);return r}(t,e,n),0,s)}}(ir,sa,t,!0)}function sa(t,e){for(let n=function(t){return function(t){Jo.key=0,Jo.keyEnd=0,Jo.value=0,Jo.valueEnd=0,Jo.textEnd=t.length}(t),ea(t,na(t,0,Jo.textEnd))}(e);n>=0;n=ea(e,n))ir(t,ta(e),!0)}function oa(t,e){return e>=t.expandoStartIndex}function aa(t,e,n,r){const i=t.data;if(null===i[n+1]){const s=i[rn()],o=oa(t,n);pa(s,r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const i=function(t){const e=ke.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let s=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=la(n=ca(null,t,e,n,r),e.attrs,r),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=ca(i,t,e,n,r),null===s){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==rs(r))return t[es(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=ca(null,t,e,n[1],r),n=la(n,e.attrs,r),function(t,e,n,r){t[es(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else s=function(t,e,n){let r=void 0;const i=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<i;s++)r=la(r,t[s].hostAttrs,n);return la(r,e.attrs,n)}(t,e,r)}return void 0!==s&&(r?e.residualClasses=s:e.residualStyles=s),n}(i,s,e,r),function(t,e,n,r,i,s){let o=s?e.classBindings:e.styleBindings,a=es(o),c=rs(o);t[r]=n;let l,u=!1;if(Array.isArray(n)){const t=n;l=t[1],(null===l||or(t,l)>0)&&(u=!0)}else l=n;if(i)if(0!==c){const e=es(t[a+1]);t[r+1]=ts(e,a),0!==e&&(t[e+1]=is(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=ts(a,0),0!==a&&(t[a+1]=is(t[a+1],r)),a=r;else t[r+1]=ts(c,0),0===a?a=r:t[c+1]=is(t[c+1],r),c=r;u&&(t[r+1]=ns(t[r+1])),Ko(t,l,r,!0),Ko(t,l,r,!1),function(t,e,n,r,i){const s=i?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&or(s,e)>=0&&(n[r+1]=ss(n[r+1]))}(e,l,t,r,s),o=ts(a,c),s?e.classBindings=o:e.styleBindings=o}(i,s,e,n,o,r)}}function ca(t,e,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=e[a],r=la(r,s.hostAttrs,i),s!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function la(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?i=o:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),ir(t,o,!!n||e[++s]))}return void 0===t?null:t}function ua(t,e,n,r,i,s,o,a){if(!(3&e.type))return;const c=t.data,l=c[a+1];da(1==(1&l)?ha(c,e,n,i,rs(l),o):void 0)||(da(s)||2==(2&l)&&(s=ha(c,null,n,i,a,o)),function(t,e,n,r,i){const s=ge(t);if(e)i?s?t.addClass(n,r):n.classList.add(r):s?t.removeClass(n,r):n.classList.remove(r);else{let e=-1===r.indexOf("-")?void 0:di.DashCase;if(null==i)s?t.removeStyle(n,r,e):n.style.removeProperty(r);else{const o="string"==typeof i&&i.endsWith("!important");o&&(i=i.slice(0,-10),e|=di.Important),s?t.setStyle(n,r,i,e):n.style.setProperty(r,i,o?"important":"")}}}(r,o,_e(rn(),n),i,s))}function ha(t,e,n,r,i,s){const o=null===e;let a=void 0;for(;i>0;){const e=t[i],s=Array.isArray(e),c=s?e[1]:e,l=null===c;let u=n[i+1];u===Ki&&(u=l?Qo:void 0);let h=l?sr(u,r):c===r?u:void 0;if(s&&!da(h)&&(h=sr(e,r)),da(h)&&(a=h,o))return a;const d=t[i+1];i=o?es(d):rs(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=sr(t,r))}return a}function da(t){return void 0!==t}function pa(t,e){return 0!=(t.flags&(e?16:32))}function fa(t,e=""){const n=Ie(),r=Me(),i=t+qt,s=r.firstCreatePass?cs(r,i,1,e,null):r.data[i],o=n[i]=function(t,e){return ge(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Ii(r,n,o,s),Le(s,!1)}function ga(t){return ma("",t,""),ga}function ma(t,e,n){const r=Ie(),i=Oo(r,t,e,n);return i!==Ki&&$s(r,rn(),i),ma}function va(t,e,n,r,i){const s=Ie(),o=function(t,e,n,r,i,s){const o=Eo(t,ze(),n,i);return Be(2),o?e+re(n)+r+re(i)+s:Ki}(s,t,e,n,r,i);return o!==Ki&&$s(s,rn(),o),va}function _a(t,e,n){const r=Ie();return xo(r,Ge(),e)&&ws(Me(),on(),r,t,e,r[11],n,!0),_a}const ya=void 0;var ba=["en",[["a","p"],["AM","PM"],ya],[["AM","PM"],ya,ya],[["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"]],ya,[["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"]],ya,[["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}",ya,"{1} 'at' {0}",ya],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let wa={};function Ca(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Sa(e);if(n)return n;const r=e.split("-")[0];if(n=Sa(r),n)return n;if("en"===r)return ba;throw new Error(`Missing locale data for the locale "${t}".`)}function Sa(t){return t in wa||(wa[t]=Pt.ng&&Pt.ng.common&&Pt.ng.common.locales&&Pt.ng.common.locales[t]),wa[t]}var xa=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const Ea="en-US";let Pa=Ea;function Oa(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Pa=t.toLowerCase().replace(/_/g,"-"))}function Ta(t,e,n,r,i){if(t=it(t),Array.isArray(t))for(let s=0;s<t.length;s++)Ta(t[s],e,n,r,i);else{const s=Me(),o=Ie();let a=co(t)?t:it(t.provide),c=so(t);const l=Ne(),u=1048575&l.providerIndexes,h=l.directiveStart,d=l.providerIndexes>>20;if(co(t)||!t.multi){const r=new gn(c,i,Ao),p=Ia(a,e,i?u:u+d,h);-1===p?(In(On(l,o),s,a),ka(s,t,e.length),e.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=Ia(a,e,u+d,h),f=Ia(a,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(i&&!m||!i&&!g){In(On(l,o),s,a);const u=function(t,e,n,r,i){const s=new gn(t,n,Ao);return s.multi=[],s.index=e,s.componentProviders=0,Aa(s,i,r&&!n),s}(i?Ra:Ma,n.length,i,r,c);!i&&m&&(n[f].providerFactory=u),ka(s,t,e.length,0),e.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(u),o.push(u)}else ka(s,t,p>-1?p:f,Aa(n[i?f:p],c,!i&&r));!i&&r&&m&&n[f].componentProviders++}}}function ka(t,e,n,r){const i=co(e);if(i||e.useClass){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,s]):o[t+1].push(r,s)}else o.push(n,s)}}}function Aa(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Ia(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function Ma(t,e,n,r){return Na(this.multi,[])}function Ra(t,e,n,r){const i=this.multi;let s;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Hn(n,n[1],this.providerFactory.index,r);s=e.slice(0,t),Na(i,s);for(let n=t;n<e.length;n++)s.push(e[n])}else s=[],Na(i,s);return s}function Na(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Da(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=Me();if(r.firstCreatePass){const i=te(t);Ta(n,r.data,r.blueprint,i,!0),Ta(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}class La{}class ja{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${tt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Va=(()=>{class t{}return t.NULL=new ja,t})();function Ha(...t){}function Fa(t,e){return new za(ye(t,e))}const Ua=function(){return Fa(Ne(),Ie())};let za=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Ua,t})();class Ga{}let Ba=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Wa(),t})();const Wa=function(){const t=Ie(),e=Ce(Ne().index,t);return function(t){return t[11]}(Zt(e)?e:t)};let $a=(()=>{class t{}return t.\u0275prov=ot({token:t,providedIn:"root",factory:()=>null}),t})();class qa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ya=new qa("11.0.4");class Za{constructor(){}supports(t){return wo(t)}create(t){return new Ka(t)}}const Qa=(t,e)=>e;class Ka{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Qa}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const s=!n||e&&e.currentIndex<ec(n,r,i)?e:n,o=ec(s,r,i),a=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{i||(i=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<i.length?i[n]:i[n]=0,s=r+n;e<=s&&s<t&&(i[n]=r+1)}i[s.previousIndex]=e-t}}o!==a&&t(s,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!wo(t))throw new Error(`Error trying to diff '${tt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,n,r,e)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,e),s=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[yo()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,t,r,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),s=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new Xa(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new tc),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new tc),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Xa{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Ja{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class tc{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ja,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ec(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class nc{constructor(){}supports(t){return t instanceof Map||Co(t)}create(){return new rc}}class rc{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(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Co(t)))throw new Error(`Error trying to diff '${tt(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new ic(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class ic{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let sc=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ur,new cr]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=ot({token:t,providedIn:"root",factory:()=>new t([new Za])}),t})(),oc=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ur,new cr]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=ot({token:t,providedIn:"root",factory:()=>new t([new nc])}),t})();function ac(t,e,n,r,i=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&r.push(ve(s)),Qt(s))for(let t=Yt;t<s.length;t++){const e=s[t],n=e[1].firstChild;null!==n&&ac(e[1],e,n,r)}const o=n.type;if(8&o)ac(t,e,n.child,r);else if(32&o){const t=pi(n,e);let i;for(;i=t();)r.push(i)}else if(16&o){const t=e[16],i=t[6].projection[n.projection];if(Array.isArray(i))r.push(...i);else{const e=fi(t);ac(e[1],e,i,r,!0)}}n=i?n.projectionNext:n.next}return r}class cc{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView,e=t[1];return ac(e,t,e.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Ci(this._lView[1],this._lView)}onDestroy(t){ys(this._lView[1],this._lView,null,t)}markForCheck(){js(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vs(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Fe(!0);try{Vs(t,e,n)}finally{Fe(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Di(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class lc extends cc{constructor(t){super(t),this._view=t}detectChanges(){Hs(this._view)}checkNoChanges(){!function(t){Fe(!0);try{Hs(t)}finally{Fe(!1)}}(this._view)}get context(){return null}}const uc=dc;let hc=(()=>{class t{}return t.__NG_ELEMENT_ID__=uc,t.__ChangeDetectorRef__=!0,t})();function dc(t=!1){return function(t,e,n){if(!n&&Xt(t)){const n=Ce(t.index,e);return new cc(n,n)}return 47&t.type?new cc(e[16],e):null}(Ne(),Ie(),t)}const pc=[new nc],fc=new sc([new Za]),gc=new oc(pc),mc=function(){return bc(Ne(),Ie())};let vc=(()=>{class t{}return t.__NG_ELEMENT_ID__=mc,t})();const _c=vc,yc=class extends _c{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=as(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),us(e,n,t),new cc(n)}};function bc(t,e){return 4&t.type?new yc(e,t,Fa(t,e)):null}class wc{}class Cc{}const Sc=function(){return kc(Ne(),Ie())};let xc=(()=>{class t{}return t.__NG_ELEMENT_ID__=Sc,t})();const Ec=xc,Pc=class extends Ec{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Fa(this._hostTNode,this._hostLView)}get injector(){return new zn(this._hostTNode,this._hostLView)}get parentInjector(){const t=An(this._hostTNode,this._hostLView);if(wn(t)){const e=Sn(t,this._hostLView),n=Cn(t);return new zn(e[1].data[n+8],e)}return new zn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Oc(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Yt}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const s=n||this.parentInjector;if(!i&&null==t.ngModule&&s){const t=s.get(wc,null);t&&(i=t)}const o=t.create(s,r,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(Qt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new Pc(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e),s=this._lContainer;!function(t,e,n,r){const i=Yt+r,s=n.length;r>0&&(n[i-1][4]=e),r<s-Yt?(e[4]=n[i],er(n,Yt+r,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,n,s,i);const o=Ri(i,s),a=n[11],c=Ti(a,s[7]);return null!==c&&function(t,e,n,r,i,s){r[0]=i,r[6]=e,Di(t,r,n,1,i,s)}(r,s[6],a,n,c,o),t.attachToViewContainerRef(this),er(Tc(s),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Oc(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=wi(this._lContainer,e);n&&(nr(Tc(this._lContainer),e),Ci(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=wi(this._lContainer,e);return n&&null!=nr(Tc(this._lContainer),e)?new cc(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function Oc(t){return t[8]}function Tc(t){return t[8]||(t[8]=[])}function kc(t,e){let n;const r=e[t.index];if(Qt(r))n=r;else{let i;if(8&t.type)i=ve(r);else{const n=e[11];i=n.createComment("");const r=ye(t,e);Ei(n,Ti(n,r),i,function(t,e){return ge(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=Ms(r,e,i,t),Ls(e,n)}return new Pc(n,t,e)}const Ac={};class Ic extends Va{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Wt(t);return new Nc(e,this.ngModule)}}function Mc(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Rc=new Qn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>li});class Nc extends La{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Qi).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Mc(this.componentDef.inputs)}get outputs(){return Mc(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const s=t.get(n,Ac,i);return s!==Ac||r===Ac?s:e.get(n,r,i)}}}(t,r.injector):t,s=i.get(Ga,me),o=i.get($a,null),a=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(t,e,n){if(ge(t))return t.selectRootElement(e,n===wt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):yi(s.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?de:"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:li,clean:Us,playerHandler:null,flags:0},d=_s(0,null,null,1,0,null,null,null,null,null),p=as(null,d,h,u,null,null,s,a,o,i);let f,g;Ke(p);try{const t=function(t,e,n,r,i,s){const o=n[1];n[20]=t;const a=cs(o,20,2,"#host",null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(qs(a,c,!0),null!==t&&(mn(i,t,c),null!==a.classes&&Vi(i,t,a.classes),null!==a.styles&&ji(i,t,a.styles)));const l=r.createRenderer(t,e),u=as(n,vs(e),null,e.onPush?64:16,n[20],a,r,l,null,null);return o.firstCreatePass&&(In(On(a,n),o,e.type),Es(o,a),Os(a,n.length,1)),Ls(n,u),n[20]=u}(l,this.componentDef,p,s,a);if(l)if(n)mn(a,l,["ng-version",Ya.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===i?""!==s&&e.push(s,t[++r]):8===i&&n.push(s);else{if(!Wi(i))break;i=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&mn(a,l,t),e&&e.length>0&&Vi(a,l,e.join(" "))}if(g=be(d,qt),void 0!==e){const t=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}f=function(t,e,n,r,i){const s=n[1],o=function(t,e,n){const r=Ne();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ts(t,r,e,ls(t,e,1,null),n));const i=Hn(e,t,r.directiveStart,r);ci(i,e);const s=ye(r,e);return s&&ci(s,e),i}(s,n,e);if(r.components.push(o),t[8]=o,i&&i.forEach(t=>t(o,e)),e.contentQueries){const t=Ne();e.contentQueries(1,o,t.directiveStart)}const a=Ne();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(sn(a.index),Ss(n[1],a,0,a.directiveStart,a.directiveEnd,e),xs(e,o)),o}(t,this.componentDef,p,h,[ho]),us(d,p,null)}finally{nn()}return new Dc(this.componentType,f,Fa(g,p),p,g)}}class Dc extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.instance=e,this.hostView=this.changeDetectorRef=new lc(r),this.componentType=t}get injector(){return new zn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Lc=new Map;class jc extends wc{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ic(this);const n=$t(t),r=t[Rt]||null;r&&Oa(r),this._bootstrapComponents=hi(n.bootstrap),this._r3Injector=no(t,e,[{provide:wc,useValue:this},{provide:Va,useValue:this.componentFactoryResolver}],tt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=uo.THROW_IF_NOT_FOUND,n=gt.Default){return t===uo||t===wc||t===Ys?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Vc extends Cc{constructor(t){super(),this.moduleType=t,null!==$t(t)&&function(t){const e=new Set;!function t(n){const r=$t(n,!0),i=r.id;null!==i&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${tt(e)} vs ${tt(e.name)}`)}(i,Lc.get(i),n),Lc.set(i,n));const s=hi(r.imports);for(const o of s)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new jc(this.moduleType,t)}}function Hc(t,e,n,r,i,s){return zc(Ie(),Ue(),t,e,n,r,i,s)}function Fc(t,e){const n=t[e];return n===Ki?void 0:n}function Uc(t,e,n,r,i,s){const o=e+n;return xo(t,o,i)?So(t,o+1,s?r.call(s,i):r(i)):Fc(t,o+1)}function zc(t,e,n,r,i,s,o,a){const c=e+n;return function(t,e,n,r,i){const s=Eo(t,e,n,r);return xo(t,e+2,i)||s}(t,c,i,s,o)?So(t,c+3,a?r.call(a,i,s,o):r(i,s,o)):Fc(t,c+3)}function Gc(t,e){const n=Me();let r;const i=t+qt;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new ne("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=ee(r.type)),o=vt(Ao);try{const t=En(!1),e=s();return En(t),function(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}(n,Ie(),i,e),e}finally{vt(o)}}function Bc(t,e,n){const r=t+qt,i=Ie(),s=we(i,r);return Yc(i,qc(i,r)?Uc(i,Ue(),e,s.transform,n,s):s.transform(n))}function Wc(t,e,n,r){const i=t+qt,s=Ie(),o=we(s,i);return Yc(s,qc(s,i)?function(t,e,n,r,i,s,o){const a=e+n;return Eo(t,a,i,s)?So(t,a+2,o?r.call(o,i,s):r(i,s)):Fc(t,a+2)}(s,Ue(),e,o.transform,n,r,o):o.transform(n,r))}function $c(t,e,n,r,i){const s=t+qt,o=Ie(),a=we(o,s);return Yc(o,qc(o,s)?zc(o,Ue(),e,a.transform,n,r,i,a):a.transform(n,r,i))}function qc(t,e){return t[1].data[e].pure}function Yc(t,e){return bo.isWrapped(e)&&(e=bo.unwrap(e),t[ze()]=Ki),e}const Zc=class extends S{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,i=t=>null,s=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(s=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,i,s);return t instanceof h&&t.add(o),o}};function Qc(){return this._results[yo()]()}class Kc{constructor(){this.dirty=!0,this._results=[],this.changes=new Zc,this.length=0;const t=yo(),e=Kc.prototype;e[t]||(e[t]=Qc)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=Jn(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Xc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Xc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Jc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new Jc(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==cl(t,e).matches&&this.queries[e].setDirty()}}class tl{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class el{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new el(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class nl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new nl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(t,e,rl(e,i)),this.matchTNodeWithReadOption(t,e,Vn(e,t,i,!1,!1))}else n===vc?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Vn(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===za||r===xc||r===vc&&4&e.type)this.addMatch(e.index,-2);else{const n=Vn(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function rl(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function il(t,e,n,r){return-1===n?function(t,e){return 11&t.type?Fa(t,e):4&t.type?bc(t,e):null}(e,t):-2===n?function(t,e,n){return n===za?Fa(e,t):n===vc?bc(e,t):n===xc?kc(e,t):void 0}(t,e,r):Hn(t,t[1],n,e)}function sl(t,e,n,r){const i=e[19].queries[r];if(null===i.matches){const r=t.data,s=n.matches,o=[];for(let t=0;t<s.length;t+=2){const i=s[t];o.push(i<0?null:il(e,r[i],s[t+1],n.metadata.read))}i.matches=o}return i.matches}function ol(t,e,n,r){const i=t.queries.getByIndex(n),s=i.matches;if(null!==s){const o=sl(t,e,i,n);for(let t=0;t<s.length;t+=2){const n=s[t];if(n>0)r.push(o[t/2]);else{const i=s[t+1],o=e[-n];for(let t=Yt;t<o.length;t++){const e=o[t];e[17]===e[3]&&ol(e[1],e,i,r)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];ol(n[1],n,i,r)}}}}}return r}function al(t){const e=Ie(),n=Me(),r=qe();Ye(r+1);const i=cl(n,r);if(t.dirty&&xe(e)===i.metadata.isStatic){if(null===i.matches)t.reset([]);else{const s=i.crossesNgTemplate?ol(n,e,r,[]):sl(n,e,i,r);t.reset(s),t.notifyOnChanges()}return!0}return!1}function cl(t,e){return t.queries.getByIndex(e)}function ll(t,e){return bc(t,e)}const ul=Zn("Input",t=>({bindingPropertyName:t})),hl=Zn("Output",t=>({bindingPropertyName:t})),dl=new Qn("Application Initializer");let pl=(()=>{class t{constructor(t){this.appInits=t,this.resolve=Ha,this.reject=Ha,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();Ho(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(yr(dl,8))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const fl=new Qn("AppId"),gl={provide:fl,useFactory:function(){return`${ml()}${ml()}${ml()}`},deps:[]};function ml(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const vl=new Qn("Platform Initializer"),_l=new Qn("Platform ID"),yl=new Qn("appBootstrapListener");let bl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const wl=new Qn("LocaleId"),Cl=new Qn("DefaultCurrencyCode");class Sl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const xl=function(t){return new Vc(t)},El=xl,Pl=function(t){return Promise.resolve(xl(t))},Ol=function(t){const e=xl(t),n=hi($t(t).declarations).reduce((t,e)=>{const n=Wt(e);return n&&t.push(new Nc(n)),t},[]);return new Sl(e,n)},Tl=Ol,kl=function(t){return Promise.resolve(Ol(t))};let Al=(()=>{class t{constructor(){this.compileModuleSync=El,this.compileModuleAsync=Pl,this.compileModuleAndAllComponentsSync=Tl,this.compileModuleAndAllComponentsAsync=kl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const Il=(()=>Promise.resolve(0))();function Ml(t){"undefined"==typeof Zone?Il.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Rl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Zc(!1),this.onMicrotaskEmpty=new Zc(!1),this.onStable=new Zc(!1),this.onError=new Zc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=e,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=Pt.requestAnimationFrame,e=Pt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Pt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ll(t),Dl(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ll(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,i,s,o,a)=>{try{return jl(t),n.invokeTask(i,s,o,a)}finally{e&&"eventTask"===s.type&&e(),Vl(t)}},onInvoke:(e,n,r,i,s,o,a)=>{try{return jl(t),e.invoke(r,i,s,o,a)}finally{Vl(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,Ll(t),Dl(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Rl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Rl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,t,Nl,Ha,Ha);try{return i.runTask(s,e,n)}finally{i.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Nl={};function Dl(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ll(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function jl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Vl(t){t._nesting--,Dl(t)}class Hl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zc,this.onMicrotaskEmpty=new Zc,this.onStable=new Zc,this.onError=new Zc}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let Fl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Rl.assertNotInAngularZone(),Ml(()=>{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())Ml(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(yr(Rl))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),Ul=(()=>{class t{constructor(){this._applications=new Map,Bl.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Bl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();class zl{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Gl,Bl=new zl,Wl=!0,$l=!1;function ql(){return $l=!0,Wl}const Yl=new Qn("AllowMultipleToken");class Zl{constructor(t,e){this.name=t,this.token=e}}function Ql(t,e,n=[]){const r="Platform: "+e,i=new Qn(r);return(e=[])=>{let s=Kl();if(!s||s.injector.get(Yl,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:Qs,useValue:"platform"});!function(t){if(Gl&&!Gl.destroyed&&!Gl.injector.get(Yl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Gl=t.get(Xl);const e=t.get(vl,null);e&&e.forEach(t=>t())}(uo.create({providers:t,name:r}))}return function(t){const e=Kl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function Kl(){return Gl&&!Gl.destroyed?Gl:null}let Xl=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Hl:("zone.js"===t?void 0:t)||new Rl({enableLongStackTrace:ql(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Rl,useValue:n}];return n.run(()=>{const e=uo.create({providers:r,parent:this.injector,name:t.moduleType.name}),i=t.create(e),s=i.injector.get(ai,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});i.onDestroy(()=>{eu(this._modules,i),t.unsubscribe()})}),function(t,e,n){try{const r=n();return Ho(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(s,n,()=>{const t=i.injector.get(pl);return t.runInitializers(),t.donePromise.then(()=>(Oa(i.injector.get(wl,Ea)||Ea),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=Jl({},e);return function(t,e,n){const r=new Vc(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(tu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${tt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(yr(uo))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();function Jl(t,e){return Array.isArray(e)?e.reduce(Jl,t):Object.assign(Object.assign({},t),e)}let tu=(()=>{class t{constructor(t,e,n,r,i,s){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new _(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new _(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Rl.assertNotInAngularZone(),Ml(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Rl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return E(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof _?t[0]:G(e)(B(t,n))}(o,a.pipe(t=>{return W()((e=K,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,Z);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof La?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(wc),i=n.create(uo.NULL,[],e||n.selector,r),s=i.location.nativeElement,o=i.injector.get(Fl,null),a=o&&i.injector.get(Ul);return o&&a&&a.registerApplication(s,o),i.onDestroy(()=>{this.detachView(i.hostView),eu(this.components,i),a&&a.unregisterApplication(s)}),this._loadComponent(i),ql()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;eu(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(yl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(yr(Rl),yr(bl),yr(uo),yr(ai),yr(Va),yr(pl))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();function eu(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class nu{}class ru{}const iu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let su=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||iu}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>ou(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+i]).then(t=>ou(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(yr(Al),yr(ru,8))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();function ou(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const au=Ql(null,"core",[{provide:_l,useValue:"unknown"},{provide:Xl,deps:[uo]},{provide:Ul,deps:[]},{provide:bl,deps:[]}]),cu=[{provide:tu,useClass:tu,deps:[Rl,bl,uo,ai,Va,pl]},{provide:Rc,deps:[Rl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:pl,useClass:pl,deps:[[new cr,dl]]},{provide:Al,useClass:Al,deps:[]},gl,{provide:sc,useFactory:function(){return fc},deps:[]},{provide:oc,useFactory:function(){return gc},deps:[]},{provide:wl,useFactory:function(t){return Oa(t=t||"undefined"!=typeof $localize&&$localize.locale||Ea),t},deps:[[new ar(wl),new cr,new ur]]},{provide:Cl,useValue:"USD"}];let lu=(()=>{class t{constructor(t){}}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)(yr(tu))},providers:cu}),t})(),uu=null;function hu(){return uu}const du=new Qn("DocumentToken");let pu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({factory:fu,token:t,providedIn:"platform"}),t})();function fu(){return yr(mu)}const gu=new Qn("Location Initialized");let mu=(()=>{class t extends pu{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=hu().getLocation(),this._history=hu().getHistory()}getBaseHrefFromDOM(){return hu().getBaseHref(this._doc)}onPopState(t){hu().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){hu().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){vu()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){vu()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(yr(du))},t.\u0275prov=ot({factory:_u,token:t,providedIn:"platform"}),t})();function vu(){return!!window.history.pushState}function _u(){return new mu(yr(du))}function yu(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function bu(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function wu(t){return t&&"?"!==t[0]?"?"+t:t}let Cu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({factory:Su,token:t,providedIn:"root"}),t})();function Su(t){const e=yr(du).location;return new Eu(yr(pu),e&&e.origin||"")}const xu=new Qn("appBaseHref");let Eu=(()=>{class t extends Cu{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return yu(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+wu(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+wu(r));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+wu(r));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(yr(pu),yr(xu,8))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),Pu=(()=>{class t extends Cu{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=yu(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let i=this.prepareExternalUrl(n+wu(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){let i=this.prepareExternalUrl(n+wu(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(yr(pu),yr(xu,8))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),Ou=(()=>{class t{constructor(t,e){this._subject=new Zc,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=bu(ku(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+wu(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,ku(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+wu(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+wu(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(yr(Cu),yr(pu))},t.normalizeQueryParams=wu,t.joinWithSlash=yu,t.stripTrailingSlash=bu,t.\u0275prov=ot({factory:Tu,token:t,providedIn:"root"}),t})();function Tu(){return new Ou(yr(Cu),yr(pu))}function ku(t){return t.replace(/\/index.html$/,"")}var Au=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),Iu=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Mu=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),Ru=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),Nu=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),Du=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function Lu(t,e){return Uu(Ca(t)[xa.DateFormat],e)}function ju(t,e){return Uu(Ca(t)[xa.TimeFormat],e)}function Vu(t,e){return Uu(Ca(t)[xa.DateTimeFormat],e)}function Hu(t,e){const n=Ca(t),r=n[xa.NumberSymbols][e];if(void 0===r){if(e===Du.CurrencyDecimal)return n[xa.NumberSymbols][Du.Decimal];if(e===Du.CurrencyGroup)return n[xa.NumberSymbols][Du.Group]}return r}function Fu(t){if(!t[xa.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[xa.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Uu(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function zu(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const Gu=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Bu={},Wu=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var $u=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),qu=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),Yu=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function Zu(t,e,n,r){let i=function(t){if(ah(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,r]=t.split("-").map(t=>+t);return new Date(e,n-1,r)}let n;if(n=t.match(Gu))return function(t){const e=new Date(0);let n=0,r=0;const i=t[8]?e.setUTCFullYear:e.setFullYear,s=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),r=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-r,c=Number(t[6]||0),l=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return s.call(e,o,a,c,l),e}(n)}const e=new Date(t);if(!ah(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=Qu(n,e)||e;let s,o=[];for(;e;){if(s=Wu.exec(e),!s){o.push(e);break}{o=o.concat(s.slice(1));const t=o.pop();if(!t)break;e=t}}let a=i.getTimezoneOffset();r&&(a=oh(r,a),i=function(t,e,n){const r=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(oh(e,r)-r))}(i,r));let c="";return o.forEach(t=>{const e=function(t){if(sh[t])return sh[t];let e;switch(t){case"G":case"GG":case"GGG":e=th(Yu.Eras,Ru.Abbreviated);break;case"GGGG":e=th(Yu.Eras,Ru.Wide);break;case"GGGGG":e=th(Yu.Eras,Ru.Narrow);break;case"y":e=Ju(qu.FullYear,1,0,!1,!0);break;case"yy":e=Ju(qu.FullYear,2,0,!0,!0);break;case"yyy":e=Ju(qu.FullYear,3,0,!1,!0);break;case"yyyy":e=Ju(qu.FullYear,4,0,!1,!0);break;case"Y":e=ih(1);break;case"YY":e=ih(2,!0);break;case"YYY":e=ih(3);break;case"YYYY":e=ih(4);break;case"M":case"L":e=Ju(qu.Month,1,1);break;case"MM":case"LL":e=Ju(qu.Month,2,1);break;case"MMM":e=th(Yu.Months,Ru.Abbreviated);break;case"MMMM":e=th(Yu.Months,Ru.Wide);break;case"MMMMM":e=th(Yu.Months,Ru.Narrow);break;case"LLL":e=th(Yu.Months,Ru.Abbreviated,Mu.Standalone);break;case"LLLL":e=th(Yu.Months,Ru.Wide,Mu.Standalone);break;case"LLLLL":e=th(Yu.Months,Ru.Narrow,Mu.Standalone);break;case"w":e=rh(1);break;case"ww":e=rh(2);break;case"W":e=rh(1,!0);break;case"d":e=Ju(qu.Date,1);break;case"dd":e=Ju(qu.Date,2);break;case"E":case"EE":case"EEE":e=th(Yu.Days,Ru.Abbreviated);break;case"EEEE":e=th(Yu.Days,Ru.Wide);break;case"EEEEE":e=th(Yu.Days,Ru.Narrow);break;case"EEEEEE":e=th(Yu.Days,Ru.Short);break;case"a":case"aa":case"aaa":e=th(Yu.DayPeriods,Ru.Abbreviated);break;case"aaaa":e=th(Yu.DayPeriods,Ru.Wide);break;case"aaaaa":e=th(Yu.DayPeriods,Ru.Narrow);break;case"b":case"bb":case"bbb":e=th(Yu.DayPeriods,Ru.Abbreviated,Mu.Standalone,!0);break;case"bbbb":e=th(Yu.DayPeriods,Ru.Wide,Mu.Standalone,!0);break;case"bbbbb":e=th(Yu.DayPeriods,Ru.Narrow,Mu.Standalone,!0);break;case"B":case"BB":case"BBB":e=th(Yu.DayPeriods,Ru.Abbreviated,Mu.Format,!0);break;case"BBBB":e=th(Yu.DayPeriods,Ru.Wide,Mu.Format,!0);break;case"BBBBB":e=th(Yu.DayPeriods,Ru.Narrow,Mu.Format,!0);break;case"h":e=Ju(qu.Hours,1,-12);break;case"hh":e=Ju(qu.Hours,2,-12);break;case"H":e=Ju(qu.Hours,1);break;case"HH":e=Ju(qu.Hours,2);break;case"m":e=Ju(qu.Minutes,1);break;case"mm":e=Ju(qu.Minutes,2);break;case"s":e=Ju(qu.Seconds,1);break;case"ss":e=Ju(qu.Seconds,2);break;case"S":e=Ju(qu.FractionalSeconds,1);break;case"SS":e=Ju(qu.FractionalSeconds,2);break;case"SSS":e=Ju(qu.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=eh($u.Short);break;case"ZZZZZ":e=eh($u.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=eh($u.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=eh($u.Long);break;default:return null}return sh[t]=e,e}(t);c+=e?e(i,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Qu(t,e){const n=function(t){return Ca(t)[xa.LocaleId]}(t);if(Bu[n]=Bu[n]||{},Bu[n][e])return Bu[n][e];let r="";switch(e){case"shortDate":r=Lu(t,Nu.Short);break;case"mediumDate":r=Lu(t,Nu.Medium);break;case"longDate":r=Lu(t,Nu.Long);break;case"fullDate":r=Lu(t,Nu.Full);break;case"shortTime":r=ju(t,Nu.Short);break;case"mediumTime":r=ju(t,Nu.Medium);break;case"longTime":r=ju(t,Nu.Long);break;case"fullTime":r=ju(t,Nu.Full);break;case"short":const e=Qu(t,"shortTime"),n=Qu(t,"shortDate");r=Ku(Vu(t,Nu.Short),[e,n]);break;case"medium":const i=Qu(t,"mediumTime"),s=Qu(t,"mediumDate");r=Ku(Vu(t,Nu.Medium),[i,s]);break;case"long":const o=Qu(t,"longTime"),a=Qu(t,"longDate");r=Ku(Vu(t,Nu.Long),[o,a]);break;case"full":const c=Qu(t,"fullTime"),l=Qu(t,"fullDate");r=Ku(Vu(t,Nu.Full),[c,l])}return r&&(Bu[n][e]=r),r}function Ku(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function Xu(t,e,n="-",r,i){let s="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,s=n));let o=String(t);for(;o.length<e;)o="0"+o;return r&&(o=o.substr(o.length-e)),s+o}function Ju(t,e,n=0,r=!1,i=!1){return function(s,o){let a=function(t,e){switch(t){case qu.FullYear:return e.getFullYear();case qu.Month:return e.getMonth();case qu.Date:return e.getDate();case qu.Hours:return e.getHours();case qu.Minutes:return e.getMinutes();case qu.Seconds:return e.getSeconds();case qu.FractionalSeconds:return e.getMilliseconds();case qu.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,s);if((n>0||a>-n)&&(a+=n),t===qu.Hours)0===a&&-12===n&&(a=12);else if(t===qu.FractionalSeconds)return c=e,Xu(a,3).substr(0,c);var c;const l=Hu(o,Du.MinusSign);return Xu(a,e,l,r,i)}}function th(t,e,n=Mu.Format,r=!1){return function(i,s){return function(t,e,n,r,i,s){switch(n){case Yu.Months:return function(t,e,n){const r=Ca(t),i=Uu([r[xa.MonthsFormat],r[xa.MonthsStandalone]],e);return Uu(i,n)}(e,i,r)[t.getMonth()];case Yu.Days:return function(t,e,n){const r=Ca(t),i=Uu([r[xa.DaysFormat],r[xa.DaysStandalone]],e);return Uu(i,n)}(e,i,r)[t.getDay()];case Yu.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(s){const t=function(t){const e=Ca(t);return Fu(e),(e[xa.ExtraData][2]||[]).map(t=>"string"==typeof t?zu(t):[zu(t[0]),zu(t[1])])}(e),n=function(t,e,n){const r=Ca(t);Fu(r);const i=Uu([r[xa.ExtraData][0],r[xa.ExtraData][1]],e)||[];return Uu(i,n)||[]}(e,i,r),s=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,r=o>=e.hours&&a>=e.minutes,i=o<n.hours||o===n.hours&&a<n.minutes;if(e.hours<n.hours){if(r&&i)return!0}else if(r||i)return!0}else if(t.hours===o&&t.minutes===a)return!0;return!1});if(-1!==s)return n[s]}return function(t,e,n){const r=Ca(t),i=Uu([r[xa.DayPeriodsFormat],r[xa.DayPeriodsStandalone]],e);return Uu(i,n)}(e,i,r)[o<12?0:1];case Yu.Eras:return function(t,e){return Uu(Ca(t)[xa.Eras],e)}(e,r)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(i,s,t,e,n,r)}}function eh(t){return function(e,n,r){const i=-1*r,s=Hu(n,Du.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case $u.Short:return(i>=0?"+":"")+Xu(o,2,s)+Xu(Math.abs(i%60),2,s);case $u.ShortGMT:return"GMT"+(i>=0?"+":"")+Xu(o,1,s);case $u.Long:return"GMT"+(i>=0?"+":"")+Xu(o,2,s)+":"+Xu(Math.abs(i%60),2,s);case $u.Extended:return 0===r?"Z":(i>=0?"+":"")+Xu(o,2,s)+":"+Xu(Math.abs(i%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function nh(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function rh(t,e=!1){return function(n,r){let i;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();i=1+Math.floor((e+t)/7)}else{const t=nh(n),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),r=t.getTime()-e.getTime();i=1+Math.round(r/6048e5)}return Xu(i,t,Hu(r,Du.MinusSign))}}function ih(t,e=!1){return function(n,r){return Xu(nh(n).getFullYear(),t,Hu(r,Du.MinusSign),e)}}const sh={};function oh(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function ah(t){return t instanceof Date&&!isNaN(t.valueOf())}const ch=/^(\d+)?\.((\d+)(-(\d+))?)?$/,lh=".",uh="0";function hh(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class dh{}let ph=(()=>{class t extends dh{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return Ca(t)[xa.PluralCase]}(e||this.locale)(t)){case Iu.Zero:return"zero";case Iu.One:return"one";case Iu.Two:return"two";case Iu.Few:return"few";case Iu.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(yr(wl))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();function fh(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}let gh=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(wo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+tt(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(Ao(sc),Ao(oc),Ao(za),Ao(Ba))},t.\u0275dir=Gt({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class mh{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let vh=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new mh(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new _h(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const s=new _h(t,i);e.push(s)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=r,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Ao(xc),Ao(vc),Ao(sc))},t.\u0275dir=Gt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class _h{constructor(t,e){this.record=t,this.view=e}}let yh=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new bh,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){wh("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){wh("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Ao(xc),Ao(vc))},t.\u0275dir=Gt({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class bh{constructor(){this.$implicit=null,this.ngIf=null}}function wh(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${tt(e)}'.`)}function Ch(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${tt(t)}'`)}class Sh{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class xh{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Eh=new xh,Ph=new Sh;let Oh=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Ho(e))return Eh;if(Fo(e))return Ph;throw Ch(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(function(t=gt.Default){const e=dc(!0);if(null!=e||t>.Optional)return e;se("ChangeDetectorRef")}())},t.\u0275pipe=Bt({name:"async",type:t,pure:!1}),t})(),Th=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",r,i){if(null==e||""===e||e!=e)return null;try{return Zu(e,n,i||this.locale,r)}catch(s){throw Ch(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(Ao(wl))},t.\u0275pipe=Bt({name:"date",type:t,pure:!0}),t})(),kh=(()=>{class t{constructor(t){this._locale=t}transform(e,n,r){if(!function(t){return!(null==t||""===t||t!=t)}(e))return null;r=r||this._locale;try{return function(t,e,n){return function(t,e,n,r,i,s,o=!1){let a="",c=!1;if(isFinite(t)){let l=function(t){let e,n,r,i,s,o=Math.abs(t)+"",a=0;for((n=o.indexOf(lh))>-1&&(o=o.replace(lh,"")),(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length),r=0;o.charAt(r)===uh;r++);if(r===(s=o.length))e=[0],n=1;else{for(s--;o.charAt(s)===uh;)s--;for(n-=r,e=[],i=0;r<=s;r++,i++)e[i]=Number(o.charAt(r))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(l=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(l));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(s){const t=s.match(ch);if(null===t)throw new Error(s+" is not a valid digit info");const e=t[1],n=t[3],r=t[5];null!=e&&(u=hh(e)),null!=n&&(h=hh(n)),null!=r?d=hh(r):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let r=t.digits,i=r.length-t.integerLen;const s=Math.min(Math.max(e,i),n);let o=s+t.integerLen,a=r[o];if(o>0){r.splice(Math.max(t.integerLen,o));for(let t=o;t<r.length;t++)r[t]=0}else{i=Math.max(0,i),t.integerLen=1,r.length=Math.max(1,o=s+1),r[0]=0;for(let t=1;t<o;t++)r[t]=0}if(a>=5)if(o-1<0){for(let e=0;e>o;e--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[o-1]++;for(;i<Math.max(0,s);i++)r.push(0);let c=0!==s;const l=e+t.integerLen,u=r.reduceRight(function(t,e,n,r){return r[n]=(e+=t)<10?e:e-10,c&&(0===r[n]&&n>=l?r.pop():c=!1),e>=10?1:0},0);u&&(r.unshift(u),t.integerLen++)}(l,h,d);let p=l.digits,f=l.integerLen;const g=l.exponent;let m=[];for(c=p.every(t=>!t);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?m=p.splice(f,p.length):(m=p,p=[0]);const v=[];for(p.length>=e.lgSize&&v.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)v.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&v.unshift(p.join("")),a=v.join(Hu(n,r)),m.length&&(a+=Hu(n,i)+m.join("")),g&&(a+=Hu(n,Du.Exponential)+"+"+g)}else a=Hu(n,Du.Infinity);return a=t<0&&!c?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(";"),i=r[0],s=r[1],o=-1!==i.indexOf(lh)?i.split(lh):[i.substring(0,i.lastIndexOf(uh)+1),i.substring(i.lastIndexOf(uh)+1)],a=o[0],c=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<c.length;u++){const t=c.charAt(u);t===uh?n.minFrac=n.maxFrac=u+1:"#"===t?n.maxFrac=u+1:n.posSuf+=t}const l=a.split(",");if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,s){const t=i.length-n.posPre.length-n.posSuf.length,e=s.indexOf("#");n.negPre=s.substr(0,e).replace(/'/g,""),n.negSuf=s.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}(function(t,e){return Ca(t)[xa.NumberFormats][e]}(e,Au.Decimal),Hu(e,Du.MinusSign)),e,Du.Group,Du.Decimal,n)}(function(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(t+" is not a number");return t}(e),r,n)}catch(i){throw Ch(t,i.message)}}}return t.\u0275fac=function(e){return new(e||t)(Ao(wl))},t.\u0275pipe=Bt({name:"number",type:t,pure:!0}),t})(),Ah=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:[{provide:dh,useClass:ph}]}),t})(),Ih=(()=>{class t{}return t.\u0275prov=ot({token:t,providedIn:"root",factory:()=>new Mh(yr(du),window,yr(ai))}),t})();class Mh{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(e)}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Rh(this.window.history)||Rh(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Rh(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Nh extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Nh,uu||(uu=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=Lh||(Lh=document.querySelector("base"),Lh)?Lh.getAttribute("href"):null;return null==e?null:(n=e,Dh||(Dh=document.createElement("a")),Dh.setAttribute("href",n),"/"===Dh.pathname.charAt(0)?Dh.pathname:"/"+Dh.pathname);var n}resetBaseElement(){Lh=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return fh(document.cookie,t)}}let Dh,Lh=null;const jh=new Qn("TRANSITION_ID"),Vh=[{provide:dl,useFactory:function(t,e,n){return()=>{n.get(pl).donePromise.then(()=>{const n=hu();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[jh,du,uo],multi:!0}];class Hh{static init(){var t;t=new Hh,Bl=t}addToWindow(t){Pt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Pt.getAllAngularTestabilities=()=>t.getAllTestabilities(),Pt.getAllAngularRootElements=()=>t.getAllRootElements(),Pt.frameworkStabilizers||(Pt.frameworkStabilizers=[]),Pt.frameworkStabilizers.push(t=>{const e=Pt.getAllAngularTestabilities();let n=e.length,r=!1;const i=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(i)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?hu().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Fh=new Qn("EventManagerPlugins");let Uh=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}return t.\u0275fac=function(e){return new(e||t)(yr(Fh),yr(Rl))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();class zh{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=hu().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let Gh=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),Bh=(()=>{class t extends Gh{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>hu().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(yr(du))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const Wh={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/"},$h=/%COMP%/g;function qh(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?qh(t,i,n):(i=i.replace($h,t),n.push(i))}return n}function Yh(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Zh=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Qh(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case wt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Kh(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case wt.ShadowDom:return new Xh(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=qh(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(yr(Uh),yr(Bh),yr(fl))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();class Qh{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Wh[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const i=Wh[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Wh[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(di.DashCase|di.Important)?t.style.setProperty(e,n,r&di.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&di.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Yh(n)):this.eventManager.addEventListener(t,e,Yh(n))}}class Kh extends Qh{constructor(t,e,n,r){super(t),this.component=n;const i=qh(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace($h,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace($h,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Xh extends Qh{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=qh(r.id,r.styles,[]);for(let s=0;s<i.length;s++){const t=document.createElement("style");t.textContent=i[s],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let Jh=(()=>{class t extends zh{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(yr(du))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const td=["alt","control","meta","shift"],ed={"\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"},nd={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"},rd={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let id=(()=>{class t extends zh{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const i=t.parseEventName(n),s=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hu().onAndCancel(e,i.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let s="";if(td.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=r,o.fullKey=s,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&nd.hasOwnProperty(e)&&(e=nd[e]))}return ed[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),td.forEach(r=>{r!=n&&(0,rd[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(yr(du))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),sd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({factory:function(){return yr(od)},token:t,providedIn:"root"}),t})(),od=(()=>{class t extends sd{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case ti.NONE:return e;case ti.HTML:return kr(e,"HTML")?Tr(e):Xr(this._doc,String(e));case ti.STYLE:return kr(e,"Style")?Tr(e):e;case ti.SCRIPT:if(kr(e,"Script"))return Tr(e);throw new Error("unsafe value used in a script context");case ti.URL:return Ar(e),kr(e,"URL")?Tr(e):Dr(String(e));case ti.RESOURCE_URL:if(kr(e,"ResourceURL"))return Tr(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return new Sr(t)}bypassSecurityTrustStyle(t){return new xr(t)}bypassSecurityTrustScript(t){return new Er(t)}bypassSecurityTrustUrl(t){return new Pr(t)}bypassSecurityTrustResourceUrl(t){return new Or(t)}}return t.\u0275fac=function(e){return new(e||t)(yr(du))},t.\u0275prov=ot({factory:function(){return t=yr(Ys),new od(t.get(du));var t},token:t,providedIn:"root"}),t})();const ad=Ql(au,"browser",[{provide:_l,useValue:"browser"},{provide:vl,useValue:function(){Nh.makeCurrent(),Hh.init()},multi:!0},{provide:du,useFactory:function(){return function(t){pe=t}(document),document},deps:[]}]),cd=[[],{provide:Qs,useValue:"root"},{provide:ai,useFactory:function(){return new ai},deps:[]},{provide:Fh,useClass:Jh,multi:!0,deps:[du,Rl,_l]},{provide:Fh,useClass:id,multi:!0,deps:[du]},[],{provide:Zh,useClass:Zh,deps:[Uh,Bh,fl]},{provide:Ga,useExisting:Zh},{provide:Gh,useExisting:Bh},{provide:Bh,useClass:Bh,deps:[du]},{provide:Fl,useClass:Fl,deps:[Rl]},{provide:Uh,useClass:Uh,deps:[Fh,Rl]},[]];let ld=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:fl,useValue:e.appId},{provide:jh,useExisting:fl},Vh]}}}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)(yr(t,12))},providers:cd,imports:[Ah,lu]}),t})();function ud(){return new hd(yr(du))}let hd=(()=>{class t{constructor(t){this._doc=t,this._dom=hu()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTag(e);if(n&&this._containsAttributes(t,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(t,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(n=>e.setAttribute(this._getMetaKeyMap(n),t[n])),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(n=>e.getAttribute(this._getMetaKeyMap(n))===t[n])}_getMetaKeyMap(t){return dd[t]||t}}return t.\u0275fac=function(e){return new(e||t)(yr(du))},t.\u0275prov=ot({factory:ud,token:t,providedIn:"root"}),t})();const dd={httpEquiv:"http-equiv"};function pd(){return new fd(yr(du))}let fd=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(yr(du))},t.\u0275prov=ot({factory:pd,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window;let gd=(()=>{class t{}return t.CONST_APPLICATION_NAME="Open Source | Software AG",t.GITHUB_RETRIEVE_FAIL_MESSAGE="Github API rate limited exceeded.\nPlease try again in a few seconds.",t.GITHUB_API_RATE_LIMIT_EXCEEDED=403,t})();function md(...t){let e=t[t.length-1];return E(e)?(t.pop(),V(t,e)):B(t)}class vd extends S{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new b;return this._value}next(t){super.next(this._value=t)}}const _d={};class yd{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new bd(t,this.resultSelector))}}class bd extends N{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(_d),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++){const e=t[n];this.add(R(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,r,i){const s=this.values,o=this.toRespond?s[n]===_d?--this.toRespond:this.toRespond:0;s[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const wd=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),Cd=new _(t=>t.complete());function Sd(t){return t?function(t){return new _(e=>t.schedule(()=>e.complete()))}(t):Cd}function xd(t){return new _(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?H(n):Sd()).subscribe(e)})}function Ed(){return G(1)}function Pd(t,e){return function(n){return n.lift(new Od(t,e))}}class Od{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Td(t,this.predicate,this.thisArg))}}class Td extends f{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}const kd=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Ad(t){return function(e){return 0===t?Sd():e.lift(new Id(t))}}class Id{constructor(t){if(this.total=t,this.total<0)throw new kd}call(t,e){return e.subscribe(new Md(t,this.total))}}class Md extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;i<n;i++){const i=e++%n;t.next(r[i])}}t.complete()}}function Rd(t=Ld){return e=>e.lift(new Nd(t))}class Nd{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Dd(t,this.errorFactory))}}class Dd extends f{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function Ld(){return new wd}function jd(t=null){return e=>e.lift(new Vd(t))}class Vd{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Hd(t,this.defaultValue))}}class Hd extends f{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Fd(t,e){return"function"==typeof e?n=>n.pipe(Fd((n,r)=>H(t(n,r)).pipe(D((t,i)=>e(n,t,r,i))))):e=>e.lift(new Ud(t))}class Ud{constructor(t){this.project=t}call(t,e){return e.subscribe(new zd(t,this.project))}}class zd extends N{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)}_innerSub(t,e,n){const r=this.innerSubscription;r&&r.unsubscribe();const i=new P(this,e,n),s=this.destination;s.add(i),this.innerSubscription=R(this,t,void 0,void 0,i),this.innerSubscription!==i&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,r,i){this.destination.next(e)}}function Gd(t){return e=>0===t?Sd():e.lift(new Bd(t))}class Bd{constructor(t){if(this.total=t,this.total<0)throw new kd}call(t,e){return e.subscribe(new Wd(t,this.total))}}class Wd extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function $d(...t){return Ed()(md(...t))}class qd{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new Yd(t,this.accumulator,this.seed,this.hasSeed))}}class Yd extends f{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function Zd(t){return function(e){const n=new Qd(t),r=e.lift(n);return n.caught=r}}class Qd{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Kd(t,this.selector,this.caught))}}class Kd extends N{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new P(this,void 0,void 0);this.add(r);const i=R(this,n,void 0,void 0,r);i!==r&&this.add(i)}}}function Xd(t,e){return F(t,e,1)}function Jd(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Pd((e,n)=>t(e,n,r)):v,Gd(1),n?jd(e):Rd(()=>new wd))}function tp(){}function ep(t,e,n){return function(r){return r.lift(new np(t,e,n))}}class np{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new rp(t,this.nextOrObserver,this.error,this.complete))}}class rp extends f{constructor(t,e,n,i){super(t),this._tapNext=tp,this._tapError=tp,this._tapComplete=tp,this._tapError=n||tp,this._tapComplete=i||tp,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||tp,this._tapError=e.error||tp,this._tapComplete=e.complete||tp)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}class ip{constructor(t){this.callback=t}call(t,e){return e.subscribe(new sp(t,this.callback))}}class sp extends f{constructor(t,e){super(t),this.add(new h(e))}}class op{constructor(t,e){this.id=t,this.url=e}}class ap extends op{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class cp extends op{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class lp extends op{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class up extends op{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class hp extends op{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dp extends op{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pp extends op{constructor(t,e,n,r,i){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class fp extends op{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gp extends op{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mp{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class vp{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _p{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yp{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bp{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wp{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cp{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Sp="primary";class xp{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Ep(t){return new xp(t)}function Pp(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Op(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const i={};for(let s=0;s<r.length;s++){const e=r[s],n=t[s];if(e.startsWith(":"))i[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function Tp(t,e){const n=Object.keys(t),r=Object.keys(e);if(!n||!r||n.length!=r.length)return!1;let i;for(let s=0;s<n.length;s++)if(i=n[s],!kp(t[i],e[i]))return!1;return!0}function kp(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((t,e)=>r[e]===t)}return t===e}function Ap(t){return Array.prototype.concat.apply([],t)}function Ip(t){return t.length>0?t[t.length-1]:null}function Mp(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Rp(t){return Fo(t)?t:Ho(t)?H(Promise.resolve(t)):md(t)}function Np(t,e,n){return n?function(t,e){return Tp(t,e)}(t.queryParams,e.queryParams)&&Dp(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>kp(t[n],e[n]))}(t.queryParams,e.queryParams)&&Lp(t.root,e.root)}function Dp(t,e){if(!Up(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Dp(t.children[n],e.children[n]))return!1}return!0}function Lp(t,e){return jp(t,e,e.segments)}function jp(t,e,n){if(t.segments.length>n.length)return!!Up(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!Up(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Lp(t.children[n],e.children[n]))return!1}return!0}{const r=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!Up(t.segments,r)&&!!t.children.primary&&jp(t.children.primary,e,i)}}class Vp{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ep(this.queryParams)),this._queryParamMap}toString(){return Wp.serialize(this)}}class Hp{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Mp(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $p(this)}}class Fp{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Ep(this.parameters)),this._parameterMap}toString(){return Jp(this)}}function Up(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function zp(t,e){let n=[];return Mp(t.children,(t,r)=>{r===Sp&&(n=n.concat(e(t,r)))}),Mp(t.children,(t,r)=>{r!==Sp&&(n=n.concat(e(t,r)))}),n}class Gp{}class Bp{parse(t){const e=new sf(t);return new Vp(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+qp(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Zp(e)}=${Zp(t)}`).join("&"):`${Zp(e)}=${Zp(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const Wp=new Bp;function $p(t){return t.segments.map(t=>Jp(t)).join("/")}function qp(t,e){if(!t.hasChildren())return $p(t);if(e){const e=t.children.primary?qp(t.children.primary,!1):"",n=[];return Mp(t.children,(t,e)=>{e!==Sp&&n.push(`${e}:${qp(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=zp(t,(e,n)=>n===Sp?[qp(t.children.primary,!1)]:[`${n}:${qp(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${$p(t)}/${e[0]}`:`${$p(t)}/(${e.join("//")})`}}function Yp(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zp(t){return Yp(t).replace(/%3B/gi,";")}function Qp(t){return Yp(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Kp(t){return decodeURIComponent(t)}function Xp(t){return Kp(t.replace(/\+/g,"%20"))}function Jp(t){return`${Qp(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Qp(t)}=${Qp(e[t])}`).join("")}`;var e}const tf=/^[^\/()?;=#]+/;function ef(t){const e=t.match(tf);return e?e[0]:""}const nf=/^[^=?&#]+/,rf=/^[^?&#]+/;class sf{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Hp([],{}):new Hp([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Hp(t,e)),n}parseSegment(){const t=ef(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Fp(Kp(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=ef(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=ef(this.remaining);t&&(n=t,this.capture(n))}t[Kp(e)]=Kp(n)}parseQueryParam(t){const e=function(t){const e=t.match(nf);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(rf);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=Xp(e),i=Xp(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(i)}else t[r]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=ef(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=Sp);const s=this.parseChildren();e[i]=1===Object.keys(s).length?s.primary:new Hp([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class of{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=af(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=af(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=cf(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return cf(t,this._root).map(t=>t.value)}}function af(t,e){if(t===e.value)return e;for(const n of e.children){const e=af(t,n);if(e)return e}return null}function cf(t,e){if(t===e.value)return[e];for(const n of e.children){const r=cf(t,n);if(r.length)return r.unshift(e),r}return[]}class lf{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function uf(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class hf extends of{constructor(t,e){super(t),this.snapshot=e,vf(this,t)}toString(){return this.snapshot.toString()}}function df(t,e){const n=function(t,e){const n=new gf([],{},{},"",{},Sp,e,null,t.root,-1,{});return new mf("",new lf(n,[]))}(t,e),r=new vd([new Fp("",{})]),i=new vd({}),s=new vd({}),o=new vd({}),a=new vd(""),c=new pf(r,i,o,a,s,Sp,e,n.root);return c.snapshot=n.root,new hf(new lf(c,[]),n)}class pf{constructor(t,e,n,r,i,s,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(D(t=>Ep(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(D(t=>Ep(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ff(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class gf{constructor(t,e,n,r,i,s,o,a,c,l,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ep(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ep(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mf extends of{constructor(t,e){super(e),this.url=t,vf(this,e)}toString(){return _f(this._root)}}function vf(t,e){e.value._routerState=t,e.children.forEach(e=>vf(t,e))}function _f(t){const e=t.children.length>0?` { ${t.children.map(_f).join(", ")} } `:"";return`${t.value}${e}`}function yf(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Tp(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Tp(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Tp(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Tp(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function bf(t,e){var n,r;return Tp(t.params,e.params)&&Up(n=t.url,r=e.url)&&n.every((t,e)=>Tp(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||bf(t.parent,e.parent))}function wf(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const i=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return wf(t,e,r);return wf(t,e)})}(t,e,n);return new lf(r,i)}{const n=t.retrieve(e.value);if(n){const t=n.route;return Cf(e,t),t}{const n=new pf(new vd((r=e.value).url),new vd(r.params),new vd(r.queryParams),new vd(r.fragment),new vd(r.data),r.outlet,r.component,r),i=e.children.map(e=>wf(t,e));return new lf(n,i)}}var r}function Cf(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)Cf(t.children[n],e.children[n])}function Sf(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function xf(t){return"object"==typeof t&&null!=t&&t.outlets}function Ef(t,e,n,r,i){let s={};return r&&Mp(r,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new Vp(n.root===t?e:Pf(n.root,t,e),s,i)}function Pf(t,e,n){const r={};return Mp(t.children,(t,i)=>{r[i]=t===e?n:Pf(t,e,n)}),new Hp(t.segments,r)}class Of{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Sf(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(xf);if(r&&r!==Ip(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Tf{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function kf(t,e,n){if(t||(t=new Hp([],{})),0===t.segments.length&&t.hasChildren())return Af(t,e,n);const r=function(t,e,n){let r=0,i=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=n.length)return s;const e=t.segments[i],o=n[r];if(xf(o))break;const a=""+o,c=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!Nf(a,c,e))return s;r+=2}else{if(!Nf(a,{},e))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new Hp(t.segments.slice(0,r.pathIndex),{});return e.children.primary=new Hp(t.segments.slice(r.pathIndex),t.children),Af(e,0,i)}return r.match&&0===i.length?new Hp(t.segments,{}):r.match&&!t.hasChildren()?If(t,e,n):r.match?Af(t,0,i):If(t,e,n)}function Af(t,e,n){if(0===n.length)return new Hp(t.segments,{});{const r=function(t){return xf(t[0])?t[0].outlets:{[Sp]:t}}(n),i={};return Mp(r,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(i[r]=kf(t.children[r],e,n))}),Mp(t.children,(t,e)=>{void 0===r[e]&&(i[e]=t)}),new Hp(t.segments,i)}}function If(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i<n.length;){const s=n[i];if(xf(s)){const t=Mf(s.outlets);return new Hp(r,t)}if(0===i&&Sf(n[0])){r.push(new Fp(t.segments[e].path,n[0])),i++;continue}const o=xf(s)?s.outlets.primary:""+s,a=i<n.length-1?n[i+1]:null;o&&a&&Sf(a)?(r.push(new Fp(o,Rf(a))),i+=2):(r.push(new Fp(o,{})),i++)}return new Hp(r,{})}function Mf(t){const e={};return Mp(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=If(new Hp([],{}),0,t))}),e}function Rf(t){const e={};return Mp(t,(t,n)=>e[n]=""+t),e}function Nf(t,e,n){return t==n.path&&Tp(e,n.parameters)}class Df{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),yf(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=uf(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Mp(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=uf(t),i=t.value.component?n.children:e;Mp(r,(t,e)=>this.deactivateRouteAndItsChildren(t,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=uf(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new wp(t.value.snapshot))}),t.children.length&&this.forwardEvent(new yp(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(yf(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Lf(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=i,e.outlet&&e.outlet.activateWith(r,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Lf(t){yf(t.value),t.children.forEach(Lf)}class jf{constructor(t,e){this.routes=t,this.module=e}}function Vf(t){return"function"==typeof t}function Hf(t){return t instanceof Vp}const Ff=Symbol("INITIAL_VALUE");function Uf(){return Fd(t=>function(...t){let e=null,n=null;return E(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&c(t[0])&&(t=t[0]),B(t,n).lift(new yd(e))}(...t.map(t=>t.pipe(Gd(1),function(...t){const e=t[t.length-1];return E(e)?(t.pop(),n=>$d(t,n,e)):e=>$d(t,e)}(Ff)))).pipe(function(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new qd(t,e,n))}}((t,e)=>{let n=!1;return e.reduce((t,r,i)=>{if(t!==Ff)return t;if(r===Ff&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||Hf(r))return r}return t},t)},Ff),Pd(t=>t!==Ff),D(t=>Hf(t)?t:!0===t),Gd(1)))}let zf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=jt({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Do(0,"router-outlet")},directives:function(){return[Ng]},encapsulation:2}),t})();function Gf(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];Bf(r,Wf(e,r))}}function Bf(t,e){t.children&&Gf(t.children,e)}function Wf(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function $f(t){const e=t.children&&t.children.map($f),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Sp&&(n.component=zf),n}function qf(t){return t.outlet||Sp}class Yf{constructor(t){this.segmentGroup=t||null}}class Zf{constructor(t){this.urlTree=t}}function Qf(t){return new _(e=>e.error(new Yf(t)))}function Kf(t){return new _(e=>e.error(new Zf(t)))}function Xf(t){return new _(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Jf{constructor(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(wc)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Sp).pipe(D(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Zd(t=>{if(t instanceof Zf)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Yf)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Sp).pipe(D(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Zd(t=>{if(t instanceof Yf)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new Hp([],{[Sp]:t}):t;return new Vp(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(D(t=>new Hp([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return md({});const n=[],r=[],i={};return Mp(t,(t,s)=>{const o=e(s,t).pipe(D(t=>i[s]=t));s===Sp?n.push(o):r.push(o)}),md.apply(null,n.concat(r)).pipe(Ed(),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Pd((e,n)=>t(e,n,r)):v,Ad(1),n?jd(e):Rd(()=>new wd))}(),D(()=>i))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,i,s){const o=function(t){return t.reduce((t,e)=>{const n=qf(e);return t.has(n)?t.get(n).push(e):t.set(n,[e]),t},new Map)}(n);o.has(i)||o.set(i,[]);const a=n=>H(n).pipe(Xd(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,i,s).pipe(Zd(t=>{if(t instanceof Yf)return md(null);throw t}))),Jd(t=>null!==t),Zd(t=>{if(t instanceof wd||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,i))return md(new Hp([],{}));throw new Yf(e)}throw t}));return H(Array.from(o.entries()).map(([t,e])=>{const n=a(e);return t===i?n:n.pipe(D(()=>null),Zd(()=>md(null)))})).pipe(t=>t.lift(new yd(void 0)),Jd(),D(t=>t.find(t=>null!==t)))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,i,s,o){return qf(r)!==s&&""!==r.path?Qf(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s):Qf(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Kf(i):this.lineralizeSegments(n,i).pipe(F(n=>{const i=new Hp(n,{});return this.expandSegment(t,i,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s){const{matched:o,consumedSegments:a,lastChild:c,positionalParamSegments:l}=tg(e,r,i);if(!o)return Qf(e);const u=this.applyRedirectCommands(a,r.redirectTo,l);return r.redirectTo.startsWith("/")?Kf(u):this.lineralizeSegments(r,u).pipe(F(r=>this.expandSegment(t,e,n,r.concat(i.slice(c)),s,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(D(t=>(n._loadedConfig=t,new Hp(r,{})))):md(new Hp(r,{}));const{matched:i,consumedSegments:s,lastChild:o}=tg(e,n,r);if(!i)return Qf(e);const a=r.slice(o);return this.getChildConfig(t,n,r).pipe(F(t=>{const n=t.module,r=t.routes,{segmentGroup:i,slicedSegments:o}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>ng(t,e,n)&&qf(n)!==Sp)}(t,n,r)?{segmentGroup:eg(new Hp(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&qf(r)!==Sp&&(n[qf(r)]=new Hp([],{}));return n}(r,new Hp(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>ng(t,e,n))}(t,n,r)?{segmentGroup:eg(new Hp(t.segments,function(t,e,n,r){const i={};for(const s of n)ng(t,e,s)&&!r[qf(s)]&&(i[qf(s)]=new Hp([],{}));return Object.assign(Object.assign({},r),i)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,s,a,r);return 0===o.length&&i.hasChildren()?this.expandChildren(n,r,i).pipe(D(t=>new Hp(s,t))):0===r.length&&0===o.length?md(new Hp(s,{})):this.expandSegment(n,i,r,o,Sp,!0).pipe(D(t=>new Hp(s.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?md(new jf(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?md(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(F(n=>n?this.configLoader.load(t.injector,e).pipe(D(t=>(e._loadedConfig=t,t))):function(t){return new _(e=>e.error(Pp(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):md(new jf([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?md(r.map(r=>{const i=t.get(r);let s;if(function(t){return t&&Vf(t.canLoad)}(i))s=i.canLoad(e,n);else{if(!Vf(i))throw new Error("Invalid CanLoad guard");s=i(e,n)}return Rp(s)})).pipe(Uf(),ep(t=>{if(!Hf(t))return;const e=Pp(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),D(t=>!0===t)):md(!0)}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return md(n);if(r.numberOfChildren>1||!r.children.primary)return Xf(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const i=this.createSegmentGroup(t,e.root,n,r);return new Vp(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Mp(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[r]=e[i]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const i=this.createSegments(t,e.segments,n,r);let s={};return Mp(e.children,(e,i)=>{s[i]=this.createSegmentGroup(t,e,n,r)}),new Hp(i,s)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function tg(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||Op)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function eg(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Hp(t.segments.concat(e.segments),e.children)}return t}function ng(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}class rg{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class ig{constructor(t,e){this.component=t,this.route=e}}function sg(t,e,n){const r=t._root;return ag(r,e?e._root:null,n,[r.value])}function og(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function ag(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=uf(e);return t.children.forEach(t=>{!function(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Up(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Up(t.url,e.url)||!Tp(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bf(t,e)||!Tp(t.queryParams,e.queryParams);case"paramsChange":default:return!bf(t,e)}}(o,s,s.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new rg(r)):(s.data=o.data,s._resolvedData=o._resolvedData),ag(t,e,s.component?a?a.children:null:n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ig(a.outlet.component,o))}else o&&cg(e,a,i),i.canActivateChecks.push(new rg(r)),ag(t,null,s.component?a?a.children:null:n,r,i)}(t,s[t.value.outlet],n,r.concat([t.value]),i),delete s[t.value.outlet]}),Mp(s,(t,e)=>cg(t,n.getContext(e),i)),i}function cg(t,e,n){const r=uf(t),i=t.value;Mp(r,(t,r)=>{cg(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new ig(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}function lg(t,e){return null!==t&&e&&e(new bp(t)),md(!0)}function ug(t,e){return null!==t&&e&&e(new _p(t)),md(!0)}function hg(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?md(r.map(r=>xd(()=>{const i=og(r,e,n);let s;if(function(t){return t&&Vf(t.canActivate)}(i))s=Rp(i.canActivate(e,t));else{if(!Vf(i))throw new Error("Invalid CanActivate guard");s=Rp(i(e,t))}return s.pipe(Jd())}))).pipe(Uf()):md(!0)}function dg(t,e,n){const r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>xd(()=>md(e.guards.map(i=>{const s=og(i,e.node,n);let o;if(function(t){return t&&Vf(t.canActivateChild)}(s))o=Rp(s.canActivateChild(r,t));else{if(!Vf(s))throw new Error("Invalid CanActivateChild guard");o=Rp(s(r,t))}return o.pipe(Jd())})).pipe(Uf())));return md(i).pipe(Uf())}class pg{}class fg{constructor(t,e,n,r,i,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){try{const t=vg(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Sp),n=new gf([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Sp,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new lf(n,e),i=new mf(this.url,r);return this.inheritParamsAndData(i._root),md(i)}catch(t){return new _(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=ff(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=zp(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===Sp?-1:e.value.outlet===Sp?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,r)}catch(i){if(!(i instanceof pg))throw i}if(this.noLeftoversInUrl(e,n,r))return[];throw new pg}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new pg;if((t.outlet||Sp)!==r)throw new pg;let i,s=[],o=[];if("**"===t.path){const s=n.length>0?Ip(n).parameters:{};i=new gf(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,yg(t),r,t.component,t,gg(e),mg(e)+n.length,bg(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new pg;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||Op)(n,t,e);if(!r)throw new pg;const i={};Mp(r.posParams,(t,e)=>{i[e]=t.path});const s=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s}}(e,t,n);s=a.consumedSegments,o=n.slice(a.lastChild),i=new gf(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,yg(t),r,t.component,t,gg(e),mg(e)+s.length,bg(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:c,slicedSegments:l}=vg(e,s,o,a,this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const t=this.processChildren(a,c);return[new lf(i,t)]}if(0===a.length&&0===l.length)return[new lf(i,[])];const u=this.processSegment(a,c,l,Sp);return[new lf(i,u)]}}function gg(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function mg(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function vg(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some(n=>_g(t,e,n)&&qf(n)!==Sp)}(t,n,r)){const i=new Hp(e,function(t,e,n,r){const i={};i.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&qf(s)!==Sp){const n=new Hp([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[qf(s)]=n}return i}(t,e,r,new Hp(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>_g(t,e,n))}(t,n,r)){const s=new Hp(t.segments,function(t,e,n,r,i,s){const o={};for(const a of r)if(_g(t,n,a)&&!i[qf(a)]){const n=new Hp([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[qf(a)]=n}return Object.assign(Object.assign({},i),o)}(t,e,n,r,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Hp(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function _g(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function yg(t){return t.data||{}}function bg(t){return t.resolve||{}}function wg(t){return function(e){return e.pipe(Fd(e=>{const n=t(e);return n?H(n).pipe(D(()=>e)):H([e])}))}}class Cg extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Sg=new Qn("ROUTES");class xg{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(D(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new jf(Ap(r.injector.get(Sg)).map($f),r)}))}loadModuleFactory(t){return"string"==typeof t?H(this.loader.load(t)):Rp(t()).pipe(F(t=>t instanceof Cc?md(t):H(this.compiler.compileModuleAsync(t))))}}class Eg{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Pg,this.attachRef=null}}class Pg{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Eg,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Og{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Tg(t){throw t}function kg(t,e,n){return e.parse("/")}function Ag(t,e){return md(null)}let Ig=(()=>{class t{constructor(t,e,n,r,i,s,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new S,this.errorHandler=Tg,this.malformedUriErrorHandler=kg,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ag,afterPreactivation:Ag},this.urlHandlingStrategy=new Og,this.routeReuseStrategy=new Cg,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=i.get(wc),this.console=i.get(bl);const c=i.get(Rl);this.isNgZoneEnabled=c instanceof Rl,this.resetConfig(a),this.currentUrlTree=new Vp(new Hp([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new xg(s,o,t=>this.triggerEvent(new mp(t)),t=>this.triggerEvent(new vp(t))),this.routerState=df(this.currentUrlTree,this.rootComponentType),this.transitions=new vd({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Pd(t=>0!==t.id),D(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Fd(t=>{let n=!1,r=!1;return md(t).pipe(ep(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Fd(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return md(t).pipe(Fd(t=>{const n=this.transitions.getValue();return e.next(new ap(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Cd:[t]}),Fd(t=>Promise.resolve(t)),(r=this.ngModule.injector,i=this.configLoader,s=this.urlSerializer,o=this.config,function(t){return t.pipe(Fd(t=>function(t,e,n,r,i){return new Jf(t,e,n,r,i).apply()}(r,i,s,t.extractedUrl,o).pipe(D(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),ep(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,i){return function(s){return s.pipe(F(s=>function(t,e,n,r,i="emptyOnly",s="legacy"){return new fg(t,e,n,r,i,s).recognize()}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(D(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),ep(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),ep(t=>{const n=new hp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,i,s,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:s,extras:o}=t,a=new ap(n,this.serializeUrl(r),i,s);e.next(a);const c=df(r,this.rootComponentType).snapshot;return md(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Cd}),wg(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),ep(t=>{const e=new dp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),D(t=>Object.assign(Object.assign({},t),{guards:sg(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(F(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=n;return 0===o.length&&0===s.length?md(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return H(t).pipe(F(t=>function(t,e,n,r,i){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return s&&0!==s.length?md(s.map(s=>{const o=og(s,e,i);let a;if(function(t){return t&&Vf(t.canDeactivate)}(o))a=Rp(o.canDeactivate(t,e,n,r));else{if(!Vf(o))throw new Error("Invalid CanDeactivate guard");a=Rp(o(t,e,n,r))}return a.pipe(Jd())})).pipe(Uf()):md(!0)}(t.component,t.route,n,e,r)),Jd(t=>!0!==t,!0))}(o,r,i,t).pipe(F(n=>n&&"boolean"==typeof n?function(t,e,n,r){return H(e).pipe(Xd(e=>H([ug(e.route.parent,r),lg(e.route,r),dg(t,e.path,n),hg(t,e.route,n)]).pipe(Ed(),Jd(t=>!0!==t,!0))),Jd(t=>!0!==t,!0))}(r,s,t,e):md(n)),D(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),ep(t=>{if(Hf(t.guardsResult)){const e=Pp(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),ep(t=>{const e=new pp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Pd(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new lp(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),wg(t=>{if(t.guards.canActivateChecks.length)return md(t).pipe(ep(t=>{const e=new fp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Fd(t=>{let n=!1;return md(t).pipe((r=this.paramsInheritanceStrategy,i=this.ngModule.injector,function(t){return t.pipe(F(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return md(t);let s=0;return H(n).pipe(Xd(t=>function(t,e,n,r){return function(t,e,n,r){const i=Object.keys(t);if(0===i.length)return md({});const s={};return H(i).pipe(F(i=>function(t,e,n,r){const i=og(t,e,r);return Rp(i.resolve?i.resolve(e,n):i(e,n))}(t[i],e,n,r).pipe(ep(t=>{s[i]=t}))),Ad(1),F(()=>Object.keys(s).length===i.length?md(s):Cd))}(t._resolve,t,e,r).pipe(D(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ff(t,n).resolve),null)))}(t.route,e,r,i)),ep(()=>s++),Ad(1),F(e=>s===n.length?md(t):Cd))}))}),ep({next:()=>n=!0,complete:()=>{if(!n){const n=new lp(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var r,i}),ep(t=>{const e=new gp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),wg(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),D(t=>{const e=function(t,e,n){const r=wf(t,e._root,n?n._root:void 0);return new hf(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),ep(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),D(t=>(new Df(o,t.targetRouterState,t.currentRouterState,a).activate(s),t))),ep({next(){n=!0},complete(){n=!0}}),(i=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new lp(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null},t=>t.lift(new ip(i))),Zd(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=Hf(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new lp(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new up(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var i;return Cd}));var i,s,o,a}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:r}=e,i={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(i.state=t)}this.scheduleNavigation(r,t,n,i)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Gf(t),this.config=t.map($f),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:i,queryParamsHandling:s,preserveFragment:o}=e,a=n||this.routerState.root,c=o?this.currentUrlTree.fragment:i;let l=null;switch(s){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=r||null}return null!==l&&(l=this.removeEmptyProps(l)),function(t,e,n,r,i){if(0===n.length)return Ef(e.root,e.root,e,r,i);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Of(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Mp(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Of(n,e,r)}(n);if(s.toRoot())return Ef(e.root,new Hp([],{}),e,r,i);const o=function(t,e,n){if(t.isAbsolute)return new Tf(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new Tf(t,t===e.root,0)}const r=Sf(t.commands[0])?0:1;return function(t,e,n){let r=t,i=e,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new Tf(r,!1,i-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?Af(o.segmentGroup,o.index,s.commands):kf(o.segmentGroup,o.index,s.commands);return Ef(o.segmentGroup,a,e,r,i)}(a,this.currentUrlTree,t,l,c)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Hf(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(Hf(t))return Np(this.currentUrlTree,t,e);const n=this.parseUrl(t);return Np(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new cp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,i){const s=this.getTransition(),o="imperative"!==e&&"imperative"===(null==s?void 0:s.source),a=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let c,l,u;i?(c=i.resolve,l=i.reject,u=i.promise):u=new Promise((t,e)=>{c=t,l=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const i=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(yr(Xn),yr(Gp),yr(Pg),yr(Ou),yr(uo),yr(nu),yr(Al),yr(void 0))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),Mg=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new S,this.subscription=t.events.subscribe(t=>{t instanceof cp&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r,i){if(0!==t||e||n||r||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:Rg(this.skipLocationChange),replaceUrl:Rg(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Rg(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ig),Ao(pf),Ao(Cu))},t.\u0275dir=Gt({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Uo("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(_a("href",e.href,ni),Po("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[ae]}),t})();function Rg(t){return""===t||!!t}let Ng=(()=>{class t{constructor(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new Zc,this.deactivateEvents=new Zc,this.name=r||Sp,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new Dg(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(Ao(Pg),Ao(xc),Ao(Va),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const i=n[r];if(vn(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(i===e)return n[r+1];r+=2}}}return null}(Ne(),"name")),Ao(hc))},t.\u0275dir=Gt({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Dg{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===pf?this.route:t===Pg?this.childContexts:this.parent.get(t,e)}}class Lg{}class jg{preload(t,e){return md(null)}}let Vg=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=new xg(e,n,e=>t.triggerEvent(new mp(e)),e=>t.triggerEvent(new vp(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Pd(t=>t instanceof cp),Xd(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(wc);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return H(n).pipe(G(),D(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(F(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(yr(Ig),yr(nu),yr(Al),yr(uo),yr(Lg))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),Hg=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ap?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof cp&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Cp&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new Cp(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(yr(Ig),yr(Ih),yr(void 0))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const Fg=new Qn("ROUTER_CONFIGURATION"),Ug=new Qn("ROUTER_FORROOT_GUARD"),zg=[Ou,{provide:Gp,useClass:Bp},{provide:Ig,useFactory:function(t,e,n,r,i,s,o,a={},c,l){const u=new Ig(null,t,e,n,r,i,s,Ap(o));if(c&&(u.urlHandlingStrategy=c),l&&(u.routeReuseStrategy=l),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing){const t=hu();u.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return u},deps:[Gp,Pg,Ou,uo,nu,Al,Sg,Fg,[class{},new cr],[class{},new cr]]},Pg,{provide:pf,useFactory:function(t){return t.routerState.root},deps:[Ig]},{provide:nu,useClass:su},Vg,jg,class{preload(t,e){return e().pipe(Zd(()=>md(null)))}},{provide:Fg,useValue:{enableTracing:!1}}];function Gg(){return new Zl("Router",Ig)}let Bg=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[zg,Yg(e),{provide:Ug,useFactory:qg,deps:[[Ig,new cr,new ur]]},{provide:Fg,useValue:n||{}},{provide:Cu,useFactory:$g,deps:[pu,[new ar(xu),new cr],Fg]},{provide:Hg,useFactory:Wg,deps:[Ig,Ih,Fg]},{provide:Lg,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:jg},{provide:Zl,multi:!0,useFactory:Gg},[Zg,{provide:dl,multi:!0,useFactory:Qg,deps:[Zg]},{provide:Xg,useFactory:Kg,deps:[Zg]},{provide:yl,multi:!0,useExisting:Xg}]]}}static forChild(e){return{ngModule:t,providers:[Yg(e)]}}}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)(yr(Ug,8),yr(Ig,8))}}),t})();function Wg(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Hg(t,e,n)}function $g(t,e,n={}){return n.useHash?new Pu(t,e):new Eu(t,e)}function qg(t){return"guarded"}function Yg(t){return[{provide:Kn,multi:!0,useValue:t},{provide:Sg,multi:!0,useValue:t}]}let Zg=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new S}appInitializer(){return this.injector.get(gu,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Ig),r=this.injector.get(Fg);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?md(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Fg),n=this.injector.get(Vg),r=this.injector.get(Hg),i=this.injector.get(Ig),s=this.injector.get(tu);t===s.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||i.initialNavigation(),n.setUpPreloading(),r.init(),i.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(yr(uo))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();function Qg(t){return t.appInitializer.bind(t)}function Kg(t){return t.bootstrapListener.bind(t)}const Xg=new Qn("Router Initializer");function Jg(t,e,n,i){return r(n)&&(i=n,n=void 0),i?Jg(t,e,n).pipe(D(t=>c(t)?i(...t):i(t))):new _(r=>{tm(t,e,function(t){r.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},r,n)})}function tm(t,e,n,r,i){let s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const r=t;t.addEventListener(e,n,i),s=()=>r.removeEventListener(e,n,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const r=t;t.on(e,n),s=()=>r.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const r=t;t.addListener(e,n),s=()=>r.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,o=t.length;s<o;s++)tm(t[s],e,n,r,i)}r.add(s)}class em extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class nm extends em{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let rm=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class im extends rm{constructor(t,e=rm.now){super(t,()=>im.delegate&&im.delegate!==this?im.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return im.delegate&&im.delegate!==this?im.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const sm=new im(nm);function om(t){return!c(t)&&t-parseFloat(t)+1>=0}function am(t){const{index:e,period:n,subscriber:r}=t;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}class cm{call(t,e){return e.subscribe(new lm(t))}}class lm extends N{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n<e&&!this.hasFirst;n++){let e=t[n],r=R(this,e,e,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}}notifyNext(t,e,n,r,i){if(!this.hasFirst){this.hasFirst=!0;for(let t=0;t<this.subscriptions.length;t++)if(t!==n){let e=this.subscriptions[t];e.unsubscribe(),this.remove(e)}this.subscriptions=null}this.destination.next(e)}}function um(...t){const e=t[t.length-1];return"function"==typeof e&&t.pop(),B(t,void 0).lift(new hm(e))}class hm{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new dm(t,this.resultSelector))}}class dm extends f{constructor(t,e,n=Object.create(null)){super(t),this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:null,this.values=n}_next(t){const e=this.iterators;c(t)?e.push(new fm(t)):e.push("function"==typeof t[k]?new pm(t[k]()):new gm(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let n=0;n<e;n++){let e=t[n];e.stillUnsubscribed?this.destination.add(e.subscribe(e,n)):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const t=this.iterators,e=t.length,n=this.destination;for(let s=0;s<e;s++){let e=t[s];if("function"==typeof e.hasValue&&!e.hasValue())return}let r=!1;const i=[];for(let s=0;s<e;s++){let e=t[s],o=e.next();if(e.hasCompleted()&&(r=!0),o.done)return void n.complete();i.push(o.value)}this.resultSelector?this._tryresultSelector(i):n.next(i),r&&n.complete()}_tryresultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}class pm{constructor(t){this.iterator=t,this.nextResult=t.next()}hasValue(){return!0}next(){const t=this.nextResult;return this.nextResult=this.iterator.next(),t}hasCompleted(){const t=this.nextResult;return t&&t.done}}class fm{constructor(t){this.array=t,this.index=0,this.length=0,this.length=t.length}[k](){return this}next(t){const e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class gm extends N{constructor(t,e,n){super(t),this.parent=e,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[k](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t,e,n,r,i){this.buffer.push(e),this.parent.checkIterators()}subscribe(t,e){return R(this,this.observable,this,e)}}function mm(t){return e=>e.lift(new vm(t))}class vm{constructor(t){this.notifier=t}call(t,e){const n=new _m(t),r=R(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class _m extends N{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,r,i){this.seenValue=!0,this.complete()}notifyComplete(){}}function ym(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new bm(t,n))}}class bm{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new wm(t,this.observables,this.project))}}class wm extends N{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const r=e.length;this.values=new Array(r);for(let i=0;i<r;i++)this.toRespond.push(i);for(let i=0;i<r;i++){let t=e[i];this.add(R(this,t,t,i))}}notifyNext(t,e,n,r,i){this.values[n]=e;const s=this.toRespond;if(s.length>0){const t=s.indexOf(n);-1!==t&&s.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}let Cm=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return md(this.value);case"E":return t=this.error,new _(e=>e.error(t));case"C":return Sd()}var t;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();function Sm(t){return e=>e.lift(new xm(t))}class xm{constructor(t){this.total=t}call(t,e){return e.subscribe(new Em(t,this.total))}}class Em extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}function Pm(t,e){return new _(n=>{const r=t.length;if(0===r)return void n.complete();const i=new Array(r);let s=0,o=0;for(let a=0;a<r;a++){const c=H(t[a]);let l=!1;n.add(c.subscribe({next:t=>{l||(l=!0,o++),i[a]=t},error:t=>n.error(t),complete:()=>{s++,s!==r&&l||(o===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}const Om=new Qn("NgValueAccessor"),Tm={provide:Om,useExisting:rt(()=>km),multi:!0};let km=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ba),Ao(za))},t.\u0275dir=Gt({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&Uo("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[Da([Tm])]}),t})();const Am={provide:Om,useExisting:rt(()=>Mm),multi:!0},Im=new Qn("CompositionEventMode");let Mm=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=hu()?hu().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ba),Ao(za),Ao(Im,8))},t.\u0275dir=Gt({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&Uo("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[Da([Am])]}),t})();function Rm(t){return null==t||0===t.length}function Nm(t){return null!=t&&"number"==typeof t.length}const Dm=new Qn("NgValidators"),Lm=new Qn("NgAsyncValidators"),jm=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Vm{static min(t){return e=>{if(Rm(e.value)||Rm(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(Rm(e.value)||Rm(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return Rm(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return Rm(t.value)||jm.test(t.value)?null:{email:!0}}static minLength(t){return e=>Rm(e.value)||!Nm(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}static maxLength(t){return e=>Nm(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return Vm.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(Rm(t.value))return null;const r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(Hm);return 0==e.length?null:function(t){return Um(zm(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(Hm);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(c(e))return Pm(e,null);if(l(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return Pm(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return Pm(t=1===t.length&&c(t[0])?t[0]:t,null).pipe(D(t=>e(...t)))}return Pm(t,null)}(zm(t,e).map(Fm)).pipe(D(Um))}}}function Hm(t){return null!=t}function Fm(t){const e=Ho(t)?H(t):t;return Fo(e),e}function Um(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function zm(t,e){return e.map(e=>e(t))}function Gm(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function Bm(t){return null!=t?Vm.compose(Gm(t)):null}function Wm(t){return null!=t?Vm.composeAsync(Gm(t)):null}function $m(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}let qm=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Bm(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Wm(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t}),t})(),Ym=(()=>{class t extends qm{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return Zm(e||t)},t.\u0275dir=Gt({type:t,features:[po]}),t})();const Zm=Bn(Ym);class Qm extends qm{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let Km=(()=>{class t extends class{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Ao(Qm,2))},t.\u0275dir=Gt({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&ra("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[po]}),t})();const Xm={provide:Om,useExisting:rt(()=>Jm),multi:!0};let Jm=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ba),Ao(za))},t.\u0275dir=Gt({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&Uo("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[Da([Xm])]}),t})();const tv={provide:Om,useExisting:rt(()=>nv),multi:!0};let ev=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),nv=(()=>{class t{constructor(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(Qm),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ba),Ao(za),Ao(ev),Ao(uo))},t.\u0275dir=Gt({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&Uo("change",function(){return e.onChange()})("blur",function(){return e.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Da([tv])]}),t})();const rv={provide:Om,useExisting:rt(()=>iv),multi:!0};let iv=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ba),Ao(za))},t.\u0275dir=Gt({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&Uo("change",function(t){return e.onChange(t.target.value)})("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[Da([rv])]}),t})();const sv={provide:Om,useExisting:rt(()=>av),multi:!0};function ov(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let av=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=ov(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ba),Ao(za))},t.\u0275dir=Gt({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&Uo("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[Da([sv])]}),t})(),cv=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(ov(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(Ao(za),Ao(Ba),Ao(av,9))},t.\u0275dir=Gt({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const lv={provide:Om,useExisting:rt(()=>hv),multi:!0};function uv(t,e){return null==t?""+e:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let hv=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const r=t.item(e),i=this._getOptionValue(r.value);n.push(i)}}else{const t=e.options;for(let e=0;e<t.length;e++){const r=t.item(e);if(r.selected){const t=this._getOptionValue(r.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ba),Ao(za))},t.\u0275dir=Gt({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&Uo("change",function(t){return e.onChange(t.target)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[Da([lv])]}),t})(),dv=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(uv(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(uv(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(Ao(za),Ao(Ba),Ao(hv,9))},t.\u0275dir=Gt({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();function pv(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function fv(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}const gv=[km,iv,Jm,av,hv,nv];function mv(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const vv="VALID",_v="INVALID",yv="PENDING",bv="DISABLED";function wv(t){return(Ev(t)?t.validators:t)||null}function Cv(t){return Array.isArray(t)?Bm(t):t||null}function Sv(t,e){return(Ev(e)?e.asyncValidators:t)||null}function xv(t){return Array.isArray(t)?Wm(t):t||null}function Ev(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Pv{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=Cv(this._rawValidators),this._composedAsyncValidatorFn=xv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===vv}get invalid(){return this.status===_v}get pending(){return this.status==yv}get disabled(){return this.status===bv}get enabled(){return this.status!==bv}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Cv(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=xv(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=yv,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=bv,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=vv,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==vv&&this.status!==yv||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?bv:vv}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=yv,this._hasOwnPendingAsyncValidator=!0;const e=Fm(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let r=t;return e.forEach(t=>{r=r instanceof Tv?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof kv&&r.at(t)||null}),r}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Zc,this.statusChanges=new Zc}_calculateStatus(){return this._allControlsDisabled()?bv:this.errors?_v:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(yv)?yv:this._anyControlsHaveStatus(_v)?_v:vv}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Ev(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ov extends Pv{constructor(t=null,e,n){super(wv(e),Sv(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){mv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){mv(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class Tv extends Pv{constructor(t,e,n){super(wv(e),Sv(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof Ov?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,r)=>{n=e(n,t,r)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class kv extends Pv{constructor(t,e,n){super(wv(e),Sv(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof Ov?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const Av={provide:Qm,useExisting:rt(()=>Mv)},Iv=(()=>Promise.resolve(null))();let Mv=(()=>{class t extends Qm{constructor(t,e,n,r){super(),this.control=new Ov,this._registered=!1,this.update=new Zc,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e);let n=void 0,r=void 0,i=void 0;return e.forEach(t=>{var e;t.constructor===Mm?n=t:(e=t,gv.some(t=>e.constructor===t)?r=t:i=t)}),i||r||n||null}(0,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?[...this._parent.path,this.name]:[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){var t,e;(function(t,e,n){const r=function(t){return t._rawValidators}(t);null!==e.validator?t.setValidators($m(r,e.validator)):"function"==typeof r&&t.setValidators([r]);const i=function(t){return t._rawAsyncValidators}(t);null!==e.asyncValidator?t.setAsyncValidators($m(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);{const n=()=>t.updateValueAndValidity();pv(e._rawValidators,n),pv(e._rawAsyncValidators,n)}})(t=this.control,e=this),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&fv(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&fv(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Iv.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;Iv.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ym,9),Ao(Dm,10),Ao(Lm,10),Ao(Om,10))},t.\u0275dir=Gt({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Da([Av]),po,ae]}),t})(),Rv=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)}}),t})(),Nv=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:[ev],imports:[Rv]}),t})();const Dv=["*"],Lv=["dialog"];function jv(t){return null!=t}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(t){let e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});const Vv={animation:!0,transitionTimerDelayMs:5};let Hv=(()=>{class t{constructor(){this.animation=Vv.animation}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Fv=()=>{},{transitionTimerDelayMs:Uv}=Vv,zv=new Map,Gv=(t,e,n)=>{let r=n.context||{};const i=zv.get(t);if(i)switch(n.runningTransition){case"continue":return Cd;case"stop":i.transition$.complete(),r=Object.assign(i.context,r),zv.delete(t)}!function(t){t||document}(t);const s=e(t,r)||Fv;if(!n.animation||"none"===window.getComputedStyle(t).transitionProperty)return s(),md(void 0);const o=new S,a=o.pipe(function(...t){return e=>$d(e,md(...t))}(!0));zv.set(t,{transition$:o,context:r});const l=function(t){const{transitionDelay:e,transitionDuration:n}=window.getComputedStyle(t);return 1e3*(parseFloat(e)+parseFloat(n))}(t),u=Jg(t,"transitionend").pipe(mm(a),Pd(({target:e})=>e===t));return function(...t){if(1===t.length){if(!c(t[0]))return t[0];t=t[0]}return B(t,void 0).lift(new cm)}(function(t=0,e,n){let r=-1;return om(e)?r=Number(e)<1?1:Number(e):E(e)&&(n=e),E(n)||(n=sm),new _(e=>{const i=om(t)?t:+t-n.now();return n.schedule(am,i,{index:0,period:r,subscriber:e})})}(l+Uv).pipe(mm(a)),u).pipe(mm(a)).subscribe(()=>{zv.delete(t),s(),o.next(),o.complete()}),o.asObservable()};let Bv=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),Wv=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),$v=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)}}),t})(),qv=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),Yv=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)}}),t})();var Zv=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown",t}({});"undefined"!=typeof navigator&&navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));const Qv=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Kv(t){const e=Array.from(t.querySelectorAll(Qv)).filter(t=>-1!==t.tabIndex);return[e[0],e[e.length-1]]}new class{getAllStyles(t){return window.getComputedStyle(t)}getStyle(t,e){return this.getAllStyles(t)[e]}isStaticPositioned(t){return"static"===(this.getStyle(t,"position")||"static")}offsetParent(t){let e=t.offsetParent||document.documentElement;for(;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement}position(t,e=!0){let n,r={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect(),n={top:n.top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{const e=this.offsetParent(t);n=this.offset(t,!1),e!==document.documentElement&&(r=this.offset(e,!1)),r.top+=e.clientTop,r.left+=e.clientLeft}return n.top-=r.top,n.bottom-=r.top,n.left-=r.left,n.right-=r.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n}offset(t,e=!0){const n=t.getBoundingClientRect(),r=window.pageYOffset-document.documentElement.clientTop,i=window.pageXOffset-document.documentElement.clientLeft;let s={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+r,bottom:n.bottom+r,left:n.left+i,right:n.right+i};return e&&(s.height=Math.round(s.height),s.width=Math.round(s.width),s.top=Math.round(s.top),s.bottom=Math.round(s.bottom),s.left=Math.round(s.left),s.right=Math.round(s.right)),s}positionElements(t,e,n,r){const[i="top",s="center"]=n.split("-"),o=r?this.offset(t,!1):this.position(t,!1),a=this.getAllStyles(e),c=parseFloat(a.marginTop),l=parseFloat(a.marginBottom),u=parseFloat(a.marginLeft),h=parseFloat(a.marginRight);let d=0,p=0;switch(i){case"top":d=o.top-(e.offsetHeight+c+l);break;case"bottom":d=o.top+o.height;break;case"left":p=o.left-(e.offsetWidth+u+h);break;case"right":p=o.left+o.width}switch(s){case"top":d=o.top;break;case"bottom":d=o.top+o.height-e.offsetHeight;break;case"left":p=o.left;break;case"right":p=o.left+o.width-e.offsetWidth;break;case"center":"top"===i||"bottom"===i?p=o.left+o.width/2-e.offsetWidth/2:d=o.top+o.height/2-e.offsetHeight/2}e.style.transform=`translate(${Math.round(p)}px, ${Math.round(d)}px)`;const f=e.getBoundingClientRect(),g=document.documentElement,m=window.innerHeight||g.clientHeight,v=window.innerWidth||g.clientWidth;return f.left>=0&&f.top>=0&&f.right<=v&&f.bottom<=m}},new Date(1882,10,12),new Date(2174,10,25);let Xv=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah,Nv]]}),t})(),Jv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["",8,"navbar"]]}),t})(),t_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)}}),t})(),e_=(()=>{class t{constructor(t){this.backdrop=!0,this.keyboard=!0,this.animation=t.animation}}return t.\u0275fac=function(e){return new(e||t)(yr(Hv))},t.\u0275prov=ot({factory:function(){return new t(yr(Hv))},token:t,providedIn:"root"}),t})();class n_{constructor(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}const r_=()=>{};let i_=(()=>{class t{constructor(t){this._document=t}compensate(){const t=this._getWidth();return this._isPresent(t)?this._adjustBody(t):r_}_adjustBody(t){const e=this._document.body,n=e.style.paddingRight,r=parseFloat(window.getComputedStyle(e)["padding-right"]);return e.style["padding-right"]=r+t+"px",()=>e.style["padding-right"]=n}_isPresent(t){const e=this._document.body.getBoundingClientRect();return window.innerWidth-(e.left+e.right)>=t-.1*t}_getWidth(){const t=this._document.createElement("div");t.className="modal-scrollbar-measure";const e=this._document.body;e.appendChild(t);const n=t.getBoundingClientRect().width-t.clientWidth;return e.removeChild(t),n}}return t.\u0275fac=function(e){return new(e||t)(yr(du))},t.\u0275prov=ot({factory:function(){return new t(yr(du))},token:t,providedIn:"root"}),t})(),s_=(()=>{class t{constructor(t,e){this._el=t,this._zone=e}ngOnInit(){this._zone.onStable.asObservable().pipe(Gd(1)).subscribe(()=>{Gv(this._el.nativeElement,({classList:t})=>t.add("show"),{animation:this.animation,runningTransition:"continue"})})}hide(){return Gv(this._el.nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return t.\u0275fac=function(e){return new(e||t)(Ao(za),Ao(Rl))},t.\u0275cmp=jt({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:6,hostBindings:function(t,e){2&t&&(ia("modal-backdrop"+(e.backdropClass?" "+e.backdropClass:"")),ra("show",!e.animation)("fade",e.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})();class o_{close(t){}dismiss(t){}}class a_{constructor(t,e,n,r){this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=r,this._closed=new S,this._dismissed=new S,this._hidden=new S,t.instance.dismissEvent.subscribe(t=>{this.dismiss(t)}),this.result=new Promise((t,e)=>{this._resolve=t,this._reject=e}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(mm(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(mm(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(t){this._windowCmptRef&&(this._closed.next(t),this._resolve(t),this._removeModalElements())}_dismiss(t){this._dismissed.next(t),this._reject(t),this._removeModalElements()}dismiss(t){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();e&&e.then?e.then(e=>{!1!==e&&this._dismiss(t)},()=>{}):!1!==e&&this._dismiss(t)}else this._dismiss(t)}_removeModalElements(){const t=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():md(void 0);t.subscribe(()=>{const{nativeElement:t}=this._windowCmptRef.location;t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:t}=this._backdropCmptRef.location;t.parentNode.removeChild(t),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),um(t,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var c_=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}({});let l_=(()=>{class t{constructor(t,e,n){this._document=t,this._elRef=e,this._zone=n,this._closed$=new S,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new Zc,this.shown=new S,this.hidden=new S}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement}ngAfterViewInit(){this._show()}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:t}=this._elRef,e={animation:this.animation,runningTransition:"stop"},n=um(Gv(t,()=>t.classList.remove("show"),e),Gv(this._dialogEl.nativeElement,()=>{},e));return n.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),n}_show(){const{nativeElement:t}=this._elRef,e={animation:this.animation,runningTransition:"continue"};um(Gv(t,()=>t.classList.add("show"),e),Gv(this._dialogEl.nativeElement,()=>{},e)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:t}=this._elRef;this._zone.runOutsideAngular(()=>{Jg(t,"keydown").pipe(mm(this._closed$),Pd(t=>t.which===Zv.Escape)).subscribe(t=>{this.keyboard?requestAnimationFrame(()=>{t.defaultPrevented||this._zone.run(()=>this.dismiss(c_.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let e=!1;Jg(this._dialogEl.nativeElement,"mousedown").pipe(mm(this._closed$),ep(()=>e=!1),Fd(()=>Jg(t,"mouseup").pipe(mm(this._closed$),Gd(1))),Pd(({target:e})=>t===e)).subscribe(()=>{e=!0}),Jg(t,"click").pipe(mm(this._closed$)).subscribe(({target:n})=>{t===n&&("static"===this.backdrop?this._bumpBackdrop():!0!==this.backdrop||e||this._zone.run(()=>this.dismiss(c_.BACKDROP_CLICK))),e=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:t}=this._elRef;if(!t.contains(document.activeElement)){const e=t.querySelector("[ngbAutofocus]"),n=Kv(t)[0];(e||n||t).focus()}}_restoreFocus(){const t=this._document.body,e=this._elWithFocus;let n;n=e&&e.focus&&t.contains(e)?e:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&Gv(this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return t.\u0275fac=function(e){return new(e||t)(Ao(du),Ao(za),Ao(Rl))},t.\u0275cmp=jt({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(t,e){if(1&t&&(n=Lv,r=!0,function(t,e,n,r,i,s){t.firstCreatePass&&(function(t,e,n){null===t.queries&&(t.queries=new el),t.queries.track(new nl(e,-1))}(t,new tl(n,r,!0,i)),t.staticViewQueries=!0),function(t,e){const n=new Kc;ys(t,e,n,n.destroy),null===e[19]&&(e[19]=new Jc),e[19].queries.push(new Xc(n))}(t,e)}(Me(),Ie(),n,r,i)),2&t){let t;al((s=Ie(),o=qe(),t=s[19].queries[o].queryList))&&(e._dialogEl=t.first)}var n,r,i,s,o},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(t,e){2&t&&(Po("aria-modal",!0)("aria-labelledby",e.ariaLabelledBy)("aria-describedby",e.ariaDescribedBy),ia("modal d-block"+(e.windowClass?" "+e.windowClass:"")),ra("fade",e.animation))},inputs:{backdrop:"backdrop",keyboard:"keyboard",animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:Dv,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(t,e){1&t&&($o(),Ro(0,"div",0,1),Ro(2,"div",2),qo(3),No(),No()),2&t&&ia("modal-dialog"+(e.size?" modal-"+e.size:"")+(e.centered?" modal-dialog-centered":"")+(e.scrollable?" modal-dialog-scrollable":""))},styles:["ngb-modal-window .component-host-scrollable{-ms-flex-direction:column;display:-ms-flexbox;display:flex;flex-direction:column;overflow:hidden}"],encapsulation:2}),t})(),u_=(()=>{class t{constructor(t,e,n,r,i,s){this._applicationRef=t,this._injector=e,this._document=n,this._scrollBar=r,this._rendererFactory=i,this._ngZone=s,this._activeWindowCmptHasChanged=new S,this._ariaHiddenValues=new Map,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass"],this._windowCmpts=[],this._activeInstances=new Zc,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const t=this._windowCmpts[this._windowCmpts.length-1];((t,e,n,r=!1)=>{this._ngZone.runOutsideAngular(()=>{const t=Jg(e,"focusin").pipe(mm(n),D(t=>t.target));Jg(e,"keydown").pipe(mm(n),Pd(t=>t.which===Zv.Tab),ym(t)).subscribe(([t,n])=>{const[r,i]=Kv(e);n!==r&&n!==e||!t.shiftKey||(i.focus(),t.preventDefault()),n!==i||t.shiftKey||(r.focus(),t.preventDefault())}),r&&Jg(e,"click").pipe(mm(n),ym(t),D(t=>t[1])).subscribe(t=>t.focus())})})(0,t.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(t.location.nativeElement)}})}open(t,e,n,r){const i=r.container instanceof HTMLElement?r.container:jv(r.container)?this._document.querySelector(r.container):this._document.body,s=this._rendererFactory.createRenderer(null,null),o=this._scrollBar.compensate(),a=()=>{this._modalRefs.length||(s.removeClass(this._document.body,"modal-open"),this._revertAriaHidden())};if(!i)throw new Error(`The specified modal container "${r.container||"body"}" was not found in the DOM.`);const c=new o_,l=this._getContentRef(t,r.injector||e,n,c,r);let u=!1!==r.backdrop?this._attachBackdrop(t,i):void 0,h=this._attachWindowComponent(t,i,l),d=new a_(h,l,u,r.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(h),d.result.then(o,o),d.result.then(a,a),c.close=t=>{d.close(t)},c.dismiss=t=>{d.dismiss(t)},this._applyWindowOptions(h.instance,r),1===this._modalRefs.length&&s.addClass(this._document.body,"modal-open"),u&&u.instance&&this._applyBackdropOptions(u.instance,r),d}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(e=>e.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t,e){let n=t.resolveComponentFactory(s_).create(this._injector);return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_attachWindowComponent(t,e,n){let r=t.resolveComponentFactory(l_).create(this._injector,n.nodes);return this._applicationRef.attachView(r.hostView),e.appendChild(r.location.nativeElement),r}_applyWindowOptions(t,e){this._windowAttributes.forEach(n=>{jv(e[n])&&(t[n]=e[n])})}_applyBackdropOptions(t,e){this._backdropAttributes.forEach(n=>{jv(e[n])&&(t[n]=e[n])})}_getContentRef(t,e,n,r,i){return n?n instanceof vc?this._createFromTemplateRef(n,r):"string"==typeof n?this._createFromString(n):this._createFromComponent(t,e,n,r,i):new n_([])}_createFromTemplateRef(t,e){const n=t.createEmbeddedView({$implicit:e,close(t){e.close(t)},dismiss(t){e.dismiss(t)}});return this._applicationRef.attachView(n),new n_([n.rootNodes],n)}_createFromString(t){const e=this._document.createTextNode(""+t);return new n_([[e]])}_createFromComponent(t,e,n,r,i){const s=t.resolveComponentFactory(n),o=uo.create({providers:[{provide:o_,useValue:r}],parent:e}),a=s.create(o),c=a.location.nativeElement;return i.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(a.hostView),new n_([[c]],a.hostView,a)}_setAriaHidden(t){const e=t.parentElement;e&&t!==this._document.body&&(Array.from(e.children).forEach(e=>{e!==t&&"SCRIPT"!==e.nodeName&&(this._ariaHiddenValues.set(e,e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}),this._setAriaHidden(e))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const e=()=>{const e=this._modalRefs.indexOf(t);e>-1&&(this._modalRefs.splice(e,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(e,e)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const e=this._windowCmpts.indexOf(t);e>-1&&(this._windowCmpts.splice(e,1),this._activeWindowCmptHasChanged.next())})}}return t.\u0275fac=function(e){return new(e||t)(yr(tu),yr(uo),yr(du),yr(i_),yr(Ga),yr(Rl))},t.\u0275prov=ot({factory:function(){return new t(yr(tu),yr(Ys),yr(du),yr(i_),yr(Ga),yr(Rl))},token:t,providedIn:"root"}),t})(),h_=(()=>{class t{constructor(t,e,n,r){this._moduleCFR=t,this._injector=e,this._modalStack=n,this._config=r}open(t,e={}){const n=Object.assign({},this._config,e);return this._modalStack.open(this._moduleCFR,this._injector,t,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return t.\u0275fac=function(e){return new(e||t)(yr(Va),yr(uo),yr(u_),yr(e_))},t.\u0275prov=ot({factory:function(){return new t(yr(Va),yr(Ys),yr(u_),yr(e_))},token:t,providedIn:"root"}),t})(),d_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:[h_]}),t})(),p_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),f_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),g_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),m_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),v_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),__=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),y_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})(),b_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)}}),t})();new Qn("live announcer delay",{providedIn:"root",factory:function(){return 100}});let w_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[Ah]]}),t})();const C_=[Bv,Wv,$v,qv,Yv,Xv,t_,d_,p_,f_,g_,m_,v_,__,y_,b_,w_];let S_=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[C_,Bv,Wv,$v,qv,Yv,Xv,t_,d_,p_,f_,g_,m_,v_,__,y_,b_,w_]}),t})(),x_=(()=>{class t{constructor(t){this.router=t,this.selectedMenuItem="HOME",this.router.events.subscribe(t=>{if(t instanceof cp)switch(!0){case t.url.includes("connectors"):this.selectedMenuItem="CONNECTORS";break;case t.url.includes("iot"):this.selectedMenuItem="IOT";break;default:this.selectedMenuItem="HOME"}})}ngOnInit(){}getClassForSelected(t){return t===this.selectedMenuItem?"selected":"not-selected"}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ig))},t.\u0275cmp=jt({type:t,selectors:[["app-header"]],decls:52,vars:0,consts:[[1,"top-bar-header"],["href","https://www.softwareag.com/en_corporate/company/software-gmbh-name-change.html","title","Software AG no longer operates as a stock corporation, but as Software GmbH (company with limited liability). Despite the change of name, we continue to offer our goods and services under the registered trademarks","target","_blank",1,"container","top-bar-header-link"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"navbar","navbar-expand-lg","navbar-light"],["routerLink","/",1,"navbar-brand"],["src","./assets/software-ag-logo-core-dark-opt.svg","alt",""],["type","button","data-toggle","collapse","data-target","#navbarSupportedContent","aria-controls","navbarSupportedContent","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler"],[1,"navbar-toggler-icon"],["id","navbarSupportedContent",1,"collapse","navbar-collapse"],[1,"navbar-nav","mr-auto"],[1,"nav-item"],["routerLink","/api-integration-microservices",1,"nav-link"],["routerLink","/iot-analytics",1,"nav-link"],[1,"dropdown"],[1,"nav-link","dropbtn"],[1,"dropdown-content"],["href","https://developer.softwareag.com/","target","_blank"],["href","https://www.softwareag.cloud/site/index.html","target","_blank"],["href","https://tech.forums.softwareag.com/","target","_blank"],["href","https://groups.softwareag.com/","target","_blank"],["href","https://learn.softwareag.com/","target","_blank"],["href","https://empower.softwareag.com/","target","_blank"],["href","https://tech.forums.softwareag.com/","target","_blank","title","Tech Community",1,"nav-button"],[1,"nav-icon-container","community-link-container"],["id","Layer_1","data-name","Layer 1","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 86.41 86.41"],["id","Regular_237","data-name","Regular 237"],["id","Oval_313","data-name","Oval 313","d","M44.87,28.91a11,11,0,1,0-11-11h0A11,11,0,0,0,44.87,28.91Z","transform","translate(-1.66 -4.94)",1,"cls-1"],["id","Shape_961","data-name","Shape 961","d","M58.61,56.4V48.15a13.74,13.74,0,1,0-27.47-1c0,.34,0,.68,0,1V56.4h5.5l2.7,22h11l2.76-22Z","transform","translate(-1.66 -4.94)",1,"cls-1"],["id","Oval_314","data-name","Oval 314","d","M17.4,34.4a8.25,8.25,0,1,0-8.25-8.24v0a8.23,8.23,0,0,0,8.23,8.22Z","transform","translate(-1.66 -4.94)",1,"cls-1"],["id","Shape_962","data-name","Shape 962","d","M21.8,40.63A13.72,13.72,0,0,0,4.39,49.21a13.9,13.9,0,0,0-.73,4.43V56.4H9.15l2.76,16.47h11l1.36-8.26","transform","translate(-1.66 -4.94)",1,"cls-1"],["id","Oval_315","data-name","Oval 315","d","M72.35,34.4a8.25,8.25,0,1,0-8.25-8.24v0a8.23,8.23,0,0,0,8.23,8.22Z","transform","translate(-1.66 -4.94)",1,"cls-1"],["id","Shape_963","data-name","Shape 963","d","M68,40.63a13.72,13.72,0,0,1,18.11,13V56.4H80.58l-2.7,16.47h-11l-1.39-8.26","transform","translate(-1.66 -4.94)",1,"cls-1"],["id","Shape_964","data-name","Shape 964","d","M86.07,81.12c0,4.55-18.44,8.23-41.2,8.23S3.66,85.71,3.66,81.12","transform","translate(-1.66 -4.94)",1,"cls-2"],["href","https://www.softwareag.com/en_corporate/contact.html","target","_blank","title","Contact Software AG"],[1,"nav-icon-container"],["viewBox","0 0 128 128"],["d","M13.42,105.7a6.53,6.53,0,0,1-6.5-6.34v-.11L7,47.91h9l-.05,48.77,93-.51.45-57.2L66.18,73.37A6.52,6.52,0,0,1,57.91,73L14.61,35.54A6.5,6.5,0,0,1,18.9,24.16H94v9H25.61L62.33,64.93,107.9,28.67a6.51,6.51,0,0,1,10.55,5.14l-.51,64.91a6.54,6.54,0,0,1-6.47,6.45l-98,.53ZM63.8,66.19l.07.07A.46.46,0,0,0,63.8,66.19Z",1,"a-icon__main-dark"],["fill","currentColor","d","M20.76,92.81h34.24v-7h-34.24Z",1,"a-icon__accent-colored"]],template:function(t,e){1&t&&(Ro(0,"div",0),Ro(1,"a",1),fa(2,"Software AG no longer operates as a stock corporation, but as Software GmbH (company with limited liability). Despite the change of name, we continue to offer our goods and services under the registered trademarks"),No(),No(),Ro(3,"div",2),Ro(4,"div",3),Ro(5,"div",4),Ro(6,"nav",5),Ro(7,"a",6),Do(8,"img",7),No(),Ro(9,"button",8),Do(10,"span",9),No(),Ro(11,"div",10),Ro(12,"ul",11),Ro(13,"li",12),Ro(14,"a",13),No(),No(),Ro(16,"li",12),Ro(17,"a",14),No(),No(),Ro(19,"li",12),Ro(20,"div",15),Ro(21,"a",16),No(),Ro(23,"div",17),Ro(24,"a",18),fa(25,"Developer Center"),No(),Ro(26,"a",19),fa(27,"Software AG Cloud"),No(),Ro(28,"a",20),fa(29,"Tech Community"),No(),Ro(30,"a",21),fa(31,"Software AG Groups"),No(),Ro(32,"a",22),fa(33,"Learning Portal"),No(),Ro(34,"a",23),fa(35,"Empower Portal"),No(),No(),No(),No(),No(),Ro(36,"a",24),Ro(37,"div",25),an(),Ro(38,"svg",26),Ro(39,"g",27),Do(40,"path",28),Do(41,"path",29),Do(42,"path",30),Do(43,"path",31),Do(44,"path",32),Do(45,"path",33),Do(46,"path",34),No(),No(),No(),No(),ke.lFrame.currentNamespace=null,Ro(47,"a",35),Ro(48,"div",36),an(),Ro(49,"svg",37),Do(50,"path",38),Do(51,"path",39),No(),No(),No(),No(),No(),No(),No(),No())},directives:[Jv,Mg],styles:["nav[_ngcontent-%COMP%]{height:80px}nav[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:35px;width:200px}nav[_ngcontent-%COMP%] ul.navbar-nav[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}nav[_ngcontent-%COMP%] div.nav-icon-container[_ngcontent-%COMP%]{width:44px;height:44px;padding-top:10px;text-align:center;background-color:#3cc1b7}#navbarSupportedContent[_ngcontent-%COMP%] > a.nav-button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:#d9ec27;padding-top:10px;padding-left:0;padding-right:0}.community-link-img[_ngcontent-%COMP%]{pointer-events:none}nav[_ngcontent-%COMP%] div.nav-icon-container[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%]{height:24px;width:24px;color:#8e3cf7}nav[_ngcontent-%COMP%] div.nav-icon-container[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%]:hover{color:#011f3d;fill:#8e3cf7}nav[_ngcontent-%COMP%] div.nav-icon-container[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%] .cls-1[_ngcontent-%COMP%], nav[_ngcontent-%COMP%] div.nav-icon-container[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%] .cls-2[_ngcontent-%COMP%]{fill:none;stroke-width:4px}nav[_ngcontent-%COMP%] div.nav-icon-container[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%] .cls-1[_ngcontent-%COMP%]{stroke:#06203c;stroke-linecap:square}nav[_ngcontent-%COMP%] div.nav-icon-container[_ngcontent-%COMP%] > svg[_ngcontent-%COMP%] .cls-2[_ngcontent-%COMP%]{stroke:#7d5ea8;stroke-linejoin:round}nav[_ngcontent-%COMP%] div.nav-icon-container[_ngcontent-%COMP%] > svg[id=Layer_1][_ngcontent-%COMP%]:hover path[_ngcontent-%COMP%]{stroke:#8e3cf7;fill:none;stroke-width:4px}nav[_ngcontent-%COMP%] a.nav-button[_ngcontent-%COMP%]{margin-right:20px;color:#011f3d}nav[_ngcontent-%COMP%] a.nav-button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:44px;padding-top:12px;padding-left:15px;padding-right:15px;background-color:#d9ec27;font-size:14px;font-weight:700}.nav-item[_ngcontent-%COMP%]{padding-right:20px}.nav-link[_ngcontent-%COMP%]{color:#011f3d!important;font-size:14px;font-weight:700}.nav-link[_ngcontent-%COMP%]:hover{color:#8e3cf7!important}nav[_ngcontent-%COMP%] .dropbtn[_ngcontent-%COMP%]{cursor:pointer}nav[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{position:relative;display:inline-block}nav[_ngcontent-%COMP%] .dropdown-content[_ngcontent-%COMP%]{display:none;position:absolute;background-color:#f1f1f1;min-width:160px;box-shadow:0 8px 16px 0 rgba(0,0,0,.2);z-index:1}nav[_ngcontent-%COMP%] .dropdown-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;padding:12px 16px;text-decoration:none;display:block;font-size:14px}nav[_ngcontent-%COMP%] .dropdown-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#ddd}nav[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]:hover .dropdown-content[_ngcontent-%COMP%]{display:block}.header-logo-container[_ngcontent-%COMP%]{text-align:center}.header-logo-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:200px;height:35px;margin-top:21px}@media(max-width:1024px) and (min-width:415px){nav[_ngcontent-%COMP%]{height:inherit}#navbarSupportedContent[_ngcontent-%COMP%]{padding-left:15px;padding-top:10px;background-color:#f2f2ea;z-index:100}}@media only screen and (max-width:600px){nav[_ngcontent-%COMP%]{height:inherit}#navbarSupportedContent[_ngcontent-%COMP%]{padding-left:15px;padding-top:10px;background-color:#f2f2ea;z-index:100}}.top-bar-header[_ngcontent-%COMP%]{width:100%;height:48px;margin-bottom:0;background-color:#3cc1b7;text-align:center;display:flex;align-items:center;justify-content:center}@media only screen and (max-width:600px){.top-bar-header[_ngcontent-%COMP%]{height:auto}}@media(max-width:1024px) and (min-width:415px){.top-bar-header[_ngcontent-%COMP%]{height:auto}}.top-bar-header[_ngcontent-%COMP%] a.top-bar-header-link[_ngcontent-%COMP%]{font-size:1.8rem;font-weight:700;color:#fff;line-height:22px;padding:8px;text-align:center;text-decoration:none;width:100%}.top-bar-header[_ngcontent-%COMP%] a.top-bar-header-link[_ngcontent-%COMP%]:hover{color:#1c5569;text-decoration:none}"]}),t})(),E_=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=jt({type:t,selectors:[["app-footer"]],inputs:{appLogo:"appLogo"},decls:122,vars:0,consts:[[1,"footer-container"],[1,"container"],[1,"row"],[1,"col-lg-12"],["src","./assets/software-ag-logo-core-light.svg",1,"img-fluid","logo"],[1,"container","links-container"],[1,"col-lg-3"],[1,"heading"],["href","https://tech.forums.softwareag.com/tag/adabas-natural","target","_blank","title","Adabas & Natural",1,"link"],["href","https://tech.forums.softwareag.com/t/alfabet-or-alfabet-fastlane-customer/226672","target","_blank","title","Alfabet",1,"link"],["href","https://tech.forums.softwareag.com/tag/aris","target","_blank","title","ARIS",1,"link"],["href","https://tech.forums.softwareag.com/tag/streaming-analytics-apama","target","_blank","title","Apama",1,"link"],["href","https://tech.forums.softwareag.com/tag/cumulocity-iot","target","_blank","title","Cumulocity IoT",1,"link"],["href","https://www.terracotta.org/","target","_blank","title","Terracotta",1,"link"],["href","https://tech.forums.softwareag.com/tag/webmethods","target","_blank","title","webMethods",1,"link"],["href","https://developer.softwareag.com","target","_blank","title","Developer Center",1,"link"],["href","https://documentation.softwareag.com/","target","_blank","title","Documentation",1,"link"],["href","https://knowledge.softwareag.com","target","_blank","title","Learning Portal",1,"link"],["href","https://groups.softwareag.com/","target","_blank","title","User Groups",1,"link"],["href","https://devicepartnerportal.softwareag.com","target","_blank","title","Device Partner Portal",1,"link"],["href","https://techradar.softwareag.com","target","_blank","title","Tech Radar",1,"link"],["href","https://tech.forums.softwareag.com/c/news/7","target","_blank","title","News & Announcements",1,"link"],["href","https://tech.forums.softwareag.com/new-topic","target","_blank",1,"link"],["href","https://twitter.com/techcomm_sag","target","_blank",1,"link"],["href","https://dev.to/techcommunity","target","_blank",1,"link"],["href","https://www.youtube.com/user/softwareag","target","_blank",1,"link"],["href","https://tech.forums.softwareag.com/my/preferences/notifications","target","_blank",1,"link"],["href","https://tech.forums.softwareag.com/latest.rss","target","_blank",1,"link"],["href","https://info.softwareag.com/TechCommunity-Subscription-Page.html","target","_blank",1,"link"],[1,"col-lg-8"],[1,"links"],["href","https://www.softwareag.com/en_corporate/company/csr.html","target","_blank","title","Social Responsibility"],["href","https://www.softwareag.com/en_corporate/legal.html","target","_blank","title","Legal Aspects"],["href","https://www.softwareag.com/en_corporate/impressum.html","target","_blank","title","Imprint"],["href","https://www.softwareag.com/en_corporate/privacy.html","target","_blank","title","Privacy"],["id","consent_blackbar"],["id","teconsent","consent","0,1,2"],[1,"col-lg-4"],[1,"sm-links"],["href","https://www.linkedin.com/company/software-ag","target","_blank"],["src","./assets/icon-linkedin.svg","alt","LinkedIn","title","LinkedIn"],["href","https://www.facebook.com/SoftwareAG","target","_blank"],["src","./assets/icon-facebook.svg","alt","Facebook","title","Facebook"],["href","https://twitter.com/softwareag","target","_blank"],["src","./assets/icon-twitter.svg","alt","Twitter","title","Twitter"],["href","https://www.youtube.com/user/SOFTWAREAG","target","_blank"],["src","./assets/icon-youtube.svg","alt","YouTube","title","YouTube"],["href","https://www.softwareag.com/en_corporate/resources/communities.html","target","_blank"],["src","./assets/icon-tech-comm.svg","alt","Tech Communities","title","Tech Communities"]],template:function(t,e){1&t&&(Ro(0,"div",0),Ro(1,"div",1),Ro(2,"div",2),Ro(3,"div",3),Do(4,"img",4),No(),No(),No(),Do(5,"hr"),Ro(6,"div",5),Ro(7,"div",2),Ro(8,"div",6),Ro(9,"div",7),Ro(10,"h2"),fa(11,"Communities"),No(),No(),Ro(12,"a",8),Ro(13,"div"),fa(14,"Adabas & Natural"),No(),No(),Ro(15,"a",9),Ro(16,"div"),fa(17,"Alfabet"),No(),No(),Ro(18,"a",10),Ro(19,"div"),fa(20,"ARIS"),No(),No(),Ro(21,"a",11),Ro(22,"div"),fa(23,"Apama"),No(),No(),Ro(24,"a",12),Ro(25,"div"),fa(26,"Cumulocity IoT"),No(),No(),Ro(27,"a",13),Ro(28,"div"),fa(29,"Terracotta"),No(),No(),Ro(30,"a",14),Ro(31,"div"),fa(32,"webMethods"),No(),No(),No(),Ro(33,"div",6),Ro(34,"div",7),Ro(35,"h2"),fa(36,"Discover"),No(),No(),Ro(37,"a",15),Ro(38,"div"),fa(39,"Developer Center"),No(),No(),Ro(40,"a",16),Ro(41,"div"),fa(42,"Documentation"),No(),No(),Ro(43,"a",17),Ro(44,"div"),fa(45,"Learning Portal"),No(),No(),Ro(46,"a",18),Ro(47,"div"),fa(48,"User Groups"),No(),No(),Ro(49,"a",19),Ro(50,"div"),fa(51,"Device Partner Portal"),No(),No(),Ro(52,"a",20),Ro(53,"div"),fa(54,"Tech Radar"),No(),No(),Ro(55,"a",21),Ro(56,"div"),fa(57,"News & Announcements"),No(),No(),No(),Ro(58,"div",6),Ro(59,"div",7),Ro(60,"h2"),fa(61,"Connect"),No(),No(),Ro(62,"a",22),Ro(63,"div"),fa(64,"Ask question"),No(),No(),Ro(65,"a",23),Ro(66,"div"),fa(67,"Follow us on Twitter"),No(),No(),Ro(68,"a",24),Ro(69,"div"),fa(70,"Follow us on Dev.to"),No(),No(),Ro(71,"a",25),Ro(72,"div"),fa(73,"Follow us on YouTube"),No(),No(),Ro(74,"a",26),Ro(75,"div"),fa(76,"Subscribe to notifications"),No(),No(),Ro(77,"a",27),Ro(78,"div"),fa(79,"Subscribe to RSS"),No(),No(),Ro(80,"a",28),Ro(81,"div"),fa(82,"Subscribe to newsletter"),No(),No(),No(),No(),No(),Do(83,"hr"),Ro(84,"div",1),Ro(85,"div",2),Ro(86,"div",29),Ro(87,"ul",30),Ro(88,"li"),fa(89,"\xa9 2022 Software AG"),No(),Ro(90,"li"),Ro(91,"a",31),fa(92,"Social Responsibility"),No(),No(),Ro(93,"li"),Ro(94,"a",32),fa(95,"Legal Aspects"),No(),No(),Ro(96,"li"),Ro(97,"a",33),fa(98,"Imprint"),No(),No(),Ro(99,"li"),Ro(100,"a",34),fa(101,"Privacy"),No(),No(),Ro(102,"li"),Do(103,"div",35),Do(104,"div",36),No(),No(),No(),Ro(105,"div",37),Ro(106,"ul",38),Ro(107,"li"),Ro(108,"a",39),Do(109,"img",40),No(),No(),Ro(110,"li"),Ro(111,"a",41),Do(112,"img",42),No(),No(),Ro(113,"li"),Ro(114,"a",43),Do(115,"img",44),No(),No(),Ro(116,"li"),Ro(117,"a",45),Do(118,"img",46),No(),No(),Ro(119,"li"),Ro(120,"a",47),Do(121,"img",48),No(),No(),No(),No(),No(),No(),No())},styles:[".footer-container{background-color:#011f3d;padding:40px}.footer-container img.logo{width:25rem;margin-bottom:3rem}.footer-container hr{border:0;border-bottom:1px solid #f2f2ea;margin-bottom:3rem}.footer-container ul.links{font-size:1.4rem;line-height:3.8rem;padding-left:0!important}.footer-container ul.links li{display:inline;color:#a6b1bb;padding-right:10px}.footer-container ul.links li a{color:#a6b1bb}.footer-container ul.links li>a:hover{color:#fff}.footer-container ul.links li .cookie-preferences-link{cursor:pointer}.footer-container ul.sm-links{font-size:1.4rem;line-height:3.8rem}.footer-container ul.sm-links li{display:inline;color:#a6b1bb;padding-right:10px}.footer-container ul.sm-links li img{width:40px}.footer-container ul.sm-links li>a{position:relative;color:#a6b1bb;top:0}.footer-container ul.sm-links li>a:hover{color:#fff;transition:top .2s linear;top:10px}.footer-container .links-container{margin-bottom:3rem}.footer-container .links-container div.heading>h2{font-size:2.8rem;line-height:3.8rem;margin-bottom:2rem;letter-spacing:.1rem;color:#fff;font-weight:700}.footer-container .links-container a.link{color:#a6b1bb;font-size:1.8rem;line-height:2.8rem}.footer-container .links-container a.link:hover{color:#fff}@media only screen and (max-width:600px){.footer-container ul.links,.footer-container ul.sm-links{padding-left:0}.footer-container .links-container div.heading>h2{margin-top:2rem}}"],encapsulation:2}),t})();const P_=function(t){return{hide:t}};let O_=(()=>{class t{constructor(){this.title=gd.CONST_APPLICATION_NAME,this.scrolled=!1}ngOnInit(){this.setScrolled()}scrollToTop(){window.scroll(0,0)}setScrolled(){this.scrolled=document.documentElement.scrollTop>0}detectSrcoll(){this.setScrolled()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=jt({type:t,selectors:[["app-root"]],hostBindings:function(t,e){1&t&&Uo("scroll",function(t){return e.detectSrcoll(t)},!1,ui)},decls:6,vars:3,consts:[[1,"back-to-top",3,"ngClass","click"],["viewBox","0 0 128 128","id","to-top"],["d","M97.75,94.39L64,53.9l-33.75,40.5L18,84.18l39.87-47.85c3.03-3.64,9.22-3.64,12.25,0L110,84.18L97.75,94.39z",1,"a-icon__main-dark"]],template:function(t,e){var n,r;1&t&&(Do(0,"app-header"),Do(1,"router-outlet"),Do(2,"app-footer"),Ro(3,"div",0),Uo("click",function(){return e.scrollToTop()}),an(),Ro(4,"svg",1),Do(5,"path",2),No(),No()),2&t&&(Xi(3),Io("ngClass",(1,n=P_,r=!e.scrolled,Uc(Ie(),Ue(),1,n,r,undefined))))},directives:[x_,Ng,E_,gh],styles:[".back-to-top[_ngcontent-%COMP%]{width:40px;height:40px;padding-top:5px;position:fixed;right:0;bottom:100px;background-color:#3cc1b7;text-align:center}.back-to-top[_ngcontent-%COMP%]:hover{cursor:pointer}.back-to-top.hide[_ngcontent-%COMP%]{display:none}svg[_ngcontent-%COMP%]{width:30px}"]}),t})();class T_{}class k_{}class A_{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof A_?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new A_;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof A_?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class I_{encodeKey(t){return M_(t)}encodeValue(t){return M_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function M_(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class R_{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new I_,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const r=t.indexOf("="),[i,s]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(i)||[];o.push(s),n.set(i,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new R_({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function N_(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function D_(t){return"undefined"!=typeof Blob&&t instanceof Blob}function L_(t){return"undefined"!=typeof FormData&&t instanceof FormData}class j_{constructor(t,e,n,r){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new A_),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new R_,this.urlWithParams=e}serializeBody(){return null===this.body?null:N_(this.body)||D_(this.body)||L_(this.body)||"string"==typeof this.body?this.body:this.body instanceof R_?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||L_(this.body)?null:D_(this.body)?this.body.type||null:N_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof R_?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,r=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new j_(e,n,i,{params:c,headers:a,reportProgress:o,responseType:r,withCredentials:s})}}var V_=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class H_{constructor(t,e=200,n="OK"){this.headers=t.headers||new A_,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class F_ extends H_{constructor(t={}){super(t),this.type=V_.ResponseHeader}clone(t={}){return new F_({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class U_ extends H_{constructor(t={}){super(t),this.type=V_.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new U_({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class z_ extends H_{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function G_(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let B_=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof j_)r=t;else{let i=void 0;i=n.headers instanceof A_?n.headers:new A_(n.headers);let s=void 0;n.params&&(s=n.params instanceof R_?n.params:new R_({fromObject:n.params})),r=new j_(t,e,void 0!==n.body?n.body:null,{headers:i,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=md(r).pipe(Xd(t=>this.handler.handle(t)));if(t instanceof j_||"events"===n.observe)return i;const s=i.pipe(Pd(t=>t instanceof U_));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(D(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return s.pipe(D(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return s.pipe(D(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return s.pipe(D(t=>t.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new R_).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,G_(n,e))}post(t,e,n={}){return this.request("POST",t,G_(n,e))}put(t,e,n={}){return this.request("PUT",t,G_(n,e))}}return t.\u0275fac=function(e){return new(e||t)(yr(T_))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();class W_{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const $_=new Qn("HTTP_INTERCEPTORS");let q_=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const Y_=/^\)\]\}',?\n/;class Z_{}let Q_=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),K_=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new _(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const r=t.serializeBody();let i=null;const s=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,r=n.statusText||"OK",s=new A_(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return i=new F_({headers:s,status:e,statusText:r,url:o}),i},o=()=>{let{headers:r,status:i,statusText:o,url:a}=s(),c=null;204!==i&&(c=void 0===n.response?n.responseText:n.response),0===i&&(i=c?200:0);let l=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(Y_,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=t,l&&(l=!1,c={error:u,text:c})}}l?(e.next(new U_({body:c,headers:r,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new z_({error:c,headers:r,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=s(),i=new z_({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(i)};let c=!1;const l=r=>{c||(e.next(s()),c=!0);let i={type:V_.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===t.responseType&&n.responseText&&(i.partialText=n.responseText),e.next(i)},u=t=>{let n={type:V_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",l),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:V_.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",l),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(yr(Z_))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})();const X_=new Qn("XSRF_COOKIE_NAME"),J_=new Qn("XSRF_HEADER_NAME");class ty{}let ey=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=fh(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(yr(du),yr(_l),yr(X_))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),ny=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(yr(ty),yr(J_))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),ry=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get($_,[]);this.chain=t.reduceRight((t,e)=>new W_(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(yr(k_),yr(uo))},t.\u0275prov=ot({token:t,factory:t.\u0275fac}),t})(),iy=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:ny,useClass:q_}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:X_,useValue:e.cookieName}:[],e.headerName?{provide:J_,useValue:e.headerName}:[]]}}}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:[ny,{provide:$_,useExisting:ny,multi:!0},{provide:ty,useClass:ey},{provide:X_,useValue:"XSRF-TOKEN"},{provide:J_,useValue:"X-XSRF-TOKEN"}]}),t})(),sy=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:[B_,{provide:T_,useClass:ry},K_,{provide:k_,useExisting:K_},Q_,{provide:Z_,useExisting:Q_}],imports:[[iy.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();var oy=function(t){return t.CONST_ERROR_TYPE="ERROR",t.CONST_WARNING_TYPE="WARNING",t.CONST_SUCCESS_TYPE="SUCCESS",t}({});let ay=(()=>{class t{constructor(){this.message={type:"",text:""}}setMessage(e,n,r,i){this.webpage=e,this.message={type:n,text:r},(i=i||t.MESSAGE_TIMEOUT)>-1&&setTimeout(()=>{this.clearMessage()},i)}clearMessage(){this.message.type="",this.message.text=""}}return t.MESSAGE_TIMEOUT=2500,t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function cy(t,e){if(1&t){const t=Vo();Ro(0,"div",5),Ro(1,"div",2),Ro(2,"div",6),Ro(3,"div",7),Do(4,"img",8),No(),No(),Ro(5,"div",9),Ro(6,"span"),Ro(7,"b"),fa(8),No(),No(),Ro(9,"span",10),fa(10),No(),No(),Ro(11,"div",11),Ro(12,"img",12),Uo("click",function(){return Re(t),Bo(2).clearMessage()}),No(),No(),No(),No()}if(2&t){const t=Bo(2);Io("ngClass",t.GetMessageBorderColour()),Xi(4),Io("src",t.getIcon(),ni),Xi(4),ga(t.getSeverity()),Xi(2),ga(t.getMessage())}}function ly(t,e){if(1&t&&(Lo(0),Ro(1,"div",1),Ro(2,"div",2),Ro(3,"div",3),To(4,cy,13,4,"div",4),No(),No(),No(),jo()),2&t){const t=Bo();Xi(4),Io("ngIf",""!==t.getMessage())}}var uy=function(t){return t[t.Overview=1]="Overview",t[t.ApiIntegrationMicroservice=2]="ApiIntegrationMicroservice",t[t.IoTAnalytics=3]="IoTAnalytics",t}({});let hy=(()=>{class t{constructor(t){this.messageService=t}getIcon(){if(!this.messageService.message.type)return"";switch(this.messageService.message.type){case"ERROR":return"./assets/error.png";case"WARNING":return"./assets/warning.png";default:return""}}getSeverity(){if(!this.messageService.message.type)return"";switch(this.messageService.message.type){case"SUCCESS":return"Success: ";case"ERROR":return"Error: ";case"WARNING":return"Warning: ";default:return""}}getWebPage(){return this.messageService.webpage}getMessage(){return this.messageService.message.text?this.messageService.message.text:""}clearMessage(){this.messageService.clearMessage()}GetMessageBorderColour(){switch(this.messageService.message.type){case"SUCCESS":return"border-left-success";case"WARNING":return"border-left-warning";case"ERROR":return"border-left-error";default:return""}}}return t.WebPage=uy,t.\u0275fac=function(e){return new(e||t)(Ao(ay))},t.\u0275cmp=jt({type:t,selectors:[["app-message"]],inputs:{webpage:"webpage"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"message-container"],[1,"row"],[1,"col-12","col-lg-12"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[1,"col-2","col-lg-1","pr-0"],[1,"message-icon-container"],["alt","Notification Message Icon",3,"src"],[1,"col-9","col-lg-10"],[1,"message-text"],[1,"col-1","col-lg-1","pl-0","message-icon-container"],["id","message-icon-close","src","./assets/icon-close.png","alt","Clear Message Icon",3,"click"]],template:function(t,e){1&t&&To(0,ly,5,1,"ng-container",0),2&t&&Io("ngIf",e.webpage===e.getWebPage())},directives:[yh,gh],styles:[".message-container[_ngcontent-%COMP%]{position:fixed;top:10px;right:10px;background:#fff;z-index:100;line-height:30px;font-size:12px}.border-left-success[_ngcontent-%COMP%]{border-left:4px solid #bad80a}.border-left-warning[_ngcontent-%COMP%]{border-left:4px solid #ff6700}.border-left-error[_ngcontent-%COMP%]{border-left:4px solid #ff1f2d}.message-icon-container[_ngcontent-%COMP%]{text-align:center}.message-icon-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:15px;height:15px}.message-text[_ngcontent-%COMP%]{white-space:pre-line}"]}),t})();function dy(t,e,n,r){return new(n||(n=Promise))(function(i,s){function o(t){try{c(r.next(t))}catch(e){s(e)}}function a(t){try{c(r.throw(t))}catch(e){s(e)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}c((r=r.apply(t,e||[])).next())})}class py extends nm{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}class fy extends im{}const gy=new fy(py);class my extends f{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(my.dispatch,this.delay,new vy(t,this.destination)))}_next(t){this.scheduleMessage(Cm.createNext(t))}_error(t){this.scheduleMessage(Cm.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Cm.createComplete()),this.unsubscribe()}}class vy{constructor(t,e){this.notification=t,this.destination=e}}class _y extends S{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new yy(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,i=n.length;let s;if(this.closed)throw new b;if(this.isStopped||this.hasError?s=h.EMPTY:(this.observers.push(t),s=new w(this,t)),r&&t.add(t=new my(t,r)),e)for(let o=0;o<i&&!t.closed;o++)t.next(n[o]);else for(let o=0;o<i&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),s}_getNow(){return(this.scheduler||gy).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length;let s=0;for(;s<i&&!(t-r[s].time<n);)s++;return i>e&&(s=Math.max(s,i-e)),s>0&&r.splice(0,s),r}}class yy{constructor(t,e){this.time=t,this.value=e}}let by=(()=>{class t{constructor(){this.topics=[{id:"all-topics",name:"All topics",topics:[],page:[t.CONST_OVERVIEW_PAGE,t.CONST_IOT_ANALYTICS_PAGE,t.CONST_API_INTEGRATION_MICROSERVICE_PAGE]},]}}return t.CONST_OVERVIEW_PAGE="overview",t.CONST_IOT_ANALYTICS_PAGE="iot-analytics",t.CONST_API_INTEGRATION_MICROSERVICE_PAGE="api_integration-microservice",t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),wy=(()=>{class t{constructor(t){this.http=t,this.CONST_CACHE_DATA_TIMEOUT_IN_MINUTES=5,this.CONST_GITHUB_FORWARD_RETRIEVE_PAGE_SIZE=18,this.CONST_GITHUB_HEADERS={"Content-Type":"application/json"}}search(t,e,n,r){return dy(this,void 0,void 0,function*(){let i,s=!0;const o=sessionStorage.getItem(`${t}:${n}:${r}:${e}`);let a;if(null!==o&&(a=JSON.parse(o),new Date(Date.parse(a.expiresAt))>new Date&&(s=!1)),!s)return Promise.resolve(a.data);try{const s=n-Math.floor(n/(this.CONST_GITHUB_FORWARD_RETRIEVE_PAGE_SIZE/r));return i=yield this.http.get(`https://api.github.com/search/repositories?q=org:softwareag+archived:false${e}&sort=updated&order=desc&page=${s}&per_page=${this.CONST_GITHUB_FORWARD_RETRIEVE_PAGE_SIZE}`,{headers:this.CONST_GITHUB_HEADERS}).toPromise(),this.persistGitHubProjectsToSessionStorage(t,e,n,r,i).then(),Promise.resolve({total_count:i.total_count,items:n%2==0?i.items.slice(9,this.CONST_GITHUB_FORWARD_RETRIEVE_PAGE_SIZE):i.items.slice(0,r),incomplete_results:i.incomplete_results})}catch(c){return Promise.reject(c)}})}persistGitHubProjectsToSessionStorage(t,e,n,r,i){return new Promise((s,o)=>{let a="";const c=new Date;c.setMinutes(c.getMinutes()+this.CONST_CACHE_DATA_TIMEOUT_IN_MINUTES),n%2==0&&n--;for(let l=0,u=n;l<i.items.length;l+=r,u++)a=`${t}:${u}:${r}:${e}`,sessionStorage.setItem(a,JSON.stringify({expiresAt:c,data:{incomplete_results:i.incomplete_results,items:i.items.slice(l,l+r),total_count:i.total_count}}));s()})}}return t.\u0275fac=function(e){return new(e||t)(yr(B_))},t.\u0275prov=ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Cy=(()=>{class t{constructor(t,e){this.router=t,this.titleService=e}pushToGoogleAnalytics(){gtag("config","G-WR7W2ZB88V",{page_title:this.titleService.getTitle(),page_path:this.router.url})}}return t.\u0275fac=function(e){return new(e||t)(yr(Ig),yr(fd))},t.\u0275prov=ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Sy=(()=>{class t extends by{constructor(t,e){super(),this.gitHubCacheService=t,this.gaService=e,this.softwareAGGitHubTopics=this.topics.filter(t=>t.page.includes(by.CONST_OVERVIEW_PAGE)),this.currentSearchParameters$=new vd({text:"",topic:"all-topics",page:1,pageSize:9}),this.lastSearchResult$=new _y(1)}getTopics(){return Promise.resolve(this.softwareAGGitHubTopics)}updateSearchParameters(t,e=!1){const n=this.currentSearchParameters$.getValue();!e&&(t.text&&t.text!==n.text||t.topic&&t.topic!==n.topic)&&(t.page=1);const r=Object.assign({},this.currentSearchParameters$.getValue(),t);this.currentSearchParameters$.next(r)}searchWithCurrentParams(){return dy(this,void 0,void 0,function*(){return this.search(this.currentSearchParameters$.getValue())})}search(t){return dy(this,void 0,void 0,function*(){const e=this.softwareAGGitHubTopics.find(e=>e.id===t.topic);let n="";e&&e.topics.length>0&&(n=e.topics.filter(t=>t.length>0).reduce((t,e)=>t+"+topic:"+e,""));let r="";""!==t.text&&(r+=`+${t.text}+in:readme+${t.text}+in:description+${t.text}+in:name`),""!==n&&(r+=n);const i=yield this.gitHubCacheService.search("overview",r,t.page,t.pageSize),s={params:t,response:i};return this.lastSearchResult$.next(s),this.gaService.pushToGoogleAnalytics(),s})}}return t.\u0275fac=function(e){return new(e||t)(yr(wy),yr(Cy))},t.\u0275prov=ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xy=(()=>{class t{constructor(t,e,n,r){this.router=t,this.route=e,this.messageService=n,this.overviewDataService=r,this.overViewWebpage=uy.Overview}getQueryParams(t){return{text:t.has("search")?t.get("search"):"",topic:t.has("topic")?t.get("topic"):"all-topics",page:t.has("page")?Number(t.get("page")):1}}initialize(){this.subscriptions=new h,this.route.queryParamMap.pipe(Jd()).subscribe(t=>{const e=this.getQueryParams(t);this.overviewDataService.updateSearchParameters(e,!0),this.overviewDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.overViewWebpage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.overViewWebpage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}),this.subscriptions.add(this.overviewDataService.currentSearchParameters$.pipe(Sm(1)).subscribe(t=>{const e=Object.assign(Object.assign(Object.assign({},""!==t.text?{search:t.text}:void 0),"all-topics"!==t.topic?{topic:t.topic}:void 0),"1"!==t.page.toString()?{page:t.page}:void 0);this.router.navigate([],{relativeTo:this.route,queryParams:e,replaceUrl:!0})}))}terminate(){this.subscriptions.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(yr(Ig),yr(pf),yr(ay),yr(Sy))},t.\u0275prov=ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ey=(()=>{class t{constructor(){this.searchText="",this.search=new Zc}searchForText(){this.search.emit(this.searchText)}keyUp(t){("Enter"===t.key&&""!==this.searchText||""===this.searchText)&&this.searchForText()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=jt({type:t,selectors:[["app-search-bar"]],inputs:{searchText:"searchText",gihHubService:"gihHubService"},outputs:{search:"search"},decls:3,vars:1,consts:[[1,"row"],[1,"col-lg-12"],["placeholder","Search...","type","text",1,"form-control","text",3,"ngModel","ngModelChange","keyup"]],template:function(t,e){1&t&&(Ro(0,"div",0),Ro(1,"div",1),Ro(2,"input",2),Uo("ngModelChange",function(t){return e.searchText=t})("keyup",function(t){return e.keyUp(t)}),No(),No(),No()),2&t&&(Xi(2),Io("ngModel",e.searchText))},directives:[Mm,Km,Mv],styles:["input.form-control[_ngcontent-%COMP%]{border:0;border-radius:0}"]}),t})();function Py(t,e){if(1&t){var n=Vo();Ro(0,"a",11),Uo("keyup.enter",function(){return Re(n),Bo(3),ko(1).previous()})("click",function(){return Re(n),Bo(3),ko(1).previous()}),fa(1),Ro(2,"span",12),fa(3),No(),No()}if(2&t){var r=Bo(3);Po("aria-label",r.previousLabel+" "+r.screenReaderPageLabel),Xi(1),ma(" ",r.previousLabel," "),Xi(2),ga(r.screenReaderPageLabel)}}function Oy(t,e){if(1&t&&(Ro(0,"span"),fa(1),Ro(2,"span",12),fa(3),No(),No()),2&t){var n=Bo(3);Xi(1),ma(" ",n.previousLabel," "),Xi(2),ga(n.screenReaderPageLabel)}}function Ty(t,e){if(1&t&&(Ro(0,"li",8),To(1,Py,4,3,"a",9),To(2,Oy,4,2,"span",10),No()),2&t){Bo(2);var n=ko(1);ra("disabled",n.isFirstPage()),Xi(1),Io("ngIf",1<n.getCurrent()),Xi(1),Io("ngIf",n.isFirstPage())}}function ky(t,e){if(1&t){var n=Vo();Ro(0,"a",11),Uo("keyup.enter",function(){Re(n);var t=Bo().$implicit;return Bo(2),ko(1).setCurrent(t.value)})("click",function(){Re(n);var t=Bo().$implicit;return Bo(2),ko(1).setCurrent(t.value)}),Ro(1,"span",12),fa(2),No(),Ro(3,"span"),fa(4),Gc(5,"number"),No(),No()}if(2&t){var r=Bo().$implicit,i=Bo(2);Xi(2),ma("",i.screenReaderPageLabel," "),Xi(2),ga("..."===r.label?r.label:Wc(5,2,r.label,""))}}function Ay(t,e){if(1&t&&(Lo(0),Ro(1,"span",12),fa(2),No(),Ro(3,"span"),fa(4),Gc(5,"number"),No(),jo()),2&t){var n=Bo().$implicit,r=Bo(2);Xi(2),ma("",r.screenReaderCurrentLabel," "),Xi(2),ga("..."===n.label?n.label:Wc(5,2,n.label,""))}}function Iy(t,e){if(1&t&&(Ro(0,"li"),To(1,ky,6,5,"a",9),To(2,Ay,6,5,"ng-container",10),No()),2&t){var n=e.$implicit;Bo(2);var r=ko(1);ra("current",r.getCurrent()===n.value)("ellipsis","..."===n.label),Xi(1),Io("ngIf",r.getCurrent()!==n.value),Xi(1),Io("ngIf",r.getCurrent()===n.value)}}function My(t,e){if(1&t){var n=Vo();Ro(0,"a",11),Uo("keyup.enter",function(){return Re(n),Bo(3),ko(1).next()})("click",function(){return Re(n),Bo(3),ko(1).next()}),fa(1),Ro(2,"span",12),fa(3),No(),No()}if(2&t){var r=Bo(3);Po("aria-label",r.nextLabel+" "+r.screenReaderPageLabel),Xi(1),ma(" ",r.nextLabel," "),Xi(2),ga(r.screenReaderPageLabel)}}function Ry(t,e){if(1&t&&(Ro(0,"span"),fa(1),Ro(2,"span",12),fa(3),No(),No()),2&t){var n=Bo(3);Xi(1),ma(" ",n.nextLabel," "),Xi(2),ga(n.screenReaderPageLabel)}}function Ny(t,e){if(1&t&&(Ro(0,"li",13),To(1,My,4,3,"a",9),To(2,Ry,4,2,"span",10),No()),2&t){Bo(2);var n=ko(1);ra("disabled",n.isLastPage()),Xi(1),Io("ngIf",!n.isLastPage()),Xi(1),Io("ngIf",n.isLastPage())}}function Dy(t,e){if(1&t&&(Ro(0,"ul",3),To(1,Ty,3,4,"li",4),Ro(2,"li",5),fa(3),No(),To(4,Iy,3,6,"li",6),To(5,Ny,3,4,"li",7),No()),2&t){var n=Bo(),r=ko(1);ra("responsive",n.responsive),Po("aria-label",n.screenReaderPaginationLabel),Xi(1),Io("ngIf",n.directionLinks),Xi(2),va(" ",r.getCurrent()," / ",r.getLastPage()," "),Xi(1),Io("ngForOf",r.pages),Xi(1),Io("ngIf",n.directionLinks)}}var Ly=function(){function t(){this.change=new Zc,this.instances={},this.DEFAULT_ID="DEFAULT_PAGINATION_ID"}return t.prototype.defaultId=function(){return this.DEFAULT_ID},t.prototype.register=function(t){return null==t.id&&(t.id=this.DEFAULT_ID),this.instances[t.id]?this.updateInstance(t):(this.instances[t.id]=t,!0)},t.prototype.updateInstance=function(t){var e=!1;for(var n in this.instances[t.id])t[n]!==this.instances[t.id][n]&&(this.instances[t.id][n]=t[n],e=!0);return e},t.prototype.getCurrentPage=function(t){if(this.instances[t])return this.instances[t].currentPage},t.prototype.setCurrentPage=function(t,e){if(this.instances[t]){var n=this.instances[t];e<=Math.ceil(n.totalItems/n.itemsPerPage)&&1<=e&&(this.instances[t].currentPage=e,this.change.emit(t))}},t.prototype.setTotalItems=function(t,e){this.instances[t]&&0<=e&&(this.instances[t].totalItems=e,this.change.emit(t))},t.prototype.setItemsPerPage=function(t,e){this.instances[t]&&(this.instances[t].itemsPerPage=e,this.change.emit(t))},t.prototype.getInstance=function(t){return void 0===t&&(t=this.DEFAULT_ID),this.instances[t]?this.clone(this.instances[t]):{}},t.prototype.clone=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),jy=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Vy=Number.MAX_SAFE_INTEGER,Hy=function(){function t(t){this.service=t,this.state={}}return t.prototype.transform=function(t,e){if(!(t instanceof Array)){var n=e.id||this.service.defaultId();return this.state[n]?this.state[n].slice:t}var r,i,s=e.totalItems&&e.totalItems!==t.length,o=this.createInstance(t,e),a=o.id,c=o.itemsPerPage,l=this.service.register(o);if(!s&&t instanceof Array){if(this.stateIsIdentical(a,t,r=(o.currentPage-1)*(c=+c||Vy),i=r+c))return this.state[a].slice;var u=t.slice(r,i);return this.saveState(a,t,u,r,i),this.service.change.emit(a),u}return l&&this.service.change.emit(a),this.saveState(a,t,t,r,i),t},t.prototype.createInstance=function(t,e){return this.checkConfig(e),{id:null!=e.id?e.id:this.service.defaultId(),itemsPerPage:+e.itemsPerPage||0,currentPage:+e.currentPage||1,totalItems:+e.totalItems||t.length}},t.prototype.checkConfig=function(t){var e=["itemsPerPage","currentPage"].filter(function(e){return!(e in t)});if(0<e.length)throw new Error("PaginatePipe: Argument is missing the following required properties: "+e.join(", "))},t.prototype.saveState=function(t,e,n,r,i){this.state[t]={collection:e,size:e.length,slice:n,start:r,end:i}},t.prototype.stateIsIdentical=function(t,e,n,r){var i=this.state[t];return!!i&&!(i.size!==e.length||i.start!==n||i.end!==r)&&i.slice.every(function(t,r){return t===e[n+r]})},(t=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o}([jy("design:paramtypes",[Ly])],t)).\u0275fac=function(e){return new(e||t)(Ao(Ly))},t.\u0275pipe=Bt({name:"paginate",type:t,pure:!1}),t}(),Fy=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},Uy=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};function zy(t){return!!t&&"false"!==t}!function(){function t(){this.maxSize=7,this.previousLabel="Previous",this.nextLabel="Next",this.screenReaderPaginationLabel="Pagination",this.screenReaderPageLabel="page",this.screenReaderCurrentLabel="You're on page",this.pageChange=new Zc,this.pageBoundsCorrection=new Zc,this._directionLinks=!0,this._autoHide=!1,this._responsive=!1}Object.defineProperty(t.prototype,"directionLinks",{get:function(){return this._directionLinks},set:function(t){this._directionLinks=zy(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoHide",{get:function(){return this._autoHide},set:function(t){this._autoHide=zy(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"responsive",{get:function(){return this._responsive},set:function(t){this._responsive=zy(t)},enumerable:!0,configurable:!0}),Fy([ul(),Uy("design:type",String)],t.prototype,"id",void 0),Fy([ul(),Uy("design:type",Number)],t.prototype,"maxSize",void 0),Fy([ul(),Uy("design:type",Boolean),Uy("design:paramtypes",[Boolean])],t.prototype,"directionLinks",null),Fy([ul(),Uy("design:type",Boolean),Uy("design:paramtypes",[Boolean])],t.prototype,"autoHide",null),Fy([ul(),Uy("design:type",Boolean),Uy("design:paramtypes",[Boolean])],t.prototype,"responsive",null),Fy([ul(),Uy("design:type",String)],t.prototype,"previousLabel",void 0),Fy([ul(),Uy("design:type",String)],t.prototype,"nextLabel",void 0),Fy([ul(),Uy("design:type",String)],t.prototype,"screenReaderPaginationLabel",void 0),Fy([ul(),Uy("design:type",String)],t.prototype,"screenReaderPageLabel",void 0),Fy([ul(),Uy("design:type",String)],t.prototype,"screenReaderCurrentLabel",void 0),Fy([hl(),Uy("design:type",Zc)],t.prototype,"pageChange",void 0),Fy([hl(),Uy("design:type",Zc)],t.prototype,"pageBoundsCorrection",void 0),t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=jt({type:t,selectors:[["pagination-controls"]],inputs:{maxSize:"maxSize",previousLabel:"previousLabel",nextLabel:"nextLabel",screenReaderPaginationLabel:"screenReaderPaginationLabel",screenReaderPageLabel:"screenReaderPageLabel",screenReaderCurrentLabel:"screenReaderCurrentLabel",directionLinks:"directionLinks",autoHide:"autoHide",responsive:"responsive",id:"id"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},decls:3,vars:3,consts:[[3,"id","maxSize","pageChange","pageBoundsCorrection"],["p","paginationApi"],["class","ngx-pagination","role","navigation",3,"responsive",4,"ngIf"],["role","navigation",1,"ngx-pagination"],["class","pagination-previous",3,"disabled",4,"ngIf"],[1,"small-screen"],[3,"current","ellipsis",4,"ngFor","ngForOf"],["class","pagination-next",3,"disabled",4,"ngIf"],[1,"pagination-previous"],["tabindex","0",3,"keyup.enter","click",4,"ngIf"],[4,"ngIf"],["tabindex","0",3,"keyup.enter","click"],[1,"show-for-sr"],[1,"pagination-next"]],template:function(t,e){if(1&t&&(Ro(0,"pagination-template",0,1),Uo("pageChange",function(t){return e.pageChange.emit(t)})("pageBoundsCorrection",function(t){return e.pageBoundsCorrection.emit(t)}),To(2,Dy,6,8,"ul",2),No()),2&t){var n=ko(1);Io("id",e.id)("maxSize",e.maxSize),Xi(2),Io("ngIf",!(e.autoHide&&n.pages.length<=1))}},directives:function(){return[Wy,yh,vh]},pipes:function(){return[kh]},styles:["\n.ngx-pagination {\n margin-left: 0;\n margin-bottom: 1rem; }\n .ngx-pagination::before, .ngx-pagination::after {\n content: ' ';\n display: table; }\n .ngx-pagination::after {\n clear: both; }\n .ngx-pagination li {\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n margin-right: 0.0625rem;\n border-radius: 0; }\n .ngx-pagination li {\n display: inline-block; }\n .ngx-pagination a,\n .ngx-pagination button {\n color: #0a0a0a; \n display: block;\n padding: 0.1875rem 0.625rem;\n border-radius: 0; }\n .ngx-pagination a:hover,\n .ngx-pagination button:hover {\n background: #e6e6e6; }\n .ngx-pagination .current {\n padding: 0.1875rem 0.625rem;\n background: #2199e8;\n color: #fefefe;\n cursor: default; }\n .ngx-pagination .disabled {\n padding: 0.1875rem 0.625rem;\n color: #cacaca;\n cursor: default; } \n .ngx-pagination .disabled:hover {\n background: transparent; }\n .ngx-pagination a, .ngx-pagination button {\n cursor: pointer; }\n\n.ngx-pagination .pagination-previous a::before,\n.ngx-pagination .pagination-previous.disabled::before { \n content: '\xab';\n display: inline-block;\n margin-right: 0.5rem; }\n\n.ngx-pagination .pagination-next a::after,\n.ngx-pagination .pagination-next.disabled::after {\n content: '\xbb';\n display: inline-block;\n margin-left: 0.5rem; }\n\n.ngx-pagination .show-for-sr {\n position: absolute !important;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0); }\n.ngx-pagination .small-screen {\n display: none; }\n@media screen and (max-width: 601px) {\n .ngx-pagination.responsive .small-screen {\n display: inline-block; } \n .ngx-pagination.responsive li:not(.small-screen):not(.pagination-previous):not(.pagination-next) {\n display: none; }\n}\n "],encapsulation:2,changeDetection:0})}();var Gy=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},By=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Wy=function(){function t(t,e){var n=this;this.service=t,this.changeDetectorRef=e,this.maxSize=7,this.pageChange=new Zc,this.pageBoundsCorrection=new Zc,this.pages=[],this.changeSub=this.service.change.subscribe(function(t){n.id===t&&(n.updatePageLinks(),n.changeDetectorRef.markForCheck(),n.changeDetectorRef.detectChanges())})}return t.prototype.ngOnInit=function(){void 0===this.id&&(this.id=this.service.defaultId()),this.updatePageLinks()},t.prototype.ngOnChanges=function(t){this.updatePageLinks()},t.prototype.ngOnDestroy=function(){this.changeSub.unsubscribe()},t.prototype.previous=function(){this.checkValidId(),this.setCurrent(this.getCurrent()-1)},t.prototype.next=function(){this.checkValidId(),this.setCurrent(this.getCurrent()+1)},t.prototype.isFirstPage=function(){return 1===this.getCurrent()},t.prototype.isLastPage=function(){return this.getLastPage()===this.getCurrent()},t.prototype.setCurrent=function(t){this.pageChange.emit(t)},t.prototype.getCurrent=function(){return this.service.getCurrentPage(this.id)},t.prototype.getLastPage=function(){var t=this.service.getInstance(this.id);return t.totalItems<1?1:Math.ceil(t.totalItems/t.itemsPerPage)},t.prototype.getTotalItems=function(){return this.service.getInstance(this.id).totalItems},t.prototype.checkValidId=function(){null==this.service.getInstance(this.id).id&&console.warn('PaginationControlsDirective: the specified id "'+this.id+'" does not match any registered PaginationInstance')},t.prototype.updatePageLinks=function(){var t=this,e=this.service.getInstance(this.id),n=this.outOfBoundCorrection(e);n!==e.currentPage?setTimeout(function(){t.pageBoundsCorrection.emit(n),t.pages=t.createPageArray(e.currentPage,e.itemsPerPage,e.totalItems,t.maxSize)}):this.pages=this.createPageArray(e.currentPage,e.itemsPerPage,e.totalItems,this.maxSize)},t.prototype.outOfBoundCorrection=function(t){var e=Math.ceil(t.totalItems/t.itemsPerPage);return e<t.currentPage&&0<e?e:t.currentPage<1?1:t.currentPage},t.prototype.createPageArray=function(t,e,n,r){r=+r;for(var i=[],s=Math.ceil(n/e),o=Math.ceil(r/2),a=t<=o,c=s-o<t,l=!a&&!c,u=r<s,h=1;h<=s&&h<=r;){var d=this.calculatePageNumber(h,t,r,s);i.push({label:u&&(2===h&&(l||c)||h===r-1&&(l||a))?"...":d,value:d}),h++}return i},t.prototype.calculatePageNumber=function(t,e,n,r){var i=Math.ceil(n/2);return t===n?r:1===t?t:n<r?r-i<e?r-n+t:i<e?e-i+t:t:t},Gy([ul(),By("design:type",String)],t.prototype,"id",void 0),Gy([ul(),By("design:type",Number)],t.prototype,"maxSize",void 0),Gy([hl(),By("design:type",Zc)],t.prototype,"pageChange",void 0),Gy([hl(),By("design:type",Zc)],t.prototype,"pageBoundsCorrection",void 0),(t=Gy([By("design:paramtypes",[Ly,hc])],t)).\u0275fac=function(e){return new(e||t)(Ao(Ly),Ao(hc))},t.\u0275dir=Gt({type:t,selectors:[["pagination-template"],["","pagination-template",""]],inputs:{maxSize:"maxSize",id:"id"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},exportAs:["paginationApi"],features:[ae]}),t}(),$y=function(){function t(){}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:[Ly],imports:[[Ah]]}),t}();function qy(t,e){if(1&t){const t=Vo();Ro(0,"li",8),Ro(1,"a",9),Uo("click",function(){return Re(t),Bo(),ko(1).previous()}),Ro(2,"span"),fa(3),No(),No(),No()}if(2&t){const t=Bo();Xi(3),ga(t.previousLabel)}}function Yy(t,e){if(1&t&&(Ro(0,"li",10),Ro(1,"span"),fa(2),No(),No()),2&t){const t=Bo();Xi(2),ga(t.previousLabel)}}function Zy(t,e){if(1&t){const t=Vo();Ro(0,"a",13),Uo("click",function(){Re(t);const e=Bo().$implicit;return Bo().pageChange.emit(e.value)}),Ro(1,"span"),fa(2),No(),No()}if(2&t){const t=Bo().$implicit,e=Bo();Io("routerLink",e.getPageUrl())("queryParams",e.getPageQueryParams(t.value)),Xi(2),ga(t.label)}}function Qy(t,e){if(1&t&&(Ro(0,"div"),Ro(1,"span"),fa(2),No(),No()),2&t){const t=Bo().$implicit;Xi(2),ga(t.label)}}function Ky(t,e){if(1&t&&(Ro(0,"li"),To(1,Zy,3,3,"a",11),To(2,Qy,3,1,"div",12),No()),2&t){const t=e.$implicit;Bo();const n=ko(1);ra("current",n.getCurrent()===t.value),Xi(1),Io("ngIf",n.getCurrent()!==t.value),Xi(1),Io("ngIf",n.getCurrent()===t.value)}}function Xy(t,e){if(1&t){const t=Vo();Ro(0,"li",14),Ro(1,"a",9),Uo("click",function(){return Re(t),Bo(),ko(1).next()}),Ro(2,"span"),fa(3),No(),No(),No()}if(2&t){const t=Bo();Xi(3),ga(t.nextLabel)}}function Jy(t,e){if(1&t&&(Ro(0,"li",15),Ro(1,"span"),fa(2),No(),No()),2&t){const t=Bo();Xi(2),ga(t.nextLabel)}}let tb=(()=>{class t{constructor(t,e){this.router=t,this.route=e,this._directionLinks=!0,this._autoHide=!1,this._responsive=!1,this.previousLabel="Previous",this.nextLabel="Next",this.screenReaderPaginationLabel="Pagination",this.screenReaderPageLabel="page",this.screenReaderCurrentLabel="You're on page",this.pageChange=new Zc,this.pageBoundsCorrection=new Zc}get directionLinks(){return this._directionLinks}set directionLinks(t){this._directionLinks=t}get autoHide(){return this._autoHide}set autoHide(t){this._autoHide=t}get responsive(){return this._responsive}set responsive(t){this._responsive=t}getPageUrl(){return this.router.url.split("?")[0]}getPageQueryParams(t){return Object.assign({},this.route.snapshot.queryParamMap.params,1!==t?{page:t.toString()}:{page:null})}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ig),Ao(pf))},t.\u0275cmp=jt({type:t,selectors:[["app-public-custom-pagination"]],inputs:{directionLinks:"directionLinks",autoHide:"autoHide",responsive:"responsive",previousLabel:"previousLabel",nextLabel:"nextLabel",screenReaderPaginationLabel:"screenReaderPaginationLabel",screenReaderPageLabel:"screenReaderPageLabel",screenReaderCurrentLabel:"screenReaderCurrentLabel"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},decls:8,vars:5,consts:[[3,"pageChange","pageBoundsCorrection"],["p","paginationApi"],["role","navigation","aria-label","Pagination",1,"ngx-pagination"],["class","pagination-previous",4,"ngIf"],["class","pagination-previous disabled",4,"ngIf"],[3,"current",4,"ngFor","ngForOf"],["class","pagination-next",4,"ngIf"],["class","pagination-next disabled",4,"ngIf"],[1,"pagination-previous"],[3,"click"],[1,"pagination-previous","disabled"],[3,"routerLink","queryParams","click",4,"ngIf"],[4,"ngIf"],[3,"routerLink","queryParams","click"],[1,"pagination-next"],[1,"pagination-next","disabled"]],template:function(t,e){if(1&t&&(Ro(0,"pagination-template",0,1),Uo("pageChange",function(t){return e.pageChange.emit(t)})("pageBoundsCorrection",function(t){return e.pageBoundsCorrection.emit(t)}),Ro(2,"ul",2),To(3,qy,4,1,"li",3),To(4,Yy,3,1,"li",4),To(5,Ky,3,4,"li",5),To(6,Xy,4,1,"li",6),To(7,Jy,3,1,"li",7),No(),No()),2&t){const t=ko(1);Xi(3),Io("ngIf",!t.isFirstPage()),Xi(1),Io("ngIf",t.isFirstPage()),Xi(1),Io("ngForOf",t.pages),Xi(1),Io("ngIf",!t.isLastPage()),Xi(1),Io("ngIf",t.isLastPage())}},directives:[Wy,yh,vh,Mg],styles:['.ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem}.ngx-pagination[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%]:before{content:" ";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0;display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#011f3d;display:block;padding:.1875rem .625rem;border-radius:0}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#f2f2ea}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background-color:#011f3d;color:#f2f2ea;cursor:default}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{padding:.1875rem .625rem;color:#cacaca;cursor:default}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{content:"\xab";display:inline-block;margin-right:.5rem}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{content:"\xbb";display:inline-block;margin-left:.5rem}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width:601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}']}),t})();var eb={prefix:"fas",iconName:"code-branch",icon:[384,512,[],"f126","M384 144c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 36.4 24.3 67.1 57.5 76.8-.6 16.1-4.2 28.5-11 36.9-15.4 19.2-49.3 22.4-85.2 25.7-28.2 2.6-57.4 5.4-81.3 16.9v-144c32.5-10.2 56-40.5 56-76.3 0-44.2-35.8-80-80-80S0 35.8 0 80c0 35.8 23.5 66.1 56 76.3v199.3C23.5 365.9 0 396.2 0 432c0 44.2 35.8 80 80 80s80-35.8 80-80c0-34-21.2-63.1-51.2-74.6 3.1-5.2 7.8-9.8 14.9-13.4 16.2-8.2 40.4-10.4 66.1-12.8 42.2-3.9 90-8.4 118.2-43.4 14-17.4 21.1-39.8 21.6-67.9 31.6-10.8 54.4-40.7 54.4-75.9zM80 64c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm0 384c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm224-320c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16z"]},nb={prefix:"fas",iconName:"star",icon:[576,512,[],"f005","M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"]},rb={prefix:"far",iconName:"clock",icon:[512,512,[],"f017","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"]};function ib(t){return(ib="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function sb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ob(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){sb(t,e,n[e])})}return t}function ab(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,s=void 0;try{for(var o,a=t[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(c){i=!0,s=c}finally{try{r||null==a.return||a.return()}finally{if(i)throw s}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var cb={},lb={};try{"undefined"!=typeof window&&(cb=window),"undefined"!=typeof document&&(lb=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&performance}catch(gC){}var ub=(cb.navigator||{}).userAgent,hb=void 0===ub?"":ub,db=cb,pb=lb,fb=!!pb.documentElement&&!!pb.head&&"function"==typeof pb.addEventListener&&"function"==typeof pb.createElement,gb=(~hb.indexOf("MSIE")||hb.indexOf("Trident/"),"svg-inline--fa"),mb=[1,2,3,4,5,6,7,8,9,10],vb=mb.concat([11,12,13,14,15,16,17,18,19,20]),_b={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},yb=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",_b.GROUP,_b.SWAP_OPACITY,_b.PRIMARY,_b.SECONDARY].concat(mb.map(function(t){return"".concat(t,"x")})).concat(vb.map(function(t){return"w-".concat(t)})),db.FontAwesomeConfig||{});pb&&"function"==typeof pb.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(t){var e=ab(t,2),n=e[1],r=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=pb.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(e[0]));null!=r&&(yb[n]=r)});var bb=ob({},{familyPrefix:"fa",replacementClass:gb,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},yb);bb.autoReplaceSvg||(bb.observeMutations=!1);var wb=ob({},bb);db.FontAwesomeConfig=wb;var Cb=db||{};Cb.___FONT_AWESOME___||(Cb.___FONT_AWESOME___={}),Cb.___FONT_AWESOME___.styles||(Cb.___FONT_AWESOME___.styles={}),Cb.___FONT_AWESOME___.hooks||(Cb.___FONT_AWESOME___.hooks={}),Cb.___FONT_AWESOME___.shims||(Cb.___FONT_AWESOME___.shims=[]);var Sb=Cb.___FONT_AWESOME___,xb=[];fb&&((pb.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(pb.readyState)||pb.addEventListener("DOMContentLoaded",function t(){pb.removeEventListener("DOMContentLoaded",t),xb.map(function(t){return t()})}));var Eb,Pb="pending",Ob="settled",Tb="fulfilled",kb="rejected",Ab=function(){},Ib="undefined"!=typeof global&&void 0!==global.process&&"function"==typeof global.process.emit,Mb="undefined"==typeof setImmediate?setTimeout:setImmediate,Rb=[];function Nb(){for(var t=0;t<Rb.length;t++)Rb[t][0](Rb[t][1]);Rb=[],Eb=!1}function Db(t,e){Rb.push([t,e]),Eb||(Eb=!0,Mb(Nb,0))}function Lb(t){var e=t.owner,n=e._state,r=e._data,i=t[n],s=t.then;if("function"==typeof i){n=Tb;try{r=i(r)}catch(gC){Fb(s,gC)}}jb(s,r)||(n===Tb&&Vb(s,r),n===kb&&Fb(s,r))}function jb(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===ib(e))){var r=e.then;if("function"==typeof r)return r.call(e,function(r){n||(n=!0,e===r?Hb(t,r):Vb(t,r))},function(e){n||(n=!0,Fb(t,e))}),!0}}catch(gC){return n||Fb(t,gC),!0}return!1}function Vb(t,e){t!==e&&jb(t,e)||Hb(t,e)}function Hb(t,e){t._state===Pb&&(t._state=Ob,t._data=e,Db(zb,t))}function Fb(t,e){t._state===Pb&&(t._state=Ob,t._data=e,Db(Gb,t))}function Ub(t){t._then=t._then.forEach(Lb)}function zb(t){t._state=Tb,Ub(t)}function Gb(t){t._state=kb,Ub(t),!t._handled&&Ib&&global.process.emit("unhandledRejection",t._data,t)}function Bb(t){global.process.emit("rejectionHandled",t)}function Wb(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof Wb==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(t,e){function n(t){Fb(e,t)}try{t(function(t){Vb(e,t)},n)}catch(gC){n(gC)}}(t,this)}Wb.prototype={constructor:Wb,_state:Pb,_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(Ab),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,this._state===kb&&Ib&&Db(Bb,this)),this._state===Tb||this._state===kb?Db(Lb,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},Wb.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new Wb(function(e,n){var r=[],i=0;function s(t){return i++,function(n){r[t]=n,--i||e(r)}}for(var o,a=0;a<t.length;a++)(o=t[a])&&"function"==typeof o.then?o.then(s(a),n):r[a]=o;i||e(r)})},Wb.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new Wb(function(e,n){for(var r,i=0;i<t.length;i++)(r=t[i])&&"function"==typeof r.then?r.then(e,n):e(r)})},Wb.resolve=function(t){return t&&"object"===ib(t)&&t.constructor===Wb?t:new Wb(function(e){e(t)})},Wb.reject=function(t){return new Wb(function(e,n){n(t)})};var $b={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function qb(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function Yb(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Zb(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,": ").concat(t[n],";")},"")}function Qb(t){return t.size!==$b.size||t.x!==$b.x||t.y!==$b.y||t.rotate!==$b.rotate||t.flipX||t.flipY}function Kb(t){var e=t.transform,n=t.iconWidth,r={transform:"translate(".concat(t.containerWidth/2," 256)")},i="translate(".concat(32*e.x,", ").concat(32*e.y,") "),s="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),o="rotate(".concat(e.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(s," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}var Xb={x:0,y:0,width:"100%",height:"100%"};function Jb(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function tw(t){var e=t.icons,n=e.main,r=e.mask,i=t.prefix,s=t.iconName,o=t.transform,a=t.symbol,c=t.title,l=t.maskId,u=t.titleId,h=t.extra,d=t.watchable,p=void 0!==d&&d,f=r.found?r:n,g=f.width,m=f.height,v="fak"===i,_=v?"":"fa-w-".concat(Math.ceil(g/m*16)),y=[wb.replacementClass,s?"".concat(wb.familyPrefix,"-").concat(s):"",_].filter(function(t){return-1===h.classes.indexOf(t)}).filter(function(t){return""!==t||!!t}).concat(h.classes).join(" "),b={children:[],attributes:ob({},h.attributes,{"data-prefix":i,"data-icon":s,class:y,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(m)})},w=v&&!~h.classes.indexOf("fa-fw")?{width:"".concat(g/m*16*.0625,"em")}:{};p&&(b.attributes["data-fa-i2svg"]=""),c&&b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(u||qb())},children:[c]});var C=ob({},b,{prefix:i,iconName:s,main:n,mask:r,maskId:l,transform:o,symbol:a,styles:ob({},w,h.styles)}),S=r.found&&n.found?function(t){var e,n=t.children,r=t.attributes,i=t.main,s=t.mask,o=t.maskId,a=i.icon,c=s.icon,l=Kb({transform:t.transform,containerWidth:s.width,iconWidth:i.width}),u={tag:"rect",attributes:ob({},Xb,{fill:"white"})},h=a.children?{children:a.children.map(Jb)}:{},d={tag:"g",attributes:ob({},l.inner),children:[Jb(ob({tag:a.tag,attributes:ob({},a.attributes,l.path)},h))]},p={tag:"g",attributes:ob({},l.outer),children:[d]},f="mask-".concat(o||qb()),g="clip-".concat(o||qb()),m={tag:"mask",attributes:ob({},Xb,{id:f,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[u,p]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:(e=c,"g"===e.tag?e.children:[e])},m]};return n.push(v,{tag:"rect",attributes:ob({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(f,")")},Xb)}),{children:n,attributes:r}}(C):function(t){var e=t.children,n=t.attributes,r=t.main,i=t.transform,s=Zb(t.styles);if(s.length>0&&(n.style=s),Qb(i)){var o=Kb({transform:i,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:ob({},o.outer),children:[{tag:"g",attributes:ob({},o.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:ob({},r.icon.attributes,o.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(C),x=S.attributes;return C.children=S.children,C.attributes=x,a?function(t){var e=t.iconName,n=t.children,r=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ob({},t.attributes,{id:!0===r?"".concat(t.prefix,"-").concat(wb.familyPrefix,"-").concat(e):r}),children:n}]}]}(C):function(t){var e=t.children,n=t.main,r=t.mask,i=t.attributes,s=t.styles,o=t.transform;if(Qb(o)&&n.found&&!r.found){var a={x:n.width/n.height/2,y:.5};i.style=Zb(ob({},s,{"transform-origin":"".concat(a.x+o.x/16,"em ").concat(a.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:e}]}(C)}var ew=function(t,e,n,r){var i,s,o,a=Object.keys(t),c=a.length,l=void 0!==r?function(t,e){return function(n,r,i,s){return t.call(e,n,r,i,s)}}(e,r):e;for(void 0===n?(i=1,o=t[a[0]]):(i=0,o=n);i<c;i++)o=l(o,t[s=a[i]],s,t);return o};function nw(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,s=Object.keys(e).reduce(function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t},{});"function"!=typeof Sb.hooks.addPack||i?Sb.styles[t]=ob({},Sb.styles[t]||{},s):Sb.hooks.addPack(t,s),"fas"===t&&nw("fa",e)}var rw=Sb.styles,iw=Sb.shims,sw=function(){var t=function(t){return ew(rw,function(e,n,r){return e[r]=ew(n,t,{}),e},{})};t(function(t,e,n){return e[3]&&(t[e[3]]=n),t}),t(function(t,e,n){var r=e[2];return t[n]=n,r.forEach(function(e){t[e]=n}),t});var e="far"in rw;ew(iw,function(t,n){var r=n[1];return"far"!==r||e||(r="fas"),t[n[0]]={prefix:r,iconName:n[2]},t},{})};function ow(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function aw(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,i=t.children,s=void 0===i?[]:i;return"string"==typeof t?Yb(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,'="').concat(Yb(t[n]),'" ')},"").trim()}(r),">").concat(s.map(aw).join(""),"</").concat(e,">")}function cw(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}sw(),(cw.prototype=Object.create(Error.prototype)).constructor=cw;var lw={fill:"currentColor"},uw={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},hw=(ob({},lw,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),ob({},uw,{attributeName:"opacity"}));function dw(t){var e=t[0],n=t[1],r=ab(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(wb.familyPrefix,"-").concat(_b.GROUP)},children:[{tag:"path",attributes:{class:"".concat(wb.familyPrefix,"-").concat(_b.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(wb.familyPrefix,"-").concat(_b.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}function pw(){wb.autoAddCss&&!_w&&(function(t){if(t&&fb){var e=pb.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=pb.head.childNodes,r=null,i=n.length-1;i>-1;i--){var s=n[i],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=s)}pb.head.insertBefore(e,r)}}(function(){var t="fa",e=gb,n=wb.familyPrefix,r=wb.replacementClass,i='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if(n!==t||r!==e){var s=new RegExp("\\.".concat(t,"\\-"),"g"),o=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");i=i.replace(s,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(r))}return i}()),_w=!0)}function fw(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(t){return aw(t)})}}),Object.defineProperty(t,"node",{get:function(){if(fb){var e=pb.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function gw(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return ow(vw.definitions,n,r)||ow(Sb.styles,n,r)}ob({},lw,{cx:"256",cy:"364",r:"28"}),ob({},uw,{attributeName:"r",values:"28;14;28;28;14;28;"}),ob({},hw,{values:"1;0;1;1;0;1;"}),ob({},lw,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),ob({},hw,{values:"1;0;0;0;0;1;"}),ob({},lw,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),ob({},hw,{values:"0;0;1;1;0;0;"});var mw,vw=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e;return(e=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(e){t.definitions[e]=ob({},t.definitions[e]||{},i[e]),nw(e,i[e]),sw()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map(function(e){var r=n[e],i=r.prefix,s=r.iconName,o=r.icon;t[i]||(t[i]={}),t[i][s]=o}),t}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t.prototype,e),t}()),_w=!1,yw=(mw=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?$b:n,i=e.symbol,s=void 0!==i&&i,o=e.mask,a=void 0===o?null:o,c=e.maskId,l=void 0===c?null:c,u=e.title,h=void 0===u?null:u,d=e.titleId,p=void 0===d?null:d,f=e.classes,g=void 0===f?[]:f,m=e.attributes,v=void 0===m?{}:m,_=e.styles,y=void 0===_?{}:_;if(t){var b=t.prefix,w=t.iconName,C=t.icon;return fw(ob({type:"icon"},t),function(){return pw(),wb.autoA11y&&(h?v["aria-labelledby"]="".concat(wb.replacementClass,"-title-").concat(p||qb()):(v["aria-hidden"]="true",v.focusable="false")),tw({icons:{main:dw(C),mask:a?dw(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:w,transform:ob({},$b,r),symbol:s,title:h,maskId:l,titleId:p,extra:{attributes:v,styles:y,classes:g}})})}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:gw(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:gw(r||{})),mw(n,ob({},e,{mask:r}))});const bw=["*"];let ww=(()=>{class t{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Cw=(()=>{class t{constructor(){this.definitions={}}addIcons(...t){for(const e of t)e.prefix in this.definitions||(this.definitions[e.prefix]={}),this.definitions[e.prefix][e.iconName]=e}addIconPacks(...t){for(const e of t){const t=Object.keys(e).map(t=>e[t]);this.addIcons(...t)}}getIconDefinition(t,e){return t in this.definitions&&e in this.definitions[t]?this.definitions[t][e]:null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ot({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Sw=t=>{const e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip,["fa-"+t.size]:null!==t.size,["fa-rotate-"+t.rotate]:null!==t.rotate,["fa-pull-"+t.pull]:null!==t.pull,["fa-stack-"+t.stackItemSize]:null!=t.stackItemSize};return Object.keys(e).map(t=>e[t]?t:null).filter(t=>t)};let xw=(()=>{class t{constructor(){this.stackItemSize="1x"}ngOnChanges(t){if("size"in t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Gt({type:t,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[ae]}),t})(),Ew=(()=>{class t{constructor(t,e){this.renderer=t,this.elementRef=e}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(t){"size"in t&&(null!=t.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,"fa-"+t.size.currentValue),null!=t.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,"fa-"+t.size.previousValue))}}return t.\u0275fac=function(e){return new(e||t)(Ao(Ba),Ao(za))},t.\u0275cmp=jt({type:t,selectors:[["fa-stack"]],inputs:{size:"size"},features:[ae],ngContentSelectors:bw,decls:1,vars:0,template:function(t,e){1&t&&($o(),qo(0))},encapsulation:2}),t})(),Pw=(()=>{class t{constructor(t,e,n,r,i){this.sanitizer=t,this.config=e,this.iconLibrary=n,this.stackItem=r,this.classes=[],null!=i&&null==r&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(t){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();let e=null;if(e=null==this.icon?this.config.fallbackIcon:this.icon,t){const t=this.findIconDefinition(e);if(null!=t){const e=this.buildParams();this.renderIcon(t,e)}}}render(){this.ngOnChanges({})}findIconDefinition(t){const e=((t,e)=>{return void 0!==(n=t).prefix&&void 0!==n.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:e,iconName:t}:void 0;var n})(t,this.config.defaultPrefix);if("icon"in e)return e;const n=this.iconLibrary.getIconDefinition(e.prefix,e.iconName);if(null!=n)return n;const r=gw(e);if(null!=r){const t="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+t);else if(!this.config.globalLibrary)throw new Error(t);return r}return(t=>{throw new Error(`Could not find icon with iconName=${t.iconName} and prefix=${t.prefix} in the icon library.`)})(e),null}buildParams(){const t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},e="string"==typeof this.transform?function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce(function(t,e){var n=e.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return t.flipX=!0,t;if(r&&"v"===i)return t.flipY=!0,t;if(i=parseFloat(i),isNaN(i))return t;switch(r){case"grow":t.size=t.size+i;break;case"shrink":t.size=t.size-i;break;case"left":t.x=t.x-i;break;case"right":t.x=t.x+i;break;case"up":t.y=t.y-i;break;case"down":t.y=t.y+i;break;case"rotate":t.rotate=t.rotate+i}return t},e):e}(this.transform):this.transform;return{title:this.title,transform:e,classes:[...Sw(t),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(t,e){const n=yw(t,e);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))}}return t.\u0275fac=function(e){return new(e||t)(Ao(sd),Ao(ww),Ao(Cw),Ao(xw,8),Ao(Ew,8))},t.\u0275cmp=jt({type:t,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(t,e){2&t&&(_a("innerHTML",e.renderedIconHTML,ei),Po("title",e.title))},inputs:{classes:"classes",icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[ae],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),Ow=(()=>{class t{}return t.\u0275mod=Ut({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)}}),t})(),Tw=(()=>{class t{transform(t,e,n){let r="";if(void 0!==t){let i=500;if(e&&(i=e),void 0===n&&(n=""),null!==t&&t.length>0){r=t.substring(0,i);const s=r.split("").lastIndexOf(".");-1!==s&&s>i&&(r=r.substring(0,s+1)),t.length>e&&(r+=n)}}return r}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Bt({name:"TextLimit",type:t,pure:!0}),t})();function kw(t,e){1&t&&(Lo(0),Ro(1,"div"),Do(2,"img",15),No(),jo())}function Aw(t,e){1&t&&(Lo(0),Ro(1,"a",16),Ro(2,"div",17),Ro(3,"span",18),Ro(4,"span",19),fa(5,"VIEW ON TERRACOTTA.ORG"),No(),Ro(6,"span",20),an(),Ro(7,"svg",21),Do(8,"path",22),No(),No(),No(),No(),No(),jo())}function Iw(t,e){1&t&&(Lo(0),Ro(1,"a",23),Ro(2,"div",17),Ro(3,"span",24),Ro(4,"span",19),fa(5,"VIEW ON EHCACHE.ORG"),No(),Ro(6,"span",20),an(),Ro(7,"svg",21),Do(8,"path",22),No(),No(),No(),No(),No(),jo())}function Mw(t,e){1&t&&(Lo(0),Ro(1,"a",25),Ro(2,"div",17),Ro(3,"span",26),Ro(4,"span",19),fa(5,"VIEW ON QUARTZ-SCHEDULER.ORG"),No(),Ro(6,"span",20),an(),Ro(7,"svg",21),Do(8,"path",22),No(),No(),No(),No(),No(),jo())}function Rw(t,e){1&t&&(Lo(0),Ro(1,"a",27),Ro(2,"div",17),Ro(3,"span",28),Ro(4,"span",19),fa(5,"VIEW ON WEBMETHODS IO"),No(),Ro(6,"span",20),an(),Ro(7,"svg",21),Do(8,"path",22),No(),No(),No(),No(),No(),jo())}function Nw(t,e){1&t&&(Lo(0),Ro(1,"a",29),Ro(2,"div",17),Ro(3,"span",30),Ro(4,"span",19),fa(5,"VIEW ON THIN EDGE"),No(),Ro(6,"span",20),an(),Ro(7,"svg",21),Do(8,"path",22),No(),No(),No(),No(),No(),jo())}function Dw(t,e){if(1&t&&(Lo(0),Ro(1,"a",4),Ro(2,"div",17),Ro(3,"span",31),Ro(4,"span",19),fa(5,"VIEW ON GITHUB"),No(),Ro(6,"span",20),an(),Ro(7,"svg",21),Do(8,"path",22),No(),No(),No(),No(),No(),jo()),2&t){const t=Bo();Xi(1),Yo("href",t.gitHubProject.html_url,ni)}}let Lw=(()=>{class t{constructor(){this.faStar=nb,this.faFork=eb,this.faClock=rb}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=jt({type:t,selectors:[["app-project-card"]],inputs:{gitHubProject:"gitHubProject"},decls:37,vars:28,consts:[[1,"card"],[1,"card-body"],[1,"row"],[1,"col-lg-12","title-container"],["target","_blank",1,"link",3,"href"],[3,"title"],[1,"col-lg-12","desc-container"],[1,"col-lg-12","props-container"],[1,"col-4","col-lg-4"],[3,"icon"],[1,"col-3","col-lg-3"],[1,"col-5","col-lg-5","text-right"],[1,"gp-container","pt-2","pb-2"],[4,"ngIf"],[1,"col-lg-12"],["title","Developed by Global Presales","src","./assets/global-presales.png","alt","Developed by Global Presales",1,"gp-logo"],["href","https://www.terracotta.org","target","_blank",1,"link"],[1,"link-container"],["title","VIEW ON TERRACOTTA.ORG"],[1,"text"],[1,"icon"],["viewBox","0 0 128 128"],["fill","currentColor","d","M103.06,102.65l.46-71.27a8.42,8.42,0,0,0-8.37-8.47v0H21.6v8.41H88.67L19.93,100.1l6.36,6.36L95.06,37.69l-.42,64.91Z",1,"a-icon__main-dark"],["href","https://www.ehcache.org","target","_blank",1,"link"],["title","VIEW ON EHCACHE.ORG"],["href","http://www.quartz-scheduler.org","target","_blank",1,"link"],["title","VIEW ON QUARTZ-SCHEDULER.ORG"],["href","https://open-source.softwareag.com/webmethods-io-flowservice/","target","_blank",1,"link"],["title","VIEW ON WEBMETHODS IO"],["href","https://thin-edge.io/","target","_blank",1,"link"],["title","VIEW ON THIN EDGE"],["title","VIEW ON GITHUB"]],template:function(t,e){1&t&&(Ro(0,"div",0),Ro(1,"div",1),Ro(2,"div",2),Ro(3,"div",3),Ro(4,"a",4),Ro(5,"h4",5),Ro(6,"pre"),fa(7),Gc(8,"TextLimit"),No(),No(),No(),No(),No(),Ro(9,"div",2),Ro(10,"div",6),fa(11),Gc(12,"TextLimit"),No(),No(),Ro(13,"div",2),Ro(14,"div",7),Ro(15,"div",2),Ro(16,"div",8),Do(17,"fa-icon",9),fa(18),No(),Ro(19,"div",10),Do(20,"fa-icon",9),fa(21),No(),Ro(22,"div",11),Do(23,"fa-icon",9),fa(24),Gc(25,"date"),No(),No(),No(),No(),Ro(26,"div",2),Ro(27,"div",12),To(28,kw,3,0,"ng-container",13),No(),No(),Ro(29,"div",2),Ro(30,"div",14),To(31,Aw,9,0,"ng-container",13),To(32,Iw,9,0,"ng-container",13),To(33,Mw,9,0,"ng-container",13),To(34,Rw,9,0,"ng-container",13),To(35,Nw,9,0,"ng-container",13),To(36,Dw,9,1,"ng-container",13),No(),No(),No(),No()),2&t&&(Xi(4),Yo("href",e.gitHubProject.html_url,ni),Xi(1),Yo("title",e.gitHubProject.name),Xi(2),ga($c(8,17,e.gitHubProject.name,55,"...")),Xi(4),ma(" ",$c(12,21,e.gitHubProject.description,200,"...")," "),Xi(6),Io("icon",e.faStar),Xi(1),ma(" ",e.gitHubProject.stargazers_count," "),Xi(2),Io("icon",e.faFork),Xi(1),ma(" ",e.gitHubProject.forks_count," "),Xi(2),Io("icon",e.faClock),Xi(1),ma(" ",Wc(25,25,e.gitHubProject.updated_at,"yyyy-MM-dd")," "),Xi(4),Io("ngIf",e.gitHubProject.description&&e.gitHubProject.description.includes("Global Presales")),Xi(3),Io("ngIf","terracotta-org"===e.gitHubProject.name),Xi(1),Io("ngIf","ehcache-org"===e.gitHubProject.name),Xi(1),Io("ngIf","quartz-scheduler-org"===e.gitHubProject.name),Xi(1),Io("ngIf","webmethods-io-flowservice"===e.gitHubProject.name),Xi(1),Io("ngIf","thin-edge.io"===e.gitHubProject.name),Xi(1),Io("ngIf","terracotta-org"!==e.gitHubProject.name&&"ehcache-org"!==e.gitHubProject.name&&"quartz-scheduler-org"!==e.gitHubProject.name&&"webmethods-io-flowservice"!==e.gitHubProject.name&&"thin-edge.io"!==e.gitHubProject.name))},directives:[Pw,yh],pipes:[Tw,Th],styles:[".card[_ngcontent-%COMP%]{width:340px;min-height:275px;margin-left:15px;margin-right:15px;margin-bottom:30px;padding:15px;border-radius:0;border:0}@media only screen and (max-width:600px){.card[_ngcontent-%COMP%]{margin-left:5px;margin-right:5px}}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{min-height:130px;padding-bottom:0}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{text-decoration:none}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:700;font-size:2.3rem;line-height:3.8rem}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{font-family:Roboto,Arial,Helvetica,sans-serif!important;font-size:1em;white-space:pre-line;color:#011f3d}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .desc-container[_ngcontent-%COMP%]{min-height:200px;font-size:1.6rem;line-height:3rem}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .props-container[_ngcontent-%COMP%]{padding-top:10px;font-size:1.6rem}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .gp-container[_ngcontent-%COMP%]{padding:15px;min-height:35px}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .gp-logo[_ngcontent-%COMP%]{width:60px}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] a.link[_ngcontent-%COMP%]{text-decoration:none}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] a.link[_ngcontent-%COMP%]:hover{color:#011f3d}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] a.link[_ngcontent-%COMP%] > .link-container[_ngcontent-%COMP%]{margin-top:8px;padding:10px 0;border:2px solid #011f3d;text-align:center;color:#011f3d!important}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] a.link[_ngcontent-%COMP%] > .link-container[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:flex;justify-content:center}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] a.link[_ngcontent-%COMP%] > .link-container[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] > span.text[_ngcontent-%COMP%]{font-size:1.8rem;font-weight:700;line-height:1}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] a.link[_ngcontent-%COMP%] > .link-container[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] > span.icon[_ngcontent-%COMP%]{width:18px;height:18px;margin-left:4px;display:inline-block}"]}),t})(),jw=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=jt({type:t,selectors:[["app-preloader"]],decls:2,vars:0,consts:[[1,"page-container"],[1,"loader"]],template:function(t,e){1&t&&(Ro(0,"div",0),Do(1,"div",1),No())},styles:[".loader[_ngcontent-%COMP%]{border-bottom:16px solid #f3f3f3;border-top:16px solid #f3f3f3;border-radius:50%;border-color:#8e3cf7 #f3f3f3;border-style:solid;border-width:16px;width:100px;height:100px;animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.page-container[_ngcontent-%COMP%]{margin-top:5%;margin-left:50%}"]}),t})();function Vw(t,e){if(1&t&&(Ro(0,"option",45),fa(1),No()),2&t){const t=e.$implicit,n=Bo().ngIf;Io("value",t.id)("selected",n.params.topic==t.id),Xi(1),ga(t.name)}}function Hw(t,e){if(1&t){const t=Vo();Ro(0,"div"),Ro(1,"div",40),Ro(2,"div",46),Ro(3,"app-public-custom-pagination",47),Uo("pageChange",function(e){return Re(t),Bo(2).goToPage(e)}),No(),No(),No(),No()}}function Fw(t,e){if(1&t&&(Ro(0,"div",48),Do(1,"app-project-card",49),No()),2&t){const t=e.$implicit;Xi(1),Io("gitHubProject",t)}}function Uw(t,e){if(1&t){const t=Vo();Ro(0,"div"),Ro(1,"div",40),Ro(2,"div",50),Ro(3,"app-public-custom-pagination",47),Uo("pageChange",function(e){return Re(t),Bo(2).goToPage(e)}),No(),No(),No(),No()}}const zw=function(t,e,n){return{itemsPerPage:t,currentPage:e,totalItems:n}};function Gw(t,e){if(1&t){const t=Vo();Lo(0),Ro(1,"div",5),Ro(2,"div",34),Ro(3,"select",35),Uo("change",function(e){return Re(t),Bo().selectedSoftwareAGTopic(e.target.value)}),To(4,Vw,2,3,"option",36),No(),No(),Ro(5,"div",37),Ro(6,"div",38),Ro(7,"app-search-bar",39),Uo("search",function(e){return Re(t),Bo().searchGitHubProjectsByText(e)}),No(),No(),No(),No(),Ro(8,"div",40),Ro(9,"div",41),fa(10),No(),No(),To(11,Hw,4,0,"div",42),Ro(12,"div",5),Ro(13,"div",16),Ro(14,"div",43),To(15,Fw,2,1,"div",44),Gc(16,"paginate"),No(),No(),No(),To(17,Uw,4,0,"div",42),jo()}if(2&t){const t=e.ngIf,n=Bo();Xi(3),Io("ngModel",t.params.topic),Xi(1),Io("ngForOf",n.softwareAGTopics),Xi(3),Io("searchText",t.params.text),Xi(3),ma(" ",t.response.total_count," record(s) "),Xi(1),Io("ngIf",t.response.total_count>0),Xi(4),Io("ngForOf",Wc(16,7,t.response.items,Hc(10,zw,t.params.pageSize,t.params.page,t.response.total_count))),Xi(2),Io("ngIf",t.response.total_count>0)}}function Bw(t,e){1&t&&Do(0,"app-preloader")}function Ww(t,e){1&t&&Do(0,"app-preloader")}let $w=(()=>{class t{constructor(t,e,n,r,i,s){this.overviewService=t,this.messageService=e,this.overviewQueryParamsService=n,this.titleService=r,this.metaTagService=i,this.route=s,this.subscriptions=new h,this.initialPageLoad=!0,this.softwareAGTopics=[],this.overViewWebpage=uy.Overview}ngOnInit(){this.overviewQueryParamsService.initialize(),this.subscriptions.add(this.overviewService.lastSearchResult$.subscribe(t=>{const e=this.route.snapshot.queryParamMap;this.initialPageLoad&&(e.has("topic")||e.has("search")||e.has("page"))&&setTimeout(()=>{this.scrollToProjects()},0),this.initialPageLoad=!1})),this.metaTagService.updateTag({name:"description",content:"Software AG Open Source \u2013 discover projects by Software AG and partners, code samples and resources to accelerate innovation."}),this.metaTagService.updateTag({name:"keywords",content:"github, open source, code, webmethods, integration, cumulocity iot, internet of things, adabas, apama, zementis"}),this.titleService.setTitle(""+gd.CONST_APPLICATION_NAME),this.overviewService.getTopics().then(t=>{this.softwareAGTopics=t})}selectedSoftwareAGTopic(t){this.overviewService.updateSearchParameters({topic:t,page:1}),this.overviewService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.overViewWebpage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.overViewWebpage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}searchGitHubProjectsByText(t){this.overviewService.updateSearchParameters({text:t,page:1}),this.overviewService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.overViewWebpage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.overViewWebpage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}goToPage(t){this.overviewService.updateSearchParameters({page:t}),this.overviewService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.overViewWebpage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.overViewWebpage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}scrollToProjects(){document.querySelector("#all-projects").scrollIntoView()}ngOnDestroy(){this.subscriptions.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Ao(Sy),Ao(ay),Ao(xy),Ao(fd),Ao(hd),Ao(pf))},t.\u0275cmp=jt({type:t,selectors:[["app-github-overview"]],decls:80,vars:5,consts:[[3,"webpage"],[1,"page-header-container"],[1,"img-container"],["src","./assets/banner.jpeg","alt","Homepage Banner"],[1,"container","content-container"],[1,"row"],[1,"col-xl-12","col-lg-12"],[1,"heading"],[1,"teaser"],[1,"col-lg-4"],["routerLink","",1,"link","brown",3,"click"],[1,"link-container"],["title","ALL PROJECTS"],[1,"text"],[1,"section-container","white"],[1,"container"],[1,"col-lg-12"],[1,"offset-lg-1","col-lg-10","title-container"],[1,"flex-container","quicklinks"],[1,"card"],["href","https://github.com/SoftwareAG/adabas-go-api","target","_blank"],[1,"card-body"],[1,"col-lg-12","img-container"],["src","assets/arrow-icon-1.jfif","alt","arrow"],[1,"col-lg-12","title-container"],["title","Adabas API for Go"],["href","https://github.com/SoftwareAG/adabas-rest-webapp","target","_blank"],["title","Adabas REST server WebApp"],["href","https://github.com/SoftwareAG/adabas-user-targets","target","_blank"],["title","Adabas User Targets"],["id","all-projects",1,"section-container","brown"],[4,"ngIf","ngIfElse"],["featuredGitHubProjectsPreloader",""],["searchGitHubProjectsPreloader",""],[1,"col-6","col-lg-3","offset-lg-2","p-2"],[1,"form-control","text",3,"ngModel","change"],[3,"value","selected",4,"ngFor","ngForOf"],[1,"col-12","col-lg-5","p-2"],[1,"search-container"],[3,"searchText","search"],[1,"d-flex","justify-content-center"],[1,"p-2","text"],[4,"ngIf"],[1,"flex-container"],["class","card-container",4,"ngFor","ngForOf"],[3,"value","selected"],[1,"pagination-container","top"],["previousLabel","Prev",3,"pageChange"],[1,"card-container"],[3,"gitHubProject"],[1,"pagination-container","bottom"]],template:function(t,e){if(1&t&&(Do(0,"app-message",0),Ro(1,"div",1),Ro(2,"div",2),Do(3,"img",3),No(),Ro(4,"div",4),Ro(5,"div",5),Ro(6,"div",6),Ro(7,"h1",7),Ro(8,"pre"),fa(9,"Software AG Open Source"),No(),No(),Ro(10,"div",8),Ro(11,"pre"),fa(12,"Access all of our Open Source projects, sample code and tools. Fork, commit and collaborate on open repositories."),No(),No(),Ro(13,"div",5),Ro(14,"div",9),Ro(15,"a",10),Uo("click",function(){return e.scrollToProjects()}),Ro(16,"div",11),Ro(17,"span",12),Ro(18,"span",13),fa(19,"ALL PROJECTS"),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),Ro(20,"div",14),Ro(21,"div",15),Ro(22,"div",5),Ro(23,"div",16),Ro(24,"div",5),Ro(25,"div",17),Ro(26,"h2"),Ro(27,"pre"),fa(28,"Featured"),No(),No(),No(),No(),Ro(29,"div",5),Ro(30,"div",16),Ro(31,"div",18),Ro(32,"div",19),Ro(33,"a",20),Ro(34,"div",21),Ro(35,"div",5),Ro(36,"div",22),Do(37,"img",23),No(),No(),Ro(38,"div",5),Ro(39,"div",24),Ro(40,"h4",25),Ro(41,"pre"),fa(42,"Adabas API for Go"),No(),No(),No(),No(),No(),No(),No(),Ro(43,"div",19),Ro(44,"a",26),Ro(45,"div",21),Ro(46,"div",5),Ro(47,"div",22),Do(48,"img",23),No(),No(),Ro(49,"div",5),Ro(50,"div",24),Ro(51,"h4",27),Ro(52,"pre"),fa(53,"Adabas REST server WebApp"),No(),No(),No(),No(),No(),No(),No(),Ro(54,"div",19),Ro(55,"a",28),Ro(56,"div",21),Ro(57,"div",5),Ro(58,"div",22),Do(59,"img",23),No(),No(),Ro(60,"div",5),Ro(61,"div",24),Ro(62,"h4",29),Ro(63,"pre"),fa(64,"Adabas User Targets"),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),Ro(65,"div",30),Ro(66,"div",15),Ro(67,"div",5),Ro(68,"div",16),Ro(69,"div",5),Ro(70,"div",24),Ro(71,"h2"),Ro(72,"pre"),fa(73,"All Projects"),No(),No(),No(),No(),To(74,Gw,18,14,"ng-container",31),Gc(75,"async"),No(),No(),No(),No(),To(76,Bw,1,0,"ng-template",null,32,ll),To(78,Ww,1,0,"ng-template",null,33,ll)),2&t){const t=ko(79);Io("webpage",e.overViewWebpage),Xi(74),Io("ngIf",Bc(75,3,e.overviewService.lastSearchResult$))("ngIfElse",t)}},directives:[hy,Mg,yh,av,Km,Mv,vh,Ey,cv,dv,tb,Lw,jw],pipes:[Oh,Hy],styles:["select.form-control[_ngcontent-%COMP%]{border:0;border-radius:0}.page-header-container[_ngcontent-%COMP%]{position:relative}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{top:40px;left:0;right:0;width:60%;height:330px;background-color:#011f3d;color:#f2f2ea}.page-header-container[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:420px}.quicklinks.flex-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{width:290px;height:236px}@media(max-width:1380px) and (min-width:415px){.page-header-container[_ngcontent-%COMP%]{height:435px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{height:350px}.page-header-container[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:435px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%] > pre[_ngcontent-%COMP%]{font-size:.75em}}@media(max-width:1250px) and (min-width:415px){.page-header-container[_ngcontent-%COMP%]{height:490px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{top:40px;height:410px}.page-header-container[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:490px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%] > pre[_ngcontent-%COMP%]{font-size:.75em}}@media only screen and (max-width:600px){.page-header-container[_ngcontent-%COMP%]{height:630px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{height:515px;width:90%;top:40px}.page-header-container[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:630px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%] > pre[_ngcontent-%COMP%]{font-size:.5em}}"]}),t})(),qw=(()=>{class t extends by{constructor(t,e){super(),this.gitHubCacheService=t,this.gaService=e,this.softwareAGGitHubTopics=this.topics.filter(t=>t.page.includes(by.CONST_API_INTEGRATION_MICROSERVICE_PAGE)),this.currentSearchParameters$=new vd({text:"",topic:"all-topics",page:1,pageSize:9}),this.lastSearchResult$=new _y(1)}getTopics(){return Promise.resolve(this.softwareAGGitHubTopics)}resetFilters(){this.updateSearchParameters({topic:"all-topics",page:1}),this.searchWithCurrentParams().then()}updateSearchParameters(t,e=!1){const n=this.currentSearchParameters$.getValue();!e&&(t.text&&t.text!==n.text||t.topic&&t.topic!==n.topic)&&(t.page=1);const r=Object.assign({},this.currentSearchParameters$.getValue(),t);this.currentSearchParameters$.next(r)}searchWithCurrentParams(){return dy(this,void 0,void 0,function*(){return this.search(this.currentSearchParameters$.getValue())})}search(t){return dy(this,void 0,void 0,function*(){const e=this.softwareAGGitHubTopics.find(e=>e.id===t.topic);let n="+topic:webmethods";e&&e.topics.length>0&&(n+="+"+e.topics.filter(t=>t.length>0).reduce((t,e)=>t+"+topic:"+e,""));let r="";""!==t.text&&(r+=`+${t.text}+in:readme+${t.text}+in:description+${t.text}+in:name`),""!==n&&(r+=n);const i=yield this.gitHubCacheService.search("connectors",r,t.page,t.pageSize),s={params:t,response:i};return this.lastSearchResult$.next(s),this.gaService.pushToGoogleAnalytics(),s})}}return t.\u0275fac=function(e){return new(e||t)(yr(wy),yr(Cy))},t.\u0275prov=ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Yw=(()=>{class t{constructor(t,e,n,r){this.router=t,this.route=e,this.messageService=n,this.connectorsDataService=r,this.apiIntegrationMicroserviceWebPage=uy.ApiIntegrationMicroservice}getQueryParams(t){return{text:t.has("search")?t.get("search"):"",topic:t.has("topic")?t.get("topic"):"all-topics",page:t.has("page")?Number(t.get("page")):1}}initialize(){this.subscriptions=new h,this.route.queryParamMap.pipe(Jd()).subscribe(t=>{const e=this.getQueryParams(t);this.connectorsDataService.updateSearchParameters(e,!0),this.connectorsDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.apiIntegrationMicroserviceWebPage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.apiIntegrationMicroserviceWebPage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}),this.subscriptions.add(this.connectorsDataService.currentSearchParameters$.pipe(Sm(1)).subscribe(t=>{const e=Object.assign(Object.assign(Object.assign({},""!==t.text?{search:t.text}:void 0),"all-topics"!==t.topic?{topic:t.topic}:void 0),"1"!==t.page.toString()?{page:t.page}:void 0);this.router.navigate([],{relativeTo:this.route,queryParams:e,replaceUrl:!0})}))}terminate(){this.subscriptions.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(yr(Ig),yr(pf),yr(ay),yr(qw))},t.\u0275prov=ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Zw(t,e){if(1&t&&(Ro(0,"option",44),fa(1),No()),2&t){const t=e.$implicit,n=Bo().ngIf;Io("value",t.id)("selected",n.params.topic==t.id),Xi(1),ga(t.name)}}function Qw(t,e){if(1&t){const t=Vo();Ro(0,"div"),Ro(1,"div",39),Ro(2,"div",45),Ro(3,"app-public-custom-pagination",46),Uo("pageChange",function(e){return Re(t),Bo(2).goToPage(e)}),No(),No(),No(),No()}}function Kw(t,e){if(1&t&&(Ro(0,"div",47),Do(1,"app-project-card",48),No()),2&t){const t=e.$implicit;Xi(1),Io("gitHubProject",t)}}function Xw(t,e){if(1&t){const t=Vo();Ro(0,"div"),Ro(1,"div",39),Ro(2,"div",49),Ro(3,"app-public-custom-pagination",46),Uo("pageChange",function(e){return Re(t),Bo(2).goToPage(e)}),No(),No(),No(),No()}}const Jw=function(t,e,n){return{itemsPerPage:t,currentPage:e,totalItems:n}};function tC(t,e){if(1&t){const t=Vo();Lo(0),Ro(1,"div",15),Ro(2,"div",5),Ro(3,"div",6),Ro(4,"div",5),Ro(5,"div",16),Ro(6,"h2"),Ro(7,"pre"),fa(8,"All Projects"),No(),No(),No(),No(),Ro(9,"div",5),Ro(10,"div",33),Ro(11,"select",34),Uo("change",function(e){return Re(t),Bo().selectedSoftwareAGTopic(e.target.value)}),To(12,Zw,2,3,"option",35),No(),No(),Ro(13,"div",36),Ro(14,"div",37),Ro(15,"app-search-bar",38),Uo("search",function(e){return Re(t),Bo().searchGitHubProjectsByText(e)}),No(),No(),No(),No(),Ro(16,"div",39),Ro(17,"div",40),fa(18),No(),No(),To(19,Qw,4,0,"div",41),Ro(20,"div",5),Ro(21,"div",6),Ro(22,"div",42),To(23,Kw,2,1,"div",43),Gc(24,"paginate"),No(),No(),No(),To(25,Xw,4,0,"div",41),No(),No(),No(),jo()}if(2&t){const t=e.ngIf,n=Bo();Xi(11),Io("ngModel",t.params.topic),Xi(1),Io("ngForOf",n.softwareAGTopics),Xi(3),Io("searchText",t.params.text),Xi(3),ma(" ",t.response.total_count," record(s) "),Xi(1),Io("ngIf",t.response.total_count>0),Xi(4),Io("ngForOf",Wc(24,7,t.response.items,Hc(10,Jw,t.params.pageSize,t.params.page,t.response.total_count))),Xi(2),Io("ngIf",t.response.total_count>0)}}function eC(t,e){1&t&&Do(0,"app-preloader")}let nC=(()=>{class t{constructor(t,e,n,r,i,s){this.connectorsDataService=t,this.messageService=e,this.connectorsQueryParamsService=n,this.titleService=r,this.metaTagService=i,this.route=s,this.subscriptions=new h,this.initialPageLoad=!0,this.softwareAGTopics=[],this.faStar=nb,this.faFork=eb,this.apiIntegrationMicroserviceWebPage=uy.ApiIntegrationMicroservice}ngOnInit(){this.connectorsQueryParamsService.initialize(),this.subscriptions.add(this.connectorsDataService.lastSearchResult$.subscribe(t=>{const e=this.route.snapshot.queryParamMap;this.initialPageLoad&&(e.has("topic")||e.has("search")||e.has("page"))&&setTimeout(()=>{this.scrollToProjects()},0),this.initialPageLoad=!1})),this.metaTagService.updateTag({name:"description",content:"Discover and use open source APIs, Integration and Microservices projects and code samples for products including webMethods, webMethods.io Integration, API Management, B2B, Terracotta and more."}),this.metaTagService.updateTag({name:"keywords",content:"webmethods, integration, webmethods.io, cloudstreams connectors, api management, b2b, managed file transfer, terracotta"}),this.titleService.setTitle("API, Integration & Microservices | "+gd.CONST_APPLICATION_NAME),this.connectorsDataService.getTopics().then(t=>{this.softwareAGTopics=t})}selectedSoftwareAGTopic(t){this.connectorsDataService.updateSearchParameters({topic:t,page:1}),this.connectorsDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.apiIntegrationMicroserviceWebPage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.apiIntegrationMicroserviceWebPage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}searchGitHubProjectsByText(t){this.connectorsDataService.updateSearchParameters({text:t,page:1}),this.connectorsDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.apiIntegrationMicroserviceWebPage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.apiIntegrationMicroserviceWebPage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}scrollToProjects(){document.querySelector("#all-connectors-projects").scrollIntoView()}goToPage(t){this.connectorsDataService.updateSearchParameters({page:t}),this.connectorsDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.apiIntegrationMicroserviceWebPage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.apiIntegrationMicroserviceWebPage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}}return t.\u0275fac=function(e){return new(e||t)(Ao(qw),Ao(ay),Ao(Yw),Ao(fd),Ao(hd),Ao(pf))},t.\u0275cmp=jt({type:t,selectors:[["app-connectors"]],decls:82,vars:5,consts:[[3,"webpage"],[1,"page-header-container"],[1,"img-container"],["src","./assets/banner.jpeg","alt","API, Integration & Microservices Banner"],[1,"container","content-container"],[1,"row"],[1,"col-lg-12"],[1,"heading"],[1,"col-lg-12","teaser"],[1,"col-lg-5"],["routerLink","/api-integration-microservices",1,"link","brown",3,"click"],[1,"link-container"],["title","ALL PROJECTS"],[1,"text"],[1,"section-container","white"],[1,"container"],[1,"col-lg-12","title-container"],[1,"flex-container","quicklinks"],[1,"card"],["href","https://github.com/SoftwareAG/webmethods-api-gateway","target","_blank"],[1,"card-body"],[1,"col-lg-12","img-container"],["src","assets/arrow-icon-1.jfif","alt","arrow"],["title","webMethods API Gateway"],["href","https://open-source.softwareag.com/Connector-Developer-Program/","target","_blank"],["title","webMethods.io Connector Developer Program"],["href","https://tech.forums.softwareag.com/t/webmethods-service-designer-download/235227","target","_blank"],["title","webMethods Service Designer"],["href","https://github.com/SoftwareAG/webmethodsio-integration","target","_blank"],["title","webMethods.io Integration"],["id","all-connectors-projects",1,"section-container","brown"],[4,"ngIf","ngIfElse"],["searchGitHubProjectsPreloader",""],[1,"col-6","col-lg-3","offset-lg-2","p-2"],[1,"form-control","text",3,"ngModel","change"],[3,"value","selected",4,"ngFor","ngForOf"],[1,"col-12","col-lg-5","p-2"],[1,"search-container"],[3,"searchText","search"],[1,"d-flex","justify-content-center"],[1,"p-2","text"],[4,"ngIf"],[1,"flex-container"],["class","card-container",4,"ngFor","ngForOf"],[3,"value","selected"],[1,"pagination-container","top"],["previousLabel","Prev",3,"pageChange"],[1,"card-container"],[3,"gitHubProject"],[1,"pagination-container","bottom"]],template:function(t,e){if(1&t&&(Do(0,"app-message",0),Ro(1,"div",1),Ro(2,"div",2),Do(3,"img",3),No(),Ro(4,"div",4),Ro(5,"div",5),Ro(6,"div",6),Ro(7,"h1",7),Ro(8,"pre"),fa(9,"API, Integration & Microservices"),No(),No(),No(),No(),Ro(10,"div",5),Ro(11,"div",8),Ro(12,"pre"),fa(13,"Explore open source webMethods resources - connectors, code samples and much more"),No(),No(),No(),Ro(14,"div",5),Ro(15,"div",9),Ro(16,"a",10),Uo("click",function(){return e.scrollToProjects()}),Ro(17,"div",11),Ro(18,"span",12),Ro(19,"span",13),fa(20,"VIEW PROJECTS"),No(),No(),No(),No(),No(),No(),No(),No(),Ro(21,"div",14),Ro(22,"div",15),Ro(23,"div",5),Ro(24,"div",6),Ro(25,"div",5),Ro(26,"div",16),Ro(27,"h2"),Ro(28,"pre"),fa(29,"Quick Links"),No(),No(),No(),No(),Ro(30,"div",5),Ro(31,"div",6),Ro(32,"div",17),Ro(33,"div",18),Ro(34,"a",19),Ro(35,"div",20),Ro(36,"div",5),Ro(37,"div",21),Do(38,"img",22),No(),No(),Ro(39,"div",5),Ro(40,"div",16),Ro(41,"h4",23),Ro(42,"pre"),fa(43,"webMethods API Gateway"),No(),No(),No(),No(),No(),No(),No(),Ro(44,"div",18),Ro(45,"a",24),Ro(46,"div",20),Ro(47,"div",5),Ro(48,"div",21),Do(49,"img",22),No(),No(),Ro(50,"div",5),Ro(51,"div",16),Ro(52,"h4",25),Ro(53,"pre"),fa(54,"webMethods.io Connector Developer Program"),No(),No(),No(),No(),No(),No(),No(),Ro(55,"div",18),Ro(56,"a",26),Ro(57,"div",20),Ro(58,"div",5),Ro(59,"div",21),Do(60,"img",22),No(),No(),Ro(61,"div",5),Ro(62,"div",16),Ro(63,"h4",27),Ro(64,"pre"),fa(65,"webMethods Service Designer"),No(),No(),No(),No(),No(),No(),No(),Ro(66,"div",18),Ro(67,"a",28),Ro(68,"div",20),Ro(69,"div",5),Ro(70,"div",21),Do(71,"img",22),No(),No(),Ro(72,"div",5),Ro(73,"div",16),Ro(74,"h4",29),Ro(75,"pre"),fa(76,"webMethods.io Integration"),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),Ro(77,"div",30),To(78,tC,26,14,"ng-container",31),Gc(79,"async"),No(),To(80,eC,1,0,"ng-template",null,32,ll)),2&t){const t=ko(81);Io("webpage",e.apiIntegrationMicroserviceWebPage),Xi(78),Io("ngIf",Bc(79,3,e.connectorsDataService.lastSearchResult$))("ngIfElse",t)}},directives:[hy,Mg,yh,av,Km,Mv,vh,Ey,cv,dv,tb,Lw,jw],pipes:[Oh,Hy],styles:["select.form-control[_ngcontent-%COMP%]{border:0;border-radius:0}.page-header-container[_ngcontent-%COMP%]{position:relative}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{position:absolute;top:40px;left:0;right:0;width:72%;height:330px;background-color:#f2f2ea;color:#011f3d;padding:15px 40px 15px 15px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .link-container[_ngcontent-%COMP%]{background-color:#d9ec27}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#fff}.page-header-container[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;height:460px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] a.link.brown[_ngcontent-%COMP%] > .link-container[_ngcontent-%COMP%]{border:1px solid #d9ec27}@media(max-width:1024px) and (min-width:415px){.page-header-container[_ngcontent-%COMP%]{height:560px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{height:420px;top:40px}.page-header-container[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:560px}}@media only screen and (max-width:600px){.page-header-container[_ngcontent-%COMP%]{height:775px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{height:660px;width:90%;top:40px;left:0}.page-header-container[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:775px}}"]}),t})(),rC=(()=>{class t extends by{constructor(t,e,n){super(),this.http=t,this.gitHubCacheService=e,this.gaService=n,this.softwareAGGitHubTopics=this.topics.filter(t=>t.page.includes(by.CONST_IOT_ANALYTICS_PAGE)),this.repositories=[{id:"all-repositories",name:"All repositories",topics:[]},{id:"microservice",name:"Microservice",topics:["Microservice"]},{id:"widget",name:"Widget",topics:["Widget"]},{id:"webApp",name:"WebApp",topics:["WebApp"]},{id:"agent",name:"Agent",topics:["Agent"]},{id:"example",name:"Example",topics:["Example"]},{id:"client",name:"Client",topics:["Client"]},{id:"simulator",name:"Simulator",topics:["Simulator"]},{id:"documentation",name:"Documentation",topics:["Documentation"]},{id:"tutorial",name:"Tutorial",topics:["Tutorial"]},{id:"extension",name:"Extension",topics:["Extension"]},{id:"cli",name:"CLI",topics:["CLI"]}],this.currentSearchParameters$=new vd({text:"",topic:"all-topics",repository:"all-repositories",page:1,pageSize:9}),this.lastSearchResult$=new _y(1)}getTopics(){return Promise.resolve(this.softwareAGGitHubTopics)}getRepositoryTypes(){return Promise.resolve(this.repositories)}resetFilters(){this.updateSearchParameters({topic:"all-topics",repository:"all-repositories",page:1}),this.searchWithCurrentParams().then()}updateSearchParameters(t,e=!1){const n=this.currentSearchParameters$.getValue();!e&&(t.text&&t.text!==n.text||t.topic&&t.topic!==n.topic||t.repository&&t.repository!==n.repository)&&(t.page=1);const r=Object.assign({},this.currentSearchParameters$.getValue(),t);this.currentSearchParameters$.next(r)}searchWithCurrentParams(){return dy(this,void 0,void 0,function*(){return this.search(this.currentSearchParameters$.getValue())})}search(t){return dy(this,void 0,void 0,function*(){const e=this.softwareAGGitHubTopics.find(e=>e.id===t.topic),n=this.repositories.find(e=>e.id===t.repository);let r="+topic:iot-analytics";e&&e.topics.length>0&&(r+=e.topics.filter(t=>t.length>0).reduce((t,e)=>t+"+topic:"+e,"")),n&&n.topics.length>0&&(r+=n.topics.filter(t=>t.length>0).reduce((t,e)=>t+"+topic:"+e,""));let i="";""!==t.text&&(i+=`+${t.text}+in:readme+${t.text}+in:description+${t.text}+in:name`),""!==r&&(i+=r);const s=yield this.gitHubCacheService.search("iot",i,t.page,t.pageSize),o={params:t,response:s};return this.lastSearchResult$.next(o),this.gaService.pushToGoogleAnalytics(),o})}}return t.\u0275fac=function(e){return new(e||t)(yr(B_),yr(wy),yr(Cy))},t.\u0275prov=ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),iC=(()=>{class t{constructor(t,e,n,r){this.router=t,this.route=e,this.messageService=n,this.iotAnalyticsDataService=r,this.IoTAnalyticsWebpage=uy.IoTAnalytics}getQueryParams(t){return{text:t.has("search")?t.get("search"):"",topic:t.has("topic")?t.get("topic"):"all-topics",repository:t.has("repository")?t.get("repository"):"all-repositories",page:t.has("page")?Number(t.get("page")):1}}initialize(){this.subscriptions=new h,this.route.queryParamMap.pipe(Jd()).subscribe(t=>{const e=this.getQueryParams(t);this.iotAnalyticsDataService.updateSearchParameters(e,!0),this.iotAnalyticsDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}),this.subscriptions.add(this.iotAnalyticsDataService.currentSearchParameters$.pipe(Sm(1)).subscribe(t=>{const e=Object.assign(Object.assign(Object.assign(Object.assign({},""!==t.text?{search:t.text}:void 0),"all-topics"!==t.topic?{topic:t.topic}:void 0),"all-repositories"!==t.repository?{repository:t.repository}:void 0),"1"!==t.page.toString()?{page:t.page}:void 0);this.router.navigate([],{relativeTo:this.route,queryParams:e,replaceUrl:!0})}))}terminate(){this.subscriptions.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(yr(Ig),yr(pf),yr(ay),yr(rC))},t.\u0275prov=ot({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function sC(t,e){if(1&t&&(Ro(0,"option",44),fa(1),No()),2&t){const t=e.$implicit,n=Bo().ngIf;Io("value",t.id)("selected",n.params.topic==t.id),Xi(1),ga(t.name)}}function oC(t,e){if(1&t&&(Ro(0,"option",44),fa(1),No()),2&t){const t=e.$implicit,n=Bo().ngIf;Io("value",t.id)("selected",n.params.repository==t.id),Xi(1),ga(t.name)}}function aC(t,e){if(1&t){const t=Vo();Ro(0,"div"),Ro(1,"div",39),Ro(2,"div",45),Ro(3,"app-public-custom-pagination",46),Uo("pageChange",function(e){return Re(t),Bo(2).goToPage(e)}),No(),No(),No(),No()}}function cC(t,e){if(1&t&&(Ro(0,"div",47),Do(1,"app-project-card",48),No()),2&t){const t=e.$implicit;Xi(1),Io("gitHubProject",t)}}function lC(t,e){if(1&t){const t=Vo();Ro(0,"div"),Ro(1,"div",39),Ro(2,"div",49),Ro(3,"app-public-custom-pagination",46),Uo("pageChange",function(e){return Re(t),Bo(2).goToPage(e)}),No(),No(),No(),No()}}const uC=function(t,e,n){return{itemsPerPage:t,currentPage:e,totalItems:n}};function hC(t,e){if(1&t){const t=Vo();Lo(0),Ro(1,"div",15),Ro(2,"div",5),Ro(3,"div",6),Ro(4,"div",5),Ro(5,"div",16),Ro(6,"h2"),Ro(7,"pre"),fa(8,"All Projects"),No(),No(),No(),No(),Ro(9,"div",5),Ro(10,"div",33),Ro(11,"select",34),Uo("change",function(e){return Re(t),Bo().selectedSoftwareAGTopic(e.target.value)}),To(12,sC,2,3,"option",35),No(),No(),Ro(13,"div",33),Ro(14,"select",34),Uo("change",function(e){return Re(t),Bo().selectedRepository(e.target.value)}),To(15,oC,2,3,"option",35),No(),No(),Ro(16,"div",36),Ro(17,"div",37),Ro(18,"app-search-bar",38),Uo("search",function(e){return Re(t),Bo().searchGitHubProjectsByText(e)}),No(),No(),No(),No(),Ro(19,"div",39),Ro(20,"div",40),fa(21),No(),No(),To(22,aC,4,0,"div",41),Ro(23,"div",5),Ro(24,"div",6),Ro(25,"div",42),To(26,cC,2,1,"div",43),Gc(27,"paginate"),No(),No(),No(),To(28,lC,4,0,"div",41),No(),No(),No(),jo()}if(2&t){const t=e.ngIf,n=Bo();Xi(11),Io("ngModel",t.params.topic),Xi(1),Io("ngForOf",n.softwareAGTopics),Xi(2),Io("ngModel",t.params.repository),Xi(1),Io("ngForOf",n.repositories),Xi(3),Io("searchText",t.params.text),Xi(3),ma(" ",t.response.total_count," record(s) "),Xi(1),Io("ngIf",t.response.total_count>0),Xi(4),Io("ngForOf",Wc(27,9,t.response.items,Hc(12,uC,t.params.pageSize,t.params.page,t.response.total_count))),Xi(2),Io("ngIf",t.response.total_count>0)}}function dC(t,e){1&t&&Do(0,"app-preloader")}const pC=[{path:"",component:$w},{path:"api-integration-microservices",component:nC},{path:"iot-analytics",component:(()=>{class t{constructor(t,e,n,r,i,s){this.iotAnalyticsDataService=t,this.messageService=e,this.iotAnalyticsQueryParamsService=n,this.titleService=r,this.metaTagService=i,this.route=s,this.subscriptions=new h,this.initialPageLoad=!0,this.softwareAGTopics=[],this.repositories=[],this.faStar=nb,this.faFork=eb,this.IoTAnalyticsWebpage=uy.IoTAnalytics}ngOnInit(){this.iotAnalyticsQueryParamsService.initialize(),this.subscriptions.add(this.iotAnalyticsDataService.lastSearchResult$.subscribe(t=>{const e=this.route.snapshot.queryParamMap;this.initialPageLoad&&(e.has("topic")||e.has("repository")||e.has("search")||e.has("page"))&&setTimeout(()=>{this.scrollToProjects()},0),this.initialPageLoad=!1})),this.metaTagService.updateTag({name:"description",content:"Discover and start using open source IoT and Analytics projects and code samples for products including Cumulocity IoT, TrendMiner, Apama Streaming Analytics, Zementis and more."}),this.metaTagService.updateTag({name:"keywords",content:"internet of things, analytics, machine learning, streaming analytics, cumulocity iot, apama, zementis"}),this.titleService.setTitle("IoT & Analytics | "+gd.CONST_APPLICATION_NAME),this.iotAnalyticsDataService.getTopics().then(t=>{this.softwareAGTopics=t,this.iotAnalyticsDataService.getRepositoryTypes().then(t=>{this.repositories=t})})}selectedSoftwareAGTopic(t){this.iotAnalyticsDataService.updateSearchParameters({topic:t,page:1}),this.iotAnalyticsDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}selectedRepository(t){this.iotAnalyticsDataService.updateSearchParameters({repository:t,page:1}),this.iotAnalyticsDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}searchGitHubProjectsByText(t){this.iotAnalyticsDataService.updateSearchParameters({text:t,page:1}),this.iotAnalyticsDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}goToPage(t){this.iotAnalyticsDataService.updateSearchParameters({page:t}),this.iotAnalyticsDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}scrollToProjects(){document.querySelector("#all-iot-analytics-projects").scrollIntoView()}selectedCumulocityUIWidgets(){this.iotAnalyticsDataService.updateSearchParameters({topic:"cumulocity-iot",repository:"widget",text:"",page:1}),this.iotAnalyticsDataService.searchWithCurrentParams().catch(t=>{const e=t;e.status===gd.GITHUB_API_RATE_LIMIT_EXCEEDED?this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_WARNING_TYPE,gd.GITHUB_RETRIEVE_FAIL_MESSAGE):this.messageService.setMessage(this.IoTAnalyticsWebpage,oy.CONST_ERROR_TYPE,"Github: "+e.statusText)})}}return t.\u0275fac=function(e){return new(e||t)(Ao(rC),Ao(ay),Ao(iC),Ao(fd),Ao(hd),Ao(pf))},t.\u0275cmp=jt({type:t,selectors:[["app-iot"]],decls:82,vars:5,consts:[[3,"webpage"],[1,"page-header-container"],[1,"img-container"],["src","./assets/banner.jpeg","alt","IoT & Analytics Banner"],[1,"container","content-container"],[1,"row"],[1,"col-lg-12"],[1,"heading"],[1,"col-lg-12","teaser"],[1,"col-lg-5"],["routerLink","/iot-analytics",1,"link","brown",3,"click"],[1,"link-container"],["title","ALL PROJECTS"],[1,"text"],[1,"section-container","white"],[1,"container"],[1,"col-lg-12","title-container"],[1,"flex-container","quicklinks"],[1,"card"],["href","https://github.com/SoftwareAG/cumulocity-app-builder","target","_blank"],[1,"card-body"],[1,"col-lg-12","img-container"],["src","assets/arrow-icon-1.jfif","alt","arrow"],["title","Application Builder for Cumulocity IoT"],["href","https://github.com/SoftwareAG/cumulocity-migration-tool","target","_blank"],["title","Migration Tool for Cumulocity IoT"],["href","https://github.com/SoftwareAG/cumulocity-kpi-trend-widget","target","_blank"],["title","KPI Trend Widget"],["href","https://github.com/SoftwareAG/cumulocity-silo-capacity-widget","target","_blank"],["title","Silo Capacity Widget"],["id","all-iot-analytics-projects",1,"section-container","brown"],[4,"ngIf","ngIfElse"],["searchGitHubProjectsPreloader",""],[1,"col-6","col-lg-3","p-2"],[1,"form-control","text",3,"ngModel","change"],[3,"value","selected",4,"ngFor","ngForOf"],[1,"col-12","col-lg-6","p-2"],[1,"search-container"],[3,"searchText","search"],[1,"d-flex","justify-content-center"],[1,"p-2","text"],[4,"ngIf"],[1,"flex-container"],["class","card-container",4,"ngFor","ngForOf"],[3,"value","selected"],[1,"pagination-container","top"],["previousLabel","Prev",3,"pageChange"],[1,"card-container"],[3,"gitHubProject"],[1,"pagination-container","bottom"]],template:function(t,e){if(1&t&&(Do(0,"app-message",0),Ro(1,"div",1),Ro(2,"div",2),Do(3,"img",3),No(),Ro(4,"div",4),Ro(5,"div",5),Ro(6,"div",6),Ro(7,"h1",7),Ro(8,"pre"),fa(9,"IoT & Analytics"),No(),No(),No(),No(),Ro(10,"div",5),Ro(11,"div",8),Ro(12,"pre"),fa(13,"Explore Cumulocity IoT resources - widgets, tools, and much more"),No(),No(),No(),Ro(14,"div",5),Ro(15,"div",9),Ro(16,"a",10),Uo("click",function(){return e.scrollToProjects()}),Ro(17,"div",11),Ro(18,"span",12),Ro(19,"span",13),fa(20,"VIEW PROJECTS"),No(),No(),No(),No(),No(),No(),No(),No(),Ro(21,"div",14),Ro(22,"div",15),Ro(23,"div",5),Ro(24,"div",6),Ro(25,"div",5),Ro(26,"div",16),Ro(27,"h2"),Ro(28,"pre"),fa(29,"Quick Links"),No(),No(),No(),No(),Ro(30,"div",5),Ro(31,"div",6),Ro(32,"div",17),Ro(33,"div",18),Ro(34,"a",19),Ro(35,"div",20),Ro(36,"div",5),Ro(37,"div",21),Do(38,"img",22),No(),No(),Ro(39,"div",5),Ro(40,"div",16),Ro(41,"h4",23),Ro(42,"pre"),fa(43,"Application Builder for Cumulocity IoT"),No(),No(),No(),No(),No(),No(),No(),Ro(44,"div",18),Ro(45,"a",24),Ro(46,"div",20),Ro(47,"div",5),Ro(48,"div",21),Do(49,"img",22),No(),No(),Ro(50,"div",5),Ro(51,"div",16),Ro(52,"h4",25),Ro(53,"pre"),fa(54,"Migration Tool for Cumulocity IoT"),No(),No(),No(),No(),No(),No(),No(),Ro(55,"div",18),Ro(56,"a",26),Ro(57,"div",20),Ro(58,"div",5),Ro(59,"div",21),Do(60,"img",22),No(),No(),Ro(61,"div",5),Ro(62,"div",16),Ro(63,"h4",27),Ro(64,"pre"),fa(65,"KPI Trend Widget"),No(),No(),No(),No(),No(),No(),No(),Ro(66,"div",18),Ro(67,"a",28),Ro(68,"div",20),Ro(69,"div",5),Ro(70,"div",21),Do(71,"img",22),No(),No(),Ro(72,"div",5),Ro(73,"div",16),Ro(74,"h4",29),Ro(75,"pre"),fa(76,"Silo Capacity Widget"),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),No(),Ro(77,"div",30),To(78,hC,29,16,"ng-container",31),Gc(79,"async"),No(),To(80,dC,1,0,"ng-template",null,32,ll)),2&t){const t=ko(81);Io("webpage",e.IoTAnalyticsWebpage),Xi(78),Io("ngIf",Bc(79,3,e.iotAnalyticsDataService.lastSearchResult$))("ngIfElse",t)}},directives:[hy,Mg,yh,av,Km,Mv,vh,Ey,cv,dv,tb,Lw,jw],pipes:[Oh,Hy],styles:["select.form-control[_ngcontent-%COMP%]{border:0;border-radius:0}.page-header-container[_ngcontent-%COMP%]{position:relative}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{position:absolute;top:40px;left:0;right:0;width:72%;height:330px;padding:15px;background-color:#f2f2ea;color:#011f3d}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .link-container[_ngcontent-%COMP%]{background-color:#d9ec27}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#fff}.page-header-container[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;height:460px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] a.link.brown[_ngcontent-%COMP%] > .link-container[_ngcontent-%COMP%]{border:1px solid #d9ec27}@media(max-width:1024px) and (min-width:415px){.page-header-container[_ngcontent-%COMP%]{height:560px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{height:420px}.page-header-container[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:560px}}@media only screen and (max-width:600px){.page-header-container[_ngcontent-%COMP%]{height:595px}.page-header-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{height:475px;width:90%;top:40px;left:0}.page-header-container[_ngcontent-%COMP%] .img-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:595px}}"]}),t})()}];let fC=(()=>{class t{}return t.\u0275mod=Ut({type:t,bootstrap:[O_]}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:[],imports:[[ld,S_,sy,Nv,Ow,Bg.forRoot(pC),$y]]}),t})();(function(){if($l)throw new Error("Cannot enable prod mode after platform setup.");Wl=!1})(),ad().bootstrapModule(fC).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);