PageSourceSearch

https://columbusjack.com/chunk-Q3NVEXWK.js

js columbusjack.com collected 2026-10-04 13:24:42 UTC 320,519 bytes, 5 lines download raw bytes

vendor: 2,784 bytes, line 1
1import{a as m,b as O,l as cr}from"./chunk-E77BULOG.js";var qc;function Hi(){return qc}function ht(e){let n=qc;return qc=e,n}var bh=Symbol("NotFound");function ur(e){return e===bh||e?.name==="\u0275NotFound"}var ye=null,$i=!1,Zc=1,dE=null,De=Symbol("SIGNAL");function T(e){let n=ye;return ye=e,n}function qi(){return ye}var lr={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 dr(e){if($i)throw new Error("");if(ye===null)return;ye.consumerOnSignalRead(e);let n=ye.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=ye.recomputing;if(r&&(t=n!==void 0?n.nextProducer:ye.producers,t!==void 0&&t.producer===e)){ye.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ye&&(!r||hE(o,ye)))return;let i=hr(ye),s={producer:e,consumer:ye,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ye.producersTail=s,n!==void 0?n.nextProducer=s:ye.producers=s,i&&Ah(e,s)}function Sh(){Zc++}function Zi(e){if(!(hr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Zc)){if(!e.producerMustRecompute(e)&&!yo(e)){Wi(e);return}e.producerRecomputeValue(e),Wi(e)}}function Yc(e){if(e.consumers===void 0)return;let n=$i;$i=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||fE(r)}}finally{$i=n}}function Qc(){return ye?.consumerAllowSignalWrites!==!1}function fE(e){e.dirty=!0,Yc(e),e.consumerMarkedDirty?.(e)}function Wi(e){e.dirty=!1,e.lastCleanEpoch=Zc}function fr(e){return e&&Th(e),T(e)}function Th(e){e.producersTail=void 0,e.recomputing=!0}function vo(e,n){T(n),e&&Mh(e)}function Mh(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(hr(e))do t=Kc(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function yo(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(Zi(t),r!==t.version))return!0}return!1}function Do(e){if(hr(e)){let n=e.producers;for(;n!==void 0;)n=Kc(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Ah(e,n){let t=e.consumersTail,r=hr(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)Ah(o.producer,o)}function Kc(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: 5,264 bytes, lines 1-3
1o.nextConsumer=r;else if(n.consumers=r,!hr(n)){let i=n.producers;for(;i!==void 0;)i=Kc(i)}return t}function hr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Yi(e){dE?.(e)}function hE(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 Qi(e,n){return Object.is(e,n)}function Ki(e,n){let t=Object.create(pE);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Zi(t),dr(t),t.value===mo)throw t.error;return t.value};return r[De]=t,Yi(t),r}var Gi=Symbol("UNSET"),zi=Symbol("COMPUTING"),mo=Symbol("ERRORED"),pE=O(m({},lr),{value:Gi,dirty:!0,error:null,equal:Qi,kind:"computed",producerMustRecompute(e){return e.value===Gi||e.value===zi},producerRecomputeValue(e){if(e.value===zi)throw new Error("");let n=e.value;e.value=zi;let t=fr(e),r,o=!1;try{r=e.computation(),T(null),o=n!==Gi&&n!==mo&&r!==mo&&e.equal(n,r)}catch(i){r=mo,e.error=i}finally{vo(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function gE(){throw new Error}var Rh=gE;function Nh(e){Rh(e)}function Xc(e){Rh=e}var mE=null;function Jc(e,n){let t=Object.create(Xi);t.value=e,n!==void 0&&(t.equal=n);let r=()=>xh(t);return r[De]=t,Yi(t),[r,s=>pr(t,s),s=>eu(t,s)]}function xh(e){return dr(e),e.value}function pr(e,n){Qc()||Nh(e),e.equal(e.value,n)||(e.value=n,vE(e))}function eu(e,n){Qc()||Nh(e),pr(e,n(e.value))}var Xi=O(m({},lr),{equal:Qi,value:void 0,kind:"signal"});function vE(e){e.version++,Sh(),Yc(e),mE?.(e)}function x(e){return typeof e=="function"}function gr(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 Ji=gr(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 An(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var X=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(x(r))try{r()}catch(i){n=i instanceof Ji?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Oh(i)}catch(s){n=n??[],s instanceof Ji?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ji(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Oh(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)&&An(t,n)}remove(n){let{_finalizers:t}=this;t&&An(t,n),n instanceof e&&n._removeParent(this)}};X.EMPTY=(()=>{let e=new X;return e.closed=!0,e})();var tu=X.EMPTY;function es(e){return e instanceof X||e&&"closed"in e&&x(e.remove)&&x(e.add)&&x(e.unsubscribe)}function Oh(e){x(e)?e():e.unsubscribe()}var Je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var mr={setTimeout(e,n,...t){let{delegate:r}=mr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=mr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ts(e){mr.setTimeout(()=>{let{onUnhandledError:n}=Je;if(n)n(e);else throw e})}function Rn(){}var Fh=nu("C",void 0,void 0);function Ph(e){return nu("E",void 0,e)}function kh(e){return nu("N",e,void 0)}function nu(e,n,t){return{kind:e,value:n,error:t}}var Nn=null;function vr(e){if(Je.useDeprecatedSynchronousErrorHandling){let n=!Nn;if(n&&(Nn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Nn;if(Nn=null,t)throw r}}else e()}function Lh(e){Je.useDeprecatedSynchronousErrorHandling&&Nn&&(Nn.errorThrown=!0,Nn.error=e)}var xn=class extends X{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,es(n)&&n.add(this)):this.destination=EE}static create(n,t,r){return new yr(n,t,r)}next(n){this.isStopped?ou(kh(n),this):this._next(n)}error(n){this.isStopped?ou(Ph(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?ou(Fh,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()}}},yE=Function.prototype.bind;function ru(e,n){return yE.call(e,n)}var iu=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){ns(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){ns(r)}else ns(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ns(t)}}},yr=class extends xn{constructor(n,t,r){super();let o;if(x(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;
vendor: 6,214 bytes, line 3
3this&&Je.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&ru(n.next,i),error:n.error&&ru(n.error,i),complete:n.complete&&ru(n.complete,i)}):o=n}this.destination=new iu(o)}};function ns(e){Je.useDeprecatedSynchronousErrorHandling?Lh(e):ts(e)}function DE(e){throw e}function ou(e,n){let{onStoppedNotification:t}=Je;t&&mr.setTimeout(()=>t(e,n))}var EE={closed:!0,next:Rn,error:DE,complete:Rn};var Dr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ke(e){return e}function su(...e){return au(e)}function au(e){return e.length===0?ke:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var P=(()=>{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=IE(t)?t:new yr(t,r,o);return vr(()=>{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=jh(r),new r((o,i)=>{let s=new yr({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)}[Dr](){return this}pipe(...t){return au(t)(this)}toPromise(t){return t=jh(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 jh(e){var n;return(n=e??Je.Promise)!==null&&n!==void 0?n:Promise}function CE(e){return e&&x(e.next)&&x(e.error)&&x(e.complete)}function IE(e){return e&&e instanceof xn||CE(e)&&es(e)}function cu(e){return x(e?.lift)}function L(e){return n=>{if(cu(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 k(e,n,t,r,o){return new uu(e,n,t,r,o)}var uu=class extends xn{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))}}};function Er(){return L((e,n)=>{let t=null;e._refCount++;let r=k(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var Cr=class extends P{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,cu(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new X;let t=this.getSubject();n.add(this.source.subscribe(k(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=X.EMPTY)}return n}refCount(){return Er()(this)}};var Vh=gr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=(()=>{class e extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new rs(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Vh}next(t){vr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){vr(()=>{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(){vr(()=>{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?tu:(this.currentObservers=null,i.push(t),new X(()=>{this.currentObservers=null,An(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new P;return t.source=this,t}}return e.create=(n,t)=>new rs(n,t),e})(),rs=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:tu}};var re=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 lu={now(){return(lu.delegate||Date).now()},delegate:void 0};var os=class extends X{constructor(n,t){super()}schedule(n,t=0){return this}};var Eo={setInterval(e,n,...t){let{delegate:r}=Eo;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=Eo;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var is=class extends os{constructor(n,t){super(n,t),this.scheduler
vendor: 6,740 bytes, line 3
3=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return Eo.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&Eo.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,An(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var Ir=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};Ir.now=lu.now;var ss=class extends Ir{constructor(n,t=Ir.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var du=new ss(is),Bh=du;var Ne=new P(e=>e.complete());function as(e){return e&&x(e.schedule)}function Uh(e){return e[e.length-1]}function cs(e){return x(Uh(e))?e.pop():void 0}function Qt(e){return as(Uh(e))?e.pop():void 0}function $h(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 Hh(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(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 On(e){return this instanceof On?(this.v=e,this):new On(e)}function Gh(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(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(_){return new Promise(function(I,E){i.push([f,_,I,E])>1||c(f,_)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(_){h(i[0][3],_)}}function u(f){f.value instanceof On?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,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function zh(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 Hh=="function"?Hh(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 us=e=>e&&typeof e.length=="number"&&typeof e!="function";function ls(e){return x(e?.then)}function ds(e){return x(e[Dr])}function fs(e){return Symbol.asyncIterator&&x(e?.[Symbol.asyncIterator])}function hs(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 _E(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ps=_E();function gs(e){return x(e?.[ps])}function ms(e){return Gh(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield On(t.read());if(o)return yield On(void 0);yield yield On(r)}}finally{t.releaseLock()}})}function vs(e){return x(e?.getReader)}function J(e){if(e instanceof P)return e;if(e!=null){if(ds(e))return wE(e);if(us(e))return bE(e);if(ls(e))return SE(e);if(fs(e))return Wh(e);if(gs(e))return TE(e);if(vs(e))return ME(e)}throw hs(e)}function wE(e){return new P(n=>{let t=e[Dr]();if(x(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function bE(e){return new P(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function SE(e){return new P(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,ts)})}function TE(e){return new P(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Wh(e){return new P(n=>{AE(e,n).catch(t=>n.error(t))})}function ME(e){return Wh(ms(e))}function AE(e,n){var t,r,o,i;return $h(this,void 0,void 0,function*(){try{for(t=zh(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 xe(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 ys(e,n=0){return L((t,r)=>{t.subscribe(k(r,o=>xe(r,e,()=>r.next(o),n),()=>xe(r,e,()=>r.complete(),n),o=>xe(r,e,()=>r.error(o),n)))})}function Ds(e,n=0){return L((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function qh(e,n){return J(e).pipe(Ds(n),ys(n))}function Zh(e,n){return J(e).pipe(Ds(n),ys(n))}function Yh(e,n){return new P(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Qh(e,n){return new P(t=>{let r;return xe(t,n,()=>{r=e[ps](),xe(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)}),()=>x(r?.return)&&r.return()})}function Es(e,n){if(!e)throw new Error("Iterable cannot be null");return new P(t=>{xe(t,n,()=>{let r=e[Symbol.asyncIterator]();xe(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Kh(e,n){return Es(ms(e),n)}function Xh(e,n){if(e!=null){if(ds(e))return qh(e,n);if(us(e))return Yh(e,n);if(ls(e))return Zh(e,n);if(fs(e))return Es(e,n);if(gs(e))return Qh(e,n);if(vs(e))return Kh(e,n)}throw hs(e)}
vendor: 2,095 bytes, line 3
3function G(e,n){return n?Xh(e,n):J(e)}function w(...e){let n=Qt(e);return G(e,n)}function ae(e,n){let t=x(e)?e:()=>e,r=o=>o.error(t());return new P(n?o=>n.schedule(r,0,o):r)}function fu(e){return!!e&&(e instanceof P||x(e.lift)&&x(e.subscribe))}var Rt=gr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Jh(e){return e instanceof Date&&!isNaN(e)}function A(e,n){return L((t,r)=>{let o=0;t.subscribe(k(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:RE}=Array;function NE(e,n){return RE(n)?e(...n):e(n)}function Cs(e){return A(n=>NE(e,n))}var{isArray:xE}=Array,{getPrototypeOf:OE,prototype:FE,keys:PE}=Object;function Is(e){if(e.length===1){let n=e[0];if(xE(n))return{args:n,keys:null};if(kE(n)){let t=PE(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function kE(e){return e&&typeof e=="object"&&OE(e)===FE}function _s(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Co(...e){let n=Qt(e),t=cs(e),{args:r,keys:o}=Is(e);if(r.length===0)return G([],n);let i=new P(LE(r,n,o?s=>_s(o,s):ke));return t?i.pipe(Cs(t)):i}function LE(e,n,t=ke){return r=>{ep(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)ep(n,()=>{let u=G(e[c],n),l=!1;u.subscribe(k(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ep(e,n,t){e?xe(t,e,n):n()}function tp(e,n,t,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&n.complete()},f=_=>u<r?g(_):c.push(_),g=_=>{i&&n.next(_),u++;let I=!1;J(t(_,l++)).subscribe(k(n,E=>{o?.(E),i?f(E):n.next(E)},()=>{I=!0},void 0,()=>{if(I)try{for(u--;c.length&&u<r;){let E=c.shift();s?xe(n,s,()=>g(E)):g(E)}h()}catch(E){n.error(E)}}))};return e.subscribe(k(n,f,()=>{d=!0,h()})),()=>{a?.()}}function Y(e,n,t=1/0){return x(n)?Y((r,o)=>A((i,s)=>n(r,i,o,s))(J(e(r,o))),t):(typeof n=="number"&&(t=n),L((r,o)=>tp(r,o,e,t)))}function Kt(e=1/0){return Y(ke,e)}function np(){return Kt(1)}function Xt(...e){return np()(G(e,Qt(e)))}function Io(e){return new P(n=>{J(e()).subscribe(n)})}function hu(...e){let n=cs(e),{args:t,keys:r}=Is(e),o=new P(i=>{let{length:s}=t;
vendor: 12,940 bytes, lines 3-4
3if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;J(t[l]).subscribe(k(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?_s(r,a):a),i.complete())}))}});return n?o.pipe(Cs(n)):o}function rp(e=0,n,t=Bh){let r=-1;return n!=null&&(as(n)?t=n:r=n),new P(o=>{let i=Jh(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function ge(e,n){return L((t,r)=>{let o=0;t.subscribe(k(r,i=>e.call(n,i,o++)&&r.next(i)))})}function q(e){return L((n,t)=>{let r=null,o=!1,i;r=n.subscribe(k(t,void 0,void 0,s=>{i=J(e(s,q(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function op(e,n,t,r,o){return(i,s)=>{let a=t,c=n,u=0;i.subscribe(k(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function pt(e,n){return x(n)?Y(e,n,1):Y(e,1)}function Jt(e){return L((n,t)=>{let r=!1;n.subscribe(k(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function Le(e){return e<=0?()=>Ne:L((n,t)=>{let r=0;n.subscribe(k(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function ip(){return L((e,n)=>{e.subscribe(k(n,Rn))})}function sp(e){return A(()=>e)}function pu(e,n){return n?t=>Xt(n.pipe(Le(1),ip()),t.pipe(pu(e))):Y((t,r)=>J(e(t,r)).pipe(Le(1),sp(t)))}function jE(e,n=du){let t=rp(e,n);return pu(()=>t)}function ws(e=VE){return L((n,t)=>{let r=!1;n.subscribe(k(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function VE(){return new Rt}function en(e){return L((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Nt(e,n){let t=arguments.length>=2;return r=>r.pipe(e?ge((o,i)=>e(o,i,r)):ke,Le(1),t?Jt(n):ws(()=>new Rt))}function _r(e){return e<=0?()=>Ne:L((n,t)=>{let r=[];n.subscribe(k(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 gu(e,n){let t=arguments.length>=2;return r=>r.pipe(e?ge((o,i)=>e(o,i,r)):ke,_r(1),t?Jt(n):ws(()=>new Rt))}function mu(e,n){return L(op(e,n,arguments.length>=2,!0))}function vu(...e){let n=Qt(e);return L((t,r)=>{(n?Xt(e,t,n):Xt(e,t)).subscribe(r)})}function fe(e,n){return L((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(k(r,c=>{o?.unsubscribe();let u=0,l=i++;J(e(c,l)).subscribe(o=k(r,d=>r.next(n?n(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function _o(e){return L((n,t)=>{J(e).subscribe(k(t,()=>t.complete(),Rn)),!t.closed&&n.subscribe(t)})}function H(e,n,t){let r=x(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(k(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)}))}):ke}function ap(e){let n=T(null);try{return e()}finally{T(n)}}var Ms="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",y=class extends Error{code;constructor(n,t){super(Pt(n,t)),this.code=n}};function BE(e){return`NG0${Math.abs(e)}`}function Pt(e,n){return`${BE(e)}${n?": "+n:""}`}var rn=globalThis;function V(e){for(let n in e)if(e[n]===V)return n;throw Error("")}function lp(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Ot(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ot).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 As(e,n){return e?n?`${e} ${n}`:e:n||""}var UE=V({__forward_ref__:V});function Oe(e){return e.__forward_ref__=Oe,e.toString=function(){return Ot(this())},e}function me(e){return Au(e)?e():e}function Au(e){return typeof e=="function"&&e.hasOwnProperty(UE)&&e.__forward_ref__===Oe}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function we(e){return{providers:e.providers||[],imports:e.imports||[]}}function To(e){return HE(e,Rs)}function Ru(e){return To(e)!==null}function HE(e,n){return e.hasOwnProperty(n)&&e[n]||null}function $E(e){let n=e?.[Rs]??null;return n||null}function Du(e){return e&&e.hasOwnProperty(Ss)?e[Ss]:null}var Rs=V({\u0275prov:V}),Ss=V({\u0275inj:V}),D=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=v({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Nu(e){return e&&!!e.\u0275providers}var xu=V({\u0275cmp:V}),Ou=V({\u0275dir:V}),Fu=V({\u0275pipe:V}),Pu=V({\u0275mod:V}),bo=V({\u0275fac:V}),jn=V({__NG_ELEMENT_ID__:V}),cp=V({__NG_ENV_ID__:V});function on(e){return typeof e=="string"?e:e==null?"":String(e)}function dp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():on(e)}var fp=V({ngErrorCode:V}),GE=V({ngErrorMessage:V}),zE=V({ngTokenPath:V});function ku(e,n){return hp("",-200,n)}function Ns(e,n){throw new y(-201,!1)}function hp(e,n,t){let r=new y(n,e);return r[fp]=n,r[GE]=e,t&&(r[zE]=t),r}function WE(e){return e[fp]}var Eu;function pp(){return Eu}function Ie(e){let n=Eu;return Eu=e,n}function Lu(e,n,t){let r=To(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;Ns(e,"Injector")}var qE={},Fn=qE,ZE="__NG_DI_FLAG__",Cu=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=Pn(t)||0;try{return this.injector.get(n,r&8?null:Fn,r)}catch(o){if(ur(o))return o;throw o}}};function YE(e,n=0){let t=Hi();if(t===void 0)throw new y(-203,!1);if(t===null)return Lu(e,void 0,n);{let r=QE(n),o=t.retrieve(e,r);if(ur(o)){if(r.optional)return null;throw o}return o}}function C(e,n=0){return(pp()||YE)(me(e),n)}function p(e,n){return C(e,Pn(n))}function Pn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function QE(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Iu(e){let n=[];for(let t=0;t<e.length;t++){let r=me(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=KE(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(C(o,i))}else n.push(C(r))}return n}function KE(e){return e[ZE]}function tn(e,n){let t=e.hasOwnProperty(bo);return t?e[bo]:null}function gp(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 mp(e){return e.flat(Number.POSITIVE_INFINITY)}function xs(e,n){e.forEach(t=>Array.isArray(t)?xs(t,n):n(t))}function ju(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Mo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function vp(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function yp(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 Os(e,n,t){let r=br(e,n);return r>=0?e[r|1]=t:(r=~r,yp(e,r,n,t)),r}function Fs(e,n){let t=br(e,n);if(t>=0)return e[t|1]}function br(e,n){return XE(e,n,1)}function XE(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 sn={},_e=[],kt=new D(""),Vu=new D("",-1),Bu=new D(""),So=class{get(n,t=Fn){if(t===Fn){let o=hp("",-201);throw o.name="\u0275NotFound",o}return t}};function Uu(e){return e[Pu]||null}function Lt(e){return e[xu]||null}function Hu(e){return e[Ou]||null}function Dp(e){return e[Fu]||null}function jt(e){return{\u0275providers:e}}function Ep(...e){return{\u0275providers:$u(!0,e),\u0275fromNgModule:!0}}function $u(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return xs(n,s=>{let a=s;Ts(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Cp(o,i),t}function Cp(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];Gu(o,i=>{n(i,r)})}}function Ts(e,n,t,r){if(e=me(e),!e)return!1;let o=null,i=Du(e),s=!i&&Lt(e);if(!i&&!s){let c=e.ngModule;if(i=Du(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)Ts(u,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{xs(i.imports,l=>{Ts(l,n,t,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Cp(u,n)}if(!a){let u=tn(o)||(()=>new o);n({provide:o,useFactory:u,deps:_e},o),n({provide:Bu,useValue:o,multi:!0},o),n({provide:kt,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Gu(c,l=>{n(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Gu(e,n){for(let t of e)Nu(t)&&(t=t.\u0275providers),Array.isArray(t)?Gu(t,n):n(t)}var JE=V({provide:String,useValue:V});function Ip(e){return e!==null&&typeof e=="object"&&JE in e}function eC(e){return!!(e&&e.useExisting)}function tC(e){return!!(e&&e.useFactory)}function kn(e){return typeof e=="function"}function _p(e){return!!e.useClass}var Ao=new D(""),bs={},up={},yu;function Ro(){return yu===void 0&&(yu=new So),yu}var oe=class{},Ln=class extends oe{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,wu(n,s=>this.processProvider(s)),this.records.set(Vu,wr(void 0,this)),o.has("environment")&&this.records.set(oe,wr(void 0,this));let i=this.records.get(Ao);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bu,_e,{self:!0}))}retrieve(n,t){let r=Pn(t)||0;try{return this.get(n,Fn,r)}catch(o){if(ur(o))return o;throw o}}destroy(){wo(this),this._destroyed=!0;let n=T(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(),T(n)}}onDestroy(n){return wo(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){wo(this);let t=ht(this),r=Ie(void 0),o;try{return n()}finally{ht(t),Ie(r)}}get(n,t=Fn,r){if(wo(this),n.hasOwnProperty(cp))return n[cp](this);let o=Pn(r),i,s=ht(this),a=Ie(void 0);try{if(!(o&4)){let u=this.records.get(n);if(u===void 0){let l=sC(n)&&To(n);l&&this.injectableDefInScope(l)?u=wr(_u(n),bs):u=null,this.records.set(n,u)}if(u!=null)return this.hydrate(n,u,o)}let c=o&2?Ro():this.parent;return t=o&8&&t===Fn?null:t,c.get(n,t)}catch(c){let u=WE(c);throw u===-200||u===-201?new y(u,null):c}finally{Ie(a),ht(s)}}resolveInjectorInitializers(){let n=T(null),t=ht(this),r=Ie(void 0),o;try{let i=this.get(kt,_e,{self:!0});for(let s of i)s()}finally{ht(t),Ie(r),T(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(Ot(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=me(n);let t=kn(n)?n:me(n&&n.provide),r=rC(n);if(!kn(n)&&n.multi===!0){let o=this.records.get(t);o||(o=wr(void 0,bs,!0),o.factory=()=>Iu(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=T(null);try{if(t.value===up)throw ku(Ot(n));return t.value===bs&&(t.value=up,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&iC(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{T(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=me(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 _u(e){let n=To(e),t=n!==null?n.factory:tn(e);if(t!==null)return t;if(e instanceof D)throw new y(204,!1);if(e instanceof Function)return nC(e);throw new y(204,!1)}function nC(e){if(e.length>0)throw new y(204,!1);let t=$E(e);return t!==null?()=>t.factory(e):()=>new e}function rC(e){if(Ip(e))return wr(void 0,e.useValue);{let n=zu(e);return wr(n,bs)}}function zu(e,n,t){let r;if(kn(e)){let o=me(e);return tn(o)||_u(o)}else if(Ip(e))r=()=>me(e.useValue);else if(tC(e))r=()=>e.useFactory(...Iu(e.deps||[]));else if(eC(e))r=(o,i)=>C(me(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=me(e&&(e.useClass||e.provide));if(oC(e))r=()=>new o(...Iu(e.deps));else return tn(o)||_u(o)}return r}function wo(e){if(e.destroyed)throw new y(205,!1)}function wr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function oC(e){return!!e.deps}function iC(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function sC(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}
vendor: 8,747 bytes, line 4
4function wu(e,n){for(let t of e)Array.isArray(t)?wu(t,n):t&&Nu(t)?wu(t.\u0275providers,n):n(t)}function he(e,n){let t;e instanceof Ln?(wo(e),t=e):t=new Cu(e);let r,o=ht(t),i=Ie(void 0);try{return n()}finally{ht(o),Ie(i)}}function wp(){return pp()!==void 0||Hi()!=null}var tt=0,b=1,M=2,ue=3,ze=4,be=5,Vn=6,Sr=7,ie=8,Vt=9,gt=10,U=11,Tr=12,Wu=13,Bn=14,Se=15,an=16,Un=17,mt=18,No=19,qu=20,xt=21,Ps=22,xo=23,je=24,Hn=25,$n=26,Z=27,bp=1,Zu=6,cn=7,Oo=8,Gn=9,ee=10;function vt(e){return Array.isArray(e)&&typeof e[bp]=="object"}function nt(e){return Array.isArray(e)&&e[bp]===!0}function Yu(e){return(e.flags&4)!==0}function un(e){return e.componentOffset>-1}function Mr(e){return(e.flags&1)===1}function yt(e){return!!e.template}function Ar(e){return(e[M]&512)!==0}function zn(e){return(e[M]&256)===256}var Qu="svg",Sp="math";function We(e){for(;Array.isArray(e);)e=e[tt];return e}function Ku(e,n){return We(n[e])}function rt(e,n){return We(n[e.index])}function Fo(e,n){return e.data[n]}function Xu(e,n){return e[n]}function Ju(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function qe(e,n){let t=n[e];return vt(t)?t:t[tt]}function Tp(e){return(e[M]&4)===4}function ks(e){return(e[M]&128)===128}function Mp(e){return nt(e[ue])}function Ze(e,n){return n==null?null:e[n]}function el(e){e[Un]=0}function tl(e){e[M]&1024||(e[M]|=1024,ks(e)&&Rr(e))}function Ap(e,n){for(;e>0;)n=n[Bn],e--;return n}function Po(e){return!!(e[M]&9216||e[je]?.dirty)}function Ls(e){e[gt].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),Po(e)&&Rr(e)}function Rr(e){e[gt].changeDetectionScheduler?.notify(0);let n=nn(e);for(;n!==null&&!(n[M]&8192||(n[M]|=8192,!ks(n)));)n=nn(n)}function nl(e,n){if(zn(e))throw new y(911,!1);e[xt]===null&&(e[xt]=[]),e[xt].push(n)}function Rp(e,n){if(e[xt]===null)return;let t=e[xt].indexOf(n);t!==-1&&e[xt].splice(t,1)}function nn(e){let n=e[ue];return nt(n)?n[ue]:n}function rl(e){return e[Sr]??=[]}function ol(e){return e.cleanup??=[]}function Np(e,n,t,r){let o=rl(n);o.push(t),e.firstCreatePass&&ol(e).push(r,o.length-1)}var F={lFrame:zp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var bu=!1;function xp(){return F.lFrame.elementDepthCount}function Op(){F.lFrame.elementDepthCount++}function il(){F.lFrame.elementDepthCount--}function js(){return F.bindingsEnabled}function sl(){return F.skipHydrationRootTNode!==null}function al(e){return F.skipHydrationRootTNode===e}function cl(){F.skipHydrationRootTNode=null}function S(){return F.lFrame.lView}function z(){return F.lFrame.tView}function Fp(e){return F.lFrame.contextLView=e,e[ie]}function Pp(e){return F.lFrame.contextLView=null,e}function ce(){let e=ul();for(;e!==null&&e.type===64;)e=e.parent;return e}function ul(){return F.lFrame.currentTNode}function kp(){let e=F.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Nr(e,n){let t=F.lFrame;t.currentTNode=e,t.isParent=n}function ll(){return F.lFrame.isParent}function dl(){F.lFrame.isParent=!1}function Lp(){return F.lFrame.contextLView}function fl(){return bu}function hl(e){let n=bu;return bu=e,n}function Vs(){let e=F.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function jp(){return F.lFrame.bindingIndex}function Vp(e){return F.lFrame.bindingIndex=e}function Bt(){return F.lFrame.bindingIndex++}function Bs(e){let n=F.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Bp(){return F.lFrame.inI18n}function Up(e,n){let t=F.lFrame;t.bindingIndex=t.bindingRootIndex=e,Us(n)}function Hp(){return F.lFrame.currentDirectiveIndex}function Us(e){F.lFrame.currentDirectiveIndex=e}function $p(e){let n=F.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function pl(){return F.lFrame.currentQueryIndex}function Hs(e){F.lFrame.currentQueryIndex=e}function aC(e){let n=e[b];return n.type===2?n.declTNode:n.type===1?e[be]:null}function gl(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=aC(i),o===null||(i=i[Bn],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=F.lFrame=Gp();return r.currentTNode=n,r.lView=e,!0}function $s(e){let n=Gp(),t=e[b];F.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Gp(){let e=F.lFrame,n=e===null?null:e.child;return n===null?zp(e):n}function zp(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 Wp(){let e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ml=Wp;function Gs(){let e=Wp();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 qp(e){return(F.lFrame.contextLView=Ap(e,F.lFrame.contextLView))[ie]}function Dt(){return F.lFrame.selectedIndex}function ln(e){F.lFrame.selectedIndex=e}function ko(){let e=F.lFrame;return Fo(e.tView,e.selectedIndex)}function Zp(){F.lFrame.currentNamespace=Qu}function Yp(){cC()}function cC(){F.lFrame.currentNamespace=null}function Qp(){return F.lFrame.currentNamespace}var Kp=!0;function zs(){return Kp}function Lo(e){Kp=e}function Su(e,n=null,t=null,r){let o=vl(e,n,t,r);return o.resolveInjectorInitializers(),o}function vl(e,n=null,t=null,r,o=new Set){let i=[t||_e,Ep(e)];return r=r||(typeof e=="object"?void 0:Ot(e)),new Ln(i,n||Ro(),r||null,o)}var Ee=class e{static THROW_IF_NOT_FOUND=Fn;static NULL=new So;static create(n,t){if(Array.isArray(n))return Su({name:""},t,n,"");{let r=n.name??"";return Su({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:e,providedIn:"any",factory:()=>C(Vu)});static __NG_ELEMENT_ID__=-1},Q=new D(""),Et=(()=>{class e{static __NG_ELEMENT_ID__=uC;static __NG_ENV_ID__=t=>t}return e})(),Tu=class extends Et{_lView;constructor(n){super(),this._lView=n}get destroyed(){return zn(this._lView)}onDestroy(n){let t=this._lView;return nl(t,n),()=>Rp(t,n)}};function uC(){return new Tu(S())}var et=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Ve=new D("",{providedIn:"root",factory:()=>{let e=p(oe),n;return t=>{e.destroyed&&!n?setTimeout(()=>{throw t}):(n??=e.get(et),n.handleError(t))}}}),Xp={provide:kt,useValue:()=>void p(et),multi:!0};function yl(e){return typeof e=="function"&&e[De]!==void 0}function Fe(e,n){let[t,r,o]=Jc(e,n?.equal),i=t,s=i[De];return i.set=r,i.update=o,i.asReadonly=Jp.bind(i),i}function Jp(){let e=this[De];if(e.readonlyFn===void 0){let n=()=>this();n[De]=e,e.readonlyFn=n}return e.readonlyFn}function Dl(e){return yl(e)&&typeof e.set=="function"}var Ws=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=lC}return e})();function lC(){return new Ws(S(),ce())}var Ft=class{},xr=new D("",{providedIn:"root",factory:()=>!1});var El=new D(""),Cl=new D(""),Ct=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new re(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new P(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),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(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=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),qs=(()=>{class e{internalPendingTasks=p(Ct);scheduler=p(Ft);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=v({token:e,providedIn:"root",factory:()=>new e})}return e})();function jo(...e){}var Il=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new Mu})}return e})(),Mu=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));
vendor: 6,281 bytes, line 4
4n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}};function qo(e){return{toString:e}.toString()}function mC(e){return typeof e=="function"}var ra=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function Og(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Ye=(()=>{let e=()=>Fg;return e.ngInherit=!0,e})();function Fg(e){return e.type.prototype.ngOnChanges&&(e.setInput=yC),vC}function vC(){let e=kg(this),n=e?.current;if(n){let t=e.previous;if(t===sn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function yC(e,n,t,r,o){let i=this.declaredInputs[r],s=kg(e)||DC(e,{previous:sn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ra(u&&u.currentValue,t,c===sn),Og(e,n,o,t)}var Pg="__ngSimpleChanges__";function kg(e){return e[Pg]||null}function DC(e,n){return e[Pg]=n}var eg=[];var B=function(e,n=null,t){for(let r=0;r<eg.length;r++){let o=eg[r];o(e,n,t)}};function EC(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Fg(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 Lg(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 Xs(e,n,t){jg(e,n,3,t)}function Js(e,n,t,r){(e[M]&3)===t&&jg(e,n,t,r)}function _l(e,n){let t=e[M];(t&3)===n&&(t&=16383,t+=1,e[M]=t)}function jg(e,n,t,r){let o=r!==void 0?e[Un]&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[Un]+=65536),(a<i||i==-1)&&(CC(e,t,n,c),e[Un]=(e[Un]&4294901760)+c+2),c++}function tg(e,n){B(4,e,n);let t=T(null);try{n.call(e)}finally{T(t),B(5,e,n)}}function CC(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[M]>>14<e[Un]>>16&&(e[M]&3)===n&&(e[M]+=16384,tg(a,i)):tg(a,i)}var Fr=-1,qn=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 IC(e){return(e.flags&8)!==0}function _C(e){return(e.flags&16)!==0}function wC(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];bC(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Vg(e){return e===3||e===4||e===6}function bC(e){return e.charCodeAt(0)===64}function Pr(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?ng(e,t,o,null,n[++r]):ng(e,t,o,null,null))}}return e}function ng(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 Bg(e){return e!==Fr}function oa(e){return e&32767}function SC(e){return e>>16}function ia(e,n){let t=SC(e),r=n;for(;t>0;)r=r[Bn],t--;return r}var Ol=!0;function sa(e){let n=Ol;return Ol=e,n}var TC=256,Ug=TC-1,Hg=5,MC=0,It={};function AC(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(jn)&&(r=t[jn]),r==null&&(r=t[jn]=MC++);let o=r&Ug,i=1<<o;n.data[e+(o>>Hg)]|=i}function aa(e,n){let t=$g(e,n);if(t!==-1)return t;let r=n[b];r.firstCreatePass&&(e.injectorIndex=n.length,wl(r.data,e),wl(n,null),wl(r.blueprint,null));let o=vd(e,n),i=e.injectorIndex;if(Bg(o)){let s=oa(o),a=ia(o,n),c=a[b].data;for(let u=0;u<8;u++)n[i+u]=a[s+u]|c[s+u]}return n[i+8]=o,i}function wl(e,n){e.push(0,0,0,0,0,0,0,0,n)}function $g(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function vd(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=Zg(o),r===null)return Fr;if(t++,o=o[Bn],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Fr}function Fl(e,n,t){AC(e,n,t)}function RC(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(Vg(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 Gg(e,n,t){if(t&8||e!==void 0)return e;Ns(n,"NodeInjector")}function zg(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[Vt],i=Ie(void 0);try{return o?o.get(n,r,t&8):Lu(n,r,t&8)}finally{Ie(i)}}return Gg(r,n,t)}function Wg(e,n,t,r=0,o){if(e!==null){if(n[M]&2048&&!(r&2)){let s=FC(e,n,t,r,It);if(s!==It)return s}let i=qg(e,n,t,r,It);if(i!==It)return i}return zg(n,t,r,o)}function qg(e,n,t,r,o){let i=xC(t);if(typeof i=="function"){if(!gl(n,e,r))return r&1?Gg(o,t,r):zg(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ns(t);else return s}finally{ml()}}else if(typeof i=="number"){let s=null,a=$g(e,n),c=Fr,u=r&1?n[Se][be]:null;for((a===-1||r&4)&&(c=a===-1?vd(e,n):n[a+8],c===Fr||!og(r,!1)?a=-1:(s=n[b],a=oa(c),n=ia(c,n)));a!==-1;){let l=n[b];if(rg(i,a,l.data)){let d=NC(a,n,t,s,r,u);if(d!==It)return d}c=n[a+8],c!==Fr&&og(r,n[b].data[a+8]===u)&&rg(i,a,n)?(s=l,a=oa(c),n=ia(c,n)):a=-1}}return o}function NC(e,n,t,r,o,i){let s=n[b],a=s.data[e+8],c=r==null?un(a)&&Ol:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ea(a,s,t,c,u);return l!==null?Uo(n,s,l,a,o):It}function ea(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 g=s[f];
vendor: 5,347 bytes, line 4
4if(f<c&&t===g||f>=c&&g.type===t)return f}if(o){let f=s[c];if(f&&yt(f)&&f.type===t)return c}return null}function Uo(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof qn){let a=i;if(a.resolving){let f=dp(s[t]);throw ku(f)}let c=sa(a.canSeeViewProviders);a.resolving=!0;let u=s[t].type||s[t],l,d=a.injectImpl?Ie(a.injectImpl):null,h=gl(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&EC(t,s[t],n)}finally{d!==null&&Ie(d),sa(c),a.resolving=!1,ml()}}return i}function xC(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(jn)?e[jn]:void 0;return typeof n=="number"?n>=0?n&Ug:OC:n}function rg(e,n,t){let r=1<<e;return!!(t[n+(e>>Hg)]&r)}function og(e,n){return!(e&2)&&!(e&1&&n)}var Wn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Wg(this._tNode,this._lView,n,Pn(r),t)}};function OC(){return new Wn(ce(),S())}function _t(e){return qo(()=>{let n=e.prototype.constructor,t=n[bo]||Pl(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[bo]||Pl(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Pl(e){return Au(e)?()=>{let n=Pl(me(e));return n&&n()}:tn(e)}function FC(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[M]&2048&&!Ar(s);){let a=qg(i,s,t,r|2,It);if(a!==It)return a;let c=i.parent;if(!c){let u=s[qu];if(u){let l=u.get(t,It,r);if(l!==It)return l}c=Zg(s),s=s[Bn]}i=c}return o}function Zg(e){let n=e[b],t=n.type;return t===2?n.declTNode:t===1?e[be]:null}function Zo(e){return RC(ce(),e)}function PC(){return Ur(ce(),S())}function Ur(e,n){return new Te(rt(e,n))}var Te=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=PC}return e})();function kC(e){return e instanceof Te?e.nativeElement:e}function LC(){return this._results[Symbol.iterator]()}var ca=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=mp(n);(this._changesDetected=!gp(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]=LC};function Yg(e){return(e.flags&128)===128}var yd=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(yd||{}),Qg=new Map,jC=0;function VC(){return jC++}function BC(e){Qg.set(e[No],e)}function kl(e){Qg.delete(e[No])}var ig="__ngContext__";function kr(e,n){vt(n)?(e[ig]=n[No],BC(n)):e[ig]=n}function Kg(e){return Jg(e[Tr])}function Xg(e){return Jg(e[ze])}function Jg(e){for(;e!==null&&!nt(e);)e=e[ze];return e}var Ll;function Dd(e){Ll=e}function em(){if(Ll!==void 0)return Ll;if(typeof document<"u")return document;throw new y(210,!1)}var wa=new D("",{providedIn:"root",factory:()=>UC}),UC="ng",ba=new D(""),Yo=new D("",{providedIn:"platform",factory:()=>"unknown"});var Sa=new D("",{providedIn:"root",factory:()=>em().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var HC="h",$C="b";var tm="r";var nm="di";var rm=!1,om=new D("",{providedIn:"root",factory:()=>rm});var Ta=new D("");var GC=(e,n,t,r)=>{};function zC(e,n,t,r){GC(e,n,t,r)}function Ma(e){return(e.flags&32)===32}var WC=()=>null;function im(e,n,t=!1){return WC(e,n,t)}function sm(e,n){let t=e.contentQueries;if(t!==null){let r=T(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];Hs(i),a.contentQueries(2,n[s],s)}}}finally{T(r)}}}function jl(e,n,t){Hs(0);let r=T(null);try{n(e,t)}finally{T(r)}}function Ed(e,n,t){if(Yu(n)){let r=T(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{T(r)}}}var Ut=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Ut||{});var Zs;function qC(){if(Zs===void 0&&(Zs=null,rn.trustedTypes))try{Zs=rn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zs}function Aa(e){return qC()?.createHTML(e)||e}var Ys;function ZC(){if(Ys===void 0&&(Ys=null,rn.trustedTypes))try{Ys=rn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ys}function sg(e){return ZC()?.createScriptURL(e)||e}var Ht=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ms})`}},Vl=class extends Ht{getTypeName(){return"HTML"}},Bl=class extends Ht{getTypeName(){return"Style"}}
vendor: 5,679 bytes, line 4
4,Ul=class extends Ht{getTypeName(){return"Script"}},Hl=class extends Ht{getTypeName(){return"URL"}},$l=class extends Ht{getTypeName(){return"ResourceURL"}};function Qe(e){return e instanceof Ht?e.changingThisBreaksApplicationSecurity:e}function Gt(e,n){let t=am(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Ms})`)}return t===n}function am(e){return e instanceof Ht&&e.getTypeName()||null}function Cd(e){return new Vl(e)}function Id(e){return new Bl(e)}function _d(e){return new Ul(e)}function wd(e){return new Hl(e)}function bd(e){return new $l(e)}function YC(e){let n=new zl(e);return QC()?new Gl(n):n}var Gl=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Aa(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},zl=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=Aa(n),t}};function QC(){try{return!!new window.DOMParser().parseFromString(Aa(""),"text/html")}catch{return!1}}var KC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qo(e){return e=String(e),e.match(KC)?e:"unsafe:"+e}function zt(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Ko(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var cm=zt("area,br,col,hr,img,wbr"),um=zt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lm=zt("rp,rt"),XC=Ko(lm,um),JC=Ko(um,zt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),eI=Ko(lm,zt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ag=Ko(cm,JC,eI,XC),dm=zt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tI=zt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),nI=zt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),rI=Ko(dm,tI,nI),oI=zt("script,style,template"),Wl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=aI(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=sI(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=cg(n).toLowerCase();if(!ag.hasOwnProperty(t))return this.sanitizedSomething=!0,!oI.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!rI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;dm[a]&&(c=Qo(c)),this.buf.push(" ",s,'="',ug(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=cg(n).toLowerCase();ag.hasOwnProperty(t)&&!cm.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(ug(n))}};function iI(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function sI(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw fm(n);return n}function aI(e){let n=e.firstChild;if(n&&iI(e,n))throw fm(n);return n}function cg(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function fm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var cI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uI=/([^\#-~ |!])/g;function ug(e){return e.replace(/&/g,"&amp;").replace(cI,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(uI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Qs;function Sd(e,n){let t=null;try{Qs=Qs||YC(e);let r=n?String(n):"";t=Qs.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Qs.getInertBodyElement(r)}while(r!==i);let a=new Wl().sanitizeChildren(lg(t)||t);return Aa(a)}finally{if(t){let r=lg(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function lg(e){return"content"in e&&lI(e)?e.content:null}
vendor: 6,520 bytes, line 4
4function lI(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var dI=/^>|^->|<!--|-->|--!>|<!-$/g,fI=/(<|>)/g,hI="\u200B$1\u200B";function pI(e){return e.replace(dI,n=>n.replace(fI,hI))}function gI(e,n){return e.createText(n)}function mI(e,n,t){e.setValue(n,t)}function vI(e,n){return e.createComment(pI(n))}function hm(e,n,t){return e.createElement(n,t)}function ua(e,n,t,r,o){e.insertBefore(n,t,r,o)}function pm(e,n,t){e.appendChild(n,t)}function dg(e,n,t,r,o){r!==null?ua(e,n,t,r,o):pm(e,n,t)}function gm(e,n,t,r){e.removeChild(null,n,t,r)}function yI(e,n,t){e.setAttribute(n,"style",t)}function DI(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function mm(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&wC(e,n,r),o!==null&&DI(e,n,o),i!==null&&yI(e,n,i)}var st=(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})(st||{});function vm(e){let n=Dm();return n?n.sanitize(st.URL,e)||"":Gt(e,"URL")?Qe(e):Qo(on(e))}function ym(e){let n=Dm();if(n)return sg(n.sanitize(st.RESOURCE_URL,e)||"");if(Gt(e,"ResourceURL"))return sg(Qe(e));throw new y(904,!1)}var EI=new Set(["embed","frame","iframe","media","script"]),CI=new Set(["base","link","script"]);function II(e,n){return n==="src"&&EI.has(e)||n==="href"&&CI.has(e)||n==="xlink:href"&&e==="script"?ym:vm}function Td(e,n,t){return II(n,t)(e)}function Dm(){let e=S();return e&&e[gt].sanitizer}function _I(e){return e.ownerDocument.defaultView}function Em(e){return e instanceof Function?e():e}function wI(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 Cm="ng-template";function bI(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&wI(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Md(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 Md(e){return e.type===4&&e.value!==Cm}function SI(e,n,t){let r=e.type===4&&!t?Cm:e.value;return n===r}function TI(e,n,t){let r=4,o=e.attrs,i=o!==null?RI(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!ot(r)&&!ot(c))return!1;if(s&&ot(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!SI(e,c,t)||c===""&&n.length===1){if(ot(r))return!1;s=!0}}else if(r&8){if(o===null||!bI(e,o,c,t)){if(ot(r))return!1;s=!0}}else{let u=n[++a],l=MI(c,o,Md(e),t);if(l===-1){if(ot(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ot(r))return!1;s=!0}}}}return ot(r)||s}function ot(e){return(e&1)===0}function MI(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 NI(n,e)}function Im(e,n,t=!1){for(let r=0;r<n.length;r++)if(TI(e,n[r],t))return!0;return!1}function AI(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function RI(e){for(let n=0;n<e.length;n++){let t=e[n];if(Vg(t))return n}return e.length}function NI(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 xI(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 fg(e,n){return e?":not("+n.trim()+")":n}function OI(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!==""&&!ot(s)&&(n+=fg(i,o),o=""),r=s,i=i||!ot(r);t++}return o!==""&&(n+=fg(i,o)),n}function FI(e){return e.map(OI).join(",")}function PI(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(!ot(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var Ce={};function Ad(e,n,t,r,o,i,s,a,c,u,l){let d=Z+r,h=d+o,f=kI(d,h),g=typeof u=="function"?u():u;return f[b]={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:g,incompleteFirstPass:!1,ssrId:l}}function kI(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:Ce);return t}function LI(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Ad(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Rd(e,n,t,r,o,i,s,a,c,u,l){let d=n.blueprint.slice();return d[tt]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),el(d),d[ue]=d[Bn]=e,d[ie]=t,d[gt]=s||e&&e[gt],d[U]=a||e&&e[U],d[Vt]=c||e&&e[Vt]||null,d[be]=i,d[No]=VC(),d[Vn]=l,d[qu]=u,d[Se]=n.type==2?e[Se]:d,d}function jI(e,n,t){let r=rt(n,e),o=LI(t),i=e[gt].rendererFactory,s=Nd(e,Rd(e,o,null,_m(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function _m(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function wm(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 Nd(e,n){return e[Tr]?e[Wu][ze]=n:e[Tr]=n,e[Wu]=n,n}function VI(e=1){bm(z(),S(),Dt()+e,!1)}function bm(e,n,t,r){if(!r)if((n[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Xs(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Js(n,i,0,t)}ln(t)}var Ra=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ra||{});function ql(e,n,t,r){let o=T(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Ra.SignalBased)!==0&&(c=n[i][De]),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):Og(n,c,i,r)}finally{T(o)}}var $t=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})($t||{}),BI;
vendor: 39,933 bytes, line 4
4function xd(e,n){return BI(e,n)}var Zn=new Set,Na=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Na||{}),Xn=new D(""),hg=new Set;function at(e){hg.has(e)||(hg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Sm=!1,Zl=class extends ne{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,wp()&&(this.destroyRef=p(Et,{optional:!0})??void 0,this.pendingTasks=p(Ct,{optional:!0})??void 0)}emit(n){let t=T(null);try{super.next(n)}finally{T(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 X&&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)}})}}},te=Zl;function Tm(e){let n,t;function r(){e=jo;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 pg(e){return queueMicrotask(()=>e()),()=>{e=jo}}var Od="isAngularZone",la=Od+"_ID",UI=0,K=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new te(!1);onMicrotaskEmpty=new te(!1);onStable=new te(!1);onError=new te(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Sm}=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,GI(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Od)===!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,HI,jo,jo);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)}},HI={};function Fd(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 $I(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Tm(()=>{e.callbackScheduled=!1,Yl(e),e.isCheckStableRunning=!0,Fd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Yl(e)}function GI(e){let n=()=>{$I(e)},t=UI++;e._inner=e._inner.fork({name:"angular",properties:{[Od]:!0,[la]:t,[la+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(zI(c))return r.invokeTask(i,s,a,c);try{return gg(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),mg(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return gg(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!WI(c)&&n(),mg(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Yl(e),Fd(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 Yl(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function gg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mg(e){e._nesting--,Fd(e)}var da=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new te;onMicrotaskEmpty=new te;onStable=new te;onError=new te;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 zI(e){return Mm(e,"__ignore_ng_zone__")}function WI(e){return Mm(e,"__scheduler_tick__")}function Mm(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Pd=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Am=[0,1,2,3],Rm=(()=>{class e{ngZone=p(K);scheduler=p(Ft);errorHandler=p(et,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(Xn,{optional:!0})}execute(){let t=this.sequences.size>0;t&&B(16),this.executing=!0;for(let r of Am)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&&B(17)}register(t){let{view:r}=t;r!==void 0?((r[Hn]??=[]).push(t),Rr(r),r[M]|=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(Na.AFTER_NEXT_RENDER,t):t()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),fa=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?.[Hn];n&&(this.view[Hn]=n.filter(t=>t!==this))}};function xa(e,n){let t=n?.injector??p(Ee);return at("NgAfterNextRender"),ZI(e,t,n,!0)}function qI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function ZI(e,n,t,r){let o=n.get(Pd);o.impl??=n.get(Rm);let i=n.get(Xn,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(Et):null,a=n.get(Ws,null,{optional:!0}),c=new fa(o.impl,qI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Nm=new D("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function xm(e,n,t){let r=e.get(Nm);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 YI(e,n){let t=e.get(Nm);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function QI(e,n){for(let[t,r]of n)xm(e,r.animateFns)}function vg(e,n,t,r){let o=e?.[$n]?.enter;n!==null&&o&&o.has(t.index)&&QI(r,o)}function Or(e,n,t,r,o,i,s,a){if(o!=null){let c,u=!1;nt(o)?c=o:vt(o)&&(u=!0,o=o[tt]);let l=We(o);e===0&&r!==null?(vg(a,r,i,t),s==null?pm(n,r,l):ua(n,r,l,s||null,!0)):e===1&&r!==null?(vg(a,r,i,t),ua(n,r,l,s||null,!0)):e===2?yg(a,i,t,d=>{gm(n,l,u,d)}):e===3&&yg(a,i,t,()=>{n.destroyNode(l)}),c!=null&&a_(n,e,t,c,i,r,s)}}function KI(e,n){Om(e,n),n[tt]=null,n[be]=null}function XI(e,n,t,r,o,i){r[tt]=o,r[be]=n,Fa(e,r,t,1,o,i)}function Om(e,n){n[gt].changeDetectionScheduler?.notify(9),Fa(e,n,n[U],2,null,null)}function JI(e){let n=e[Tr];if(!n)return bl(e[b],e);for(;n;){let t=null;if(vt(n))t=n[Tr];else{let r=n[ee];r&&(t=r)}if(!t){for(;n&&!n[ze]&&n!==e;)vt(n)&&bl(n[b],n),n=n[ue];n===null&&(n=e),vt(n)&&bl(n[b],n),t=n&&n[ze]}n=t}}function kd(e,n){let t=e[Gn],r=t.indexOf(n);t.splice(r,1)}function Oa(e,n){if(zn(n))return;let t=n[U];t.destroyNode&&Fa(e,n,t,3,null,null),JI(n)}function bl(e,n){if(zn(n))return;let t=T(null);try{n[M]&=-129,n[M]|=256,n[je]&&Do(n[je]),n_(e,n),t_(e,n),n[b].type===1&&n[U].destroy();let r=n[an];if(r!==null&&nt(n[ue])){r!==n[ue]&&kd(r,n);let o=n[mt];o!==null&&o.detachView(e)}kl(n)}finally{T(t)}}function yg(e,n,t,r){let o=e?.[$n];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&Zn.add(e),xm(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),e_(e,r)}else e&&Zn.delete(e),r(!1)},o)}function e_(e,n){let t=e[$n]?.running;if(t){t.then(()=>{e[$n].running=void 0,Zn.delete(e),n(!0)});return}n(!1)}function t_(e,n){let t=e.cleanup,r=n[Sr];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[Sr]=null);let o=n[xt];if(o!==null){n[xt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[xo];if(i!==null){n[xo]=null;for(let s of i)s.destroy()}}function n_(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 qn)){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];B(4,a,c);try{c.call(a)}finally{B(5,a,c)}}else{B(4,o,i);try{i.call(o)}finally{B(5,o,i)}}}}}function Fm(e,n,t){return r_(e,n.parent,t)}function r_(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[tt];if(un(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ut.None||o===Ut.Emulated)return null}return rt(r,t)}function Pm(e,n,t){return i_(e,n,t)}function o_(e,n,t){return e.type&40?rt(e,t):null}var i_=o_,Dg;function Ld(e,n,t,r){let o=Fm(e,r,n),i=n[U],s=r.parent||n[be],a=Pm(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)dg(i,o,t[c],a,!1);else dg(i,o,t,a,!1);Dg!==void 0&&Dg(i,r,n,t,o)}function Vo(e,n){if(n!==null){let t=n.type;if(t&3)return rt(n,e);if(t&4)return Ql(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Vo(e,r);{let o=e[n.index];return nt(o)?Ql(-1,o):We(o)}}else{if(t&128)return Vo(e,n.next);if(t&32)return xd(n,e)()||We(e[n.index]);{let r=km(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=nn(e[Se]);return Vo(o,r)}else return Vo(e,n.next)}}}return null}function km(e,n){if(n!==null){let r=e[Se][be],o=n.projection;return r.projection[o]}return null}function Ql(e,n){let t=ee+e+1;if(t<n.length){let r=n[t],o=r[b].firstChild;if(o!==null)return Vo(r,o)}return n[cn]}function jd(e,n,t,r,o,i,s){for(;t!=null;){let a=r[Vt];if(t.type===128){t=t.next;continue}let c=r[t.index],u=t.type;if(s&&n===0&&(c&&kr(We(c),r),t.flags|=2),!Ma(t))if(u&8)jd(e,n,t.child,r,o,i,!1),Or(n,e,a,o,c,t,i,r);else if(u&32){let l=xd(t,r),d;for(;d=l();)Or(n,e,a,o,d,t,i,r);Or(n,e,a,o,c,t,i,r)}else u&16?Lm(e,n,r,t,o,i):Or(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function Fa(e,n,t,r,o,i){jd(t,r,e.firstChild,n,o,i,!1)}function s_(e,n,t){let r=n[U],o=Fm(e,t,n),i=t.parent||n[be],s=Pm(i,t,n);Lm(r,0,n,t,o,s)}function Lm(e,n,t,r,o,i){let s=t[Se],c=s[be].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Or(n,e,t[Vt],o,l,r,i,t)}else{let u=c,l=s[ue];Yg(r)&&(u.flags|=128),jd(e,n,u,l,o,i,!0)}}function a_(e,n,t,r,o,i,s){let a=r[cn],c=We(r);a!==c&&Or(n,e,t,i,a,o,s);for(let u=ee;u<r.length;u++){let l=r[u];Fa(l[b],l,e,n,i,a)}}function c_(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:$t.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=$t.Important),e.setStyle(t,r,o,i))}}function jm(e,n,t,r,o){let i=Dt(),s=r&2;try{ln(-1),s&&n.length>Z&&bm(e,n,Z,!1),B(s?2:0,o,t),t(r,o)}finally{ln(i),B(s?3:1,o,t)}}function Pa(e,n,t){p_(e,n,t),(t.flags&64)===64&&g_(e,n,t)}function Xo(e,n,t=rt){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 u_(e,n,t,r){let i=r.get(om,rm)||t===Ut.ShadowDom,s=e.selectRootElement(n,i);return l_(s),s}function l_(e){d_(e)}var d_=()=>null;function f_(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Vm(e,n,t,r,o,i){let s=n[b];if(Hd(e,s,n,t,r)){un(e)&&h_(n,e.index);return}e.type&3&&(t=f_(t)),Bm(e,n,t,r,o,i)}function Bm(e,n,t,r,o,i){if(e.type&3){let s=rt(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function h_(e,n){let t=qe(n,e);t[M]&16||(t[M]|=64)}function p_(e,n,t){let r=t.directiveStart,o=t.directiveEnd;un(t)&&jI(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||aa(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Uo(n,e,s,t);if(kr(c,n),i!==null&&D_(n,s-r,c,a,t,i),yt(a)){let u=qe(t.index,n);u[ie]=Uo(n,e,s,t)}}}function g_(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Hp();try{ln(i);for(let a=r;a<o;a++){let c=e.data[a],u=n[a];Us(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&m_(c,u)}}finally{ln(-1),Us(s)}}function m_(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Vd(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];Im(n,i.selectors,!1)&&(r??=[],yt(i)?r.unshift(i):r.push(i))}return r}function v_(e,n,t,r,o,i){let s=rt(e,n);y_(n[U],s,i,e.value,t,r,o)}function y_(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?on(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function D_(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];ql(r,t,c,u)}}function Bd(e,n,t,r,o){let i=Z+t,s=n[b],a=o(s,n,e,r,t);n[i]=a,Nr(e,!0);let c=e.type===2;return c?(mm(n[U],a,e),(xp()===0||Mr(e))&&kr(a,n),Op()):kr(a,n),zs()&&(!c||!Ma(e))&&Ld(s,n,a,e),e}function Ud(e){let n=e;return ll()?dl():(n=n.parent,Nr(n,!1)),n}function E_(e,n){let t=e[Vt];if(!t)return;let r;try{r=t.get(Ve,null)}catch{r=null}r?.(n)}function Hd(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];ql(d,t[u],l,o),a=!0}if(i)for(let c of i){let u=t[c],l=n.data[c];ql(l,u,r,o),a=!0}return a}function C_(e,n){let t=qe(n,e),r=t[b];I_(r,t);let o=t[tt];o!==null&&t[Vn]===null&&(t[Vn]=im(o,t[Vt])),B(18),$d(r,t,t[ie]),B(19,t[ie])}function I_(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function $d(e,n,t){$s(n);try{let r=e.viewQuery;r!==null&&jl(1,r,t);let o=e.template;o!==null&&jm(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[mt]?.finishViewCreation(e),e.staticContentQueries&&sm(e,n),e.staticViewQueries&&jl(2,e.viewQuery,t);let i=e.components;i!==null&&__(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[M]&=-5,Gs()}}function __(e,n){for(let t=0;t<n.length;t++)C_(e,n[t])}function Jo(e,n,t,r){let o=T(null);try{let i=n.tView,a=e[M]&4096?4096:16,c=Rd(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[n.index];c[an]=u;let l=e[mt];return l!==null&&(c[mt]=l.createEmbeddedView(i)),$d(i,c,t),c}finally{T(o)}}function Lr(e,n){return!n||n.firstChild===null||Yg(e)}function Ho(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(We(i)),nt(i)&&Um(i,r);let s=t.type;if(s&8)Ho(e,n,t.child,r);else if(s&32){let a=xd(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=km(n,t);if(Array.isArray(a))r.push(...a);else{let c=nn(n[Se]);Ho(c[b],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Um(e,n){for(let t=ee;t<e.length;t++){let r=e[t],o=r[b].firstChild;o!==null&&Ho(r[b],r,o,n)}e[cn]!==e[tt]&&n.push(e[cn])}function Hm(e){if(e[Hn]!==null){for(let n of e[Hn])n.impl.addSequence(n);e[Hn].length=0}}var $m=[];function w_(e){return e[je]??b_(e)}function b_(e){let n=$m.pop()??Object.create(T_);return n.lView=e,n}function S_(e){e.lView[je]!==e&&(e.lView=null,$m.push(e))}var T_=O(m({},lr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Rr(e.lView)},consumerOnSignalRead(){this.lView[je]=this}});function M_(e){let n=e[je]??Object.create(A_);return n.lView=e,n}var A_=O(m({},lr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=nn(e.lView);for(;n&&!Gm(n[b]);)n=nn(n);n&&tl(n)},consumerOnSignalRead(){this.lView[je]=this}});function Gm(e){return e.type!==2}function zm(e){if(e[xo]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[xo])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[M]&8192)}}var R_=100;function Wm(e,n=0){let r=e[gt].rendererFactory,o=!1;o||r.begin?.();try{N_(e,n)}finally{o||r.end?.()}}function N_(e,n){let t=fl();try{hl(!0),Kl(e,n);let r=0;for(;Po(e);){if(r===R_)throw new y(103,!1);r++,Kl(e,1)}}finally{hl(t)}}function x_(e,n,t,r){if(zn(n))return;let o=n[M],i=!1,s=!1;$s(n);let a=!0,c=null,u=null;i||(Gm(e)?(u=w_(n),c=fr(u)):qi()===null?(a=!1,u=M_(n),c=fr(u)):n[je]&&(Do(n[je]),n[je]=null));try{el(n),Vp(e.bindingStartIndex),t!==null&&jm(e,n,t,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Xs(n,f,null)}else{let f=e.preOrderHooks;f!==null&&Js(n,f,0,null),_l(n,0)}if(s||O_(n),zm(n),qm(n,0),e.contentQueries!==null&&sm(e,n),!i)if(l){let f=e.contentCheckHooks;f!==null&&Xs(n,f)}else{let f=e.contentHooks;f!==null&&Js(n,f,1),_l(n,1)}P_(e,n);let d=e.components;d!==null&&Ym(n,d,0);let h=e.viewQuery;if(h!==null&&jl(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Xs(n,f)}else{let f=e.viewHooks;f!==null&&Js(n,f,2),_l(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Ps]){for(let f of n[Ps])f();n[Ps]=null}i||(Hm(n),n[M]&=-73)}catch(l){throw i||Rr(n),l}finally{u!==null&&(vo(u,c),a&&S_(u)),Gs()}}function qm(e,n){for(let t=Kg(e);t!==null;t=Xg(t))for(let r=ee;r<t.length;r++){let o=t[r];Zm(o,n)}}function O_(e){for(let n=Kg(e);n!==null;n=Xg(n)){if(!(n[M]&2))continue;let t=n[Gn];for(let r=0;r<t.length;r++){let o=t[r];tl(o)}}}function F_(e,n,t){B(18);let r=qe(n,e);Zm(r,t),B(19,r[ie])}function Zm(e,n){ks(e)&&Kl(e,n)}function Kl(e,n){let r=e[b],o=e[M],i=e[je],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&yo(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)x_(r,e,r.template,e[ie]);else if(o&8192){let a=T(null);try{zm(e),qm(e,1);let c=r.components;c!==null&&Ym(e,c,1),Hm(e)}finally{T(a)}}}function Ym(e,n,t){for(let r=0;r<n.length;r++)F_(e,n[r],t)}function P_(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)ln(~o);else{let i=o,s=t[++r],a=t[++r];Up(s,i);let c=n[i];B(24,c),a(2,c),B(25,c)}}}finally{ln(-1)}}function Gd(e,n){let t=fl()?64:1088;for(e[gt].changeDetectionScheduler?.notify(n);e;){e[M]|=t;let r=nn(e);if(Ar(e)&&!r)return e;e=r}return null}function Qm(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Km(e,n){let t=ee+n;if(t<e.length)return e[t]}function ei(e,n,t,r=!0){let o=n[b];if(k_(o,n,e,t),r){let s=Ql(t,e),a=n[U],c=a.parentNode(e[cn]);c!==null&&XI(o,e[be],a,n,c,s)}let i=n[Vn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Xm(e,n){let t=$o(e,n);return t!==void 0&&Oa(t[b],t),t}function $o(e,n){if(e.length<=ee)return;let t=ee+n,r=e[t];if(r){let o=r[an];o!==null&&o!==e&&kd(o,r),n>0&&(e[t-1][ze]=r[ze]);let i=Mo(e,ee+n);KI(r[b],r);let s=i[mt];s!==null&&s.detachView(i[b]),r[ue]=null,r[ze]=null,r[M]&=-129}return r}function k_(e,n,t,r){let o=ee+r,i=t.length;r>0&&(t[o-1][ze]=n),r<i-ee?(n[ze]=t[o],ju(t,ee+r,n)):(t.push(n),n[ze]=null),n[ue]=t;let s=n[an];s!==null&&t!==s&&Jm(s,n);let a=n[mt];a!==null&&a.insertView(e),Ls(n),n[M]|=128}function Jm(e,n){let t=e[Gn],r=n[ue];if(vt(r))e[M]|=2;else{let o=r[ue][Se];n[Se]!==o&&(e[M]|=2)}t===null?e[Gn]=[n]:t.push(n)}var dn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[b];return Ho(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[ie]}set context(n){this._lView[ie]=n}get destroyed(){return zn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ue];if(nt(n)){let t=n[Oo],r=t?t.indexOf(this):-1;r>-1&&($o(n,r),Mo(t,r))}this._attachedToViewContainer=!1}Oa(this._lView[b],this._lView)}onDestroy(n){nl(this._lView,n)}markForCheck(){Gd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){Ls(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Wm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Ar(this._lView),t=this._lView[an];t!==null&&!n&&kd(t,this._lView),Om(this._lView[b],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=n;let t=Ar(this._lView),r=this._lView[an];r!==null&&!t&&Jm(r,this._lView),Ls(this._lView)}};var jr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=L_;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=Jo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new dn(i)}}return e})();function L_(){return ka(ce(),S())}function ka(e,n){return e.type&4?new jr(n,e,Ur(e,n)):null}function Hr(e,n,t,r,o){let i=e.data[n];if(i===null)i=j_(e,n,t,r,o),Bp()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=kp();i.injectorIndex=s===null?-1:s.injectorIndex}return Nr(i,!0),i}function j_(e,n,t,r,o){let i=ul(),s=ll(),a=s?i:i&&i.parent,c=e.data[n]=B_(e,a,t,n,r,o);return V_(e,c,i,s),c}function V_(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 B_(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return sl()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-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}}var uL=new RegExp(`^(\\d+)*(${$C}|${HC})*(.*)`);function U_(e){let n=e[Zu]??[],r=e[ue][U],o=[];for(let i of n)i.data[nm]!==void 0?o.push(i):H_(i,r);e[Zu]=o}function H_(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[tm];for(;t<o;){let i=r.nextSibling;gm(n,r,!1),r=i,t++}}}var $_=()=>null,G_=()=>null;function ha(e,n){return $_(e,n)}function ev(e,n,t){return G_(e,n,t)}var tv=class{},La=class{},Xl=class{resolveComponentFactory(n){throw new y(917,!1)}},ti=class{static NULL=new Xl},Yn=class{},ct=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>z_()}return e})();function z_(){let e=S(),n=ce(),t=qe(n.index,e);return(vt(t)?t:e)[U]}var nv=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>null})}return e})();var ta={},Jl=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,ta,r);return o!==ta||t===ta?o:this.parentInjector.get(n,t,r)}};function pa(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=As(o,a);else if(i==2){let c=a,u=n[++s];r=As(r,c+": "+u+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function R(e,n=0){let t=S();if(t===null)return C(e,n);let r=ce();return Wg(r,t,me(e),n)}function zd(){let e="invalid";throw new Error(e)}function rv(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}Z_(e,n,t,a,i,c,u)}i!==null&&r!==null&&W_(t,r,i)}function W_(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 q_(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function Z_(e,n,t,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&yt(f)&&(c=!0,q_(e,t,h)),Fl(aa(t,n),e,f.type)}ew(t,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=wm(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(t.mergedAttrs=Pr(t.mergedAttrs,f.hostAttrs),Q_(e,t,n,d,f),J_(d,f,o),s!==null&&s.has(f)){let[_,I]=s.get(f);t.directiveToIndex.set(f.type,[d,_+t.directiveStart,I+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 g=f.type.prototype;!u&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),u=!0),!l&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),l=!0),d++}Y_(e,t,i)}function Y_(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))Eg(0,n,o,r),Eg(1,n,o,r),Ig(n,r,!1);else{let i=t.get(o);Cg(0,n,i,r),Cg(1,n,i,r),Ig(n,r,!0)}}}function Eg(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),ov(n,i)}}function Cg(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),ov(n,s)}}function ov(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function Ig(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Md(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 Q_(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=tn(o.type,!0)),s=new qn(i,yt(o),R,null);e.blueprint[r]=s,t[r]=s,K_(e,n,r,wm(e,t,o.hostVars,Ce),o)}function K_(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;X_(s)!=a&&s.push(a),s.push(t,r,i)}}function X_(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function J_(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;yt(n)&&(t[""]=e)}}function ew(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Wd(e,n,t,r,o,i,s,a){let c=n[b],u=c.consts,l=Ze(u,s),d=Hr(c,e,t,r,l);return i&&rv(c,n,d,Ze(u,a),o),d.mergedAttrs=Pr(d.mergedAttrs,d.attrs),d.attrs!==null&&pa(d,d.attrs,!1),d.mergedAttrs!==null&&pa(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function qd(e,n){Lg(e,n),Yu(n)&&e.queries.elementEnd(n)}function tw(e,n,t,r,o,i){let s=n.consts,a=Ze(s,o),c=Hr(n,e,t,r,a);if(c.mergedAttrs=Pr(c.mergedAttrs,c.attrs),i!=null){let u=Ze(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&pa(c,c.attrs,!1),c.mergedAttrs!==null&&pa(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function iv(e,n,t){return e[n]=t}function nw(e,n){return e[n]}function Be(e,n,t){if(t===Ce)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function rw(e,n,t,r){let o=Be(e,n,t);return Be(e,n+1,r)||o}function na(e,n,t){return function r(o){let i=un(e)?qe(e.index,n):n;Gd(i,5);let s=n[ie],a=_g(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=_g(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function _g(e,n,t,r){let o=T(null);try{return B(6,n,t),t(r)!==!1}catch(i){return E_(e,i),!1}finally{B(7,n,t),T(o)}}function sv(e,n,t,r,o,i,s,a){let c=Mr(e),u=!1,l=null;if(!r&&c&&(l=iw(n,t,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=rt(e,t),h=r?r(d):d;zC(t,h,i,a);let f=o.listen(h,i,a);if(!ow(i)){let g=r?_=>r(We(_[e.index])):e.index;av(g,n,t,i,a,f,!1)}}return u}function ow(e){return e.startsWith("animation")||e.startsWith("transition")}function iw(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[Sr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function av(e,n,t,r,o,i,s){let a=n.firstCreatePass?ol(n):null,c=rl(t),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function wg(e,n,t,r,o,i){let s=n[t],a=n[b],u=a.data[t].outputs[r],d=s[u].subscribe(i);av(e.index,a,n,o,i,d,!0)}var ed=Symbol("BINDING");var ga=class extends ti{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Lt(n);return new Qn(t,this.ngModule)}};function sw(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Ra.SignalBased)!==0};return o&&(i.transform=o),i})}function aw(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function cw(e,n,t){let r=n instanceof oe?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Jl(t,r):t}function uw(e){let n=e.get(Yn,null);if(n===null)throw new y(407,!1);let t=e.get(nv,null),r=e.get(Ft,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1}}function lw(e,n){let t=cv(e);return hm(n,t,t==="svg"?Qu:t==="math"?Sp:null)}function cv(e){return(e.selectors[0][0]||"div").toLowerCase()}var Qn=class extends La{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=sw(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=aw(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=FI(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){B(22);let a=T(null);try{let c=this.componentDef,u=dw(r,c,s,i),l=cw(c,o||this.ngModule,n),d=uw(l),h=d.rendererFactory.createRenderer(null,c),f=r?u_(h,r,c.encapsulation,l):lw(c,h),g=s?.some(bg)||i?.some(E=>typeof E!="function"&&E.bindings.some(bg)),_=Rd(null,u,null,512|_m(c),null,null,d,h,l,null,im(f,l,!0));_[Z]=f,$s(_);let I=null;try{let E=Wd(Z,_,2,"#host",()=>u.directiveRegistry,!0,0);mm(h,f,E),kr(f,_),Pa(u,_,E),Ed(u,E,_),qd(u,E),t!==void 0&&hw(E,this.ngContentSelectors,t),I=qe(E.index,_),_[ie]=I[ie],$d(u,_,null)}catch(E){throw I!==null&&kl(I),kl(_),E}finally{B(23),Gs()}return new ma(this.componentType,_,!!g)}finally{T(a)}}};function dw(e,n,t,r){let o=e?["ng-version","20.3.17"]:PI(n.selectors[0]),i=null,s=null,a=0;if(t)for(let l of t)a+=l[ed].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[ed].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=Hu(d);c.push(h)}return Ad(0,null,fw(i,s),1,a,c,null,null,null,[o],null)}function fw(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 bg(e){let n=e[ed].kind;return n==="input"||n==="twoWay"}var ma=class extends tv{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Fo(t[b],Z),this.location=Ur(this._tNode,t),this.instance=qe(this._tNode.index,t)[ie],this.hostView=this.changeDetectorRef=new dn(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=Hd(r,o[b],o,n,t);this.previousInputValues.set(n,t);let s=qe(r.index,o);Gd(s,1)}get injector(){return new Wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function hw(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 fn=(()=>{class e{static __NG_ELEMENT_ID__=pw}return e})();function pw(){let e=ce();return lv(e,S())}var gw=fn,uv=class extends gw{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Ur(this._hostTNode,this._hostLView)}get injector(){return new Wn(this._hostTNode,this._hostLView)}get parentInjector(){let n=vd(this._hostTNode,this._hostLView);if(Bg(n)){let t=ia(n,this._hostLView),r=oa(n),o=t[b].data[r+8];return new Wn(o,t)}else return new Wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Sg(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-ee}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ha(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Lr(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!mC(n),u;if(c)u=t;else{let I=t||{};u=I.index,r=I.injector,o=I.projectableNodes,i=I.environmentInjector||I.ngModuleRef,s=I.directives,a=I.bindings}let l=c?n:new Qn(Lt(n)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let E=(c?d:this.parentInjector).get(oe,null);E&&(i=E)}let h=Lt(l.componentType??{}),f=ha(this._lContainer,h?.id??null),g=f?.firstChild??null,_=l.create(d,o,g,i,s,a);return this.insertImpl(_.hostView,u,Lr(this._hostTNode,f)),_}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Mp(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ue],u=new uv(c,c[be],c[ue]);u.detach(u.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return ei(s,o,i,r),n.attachToViewContainerRef(),ju(Sl(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Sg(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=$o(this._lContainer,t);r&&(Mo(Sl(this._lContainer),t),Oa(r[b],r))}detach(n){let t=this._adjustIndex(n,-1),r=$o(this._lContainer,t);return r&&Mo(Sl(this._lContainer),t)!=null?new dn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Sg(e){return e[Oo]}function Sl(e){return e[Oo]||(e[Oo]=[])}function lv(e,n){let t,r=n[e.index];return nt(r)?t=r:(t=Qm(r,n,null,e),n[e.index]=t,Nd(n,t)),vw(t,n,e,r),new uv(t,e,n)}function mw(e,n){let t=e[U],r=t.createComment(""),o=rt(n,e),i=t.parentNode(o);return ua(t,i,r,t.nextSibling(o),!1),r}var vw=Ew,yw=()=>!1;function Dw(e,n,t){return yw(e,n,t)}function Ew(e,n,t,r){if(e[cn])return;let o;t.type&8?o=We(r):o=mw(n,t),e[cn]=o}var td=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},nd=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++)Zd(n,t).matches!==null&&this.queries[t].setDirty()}},va=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=Mw(n):this.predicate=n}},rd=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)}},od=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}matchTNode(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,Cw(t,i)),this.matchTNodeWithReadOption(n,t,ea(t,n,i,!1,!1))}else r===jr?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,ea(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Te||o===fn||o===jr&&t.type&4)this.addMatch(t.index,-2);else{let i=ea(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 Cw(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 Iw(e,n){return e.type&11?Ur(e,n):e.type&4?ka(e,n):null}function _w(e,n,t,r){return t===-1?Iw(n,e):t===-2?ww(e,n,r):Uo(e,e[b],t,n)}function ww(e,n,t){if(t===Te)return Ur(n,e);if(t===jr)return ka(n,e);if(t===fn)return lv(n,e)}function dv(e,n,t,r){let o=n[mt].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(_w(n,l,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function id(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=dv(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=ee;d<l.length;d++){let h=l[d];h[an]===h[ue]&&id(h[b],h,u,r)}if(l[Gn]!==null){let d=l[Gn];for(let h=0;h<d.length;h++){let f=d[h];id(f[b],f,u,r)}}}}}return r}function bw(e,n){return e[mt].queries[n].queryList}function fv(e,n,t){let r=new ca((t&4)===4);
vendor: 8,283 bytes, line 4
4return Np(e,n,r,r.destroy),(n[mt]??=new nd).queries.push(new td(r))-1}function Sw(e,n,t){let r=z();return r.firstCreatePass&&(hv(r,new va(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),fv(r,S(),n)}function Tw(e,n,t,r){let o=z();if(o.firstCreatePass){let i=ce();hv(o,new va(n,t,r),i.index),Aw(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return fv(o,S(),t)}function Mw(e){return e.split(",").map(n=>n.trim())}function hv(e,n,t){e.queries===null&&(e.queries=new rd),e.queries.track(new od(n,t))}function Aw(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 Zd(e,n){return e.queries.getByIndex(n)}function Rw(e,n){let t=e[b],r=Zd(t,n);return r.crossesNgTemplate?id(t,e,n,[]):dv(t,e,r,n)}var Vr=class{},ja=class{};var ya=class extends Vr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ga(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Uu(n);this._bootstrapComponents=Em(i.bootstrap),this._r3Injector=vl(n,t,[{provide:Vr,useValue:this},{provide:ti,useValue:this.componentFactoryResolver},...r],Ot(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)}},Da=class extends ja{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ya(this.moduleType,n,[])}};var Go=class extends Vr{injector;componentFactoryResolver=new ga(this);instance=null;constructor(n){super();let t=new Ln([...n.providers,{provide:Vr,useValue:this},{provide:ti,useValue:this.componentFactoryResolver}],n.parent||Ro(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function $r(e,n,t=null){return new Go({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var Nw=(()=>{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=$u(!1,t.type),o=r.length>0?$r([r],this._injector,`Standalone[${t.type.name}]`):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=v({token:e,providedIn:"environment",factory:()=>new e(C(oe))})}return e})();function Yd(e){return qo(()=>{let n=gv(e),t=O(m({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===yd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(Nw).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||_e,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&at("NgStandalone"),mv(t);let r=e.dependencies;return t.directiveDefs=Tg(r,xw),t.pipeDefs=Tg(r,Dp),t.id=Pw(t),t})}function xw(e){return Lt(e)||Hu(e)}function Pe(e){return qo(()=>({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 Ow(e,n){if(e==null)return sn;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=Ra.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function Fw(e){if(e==null)return sn;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function W(e){return qo(()=>{let n=gv(e);return mv(n),n})}function pv(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 gv(e){let n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||sn,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:Ow(e.inputs,n),outputs:Fw(e.outputs),debugInfo:null}}function mv(e){e.features?.forEach(n=>n(e))}function Tg(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 Pw(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 kw(e){return Object.getPrototypeOf(e.prototype).constructor}function Me(e){let n=kw(e.type),t=!0,r=[e];for(;n;){let o;if(yt(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=Tl(e.inputs),s.declaredInputs=Tl(e.declaredInputs),s.outputs=Tl(e.outputs);let a=o.hostBindings;a&&Uw(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&Vw(e,c),u&&Bw(e,u),Lw(e,o),lp(e.outputs,o.outputs),yt(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===Me&&(t=!1)}}n=Object.getPrototypeOf(n)}jw(r)}function Lw(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function jw(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=Pr(o.hostAttrs,t=Pr(t,o.hostAttrs))}}function Tl(e){return e===sn?{}:e===_e?[]:e}function Vw(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function Bw(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function Uw(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function vv(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Pr(e.mergedAttrs,e.attrs);let l=e.tView=Ad(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),Nr(e,!1);let c=$w(t,n,e,r);zs()&&Ld(t,n,c,e),kr(c,n);let u=Qm(c,n,c,e);n[r+Z]=u,Nd(n,u),Dw(u,e,n)}function Hw(e,n,t,r,o,i,s,a,c,u,l){let d=t+Z,h;return n.firstCreatePass?(h=Hr(n,d,4,s||null,a||null),js()&&rv(n,e,h,Ze(n.consts,u),Vd),Lg(n,h)):h=n.data[d],vv(h,e,n,t,r,o,i,c),Mr(h)&&Pa(n,e,h),u!=null&&Xo(e,h,l),h}function zo(e,n,t,r,o,i,s,a,c,u,l){let d=t+Z,h;if(n.firstCreatePass){if(h=Hr(n,d,4,s||null,a||null),u!=null){let f=Ze(n.consts,u);h.localNames=[];for(let g=0;g<f.length;g+=2)h.localNames.push(f[g],-1)}}else h=n.data[d];return vv(h,e,n,t,r,o,i,c),u!=null&&Xo(e,h,l),h}function yv(e,n,t,r,o,i,s,a){let c=S(),u=z(),l=Ze(u.consts,i);return Hw(c,u,e,n,t,r,o,l,void 0,s,a),yv}var $w=Gw;function Gw(e,n,t,r){return Lo(!0),n[U].createComment("")}var Va=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Qd=new D("");function Jn(e){return!!e&&typeof e.then=="function"}function Dv(e){return!!e&&typeof e.subscribe=="function"}var Kd=new D("");function Ba(e){return jt([{provide:Kd,multi:!0,useValue:e}])}var Xd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=p(Kd,{optional:!0})??[];injector=p(Ee);constructor(){}
vendor: 28,768 bytes, line 4
4runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=he(this.injector,o);if(Jn(i))t.push(i);else if(Dv(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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ni=new D("");function Ev(){Xc(()=>{let e="";throw new y(600,e)})}function Cv(e){return e.isBoundToModule}var zw=10;var Wt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Ve);afterRenderManager=p(Pd);zonelessEnabled=p(xr);rootEffectScheduler=p(Il);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(Ct);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(A(t=>!t))}constructor(){p(Xn,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=p(oe);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=Ee.NULL){return this._injector.get(K).run(()=>{B(10);let s=t instanceof La;if(!this._injector.get(Xd).done){let g="";throw new y(405,g)}let c;s?c=t:c=this._injector.get(ti).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let u=Cv(c)?void 0:this._injector.get(Vr),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get(Qd,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Bo(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),B(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){B(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Na.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new y(101,!1);let t=T(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,T(t),this.afterTick.next(),B(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Yn,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<zw;)B(14),this.synchronizeOnce(),B(15)}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&&!Po(o))continue;let i=r&&!this.zonelessEnabled?0:1;Wm(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})=>Po(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(ni,[]).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=v({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 hn(e,n,t,r){let o=S(),i=Bt();if(Be(o,i,n)){let s=z(),a=ko();v_(a,o,e,n,t,r)}return hn}var mL=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var sd=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 Ml(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function Ww(e,n,t){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(n)){let c=n.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=n[i],d=Ml(i,u,i,l,t);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=n[c],g=Ml(s,h,c,f,t);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let _=t(i,u),I=t(s,h),E=t(i,l);if(Object.is(E,I)){let se=t(c,f);Object.is(se,_)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Ea,o??=Ag(e,i,s,t),ad(e,r,i,E))e.updateValue(i,l),i++,s++;else if(o.has(E))r.set(_,e.detach(i)),s--;else{let se=e.create(i,n[i]);e.attach(i,se),i++,s++}}for(;i<=c;)Mg(e,r,t,i,n[i]),i++}else if(n!=null){let c=n[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=Ml(i,l,i,d,t);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new Ea,o??=Ag(e,i,s,t);let f=t(i,d);if(ad(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let g=t(i,l);r.set(g,e.detach(i)),s--}}}for(;!u.done;)Mg(e,r,t,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function ad(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function Mg(e,n,t,r,o){if(ad(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ag(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 Ea=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 qw(e,n,t,r,o,i,s,a){at("NgControlFlow");let c=S(),u=z(),l=Ze(u.consts,i);return zo(c,u,e,n,t,r,o,l,256,s,a),Jd}function Jd(e,n,t,r,o,i,s,a){at("NgControlFlow");let c=S(),u=z(),l=Ze(u.consts,i);return zo(c,u,e,n,t,r,o,l,512,s,a),Jd}function Zw(e,n){at("NgControlFlow");let t=S(),r=Bt(),o=t[r]!==Ce?t[r]:-1,i=o!==-1?Ca(t,Z+o):void 0,s=0;if(Be(t,r,e)){let a=T(null);try{if(i!==void 0&&Xm(i,s),e!==-1){let c=Z+e,u=Ca(t,c),l=dd(t[b],c),d=ev(u,l,t),h=Jo(t,l,n,{dehydratedView:d});ei(u,h,s,Lr(l,d))}}finally{T(a)}}else if(i!==void 0){let a=Km(i,s);a!==void 0&&(a[ie]=n)}}var cd=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-ee}};function Yw(e){return e}function Qw(e,n){return n}var ud=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function Kw(e,n,t,r,o,i,s,a,c,u,l,d,h){at("NgControlFlow");let f=S(),g=z(),_=c!==void 0,I=S(),E=a?s.bind(I[Se][ie]):s,se=new ud(_,E);I[Z+e]=se,zo(f,g,e+1,n,t,r,o,Ze(g.consts,i),256),_&&zo(f,g,e+2,c,u,l,d,Ze(g.consts,h),512)}var ld=class extends sd{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-ee}at(n){return this.getLView(n)[ie].$implicit}attach(n,t){let r=t[Vn];this.needsIndexUpdate||=n!==this.length,ei(this.lContainer,t,n,Lr(this.templateTNode,r)),Jw(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,eb(this.lContainer,n),tb(this.lContainer,n)}create(n,t){let r=ha(this.lContainer,this.templateTNode.tView.ssrId),o=Jo(this.hostLView,this.templateTNode,new cd(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(n){Oa(n[b],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[ie].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ie].$index=n}getLView(n){return nb(this.lContainer,n)}};function Xw(e){let n=T(null),t=Dt();try{let r=S(),o=r[b],i=r[t],s=t+1,a=Ca(r,s);if(i.liveCollection===void 0){let u=dd(o,s);i.liveCollection=new ld(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(Ww(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=Bt(),l=c.length===0;if(Be(r,u,l)){let d=t+2,h=Ca(r,d);if(l){let f=dd(o,d),g=ev(h,f,r),_=Jo(r,f,void 0,{dehydratedView:g});ei(h,_,0,Lr(f,g))}else o.firstUpdatePass&&U_(h),Xm(h,0)}}}finally{T(n)}}function Ca(e,n){return e[n]}function Jw(e,n){if(e.length<=ee)return;let t=ee+n,r=e[t],o=r?r[$n]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Vt];YI(i,o),Zn.delete(r),o.detachedLeaveAnimationFns=void 0}}function eb(e,n){if(e.length<=ee)return;let t=ee+n,r=e[t],o=r?r[$n]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function tb(e,n){return $o(e,n)}function nb(e,n){return Km(e,n)}function dd(e,n){return Fo(e,n)}function Iv(e,n,t){let r=S(),o=Bt();if(Be(r,o,n)){let i=z(),s=ko();Vm(s,r,e,n,r[U],t)}return Iv}function fd(e,n,t,r,o){Hd(n,e,t,o?"class":"style",r)}function ef(e,n,t,r){let o=S(),i=o[b],s=e+Z,a=i.firstCreatePass?Wd(s,o,2,n,Vd,js(),t,r):i.data[s];if(Bd(a,o,e,n,wv),Mr(a)){let c=o[b];Pa(c,o,a),Ed(c,a,o)}return r!=null&&Xo(o,a),ef}function tf(){let e=z(),n=ce(),t=Ud(n);return e.firstCreatePass&&qd(e,t),al(t)&&cl(),il(),t.classesWithoutHost!=null&&IC(t)&&fd(e,t,S(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&_C(t)&&fd(e,t,S(),t.stylesWithoutHost,!1),tf}function Ua(e,n,t,r){return ef(e,n,t,r),tf(),Ua}function nf(e,n,t,r){let o=S(),i=o[b],s=e+Z,a=i.firstCreatePass?tw(s,i,2,n,t,r):i.data[s];return Bd(a,o,e,n,wv),r!=null&&Xo(o,a),nf}function rf(){let e=ce(),n=Ud(e);return al(n)&&cl(),il(),rf}function _v(e,n,t,r){return nf(e,n,t,r),rf(),_v}var wv=(e,n,t,r,o)=>(Lo(!0),hm(n[U],r,Qp()));function of(e,n,t){let r=S(),o=r[b],i=e+Z,s=o.firstCreatePass?Wd(i,r,8,"ng-container",Vd,js(),n,t):o.data[i];if(Bd(s,r,e,"ng-container",rb),Mr(s)){let a=r[b];Pa(a,r,s),Ed(a,s,r)}return t!=null&&Xo(r,s),of}function sf(){let e=z(),n=ce(),t=Ud(n);return e.firstCreatePass&&qd(e,t),sf}function bv(e,n,t){return of(e,n,t),sf(),bv}var rb=(e,n,t,r,o)=>(Lo(!0),vI(n[U],""));function ob(){return S()}function Sv(e,n,t){let r=S(),o=Bt();if(Be(r,o,n)){let i=z(),s=ko();Bm(s,r,e,n,r[U],t)}return Sv}var ri="en-US";var ib=ri;function Tv(e){typeof e=="string"&&(ib=e.toLowerCase().replace(/_/g,"-"))}function wt(e,n,t){let r=S(),o=z(),i=ce();return Av(o,r,r[U],i,e,n,t),wt}function Mv(e,n,t){let r=S(),o=z(),i=ce();return(i.type&3||t)&&sv(i,o,r,t,r[U],e,n,na(i,r,n)),Mv}function Av(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=na(r,n,i),sv(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??=na(r,n,i),wg(r,n,h,f,o,c)}if(u&&u.length)for(let d of u)c??=na(r,n,i),wg(r,n,d,o,o,c)}}function sb(e=1){return qp(e)}function ab(e,n){let t=null,r=AI(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?Im(e,i,!0):xI(r,i))return o}return t}function cb(e){let n=S()[Se][be];if(!n.projection){let t=e?e.length:1,r=n.projection=vp(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?ab(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function ub(e,n=0,t,r,o,i){let s=S(),a=z(),c=r?e+1:null;c!==null&&zo(s,a,c,r,o,i,null,t);let u=Hr(a,Z+e,16,null,t||null);u.projection===null&&(u.projection=n),dl();let d=!s[Vn]||sl();s[Se][be].projection[u.projection]===null&&c!==null?lb(s,a,c):d&&!Ma(u)&&s_(a,s,u)}function lb(e,n,t){let r=Z+t,o=n.data[r],i=e[r],s=ha(i,o.tView.ssrId),a=Jo(e,o,void 0,{dehydratedView:s});ei(i,a,0,Lr(o,s))}function af(e,n,t,r){Tw(e,n,t,r)}function db(e,n,t){Sw(e,n,t)}function cf(e){let n=S(),t=z(),r=pl();Hs(r+1);let o=Zd(t,r);if(e.dirty&&Tp(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Rw(n,r);e.reset(i,kC),e.notifyOnChanges()}return!0}return!1}function uf(){return bw(S(),pl())}function fb(e){let n=Lp();return Xu(n,Z+e)}function Ks(e,n){return e<<17|n<<2}function Kn(e){return e>>17&32767}function hb(e){return(e&2)==2}function pb(e,n){return e&131071|n<<17}function hd(e){return e|2}function Br(e){return(e&131068)>>2}function Al(e,n){return e&-131069|n<<2}function gb(e){return(e&1)===1}function pd(e){return e|1}function mb(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Kn(s),c=Br(s);e[r]=t;let u=!1,l;if(Array.isArray(t)){let d=t;l=d[1],(l===null||br(d,l)>0)&&(u=!0)}else l=t;if(o)if(c!==0){let h=Kn(e[a+1]);e[r+1]=Ks(h,a),h!==0&&(e[h+1]=Al(e[h+1],r)),e[a+1]=pb(e[a+1],r)}else e[r+1]=Ks(a,0),a!==0&&(e[a+1]=Al(e[a+1],r)),a=r;else e[r+1]=Ks(c,0),a===0?a=r:e[c+1]=Al(e[c+1],r),c=r;u&&(e[r+1]=hd(e[r+1])),Rg(e,l,r,!0),Rg(e,l,r,!1),vb(n,l,e,r,i),s=Ks(a,c),i?n.classBindings=s:n.styleBindings=s}function vb(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&br(i,n)>=0&&(t[r+1]=pd(t[r+1]))}function Rg(e,n,t,r){let o=e[t+1],i=n===null,s=r?Kn(o):Br(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];yb(c,n)&&(a=!0,e[s+1]=r?pd(u):hd(u)),s=r?Kn(u):Br(u)}a&&(e[t+1]=r?hd(o):pd(o))}function yb(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?br(e,n)>=0:!1}var it={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Db(e){return e.substring(it.key,it.keyEnd)}function Eb(e){return Cb(e),Rv(e,Nv(e,0,it.textEnd))}function Rv(e,n){let t=it.textEnd;return t===n?-1:(n=it.keyEnd=Ib(e,it.key=n,t),Nv(e,n,t))}function Cb(e){it.key=0,it.keyEnd=0,it.value=0,it.valueEnd=0,it.textEnd=e.length}function Nv(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function Ib(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function xv(e,n,t){return Ov(e,n,t,!1),xv}function oi(e,n){return Ov(e,n,null,!0),oi}function _b(e){bb(Nb,wb,e,!0)}function wb(e,n){for(let t=Eb(n);t>=0;t=Rv(n,t))Os(e,Db(n),!0)}function Ov(e,n,t,r){let o=S(),i=z(),s=Bs(2);if(i.firstUpdatePass&&Pv(i,e,s,r),n!==Ce&&Be(o,s,n)){let a=i.data[Dt()];kv(i,a,o,o[U],e,o[s+1]=Ob(n,t),r,s)}}function bb(e,n,t,r){let o=z(),i=Bs(2);o.firstUpdatePass&&Pv(o,null,i,r);let s=S();if(t!==Ce&&Be(s,i,t)){let a=o.data[Dt()];if(Lv(a,r)&&!Fv(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=As(c,t||"")),fd(o,a,s,t,r)}else xb(o,a,s,s[U],s[i+1],s[i+1]=Rb(e,n,t),r,i)}}function Fv(e,n){return n>=e.expandoStartIndex}function Pv(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Dt()],s=Fv(e,t);Lv(i,r)&&n===null&&!s&&(n=!1),n=Sb(o,i,n,r),mb(o,i,n,t,s,r)}}function Sb(e,n,t,r){let o=$p(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Rl(null,e,n,t,r),t=Wo(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Rl(o,e,n,t,r),i===null){let c=Tb(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Rl(null,e,n,c[1],r),c=Wo(c,n.attrs,r),Mb(e,n,r,c))}else i=Ab(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function Tb(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Br(r)!==0)return e[Kn(r)]}function Mb(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Kn(o)]=r}function Ab(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Wo(r,s,t)}return Wo(r,n.attrs,t)}function Rl(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=Wo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Wo(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]),Os(e,s,t?!0:n[++i]))}return e===void 0?null:e}function Rb(e,n,t){if(t==null||t==="")return _e;let r=[],o=Qe(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function Nb(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&Os(e,r,t)}function xb(e,n,t,r,o,i,s,a){o===Ce&&(o=_e);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,g=null,_;l===d?(c+=2,u+=2,h!==f&&(g=d,_=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,_=f),g!==null&&kv(e,n,t,r,g,_,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function kv(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,u=c[a+1],l=gb(u)?Ng(c,n,t,o,Br(u),s):void 0;if(!Ia(l)){Ia(i)||hb(u)&&(i=Ng(c,null,t,o,a,s));let d=Ku(Dt(),t);c_(r,s,d,o,i)}}function Ng(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===Ce&&(h=d?_e:void 0);let f=d?Fs(h,r):l===r?h:void 0;if(u&&!Ia(f)&&(f=Fs(c,r)),Ia(f)&&(a=f,s))return a;let g=e[o+1];o=s?Kn(g):Br(g)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Fs(c,r))}return a}function Ia(e){return e!==void 0}function Ob(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Ot(Qe(e)))),e}function Lv(e,n){return(e.flags&(n?8:16))!==0}function Fb(e,n=""){let t=S(),r=z(),o=e+Z,i=r.firstCreatePass?Hr(r,o,1,n,null):r.data[o],s=Pb(r,t,i,n,e);t[o]=s,zs()&&Ld(r,t,s,i),Nr(i,!1)}var Pb=(e,n,t,r,o)=>(Lo(!0),gI(n[U],r));function jv(e,n,t,r=""){return Be(e,Bt(),t)?n+on(t)+r:Ce}function kb(e,n,t,r,o,i=""){let s=jp(),a=rw(e,s,t,o);return Bs(2),a?n+on(t)+r+on(o)+i:Ce}function Vv(e){return lf("",e),Vv}function lf(e,n,t){let r=S(),o=jv(r,e,n,t);return o!==Ce&&Uv(r,Dt(),o),lf}function Bv(e,n,t,r,o){let i=S(),s=kb(i,e,n,t,r,o);return s!==Ce&&Uv(i,Dt(),s),Bv}function Uv(e,n,t){let r=Ku(n,e);mI(e[U],r,t)}function Hv(e,n,t){Dl(n)&&(n=n());let r=S(),o=Bt();if(Be(r,o,n)){let i=z(),s=ko();Vm(s,r,e,n,r[U],t)}return Hv}function Lb(e,n){let t=Dl(e);return t&&e.set(n),t}function $v(e,n){let t=S(),r=z(),o=ce();return Av(r,t,t[U],o,e,n),$v}function jb(e){return Be(S(),Bt(),e)?on(e):Ce}function Vb(e,n,t=""){return jv(S(),e,n,t)}function Bb(e,n,t){let r=z();if(r.firstCreatePass){let o=yt(e);gd(t,r.data,r.blueprint,o,!0),gd(n,r.data,r.blueprint,o,!1)}}function gd(e,n,t,r,o){if(e=me(e),Array.isArray(e))for(let i=0;i<e.length;i++)gd(e[i],n,t,r,o);else{let i=z(),s=S(),a=ce(),c=kn(e)?e:me(e.provide),u=zu(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(kn(e)||!e.multi){let f=new qn(u,o,R,null),g=xl(c,n,o?l:l+h,d);g===-1?(Fl(aa(a,s),i,c),Nl(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[g]=f,s[g]=f)}else{let f=xl(c,n,l+h,d),g=xl(c,n,l,l+h),_=f>=0&&t[f],I=g>=0&&t[g];if(o&&!I||!o&&!_){Fl(aa(a,s),i,c);let E=$b(o?Hb:Ub,t.length,o,r,u,e);!o&&I&&(t[g].providerFactory=E),Nl(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=Gv(t[o?g:f],u,!o&&r);Nl(i,e,f>-1?f:g,E)}!o&&r&&I&&t[g].componentProviders++}}}function Nl(e,n,t,r){let o=kn(n),i=_p(n);if(o||i){let c=(i?me(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 Gv(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function xl(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function Ub(e,n,t,r,o){return md(this.multi,[])}function Hb(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Uo(r,r[b],this.providerFactory.index,o);s=c.slice(0,a),md(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],md(i,s);return s}function md(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function $b(e,n,t,r,o,i){let s=new qn(e,t,R,null);return s.multi=[],s.index=n,s.componentProviders=0,Gv(s,o,r&&!t),s}function ut(e,n=[]){return t=>{t.providersResolver=(r,o)=>Bb(r,o?o(e):e,n)}}function Gb(e,n,t){let r=Vs()+e,o=S();return o[r]===Ce?iv(o,r,t?n.call(t):n()):nw(o,r)}function zb(e,n,t,r){return zv(S(),Vs(),e,n,t,r)}function Wb(e,n){let t=e[n];return t===Ce?void 0:t}function zv(e,n,t,r,o,i){let s=n+t;return Be(e,s,o)?iv(e,s+1,i?r.call(i,o):r(o)):Wb(e,s+1)}function qb(e,n){let t=z(),r,o=e+Z;t.firstCreatePass?(r=Zb(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=tn(r.type,!0)),s,a=Ie(R);try{let c=sa(!1),u=i();return sa(c),Ju(t,S(),o,u),u}finally{Ie(a)}}function Zb(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function Yb(e,n,t){let r=e+Z,o=S(),i=Xu(o,r);return Qb(o,r)?zv(o,Vs(),n,i.transform,t,i):i.transform(t)}function Qb(e,n){return e[b].data[n].pure}function Kb(e,n){return ka(e,n)}var _a=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},df=(()=>{class e{compileModuleSync(t){return new Da(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Uu(t),i=Em(o.declarations).reduce((s,a)=>{let c=Lt(a);return c&&s.push(new Qn(c)),s},[]);return new _a(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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xb=(()=>{class e{zone=p(K);changeDetectionScheduler=p(Ft);applicationRef=p(Wt);applicationErrorHandler=p(Ve);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wv=new D("",{factory:()=>!1});function ff({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new K(O(m({},hf()),{scheduleInRootZone:t})),[{provide:K,useFactory:e},{provide:kt,multi:!0,useFactory:()=>{let r=p(Xb,{optional:!0});return()=>r.initialize()}},{provide:kt,multi:!0,useFactory:()=>{let r=p(eS);return()=>{r.initialize()}}},n===!0?{provide:El,useValue:!0}:[],{provide:Cl,useValue:t??Sm},{provide:Ve,useFactory:()=>{let r=p(K),o=p(oe),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(et),i.handleError(s))})}}}]}function Jb(e){let n=e?.ignoreChangesOutsideZone,t=e?.scheduleInRootZone,r=ff({ngZoneFactory:()=>{let o=hf(e);return o.scheduleInRootZone=t,o.shouldCoalesceEventChangeDetection&&at("NgZone_CoalesceEvent"),new K(o)},ignoreChangesOutsideZone:n,scheduleInRootZone:t});return jt([{provide:Wv,useValue:!0},{provide:xr,useValue:!1},r])}function hf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var eS=(()=>{class e{subscription=new X;initialized=!1;zone=p(K);pendingTasks=p(Ct);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{K.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{K.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qv=(()=>{class e{applicationErrorHandler=p(Ve);appRef=p(Wt);taskService=p(Ct);ngZone=p(K);zonelessEnabled=p(xr);tracing=p(Xn,{optional:!0});disableScheduling=p(El,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new X;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(la):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(Cl,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof da||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let r=!1;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,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?pg:Tm;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(la+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.taskService.remove(t),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,pg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tS(){return typeof $localize<"u"&&$localize.locale||ri}var pf=new D("",{providedIn:"root",factory:()=>p(pf,{optional:!0,skipSelf:!0})||tS()});function pe(e){return ap(e)}function qt(e,n){return Ki(e,n?.equal)}var Zv=class{[De];constructor(n){this[De]=n}destroy(){this[De].destroy()}};var Kv=Symbol("InputSignalNode#UNSET"),lS=O(m({},Xi),{transformFn:void 0,applyValueToInputSignal(e,n){pr(e,n)}});function Xv(e,n){let t=Object.create(lS);t.value=e,t.transformFn=n?.transform;function r(){if(dr(t),t.value===Kv){let o=null;throw new y(-950,o)}return t.value}return r[De]=t,r}var $a=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Zo(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},dS=new D("");dS.__NG_ELEMENT_ID__=e=>{let n=ce();if(n===null)throw new y(204,!1);if(n.type&2)return n.value;if(e&8)return null;throw new y(204,!1)};function Yv(e,n){return Xv(e,n)}function fS(e){return Xv(Kv,e)}var Jv=(Yv.required=fS,Yv);var gf=new D(""),hS=new D("");function ii(e){return!e.moduleRef}function pS(e){let n=ii(e)?e.r3Injector:e.moduleRef.injector,t=n.get(K);return t.run(()=>
4{ii(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Ve),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),ii(e)){let i=()=>n.destroy(),s=e.platformInjector.get(gf);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(gf);s.add(i),e.moduleRef.onDestroy(()=>{Bo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return mS(r,t,()=>{let i=n.get(Ct),s=i.add(),a=n.get(Xd);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(pf,ri);if(Tv(c||ri),!n.get(hS,!0))return ii(e)?n.get(Wt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ii(e)){let l=n.get(Wt);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return gS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var gS;function mS(e,n,t){try{let r=t();return Jn(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var Ha=null;function vS(e=[],n){return Ee.create({name:n,providers:[{provide:Ao,useValue:"platform"},{provide:gf,useValue:new Set([()=>Ha=null])},...e]})}function yS(e=[]){if(Ha)return Ha;let n=vS(e);return Ha=n,Ev(),DS(n),n}function DS(e){let n=e.get(ba,null);he(e,()=>{n?.forEach(t=>t())})}var pn=(()=>{class e{static __NG_ELEMENT_ID__=ES}return e})();function ES(e){return CS(ce(),S(),(e&16)===16)}function CS(e,n,t){if(un(e)&&!t){let r=qe(e.index,n);return new dn(r,r)}else if(e.type&175){let r=n[Se];return new dn(r,n)}return null}function ey(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;B(8);try{let i=o?.injector??yS(r),s=[ff({}),{provide:Ft,useExisting:qv},Xp,...t||[]],a=new Go({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return pS({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{B(9)}}function gn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function ty(e){let n=Lt(e);if(!n)return null;let t=new Qn(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var oy=null;function Ke(){return oy}function vf(e){oy??=e}var si=class{},ai=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(iy),providedIn:"platform"})}return e})(),yf=new D(""),iy=(()=>{class e extends ai{_location;_history;_doc=p(Q);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ke().getBaseHref(this._doc)}onPopState(t){let r=Ke().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Ke().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=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ga(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function ny(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function lt(e){return e&&e[0]!=="?"?`?${e}`:e}var dt=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(Wa),providedIn:"root"})}return e})(),za=new D(""),Wa=(()=>{class e extends dt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.on
vendor: 11,938 bytes, line 4
4HashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ga(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+lt(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+lt(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+lt(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)(C(ai),C(za,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mn=(()=>{class e{_subject=new ne;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=wS(ny(ry(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+lt(r))}normalize(t){return e.stripTrailingSlash(_S(this._basePath,ry(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+lt(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+lt(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=lt;static joinWithSlash=Ga;static stripTrailingSlash=ny;static \u0275fac=function(r){return new(r||e)(C(dt))};static \u0275prov=v({token:e,factory:()=>IS(),providedIn:"root"})}return e})();function IS(){return new mn(C(dt))}function _S(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function ry(e){return e.replace(/\/index.html$/,"")}function wS(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Ef=(()=>{class e extends dt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=Ga(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+lt(i))||this._platformLocation.pathname;this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+lt(i))||this._platformLocation.pathname;this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(C(ai),C(za,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var Df=/\s+/,sy=[],bS=(()=>{class e{_ngEl;_renderer;initialClasses=sy;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Df):sy}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Df):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(Df).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(R(Te),R(ct))};static \u0275dir=W({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var SS=(()=>{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)(R(fn))};static \u0275dir=W({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ye]})}return e})();var ci=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Pe({type:e});static \u0275inj=we({})}return e})();function ui(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 er=class{};var ay="browser";var cy=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new Cf(p(Q),window)})}return e})(),Cf=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(O(m({},t),{left:n[0],top:n[1]}))}scrollToAnchor(n,t){let r=MS(this.document,n);r&&(this.scrollToElement(r,t),r.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(Pt(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(O(m({},t),{left:o-s[0],top:i-s[1]}))}};function MS(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 li=class{_doc;constructor(n){this._doc=n}manager},qa=(()=>{class e extends li{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)(C(Q))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Ya=new D(""),Sf=(()=>{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 qa));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof qa);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)(C(Ya),C(K))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),If="ng-app-id";function uy(e){for(let n of e)n.remove()}function ly(e,n){let t=n.createElement("style");return t.textContent=e,t}function RS(e,n,t,r){let o=e.head?.querySelectorAll(`style[${If}="${n}"],link[${If}="${n}"]`);if(o)for(let i of o)i.removeAttribute(If),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 wf(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Tf=(()=>{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,RS(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,ly);r?.forEach(o=>this.addUsage(o,this.external,wf))}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&&(uy(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])uy(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,ly(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,wf(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)(C(Q),C(wa),C(Sa,8),C(Yo))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),_f={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"},Mf=/%COMP%/g;var fy="%COMP%",NS=`_nghost-${fy}`,xS=`_ngcontent-${fy}`,OS=!0,FS=new D("",{providedIn:"root",factory:()=>OS});function PS(e){return xS.replace(Mf,e)}function kS(e){return NS.replace(Mf,e)}function hy(e,n){return n.map(t=>t.replace(Mf,e))}var Af=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;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.platformIsServer=!1,this.defaultRenderer=new di(t,s,a,this.platformIsServer,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);
vendor: 6,268 bytes, line 4
4return o instanceof Za?o.applyToHost(t):o instanceof fi&&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.platformIsServer,h=this.tracingService;switch(r.encapsulation){case Ut.Emulated:i=new Za(c,u,r,this.appId,l,s,a,d,h);break;case Ut.ShadowDom:return new bf(c,u,t,r,s,a,this.nonce,d,h);default:i=new fi(c,u,r,l,s,a,d,h);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)(C(Sf),C(Tf),C(wa),C(FS),C(Q),C(K),C(Sa),C(Xn,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),di=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(_f[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(dy(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(dy(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=_f[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=_f[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&($t.DashCase|$t.Important)?n.style.setProperty(t,r,o&$t.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&$t.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=Ke().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 dy(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var bf=class extends di{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,r,o,i,s,a,c,u){super(n,i,s,c,u),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=hy(o.id,l);for(let h of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=wf(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}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.removeHost(this.shadowRoot)}},fi=class extends di{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c,u){super(n,i,s,a,c),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?hy(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Zn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Za=class extends fi{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,u,l),this.contentAttr=PS(l),this.hostAttr=kS(l)}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 Qa=class e extends si{supportsDOMEvents=!0;static makeCurrent(){vf(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=LS();return t==null?null:jS(t)}resetBaseElement(){hi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ui(document.cookie,n)}},hi=null;function LS(){return hi=hi||document.head.querySelector("base"),hi?hi.getAttribute("href"):null}function jS(e){return new URL(e,document.baseURI).pathname}var VS=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),py=["alt","control","meta","shift"],BS={"\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"},US={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},gy=(()=>{class e extends li{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(()=>Ke().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."),py.forEach(u=>
4{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=BS[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"),py.forEach(s=>{if(s!==o){let a=US[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)(C(Q))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();function HS(e,n,t){let r=m({rootComponent:e,platformRef:t?.platformRef},$S(n));return ey(r)}function $S(e){return{appProviders:[...ZS,...e?.providers??[]],platformProviders:qS}}function GS(){Qa.makeCurrent()}function zS(){return new et}function WS(){return Dd(document),document}var qS=[{provide:Yo,useValue:ay},{provide:ba,useValue:GS,multi:!0},{provide:Q,useFactory:WS}];var ZS=[{provide:Ao,useValue:"root"},{provide:et,useFactory:zS},{provide:Ya,useClass:qa,multi:!0,deps:[Q]},{provide:Ya,useClass:gy,multi:!0,deps:[Q]},Af,Tf,Sf,{provide:Yn,useExisting:Af},{provide:er,useClass:VS},[]];var Wr=class{},pi=class{},vn=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.forEac
vendor: 12,402 bytes, line 5
5h((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 Xa=class{encodeKey(n){return my(n)}encodeValue(n){return my(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function YS(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 QS=/%(\d[a-f0-9])/gi,KS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function my(e){return encodeURIComponent(e).replace(QS,(n,t)=>KS[t]??n)}function Ka(e){return`${e}`}var Zt=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Xa,n.fromString){if(n.fromObject)throw new y(2805,!1);this.map=YS(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(Ka):[Ka(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(Ka(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(Ka(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)}};var Ja=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()}};function XS(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function vy(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function yy(e){return typeof Blob<"u"&&e instanceof Blob}function Dy(e){return typeof FormData<"u"&&e instanceof FormData}function JS(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Ey="Content-Type",Cy="Accept",Iy="X-Request-URL",_y="text/plain",wy="application/json",eT=`${wy}, ${_y}, */*`,Gr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(XS(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),this.transferCache=i.transferCache}if(this.headers??=new vn,this.context??=new Ja,!this.params)this.params=new Zt,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"||vy(this.body)||yy(this.body)||Dy(this.body)||JS(this.body)?this.body:this.body instanceof Zt?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||Dy(this.body)?null:yy(this.body)?this.body.type||null:vy(this.body)?null:typeof this.body=="string"?_y:this.body instanceof Zt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?wy: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.transferCache??this.transferCache,g=n.timeout??this.timeout,_=n.body!==void 0?n.body:this.body,I=n.withCredentials??this.withCredentials,E=n.reportProgress??this.reportProgress,se=n.headers||this.headers,Xe=n.params||this.params,ve=n.context??this.context;return n.setHeaders!==void 0&&(se=Object.keys(n.setHeaders).reduce((Tn,Mn)=>Tn.set(Mn,n.setHeaders[Mn]),se)),n.setParams&&(Xe=Object.keys(n.setParams).reduce((Tn,Mn)=>Tn.set(Mn,n.setParams[Mn]),Xe)),new e(t,r,_,{params:Xe,headers:se,context:ve,reportProgress:E,responseType:o,withCredentials:I,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:u,credentials:l,referrer:d,integrity:h})}},tr=(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})(tr||{}),qr=class{headers;status;statusText;url;ok;type;redirected;constructor(n,t=200,r="OK"){this.headers=n.headers||new vn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}},ec=class e extends qr{constructor(n={}){super(n)}type=tr.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})}},gi=class e extends qr{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=tr.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})}},zr=class extends qr{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}},tT=200,nT=204;function Rf(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}}var Zr=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Gr)i=t;else{let c;o.headers instanceof vn?c=o.headers:c=new vn(o.headers);let u;o.params&&(o.params instanceof Zt?u=o.params:u=new Zt({fromObject:o.params})),i=new Gr(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,integrity:o.integrity,timeout:o.timeout})}let s=w(i).pipe(pt(c=>this.handler.handle(c)));if(t instanceof Gr||o.observe==="events")return s;let a=s.pipe(ge(c=>c instanceof gi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case"blob":return a.pipe(A(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case"text":return a.pipe(A(c=>{if(c.body!==null&&typeof c.body!="string")throw new y(2808,!1);return c.body}));case"json":default:return a.pipe(A(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 Zt().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,Rf(o,r))}post(t,r,o={}){return this.request("POST",t,Rf(o,r))}put(t,r,o={}){return this.request("PUT",t,Rf(o,r))}static \u0275fac=function(r){return new(r||e)(C(Wr))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var rT=new D("");function oT(e,n){return n(e)}function iT(e,n,t){return(r,o)=>he(t,()=>n(r,i=>e(i,o)))}var xf=new D(""),by=new D(""),Sy=new D("",{providedIn:"root",factory:()=>!0});var tc=(()=>{class e extends Wr{backend;injector;chain=null;pendingTasks=p(qs);contributeToStability=p(Sy);constructor(t,r){super(),this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(xf),...this.injector.get(by,[])])
vendor: 40,506 bytes, line 5
5);this.chain=r.reduceRight((o,i)=>iT(o,i,this.injector),oT)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(en(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(C(pi),C(oe))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var sT=/^\)\]\}',?\n/,aT=RegExp(`^${Iy}:`,"m");function cT(e){return"responseURL"in e&&e.responseURL?e.responseURL:aT.test(e.getAllResponseHeaders())?e.getResponseHeader(Iy):null}var Nf=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new y(-2800,!1);let r=this.xhrFactory;return w(null).pipe(fe(()=>new P(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((I,E)=>s.setRequestHeader(I,E.join(","))),t.headers.has(Cy)||s.setRequestHeader(Cy,eT),!t.headers.has(Ey)){let I=t.detectContentTypeHeader();I!==null&&s.setRequestHeader(Ey,I)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let I=t.responseType.toLowerCase();s.responseType=I!=="json"?I:"text"}let a=t.serializeBody(),c=null,u=()=>{if(c!==null)return c;let I=s.statusText||"OK",E=new vn(s.getAllResponseHeaders()),se=cT(s)||t.url;return c=new ec({headers:E,status:s.status,statusText:I,url:se}),c},l=()=>{let{headers:I,status:E,statusText:se,url:Xe}=u(),ve=null;E!==nT&&(ve=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=ve?tT:0);let Tn=E>=200&&E<300;if(t.responseType==="json"&&typeof ve=="string"){let Mn=ve;ve=ve.replace(sT,"");try{ve=ve!==""?JSON.parse(ve):null}catch(lE){ve=Mn,Tn&&(Tn=!1,ve={error:lE,text:ve})}}Tn?(i.next(new gi({body:ve,headers:I,status:E,statusText:se,url:Xe||void 0})),i.complete()):i.error(new zr({error:ve,headers:I,status:E,statusText:se,url:Xe||void 0}))},d=I=>{let{url:E}=u(),se=new zr({error:I,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});i.error(se)},h=d;t.timeout&&(h=I=>{let{url:E}=u(),se=new zr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:E||void 0});i.error(se)});let f=!1,g=I=>{f||(i.next(u()),f=!0);let E={type:tr.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(E.total=I.total),t.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),i.next(E)},_=I=>{let E={type:tr.UploadProgress,loaded:I.loaded};I.lengthComputable&&(E.total=I.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",g),a!==null&&s.upload&&s.upload.addEventListener("progress",_)),s.send(a),i.next({type:tr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),t.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(C(er))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Ty=new D(""),uT="XSRF-TOKEN",lT=new D("",{providedIn:"root",factory:()=>uT}),dT="X-XSRF-TOKEN",fT=new D("",{providedIn:"root",factory:()=>dT}),mi=class{},hT=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,r){this.doc=t,this.cookieName=r}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=ui(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)(C(Q),C(lT))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),pT=/^(?:https?:)?\/\//i;function gT(e,n){if(!p(Ty)||e.method==="GET"||e.method==="HEAD"||pT.test(e.url))return n(e);let t=p(mi).getToken(),r=p(fT);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var Of=(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})(Of||{});function mT(e,n){return{\u0275kind:e,\u0275providers:n}}function vT(...e){let n=[Zr,Nf,tc,{provide:Wr,useExisting:tc},{provide:pi,useFactory:()=>p(rT,{optional:!0})??p(Nf)},{provide:xf,useValue:gT,multi:!0},{provide:Ty,useValue:!0},{provide:mi,useClass:hT}];for(let t of e)n.push(...t.\u0275providers);return jt(n)}function yT(e){return mT(Of.Interceptors,e.map(n=>({provide:xf,useValue:n,multi:!0})))}var Ay=(()=>{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)(C(Q))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var DT=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(ET),o},providedIn:"root"})}return e})(),ET=(()=>{class e extends DT{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case st.NONE:return r;case st.HTML:return Gt(r,"HTML")?Qe(r):Sd(this._doc,String(r)).toString();case st.STYLE:return Gt(r,"Style")?Qe(r):r;case st.SCRIPT:if(Gt(r,"Script"))return Qe(r);throw new y(5200,!1);case st.URL:return Gt(r,"URL")?Qe(r):Qo(String(r));case st.RESOURCE_URL:if(Gt(r,"ResourceURL"))return Qe(r);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(t){return Cd(t)}bypassSecurityTrustStyle(t){return Id(t)}bypassSecurityTrustScript(t){return _d(t)}bypassSecurityTrustUrl(t){return wd(t)}bypassSecurityTrustResourceUrl(t){return bd(t)}static \u0275fac=function(r){return new(r||e)(C(Q))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var N="primary",Ai=Symbol("RouteTitle"),jf=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 or(e){return new jf(e)}function Ly(e,n,t){let r=t.path.split("/");if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function IT(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!bt(e[t],n[t]))return!1;return!0}function bt(e,n){let t=e?Vf(e):void 0,r=n?Vf(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],!jy(e[o],n[o]))return!1;return!0}function Vf(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function jy(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 Vy(e){return e.length>0?e[e.length-1]:null}function Yt(e){return fu(e)?e:Jn(e)?G(Promise.resolve(e)):w(e)}var _T={exact:Uy,subset:Hy},By={exact:wT,subset:bT,ignored:()=>!0};function Ry(e,n,t){return _T[t.paths](e.root,n.root,t.matrixParams)&&By[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function wT(e,n){return bt(e,n)}function Uy(e,n,t){if(!nr(e.segments,n.segments)||!oc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!Uy(e.children[r],n.children[r],t))return!1;return!0}function bT(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>jy(e[t],n[t]))}function Hy(e,n,t){return $y(e,n,n.segments,t)}function $y(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!nr(o,t)||n.hasChildren()||!oc(o,t,r))}else if(e.segments.length===t.length){if(!nr(e.segments,t)||!oc(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!Hy(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!nr(e.segments,o)||!oc(e.segments,o,r)||!e.children[N]?!1:$y(e.children[N],n,i,r)}}function oc(e,n,t){return n.every((r,o)=>By[t](e[o].parameters,r.parameters))}var Tt=class{root;queryParams;fragment;_queryParamMap;constructor(n=new j([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=or(this.queryParams),this._queryParamMap}toString(){return MT.serialize(this)}},j=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 ic(this)}},yn=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=or(this.parameters),this._parameterMap}toString(){return zy(this)}};function ST(e,n){return nr(e,n)&&e.every((t,r)=>bt(t.parameters,n[r].parameters))}function nr(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function TT(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===N&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==N&&(t=t.concat(n(o,r)))}),t}var ir=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new Dn,providedIn:"root"})}return e})(),Dn=class{parse(n){let t=new Uf(n);return new Tt(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${vi(n.root,!0)}`,r=NT(n.queryParams),o=typeof n.fragment=="string"?`#${AT(n.fragment)}`:"";return`${t}${r}${o}`}},MT=new Dn;function ic(e){return e.segments.map(n=>zy(n)).join("/")}function vi(e,n){if(!e.hasChildren())return ic(e);if(n){let t=e.children[N]?vi(e.children[N],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==N&&r.push(`${o}:${vi(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=TT(e,(r,o)=>o===N?[vi(e.children[N],!1)]:[`${o}:${vi(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[N]!=null?`${ic(e)}/${t[0]}`:`${ic(e)}/(${t.join("//")})`}}function Gy(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function nc(e){return Gy(e).replace(/%3B/gi,";")}function AT(e){return encodeURI(e)}function Bf(e){return Gy(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function sc(e){return decodeURIComponent(e)}function Ny(e){return sc(e.replace(/\+/g,"%20"))}function zy(e){return`${Bf(e.path)}${RT(e.parameters)}`}function RT(e){return Object.entries(e).map(([n,t])=>`;${Bf(n)}=${Bf(t)}`).join("")}function NT(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${nc(t)}=${nc(o)}`).join("&"):`${nc(t)}=${nc(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var xT=/^[^\/()?;#]+/;function Ff(e){let n=e.match(xT);return n?n[0]:""}var OT=/^[^\/()?;=#]+/;function FT(e){let n=e.match(OT);return n?n[0]:""}var PT=/^[^=?&#]+/;function kT(e){let n=e.match(PT);return n?n[0]:""}var LT=/^[^&#]+/;function jT(e){let n=e.match(LT);return n?n[0]:""}var Uf=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],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(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[N]=new j(n,t)),r}parseSegment(){let n=Ff(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(n),new yn(sc(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=FT(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=Ff(this.remaining);o&&(r=o,this.capture(r))}n[sc(t)]=sc(r)}parseQueryParam(n){let t=kT(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=jT(this.remaining);s&&(r=s,this.capture(r))}let o=Ny(t),i=Ny(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){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Ff(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=N);let s=this.parseChildren();t[i??N]=Object.keys(s).length===1&&s[N]?s[N]:new j([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new y(4011,!1)}};function Wy(e){return e.segments.length>0?new j([],{[N]:e}):e}function qy(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=qy(o);if(r===N&&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 j(e.segments,n);return VT(t)}function VT(e){if(e.numberOfChildren===1&&e.children[N]){let n=e.children[N];return new j(e.segments.concat(n.segments),n.children)}return e}function En(e){return e instanceof Tt}function Zy(e,n,t=null,r=null){let o=Yy(e);return Qy(o,n,t,r)}function Yy(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 j(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=Wy(r);return n??o}function Qy(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(n.length===0)return Pf(o,o,o,t,r);let i=BT(n);if(i.toRoot())return Pf(o,o,new j([],{}),t,r);let s=UT(i,o,e),a=s.processChildren?Di(s.segmentGroup,s.index,i.commands):Xy(s.segmentGroup,s.index,i.commands);return Pf(o,s.segmentGroup,a,t,r)}function ac(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ci(e){return typeof e=="object"&&e!=null&&e.outlets}function Pf(e,n,t,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===n?s=t:s=Ky(e,n,t);let a=Wy(qy(s));return new Tt(a,i,o)}function Ky(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=Ky(i,n,t)}),new j(e.segments,r)}var cc=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&ac(r[0]))throw new y(4003,!1);let o=r.find(Ci);if(o&&o!==Vy(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function BT(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new cc(!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 cc(t,n,r)}var Kr=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function UT(e,n,t){if(e.isAbsolute)return new Kr(n,!0,0);if(!t)return new Kr(n,!1,NaN);if(t.parent===null)return new Kr(t,!0,0);let r=ac(e.commands[0])?0:1,o=t.segments.length-1+r;return HT(t,o,e.numberOfDoubleDots)}function HT(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 Kr(r,!1,o-i)}function $T(e){return Ci(e[0])?e[0].outlets:{[N]:e}}function Xy(e,n,t){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return Di(e,n,t);let r=GT(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new j(e.segments.slice(0,r.pathIndex),{});return i.children[N]=new j(e.segments.slice(r.pathIndex),e.children),Di(i,0,o)}else return r.match&&o.length===0?new j(e.segments,{}):r.match&&!e.hasChildren()?Hf(e,n,t):r.match?Di(e,0,o):Hf(e,n,t)}function Di(e,n,t){if(t.length===0)return new j(e.segments,{});{let r=$T(t),o={};if(Object.keys(r).some(i=>i!==N)&&e.children[N]&&e.numberOfChildren===1&&e.children[N].segments.length===0){let i=Di(e.children[N],n,t);return new j(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Xy(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new j(e.segments,o)}}function GT(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(Ci(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(!Oy(c,u,s))return i;r+=2}else{if(!Oy(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Hf(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(Ci(i)){let c=zT(i.outlets);return new j(r,c)}if(o===0&&ac(t[0])){let c=e.segments[n];r.push(new yn(c.path,xy(t[0]))),o++;continue}let s=Ci(i)?i.outlets[N]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&ac(a)?(r.push(new yn(s,xy(a))),o+=2):(r.push(new yn(s,{})),o++)}return new j(r,{})}function zT(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=Hf(new j([],{}),0,r))}),n}function xy(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function Oy(e,n,t){return e==t.path&&bt(n,t.parameters)}var Xr="imperative",le=(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})(le||{}),He=class{id;url;constructor(n,t){this.id=n,this.url=t}},Cn=class extends He{type=le.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}')`}},$e=class extends He{urlAfterRedirects;type=le.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Re=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(Re||{}),eo=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(eo||{}),St=class extends He{reason;code;type=le.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Mt=class extends He{reason;code;type=le.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},to=class extends He{error;target;type=le.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})`}},Ii=class extends He{urlAfterRedirects;state;type=le.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})`}},uc=class extends He{urlAfterRedirects;state;type=le.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})`}},lc=class extends He{urlAfterRedirects;state;shouldActivate;type=le.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})`}},dc=class extends He{urlAfterRedirects;state;type=le.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})`}},fc=class extends He{urlAfterRedirects;state;type=le.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})`}},hc=class{route;type=le.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},pc=class{route;type=le.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},gc=class{snapshot;type=le.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},mc=class{snapshot;type=le.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},vc=class{snapshot;type=le.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},yc=class{snapshot;type=le.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},no=class{routerEvent;position;anchor;type=le.Scroll;constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},_i=class{},ro=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function WT(e){return!(e instanceof _i)&&!(e instanceof ro)}function qT(e,n){return e.providers&&!e._injector&&(e._injector=$r(e.providers,n,`Route: ${e.path}`)),e._injector??n}function ft(e){return e.outlet||N}function ZT(e,n){let t=e.filter(r=>ft(r)===n);return t.push(...e.filter(r=>ft(r)!==n)),t}function so(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var Dc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return so(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new sr(this.rootInjector)}},sr=(()=>{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 Dc(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(C(oe))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ec=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=$f(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=$f(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Gf(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Gf(n,this._root).map(t=>t.value)}};function $f(e,n){if(e===n.value)return n;for(let t of n.children){let r=$f(e,t);if(r)return r}return null}function Gf(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Gf(e,t);if(r.length)return r.unshift(n),r}return[]}var Ue=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function Qr(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var wi=class extends Ec{snapshot;constructor(n,t){super(n),this.snapshot=t,Xf(this,n)}toString(){return this.snapshot.toString()}};function Jy(e){let n=YT(e),t=new re([new yn("",{})]),r=new re({}),o=new re({}),i=new re({}),s=new re(""),a=new At(t,r,i,s,o,N,e,n.root);return a.snapshot=n.root,new wi(new Ue(a,[]),n)}function YT(e){let n={},t={},r={},i=new rr([],n,r,"",t,N,e,null,{});return new bi("",new Ue(i,[]))}var At=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(A(u=>u[Ai]))??w(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(A(n=>or(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(A(n=>or(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Cc(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:m(m({},n.params),e.params),data:m(m({},n.data),e.data),resolve:m(m(m(m({},e.data),n.data),o?.data),e._resolvedData)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&tD(o)&&(r.resolve[Ai]=o.title),r}var rr=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Ai]}constructor(n,t,r,o,i,s,a,c,u){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}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??=or(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=or(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}')`}},bi=class extends Ec{url;constructor(n,t){super(t),this.url=n,Xf(this,t)}toString(){return eD(this._root)}};function Xf(e,n){n.value._routerState=e,n.children.forEach(t=>Xf(e,t))}function eD(e){let n=e.children.length>0?` { ${e.children.map(eD).join(", ")} } `:"";return`${e.value}${n}`}function kf(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,bt(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),bt(n.params,t.params)||e.paramsSubject.next(t.params),IT(n.url,t.url)||e.urlSubject.next(t.url),bt(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function zf(e,n){let t=bt(e.params,n.params)&&ST(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||zf(e.parent,n.parent))}function tD(e){return typeof e.title=="string"||e.title===null}var nD=new D(""),Jf=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=N;activateEvents=new te;deactivateEvents=new te;attachEvents=new te;detachEvents=new te;routerOutletData=Jv();parentContexts=p(sr);location=p(fn);changeDetector=p(pn);inputBinder=p(Ri,{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 Wf(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:[Ye]})}return e})(),Wf=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===At?this.route:n===sr?this.childContexts:n===nD?this.outletData:this.parent.get(n,t)}},Ri=new D(""),eh=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=Co([r.queryParams,r.params,r.data]).pipe(fe(([i,s,a],c)=>(a=m(m(m({},i),s),a),c===0?w(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=ty(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),th=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Yd({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Ua(0,"router-outlet")},dependencies:[Jf],encapsulation:2})}return e})();function nh(e){let n=e.children&&e.children.map(nh),t=n?O(m({},e),{children:n}):m({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==N&&(t.component=th),t}function QT(e,n,t){let r=Si(e,n._root,t?t._root:void 0);return new wi(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=KT(e,n,t);return new Ue(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=XT(n.value),o=n.children.map(i=>Si(e,i));return new Ue(r,o)}}function KT(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 XT(e){return new At(new re(e.url),new re(e.params),new re(e.queryParams),new re(e.fragment),new re(e.data),e.outlet,e.component,e)}var oo=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},rD="ngNavigationCancelingError";function Ic(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=En(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=oD(!1,Re.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function oD(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[rD]=!0,t.cancellationCode=n,t}function JT(e){return iD(e)&&En(e.url)}function iD(e){return!!e&&e[rD]}var eM=(e,n,t,r)=>A(o=>(new qf(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)),qf=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),kf(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=Qr(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=Qr(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=Qr(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=Qr(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new yc(i.value.snapshot))}),n.children.length&&this.forwardEvent(new mc(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(kf(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),kf(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)}},_c=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Jr=class{component;route;constructor(n,t){this.component=n,this.route=t}};function tM(e,n,t){let r=e._root,o=n?n._root:null;return yi(r,o,t,[r.value])}function nM(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function ao(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Ru(e)?e:n.get(e):r}function yi(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Qr(n);return e.children.forEach(s=>{rM(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ei(a,t.getContext(s),o)),o}function rM(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=oM(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new _c(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?yi(e,n,a?a.children:null,r,o):yi(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Jr(a.outlet.component,s))}else s&&Ei(n,a,o),o.canActivateChecks.push(new _c(r)),i.component?yi(e,null,a?a.children:null,r,o):yi(e,null,t,r,o);return o}function oM(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!nr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!nr(e.url,n.url)||!bt(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zf(e,n)||!bt(e.queryParams,n.queryParams);case"paramsChange":default:return!zf(e,n)}}function Ei(e,n,t){let r=Qr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?Ei(s,n.children.getContext(i),t):Ei(s,null,t):Ei(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new Jr(n.outlet.component,o)):t.canDeactivateChecks.push(new Jr(null,o)):t.canDeactivateChecks.push(new Jr(null,o))}function Ni(e){return typeof e=="function"}function iM(e){return typeof e=="boolean"}function sM(e){return e&&Ni(e.canLoad)}function aM(e){return e&&Ni(e.canActivate)}function cM(e){return e&&Ni(e.canActivateChild)}function uM(e){return e&&Ni(e.canDeactivate)}function lM(e){return e&&Ni(e.canMatch)}function sD(e){return e instanceof Rt||e?.name==="EmptyError"}var rc=Symbol("INITIAL_VALUE");function io(){return fe(e=>Co(e.map(n=>n.pipe(Le(1),vu(rc)))).pipe(A(n=>{for(let t of n)if(t!==!0){if(t===rc)return rc;if(t===!1||dM(t))return t}return!0}),ge(n=>
5n!==rc),Le(1)))}function dM(e){return En(e)||e instanceof oo}function fM(e,n){return Y(t=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return s.length===0&&i.length===0?w(O(m({},t),{guardsResult:!0})):hM(s,r,o,e).pipe(Y(a=>a&&iM(a)?pM(r,i,e,n):w(a)),A(a=>O(m({},t),{guardsResult:a})))})}function hM(e,n,t,r){return G(e).pipe(Y(o=>DM(o.component,o.route,t,n,r)),Nt(o=>o!==!0,!0))}function pM(e,n,t,r){return G(n).pipe(pt(o=>Xt(mM(o.route.parent,r),gM(o.route,r),yM(e,o.path,t),vM(e,o.route,t))),Nt(o=>o!==!0,!0))}function gM(e,n){return e!==null&&n&&n(new vc(e)),w(!0)}function mM(e,n){return e!==null&&n&&n(new gc(e)),w(!0)}function vM(e,n,t){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return w(!0);let o=r.map(i=>Io(()=>{let s=so(n)??t,a=ao(i,s),c=aM(a)?a.canActivate(n,e):he(s,()=>a(n,e));return Yt(c).pipe(Nt())}));return w(o).pipe(io())}function yM(e,n,t){let r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>nM(s)).filter(s=>s!==null).map(s=>Io(()=>{let a=s.guards.map(c=>{let u=so(s.node)??t,l=ao(c,u),d=cM(l)?l.canActivateChild(r,e):he(u,()=>l(r,e));return Yt(d).pipe(Nt())});return w(a).pipe(io())}));return w(i).pipe(io())}function DM(e,n,t,r,o){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return w(!0);let s=i.map(a=>{let c=so(n)??o,u=ao(a,c),l=uM(u)?u.canDeactivate(e,n,t,r):he(c,()=>u(e,n,t,r));return Yt(l).pipe(Nt())});return w(s).pipe(io())}function EM(e,n,t,r){let o=n.canLoad;if(o===void 0||o.length===0)return w(!0);let i=o.map(s=>{let a=ao(s,e),c=sM(a)?a.canLoad(n,t):he(e,()=>a(n,t));return Yt(c)});return w(i).pipe(io(),aD(r))}function aD(e){return su(H(n=>{if(typeof n!="boolean")throw Ic(e,n)}),A(n=>n===!0))}function CM(e,n,t,r){let o=n.canMatch;if(!o||o.length===0)return w(!0);let i=o.map(s=>{let a=ao(s,e),c=lM(a)?a.canMatch(n,t):he(e,()=>a(n,t));return Yt(c)});return w(i).pipe(io(),aD(r))}var Ti=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},Mi=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Yr(e){return ae(new Ti(e))}function IM(e){return ae(new y(4e3,!1))}function _M(e){return ae(oD(!1,Re.GuardRejected))}var Zf=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return w(r);if(o.numberOfChildren>1||!o.children[N])return IM(`${n.redirectTo}`);o=o.children[N]}}applyRedirectCommands(n,t,r,o,i){return wM(t,o,i).pipe(A(s=>{if(s instanceof Tt)throw new Mi(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new Mi(a);return a}))}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new Tt(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 j(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 wM(e,n,t){if(typeof e=="string")return w(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d}=n;return Yt(he(t,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var Yf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function bM(e,n,t,r,o){let i=cD(e,n,t);return i.matched?(r=qT(n,r),CM(r,n,t,o).pipe(A(s=>s===!0?i:m({},Yf)))):w(i)}function cD(e,n,t){if(n.path==="**")return SM(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?m({},Yf):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||Ly)(t,e,n);if(!o)return m({},Yf);let i={};Object.entries(o.posParams??{}
5).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},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 SM(e){return{matched:!0,parameters:e.length>0?Vy(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Fy(e,n,t,r){return t.length>0&&AM(e,t,r)?{segmentGroup:new j(n,MM(r,new j(t,e.children))),slicedSegments:[]}:t.length===0&&RM(e,t,r)?{segmentGroup:new j(e.segments,TM(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new j(e.segments,e.children),slicedSegments:t}}function TM(e,n,t,r){let o={};for(let i of t)if(bc(e,n,i)&&!r[ft(i)]){let s=new j([],{});o[ft(i)]=s}return m(m({},r),o)}function MM(e,n){let t={};t[N]=n;for(let r of e)if(r.path===""&&ft(r)!==N){let o=new j([],{});t[ft(r)]=o}return t}function AM(e,n,t){return t.some(r=>bc(e,n,r)&&ft(r)!==N)}function RM(e,n,t){return t.some(r=>bc(e,n,r))}function bc(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function NM(e,n,t){return n.length===0&&!e.children[t]}var Qf=class{};function xM(e,n,t,r,o,i,s="emptyOnly"){return new Kf(e,n,t,r,o,s,i).recognize()}var OM=31,Kf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Zf(this.urlSerializer,this.urlTree)}noMatchError(n){return new y(4002,`'${n.segmentGroup}'`)}recognize(){let n=Fy(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(A(({children:t,rootSnapshot:r})=>{let o=new Ue(r,t),i=new bi("",o),s=Zy(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(n){let t=new rr([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),N,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,N,t).pipe(A(r=>({children:r,rootSnapshot:t})),q(r=>{if(r instanceof Mi)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ti?this.noMatchError(r):r}))}processSegmentGroup(n,t,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,t,r,i):this.processSegment(n,t,r,r.segments,o,!0,i).pipe(A(s=>s instanceof Ue?[s]:[]))}processChildren(n,t,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return G(i).pipe(pt(s=>{let a=r.children[s],c=ZT(t,s);return this.processSegmentGroup(n,c,a,s,o)}),mu((s,a)=>(s.push(...a),s)),Jt(null),gu(),Y(s=>{if(s===null)return Yr(r);let a=uD(s);return FM(a),w(a)}))}processSegment(n,t,r,o,i,s,a){return G(t).pipe(pt(c=>this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a).pipe(q(u=>{if(u instanceof Ti)return w(null);throw u}))),Nt(c=>!!c),q(c=>{if(sD(c))return NM(r,o,i)?w(new Qf):Yr(r);throw c}))}processSegmentAgainstRoute(n,t,r,o,i,s,a,c){return ft(r)!==s&&(s===N||!bc(o,i,r))?Yr(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c):Yr(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=cD(t,o,i);if(!c)return Yr(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>OM&&(this.allowRedirects=!1));let f=new rr(i,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Py(o),ft(o),o.component??o._loadedComponent??null,o,ky(o)),g=Cc(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(g.params),f.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,n).pipe(fe(I=>this.applyRedirects.lineralizeSegments(o,I)),Y(I=>this.processSegment(n,r,t,I.concat(h),s,!1,a)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a=bM(t,r,o,n,this.urlSerializer);return r.path==="**"&&(t.children={}),a.pipe(fe(c=>c.matched?(n=r._injector??n,this.getChildConfig(n,r,o).pipe(fe(({routes:u})=>{let l=r._loadedInjector??n,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new rr(h,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Py(r),ft(r),r.component??r._loadedComponent??null,r,ky(r)),_=Cc(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(_.params),g.data=Object.freeze(_.data);let{segmentGroup:I,slicedSegments:E}=Fy(t,h,f,u);if(E.length===0&&I.hasChildren())return this.processChildren(l,u,I,g).pipe(A(Xe=>new Ue(g,Xe)));if(u.length===0&&E.length===0)return w(new Ue(g,[]));let se=ft(r)===i;return this.processSegment(l,u,I,E,se?N:i,!0,g).pipe(A(Xe=>new Ue(g,Xe instanceof Ue?[Xe]:[])))}))):Yr(t)))}getChildConfig(n,t,r){return t.children?w({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?w({routes:t._loadedRoutes,injector:t._loadedInjector}):EM(n,t,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(n,t).pipe(H(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):_M(t))):w({routes:[],injector:n})}};function FM(e){e.sort((n,t)=>n.value.outlet===N?-1:t.value.outlet===N?1:n.value.outlet.localeCompare(t.value.outlet))}function PM(e){let n=e.value.routeConfig;return n&&n.path===""}function uD(e){let n=[],t=new Set;for(let r of e){if(!PM(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=uD(r.children);n.push(new Ue(r.value,o))}return n.filter(r=>!t.has(r))}function Py(e){return e.data||{}}function ky(e){return e.resolve||{}}function kM(e,n,t,r,o,i){return Y(s=>xM(e,n,t,r,s.extractedUrl,o,i).pipe(A(({state:a,tree:c})=>O(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function LM(e,n){return Y(t=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return w(t);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of lD(c))s.add(u);let a=0;return G(s).pipe(pt(c=>i.has(c)?jM(c,r,e,n):(c.data=Cc(c,c.parent,e).resolve,w(void 0))),H(()=>a++),_r(1),Y(c=>a===s.size?w(t):Ne))})}function lD(e){let n=e.children.map(t=>lD(t)).flat();return[e,...n]}function jM(e,n,t,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!tD(o)&&(i[Ai]=o.title),Io(()=>(e.data=Cc(e,e.parent,t).resolve,VM(i,e,n,r).pipe(A(s=>(e._resolvedData=s,e.data=m(m({},e.data),s),null)))))}
5function VM(e,n,t,r){let o=Vf(e);if(o.length===0)return w({});let i={};return G(o).pipe(Y(s=>BM(e[s],n,t,r).pipe(Nt(),H(a=>{if(a instanceof oo)throw Ic(new Dn,a);i[s]=a}))),_r(1),A(()=>i),q(s=>sD(s)?Ne:ae(s)))}function BM(e,n,t,r){let o=so(n)??r,i=ao(e,o),s=i.resolve?i.resolve(n,t):he(o,()=>i(n,t));return Yt(s)}function Lf(e){return fe(n=>{let t=e(n);return t?G(t).pipe(A(()=>n)):w(n)})}var rh=(()=>{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===N);return r}getResolvedTitleForRoute(t){return t.data[Ai]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(dD),providedIn:"root"})}return e})(),dD=(()=>{class e extends rh{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)(C(Ay))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),In=new D("",{providedIn:"root",factory:()=>({})}),ar=new D(""),Sc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(df);loadComponent(t,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return w(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Yt(he(t,()=>r.loadComponent())).pipe(A(hD),fe(pD),H(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),en(()=>{this.componentLoaders.delete(r)})),i=new Cr(o,()=>new ne).pipe(Er());return this.componentLoaders.set(r,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return w({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=fD(r,this.compiler,t,this.onLoadEndListener).pipe(en(()=>{this.childrenLoaders.delete(r)})),s=new Cr(i,()=>new ne).pipe(Er());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fD(e,n,t,r){return Yt(he(t,()=>e.loadChildren())).pipe(A(hD),fe(pD),Y(o=>o instanceof ja||Array.isArray(o)?w(o):G(n.compileModuleAsync(o))),A(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(t).injector,s=i.get(ar,[],{optional:!0,self:!0}).flat()),{routes:s.map(nh),injector:i}}))}function UM(e){return e&&typeof e=="object"&&"default"in e}function hD(e){return UM(e)?e.default:e}function pD(e){return w(e)}var Tc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(HM),providedIn:"root"})}return e})(),HM=(()=>{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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oh=new D(""),ih=new D("");function gD(e,n,t){let r=e.get(ih),o=e.get(Q);if(!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(),$M(e)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&he(e,()=>c({transition:a,from:n,to:t})),s}function $M(e){return new Promise(n=>{xa({read:()=>setTimeout(n)},{injector:e})})}var sh=new D(""),Mc=(()=>{class e{currentNavigation=Fe(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new ne;transitionAbortWithErrorSubject=new ne;configLoader=p(Sc);environmentInjector=p(oe);destroyRef=p(Et);urlSerializer=p(ir);rootContexts=p(sr);location=p(mn);inputBindingEnabled=p(Ri,{optional:!0})!==null;titleStrategy=p(rh);options=p(In,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Tc);createViewTransition=p(oh,{optional:!0});navigationErrorHandler=p(sh,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>w(void 0);rootComponentType=null;destroyed=!1;
vendor: 29,691 bytes, line 5
5constructor(){let t=o=>this.events.next(new hc(o)),r=o=>this.events.next(new pc(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;pe(()=>{this.transitions?.next(O(m({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(t){return this.transitions=new re(null),this.transitions.pipe(ge(r=>r!==null),fe(r=>{let o=!1;return w(r).pipe(fe(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Re.SupersededByNewNavigation),Ne;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?O(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new Mt(i.id,this.urlSerializer.serialize(i.rawUrl),"",eo.IgnoredSameUrlNavigation)),i.resolve(!1),Ne;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return w(i).pipe(fe(c=>(this.events.next(new Cn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?Ne:Promise.resolve(c))),kM(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),H(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=c.urlAfterRedirects,l));let u=new Ii(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:u,source:l,restoredState:d,extras:h}=i,f=new Cn(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let g=Jy(this.rootComponentType).snapshot;return this.currentTransition=r=O(m({},i),{targetSnapshot:g,urlAfterRedirects:u,extras:O(m({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(_=>(_.finalUrl=u,_)),w(r)}else return this.events.next(new Mt(i.id,this.urlSerializer.serialize(i.extractedUrl),"",eo.IgnoredByUrlHandlingStrategy)),i.resolve(!1),Ne}),H(i=>{let s=new uc(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),A(i=>(this.currentTransition=r=O(m({},i),{guards:tM(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),fM(this.environmentInjector,i=>this.events.next(i)),H(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw Ic(this.urlSerializer,i.guardsResult);let s=new lc(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),ge(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",Re.GuardRejected),!1)),Lf(i=>{if(i.guards.canActivateChecks.length!==0)return w(i).pipe(H(s=>{let a=new dc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),fe(s=>{let a=!1;return w(s).pipe(LM(this.paramsInheritanceStrategy,this.environmentInjector),H({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Re.NoDataFromResolver)}}))}),H(s=>{let a=new fc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Lf(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=so(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(H(l=>{a.component=l}),A(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return Co(s(i.targetSnapshot.root)).pipe(Jt(null),Le(1))}),Lf(()=>this.afterPreactivation()),fe(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?G(a).pipe(A(()=>r)):w(r)}),A(i=>{let s=QT(t.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=O(m({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),H(()=>{this.events.next(new _i)}),eM(this.rootContexts,t.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),Le(1),_o(new P(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ge(()=>!o&&!r.targetRouterState),H(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Re.Aborted)}))),H({next:i=>{o=!0,this.lastSuccessfulNavigation=pe(this.currentNavigation),this.events.next(new $e(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),_o(this.transitionAbortWithErrorSubject.pipe(H(i=>{throw i}))),en(()=>{o||this.cancelNavigationTransition(r,"",Re.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),q(i=>{if(this.destroyed)return r.resolve(!1),Ne;if(o=!0,iD(i))this.events.next(new St(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),JT(i)?this.events.next(new ro(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new to(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=he(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof oo){let{message:c,cancellationCode:u}=Ic(this.urlSerializer,a);this.events.next(new St(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new ro(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return Ne}))}))}cancelNavigationTransition(t,r,o){let i=new St(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=pe(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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GM(e){return e!==Xr}var mD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(zM),providedIn:"root"})}return e})(),wc=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},zM=(()=>{class e extends wc{static \u0275fac=(()=>{let t;return function(o){return(t||(t=_t(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vD=(()=>{class e{urlSerializer=p(ir);options=p(In,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(mn);urlHandlingStrategy=p(Tc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Tt;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 Tt?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=Jy(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(WM),providedIn:"root"})}return e})(),WM=(()=>{class e extends vD{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}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 Cn?this.updateStateMemento():t instanceof Mt?this.commitTransition(r):t instanceof Ii?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof _i?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof St&&t.code!==Re.SupersededByNewNavigation&&t.code!==Re.Redirect?this.restoreHistory(r):t instanceof to?this.restoreHistory(r,!0):t instanceof $e&&(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=m(m({},s),this.generateNgRouterState(o,a));this.location.replaceState(t,"",c)}else{let a=m(m({},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())}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=_t(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ac(e,n){e.events.pipe(ge(t=>t instanceof $e||t instanceof St||t instanceof to||t instanceof Mt),A(t=>t instanceof $e||t instanceof Mt?0:(t instanceof St?t.code===Re.Redirect||t.code===Re.SupersededByNewNavigation:!1)?2:1),ge(t=>t!==2),Le(1)).subscribe(()=>{n()})}var qM={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ZM={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ge=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Va);stateManager=p(vD);options=p(In,{optional:!0})||{};pendingTasks=p(Ct);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Mc);urlSerializer=p(ir);location=p(mn);urlHandlingStrategy=p(Tc);injector=p(oe);_events=new ne;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(mD);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(ar,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Ri,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new X;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=pe(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof St&&r.code!==Re.Redirect&&r.code!==Re.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof $e)this.navigated=!0;else if(r instanceof ro){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=m({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||GM(o.source)},s);this.scheduleNavigation(a,Xr,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}WT(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),Xr,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=m({},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 pe(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(nh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(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=m(m({},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=Yy(h)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return Qy(d,t,l,u??null)}navigateByUrl(t,r={skipLocationChange:!1}){let o=En(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Xr,null,r)}navigate(t,r={skipLocationChange:!1}){return YM(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(Pt(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=m({},qM):r===!1?o=m({},ZM):o=r,En(t))return Ry(this.currentUrlTree,t,o);let i=this.parseUrl(t);return Ry(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 Ac(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(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function YM(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new y(4008,!1)}var Rc=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Fe(null);get href(){return pe(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(In,{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 $a("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(){if(this.subscription!==void 0||!this.isAnchorElement)return;let t=this.preserveFragment,r=o=>o==="merge"||o==="preserve";t||=r(this.queryParamsHandling),t||=!this.queryParamsHandling&&!r(this.options?.defaultQueryParamsHandling),t&&(this.subscription=this.router.events.subscribe(o=>{o instanceof $e&&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.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(En(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:En(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)(R(Ge),R(At),Zo("tabindex"),R(ct),R(Te),R(dt))};static \u0275dir=W({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&wt("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&hn("href",o.reactiveHref(),Td)("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",gn],skipLocationChange:[2,"skipLocationChange","skipLocationChange",gn],replaceUrl:[2,"replaceUrl","replaceUrl",gn],routerLink:"routerLink"},features:[Ye]})}return e})(),QM=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new te;constructor(t,r,o,i,s){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof $e&&this.update()})}ngAfterContentInit(){w(this.links.changes,w(null)).pipe(Kt()).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=G(t).pipe(Kt()).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();this.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=KM(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?t.isActive(i,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)(R(Ge),R(Te),R(ct),R(pn),R(Rc,8))};static \u0275dir=W({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&af(i,Rc,5),r&2){let s;cf(s=uf())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Ye]})}return e})();function KM(e){return!!e.paths}var xi=class{};var yD=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,o,i){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(ge(t=>t instanceof $e),pt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=$r(i.providers,t,`Route: ${i.path}`));let s=i._injector??t,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return G(o).pipe(Kt())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(t,r):o=w(null);let i=o.pipe(Y(s=>s===null?w(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(t,r);return G([i,s]).pipe(Kt())}else return i})}static \u0275fac=function(r){return new(r||e)(C(Ge),C(oe),C(xi),C(Sc))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),DD=new D(""),XM=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Xr;restoredId=0;store={};constructor(t,r,o,i,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.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 Cn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof $e?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Mt&&t.code===eo.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 no))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){this.zone.runOutsideAngular(()=>cr(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new no(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){zd()};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();function JM(e,...n){return jt([{provide:ar,multi:!0,useValue:e},[],{provide:At,useFactory:ED,deps:[Ge]},{provide:ni,multi:!0,useFactory:CD},n.map(t=>t.\u0275providers)])}function ED(e){return e.routerState.root}function Oi(e,n){return{\u0275kind:e,\u0275providers:n}}function CD(){let e=p(Ee);return n=>{let t=e.get(Wt);if(n!==t.components[0])return;let r=e.get(Ge),o=e.get(ID);e.get(ch)===1&&r.initialNavigation(),e.get(bD,null,{optional:!0})?.setUpPreloading(),e.get(DD,null,{optional:!0})?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var ID=new D("",{factory:()=>new ne}),ch=new D("",{providedIn:"root",factory:()=>1});function _D(){let e=[{provide:Ta,useValue:!0},{provide:ch,useValue:0},Ba(()=>{let n=p(Ee);return n.get(yf,Promise.resolve()).then(()=>new Promise(r=>{let o=n.get(Ge),i=n.get(ID);Ac(o,()=>{r(!0)}),n.get(Mc).afterPreactivation=()=>(r(!0),i.closed?w(void 0):i),o.initialNavigation()}))})];return Oi(2,e)}function wD(){let e=[Ba(()=>{p(Ge).setUpLocationChangeListener()}),{provide:ch,useValue:2}];return Oi(3,e)}var bD=new D("");function SD(e){return Oi(0,[{provide:bD,useExisting:yD},{provide:xi,useExisting:e}])}function TD(){return Oi(8,[eh,{provide:Ri,useExisting:eh}])}function MD(e){at("NgRouterViewTransitions");let n=[{provide:oh,useValue:gD},{provide:ih,useValue:m({skipNextTransition:!!e?.skipInitialTransition},e)}];return Oi(9,n)}var AD=[mn,{provide:ir,useClass:Dn},Ge,sr,{provide:At,useFactory:ED,deps:[Ge]},Sc,[]],Nc=(()=>{class e{constructor(){}static forRoot(t,r){return{ngModule:e,providers:[AD,[],{provide:ar,multi:!0,useValue:t},[],r?.errorHandler?{provide:sh,useValue:r.errorHandler}:[],{provide:In,useValue:r||{}},r?.useHash?tA():nA(),eA(),r?.preloadingStrategy?SD(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?rA(r):[],r?.bindToComponentInputs?TD().\u0275providers:[],r?.enableViewTransitions?MD().\u0275providers:[],oA()]}}static forChild(t){return{ngModule:e,providers:[{provide:ar,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Pe({type:e});static \u0275inj=we({})}return e})();function eA(){return{provide:DD,useFactory:()=>{let e=p(cy),n=p(K),t=p(In),r=p(Mc),o=p(ir);return t.scrollOffset&&e.setOffset(t.scrollOffset),new XM(o,r,e,n,t)}}}function tA(){return{provide:dt,useClass:Ef}}function nA(){return{provide:dt,useClass:Wa}}function rA(e){return[e.initialNavigation==="disabled"?wD().\u0275providers:[],e.initialNavigation==="enabledBlocking"?_D().\u0275providers:[]]}var ah=new D("");function oA(){return[{provide:ah,useFactory:CD},{provide:ni,multi:!0,useExisting:ah}]}var VD=(()=>{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)(R(ct),R(Te))};static \u0275dir=W({type:e})}return e})(),fh=(()=>{class e extends VD{static \u0275fac=(()=>{let t;return function(o){return(t||(t=_t(e)))(o||e)}})();static \u0275dir=W({type:e,features:[Me]}
vendor: 6,350 bytes, line 5
5)}return e})(),Hc=new D("");var sA={provide:Hc,useExisting:Oe(()=>BD),multi:!0};function aA(){let e=Ke()?Ke().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var cA=new D(""),BD=(()=>{class e extends VD{_compositionMode;_composing=!1;constructor(t,r,o){super(t,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!aA())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||e)(R(ct),R(Te),R(cA,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&&wt("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:[ut([sA]),Me]})}return e})();function hh(e){return e==null||ph(e)===0}function ph(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var po=new D(""),gh=new D(""),uA=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,RD=class{static min(n){return lA(n)}static max(n){return dA(n)}static required(n){return UD(n)}static requiredTrue(n){return fA(n)}static email(n){return hA(n)}static minLength(n){return HD(n)}static maxLength(n){return $D(n)}static pattern(n){return pA(n)}static nullValidator(n){return Oc()}static compose(n){return YD(n)}static composeAsync(n){return QD(n)}};function lA(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}function dA(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}function UD(e){return hh(e.value)?{required:!0}:null}function fA(e){return e.value===!0?null:{required:!0}}function hA(e){return hh(e.value)||uA.test(e.value)?null:{email:!0}}function HD(e){return n=>{let t=n.value?.length??ph(n.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function $D(e){return n=>{let t=n.value?.length??ph(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function pA(e){if(!e)return Oc;let n,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(hh(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}function Oc(e){return null}function GD(e){return e!=null}function zD(e){return Jn(e)?G(e):e}function WD(e){let n={};return e.forEach(t=>{n=t!=null?m(m({},n),t):n}),Object.keys(n).length===0?null:n}function qD(e,n){return n.map(t=>t(e))}function gA(e){return!e.validate}function ZD(e){return e.map(n=>gA(n)?n:t=>n.validate(t))}function YD(e){if(!e)return null;let n=e.filter(GD);return n.length==0?null:function(t){return WD(qD(t,n))}}function mh(e){return e!=null?YD(ZD(e)):null}function QD(e){if(!e)return null;let n=e.filter(GD);return n.length==0?null:function(t){let r=qD(t,n).map(zD);return hu(r).pipe(A(WD))}}function vh(e){return e!=null?QD(ZD(e)):null}function ND(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function KD(e){return e._rawValidators}function XD(e){return e._rawAsyncValidators}function uh(e){return e?Array.isArray(e)?e:[e]:[]}function Fc(e,n){return Array.isArray(e)?e.includes(n):e===n}function xD(e,n){let t=uh(n);return uh(e).forEach(o=>{Fc(t,o)||t.push(o)}),t}function OD(e,n){return uh(n).filter(t=>!Fc(e,t))}var Pc=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=mh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=vh(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&&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}},_n=class extends Pc{name;get formDirective(){return null}get path(){return null}},lo=class extends Pc{_parent=null;name=null;valueAccessor=null},kc=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}
vendor: 13,028 bytes, line 5
5get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},mA={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},fz=O(m({},mA),{"[class.ng-submitted]":"isSubmitted"}),hz=(()=>{class e extends kc{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(R(lo,2))};static \u0275dir=W({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&oi("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:[Me]})}return e})(),pz=(()=>{class e extends kc{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(R(_n,10))};static \u0275dir=W({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&oi("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:[Me]})}return e})();var Fi="VALID",xc="INVALID",co="PENDING",Pi="DISABLED",wn=class{},Lc=class extends wn{value;source;constructor(n,t){super(),this.value=n,this.source=t}},Li=class extends wn{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},ji=class extends wn{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},uo=class extends wn{status;source;constructor(n,t){super(),this.status=n,this.source=t}},jc=class extends wn{source;constructor(n){super(),this.source=n}},Bi=class extends wn{source;constructor(n){super(),this.source=n}};function yh(e){return($c(e)?e.validators:e)||null}function vA(e){return Array.isArray(e)?mh(e):e||null}function Dh(e,n){return($c(n)?n.asyncValidators:e)||null}function yA(e){return Array.isArray(e)?vh(e):e||null}function $c(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function JD(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 eE(e,n,t){e._forEachChild((r,o)=>{if(t[o]===void 0)throw new y(1002,"")})}var fo=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 pe(this.statusReactive)}set status(n){pe(()=>this.statusReactive.set(n))}_status=qt(()=>this.statusReactive());statusReactive=Fe(void 0);get valid(){return this.status===Fi}get invalid(){return this.status===xc}get pending(){return this.status==co}get disabled(){return this.status===Pi}get enabled(){return this.status!==Pi}errors;get pristine(){return pe(this.pristineReactive)}set pristine(n){pe(()=>this.pristineReactive.set(n))}_pristine=qt(()=>this.pristineReactive());pristineReactive=Fe(!0);get dirty(){return!this.pristine}get touched(){return pe(this.touchedReactive)}set touched(n){pe(()=>this.touchedReactive.set(n))}_touched=qt(()=>this.touchedReactive());touchedReactive=Fe(!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(xD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(xD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(OD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(OD(n,this._rawAsyncValidators))}hasValidator(n){return Fc(this._rawValidators,n)}hasAsyncValidator(n){return Fc(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;this._parent&&!n.onlySelf&&this._parent.markAsTouched(O(m({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new ji(!0,r))}markAllAsDirty(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})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,r),t&&n.emitEvent!==!1&&this._events.next(new ji(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(O(m({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new Li(!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})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,r),t&&n.emitEvent!==!1&&this._events.next(new Li(!0,r))}markAsPending(n={}){this.status=co;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new uo(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(O(m({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=Pi,this.errors=null,this._forEachChild(o=>{o.disable(O(m({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Lc(this.value,r)),this._events.next(new uo(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(O(m({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=Fi,this._forEachChild(r=>{r.enable(O(m({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(O(m({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){this._parent&&!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===Fi||this.status===co)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Lc(this.value,t)),this._events.next(new uo(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(O(m({},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()?Pi:Fi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=co,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:n!==!1};let r=zD(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&&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 uo(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new te,this.statusChanges=new te}_calculateStatus(){return this._allControlsDisabled()?Pi:this.errors?xc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(co)?co:this._anyControlsHaveStatus(xc)?xc:Fi}_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,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),o&&this._events.next(new Li(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new ji(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){$c(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let t=this._parent&&this._parent.dirty;return!n&&!!t&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=vA(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=yA(this._rawAsyncValidators)}},ho=class extends fo{constructor(n,t,r){super(yh(t),Dh(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={}){eE(this,!0,n),Object.keys(n).forEach(r=>{JD(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,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Bi(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;
vendor: 3,908 bytes, line 5
5return 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 lh=class extends ho{};var go=new D("",{providedIn:"root",factory:()=>Ui}),Ui="always";function DA(e,n){return[...n.path,e]}function Vc(e,n,t=Ui){Eh(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),CA(e,n),_A(e,n),IA(e,n),EA(e,n)}function FD(e,n,t=!0){let r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),Uc(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Bc(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function EA(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function Eh(e,n){let t=KD(e);n.validator!==null?e.setValidators(ND(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=XD(e);n.asyncValidator!==null?e.setAsyncValidators(ND(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();Bc(n._rawValidators,o),Bc(n._rawAsyncValidators,o)}function Uc(e,n){let t=!1;if(e!==null){if(n.validator!==null){let o=KD(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(n.asyncValidator!==null){let o=XD(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}let r=()=>{};return Bc(n._rawValidators,r),Bc(n._rawAsyncValidators,r),t}function CA(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&tE(e,n)})}function IA(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&tE(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function tE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function _A(e,n){let t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function nE(e,n){e==null,Eh(e,n)}function wA(e,n){return Uc(e,n)}function bA(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function SA(e){return Object.getPrototypeOf(e.constructor)===fh}function rE(e,n){e._syncPendingControls(),n.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function TA(e,n){if(!n)return null;Array.isArray(n);let t,r,o;return n.forEach(i=>{i.constructor===BD?t=i:SA(i)?r=i:o=i}),o||r||t||null}function MA(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}var AA={provide:_n,useExisting:Oe(()=>RA)},ki=Promise.resolve(),RA=(()=>{class e extends _n{callSetDisabledState;get submitted(){return pe(this.submittedReactive)}_submitted=qt(()=>this.submittedReactive());submittedReactive=Fe(!1);_directives=new Set;form;ngSubmit=new te;options;constructor(t,r,o){super(),this.callSetDisabledState=o,this.form=new ho({},mh(t),vh(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ki.then(()=>{let r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Vc(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}
vendor: 6,746 bytes, line 5
5removeControl(t){ki.then(()=>{let r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){ki.then(()=>{let r=this._findContainer(t.path),o=new ho({});nE(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){ki.then(()=>{let r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){ki.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),rE(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new jc(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)(R(po,10),R(gh,10),R(go,8))};static \u0275dir=W({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&wt("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:[ut([AA]),Me]})}return e})();function PD(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function kD(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Vi=class extends fo{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(yh(t),Dh(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),$c(t)&&(t.nonNullable||t.initialValueIsDefault)&&(kD(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),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Bi(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){PD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){PD(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){kD(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 NA=e=>e instanceof Vi;var xA={provide:lo,useExisting:Oe(()=>OA)},LD=Promise.resolve(),OA=(()=>{class e extends lo{_changeDetectorRef;callSetDisabledState;control=new Vi;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new te;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=TA(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),bA(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Vc(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){LD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,o=r!==0&&gn(r);LD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?DA(t,this._parent):[t]}static \u0275fac=function(r){return new(r||e)(R(_n,9),R(po,10),R(gh,10),R(Hc,10),R(pn,8),R(go,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:[ut([xA]),Me,Ye]})}return e})();var mz=(()=>{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})(),FA={provide:Hc,useExisting:Oe(()=>PA),multi:!0},PA=(()=>{class e extends fh{writeValue(t){let r=t??"";this.setProperty("value",r)}registerOnChange(t){this.onChange=r=>{t(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=_t(e)))(o||e)}})();static \u0275dir=W({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&wt("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[ut([FA]),Me]})}return e})(),kA={provide:Hc,useExisting:Oe(()=>jA),multi:!0};var LA=(()=>{class e{_accessors=[];add(t,r){this._accessors.push([t,r])}remove(t){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===t){this._accessors.splice(r,1);return}}
5select(t){this._accessors.forEach(r=>{this._isSameGroup(r,t)&&r[1]!==t&&r[1].fireUncheck(t.value)})}_isSameGroup(t,r){return t[0].control?t[0]._parent===r._control._parent&&t[1].name===r.name:!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jA=(()=>{class e extends fh{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=p(go,{optional:!0})??Ui;constructor(t,r,o,i){super(t,r),this._registry=o,this._injector=i}ngOnInit(){this._control=this._injector.get(lo),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(r){return new(r||e)(R(ct),R(Te),R(LA),R(Ee))};static \u0275dir=W({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(r,o){r&1&&wt("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[ut([kA]),Me]})}return e})();var VA=new D("");var BA={provide:_n,useExisting:Oe(()=>UA)},UA=(()=>{class e extends _n{callSetDisabledState;get submitted(){return pe(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=qt(()=>this._submittedReactive());_submittedReactive=Fe(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new te;constructor(t,r,o){super(),this.callSetDisabledState=o,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Uc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let r=this.form.get(t.path);return Vc(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}
5removeControl(t){FD(t.control||null,t,!1),MA(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),rE(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new jc(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0,r={}){this.form.reset(t,r),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,o=this.form.get(t.path);r!==o&&(FD(r||null,t),NA(o)&&(Vc(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);nE(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let r=this.form.get(t.path);r&&wA(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Eh(this.form,this),this._oldForm&&Uc(this._oldForm,this)}static \u0275fac=function(r){return new(r||e)(R(po,10),R(gh,10),R(go,8))};static \u0275dir=W({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&wt("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ut([BA]),Me,Ye]})}return e})();function oE(e){return typeof e=="number"?e:parseInt(e,10)}var Ch=(()=>{class e{_validator=Oc;_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):Oc,this._onChange&&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:[Ye]})}return e})();var HA={provide:po,useExisting:Oe(()=>$A),multi:!0};var $A=(()=>{class e extends Ch{required;inputName="required";normalizeInput=gn;createValidator=t=>UD;enabled(t){return t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=_t(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&&hn("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ut([HA]),Me]})}return e})();var GA={provide:po,useExisting:Oe(()=>zA),multi:!0},zA=(()=>{class e extends Ch{minlength;inputName="minlength";normalizeInput=t=>oE(t);createValidator=t=>HD(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=_t(e)))(o||e)}})();static \u0275dir=W({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&hn("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[ut([GA]),Me]})}return e})(),WA={provide:po,useExisting:Oe(()=>qA),multi:!0},qA=(()=>{class e extends Ch{maxlength;inputName="maxlength";normalizeInput=t=>oE(t);createValidator=t=>$D(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=_t(e)))(o||e)}})();static \u0275dir=W({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&hn("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ut([WA]),Me]})}return e})();var iE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Pe({type:e});static \u0275inj=we({})}return e})(),dh=class extends fo{constructor(n,t,r){super(yh(t),Dh(r,t)),this.controls=n,this._initOb
vendor: 4,889 bytes, line 5
5servables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){Array.isArray(n)?n.forEach(r=>{this.controls.push(r),this._registerControl(r)}):(this.controls.push(n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){eE(this,!1,n),n.forEach((r,o)=>{JD(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(n.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,o)=>{r.reset(n[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Bi(this))}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>r._syncPendingControls()?!0:t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};function jD(e){return!!e&&(e.asyncValidators!==void 0||e.validators!==void 0||e.updateOn!==void 0)}var vz=(()=>{class e{useNonNullable=!1;get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,r=null){let o=this._reduceControls(t),i={};return jD(r)?i=r:r!==null&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new ho(o,i)}record(t,r=null){let o=this._reduceControls(t);return new lh(o,r)}control(t,r,o){let i={};return this.useNonNullable?(jD(r)?i=r:(i.validators=r,i.asyncValidators=o),new Vi(t,O(m({},i),{nonNullable:!0}))):new Vi(t,r,o)}array(t,r,o){let i=t.map(s=>this._createControl(s));return new dh(i,r,o)}_reduceControls(t){let r={};return Object.keys(t).forEach(o=>{r[o]=this._createControl(t[o])}),r}_createControl(t){if(t instanceof Vi)return t;if(t instanceof fo)return t;if(Array.isArray(t)){let r=t[0],o=t.length>1?t[1]:null,i=t.length>2?t[2]:null;return this.control(r,o,i)}else return this.control(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ih=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:go,useValue:t.callSetDisabledState??Ui}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Pe({type:e});static \u0275inj=we({imports:[iE]})}return e})(),_h=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:VA,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:go,useValue:t.callSetDisabledState??Ui}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Pe({type:e});static \u0275inj=we({imports:[iE]})}return e})();var sE=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=Pe({type:e});static \u0275inj=we({imports:[ci,Ih,_h,Nc,ci,Ih,_h,Nc]})};var wz={COUNTRIES:"countries"},bn={SPONSOR_ID:"SPONSOR_ID",EXPIRED_AT:"EXPIRED_AT",USER:"USER"},bz={VALIDATE_SPONSOR:"VALIDATE_SPONSOR",SIGNUP:"SIGNUP",EMAIL_AVAILABILITY:"EMAIL_AVAILABILITY",VERIFY_SIGNUP:"VERIFY_SIGNUP",RESEND_SIGN_UP_EMAIL:"RESEND_SIGNUP_EMAIL",FORGOT_PASSWORD:"FORGOT_PASSWORD",RESET_PASSWORD:"RESET_PASSWORD",LOGIN:"LOGIN",TWO_FA:"TWO_FA"},aE={RECAPTCHA_ERROR:"reCAPTCHA verification failed. Please try again.",GENERIC_ERROR:"Please try again later!",INVALID_SPONSOR:"Invalid sponsor ID. Please check and try again.",INVA
5LID_USERNAME:"Username must be 5\u201316 characters long, contain letters (a\u2013z) and numbers (0\u20139)"};var ZA=(t=>(t[t.Buy=1]="Buy",t[t.Lease=2]="Lease",t))(ZA||{});var YA=(t=>(t[t.USD=1]="USD",t[t.BTC=2]="BTC",t))(YA||{}),QA=(r=>(r[r.None=0]="None",r[r.Pending=1]="Pending",r[r.Approved=2]="Approved",r))(QA||{}),KA=(t=>(t[t.WC=1]="WC",t[t.BTC=2]="BTC",t))(KA||{}),XA=(o=>(o[o.USDT=1]="USDT",o[o.USDC=2]="USDC",o[o.WBTC=3]="WBTC",o[o.BTC=4]="BTC",o))(XA||{}),Sz=20,Tz=7,Mz={TERMS_OF_SERVICE:"https://hashnet.ai/terms.html",PRIVACY_POLICY:"https://hashnet.ai/privacy-policy.html"},Az=[{id:1,src:"/avatars/1.png"},{id:2,src:"/avatars/2.png"},{id:3,src:"/avatars/3.png"},{id:4,src:"/avatars/4.png"},{id:5,src:"/avatars/5.png"},{id:6,src:"/avatars/6.png"},{id:7,src:"/avatars/7.png"},{id:8,src:"/avatars/8.png"},{id:9,src:"/avatars/9.png"},{id:10,src:"/avatars/10.png"},{id:11,src:"/avatars/11.png"},{id:12,src:"/avatars/12.png"},{id:13,src:"/avatars/13.png"},{id:14,src:"/avatars/14.png"},{id:15,src:"/avatars/15.png"},{id:16,src:"/avatars/16.png"}],Rz={MAX_IMAGES:3,MAX_IMAGE_SIZE_MB:5,ACCEPTED_IMAGE_MIME_TYPES:["image/png","image/jpeg","image/webp","image/gif"]};var $={ROOT:"",AUTH_ROOT:"auth",DASHBOARD_ROOT:"dashboard",USERNAME_PARAM:":username",WILDCARD:"**",AUTH_SIGNIN:"signin",AUTH_SIGNUP:"signup",AUTH_SIGNUP_WITH_ID:"signup/:id",AUTH_TWO_FACTOR:"two-factor",AUTH_FORGOT_PASSWORD:"forgot-password",AUTH_RESET_PASSWORD:"reset-password",AUTH_VERIFY_EMAIL:"verify-email",DASHBOARD_HOME:"",DASHBOARD_ALPHA_ENGINE:"alpha-engine",DASHBOARD_ADD_FUNDS:"deposit",DASHBOARD_BUY_HARDWARE:"buy-hardware",DASHBOARD_LEASE_HARDWARE:"lease-hardware",DASHBOARD_TEAM:"team",DASHBOARD_INCOME_OVERVIEW:"income-overview",DASHBOARD_MINING_REWARD:"mining-reward",DASHBOARD_HARDWARE_BONUS:"hardware-bonus",DASHBOARD_YIELD_SHARE:"yield-share",DASHBOARD_RANK_BONUS:"rank-bonus",DASHBOARD_MEGA_LAUNCH:"mega-launch",DASHBOARD_MULTIPLIER:"multiplier",DASHBOARD_INFINITY_POOL:"infinity-pool",DASHBOARD_WITHDRAWAL:"withdrawal",DASHBOARD_SUPPORT:"support",DASHBOARD_PROFILE:"profile",DASHBOARD_GET_YOURS_FREE:"get-yours-free"},Sn=`/${$.AUTH_ROOT}`,de=`/${$.DASHBOARD_ROOT}`,wh={AUTH_BASE:Sn,DASHBOARD_BASE:de,AUTH_SIGNIN:`${Sn}/${$.AUTH_SIGNIN}`,AUTH_SIGNUP:`${Sn}/${$.AUTH_SIGNUP}`,AUTH_TWO_FACTOR:`${Sn}/${$.AUTH_TWO_FACTOR}`,AUTH_FORGOT_PASSWORD:`${Sn}/${$.AUTH_FORGOT_PASSWORD}`,AUTH_RESET_PASSWORD:`${Sn}/${$.AUTH_RESET_PASSWORD}`,AUTH_VERIFY_EMAIL:`${Sn}/${$.AUTH_VERIFY_EMAIL}`,DASHBOARD_HOME:de,DASHBOARD_ALPHA_ENGINE:`${de}/${$.DASHBOARD_ALPHA_ENGINE}`,DASHBOARD_ADD_FUNDS:`${de}/${$.DASHBOARD_ADD_FUNDS}`,DASHBOARD_BUY_HARDWARE:`${de}/${$.DASHBOARD_BUY_HARDWARE}`,DASHBOARD_LEASE_HARDWARE:`${de}/${$.DASHBOARD_LEASE_HARDWARE}`,DASHBOARD_TEAM:`${de}/${$.DASHBOARD_TEAM}`,DASHBOARD_INCOME_OVERVIEW:`${de}/${$.DASHBOARD_INCOME_OVERVIEW}`,DASHBOARD_MINING_REWARD:`${de}/${$.DASHBOARD_MINING_REWARD}`,DASHBOARD_HARDWARE_BONUS:`${de}/${$.DASHBOARD_HARDWARE_BONUS}`,DASHBOARD_YIELD_SHARE:`${de}/${$.DASHBOARD_YIELD_SHARE}`,DASHBOARD_RANK_BONUS:`${de}/${$.DASHBOARD_RANK_BONUS}`,DASHBOARD_MEGA_LAUNCH:`${de}/${$.DASHBOARD_MEGA_LAUNCH}`,DASHBOARD_MULTIPLIER:`${de}/${$.DASHBOARD_MULTIPLIER}`,DASHBOARD_INFINITY_POOL:`${de}/${$.DASHBOARD_INFINITY_POOL}`,DASHBOARD_WITHDRAWAL:`${de}/${$.DASHBOARD_WITHDRAWAL}`,DASHBOARD_SUPPORT:`${de}/${$.DASHBOARD_SUPPORT}`,DASHBOARD_PROFILE:`${de}/${$.DASHBOARD_PROFILE}`,DASHBOARD_GET_YOURS_FREE:`${de}/${$.DASHBOARD_GET_YOURS_FREE}`,authSignupWithId:e=>`${Sn}/${$.AUTH_SIGNUP}/${e}`};var Gc=class e{setItem(n,t){try{localStorage.setItem(n,t)}catch(r){console.error("Error saving to localStorage",r)}}getItem(n){try{return localStorage.getItem(n)}catch(t){return console.error("Error getting from localStorage",t),null}}removeItem(n){try{localStorage.removeItem(n)}catch(t){console.error("Error removing from localStorage",t)}}clear(){try{localStorage.clear()}catch(n){console.error("Error clearing localStorage",n)}}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var zc=class e{state=new Map;setState(n,t){this.state.has(n)?this.state.get(n)?.next(t):this.state.set(n,new re(t))}getState(n){return this.state.get(n)?.asObservable()}getStateValue(n){return this.state.get(n)?.value}clearState(){this.state.forEach(n=>n.next(null))}removeState(n){this.state.delete(n)}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var Wc=class e{constructor(n){this.http=n;this.setupGlobalErrorHandler()}logEndpoint="/api/logs";isDevelopment=!1;setupGlobalErrorHandler(){window.addEventListener("error",n=>{this.error("Global Error",{message:n.message,filename:n.filename,lineno:n.lineno,colno:n.colno,error:n.error})}),window.addEventListener("unhandledrejection",n=>{this.error("Unhandled Promise Rejection",{reason:n.reason})})}
5log(n,t){this.isDevelopment&&console.log(`[LOG] ${n}`,t)}error(n,t){}warn(n,t){this.isDevelopment}sendLog(n,t,r){let o={level:n,message:t,data:r,timestamp:new Date().toISOString(),userAgent:navigator.userAgent,url:window.location.href};this.http.post(this.logEndpoint,o).subscribe({error:i=>console.error("Failed to send log",i)})}static \u0275fac=function(t){return new(t||e)(C(Zr))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var cE=class e{constructor(n,t,r,o,i){this.http=n;this.router=t;this.storage=r;this.state=o;this.logger=i;this.loadUserFromStorage()}currentUserSubject=new re(null);currentUser$=this.currentUserSubject.asObservable();apiUrl="/auth";loadUserFromStorage(){let n=this.storage.getItem(bn.USER);n&&this.currentUserSubject.next(JSON.parse(n))}getSponsor(n,t){let r={sponsorUsername:n,captchaToken:t};return this.http.post(`${this.apiUrl}/sponsor`,r).pipe(q(o=>(this.logger.error("Error fetching sponsor info",o),ae(()=>o.message||"The referral link is not valid"))))}emailAvailable(n,t){let r={email:n,captchaToken:t};return this.http.post(`${this.apiUrl}/email-available`,r).pipe(q(o=>(this.logger.error("Error checking email availability",o),ae(()=>o.message))))}signup(n){return this.http.post(`${this.apiUrl}/signup`,n).pipe(H(t=>t),q(t=>(this.logger.error("Signup error",t),ae(()=>t))))}verifyAccount(n,t,r){return this.http.post(`${this.apiUrl}/verify-account`,{memberId:n,captchaToken:t,code:r}).pipe(q(o=>(this.logger.error("Email verification error",o),ae(()=>o))))}resendSignupEmail(n,t){return this.http.post(`${this.apiUrl}/resend-signup-email`,{memberId:n,captchaToken:t}).pipe(q(r=>(this.logger.error("Resend signup email error",r),ae(()=>r))))}signin(n){return this.http.post(`${this.apiUrl}/signin`,n).pipe(H(t=>(t.isSuccess&&!t.isTwoFactorEnabled&&this.storage.setItem(bn.EXPIRED_AT,t.tokenExpiredAt.toString()),t)),q(t=>(this.logger.error("Signin error",t),ae(()=>t))))}verifyTwoFactor(n){return this.http.post(`${this.apiUrl}
5/verify-2fa`,{code:n}).pipe(H(t=>{t.isSuccess&&t&&this.storage.setItem(bn.EXPIRED_AT,t.tokenExpiredAt.toString())}),q(t=>(this.logger.error("2FA verification error",t),ae(()=>t))))}refresh(){return this.http.get(`${this.apiUrl}/refresh`)}forgotPassword(n,t){let r={username:n,captchaToken:t};return this.http.post(`${this.apiUrl}/forgot-password`,r).pipe(q(o=>(this.logger.error("Forgot password error",o),ae(()=>o))))}resetPassword(n){return this.http.post(`${this.apiUrl}/reset-password`,n).pipe(q(t=>(this.logger.error("Reset password error",t),ae(()=>t))))}getUser(){return this.http.get("/dashboard/user").pipe(H(n=>(n&&this.setCurrentUser(n),n)),q(n=>ae(()=>n)))}updateProfileImg(n){this.setCurrentUser(O(m({},this.currentUserSubject.value),{profileImgUrl:n}))}logout(){this.http.post(`${this.apiUrl}/logout`,{}).subscribe({next:()=>{this.clearUserData(),this.router.navigate([wh.AUTH_SIGNIN])},error:n=>{this.logger.error("Logout error",n),this.clearUserData(),this.router.navigate([wh.AUTH_SIGNIN])}})}setCurrentUser(n){this.currentUserSubject.next(n),this.state.setState(bn.USER,n)}clearUserData(){this.storage.removeItem(bn.USER),this.storage.removeItem(bn.EXPIRED_AT),this.currentUserSubject.next(null),this.state.clearState()}isAuthenticated(){let n=this.storage.getItem(bn.EXPIRED_AT);return n!==null&&new Date(n)>new Date}getCurrentUser(){return this.currentUserSubject.value}getNonce(){return this.http.get(`${this.apiUrl}/nonce`).pipe(H(n=>n.nonce),q(n=>(this.logger.error("Error fetching nonce",n),ae(()=>n))))}verify(n){return this.http.post(`${this.apiUrl}/verify`,n).pipe(H(t=>t),q(t=>(this.logger.error("Error verifying nonce",t),ae(()=>t))))}whitelistAddress(n){return this.http.post("/payout/whitelist-address",n).pipe(H(t=>{let r=this.currentUserSubject.value;if(r)return this.setCurrentUser(O(m({},r),{walletAddress:t.address})),t}),q(t=>ae(()=>t?.message??aE.GENERIC_ERROR)))}static \u0275fac=function(t){return new(t||e)(C(Zr),C(Ge),C(Gc),C(zc),C(Wc))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var uE=class e{_toasts=Fe([]);toasts=qt(()=>this._toasts());idCounter=0;show(n,t="info",r=5e3){let o=++this.idCounter;this._toasts.update(i=>[...i,{id:o,message:n,type:t}]),setTimeout(()=>this.remove(o),r)}success(n,t){this.show(n,"success",t)}error(n,t){this.show(n,"error",t)}warning(n,t){this.show(n,"warning",t)}info(n,t){this.show(n,"info",t)}remove(n){this._toasts.update(t=>t.filter(r=>r.id!==n))}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var zz={production:!1,chains:[1,56],wcId:"d9a6004cb1480b2b4f804bcbb86e4b9c",apiUrl:"https://devapi.hashnet.ai/api",recaptchaSiteKey:"6LeR5Y0sAAAAAMix7OBmr-yeQ-uoVPf3IiVOPxzS"};export{P as a,ne as b,re as c,w as d,ae as e,A as f,hu as g,ge as h,q as i,Le as j,jE as k,en as l,fe as m,_o as n,H as o,Oe as p,v as q,we as r,D as s,C as t,p as u,Fp as v,Pp as w,Zp as x,Yp as y,Fe as z,Ye as A,vm as B,_I as C,VI as D,te as E,R as F,Yd as G,Pe as H,pv as I,yv as J,hn as K,qw as L,Zw as M,Yw as N,Qw as O,Kw as P,Xw as Q,Iv as R,ef as S,tf as T,Ua as U,nf as V,rf as W,_v as X,bv as Y,ob as Z,Sv as _,wt as $,Mv as aa,sb as ba,cb as ca,ub as da,db as ea,cf as fa,uf as ga,fb as ha,xv as ia,oi as ja,_b as ka,Fb as la,Vv as ma,lf as na,Bv as oa,Hv as pa,Lb as qa,$v as ra,jb as sa,Vb as ta,ut as ua,Gb as va,zb as wa,qb as xa,Yb as ya,Kb as za,Jb as Aa,qt as Ba,Jv as Ca,pn as Da,bS as Ea,SS as Fa,ci as Ga,HS as Ha,pi as Ia,vn as Ja,Zr as Ka,vT as La,yT as Ma,DT as Na,$e as Oa,At as Pa,Jf as Qa,Ge as Ra,Rc as Sa,QM as Ta,JM as Ua,Nc as Va,wz as Wa,bn as Xa,bz as Ya,aE as Za,ZA as _a,YA as $a,QA as ab,KA as bb,XA as cb,Sz as db,Tz as eb,Mz as fb,Az as gb,Rz as hb,$ as ib,wh as jb,Gc as kb,zc as lb,Wc as mb,cE as nb,uE as ob,Hc as pb,BD as qb,RD as rb,hz as sb,pz as tb,RA as ub,OA as vb,mz as wb,PA as xb,jA as yb,UA as zb,$A as Ab,zA as Bb,qA as Cb,vz as Db,Ih as Eb,_h as Fb,sE as Gb,zz as Hb};

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.