1 |
- "use strict";(self.webpackChunkgc_form=self.webpackChunkgc_form||[]).push([[179],{741:()=>{function ge(e){return"function"==typeof e}function Si(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const es=Si(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Ii(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Rt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(ge(r))try{r()}catch(o){n=o instanceof es?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{Jf(o)}catch(s){n=null!=n?n:[],s instanceof es?n=[...n,...s.errors]:n.push(s)}}if(n)throw new es(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Jf(n);else{if(n instanceof Rt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Ii(t,n)}remove(n){const{_finalizers:t}=this;t&&Ii(t,n),n instanceof Rt&&n._removeParent(this)}}Rt.EMPTY=(()=>{const e=new Rt;return e.closed=!0,e})();const Wf=Rt.EMPTY;function qf(e){return e instanceof Rt||e&&"closed"in e&&ge(e.remove)&&ge(e.add)&&ge(e.unsubscribe)}function Jf(e){ge(e)?e():e.unsubscribe()}const ar={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ts={setTimeout(e,n,...t){const{delegate:r}=ts;return null!=r&&r.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=ts;return((null==n?void 0:n.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Kf(e){ts.setTimeout(()=>{const{onUnhandledError:n}=ar;if(!n)throw e;n(e)})}function Qf(){}const F0=fl("C",void 0,void 0);function fl(e,n,t){return{kind:e,value:n,error:t}}let lr=null;function ns(e){if(ar.useDeprecatedSynchronousErrorHandling){const n=!lr;if(n&&(lr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=lr;if(lr=null,t)throw r}}else e()}class hl extends Rt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,qf(n)&&n.add(this)):this.destination=j0}static create(n,t,r){return new Ai(n,t,r)}next(n){this.isStopped?gl(function O0(e){return fl("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?gl(function R0(e){return fl("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?gl(F0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const x0=Function.prototype.bind;function pl(e,n){return x0.call(e,n)}class L0{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){rs(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){rs(r)}else rs(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){rs(t)}}}class Ai extends hl{constructor(n,t,r){let i;if(super(),ge(n)||!n)i={next:null!=n?n:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0};else{let o;this&&ar.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&pl(n.next,o),error:n.error&&pl(n.error,o),complete:n.complete&&pl(n.complete,o)}):i=n}this.destination=new L0(i)}}function rs(e){ar.useDeprecatedSynchronousErrorHandling?function k0(e){ar.useDeprecatedSynchronousErrorHandling&&lr&&(lr.errorThrown=!0,lr.error=e)}(e):Kf(e)}function gl(e,n){const{onStoppedNotification:t}=ar;t&&ts.setTimeout(()=>t(e,n))}const j0={closed:!0,next:Qf,error:function V0(e){throw e},complete:Qf},ml="function"==typeof Symbol&&Symbol.observable||"@@observable";function ur(e){return e}function Zf(e){return 0===e.length?ur:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let Ae=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function H0(e){return e&&e instanceof hl||function $0(e){return e&&ge(e.next)&&ge(e.error)&&ge(e.complete)}(e)&&qf(e)}(t)?t:new Ai(t,r,i);return ns(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Yf(r))((i,o)=>{const s=new Ai({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[ml](){return this}pipe(...t){return Zf(t)(this)}toPromise(t){return new(t=Yf(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function Yf(e){var n;return null!==(n=null!=e?e:ar.Promise)&&void 0!==n?n:Promise}const U0=Si(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let sn=(()=>{class e extends Ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Xf(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new U0}next(t){ns(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){ns(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){ns(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?Wf:(this.currentObservers=null,o.push(t),new Rt(()=>{this.currentObservers=null,Ii(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new Ae;return t.source=this,t}}return e.create=(n,t)=>new Xf(n,t),e})();class Xf extends sn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:Wf}}function eh(e){return ge(null==e?void 0:e.lift)}function qe(e){return n=>{if(eh(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function $e(e,n,t,r,i){return new z0(e,n,t,r,i)}class z0 extends hl{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function re(e,n){return qe((t,r)=>{let i=0;t.subscribe($e(r,o=>{r.next(e.call(n,o,i++))}))})}function cr(e){return this instanceof cr?(this.v=e,this):new cr(e)}function q0(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(v){r[v]&&(i[v]=function(y){return new Promise(function(_,D){o.push([v,y,_,D])>1||a(v,y)})})}function a(v,y){try{!function l(v){v.value instanceof cr?Promise.resolve(v.value.v).then(u,d):p(o[0][2],v)}(r[v](y))}catch(_){p(o[0][3],_)}}function u(v){a("next",v)}function d(v){a("throw",v)}function p(v,y){v(y),o.shift(),o.length&&a(o[0][0],o[0][1])}}function J0(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function rh(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(u){o({value:u,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}const ih=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function oh(e){return ge(null==e?void 0:e.then)}function sh(e){return ge(e[ml])}function ah(e){return Symbol.asyncIterator&&ge(null==e?void 0:e[Symbol.asyncIterator])}function lh(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const uh=function Q0(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ch(e){return ge(null==e?void 0:e[uh])}function dh(e){return q0(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield cr(t.read());if(i)return yield cr(void 0);yield yield cr(r)}}finally{t.releaseLock()}})}function fh(e){return ge(null==e?void 0:e.getReader)}function Gt(e){if(e instanceof Ae)return e;if(null!=e){if(sh(e))return function Z0(e){return new Ae(n=>{const t=e[ml]();if(ge(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(ih(e))return function Y0(e){return new Ae(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(oh(e))return function X0(e){return new Ae(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Kf)})}(e);if(ah(e))return hh(e);if(ch(e))return function eb(e){return new Ae(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(fh(e))return function tb(e){return hh(dh(e))}(e)}throw lh(e)}function hh(e){return new Ae(n=>{(function nb(e,n){var t,r,i,o;return function G0(e,n,t,r){return new(t||(t=Promise))(function(o,s){function a(d){try{u(r.next(d))}catch(p){s(p)}}function l(d){try{u(r.throw(d))}catch(p){s(p)}}function u(d){d.done?o(d.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}u((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=J0(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function bn(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Ke(e,n,t=1/0){return ge(n)?Ke((r,i)=>re((o,s)=>n(r,o,i,s))(Gt(e(r,i))),t):("number"==typeof n&&(t=n),qe((r,i)=>function rb(e,n,t,r,i,o,s,a){const l=[];let u=0,d=0,p=!1;const v=()=>{p&&!l.length&&!u&&n.complete()},y=D=>u<r?_(D):l.push(D),_=D=>{o&&n.next(D),u++;let S=!1;Gt(t(D,d++)).subscribe($e(n,I=>{null==i||i(I),o?y(I):n.next(I)},()=>{S=!0},void 0,()=>{if(S)try{for(u--;l.length&&u<r;){const I=l.shift();s?bn(n,s,()=>_(I)):_(I)}v()}catch(I){n.error(I)}}))};return e.subscribe($e(n,y,()=>{p=!0,v()})),()=>{null==a||a()}}(r,i,e,t)))}function Nr(e=1/0){return Ke(ur,e)}const Dn=new Ae(e=>e.complete());function yl(e){return e[e.length-1]}function ph(e){return ge(yl(e))?e.pop():void 0}function Ti(e){return function ob(e){return e&&ge(e.schedule)}(yl(e))?e.pop():void 0}function gh(e,n=0){return qe((t,r)=>{t.subscribe($e(r,i=>bn(r,e,()=>r.next(i),n),()=>bn(r,e,()=>r.complete(),n),i=>bn(r,e,()=>r.error(i),n)))})}function mh(e,n=0){return qe((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function vh(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ae(t=>{bn(t,n,()=>{const r=e[Symbol.asyncIterator]();bn(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function Oe(e,n){return n?function fb(e,n){if(null!=e){if(sh(e))return function ab(e,n){return Gt(e).pipe(mh(n),gh(n))}(e,n);if(ih(e))return function ub(e,n){return new Ae(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(oh(e))return function lb(e,n){return Gt(e).pipe(mh(n),gh(n))}(e,n);if(ah(e))return vh(e,n);if(ch(e))return function cb(e,n){return new Ae(t=>{let r;return bn(t,n,()=>{r=e[uh](),bn(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>ge(null==r?void 0:r.return)&&r.return()})}(e,n);if(fh(e))return function db(e,n){return vh(dh(e),n)}(e,n)}throw lh(e)}(e,n):Gt(e)}function _l(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new Ai({next:()=>{r.unsubscribe(),e()}});return n(...t).subscribe(r)}function fe(e){for(let n in e)if(e[n]===fe)return n;throw Error("Could not find renamed property on target object.")}function Cl(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function he(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(he).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function bl(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const gb=fe({__forward_ref__:fe});function me(e){return e.__forward_ref__=me,e.toString=function(){return he(this())},e}function G(e){return Dl(e)?e():e}function Dl(e){return"function"==typeof e&&e.hasOwnProperty(gb)&&e.__forward_ref__===me}class R extends Error{constructor(n,t){super(function is(e,n){return`NG0${Math.abs(e)}${n?": "+n.trim():""}`}(n,t)),this.code=n}}function Q(e){return"string"==typeof e?e:null==e?"":String(e)}function os(e,n){throw new R(-201,!1)}function Dt(e,n){null==e&&function ue(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ss(e){return yh(e,as)||yh(e,Ch)}function yh(e,n){return e.hasOwnProperty(n)?e[n]:null}function _h(e){return e&&(e.hasOwnProperty(wl)||e.hasOwnProperty(Eb))?e[wl]:null}const as=fe({\u0275prov:fe}),wl=fe({\u0275inj:fe}),Ch=fe({ngInjectableDef:fe}),Eb=fe({ngInjectorDef:fe});var U=(()=>((U=U||{})[U.Default=0]="Default",U[U.Host=1]="Host",U[U.Self=2]="Self",U[U.SkipSelf=4]="SkipSelf",U[U.Optional=8]="Optional",U))();let El;function Ot(e){const n=El;return El=e,n}function bh(e,n,t){const r=ss(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&U.Optional?null:void 0!==n?n:void os(he(e))}function Un(e){return{toString:e}.toString()}var Wt=(()=>((Wt=Wt||{})[Wt.OnPush=0]="OnPush",Wt[Wt.Default=1]="Default",Wt))(),an=(()=>{return(e=an||(an={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",an;var e})();const ve=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),Fr={},le=[],ls=fe({\u0275cmp:fe}),Ml=fe({\u0275dir:fe}),Sl=fe({\u0275pipe:fe}),Dh=fe({\u0275mod:fe}),En=fe({\u0275fac:fe}),Pi=fe({__NG_ELEMENT_ID__:fe});let Sb=0;function Te(e){return Un(()=>{const t=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Wt.OnPush,directiveDefs:null,pipeDefs:null,standalone:t,dependencies:t&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||le,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||an.Emulated,id:"c"+Sb++,styles:e.styles||le,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,s=e.features;return i.inputs=Sh(e.inputs,r),i.outputs=Sh(e.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Eh).filter(Mh):null,i.pipeDefs=o?()=>("function"==typeof o?o():o).map(st).filter(Mh):null,i})}function Eh(e){return ce(e)||ot(e)}function Mh(e){return null!==e}function kt(e){return Un(()=>({type:e.type,bootstrap:e.bootstrap||le,declarations:e.declarations||le,imports:e.imports||le,exports:e.exports||le,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Sh(e,n){if(null==e)return Fr;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}const q=Te;function gt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ce(e){return e[ls]||null}function ot(e){return e[Ml]||null}function st(e){return e[Sl]||null}function Et(e,n){const t=e[Dh]||null;if(!t&&!0===n)throw new Error(`Type ${he(e)} does not have '\u0275mod' property.`);return t}function mt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Jt(e){return Array.isArray(e)&&!0===e[1]}function Tl(e){return 0!=(8&e.flags)}function fs(e){return 2==(2&e.flags)}function hs(e){return 1==(1&e.flags)}function Kt(e){return null!==e.template}function Nb(e){return 0!=(256&e[2])}function gr(e,n){return e.hasOwnProperty(En)?e[En]:null}class Ob{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Lt(){return Th}function Th(e){return e.type.prototype.ngOnChanges&&(e.setInput=xb),kb}function kb(){const e=Nh(this),n=null==e?void 0:e.current;if(n){const t=e.previous;if(t===Fr)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function xb(e,n,t,r){const i=Nh(e)||function Lb(e,n){return e[Ph]=n}(e,{previous:Fr,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[t],l=s[a];o[a]=new Ob(l&&l.currentValue,n,s===Fr),e[r]=n}Lt.ngInherit=!0;const Ph="__ngSimpleChanges__";function Nh(e){return e[Ph]||null}function ke(e){for(;Array.isArray(e);)e=e[0];return e}function ps(e,n){return ke(n[e])}function jt(e,n){return ke(n[e.index])}function Ol(e,n){return e.data[n]}function St(e,n){const t=n[e];return mt(t)?t:t[0]}function gs(e){return 64==(64&e[2])}function zn(e,n){return null==n?null:e[n]}function Fh(e){e[18]=0}function kl(e,n){e[5]+=n;let t=e,r=e[3];for(;null!==r&&(1===n&&1===t[5]||-1===n&&0===t[5]);)r[5]+=n,t=r,r=r[3]}const K={lFrame:Hh(null),bindingsEnabled:!0};function Oh(){return K.bindingsEnabled}function A(){return K.lFrame.lView}function se(){return K.lFrame.tView}function Pe(e){return K.lFrame.contextLView=e,e[8]}function Ne(e){return K.lFrame.contextLView=null,e}function He(){let e=kh();for(;null!==e&&64===e.type;)e=e.parent;return e}function kh(){return K.lFrame.currentTNode}function ln(e,n){const t=K.lFrame;t.currentTNode=e,t.isParent=n}function xl(){return K.lFrame.isParent}function at(){const e=K.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Mn(){return K.lFrame.bindingIndex}function Vr(){return K.lFrame.bindingIndex++}function Sn(e){const n=K.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Yb(e,n){const t=K.lFrame;t.bindingIndex=t.bindingRootIndex=e,Vl(n)}function Vl(e){K.lFrame.currentDirectiveIndex=e}function jh(){return K.lFrame.currentQueryIndex}function Bl(e){K.lFrame.currentQueryIndex=e}function eD(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[6]:null}function Bh(e,n,t){if(t&U.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&U.Host||(i=eD(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;n=i,e=o}const r=K.lFrame=$h();return r.currentTNode=n,r.lView=e,!0}function $l(e){const n=$h(),t=e[1];K.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function $h(){const e=K.lFrame,n=null===e?null:e.child;return null===n?Hh(e):n}function Hh(e){const n={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:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Uh(){const e=K.lFrame;return K.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const zh=Uh;function Hl(){const e=Uh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function lt(){return K.lFrame.selectedIndex}function Gn(e){K.lFrame.selectedIndex=e}function Me(){const e=K.lFrame;return Ol(e.tView,e.selectedIndex)}function ms(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:d}=o;s&&(e.contentHooks||(e.contentHooks=[])).push(-t,s),a&&((e.contentHooks||(e.contentHooks=[])).push(t,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(t,a)),l&&(e.viewHooks||(e.viewHooks=[])).push(-t,l),u&&((e.viewHooks||(e.viewHooks=[])).push(t,u),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(t,u)),null!=d&&(e.destroyHooks||(e.destroyHooks=[])).push(t,d)}}function vs(e,n,t){Gh(e,n,3,t)}function ys(e,n,t,r){(3&e[2])===t&&Gh(e,n,t,r)}function Ul(e,n){let t=e[2];(3&t)===n&&(t&=2047,t+=1,e[2]=t)}function Gh(e,n,t,r){const o=null!=r?r:-1,s=n.length-1;let a=0;for(let l=void 0!==r?65535&e[18]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=r&&a>=r)break}else n[l]<0&&(e[18]+=65536),(a<o||-1==o)&&(uD(e,t,n,l),e[18]=(4294901760&e[18])+l+2),l++}function uD(e,n,t,r){const i=t[r]<0,o=t[r+1],a=e[i?-t[r]:t[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===n){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class xi{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function _s(e,n,t){let r=0;for(;r<t.length;){const i=t[r];if("number"==typeof i){if(0!==i)break;r++;const o=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,o)}else{const o=i,s=t[++r];qh(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),r++}}return r}function Wh(e){return 3===e||4===e||6===e}function qh(e){return 64===e.charCodeAt(0)}function Cs(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){const i=n[r];"number"==typeof i?t=i:0===t||Jh(e,t,i,null,-1===t||2===t?n[++r]:null)}}return e}function Jh(e,n,t,r,i){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===t){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Kh(e){return-1!==e}function jr(e){return 32767&e}function Br(e,n){let t=function pD(e){return e>>16}(e),r=n;for(;t>0;)r=r[15],t--;return r}let Gl=!0;function bs(e){const n=Gl;return Gl=e,n}let gD=0;const un={};function Vi(e,n){const t=ql(e,n);if(-1!==t)return t;const r=n[1];r.firstCreatePass&&(e.injectorIndex=n.length,Wl(r.data,e),Wl(n,null),Wl(r.blueprint,null));const i=Ds(e,n),o=e.injectorIndex;if(Kh(i)){const s=jr(i),a=Br(i,n),l=a[1].data;for(let u=0;u<8;u++)n[o+u]=a[s+u]|l[s+u]}return n[o+8]=i,o}function Wl(e,n){e.push(0,0,0,0,0,0,0,0,n)}function ql(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ds(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=ip(i),null===r)return-1;if(t++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return-1}function ws(e,n,t){!function mD(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Pi)&&(r=t[Pi]),null==r&&(r=t[Pi]=gD++);const i=255&r;n.data[e+(i>>5)]|=1<<i}(e,n,t)}function Yh(e,n,t){if(t&U.Optional||void 0!==e)return e;os()}function Xh(e,n,t,r){if(t&U.Optional&&void 0===r&&(r=null),0==(t&(U.Self|U.Host))){const i=e[9],o=Ot(void 0);try{return i?i.get(n,r,t&U.Optional):bh(n,r,t&U.Optional)}finally{Ot(o)}}return Yh(r,0,t)}function ep(e,n,t,r=U.Default,i){if(null!==e){if(1024&n[2]){const s=function bD(e,n,t,r,i){let o=e,s=n;for(;null!==o&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=tp(o,s,t,r|U.Self,un);if(a!==un)return a;let l=o.parent;if(!l){const u=s[21];if(u){const d=u.get(t,un,r);if(d!==un)return d}l=ip(s),s=s[15]}o=l}return i}(e,n,t,r,un);if(s!==un)return s}const o=tp(e,n,t,r,un);if(o!==un)return o}return Xh(n,t,r,i)}function tp(e,n,t,r,i){const o=function _D(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Pi)?e[Pi]:void 0;return"number"==typeof n?n>=0?255&n:CD:n}(t);if("function"==typeof o){if(!Bh(n,e,r))return r&U.Host?Yh(i,0,r):Xh(n,t,r,i);try{const s=o(r);if(null!=s||r&U.Optional)return s;os()}finally{zh()}}else if("number"==typeof o){let s=null,a=ql(e,n),l=-1,u=r&U.Host?n[16][6]:null;for((-1===a||r&U.SkipSelf)&&(l=-1===a?Ds(e,n):n[a+8],-1!==l&&rp(r,!1)?(s=n[1],a=jr(l),n=Br(l,n)):a=-1);-1!==a;){const d=n[1];if(np(o,a,d.data)){const p=yD(a,n,t,s,r,u);if(p!==un)return p}l=n[a+8],-1!==l&&rp(r,n[1].data[a+8]===u)&&np(o,a,n)?(s=d,a=jr(l),n=Br(l,n)):a=-1}}return i}function yD(e,n,t,r,i,o){const s=n[1],a=s.data[e+8],d=Es(a,s,t,null==r?fs(a)&&Gl:r!=s&&0!=(3&a.type),i&U.Host&&o===a);return null!==d?ji(n,s,d,a):un}function Es(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,v=i?a+d:e.directiveEnd;for(let y=r?a:a+d;y<v;y++){const _=s[y];if(y<l&&t===_||y>=l&&_.type===t)return y}if(i){const y=s[l];if(y&&Kt(y)&&y.type===t)return l}return null}function ji(e,n,t,r){let i=e[t];const o=n.data;if(function cD(e){return e instanceof xi}(i)){const s=i;s.resolving&&function mb(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new R(-200,`Circular dependency in DI detected for ${e}${t}`)}(function ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Q(e)}(o[t]));const a=bs(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Ot(s.injectImpl):null;Bh(e,r,U.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function lD(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=Th(n);(t.preOrderHooks||(t.preOrderHooks=[])).push(e,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,s)}i&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-e,i),o&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e,o),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,o))}(t,o[t],n)}finally{null!==l&&Ot(l),bs(a),s.resolving=!1,zh()}}return i}function np(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function rp(e,n){return!(e&U.Self||e&U.Host&&n)}class $r{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return ep(this._tNode,this._lView,n,r,t)}}function CD(){return new $r(He(),A())}function Xe(e){return Un(()=>{const n=e.prototype.constructor,t=n[En]||Jl(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[En]||Jl(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Jl(e){return Dl(e)?()=>{const n=Jl(G(e));return n&&n()}:gr(e)}function ip(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[6]:null}function Bi(e){return function vD(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i<r;){const o=t[i];if(Wh(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof t[i];)i++;else{if(o===n)return t[i+1];i+=2}}}return null}(He(),e)}const Ur="__parameters__";function Gr(e,n,t){return Un(()=>{const r=function Kl(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,u,d){const p=l.hasOwnProperty(Ur)?l[Ur]:Object.defineProperty(l,Ur,{value:[]})[Ur];for(;p.length<=d;)p.push(null);return(p[d]=p[d]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class B{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=W({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function It(e,n){void 0===n&&(n=e);for(let t=0;t<e.length;t++){let r=e[t];Array.isArray(r)?(n===e&&(n=e.slice(0,t)),It(r,n)):n!==e&&n.push(r)}return n}function In(e,n){e.forEach(t=>Array.isArray(t)?In(t,n):n(t))}function sp(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ms(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function At(e,n,t){let r=Wr(e,n);return r>=0?e[1|r]=t:(r=~r,function MD(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function Zl(e,n){const t=Wr(e,n);if(t>=0)return e[1|t]}function Wr(e,n){return function up(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<t];if(n===s)return o<<t;s>n?i=o:r=o+1}return~(i<<t)}(e,n,1)}const zi={},Xl="__NG_DI_FLAG__",Is="ngTempTokenPath",RD=/\n/gm,cp="__source";let Gi;function qr(e){const n=Gi;return Gi=e,n}function kD(e,n=U.Default){if(void 0===Gi)throw new R(-203,!1);return null===Gi?bh(e,void 0,n):Gi.get(e,n&U.Optional?null:void 0,n)}function j(e,n=U.Default){return(function Mb(){return El}()||kD)(G(e),n)}function Fe(e,n=U.Default){return"number"!=typeof n&&(n=0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)),j(e,n)}function eu(e){const n=[];for(let t=0;t<e.length;t++){const r=G(e[t]);if(Array.isArray(r)){if(0===r.length)throw new R(900,!1);let i,o=U.Default;for(let s=0;s<r.length;s++){const a=r[s],l=xD(a);"number"==typeof l?-1===l?i=a.token:o|=l:i=a}n.push(j(i,o))}else n.push(j(r))}return n}function Wi(e,n){return e[Xl]=n,e.prototype[Xl]=n,e}function xD(e){return e[Xl]}const qi=Wi(Gr("Optional"),8),Ji=Wi(Gr("SkipSelf"),4);let nu;class wp{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function qn(e){return e instanceof wp?e.changingThisBreaksApplicationSecurity:e}const sw=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var xe=(()=>((xe=xe||{})[xe.NONE=0]="NONE",xe[xe.HTML=1]="HTML",xe[xe.STYLE=2]="STYLE",xe[xe.SCRIPT=3]="SCRIPT",xe[xe.URL=4]="URL",xe[xe.RESOURCE_URL=5]="RESOURCE_URL",xe))();function uu(e){const n=function Xi(){const e=A();return e&&e[12]}();return n?n.sanitize(xe.URL,e)||"":function Zi(e,n){const t=function nw(e){return e instanceof wp&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see https://g.co/ng/security#xss)`)}return t===n}(e,"URL")?qn(e):function ou(e){return(e=String(e)).match(sw)?e:"unsafe:"+e}(Q(e))}const cu=new B("ENVIRONMENT_INITIALIZER"),Np=new B("INJECTOR",-1),Fp=new B("INJECTOR_DEF_TYPES");class Rp{get(n,t=zi){if(t===zi){const r=new Error(`NullInjectorError: No provider for ${he(n)}!`);throw r.name="NullInjectorError",r}return t}}function Cw(...e){return{\u0275providers:Op(0,e)}}function Op(e,...n){const t=[],r=new Set;let i;return In(n,o=>{const s=o;du(s,t,[],r)&&(i||(i=[]),i.push(s))}),void 0!==i&&kp(i,t),t}function kp(e,n){for(let t=0;t<e.length;t++){const{providers:i}=e[t];In(i,o=>{n.push(o)})}}function du(e,n,t,r){if(!(e=G(e)))return!1;let i=null,o=_h(e);const s=!o&&ce(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=_h(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)du(u,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let u;r.add(i);try{In(o.imports,d=>{du(d,n,t,r)&&(u||(u=[]),u.push(d))})}finally{}void 0!==u&&kp(u,n)}if(!a){const u=gr(i)||(()=>new i);n.push({provide:i,useFactory:u,deps:le},{provide:Fp,useValue:i,multi:!0},{provide:cu,useValue:()=>j(i),multi:!0})}const l=o.providers;null==l||a||In(l,d=>{n.push(d)})}}return i!==e&&void 0!==e.providers}const bw=fe({provide:String,useValue:fe});function fu(e){return null!==e&&"object"==typeof e&&bw in e}function mr(e){return"function"==typeof e}const hu=new B("Set Injector scope."),Rs={},ww={};let pu;function Os(){return void 0===pu&&(pu=new Rp),pu}class Jn{}class Vp extends Jn{constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,mu(n,s=>this.processProvider(s)),this.records.set(Np,Qr(void 0,this)),i.has("environment")&&this.records.set(Jn,Qr(void 0,this));const o=this.records.get(hu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Fp.multi,le,U.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const t=qr(this),r=Ot(void 0);try{return n()}finally{qr(t),Ot(r)}}get(n,t=zi,r=U.Default){this.assertNotDestroyed();const i=qr(this),o=Ot(void 0);try{if(!(r&U.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function Aw(e){return"function"==typeof e||"object"==typeof e&&e instanceof B}(n)&&ss(n);a=l&&this.injectableDefInScope(l)?Qr(gu(n),Rs):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(r&U.Self?Os():this.parent).get(n,t=r&U.Optional&&t===zi?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[Is]=s[Is]||[]).unshift(he(n)),i)throw s;return function LD(e,n,t,r){const i=e[Is];throw n[cp]&&i.unshift(n[cp]),e.message=function VD(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=he(n);if(Array.isArray(n))i=n.map(he).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):he(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(RD,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[Is]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{Ot(o),qr(i)}}resolveInjectorInitializers(){const n=qr(this),t=Ot(void 0);try{const r=this.get(cu.multi,le,U.Self);for(const i of r)i()}finally{qr(n),Ot(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(he(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new R(205,!1)}processProvider(n){let t=mr(n=G(n))?n:G(n&&n.provide);const r=function Mw(e){return fu(e)?Qr(void 0,e.useValue):Qr(jp(e),Rs)}(n);if(mr(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Qr(void 0,Rs,!0),i.factory=()=>eu(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Rs&&(t.value=ww,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Iw(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=G(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function gu(e){const n=ss(e),t=null!==n?n.factory:gr(e);if(null!==t)return t;if(e instanceof B)throw new R(204,!1);if(e instanceof Function)return function Ew(e){const n=e.length;if(n>0)throw function Ui(e,n){const t=[];for(let r=0;r<e;r++)t.push(n);return t}(n,"?"),new R(204,!1);const t=function Db(e){const n=e&&(e[as]||e[Ch]);if(n){const t=function wb(e){if(e.hasOwnProperty("name"))return e.name;const n=(""+e).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" 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 "${t}" class.`),n}return null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new R(204,!1)}function jp(e,n,t){let r;if(mr(e)){const i=G(e);return gr(i)||gu(i)}if(fu(e))r=()=>G(e.useValue);else if(function Lp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...eu(e.deps||[]));else if(function xp(e){return!(!e||!e.useExisting)}(e))r=()=>j(G(e.useExisting));else{const i=G(e&&(e.useClass||e.provide));if(!function Sw(e){return!!e.deps}(e))return gr(i)||gu(i);r=()=>new i(...eu(e.deps))}return r}function Qr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Tw(e){return!!e.\u0275providers}function mu(e,n){for(const t of e)Array.isArray(t)?mu(t,n):Tw(t)?mu(t.\u0275providers,n):n(t)}class Bp{}class Fw{resolveComponentFactory(n){throw function Nw(e){const n=Error(`No component factory found for ${he(e)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=e,n}(n)}}let eo=(()=>{class e{}return e.NULL=new Fw,e})();function Rw(){return Zr(He(),A())}function Zr(e,n){return new pe(jt(e,n))}let pe=(()=>{class e{constructor(t){this.nativeElement=t}}return e.__NG_ELEMENT_ID__=Rw,e})();function Ow(e){return e instanceof pe?e.nativeElement:e}class Hp{}let Tn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function kw(){const e=A(),t=St(He().index,e);return(mt(t)?t:e)[11]}(),e})(),xw=(()=>{class e{}return e.\u0275prov=W({token:e,providedIn:"root",factory:()=>null}),e})();class to{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const Lw=new to("14.2.7"),vu={};function Du(e){return e.ngOriginalError}class Yr{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Du(n);for(;t&&Du(t);)t=Du(t);return t||null}}const wu=new Map;let Kw=0;const Mu="__ngContext__";function et(e,n){mt(n)?(e[Mu]=n[20],function Zw(e){wu.set(e[20],e)}(n)):e[Mu]=n}function Pn(e){return e instanceof Function?e():e}var vt=(()=>((vt=vt||{})[vt.Important=1]="Important",vt[vt.DashCase=2]="DashCase",vt))();function Iu(e,n){return undefined(e,n)}function ro(e){const n=e[3];return Jt(n)?n[3]:n}function Au(e){return ng(e[13])}function Tu(e){return ng(e[4])}function ng(e){for(;null!==e&&!Jt(e);)e=e[4];return e}function ei(e,n,t,r,i){if(null!=r){let o,s=!1;Jt(r)?o=r:mt(r)&&(s=!0,r=r[0]);const a=ke(r);0===e&&null!==t?null==i?lg(n,t,a):vr(n,t,a,i||null,!0):1===e&&null!==t?vr(n,t,a,i||null,!0):2===e?function gg(e,n,t){const r=ks(e,n);r&&function EE(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function IE(e,n,t,r,i){const o=t[7];o!==ke(t)&&ei(n,e,r,o,i);for(let a=10;a<t.length;a++){const l=t[a];io(l[1],l,e,n,r,o)}}(n,e,o,t,i)}}function Nu(e,n,t){return e.createElement(n,t)}function ig(e,n){const t=e[9],r=t.indexOf(n),i=n[3];512&n[2]&&(n[2]&=-513,kl(i,-1)),t.splice(r,1)}function Fu(e,n){if(e.length<=10)return;const t=10+n,r=e[t];if(r){const i=r[17];null!==i&&i!==e&&ig(i,r),n>0&&(e[t-1][4]=r[4]);const o=Ms(e,10+n);!function mE(e,n){io(e,n,n[11],2,null,null),n[0]=null,n[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function og(e,n){if(!(128&n[2])){const t=n[11];t.destroyNode&&io(e,n,t,3,null,null),function _E(e){let n=e[13];if(!n)return Ru(e[1],e);for(;n;){let t=null;if(mt(n))t=n[13];else{const r=n[10];r&&(t=r)}if(!t){for(;n&&!n[4]&&n!==e;)mt(n)&&Ru(n[1],n),n=n[3];null===n&&(n=e),mt(n)&&Ru(n[1],n),t=n&&n[4]}n=t}}(n)}}function Ru(e,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function wE(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r<t.length;r+=2){const i=n[t[r]];if(!(i instanceof xi)){const o=t[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(i)}finally{}}}}(e,n),function DE(e,n){const t=e.cleanup,r=n[7];let i=-1;if(null!==t)for(let o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){const s=t[o+1],a="function"==typeof s?s(n):ke(n[s]),l=r[i=t[o+2]],u=t[o+3];"boolean"==typeof u?a.removeEventListener(t[o],l,u):u>=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{const s=r[i=t[o+1]];t[o].call(s)}if(null!==r){for(let o=i+1;o<r.length;o++)(0,r[o])();n[7]=null}}(e,n),1===n[1].type&&n[11].destroy();const t=n[17];if(null!==t&&Jt(n[3])){t!==n[3]&&ig(t,n);const r=n[19];null!==r&&r.detachView(e)}!function Yw(e){wu.delete(e[20])}(n)}}function sg(e,n,t){return function ag(e,n,t){let r=n;for(;null!==r&&40&r.type;)r=(n=r).parent;if(null===r)return t[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===an.None||i===an.Emulated)return null}return jt(r,t)}(e,n.parent,t)}function vr(e,n,t,r,i){e.insertBefore(n,t,r,i)}function lg(e,n,t){e.appendChild(n,t)}function ug(e,n,t,r,i){null!==r?vr(e,n,t,r,i):lg(e,n,t)}function ks(e,n){return e.parentNode(n)}let fg=function dg(e,n,t){return 40&e.type?jt(e,t):null};function xs(e,n,t,r){const i=sg(e,r,n),o=n[11],a=function cg(e,n,t){return fg(e,n,t)}(r.parent||n[6],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;l<t.length;l++)ug(o,i,t[l],a,!1);else ug(o,i,t,a,!1)}function Ls(e,n){if(null!==n){const t=n.type;if(3&t)return jt(n,e);if(4&t)return ku(-1,e[n.index]);if(8&t){const r=n.child;if(null!==r)return Ls(e,r);{const i=e[n.index];return Jt(i)?ku(-1,i):ke(i)}}if(32&t)return Iu(n,e)()||ke(e[n.index]);{const r=pg(e,n);return null!==r?Array.isArray(r)?r[0]:Ls(ro(e[16]),r):Ls(e,n.next)}}return null}function pg(e,n){return null!==n?e[16][6].projection[n.projection]:null}function ku(e,n){const t=10+e+1;if(t<n.length){const r=n[t],i=r[1].firstChild;if(null!==i)return Ls(r,i)}return n[7]}function xu(e,n,t,r,i,o,s){for(;null!=t;){const a=r[t.index],l=t.type;if(s&&0===n&&(a&&et(ke(a),r),t.flags|=4),64!=(64&t.flags))if(8&l)xu(e,n,t.child,r,i,o,!1),ei(n,e,i,a,o);else if(32&l){const u=Iu(t,r);let d;for(;d=u();)ei(n,e,i,d,o);ei(n,e,i,a,o)}else 16&l?mg(e,n,r,t,i,o):ei(n,e,i,a,o);t=s?t.projectionNext:t.next}}function io(e,n,t,r,i,o){xu(t,r,e.firstChild,n,i,o,!1)}function mg(e,n,t,r,i,o){const s=t[16],l=s[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)ei(n,e,i,l[u],o);else xu(e,n,l,s[3],i,o,!0)}function vg(e,n,t){e.setAttribute(n,"style",t)}function Lu(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function yg(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}const _g="ng-template";function TE(e,n,t){let r=0;for(;r<e.length;){let i=e[r++];if(t&&"class"===i){if(i=e[r],-1!==yg(i.toLowerCase(),n,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===n)return!0;return!1}}return!1}function Cg(e){return 4===e.type&&e.value!==_g}function PE(e,n,t){return n===(4!==e.type||t?e.value:_g)}function NE(e,n,t){let r=4;const i=e.attrs||[],o=function OE(e){for(let n=0;n<e.length;n++)if(Wh(e[n]))return n;return e.length}(i);let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!PE(e,l,t)||""===l&&1===n.length){if(Qt(r))return!1;s=!0}}else{const u=8&r?l:n[++a];if(8&r&&null!==e.attrs){if(!TE(e.attrs,u,t)){if(Qt(r))return!1;s=!0}continue}const p=FE(8&r?"class":l,i,Cg(e),t);if(-1===p){if(Qt(r))return!1;s=!0;continue}if(""!==u){let v;v=p>o?"":i[p+1].toLowerCase();const y=8&r?v:null;if(y&&-1!==yg(y,u,0)||2&r&&u!==v){if(Qt(r))return!1;s=!0}}}}else{if(!s&&!Qt(r)&&!Qt(l))return!1;if(s&&Qt(l))continue;s=!1,r=l|1&r}}return Qt(r)||s}function Qt(e){return 0==(1&e)}function FE(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i<n.length;){const s=n[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++i];for(;"string"==typeof a;)a=n[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function kE(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const r=e[t];if("number"==typeof r)return-1;if(r===n)return t;t++}return-1}(n,e)}function bg(e,n,t=!1){for(let r=0;r<n.length;r++)if(NE(e,n[r],t))return!0;return!1}function Dg(e,n){return e?":not("+n.trim()+")":n}function LE(e){let n=e[0],t=1,r=2,i="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&r){const a=e[++t];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Qt(s)&&(n+=Dg(o,i),i=""),r=s,o=o||!Qt(r);t++}return""!==i&&(n+=Dg(o,i)),n}const Z={};function c(e){wg(se(),A(),lt()+e,!1)}function wg(e,n,t,r){if(!r)if(3==(3&n[2])){const o=e.preOrderCheckHooks;null!==o&&vs(n,o,t)}else{const o=e.preOrderHooks;null!==o&&ys(n,o,0,t)}Gn(t)}function Ig(e,n=null,t=null,r){const i=Ag(e,n,t,r);return i.resolveInjectorInitializers(),i}function Ag(e,n=null,t=null,r,i=new Set){const o=[t||le,Cw(e)];return r=r||("object"==typeof e?void 0:he(e)),new Vp(o,n||Os(),r||null,i)}let Tt=(()=>{class e{static create(t,r){var i;if(Array.isArray(t))return Ig({name:""},r,t,"");{const o=null!==(i=t.name)&&void 0!==i?i:"";return Ig({name:o},t.parent,t.providers,o)}}}return e.THROW_IF_NOT_FOUND=zi,e.NULL=new Rp,e.\u0275prov=W({token:e,providedIn:"any",factory:()=>j(Np)}),e.__NG_ELEMENT_ID__=-1,e})();function E(e,n=U.Default){const t=A();return null===t?j(e,n):ep(He(),t,G(e),n)}function Hu(){throw new Error("invalid")}function js(e,n){return e<<17|n<<2}function Zt(e){return e>>17&32767}function Uu(e){return 2|e}function Nn(e){return(131068&e)>>2}function zu(e,n){return-131069&e|n<<2}function Gu(e){return 1|e}function Gg(e,n){const t=e.contentQueries;if(null!==t)for(let r=0;r<t.length;r+=2){const i=t[r],o=t[r+1];if(-1!==o){const s=e.data[o];Bl(i),s.contentQueries(2,n[o],o)}}}function Hs(e,n,t,r,i,o,s,a,l,u,d){const p=n.blueprint.slice();return p[0]=i,p[2]=76|r,(null!==d||e&&1024&e[2])&&(p[2]|=1024),Fh(p),p[3]=p[15]=e,p[8]=t,p[10]=s||e&&e[10],p[11]=a||e&&e[11],p[12]=l||e&&e[12]||null,p[9]=u||e&&e[9]||null,p[6]=o,p[20]=function Qw(){return Kw++}(),p[21]=d,p[16]=2==n.type?e[16]:p,p}function ni(e,n,t,r,i){let o=e.data[n];if(null===o)o=function Xu(e,n,t,r,i){const o=kh(),s=xl(),l=e.data[n]=function _M(e,n,t,r,i,o){return{type:t,index:r,insertBeforeIndex:null,injectorIndex:n?n.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l)),l}(e,n,t,r,i),function Zb(){return K.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function ki(){const e=K.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return ln(o,!0),o}function ri(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;o<t;o++)n.push(r),e.blueprint.push(r),e.data.push(null);return i}function ec(e,n,t){$l(n);try{const r=e.viewQuery;null!==r&&lc(1,r,t);const i=e.template;null!==i&&Wg(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Gg(e,n),e.staticViewQueries&&lc(2,e.viewQuery,t);const o=e.components;null!==o&&function mM(e,n){for(let t=0;t<n.length;t++)kM(e,n[t])}(n,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[2]&=-5,Hl()}}function Us(e,n,t,r){const i=n[2];if(128!=(128&i)){$l(n);try{Fh(n),function Lh(e){return K.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Wg(e,n,t,2,r);const s=3==(3&i);if(s){const u=e.preOrderCheckHooks;null!==u&&vs(n,u,null)}else{const u=e.preOrderHooks;null!==u&&ys(n,u,0,null),Ul(n,0)}if(function RM(e){for(let n=Au(e);null!==n;n=Tu(n)){if(!n[2])continue;const t=n[9];for(let r=0;r<t.length;r++){const i=t[r],o=i[3];0==(512&i[2])&&kl(o,1),i[2]|=512}}}(n),function FM(e){for(let n=Au(e);null!==n;n=Tu(n))for(let t=10;t<n.length;t++){const r=n[t],i=r[1];gs(r)&&Us(i,r,i.template,r[8])}}(n),null!==e.contentQueries&&Gg(e,n),s){const u=e.contentCheckHooks;null!==u&&vs(n,u)}else{const u=e.contentHooks;null!==u&&ys(n,u,1),Ul(n,1)}!function pM(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const i=t[r];if(i<0)Gn(~i);else{const o=i,s=t[++r],a=t[++r];Yb(s,o),a(2,n[o])}}}finally{Gn(-1)}}(e,n);const a=e.components;null!==a&&function gM(e,n){for(let t=0;t<n.length;t++)OM(e,n[t])}(n,a);const l=e.viewQuery;if(null!==l&&lc(2,l,r),s){const u=e.viewCheckHooks;null!==u&&vs(n,u)}else{const u=e.viewHooks;null!==u&&ys(n,u,2),Ul(n,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[2]&=-41,512&n[2]&&(n[2]&=-513,kl(n[3],-1))}finally{Hl()}}}function Wg(e,n,t,r,i){const o=lt(),s=2&r;try{Gn(-1),s&&n.length>22&&wg(e,n,22,!1),t(r,i)}finally{Gn(o)}}function tc(e,n,t){!Oh()||(function EM(e,n,t,r){const i=t.directiveStart,o=t.directiveEnd;e.firstCreatePass||Vi(t,n),et(r,n);const s=t.initialInputs;for(let a=i;a<o;a++){const l=e.data[a],u=Kt(l);u&&TM(n,t,l);const d=ji(n,e,a,t);et(d,n),null!==s&&PM(0,a-i,d,l,0,s),u&&(St(t.index,n)[8]=d)}}(e,n,t,jt(t,n)),128==(128&t.flags)&&function MM(e,n,t){const r=t.directiveStart,i=t.directiveEnd,o=t.index,s=function Xb(){return K.lFrame.currentDirectiveIndex}();try{Gn(o);for(let a=r;a<i;a++){const l=e.data[a],u=n[a];Vl(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&em(l,u)}}finally{Gn(-1),Vl(s)}}(e,n,t))}function nc(e,n,t=jt){const r=n.localNames;if(null!==r){let i=n.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?t(n,e):e[s];e[i++]=a}}}function Jg(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=rc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):n}function rc(e,n,t,r,i,o,s,a,l,u){const d=22+r,p=d+i,v=function vM(e,n){const t=[];for(let r=0;r<n;r++)t.push(r<e?null:Z);return t}(d,p),y="function"==typeof u?u():u;return v[1]={type:e,blueprint:v,template:t,queries:null,viewQuery:a,declTNode:n,data:v.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:y,incompleteFirstPass:!1}}function Kg(e,n,t,r){const i=om(n);null===t?i.push(r):(i.push(t),e.firstCreatePass&&sm(e).push(r,i.length-1))}function Qg(e,n,t){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(t=null===t?{}:t).hasOwnProperty(r)?t[r].push(n,i):t[r]=[n,i]}return t}function Zg(e,n){const r=n.directiveEnd,i=e.data,o=n.attrs,s=[];let a=null,l=null;for(let u=n.directiveStart;u<r;u++){const d=i[u],p=d.inputs,v=null===o||Cg(n)?null:NM(p,o);s.push(v),a=Qg(p,u,a),l=Qg(d.outputs,u,l)}null!==a&&(a.hasOwnProperty("class")&&(n.flags|=16),a.hasOwnProperty("style")&&(n.flags|=32)),n.initialInputs=s,n.inputs=a,n.outputs=l}function Pt(e,n,t,r,i,o,s,a){const l=jt(n,t);let d,u=n.inputs;!a&&null!=u&&(d=u[r])?(uc(e,t,d,r,i),fs(n)&&Yg(t,n.index)):3&n.type&&(r=function CM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}function Yg(e,n){const t=St(n,e);16&t[2]||(t[2]|=32)}function ic(e,n,t,r){let i=!1;if(Oh()){const o=function SM(e,n,t){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];bg(t,s.selectors,!1)&&(i||(i=[]),ws(Vi(t,n),e,s.type),Kt(s)?(tm(e,t),i.unshift(s)):i.push(s))}return i}(e,n,t),s=null===r?null:{"":-1};if(null!==o){i=!0,nm(t,e.data.length,o.length);for(let d=0;d<o.length;d++){const p=o[d];p.providersResolver&&p.providersResolver(p)}let a=!1,l=!1,u=ri(e,n,o.length,null);for(let d=0;d<o.length;d++){const p=o[d];t.mergedAttrs=Cs(t.mergedAttrs,p.hostAttrs),rm(e,t,n,u,p),AM(u,p,s),null!==p.contentQueries&&(t.flags|=8),(null!==p.hostBindings||null!==p.hostAttrs||0!==p.hostVars)&&(t.flags|=128);const v=p.type.prototype;!a&&(v.ngOnChanges||v.ngOnInit||v.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t.index),a=!0),!l&&(v.ngOnChanges||v.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t.index),l=!0),u++}Zg(e,t)}s&&function IM(e,n,t){if(n){const r=e.localNames=[];for(let i=0;i<n.length;i+=2){const o=t[n[i+1]];if(null==o)throw new R(-301,!1);r.push(n[i],o)}}}(t,r,s)}return t.mergedAttrs=Cs(t.mergedAttrs,t.attrs),i}function Xg(e,n,t,r,i,o){const s=o.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const l=~n.index;(function wM(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(a)!=l&&a.push(l),a.push(r,i,s)}}function em(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function tm(e,n){n.flags|=2,(e.components||(e.components=[])).push(n.index)}function AM(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Kt(n)&&(t[""]=e)}}function nm(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function rm(e,n,t,r,i){e.data[r]=i;const o=i.factory||(i.factory=gr(i.type)),s=new xi(o,Kt(i),E);e.blueprint[r]=s,t[r]=s,Xg(e,n,0,r,ri(e,t,i.hostVars,Z),i)}function TM(e,n,t){const r=jt(n,e),i=Jg(t),o=e[10],s=zs(e,Hs(e,i,null,t.onPush?32:16,r,n,o,o.createRenderer(r,t),null,null,null));e[n.index]=s}function cn(e,n,t,r,i,o){const s=jt(e,n);!function oc(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?Q(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[11],s,o,e.value,t,r,i)}function PM(e,n,t,r,i,o){const s=o[n];if(null!==s){const a=r.setInput;for(let l=0;l<s.length;){const u=s[l++],d=s[l++],p=s[l++];null!==a?r.setInput(t,p,u,d):t[d]=p}}}function NM(e,n){let t=null,r=0;for(;r<n.length;){const i=n[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===t&&(t=[]),t.push(i,e[i],n[r+1])),r+=2}else r+=2;else r+=4}return t}function im(e,n,t,r){return new Array(e,!0,!1,n,null,0,r,t,null,null)}function OM(e,n){const t=St(n,e);if(gs(t)){const r=t[1];48&t[2]?Us(r,t,r.template,t[8]):t[5]>0&&sc(t)}}function sc(e){for(let r=Au(e);null!==r;r=Tu(r))for(let i=10;i<r.length;i++){const o=r[i];if(gs(o))if(512&o[2]){const s=o[1];Us(s,o,s.template,o[8])}else o[5]>0&&sc(o)}const t=e[1].components;if(null!==t)for(let r=0;r<t.length;r++){const i=St(t[r],e);gs(i)&&i[5]>0&&sc(i)}}function kM(e,n){const t=St(n,e),r=t[1];(function xM(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])})(r,t),ec(r,t,t[8])}function zs(e,n){return e[13]?e[14][4]=n:e[13]=n,e[14]=n,n}function ac(e){for(;e;){e[2]|=32;const n=ro(e);if(Nb(e)&&!n)return e;e=n}return null}function Gs(e,n,t,r=!0){const i=n[10];i.begin&&i.begin();try{Us(e,n,e.template,t)}catch(s){throw r&&lm(n,s),s}finally{i.end&&i.end()}}function lc(e,n,t){Bl(0),n(e,t)}function om(e){return e[7]||(e[7]=[])}function sm(e){return e.cleanup||(e.cleanup=[])}function lm(e,n){const t=e[9],r=t?t.get(Yr,null):null;r&&r.handleError(n)}function uc(e,n,t,r,i){for(let o=0;o<t.length;){const s=t[o++],a=t[o++],l=n[s],u=e.data[s];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}function Ws(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?i=bl(i,a):2==o&&(r=bl(r,a+": "+n[++s]+";"))}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=i:e.classesWithoutHost=i}function qs(e,n,t,r,i=!1){for(;null!==t;){const o=n[t.index];if(null!==o&&r.push(ke(o)),Jt(o))for(let a=10;a<o.length;a++){const l=o[a],u=l[1].firstChild;null!==u&&qs(l[1],l,u,r)}const s=t.type;if(8&s)qs(e,n,t.child,r);else if(32&s){const a=Iu(t,n);let l;for(;l=a();)r.push(l)}else if(16&s){const a=pg(n,t);if(Array.isArray(a))r.push(...a);else{const l=ro(n[16]);qs(l[1],l,a,r,!0)}}t=i?t.projectionNext:t.next}return r}class oo{constructor(n,t){this._lView=n,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const n=this._lView,t=n[1];return qs(t,n,t.firstChild,[])}get context(){return this._lView[8]}set context(n){this._lView[8]=n}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(Jt(n)){const t=n[8],r=t?t.indexOf(this):-1;r>-1&&(Fu(n,r),Ms(t,r))}this._attachedToViewContainer=!1}og(this._lView[1],this._lView)}onDestroy(n){Kg(this._lView[1],this._lView,null,n)}markForCheck(){ac(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Gs(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new R(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function yE(e,n){io(e,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new R(902,!1);this._appRef=n}}class LM extends oo{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Gs(n[1],n,n[8],!1)}checkNoChanges(){}get context(){return null}}class cc extends eo{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ce(n);return new so(t,this.ngModule)}}function um(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class jM{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){const i=this.injector.get(n,vu,r);return i!==vu||t===vu?i:this.parentInjector.get(n,t,r)}}class so extends Bp{constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function VE(e){return e.map(LE).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return um(this.componentDef.inputs)}get outputs(){return um(this.componentDef.outputs)}create(n,t,r,i){let o=(i=i||this.ngModule)instanceof Jn?i:null==i?void 0:i.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new jM(n,o):n,a=s.get(Hp,null);if(null===a)throw new R(407,!1);const l=s.get(xw,null),u=a.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",p=r?function yM(e,n,t){return e.selectRootElement(n,t===an.ShadowDom)}(u,r,this.componentDef.encapsulation):Nu(a.createRenderer(null,this.componentDef),d,function VM(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(d)),v=this.componentDef.onPush?288:272,y=rc(0,null,null,1,0,null,null,null,null,null),_=Hs(null,y,null,v,null,null,a,u,l,s,null);let D,S;$l(_);try{const I=function HM(e,n,t,r,i,o){const s=t[1];t[22]=e;const l=ni(s,22,2,"#host",null),u=l.mergedAttrs=n.hostAttrs;null!==u&&(Ws(l,u,!0),null!==e&&(_s(i,e,u),null!==l.classes&&Lu(i,e,l.classes),null!==l.styles&&vg(i,e,l.styles)));const d=r.createRenderer(e,n),p=Hs(t,Jg(n),null,n.onPush?32:16,t[22],l,r,d,o||null,null,null);return s.firstCreatePass&&(ws(Vi(l,t),s,n.type),tm(s,l),nm(l,t.length,1)),zs(t,p),t[22]=p}(p,this.componentDef,_,a,u);if(p)if(r)_s(u,p,["ng-version",Lw.full]);else{const{attrs:O,classes:M}=function jE(e){const n=[],t=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&n.push(o,e[++r]):8===i&&t.push(o);else{if(!Qt(i))break;i=o}r++}return{attrs:n,classes:t}}(this.componentDef.selectors[0]);O&&_s(u,p,O),M&&M.length>0&&Lu(u,p,M.join(" "))}if(S=Ol(y,22),void 0!==t){const O=S.projection=[];for(let M=0;M<this.ngContentSelectors.length;M++){const V=t[M];O.push(null!=V?Array.from(V):null)}}D=function UM(e,n,t,r){const i=t[1],o=function DM(e,n,t){const r=He();e.firstCreatePass&&(t.providersResolver&&t.providersResolver(t),rm(e,r,n,ri(e,n,1,null),t),Zg(e,r));const i=ji(n,e,r.directiveStart,r);et(i,n);const o=jt(r,n);return o&&et(o,n),i}(i,t,n);if(e[8]=t[8]=o,null!==r)for(const a of r)a(o,n);if(n.contentQueries){const a=He();n.contentQueries(1,o,a.directiveStart)}const s=He();return!i.firstCreatePass||null===n.hostBindings&&null===n.hostAttrs||(Gn(s.index),Xg(t[1],s,0,s.directiveStart,s.directiveEnd,n),em(n,o)),o}(I,this.componentDef,_,[zM]),ec(y,_,null)}finally{Hl()}return new $M(this.componentType,D,Zr(S,_),_,S)}}class $M extends class Pw{}{constructor(n,t,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=t,this.hostView=this.changeDetectorRef=new LM(i),this.componentType=n}setInput(n,t){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[n])){const o=this._rootLView;uc(o[1],o,i,n,t),Yg(o,this._tNode.index)}}get injector(){return new $r(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function zM(){const e=He();ms(A()[1],e)}function de(e){let n=function cm(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const r=[e];for(;n;){let i;if(Kt(e))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new R(903,!1);i=n.\u0275dir}if(i){if(t){r.push(i);const s=e;s.inputs=dc(e.inputs),s.declaredInputs=dc(e.declaredInputs),s.outputs=dc(e.outputs);const a=i.hostBindings;a&&JM(e,a);const l=i.viewQuery,u=i.contentQueries;if(l&&WM(e,l),u&&qM(e,u),Cl(e.inputs,i.inputs),Cl(e.declaredInputs,i.declaredInputs),Cl(e.outputs,i.outputs),Kt(i)&&i.data.animation){const d=e.data;d.animation=(d.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===de&&(t=!1)}}n=Object.getPrototypeOf(n)}!function GM(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Cs(i.hostAttrs,t=Cs(t,i.hostAttrs))}}(r)}function dc(e){return e===Fr?{}:e===le?[]:e}function WM(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function qM(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function JM(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}let Js=null;function yr(){if(!Js){const e=ve.Symbol;if(e&&e.iterator)Js=e.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<n.length;++t){const r=n[t];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Js=r)}}}return Js}function ao(e){return!!fc(e)&&(Array.isArray(e)||!(e instanceof Map)&&yr()in e)}function fc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function dn(e,n,t){return e[n]=t}function tt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function _r(e,n,t,r){const i=tt(e,n,t);return tt(e,n+1,r)||i}function fn(e,n,t,r){const i=A();return tt(i,Vr(),n)&&(se(),cn(Me(),i,e,n,t,r)),fn}function oi(e,n,t,r){return tt(e,Vr(),t)?n+Q(t)+r:Z}function ai(e,n,t,r,i,o,s,a){const u=function Ks(e,n,t,r,i){const o=_r(e,n,t,r);return tt(e,n+2,i)||o}(e,Mn(),t,i,s);return Sn(3),u?n+Q(t)+r+Q(i)+o+Q(s)+a:Z}function J(e,n,t,r,i,o,s,a){const l=A(),u=se(),d=e+22,p=u.firstCreatePass?function nS(e,n,t,r,i,o,s,a,l){const u=n.consts,d=ni(n,e,4,s||null,zn(u,a));ic(n,t,d,zn(u,l)),ms(n,d);const p=d.tViews=rc(2,d,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,u);return null!==n.queries&&(n.queries.template(n,d),p.queries=n.queries.embeddedTView(d)),d}(d,u,l,n,t,r,i,o,s):u.data[d];ln(p,!1);const v=l[11].createComment("");xs(u,l,v,p),et(v,l),zs(l,l[d]=im(v,l,v,p)),hs(p)&&tc(u,l,p),null!=s&&nc(l,p,a)}function g(e,n,t){const r=A();return tt(r,Vr(),n)&&Pt(se(),Me(),r,e,n,r[11],t,!1),g}function hc(e,n,t,r,i){const s=i?"class":"style";uc(e,t,n.inputs[s],s,r)}function f(e,n,t,r){const i=A(),o=se(),s=22+e,a=i[11],l=i[s]=Nu(a,n,function aD(){return K.lFrame.currentNamespace}()),u=o.firstCreatePass?function oS(e,n,t,r,i,o,s){const a=n.consts,u=ni(n,e,2,i,zn(a,o));return ic(n,t,u,zn(a,s)),null!==u.attrs&&Ws(u,u.attrs,!1),null!==u.mergedAttrs&&Ws(u,u.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,u),u}(s,o,i,0,n,t,r):o.data[s];ln(u,!0);const d=u.mergedAttrs;null!==d&&_s(a,l,d);const p=u.classes;null!==p&&Lu(a,l,p);const v=u.styles;return null!==v&&vg(a,l,v),64!=(64&u.flags)&&xs(o,i,l,u),0===function Gb(){return K.lFrame.elementDepthCount}()&&et(l,i),function Wb(){K.lFrame.elementDepthCount++}(),hs(u)&&(tc(o,i,u),function qg(e,n,t){if(Tl(n)){const i=n.directiveEnd;for(let o=n.directiveStart;o<i;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,t[o],o)}}}(o,u,i)),null!==r&&nc(i,u),f}function h(){let e=He();xl()?function Ll(){K.lFrame.isParent=!1}():(e=e.parent,ln(e,!1));const n=e;!function qb(){K.lFrame.elementDepthCount--}();const t=se();return t.firstCreatePass&&(ms(t,e),Tl(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function fD(e){return 0!=(16&e.flags)}(n)&&hc(t,n,A(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function hD(e){return 0!=(32&e.flags)}(n)&&hc(t,n,A(),n.stylesWithoutHost,!1),h}function w(e,n,t,r){return f(e,n,t,r),h(),w}function Nt(){return A()}function uo(e){return!!e&&"function"==typeof e.then}const mc=function bm(e){return!!e&&"function"==typeof e.subscribe};function P(e,n,t,r){const i=A(),o=se(),s=He();return function wm(e,n,t,r,i,o,s,a){const l=hs(r),d=e.firstCreatePass&&sm(e),p=n[8],v=om(n);let y=!0;if(3&r.type||a){const S=jt(r,n),I=a?a(S):S,O=v.length,M=a?ne=>a(ke(ne[r.index])):r.index;let V=null;if(!a&&l&&(V=function aS(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===t&&i[o+1]===r){const a=n[7],l=i[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==V)(V.__ngLastListenerFn__||V).__ngNextListenerFn__=o,V.__ngLastListenerFn__=o,y=!1;else{o=Mm(r,n,p,o,!1);const ne=t.listen(I,i,o);v.push(o,ne),d&&d.push(i,M,O,O+1)}}else o=Mm(r,n,p,o,!1);const _=r.outputs;let D;if(y&&null!==_&&(D=_[i])){const S=D.length;if(S)for(let I=0;I<S;I+=2){const De=n[D[I]][D[I+1]].subscribe(o),Pr=v.length;v.push(o,De),d&&d.push(i,r.index,Pr,-(Pr+1))}}}(o,i,i[11],s,e,n,0,r),P}function Em(e,n,t,r){try{return!1!==t(r)}catch(i){return lm(e,i),!1}}function Mm(e,n,t,r,i){return function o(s){if(s===Function)return r;ac(2&e.flags?St(e.index,n):n);let l=Em(n,0,r,s),u=o.__ngNextListenerFn__;for(;u;)l=Em(n,0,u,s)&&l,u=u.__ngNextListenerFn__;return i&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function x(e=1){return function tD(e){return(K.lFrame.contextLView=function nD(e,n){for(;e>0;)n=n[15],e--;return n}(e,K.lFrame.contextLView))[8]}(e)}function vc(e,n,t){return co(e,"",n,"",t),vc}function co(e,n,t,r,i){const o=A(),s=oi(o,n,t,r);return s!==Z&&Pt(se(),Me(),o,e,s,o[11],i,!1),co}function yc(e,n,t,r,i,o,s){const a=A(),l=function si(e,n,t,r,i,o){const a=_r(e,Mn(),t,i);return Sn(2),a?n+Q(t)+r+Q(i)+o:Z}(a,n,t,r,i,o);return l!==Z&&Pt(se(),Me(),a,e,l,a[11],s,!1),yc}function Rm(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?Zt(o):Nn(o),l=!1;for(;0!==a&&(!1===l||s);){const d=e[a+1];hS(e[a],n)&&(l=!0,e[a+1]=r?Gu(d):Uu(d)),a=r?Zt(d):Nn(d)}l&&(e[t+1]=r?Uu(o):Gu(o))}function hS(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Wr(e,n)>=0}const ze={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Om(e){return e.substring(ze.key,ze.keyEnd)}function km(e,n){const t=ze.textEnd;return t===n?-1:(n=ze.keyEnd=function vS(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,ze.key=n,t),hi(e,n,t))}function hi(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function Qs(e,n){return function Yt(e,n,t,r){const i=A(),o=se(),s=Sn(2);o.firstUpdatePass&&Hm(o,e,s,r),n!==Z&&tt(i,s,n)&&zm(o,o.data[lt()],i,i[11],e,i[s+1]=function AS(e,n){return null==e||("string"==typeof n?e+=n:"object"==typeof e&&(e=he(qn(e)))),e}(n,t),r,s)}(e,n,null,!0),Qs}function pn(e,n){for(let t=function gS(e){return function Lm(e){ze.key=0,ze.keyEnd=0,ze.value=0,ze.valueEnd=0,ze.textEnd=e.length}(e),km(e,hi(e,0,ze.textEnd))}(n);t>=0;t=km(n,t))At(e,Om(n),!0)}function Xt(e,n,t,r){const i=se(),o=Sn(2);i.firstUpdatePass&&Hm(i,null,o,r);const s=A();if(t!==Z&&tt(s,o,t)){const a=i.data[lt()];if(Wm(a,r)&&!$m(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=bl(l,t||"")),hc(i,a,s,t,r)}else!function IS(e,n,t,r,i,o,s,a){i===Z&&(i=le);let l=0,u=0,d=0<i.length?i[0]:null,p=0<o.length?o[0]:null;for(;null!==d||null!==p;){const v=l<i.length?i[l+1]:void 0,y=u<o.length?o[u+1]:void 0;let D,_=null;d===p?(l+=2,u+=2,v!==y&&(_=p,D=y)):null===p||null!==d&&d<p?(l+=2,_=d):(u+=2,_=p,D=y),null!==_&&zm(e,n,t,r,_,D,s,a),d=l<i.length?i[l]:null,p=u<o.length?o[u]:null}}(i,a,s,s[11],s[o+1],s[o+1]=function SS(e,n,t){if(null==t||""===t)return le;const r=[],i=qn(t);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&n(r,i);return r}(e,n,t),r,o)}}function $m(e,n){return n>=e.expandoStartIndex}function Hm(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[lt()],s=$m(e,t);Wm(o,r)&&null===n&&!s&&(n=!1),n=function DS(e,n,t,r){const i=function jl(e){const n=K.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=fo(t=_c(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=_c(i,e,n,t,r),null===o){let l=function wS(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Nn(r))return e[Zt(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=_c(null,e,n,l[1],r),l=fo(l,n.attrs,r),function ES(e,n,t,r){e[Zt(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function MS(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++)r=fo(r,e[o].hostAttrs,t);return fo(r,n.attrs,t)}(e,n,r)}return void 0!==o&&(r?n.residualClasses=o:n.residualStyles=o),t}(i,o,n,r),function dS(e,n,t,r,i,o){let s=o?n.classBindings:n.styleBindings,a=Zt(s),l=Nn(s);e[r]=t;let d,u=!1;if(Array.isArray(t)){const p=t;d=p[1],(null===d||Wr(p,d)>0)&&(u=!0)}else d=t;if(i)if(0!==l){const v=Zt(e[a+1]);e[r+1]=js(v,a),0!==v&&(e[v+1]=zu(e[v+1],r)),e[a+1]=function iM(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=js(a,0),0!==a&&(e[a+1]=zu(e[a+1],r)),a=r;else e[r+1]=js(l,0),0===a?a=r:e[l+1]=zu(e[l+1],r),l=r;u&&(e[r+1]=Uu(e[r+1])),Rm(e,d,r,!0),Rm(e,d,r,!1),function fS(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Wr(o,n)>=0&&(t[r+1]=Gu(t[r+1]))}(n,d,e,r,o),s=js(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function _c(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(o=n[a],r=fo(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),r}function fo(e,n,t){const r=t?1:2;let i=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),At(e,s,!!t||n[++o]))}return void 0===e?null:e}function zm(e,n,t,r,i,o,s,a){if(!(3&n.type))return;const l=e.data,u=l[a+1];Zs(function Lg(e){return 1==(1&e)}(u)?Gm(l,n,t,i,Nn(u),s):void 0)||(Zs(o)||function xg(e){return 2==(2&e)}(u)&&(o=Gm(l,null,t,i,a,s)),function AE(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:vt.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=vt.Important),e.setStyle(t,r,i,o))}}(r,s,ps(lt(),t),i,o))}function Gm(e,n,t,r,i,o){const s=null===n;let a;for(;i>0;){const l=e[i],u=Array.isArray(l),d=u?l[1]:l,p=null===d;let v=t[i+1];v===Z&&(v=p?le:void 0);let y=p?Zl(v,r):d===r?v:void 0;if(u&&!Zs(y)&&(y=Zl(l,r)),Zs(y)&&(a=y,s))return a;const _=e[i+1];i=s?Zt(_):Nn(_)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Zl(l,r))}return a}function Zs(e){return void 0!==e}function Wm(e,n){return 0!=(e.flags&(n?16:32))}function m(e,n=""){const t=A(),r=se(),i=e+22,o=r.firstCreatePass?ni(r,i,1,n,null):r.data[i],s=t[i]=function Pu(e,n){return e.createText(n)}(t[11],n);xs(r,t,s,o),ln(o,!1)}function T(e){return F("",e,""),T}function F(e,n,t){const r=A(),i=oi(r,e,n,t);return i!==Z&&function Fn(e,n,t){const r=ps(n,e);!function rg(e,n,t){e.setValue(n,t)}(e[11],r,t)}(r,lt(),i),F}function ho(e,n,t){Xt(At,pn,oi(A(),e,n,t),!0)}function Cc(e,n,t,r,i,o,s){Xt(At,pn,ai(A(),e,n,t,r,i,o,s),!0)}const Cr=void 0;var WS=["en",[["a","p"],["AM","PM"],Cr],[["AM","PM"],Cr,Cr],[["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"]],Cr,[["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"]],Cr,[["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}",Cr,"{1} 'at' {0}",Cr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function GS(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let pi={};function ct(e){const n=function qS(e){return e.toLowerCase().replace(/_/g,"-")}(e);let t=hv(n);if(t)return t;const r=n.split("-")[0];if(t=hv(r),t)return t;if("en"===r)return WS;throw new R(701,!1)}function hv(e){return e in pi||(pi[e]=ve.ng&&ve.ng.common&&ve.ng.common.locales&&ve.ng.common.locales[e]),pi[e]}var L=(()=>((L=L||{})[L.LocaleId=0]="LocaleId",L[L.DayPeriodsFormat=1]="DayPeriodsFormat",L[L.DayPeriodsStandalone=2]="DayPeriodsStandalone",L[L.DaysFormat=3]="DaysFormat",L[L.DaysStandalone=4]="DaysStandalone",L[L.MonthsFormat=5]="MonthsFormat",L[L.MonthsStandalone=6]="MonthsStandalone",L[L.Eras=7]="Eras",L[L.FirstDayOfWeek=8]="FirstDayOfWeek",L[L.WeekendRange=9]="WeekendRange",L[L.DateFormat=10]="DateFormat",L[L.TimeFormat=11]="TimeFormat",L[L.DateTimeFormat=12]="DateTimeFormat",L[L.NumberSymbols=13]="NumberSymbols",L[L.NumberFormats=14]="NumberFormats",L[L.CurrencyCode=15]="CurrencyCode",L[L.CurrencySymbol=16]="CurrencySymbol",L[L.CurrencyName=17]="CurrencyName",L[L.Currencies=18]="Currencies",L[L.Directionality=19]="Directionality",L[L.PluralCase=20]="PluralCase",L[L.ExtraData=21]="ExtraData",L))();const gi="en-US";let pv=gi;function wc(e,n,t,r,i){if(e=G(e),Array.isArray(e))for(let o=0;o<e.length;o++)wc(e[o],n,t,r,i);else{const o=se(),s=A();let a=mr(e)?e:G(e.provide),l=jp(e);const u=He(),d=1048575&u.providerIndexes,p=u.directiveStart,v=u.providerIndexes>>20;if(mr(e)||!e.multi){const y=new xi(l,i,E),_=Mc(a,n,i?d:d+v,p);-1===_?(ws(Vi(u,s),o,a),Ec(o,e,n.length),n.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(y),s.push(y)):(t[_]=y,s[_]=y)}else{const y=Mc(a,n,d+v,p),_=Mc(a,n,d,d+v),D=y>=0&&t[y],S=_>=0&&t[_];if(i&&!S||!i&&!D){ws(Vi(u,s),o,a);const I=function zI(e,n,t,r,i){const o=new xi(e,t,E);return o.multi=[],o.index=n,o.componentProviders=0,jv(o,i,r&&!t),o}(i?UI:HI,t.length,i,r,l);!i&&S&&(t[_].providerFactory=I),Ec(o,e,n.length,0),n.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(I),s.push(I)}else Ec(o,e,y>-1?y:_,jv(t[i?_:y],l,!i&&r));!i&&r&&S&&t[_].componentProviders++}}}function Ec(e,n,t,r){const i=mr(n),o=function Dw(e){return!!e.useClass}(n);if(i||o){const l=(o?G(n.useClass):n).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const d=u.indexOf(t);-1===d?u.push(t,[r,l]):u[d+1].push(r,l)}else u.push(t,l)}}}function jv(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Mc(e,n,t,r){for(let i=t;i<r;i++)if(n[i]===e)return i;return-1}function HI(e,n,t,r){return Sc(this.multi,[])}function UI(e,n,t,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=ji(t,t[1],this.providerFactory.index,r);o=a.slice(0,s),Sc(i,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Sc(i,o);return o}function Sc(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function be(e,n=[]){return t=>{t.providersResolver=(r,i)=>function $I(e,n,t){const r=se();if(r.firstCreatePass){const i=Kt(e);wc(t,r.data,r.blueprint,i,!0),wc(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class br{}class Bv{}class $v extends br{constructor(n,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new cc(this);const r=Et(n);this._bootstrapComponents=Pn(r.bootstrap),this._r3Injector=Ag(n,t,[{provide:br,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],he(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Ic extends Bv{constructor(n){super(),this.moduleType=n}create(n){return new $v(this.moduleType,n)}}class WI extends br{constructor(n,t,r){super(),this.componentFactoryResolver=new cc(this),this.instance=null;const i=new Vp([...n,{provide:br,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],t||Os(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function na(e,n,t=null){return new WI(e,n,t).injector}let qI=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t.id)){const r=Op(0,t.type),i=r.length>0?na([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t.id,i)}return this.cachedInjectors.get(t.id)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=W({token:e,providedIn:"environment",factory:()=>new e(j(Jn))}),e})();function Hv(e){e.getStandaloneInjector=n=>n.get(qI).getOrCreateStandaloneInjector(e)}function Rn(e,n,t){const r=at()+e,i=A();return i[r]===Z?dn(i,r,t?n.call(t):n()):function lo(e,n){return e[n]}(i,r)}function Kv(e,n,t,r){return function Qv(e,n,t,r,i,o){const s=n+t;return tt(e,s,i)?dn(e,s+1,o?r.call(o,i):r(i)):Co(e,s+1)}(A(),at(),e,n,t,r)}function _o(e,n,t,r,i){return Zv(A(),at(),e,n,t,r,i)}function Co(e,n){const t=e[n];return t===Z?void 0:t}function Zv(e,n,t,r,i,o,s){const a=n+t;return _r(e,a,i,o)?dn(e,a+2,s?r.call(s,i,o):r(i,o)):Co(e,a+2)}function C(e,n){const t=se();let r;const i=e+22;t.firstCreatePass?(r=function uA(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=gr(r.type)),s=Ot(E);try{const a=bs(!1),l=o();return bs(a),function rS(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,A(),i,l),l}finally{Ot(s)}}function b(e,n,t,r){const i=e+22,o=A(),s=function Lr(e,n){return e[n]}(o,i);return function bo(e,n){return e[1].data[n].pure}(o,i)?Zv(o,at(),n,s.transform,t,r,s):s.transform(t,r)}function Tc(e){return n=>{setTimeout(e,void 0,n)}}const Ie=class pA extends sn{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){var i,o,s;let a=n,l=t||(()=>null),u=r;if(n&&"object"==typeof n){const p=n;a=null===(i=p.next)||void 0===i?void 0:i.bind(p),l=null===(o=p.error)||void 0===o?void 0:o.bind(p),u=null===(s=p.complete)||void 0===s?void 0:s.bind(p)}this.__isAsync&&(l=Tc(l),a&&(a=Tc(a)),u&&(u=Tc(u)));const d=super.subscribe({next:a,error:l,complete:u});return n instanceof Rt&&n.add(d),d}};function gA(){return this._results[yr()]()}class Pc{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=yr(),r=Pc.prototype;r[t]||(r[t]=gA)}get changes(){return this._changes||(this._changes=new Ie)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const i=It(n);(this._changesDetected=!function wD(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=n[r];if(t&&(i=t(i),o=t(o)),o!==i)return!1}return!0}(r._results,i,t))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let On=(()=>{class e{}return e.__NG_ELEMENT_ID__=yA,e})();const mA=On,vA=class extends mA{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(n,t){const r=this._declarationTContainer.tViews,i=Hs(this._declarationLView,r,n,16,null,r.declTNode,null,null,null,null,t||null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(r)),ec(r,i,n),new oo(i)}};function yA(){return ra(He(),A())}function ra(e,n){return 4&e.type?new vA(n,e,Zr(e,n)):null}let en=(()=>{class e{}return e.__NG_ELEMENT_ID__=_A,e})();function _A(){return ry(He(),A())}const CA=en,ty=class extends CA{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Zr(this._hostTNode,this._hostLView)}get injector(){return new $r(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ds(this._hostTNode,this._hostLView);if(Kh(n)){const t=Br(n,this._hostLView),r=jr(n);return new $r(t[1].data[r+8],t)}return new $r(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=ny(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=n.createEmbeddedView(t||{},o);return this.insert(s,i),s}createComponent(n,t,r,i,o){const s=n&&!function Hi(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const p=t||{};a=p.index,r=p.injector,i=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}const l=s?n:new so(ce(n)),u=r||this.parentInjector;if(!o&&null==l.ngModule){const v=(s?u:this.parentInjector).get(Jn,null);v&&(o=v)}const d=l.create(u,i,void 0,o);return this.insert(d.hostView,a),d}insert(n,t){const r=n._lView,i=r[1];if(function zb(e){return Jt(e[3])}(r)){const d=this.indexOf(n);if(-1!==d)this.detach(d);else{const p=r[3],v=new ty(p,p[6],p[3]);v.detach(v.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;!function CE(e,n,t,r){const i=10+r,o=t.length;r>0&&(t[i-1][4]=n),r<o-10?(n[4]=t[i],sp(t,10+r,n)):(t.push(n),n[4]=null),n[3]=t;const s=n[17];null!==s&&t!==s&&function bE(e,n){const t=e[9];n[16]!==n[3][3][16]&&(e[2]=!0),null===t?e[9]=[n]:t.push(n)}(s,n);const a=n[19];null!==a&&a.insertView(e),n[2]|=64}(i,r,s,o);const a=ku(o,s),l=r[11],u=ks(l,s[7]);return null!==u&&function vE(e,n,t,r,i,o){r[0]=i,r[6]=n,io(e,r,t,1,i,o)}(i,s[6],l,r,u,a),n.attachToViewContainerRef(),sp(Nc(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=ny(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=Fu(this._lContainer,t);r&&(Ms(Nc(this._lContainer),t),og(r[1],r))}detach(n){const t=this._adjustIndex(n,-1),r=Fu(this._lContainer,t);return r&&null!=Ms(Nc(this._lContainer),t)?new oo(r):null}_adjustIndex(n,t=0){return null==n?this.length+t:n}};function ny(e){return e[8]}function Nc(e){return e[8]||(e[8]=[])}function ry(e,n){let t;const r=n[e.index];if(Jt(r))t=r;else{let i;if(8&e.type)i=ke(r);else{const o=n[11];i=o.createComment("");const s=jt(e,n);vr(o,ks(o,s),i,function ME(e,n){return e.nextSibling(n)}(o,s),!1)}n[e.index]=t=im(r,n,i,e),zs(n,t)}return new ty(t,e,n)}class Fc{constructor(n){this.queryList=n,this.matches=null}clone(){return new Fc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Rc{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,i=[];for(let o=0;o<r;o++){const s=t.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new Rc(i)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==ly(n,t).matches&&this.queries[t].setDirty()}}class iy{constructor(n,t,r=null){this.predicate=n,this.flags=t,this.read=r}}class Oc{constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){const i=null!==t?t.length:0,o=this.getByIndex(r).embeddedTView(n,i);o&&(o.indexInDeclarationView=r,null!==t?t.push(o):t=[o])}return null!==t?new Oc(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class kc{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new kc(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let r=n.parent;for(;null!==r&&8&r.type&&r.index!==t;)r=r.parent;return t===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(n,t,wA(t,o)),this.matchTNodeWithReadOption(n,t,Es(t,n,o,!1,!1))}else r===On?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Es(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===pe||i===en||i===On&&4&t.type)this.addMatch(t.index,-2);else{const o=Es(t,n,i,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,r)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function wA(e,n){const t=e.localNames;if(null!==t)for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1];return null}function MA(e,n,t,r){return-1===t?function EA(e,n){return 11&e.type?Zr(e,n):4&e.type?ra(e,n):null}(n,e):-2===t?function SA(e,n,t){return t===pe?Zr(n,e):t===On?ra(n,e):t===en?ry(n,e):void 0}(e,n,r):ji(e,e[1],t,n)}function oy(e,n,t,r){const i=n[19].queries[r];if(null===i.matches){const o=e.data,s=t.matches,a=[];for(let l=0;l<s.length;l+=2){const u=s[l];a.push(u<0?null:MA(n,o[u],s[l+1],t.metadata.read))}i.matches=a}return i.matches}function xc(e,n,t,r){const i=e.queries.getByIndex(t),o=i.matches;if(null!==o){const s=oy(e,n,i,t);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)r.push(s[a/2]);else{const u=o[a+1],d=n[-l];for(let p=10;p<d.length;p++){const v=d[p];v[17]===v[3]&&xc(v[1],v,u,r)}if(null!==d[9]){const p=d[9];for(let v=0;v<p.length;v++){const y=p[v];xc(y[1],y,u,r)}}}}}return r}function Lc(e){const n=A(),t=se(),r=jh();Bl(r+1);const i=ly(t,r);if(e.dirty&&function Ub(e){return 4==(4&e[2])}(n)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?xc(t,n,r,[]):oy(t,n,i,r);e.reset(o,Ow),e.notifyOnChanges()}return!0}return!1}function Vc(e,n,t,r){const i=se();if(i.firstCreatePass){const o=He();(function ay(e,n,t){null===e.queries&&(e.queries=new Oc),e.queries.track(new kc(n,t))})(i,new iy(n,t,r),o.index),function TA(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(i,e),2==(2&t)&&(i.staticContentQueries=!0)}!function sy(e,n,t){const r=new Pc(4==(4&t));Kg(e,n,r,r.destroy),null===n[19]&&(n[19]=new Rc),n[19].queries.push(new Fc(r))}(i,A(),t)}function jc(){return function AA(e,n){return e[19].queries[n].queryList}(A(),jh())}function ly(e,n){return e.queries.getByIndex(n)}function oa(...e){}const wo=new B("Application Initializer");let sa=(()=>{class e{constructor(t){this.appInits=t,this.resolve=oa,this.reject=oa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const t=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const o=this.appInits[i]();if(uo(o))t.push(o);else if(mc(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(j(wo,8))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Eo=new B("AppId",{providedIn:"root",factory:function Iy(){return`${zc()}${zc()}${zc()}`}});function zc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ay=new B("Platform Initializer"),Gc=new B("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ty=new B("appBootstrapListener");let QA=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const gn=new B("LocaleId",{providedIn:"root",factory:()=>Fe(gn,U.Optional|U.SkipSelf)||function ZA(){return"undefined"!=typeof $localize&&$localize.locale||gi}()});class XA{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let Wc=(()=>{class e{compileModuleSync(t){return new Ic(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=Pn(Et(t).declarations).reduce((s,a)=>{const l=ce(a);return l&&s.push(new so(l)),s},[]);return new XA(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const nT=(()=>Promise.resolve(0))();function qc(e){"undefined"==typeof Zone?nT.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ge{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ie(!1),this.onMicrotaskEmpty=new Ie(!1),this.onStable=new Ie(!1),this.onError=new Ie(!1),"undefined"==typeof Zone)throw new R(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function rT(){let e=ve.requestAnimationFrame,n=ve.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&n){const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function sT(e){const n=()=>{!function oT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ve,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Kc(e),e.isCheckStableRunning=!0,Jc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Kc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{try{return Fy(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),Ry(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return Fy(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Ry(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Kc(e),Jc(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ge.isInAngularZone())throw new R(909,!1)}static assertNotInAngularZone(){if(Ge.isInAngularZone())throw new R(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,iT,oa,oa);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const iT={};function Jc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Kc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Fy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ry(e){e._nesting--,Jc(e)}class aT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ie,this.onMicrotaskEmpty=new Ie,this.onStable=new Ie,this.onError=new Ie}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}const Oy=new B(""),aa=new B("");let Mo,Qc=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Mo||(function lT(e){Mo=e}(i),i.addToWindow(r)),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:()=>{Ge.assertNotInAngularZone(),qc(()=>{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())qc(()=>{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(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.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,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}}return e.\u0275fac=function(t){return new(t||e)(j(Ge),j(Zc),j(aa))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})(),Zc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}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,r=!0){var i;return null!==(i=null==Mo?void 0:Mo.findTestabilityInTree(this,t,r))&&void 0!==i?i:null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),mn=null;const ky=new B("AllowMultipleToken"),Yc=new B("PlatformDestroyListeners");class xy{constructor(n,t){this.name=n,this.token=t}}function Vy(e,n,t=[]){const r=`Platform: ${n}`,i=new B(r);return(o=[])=>{let s=Xc();if(!s||s.injector.get(ky,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function dT(e){if(mn&&!mn.get(ky,!1))throw new R(400,!1);mn=e;const n=e.get(By);(function Ly(e){const n=e.get(Ay,null);n&&n.forEach(t=>t())})(e)}(function jy(e=[],n){return Tt.create({name:n,providers:[{provide:hu,useValue:"platform"},{provide:Yc,useValue:new Set([()=>mn=null])},...e]})}(a,r))}return function hT(e){const n=Xc();if(!n)throw new R(401,!1);return n}()}}function Xc(){var e;return null!==(e=null==mn?void 0:mn.get(By))&&void 0!==e?e:null}let By=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function Hy(e,n){let t;return t="noop"===e?new aT:("zone.js"===e?void 0:e)||new Ge(n),t}(null==r?void 0:r.ngZone,function $y(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:Ge,useValue:i}];return i.run(()=>{const s=Tt.create({providers:o,parent:this.injector,name:t.moduleType.name}),a=t.create(s),l=a.injector.get(Yr,null);if(!l)throw new R(402,!1);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:d=>{l.handleError(d)}});a.onDestroy(()=>{ua(this._modules,a),u.unsubscribe()})}),function Uy(e,n,t){try{const r=t();return uo(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(l,i,()=>{const u=a.injector.get(sa);return u.runInitializers(),u.donePromise.then(()=>(function gv(e){Dt(e,"Expected localeId to be defined"),"string"==typeof e&&(pv=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(gn,gi)||gi),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,r=[]){const i=zy({},r);return function uT(e,n,t){const r=new Ic(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(la);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new R(403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new R(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Yc,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(j(Tt))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function zy(e,n){return Array.isArray(n)?n.reduce(zy,e):Object.assign(Object.assign({},e),n)}let la=(()=>{class e{constructor(t,r,i){this._zone=t,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new Ae(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ae(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ge.assertNotInAngularZone(),qc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Ge.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function hb(...e){const n=Ti(e),t=function sb(e,n){return"number"==typeof yl(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?Gt(r[0]):Nr(t)(Oe(r,n)):Dn}(o,s.pipe(function pb(e={}){const{connector:n=(()=>new sn),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,a,l,u=0,d=!1,p=!1;const v=()=>{null==a||a.unsubscribe(),a=void 0},y=()=>{v(),s=l=void 0,d=p=!1},_=()=>{const D=s;y(),null==D||D.unsubscribe()};return qe((D,S)=>{u++,!p&&!d&&v();const I=l=null!=l?l:n();S.add(()=>{u--,0===u&&!p&&!d&&(a=_l(_,i))}),I.subscribe(S),!s&&u>0&&(s=new Ai({next:O=>I.next(O),error:O=>{p=!0,v(),a=_l(y,t,O),I.error(O)},complete:()=>{d=!0,v(),a=_l(y,r),I.complete()}}),Gt(D).subscribe(s))})(o)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof Bp;if(!this._injector.get(sa).done)throw!i&&function Rr(e){const n=ce(e)||ot(e)||st(e);return null!==n&&n.standalone}(t),new R(405,false);let s;s=i?t:this._injector.get(eo).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function cT(e){return e.isBoundToModule}(s)?void 0:this._injector.get(br),u=s.create(Tt.NULL,[],r||s.selector,a),d=u.location.nativeElement,p=u.injector.get(Oy,null);return null==p||p.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),ua(this.components,u),null==p||p.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new R(101,!1);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 r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;ua(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ty,[]).concat(this._bootstrapListeners).forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>ua(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new R(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(t){return new(t||e)(j(Ge),j(Jn),j(Yr))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ua(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}let ca=(()=>{class e{}return e.__NG_ELEMENT_ID__=mT,e})();function mT(e){return function vT(e,n,t){if(fs(e)&&!t){const r=St(e.index,n);return new oo(r,r)}return 47&e.type?new oo(n[16],n):null}(He(),A(),16==(16&e))}class Zy{constructor(){}supports(n){return ao(n)}create(n){return new wT(n)}}const DT=(e,n)=>n;class wT{constructor(n){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=n||DT}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex<Xy(r,i,o)?t:r,a=Xy(s,i,o),l=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(t=t._next,null==s.previousIndex)i++;else{o||(o=[]);const u=a-i,d=l-i;if(u!=d){for(let v=0;v<u;v++){const y=v<o.length?o[v]:o[v]=0,_=y+v;d<=_&&_<u&&(o[v]=y+1)}o[s.previousIndex]=d-u}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!ao(n))throw new R(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let i,o,s,t=this._itHead,r=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.item,o)||this._addIdentityChange(t,o)):(t=this._mismatch(t,o,s,a),r=!0),t=t._next}else i=0,function XM(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[yr()]();let r;for(;!(r=t.next()).done;)n(r.value)}}(n,a=>{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new ET(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Yy),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yy),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class ET{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class MT{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Yy{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new MT,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Xy(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r<t.length&&(i=t[r]),r+n+i}class e_{constructor(){}supports(n){return n instanceof Map||fc(n)}create(){return new ST}}class ST{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(n){let t;for(t=this._mapHead;null!==t;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}diff(n){if(n){if(!(n instanceof Map||fc(n)))throw new R(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const i=this._records.get(n);this._maybeAddToChanges(i,t);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new IT(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}}class IT{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function t_(){return new ha([new Zy])}let ha=(()=>{class e{constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||t_()),deps:[[e,new Ji,new qi]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new R(901,!1)}}return e.\u0275prov=W({token:e,providedIn:"root",factory:t_}),e})();function n_(){return new So([new e_])}let So=(()=>{class e{constructor(t){this.factories=t}static create(t,r){if(r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||n_()),deps:[[e,new Ji,new qi]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(r)return r;throw new R(901,!1)}}return e.\u0275prov=W({token:e,providedIn:"root",factory:n_}),e})();const PT=Vy(null,"core",[]);let NT=(()=>{class e{constructor(t){}}return e.\u0275fac=function(t){return new(t||e)(j(la))},e.\u0275mod=kt({type:e}),e.\u0275inj=wt({}),e})();function xn(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let pa=null;function vn(){return pa}const ft=new B("DocumentToken");let id=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:function(){return function kT(){return j(r_)}()},providedIn:"platform"}),e})();const xT=new B("Location Initialized");let r_=(()=>{class e extends id{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return vn().getBaseHref(this._doc)}onPopState(t){const r=vn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=vn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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,r,i){i_()?this._history.pushState(t,r,i):this.location.hash=i}replaceState(t,r,i){i_()?this._history.replaceState(t,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(j(ft))},e.\u0275prov=W({token:e,factory:function(){return function LT(){return new r_(j(ft))}()},providedIn:"platform"}),e})();function i_(){return!!window.history.pushState}function od(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function o_(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function Ln(e){return e&&"?"!==e[0]?"?"+e:e}let wr=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:function(){return Fe(a_)},providedIn:"root"}),e})();const s_=new B("appBaseHref");let a_=(()=>{class e extends wr{constructor(t,r){var i,o,s;super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=null!==(s=null!==(i=null!=r?r:this._platformLocation.getBaseHrefFromDOM())&&void 0!==i?i:null===(o=Fe(ft).location)||void 0===o?void 0:o.origin)&&void 0!==s?s:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return od(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+Ln(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+Ln(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+Ln(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,t)}}return e.\u0275fac=function(t){return new(t||e)(j(id),j(s_,8))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),VT=(()=>{class e extends wr{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=od(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+Ln(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+Ln(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,t)}}return e.\u0275fac=function(t){return new(t||e)(j(id),j(s_,8))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})(),sd=(()=>{class e{constructor(t){this._subject=new Ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._baseHref=o_(l_(r)),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var t;null===(t=this._urlChangeSubscription)||void 0===t||t.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Ln(r))}normalize(t){return e.stripTrailingSlash(function BT(e,n){return e&&n.startsWith(e)?n.substring(e.length):n}(this._baseHref,l_(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ln(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ln(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){var r,i;null===(i=(r=this._locationStrategy).historyGo)||void 0===i||i.call(r,t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{var r;const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(null===(r=this._urlChangeSubscription)||void 0===r||r.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}}return e.normalizeQueryParams=Ln,e.joinWithSlash=od,e.stripTrailingSlash=o_,e.\u0275fac=function(t){return new(t||e)(j(wr))},e.\u0275prov=W({token:e,factory:function(){return function jT(){return new sd(j(wr))}()},providedIn:"root"}),e})();function l_(e){return e.replace(/\/index.html$/,"")}var yt=(()=>((yt=yt||{})[yt.Decimal=0]="Decimal",yt[yt.Percent=1]="Percent",yt[yt.Currency=2]="Currency",yt[yt.Scientific=3]="Scientific",yt))(),H=(()=>((H=H||{})[H.Decimal=0]="Decimal",H[H.Group=1]="Group",H[H.List=2]="List",H[H.PercentSign=3]="PercentSign",H[H.PlusSign=4]="PlusSign",H[H.MinusSign=5]="MinusSign",H[H.Exponential=6]="Exponential",H[H.SuperscriptingExponent=7]="SuperscriptingExponent",H[H.PerMille=8]="PerMille",H[H.Infinity=9]="Infinity",H[H.NaN=10]="NaN",H[H.TimeSeparator=11]="TimeSeparator",H[H.CurrencyDecimal=12]="CurrencyDecimal",H[H.CurrencyGroup=13]="CurrencyGroup",H))();function $t(e,n){const t=ct(e),r=t[L.NumberSymbols][n];if(void 0===r){if(n===H.CurrencyDecimal)return t[L.NumberSymbols][H.Decimal];if(n===H.CurrencyGroup)return t[L.NumberSymbols][H.Group]}return r}const f2=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function pd(e){const n=parseInt(e);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+e);return n}function v_(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}let md=(()=>{class e{constructor(t,r,i,o){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=i,this._renderer=o,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&&(ao(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(r=>this._toggleClass(r.key,r.currentValue)),t.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${he(r.item)}`);this._toggleClass(r.item,!0)}),t.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!0)):Object.keys(t).forEach(r=>this._toggleClass(r,!!t[r])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!1)):Object.keys(t).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(t,r){(t=t.trim())&&t.split(/\s+/g).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return e.\u0275fac=function(t){return new(t||e)(E(ha),E(So),E(pe),E(Tn))},e.\u0275dir=q({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class E2{constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}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 vd=(()=>{class e{constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,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 t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new E2(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),C_(a,i)}});for(let i=0,o=r.length;i<o;i++){const a=r.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(i=>{C_(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(E(en),E(On),E(ha))},e.\u0275dir=q({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function C_(e,n){e.context.$implicit=n.item}let yd=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new S2,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){b_("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){b_("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,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(E(en),E(On))},e.\u0275dir=q({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class S2{constructor(){this.$implicit=null,this.ngIf=null}}function b_(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${he(n)}'.`)}let ht=(()=>{class e{constructor(t){this._locale=t}transform(t,r,i){if(!function bd(e){return!(null==e||""===e||e!=e)}(t))return null;i=i||this._locale;try{return function y2(e,n,t){return function fd(e,n,t,r,i,o,s=!1){let a="",l=!1;if(isFinite(e)){let u=function C2(e){let r,i,o,s,a,n=Math.abs(e)+"",t=0;for((i=n.indexOf("."))>-1&&(n=n.replace(".","")),(o=n.search(/e/i))>0?(i<0&&(i=o),i+=+n.slice(o+1),n=n.substring(0,o)):i<0&&(i=n.length),o=0;"0"===n.charAt(o);o++);if(o===(a=n.length))r=[0],i=1;else{for(a--;"0"===n.charAt(a);)a--;for(i-=o,r=[],s=0;o<=a;o++,s++)r[s]=Number(n.charAt(o))}return i>22&&(r=r.splice(0,21),t=i-1,i=1),{digits:r,exponent:t,integerLen:i}}(e);s&&(u=function _2(e){if(0===e.digits[0])return e;const n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===n?e.digits.push(0,0):1===n&&e.digits.push(0),e.integerLen+=2),e}(u));let d=n.minInt,p=n.minFrac,v=n.maxFrac;if(o){const O=o.match(f2);if(null===O)throw new Error(`${o} is not a valid digit info`);const M=O[1],V=O[3],ne=O[5];null!=M&&(d=pd(M)),null!=V&&(p=pd(V)),null!=ne?v=pd(ne):null!=V&&p>v&&(v=p)}!function b2(e,n,t){if(n>t)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${t}).`);let r=e.digits,i=r.length-e.integerLen;const o=Math.min(Math.max(n,i),t);let s=o+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let p=s;p<r.length;p++)r[p]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let p=1;p<s;p++)r[p]=0}if(a>=5)if(s-1<0){for(let p=0;p>s;p--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let l=0!==o;const u=n+e.integerLen,d=r.reduceRight(function(p,v,y,_){return _[y]=(v+=p)<10?v:v-10,l&&(0===_[y]&&y>=u?_.pop():l=!1),v>=10?1:0},0);d&&(r.unshift(d),e.integerLen++)}(u,p,v);let y=u.digits,_=u.integerLen;const D=u.exponent;let S=[];for(l=y.every(O=>!O);_<d;_++)y.unshift(0);for(;_<0;_++)y.unshift(0);_>0?S=y.splice(_,y.length):(S=y,y=[0]);const I=[];for(y.length>=n.lgSize&&I.unshift(y.splice(-n.lgSize,y.length).join(""));y.length>n.gSize;)I.unshift(y.splice(-n.gSize,y.length).join(""));y.length&&I.unshift(y.join("")),a=I.join($t(t,r)),S.length&&(a+=$t(t,i)+S.join("")),D&&(a+=$t(t,H.Exponential)+"+"+D)}else a=$t(t,H.Infinity);return a=e<0&&!l?n.negPre+a+n.negSuf:n.posPre+a+n.posSuf,a}(e,function hd(e,n="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],o=r[1],s=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],a=s[0],l=s[1]||"";t.posPre=a.substring(0,a.indexOf("#"));for(let d=0;d<l.length;d++){const p=l.charAt(d);"0"===p?t.minFrac=t.maxFrac=d+1:"#"===p?t.maxFrac=d+1:t.posSuf+=p}const u=a.split(",");if(t.gSize=u[1]?u[1].length:0,t.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,o){const d=i.length-t.posPre.length-t.posSuf.length,p=o.indexOf("#");t.negPre=o.substring(0,p).replace(/'/g,""),t.negSuf=o.slice(p+d).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}(function ad(e,n){return ct(e)[L.NumberFormats][n]}(n,yt.Decimal),$t(n,H.MinusSign)),n,H.Group,H.Decimal,t)}(function Dd(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(t),i,r)}catch(o){throw function rn(e,n){return new R(2100,!1)}()}}}return e.\u0275fac=function(t){return new(t||e)(E(gn,16))},e.\u0275pipe=gt({name:"number",type:e,pure:!0,standalone:!0}),e})();let Y2=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=kt({type:e}),e.\u0275inj=wt({}),e})();let nP=(()=>{class e{}return e.\u0275prov=W({token:e,providedIn:"root",factory:()=>new rP(j(ft),window)}),e})();class rP{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function iP(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=n)}}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=M_(this.window.history)||M_(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch(n){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(n){return!1}}}function M_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class S_{}class Md extends class DP extends class OT{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function RT(e){pa||(pa=e)}(new Md)}onAndCancel(n,t,r){return n.addEventListener(t,r,!1),()=>{n.removeEventListener(t,r,!1)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function wP(){return Po=Po||document.querySelector("base"),Po?Po.getAttribute("href"):null}();return null==t?null:function EP(e){Ma=Ma||document.createElement("a"),Ma.setAttribute("href",e);const n=Ma.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){Po=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return v_(document.cookie,n)}}let Ma,Po=null;const P_=new B("TRANSITION_ID"),SP=[{provide:wo,useFactory:function MP(e,n,t){return()=>{t.get(sa).donePromise.then(()=>{const r=vn(),i=n.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o<i.length;o++)r.remove(i[o])})}},deps:[P_,ft,Tt],multi:!0}];let AP=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();const Sa=new B("EventManagerPlugins");let Ia=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>i.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}addGlobalEventListener(t,r,i){return this._findPluginFor(r).addGlobalEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){const r=this._eventNameToPlugin.get(t);if(r)return r;const i=this._plugins;for(let o=0;o<i.length;o++){const s=i[o];if(s.supports(t))return this._eventNameToPlugin.set(t,s),s}throw new Error(`No event manager plugin found for event ${t}`)}}return e.\u0275fac=function(t){return new(t||e)(j(Sa),j(Ge))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();class N_{constructor(n){this._doc=n}addGlobalEventListener(n,t,r){const i=vn().getGlobalEventTarget(this._doc,n);if(!i)throw new Error(`Unsupported event target ${i} for event ${t}`);return this.addEventListener(i,t,r)}}let F_=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(t){const r=new Set;t.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})(),No=(()=>{class e extends F_{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,r,i){t.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,i.push(r.appendChild(s))})}addHost(t){const r=[];this._addStylesToHost(this._stylesSet,t,r),this._hostNodes.set(t,r)}removeHost(t){const r=this._hostNodes.get(t);r&&r.forEach(R_),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(t,i,r)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(R_))}}return e.\u0275fac=function(t){return new(t||e)(j(ft))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();function R_(e){vn().remove(e)}const Sd={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/",math:"http://www.w3.org/1998/MathML/"},Id=/%COMP%/g;function Aa(e,n,t){for(let r=0;r<n.length;r++){let i=n[r];Array.isArray(i)?Aa(e,i,t):(i=i.replace(Id,e),t.push(i))}return t}function x_(e){return n=>{if("__ngUnwrap__"===n)return e;!1===e(n)&&(n.preventDefault(),n.returnValue=!1)}}let Ad=(()=>{class e{constructor(t,r,i){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Td(t)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;switch(r.encapsulation){case an.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new OP(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(t),i}case 1:case an.ShadowDom:return new kP(this.eventManager,this.sharedStylesHost,t,r);default:if(!this.rendererByCompId.has(r.id)){const i=Aa(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(j(Ia),j(No),j(Eo))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();class Td{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?document.createElementNS(Sd[t]||t,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,t){(V_(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(V_(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?document.querySelector(n):n;if(!r)throw new Error(`The selector "${n}" did not match any elements`);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Sd[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Sd[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(vt.DashCase|vt.Important)?n.style.setProperty(t,r,i&vt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&vt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,t,x_(r)):this.eventManager.addEventListener(n,t,x_(r))}}function V_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class OP extends Td{constructor(n,t,r,i){super(n),this.component=r;const o=Aa(i+"-"+r.id,r.styles,[]);t.addStyles(o),this.contentAttr=function NP(e){return"_ngcontent-%COMP%".replace(Id,e)}(i+"-"+r.id),this.hostAttr=function FP(e){return"_nghost-%COMP%".replace(Id,e)}(i+"-"+r.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}class kP extends Td{constructor(n,t,r,i){super(n),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Aa(i.id,i.styles,[]);for(let s=0;s<o.length;s++){const a=document.createElement("style");a.textContent=o[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}}let xP=(()=>{class e extends N_{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}}return e.\u0275fac=function(t){return new(t||e)(j(ft))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();const j_=["alt","control","meta","shift"],LP={"\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"},VP={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let jP=(()=>{class e extends N_{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vn().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),j_.forEach(u=>{const d=r.indexOf(u);d>-1&&(r.splice(d,1),s+=u+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=LP[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),j_.forEach(s=>{s!==i&&(0,VP[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return e.\u0275fac=function(t){return new(t||e)(j(ft))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();const UP=Vy(PT,"browser",[{provide:Gc,useValue:"browser"},{provide:Ay,useValue:function BP(){Md.makeCurrent()},multi:!0},{provide:ft,useFactory:function HP(){return function JD(e){nu=e}(document),document},deps:[]}]),H_=new B(""),U_=[{provide:aa,useClass:class IP{addToWindow(n){ve.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},ve.getAllAngularTestabilities=()=>n.getAllTestabilities(),ve.getAllAngularRootElements=()=>n.getAllRootElements(),ve.frameworkStabilizers||(ve.frameworkStabilizers=[]),ve.frameworkStabilizers.push(r=>{const i=ve.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,t,r){if(null==t)return null;const i=n.getTestability(t);return null!=i?i:r?vn().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null}},deps:[]},{provide:Oy,useClass:Qc,deps:[Ge,Zc,aa]},{provide:Qc,useClass:Qc,deps:[Ge,Zc,aa]}],z_=[{provide:hu,useValue:"root"},{provide:Yr,useFactory:function $P(){return new Yr},deps:[]},{provide:Sa,useClass:xP,multi:!0,deps:[ft,Ge,Gc]},{provide:Sa,useClass:jP,multi:!0,deps:[ft]},{provide:Ad,useClass:Ad,deps:[Ia,No,Eo]},{provide:Hp,useExisting:Ad},{provide:F_,useExisting:No},{provide:No,useClass:No,deps:[ft]},{provide:Ia,useClass:Ia,deps:[Sa,Ge]},{provide:S_,useClass:AP,deps:[]},[]];let zP=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Eo,useValue:t.appId},{provide:P_,useExisting:Eo},SP]}}}return e.\u0275fac=function(t){return new(t||e)(j(H_,12))},e.\u0275mod=kt({type:e}),e.\u0275inj=wt({providers:[...z_,...U_],imports:[Y2,NT]}),e})(),G_=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return e.\u0275fac=function(t){return new(t||e)(j(ft))},e.\u0275prov=W({token:e,factory:function(t){let r=null;return r=t?new t:function WP(){return new G_(j(ft))}(),r},providedIn:"root"}),e})();function $(...e){return Oe(e,Ti(e))}function Yn(e,n){return ge(n)?Ke(e,n,1):Ke(e,1)}function jn(e,n){return qe((t,r)=>{let i=0;t.subscribe($e(r,o=>e.call(n,o,i++)&&r.next(o)))})}"undefined"!=typeof window&&window;class J_{}class K_{}class Bn{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(t=>{let r=n[t];const i=t.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Bn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Bn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Bn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class eN{encodeKey(n){return Q_(n)}encodeValue(n){return Q_(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const nN=/%(\d[a-f0-9])/gi,rN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Q_(e){return encodeURIComponent(e).replace(nN,(n,t)=>{var r;return null!==(r=rN[t])&&void 0!==r?r:n})}function Ta(e){return`${e}`}class Xn{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new eN,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function tN(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(Ta):[Ta(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Xn({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Ta(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(Ta(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class iN{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function Z_(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Y_(e){return"undefined"!=typeof Blob&&e instanceof Blob}function X_(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Fo{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function oN(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Bn),this.context||(this.context=new iN),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new Xn,this.urlWithParams=t}serializeBody(){return null===this.body?null:Z_(this.body)||Y_(this.body)||X_(this.body)||function sN(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Xn?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||X_(this.body)?null:Y_(this.body)?this.body.type||null:Z_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Xn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){var t;const r=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,s=void 0!==n.body?n.body:this.body,a=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,l=void 0!==n.reportProgress?n.reportProgress:this.reportProgress;let u=n.headers||this.headers,d=n.params||this.params;const p=null!==(t=n.context)&&void 0!==t?t:this.context;return void 0!==n.setHeaders&&(u=Object.keys(n.setHeaders).reduce((v,y)=>v.set(y,n.setHeaders[y]),u)),n.setParams&&(d=Object.keys(n.setParams).reduce((v,y)=>v.set(y,n.setParams[y]),d)),new Fo(r,i,s,{params:d,headers:u,context:p,reportProgress:l,responseType:o,withCredentials:a})}}var je=(()=>((je=je||{})[je.Sent=0]="Sent",je[je.UploadProgress=1]="UploadProgress",je[je.ResponseHeader=2]="ResponseHeader",je[je.DownloadProgress=3]="DownloadProgress",je[je.Response=4]="Response",je[je.User=5]="User",je))();class Fd{constructor(n,t=200,r="OK"){this.headers=n.headers||new Bn,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Rd extends Fd{constructor(n={}){super(n),this.type=je.ResponseHeader}clone(n={}){return new Rd({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Pa extends Fd{constructor(n={}){super(n),this.type=je.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Pa({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class e1 extends Fd{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Od(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Ro=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof Fo)o=t;else{let l,u;l=i.headers instanceof Bn?i.headers:new Bn(i.headers),i.params&&(u=i.params instanceof Xn?i.params:new Xn({fromObject:i.params})),o=new Fo(t,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=$(o).pipe(Yn(l=>this.handler.handle(l)));if(t instanceof Fo||"events"===i.observe)return s;const a=s.pipe(jn(l=>l instanceof Pa));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(re(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(re(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(re(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(re(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Xn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,Od(i,r))}post(t,r,i={}){return this.request("POST",t,Od(i,r))}put(t,r,i={}){return this.request("PUT",t,Od(i,r))}}return e.\u0275fac=function(t){return new(t||e)(j(J_))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();class t1{constructor(n,t){this.next=n,this.interceptor=t}handle(n){return this.interceptor.intercept(n,this.next)}}const n1=new B("HTTP_INTERCEPTORS");let aN=(()=>{class e{intercept(t,r){return r.handle(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();const lN=/^\)\]\}',?\n/;let r1=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Ae(r=>{const i=this.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((y,_)=>i.setRequestHeader(y,_.join(","))),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const y=t.detectContentTypeHeader();null!==y&&i.setRequestHeader("Content-Type",y)}if(t.responseType){const y=t.responseType.toLowerCase();i.responseType="json"!==y?y:"text"}const o=t.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const y=i.statusText||"OK",_=new Bn(i.getAllResponseHeaders()),D=function uN(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new Rd({headers:_,status:i.status,statusText:y,url:D}),s},l=()=>{let{headers:y,status:_,statusText:D,url:S}=a(),I=null;204!==_&&(I=void 0===i.response?i.responseText:i.response),0===_&&(_=I?200:0);let O=_>=200&&_<300;if("json"===t.responseType&&"string"==typeof I){const M=I;I=I.replace(lN,"");try{I=""!==I?JSON.parse(I):null}catch(V){I=M,O&&(O=!1,I={error:V,text:I})}}O?(r.next(new Pa({body:I,headers:y,status:_,statusText:D,url:S||void 0})),r.complete()):r.error(new e1({error:I,headers:y,status:_,statusText:D,url:S||void 0}))},u=y=>{const{url:_}=a(),D=new e1({error:y,status:i.status||0,statusText:i.statusText||"Unknown Error",url:_||void 0});r.error(D)};let d=!1;const p=y=>{d||(r.next(a()),d=!0);let _={type:je.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(_.total=y.total),"text"===t.responseType&&!!i.responseText&&(_.partialText=i.responseText),r.next(_)},v=y=>{let _={type:je.UploadProgress,loaded:y.loaded};y.lengthComputable&&(_.total=y.total),r.next(_)};return i.addEventListener("load",l),i.addEventListener("error",u),i.addEventListener("timeout",u),i.addEventListener("abort",u),t.reportProgress&&(i.addEventListener("progress",p),null!==o&&i.upload&&i.upload.addEventListener("progress",v)),i.send(o),r.next({type:je.Sent}),()=>{i.removeEventListener("error",u),i.removeEventListener("abort",u),i.removeEventListener("load",l),i.removeEventListener("timeout",u),t.reportProgress&&(i.removeEventListener("progress",p),null!==o&&i.upload&&i.upload.removeEventListener("progress",v)),i.readyState!==i.DONE&&i.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(j(S_))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();const kd=new B("XSRF_COOKIE_NAME"),xd=new B("XSRF_HEADER_NAME");class i1{}let cN=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,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=v_(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(j(ft),j(Gc),j(kd))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})(),Ld=(()=>{class e{constructor(t,r){this.tokenService=t,this.headerName=r}intercept(t,r){const i=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||i.startsWith("http://")||i.startsWith("https://"))return r.handle(t);const o=this.tokenService.getToken();return null!==o&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,o)})),r.handle(t)}}return e.\u0275fac=function(t){return new(t||e)(j(i1),j(xd))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})(),dN=(()=>{class e{constructor(t,r){this.backend=t,this.injector=r,this.chain=null}handle(t){if(null===this.chain){const r=this.injector.get(n1,[]);this.chain=r.reduceRight((i,o)=>new t1(i,o),this.backend)}return this.chain.handle(t)}}return e.\u0275fac=function(t){return new(t||e)(j(K_),j(Tt))},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})(),fN=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:Ld,useClass:aN}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:kd,useValue:t.cookieName}:[],t.headerName?{provide:xd,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=kt({type:e}),e.\u0275inj=wt({providers:[Ld,{provide:n1,useExisting:Ld,multi:!0},{provide:i1,useClass:cN},{provide:kd,useValue:"XSRF-TOKEN"},{provide:xd,useValue:"X-XSRF-TOKEN"}]}),e})(),hN=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=kt({type:e}),e.\u0275inj=wt({providers:[Ro,{provide:J_,useClass:dN},r1,{provide:K_,useExisting:r1}],imports:[fN.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),e})();const{isArray:pN}=Array,{getPrototypeOf:gN,prototype:mN,keys:vN}=Object;function o1(e){if(1===e.length){const n=e[0];if(pN(n))return{args:n,keys:null};if(function yN(e){return e&&"object"==typeof e&&gN(e)===mN}(n)){const t=vN(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:_N}=Array;function s1(e){return re(n=>function CN(e,n){return _N(n)?e(...n):e(n)}(e,n))}function a1(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}let l1=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return e.\u0275fac=function(t){return new(t||e)(E(Tn),E(pe))},e.\u0275dir=q({type:e}),e})(),Er=(()=>{class e extends l1{}return e.\u0275fac=function(){let n;return function(r){return(n||(n=Xe(e)))(r||e)}}(),e.\u0275dir=q({type:e,features:[de]}),e})();const yn=new B("NgValueAccessor"),DN={provide:yn,useExisting:me(()=>Vd),multi:!0};let Vd=(()=>{class e extends Er{writeValue(t){this.setProperty("checked",t)}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=Xe(e)))(r||e)}}(),e.\u0275dir=q({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,r){1&t&&P("change",function(o){return r.onChange(o.target.checked)})("blur",function(){return r.onTouched()})},features:[be([DN]),de]}),e})();const wN={provide:yn,useExisting:me(()=>_t),multi:!0},MN=new B("CompositionEventMode");let _t=(()=>{class e extends l1{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function EN(){const e=vn()?vn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":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 e.\u0275fac=function(t){return new(t||e)(E(Tn),E(pe),E(MN,8))},e.\u0275dir=q({type:e,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,r){1&t&&P("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[be([wN]),de]}),e})();const rt=new B("NgValidators"),tr=new B("NgAsyncValidators");function y1(e){return null!=e}function _1(e){return uo(e)?Oe(e):e}function C1(e){let n={};return e.forEach(t=>{n=null!=t?Object.assign(Object.assign({},n),t):n}),0===Object.keys(n).length?null:n}function b1(e,n){return n.map(t=>t(e))}function D1(e){return e.map(n=>function AN(e){return!e.validate}(n)?n:t=>n.validate(t))}function jd(e){return null!=e?function w1(e){if(!e)return null;const n=e.filter(y1);return 0==n.length?null:function(t){return C1(b1(t,n))}}(D1(e)):null}function Bd(e){return null!=e?function E1(e){if(!e)return null;const n=e.filter(y1);return 0==n.length?null:function(t){return function bN(...e){const n=ph(e),{args:t,keys:r}=o1(e),i=new Ae(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,u=s;for(let d=0;d<s;d++){let p=!1;Gt(t[d]).subscribe($e(o,v=>{p||(p=!0,u--),a[d]=v},()=>l--,void 0,()=>{(!l||!p)&&(u||o.next(r?a1(r,a):a),o.complete())}))}});return n?i.pipe(s1(n)):i}(b1(t,n).map(_1)).pipe(re(C1))}}(D1(e)):null}function M1(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function $d(e){return e?Array.isArray(e)?e:[e]:[]}function Fa(e,n){return Array.isArray(e)?e.includes(n):e===n}function A1(e,n){const t=$d(n);return $d(e).forEach(i=>{Fa(t,i)||t.push(i)}),t}function T1(e,n){return $d(n).filter(t=>!Fa(e,t))}class P1{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(n){this._rawValidators=n||[],this._composedValidatorFn=jd(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Bd(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class nr extends P1{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class pt extends P1{get formDirective(){return null}get path(){return null}}class N1{constructor(n){this._cd=n}get isTouched(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.touched)}get isUntouched(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.untouched)}get isPristine(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.pristine)}get isDirty(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.dirty)}get isValid(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.valid)}get isInvalid(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.invalid)}get isPending(){var n,t;return!(null===(t=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===t||!t.pending)}get isSubmitted(){var n;return!(null===(n=this._cd)||void 0===n||!n.submitted)}}let Ft=(()=>{class e extends N1{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(E(nr,2))},e.\u0275dir=q({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){2&t&&Qs("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[de]}),e})(),F1=(()=>{class e extends N1{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(E(pt,10))},e.\u0275dir=q({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,r){2&t&&Qs("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[de]}),e})();const Oo="VALID",Oa="INVALID",yi="PENDING",ko="DISABLED";function Gd(e){return(ka(e)?e.validators:e)||null}function O1(e){return Array.isArray(e)?jd(e):e||null}function Wd(e,n){return(ka(n)?n.asyncValidators:e)||null}function k1(e){return Array.isArray(e)?Bd(e):e||null}function ka(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class V1{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=t,this._composedValidatorFn=O1(this._rawValidators),this._composedAsyncValidatorFn=k1(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Oo}get invalid(){return this.status===Oa}get pending(){return this.status==yi}get disabled(){return this.status===ko}get enabled(){return this.status!==ko}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=O1(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=k1(n)}addValidators(n){this.setValidators(A1(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(A1(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(T1(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(T1(n,this._rawAsyncValidators))}hasValidator(n){return Fa(this._rawValidators,n)}hasAsyncValidator(n){return Fa(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=yi,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ko,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:t})),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Oo,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:t})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Oo||this.status===yi)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ko:Oo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=yi,this._hasOwnPendingAsyncValidator=!0;const t=_1(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Ie,this.statusChanges=new Ie}_calculateStatus(){return this._allControlsDisabled()?ko:this.errors?Oa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(yi)?yi:this._anyControlsHaveStatus(Oa)?Oa:Oo}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ka(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class qd extends V1{constructor(n,t,r){super(Gd(t),Wd(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function L1(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new R(1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function x1(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new R(1e3,"");if(!r[t])throw new R(1001,"")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}function xo(e,n){var t,r;Jd(e,n),n.valueAccessor.writeValue(e.value),e.disabled&&(null===(r=(t=n.valueAccessor).setDisabledState)||void 0===r||r.call(t,!0)),function LN(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&j1(e,n)})}(e,n),function jN(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function VN(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&j1(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function xN(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Va(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Jd(e,n){const t=function S1(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(M1(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function I1(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(M1(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();Va(n._rawValidators,i),Va(n._rawAsyncValidators,i)}function j1(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const zN={provide:pt,useExisting:me(()=>Ba)},Lo=(()=>Promise.resolve())();let Ba=(()=>{class e extends pt{constructor(t,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ie,this.form=new qd({},jd(t),Bd(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Lo.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),xo(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Lo.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Lo.then(()=>{const r=this._findContainer(t.path),i=new qd({});(function B1(e,n){Jd(e,n)})(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Lo.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Lo.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){var r;return this.submitted=!0,function H1(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===(null===(r=null==t?void 0:t.target)||void 0===r?void 0:r.method)}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return e.\u0275fac=function(t){return new(t||e)(E(rt,10),E(tr,10))},e.\u0275dir=q({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,r){1&t&&P("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([zN]),de]}),e})();function U1(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function z1(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const G1=class extends V1{constructor(n=null,t,r){super(Gd(t),Wd(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ka(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=z1(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){U1(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){U1(this._onDisabledChange,n)}_forEachChild(n){}_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(n){z1(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},qN={provide:nr,useExisting:me(()=>Ct)},J1=(()=>Promise.resolve())();let Ct=(()=>{class e extends nr{constructor(t,r,i,o,s){super(),this._changeDetectorRef=s,this.control=new G1,this._registered=!1,this.update=new Ie,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function Qd(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===_t?t=o:function HN(e){return Object.getPrototypeOf(e.constructor)===Er}(o)?r=o:i=o}),i||r||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Kd(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(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(){xo(this.control,this),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){J1.then(()=>{var r;this.control.setValue(t,{emitViewToModelChange:!1}),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&xn(r);J1.then(()=>{var o;i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_getPath(t){return this._parent?function xa(e,n){return[...n.path,e]}(t,this._parent):[t]}}return e.\u0275fac=function(t){return new(t||e)(E(pt,9),E(rt,10),E(tr,10),E(yn,10),E(ca,8))},e.\u0275dir=q({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[be([qN]),de,Lt]}),e})(),K1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=q({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const JN={provide:yn,useExisting:me(()=>Ut),multi:!0};let Ut=(()=>{class e extends Er{writeValue(t){this.setProperty("value",null==t?"":t)}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=Xe(e)))(r||e)}}(),e.\u0275dir=q({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,r){1&t&&P("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},features:[be([JN]),de]}),e})(),Q1=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=kt({type:e}),e.\u0275inj=wt({}),e})();const rF={provide:yn,useExisting:me(()=>$a),multi:!0};function rC(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let $a=(()=>{class e extends Er{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const i=rC(this._getOptionId(t),t);this.setProperty("value",i)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function iF(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=Xe(e)))(r||e)}}(),e.\u0275dir=q({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,r){1&t&&P("change",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[be([rF]),de]}),e})(),iC=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(rC(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 e.\u0275fac=function(t){return new(t||e)(E(pe),E(Tn),E($a,9))},e.\u0275dir=q({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const oF={provide:yn,useExisting:me(()=>ef),multi:!0};function oC(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ef=(()=>{class e extends Er{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const i=t.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const i=[],o=r.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a<s.length;a++){const u=this._getOptionValue(s[a].value);i.push(u)}}else{const s=r.options;for(let a=0;a<s.length;a++){const l=s[a];if(l.selected){const u=this._getOptionValue(l.value);i.push(u)}}}this.value=i,t(i)}}_registerOption(t){const r=(this._idCounter++).toString();return this._optionMap.set(r,t),r}_getOptionId(t){for(const r of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(r)._value,t))return r;return null}_getOptionValue(t){const r=function sF(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r)._value:t}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=Xe(e)))(r||e)}}(),e.\u0275dir=q({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,r){1&t&&P("change",function(o){return r.onChange(o.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[be([oF]),de]}),e})(),sC=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(oC(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(oC(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 e.\u0275fac=function(t){return new(t||e)(E(pe),E(Tn),E(ef,9))},e.\u0275dir=q({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),gF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=kt({type:e}),e.\u0275inj=wt({imports:[Q1]}),e})(),mF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=kt({type:e}),e.\u0275inj=wt({imports:[gF]}),e})();class on extends sn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}const Ha=Si(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function mC(...e){const n=Ti(e),t=ph(e),{args:r,keys:i}=o1(e);if(0===r.length)return Oe([],n);const o=new Ae(function yF(e,n,t=ur){return r=>{vC(n,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let l=0;l<i;l++)vC(n,()=>{const u=Oe(e[l],n);let d=!1;u.subscribe($e(r,p=>{o[l]=p,d||(d=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,i?s=>a1(i,s):ur));return t?o.pipe(s1(t)):o}function vC(e,n,t){e?bn(t,e,n):n()}function nf(...e){return function _F(){return Nr(1)}()(Oe(e,Ti(e)))}function yC(e){return new Ae(n=>{Gt(e()).subscribe(n)})}function Vo(e,n){const t=ge(e)?e:()=>e,r=i=>i.error(t());return new Ae(n?i=>n.schedule(r,0,i):r)}function rf(){return qe((e,n)=>{let t=null;e._refCount++;const r=$e(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const i=e._connection,o=t;t=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class _C extends Ae{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,eh(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,null==n||n.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Rt;const t=this.getSubject();n.add(this.source.subscribe($e(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Rt.EMPTY)}return n}refCount(){return rf()(this)}}function _n(e,n){return qe((t,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();t.subscribe($e(r,l=>{null==i||i.unsubscribe();let u=0;const d=o++;Gt(e(l,d)).subscribe(i=$e(r,p=>r.next(n?n(l,p,d,u++):p),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function jo(e){return e<=0?()=>Dn:qe((n,t)=>{let r=0;n.subscribe($e(t,i=>{++r<=e&&(t.next(i),e<=r&&t.complete())}))})}function Ua(e){return qe((n,t)=>{let r=!1;n.subscribe($e(t,i=>{r=!0,t.next(i)},()=>{r||t.next(e),t.complete()}))})}function CC(e=bF){return qe((n,t)=>{let r=!1;n.subscribe($e(t,i=>{r=!0,t.next(i)},()=>r?t.complete():t.error(e())))})}function bF(){return new Ha}function rr(e,n){const t=arguments.length>=2;return r=>r.pipe(e?jn((i,o)=>e(i,o,r)):ur,jo(1),t?Ua(n):CC(()=>new Ha))}function it(e,n,t){const r=ge(e)||n||t?{next:e,error:n,complete:t}:e;return r?qe((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe($e(o,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),o.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),o.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),o.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):ur}function ir(e){return qe((n,t)=>{let o,r=null,i=!1;r=n.subscribe($e(t,void 0,void 0,s=>{o=Gt(e(s,ir(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function DF(e,n,t,r,i){return(o,s)=>{let a=t,l=n,u=0;o.subscribe($e(s,d=>{const p=u++;l=a?e(l,d,p):(a=!0,d),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function bC(e,n){return qe(DF(e,n,arguments.length>=2,!0))}function sf(e){return e<=0?()=>Dn:qe((n,t)=>{let r=[];n.subscribe($e(t,i=>{r.push(i),e<r.length&&r.shift()},()=>{for(const i of r)t.next(i);t.complete()},void 0,()=>{r=null}))})}function DC(e,n){const t=arguments.length>=2;return r=>r.pipe(e?jn((i,o)=>e(i,o,r)):ur,sf(1),t?Ua(n):CC(()=>new Ha))}function af(e){return qe((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}const te="primary",Bo=Symbol("RouteTitle");class MF{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function _i(e){return new MF(e)}function SF(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.length<e.length))return null;const i={};for(let o=0;o<r.length;o++){const s=r[o],a=e[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function Cn(e,n){const t=e?Object.keys(e):void 0,r=n?Object.keys(n):void 0;if(!t||!r||t.length!=r.length)return!1;let i;for(let o=0;o<t.length;o++)if(i=t[o],!wC(e[i],n[i]))return!1;return!0}function wC(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;const t=[...e].sort(),r=[...n].sort();return t.every((i,o)=>r[o]===i)}return e===n}function EC(e){return Array.prototype.concat.apply([],e)}function MC(e){return e.length>0?e[e.length-1]:null}function Qe(e,n){for(const t in e)e.hasOwnProperty(t)&&n(e[t],t)}function or(e){return mc(e)?e:uo(e)?Oe(Promise.resolve(e)):$(e)}const TF={exact:function AC(e,n,t){if(!Ir(e.segments,n.segments)||!za(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!AC(e.children[r],n.children[r],t))return!1;return!0},subset:TC},SC={exact:function PF(e,n){return Cn(e,n)},subset:function NF(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>wC(e[t],n[t]))},ignored:()=>!0};function IC(e,n,t){return TF[t.paths](e.root,n.root,t.matrixParams)&&SC[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function TC(e,n,t){return PC(e,n,n.segments,t)}function PC(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!Ir(i,t)||n.hasChildren()||!za(i,t,r))}if(e.segments.length===t.length){if(!Ir(e.segments,t)||!za(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!TC(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(Ir(e.segments,i)&&za(e.segments,i,r)&&e.children[te])&&PC(e.children[te],n,o,r)}}function za(e,n,t){return n.every((r,i)=>SC[t](e[i].parameters,r.parameters))}class Sr{constructor(n,t,r){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_i(this.queryParams)),this._queryParamMap}toString(){return OF.serialize(this)}}class ie{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Qe(t,(r,i)=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ga(this)}}class $o{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=_i(this.parameters)),this._parameterMap}toString(){return OC(this)}}function Ir(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let NC=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:function(){return new uf},providedIn:"root"}),e})();class uf{parse(n){const t=new UF(n);return new Sr(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Ho(n.root,!0)}`,r=function LF(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${Wa(t)}=${Wa(i)}`).join("&"):`${Wa(t)}=${Wa(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${r}${"string"==typeof n.fragment?`#${function kF(e){return encodeURI(e)}(n.fragment)}`:""}`}}const OF=new uf;function Ga(e){return e.segments.map(n=>OC(n)).join("/")}function Ho(e,n){if(!e.hasChildren())return Ga(e);if(n){const t=e.children[te]?Ho(e.children[te],!1):"",r=[];return Qe(e.children,(i,o)=>{o!==te&&r.push(`${o}:${Ho(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function RF(e,n){let t=[];return Qe(e.children,(r,i)=>{i===te&&(t=t.concat(n(r,i)))}),Qe(e.children,(r,i)=>{i!==te&&(t=t.concat(n(r,i)))}),t}(e,(r,i)=>i===te?[Ho(e.children[te],!1)]:[`${i}:${Ho(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[te]?`${Ga(e)}/${t[0]}`:`${Ga(e)}/(${t.join("//")})`}}function FC(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Wa(e){return FC(e).replace(/%3B/gi,";")}function cf(e){return FC(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qa(e){return decodeURIComponent(e)}function RC(e){return qa(e.replace(/\+/g,"%20"))}function OC(e){return`${cf(e.path)}${function xF(e){return Object.keys(e).map(n=>`;${cf(n)}=${cf(e[n])}`).join("")}(e.parameters)}`}const VF=/^[^\/()?;=#]+/;function Ja(e){const n=e.match(VF);return n?n[0]:""}const jF=/^[^=?&#]+/,$F=/^[^&#]+/;class UF{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ie([],{}):new ie([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[te]=new ie(n,t)),r}parseSegment(){const n=Ja(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new R(4009,!1);return this.capture(n),new $o(qa(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=Ja(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=Ja(this.remaining);i&&(r=i,this.capture(r))}n[qa(t)]=qa(r)}parseQueryParam(n){const t=function BF(e){const n=e.match(jF);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function HF(e){const n=e.match($F);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=RC(t),o=RC(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Ja(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new R(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=te);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[te]:new ie([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new R(4011,!1)}}function df(e){return e.segments.length>0?new ie([],{[te]:e}):e}function Ka(e){const n={};for(const r of Object.keys(e.children)){const o=Ka(e.children[r]);(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function zF(e){if(1===e.numberOfChildren&&e.children[te]){const n=e.children[te];return new ie(e.segments.concat(n.segments),n.children)}return e}(new ie(e.segments,n))}function Ar(e){return e instanceof Sr}function qF(e,n,t,r,i){var o;if(0===t.length)return Ci(n.root,n.root,n.root,r,i);const a=function LC(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new xC(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Qe(o.outlets,(l,u)=>{a[u]="string"==typeof l?l.split("/"):l}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new xC(t,n,r)}(t);return a.toRoot()?Ci(n.root,n.root,new ie([],{}),r,i):function l(d){var p;const v=function KF(e,n,t,r){if(e.isAbsolute)return new bi(n.root,!0,0);if(-1===r)return new bi(t,t===n.root,0);return function VC(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new R(4005,!1);i=r.segments.length}return new bi(r,!1,i-o)}(t,r+(Uo(e.commands[0])?0:1),e.numberOfDoubleDots)}(a,n,null===(p=e.snapshot)||void 0===p?void 0:p._urlSegment,d),y=v.processChildren?Go(v.segmentGroup,v.index,a.commands):hf(v.segmentGroup,v.index,a.commands);return Ci(n.root,v.segmentGroup,y,r,i)}(null===(o=e.snapshot)||void 0===o?void 0:o._lastPathIndex)}function Uo(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zo(e){return"object"==typeof e&&null!=e&&e.outlets}function Ci(e,n,t,r,i){let s,o={};r&&Qe(r,(l,u)=>{o[u]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`}),s=e===n?t:kC(e,n,t);const a=df(Ka(s));return new Sr(a,o,i)}function kC(e,n,t){const r={};return Qe(e.children,(i,o)=>{r[o]=i===n?t:kC(i,n,t)}),new ie(e.segments,r)}class xC{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Uo(r[0]))throw new R(4003,!1);const i=r.find(zo);if(i&&i!==MC(r))throw new R(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class bi{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function hf(e,n,t){if(e||(e=new ie([],{})),0===e.segments.length&&e.hasChildren())return Go(e,n,t);const r=function ZF(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=t.length)return o;const s=e.segments[i],a=t[r];if(zo(a))break;const l=`${a}`,u=r<t.length-1?t[r+1]:null;if(i>0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!BC(l,u,s))return o;r+=2}else{if(!BC(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const o=new ie(e.segments.slice(0,r.pathIndex),{});return o.children[te]=new ie(e.segments.slice(r.pathIndex),e.children),Go(o,0,i)}return r.match&&0===i.length?new ie(e.segments,{}):r.match&&!e.hasChildren()?pf(e,n,t):r.match?Go(e,0,i):pf(e,n,t)}function Go(e,n,t){if(0===t.length)return new ie(e.segments,{});{const r=function QF(e){return zo(e[0])?e[0].outlets:{[te]:e}}(t),i={};return Qe(r,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(i[s]=hf(e.children[s],n,o))}),Qe(e.children,(o,s)=>{void 0===r[s]&&(i[s]=o)}),new ie(e.segments,i)}}function pf(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i<t.length;){const o=t[i];if(zo(o)){const l=YF(o.outlets);return new ie(r,l)}if(0===i&&Uo(t[0])){r.push(new $o(e.segments[n].path,jC(t[0]))),i++;continue}const s=zo(o)?o.outlets[te]:`${o}`,a=i<t.length-1?t[i+1]:null;s&&a&&Uo(a)?(r.push(new $o(s,jC(a))),i+=2):(r.push(new $o(s,{})),i++)}return new ie(r,{})}function YF(e){const n={};return Qe(e,(t,r)=>{"string"==typeof t&&(t=[t]),null!==t&&(n[r]=pf(new ie([],{}),0,t))}),n}function jC(e){const n={};return Qe(e,(t,r)=>n[r]=`${t}`),n}function BC(e,n,t){return e==t.path&&Cn(n,t.parameters)}class $n{constructor(n,t){this.id=n,this.url=t}}class gf extends $n{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Tr extends $n{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Qa extends $n{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class $C extends $n{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class XF extends $n{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eR extends $n{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tR extends $n{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nR extends $n{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rR extends $n{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iR{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oR{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class sR{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aR{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lR{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class uR{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class HC{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class UC{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=mf(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=mf(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=vf(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return vf(n,this._root).map(t=>t.value)}}function mf(e,n){if(e===n.value)return n;for(const t of n.children){const r=mf(e,t);if(r)return r}return null}function vf(e,n){if(e===n.value)return[n];for(const t of n.children){const r=vf(e,t);if(r.length)return r.unshift(n),r}return[]}class Hn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Di(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class zC extends UC{constructor(n,t){super(n),this.snapshot=t,yf(this,n)}toString(){return this.snapshot.toString()}}function GC(e,n){const t=function dR(e,n){const s=new Za([],{},{},"",{},te,n,null,e.root,-1,{});return new qC("",new Hn(s,[]))}(e,n),r=new on([new $o("",{})]),i=new on({}),o=new on({}),s=new on({}),a=new on(""),l=new sr(r,i,s,a,o,te,n,t.root);return l.snapshot=t.root,new zC(new Hn(l,[]),t)}class sr{constructor(n,t,r,i,o,s,a,l){var u,d;this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.title=null!==(d=null===(u=this.data)||void 0===u?void 0:u.pipe(re(p=>p[Bo])))&&void 0!==d?d:$(void 0),this._futureSnapshot=l}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(re(n=>_i(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(re(n=>_i(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function WC(e,n="emptyOnly"){const t=e.pathFromRoot;let r=0;if("always"!==n)for(r=t.length-1;r>=1;){const i=t[r],o=t[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function fR(e){return e.reduce((n,t)=>{var r;return{params:Object.assign(Object.assign({},n.params),t.params),data:Object.assign(Object.assign({},n.data),t.data),resolve:Object.assign(Object.assign(Object.assign(Object.assign({},t.data),n.resolve),null===(r=t.routeConfig)||void 0===r?void 0:r.data),t._resolvedData)}},{params:{},data:{},resolve:{}})}(t.slice(r))}class Za{constructor(n,t,r,i,o,s,a,l,u,d,p,v){var y;this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.title=null===(y=this.data)||void 0===y?void 0:y[Bo],this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=d,this._correctedLastPathIndex=null!=v?v:d,this._resolve=p}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=_i(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_i(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class qC extends UC{constructor(n,t){super(t),this.url=n,yf(this,t)}toString(){return JC(this._root)}}function yf(e,n){n.value._routerState=e,n.children.forEach(t=>yf(e,t))}function JC(e){const n=e.children.length>0?` { ${e.children.map(JC).join(", ")} } `:"";return`${e.value}${n}`}function _f(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Cn(n.queryParams,t.queryParams)||e.queryParams.next(t.queryParams),n.fragment!==t.fragment&&e.fragment.next(t.fragment),Cn(n.params,t.params)||e.params.next(t.params),function IF(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!Cn(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.url.next(t.url),Cn(n.data,t.data)||e.data.next(t.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Cf(e,n){const t=Cn(e.params,n.params)&&function FF(e,n){return Ir(e,n)&&e.every((t,r)=>Cn(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||Cf(e.parent,n.parent))}function Wo(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function pR(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Wo(e,r,i);return Wo(e,r)})}(e,n,t);return new Hn(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Wo(e,a)),s}}const r=function gR(e){return new sr(new on(e.url),new on(e.params),new on(e.queryParams),new on(e.fragment),new on(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>Wo(e,o));return new Hn(r,i)}}const bf="ngNavigationCancelingError";function KC(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=Ar(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=QC(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function QC(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[bf]=!0,r.cancellationCode=n,t&&(r.url=t),r}function ZC(e){return YC(e)&&Ar(e.url)}function YC(e){return e&&e[bf]}class mR{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new qo,this.attachRef=null}}let qo=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new mR,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ya=!1;let Df=(()=>{class e{constructor(t,r,i,o,s){this.parentContexts=t,this.location=r,this.changeDetector=o,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Ie,this.deactivateEvents=new Ie,this.attachEvents=new Ie,this.detachEvents=new Ie,this.name=i||te,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){var t;(null===(t=this.parentContexts.getContext(this.name))||void 0===t?void 0:t.outlet)===this&&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.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new R(4012,Ya);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new R(4012,Ya);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new R(4012,Ya);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new R(4013,Ya);this._activatedRoute=t;const i=this.location,s=t._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new vR(t,a,i.injector);if(r&&function yR(e){return!!e.resolveComponentFactory}(r)){const u=r.resolveComponentFactory(s);this.activated=i.createComponent(u,i.length,l)}else this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:null!=r?r:this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(E(qo),E(en),Bi("name"),E(ca),E(Jn))},e.\u0275dir=q({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),e})();class vR{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===sr?this.route:n===qo?this.childContexts:this.parent.get(n,t)}}let wf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Te({type:e,selectors:[["ng-component"]],standalone:!0,features:[Hv],decls:1,vars:0,template:function(t,r){1&t&&w(0,"router-outlet")},dependencies:[Df],encapsulation:2}),e})();function XC(e,n){var t;return e.providers&&!e._injector&&(e._injector=na(e.providers,n,`Route: ${e.path}`)),null!==(t=e._injector)&&void 0!==t?t:n}function Mf(e){const n=e.children&&e.children.map(Mf),t=n?Object.assign(Object.assign({},e),{children:n}):Object.assign({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==te&&(t.component=wf),t}function zt(e){return e.outlet||te}function e0(e,n){const t=e.filter(r=>zt(r)===n);return t.push(...e.filter(r=>zt(r)!==n)),t}function Jo(e){var n;if(!e)return null;if(null!==(n=e.routeConfig)&&void 0!==n&&n._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const r=t.routeConfig;if(null!=r&&r._loadedInjector)return r._loadedInjector;if(null!=r&&r._injector)return r._injector}return null}class wR{constructor(n,t,r,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),_f(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=Di(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Qe(i,(o,s)=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=Di(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=Di(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated(),r.attachRef=null,r.resolver=null,r.route=null)}activateChildRoutes(n,t,r){const i=Di(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new uR(o.value.snapshot))}),n.children.length&&this.forwardEvent(new aR(n.value.snapshot))}activateRoutes(n,t,r){var i;const o=n.value,s=t?t.value:null;if(_f(o),o===s)if(o.component){const a=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,a.children)}else this.activateChildRoutes(n,t,r);else if(o.component){const a=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const l=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),_f(l.route.value),this.activateChildRoutes(n,null,a.children)}else{const l=Jo(o.snapshot),u=null!==(i=null==l?void 0:l.get(eo))&&void 0!==i?i:null;a.attachRef=null,a.route=o,a.resolver=u,a.injector=l,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,r)}}class t0{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Xa{constructor(n,t){this.component=n,this.route=t}}function ER(e,n,t){const r=e._root;return Ko(r,n?n._root:null,t,[r.value])}function wi(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function bb(e){return null!==ss(e)}(e)?n.get(e):e:r}function Ko(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Di(n);return e.children.forEach(s=>{(function SR(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function IR(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Ir(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Ir(e.url,n.url)||!Cn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cf(e,n)||!Cn(e.queryParams,n.queryParams);default:return!Cf(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new t0(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Ko(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Xa(a.outlet.component,s))}else s&&Qo(n,a,i),i.canActivateChecks.push(new t0(r)),Ko(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Qe(o,(s,a)=>Qo(s,t.getContext(a),i)),i}function Qo(e,n,t){const r=Di(e),i=e.value;Qe(r,(o,s)=>{Qo(o,i.component?n?n.children.getContext(s):null:n,t)}),t.canDeactivateChecks.push(new Xa(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function Zo(e){return"function"==typeof e}function Sf(e){return e instanceof Ha||"EmptyError"===(null==e?void 0:e.name)}const el=Symbol("INITIAL_VALUE");function Ei(){return _n(e=>mC(e.map(n=>n.pipe(jo(1),function CF(...e){const n=Ti(e);return qe((t,r)=>{(n?nf(e,t,n):nf(e,t)).subscribe(r)})}(el)))).pipe(re(n=>{for(const t of n)if(!0!==t){if(t===el)return el;if(!1===t||t instanceof Sr)return t}return!0}),jn(n=>n!==el),jo(1)))}function n0(e){return function B0(...e){return Zf(e)}(it(n=>{if(Ar(n))throw KC(0,n)}),re(n=>!0===n))}const If={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function r0(e,n,t,r,i){const o=Af(e,n,t);return o.matched?function zR(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?$(i.map(s=>{const a=wi(s,e);return or(function RR(e){return e&&Zo(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(Ei(),n0()):$(!0)}(r=XC(n,r),n,t).pipe(re(s=>!0===s?o:Object.assign({},If))):$(o)}function Af(e,n,t){var r;if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?Object.assign({},If):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const o=(n.matcher||SF)(t,e,n);if(!o)return Object.assign({},If);const s={};Qe(o.posParams,(l,u)=>{s[u]=l.path});const a=o.consumed.length>0?Object.assign(Object.assign({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:a,positionalParamSegments:null!==(r=o.posParams)&&void 0!==r?r:{}}}function tl(e,n,t,r,i="corrected"){if(t.length>0&&function qR(e,n,t){return t.some(r=>nl(e,n,r)&&zt(r)!==te)}(e,t,r)){const s=new ie(n,function WR(e,n,t,r){const i={};i[te]=r,r._sourceSegment=e,r._segmentIndexShift=n.length;for(const o of t)if(""===o.path&&zt(o)!==te){const s=new ie([],{});s._sourceSegment=e,s._segmentIndexShift=n.length,i[zt(o)]=s}return i}(e,n,r,new ie(t,e.children)));return s._sourceSegment=e,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:[]}}if(0===t.length&&function JR(e,n,t){return t.some(r=>nl(e,n,r))}(e,t,r)){const s=new ie(e.segments,function GR(e,n,t,r,i,o){const s={};for(const a of r)if(nl(e,t,a)&&!i[zt(a)]){const l=new ie([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===o?e.segments.length:n.length,s[zt(a)]=l}return Object.assign(Object.assign({},i),s)}(e,n,t,r,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:t}}const o=new ie(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:t}}function nl(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}function o0(e,n,t,r){return!!(zt(e)===r||r!==te&&nl(n,t,e))&&("**"===e.path||Af(n,e,t).matched)}function s0(e,n,t){return 0===n.length&&!e.children[t]}const rl=!1;class il{constructor(n){this.segmentGroup=n||null}}class a0{constructor(n){this.urlTree=n}}function Yo(e){return Vo(new il(e))}function l0(e){return Vo(new a0(e))}class YR{constructor(n,t,r,i,o){this.injector=n,this.configLoader=t,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0}apply(){const n=tl(this.urlTree.root,[],[],this.config).segmentGroup,t=new ie(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,t,te).pipe(re(o=>this.createUrlTree(Ka(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ir(o=>{if(o instanceof a0)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof il?this.noMatchError(o):o}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,te).pipe(re(i=>this.createUrlTree(Ka(i),n.queryParams,n.fragment))).pipe(ir(i=>{throw i instanceof il?this.noMatchError(i):i}))}noMatchError(n){return new R(4002,rl)}createUrlTree(n,t,r){const i=df(n);return new Sr(i,t,r)}expandSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(n,t,r).pipe(re(o=>new ie([],o))):this.expandSegment(n,r,t,r.segments,i,!0)}expandChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return Oe(i).pipe(Yn(o=>{const s=r.children[o],a=e0(t,o);return this.expandSegmentGroup(n,a,s,o).pipe(re(l=>({segment:l,outlet:o})))}),bC((o,s)=>(o[s.outlet]=s.segment,o),{}),DC())}expandSegment(n,t,r,i,o,s){return Oe(r).pipe(Yn(a=>this.expandSegmentAgainstRoute(n,t,r,a,i,o,s).pipe(ir(u=>{if(u instanceof il)return $(null);throw u}))),rr(a=>!!a),ir((a,l)=>{if(Sf(a))return s0(t,i,o)?$(new ie([],{})):Yo(t);throw a}))}expandSegmentAgainstRoute(n,t,r,i,o,s,a){return o0(i,t,o,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,t,i,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s):Yo(t):Yo(t)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,i){const o=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?l0(o):this.lineralizeSegments(r,o).pipe(Ke(s=>{const a=new ie(s,{});return this.expandSegment(n,a,t,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:d}=Af(t,i,o);if(!a)return Yo(t);const p=this.applyRedirectCommands(l,i.redirectTo,d);return i.redirectTo.startsWith("/")?l0(p):this.lineralizeSegments(i,p).pipe(Ke(v=>this.expandSegment(n,t,r,v.concat(u),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o){return"**"===r.path?(n=XC(r,n),r.loadChildren?(r._loadedRoutes?$({routes:r._loadedRoutes,injector:r._loadedInjector}):this.configLoader.loadChildren(n,r)).pipe(re(a=>(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,new ie(i,{})))):$(new ie(i,{}))):r0(t,r,i,n).pipe(_n(({matched:s,consumedSegments:a,remainingSegments:l})=>{var u;return s?(n=null!==(u=r._injector)&&void 0!==u?u:n,this.getChildConfig(n,r,i).pipe(Ke(p=>{var v;const y=null!==(v=p.injector)&&void 0!==v?v:n,_=p.routes,{segmentGroup:D,slicedSegments:S}=tl(t,a,l,_),I=new ie(D.segments,D.children);if(0===S.length&&I.hasChildren())return this.expandChildren(y,_,I).pipe(re(ne=>new ie(a,ne)));if(0===_.length&&0===S.length)return $(new ie(a,{}));const O=zt(r)===o;return this.expandSegment(y,I,_,S,O?te:o,!0).pipe(re(V=>new ie(a.concat(V.segments),V.children)))}))):Yo(t)}))}getChildConfig(n,t,r){return t.children?$({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?$({routes:t._loadedRoutes,injector:t._loadedInjector}):function UR(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?$(!0):$(i.map(s=>{const a=wi(s,e);return or(function TR(e){return e&&Zo(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(Ei(),n0())}(n,t,r).pipe(Ke(i=>i?this.configLoader.loadChildren(n,t).pipe(it(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function QR(e){return Vo(QC(rl,3))}())):$({routes:[],injector:n})}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return $(r);if(i.numberOfChildren>1||!i.children[te])return Vo(new R(4e3,rl));i=i.children[te]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new Sr(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Qe(n,(i,o)=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Qe(t.children,(a,l)=>{s[l]=this.createSegmentGroup(n,a,r,i)}),new ie(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new R(4001,rl);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}class eO{}class rO{constructor(n,t,r,i,o,s,a,l){this.injector=n,this.rootComponentType=t,this.config=r,this.urlTree=i,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const n=tl(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,te).pipe(re(t=>{if(null===t)return null;const r=new Za([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},te,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Hn(r,t),o=new qC(this.url,i);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(n){const t=n.value,r=WC(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i)}processChildren(n,t,r){return Oe(Object.keys(r.children)).pipe(Yn(i=>{const o=r.children[i],s=e0(t,i);return this.processSegmentGroup(n,s,o,i)}),bC((i,o)=>i&&o?(i.push(...o),i):null),function wF(e,n=!1){return qe((t,r)=>{let i=0;t.subscribe($e(r,o=>{const s=e(o,i++);(s||n)&&r.next(o),!s&&r.complete()}))})}(i=>null!==i),Ua(null),DC(),re(i=>{if(null===i)return null;const o=u0(i);return function iO(e){e.sort((n,t)=>n.value.outlet===te?-1:t.value.outlet===te?1:n.value.outlet.localeCompare(t.value.outlet))}(o),o}))}processSegment(n,t,r,i,o){return Oe(t).pipe(Yn(s=>{var a;return this.processSegmentAgainstRoute(null!==(a=s._injector)&&void 0!==a?a:n,s,r,i,o)}),rr(s=>!!s),ir(s=>{if(Sf(s))return s0(r,i,o)?$([]):$(null);throw s}))}processSegmentAgainstRoute(n,t,r,i,o){var s,a;if(t.redirectTo||!o0(t,r,i,o))return $(null);let l;if("**"===t.path){const u=i.length>0?MC(i).parameters:{},d=d0(r)+i.length;l=$({snapshot:new Za(i,u,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,h0(t),zt(t),null!==(a=null!==(s=t.component)&&void 0!==s?s:t._loadedComponent)&&void 0!==a?a:null,t,c0(r),d,p0(t),d),consumedSegments:[],remainingSegments:[]})}else l=r0(r,t,i,n).pipe(re(({matched:u,consumedSegments:d,remainingSegments:p,parameters:v})=>{var y,_;if(!u)return null;const D=d0(r)+d.length;return{snapshot:new Za(d,v,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,h0(t),zt(t),null!==(_=null!==(y=t.component)&&void 0!==y?y:t._loadedComponent)&&void 0!==_?_:null,t,c0(r),D,p0(t),D),consumedSegments:d,remainingSegments:p}}));return l.pipe(_n(u=>{var d,p;if(null===u)return $(null);const{snapshot:v,consumedSegments:y,remainingSegments:_}=u;n=null!==(d=t._injector)&&void 0!==d?d:n;const D=null!==(p=t._loadedInjector)&&void 0!==p?p:n,S=function oO(e){return e.children?e.children:e.loadChildren?e._loadedRoutes:[]}(t),{segmentGroup:I,slicedSegments:O}=tl(r,y,_,S.filter(V=>void 0===V.redirectTo),this.relativeLinkResolution);if(0===O.length&&I.hasChildren())return this.processChildren(D,S,I).pipe(re(V=>null===V?null:[new Hn(v,V)]));if(0===S.length&&0===O.length)return $([new Hn(v,[])]);const M=zt(t)===o;return this.processSegment(D,S,I,O,M?te:o).pipe(re(V=>null===V?null:[new Hn(v,V)]))}))}}function sO(e){const n=e.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function u0(e){const n=[],t=new Set;for(const r of e){if(!sO(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=u0(r.children);n.push(new Hn(r.value,i))}return n.filter(r=>!t.has(r))}function c0(e){let n=e;for(;n._sourceSegment;)n=n._sourceSegment;return n}function d0(e){var n,t;let r=e,i=null!==(n=r._segmentIndexShift)&&void 0!==n?n:0;for(;r._sourceSegment;)r=r._sourceSegment,i+=null!==(t=r._segmentIndexShift)&&void 0!==t?t:0;return i-1}function h0(e){return e.data||{}}function p0(e){return e.resolve||{}}function g0(e){return"string"==typeof e.title||null===e.title}function Tf(e){return _n(n=>{const t=e(n);return t?Oe(t).pipe(re(()=>n)):$(n)})}let m0=(()=>{class e{buildTitle(t){var r;let i,o=t.root;for(;void 0!==o;)i=null!==(r=this.getResolvedTitleForRoute(o))&&void 0!==r?r:i,o=o.children.find(s=>s.outlet===te);return i}getResolvedTitleForRoute(t){return t.data[Bo]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=W({token:e,factory:function(){return Fe(v0)},providedIn:"root"}),e})(),v0=(()=>{class e extends m0{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(t){return new(t||e)(j(G_))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class pO{}class mO extends class gO{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}{}const sl=new B("",{providedIn:"root",factory:()=>({})}),Pf=new B("ROUTES");let Nf=(()=>{class e{constructor(t,r){this.injector=t,this.compiler=r,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return $(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=or(t.loadComponent()).pipe(it(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),af(()=>{this.componentLoaders.delete(t)})),i=new _C(r,()=>new sn).pipe(rf());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return $({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(re(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u,d=!1;Array.isArray(a)?u=a:(l=a.create(t).injector,u=EC(l.get(Pf,[],U.Self|U.Optional)));return{routes:u.map(Mf),injector:l}}),af(()=>{this.childrenLoaders.delete(r)})),s=new _C(o,()=>new sn).pipe(rf());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(t){return or(t()).pipe(Ke(r=>r instanceof Bv||Array.isArray(r)?$(r):Oe(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(t){return new(t||e)(j(Tt),j(Wc))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class yO{}class _O{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,t){return n}}function CO(e){throw e}function bO(e,n,t){return n.parse("/")}const DO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wO={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function _0(){var e,n;const t=Fe(NC),r=Fe(qo),i=Fe(sd),o=Fe(Tt),s=Fe(Wc),a=null!==(e=Fe(Pf,{optional:!0}))&&void 0!==e?e:[],l=null!==(n=Fe(sl,{optional:!0}))&&void 0!==n?n:{},u=Fe(v0),d=Fe(m0,{optional:!0}),p=Fe(yO,{optional:!0}),v=Fe(pO,{optional:!0}),y=new Be(null,t,r,i,o,s,EC(a));return p&&(y.urlHandlingStrategy=p),v&&(y.routeReuseStrategy=v),y.titleStrategy=null!=d?d:u,function EO(e,n){e.errorHandler&&(n.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(n.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(n.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(n.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(n.urlUpdateStrategy=e.urlUpdateStrategy),e.canceledNavigationResolution&&(n.canceledNavigationResolution=e.canceledNavigationResolution)}(l,y),y}let Be=(()=>{class e{constructor(t,r,i,o,s,a,l){this.rootComponentType=t,this.urlSerializer=r,this.rootContexts=i,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new sn,this.errorHandler=CO,this.malformedUriErrorHandler=bO,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>$(void 0),this.urlHandlingStrategy=new _O,this.routeReuseStrategy=new mO,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(Nf),this.configLoader.onLoadEndListener=v=>this.triggerEvent(new oR(v)),this.configLoader.onLoadStartListener=v=>this.triggerEvent(new iR(v)),this.ngModule=s.get(br),this.console=s.get(QA);const p=s.get(Ge);this.isNgZoneEnabled=p instanceof Ge&&Ge.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function AF(){return new Sr(new ie([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=GC(this.currentUrlTree,this.rootComponentType),this.transitions=new on({id:0,targetPageId: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()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const r=this.events;return t.pipe(jn(i=>0!==i.id),re(i=>Object.assign(Object.assign({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),_n(i=>{let o=!1,s=!1;return $(i).pipe(it(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),_n(a=>{const l=this.browserUrlTree.toString(),u=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||u)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return C0(a.source)&&(this.browserUrlTree=a.extractedUrl),$(a).pipe(_n(p=>{const v=this.transitions.getValue();return r.next(new gf(p.id,this.serializeUrl(p.extractedUrl),p.source,p.restoredState)),v!==this.transitions.getValue()?Dn:Promise.resolve(p)}),function XR(e,n,t,r){return _n(i=>function ZR(e,n,t,r,i){return new YR(e,n,t,r,i).apply()}(e,n,t,i.extractedUrl,r).pipe(re(o=>Object.assign(Object.assign({},i),{urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),it(p=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:p.urlAfterRedirects}),i.urlAfterRedirects=p.urlAfterRedirects}),function lO(e,n,t,r,i,o){return Ke(s=>function nO(e,n,t,r,i,o,s="emptyOnly",a="legacy"){return new rO(e,n,t,r,i,s,a,o).recognize().pipe(_n(l=>null===l?function tO(e){return new Ae(n=>n.error(e))}(new eO):$(l)))}(e,n,t,s.urlAfterRedirects,r.serialize(s.urlAfterRedirects),r,i,o).pipe(re(a=>Object.assign(Object.assign({},s),{targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),it(p=>{if(i.targetSnapshot=p.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!p.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(p.urlAfterRedirects,p.rawUrl);this.setBrowserUrl(y,p)}this.browserUrlTree=p.urlAfterRedirects}const v=new XF(p.id,this.serializeUrl(p.extractedUrl),this.serializeUrl(p.urlAfterRedirects),p.targetSnapshot);r.next(v)}));if(u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:v,extractedUrl:y,source:_,restoredState:D,extras:S}=a,I=new gf(v,this.serializeUrl(y),_,D);r.next(I);const O=GC(y,this.rootComponentType).snapshot;return $(i=Object.assign(Object.assign({},a),{targetSnapshot:O,urlAfterRedirects:y,extras:Object.assign(Object.assign({},S),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Dn}),it(a=>{const l=new eR(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),re(a=>i=Object.assign(Object.assign({},a),{guards:ER(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function kR(e,n){return Ke(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?$(Object.assign(Object.assign({},t),{guardsResult:!0})):function xR(e,n,t,r){return Oe(e).pipe(Ke(i=>function HR(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?$(o.map(a=>{var l;const u=null!==(l=Jo(n))&&void 0!==l?l:i,d=wi(a,u);return or(function FR(e){return e&&Zo(e.canDeactivate)}(d)?d.canDeactivate(e,n,t,r):u.runInContext(()=>d(e,n,t,r))).pipe(rr())})).pipe(Ei()):$(!0)}(i.component,i.route,t,n,r)),rr(i=>!0!==i,!0))}(s,r,i,e).pipe(Ke(a=>a&&function AR(e){return"boolean"==typeof e}(a)?function LR(e,n,t,r){return Oe(n).pipe(Yn(i=>nf(function jR(e,n){return null!==e&&n&&n(new sR(e)),$(!0)}(i.route.parent,r),function VR(e,n){return null!==e&&n&&n(new lR(e)),$(!0)}(i.route,r),function $R(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function MR(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>yC(()=>$(s.guards.map(l=>{var u;const d=null!==(u=Jo(s.node))&&void 0!==u?u:t,p=wi(l,d);return or(function NR(e){return e&&Zo(e.canActivateChild)}(p)?p.canActivateChild(r,e):d.runInContext(()=>p(r,e))).pipe(rr())})).pipe(Ei())));return $(o).pipe(Ei())}(e,i.path,t),function BR(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return $(!0);const i=r.map(o=>yC(()=>{var s;const a=null!==(s=Jo(n))&&void 0!==s?s:t,l=wi(o,a);return or(function PR(e){return e&&Zo(e.canActivate)}(l)?l.canActivate(n,e):a.runInContext(()=>l(n,e))).pipe(rr())}));return $(i).pipe(Ei())}(e,i.route,t))),rr(i=>!0!==i,!0))}(r,o,e,n):$(a)),re(a=>Object.assign(Object.assign({},t),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),it(a=>{if(i.guardsResult=a.guardsResult,Ar(a.guardsResult))throw KC(0,a.guardsResult);const l=new tR(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),jn(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),Tf(a=>{if(a.guards.canActivateChecks.length)return $(a).pipe(it(l=>{const u=new nR(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}),_n(l=>{let u=!1;return $(l).pipe(function uO(e,n){return Ke(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return $(t);let o=0;return Oe(i).pipe(Yn(s=>function cO(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==(null==i?void 0:i.title)&&!g0(i)&&(o[Bo]=i.title),function dO(e,n,t,r){const i=function fO(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===i.length)return $({});const o={};return Oe(i).pipe(Ke(s=>function hO(e,n,t,r){var i;const o=null!==(i=Jo(n))&&void 0!==i?i:r,s=wi(e,o);return or(s.resolve?s.resolve(n,t):o.runInContext(()=>s(n,t)))}(e[s],n,t,r).pipe(rr(),it(a=>{o[s]=a}))),sf(1),function EF(e){return re(()=>e)}(o),ir(s=>Sf(s)?Dn:Vo(s)))}(o,e,n,r).pipe(re(s=>(e._resolvedData=s,e.data=WC(e,t).resolve,i&&g0(i)&&(e.data[Bo]=i.title),null)))}(s.route,r,e,n)),it(()=>o++),sf(1),Ke(s=>o===i.length?$(t):Dn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),it({next:()=>u=!0,complete:()=>{u||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),it(l=>{const u=new rR(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(u)}))}),Tf(a=>{const l=u=>{var d;const p=[];(null===(d=u.routeConfig)||void 0===d?void 0:d.loadComponent)&&!u.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(u.routeConfig).pipe(it(v=>{u.component=v}),re(()=>{})));for(const v of u.children)p.push(...l(v));return p};return mC(l(a.targetSnapshot.root)).pipe(Ua(),jo(1))}),Tf(()=>this.afterPreactivation()),re(a=>{const l=function hR(e,n,t){const r=Wo(e,n._root,t?t._root:void 0);return new zC(r,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i=Object.assign(Object.assign({},a),{targetRouterState:l})}),it(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((e,n,t)=>re(r=>(new wR(n,r.targetRouterState,r.currentRouterState,t).activate(e),r)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),it({next(){o=!0},complete(){o=!0}}),af(()=>{var a;o||s||this.cancelNavigationTransition(i,"",1),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===i.id&&(this.currentNavigation=null)}),ir(a=>{var l;if(s=!0,YC(a)){ZC(a)||(this.navigated=!0,this.restoreHistory(i,!0));const u=new Qa(i.id,this.serializeUrl(i.extractedUrl),a.message,a.cancellationCode);if(r.next(u),ZC(a)){const d=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),p={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||C0(i.source)};this.scheduleNavigation(d,"imperative",null,p,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{this.restoreHistory(i,!0);const u=new $C(i.id,this.serializeUrl(i.extractedUrl),a,null!==(l=i.targetSnapshot)&&void 0!==l?l:void 0);r.next(u);try{i.resolve(this.errorHandler(a))}catch(d){i.reject(d)}}return Dn}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),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 r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{var i;const o={replaceUrl:!0},s=null!==(i=t.state)&&void 0!==i&&i.navigationId?t.state:null;if(s){const l=Object.assign({},s);delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t.url);this.scheduleNavigation(a,r,s,o)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){this.config=t.map(Mf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=i||this.routerState.root,d=l?this.currentUrlTree.fragment:s;let p=null;switch(a){case"merge":p=Object.assign(Object.assign({},this.currentUrlTree.queryParams),o);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=o||null}return null!==p&&(p=this.removeEmptyProps(p)),qF(u,this.currentUrlTree,t,p,null!=d?d:null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=Ar(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,r)}navigate(t,r={skipLocationChange:!1}){return function MO(e){for(let n=0;n<e.length;n++){if(null==e[n])throw new R(4008,false)}}(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let r;try{r=this.urlSerializer.parse(t)}catch(i){r=this.malformedUriErrorHandler(i,this.urlSerializer,t)}return r}isActive(t,r){let i;if(i=!0===r?Object.assign({},DO):!1===r?Object.assign({},wO):r,Ar(t))return IC(this.currentUrlTree,t,i);const o=this.parseUrl(t);return IC(this.currentUrlTree,o,i)}removeEmptyProps(t){return Object.keys(t).reduce((r,i)=>{const o=t[i];return null!=o&&(r[i]=o),r},{})}processNavigations(){this.navigations.subscribe(t=>{var r;this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new Tr(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(r=this.titleStrategy)||void 0===r||r.updateTitle(this.routerState.snapshot),t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,r,i,o,s){var a,l;if(this.disposed)return Promise.resolve(!1);let u,d,p;s?(u=s.resolve,d=s.reject,p=s.promise):p=new Promise((_,D)=>{u=_,d=D});const v=++this.navigationId;let y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(i=this.location.getState()),y=i&&i.\u0275routerPageId?i.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(l=this.browserPageId)&&void 0!==l?l:0)+1):y=0,this.setTransition({id:v,targetPageId:y,source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:o,resolve:u,reject:d,promise:p,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),p.catch(_=>Promise.reject(_))}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t),o=Object.assign(Object.assign({},r.extras.state),this.generateNgRouterState(r.id,r.targetPageId));this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl?this.location.replaceState(i,"",o):this.location.go(i,"",o)}restoreHistory(t,r=!1){var i,o;if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)||0===s?this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)&&0===s&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,r,i){const o=new Qa(t.id,this.serializeUrl(t.extractedUrl),r,i);this.triggerEvent(o),t.resolve(!1)}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}}return e.\u0275fac=function(t){Hu()},e.\u0275prov=W({token:e,factory:function(){return _0()},providedIn:"root"}),e})();function C0(e){return"imperative"!==e}let Ff=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new sn,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(t){this._preserveFragment=xn(t)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(t){this._skipLocationChange=xn(t)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(t){this._replaceUrl=xn(t)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(t){if(null!=this.tabIndexAttribute)return;const r=this.renderer,i=this.el.nativeElement;null!==t?r.setAttribute(i,"tabindex",t):r.removeAttribute(i,"tabindex")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(t){return new(t||e)(E(Be),E(sr),Bi("tabindex"),E(Tn),E(pe))},e.\u0275dir=q({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,r){1&t&&P("click",function(){return r.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Lt]}),e})(),ll=(()=>{class e{constructor(t,r,i){this.router=t,this.route=r,this.locationStrategy=i,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new sn,this.subscription=t.events.subscribe(o=>{o instanceof Tr&&this.updateTargetUrlAndHref()})}set preserveFragment(t){this._preserveFragment=xn(t)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(t){this._skipLocationChange=xn(t)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(t){this._replaceUrl=xn(t)}get replaceUrl(){return this._replaceUrl}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:null}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,r,i,o,s){return!!(0!==t||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(t){return new(t||e)(E(Be),E(sr),E(wr))},e.\u0275dir=q({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,r){1&t&&P("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&t&&fn("target",r.target)("href",r.href,uu)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Lt]}),e})(),b0=(()=>{class e{constructor(t,r,i,o,s,a){this.router=t,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ie,this.routerEventsSubscription=t.events.subscribe(l=>{l instanceof Tr&&this.update()})}ngAfterContentInit(){$(this.links.changes,this.linksWithHrefs.changes,$(null)).pipe(Nr()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const r=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Oe(r).pipe(Nr()).subscribe(i=>{this.isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){const r=function SO(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&t.isActive(i.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return e.\u0275fac=function(t){return new(t||e)(E(Be),E(pe),E(Tn),E(ca),E(Ff,8),E(ll,8))},e.\u0275dir=q({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(t,r,i){if(1&t&&(Vc(i,Ff,5),Vc(i,ll,5)),2&t){let o;Lc(o=jc())&&(r.links=o),Lc(o=jc())&&(r.linksWithHrefs=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Lt]}),e})();class D0{}let IO=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(jn(t=>t instanceof Tr),Yn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){var i,o,s;const a=[];for(const l of r){l.providers&&!l._injector&&(l._injector=na(l.providers,t,`Route: ${l.path}`));const u=null!==(i=l._injector)&&void 0!==i?i:t,d=null!==(o=l._loadedInjector)&&void 0!==o?o:u;l.loadChildren&&!l._loadedRoutes&&void 0===l.canLoad||l.loadComponent&&!l._loadedComponent?a.push(this.preloadConfig(u,l)):(l.children||l._loadedRoutes)&&a.push(this.processRoutes(d,null!==(s=l.children)&&void 0!==s?s:l._loadedRoutes))}return Oe(a).pipe(Nr())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):$(null);const o=i.pipe(Ke(s=>{var a;return null===s?$(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(null!==(a=s.injector)&&void 0!==a?a:t,s.routes))}));return r.loadComponent&&!r._loadedComponent?Oe([o,this.loader.loadComponent(r)]).pipe(Nr()):o})}}return e.\u0275fac=function(t){return new(t||e)(j(Be),j(Wc),j(Jn),j(D0),j(Nf))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Rf=new B("");let w0=(()=>{class e{constructor(t,r,i={}){this.router=t,this.viewportScroller=r,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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 gf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Tr&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof HC&&(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,r){this.router.triggerEvent(new HC(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){Hu()},e.\u0275prov=W({token:e,factory:e.\u0275fac}),e})();function Mi(e,n){return{\u0275kind:e,\u0275providers:n}}function Of(e){return[{provide:Pf,multi:!0,useValue:e}]}function M0(){const e=Fe(Tt);return n=>{var t,r;const i=e.get(la);if(n!==i.components[0])return;const o=e.get(Be),s=e.get(S0);1===e.get(kf)&&o.initialNavigation(),null===(t=e.get(I0,null,U.Optional))||void 0===t||t.setUpPreloading(),null===(r=e.get(Rf,null,U.Optional))||void 0===r||r.init(),o.resetRootComponentType(i.componentTypes[0]),s.next(),s.complete()}}const S0=new B("",{factory:()=>new sn}),kf=new B("",{providedIn:"root",factory:()=>1});const I0=new B("");function NO(e){return Mi(0,[{provide:I0,useExisting:IO},{provide:D0,useExisting:e}])}const A0=new B("ROUTER_FORROOT_GUARD"),FO=[sd,{provide:NC,useClass:uf},{provide:Be,useFactory:_0},qo,{provide:sr,useFactory:function E0(e){return e.routerState.root},deps:[Be]},Nf];function RO(){return new xy("Router",Be)}let T0=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[FO,[],Of(t),{provide:A0,useFactory:LO,deps:[[Be,new qi,new Ji]]},{provide:sl,useValue:r||{}},null!=r&&r.useHash?{provide:wr,useClass:VT}:{provide:wr,useClass:a_},{provide:Rf,useFactory:()=>{const e=Fe(Be),n=Fe(nP),t=Fe(sl);return t.scrollOffset&&n.setOffset(t.scrollOffset),new w0(e,n,t)}},null!=r&&r.preloadingStrategy?NO(r.preloadingStrategy).\u0275providers:[],{provide:xy,multi:!0,useFactory:RO},null!=r&&r.initialNavigation?VO(r):[],[{provide:P0,useFactory:M0},{provide:Ty,multi:!0,useExisting:P0}]]}}static forChild(t){return{ngModule:e,providers:[Of(t)]}}}return e.\u0275fac=function(t){return new(t||e)(j(A0,8))},e.\u0275mod=kt({type:e}),e.\u0275inj=wt({imports:[wf]}),e})();function LO(e){return"guarded"}function VO(e){return["disabled"===e.initialNavigation?Mi(3,[{provide:wo,multi:!0,useFactory:()=>{const n=Fe(Be);return()=>{n.setUpLocationChangeListener()}}},{provide:kf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Mi(2,[{provide:kf,useValue:0},{provide:wo,multi:!0,deps:[Tt],useFactory:n=>{const t=n.get(xT,Promise.resolve());let r=!1;return()=>t.then(()=>new Promise(o=>{const s=n.get(Be),a=n.get(S0);(function i(o){n.get(Be).events.pipe(jn(a=>a instanceof Tr||a instanceof Qa||a instanceof $C),re(a=>a instanceof Tr||a instanceof Qa&&(0===a.code||1===a.code)&&null),jn(a=>null!==a),jo(1)).subscribe(()=>{o()})})(()=>{o(!0),r=!0}),s.afterPreactivation=()=>(o(!0),r||a.closed?$(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const P0=new B("");let Xo=(()=>{class e{constructor(t){this.http=t,this.data={}}load(t){return new Promise(r=>{this.http.get("app.config.json").subscribe({next:i=>{console.log("using server-side configuration"),this.data=Object.assign({},t||{},i||{}),r(this.data)},error:()=>{console.log("using default configuration"),this.data=Object.assign({},t||{}),r(this.data)}})})}}return e.\u0275fac=function(t){return new(t||e)(j(Ro))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),BO=(()=>{class e{constructor(t,r,i){this.router=t,this.http=r,this.config={user:"test",password:"asdf"},this.webservice="",this.title="Planung",this.form={user:"",password:""},this.title=i.data.title,this.webservice=i.data.webservice}ngOnInit(){}checkLogin(){this.http.post(this.webservice+"/login/",{data:this.form}).subscribe(t=>{null==t?window.alert("Falsch!"):(sessionStorage.setItem("user",JSON.stringify(t)),this.router.navigate(["/select"]))})}}return e.\u0275fac=function(t){return new(t||e)(E(Be),E(Ro),E(Xo))},e.\u0275cmp=Te({type:e,selectors:[["app-login"]],decls:59,vars:2,consts:[[1,"blur-bg-images"],[1,"auth-wrapper"],[1,"auth-content","container"],[1,"card"],[1,"row","align-items-center"],[1,"col-md-6"],[1,"card-body"],[1,"mb-4"],[1,"text-c-blue"],[1,"toggle-block"],[1,"position-relative","carousel-indicators","justify-content-start"],[1,""],[1,"active"],[1,"input-group","mb-2"],[1,"input-group-prepend"],[1,"input-group-text"],[1,"feather","icon-user"],["type","email","placeholder","Benutzername",1,"form-control",3,"ngModel","ngModelChange"],[1,"input-group","mb-4"],[1,"feather","icon-lock"],["type","password","placeholder","Passwort",1,"form-control",3,"ngModel","ngModelChange"],[1,"btn","btn-primary","mb-4",3,"click"],[1,"mb-2","text-muted"],["href","reset-password.html",1,"f-w-400"],[1,"toggle-block","collapse"],["type","text","placeholder","Benutzername",1,"form-control"],[1,"feather","icon-mail"],["type","email","placeholder","Emailadresse",1,"form-control"],[1,"input-group","mb-3"],["type","password","placeholder","Passwort",1,"form-control"],["routerLink","/select","routerLinkActive","active"],[1,"btn","btn-primary","mb-4"],[1,"btn","btn-primary","btn-outline-primary","mb-4","toggle-btn"],[1,"col-md-6","d-none","d-md-block"],["src","assets/images/auth/dashboard2.jpg","alt","",1,"img-fluid","bd-placeholder-img","bd-placeholder-img-lg","d-block","w-100"]],template:function(t,r){1&t&&(w(0,"div",0),f(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"h2",7),m(8,"Reisacher "),f(9,"span",8),m(10,"Planner"),h()(),f(11,"p"),m(12,"Bitte loggen Sie sich ein, um auf Planungsversionen und -jahre zuzugreifen."),h(),f(13,"div",9)(14,"ol",10),w(15,"li",11)(16,"li",12),h(),f(17,"div",13)(18,"div",14)(19,"span",15),w(20,"i",16),h()(),f(21,"input",17),P("ngModelChange",function(o){return r.form.user=o}),h()(),f(22,"div",18)(23,"div",14)(24,"span",15),w(25,"i",19),h()(),f(26,"input",20),P("ngModelChange",function(o){return r.form.password=o}),h()(),f(27,"button",21),P("click",function(){return r.checkLogin()}),m(28,"Anmelden"),h(),f(29,"p",22),m(30,"Passwort vergessen? "),f(31,"a",23),m(32,"Hier zur\xfccksetzen"),h()()(),f(33,"div",24)(34,"ol",10),w(35,"li",12)(36,"li",11),h(),f(37,"div",13)(38,"div",14)(39,"span",15),w(40,"i",16),h()(),w(41,"input",25),h(),f(42,"div",13)(43,"div",14)(44,"span",15),w(45,"i",26),h()(),w(46,"input",27),h(),f(47,"div",28)(48,"div",14)(49,"span",15),w(50,"i",19),h()(),w(51,"input",29),h(),f(52,"a",30)(53,"button",31),m(54,"Registrieren"),h()(),f(55,"button",32),m(56,"Vorhandener Benutzer"),h()()()(),f(57,"div",33),w(58,"img",34),h()()()()()),2&t&&(c(21),g("ngModel",r.form.user),c(5),g("ngModel",r.form.password))},dependencies:[_t,Ft,Ct,ll,b0]}),e})();function $O(e,n){if(1&e&&(f(0,"option",23),m(1),h()),2&e){const t=n.$implicit;g("value",t),c(1),T(t)}}function HO(e,n){if(1&e&&(f(0,"option",23),m(1),h()),2&e){const t=n.$implicit;g("value",t),c(1),T(t)}}function UO(e,n){if(1&e&&(f(0,"option",23),m(1),h()),2&e){const t=n.$implicit,r=x();g("value",t),c(1),T(r.timeformat(t))}}let zO=(()=>{class e{constructor(t,r,i){this.http=t,this.router=r,this.config={files:[],service:"/"},this.selected={year:"2021",version:"V1",timestamp:"current"},this.config.service=i.data.webservice}ngOnInit(){this.http.get(this.config.service+"/list").subscribe(t=>{this.config.files=t.list;var r=t.list[t.list.length-1];this.selected.year=r.year,this.selected.version=r.version}),this.user=JSON.parse(sessionStorage.getItem("user"))}onlyUnique(t,r,i){return i.indexOf(t)===r}years(){return this.config.files.map(t=>t.year).filter(this.onlyUnique).sort().reverse()}versions(){return this.config.files.filter(t=>t.year==this.selected.year).map(t=>t.version).filter(this.onlyUnique).sort().reverse()}timestamps(){return this.config.files.filter(t=>t.year==this.selected.year&&t.version==this.selected.version).map(t=>t.timestamp).filter(this.onlyUnique).reverse()}timeformat(t){return t.substring(6,8)+"."+t.substring(4,6)+"."+t.substring(0,4)+" "+t.substring(8,10)+":"+t.substring(10,12)+":"+t.substring(12,14)}redirect(){this.router.navigate(["/planner",this.selected.year,this.selected.version,this.selected.timestamp])}}return e.\u0275fac=function(t){return new(t||e)(E(Ro),E(Be),E(Xo))},e.\u0275cmp=Te({type:e,selectors:[["app-select"]],decls:40,vars:7,consts:[[1,"blur-bg-images"],[1,"auth-wrapper"],[1,"auth-content","container"],[1,"card"],[1,"row","align-items-center"],[1,"col-md-6","d-none","d-md-block"],["src","assets/images/auth/selection.jpg","alt","",1,"img-fluid","bd-placeholder-img","bd-placeholder-img-lg","d-block","w-100"],[1,"col-md-6"],[1,"card-body"],[1,"mb-4"],[1,"text-c-blue"],[1,"form-group","row"],["for","exampleFormControlSelect1",1,"col-sm-3","col-form-label","col-form-label-sm"],[1,"col-sm-9"],["id","exampleFormControlSelect1",1,"form-control",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["for","exampleFormControlSelect2",1,"col-sm-3","col-form-label","col-form-label-sm"],["id","exampleFormControlSelect2",1,"form-control",3,"ngModel","ngModelChange"],["for","exampleFormControlSelect3",1,"col-sm-3","col-form-label","col-form-label-sm"],["id","exampleFormControlSelect3",1,"form-control",3,"ngModel","disabled","ngModelChange"],["value","current"],[1,"btn-toolbar","sw-toolbar","sw-toolbar-bottom","justify-content-end"],[1,"btn","btn-primary","mb-4",3,"click"],[3,"value"]],template:function(t,r){1&t&&(w(0,"div",0),f(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),w(6,"img",6),h(),f(7,"div",7)(8,"div",8)(9,"h2",9),m(10,"Reisacher "),f(11,"span",10),m(12,"Planner"),h()(),f(13,"p"),m(14,"Bitte w\xe4hlen Sie die gew\xfcnschte Version aus:"),h(),f(15,"div",11)(16,"label",12),m(17,"Jahr"),h(),f(18,"div",13)(19,"select",14),P("ngModelChange",function(o){return r.selected.year=o}),J(20,$O,2,2,"option",15),h()()(),f(21,"div",11)(22,"label",16),m(23,"Version"),h(),f(24,"div",13)(25,"select",17),P("ngModelChange",function(o){return r.selected.version=o}),J(26,HO,2,2,"option",15),h()()(),f(27,"div",11)(28,"label",18),m(29,"Stand"),h(),f(30,"div",13)(31,"select",19),P("ngModelChange",function(o){return r.selected.timestamp=o}),f(32,"option",20),m(33,"Aktueller Stand"),h(),J(34,UO,2,2,"option",15),h()()(),f(35,"div",11),m(36,"\xa0"),h(),f(37,"div",21)(38,"button",22),P("click",function(){return r.redirect()}),m(39,"\xd6ffnen"),h()()()()()()()()),2&t&&(c(19),g("ngModel",r.selected.year),c(1),g("ngForOf",r.years()),c(5),g("ngModel",r.selected.version),c(1),g("ngForOf",r.versions()),c(5),g("ngModel",r.selected.timestamp)("disabled",!r.user.write),c(3),g("ngForOf",r.timestamps()))},dependencies:[vd,iC,sC,$a,Ft,Ct]}),e})();function GO(e,n){if(1&e){const t=Nt();f(0,"li",87)(1,"div",63)(2,"input",88),P("change",function(){const o=Pe(t).index,s=x(2);return Ne(s.config.display.previous[o]=!s.config.display.previous[o])}),h(),w(3,"label",89),h(),f(4,"label"),m(5),h()()}if(2&e){const t=n.$implicit,r=n.index,i=x(2);c(2),co("id","switch-2-",r,""),g("ngModel",i.config.display.previous[r]),c(1),co("for","switch-2-",r,""),c(2),T(t)}}function WO(e,n){if(1&e){const t=Nt();f(0,"a",82),P("click",function(){const o=Pe(t).$implicit;return Ne(x(2).setFilter("costcenter",o))}),m(1),h()}if(2&e){const t=n.$implicit;c(1),T(t)}}function qO(e,n){if(1&e){const t=Nt();f(0,"a",82),P("click",function(){return Pe(t),Ne(x(2).setFilter("costcenter",""))}),m(1,"Gesamt"),h()}}function JO(e,n){if(1&e){const t=Nt();f(0,"a",82),P("click",function(){const o=Pe(t).$implicit;return Ne(x(2).setFilter("department",o.id))}),m(1),h()}if(2&e){const t=n.$implicit;ho("level-",t.level,""),c(1),T(t.text)}}function KO(e,n){if(1&e){const t=Nt();f(0,"button",90),P("click",function(){return Pe(t),Ne(x(2).save())}),w(1,"i",91),m(2),h()}if(2&e){const t=x(2);c(2),F("\xa0",t.file.version,"")}}function QO(e,n){if(1&e&&(f(0,"button",92),w(1,"i",93),m(2),h()),2&e){const t=x(2);c(2),F("\xa0",t.file.version,"")}}function ZO(e,n){if(1&e){const t=Nt();f(0,"a",82),P("click",function(){return Pe(t),Ne(x(2).save())}),m(1,"Speichern"),h()}}function YO(e,n){1&e&&w(0,"div",83)}function XO(e,n){1&e&&(f(0,"a",94),m(1,"Export zu MIS"),h())}function ek(e,n){1&e&&w(0,"div",83)}function tk(e,n){1&e&&(f(0,"a",95),m(1,"Kopieren in neue Version"),h())}function nk(e,n){1&e&&w(0,"div",83)}function rk(e,n){if(1&e){const t=Nt();f(0,"ul",56)(1,"li")(2,"div",57)(3,"div",58)(4,"button",59),w(5,"i",60),h(),f(6,"ul",61),J(7,GO,6,4,"li",62),h()()()(),f(8,"li")(9,"div",63)(10,"input",64),P("change",function(){Pe(t);const i=x();return Ne(i.config.display.readonly=!i.config.display.readonly)}),h(),w(11,"label",65),h(),f(12,"label"),m(13,"Nur-Lesen"),h()(),f(14,"li")(15,"div",63)(16,"input",66),P("change",function(){Pe(t);const i=x();return Ne(i.config.display.seasonal=!i.config.display.seasonal)}),h(),w(17,"label",67),h(),f(18,"label"),m(19,"Saison"),h()(),f(20,"li")(21,"div",63)(22,"input",68),P("change",function(){Pe(t);const i=x();return Ne(i.config.display.period13=!i.config.display.period13)}),h(),w(23,"label",69),h(),f(24,"label"),m(25,"Periode 13"),h()(),f(26,"li")(27,"div",57)(28,"div",58)(29,"button",59),w(30,"i",70),m(31),h(),f(32,"div",61),J(33,WO,2,1,"a",71),J(34,qO,2,0,"a",72),h()()()(),f(35,"li")(36,"div",57)(37,"div",58)(38,"button",59),w(39,"i",70),m(40),h(),f(41,"div",61),J(42,JO,2,4,"a",73),h()()()(),f(43,"li")(44,"div",57)(45,"div",74),J(46,KO,3,1,"button",75),J(47,QO,3,1,"button",76),f(48,"button",77)(49,"span",78),m(50,"Toggle Dropdown"),h()(),f(51,"div",79),J(52,ZO,2,0,"a",72),J(53,YO,1,0,"div",80),f(54,"a",81),m(55,"Druckansicht"),h(),f(56,"a",82),P("click",function(){return Pe(t),Ne(x().csvExport())}),m(57,"CSV-Export"),h(),w(58,"div",83),J(59,XO,2,0,"a",84),J(60,ek,1,0,"div",80),J(61,tk,2,0,"a",85),J(62,nk,1,0,"div",80),f(63,"a",86),m(64,"Versionsauswahl"),h(),w(65,"div",83),f(66,"a",82),P("click",function(){return Pe(t),Ne(x().logout())}),m(67),h()()()()()()}if(2&e){const t=x();c(7),g("ngForOf",t.config.previous),c(3),g("disabled",t.getDepartmentById(t.filter.department).children.length>0||!t.user.write)("ngModel",t.config.display.readonly),c(6),g("ngModel",t.config.display.seasonal),c(6),g("ngModel",t.config.display.period13),c(9),F(" Bereich: ",t.filter.costcenter,""),c(2),g("ngForOf",t.config.filter.costcenter),c(1),g("ngIf",0==t.user.costcenter.length),c(6),F(" Betrieb: ",t.getDepartmentById(t.filter.department).text,""),c(2),g("ngForOf",t.config.filter.department),c(4),g("ngIf",t.user.write),c(1),g("ngIf",!t.user.write),c(5),g("ngIf",t.user.write),c(1),g("ngIf",t.user.write),c(6),g("ngIf",t.user.admin),c(1),g("ngIf",t.user.admin),c(1),g("ngIf",t.user.admin),c(1),g("ngIf",t.user.admin),c(5),F("",t.user.username," abmelden")}}const ik=function(e,n){return{"icon-chevrons-right":e,"icon-chevrons-down":n}};function ok(e,n){if(1&e){const t=Nt();f(0,"th",120)(1,"i",121),P("click",function(){Pe(t);const i=x(2).$implicit;return Ne(i.drilldown=!i.drilldown)}),h(),m(2),h()}if(2&e){const t=x(2).$implicit;c(1),g("ngClass",_o(2,ik,!t.drilldown,t.drilldown)),c(1),F(" \xa0\xa0 ",t.text," ")}}function sk(e,n){if(1&e&&(f(0,"th",120),w(1,"i",122),m(2),h()),2&e){const t=x(2).$implicit;c(2),F(" \xa0\xa0 ",t.text," ")}}function ak(e,n){1&e&&(f(0,"span"),m(1,"+"),h())}function lk(e,n){if(1&e&&w(0,"app-seasonal-c",123),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function uk(e,n){if(1&e&&w(0,"app-seasonal-d",124),2&e){const t=x(2).$implicit,r=x(2);g("value",r.sumchildren(t,r.values.Plan_berechnet))("s",t)("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}const ck=function(e){return{"level-0":e}};function dk(e,n){if(1&e&&(f(0,"tr",107),J(1,ok,3,5,"th",108),J(2,sk,3,1,"th",108),f(3,"td",109)(4,"span",99),m(5),C(6,"number"),h()(),f(7,"td",109),m(8),C(9,"number"),h(),f(10,"td",110),m(11),C(12,"number"),h(),f(13,"td",109)(14,"span",99),m(15),C(16,"number"),h()(),f(17,"td",109),m(18),C(19,"number"),h(),f(20,"td",110),m(21),C(22,"number"),h(),f(23,"td",109)(24,"span",99),m(25),C(26,"number"),h()(),f(27,"td",109),m(28),C(29,"number"),h(),f(30,"td",110),m(31),C(32,"number"),h(),f(33,"td",109)(34,"span",99),m(35),C(36,"number"),h()(),f(37,"td",111),m(38),C(39,"number"),h(),f(40,"td",110),m(41),C(42,"number"),h(),f(43,"td",109)(44,"span",99),m(45),C(46,"number"),h()(),f(47,"td",109),m(48),C(49,"number"),h(),f(50,"td",110),m(51),C(52,"number"),h(),w(53,"td"),f(54,"td",109),m(55),C(56,"number"),h(),w(57,"td",109)(58,"td",112)(59,"td",112),f(60,"td",113),m(61),C(62,"number"),h(),f(63,"td",114),m(64),C(65,"number"),h(),f(66,"td",114),J(67,ak,2,0,"span",115),m(68),C(69,"number"),h(),J(70,lk,1,3,"app-seasonal-c",116),J(71,uk,1,4,"app-seasonal-d",117),f(72,"td",118),m(73),C(74,"number"),h(),w(75,"td",119),f(76,"td",118),m(77),C(78,"number"),h(),w(79,"td",119),h()),2&e){const t=x().$implicit,r=x(2);ho("table-active level-",t.level,""),g("hidden",!r.showsub(t)||"ZS2"==r.form(t)&&""!=r.filter.costcenter)("ngClass",Kv(120,ck,"ZS"==r.form(t))),c(1),g("ngIf","S"==r.form(t)),c(1),g("ngIf","S"!=r.form(t)),c(1),g("hidden",!r.config.display.previous[0]),c(1),g("hidden",!r.showquantity(t)),c(1),T(b(6,57,t.sumvalues[r.values.VJ_Stk],"1.0-0")),c(2),g("hidden",!r.config.display.previous[0]),c(1),T(b(9,60,t.sumvalues[r.values.VJ_Wert],"1.0-0")),c(2),g("hidden",!r.config.display.previous[0]),c(1),T(b(12,63,r.sumpercent(t,r.values.VJ_Wert),"1.1-1")),c(2),g("hidden",!r.config.display.previous[1]),c(1),g("hidden",!r.showquantity(t)),c(1),T(b(16,66,t.sumvalues[r.values.Plan_VJ_Stk],"1.0-0")),c(2),g("hidden",!r.config.display.previous[1]),c(1),T(b(19,69,t.sumvalues[r.values.Plan_VJ_Wert],"1.0-0")),c(2),g("hidden",!r.config.display.previous[1]),c(1),T(b(22,72,r.sumpercent(t,r.values.Plan_VJ_Wert),"1.1-1")),c(2),g("hidden",!r.config.display.previous[2]),c(1),g("hidden",!r.showquantity(t)),c(1),T(b(26,75,t.sumvalues[r.values.AJ_Okt_Stk],"1.0-0")),c(2),g("hidden",!r.config.display.previous[2]),c(1),T(b(29,78,t.sumvalues[r.values.AJ_Okt_Wert],"1.0-0")),c(2),g("hidden",!r.config.display.previous[2]),c(1),T(b(32,81,r.sumpercent(t,r.values.AJ_Okt_Wert),"1.1-1")),c(2),g("hidden",!r.config.display.previous[3]),c(1),g("hidden",!r.showquantity(t)),c(1),T(b(36,84,t.sumvalues[r.values.FC_Stk],"1.0-0")),c(2),g("hidden",!r.config.display.previous[3]),c(1),T(b(39,87,t.sumvalues[r.values.FC_Wert],"1.0-0")),c(2),g("hidden",!r.config.display.previous[3]),c(1),T(b(42,90,r.sumpercent(t,r.values.FC_Wert),"1.1-1")),c(2),g("hidden",!r.config.display.previous[4]),c(1),g("hidden",!r.showquantity(t)),c(1),T(b(46,93,t.sumvalues[r.values.AJ_kompl_Stk],"1.0-0")),c(2),g("hidden",!r.config.display.previous[4]),c(1),T(b(49,96,t.sumvalues[r.values.AJ_kompl_Wert],"1.0-0")),c(2),g("hidden",!r.config.display.previous[4]),c(1),T(b(52,99,r.sumpercent(t,r.values.AJ_kompl_Wert),"1.1-1")),c(3),g("hidden",!r.showquantity(t)),c(1),T(b(56,102,r.sumchildren(t,r.values.Plan_Stk),"1.0-0")),c(2),g("hidden",r.showquantity(t)),c(4),T(b(62,105,r.sumchildren(t,r.values.Plan_berechnet),"1.0-0")),c(3),T(b(65,108,r.sumchildren(t,r.values.Plan_berechnet)/r.sumchildren(r.getbasis(t),r.values.Plan_berechnet)*100,"1.1-1")),c(3),g("ngIf",r.sumchildren(t,r.values.Plan_berechnet)>t.sumvalues[r.values.FC_Wert]),c(1),T(b(69,111,100*r.sumchildren(t,r.values.Plan_berechnet)/t.sumvalues[r.values.FC_Wert]-100,"1.1-1")),c(2),g("ngIf",!r.isbasis(t)),c(1),g("ngIf",r.isbasis(t)),c(1),g("hidden",!r.config.display.period13),c(1),T(b(74,114,r.sumchildren(t,r.values.Periode13),"1.0-0")),c(2),g("hidden",!r.config.display.period13),c(1),g("hidden",!r.config.display.period13),c(1),T(b(78,117,r.sumchildren(t,r.values.Plan_berechnet)+r.sumchildren(t,r.values.Periode13),"1.0-0")),c(2),g("hidden",!r.config.display.period13)}}function fk(e,n){1&e&&(f(0,"span"),m(1,"+"),h())}function hk(e,n){if(1&e&&w(0,"app-seasonal-s",129),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function pk(e,n){if(1&e&&w(0,"app-seasonal-m",129),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function gk(e,n){if(1&e&&w(0,"app-seasonal-q",129),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function mk(e,n){if(1&e&&w(0,"app-seasonal-p",123),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}const dl=function(){return["2","3"]},N0=function(){return["3","5","7"]};function vk(e,n){if(1&e&&(f(0,"tr",99),w(1,"app-row-header",125),f(2,"td",109),m(3),C(4,"number"),h(),w(5,"td",109),f(6,"td",109),m(7),C(8,"number"),h(),w(9,"td",109),f(10,"td",109),m(11),C(12,"number"),h(),w(13,"td",109),f(14,"td",112),m(15),C(16,"number"),h(),f(17,"td",126),m(18),C(19,"number"),h(),f(20,"td",127),m(21),C(22,"number"),h(),f(23,"td",114),J(24,fk,2,0,"span",115),m(25),C(26,"number"),h(),J(27,hk,1,4,"app-seasonal-s",128),J(28,pk,1,4,"app-seasonal-m",128),J(29,gk,1,4,"app-seasonal-q",128),J(30,mk,1,3,"app-seasonal-p",116),f(31,"td",118),m(32),C(33,"number"),h(),w(34,"td",119),f(35,"td",118),m(36),C(37,"number"),h(),w(38,"td",119),h()),2&e){const t=x().$implicit,r=x(2);Cc("level-",t.level," form-no",t.form," ",r.formstyle(t),""),g("hidden",!r.showsub(t)),c(1),g("s",t)("basis",r.basisValue)("formchange",r.config.display.formchange)("filter",r.filter)("display",r.config.display),c(1),g("hidden",!Rn(62,dl).includes(t.form)),c(1),T(b(4,35,t.values[r.values.Plan_Stk],"1.0-0")),c(2),g("hidden",Rn(63,dl).includes(t.form)),c(1),g("hidden",!Rn(64,dl).includes(t.form)),c(1),T(b(8,38,t.values[r.values.VAK],"1.0-0")),c(2),g("hidden",Rn(65,dl).includes(t.form)),c(1),g("hidden",!Rn(66,N0).includes(t.form)),c(1),T(b(12,41,t.values[r.values.BE_Proz],"1.1-1")),c(2),g("hidden",Rn(67,N0).includes(t.form)),c(2),T(b(16,44,t.values[r.values.Plan_berechnet],"1.0-0")),c(3),T(b(19,47,t.values[r.values.Plan_berechnet]/r.sumchildren(r.getbasis(t),r.values.Plan_berechnet)*100,"1.3-3")),c(3),T(b(22,50,t.values[r.values.Plan_Proz_FC],"1.3-3")),c(3),g("ngIf",t.values[r.values.Plan_berechnet]>t.values[r.values.FC_Wert]),c(1),T(b(26,53,100*t.values[r.values.Plan_berechnet]/t.values[r.values.FC_Wert]-100,"1.1-1")),c(2),g("ngIf","S"==r.seasonal(t)),c(1),g("ngIf","M"==r.seasonal(t)),c(1),g("ngIf","Q"==r.seasonal(t)),c(1),g("ngIf",!1),c(1),g("hidden",!r.config.display.period13),c(1),T(b(33,56,t.values[r.values.Periode13],"1.0-0")),c(2),g("hidden",!r.config.display.period13),c(1),g("hidden",!r.config.display.period13),c(1),T(b(37,59,t.values[r.values.Plan_berechnet]+t.values[r.values.Periode13],"1.0-0")),c(2),g("hidden",!r.config.display.period13)}}function yk(e,n){if(1&e&&w(0,"app-form-no1",137),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("filter",r.filter)("value",r.sumchildren(r.getbasis(t),r.values.Plan_berechnet))}}function _k(e,n){1&e&&w(0,"app-form-no2",138),2&e&&g("s",x(2).$implicit)}function Ck(e,n){1&e&&w(0,"app-form-no3",138),2&e&&g("s",x(2).$implicit)}function bk(e,n){if(1&e&&w(0,"app-form-no4",139),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("linked",r.getlink(t))}}function Dk(e,n){1&e&&w(0,"app-form-no5",138),2&e&&g("s",x(2).$implicit)}function wk(e,n){if(1&e&&w(0,"app-form-no6",139),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("linked",r.getlink(t))}}function Ek(e,n){if(1&e&&w(0,"app-form-no7",140),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("linked",r.getlink(t))("value",r.sumchildren(r.getlink(t),r.values.Plan_berechnet))("factor",r.getfactor(t))}}function Mk(e,n){1&e&&(f(0,"span"),m(1,"+"),h())}function Sk(e,n){if(1&e&&w(0,"app-seasonal-s",129),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function Ik(e,n){if(1&e&&w(0,"app-seasonal-m",129),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function Ak(e,n){if(1&e&&w(0,"app-seasonal-q",129),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("basis",r.getbasis(t))("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function Tk(e,n){if(1&e&&w(0,"app-seasonal-p",123),2&e){const t=x(2).$implicit,r=x(2);g("s",t)("seasonal",r.config.seasonal)("display",r.config.display.seasonal)}}function Pk(e,n){if(1&e){const t=Nt();f(0,"tr",99),w(1,"app-row-header",125),J(2,yk,1,3,"app-form-no1",130),J(3,_k,1,1,"app-form-no2",131),J(4,Ck,1,1,"app-form-no3",131),J(5,bk,1,2,"app-form-no4",132),J(6,Dk,1,1,"app-form-no5",131),J(7,wk,1,2,"app-form-no6",132),J(8,Ek,1,4,"app-form-no7",133),f(9,"td",126),m(10),C(11,"number"),h(),f(12,"td",134)(13,"input",135),P("ngModelChange",function(i){Pe(t);const o=x().$implicit,s=x(2);return Ne(o.values[s.values.Plan_Proz_FC]=i)}),h()(),f(14,"td",114),J(15,Mk,2,0,"span",115),m(16),C(17,"number"),h(),J(18,Sk,1,4,"app-seasonal-s",128),J(19,Ik,1,4,"app-seasonal-m",128),J(20,Ak,1,4,"app-seasonal-q",128),J(21,Tk,1,3,"app-seasonal-p",116),f(22,"td",118)(23,"input",136),P("ngModelChange",function(i){Pe(t);const o=x().$implicit,s=x(2);return Ne(o.values[s.values.Periode13]=i)}),h()(),w(24,"td",119),f(25,"td",118),m(26),C(27,"number"),h(),w(28,"td",119),h()}if(2&e){const t=x().$implicit,r=x(2);Cc("level-",t.level," form-no",t.form," ",r.formstyle(t),""),g("hidden",!r.showsub(t)),c(1),g("s",t)("basis",r.basisValue)("formchange",r.config.display.formchange)("filter",r.filter)("display",r.config.display),c(1),g("ngIf","1"==t.form),c(1),g("ngIf","2"==t.form),c(1),g("ngIf","3"==t.form),c(1),g("ngIf","4"==t.form),c(1),g("ngIf","5"==t.form),c(1),g("ngIf","6"==t.form),c(1),g("ngIf","7"==t.form),c(2),T(b(11,32,t.values[r.values.Plan_berechnet]/r.sumchildren(r.getbasis(t),r.values.Plan_berechnet)*100,"1.3-3")),c(3),g("ngModel",t.values[r.values.Plan_Proz_FC]),c(2),g("ngIf",r.getvalue3(t)>r.sumchildren(t,r.values.FC_Wert)),c(1),T(b(17,35,100*r.getvalue3(t)/r.sumchildren(t,r.values.FC_Wert)-100,"1.1-1")),c(2),g("ngIf","S"==r.seasonal(t)),c(1),g("ngIf","M"==r.seasonal(t)),c(1),g("ngIf","Q"==r.seasonal(t)),c(1),g("ngIf",!1),c(1),g("hidden",!r.config.display.period13),c(1),g("ngModel",t.values[r.values.Periode13]),c(1),g("hidden",!r.config.display.period13),c(1),g("hidden",!r.config.display.period13),c(1),T(b(27,38,t.values[r.values.Plan_berechnet]+t.values[r.values.Periode13],"1.0-0")),c(2),g("hidden",!r.config.display.period13)}}function Nk(e,n){if(1&e&&(f(0,"tbody"),J(1,dk,80,122,"tr",105),J(2,vk,39,68,"tr",106),J(3,Pk,29,41,"tr",106),h()),2&e){const t=n.$implicit,r=x(2);c(1),g("ngIf","SUM"==r.rowform(t)),c(1),g("ngIf","VIEW"==r.rowform(t)),c(1),g("ngIf","EDIT"==r.rowform(t))}}function Fk(e,n){if(1&e&&(f(0,"div",34)(1,"div",96)(2,"div",97)(3,"table",98)(4,"thead")(5,"tr")(6,"th"),m(7,"Struktureintrag"),h(),f(8,"th",99),m(9),w(10,"br"),m(11,"Stk"),h(),f(12,"th",99),m(13),h(),f(14,"th",99),m(15,"%"),h(),f(16,"th",99),m(17),w(18,"br"),m(19,"Stk"),h(),f(20,"th",99),m(21),h(),f(22,"th",99),m(23,"%"),h(),f(24,"th",99),m(25),w(26,"br"),m(27,"Stk"),h(),f(28,"th",99),m(29),h(),f(30,"th",99),m(31,"%"),h(),f(32,"th",99),m(33),w(34,"br"),m(35,"Stk"),h(),f(36,"th",100),m(37),h(),f(38,"th",99),m(39,"%"),h(),f(40,"th",99),m(41),w(42,"br"),m(43,"Stk"),h(),f(44,"th",99),m(45),h(),f(46,"th",99),m(47,"%"),h(),f(48,"th"),m(49," Zeile/Konto"),w(50,"br"),m(51," Abs/Proz."),w(52,"br"),m(53," Saisonal "),h(),f(54,"th"),m(55,"St\xfcck"),h(),f(56,"th"),m(57,"VAK/Stk"),h(),f(58,"th"),m(59,"BE in %"),h(),f(60,"th",101),m(61),h(),f(62,"th"),m(63,"%"),h(),f(64,"th"),m(65,"Abw. FC %"),h(),f(66,"th",102),m(67),h(),f(68,"th",102),m(69,"%"),h(),f(70,"th",102),m(71),h(),f(72,"th",102),m(73,"%"),h(),f(74,"th",102),m(75),h(),f(76,"th",102),m(77,"%"),h(),f(78,"th",102),m(79),h(),f(80,"th",102),m(81,"%"),h(),f(82,"th",102),m(83),h(),f(84,"th",102),m(85,"%"),h(),f(86,"th",102),m(87),h(),f(88,"th",102),m(89,"%"),h(),f(90,"th",102),m(91),h(),f(92,"th",102),m(93,"%"),h(),f(94,"th",102),m(95),h(),f(96,"th",102),m(97,"%"),h(),f(98,"th",102),m(99),h(),f(100,"th",102),m(101,"%"),h(),f(102,"th",102),m(103),h(),f(104,"th",102),m(105,"%"),h(),f(106,"th",102),m(107),h(),f(108,"th",102),m(109,"%"),h(),f(110,"th",102),m(111),h(),f(112,"th",102),m(113,"%"),h(),f(114,"th",103),m(115,"Periode 13"),h(),f(116,"th",103),m(117,"%"),h(),f(118,"th",103),m(119),h(),f(120,"th",103),m(121,"%"),h()()(),J(122,Nk,4,3,"tbody",104),h()()()()),2&e){const t=x();c(8),g("hidden",!t.config.display.previous[0]),c(1),F("",t.config.previous[0]," "),c(3),g("hidden",!t.config.display.previous[0]),c(1),T(t.config.previous[0]),c(1),g("hidden",!t.config.display.previous[0]),c(2),g("hidden",!t.config.display.previous[1]),c(1),F("",t.config.previous[1]," "),c(3),g("hidden",!t.config.display.previous[1]),c(1),T(t.config.previous[1]),c(1),g("hidden",!t.config.display.previous[1]),c(2),g("hidden",!t.config.display.previous[2]),c(1),F("",t.config.previous[2]," "),c(3),g("hidden",!t.config.display.previous[2]),c(1),T(t.config.previous[2]),c(1),g("hidden",!t.config.display.previous[2]),c(2),g("hidden",!t.config.display.previous[3]),c(1),F("",t.config.previous[3]," "),c(3),g("hidden",!t.config.display.previous[3]),c(1),T(t.config.previous[3]),c(1),g("hidden",!t.config.display.previous[3]),c(2),g("hidden",!t.config.display.previous[4]),c(1),F("",t.config.previous[4]," "),c(3),g("hidden",!t.config.display.previous[4]),c(1),T(t.config.previous[4]),c(1),g("hidden",!t.config.display.previous[4]),c(15),F("Plan ",t.config.year.plan,""),c(5),g("hidden",!t.config.display.seasonal),c(1),F("01/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("02/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("03/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("04/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("05/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("06/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("07/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("08/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("09/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("10/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("11/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.seasonal),c(1),F("12/",t.config.year.plan,""),c(1),g("hidden",!t.config.display.seasonal),c(2),g("hidden",!t.config.display.period13),c(2),g("hidden",!t.config.display.period13),c(2),g("hidden",!t.config.display.period13),c(1),F("",t.config.year.plan," inkl. Per.13"),c(1),g("hidden",!t.config.display.period13),c(2),g("ngForOf",t.structure)}}var N=(()=>{return(e=N||(N={}))[e.Plan_berechnet=0]="Plan_berechnet",e[e.Januar=1]="Januar",e[e.Februar=2]="Februar",e[e.Maerz=3]="Maerz",e[e.April=4]="April",e[e.Mai=5]="Mai",e[e.Juni=6]="Juni",e[e.Juli=7]="Juli",e[e.August=8]="August",e[e.September=9]="September",e[e.Oktober=10]="Oktober",e[e.November=11]="November",e[e.Dezember=12]="Dezember",e[e.Periode13=13]="Periode13",e[e.Plan_Wert=14]="Plan_Wert",e[e.Plan_Proz_FC=15]="Plan_Proz_FC",e[e.Plan_Stk=16]="Plan_Stk",e[e.VAK=17]="VAK",e[e.BE_Proz=18]="BE_Proz",e[e.frei19=19]="frei19",e[e.VJ_Wert=20]="VJ_Wert",e[e.VJ_Stk=21]="VJ_Stk",e[e.AJ_kompl_Wert=22]="AJ_kompl_Wert",e[e.AJ_kompl_Stk=23]="AJ_kompl_Stk",e[e.AJ_Okt_Wert=24]="AJ_Okt_Wert",e[e.AJ_Okt_Stk=25]="AJ_Okt_Stk",e[e.FC_Wert=26]="FC_Wert",e[e.FC_Stk=27]="FC_Stk",e[e.Plan_VJ_Wert=28]="Plan_VJ_Wert",e[e.Plan_VJ_Stk=29]="Plan_VJ_Stk",N;var e})();let xf=(()=>{class e{constructor(t,r,i,o){this.http=t,this.route=r,this.router=i,this.values=N,this.quantityValues=[N.VJ_Stk,N.Plan_VJ_Stk,N.AJ_Okt_Stk,N.FC_Stk,N.AJ_kompl_Stk],this.fixedSumValues=[N.VJ_Wert,N.Plan_VJ_Wert,N.AJ_Okt_Wert,N.FC_Wert,N.AJ_kompl_Wert,N.VJ_Stk,N.Plan_VJ_Stk,N.AJ_Okt_Stk,N.FC_Stk,N.AJ_kompl_Stk],this.varSumValues=[N.Plan_Stk,N.Plan_berechnet,N.Januar,N.Februar,N.Maerz,N.April,N.Mai,N.Juni,N.Juli,N.August,N.September,N.Oktober,N.November,N.Dezember,N.Periode13],this.filter={department:"10",costcenter:"NA"},this.structureIds={},this.title=o.data.title,this.webservice=o.data.webservice}sumchildren(t,r,i=!1){var o=[];return void 0!==t.children&&(o=t.children.concat(t.children2).filter(a=>this.isCurrentCostcenter(a)).map(a=>this.sumchildren(this.getStructureById(a),r,a.startsWith("-")))),o.push(t.values[r]),i?-1*this.sum(o):this.sum(o)}sumpercent(t,r){return void 0===this.basisValue?0:100*t.sumvalues[r]/this.basisValue.sumvalues[r]}setSumFromChildren(t,r){var i=this.getStructureById(t);if(void 0===i)return Array(30).fill(0);var s=i.children.concat(i.children2).filter(a=>this.isCurrentCostcenter(a)).map(a=>this.setSumFromChildren(a,r));return r.forEach(a=>{i.sumvalues[a]=this.sum(s.map(l=>l[a])),0==i.sumvalues[a]&&(i.sumvalues[a]=i.values[a])}),t.startsWith("-")?this.negative(i.sumvalues):i.sumvalues}sum(t){return t.reduce((r,i)=>r+i,0)}negative(t){return t.map(r=>-1*r)}getvalue3(t){switch(t.form){case"2":return t.values[N.Plan_berechnet]=t.values[N.Plan_Stk]*t.values[N.VAK],t.values[N.Plan_berechnet];case"3":return t.values[N.Plan_berechnet]=t.values[N.Plan_Stk]*t.values[N.VAK]/((100-t.values[N.BE_Proz])/100),t.values[N.Plan_berechnet];case"4":return void 0===(r=this.getlink(t))?0:(t.values[N.Plan_berechnet]=r.values[N.Plan_Stk]*r.values[N.VAK],t.values[N.Plan_berechnet]);case"6":return void 0===(r=this.getlink(t))?0:(t.values[N.Plan_berechnet]=r.values[N.Plan_Wert]*(100-r.values[N.BE_Proz])/100,t.values[N.Plan_berechnet]);case"7":var r;if(void 0===(r=this.getlink(t)))return 0;var i=this.sumchildren(r,N.Plan_Wert);t.id in r.children&&(i-=t.values[N.Plan_Wert]);var o=this.getfactor(t);return t.values[N.Plan_berechnet]=o*i*t.values[N.BE_Proz]/100,t.values[N.Plan_berechnet];default:return t.values[N.Plan_berechnet]=t.values[N.Plan_Wert],t.values[N.Plan_berechnet]}}setFormForChildren(t,r){var i=this.getStructureById(t);void 0!==i&&(""==i.form&&(i.form=r),i.children.forEach(o=>this.setFormForChildren(o,i.form)))}isCurrentCostcenter(t){var r=this.getStructureById(t);return void 0!==r&&(""==this.filter.costcenter||""==r.costcenter||r.costcenter==this.filter.costcenter)}setCostcenterFromChildren(t){var r=this.getStructureById(t);if(void 0!==r){if(r.children.length>0){var i=r.children.map(s=>this.setCostcenterFromChildren(s)),o=Array.from(new Set(i));r.costcenter=1==o.length?o.pop():""}return r.costcenter}}hasCostcenter(t,r){var i=this.getStructureById(t);return void 0!==i&&(i.costcenter==r||i.children.length>0&&i.children.filter(s=>this.hasCostcenter(s,r)).length>0)}setFilter(t,r){this.filter[t]=r,this.changeDepartment()}defaultSeasonal(t){for(var r=N.Januar;r<=N.Dezember;r++)t.values[r]=8.3333}isConsolidated(t){return this.getDepartmentById(t).children.length>0}getfactor(t){return t.id.startsWith(this.config.salesbasis)?1:-1}isbasis(t){return t.parents[0]==this.config.basisid}getbasis(t){return t.parents[0]in this.config.withcostcenter&&this.seasonValues.hasOwnProperty(t.text)?this.seasonValues[t.text]:this.basisValue}getlink(t){var r=void 0;return t.id.startsWith(this.config.saleslink)&&(r=this.getStructureById(this.config.salesbasis+t.id.substring(this.config.saleslink.length))),"7"==t.form&&(r=this.getStructureById(t.parents[0])),void 0!==r?r:{text:"",id:"",children:[],children2:[],parents:[],accounts:[],costcenter:"",level:"1",drilldown:!1,form:"1",values:[],values2:{},options:{},sumvalues:[]}}getStructureById(t){return t.startsWith("-")?this.structureIds[t.substring(1)]:this.structureIds[t]}getDepartmentById(t){return this.config.filter.department.find(r=>r.id==t)}form(t){return"?"==t.form||t.id==this.config.root?"?":"1"==t.level&&t.children2.length>0?t.id.startsWith("DB")||""==this.filter.costcenter?"ZS":"ZS2":""==this.filter.costcenter||this.hasCostcenter(t.id,this.filter.costcenter)?0==t.accounts.length?"S":this.accountlevel(!1)+this.absolute(t.options[this.filter.department].absolute)+this.seasonal(t):"?"}rowform(t){return"?"==this.form(t)?"?":t.options[this.filter.department].planlevel?this.config.display.readonly||"2"==t.options[this.filter.department].status?"VIEW":"EDIT":t.accounts.length>0?"VIEW":"SUM"}formstyle(t){return"form-"+this.accountlevel(!1)+" form-"+this.absolute(t.options[this.filter.department].absolute)+" form-"+this.seasonal(t)}accountform(t){return"blank"}accountlevel(t){return t?"K":"Z"}absolute(t){return t?"A":"P"}seasonal(t){return t.options[this.filter.department].seasonal?"S":["2","3"].includes(t.form)?"Q":"M"}showsub(t){return 0==t.parents.length||t.parents.map(r=>this.structure.find(i=>i.id==r)).every(r=>void 0===r||r.drilldown)}showquantity(t){return t.id.startsWith(this.config.salesbasis)}toggle(t){"readonly"==t&&0==this.getDepartmentById(this.filter.department).children.length&&(this.config.display.readonly=!this.config.display.readonly)}changeDepartment(){this.isConsolidated(this.filter.department)?this.calculateConsolidatedDepartment():this.structure.forEach(t=>{this.filter.department in t.values2||(t.values2[this.filter.department]=Array(30).fill(0)),t.values=t.values2[this.filter.department]}),this.setSumFromChildren(this.config.root,this.fixedSumValues),void 0!==this.basisValue&&(this.defaultSeasonal(this.basisValue),this.basisValue.children.map(t=>this.getStructureById(t)).forEach(t=>{t.values[N.Januar]<=0&&this.defaultSeasonal(t),this.seasonValues[t.text]=t}))}calculateConsolidatedDepartment(){this.structure.forEach(t=>{this.config.display.readonly=!0,t.values=Array(30).fill(0);var r=0;t.options[this.filter.department].status="2",this.getDepartmentById(this.filter.department).children.forEach(i=>{i in t.values2&&(r+=1,t.values2[i].forEach((o,s)=>t.values[s]+=o),t.values[N.frei19]+=t.values2[i][N.Plan_Stk]*t.values2[i][N.VAK],t.options[i].status<t.options[this.filter.department].status&&(t.options[this.filter.department].status=t.options[i].status))}),"3"==t.form&&(t.values[N.BE_Proz]=100*(t.values[N.Plan_berechnet]-t.values[N.frei19])/t.values[N.Plan_berechnet],t.values[N.VAK]=t.values[N.frei19]/t.values[N.Plan_Stk]),"2"==t.form&&(t.values[N.VAK]=t.values[N.Plan_berechnet]/t.values[N.Plan_Stk]),"7"==t.form&&(t.values[N.BE_Proz]=t.values[N.BE_Proz]/r)})}ngOnInit(){this.file={year:this.route.snapshot.paramMap.get("year"),version:this.route.snapshot.paramMap.get("version"),timestamp:this.route.snapshot.paramMap.get("timestamp")},this.user=JSON.parse(sessionStorage.getItem("user")),(null==this.user||null==this.user.lastname)&&this.logout(),this.seasonValues={},this.http.get(this.webservice+"/config").subscribe(t=>{this.config=t.config,this.user.department.length>0&&(this.config.filter.department=this.config.filter.department.filter(r=>this.user.department.includes(r.id)),this.filter.department=this.config.filter.department[0].id),this.user.costcenter.length>0&&(this.config.filter.costcenter=this.config.filter.costcenter.filter(r=>this.user.costcenter.includes(r)),this.filter.costcenter=this.config.filter.costcenter[0]),this.user.write||(this.config.display.readonly=!0),this.load(this.file)})}mapaccounts(){this.structure.forEach(t=>{this.structureIds[t.id]=t}),this.basisValue=this.getStructureById(this.config.basisid),this.setFormForChildren(this.config.root,"1"),Object.keys(this.config.specials).forEach(t=>this.getStructureById(t).children2=this.config.specials[t]),this.setCostcenterFromChildren(this.config.root)}load(t){this.http.get(this.webservice+"/load/"+t.year+"/"+t.version+"/"+t.timestamp).subscribe(r=>{this.structure=r,this.mapaccounts(),this.changeDepartment()})}save(){this.http.post(this.webservice+"/save/"+this.file.year+"/"+this.file.version,{data:this.structure}).subscribe(t=>{})}csvExport(){this.http.get(this.webservice+"/export/"+this.file.year+"/"+this.file.version+"/"+this.file.timestamp).subscribe(t=>{this.downloadFile(t,this.file.year+"_"+this.file.version+".csv")})}logout(){sessionStorage.clear(),this.router.navigate(["/login"])}versionSelect(){this.router.navigate(["/select"])}downloadFile(t,r="data"){var i=new Blob(["\ufeff"+t],{type:"text/csv;charset=utf-8;"}),o=URL.createObjectURL(i),s=document.createElement("a");-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")&&s.setAttribute("target","_blank"),s.setAttribute("href",o),s.setAttribute("download",r+".csv"),s.style.visibility="hidden",document.body.appendChild(s),s.click(),document.body.removeChild(s)}}return e.\u0275fac=function(t){return new(t||e)(E(Ro),E(sr),E(Be),E(Xo))},e.\u0275cmp=Te({type:e,selectors:[["app-planung"]],decls:131,vars:3,consts:[[1,"navbar","pcoded-header","navbar-expand-lg","header-dark","headerpos-fixed"],[1,"m-header"],["id","mobile-collapse1","href","#!",1,"mobile-menu"],["href","index.html",1,"b-brand"],[1,"b-bg"],[1,"b-title"],["id","mobile-header","href","#!",1,"mobile-menu"],[1,"feather","icon-more-horizontal"],[1,"collapse","navbar-collapse"],["href","#!",1,"mob-toggler"],[1,"navbar-nav","mr-auto"],[1,"page-header"],[1,"page-block"],[1,"row","align-items-left"],[1,"col-md-2"],[1,"page-header-title"],["src","assets/images/BMW-Autohaus.png","height","40"],["class","navbar-nav ml-auto",4,"ngIf"],["role","alert","aria-live","assertive","data-delay","5000","aria-atomic","true",1,"toast","toast-5s","fade","hide"],[1,"toast-header"],["src","../assets/images/favicon.ico","alt","",1,"img-fluid","m-r-5",2,"width","20px"],[1,"mr-auto"],[1,"text-muted"],["type","button","data-dismiss","toast","aria-label","Close",1,"m-l-5","mb-1","mt-1","close"],[1,"toast-body"],["class","row",4,"ngIf"],["id","print","tabindex","-1","role","dialog",1,"modal"],["role","document",1,"modal-dialog","modal-lg"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-dismiss","modal","aria-label","Close",1,"close"],["aria-hidden","true"],[1,"modal-body"],[1,"row"],[1,"col-lg-4","col-sm-6"],[1,"thumbnail","mb-4"],[1,"thumb"],["href",""],["src","assets/images/reports/1.1.1 Umsatz - DB 3 gesamt Vormonat.gif","alt","",1,"img-fluid","img-thumbnail"],["src","assets/images/reports/1.1.2 Umsatz - DB 3 gesamt aktuell.gif","alt","",1,"img-fluid","img-thumbnail"],["src","assets/images/reports/1.1.3 Ergebnis Vormonat.gif","alt","",1,"img-fluid","img-thumbnail"],["src","assets/images/reports/1.1.4 Ergebnis aktueller Monat.gif","alt","",1,"img-fluid","img-thumbnail"],["src","assets/images/reports/1.1.11 Ergebnis Vorjahr.gif","alt","",1,"img-fluid","img-thumbnail"],[1,"modal-footer"],["type","button","data-dismiss","modal",1,"btn","btn-secondary"],["id","confirmExport","tabindex","-1","role","dialog",1,"modal"],["role","document",1,"modal-dialog"],["type","button",1,"btn","btn-primary","mr-0"],["id","confirmSave","tabindex","-1","role","dialog",1,"modal"],["type","button","data-dismiss","modal",1,"btn","btn-secondary",3,"click"],["type","button",1,"btn","btn-primary","mr-0",3,"click"],["id","copyVersion","tabindex","-1","role","dialog",1,"modal"],[1,"form-group"],["for","recipient-name",1,"col-form-label"],["type","text","id","recipient-name",1,"form-control",3,"value"],[1,"navbar-nav","ml-auto"],[1,"col-md-4"],[1,"btn-group","mb-2","mr-2","show"],["type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","true",1,"btn","btn-secondary","dropdown-toggle"],[1,"feather","icon-layers"],[1,"dropdown-menu"],["class","dropdown-item",4,"ngFor","ngForOf"],[1,"switch","switch-info","d-inline","m-r-10"],["type","checkbox","id","switch-i-1",3,"disabled","ngModel","change"],["for","switch-i-1",1,"cr"],["type","checkbox","id","switch-i-2",3,"ngModel","change"],["for","switch-i-2",1,"cr"],["type","checkbox","id","switch-i-3",3,"ngModel","change"],["for","switch-i-3",1,"cr"],[1,"feather","icon-filter"],["class","dropdown-item",3,"click",4,"ngFor","ngForOf"],["class","dropdown-item",3,"click",4,"ngIf"],["class","dropdown-item",3,"class","click",4,"ngFor","ngForOf"],[1,"btn-group","mb-2","mr-2"],["type","button","class","btn btn-info",3,"click",4,"ngIf"],["type","button","class","btn btn-info",4,"ngIf"],["type","button","data-toggle","dropdown","aria-haspopup","true","aria-expanded","false",1,"btn","btn-info","dropdown-toggle","dropdown-toggle-split"],[1,"sr-only"],[1,"dropdown-menu","dropdown-menu-right"],["class","dropdown-divider",4,"ngIf"],["data-toggle","modal","data-target","#print",1,"dropdown-item"],[1,"dropdown-item",3,"click"],[1,"dropdown-divider"],["class","dropdown-item","data-toggle","modal","data-target","#confirmExport",4,"ngIf"],["class","dropdown-item","data-toggle","modal","data-target","#copyVersion",4,"ngIf"],["data-toggle","modal","data-target","#confirmSave",1,"dropdown-item"],[1,"dropdown-item"],["type","checkbox",3,"id","ngModel","change"],[1,"cr",3,"for"],["type","button",1,"btn","btn-info",3,"click"],[1,"feather","icon-save"],["type","button",1,"btn","btn-info"],[1,"feather","icon-info"],["data-toggle","modal","data-target","#confirmExport",1,"dropdown-item"],["data-toggle","modal","data-target","#copyVersion",1,"dropdown-item"],[1,"col-sm-12"],["role","region","tabindex","0",1,"rowheaders"],["id","scr-vtr-dynamic","role","grid",1,"table","table-bordered","nowrap","dataTable"],[3,"hidden"],[1,"fc",3,"hidden"],[1,"plan"],[1,"seasonal",3,"hidden"],[1,"period13",3,"hidden"],[4,"ngFor","ngForOf"],[3,"hidden","ngClass","class",4,"ngIf"],[3,"hidden","class",4,"ngIf"],[3,"hidden","ngClass"],["class","row-header","scope","row",4,"ngIf"],[1,"text-right",3,"hidden"],[1,"text-right","percent",3,"hidden"],[1,"text-right","fc",3,"hidden"],[1,"text-right"],[1,"text-right","plan"],[1,"text-right","percent"],[4,"ngIf"],[3,"s","seasonal","display",4,"ngIf"],[3,"value","s","seasonal","display",4,"ngIf"],[1,"text-right","period13",3,"hidden"],[1,"text-right","period13","percent",3,"hidden"],["scope","row",1,"row-header"],[1,"feather","pointer",3,"ngClass","click"],[1,"mdi","mdi-sigma"],[3,"s","seasonal","display"],[3,"value","s","seasonal","display"],[3,"s","basis","formchange","filter","display"],[1,"text-right","percent","form-A"],[1,"text-right","percent","form-P"],[3,"s","basis","seasonal","display",4,"ngIf"],[3,"s","basis","seasonal","display"],[3,"s","filter","value",4,"ngIf"],[3,"s",4,"ngIf"],[3,"s","linked",4,"ngIf"],[3,"s","linked","value","factor",4,"ngIf"],[1,"text-right","form-P"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"],["type","number",1,"text-right",3,"ngModel","ngModelChange"],[3,"s","filter","value"],[3,"s"],[3,"s","linked"],[3,"s","linked","value","factor"]],template:function(t,r){1&t&&(f(0,"header",0)(1,"div",1)(2,"a",2),w(3,"span"),h(),f(4,"a",3)(5,"div",4),m(6," GC "),h(),f(7,"span",5),m(8,"Global Cube"),h()()(),f(9,"a",6),w(10,"i",7),h(),f(11,"div",8),w(12,"a",9),f(13,"ul",10)(14,"li")(15,"div",11)(16,"div",11)(17,"div",12)(18,"div",13)(19,"div",14)(20,"div",15),w(21,"img",16),h()()()()()()()(),J(22,rk,68,19,"ul",17),h()(),f(23,"div",18)(24,"div",19),w(25,"img",20),f(26,"strong",21),m(27,"Bootstrap 5s"),h(),f(28,"small",22),m(29,"11 mins ago"),h(),f(30,"button",23)(31,"span"),m(32,"\xd7"),h()()(),f(33,"div",24),m(34," Hello, world! This is a toast message. "),h()(),J(35,Fk,123,68,"div",25),f(36,"div",26)(37,"div",27)(38,"div",28)(39,"div",29)(40,"h5",30),m(41,"Druckansicht / Reports"),h(),f(42,"button",31)(43,"span",32),m(44,"\xd7"),h()()(),f(45,"div",33)(46,"div",34)(47,"div",35)(48,"div",36)(49,"div",37)(50,"a",38),w(51,"img",39),h()()()(),f(52,"div",35)(53,"div",36)(54,"div",37)(55,"a",38),w(56,"img",40),h()()()(),f(57,"div",35)(58,"div",36)(59,"div",37)(60,"a",38),w(61,"img",41),h()()()(),f(62,"div",35)(63,"div",36)(64,"div",37)(65,"a",38),w(66,"img",42),h()()()(),f(67,"div",35)(68,"div",36)(69,"div",37)(70,"a",38),w(71,"img",43),h()()()()()(),f(72,"div",44)(73,"button",45),m(74,"Abbrechen"),h()()()()(),f(75,"div",46)(76,"div",47)(77,"div",28)(78,"div",29)(79,"h5",30),m(80,"Export zu MIS"),h(),f(81,"button",31)(82,"span",32),m(83,"\xd7"),h()()(),f(84,"div",33)(85,"p"),m(86,"M\xf6chten Sie die aktuelle Version ins MIS exportieren?"),h(),f(87,"p"),m(88,"Bitte beachten Sie: Die \xc4nderungen sind erst ab morgen im MIS sichtbar."),h()(),f(89,"div",44)(90,"button",45),m(91,"Abbrechen"),h(),f(92,"button",48),m(93,"Speichern"),h()()()()(),f(94,"div",49)(95,"div",47)(96,"div",28)(97,"div",29)(98,"h5",30),m(99,"Aktuelle \xc4nderungen"),h(),f(100,"button",31)(101,"span",32),m(102,"\xd7"),h()()(),f(103,"div",33)(104,"p"),m(105,"M\xf6chten Sie die \xc4nderungen speichern?"),h()(),f(106,"div",44)(107,"button",50),P("click",function(){return r.save(),r.versionSelect()}),m(108,"Verwerfen"),h(),f(109,"button",51),P("click",function(){return r.versionSelect()}),m(110,"Speichern"),h()()()()(),f(111,"div",52)(112,"div",47)(113,"div",28)(114,"div",29)(115,"h5",30),m(116,"Version kopieren"),h(),f(117,"button",31)(118,"span",32),m(119,"\xd7"),h()()(),f(120,"div",33)(121,"form")(122,"div",53)(123,"label",54),m(124,"Name der neuen Version:"),h(),w(125,"input",55),h()()(),f(126,"div",44)(127,"button",45),m(128,"Abbrechen"),h(),f(129,"button",48),m(130,"Speichern"),h()()()()()),2&t&&(c(22),g("ngIf",null!=r.config),c(13),g("ngIf",null!=r.config&&null!=r.structure),c(90),vc("value",r.file.version))}}),e})();const Rk=[{path:"login",component:BO},{path:"select",component:zO},{path:"planung",component:xf},{path:"planner/:year/:version/:timestamp",component:xf},{path:"",redirectTo:"/login",pathMatch:"full"}];let Ok=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=kt({type:e}),e.\u0275inj=wt({imports:[T0.forRoot(Rk),T0]}),e})(),kk=(()=>{class e{constructor(t){this.title="Global Cube",this.title=t.data.title}}return e.\u0275fac=function(t){return new(t||e)(E(Xo))},e.\u0275cmp=Te({type:e,selectors:[["app-root"]],decls:283,vars:0,consts:[[1,"header-user-list"],["href","#!",1,"h-close-text"],[1,"feather","icon-x"],["id","chatTab","role","tablist",1,"nav","nav-tabs"],[1,"nav-item"],["id","chat-tab","data-toggle","tab","href","#chat","role","tab","aria-controls","chat","aria-selected","false",1,"nav-link","text-uppercase"],[1,"feather","icon-message-circle","mr-2"],["id","user-tab","data-toggle","tab","href","#user","role","tab","aria-controls","user","aria-selected","false",1,"nav-link","text-uppercase"],[1,"feather","icon-users","mr-2"],["id","setting-tab","data-toggle","tab","href","#setting","role","tab","aria-controls","setting","aria-selected","true",1,"nav-link","text-uppercase","active"],[1,"feather","icon-settings","mr-2"],["id","chatTabContent",1,"tab-content"],["id","chat","role","tabpanel","aria-labelledby","chat-tab",1,"tab-pane","fade"],[1,"h-list-header"],[1,"input-group"],["type","text","id","search-friends","placeholder","Search Friend . . .",1,"form-control"],[1,"h-list-body"],[1,"main-friend-cont","scroll-div","ps","ps--active-y"],[1,"main-friend-list"],["data-id","1","data-status","online","data-username","Josephin Doe",1,"media","userlist-box"],["href","#!",1,"media-left"],["src","../assets/images/user/avatar-1.jpg","alt","Generic placeholder image ",1,"media-object","img-radius"],[1,"live-status"],[1,"media-body"],[1,"chat-header"],[1,"d-block","text-c-green"],["data-id","2","data-status","online","data-username","Lary Doe",1,"media","userlist-box"],["src","../assets/images/user/avatar-2.jpg","alt","Generic placeholder image",1,"media-object","img-radius"],["data-id","3","data-status","online","data-username","Alice",1,"media","userlist-box"],["src","../assets/images/user/avatar-3.jpg","alt","Generic placeholder image",1,"media-object","img-radius"],["data-id","4","data-status","offline","data-username","Alia",1,"media","userlist-box"],["src","../assets/images/user/avatar-1.jpg","alt","Generic placeholder image",1,"media-object","img-radius"],[1,"d-block","text-muted"],["data-id","5","data-status","offline","data-username","Suzen",1,"media","userlist-box"],["src","../assets/images/user/avatar-4.jpg","alt","Generic placeholder image",1,"media-object","img-radius"],[1,"ps__rail-x",2,"left","0px","bottom","0px"],["tabindex","0",1,"ps__thumb-x",2,"left","0px","width","0px"],[1,"ps__rail-y",2,"top","0px","right","0px","height","468px"],["tabindex","0",1,"ps__thumb-y",2,"top","0px","height","210px"],["id","user","role","tabpanel","aria-labelledby","user-tab",1,"tab-pane","fade"],[1,"main-friend-cont","scroll-div","ps"],[1,"media","px-3","d-flex","align-items-center","mt-3"],["href","#!",1,"media-left","m-r-15"],[1,"hei-50","wid-50","bg-primary","img-radius","d-flex","text-white","f-22","align-items-center","justify-content-center"],[1,"icon","feather","icon-users"],[1,"chat-header","f-w-600","mb-0"],[1,"media","p-3","d-flex","align-items-center"],[1,"icon","feather","icon-user-plus"],[1,"d-block"],[1,"hei-50","wid-50","img-radius","bg-success","d-flex","text-white","f-22","align-items-center","justify-content-center"],[1,"hei-50","wid-50","bg-danger","img-radius","d-flex","text-white","f-22","align-items-center","justify-content-center"],[1,"ps__rail-y",2,"top","0px","right","0px"],["tabindex","0",1,"ps__thumb-y",2,"top","0px","height","0px"],["id","setting","role","tabpanel","aria-labelledby","setting-tab",1,"tab-pane","fade","active","show"],[1,"p-4","main-friend-cont","scroll-div","ps","ps--active-y"],[1,"mt-2"],[1,"feather","icon-monitor","mr-2"],[1,"form-group","mb-0"],[1,"switch","switch-primary","d-inline","m-r-10"],["type","checkbox","id","cn-p-1","checked",""],["for","cn-p-1",1,"cr"],[1,"f-w-600"],[1,"text-muted","ml-5"],["type","checkbox","id","cn-p-5"],["for","cn-p-5",1,"cr"],[1,"mb-0","mt-5"],[1,"feather","icon-layout","mr-2"],["type","checkbox","id","cn-p-3","checked",""],["for","cn-p-3",1,"cr"],[1,"text-muted","mb-0","ml-5"],[1,"form-group","mb-4"],["type","checkbox","id","cn-p-4","checked",""],["for","cn-p-4",1,"cr"],[1,"feather","icon-globe","mr-2"],["type","checkbox","id","cn-p-2"],["for","cn-p-2",1,"cr"],[1,"ps__rail-y",2,"top","0px","right","0px","height","538px"],["tabindex","0",1,"ps__thumb-y",2,"top","0px","height","448px"]],template:function(t,r){1&t&&(f(0,"section",0)(1,"a",1),w(2,"i",2),h(),f(3,"ul",3)(4,"li",4)(5,"a",5),w(6,"i",6),m(7,"Chat"),h()(),f(8,"li",4)(9,"a",7),w(10,"i",8),m(11,"User"),h()(),f(12,"li",4)(13,"a",9),w(14,"i",10),m(15,"Setting"),h()()(),f(16,"div",11)(17,"div",12)(18,"div",13)(19,"div",14),w(20,"input",15),h()(),f(21,"div",16)(22,"div",17)(23,"div",18)(24,"div",19)(25,"a",20),w(26,"img",21),f(27,"div",22),m(28,"3"),h()(),f(29,"div",23)(30,"h6",24),m(31,"Josephin Doe"),f(32,"small",25),m(33,"Typing . . "),h()()()(),f(34,"div",26)(35,"a",20),w(36,"img",27),f(37,"div",22),m(38,"1"),h()(),f(39,"div",23)(40,"h6",24),m(41,"Lary Doe"),f(42,"small",25),m(43,"online"),h()()()(),f(44,"div",28)(45,"a",20),w(46,"img",29),h(),f(47,"div",23)(48,"h6",24),m(49,"Alice"),f(50,"small",25),m(51,"online"),h()()()(),f(52,"div",30)(53,"a",20),w(54,"img",31),f(55,"div",22),m(56,"1"),h()(),f(57,"div",23)(58,"h6",24),m(59,"Alia"),f(60,"small",32),m(61,"10 min ago"),h()()()(),f(62,"div",33)(63,"a",20),w(64,"img",34),h(),f(65,"div",23)(66,"h6",24),m(67,"Suzen"),f(68,"small",32),m(69,"15 min ago"),h()()()(),f(70,"div",19)(71,"a",20),w(72,"img",21),f(73,"div",22),m(74,"3"),h()(),f(75,"div",23)(76,"h6",24),m(77,"Josephin Doe"),f(78,"small",25),m(79,"Typing . . "),h()()()(),f(80,"div",26)(81,"a",20),w(82,"img",27),f(83,"div",22),m(84,"1"),h()(),f(85,"div",23)(86,"h6",24),m(87,"Lary Doe"),f(88,"small",25),m(89,"online"),h()()()(),f(90,"div",28)(91,"a",20),w(92,"img",29),h(),f(93,"div",23)(94,"h6",24),m(95,"Alice"),f(96,"small",25),m(97,"online"),h()()()(),f(98,"div",30)(99,"a",20),w(100,"img",31),f(101,"div",22),m(102,"1"),h()(),f(103,"div",23)(104,"h6",24),m(105,"Alia"),f(106,"small",32),m(107,"10 min ago"),h()()()(),f(108,"div",33)(109,"a",20),w(110,"img",34),h(),f(111,"div",23)(112,"h6",24),m(113,"Suzen"),f(114,"small",32),m(115,"15 min ago"),h()()()(),f(116,"div",19)(117,"a",20),w(118,"img",21),f(119,"div",22),m(120,"3"),h()(),f(121,"div",23)(122,"h6",24),m(123,"Josephin Doe"),f(124,"small",25),m(125,"Typing . . "),h()()()(),f(126,"div",26)(127,"a",20),w(128,"img",27),f(129,"div",22),m(130,"1"),h()(),f(131,"div",23)(132,"h6",24),m(133,"Lary Doe"),f(134,"small",25),m(135,"online"),h()()()(),f(136,"div",28)(137,"a",20),w(138,"img",29),h(),f(139,"div",23)(140,"h6",24),m(141,"Alice"),f(142,"small",25),m(143,"online"),h()()()()(),f(144,"div",35),w(145,"div",36),h(),f(146,"div",37),w(147,"div",38),h()()()(),f(148,"div",39)(149,"div",16)(150,"div",40)(151,"div",18)(152,"div",41)(153,"a",42)(154,"div",43),w(155,"i",44),h()(),f(156,"div",23)(157,"p",45),m(158,"New Group"),h()()(),f(159,"div",46)(160,"a",42)(161,"div",43),w(162,"i",47),h()(),f(163,"div",23)(164,"p",45),m(165,"New Contact"),h()()(),f(166,"div",19)(167,"a",20),w(168,"img",21),h(),f(169,"div",23)(170,"p",24),m(171,"Josephin Doe"),f(172,"small",48),m(173,"i am not what happened . ."),h()()()(),f(174,"div",26)(175,"a",20),w(176,"img",27),h(),f(177,"div",23)(178,"h6",24),m(179,"Lary Doe"),f(180,"small",48),m(181,"Avalable"),h()()()(),f(182,"div",28)(183,"a",20),w(184,"img",29),h(),f(185,"div",23)(186,"h6",24),m(187,"Alice"),f(188,"small",48),m(189,"hear using Elite able"),h()()()(),f(190,"div",30)(191,"a",20)(192,"div",49),m(193,"A"),h()(),f(194,"div",23)(195,"h6",24),m(196,"Alia"),f(197,"small",32),m(198,"Avalable"),h()()()(),f(199,"div",33)(200,"a",20),w(201,"img",34),h(),f(202,"div",23)(203,"h6",24),m(204,"Suzen"),f(205,"small",32),m(206,"Avalable"),h()()()(),f(207,"div",19)(208,"a",20)(209,"div",50),m(210,"JD"),h()(),f(211,"div",23)(212,"h6",24),m(213,"Josephin Doe"),f(214,"small",32),m(215,"Don't send me image"),h()()()(),f(216,"div",26)(217,"a",20),w(218,"img",27),h(),f(219,"div",23)(220,"h6",24),m(221,"Lary Doe"),f(222,"small",32),m(223,"not send free msg"),h()()()()(),f(224,"div",35),w(225,"div",36),h(),f(226,"div",51),w(227,"div",52),h()()()(),f(228,"div",53)(229,"div",54)(230,"h6",55),w(231,"i",56),m(232,"Desktop settings"),h(),w(233,"hr"),f(234,"div",57)(235,"div",58),w(236,"input",59)(237,"label",60),h(),f(238,"label",61),m(239,"Allow desktop notification"),h()(),f(240,"p",62),m(241,"you get lettest content at a time when data will updated"),h(),f(242,"div",57)(243,"div",58),w(244,"input",63)(245,"label",64),h(),f(246,"label",61),m(247,"Store Cookie"),h()(),f(248,"h6",65),w(249,"i",66),m(250,"Application settings"),h(),w(251,"hr"),f(252,"div",57)(253,"div",58),w(254,"input",67)(255,"label",68),h(),f(256,"label",61),m(257,"Backup Storage"),h()(),f(258,"p",69),m(259,"Automaticaly take backup as par schedule"),h(),f(260,"div",70)(261,"div",58),w(262,"input",71)(263,"label",72),h(),f(264,"label",61),m(265,"Allow guest to print file"),h()(),f(266,"h6",65),w(267,"i",73),m(268,"System settings"),h(),w(269,"hr"),f(270,"div",57)(271,"div",58),w(272,"input",74)(273,"label",75),h(),f(274,"label",61),m(275,"View other user chat"),h()(),f(276,"p",62),m(277,"Allow to show public user message"),h(),f(278,"div",35),w(279,"div",36),h(),f(280,"div",76),w(281,"div",77),h()()()()(),w(282,"router-outlet"))},dependencies:[Df]}),e})();!function(e){e.ng=e.ng||{},e.ng.common=e.ng.common||{},e.ng.common.locales=e.ng.common.locales||{};const n=void 0;e.ng.common.locales.de=["de",[["AM","PM"],n,n],n,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],n,n],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} 'um' {0}",n],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[n,"\u0440."],CUC:[n,"Cub$"],DEM:["DM"],FKP:[n,"Fl\xa3"],GHS:[n,"\u20b5"],GNF:[n,"F.G."],KMF:[n,"FC"],PHP:[n,"\u20b1"],RON:[n,"L"],RUR:[n,"\u0440."],RWF:[n,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[n,"K"]},"ltr",function t(r){const o=Math.floor(Math.abs(r)),s=r.toString().replace(/^[^.]*\.?/,"").length;return 1===o&&0===s?1:5},[[["Mitternacht","morgens","vorm.","mittags","nachm.","abends","nachts"],n,["Mitternacht","morgens","vormittags","mittags","nachmittags","abends","nachts"]],[["Mitternacht","Morgen","Vorm.","Mittag","Nachm.","Abend","Nacht"],n,["Mitternacht","Morgen","Vormittag","Mittag","Nachmittag","Abend","Nacht"]],["00:00",["05:00","10:00"],["10:00","12:00"],["12:00","13:00"],["13:00","18:00"],["18:00","24:00"],["00:00","05:00"]]]]}("undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window);const xk=function(e,n){return{"icon-chevron-right":e,"icon-chevron-down":n}};function Lk(e,n){if(1&e){const t=Nt();f(0,"th",6)(1,"i",7),P("click",function(){Pe(t);const i=x();return Ne(i.s.drilldown=!i.s.drilldown)}),h(),m(2),h()}if(2&e){const t=x();c(1),g("ngClass",_o(2,xk,!t.s.drilldown,t.s.drilldown)),c(1),F(" \xa0\xa0 ",t.s.text,"\n")}}function Vk(e,n){if(1&e&&(f(0,"th",6),w(1,"i",8),m(2),h()),2&e){const t=x();c(2),F(" \xa0\xa0 ",t.s.text,"\n")}}const jk=function(){return["2","3","4","6","7"]},Bk=function(e,n){return{"btn-secondary":e,"btn-danger":n}},$k=function(){return["4","6"]},Hk=function(e,n){return{"btn-secondary":e,"btn-primary":n}};function Uk(e,n){if(1&e){const t=Nt();f(0,"td")(1,"div",9)(2,"button",10),P("click",function(){return Pe(t),Ne(x().formtoggle())}),m(3),h(),f(4,"button",11),P("click",function(){return Pe(t),Ne(x().toggle("absolute"))}),m(5),h(),f(6,"button",12),P("click",function(){return Pe(t),Ne(x().toggle("seasonal"))}),m(7),h(),f(8,"button",13),P("click",function(){return Pe(t),Ne(x().statustoggle())}),w(9,"i"),h()()()}if(2&e){const t=x();c(2),yc("title","Formular #",t.s.form," ",t.formtext(t.s.form),""),g("hidden",!t.formchange),c(1),T(t.s.form),c(1),g("hidden",Rn(16,jk).includes(t.s.form)||t.showquantity())("ngClass",_o(17,Bk,t.s.options[t.filter.department].absolute,!t.s.options[t.filter.department].absolute)),c(1),T(t.absolute(t.s)),c(1),g("hidden",Rn(20,$k).includes(t.s.form))("ngClass",_o(21,Hk,t.s.options[t.filter.department].seasonal,!t.s.options[t.filter.department].seasonal)),c(1),T(t.seasonal(t.s)),c(1),ho("btn btn-icon ",t.statuscolor[t.s.options[t.filter.department].status],""),c(1),ho("mdi ",t.statusicon[t.s.options[t.filter.department].status],"")}}function zk(e,n){if(1&e){const t=Nt();f(0,"td")(1,"div",9)(2,"button",14),P("click",function(){return Pe(t),Ne(x().planlevel())}),w(3,"i",15),h()()()}}let Gk=(()=>{class e{constructor(t){this.el=t,this.values=N,this.form=["1","2","3","4","5","6","7"],this.status=["0","1","2"],this.statusicon={0:"mdi-arrow-right-bold-outline",1:"mdi-help",2:"mdi-check",3:"mdi-autorenew",4:"mdi-alert-circle",5:"mdi-border-color",6:"mdi-phone-classic",7:"mdi-eye",8:"mdi-calendar-clock",9:"mdi-checkbox-marked-circle"},this.statuscolor={0:"btn-danger",1:"btn-warning",2:"btn-success"}}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}accountlevel(t){return t?"K":"Z"}absolute(t){return t.options[this.filter.department].absolute?"A":"P"}seasonal(t){return t.options[this.filter.department].seasonal?"S":["2","3"].includes(t.form)?"Q":"M"}toggle(t){"seasonal"==t&&(this.s.options[this.filter.department].seasonal=!this.s.options[this.filter.department].seasonal),"absolute"==t&&(this.s.options[this.filter.department].absolute=!this.s.options[this.filter.department].absolute)}formtoggle(){this.s.form=this.form[(this.form.indexOf(this.s.form)+1)%this.form.length]}statustoggle(){this.s.options[this.filter.department].status=this.status[(this.status.indexOf(this.s.options[this.filter.department].status)+1)%this.status.length]}showquantity(){return this.s.id.startsWith("Umsatzerl\xf6se;")}sumpercent(t,r){return 100*t.sumvalues[r]/this.basis.sumvalues[r]}formtext(t){switch(t){case"1":return"Einfache Eingabe Planzahl - absolut oder prozentual zum FC";case"2":return"Berechnung \xfcber St\xfcckzahl und Preis/Stk";case"3":return"Umsatzerl\xf6s \xfcber St\xfcck, VAK/Stk und BE in %";case"4":return"Gegenbuchung zu Umsatzerl\xf6s (Formular 3)";case"5":return"Planzahl (absolut) und BE in % f\xfcr Berechnung Materialaufwand";case"6":return"Gegenbuchung zu Umsatzerl\xf6s (Formular 5)";case"7":return"Prozentuale Bonusberechnung"}return""}planlevel(){console.log(this.s.text)}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-row-header"]],inputs:{s:"s",basis:"basis",formchange:"formchange",filter:"filter",display:"display"},decls:54,vars:84,consts:[["class","row-header","scope","row",4,"ngIf"],[1,"text-right",3,"hidden"],[3,"hidden"],[1,"text-right","percent",3,"hidden"],[1,"text-right","fc",3,"hidden"],[4,"ngIf"],["scope","row",1,"row-header"],[1,"feather","pointer",3,"ngClass","click"],[1,"feather","icon-corner-down-right"],["role","group","aria-label","button groups sm",1,"btn-group","btn-group-sm"],["type","button","data-toggle","tooltip","data-placement","bottom","tabindex","-1",1,"btn","btn-info","period13",3,"title","hidden","click"],["type","button","data-toggle","tooltip","data-placement","bottom","title","Eingabe Absolutwert oder<br/>Prozentuale Ver\xe4nderung zum FC","tabindex","-1",1,"btn","form-Z",3,"hidden","ngClass","click"],["type","button","data-toggle","tooltip","data-placement","bottom","title","Automatische Saisonalisierung oder manuelle Verteilung","tabindex","-1",1,"btn",3,"hidden","ngClass","click"],["type","button","data-toggle","tooltip","data-placement","bottom","title","Bearbeitungsstand","tabindex","-1",3,"click"],["type","button","tabindex","-1",1,"btn","btn-secondary",3,"click"],[1,"feather","icon-edit-1"]],template:function(t,r){1&t&&(J(0,Lk,3,5,"th",0),J(1,Vk,3,1,"th",0),f(2,"td",1)(3,"span",2),m(4),C(5,"number"),h()(),f(6,"td",1),m(7),C(8,"number"),h(),f(9,"td",3),m(10),C(11,"number"),h(),f(12,"td",1)(13,"span",2),m(14),C(15,"number"),h()(),f(16,"td",1),m(17),C(18,"number"),h(),f(19,"td",3),m(20),C(21,"number"),h(),f(22,"td",1)(23,"span",2),m(24),C(25,"number"),h()(),f(26,"td",1),m(27),C(28,"number"),h(),f(29,"td",3),m(30),C(31,"number"),h(),f(32,"td",1)(33,"span",2),m(34),C(35,"number"),h()(),f(36,"td",4),m(37),C(38,"number"),h(),f(39,"td",3),m(40),C(41,"number"),h(),f(42,"td",1)(43,"span",2),m(44),C(45,"number"),h()(),f(46,"td",1),m(47),C(48,"number"),h(),f(49,"td",3),m(50),C(51,"number"),h(),J(52,Uk,10,24,"td",5),J(53,zk,4,0,"td",5)),2&t&&(g("ngIf",r.s.options[r.filter.department].planlevel),c(1),g("ngIf",!r.s.options[r.filter.department].planlevel),c(1),g("hidden",!r.display.previous[0]),c(1),g("hidden",!r.showquantity()),c(1),T(b(5,39,r.s.sumvalues[r.values.VJ_Stk],"1.0-0")),c(2),g("hidden",!r.display.previous[0]),c(1),T(b(8,42,r.s.sumvalues[r.values.VJ_Wert],"1.0-0")),c(2),g("hidden",!r.display.previous[0]),c(1),T(b(11,45,r.sumpercent(r.s,r.values.VJ_Wert),"1.3-3")),c(2),g("hidden",!r.display.previous[1]),c(1),g("hidden",!r.showquantity()),c(1),T(b(15,48,r.s.sumvalues[r.values.Plan_VJ_Stk],"1.0-0")),c(2),g("hidden",!r.display.previous[1]),c(1),T(b(18,51,r.s.sumvalues[r.values.Plan_VJ_Wert],"1.0-0")),c(2),g("hidden",!r.display.previous[1]),c(1),T(b(21,54,r.sumpercent(r.s,r.values.Plan_VJ_Wert),"1.3-3")),c(2),g("hidden",!r.display.previous[2]),c(1),g("hidden",!r.showquantity()),c(1),T(b(25,57,r.s.sumvalues[r.values.AJ_Okt_Stk],"1.0-0")),c(2),g("hidden",!r.display.previous[2]),c(1),T(b(28,60,r.s.sumvalues[r.values.AJ_Okt_Wert],"1.0-0")),c(2),g("hidden",!r.display.previous[2]),c(1),T(b(31,63,r.sumpercent(r.s,r.values.AJ_Okt_Wert),"1.3-3")),c(2),g("hidden",!r.display.previous[3]),c(1),g("hidden",!r.showquantity()),c(1),T(b(35,66,r.s.sumvalues[r.values.FC_Stk],"1.0-0")),c(2),g("hidden",!r.display.previous[3]),c(1),T(b(38,69,r.s.sumvalues[r.values.FC_Wert],"1.0-0")),c(2),g("hidden",!r.display.previous[3]),c(1),T(b(41,72,r.sumpercent(r.s,r.values.FC_Wert),"1.3-3")),c(2),g("hidden",!r.display.previous[4]),c(1),g("hidden",!r.showquantity()),c(1),T(b(45,75,r.s.sumvalues[r.values.AJ_kompl_Stk],"1.0-0")),c(2),g("hidden",!r.display.previous[4]),c(1),T(b(48,78,r.s.sumvalues[r.values.AJ_kompl_Wert],"1.0-0")),c(2),g("hidden",!r.display.previous[4]),c(1),T(b(51,81,r.sumpercent(r.s,r.values.AJ_kompl_Wert),"1.3-3")),c(2),g("ngIf",r.s.options[r.filter.department].planlevel),c(1),g("ngIf",!r.s.options[r.filter.department].planlevel))},dependencies:[md,yd,ht]}),e})(),Wk=(()=>{class e{constructor(t){this.el=t,this.values=N}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumaccounts(t,r){return 0}absolutevalue(t){return t.options[this.filter.department].absolute?0:(t.values[N.Plan_Wert]=this.value*t.values[N.Plan_Proz_FC]/100,t.values[N.Plan_Wert])}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-form-no1"]],inputs:{s:"s",value:"value",filter:"filter"},decls:11,vars:9,consts:[[1,"text-right"],[1,"text-right","plan","form-Z","form-A"],["type","number",1,"text-right",3,"ngModel","ngModelChange"],[1,"text-right","plan","form-K"],[1,"text-right","plan","form-Z","form-P"]],template:function(t,r){1&t&&(w(0,"td",0)(1,"td",0)(2,"td",0),f(3,"td",1)(4,"input",2),P("ngModelChange",function(o){return r.s.values[r.values.Plan_Wert]=o}),h()(),f(5,"td",3),m(6),C(7,"number"),h(),f(8,"td",4),m(9),C(10,"number"),h()),2&t&&(c(4),g("ngModel",r.s.values[r.values.Plan_Wert]),c(2),T(b(7,3,r.sumaccounts(r.s,r.values.Plan_Wert),"1.0-0")),c(3),T(b(10,6,r.absolutevalue(r.s),"1.0-0")))},dependencies:[_t,Ut,Ft,Ct,ht]}),e})(),qk=(()=>{class e{constructor(t){this.el=t,this.values=N}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-form-no2"]],inputs:{s:"s"},decls:8,vars:6,consts:[[1,"text-right"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"],["type","number",1,"text-right","input-md",3,"ngModel","ngModelChange"],[1,"text-right","plan"]],template:function(t,r){1&t&&(f(0,"td",0)(1,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Plan_Stk]=o}),h()(),f(2,"td",0)(3,"input",2),P("ngModelChange",function(o){return r.s.values[r.values.VAK]=o}),h()(),w(4,"td"),f(5,"td",3),m(6),C(7,"number"),h()),2&t&&(c(1),g("ngModel",r.s.values[r.values.Plan_Stk]),c(2),g("ngModel",r.s.values[r.values.VAK]),c(3),T(b(7,3,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.VAK],"1.0-0")))},dependencies:[_t,Ut,Ft,Ct,ht]}),e})(),Jk=(()=>{class e{constructor(t){this.el=t,this.values=N}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumaccounts(t,r){return t.values[r]}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-form-no3"]],inputs:{s:"s"},decls:12,vars:11,consts:[[1,"text-right","form-Z"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"],[1,"text-right","form-K"],[1,"text-right"],["type","number",1,"text-right","input-md",3,"ngModel","ngModelChange"],[1,"text-right","plan"]],template:function(t,r){1&t&&(f(0,"td",0)(1,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Plan_Stk]=o}),h()(),f(2,"td",2),m(3),C(4,"number"),h(),f(5,"td",3)(6,"input",4),P("ngModelChange",function(o){return r.s.values[r.values.VAK]=o}),h()(),f(7,"td",3)(8,"input",4),P("ngModelChange",function(o){return r.s.values[r.values.BE_Proz]=o}),h()(),f(9,"td",5),m(10),C(11,"number"),h()),2&t&&(c(1),g("ngModel",r.s.values[r.values.Plan_Stk]),c(2),T(b(4,5,r.sumaccounts(r.s,r.values.Plan_Stk),"1.0-0")),c(3),g("ngModel",r.s.values[r.values.VAK]),c(2),g("ngModel",r.s.values[r.values.BE_Proz]),c(2),T(b(11,8,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.VAK]/((100-r.s.values[r.values.BE_Proz])/100),"1.0-0")))},dependencies:[_t,Ut,Ft,Ct,ht]}),e})(),Kk=(()=>{class e{constructor(t){this.el=t,this.values=N}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-form-no4"]],inputs:{s:"s",linked:"linked"},decls:8,vars:8,consts:[[1,"text-right"],[1,"text-right","plan"]],template:function(t,r){1&t&&(f(0,"td",0),m(1),C(2,"number"),h(),w(3,"td",0)(4,"td",0),f(5,"td",1),m(6),C(7,"number"),h()),2&t&&(c(1),T(b(2,2,r.linked.values[r.values.Plan_Stk],"1.0-0")),c(5),T(b(7,5,r.linked.values[r.values.Plan_Stk]*r.linked.values[r.values.VAK],"1.0-0")))},dependencies:[ht]}),e})(),Qk=(()=>{class e{constructor(t){this.el=t,this.values=N}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-form-no5"]],inputs:{s:"s"},decls:6,vars:2,consts:[[1,"text-right"],["type","number",1,"text-right","input-md",3,"ngModel","ngModelChange"],[1,"text-right","plan"],["type","number",1,"text-right",3,"ngModel","ngModelChange"]],template:function(t,r){1&t&&(w(0,"td",0)(1,"td",0),f(2,"td",0)(3,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.BE_Proz]=o}),h()(),f(4,"td",2)(5,"input",3),P("ngModelChange",function(o){return r.s.values[r.values.Plan_Wert]=o}),h()()),2&t&&(c(3),g("ngModel",r.s.values[r.values.BE_Proz]),c(2),g("ngModel",r.s.values[r.values.Plan_Wert]))},dependencies:[_t,Ut,Ft,Ct]}),e})(),Zk=(()=>{class e{constructor(t){this.el=t,this.values=N}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-form-no6"]],inputs:{s:"s",linked:"linked"},decls:6,vars:4,consts:[[1,"text-right"],[1,"text-right","plan"]],template:function(t,r){1&t&&(w(0,"td",0)(1,"td",0)(2,"td",0),f(3,"td",1),m(4),C(5,"number"),h()),2&t&&(c(4),T(b(5,1,r.linked.values[r.values.Plan_Wert]*(100-r.linked.values[r.values.BE_Proz])/100,"1.0-0")))},dependencies:[ht]}),e})(),Yk=(()=>{class e{constructor(t){this.el=t,this.values=N}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-form-no7"]],inputs:{s:"s",linked:"linked",value:"value",factor:"factor"},decls:7,vars:5,consts:[[1,"text-right"],["type","number",1,"text-right","input-md",3,"ngModel","ngModelChange"],[1,"text-right","plan"]],template:function(t,r){1&t&&(w(0,"td",0)(1,"td",0),f(2,"td",0)(3,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.BE_Proz]=o}),h()(),f(4,"td",2),m(5),C(6,"number"),h()),2&t&&(c(3),g("ngModel",r.s.values[r.values.BE_Proz]),c(2),T(b(6,2,r.s.values[r.values.Plan_berechnet],"1.0-0")))},dependencies:[_t,Ut,Ft,Ct,ht]}),e})(),Xk=(()=>{class e{constructor(t){this.el=t,this.values=N,this.seasonal=[0,0,0,0,0,0,0,0,0,0,0,0],this.display=!1}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumyear(t){for(var r=0,i=this.values.Januar;i<=this.values.Dezember;i++)r+=t.values[i];return r}diffyear(t){for(var r=0,i=this.values.Januar;i<this.values.Dezember;i++)r+=t.values[i];return this.s.values[this.values.Plan_berechnet]-r}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-seasonal-c"]],inputs:{s:"s",basis:"basis",seasonal:"seasonal",display:"display"},decls:72,vars:120,consts:[[1,"text-right","form-C","seasonal",3,"hidden"],[1,"text-right","form-C","percent","seasonal",3,"hidden"]],template:function(t,r){1&t&&(f(0,"td",0),m(1),C(2,"number"),h(),f(3,"td",1),m(4),C(5,"number"),h(),f(6,"td",0),m(7),C(8,"number"),h(),f(9,"td",1),m(10),C(11,"number"),h(),f(12,"td",0),m(13),C(14,"number"),h(),f(15,"td",1),m(16),C(17,"number"),h(),f(18,"td",0),m(19),C(20,"number"),h(),f(21,"td",1),m(22),C(23,"number"),h(),f(24,"td",0),m(25),C(26,"number"),h(),f(27,"td",1),m(28),C(29,"number"),h(),f(30,"td",0),m(31),C(32,"number"),h(),f(33,"td",1),m(34),C(35,"number"),h(),f(36,"td",0),m(37),C(38,"number"),h(),f(39,"td",1),m(40),C(41,"number"),h(),f(42,"td",0),m(43),C(44,"number"),h(),f(45,"td",1),m(46),C(47,"number"),h(),f(48,"td",0),m(49),C(50,"number"),h(),f(51,"td",1),m(52),C(53,"number"),h(),f(54,"td",0),m(55),C(56,"number"),h(),f(57,"td",1),m(58),C(59,"number"),h(),f(60,"td",0),m(61),C(62,"number"),h(),f(63,"td",1),m(64),C(65,"number"),h(),f(66,"td",0),m(67),C(68,"number"),h(),f(69,"td",1),m(70),C(71,"number"),h()),2&t&&(g("hidden",!r.display),c(1),T(b(2,48,r.s.sumvalues[r.values.Januar],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(5,51,100*r.s.sumvalues[r.values.Januar]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(8,54,r.s.sumvalues[r.values.Februar],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(11,57,100*r.s.sumvalues[r.values.Februar]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(14,60,r.s.sumvalues[r.values.Maerz],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(17,63,100*r.s.sumvalues[r.values.Maerz]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(20,66,r.s.sumvalues[r.values.April],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(23,69,100*r.s.sumvalues[r.values.April]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(26,72,r.s.sumvalues[r.values.Mai],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(29,75,100*r.s.sumvalues[r.values.Mai]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(32,78,r.s.sumvalues[r.values.Juni],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(35,81,100*r.s.sumvalues[r.values.Juni]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(38,84,r.s.sumvalues[r.values.Juli],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(41,87,100*r.s.sumvalues[r.values.Juli]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(44,90,r.s.sumvalues[r.values.August],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(47,93,100*r.s.sumvalues[r.values.August]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(50,96,r.s.sumvalues[r.values.September],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(53,99,100*r.s.sumvalues[r.values.September]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(56,102,r.s.sumvalues[r.values.Oktober],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(59,105,100*r.s.sumvalues[r.values.Oktober]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(62,108,r.s.sumvalues[r.values.November],"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(65,111,100*r.s.sumvalues[r.values.November]/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),T(b(68,114,r.diffyear(r.s),"1.0-0")),c(2),g("hidden",!r.display),c(1),F(" ",b(71,117,100*r.diffyear(r.s)/r.s.sumvalues[r.values.Plan_berechnet],"1.1-1"),"\n"))},dependencies:[ht]}),e})(),e3=(()=>{class e{constructor(t){this.el=t,this.values=N,this.value=0,this.seasonal=[0,0,0,0,0,0,0,0,0,0,0,0],this.display=!1}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumyear(t){for(var r=0,i=this.values.Januar;i<=this.values.Dezember;i++)r+=t.values[i];return r}diffyear(t){for(var r=0,i=this.values.Januar;i<this.values.Dezember;i++)r+=t.values[i];return 100-r}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-seasonal-d"]],inputs:{value:"value",s:"s",seasonal:"seasonal",display:"display"},decls:36,vars:27,consts:[["colspan","2",1,"text-right","seasonal",3,"hidden"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"]],template:function(t,r){1&t&&(f(0,"td",0)(1,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Januar]=o}),h(),m(2," %\n"),h(),f(3,"td",0)(4,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Februar]=o}),h(),m(5," %\n"),h(),f(6,"td",0)(7,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Maerz]=o}),h(),m(8," %\n"),h(),f(9,"td",0)(10,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.April]=o}),h(),m(11," %\n"),h(),f(12,"td",0)(13,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Mai]=o}),h(),m(14," %\n"),h(),f(15,"td",0)(16,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Juni]=o}),h(),m(17," %\n"),h(),f(18,"td",0)(19,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Juli]=o}),h(),m(20," %\n"),h(),f(21,"td",0)(22,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.August]=o}),h(),m(23," %\n"),h(),f(24,"td",0)(25,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.September]=o}),h(),m(26," %\n"),h(),f(27,"td",0)(28,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Oktober]=o}),h(),m(29," %\n"),h(),f(30,"td",0)(31,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.November]=o}),h(),m(32," %\n"),h(),f(33,"td",0),m(34),C(35,"number"),h()),2&t&&(g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Januar]),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Februar]),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Maerz]),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.April]),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Mai]),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Juni]),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Juli]),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.August]),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.September]),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Oktober]),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.November]),c(2),g("hidden",!r.display),c(1),F("",b(35,24,r.diffyear(r.s),"1.4-4")," %"))},dependencies:[_t,Ut,Ft,Ct,ht]}),e})(),t3=(()=>{class e{constructor(t){this.el=t,this.values=N,this.seasonal=[0,0,0,0,0,0,0,0,0,0,0,0],this.display=!1}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumyear(t){for(var r=0,i=this.values.Januar;i<=this.values.Dezember;i++)r+=t.values[i];return r}diffyear(t){for(var r=0,i=this.values.Januar;i<this.values.Dezember;i++)r+=t.values[i];return 100-r}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-seasonal-s"]],inputs:{s:"s",basis:"basis",seasonal:"seasonal",display:"display"},decls:72,vars:120,consts:[[1,"text-right","form-S","seasonal",3,"hidden"],[1,"text-right","form-S","percent","seasonal",3,"hidden"]],template:function(t,r){1&t&&(f(0,"td",0),m(1),C(2,"number"),h(),f(3,"td",1),m(4),C(5,"number"),h(),f(6,"td",0),m(7),C(8,"number"),h(),f(9,"td",1),m(10),C(11,"number"),h(),f(12,"td",0),m(13),C(14,"number"),h(),f(15,"td",1),m(16),C(17,"number"),h(),f(18,"td",0),m(19),C(20,"number"),h(),f(21,"td",1),m(22),C(23,"number"),h(),f(24,"td",0),m(25),C(26,"number"),h(),f(27,"td",1),m(28),C(29,"number"),h(),f(30,"td",0),m(31),C(32,"number"),h(),f(33,"td",1),m(34),C(35,"number"),h(),f(36,"td",0),m(37),C(38,"number"),h(),f(39,"td",1),m(40),C(41,"number"),h(),f(42,"td",0),m(43),C(44,"number"),h(),f(45,"td",1),m(46),C(47,"number"),h(),f(48,"td",0),m(49),C(50,"number"),h(),f(51,"td",1),m(52),C(53,"number"),h(),f(54,"td",0),m(55),C(56,"number"),h(),f(57,"td",1),m(58),C(59,"number"),h(),f(60,"td",0),m(61),C(62,"number"),h(),f(63,"td",1),m(64),C(65,"number"),h(),f(66,"td",0),m(67),C(68,"number"),h(),f(69,"td",1),m(70),C(71,"number"),h()),2&t&&(g("hidden",!r.display),c(1),F(" ",b(2,48,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.Januar]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(5,51,r.basis.values[r.values.Januar],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(8,54,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.Februar]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(11,57,r.basis.values[r.values.Februar],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(14,60,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.Maerz]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(17,63,r.basis.values[r.values.Maerz],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(20,66,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.April]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(23,69,r.basis.values[r.values.April],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(26,72,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.Mai]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(29,75,r.basis.values[r.values.Mai],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(32,78,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.Juni]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(35,81,r.basis.values[r.values.Juni],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(38,84,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.Juli]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(41,87,r.basis.values[r.values.Juli],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(44,90,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.August]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(47,93,r.basis.values[r.values.August],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(50,96,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.September]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(53,99,r.basis.values[r.values.September],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(56,102,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.Oktober]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(59,105,r.basis.values[r.values.Oktober],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(62,108,r.s.values[r.values.Plan_berechnet]*r.basis.values[r.values.November]/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(65,111,r.basis.values[r.values.November],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(68,114,r.s.values[r.values.Plan_berechnet]*r.diffyear(r.basis)/100,"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(71,117,r.diffyear(r.basis),"1.1-1"),"\n"))},dependencies:[ht]}),e})(),n3=(()=>{class e{constructor(t){this.el=t,this.values=N,this.seasonal=[0,0,0,0,0,0,0,0,0,0,0,0],this.display=!1}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumyear(t){for(var r=0,i=this.values.Januar;i<=this.values.Dezember;i++)r+=t.values[i];return r}diffyear(t){for(var r=0,i=this.values.Januar;i<this.values.Dezember;i++)r+=t.values[i];return this.s.values[this.values.Plan_berechnet]-r}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-seasonal-m"]],inputs:{s:"s",basis:"basis",seasonal:"seasonal",display:"display"},decls:61,vars:87,consts:[[1,"text-right","form-M","seasonal",3,"hidden"],["type","number",1,"text-right","input-md",3,"ngModel","ngModelChange"],[1,"text-right","form-M","percent","seasonal",3,"hidden"]],template:function(t,r){1&t&&(f(0,"td",0)(1,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Januar]=o}),h()(),f(2,"td",2),m(3),C(4,"number"),h(),f(5,"td",0)(6,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Februar]=o}),h()(),f(7,"td",2),m(8),C(9,"number"),h(),f(10,"td",0)(11,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Maerz]=o}),h()(),f(12,"td",2),m(13),C(14,"number"),h(),f(15,"td",0)(16,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.April]=o}),h()(),f(17,"td",2),m(18),C(19,"number"),h(),f(20,"td",0)(21,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Mai]=o}),h()(),f(22,"td",2),m(23),C(24,"number"),h(),f(25,"td",0)(26,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Juni]=o}),h()(),f(27,"td",2),m(28),C(29,"number"),h(),f(30,"td",0)(31,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Juli]=o}),h()(),f(32,"td",2),m(33),C(34,"number"),h(),f(35,"td",0)(36,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.August]=o}),h()(),f(37,"td",2),m(38),C(39,"number"),h(),f(40,"td",0)(41,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.September]=o}),h()(),f(42,"td",2),m(43),C(44,"number"),h(),f(45,"td",0)(46,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Oktober]=o}),h()(),f(47,"td",2),m(48),C(49,"number"),h(),f(50,"td",0)(51,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.November]=o}),h()(),f(52,"td",2),m(53),C(54,"number"),h(),f(55,"td",0),m(56),C(57,"number"),h(),f(58,"td",2),m(59),C(60,"number"),h()),2&t&&(g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Januar]),c(1),g("hidden",!r.display),c(1),F(" ",b(4,48,100*r.s.values[r.values.Januar]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Februar]),c(1),g("hidden",!r.display),c(1),F(" ",b(9,51,100*r.s.values[r.values.Februar]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Maerz]),c(1),g("hidden",!r.display),c(1),F(" ",b(14,54,100*r.s.values[r.values.Maerz]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.April]),c(1),g("hidden",!r.display),c(1),F(" ",b(19,57,100*r.s.values[r.values.April]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Mai]),c(1),g("hidden",!r.display),c(1),F(" ",b(24,60,100*r.s.values[r.values.Mai]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Juni]),c(1),g("hidden",!r.display),c(1),F(" ",b(29,63,100*r.s.values[r.values.Juni]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Juli]),c(1),g("hidden",!r.display),c(1),F(" ",b(34,66,100*r.s.values[r.values.Juli]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.August]),c(1),g("hidden",!r.display),c(1),F(" ",b(39,69,100*r.s.values[r.values.August]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.September]),c(1),g("hidden",!r.display),c(1),F(" ",b(44,72,100*r.s.values[r.values.September]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Oktober]),c(1),g("hidden",!r.display),c(1),F(" ",b(49,75,100*r.s.values[r.values.Oktober]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.November]),c(1),g("hidden",!r.display),c(1),F(" ",b(54,78,100*r.s.values[r.values.November]/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(57,81,r.diffyear(r.s),"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),F(" ",b(60,84,100*r.diffyear(r.s)/r.s.values[r.values.Plan_berechnet],"1.1-1"),"\n"))},dependencies:[_t,Ut,Ft,Ct,ht]}),e})(),r3=(()=>{class e{constructor(t){this.el=t,this.values=N,this.value=0,this.seasonal=[0,0,0,0,0,0,0,0,0,0,0,0],this.display=!1}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumyear(t){for(var r=0,i=this.values.Januar;i<=this.values.Dezember;i++)r+=t.values[i];return r}diffyear(t){for(var r=0,i=this.values.Januar;i<this.values.Dezember;i++)r+=t.values[i];return 100-r}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-seasonal-p"]],inputs:{value:"value",s:"s",seasonal:"seasonal",display:"display"},decls:61,vars:87,consts:[[1,"text-right","seasonal",3,"hidden"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"],[1,"text-right","percent","seasonal",3,"hidden"]],template:function(t,r){1&t&&(f(0,"td",0),m(1),C(2,"number"),h(),f(3,"td",0)(4,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Januar]=o}),h()(),f(5,"td",0),m(6),C(7,"number"),h(),f(8,"td",0)(9,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Februar]=o}),h()(),f(10,"td",0),m(11),C(12,"number"),h(),f(13,"td",0)(14,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Maerz]=o}),h()(),f(15,"td",0),m(16),C(17,"number"),h(),f(18,"td",0)(19,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.April]=o}),h()(),f(20,"td",0),m(21),C(22,"number"),h(),f(23,"td",0)(24,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Mai]=o}),h()(),f(25,"td",0),m(26),C(27,"number"),h(),f(28,"td",0)(29,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Juni]=o}),h()(),f(30,"td",0),m(31),C(32,"number"),h(),f(33,"td",0)(34,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Juli]=o}),h()(),f(35,"td",0),m(36),C(37,"number"),h(),f(38,"td",0)(39,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.August]=o}),h()(),f(40,"td",0),m(41),C(42,"number"),h(),f(43,"td",0)(44,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.September]=o}),h()(),f(45,"td",0),m(46),C(47,"number"),h(),f(48,"td",0)(49,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Oktober]=o}),h()(),f(50,"td",0),m(51),C(52,"number"),h(),f(53,"td",0)(54,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.November]=o}),h()(),f(55,"td",0),m(56),C(57,"number"),h(),f(58,"td",2),m(59),C(60,"number"),h()),2&t&&(g("hidden",!r.display),c(1),T(b(2,48,r.value*(r.s.values[r.values.Januar]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Januar]),c(1),g("hidden",!r.display),c(1),T(b(7,51,r.value*(r.s.values[r.values.Februar]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Februar]),c(1),g("hidden",!r.display),c(1),T(b(12,54,r.value*(r.s.values[r.values.Maerz]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Maerz]),c(1),g("hidden",!r.display),c(1),T(b(17,57,r.value*(r.s.values[r.values.April]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.April]),c(1),g("hidden",!r.display),c(1),T(b(22,60,r.value*(r.s.values[r.values.Mai]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Mai]),c(1),g("hidden",!r.display),c(1),T(b(27,63,r.value*(r.s.values[r.values.Juni]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Juni]),c(1),g("hidden",!r.display),c(1),T(b(32,66,r.value*(r.s.values[r.values.Juli]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Juli]),c(1),g("hidden",!r.display),c(1),T(b(37,69,r.value*(r.s.values[r.values.August]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.August]),c(1),g("hidden",!r.display),c(1),T(b(42,72,r.value*(r.s.values[r.values.September]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.September]),c(1),g("hidden",!r.display),c(1),T(b(47,75,r.value*(r.s.values[r.values.Oktober]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Oktober]),c(1),g("hidden",!r.display),c(1),T(b(52,78,r.value*(r.s.values[r.values.November]/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.November]),c(1),g("hidden",!r.display),c(1),T(b(57,81,r.value*(r.diffyear(r.s)/100),"1.0-0")),c(2),g("hidden",!r.display),c(1),T(b(60,84,r.diffyear(r.s),"1.1-1")))},dependencies:[_t,Ut,Ft,Ct,ht]}),e})(),i3=(()=>{class e{constructor(t){this.el=t,this.values=N,this.seasonal=[0,0,0,0,0,0,0,0,0,0,0,0],this.display=!1}ngOnInit(){for(var t=this.el.nativeElement,r=t.parentElement;t.firstChild;)r.insertBefore(t.firstChild,t);r.removeChild(t)}sumyear(t){for(var r=0,i=this.values.Januar;i<=this.values.Dezember;i++)r+=t.values[i];return r}diffyear(t){for(var r=0,i=this.values.Januar;i<this.values.Dezember;i++)r+=t.values[i];return t.values[this.values.Plan_Stk]-r}}return e.\u0275fac=function(t){return new(t||e)(E(pe))},e.\u0275cmp=Te({type:e,selectors:[["app-seasonal-q"]],inputs:{s:"s",basis:"basis",seasonal:"seasonal",display:"display"},decls:61,vars:87,consts:[[1,"text-right","form-Q","seasonal",3,"hidden"],["type","number",1,"text-right","input-sm",3,"ngModel","ngModelChange"],[1,"text-right","form-Q","percent","seasonal",3,"hidden"]],template:function(t,r){1&t&&(f(0,"td",0),m(1),C(2,"number"),h(),f(3,"td",0)(4,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Januar]=o}),h()(),f(5,"td",0),m(6),C(7,"number"),h(),f(8,"td",0)(9,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Februar]=o}),h()(),f(10,"td",0),m(11),C(12,"number"),h(),f(13,"td",0)(14,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Maerz]=o}),h()(),f(15,"td",0),m(16),C(17,"number"),h(),f(18,"td",0)(19,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.April]=o}),h()(),f(20,"td",0),m(21),C(22,"number"),h(),f(23,"td",0)(24,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Mai]=o}),h()(),f(25,"td",0),m(26),C(27,"number"),h(),f(28,"td",0)(29,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Juni]=o}),h()(),f(30,"td",0),m(31),C(32,"number"),h(),f(33,"td",0)(34,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Juli]=o}),h()(),f(35,"td",0),m(36),C(37,"number"),h(),f(38,"td",0)(39,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.August]=o}),h()(),f(40,"td",0),m(41),C(42,"number"),h(),f(43,"td",0)(44,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.September]=o}),h()(),f(45,"td",0),m(46),C(47,"number"),h(),f(48,"td",0)(49,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.Oktober]=o}),h()(),f(50,"td",0),m(51),C(52,"number"),h(),f(53,"td",0)(54,"input",1),P("ngModelChange",function(o){return r.s.values[r.values.November]=o}),h()(),f(55,"td",0),m(56),C(57,"number"),h(),f(58,"td",2),m(59),C(60,"number"),h()),2&t&&(g("hidden",!r.display),c(1),F(" ",b(2,48,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.Januar],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Januar]),c(1),g("hidden",!r.display),c(1),F(" ",b(7,51,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.Februar],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Februar]),c(1),g("hidden",!r.display),c(1),F(" ",b(12,54,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.Maerz],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Maerz]),c(1),g("hidden",!r.display),c(1),F(" ",b(17,57,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.April],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.April]),c(1),g("hidden",!r.display),c(1),F(" ",b(22,60,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.Mai],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Mai]),c(1),g("hidden",!r.display),c(1),F(" ",b(27,63,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.Juni],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Juni]),c(1),g("hidden",!r.display),c(1),F(" ",b(32,66,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.Juli],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Juli]),c(1),g("hidden",!r.display),c(1),F(" ",b(37,69,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.August],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.August]),c(1),g("hidden",!r.display),c(1),F(" ",b(42,72,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.September],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.September]),c(1),g("hidden",!r.display),c(1),F(" ",b(47,75,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.Oktober],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.Oktober]),c(1),g("hidden",!r.display),c(1),F(" ",b(52,78,r.s.values[r.values.Plan_Stk]*r.s.values[r.values.November],"1.0-0"),"\n"),c(2),g("hidden",!r.display),c(1),g("ngModel",r.s.values[r.values.November]),c(1),g("hidden",!r.display),c(1),T(b(57,81,r.s.values[r.values.Plan_Stk]*r.diffyear(r.s),"1.0-0")),c(2),g("hidden",!r.display),c(1),T(b(60,84,r.diffyear(r.s),"1.1-1")))},dependencies:[_t,Ut,Ft,Ct,ht]}),e})();function o3(e){return()=>e.load()}let s3=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=kt({type:e,bootstrap:[kk]}),e.\u0275inj=wt({providers:[{provide:gn,useValue:"de"},{provide:wo,useFactory:o3,deps:[Xo],multi:!0}],imports:[zP,hN,mF,Ok]}),e})();(function wh(e,n,t){const r=e.\u0275cmp;r.directiveDefs=()=>("function"==typeof n?n():n).map(Eh),r.pipeDefs=()=>("function"==typeof t?t():t).map(st)})(xf,[md,vd,yd,K1,_t,Ut,Vd,Ft,F1,Ct,Ba,Gk,Wk,qk,Jk,Kk,Qk,Zk,Yk,Xk,e3,t3,n3,r3,i3],[ht]),UP().bootstrapModule(s3).catch(e=>console.error(e))}},ge=>{ge(ge.s=741)}]);
|