vendor: 5,053 bytes, lines 1-3
1import{a as g,b as R}from"./chunk-2NFLSA4Y.js";function b(e){return typeof e=="function"}function Vv(e){return b(e?.lift)}function L(e){return n=>{if(Vv(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 Wn(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var yi=Wn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription: 2${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(` 3 `)}`:"",this.name="UnsubscriptionError",this.errors=t});function Kr(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var ue=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(b(r))try{r()}catch(i){n=i instanceof yi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{gf(i)}catch(s){n=n??[],s instanceof yi?n=[...n,...s.errors]:n.push(s)}}if(n)throw new yi(n)}}add(n){var t;if(n&&n!==this)if(this.closed)gf(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Kr(t,n)}remove(n){let{_finalizers:t}=this;t&&Kr(t,n),n instanceof e&&n._removeParent(this)}};ue.EMPTY=(()=>{let e=new ue;return e.closed=!0,e})();var ic=ue.EMPTY;function vi(e){return e instanceof ue||e&&"closed"in e&&b(e.remove)&&b(e.add)&&b(e.unsubscribe)}function gf(e){b(e)?e():e.unsubscribe()}var $e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var qn={setTimeout(e,n,...t){let{delegate:r}=qn;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=qn;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Di(e){qn.setTimeout(()=>{let{onUnhandledError:n}=$e;if(n)n(e);else throw e})}function Jr(){}var mf=sc("C",void 0,void 0);function yf(e){return sc("E",void 0,e)}function vf(e){return sc("N",e,void 0)}function sc(e,n,t){return{kind:e,value:n,error:t}}var cn=null;function Zn(e){if($e.useDeprecatedSynchronousErrorHandling){let n=!cn;if(n&&(cn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=cn;if(cn=null,t)throw r}}else e()}function Df(e){$e.useDeprecatedSynchronousErrorHandling&&cn&&(cn.errorThrown=!0,cn.error=e)}var un=class extends ue{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,vi(n)&&n.add(this)):this.destination=Hv}static create(n,t,r){return new Yn(n,t,r)}next(n){this.isStopped?cc(vf(n),this):this._next(n)}error(n){this.isStopped?cc(yf(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?cc(mf,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()}}},Bv=Function.prototype.bind;function ac(e,n){return Bv.call(e,n)}var uc=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Ei(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Ei(r)}else Ei(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Ei(t)}}},Yn=class extends un{constructor(n,t,r){super();let o;if(b(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&$e.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&ac(n.next,i),error:n.error&&ac(n.error,i),complete:n.complete&&ac(n.complete,i)}):o=n}this.destination=new uc(o)}};function Ei(e){$e.useDeprecatedSynchronousErrorHandling?Df(e):Di(e)}function Uv(e){throw e}function cc(e,n){let{onStoppedNotification:t}=$e;t&&qn.setTimeout(()=>t(e,n))}var Hv={closed:!0,next:Jr,error:Uv,complete:Jr};function j(e,n,t,r,o){return new lc(e,n,t,r,o)}var lc=class extends un{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}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()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};
vendor: 4,242 bytes, line 3
3function V(e,n){return L((t,r)=>{let o=0;t.subscribe(j(r,i=>{r.next(e.call(n,i,o++))}))})}var Qn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ze(e){return e}function dc(...e){return fc(e)}function fc(e){return e.length===0?ze:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var F=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=zv(t)?t:new Yn(t,r,o);return Zn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=Ef(r),new r((o,i)=>{let s=new Yn({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[Qn](){return this}pipe(...t){return fc(t)(this)}toPromise(t){return t=Ef(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Ef(e){var n;return(n=e??$e.Promise)!==null&&n!==void 0?n:Promise}function $v(e){return e&&b(e.next)&&b(e.error)&&b(e.complete)}function zv(e){return e&&e instanceof un||$v(e)&&vi(e)}var Cf=Wn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=(()=>{class e extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Ci(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Cf}next(t){Zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((t=this.observers)===null||t===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ic:(this.currentObservers=null,i.push(t),new ue(()=>{this.currentObservers=null,Kr(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new F;return t.source=this,t}}return e.create=(n,t)=>new Ci(n,t),e})(),Ci=class extends ne{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:ic}};var le=class extends ne{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var de=new F(e=>e.complete());function If(e){return e&&b(e.schedule)}function wf(e){return e[e.length-1]}function Ii(e){return b(wf(e))?e.pop():void 0}function Bt(e){return If(wf(e))?e.pop():void 0}function bf(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,n||[])).next())})}function _f(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);
vendor: 5,747 bytes, line 3
3if(e&&typeof e.length=="number")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.")}function ln(e){return this instanceof ln?(this.v=e,this):new ln(e)}function Mf(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(v){return new Promise(function(D,E){i.push([f,v,D,E])>1||c(f,v)})},m&&(o[f]=m(o[f])))}function c(f,m){try{u(r[f](m))}catch(v){h(i[0][3],v)}}function u(f){f.value instanceof ln?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Tf(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof _f=="function"?_f(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Kn=e=>e&&typeof e.length=="number"&&typeof e!="function";function wi(e){return b(e?.then)}function _i(e){return b(e[Qn])}function bi(e){return Symbol.asyncIterator&&b(e?.[Symbol.asyncIterator])}function Mi(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Gv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ti=Gv();function Si(e){return b(e?.[Ti])}function Ai(e){return Mf(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield ln(t.read());if(o)return yield ln(void 0);yield yield ln(r)}}finally{t.releaseLock()}})}function Ni(e){return b(e?.getReader)}function Q(e){if(e instanceof F)return e;if(e!=null){if(_i(e))return Wv(e);if(Kn(e))return qv(e);if(wi(e))return Zv(e);if(bi(e))return Sf(e);if(Si(e))return Yv(e);if(Ni(e))return Qv(e)}throw Mi(e)}function Wv(e){return new F(n=>{let t=e[Qn]();if(b(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qv(e){return new F(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function Zv(e){return new F(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Di)})}function Yv(e){return new F(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Sf(e){return new F(n=>{Kv(e,n).catch(t=>n.error(t))})}function Qv(e){return Sf(Ai(e))}function Kv(e,n){var t,r,o,i;return bf(this,void 0,void 0,function*(){try{for(t=Tf(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function we(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ri(e,n=0){return L((t,r)=>{t.subscribe(j(r,o=>we(r,e,()=>r.next(o),n),()=>we(r,e,()=>r.complete(),n),o=>we(r,e,()=>r.error(o),n)))})}function xi(e,n=0){return L((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Af(e,n){return Q(e).pipe(xi(n),Ri(n))}function Nf(e,n){return Q(e).pipe(xi(n),Ri(n))}function Rf(e,n){return new F(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function xf(e,n){return new F(t=>{let r;return we(t,n,()=>{r=e[Ti](),we(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>b(r?.return)&&r.return()})}function Oi(e,n){if(!e)throw new Error("Iterable cannot be null");return new F(t=>{we(t,n,()=>{let r=e[Symbol.asyncIterator]();we(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Of(e,n){return Oi(Ai(e),n)}function Ff(e,n){if(e!=null){if(_i(e))return Af(e,n);if(Kn(e))return Rf(e,n);if(wi(e))return Nf(e,n);if(bi(e))return Oi(e,n);if(Si(e))return xf(e,n);if(Ni(e))return Of(e,n)}throw Mi(e)}function J(e,n){return n?Ff(e,n):Q(e)}function O(...e){let n=Bt(e);return J(e,n)}function hc(e,n){let t=b(e)?e:()=>e,r=o=>o.error(t());return new F(n?o=>n.schedule(r,0,o):r)}function Fi(e){return!!e&&(e instanceof F||b(e.lift)&&b(e.subscribe))}var dn=Wn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});var{isArray:Jv}=Array;function Xv(e,n){return Jv(n)?e(...n):e(n)}function Jn(e){return V(n=>Xv(e,n))}var{isArray:eD}=Array,{getPrototypeOf:tD,prototype:nD,keys:rD}=Object;function ki(e){if(e.length===1){let n=e[0];if(eD(n))return{args:n,keys:null};if(oD(n)){let t=rD(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function oD(e){return e&&typeof e=="object"&&tD(e)===nD}function Pi(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function pc(...e){let n=Bt(e),t=Ii(e),{args:r,keys:o}=ki(e);if(r.length===0)return J([],n);let i=new F(iD(r,n,o?s=>Pi(o,s):ze));return t?i.pipe(Jn(t)):i}function iD(e,n,t=ze){return r=>{kf(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)kf(n,()=>{let u=J(e[c],n),l=!1;u.subscribe(j(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}
vendor: 4,118 bytes, line 3
3))},r)},r)}}function kf(e,n,t){e?we(t,e,n):n()}function Pf(e,n,t,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&n.complete()},f=v=>u<r?m(v):c.push(v),m=v=>{i&&n.next(v),u++;let D=!1;Q(t(v,l++)).subscribe(j(n,E=>{o?.(E),i?f(E):n.next(E)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){let E=c.shift();s?we(n,s,()=>m(E)):m(E)}h()}catch(E){n.error(E)}}))};return e.subscribe(j(n,f,()=>{d=!0,h()})),()=>{a?.()}}function ae(e,n,t=1/0){return b(n)?ae((r,o)=>V((i,s)=>n(r,i,o,s))(Q(e(r,o))),t):(typeof n=="number"&&(t=n),L((r,o)=>Pf(r,o,e,t)))}function Xn(e=1/0){return ae(ze,e)}function Lf(){return Xn(1)}function er(...e){return Lf()(J(e,Bt(e)))}function Xr(e){return new F(n=>{Q(e()).subscribe(n)})}function gc(...e){let n=Ii(e),{args:t,keys:r}=ki(e),o=new F(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;Q(t[l]).subscribe(j(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Pi(r,a):a),i.complete())}))}});return n?o.pipe(Jn(n)):o}var sD=["addListener","removeListener"],aD=["addEventListener","removeEventListener"],cD=["on","off"];function mc(e,n,t,r){if(b(t)&&(r=t,t=void 0),r)return mc(e,n,t).pipe(Jn(r));let[o,i]=dD(e)?aD.map(s=>a=>e[s](n,a,t)):uD(e)?sD.map(jf(e,n)):lD(e)?cD.map(jf(e,n)):[];if(!o&&Kn(e))return ae(s=>mc(s,n,t))(Q(e));if(!o)throw new TypeError("Invalid event target");return new F(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function jf(e,n){return t=>r=>e[t](n,r)}function uD(e){return b(e.addListener)&&b(e.removeListener)}function lD(e){return b(e.on)&&b(e.off)}function dD(e){return b(e.addEventListener)&&b(e.removeEventListener)}function xe(e,n){return L((t,r)=>{let o=0;t.subscribe(j(r,i=>e.call(n,i,o++)&&r.next(i)))})}function tr(e){return L((n,t)=>{let r=null,o=!1,i;r=n.subscribe(j(t,void 0,void 0,s=>{i=Q(e(s,tr(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function fn(e,n){return b(n)?ae(e,n,1):ae(e,1)}function Vf(e){return L((n,t)=>{let r=!1;n.subscribe(j(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function vt(e){return e<=0?()=>de:L((n,t)=>{let r=0;n.subscribe(j(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Bf(e=fD){return L((n,t)=>{let r=!1;n.subscribe(j(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function fD(){return new dn}function eo(e){return L((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Dt(e,n){let t=arguments.length>=2;return r=>r.pipe(e?xe((o,i)=>e(o,i,r)):ze,vt(1),t?Vf(n):Bf(()=>new dn))}function Li(e){return e<=0?()=>de:L((n,t)=>{let r=[];n.subscribe(j(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function yc(...e){let n=Bt(e);return L((t,r)=>{(n?er(e,t,n):er(e,t)).subscribe(r)})}function Ge(e,n){return L((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(j(r,c=>{o?.unsubscribe();let u=0,l=i++;Q(e(c,l)).subscribe(o=j(r,d=>r.next(n?n(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function to(e){return L((n,t)=>{Q(e).subscribe(j(t,()=>t.complete(),Jr)),!t.closed&&n.subscribe(t)})}function We(e,n,t){let r=b(e)||n||t?{next:e,error:n,complete:t}:e;return r?L((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(j(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ze}var ge=null,ji=!1,Cc=1,hD=null,ce=Symbol("SIGNAL");function w(e){let n=ge;return ge=e,n}function Bi(){return ge}var nr={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function rr(e){if(ji)throw new Error("");
vendor: 2,106 bytes, line 3
3if(ge===null)return;ge.consumerOnSignalRead(e);let n=ge.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=ge.recomputing;if(r&&(t=n!==void 0?n.nextProducer:ge.producers,t!==void 0&&t.producer===e)){ge.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ge&&(!r||gD(o,ge)))return;let i=ir(ge),s={producer:e,consumer:ge,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ge.producersTail=s,n!==void 0?n.nextProducer=s:ge.producers=s,i&&zf(e,s)}function Uf(){Cc++}function Ic(e){if(!(ir(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Cc)){if(!e.producerMustRecompute(e)&&!ro(e)){Ec(e);return}e.producerRecomputeValue(e),Ec(e)}}function wc(e){if(e.consumers===void 0)return;let n=ji;ji=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||pD(r)}}finally{ji=n}}function _c(){return ge?.consumerAllowSignalWrites!==!1}function pD(e){e.dirty=!0,wc(e),e.consumerMarkedDirty?.(e)}function Ec(e){e.dirty=!1,e.lastCleanEpoch=Cc}function or(e){return e&&Hf(e),w(e)}function Hf(e){e.producersTail=void 0,e.recomputing=!0}function no(e,n){w(n),e&&$f(e)}function $f(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(ir(e))do t=bc(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function ro(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(Ic(t),r!==t.version))return!0}return!1}function hn(e){if(ir(e)){let n=e.producers;for(;n!==void 0;)n=bc(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function zf(e,n){let t=e.consumersTail,r=ir(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)zf(o.producer,o)}function bc(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)
vendor: 12,421 bytes, lines 3-4
3o.nextConsumer=r;else if(n.consumers=r,!ir(n)){let i=n.producers;for(;i!==void 0;)i=bc(i)}return t}function ir(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Mc(e){hD?.(e)}function gD(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function Tc(e,n){return Object.is(e,n)}function oo(e,n){let t=Object.create(mD);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Ic(t),rr(t),t.value===Vi)throw t.error;return t.value};return r[ce]=t,Mc(t),r}var vc=Symbol("UNSET"),Dc=Symbol("COMPUTING"),Vi=Symbol("ERRORED"),mD=R(g({},nr),{value:vc,dirty:!0,error:null,equal:Tc,kind:"computed",producerMustRecompute(e){return e.value===vc||e.value===Dc},producerRecomputeValue(e){if(e.value===Dc)throw new Error("");let n=e.value;e.value=Dc;let t=or(e),r,o=!1;try{r=e.computation(),w(null),o=n!==vc&&n!==Vi&&r!==Vi&&e.equal(n,r)}catch(i){r=Vi,e.error=i}finally{no(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function yD(){throw new Error}var Gf=yD;function Wf(e){Gf(e)}function Sc(e){Gf=e}var vD=null;function Ac(e,n){let t=Object.create(Ui);t.value=e,n!==void 0&&(t.equal=n);let r=()=>qf(t);return r[ce]=t,Mc(t),[r,s=>sr(t,s),s=>Zf(t,s)]}function qf(e){return rr(e),e.value}function sr(e,n){_c()||Wf(e),e.equal(e.value,n)||(e.value=n,DD(e))}function Zf(e,n){_c()||Wf(e),sr(e,n(e.value))}var Ui=R(g({},nr),{equal:Tc,value:void 0,kind:"signal"});function DD(e){e.version++,Uf(),wc(e),vD?.(e)}function Nc(e){let n=w(null);try{return e()}finally{w(n)}}var Rc=R(g({},nr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function xc(e){if(e.dirty=!1,e.version>0&&!ro(e))return;e.version++;let n=or(e);try{e.cleanup(),e.fn()}finally{no(e,n)}}var Oc;function Hi(){return Oc}function nt(e){let n=Oc;return Oc=e,n}var Yf=Symbol("NotFound");function ar(e){return e===Yf||e?.name==="\u0275NotFound"}var Yi="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",y=class extends Error{code;constructor(n,t){super(rt(n,t)),this.code=n}};function ED(e){return`NG0${Math.abs(e)}`}function rt(e,n){return`${ED(e)}${n?": "+n:""}`}var vn=globalThis;function B(e){for(let n in e)if(e[n]===B)return n;throw Error("")}function eh(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Ct(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ct).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(` 4`);return r>=0?t.slice(0,r):t}function Wc(e,n){return e?n?`${e} ${n}`:e:n||""}var CD=B({__forward_ref__:B});function Fe(e){return e.__forward_ref__=Fe,e.toString=function(){return Ct(this())},e}function fe(e){return qc(e)?e():e}function qc(e){return typeof e=="function"&&e.hasOwnProperty(CD)&&e.__forward_ref__===Fe}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ot(e){return{providers:e.providers||[],imports:e.imports||[]}}function fo(e){return ID(e,Qi)}function Zc(e){return fo(e)!==null}function ID(e,n){return e.hasOwnProperty(n)&&e[n]||null}function wD(e){let n=e?.[Qi]??null;return n||null}function kc(e){return e&&e.hasOwnProperty(zi)?e[zi]:null}var Qi=B({\u0275prov:B}),zi=B({\u0275inj:B}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=C({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Yc(e){return e&&!!e.\u0275providers}var Qc=B({\u0275cmp:B}),Kc=B({\u0275dir:B}),Jc=B({\u0275pipe:B}),Xc=B({\u0275mod:B}),so=B({\u0275fac:B}),Dn=B({__NG_ELEMENT_ID__:B}),Qf=B({__NG_ENV_ID__:B});function eu(e){return Ki(e,"@NgModule"),e[Xc]||null}function zt(e){return Ki(e,"@Component"),e[Qc]||null}function tu(e){return Ki(e,"@Directive"),e[Kc]||null}function th(e){return Ki(e,"@Pipe"),e[Jc]||null}function Ki(e,n){if(e==null)throw new y(-919,!1)}function ur(e){return typeof e=="string"?e:e==null?"":String(e)}var nh=B({ngErrorCode:B}),_D=B({ngErrorMessage:B}),bD=B({ngTokenPath:B});function nu(e,n){return rh("",-200,n)}function Ji(e,n){throw new y(-201,!1)}function rh(e,n,t){let r=new y(n,e);return r[nh]=n,r[_D]=e,t&&(r[bD]=t),r}function MD(e){return e[nh]}var Pc;function oh(){return Pc}function ye(e){let n=Pc;return Pc=e,n}function ru(e,n,t){let r=fo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;Ji(e,"")}var TD={},pn=TD,SD="__NG_DI_FLAG__",Lc=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=gn(t)||0;try{return this.injector.get(n,r&8?null:pn,r)}catch(o){if(ar(o))return o;throw o}}};function AD(e,n=0){let t=Hi();if(t===void 0)throw new y(-203,!1);if(t===null)return ru(e,void 0,n);{let r=ND(n),o=t.retrieve(e,r);if(ar(o)){if(r.optional)return null;throw o}return o}}function M(e,n=0){return(oh()||AD)(fe(e),n)}function p(e,n){return M(e,gn(n))}function gn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ND(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function jc(e){let n=[];for(let t=0;t<e.length;t++){let r=fe(e[t]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=RD(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(M(o,i))}else n.push(M(r))}return n}function RD(e){return e[SD]}function Ut(e,n){let t=e.hasOwnProperty(so);return t?e[so]:null}function ih(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function sh(e){return e.flat(Number.POSITIVE_INFINITY)}function Xi(e,n){e.forEach(t=>Array.isArray(t)?Xi(t,n):n(t))}function ou(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ho(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ah(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function ch(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function uh(e,n,t){let r=lr(e,n);return r>=0?e[r|1]=t:(r=~r,ch(e,r,n,t)),r}function es(e,n){let t=lr(e,n);if(t>=0)return e[t|1]}function lr(e,n){return xD(e,n,1)}function xD(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var Gt={},_e=[],En=new I(""),iu=new I("",-1),su=new I(""),ao=class{get(n,t=pn){if(t===pn){let o=rh("",-201);throw o.name="\u0275NotFound",o}return t}};function wt(e){return{\u0275providers:e}}function lh(e){return wt([{provide:En,multi:!0,useValue:e}])}function dh(...e){return{\u0275providers:au(!0,e),\u0275fromNgModule:!0}}function au(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return Xi(n,s=>{let a=s;Gi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&fh(o,i),t}function fh(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];cu(o,i=>{n(i,r)})}}function Gi(e,n,t,r){if(e=fe(e),!e)return!1;let o=null,i=kc(e),s=!i&&zt(e);if(!i&&!s){let c=e.ngModule;if(i=kc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Gi(u,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Xi(i.imports,l=>{Gi(l,n,t,r)&&(u||=[],u.push(l))}),u!==void 0&&fh(u,n)}if(!a){let u=Ut(o)||(()=>new o);n({provide:o,useFactory:u,deps:_e},o),n({provide:su,useValue:o,multi:!0},o),n({provide:En,useValue:()=>M(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;cu(c,l=>{n(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function cu(e,n){for(let t of e)Yc(t)&&(t=t.\u0275providers),Array.isArray(t)?cu(t,n):n(t)}var OD=B({provide:String,useValue:B});function hh(e){return e!==null&&typeof e=="object"&&OD in e}function FD(e){return!!(e&&e.useExisting)}function kD(e){return!!(e&&e.useFactory)}function mn(e){return typeof e=="function"}function ph(e){return!!e.useClass}var po=new I(""),$i={},Kf={},Fc;function go(){return Fc===void 0&&(Fc=new ao),Fc}var q=class{},yn=class extends q{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Bc(n,s=>this.processProvider(s)),this.records.set(iu,cr(void 0,this)),o.has("environment")&&this.records.set(q,cr(void 0,this));let i=this.records.get(po);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(su,_e,{self:!0}))}retrieve(n,t){let r=gn(t)||0;try{return this.get(n,pn,r)}catch(o){if(ar(o))return o;throw o}}destroy(){io(this),this._destroyed=!0;let n=w(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),w(n)}}onDestroy(n){return io(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){io(this);let t=nt(this),r=ye(void 0),o;try{return n()}finally{nt(t),ye(r)}}get(n,t=pn,r){if(io(this),n.hasOwnProperty(Qf))return n[Qf](this);let o=gn(r),i,s=nt(this),a=ye(void 0);try{if(!(o&4)){let u=this.records.get(n);if(u===void 0){let l=BD(n)&&fo(n);l&&this.injectableDefInScope(l)?u=cr(Vc(n),$i):u=null,this.records.set(n,u)}if(u!=null)return this.hydrate(n,u,o)}let c=o&2?go():this.parent;return t=o&8&&t===pn?null:t,c.get(n,t)}catch(c){let u=MD(c);throw u===-200||u===-201?new y(u,null):c}finally{ye(a),nt(s)}}resolveInjectorInitializers(){let n=w(null),t=nt(this),r=ye(void 0),o;try{let i=this.get(En,_e,{self:!0});for(let s of i)s()}finally{nt(t),ye(r),w(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(Ct(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=fe(n);let t=mn(n)?n:fe(n&&n.provide),r=LD(n);if(!mn(n)&&n.multi===!0){let o=this.records.get(t);o||(o=cr(void 0,$i,!0),o.factory=()=>jc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=w(null);try{if(t.value===Kf)throw nu(Ct(n));return t.value===$i&&(t.value=Kf,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&VD(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{w(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=fe(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Vc(e){let n=fo(e),t=n!==null?n.factory:Ut(e);if(t!==null)return t;if(e instanceof I)throw new y(204,!1);if(e instanceof Function)return PD(e);throw new y(204,!1)}function PD(e){if(e.length>0)throw new y(204,!1);let t=wD(e);return t!==null?()=>t.factory(e):()=>new e}function LD(e){if(hh(e))return cr(void 0,e.useValue);{let n=uu(e);return cr(n,$i)}}function uu(e,n,t){let r;if(mn(e)){let o=fe(e);return Ut(o)||Vc(o)}else if(hh(e))r=()=>fe(e.useValue);else if(kD(e))r=()=>e.useFactory(...jc(e.deps||[]));else if(FD(e))r=(o,i)=>M(fe(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=fe(e&&(e.useClass||e.provide));if(jD(e))r=()=>new o(...jc(e.deps));else return Ut(o)||Vc(o)}return r}function io(e){if(e.destroyed)throw new y(205,!1)}function cr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function jD(e){return!!e.deps}function VD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function BD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Bc(e,n){for(let t of e)Array.isArray(t)?Bc(t,n):t&&Yc(t)?Bc(t.\u0275providers,n):n(t)}function oe(e,n){let t;e instanceof yn?(io(e),t=e):t=new Lc(e);let r,o=nt(t),i=ye(void 0);try{return n()}finally{nt(o),ye(i)}}function gh(){return oh()!==void 0||Hi()!=null}var qe=0,_=1,T=2,re=3,ke=4,De=5,Cn=6,dr=7,ee=8,_t=9,it=10,$=11,fr=12,lu=13,In=14,Ee=15,Wt=16,wn=17,st=18,bt=19,du=20,Et=21,ts=22,Ht=23,Me=24,_n=25,bn=26,G=27,mh=1,fu=6,qt=7,mo=8,Mn=9,K=10;function at(e){return Array.isArray(e)&&typeof e[mh]=="object"}function Ze(e){return Array.isArray(e)&&e[mh]===!0}function hu(e){return(e.flags&4)!==0}
vendor: 4,499 bytes, line 4
4function Zt(e){return e.componentOffset>-1}function hr(e){return(e.flags&1)===1}function ct(e){return!!e.template}function pr(e){return(e[T]&512)!==0}function Tn(e){return(e[T]&256)===256}var pu="svg",yh="math";function Pe(e){for(;Array.isArray(e);)e=e[qe];return e}function gu(e,n){return Pe(n[e])}function Ye(e,n){return Pe(n[e.index])}function yo(e,n){return e.data[n]}function mu(e,n){return e[n]}function yu(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Le(e,n){let t=n[e];return at(t)?t:t[qe]}function vh(e){return(e[T]&4)===4}function ns(e){return(e[T]&128)===128}function Dh(e){return Ze(e[re])}function je(e,n){return n==null?null:e[n]}function vu(e){e[wn]=0}function Du(e){e[T]&1024||(e[T]|=1024,ns(e)&&Sn(e))}function Eh(e,n){for(;e>0;)n=n[In],e--;return n}function vo(e){return!!(e[T]&9216||e[Me]?.dirty)}function rs(e){e[it].changeDetectionScheduler?.notify(8),e[T]&64&&(e[T]|=1024),vo(e)&&Sn(e)}function Sn(e){e[it].changeDetectionScheduler?.notify(0);let n=$t(e);for(;n!==null&&!(n[T]&8192||(n[T]|=8192,!ns(n)));)n=$t(n)}function Eu(e,n){if(Tn(e))throw new y(911,!1);e[Et]===null&&(e[Et]=[]),e[Et].push(n)}function Ch(e,n){if(e[Et]===null)return;let t=e[Et].indexOf(n);t!==-1&&e[Et].splice(t,1)}function $t(e){let n=e[re];return Ze(n)?n[re]:n}function Cu(e){return e[dr]??=[]}function Iu(e){return e.cleanup??=[]}function Ih(e,n,t,r){let o=Cu(n);o.push(t),e.firstCreatePass&&Iu(e).push(r,o.length-1)}var N={lFrame:Ph(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Uc=!1;function wh(){return N.lFrame.elementDepthCount}function _h(){N.lFrame.elementDepthCount++}function wu(){N.lFrame.elementDepthCount--}function os(){return N.bindingsEnabled}function _u(){return N.skipHydrationRootTNode!==null}function bu(e){return N.skipHydrationRootTNode===e}function Mu(){N.skipHydrationRootTNode=null}function S(){return N.lFrame.lView}function Z(){return N.lFrame.tView}function bh(e){return N.lFrame.contextLView=e,e[ee]}function Mh(e){return N.lFrame.contextLView=null,e}function ie(){let e=Tu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Tu(){return N.lFrame.currentTNode}function Th(){let e=N.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function gr(e,n){let t=N.lFrame;t.currentTNode=e,t.isParent=n}function Su(){return N.lFrame.isParent}function Au(){N.lFrame.isParent=!1}function Sh(){return N.lFrame.contextLView}function Nu(){return Uc}function co(e){let n=Uc;return Uc=e,n}function Ru(){let e=N.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ah(){return N.lFrame.bindingIndex}function Nh(e){return N.lFrame.bindingIndex=e}function An(){return N.lFrame.bindingIndex++}function xu(e){let n=N.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Rh(){return N.lFrame.inI18n}function xh(e,n){let t=N.lFrame;t.bindingIndex=t.bindingRootIndex=e,is(n)}function Oh(){return N.lFrame.currentDirectiveIndex}function is(e){N.lFrame.currentDirectiveIndex=e}function Fh(e){let n=N.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function ss(){return N.lFrame.currentQueryIndex}function Do(e){N.lFrame.currentQueryIndex=e}function UD(e){let n=e[_];return n.type===2?n.declTNode:n.type===1?e[De]:null}function Ou(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=UD(i),o===null||(i=i[In],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=N.lFrame=kh();return r.currentTNode=n,r.lView=e,!0}function as(e){let n=kh(),t=e[_];N.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function kh(){let e=N.lFrame,n=e===null?null:e.child;return n===null?Ph(e):n}function Ph(e){let 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 e!==null&&(e.child=n),n}function Lh(){let e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Fu=Lh;function cs(){let e=Lh();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 jh(e){return(N.lFrame.contextLView=Eh(e,N.lFrame.contextLView))[ee]}function Mt(){return N.lFrame.selectedIndex}function Yt(e){N.lFrame.selectedIndex=e}function us(){let e=N.lFrame;
vendor: 59,618 bytes, line 4
4return yo(e.tView,e.selectedIndex)}function Vh(){N.lFrame.currentNamespace=pu}function Bh(){HD()}function HD(){N.lFrame.currentNamespace=null}function Uh(){return N.lFrame.currentNamespace}var Hh=!0;function ls(){return Hh}function Eo(e){Hh=e}function Hc(e,n=null,t=null,r){let o=ku(e,n,t,r);return o.resolveInjectorInitializers(),o}function ku(e,n=null,t=null,r,o=new Set){let i=[t||_e,dh(e)];return r=r||(typeof e=="object"?void 0:Ct(e)),new yn(i,n||go(),r||null,o)}var ve=class e{static THROW_IF_NOT_FOUND=pn;static NULL=new ao;static create(n,t){if(Array.isArray(n))return Hc({name:""},t,n,"");{let r=n.name??"";return Hc({name:r},n.parent,n.providers,r)}}static \u0275prov=C({token:e,providedIn:"any",factory:()=>M(iu)});static __NG_ELEMENT_ID__=-1},z=new I(""),pe=(()=>{class e{static __NG_ELEMENT_ID__=$D;static __NG_ENV_ID__=t=>t}return e})(),Wi=class extends pe{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Tn(this._lView)}onDestroy(n){let t=this._lView;return Eu(t,n),()=>Ch(t,n)}};function $D(){return new Wi(S())}var $h=!1,zh=new I(""),Tt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new le(!1);debugTaskTracker=p(zh,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new F(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),$c=class extends ne{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,gh()&&(this.destroyRef=p(pe,{optional:!0})??void 0,this.pendingTasks=p(Tt,{optional:!0})??void 0)}emit(n){let t=w(null);try{super.next(n)}finally{w(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof ue&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},X=$c;function qi(...e){}function Pu(e){let n,t;function r(){e=qi;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Gh(e){return queueMicrotask(()=>e()),()=>{e=qi}}var Lu="isAngularZone",uo=Lu+"_ID",zD=0,he=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new X(!1);onMicrotaskEmpty=new X(!1);onStable=new X(!1);onError=new X(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=$h}=n;if(typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,qD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Lu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,GD,qi,qi);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},GD={};function ju(e){if(e._nesting==0&&!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 WD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Pu(()=>{e.callbackScheduled=!1,zc(e),e.isCheckStableRunning=!0,ju(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),zc(e)}function qD(e){let n=()=>{WD(e)},t=zD++;e._inner=e._inner.fork({name:"angular",properties:{[Lu]:!0,[uo]:t,[uo+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(ZD(c))return r.invokeTask(i,s,a,c);try{return Jf(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Xf(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Jf(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!YD(c)&&n(),Xf(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,zc(e),ju(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function zc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Jf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xf(e){e._nesting--,ju(e)}var lo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new X;onMicrotaskEmpty=new X;onStable=new X;onError=new X;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,o){return n.apply(t,r)}};function ZD(e){return Wh(e,"__ignore_ng_zone__")}function YD(e){return Wh(e,"__scheduler_tick__")}function Wh(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Oe=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Ve=new I("",{factory:()=>{let e=p(he),n=p(q),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Oe),t.handleError(r))})}}}),qh={provide:En,useValue:()=>{let e=p(Oe,{optional:!0})},multi:!0},QD=new I("",{factory:()=>{let e=p(z).defaultView;if(!e)return;let n=p(Ve),t=i=>{n(i.reason),i.preventDefault()},r=i=>{i.error?n(i.error):n(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",t),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(pe).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function KD(){return wt([lh(()=>{p(QD)})])}function be(e,n){let[t,r,o]=Ac(e,n?.equal),i=t,s=i[ce];return i.set=r,i.update=o,i.asReadonly=ds.bind(i),i}function ds(){let e=this[ce];if(e.readonlyFn===void 0){let n=()=>this();n[ce]=e,e.readonlyFn=n}return e.readonlyFn}var Co=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=JD}return e})();function JD(){return new Co(S(),ie())}var It=class{},Io=new I("",{factory:()=>!0});var Vu=new I(""),wo=(()=>{class e{internalPendingTasks=p(Tt);scheduler=p(It);errorHandler=p(Ve);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),fs=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>new Gc})}return e})(),Gc=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},Zi=class{[ce];constructor(n){this[ce]=n}destroy(){this[ce].destroy()}};function Zh(e,n){let t=n?.injector??p(ve),r=n?.manualCleanup!==!0?t.get(pe):null,o,i=t.get(Co,null,{optional:!0}),s=t.get(It);return i!==null?(o=tE(i.view,s,e),r instanceof Wi&&r._lView===i.view&&(r=null)):o=nE(e,t.get(fs),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Zi(o)}var Yh=R(g({},Rc),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=co(!1);try{xc(this)}finally{co(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=w(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],w(e)}}}),XD=R(g({},Yh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(hn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),eE=R(g({},Yh),{consumerMarkedDirty(){this.view[T]|=8192,Sn(this.view),this.notifier.notify(13)},destroy(){if(hn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Ht]?.delete(this)}});function tE(e,n,t){let r=Object.create(eE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Qh(r,t),e[Ht]??=new Set,e[Ht].add(r),r.consumerMarkedDirty(r),r}function nE(e,n,t){let r=Object.create(XD);return r.fn=Qh(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Qh(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function te(e){return Nc(e)}function xo(e){return{toString:e}.toString()}function cE(e){return typeof e=="function"}function bp(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Cs=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},Je=(()=>{let e=()=>Mp;return e.ngInherit=!0,e})();function Mp(e){return e.type.prototype.ngOnChanges&&(e.setInput=lE),uE}function uE(){let e=Sp(this),n=e?.current;if(n){let t=e.previous;if(t===Gt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function lE(e,n,t,r,o){let i=this.declaredInputs[r],s=Sp(e)||dE(e,{previous:Gt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Cs(u&&u.currentValue,t,c===Gt),bp(e,n,o,t)}var Tp="__ngSimpleChanges__";function Sp(e){return e[Tp]||null}function dE(e,n){return e[Tp]=n}var Kh=[];var U=function(e,n=null,t){for(let r=0;r<Kh.length;r++){let o=Kh[r];o(e,n,t)}},k=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(k||{});function fE(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Mp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function Ap(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),u&&((e.viewHooks??=[]).push(t,u),(e.viewCheckHooks??=[]).push(t,u)),l!=null&&(e.destroyHooks??=[]).push(t,l)}}function ms(e,n,t){Np(e,n,3,t)}function ys(e,n,t,r){(e[T]&3)===t&&Np(e,n,t,r)}function Bu(e,n){let t=e[T];(t&3)===n&&(t&=16383,t+=1,e[T]=t)}function Np(e,n,t,r){let o=r!==void 0?e[wn]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[wn]+=65536),(a<i||i==-1)&&(hE(e,t,n,c),e[wn]=(e[wn]&4294901760)+c+2),c++}function Jh(e,n){U(k.LifecycleHookStart,e,n);let t=w(null);try{n.call(e)}finally{w(t),U(k.LifecycleHookEnd,e,n)}}function hE(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[T]>>14<e[wn]>>16&&(e[T]&3)===n&&(e[T]+=16384,Jh(a,i)):Jh(a,i)}var yr=-1,Rn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function pE(e){return(e.flags&8)!==0}function gE(e){return(e.flags&16)!==0}function mE(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];yE(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Rp(e){return e===3||e===4||e===6}function yE(e){return e.charCodeAt(0)===64}function vr(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?Xh(e,t,o,null,n[++r]):Xh(e,t,o,null,null))}}return e}function Xh(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function xp(e){return e!==yr}function Is(e){return e&32767}function vE(e){return e>>16}function ws(e,n){let t=vE(e),r=n;for(;t>0;)r=r[In],t--;return r}var Qu=!0;function _s(e){let n=Qu;return Qu=e,n}var DE=256,Op=DE-1,Fp=5,EE=0,ut={};function CE(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(Dn)&&(r=t[Dn]),r==null&&(r=t[Dn]=EE++);let o=r&Op,i=1<<o;n.data[e+(o>>Fp)]|=i}function bs(e,n){let t=kp(e,n);if(t!==-1)return t;let r=n[_];r.firstCreatePass&&(e.injectorIndex=n.length,Uu(r.data,e),Uu(n,null),Uu(r.blueprint,null));let o=Cl(e,n),i=e.injectorIndex;if(xp(o)){let s=Is(o),a=ws(o,n),c=a[_].data;for(let u=0;u<8;u++)n[i+u]=a[s+u]|c[s+u]}return n[i+8]=o,i}function Uu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function kp(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Cl(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=Bp(o),r===null)return yr;if(t++,o=o[In],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return yr}function Ku(e,n,t){CE(e,n,t)}function IE(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(Rp(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function Pp(e,n,t){if(t&8||e!==void 0)return e;Ji(n,"NodeInjector")}function Lp(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[_t],i=ye(void 0);try{return o?o.get(n,r,t&8):ru(n,r,t&8)}finally{ye(i)}}return Pp(r,n,t)}function jp(e,n,t,r=0,o){if(e!==null){if(n[T]&2048&&!(r&2)){let s=ME(e,n,t,r,ut);if(s!==ut)return s}let i=Vp(e,n,t,r,ut);if(i!==ut)return i}return Lp(n,t,r,o)}function Vp(e,n,t,r,o){let i=_E(t);if(typeof i=="function"){if(!Ou(n,e,r))return r&1?Pp(o,t,r):Lp(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ji(t);else return s}finally{Fu()}}else if(typeof i=="number"){let s=null,a=kp(e,n),c=yr,u=r&1?n[Ee][De]:null;for((a===-1||r&4)&&(c=a===-1?Cl(e,n):n[a+8],c===yr||!tp(r,!1)?a=-1:(s=n[_],a=Is(c),n=ws(c,n)));a!==-1;){let l=n[_];if(ep(i,a,l.data)){let d=wE(a,n,t,s,r,u);if(d!==ut)return d}c=n[a+8],c!==yr&&tp(r,n[_].data[a+8]===u)&&ep(i,a,n)?(s=l,a=Is(c),n=ws(c,n)):a=-1}}return o}function wE(e,n,t,r,o,i){let s=n[_],a=s.data[e+8],c=r==null?Zt(a)&&Qu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=vs(a,s,t,c,u);return l!==null?Mo(n,s,l,a,o):ut}function vs(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let m=s[f];if(f<c&&t===m||f>=c&&m.type===t)return f}if(o){let f=s[c];if(f&&ct(f)&&f.type===t)return c}return null}function Mo(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Rn){let a=i;if(a.resolving)throw nu("");let c=_s(a.canSeeViewProviders);a.resolving=!0;let u=s[t].type||s[t],l,d=a.injectImpl?ye(a.injectImpl):null,h=Ou(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&fE(t,s[t],n)}finally{d!==null&&ye(d),_s(c),a.resolving=!1,Fu()}}return i}function _E(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(Dn)?e[Dn]:void 0;return typeof n=="number"?n>=0?n&Op:bE:n}function ep(e,n,t){let r=1<<e;return!!(t[n+(e>>Fp)]&r)}function tp(e,n){return!(e&2)&&!(e&1&&n)}var Nn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return jp(this._tNode,this._lView,n,gn(r),t)}};function bE(){return new Nn(ie(),S())}function dt(e){return xo(()=>{let n=e.prototype.constructor,t=n[so]||Ju(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[so]||Ju(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ju(e){return qc(e)?()=>{let n=Ju(fe(e));return n&&n()}:Ut(e)}function ME(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[T]&2048&&!pr(s);){let a=Vp(i,s,t,r|2,ut);if(a!==ut)return a;let c=i.parent;if(!c){let u=s[du];if(u){let l=u.get(t,ut,r);if(l!==ut)return l}c=Bp(s),s=s[In]}i=c}return o}function Bp(e){let n=e[_],t=n.type;return t===2?n.declTNode:t===1?e[De]:null}function Oo(e){return IE(ie(),e)}function TE(){return br(ie(),S())}function br(e,n){return new Ce(Ye(e,n))}var Ce=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=TE}return e})();function Up(e){return e instanceof Ce?e.nativeElement:e}function SE(){return this._results[Symbol.iterator]()}var Ms=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ne}constructor(n=!1){this._emitDistinctChangesOnly=n}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){this.dirty=!1;let r=sh(n);(this._changesDetected=!ih(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=SE};function Hp(e){return(e.flags&128)===128}var Il=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Il||{}),$p=new Map,AE=0;function NE(){return AE++}function RE(e){$p.set(e[bt],e)}function Xu(e){$p.delete(e[bt])}var np="__ngContext__";function Dr(e,n){at(n)?(e[np]=n[bt],RE(n)):e[np]=n}function zp(e){return Wp(e[fr])}function Gp(e){return Wp(e[ke])}function Wp(e){for(;e!==null&&!Ze(e);)e=e[ke];return e}var xE;function wl(e){xE=e}var Us=new I("",{factory:()=>OE}),OE="ng";var Hs=new I(""),Fo=new I("",{providedIn:"platform",factory:()=>"unknown"});var $s=new I("",{factory:()=>p(z).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var qp="r";var Zp="di";var Yp=!1,Qp=new I("",{factory:()=>Yp});var FE=(e,n,t,r)=>{};function kE(e,n,t,r){FE(e,n,t,r)}function zs(e){return(e.flags&32)===32}var PE=()=>null;function Kp(e,n,t=!1){return PE(e,n,t)}function Jp(e,n){let t=e.contentQueries;if(t!==null){let r=w(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Do(i),a.contentQueries(2,n[s],s)}}}finally{w(r)}}}function el(e,n,t){Do(0);let r=w(null);try{n(e,t)}finally{w(r)}}function _l(e,n,t){if(hu(n)){let r=w(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{w(r)}}}var Ke=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Ke||{});var hs;function LE(){if(hs===void 0&&(hs=null,vn.trustedTypes))try{hs=vn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hs}function jE(e){return LE()?.createScriptURL(e)||e}var ps;function VE(){if(ps===void 0&&(ps=null,vn.trustedTypes))try{ps=vn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ps}function rp(e){return VE()?.createScriptURL(e)||e}var Ts=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Yi})`}};function ko(e){return e instanceof Ts?e.changingThisBreaksApplicationSecurity:e}function bl(e,n){let t=Xp(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Yi})`)}return t===n}function Xp(e){return e instanceof Ts&&e.getTypeName()||null}var BE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function eg(e){return e=String(e),e.match(BE)?e:"unsafe:"+e}var UE=/^>|^->|<!--|-->|--!>|<!-$/g,HE=/(<|>)/g,$E="\u200B$1\u200B";function zE(e){return e.replace(UE,n=>n.replace(HE,$E))}function GE(e,n){return e.createText(n)}function WE(e,n,t){e.setValue(n,t)}function qE(e,n){return e.createComment(zE(n))}function tg(e,n,t){return e.createElement(n,t)}function Ss(e,n,t,r,o){e.insertBefore(n,t,r,o)}function ng(e,n,t){e.appendChild(n,t)}function op(e,n,t,r,o){r!==null?Ss(e,n,t,r,o):ng(e,n,t)}function rg(e,n,t,r){e.removeChild(null,n,t,r)}function ZE(e,n,t){e.setAttribute(n,"style",t)}function YE(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function og(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&mE(e,n,r),o!==null&&YE(e,n,o),i!==null&&ZE(e,n,i)}var Gs=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Gs||{});function ig(e){let n=ag();return n?n.sanitize(Gs.URL,e)||"":bl(e,"URL")?ko(e):eg(ur(e))}function sg(e){let n=ag();if(n)return rp(n.sanitize(Gs.RESOURCE_URL,e)||"");if(bl(e,"ResourceURL"))return rp(ko(e));throw new y(904,!1)}function QE(e){return jE(e[0])}var KE=new Set(["embed","frame","iframe","media","script"]),JE=new Set(["base","link","script"]);function XE(e,n){return n==="src"&&KE.has(e)||n==="href"&&JE.has(e)||n==="xlink:href"&&e==="script"?sg:ig}function Ml(e,n,t){return XE(n,t)(e)}function ag(){let e=S();return e&&e[it].sanitizer}function cg(e){return e instanceof Function?e():e}function eC(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var ug="ng-template";function tC(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&eC(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Tl(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Tl(e){return e.type===4&&e.value!==ug}function nC(e,n,t){let r=e.type===4&&!t?ug:e.value;return n===r}function rC(e,n,t){let r=4,o=e.attrs,i=o!==null?sC(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Qe(r)&&!Qe(c))return!1;if(s&&Qe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!nC(e,c,t)||c===""&&n.length===1){if(Qe(r))return!1;s=!0}}else if(r&8){if(o===null||!tC(e,o,c,t)){if(Qe(r))return!1;s=!0}}else{let u=n[++a],l=oC(c,o,Tl(e),t);if(l===-1){if(Qe(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Qe(r))return!1;s=!0}}}}return Qe(r)||s}function Qe(e){return(e&1)===0}function oC(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return aC(n,e)}function lg(e,n,t=!1){for(let r=0;r<n.length;r++)if(rC(e,n[r],t))return!0;return!1}function iC(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function sC(e){for(let n=0;n<e.length;n++){let t=e[n];if(Rp(t))return n}return e.length}function aC(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function cC(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ip(e,n){return e?":not("+n.trim()+")":n}function uC(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Qe(s)&&(n+=ip(i,o),o=""),r=s,i=i||!Qe(r);t++}return o!==""&&(n+=ip(i,o)),n}function lC(e){return e.map(uC).join(",")}function dC(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!Qe(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var Be={};function Sl(e,n,t,r,o,i,s,a,c,u,l){let d=G+r,h=d+o,f=fC(d,h),m=typeof u=="function"?u():u;return f[_]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:l}}function fC(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Be);return t}function hC(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Sl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Al(e,n,t,r,o,i,s,a,c,u,l){let d=n.blueprint.slice();return d[qe]=o,d[T]=r|4|128|8|64|1024,(u!==null||e&&e[T]&2048)&&(d[T]|=2048),vu(d),d[re]=d[In]=e,d[ee]=t,d[it]=s||e&&e[it],d[$]=a||e&&e[$],d[_t]=c||e&&e[_t]||null,d[De]=i,d[bt]=NE(),d[Cn]=l,d[du]=u,d[Ee]=n.type==2?e[Ee]:d,d}function pC(e,n,t){let r=Ye(n,e),o=hC(t),i=e[it].rendererFactory,s=Nl(e,Al(e,o,null,dg(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function dg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function fg(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Nl(e,n){return e[fr]?e[lu][ke]=n:e[fr]=n,e[lu]=n,n}function gC(e=1){hg(Z(),S(),Mt()+e,!1)}function hg(e,n,t,r){if(!r)if((n[T]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ms(n,i,t)}else{let i=e.preOrderHooks;i!==null&&ys(n,i,0,t)}Yt(t)}var Ws=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ws||{});function tl(e,n,t,r){let o=w(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Ws.SignalBased)!==0&&(c=n[i][ce]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):bp(n,c,i,r)}finally{w(o)}}var St=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(St||{}),mC;function Rl(e,n){return mC(e,n)}var xn=new Set,qs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(qs||{}),At=new I(""),sp=new Set;function ft(e){sp.has(e)||(sp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var xl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),pg=[0,1,2,3],gg=(()=>{class e{ngZone=p(he);scheduler=p(It);errorHandler=p(Oe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(At,{optional:!0})}execute(){let t=this.sequences.size>0;t&&U(k.AfterRenderHooksStart),this.executing=!0;for(let r of pg)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&U(k.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[_n]??=[]).push(t),Sn(r),r[T]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(qs.AFTER_NEXT_RENDER,t):t()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),As=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[_n];n&&(this.view[_n]=n.filter(t=>t!==this))}};function Mr(e,n){let t=n?.injector??p(ve);return ft("NgAfterNextRender"),vC(e,t,n,!0)}function yC(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function vC(e,n,t,r){let o=n.get(xl);o.impl??=n.get(gg);let i=n.get(At,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(pe):null,a=n.get(Co,null,{optional:!0}),c=new As(o.impl,yC(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ol=new I("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:p(q)})});function mg(e,n,t){let r=e.get(Ol);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function DC(e,n){let t=e.get(Ol);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function EC(e,n){for(let[t,r]of n)mg(e,r.animateFns)}function CC(e,n){let t=e.get(Ol);if(Array.isArray(n))for(let r of n)t.queue.delete(r);else t.queue.delete(n)}function ap(e,n,t,r){let o=e?.[bn]?.enter;n!==null&&o&&o.has(t.index)&&EC(r,o)}function mr(e,n,t,r,o,i,s,a){if(o!=null){let c,u=!1;Ze(o)?c=o:at(o)&&(u=!0,o=o[qe]);let l=Pe(o);e===0&&r!==null?(ap(a,r,i,t),s==null?ng(n,r,l):Ss(n,r,l,s||null,!0)):e===1&&r!==null?(ap(a,r,i,t),Ss(n,r,l,s||null,!0)):e===2?cp(a,i,t,d=>{rg(n,l,u,d)}):e===3&&cp(a,i,t,()=>{n.destroyNode(l)}),c!=null&&xC(n,e,t,c,i,r,s)}}function IC(e,n){yg(e,n),n[qe]=null,n[De]=null}function wC(e,n,t,r,o,i){r[qe]=o,r[De]=n,Ys(e,r,t,1,o,i)}function yg(e,n){n[it].changeDetectionScheduler?.notify(9),Ys(e,n,n[$],2,null,null)}function _C(e){let n=e[fr];if(!n)return Hu(e[_],e);for(;n;){let t=null;if(at(n))t=n[fr];else{let r=n[K];r&&(t=r)}if(!t){for(;n&&!n[ke]&&n!==e;)at(n)&&Hu(n[_],n),n=n[re];n===null&&(n=e),at(n)&&Hu(n[_],n),t=n&&n[ke]}n=t}}function Fl(e,n){let t=e[Mn],r=t.indexOf(n);t.splice(r,1)}function Zs(e,n){if(Tn(n))return;let t=n[$];t.destroyNode&&Ys(e,n,t,3,null,null),_C(n)}function Hu(e,n){if(Tn(n))return;let t=w(null);try{n[T]&=-129,n[T]|=256,n[Me]&&hn(n[Me]),TC(e,n),MC(e,n),n[_].type===1&&n[$].destroy();let r=n[Wt];if(r!==null&&Ze(n[re])){r!==n[re]&&Fl(r,n);let o=n[st];o!==null&&o.detachView(e)}Xu(n)}finally{w(t)}}function cp(e,n,t,r){let o=e?.[bn];if(o?.enter?.has(n.index)&&CC(t,o.enter.get(n.index).animateFns),o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&xn.add(e[bt]),mg(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),bC(e,r)}else e&&xn.delete(e[bt]),r(!1)},o)}function bC(e,n){let t=e[bn]?.running;if(t){t.then(()=>{e[bn].running=void 0,xn.delete(e[bt]),n(!0)});return}n(!1)}function MC(e,n){let t=e.cleanup,r=n[dr];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[dr]=null);let o=n[Et];if(o!==null){n[Et]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Ht];if(i!==null){n[Ht]=null;for(let s of i)s.destroy()}}function TC(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Rn)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];U(k.LifecycleHookStart,a,c);try{c.call(a)}finally{U(k.LifecycleHookEnd,a,c)}}else{U(k.LifecycleHookStart,o,i);try{i.call(o)}finally{U(k.LifecycleHookEnd,o,i)}}}}}function vg(e,n,t){return SC(e,n.parent,t)}function SC(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[qe];if(Zt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ke.None||o===Ke.Emulated)return null}return Ye(r,t)}function Dg(e,n,t){return NC(e,n,t)}function AC(e,n,t){return e.type&40?Ye(e,t):null}var NC=AC,up;function kl(e,n,t,r){let o=vg(e,r,n),i=n[$],s=r.parent||n[De],a=Dg(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)op(i,o,t[c],a,!1);else op(i,o,t,a,!1);up!==void 0&&up(i,r,n,t,o)}function _o(e,n){if(n!==null){let t=n.type;if(t&3)return Ye(n,e);if(t&4)return nl(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return _o(e,r);{let o=e[n.index];return Ze(o)?nl(-1,o):Pe(o)}}else{if(t&128)return _o(e,n.next);if(t&32)return Rl(n,e)()||Pe(e[n.index]);{let r=Eg(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=$t(e[Ee]);return _o(o,r)}else return _o(e,n.next)}}}return null}function Eg(e,n){if(n!==null){let r=e[Ee][De],o=n.projection;return r.projection[o]}return null}function nl(e,n){let t=K+e+1;if(t<n.length){let r=n[t],o=r[_].firstChild;if(o!==null)return _o(r,o)}return n[qt]}function Pl(e,n,t,r,o,i,s){for(;t!=null;){let a=r[_t];if(t.type===128){t=t.next;continue}let c=r[t.index],u=t.type;if(s&&n===0&&(c&&Dr(Pe(c),r),t.flags|=2),!zs(t))if(u&8)Pl(e,n,t.child,r,o,i,!1),mr(n,e,a,o,c,t,i,r);else if(u&32){let l=Rl(t,r),d;for(;d=l();)mr(n,e,a,o,d,t,i,r);mr(n,e,a,o,c,t,i,r)}else u&16?Cg(e,n,r,t,o,i):mr(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function Ys(e,n,t,r,o,i){Pl(t,r,e.firstChild,n,o,i,!1)}function RC(e,n,t){let r=n[$],o=vg(e,t,n),i=t.parent||n[De],s=Dg(i,t,n);Cg(r,0,n,t,o,s)}function Cg(e,n,t,r,o,i){let s=t[Ee],c=s[De].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];mr(n,e,t[_t],o,l,r,i,t)}else{let u=c,l=s[re];Hp(r)&&(u.flags|=128),Pl(e,n,u,l,o,i,!0)}}function xC(e,n,t,r,o,i,s){let a=r[qt],c=Pe(r);a!==c&&mr(n,e,t,i,a,o,s);for(let u=K;u<r.length;u++){let l=r[u];Ys(l[_],l,e,n,i,a)}}function OC(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:St.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=St.Important),e.setStyle(t,r,o,i))}}function Ig(e,n,t,r,o){let i=Mt(),s=r&2;try{Yt(-1),s&&n.length>G&&hg(e,n,G,!1);let a=s?k.TemplateUpdateStart:k.TemplateCreateStart;U(a,o,t),t(r,o)}finally{Yt(i);let a=s?k.TemplateUpdateEnd:k.TemplateCreateEnd;U(a,o,t)}}function Qs(e,n,t){BC(e,n,t),(t.flags&64)===64&&UC(e,n,t)}function Po(e,n,t=Ye){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function FC(e,n,t,r){let i=r.get(Qp,Yp)||t===Ke.ShadowDom||t===Ke.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return kC(s),s}function kC(e){PC(e)}var PC=()=>null;function LC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function wg(e,n,t,r,o,i){let s=n[_];if(Bl(e,s,n,t,r)){Zt(e)&&VC(n,e.index);return}e.type&3&&(t=LC(t)),jC(e,n,t,r,o,i)}function jC(e,n,t,r,o,i){if(e.type&3){let s=Ye(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function VC(e,n){let t=Le(n,e);t[T]&16||(t[T]|=64)}function BC(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Zt(t)&&pC(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||bs(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Mo(n,e,s,t);if(Dr(c,n),i!==null&&GC(n,s-r,c,a,t,i),ct(a)){let u=Le(t.index,n);u[ee]=Mo(n,e,s,t)}}}function UC(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Oh();try{Yt(i);for(let a=r;a<o;a++){let c=e.data[a],u=n[a];is(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&HC(c,u)}}finally{Yt(-1),is(s)}}function HC(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Ll(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];lg(n,i.selectors,!1)&&(r??=[],ct(i)?r.unshift(i):r.push(i))}return r}function $C(e,n,t,r,o,i){let s=Ye(e,n);zC(n[$],s,i,e.value,t,r,o)}function zC(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?ur(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function GC(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];tl(r,t,c,u)}}function jl(e,n,t,r,o){let i=G+t,s=n[_],a=o(s,n,e,r,t);n[i]=a,gr(e,!0);let c=e.type===2;return c?(og(n[$],a,e),(wh()===0||hr(e))&&Dr(a,n),_h()):Dr(a,n),ls()&&(!c||!zs(e))&&kl(s,n,a,e),e}function Vl(e){let n=e;return Su()?Au():(n=n.parent,gr(n,!1)),n}function WC(e,n){let t=e[_t];if(!t)return;let r;try{r=t.get(Ve,null)}catch{r=null}r?.(n)}function Bl(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=n.data[u];tl(d,t[u],l,o),a=!0}if(i)for(let c of i){let u=t[c],l=n.data[c];tl(l,u,r,o),a=!0}return a}function qC(e,n){let t=Le(n,e),r=t[_];ZC(r,t);let o=t[qe];o!==null&&t[Cn]===null&&(t[Cn]=Kp(o,t[_t])),U(k.ComponentStart);try{Ul(r,t,t[ee])}finally{U(k.ComponentEnd,t[ee])}}function ZC(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Ul(e,n,t){as(n);try{let r=e.viewQuery;r!==null&&el(1,r,t);let o=e.template;o!==null&&Ig(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[st]?.finishViewCreation(e),e.staticContentQueries&&Jp(e,n),e.staticViewQueries&&el(2,e.viewQuery,t);let i=e.components;i!==null&&YC(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[T]&=-5,cs()}}function YC(e,n){for(let t=0;t<n.length;t++)qC(e,n[t])}function Lo(e,n,t,r){let o=w(null);try{let i=n.tView,a=e[T]&4096?4096:16,c=Al(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[n.index];c[Wt]=u;let l=e[st];return l!==null&&(c[st]=l.createEmbeddedView(i)),Ul(i,c,t),c}finally{w(o)}}function Er(e,n){return!n||n.firstChild===null||Hp(e)}function To(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Pe(i)),Ze(i)&&_g(i,r);let s=t.type;if(s&8)To(e,n,t.child,r);else if(s&32){let a=Rl(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Eg(n,t);if(Array.isArray(a))r.push(...a);else{let c=$t(n[Ee]);To(c[_],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function _g(e,n){for(let t=K;t<e.length;t++){let r=e[t],o=r[_].firstChild;o!==null&&To(r[_],r,o,n)}e[qt]!==e[qe]&&n.push(e[qt])}function bg(e){if(e[_n]!==null){for(let n of e[_n])n.impl.addSequence(n);e[_n].length=0}}var Mg=[];function QC(e){return e[Me]??KC(e)}function KC(e){let n=Mg.pop()??Object.create(XC);return n.lView=e,n}function JC(e){e.lView[Me]!==e&&(e.lView=null,Mg.push(e))}var XC=R(g({},nr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Sn(e.lView)},consumerOnSignalRead(){this.lView[Me]=this}});function eI(e){let n=e[Me]??Object.create(tI);return n.lView=e,n}var tI=R(g({},nr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=$t(e.lView);for(;n&&!Tg(n[_]);)n=$t(n);n&&Du(n)},consumerOnSignalRead(){this.lView[Me]=this}});function Tg(e){return e.type!==2}function Sg(e){if(e[Ht]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Ht])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[T]&8192)}}var nI=100;function Ag(e,n=0){let r=e[it].rendererFactory,o=!1;o||r.begin?.();try{rI(e,n)}finally{o||r.end?.()}}function rI(e,n){let t=Nu();try{co(!0),rl(e,n);let r=0;for(;vo(e);){if(r===nI)throw new y(103,!1);r++,rl(e,1)}}finally{co(t)}}function oI(e,n,t,r){if(Tn(n))return;let o=n[T],i=!1,s=!1;as(n);let a=!0,c=null,u=null;i||(Tg(e)?(u=QC(n),c=or(u)):Bi()===null?(a=!1,u=eI(n),c=or(u)):n[Me]&&(hn(n[Me]),n[Me]=null));try{vu(n),Nh(e.bindingStartIndex),t!==null&&Ig(e,n,t,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&ms(n,f,null)}else{let f=e.preOrderHooks;f!==null&&ys(n,f,0,null),Bu(n,0)}if(s||iI(n),Sg(n),Ng(n,0),e.contentQueries!==null&&Jp(e,n),!i)if(l){let f=e.contentCheckHooks;f!==null&&ms(n,f)}else{let f=e.contentHooks;f!==null&&ys(n,f,1),Bu(n,1)}aI(e,n);let d=e.components;d!==null&&xg(n,d,0);let h=e.viewQuery;if(h!==null&&el(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&ms(n,f)}else{let f=e.viewHooks;f!==null&&ys(n,f,2),Bu(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[ts]){for(let f of n[ts])f();n[ts]=null}i||(bg(n),n[T]&=-73)}catch(l){throw i||Sn(n),l}finally{u!==null&&(no(u,c),a&&JC(u)),cs()}}function Ng(e,n){for(let t=zp(e);t!==null;t=Gp(t))for(let r=K;r<t.length;r++){let o=t[r];Rg(o,n)}}function iI(e){for(let n=zp(e);n!==null;n=Gp(n)){if(!(n[T]&2))continue;let t=n[Mn];for(let r=0;r<t.length;r++){let o=t[r];Du(o)}}}function sI(e,n,t){U(k.ComponentStart);let r=Le(n,e);try{Rg(r,t)}finally{U(k.ComponentEnd,r[ee])}}function Rg(e,n){ns(e)&&rl(e,n)}function rl(e,n){let r=e[_],o=e[T],i=e[Me],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&ro(i)),s||=!1,i&&(i.dirty=!1),e[T]&=-9217,s)oI(r,e,r.template,e[ee]);else if(o&8192){let a=w(null);try{Sg(e),Ng(e,1);let c=r.components;c!==null&&xg(e,c,1),bg(e)}finally{w(a)}}}function xg(e,n,t){for(let r=0;r<n.length;r++)sI(e,n[r],t)}function aI(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Yt(~o);else{let i=o,s=t[++r],a=t[++r];xh(s,i);let c=n[i];U(k.HostBindingsUpdateStart,c);try{a(2,c)}finally{U(k.HostBindingsUpdateEnd,c)}}}}finally{Yt(-1)}}function Hl(e,n){let t=Nu()?64:1088;for(e[it].changeDetectionScheduler?.notify(n);e;){e[T]|=t;let r=$t(e);if(pr(e)&&!r)return e;e=r}return null}function Og(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Fg(e,n){let t=K+n;if(t<e.length)return e[t]}function jo(e,n,t,r=!0){let o=n[_];if(cI(o,n,e,t),r){let s=nl(t,e),a=n[$],c=a.parentNode(e[qt]);c!==null&&wC(o,e[De],a,n,c,s)}let i=n[Cn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function kg(e,n){let t=So(e,n);return t!==void 0&&Zs(t[_],t),t}function So(e,n){if(e.length<=K)return;let t=K+n,r=e[t];if(r){let o=r[Wt];o!==null&&o!==e&&Fl(o,r),n>0&&(e[t-1][ke]=r[ke]);let i=ho(e,K+n);IC(r[_],r);let s=i[st];s!==null&&s.detachView(i[_]),r[re]=null,r[ke]=null,r[T]&=-129}return r}function cI(e,n,t,r){let o=K+r,i=t.length;r>0&&(t[o-1][ke]=n),r<i-K?(n[ke]=t[o],ou(t,K+r,n)):(t.push(n),n[ke]=null),n[re]=t;let s=n[Wt];s!==null&&t!==s&&Pg(s,n);let a=n[st];a!==null&&a.insertView(e),rs(n),n[T]|=128}function Pg(e,n){let t=e[Mn],r=n[re];if(at(r))e[T]|=2;else{let o=r[re][Ee];n[Ee]!==o&&(e[T]|=2)}t===null?e[Mn]=[n]:t.push(n)}var Qt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[_];return To(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[ee]}set context(n){this._lView[ee]=n}get destroyed(){return Tn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[re];if(Ze(n)){let t=n[mo],r=t?t.indexOf(this):-1;r>-1&&(So(n,r),ho(t,r))}this._attachedToViewContainer=!1}Zs(this._lView[_],this._lView)}onDestroy(n){Eu(this._lView,n)}markForCheck(){Hl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[T]&=-129}reattach(){rs(this._lView),this._lView[T]|=128}detectChanges(){this._lView[T]|=1024,Ag(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=pr(this._lView),t=this._lView[Wt];t!==null&&!n&&Fl(t,this._lView),yg(this._lView[_],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=n;let t=pr(this._lView),r=this._lView[Wt];r!==null&&!t&&Pg(r,this._lView),rs(this._lView)}};var Cr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=uI;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=Lo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Qt(i)}}return e})();function uI(){return Ks(ie(),S())}function Ks(e,n){return e.type&4?new Cr(n,e,br(e,n)):null}function Tr(e,n,t,r,o){let i=e.data[n];if(i===null)i=lI(e,n,t,r,o),Rh()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=Th();i.injectorIndex=s===null?-1:s.injectorIndex}return gr(i,!0),i}function lI(e,n,t,r,o){let i=Tu(),s=Su(),a=s?i:i&&i.parent,c=e.data[n]=fI(e,a,t,n,r,o);return dI(e,c,i,s),c}function dI(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function fI(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return _u()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev: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}}function hI(e){let n=e[fu]??[],r=e[re][$],o=[];for(let i of n)i.data[Zp]!==void 0?o.push(i):pI(i,r);e[fu]=o}function pI(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[qp];for(;t<o;){let i=r.nextSibling;rg(n,r,!1),r=i,t++}}}var gI=()=>null,mI=()=>null;function Ns(e,n){return gI(e,n)}function Lg(e,n,t){return mI(e,n,t)}var jg=class{},Js=class{},ol=class{resolveComponentFactory(n){throw new y(917,!1)}},Vo=class{static NULL=new ol},On=class{},Xe=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>yI()}return e})();function yI(){let e=S(),n=ie(),t=Le(n.index,e);return(at(t)?t:e)[$]}var Vg=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>null})}return e})();var Ds={},il=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,Ds,r);return o!==Ds||t===Ds?o:this.parentInjector.get(n,t,r)}};function Rs(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=Wc(o,a);else if(i==2){let c=a,u=n[++s];r=Wc(r,c+": "+u+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function x(e,n=0){let t=S();if(t===null)return M(e,n);let r=ie();return jp(r,t,fe(e),n)}function $l(){let e="invalid";throw new Error(e)}function Bg(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}EI(e,n,t,a,i,c,u)}i!==null&&r!==null&&vI(t,r,i)}function vI(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new y(-301,!1);r.push(n[o],i)}}function DI(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function EI(e,n,t,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let f=r[h];c===null&&ct(f)&&(c=f,DI(e,t,h)),Ku(bs(t,n),e,f.type)}MI(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=fg(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(t.mergedAttrs=vr(t.mergedAttrs,f.hostAttrs),II(e,t,n,d,f),bI(d,f,o),s!==null&&s.has(f)){let[v,D]=s.get(f);t.directiveToIndex.set(f.type,[d,v+t.directiveStart,D+t.directiveStart])}else(i===null||!i.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let m=f.type.prototype;!u&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),u=!0),!l&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),l=!0),d++}CI(e,t,i)}function CI(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))lp(0,n,o,r),lp(1,n,o,r),fp(n,r,!1);else{let i=t.get(o);dp(0,n,i,r),dp(1,n,i,r),fp(n,r,!0)}}}function lp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),Ug(n,i)}}function dp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Ug(n,s)}}function Ug(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function fp(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Tl(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===n){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function II(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ut(o.type,!0)),s=new Rn(i,ct(o),x,null);e.blueprint[r]=s,t[r]=s,wI(e,n,r,fg(e,t,o.hostVars,Be),o)}function wI(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;_I(s)!=a&&s.push(a),s.push(t,r,i)}}function _I(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function bI(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;ct(n)&&(t[""]=e)}}function MI(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function zl(e,n,t,r,o,i,s,a){let c=n[_],u=c.consts,l=je(u,s),d=Tr(c,e,t,r,l);return i&&Bg(c,n,d,je(u,a),o),d.mergedAttrs=vr(d.mergedAttrs,d.attrs),d.attrs!==null&&Rs(d,d.attrs,!1),d.mergedAttrs!==null&&Rs(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Gl(e,n){Ap(e,n),hu(n)&&e.queries.elementEnd(n)}function TI(e,n,t,r,o,i){let s=n.consts,a=je(s,o),c=Tr(n,e,t,r,a);if(c.mergedAttrs=vr(c.mergedAttrs,c.attrs),i!=null){let u=je(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Rs(c,c.attrs,!1),c.mergedAttrs!==null&&Rs(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function SI(e,n,t){return e[n]=t}function lt(e,n,t){if(t===Be)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function AI(e,n,t,r){let o=lt(e,n,t);return lt(e,n+1,r)||o}function Es(e,n,t){return function r(o){let i=Zt(e)?Le(e.index,n):n;Hl(i,5);let s=n[ee],a=hp(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=hp(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function hp(e,n,t,r){let o=w(null);try{return U(k.OutputStart,n,t),t(r)!==!1}catch(i){return WC(e,i),!1}finally{U(k.OutputEnd,n,t),w(o)}}function Hg(e,n,t,r,o,i,s,a){let c=hr(e),u=!1,l=null;if(!r&&c&&(l=RI(n,t,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ye(e,t),h=r?r(d):d;kE(t,h,i,a);let f=o.listen(h,i,a);if(!NI(i)){let m=r?v=>r(Pe(v[e.index])):e.index;$g(m,n,t,i,a,f,!1)}}return u}function NI(e){return e.startsWith("animation")||e.startsWith("transition")}function RI(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[dr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function $g(e,n,t,r,o,i,s){let a=n.firstCreatePass?Iu(n):null,c=Cu(t),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function pp(e,n,t,r,o,i){let s=n[t],a=n[_],u=a.data[t].outputs[r],d=s[u].subscribe(i);$g(e.index,a,n,o,i,d,!0)}var sl=Symbol("BINDING");var xs=class extends Vo{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=zt(n);return new Ir(t,this.ngModule)}};function xI(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Ws.SignalBased)!==0};return o&&(i.transform=o),i})}function OI(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function FI(e,n,t){let r=n instanceof q?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new il(t,r):t}function kI(e){let n=e.get(On,null);if(n===null)throw new y(407,!1);let t=e.get(Vg,null),r=e.get(It,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1}}function PI(e,n){let t=zg(e);return tg(n,t,t==="svg"?pu:t==="math"?yh:null)}function zg(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ir=class extends Js{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=xI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=OI(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=lC(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){U(k.DynamicComponentStart);let a=w(null);try{let c=this.componentDef,u=LI(r,c,s,i),l=FI(c,o||this.ngModule,n),d=kI(l),h=d.rendererFactory.createRenderer(null,c),f=r?FC(h,r,c.encapsulation,l):PI(c,h),m=s?.some(gp)||i?.some(E=>typeof E!="function"&&E.bindings.some(gp)),v=Al(null,u,null,512|dg(c),null,null,d,h,l,null,Kp(f,l,!0));v[G]=f,as(v);let D=null;try{let E=zl(G,v,2,"#host",()=>u.directiveRegistry,!0,0);og(h,f,E),Dr(f,v),Qs(u,v,E),_l(u,E,v),Gl(u,E),t!==void 0&&VI(E,this.ngContentSelectors,t),D=Le(E.index,v),v[ee]=D[ee],Ul(u,v,null)}catch(E){throw D!==null&&Xu(D),Xu(v),E}finally{U(k.DynamicComponentEnd),cs()}return new Os(this.componentType,v,!!m)}finally{w(a)}}};function LI(e,n,t,r){let o=e?["ng-version","21.1.5"]:dC(n.selectors[0]),i=null,s=null,a=0;if(t)for(let l of t)a+=l[sl].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let h of d.bindings){a+=h[sl].requiredVars;let f=l+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[n];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=tu(d);c.push(h)}return Sl(0,null,jI(i,s),1,a,c,null,null,null,[o],null)}function jI(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function gp(e){let n=e[sl].kind;return n==="input"||n==="twoWay"}var Os=class extends jg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=yo(t[_],G),this.location=br(this._tNode,t),this.instance=Le(this._tNode.index,t)[ee],this.hostView=this.changeDetectorRef=new Qt(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=Bl(r,o[_],o,n,t);this.previousInputValues.set(n,t);let s=Le(r.index,o);Hl(s,1)}get injector(){return new Nn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function VI(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Kt=(()=>{class e{static __NG_ELEMENT_ID__=BI}return e})();function BI(){let e=ie();return Wg(e,S())}var UI=Kt,Gg=class extends UI{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}
vendor: 4,505 bytes, line 4
4get element(){return br(this._hostTNode,this._hostLView)}get injector(){return new Nn(this._hostTNode,this._hostLView)}get parentInjector(){let n=Cl(this._hostTNode,this._hostLView);if(xp(n)){let t=ws(n,this._hostLView),r=Is(n),o=t[_].data[r+8];return new Nn(o,t)}else return new Nn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=mp(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-K}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ns(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Er(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!cE(n),u;if(c)u=t;else{let D=t||{};u=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let l=c?n:new Ir(zt(n)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let E=(c?d:this.parentInjector).get(q,null);E&&(i=E)}let h=zt(l.componentType??{}),f=Ns(this._lContainer,h?.id??null),m=f?.firstChild??null,v=l.create(d,o,m,i,s,a);return this.insertImpl(v.hostView,u,Er(this._hostTNode,f)),v}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Dh(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[re],u=new Gg(c,c[De],c[re]);u.detach(u.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return jo(s,o,i,r),n.attachToViewContainerRef(),ou($u(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=mp(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=So(this._lContainer,t);r&&(ho($u(this._lContainer),t),Zs(r[_],r))}detach(n){let t=this._adjustIndex(n,-1),r=So(this._lContainer,t);return r&&ho($u(this._lContainer),t)!=null?new Qt(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function mp(e){return e[mo]}function $u(e){return e[mo]||(e[mo]=[])}function Wg(e,n){let t,r=n[e.index];return Ze(r)?t=r:(t=Og(r,n,null,e),n[e.index]=t,Nl(n,t)),$I(t,n,e,r),new Gg(t,e,n)}function HI(e,n){let t=e[$],r=t.createComment(""),o=Ye(n,e),i=t.parentNode(o);return Ss(t,i,r,t.nextSibling(o),!1),r}var $I=WI,zI=()=>!1;function GI(e,n,t){return zI(e,n,t)}function WI(e,n,t,r){if(e[qt])return;let o;t.type&8?o=Pe(r):o=HI(n,t),e[qt]=o}var al=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},cl=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)ql(n,t).matches!==null&&this.queries[t].setDirty()}},Fs=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=XI(n):this.predicate=n}},ul=class e{queries;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++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(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)}},ll=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,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 e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}
vendor: 4,224 bytes, line 4
4matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,qI(t,i)),this.matchTNodeWithReadOption(n,t,vs(t,n,i,!1,!1))}else r===Cr?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,vs(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ce||o===Kt||o===Cr&&t.type&4)this.addMatch(t.index,-2);else{let i=vs(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function qI(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function ZI(e,n){return e.type&11?br(e,n):e.type&4?Ks(e,n):null}function YI(e,n,t,r){return t===-1?ZI(n,e):t===-2?QI(e,n,r):Mo(e,e[_],t,n)}function QI(e,n,t){if(t===Ce)return br(n,e);if(t===Cr)return Ks(n,e);if(t===Kt)return Wg(n,e)}function qg(e,n,t,r){let o=n[st].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(YI(n,l,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function dl(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=qg(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=n[-c];for(let d=K;d<l.length;d++){let h=l[d];h[Wt]===h[re]&&dl(h[_],h,u,r)}if(l[Mn]!==null){let d=l[Mn];for(let h=0;h<d.length;h++){let f=d[h];dl(f[_],f,u,r)}}}}}return r}function Wl(e,n){return e[st].queries[n].queryList}function Zg(e,n,t){let r=new Ms((t&4)===4);return Ih(e,n,r,r.destroy),(n[st]??=new cl).queries.push(new al(r))-1}function KI(e,n,t){let r=Z();return r.firstCreatePass&&(Yg(r,new Fs(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),Zg(r,S(),n)}function JI(e,n,t,r){let o=Z();if(o.firstCreatePass){let i=ie();Yg(o,new Fs(n,t,r),i.index),ew(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return Zg(o,S(),t)}function XI(e){return e.split(",").map(n=>n.trim())}function Yg(e,n,t){e.queries===null&&(e.queries=new ul),e.queries.track(new ll(n,t))}function ew(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function ql(e,n){return e.queries.getByIndex(n)}function Qg(e,n){let t=e[_],r=ql(t,n);return r.crossesNgTemplate?dl(t,e,n,[]):qg(t,e,r,n)}function Kg(e,n,t){let r,o=oo(()=>{r._dirtyCounter();let i=nw(r,e);if(n&&i===void 0)throw new y(-951,!1);return i});return r=o[ce],r._dirtyCounter=be(0),r._flatValue=void 0,o}function Jg(e){return Kg(!0,!1,e)}function Xg(e){return Kg(!0,!0,e)}function tw(e,n){let t=e[ce];t._lView=S(),t._queryIndex=n,t._queryList=Wl(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function nw(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[T]&4)return n?void 0:_e;let o=Wl(t,r),i=Qg(t,r);return o.reset(i,Up),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var wr=class{},Xs=class{};var ks=class extends wr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new xs(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=eu(n);this._bootstrapComponents=cg(i.bootstrap),this._r3Injector=ku(n,t,[{provide:wr,useValue:this},{provide:Vo,useValue:this.componentFactoryResolver},...r],Ct(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Ps=class extends Xs{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ks(this.moduleType,n,[])}};var Ao=class extends wr{injector;componentFactoryResolver=new xs(this);instance=null;constructor(n){super();let t=new yn([...n.providers,{provide:wr,useValue:this},{provide:Vo,useValue:this.componentFactoryResolver}],n.parent||go(),n.debugName,new Set(["environment"]));
vendor: 4,179 bytes, line 4
4this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Bo(e,n,t=null){return new Ao({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var rw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=au(!1,t.type),o=r.length>0?Bo([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=C({token:e,providedIn:"environment",factory:()=>new e(M(q))})}return e})();function Zl(e){return xo(()=>{let n=tm(e),t=R(g({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Il.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(rw).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ke.Emulated,styles:e.styles||_e,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&ft("NgStandalone"),nm(t);let r=e.dependencies;return t.directiveDefs=yp(r,ow),t.pipeDefs=yp(r,th),t.id=aw(t),t})}function ow(e){return zt(e)||tu(e)}function Nt(e){return xo(()=>({type:e.type,bootstrap:e.bootstrap||_e,declarations:e.declarations||_e,imports:e.imports||_e,exports:e.exports||_e,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function iw(e,n){if(e==null)return Gt;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Ws.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function sw(e){if(e==null)return Gt;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function W(e){return xo(()=>{let n=tm(e);return nm(n),n})}function em(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function tm(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||Gt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||_e,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:iw(e.inputs,n),outputs:sw(e.outputs),debugInfo:null}}function nm(e){e.features?.forEach(n=>n(e))}function yp(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function aw(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function cw(e){return Object.getPrototypeOf(e.prototype).constructor}function Te(e){let n=cw(e.type),t=!0,r=[e];for(;n;){let o;if(ct(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new y(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=zu(e.inputs),s.declaredInputs=zu(e.declaredInputs),s.outputs=zu(e.outputs);let a=o.hostBindings;a&&hw(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&dw(e,c),u&&fw(e,u),uw(e,o),eh(e.outputs,o.outputs),ct(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Te&&(t=!1)}}n=Object.getPrototypeOf(n)}lw(r)}function uw(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];
vendor: 12,555 bytes, line 4
4r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function lw(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=vr(o.hostAttrs,t=vr(t,o.hostAttrs))}}function zu(e){return e===Gt?{}:e===_e?[]:e}function dw(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function fw(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function hw(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function rm(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=vr(e.mergedAttrs,e.attrs);let l=e.tView=Sl(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),l.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),gr(e,!1);let c=gw(t,n,e,r);ls()&&kl(t,n,c,e),Dr(c,n);let u=Og(c,n,c,e);n[r+G]=u,Nl(n,u),GI(u,e,n)}function pw(e,n,t,r,o,i,s,a,c,u,l){let d=t+G,h;return n.firstCreatePass?(h=Tr(n,d,4,s||null,a||null),os()&&Bg(n,e,h,je(n.consts,u),Ll),Ap(n,h)):h=n.data[d],rm(h,e,n,t,r,o,i,c),hr(h)&&Qs(n,e,h),u!=null&&Po(e,h,l),h}function No(e,n,t,r,o,i,s,a,c,u,l){let d=t+G,h;if(n.firstCreatePass){if(h=Tr(n,d,4,s||null,a||null),u!=null){let f=je(n.consts,u);h.localNames=[];for(let m=0;m<f.length;m+=2)h.localNames.push(f[m],-1)}}else h=n.data[d];return rm(h,e,n,t,r,o,i,c),u!=null&&Po(e,h,l),h}function om(e,n,t,r,o,i,s,a){let c=S(),u=Z(),l=je(u.consts,i);return pw(c,u,e,n,t,r,o,l,void 0,s,a),om}var gw=mw;function mw(e,n,t,r){return Eo(!0),n[$].createComment("")}var Yl=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function im(e){return typeof e=="function"&&e[ce]!==void 0}function Ql(e){return im(e)&&typeof e.set=="function"}var Kl=new I("");function kn(e){return!!e&&typeof e.then=="function"}function sm(e){return!!e&&typeof e.subscribe=="function"}var Jl=new I("");function am(e){return wt([{provide:Jl,multi:!0,useValue:e}])}var Xl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=p(Jl,{optional:!0})??[];injector=p(ve);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=oe(this.injector,o);if(kn(i))t.push(i);else if(sm(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ea=new I("");function cm(){Sc(()=>{let e="";throw new y(600,e)})}function um(e){return e.isBoundToModule}var yw=10;var Jt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Ve);afterRenderManager=p(xl);zonelessEnabled=p(Io);rootEffectScheduler=p(fs);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ne;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(Tt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(V(t=>!t))}constructor(){p(At,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=p(q);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=ve.NULL){return this._injector.get(he).run(()=>{U(k.BootstrapComponentStart);let s=t instanceof Js;if(!this._injector.get(Xl).done){let m="";throw new y(405,m)}let c;s?c=t:c=this._injector.get(Vo).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let u=um(c)?void 0:this._injector.get(wr),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get(Kl,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),bo(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),U(k.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){U(k.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(qs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw U(k.ChangeDetectionEnd),new y(101,!1);let t=w(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,w(t),this.afterTick.next(),U(k.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(On,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<yw;){U(k.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{U(k.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!vo(o))continue;let i=r&&!this.zonelessEnabled?0:1;Ag(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>vo(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;bo(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(ea,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>bo(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new y(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bo(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Pn(e,n,t,r){let o=S(),i=An();if(lt(o,i,n)){let s=Z(),a=us();$C(a,o,e,n,t,r)}return Pn}var dF=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var fl=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function Gu(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function vw(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){w(r);let u=n.length-1;for(w(null);s<=a&&s<=u;){let l=e.at(s),d=n[s],h=Gu(s,l,s,d,t);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),m=n[u],v=Gu(a,f,u,m,t);if(v!==0){v<0&&e.updateValue(a,m),a--,u--;continue}let D=t(s,l),E=t(a,f),H=t(s,d);if(Object.is(H,E)){let Ie=t(u,m);Object.is(Ie,D)?(e.swap(s,a),e.updateValue(a,m),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Ls,i??=Dp(e,s,a,t),hl(e,o,s,H))e.updateValue(s,d),s++,a++;else if(i.has(H))o.set(D,e.detach(s)),a--;else{let Ie=e.create(s,n[s]);e.attach(s,Ie),s++,a++}}for(;s<=u;)vp(e,o,t,s,n[s]),s++}else if(n!=null){w(r);let u=n[Symbol.iterator]();w(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),h=l.value,f=Gu(s,d,s,h,t);if(f!==0)f<0&&e.updateValue(s,h),s++,l=u.next();else{o??=new Ls,i??=Dp(e,s,a,t);let m=t(s,h);if(hl(e,o,s,m))e.updateValue(s,h),s++,a++,l=u.next();else if(!i.has(m))e.attach(s,e.create(s,h)),s++,a++,l=u.next();else{let v=t(s,d);o.set(v,e.detach(s)),a--}}}for(;!l.done;)vp(e,o,t,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function hl(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function vp(e,n,t,r,o){if(hl(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Dp(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var Ls=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function Dw(e,n,t,r,o,i,s,a){ft("NgControlFlow");let c=S(),u=Z(),l=je(u.consts,i);return No(c,u,e,n,t,r,o,l,256,s,a),ed}function ed(e,n,t,r,o,i,s,a){ft("NgControlFlow");let c=S(),u=Z(),l=je(u.consts,i);return No(c,u,e,n,t,r,o,l,512,s,a),ed}function Ew(e,n){ft("NgControlFlow");let t=S(),r=An(),o=t[r]!==Be?t[r]:-1,i=o!==-1?js(t,G+o):void 0,s=0;if(lt(t,r,e)){let a=w(null);try{if(i!==void 0&&kg(i,s),e!==-1){let c=G+e,u=js(t,c),l=yl(t[_],c),d=Lg(u,l,t),h=Lo(t,l,n,{dehydratedView:d});jo(u,h,s,Er(l,d))}}finally{w(a)}}else if(i!==void 0){let a=Fg(i,s);a!==void 0&&(a[ee]=n)}}var pl=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-K}};function Cw(e){return e}function Iw(e,n){return n}var gl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function ww(e,n,t,r,o,i,s,a,c,u,l,d,h){ft("NgControlFlow");let f=S(),m=Z(),v=c!==void 0,D=S(),E=a?s.bind(D[Ee][ee]):s,H=new gl(v,E);D[G+e]=H,No(f,m,e+1,n,t,r,o,je(m.consts,i),256),v&&No(f,m,e+2,c,u,l,d,je(m.consts,h),512)}var ml=class extends fl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-K}at(n){return this.getLView(n)[ee].$implicit}attach(n,t){let r=t[Cn];this.needsIndexUpdate||=n!==this.length,jo(this.lContainer,t,n,Er(this.templateTNode,r)),bw(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Mw(this.lContainer,n),Tw(this.lContainer,n)}create(n,t){let r=Ns(this.lContainer,this.templateTNode.tView.ssrId);return Lo(this.hostLView,this.templateTNode,new pl(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Zs(n[_],n)}updateValue(n,t){this.getLView(n)[ee].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ee].$index=n}getLView(n){return Sw(this.lContainer,n)}};function _w(e){let n=w(null),t=Mt();try{let r=S(),o=r[_],i=r[t],s=t+1,a=js(r,s);if(i.liveCollection===void 0){let u=yl(o,s);i.liveCollection=new ml(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(vw(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let u=An(),l=c.length===0;if(lt(r,u,l)){let d=t+2,h=js(r,d);if(l){let f=yl(o,d),m=Lg(h,f,r),v=Lo(r,f,void 0,{dehydratedView:m});jo(h,v,0,Er(f,m))}else o.firstUpdatePass&&hI(h),kg(h,0)}}}finally{w(n)}}function js(e,n){return e[n]}function bw(e,n){if(e.length<=K)return;let t=K+n,r=e[t],o=r?r[bn]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[_t];DC(i,o),xn.delete(r[bt]),o.detachedLeaveAnimationFns=void 0}}function Mw(e,n){if(e.length<=K)return;let t=K+n,r=e[t],o=r?r[bn]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function Tw(e,n){return So(e,n)}function Sw(e,n){return Fg(e,n)}function yl(e,n){return yo(e,n)}function lm(e,n,t){let r=S(),o=An();if(lt(r,o,n)){let i=Z(),s=us();wg(s,r,e,n,r[$],t)}return lm}function Ep(e,n,t,r,o){Bl(n,e,t,o?"class":"style",r)}function td(e,n,t,r){let o=S(),i=o[_],s=e+G,a=i.firstCreatePass?zl(s,o,2,n,Ll,os(),t,r):i.data[s];if(jl(a,o,e,n,fm),hr(a)){let c=o[_];Qs(c,o,a),_l(c,a,o)}return r!=null&&Po(o,a),td}
vendor: 5,170 bytes, line 4
4function nd(){let e=Z(),n=ie(),t=Vl(n);return e.firstCreatePass&&Gl(e,t),bu(t)&&Mu(),wu(),t.classesWithoutHost!=null&&pE(t)&&Ep(e,t,S(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&gE(t)&&Ep(e,t,S(),t.stylesWithoutHost,!1),nd}function ta(e,n,t,r){return td(e,n,t,r),nd(),ta}function rd(e,n,t,r){let o=S(),i=o[_],s=e+G,a=i.firstCreatePass?TI(s,i,2,n,t,r):i.data[s];return jl(a,o,e,n,fm),r!=null&&Po(o,a),rd}function od(){let e=ie(),n=Vl(e);return bu(n)&&Mu(),wu(),od}function dm(e,n,t,r){return rd(e,n,t,r),od(),dm}var fm=(e,n,t,r,o)=>(Eo(!0),tg(n[$],r,Uh()));function id(e,n,t){let r=S(),o=r[_],i=e+G,s=o.firstCreatePass?zl(i,r,8,"ng-container",Ll,os(),n,t):o.data[i];if(jl(s,r,e,"ng-container",Aw),hr(s)){let a=r[_];Qs(a,r,s),_l(a,s,r)}return t!=null&&Po(r,s),id}function sd(){let e=Z(),n=ie(),t=Vl(n);return e.firstCreatePass&&Gl(e,t),sd}function hm(e,n,t){return id(e,n,t),sd(),hm}var Aw=(e,n,t,r,o)=>(Eo(!0),qE(n[$],""));function Nw(){return S()}var Uo="en-US";var Rw=Uo;function pm(e){typeof e=="string"&&(Rw=e.toLowerCase().replace(/_/g,"-"))}function Rt(e,n,t){let r=S(),o=Z(),i=ie();return mm(o,r,r[$],i,e,n,t),Rt}function gm(e,n,t){let r=S(),o=Z(),i=ie();return(i.type&3||t)&&Hg(i,o,r,t,r[$],e,n,Es(i,r,n)),gm}function mm(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Es(r,n,i),Hg(r,e,n,s,t,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let h=l[d],f=l[d+1];c??=Es(r,n,i),pp(r,n,h,f,o,c)}if(u&&u.length)for(let d of u)c??=Es(r,n,i),pp(r,n,d,o,o,c)}}function xw(e=1){return jh(e)}function Ow(e,n){let t=null,r=iC(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?lg(e,i,!0):cC(r,i))return o}return t}function Fw(e){let n=S()[Ee][De];if(!n.projection){let t=e?e.length:1,r=n.projection=ah(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?Ow(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function kw(e,n=0,t,r,o,i){let s=S(),a=Z(),c=r?e+1:null;c!==null&&No(s,a,c,r,o,i,null,t);let u=Tr(a,G+e,16,null,t||null);u.projection===null&&(u.projection=n),Au();let d=!s[Cn]||_u();s[Ee][De].projection[u.projection]===null&&c!==null?Pw(s,a,c):d&&!zs(u)&&RC(a,s,u)}function Pw(e,n,t){let r=G+t,o=n.data[r],i=e[r],s=Ns(i,o.tView.ssrId),a=Lo(e,o,void 0,{dehydratedView:s});jo(i,a,0,Er(o,s))}function na(e,n,t,r){return JI(e,n,t,r),na}function ad(e){let n=S(),t=Z(),r=ss();Do(r+1);let o=ql(t,r);if(e.dirty&&vh(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Qg(n,r);e.reset(i,Up),e.notifyOnChanges()}return!0}return!1}function cd(){return Wl(S(),ss())}function ym(e,n,t,r){return tw(e,KI(n,t,r)),ym}function Lw(e=1){Do(ss()+e)}function jw(e){let n=Sh();return mu(n,G+e)}function gs(e,n){return e<<17|n<<2}function Fn(e){return e>>17&32767}function Vw(e){return(e&2)==2}function Bw(e,n){return e&131071|n<<17}function vl(e){return e|2}function _r(e){return(e&131068)>>2}function Wu(e,n){return e&-131069|n<<2}function Uw(e){return(e&1)===1}function Dl(e){return e|1}function Hw(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Fn(s),c=_r(s);e[r]=t;let u=!1,l;if(Array.isArray(t)){let d=t;l=d[1],(l===null||lr(d,l)>0)&&(u=!0)}else l=t;if(o)if(c!==0){let h=Fn(e[a+1]);e[r+1]=gs(h,a),h!==0&&(e[h+1]=Wu(e[h+1],r)),e[a+1]=Bw(e[a+1],r)}else e[r+1]=gs(a,0),a!==0&&(e[a+1]=Wu(e[a+1],r)),a=r;else e[r+1]=gs(c,0),a===0?a=r:e[c+1]=Wu(e[c+1],r),c=r;u&&(e[r+1]=vl(e[r+1])),Cp(e,l,r,!0),Cp(e,l,r,!1),$w(n,l,e,r,i),s=gs(a,c),i?n.classBindings=s:n.styleBindings=s}function $w(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&lr(i,n)>=0&&(t[r+1]=Dl(t[r+1]))}function Cp(e,n,t,r){let o=e[t+1],i=n===null,s=r?Fn(o):_r(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];zw(c,n)&&(a=!0,e[s+1]=r?Dl(u):vl(u)),s=r?Fn(u):_r(u)}a&&(e[t+1]=r?vl(o):Dl(o))}function zw(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?lr(e,n)>=0:!1}function Ho(e,n){return Gw(e,n,null,!0),Ho}function Gw(e,n,t,r){let o=S(),i=Z(),s=xu(2);if(i.firstUpdatePass&&qw(i,e,s,r),n!==Be&<(o,s,n)){let a=i.data[Mt()];Jw(i,a,o,o[$],e,o[s+1]=Xw(n,t),r,s)}}function Ww(e,n){return n>=e.expandoStartIndex}function qw(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Mt()],s=Ww(e,t);e_(i,r)&&n===null&&!s&&(n=!1),n=Zw(o,i,n,r),Hw(o,i,n,t,s,r)}}function Zw(e,n,t,r){let o=Fh(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=qu(null,e,n,t,r),t=Ro(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=qu(o,e,n,t,r),i===null){let c=Yw(e,n,r);c!==void 0&&Array.isArray(c)&&(c=qu(null,e,n,c[1],r),c=Ro(c,n.attrs,r),Qw(e,n,r,c))}else i=Kw(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function Yw(e,n,t){let r=t?n.classBindings:n.styleBindings;if(_r(r)!==0)return e[Fn(r)]}function Qw(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Fn(o)]=r}function Kw(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Ro(r,s,t)}return Ro(r,n.attrs,t)}function qu(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;
vendor: 5,303 bytes, line 4
4for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=Ro(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Ro(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),uh(e,s,t?!0:n[++i]))}return e===void 0?null:e}function Jw(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,u=c[a+1],l=Uw(u)?Ip(c,n,t,o,_r(u),s):void 0;if(!Vs(l)){Vs(i)||Vw(u)&&(i=Ip(c,null,t,o,a,s));let d=gu(Mt(),t);OC(r,s,d,o,i)}}function Ip(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=t[o+1];h===Be&&(h=d?_e:void 0);let f=d?es(h,r):l===r?h:void 0;if(u&&!Vs(f)&&(f=es(c,r)),Vs(f)&&(a=f,s))return a;let m=e[o+1];o=s?Fn(m):_r(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=es(c,r))}return a}function Vs(e){return e!==void 0}function Xw(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Ct(ko(e)))),e}function e_(e,n){return(e.flags&(n?8:16))!==0}function t_(e,n=""){let t=S(),r=Z(),o=e+G,i=r.firstCreatePass?Tr(r,o,1,n,null):r.data[o],s=n_(r,t,i,n);t[o]=s,ls()&&kl(r,t,s,i),gr(i,!1)}var n_=(e,n,t,r)=>(Eo(!0),GE(n[$],r));function r_(e,n,t,r=""){return lt(e,An(),t)?n+ur(t)+r:Be}function o_(e,n,t,r,o,i=""){let s=Ah(),a=AI(e,s,t,o);return xu(2),a?n+ur(t)+r+ur(o)+i:Be}function vm(e){return ud("",e),vm}function ud(e,n,t){let r=S(),o=r_(r,e,n,t);return o!==Be&&Em(r,Mt(),o),ud}function Dm(e,n,t,r,o){let i=S(),s=o_(i,e,n,t,r,o);return s!==Be&&Em(i,Mt(),s),Dm}function Em(e,n,t){let r=gu(n,e);WE(e[$],r,t)}function Cm(e,n,t){Ql(n)&&(n=n());let r=S(),o=An();if(lt(r,o,n)){let i=Z(),s=us();wg(s,r,e,n,r[$],t)}return Cm}function i_(e,n){let t=Ql(e);return t&&e.set(n),t}function Im(e,n){let t=S(),r=Z(),o=ie();return mm(r,t,t[$],o,e,n),Im}function wp(e,n,t){let r=Z();r.firstCreatePass&&wm(n,r.data,r.blueprint,ct(e),t)}function wm(e,n,t,r,o){if(e=fe(e),Array.isArray(e))for(let i=0;i<e.length;i++)wm(e[i],n,t,r,o);else{let i=Z(),s=S(),a=ie(),c=mn(e)?e:fe(e.provide),u=uu(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(mn(e)||!e.multi){let f=new Rn(u,o,x,null),m=Yu(c,n,o?l:l+h,d);m===-1?(Ku(bs(a,s),i,c),Zu(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[m]=f,s[m]=f)}else{let f=Yu(c,n,l+h,d),m=Yu(c,n,l,l+h),v=f>=0&&t[f],D=m>=0&&t[m];if(o&&!D||!o&&!v){Ku(bs(a,s),i,c);let E=c_(o?a_:s_,t.length,o,r,u,e);!o&&D&&(t[m].providerFactory=E),Zu(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(E),s.push(E)}else{let E=_m(t[o?m:f],u,!o&&r);Zu(i,e,f>-1?f:m,E)}!o&&r&&D&&t[m].componentProviders++}}}function Zu(e,n,t,r){let o=mn(n),i=ph(n);if(o||i){let c=(i?fe(n.useClass):n).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let l=u.indexOf(t);l===-1?u.push(t,[r,c]):u[l+1].push(r,c)}else u.push(t,c)}}}function _m(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Yu(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function s_(e,n,t,r,o){return El(this.multi,[])}function a_(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Mo(r,r[_],this.providerFactory.index,o);s=c.slice(0,a),El(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],El(i,s);return s}function El(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function c_(e,n,t,r,o,i){let s=new Rn(e,t,x,null);return s.multi=[],s.index=n,s.componentProviders=0,_m(s,o,r&&!t),s}function xt(e,n){return t=>{t.providersResolver=(r,o)=>wp(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>wp(r,o?o(n):n,!0))}}function u_(e,n,t){return bm(S(),Ru(),e,n,t)}function l_(e,n){let t=e[n];return t===Be?void 0:t}function bm(e,n,t,r,o,i){let s=n+t;return lt(e,s,o)?SI(e,s+1,i?r.call(i,o):r(o)):l_(e,s+1)}function d_(e,n){let t=Z(),r,o=e+G;t.firstCreatePass?(r=f_(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=Ut(r.type,!0)),s,a=ye(x);try{let c=_s(!1),u=i();return _s(c),yu(t,S(),o,u),u}finally{ye(a)}}function f_(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function h_(e,n,t){let r=e+G,o=S(),i=mu(o,r);return p_(o,r)?bm(o,Ru(),n,i.transform,t,i):i.transform(t)}function p_(e,n){return e[_].data[n].pure}function g_(e,n){return Ks(e,n)}var Bs=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},ld=(()=>{class e{compileModuleSync(t){return new Ps(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=eu(t),i=cg(o.declarations).reduce((s,a)=>{let c=zt(a);return c&&s.push(new Ir(c)),s},[]);return new Bs(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Mm=(()=>{class e{applicationErrorHandler=p(Ve);appRef=p(Jt);taskService=p(Tt);ngZone=p(he);zonelessEnabled=p(Io);tracing=p(At,{optional:!0});
4zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ue;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(uo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(Vu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Gh:Pu;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(uo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Tm(){return[{provide:It,useExisting:Mm},{provide:he,useClass:lo},{provide:Io,useValue:!0}]}function m_(){return typeof $localize<"u"&&$localize.locale||Uo}var dd=new I("",{factory:()=>p(dd,{optional:!0,skipSelf:!0})||m_()});var $o=class{destroyed=!1;listeners=null;errorHandler=p(Oe,{optional:!0});destroyRef=p(pe);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new y(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(rt(953,!1));return}if(this.listeners===null)return;let t=w(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{w(t)}}};function Xt(e,n){return oo(e,n?.equal)}var ia=Symbol("InputSignalNode#UNSET"),Fm=R(g({},Ui),{transformFn:void 0,applyValueToInputSignal(e,n){sr(e,n)}});function km(e,n){let t=Object.create(Fm);t.value=e,t.transformFn=n?.transform;function r(){if(rr(t),t.value===ia){let o=null;throw new y(-950,o)}return t.value}return r[ce]=t,r}var oa=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Oo(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function vV(e){return new $o}function Sm(e,n){return km(e,n)}function M_(e){return km(ia,e)}var Pm=(Sm.required=M_,Sm);function Am(e,n){return Jg(n)}function T_(e,n){return Xg(n)}var DV=(Am.required=T_,Am);function Lm(e,n){let t=Object.create(Fm),r=new $o;t.value=e;function o(){return rr(t),Nm(t.value),t.value}return o[ce]=t,o.asReadonly=ds.bind(o),o.set=i=>{t.equal(t.value,i)||(sr(t,i),r.emit(i))},o.update=i=>{Nm(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Nm(e){if(e===ia)throw new y(952,!1)}function Rm(e,n){return Lm(e,n)}function S_(e){return Lm(ia,e)}var EV=(Rm.required=S_,Rm);var fd=new I(""),A_=new I("");function zo(e){return!e.moduleRef}function N_(e){let n=zo(e)?e.r3Injector:e.moduleRef.injector,t=n.get(he);return t.run(()=>
4{zo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Ve),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),zo(e)){let i=()=>n.destroy(),s=e.platformInjector.get(fd);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(fd);s.add(i),e.moduleRef.onDestroy(()=>{bo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return x_(r,t,()=>{let i=n.get(Tt),s=i.add(),a=n.get(Xl);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(dd,Uo);if(pm(c||Uo),!n.get(A_,!0))return zo(e)?n.get(Jt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(zo(e)){let l=n.get(Jt);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return R_?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var R_;function x_(e,n,t){try{let r=t();return kn(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var ra=null;function O_(e=[],n){return ve.create({name:n,providers:[{provide:po,useValue:"platform"},{provide:fd,useValue:new Set([()=>ra=null])},...e]})}function F_(e=[]){if(ra)return ra;let n=O_(e);return ra=n,cm(),k_(n),n}function k_(e){let n=e.get(Hs,null);oe(e,()=>{n?.forEach(t=>t())})}var P_=1e4;var CV=P_-1e3;var Ot=(()=>{class e{static __NG_ELEMENT_ID__=L_}return e})();function L_(e){return j_(ie(),S(),(e&16)===16)}function j_(e,n,t){if(Zt(e)&&!t){let r=Le(e.index,n);return new Qt(r,r)}else if(e.type&175){let r=n[Ee];return new Qt(r,n)}return null}function jm(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;U(k.BootstrapApplicationStart);try{let i=o?.injector??F_(r),s=[Tm(),qh,...t||[]],a=new Ao({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return N_({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{U(k.BootstrapApplicationEnd)}}function en(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Vm=null;function Se(){return Vm}function hd(e){Vm??=e}var Go=class{},Ln=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(Bm),providedIn:"platform"})}return e})();var Bm=(()=>{class e extends Ln{_location;_history;_doc=p(z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Se().getBaseHref(this._doc)}onPopState(t){let r=Se().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Se().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,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function $m(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Um(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function tn(e){return e&&e[0]!=="?"?`?${e}`:e}var jn=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(zm),providedIn:"root"})}return e})(),V_=new I(""),zm=(()=>{class e extends jn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.on
vendor: 36,560 bytes, lines 4-5
4HashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return $m(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+tn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+tn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+tn(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(M(Ln),M(V_,8))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Vn=(()=>{class e{_subject=new ne;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=H_(Um(Hm(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.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+tn(r))}normalize(t){return e.stripTrailingSlash(U_(this._basePath,Hm(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+tn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+tn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=tn;static joinWithSlash=$m;static stripTrailingSlash=Um;static \u0275fac=function(r){return new(r||e)(M(jn))};static \u0275prov=C({token:e,factory:()=>B_(),providedIn:"root"})}return e})();function B_(){return new Vn(M(jn))}function U_(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Hm(e){return e.replace(/\/index.html$/,"")}function H_(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var $_=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(x(Kt))};static \u0275dir=W({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Je]})}return e})();function Wo(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Bn=class{};var Gm="browser";var Wm=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>new pd(p(z),window)})}return e})(),pd=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,t){this.window.scrollTo(R(g({},t),{left:n[0],top:n[1]}))}scrollToAnchor(n,t){let r=Z_(this.document,n);r&&(this.scrollToElement(r,t),r.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(rt(2400,!1))}}scrollToElement(n,t){let r=n.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(R(g({},t),{left:o-s[0],top:i-s[1]}))}};function Z_(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var qo=class{_doc;constructor(n){this._doc=n}manager},sa=(()=>{class e extends qo{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(M(z))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),ua=new I(""),vd=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof sa));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof sa);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new y(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(M(ua),M(he))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),gd="ng-app-id";function qm(e){for(let n of e)n.remove()}function Zm(e,n){let t=n.createElement("style");return t.textContent=e,t}function Q_(e,n,t,r){let o=e.head?.querySelectorAll(`style[${gd}="${n}"],link[${gd}="${n}"]`);if(o)for(let i of o)i.removeAttribute(gd),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function yd(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Dd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,Q_(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,Zm);r?.forEach(o=>this.addUsage(o,this.external,yd))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(qm(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])qm(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,Zm(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,yd(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(M(z),M(Us),M($s,8),M(Fo))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),md={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/Math/MathML"},Ed=/%COMP%/g;var Qm="%COMP%",K_=`_nghost-${Qm}`,J_=`_ngcontent-${Qm}`,X_=!0,eb=new I("",{factory:()=>X_});function tb(e){return J_.replace(Ed,e)}function nb(e){return K_.replace(Ed,e)}function Km(e,n){return n.map(t=>t.replace(Ed,e))}var Cd=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,u=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new Zo(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof ca?o.applyToHost(t):o instanceof Yo&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Ke.Emulated:i=new ca(c,u,r,this.appId,l,s,a,d);break;case Ke.ShadowDom:return new aa(c,t,r,s,a,this.nonce,d,u);case Ke.ExperimentalIsolatedShadowDom:return new aa(c,t,r,s,a,this.nonce,d);default:i=new Yo(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(M(vd),M(Dd),M(Us),M(eb),M(z),M(he),M($s),M(At,8))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),Zo=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(md[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(Ym(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(Ym(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new y(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=md[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=md[r];o?n.removeAttributeNS(o,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,o){o&(St.DashCase|St.Important)?n.style.setProperty(t,r,o&St.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&St.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=Se().getGlobalEventTarget(this.doc,n),!n))throw new y(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function Ym(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var aa=class extends Zo{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Km(r.id,u);for(let d of u){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let l=r.getExternalStyles?.();if(l)for(let d of l){let h=yd(d,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}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(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Yo=class extends Zo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?Km(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&xn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ca=class extends Yo{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let u=o+"-"+r.id;super(n,t,r,i,s,a,c,u),this.contentAttr=tb(u),this.hostAttr=nb(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var la=class e extends Go{supportsDOMEvents=!0;static makeCurrent(){hd(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.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 t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=rb();return t==null?null:ob(t)}resetBaseElement(){Qo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Wo(document.cookie,n)}},Qo=null;function rb(){return Qo=Qo||document.head.querySelector("base"),Qo?Qo.getAttribute("href"):null}function ob(e){return new URL(e,document.baseURI).pathname}var ib=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),Jm=["alt","control","meta","shift"],sb={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ab={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Xm=(()=>{class e extends qo{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Se().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Jm.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=sb[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Jm.forEach(s=>{if(s!==o){let a=ab[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(M(z))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();async function cb(e,n,t){let r=g({rootComponent:e},ub(n,t));return jm(r)}function ub(e,n){return{platformRef:n?.platformRef,appProviders:[...pb,...e?.providers??[]],platformProviders:hb}}function lb(){la.makeCurrent()}function db(){return new Oe}function fb(){return wl(document),document}var hb=[{provide:Fo,useValue:Gm},{provide:Hs,useValue:lb,multi:!0},{provide:z,useFactory:fb}];var pb=[{provide:po,useValue:"root"},{provide:Oe,useFactory:db},{provide:ua,useClass:sa,multi:!0},{provide:ua,useClass:Xm,multi:!0},Cd,Dd,vd,{provide:On,useExisting:Cd},{provide:Bn,useClass:ib},[]];var pt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` 5`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let 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 e?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){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var ha=class{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()}},pa=class{encodeKey(n){return ey(n)}encodeValue(n){return ey(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function gb(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var mb=/%(\d[a-f0-9])/gi,yb={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ey(e){return encodeURIComponent(e).replace(mb,(n,t)=>yb[t]??n)}function da(e){return`${e}`}var Ft=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new pa,n.fromString){if(n.fromObject)throw new y(2805,!1);this.map=gb(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(da):[da(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let 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){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,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=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(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":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(da(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(da(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function vb(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ty(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function ny(e){return typeof Blob<"u"&&e instanceof Blob}function ry(e){return typeof FormData<"u"&&e instanceof FormData}function Db(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Ko="Content-Type",ga="Accept",oy="text/plain",iy="application/json",sy=`${iy}, ${oy}, */*`,Sr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(vb(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new y(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new pt,this.context??=new ha,!this.params)this.params=new Ft,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||ty(this.body)||ny(this.body)||ry(this.body)||Db(this.body)?this.body:this.body instanceof Ft?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||ry(this.body)?null:ny(this.body)?this.body.type||null:ty(this.body)?null:typeof this.body=="string"?oy:this.body instanceof Ft?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?iy:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,u=n.redirect||this.redirect,l=n.credentials||this.credentials,d=n.referrer||this.referrer,h=n.integrity||this.integrity,f=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,v=n.timeout??this.timeout,D=n.body!==void 0?n.body:this.body,E=n.withCredentials??this.withCredentials,H=n.reportProgress??this.reportProgress,Ie=n.headers||this.headers,Y=n.params||this.params,jt=n.context??this.context;return n.setHeaders!==void 0&&(Ie=Object.keys(n.setHeaders).reduce((Vt,yt)=>Vt.set(yt,n.setHeaders[yt]),Ie)),n.setParams&&(Y=Object.keys(n.setParams).reduce((Vt,yt)=>Vt.set(yt,n.setParams[yt]),Y)),new e(t,r,D,{params:Y,headers:Ie,context:jt,reportProgress:H,responseType:o,withCredentials:E,transferCache:m,keepalive:i,cache:a,priority:s,timeout:v,mode:c,redirect:u,credentials:l,referrer:d,integrity:h,referrerPolicy:f})}},kt=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(kt||{}),Ar=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new pt,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},Jo=class e extends Ar{constructor(n={}){super(n)}type=kt.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Nr=class e extends Ar{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=kt.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},ht=class extends Ar{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},ay=200,Eb=204;var Cb=/^\)\]\}',?\n/,cy=new I(""),fa=(()=>{class e{fetchImpl=p(wd,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=p(he);destroyRef=p(pe);handle(t){return new F(r=>{let o=new AbortController;this.doRequest(t,o.signal,r).then(_d,s=>r.error(new ht({error:s})));let i;return t.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},t.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}async doRequest(t,r,o){let i=this.createRequestInit(t),s;try{let v=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,g({signal:r},i)));Ib(v),o.next({type:kt.Sent}),s=await v}catch(v){o.error(new ht({error:v,status:v.status??0,statusText:v.statusText,url:t.urlWithParams,headers:v.headers}));return}let a=new pt(s.headers),c=s.statusText,u=s.url||t.urlWithParams,l=s.status,d=null;if(t.reportProgress&&o.next(new Jo({headers:a,status:l,statusText:c,url:u})),s.body){let v=s.headers.get("content-length"),D=[],E=s.body.getReader(),H=0,Ie,Y,jt=typeof Zone<"u"&&Zone.current,Vt=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await E.cancel(),Vt=!0;break}let{done:Qr,value:oc}=await E.read();if(Qr)break;if(D.push(oc),H+=oc.length,t.reportProgress){Y=t.responseType==="text"?(Y??"")+(Ie??=new TextDecoder).decode(oc,{stream:!0}):void 0;let pf=()=>o.next({type:kt.DownloadProgress,total:v?+v:void 0,loaded:H,partialText:Y});jt?jt.run(pf):pf()}}}),Vt){o.complete();return}let yt=this.concatChunks(D,H);try{let Qr=s.headers.get(Ko)??"";d=this.parseBody(t,yt,Qr,l)}catch(Qr){o.error(new ht({error:Qr,headers:new pt(s.headers),status:s.status,statusText:s.statusText,url:s.url||t.urlWithParams}));return}}l===0&&(l=d?ay:0);let h=l>=200&&l<300,f=s.redirected,m=s.type;h?(o.next(new Nr({body:d,headers:a,status:l,statusText:c,url:u,redirected:f,responseType:m})),o.complete()):o.error(new ht({error:d,headers:a,status:l,statusText:c,url:u,redirected:f,responseType:m}))}parseBody(t,r,o,i){switch(t.responseType){case"json":let s=new TextDecoder().decode(r).replace(Cb,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},o;if(o=t.credentials,t.withCredentials&&(o="include"),t.headers.forEach((i,s)=>r[i]=s.join(",")),t.headers.has(ga)||(r[ga]=sy),!t.headers.has(Ko)){let i=t.detectContentTypeHeader();i!==null&&(r[Ko]=i)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:o,keepalive:t.keepalive,cache:t.cache,priority:t.priority,mode:t.mode,redirect:t.redirect,referrer:t.referrer,integrity:t.integrity,referrerPolicy:t.referrerPolicy}}concatChunks(t,r){let o=new Uint8Array(r),i=0;for(let s of t)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),wd=class{};function _d(){}function Ib(e){e.then(_d,_d)}var wb=/^\)\]\}',?\n/;var bd=(()=>{class e{xhrFactory;tracingService=p(At,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new y(-2800,!1);let r=this.xhrFactory;return O(null).pipe(Ge(()=>new F(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((D,E)=>s.setRequestHeader(D,E.join(","))),t.headers.has(ga)||s.setRequestHeader(ga,sy),!t.headers.has(Ko)){let D=t.detectContentTypeHeader();D!==null&&s.setRequestHeader(Ko,D)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let D=t.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=t.serializeBody(),c=null,u=()=>{if(c!==null)return c;let D=s.statusText||"OK",E=new pt(s.getAllResponseHeaders()),H=s.responseURL||t.url;return c=new Jo({headers:E,status:s.status,statusText:D,url:H}),c},l=this.maybePropagateTrace(()=>{let{headers:D,status:E,statusText:H,url:Ie}=u(),Y=null;E!==Eb&&(Y=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=Y?ay:0);let jt=E>=200&&E<300;if(t.responseType==="json"&&typeof Y=="string"){let Vt=Y;Y=Y.replace(wb,"");try{Y=Y!==""?JSON.parse(Y):null}catch(yt){Y=Vt,jt&&(jt=!1,Y={error:yt,text:Y})}}jt?(i.next(new Nr({body:Y,headers:D,status:E,statusText:H,url:Ie||void 0})),i.complete()):i.error(new ht({error:Y,headers:D,status:E,statusText:H,url:Ie||void 0}))}),d=this.maybePropagateTrace(D=>{let{url:E}=u(),H=new ht({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});i.error(H)}),h=d;t.timeout&&(h=this.maybePropagateTrace(D=>{let{url:E}=u(),H=new ht({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:E||void 0});i.error(H)}));let f=!1,m=this.maybePropagateTrace(D=>{f||(i.next(u()),f=!0);let E={type:kt.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(E.total=D.total),t.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),i.next(E)}),v=this.maybePropagateTrace(D=>{let E={type:kt.UploadProgress,loaded:D.loaded};D.lengthComputable&&(E.total=D.total),i.next(E)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:kt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),t.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(M(Bn))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _b(e,n){return n(e)}function bb(e,n,t){return(r,o)=>oe(t,()=>n(r,i=>e(i,o)))}var uy=new I("",{factory:()=>[]}),ly=new I(""),dy=new I("",{factory:()=>!0});var ya=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=M(bd),o},providedIn:"root"})}return e})();var ma=(()=>{class e{backend;injector;chain=null;pendingTasks=p(wo);contributeToStability=p(dy);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(uy),...this.injector.get(ly,[])]));this.chain=r.reduceRight((o,i)=>bb(o,i,this.injector),_b)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(eo(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(M(ya),M(q))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Md=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=M(ma),o},providedIn:"root"})}return e})();function Id(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,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var va=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Sr)i=t;else{let c;o.headers instanceof pt?c=o.headers:c=new pt(o.headers);let u;o.params&&(o.params instanceof Ft?u=o.params:u=new Ft({fromObject:o.params})),i=new Sr(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=O(i).pipe(fn(c=>this.handler.handle(c)));if(t instanceof Sr||o.observe==="events")return s;let a=s.pipe(xe(c=>c instanceof Nr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(V(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case"blob":return a.pipe(V(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case"text":return a.pipe(V(c=>{if(c.body!==null&&typeof c.body!="string")throw new y(2808,!1);return c.body}));default:return a.pipe(V(c=>c.body))}case"response":return a;default:throw new y(2809,!1)}}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 Ft().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,Id(o,r))}post(t,r,o={}){return this.request("POST",t,Id(o,r))}put(t,r,o={}){return this.request("PUT",t,Id(o,r))}static \u0275fac=function(r){return new(r||e)(M(Md))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Mb=new I("",{factory:()=>!0}
5),Tb="XSRF-TOKEN",Sb=new I("",{factory:()=>Tb}),Ab="X-XSRF-TOKEN",Nb=new I("",{factory:()=>Ab}),Rb=(()=>{class e{cookieName=p(Sb);doc=p(z);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Wo(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=M(Rb),o},providedIn:"root"})}return e})();function xb(e,n){if(!p(Mb)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=p(Ln).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch{return n(e)}let t=p(fy).getToken(),r=p(Nb);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var Td=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(Td||{});function Ob(e,n){return{\u0275kind:e,\u0275providers:n}}function Fb(...e){let n=[va,ma,{provide:Md,useExisting:ma},{provide:ya,useFactory:()=>p(cy,{optional:!0})??p(bd)},{provide:uy,useValue:xb,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return wt(n)}function kb(){return Ob(Td.Fetch,[fa,{provide:cy,useExisting:fa},{provide:ya,useExisting:fa}])}var aH=(()=>{class e{_doc;_dom;constructor(t){this._doc=t,this._dom=Se()}addTag(t,r=!1){return t?this._getOrCreateElement(t,r):null}addTags(t,r=!1){return t?t.reduce((o,i)=>(i&&o.push(this._getOrCreateElement(i,r)),o),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];let r=this._doc.querySelectorAll(`meta[${t}]`);return r?[].slice.call(r):[]}updateTag(t,r){if(!t)return null;r=r||this._parseSelector(t);let o=this.getTag(r);return o?this._setMetaElementAttributes(t,o):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,r=!1){if(!r){let s=this._parseSelector(t),a=this.getTags(s).filter(c=>this._containsAttributes(t,c))[0];if(a!==void 0)return a}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(t,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(t,r){return Object.keys(t).forEach(o=>r.setAttribute(this._getMetaKeyMap(o),t[o])),r}_parseSelector(t){let r=t.name?"name":"property";return`${r}="${t[r]}"`}_containsAttributes(t,r){return Object.keys(t).every(o=>r.getAttribute(this._getMetaKeyMap(o))===t[o])}_getMetaKeyMap(t){return Pb[t]||t}static \u0275fac=function(r){return new(r||e)(M(z))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pb={httpEquiv:"http-equiv"},hy=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(M(z))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var A="primary",ci=Symbol("RouteTitle"),xd=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function $n(e){return new xd(e)}function Sd(e,n,t){for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(o[0]===":")t[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function Iy(e,n,t){let r=t.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let c={},u=e.slice(0,r.length);return Sd(r,u,c)?{consumed:u,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||t.pathMatch==="full"&&n.hasChildren()&&t.path!=="**")return null;let a={};return!Sd(i,e.slice(0,i.length),a)||!Sd(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function _a(e){return new Promise((n,t)=>{e.pipe(Dt()).subscribe({next:r=>n(r),error:r=>t(r)})})}function jb(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!gt(e[t],n[t]))return!1;return!0}function gt(e,n){let t=e?Od(e):void 0,r=n?Od(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!wy(e[o],n[o]))return!1;return!0}function Od(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function wy(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function Vb(e){return e.length>0?e[e.length-1]:null}function Gn(e){return Fi(e)?e:kn(e)?J(Promise.resolve(e)):O(e)}function _y(e){return Fi(e)?_a(e):Promise.resolve(e)}var Bb={exact:My,subset:Ty}
vendor: 12,867 bytes, line 5
5,by={exact:Ub,subset:Hb,ignored:()=>!0};function qd(e,n,t){let r=e instanceof Ne?e:n.parseUrl(e);return Xt(()=>Fd(n.lastSuccessfulNavigation()?.finalUrl??new Ne,r,t))}function Fd(e,n,t){return Bb[t.paths](e.root,n.root,t.matrixParams)&&by[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function Ub(e,n){return gt(e,n)}function My(e,n,t){if(!Un(e.segments,n.segments)||!Ca(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!My(e.children[r],n.children[r],t))return!1;return!0}function Hb(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>wy(e[t],n[t]))}function Ty(e,n,t){return Sy(e,n,n.segments,t)}function Sy(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!Un(o,t)||n.hasChildren()||!Ca(o,t,r))}else if(e.segments.length===t.length){if(!Un(e.segments,t)||!Ca(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!Ty(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!Un(e.segments,o)||!Ca(e.segments,o,r)||!e.children[A]?!1:Sy(e.children[A],n,i,r)}}function Ca(e,n,t){return n.every((r,o)=>by[t](e[o].parameters,r.parameters))}var Ne=class{root;queryParams;fragment;_queryParamMap;constructor(n=new P([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=$n(this.queryParams),this._queryParamMap}toString(){return Gb.serialize(this)}},P=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ia(this)}},nn=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=$n(this.parameters),this._parameterMap}toString(){return Ny(this)}};function $b(e,n){return Un(e,n)&&e.every((t,r)=>gt(t.parameters,n[r].parameters))}function Un(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function zb(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===A&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==A&&(t=t.concat(n(o,r)))}),t}var Hr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>new rn,providedIn:"root"})}return e})(),rn=class{parse(n){let t=new Pd(n);return new Ne(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${Xo(n.root,!0)}`,r=Zb(n.queryParams),o=typeof n.fragment=="string"?`#${Wb(n.fragment)}`:"";return`${t}${r}${o}`}},Gb=new rn;function Ia(e){return e.segments.map(n=>Ny(n)).join("/")}function Xo(e,n){if(!e.hasChildren())return Ia(e);if(n){let t=e.children[A]?Xo(e.children[A],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==A&&r.push(`${o}:${Xo(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=zb(e,(r,o)=>o===A?[Xo(e.children[A],!1)]:[`${o}:${Xo(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[A]!=null?`${Ia(e)}/${t[0]}`:`${Ia(e)}/(${t.join("//")})`}}function Ay(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Da(e){return Ay(e).replace(/%3B/gi,";")}function Wb(e){return encodeURI(e)}function kd(e){return Ay(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function wa(e){return decodeURIComponent(e)}function py(e){return wa(e.replace(/\+/g,"%20"))}function Ny(e){return`${kd(e.path)}${qb(e.parameters)}`}function qb(e){return Object.entries(e).map(([n,t])=>`;${kd(n)}=${kd(t)}`).join("")}function Zb(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${Da(t)}=${Da(o)}`).join("&"):`${Da(t)}=${Da(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var Yb=/^[^\/()?;#]+/;function Ad(e){let n=e.match(Yb);return n?n[0]:""}var Qb=/^[^\/()?;=#]+/;function Kb(e){let n=e.match(Qb);return n?n[0]:""}var Jb=/^[^=?&#]+/;function Xb(e){let n=e.match(Jb);return n?n[0]:""}var eM=/^[^&#]+/;function tM(e){let n=e.match(eM);return n?n[0]:""}var Pd=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new P([],{}):new P([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new y(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,n)),(t.length>0||Object.keys(r).length>0)&&(o[A]=new P(t,r)),o}parseSegment(){let n=Ad(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(n),new nn(wa(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=Kb(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=Ad(this.remaining);o&&(r=o,this.capture(r))}n[wa(t)]=wa(r)}parseQueryParam(n){let t=Xb(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=tM(this.remaining);s&&(r=s,this.capture(r))}let o=py(t),i=py(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n,t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=Ad(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=A);let a=this.parseChildren(t+1);r[s??A]=Object.keys(a).length===1&&a[A]?a[A]:new P([],a),this.consumeOptional("//")}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new y(4011,!1)}};function Ry(e){return e.segments.length>0?new P([],{[A]:e}):e}function xy(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=xy(o);if(r===A&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new P(e.segments,n);return nM(t)}function nM(e){if(e.numberOfChildren===1&&e.children[A]){let n=e.children[A];return new P(e.segments.concat(n.segments),n.children)}return e}function on(e){return e instanceof Ne}function Oy(e,n,t=null,r=null,o=new rn){let i=Fy(e);return ky(i,n,t,r,o)}function Fy(e){let n;function t(i){let s={};for(let c of i.children){let u=t(c);s[c.outlet]=u}let a=new P(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=Ry(r);return n??o}function ky(e,n,t,r,o){let i=e;for(;i.parent;)i=i.parent;if(n.length===0)return Nd(i,i,i,t,r,o);let s=rM(n);if(s.toRoot())return Nd(i,i,new P([],{}),t,r,o);let a=oM(s,i,e),c=a.processChildren?ti(a.segmentGroup,a.index,s.commands):Ly(a.segmentGroup,a.index,s.commands);return Nd(i,a.segmentGroup,c,t,r,o)}function ba(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function ri(e){return typeof e=="object"&&e!=null&&e.outlets}function gy(e,n,t){e||="\u0275";let r=new Ne;return r.queryParams={[e]:n},t.parse(t.serialize(r)).queryParams[e]}function Nd(e,n,t,r,o,i){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(d=>gy(u,d,i)):gy(u,l,i);let a;e===n?a=t:a=Py(e,n,t);let c=Ry(xy(a));return new Ne(c,s,o)}function Py(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=Py(i,n,t)}),new P(e.segments,r)}var Ma=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&ba(r[0]))throw new y(4003,!1);let o=r.find(ri);if(o&&o!==Vb(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function rM(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ma(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Ma(t,n,r)}var xr=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function oM(e,n,t){if(e.isAbsolute)return new xr(n,!0,0);if(!t)return new xr(n,!1,NaN);if(t.parent===null)return new xr(t,!0,0);let r=ba(e.commands[0])?0:1,o=t.segments.length-1+r;return iM(t,o,e.numberOfDoubleDots)}function iM(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new xr(r,!1,o-i)}function sM(e){return ri(e[0])?e[0].outlets:{[A]:e}}function Ly(e,n,t){if(e??=new P([],{}),e.segments.length===0&&e.hasChildren())return ti(e,n,t);let r=aM(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new P(e.segments.slice(0,r.pathIndex),{});return i.children[A]=new P(e.segments.slice(r.pathIndex),e.children),ti(i,0,o)}else return r.match&&o.length===0?new P(e.segments,{}):r.match&&!e.hasChildren()?Ld(e,n,t):r.match?ti(e,0,o):Ld(e,n,t)}function ti(e,n,t){if(t.length===0)return new P(e.segments,{});{let r=sM(t),o={};if(Object.keys(r).some(i=>i!==A)&&e.children[A]&&e.numberOfChildren===1&&e.children[A].segments.length===0){let i=ti(e.children[A],n,t);return new P(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Ly(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new P(e.segments,o)}}function aM(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(ri(a))break;let c=`${a}`,u=r<t.length-1?t[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!yy(c,u,s))return i;r+=2}else{if(!yy(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Ld(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(ri(i)){let c=cM(i.outlets);return new P(r,c)}if(o===0&&ba(t[0])){let c=e.segments[n];r.push(new nn(c.path,my(t[0]))),o++;continue}let s=ri(i)?i.outlets[A]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&ba(a)?(r.push(new nn(s,my(a))),o+=2):(r.push(new nn(s,{})),o++)}return new P(r,{})}function cM(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=Ld(new P([],{}),0,r))}),n}function my(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function yy(e,n,t){return e==t.path&>(n,t.parameters)}var Or="imperative",se=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(se||{}),Re=class{id;url;constructor(n,t){this.id=n,this.url=t}},sn=class extends Re{type=se.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},He=class extends Re{urlAfterRedirects;type=se.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},me=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromRe
5solver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(me||{}),kr=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(kr||{}),Ue=class extends Re{reason;code;type=se.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function jy(e){return e instanceof Ue&&(e.code===me.Redirect||e.code===me.SupersededByNewNavigation)}var mt=class extends Re{reason;code;type=se.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},zn=class extends Re{error;target;type=se.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Pr=class extends Re{urlAfterRedirects;state;type=se.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ta=class extends Re{urlAfterRedirects;state;type=se.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Sa=class extends Re{urlAfterRedirects;state;shouldActivate;type=se.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Aa=class extends Re{urlAfterRedirects;state;type=se.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Na=class extends Re{urlAfterRedirects;state;type=se.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ra=class{route;type=se.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},xa=class{route;type=se.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Oa=class{snapshot;type=se.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Fa=class{snapshot;type=se.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ka=class{snapshot;type=se.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Pa=class{snapshot;type=se.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Lr=class{routerEvent;position;anchor;scrollBehavior;type=se.Scroll;constructor(n,t,r,o){this.routerEvent=n,this.position=t,this.anchor=r,this.scrollBehavior=o}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},jr=class{},Vr=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function uM(e){return!(e instanceof jr)&&!(e instanceof Vr)}var La=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new $r(this.rootInjector)}},$r=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let 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 La(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(M(q))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ja=class{_root;constructor(n){this._root=n}get root(){return this._root.value}
vendor: 29,601 bytes, line 5
5parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=jd(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=jd(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Vd(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Vd(n,this._root).map(t=>t.value)}};function jd(e,n){if(e===n.value)return n;for(let t of n.children){let r=jd(e,t);if(r)return r}return null}function Vd(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Vd(e,t);if(r.length)return r.unshift(n),r}return[]}var Ae=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function Rr(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var oi=class extends ja{snapshot;constructor(n,t){super(n),this.snapshot=t,Zd(this,n)}toString(){return this.snapshot.toString()}};function Vy(e,n){let t=lM(e,n),r=new le([new nn("",{})]),o=new le({}),i=new le({}),s=new le({}),a=new le(""),c=new Lt(r,o,s,a,i,A,e,t.root);return c.snapshot=t.root,new oi(new Ae(c,[]),t)}function lM(e,n){let t={},r={},o={},s=new Hn([],t,o,"",r,A,e,null,{},n);return new ii("",new Ae(s,[]))}var Lt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(V(u=>u[ci]))??O(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}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.params.pipe(V(n=>$n(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(V(n=>$n(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Va(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:g(g({},n.params),e.params),data:g(g({},n.data),e.data),resolve:g(g(g(g({},e.data),n.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&Uy(o)&&(r.resolve[ci]=o.title),r}var Hn=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[ci]}constructor(n,t,r,o,i,s,a,c,u,l){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u,this._environmentInjector=l}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??=$n(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=$n(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},ii=class extends ja{url;constructor(n,t){super(t),this.url=n,Zd(this,t)}toString(){return By(this._root)}};function Zd(e,n){n.value._routerState=e,n.children.forEach(t=>Zd(e,t))}function By(e){let n=e.children.length>0?` { ${e.children.map(By).join(", ")} } `:"";return`${e.value}${n}`}function Rd(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,gt(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),gt(n.params,t.params)||e.paramsSubject.next(t.params),jb(n.url,t.url)||e.urlSubject.next(t.url),gt(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Bd(e,n){let t=gt(e.params,n.params)&&$b(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||Bd(e.parent,n.parent))}function Uy(e){return typeof e.title=="string"||e.title===null}var Hy=new I(""),Yd=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=A;activateEvents=new X;deactivateEvents=new X;attachEvents=new X;detachEvents=new X;routerOutletData=Pm();parentContexts=p($r);location=p(Kt);changeDetector=p(Ot);inputBinder=p($a,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);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 y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let 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.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Ud(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=W({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Je]})}return e})(),Ud=class{route;childContexts;parent;outletData;constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===Lt?this.route:n===$r?this.childContexts:n===Hy?this.outletData:this.parent.get(n,t)}},$a=new I("");var Qd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Zl({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&ta(0,"router-outlet")},dependencies:[Yd],encapsulation:2})}return e})();function Kd(e){let n=e.children&&e.children.map(Kd),t=n?R(g({},e),{children:n}):g({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==A&&(t.component=Qd),t}function dM(e,n,t){let r=si(e,n._root,t?t._root:void 0);return new oi(r,n)}function si(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=fM(e,n,t);return new Ae(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>si(e,a)),s}}let r=hM(n.value),o=n.children.map(i=>si(e,i));return new Ae(r,o)}}function fM(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return si(e,r,o);return si(e,r)})}function hM(e){return new Lt(new le(e.url),new le(e.params),new le(e.queryParams),new le(e.fragment),new le(e.data),e.outlet,e.component,e)}var Br=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},$y="ngNavigationCancelingError";function Ba(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=on(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=zy(!1,me.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function zy(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[$y]=!0,t.cancellationCode=n,t}function pM(e){return Gy(e)&&on(e.url)}function Gy(e){return!!e&&e[$y]}var Hd=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Rd(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=Rr(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&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){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Rr(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Rr(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=Rr(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Pa(i.value.snapshot))}),n.children.length&&this.forwardEvent(new Fa(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(Rd(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Rd(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Ua=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Fr=class{component;route;constructor(n,t){this.component=n,this.route=t}};function gM(e,n,t){let r=e._root,o=n?n._root:null;return ei(r,o,t,[r.value])}function mM(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function zr(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Zc(e)?e:n.get(e):r}function ei(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Rr(n);return e.children.forEach(s=>{yM(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ni(a,t.getContext(s),o)),o}function yM(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=vM(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ua(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ei(e,n,a?a.children:null,r,o):ei(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Fr(a.outlet.component,s))}else s&&ni(n,a,o),o.canActivateChecks.push(new Ua(r)),i.component?ei(e,null,a?a.children:null,r,o):ei(e,null,t,r,o);return o}function vM(e,n,t){if(typeof t=="function")return oe(n._environmentInjector,()=>t(e,n));switch(t){case"pathParamsChange":return!Un(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Un(e.url,n.url)||!gt(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Bd(e,n)||!gt(e.queryParams,n.queryParams);default:return!Bd(e,n)}}function ni(e,n,t){let r=Rr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?ni(s,n.children.getContext(i),t):ni(s,null,t):ni(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new Fr(n.outlet.component,o)):t.canDeactivateChecks.push(new Fr(null,o)):t.canDeactivateChecks.push(new Fr(null,o))}function ui(e){return typeof e=="function"}function DM(e){return typeof e=="boolean"}function EM(e){return e&&ui(e.canLoad)}function CM(e){return e&&ui(e.canActivate)}function IM(e){return e&&ui(e.canActivateChild)}function wM(e){return e&&ui(e.canDeactivate)}function _M(e){return e&&ui(e.canMatch)}function Wy(e){return e instanceof dn||e?.name==="EmptyError"}var Ea=Symbol("INITIAL_VALUE");function Ur(){return Ge(e=>pc(e.map(n=>n.pipe(vt(1),yc(Ea)))).pipe(V(n=>{for(let t of n)if(t!==!0){if(t===Ea)return Ea;if(t===!1||bM(t))return t}return!0}),xe(n=>n!==Ea),vt(1)))}function bM(e){return on(e)||e instanceof Br}function qy(e){return e.aborted?O(void 0).pipe(vt(1)):new F(n=>{let t=()=>{n.next(),n.complete()};return e.addEventListener("abort",t),()=>e.removeEventListener("abort",t)})}function Zy(e){return to(qy(e))}function MM(e){return ae(n=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?O(R(g({},n),{guardsResult:!0})):TM(i,t,r).pipe(ae(s=>s&&DM(s)?SM(t,o,e):O(s)),V(s=>R(g({},n),{guardsResult:s})))})}function TM(e,n,t){return J(e).pipe(ae(r=>OM(r.component,r.route,t,n)),Dt(r=>r!==!0,!0))}function SM(e,n,t){return J(n).pipe(fn(r=>er(NM(r.route.parent,t),AM(r.route,t),xM(e,r.path),RM(e,r.route))),Dt(r=>r!==!0,!0))}function AM(e,n){return e!==null&&n&&n(new ka(e)),O(!0)}function NM(e,n){return e!==null&&n&&n(new Oa(e)),O(!0)}function RM(e,n){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return O(!0);let r=t.map(o=>Xr(()=>{let i=n._environmentInjector,s=zr(o,i),a=CM(s)?s.canActivate(n,e):oe(i,()=>s(n,e));return Gn(a).pipe(Dt())}));return O(r).pipe(Ur())}function xM(e,n){let t=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>mM(i)).filter(i=>i!==null).map(i=>Xr(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,u=zr(a,c),l=IM(u)?u.canActivateChild(t,e):oe(c,()=>u(t,e));return Gn(l).pipe(Dt())});return O(s).pipe(Ur())}));return O(o).pipe(Ur())}function OM(e,n,t,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);let i=o.map(s=>{let a=n._environmentInjector,c=zr(s,a),u=wM(c)?c.canDeactivate(e,n,t,r):oe(a,()=>c(e,n,t,r));return Gn(u).pipe(Dt())});return O(i).pipe(Ur())}function FM(e,n,t,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return O(!0);let s=i.map(a=>{let c=zr(a,e),u=EM(c)?c.canLoad(n,t):oe(e,()=>c(n,t)),l=Gn(u);return o?l.pipe(Zy(o)):l});return O(s).pipe(Ur(),Yy(r))}function Yy(e){return dc(We(n=>{if(typeof n!="boolean")throw Ba(e,n)}),V(n=>n===!0))}function kM(e,n,t,r,o){let i=n.canMatch;if(!i||i.length===0)return O(!0);let s=i.map(a=>{let c=zr(a,e),u=_M(c)?c.canMatch(n,t):oe(e,()=>c(n,t));return Gn(u).pipe(Zy(o))});return O(s).pipe(Ur(),Yy(r))}var Pt=class e extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,e.prototype)}},ai=class e extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,e.prototype)}};function PM(e){throw new y(4e3,!1)}function LM(e){throw zy(!1,me.GuardRejected)}var $d=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}async lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[A])throw PM(`${n.redirectTo}`);o=o.children[A]}}async applyRedirectCommands(n,t,r,o,i){let s=await jM(t,o,i);if(s instanceof Ne)throw new ai(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new ai(a);return a}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new Ne(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new P(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}};function jM(e,n,t){if(typeof e=="string")return Promise.resolve(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d,paramMap:h,queryParamMap:f}=n;return _a(Gn(oe(t,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d,paramMap:h,queryParamMap:f}))))}function VM(e,n){return e.providers&&!e._injector&&(e._injector=Bo(e.providers,n,`Route: ${e.path}`)),e._injector??n}function tt(e){return e.outlet||A}function BM(e,n){let t=e.filter(r=>tt(r)===n);return t.push(...e.filter(r=>tt(r)!==n)),t}var zd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function UM(e,n,t,r,o,i){let s=Qy(e,n,t);return s.matched?(r=VM(n,r),kM(r,n,t,o,i).pipe(V(a=>a===!0?s:g({},zd)))):O(s)}function Qy(e,n,t){if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?g({},zd):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||Iy)(t,e,n);if(!o)return g({},zd);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function vy(e,n,t,r){return t.length>0&&zM(e,t,r)?{segmentGroup:new P(n,$M(r,new P(t,e.children))),slicedSegments:[]}:t.length===0&&GM(e,t,r)?{segmentGroup:new P(e.segments,HM(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new P(e.segments,e.children),slicedSegments:t}}function HM(e,n,t,r){let o={};for(let i of t)if(za(e,n,i)&&!r[tt(i)]){let s=new P([],{});o[tt(i)]=s}return g(g({},r),o)}function $M(e,n){let t={};t[A]=n;for(let r of e)if(r.path===""&&tt(r)!==A){let o=new P([],{});t[tt(r)]=o}return t}function zM(e,n,t){return t.some(r=>za(e,n,r)&&tt(r)!==A)}function GM(e,n,t){return t.some(r=>za(e,n,r))}function za(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function WM(e,n,t){return n.length===0&&!e.children[t]}var Gd=class{};async function qM(e,n,t,r,o,i,s="emptyOnly",a){return new Wd(e,n,t,r,o,s,i,a).recognize()}var ZM=31,Wd=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a,c){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new $d(this.urlSerializer,this.urlTree)}noMatchError(n){return new y(4002,`'${n.segmentGroup}'`)}async recognize(){let n=vy(this.urlTree.root,[],[],this.config).segmentGroup,{children:t,rootSnapshot:r}=await this.match(n),o=new Ae(r,t),i=new ii("",o),s=Oy(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}async match(n){let t=new Hn([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),A,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,A,t),rootSnapshot:t}}catch(r){if(r instanceof ai)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Pt?this.noMatchError(r):r}}async processSegmentGroup(n,t,r,o,i){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,t,r,i);let s=await this.processSegment(n,t,r,r.segments,o,!0,i);return s instanceof Ae?[s]:[]}async processChildren(n,t,r,o){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let u=r.children[c],l=BM(t,c),d=await this.processSegmentGroup(n,l,u,c,o);s.push(...d)}let a=Ky(s);return YM(a),a}async processSegment(n,t,r,o,i,s,a){for(let c of t)try{return await this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a)}catch(u){if(u instanceof Pt||Wy(u))continue;throw u}if(WM(r,o,i))return new Gd;throw new Pt(r)}async processSegmentAgainstRoute(n,t,r,o,i,s,a,c){if(tt(r)!==s&&(s===A||!za(o,i,r)))throw new Pt(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c);throw new Pt(o)}async expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Qy(t,o,i);if(!c)throw new Pt(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ZM&&(this.allowRedirects=!1));let f=new Hn(i,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Dy(o),tt(o),o.component??o._loadedComponent??null,o,Ey(o),n),m=Va(f,a,this.paramsInheritanceStrategy);if(f.params=Object.freeze(m.params),f.data=Object.freeze(m.data),this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let v=await this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,n),D=await this.applyRedirects.lineralizeSegments(o,v);return this.processSegment(n,r,t,D.concat(h),s,!1,a)}async matchSegmentAgainstRoute(n,t,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=await _a(UM(t,r,o,n,this.urlSerializer,this.abortSignal));if(r.path==="**"&&(t.children={}),!a?.matched)throw new Pt(t);n=r._injector??n;let{routes:c}=await this.getChildConfig(n,r,o),u=r._loadedInjector??n,{parameters:l,consumedSegments:d,remainingSegments:h}=a,f=new Hn(d,l,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Dy(r),tt(r),r.component??r._loadedComponent??null,r,Ey(r),n),m=Va(f,s,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let{segmentGroup:v,slicedSegments:D}=vy(t,d,h,c);if(D.length===0&&v.hasChildren()){let Ie=await this.processChildren(u,c,v,f);return new Ae(f,Ie)}if(c.length===0&&D.length===0)return new Ae(f,[]);let E=tt(r)===i,H=await this.processSegment(u,c,v,D,E?A:i,!0,f);return new Ae(f,H instanceof Ae?[H]:[])}async getChildConfig(n,t,r){if(t.children)return{routes:t.children,injector:n};if(t.loadChildren){if(t._loadedRoutes!==void 0){let i=t._loadedNgModuleFactory;return i&&!t._loadedInjector&&(t._loadedInjector=i.create(n).injector),{routes:t._loadedRoutes,injector:t._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await _a(FM(n,t,r,this.urlSerializer,this.abortSignal))){let i=await this.configLoader.loadChildren(n,t);return t._loadedRoutes=i.routes,t._loadedInjector=i.injector,t._loadedNgModuleFactory=i.factory,i}throw LM(t)}return{routes:[],injector:n}}};function YM(e){e.sort((n,t)=>n.value.outlet===A?-1:t.value.outlet===A?1:n.value.outlet.localeCompare(t.value.outlet))}function QM(e){let n=e.value.routeConfig;return n&&n.path===""}function Ky(e){let n=[],t=new Set;for(let r of e){if(!QM(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=Ky(r.children);n.push(new Ae(r.value,o))}return n.filter(r=>!t.has(r))}function Dy(e){return e.data||{}}function Ey(e){return e.resolve||{}}function KM(e,n,t,r,o,i,s){return ae(async a=>{let{state:c,tree:u}=await qM(e,n,t,r,a.extractedUrl,o,i,s);return R(g({},a),{targetSnapshot:c,urlAfterRedirects:u})})}function JM(e){return ae(n=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=n;if(!r.length)return O(n);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of Jy(a))i.add(c);let s=0;return J(i).pipe(fn(a=>o.has(a)?XM(a,t,e):(a.data=Va(a,a.parent,e).resolve,O(void 0))),We(()=>s++),Li(1),ae(a=>s===i.size?O(n):de))})}function Jy(e){let n=e.children.map(t=>Jy(t)).flat();return[e,...n]}function XM(e,n,t){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!Uy(r)&&(o[ci]=r.title),Xr(()=>(e.data=Va(e,e.parent,t).resolve,eT(o,e,n).pipe(V(i=>(e._resolvedData=i,e.data=g(g({},e.data),i),null)))))}function eT(e,n,t){let r=Od(e);if(r.length===0)return O({});let o={};return J(r).pipe(ae(i=>tT(e[i],n,t).pipe(Dt(),We(s=>{if(s instanceof Br)throw Ba(new rn,s);o[i]=s}))),Li(1),V(()=>o),tr(i=>Wy(i)?de:hc(i)))}function tT(e,n,t){let r=n._environmentInjector,o=zr(e,r),i=o.resolve?o.resolve(n,t):oe(r,()=>o(n,t));return Gn(i)}function Cy(e){return Ge(n=>{let t=e(n);return t?J(t).pipe(V(()=>n)):O(n)})}var Jd=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===A);return r}getResolvedTitleForRoute(t){return t.data[ci]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(Xy),providedIn:"root"})}return e})(),Xy=(()=>{class e extends Jd{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(M(hy))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gr=new I("",{factory:()=>({})}),li=new I(""),ev=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(ld);async loadComponent(t,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await _y(oe(t,()=>r.loadComponent())),s=await rv(nv(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await tv(r,this.compiler,t,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();async function tv(e,n,t,r){let o=await _y(oe(t,()=>e.loadChildren())),i=await rv(nv(o)),s;i instanceof Xs||Array.isArray(i)?s=i:s=await n.compileModuleAsync(i),r&&r(e);let a,c,u=!1,l;return Array.isArray(s)?(c=s,u=!0):(a=s.create(t).injector,l=s,c=a.get(li,[],{optional:!0,self:!0}).flat()),{routes:c.map(Kd),injector:a,factory:l}}function nT(e){return e&&typeof e=="object"&&"default"in e}function nv(e){return nT(e)?e.default:e}async function rv(e){return e}var Ga=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(rT),providedIn:"root"})}return e})(),rT=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xd=new I(""),ef=new I("");function ov(e,n,t){let r=e.get(ef),o=e.get(z);
5if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),oT(e)));a.updateCallbackDone.catch(u=>{}),a.ready.catch(u=>{}),a.finished.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&oe(e,()=>c({transition:a,from:n,to:t})),s}function oT(e){return new Promise(n=>{Mr({read:()=>setTimeout(n)},{injector:e})})}var iT=()=>{},iv=new I(""),tf=(()=>{class e{currentNavigation=be(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=be(null);events=new ne;transitionAbortWithErrorSubject=new ne;configLoader=p(ev);environmentInjector=p(q);destroyRef=p(pe);urlSerializer=p(Hr);rootContexts=p($r);location=p(Vn);inputBindingEnabled=p($a,{optional:!0})!==null;titleStrategy=p(Jd);options=p(Gr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Ga);createViewTransition=p(Xd,{optional:!0});navigationErrorHandler=p(iv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>O(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=o=>this.events.next(new Ra(o)),r=o=>this.events.next(new xa(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;te(()=>{this.transitions?.next(R(g({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))})}setupNavigations(t){return this.transitions=new le(null),this.transitions.pipe(xe(r=>r!==null),Ge(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return O(r).pipe(Ge(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",me.SupersededByNewNavigation),de;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?R(g({},c),{previousNavigation:null}):null,abort:()=>i.abort()});let u=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!u&&l!=="reload")return this.events.next(new mt(a.id,this.urlSerializer.serialize(a.rawUrl),"",kr.IgnoredSameUrlNavigation)),a.resolve(!1),de;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return O(a).pipe(Ge(d=>(this.events.next(new sn(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?de:Promise.resolve(d))),KM(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),We(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=d.urlAfterRedirects,f));let h=new Pr(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:m,extras:v}=a,D=new sn(d,this.urlSerializer.serialize(h),f,m);this.events.next(D);let E=Vy(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=R(g({},a),{targetSnapshot:E,urlAfterRedirects:h,extras:R(g({},v),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(H=>(H.finalUrl=h,H)),O(r)}else return this.events.next(new mt(a.id,this.urlSerializer.serialize(a.extractedUrl),"",kr.IgnoredByUrlHandlingStrategy)),a.resolve(!1),de}),V(a=>{let c=new Ta(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=R(g({},a),{guards:gM(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),MM(a=>this.events.next(a)),Ge(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Ba(this.urlSerializer,a.guardsResult);let c=new Sa(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return de;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",me.GuardRejected),de;if(a.guards.canActivateChecks.length===0)return O(a);let u=new Aa(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return de;let l=!1;return O(a).pipe(JM(this.paramsInheritanceStrategy),We({next:()=>{l=!0;let d=new Na(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>
vendor: 17,654 bytes, line 5
5{l||this.cancelNavigationTransition(a,"",me.NoDataFromResolver)}}))}),Cy(a=>{let c=l=>{let d=[];if(l.routeConfig?._loadedComponent)l.component=l.routeConfig?._loadedComponent;else if(l.routeConfig?.loadComponent){let h=l._environmentInjector;d.push(this.configLoader.loadComponent(h,l.routeConfig).then(f=>{l.component=f}))}for(let h of l.children)d.push(...c(h));return d},u=c(a.targetSnapshot.root);return u.length===0?O(a):J(Promise.all(u).then(()=>a))}),Cy(()=>this.afterPreactivation()),Ge(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?J(u).pipe(V(()=>r)):O(r)}),vt(1),V(a=>{let c=dM(t.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=R(g({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new jr),s()&&(new Hd(t.routeReuseStrategy,r.targetRouterState,r.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(u=>(u.abort=iT,u)),this.lastSuccessfulNavigation.set(te(this.currentNavigation)),this.events.next(new He(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)))}),to(qy(i.signal).pipe(xe(()=>!o&&!r.targetRouterState),We(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",me.Aborted)}))),We({complete:()=>{o=!0}}),to(this.transitionAbortWithErrorSubject.pipe(We(a=>{throw a}))),eo(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",me.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),tr(a=>{if(o=!0,this.destroyed)return r.resolve(!1),de;if(Gy(a))this.events.next(new Ue(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),pM(a)?this.events.next(new Vr(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new zn(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=oe(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof Br){let{message:l,cancellationCode:d}=Ba(this.urlSerializer,u);this.events.next(new Ue(r.id,this.urlSerializer.serialize(r.extractedUrl),l,d)),this.events.next(new Vr(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return de}))}))}cancelNavigationTransition(t,r,o){let i=new Ue(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=te(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return t.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sT(e){return e!==Or}var sv=new I("");var av=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(aT),providedIn:"root"})}return e})(),Ha=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}shouldDestroyInjector(n){return!0}},aT=(()=>{class e extends Ha{static \u0275fac=(()=>{let t;return function(o){return(t||(t=dt(e)))(o||e)}})();static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nf=(()=>{class e{urlSerializer=p(Hr);options=p(Gr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(Vn);urlHandlingStrategy=p(Ga);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ne;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:o}){let i=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=o??i;return s instanceof Ne?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:o}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=t):this.rawUrlTree=o}routerState=Vy(null,p(q));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>p(cT),providedIn:"root"})}return e})(),cT=(()=>{class e extends nf{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate")})})}handleRouterEvent(t,r){t instanceof sn?this.updateStateMemento():t instanceof mt?this.commitTransition(r):t instanceof Pr?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof jr?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Ue&&!jy(t)?this.restoreHistory(r):t instanceof zn?this.restoreHistory(r,!0):t instanceof He&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(t)||i){let a=this.browserPageId,c=g(g({},s),this.generateNgRouterState(o,a));this.location.replaceState(t,"",c)}else{let a=g(g({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===t.finalUrl&&i===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=dt(e)))(o||e)}})();static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rf(e,n){e.events.pipe(xe(t=>t instanceof He||t instanceof Ue||t instanceof zn||t instanceof mt),V(t=>t instanceof He||t instanceof mt?0:(t instanceof Ue?t.code===me.Redirect||t.code===me.SupersededByNewNavigation:!1)?2:1),xe(t=>t!==2),vt(1)).subscribe(()=>{n()})}var of={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},sf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Wr=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Yl);stateManager=p(nf);options=p(Gr,{optional:!0})||{};pendingTasks=p(Tt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(tf);urlSerializer=p(Hr);location=p(Vn);urlHandlingStrategy=p(Ga);injector=p(q);_events=new ne;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(av);injectorCleanup=p(sv,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(li,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p($a,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new ue;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=te(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Ue&&r.code!==me.Redirect&&r.code!==me.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof He)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Vr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=g({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||sT(o.source)},s);this.scheduleNavigation(a,Or,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}uM(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Or,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,o)=>{this.navigateToSyncWithBrowser(t,o,r)})}navigateToSyncWithBrowser(t,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Ve)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return te(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Kd),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=g(g({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=Fy(h)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return ky(d,t,l,u??null,this.urlSerializer)}navigateByUrl(t,r={skipLocationChange:!1}){let o=on(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Or,null,r)}navigate(t,r={skipLocationChange:!1}){return uT(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.console.warn(rt(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=g({},of):r===!1?o=g({},sf):o=r,on(t))return Fd(this.currentUrlTree,t,o);let i=this.parseUrl(t);return Fd(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return rf(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uT(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new y(4008,!1)}var Wa=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=be(null);get href(){return te(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new ne;applicationErrorHandler=p(Ve);options=p(Gr,{optional:!0});constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.reactiveHref.set(p(new oa("href"),{optional:!0}));let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href")),this.isAnchorElement&&(this.setTabIndexIfNotOnNativeEl("0"),this.subscribeToNavigationEventsIfNecessary())}subscribeToNavigationEventsIfNecessary(){this.subscription===void 0&&(this.subscription=this.router.events.subscribe(t=>{t instanceof He&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(on(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.reactiveHref.set(t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null)}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}get urlTree(){return this.routerLinkInput===null?null:on(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(x(Wr),x(Lt),Oo("tabindex"),x(Xe),x(Ce),x(jn))};static \u0275dir=W({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&Rt("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Pn("href",o.reactiveHref(),Ml)("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",en],skipLocationChange:[2,"skipLocationChange","skipLocationChange",en],replaceUrl:[2,"replaceUrl","replaceUrl",en],routerLink:"routerLink"},features:[Je]})}return e})(),lT=(()=>{class e{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new X;link=p(Wa,{optional:!0});constructor(t,r,o,i){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.routerEventsSubscription=t.events.subscribe(s=>{s instanceof He&&this.update()})}ngAfterContentInit(){O(this.links.changes,O(null)).pipe(Xn()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=J(t).pipe(Xn()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();
5this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=dT(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?g({},of):g({},sf);return o=>{let i=o.urlTree;return i?te(qd(i,t,r)):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(r){return new(r||e)(x(Wr),x(Ce),x(Xe),x(Ot))};static \u0275dir=W({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&na(i,Wa,5),r&2){let s;ad(s=cd())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Je]})}return e})();function dT(e){return!!e.paths}var cv=new I(""),fT=(()=>{class e{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Or;restoredId=0;store={};urlSerializer=p(Hr);zone=p(he);viewportScroller=p(Wm);transitions=p(tf);constructor(t){this.options=t,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof sn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof He?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof mt&&t.code===kr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{if(!(t instanceof Lr)||t.scrollBehavior==="manual")return;let r={behavior:"instant"};t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position,r):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(t,r){let o=te(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(async()=>{await new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new Lr(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,o))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){$l()};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();function hT(e,...n){return wt([{provide:li,multi:!0,useValue:e},[],{provide:Lt,useFactory:pT},{provide:ea,multi:!0,useFactory:mT},n.map(t=>t.\u0275providers)])}function pT(){return p(Wr).routerState.root}function uv(e,n){return{\u0275kind:e,\u0275providers:n}}function gT(e={}){return uv(4,[{provide:cv,useFactory:()=>new fT(e)}])}function mT(){let e=p(ve);return n=>{let t=e.get(Jt);if(n!==t.components[0])return;let r=e.get(Wr),o=e.get(yT);e.get(vT)===1&&r.initialNavigation(),e.get(DT,null,{optional:!0})?.setUpPreloading(),e.get(cv,null,{optional:!0})?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var yT=new I("",{factory:()=>new ne}),vT=new I("",{factory:()=>1});var DT=new I("");function ET(e){ft("NgRouterViewTransitions");let n=[{provide:Xd,useValue:ov},{provide:ef,useValue:g({skipNextTransition:!!e?.skipInitialTransition},e)}];return uv(9,n)}var Dv=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}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)}static \u0275fac=function(r){return new(r||e)(x(Xe),x(Ce))};static \u0275dir=W({type:e})}return e})(),uf=(()=>{class e extends Dv{static \u0275fac=(()=>{let t;return function(o){return(t||(t=dt(e)))(o||e)}})();static \u0275dir=W({type:e,features:[Te]})}return e})(),tc=new I("");var CT={provide:tc,useExisting:Fe(()=>Ev),multi:!0};function IT(){let e=Se()?Se().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var wT=new I(""),Ev=(()=>{class e extends Dv{_compositionMode;_composing=!1;constructor(t,r,o){super(t,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!IT())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}
vendor: 9,035 bytes, line 5
5_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||e)(x(Xe),x(Ce),x(wT,8))};static \u0275dir=W({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(r,o){r&1&&Rt("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[xt([CT]),Te]})}return e})();function _T(e){return e==null||Cv(e)===0}function Cv(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var nc=new I(""),Iv=new I("");function bT(e){return _T(e.value)?{required:!0}:null}function MT(e){return n=>{let t=n.value?.length??Cv(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function lv(e){return null}function wv(e){return e!=null}function _v(e){return kn(e)?J(e):e}function bv(e){let n={};return e.forEach(t=>{n=t!=null?g(g({},n),t):n}),Object.keys(n).length===0?null:n}function Mv(e,n){return n.map(t=>t(e))}function TT(e){return!e.validate}function Tv(e){return e.map(n=>TT(n)?n:t=>n.validate(t))}function ST(e){if(!e)return null;let n=e.filter(wv);return n.length==0?null:function(t){return bv(Mv(t,n))}}function lf(e){return e!=null?ST(Tv(e)):null}function AT(e){if(!e)return null;let n=e.filter(wv);return n.length==0?null:function(t){let r=Mv(t,n).map(_v);return gc(r).pipe(V(bv))}}function df(e){return e!=null?AT(Tv(e)):null}function dv(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function NT(e){return e._rawValidators}function RT(e){return e._rawAsyncValidators}function af(e){return e?Array.isArray(e)?e:[e]:[]}function Za(e,n){return Array.isArray(e)?e.includes(n):e===n}function fv(e,n){let t=af(n);return af(e).forEach(o=>{Za(t,o)||t.push(o)}),t}function hv(e,n){return af(n).filter(t=>!Za(e,t))}var Ya=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=lf(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=df(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},Yr=class extends Ya{name;get formDirective(){return null}get path(){return null}},mi=class extends Ya{_parent=null;name=null;valueAccessor=null},Qa=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var A$=(()=>{class e extends Qa{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(x(mi,2))};static \u0275dir=W({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&Ho("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[Te]})}return e})(),N$=(()=>{class e extends Qa{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(x(Yr,10))};static \u0275dir=W({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&Ho("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[Te]})}return e})();var di="VALID",qa="INVALID",qr="PENDING",fi="DISABLED",an=class{},Ka=class extends an{value;source;constructor(n,t){super(),this.value=n,this.source=t}},pi=class extends an{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},gi=class extends an{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},Zr=class extends an{status;source;constructor(n,t){super(),this.status=n,this.source=t}},cf=class extends an{source;constructor(n){super(),this.source=n}},Ja=class extends an{source;constructor(n){super(),this.source=n}};function Sv(e){return(rc(e)?e.validators:e)||null}function xT(e){return Array.isArray(e)?lf(e):e||null}function Av(e,n){return(rc(n)?n.asyncValidators:e)||null}function OT(e){return Array.isArray(e)?df(e):e||null}function rc(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function FT(e,n,t){let r=e.controls;if(!(n?Object.keys(r):r).length)throw new y(1e3,"");if(!r[t])throw new y(1001,"")}function kT(e,n,t){e._forEachChild((r,o)=>{if(t[o]===void 0)throw new y(1002,"")})}var Xa=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}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 status(){return te(this.statusReactive)}set status(n){te(()=>this.statusReactive.set(n))}_status=Xt(()=>this.statusReactive());statusReactive=be(void 0);get valid(){return this.status===di}get invalid(){return this.status===qa}get pending(){return this.status==qr}get disabled(){return this.status===fi}get enabled(){return this.status!==fi}errors;get pristine(){return te(this.pristineReactive)}set pristine(n){te(()=>this.pristineReactive.set(n))}_pristine=Xt(()=>this.pristineReactive());pristineReactive=be(!0);get dirty(){return!this.pristine}get touched(){return te(this.touchedReactive)}set touched(n){te(()=>this.touchedReactive.set(n))}_touched=Xt(()=>this.touchedReactive());touchedReactive=be(!1);get untouched(){return!this.touched}_events=new ne;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(fv(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(fv(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(hv(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(hv(n,this._rawAsyncValidators))}hasValidator(n){return Za(this._rawValidators,n)}hasAsyncValidator(n){return Za(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(R(g({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new gi(!0,r))}
5markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),t&&n.emitEvent!==!1&&this._events.next(new gi(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(R(g({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new pi(!1,r))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),t&&n.emitEvent!==!1&&this._events.next(new pi(!0,r))}markAsPending(n={}){this.status=qr;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Zr(this.status,t)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(R(g({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=fi,this.errors=null,this._forEachChild(o=>{o.disable(R(g({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Ka(this.value,r)),this._events.next(new Zr(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(R(g({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=di,this._forEachChild(r=>{r.enable(R(g({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(R(g({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===di||this.status===qr)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Ka(this.value,t)),this._events.next(new Zr(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(R(g({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fi:di}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=qr,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:n!==!1};let r=_v(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){let r=t?this.get(t):this;return 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,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new Zr(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new X,this.statusChanges=new X}_calculateStatus(){return this._allControlsDisabled()?fi:this.errors?qa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qr)?qr:this._anyControlsHaveStatus(qa)?qa:di}_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,t){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,t),o&&this._events.next(new pi(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new gi(this.touched,t)),n.onlySelf||this._parent?._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){rc(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}
vendor: 4,398 bytes, line 5
5_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=xT(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=OT(this._rawAsyncValidators)}},ec=class extends Xa{constructor(n,t,r){super(Sv(t),Av(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;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={}){kT(this,!0,n),Object.keys(n).forEach(r=>{FT(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(Object.keys(n).forEach(r=>{let o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,R(g({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Ja(this))}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{let 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(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(let 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}};var ff=new I("",{factory:()=>hf}),hf="always";function PT(e,n){return[...n.path,e]}function Nv(e,n,t=hf){Rv(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),jT(e,n),BT(e,n),VT(e,n),LT(e,n)}function pv(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function LT(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function Rv(e,n){let t=NT(e);n.validator!==null?e.setValidators(dv(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=RT(e);n.asyncValidator!==null?e.setAsyncValidators(dv(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();pv(n._rawValidators,o),pv(n._rawAsyncValidators,o)}function jT(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&xv(e,n)})}function VT(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&xv(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function xv(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function BT(e,n){let t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)}
vendor: 1,339 bytes, line 5
5)}function UT(e,n){e==null,Rv(e,n)}function HT(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function $T(e){return Object.getPrototypeOf(e.constructor)===uf}function zT(e,n){e._syncPendingControls(),n.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function GT(e,n){if(!n)return null;Array.isArray(n);let t,r,o;return n.forEach(i=>{i.constructor===Ev?t=i:$T(i)?r=i:o=i}),o||r||t||null}var WT={provide:Yr,useExisting:Fe(()=>qT)},hi=Promise.resolve(),qT=(()=>{class e extends Yr{callSetDisabledState;get submitted(){return te(this.submittedReactive)}_submitted=Xt(()=>this.submittedReactive());submittedReactive=be(!1);_directives=new Set;form;ngSubmit=new X;options;constructor(t,r,o){super(),this.callSetDisabledState=o,this.form=new ec({},lf(t),df(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){hi.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Nv(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}
vendor: 5,974 bytes, line 5
5removeControl(t){hi.then(()=>{this._findContainer(t.path)?.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){hi.then(()=>{let r=this._findContainer(t.path),o=new ec({});UT(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){hi.then(()=>{this._findContainer(t.path)?.removeControl?.(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){hi.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),zT(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new cf(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(r){return new(r||e)(x(nc,10),x(Iv,10),x(ff,8))};static \u0275dir=W({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Rt("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[xt([WT]),Te]})}return e})();function gv(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function mv(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var ZT=class extends Xa{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(Sv(t),Av(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rc(t)&&(t.nonNullable||t.initialValueIsDefault)&&(mv(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),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),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Ja(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){gv(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){gv(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){mv(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}};var YT={provide:mi,useExisting:Fe(()=>QT)},yv=Promise.resolve(),QT=(()=>{class e extends mi{_changeDetectorRef;callSetDisabledState;control=new ZT;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new X;constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=GT(this,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),HT(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){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&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Nv(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){yv.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,o=r!==0&&en(r);yv.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?PT(t,this._parent):[t]}static \u0275fac=function(r){return new(r||e)(x(Yr,9),x(nc,10),x(Iv,10),x(tc,10),x(Ot,8),x(ff,8))};static \u0275dir=W({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[xt([YT]),Te,Je]})}return e})();var x$=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=W({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})();var KT={provide:tc,useExisting:Fe(()=>Fv),multi:!0};function Ov(e,n){return e==null?`${n}
5`:(n&&typeof n=="object"&&(n="Object"),`${e}: ${n}`.slice(0,50))}function JT(e){return e.split(":")[0]}var Fv=(()=>{class e extends uf{value;_optionMap=new Map;_idCounter=0;set compareWith(t){this._compareWith=t}_compareWith=Object.is;appRefInjector=p(Jt).injector;destroyRef=p(pe);cdr=p(Ot);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,Mr({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(t){this.cdr.markForCheck(),this.value=t;let r=this._getOptionId(t),o=Ov(r,t);this.setProperty("value",o)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){let r=JT(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=dt(e)))(o||e)}})();static \u0275dir=W({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){r&1&&Rt("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[xt([KT]),Te]})}return e})(),O$=(()=>{class e{_element;_renderer;_select;id;constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(Ov(this.id,t)),this._select._writeValueAfterRender())}set value(t){this._setElementValue(t),this._select?._writeValueAfterRender()}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(r){return new(r||e)(x(Ce),x(Xe),x(Fv,9))};static \u0275dir=W({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})(),XT={provide:tc,useExisting:Fe(()=>kv),multi:!0};function vv(e,n){return e==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${e}: ${n}`.slice(0,50))}function eS(e){return e.split(":")[0]}var kv=(()=>{class e extends uf{value;_optionMap=new Map;_idCounter=0;set compareWith(t){this._compareWith=t}_compareWith=Object.is;writeValue(t){this.value=t;let r;if(Array.isArray(t)){let o=t.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{let o=[],i=r.selectedOptions;if(i!==void 0){let s=i;for(let a=0;a<s.length;a++){let c=s[a],u=this._getOptionValue(c.value);o.push(u)}}else{let s=r.options;for(let a=0;a<s.length;a++){let c=s[a];if(c.selected){let u=this._getOptionValue(c.value);o.push(u)}}}this.value=o,t(o)}}_registerOption(t){let r=(this._idCounter++).toString();return this._optionMap.set(r,t),r}_getOptionId(t){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,t))return r;return null}_getOptionValue(t){let r=eS(t);return this._optionMap.has(r)?this._optionMap.get(r)._value:t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=dt(e)))(o||e)}})();static \u0275dir=W({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){r&1&&Rt("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[xt([XT]),Te]})}return e})(),F$=(()=>{class e{_element;_renderer;_select;id;_value;constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(vv(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(vv(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
5),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||e)(x(Ce),x(Xe),x(kv,9))};static \u0275dir=W({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();function tS(e){return typeof e=="number"?e:parseInt(e,10)}var Pv=(()=>{class e{_validator=lv;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):lv,this._onChange?.()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=W({type:e,features:[Je]})}return e})();var nS={provide:nc,useExisting:Fe(()=>rS),multi:!0};var rS=(()=>{class e extends Pv{required;inputName="required";normalizeInput=en;createValidator=t=>bT;enabled(t){return t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=dt(e)))(o||e)}})();static \u0275dir=W({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&&Pn("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[xt([nS]),Te]})}return e})();var oS={provide:nc,useExisting:Fe(()=>iS),multi:!0},iS=(()=>{class e extends Pv{maxlength;inputName="maxlength";normalizeInput=t=>tS(t);createValidator=t=>MT(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=dt(e)))(o||e)}})();static \u0275dir=W({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&Pn("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[xt([oS]),Te]})}return e})();var sS=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Nt({type:e});static \u0275inj=ot({})}return e})();var k$=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:ff,useValue:t.callSetDisabledState??hf}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Nt({type:e});static \u0275inj=ot({imports:[sS]})}return e})();var Lv={production:!0,apiBaseUrl:"https://kensa-crm-back-api.onrender.com/api/v1"};var jv=class e{http=p(va);apiBaseUrl=Lv.apiBaseUrl;get(n,t){return this.http.get(`${this.apiBaseUrl}${n}`,{params:t})}post(n,t){return this.http.post(`${this.apiBaseUrl}${n}`,t)}static \u0275fac=function(t){return new(t||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})};export{F as a,V as b,mc as c,to as d,We as e,y as f,C as g,p as h,bh as i,Mh as j,Vh as k,Bh as l,z as m,pe as n,KD as o,be as p,Zh as q,Ce as r,ig as s,QE as t,gC as u,Mr as v,Zl as w,W as x,em as y,om as z,am as A,Pn as B,Dw as C,Ew as D,Cw as E,Iw as F,ww as G,_w as H,lm as I,td as J,nd as K,ta as L,rd as M,od as N,dm as O,hm as P,Nw as Q,Rt as R,gm as S,xw as T,Fw as U,kw as V,ym as W,Lw as X,jw as Y,Ho as Z,t_ as _,vm as $,ud as aa,Dm as ba,Cm as ca,i_ as da,Im as ea,u_ as fa,d_ as ga,h_ as ha,g_ as ia,Xt as ja,vV as ka,Pm as la,DV as ma,EV as na,$_ as oa,Wm as pa,cb as qa,Fb as ra,kb as sa,aH as ta,hy as ua,Lt as va,Yd as wa,Wr as xa,Wa as ya,lT as za,hT as Aa,gT as Ba,ET as Ca,Ev as Da,A$ as Ea,N$ as Fa,qT as Ga,QT as Ha,x$ as Ia,Fv as Ja,O$ as Ka,F$ as La,rS as Ma,iS as Na,k$ as Oa,jv as Pa};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.