@whoz-oss/coday-client 0.100.0 → 0.101.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- var DE=Object.defineProperty,EE=Object.defineProperties;var IE=Object.getOwnPropertyDescriptors;var Ui=Object.getOwnPropertySymbols;var wh=Object.prototype.hasOwnProperty,Ch=Object.prototype.propertyIsEnumerable;var Ih=(e,t,n)=>t in e?DE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||={})wh.call(t,n)&&Ih(e,n,t[n]);if(Ui)for(var n of Ui(t))Ch.call(t,n)&&Ih(e,n,t[n]);return e},F=(e,t)=>EE(e,IE(t));var wE=(e,t)=>{var n={};for(var r in e)wh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ui)for(var r of Ui(e))t.indexOf(r)<0&&Ch.call(e,r)&&(n[r]=e[r]);return n};var dr=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function S(e){return typeof e=="function"}function fr(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var $i=fr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
1
+ var EE=Object.defineProperty,IE=Object.defineProperties;var wE=Object.getOwnPropertyDescriptors;var Ui=Object.getOwnPropertySymbols;var wh=Object.prototype.hasOwnProperty,Ch=Object.prototype.propertyIsEnumerable;var Ih=(e,t,n)=>t in e?EE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||={})wh.call(t,n)&&Ih(e,n,t[n]);if(Ui)for(var n of Ui(t))Ch.call(t,n)&&Ih(e,n,t[n]);return e},F=(e,t)=>IE(e,wE(t));var CE=(e,t)=>{var n={};for(var r in e)wh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ui)for(var r of Ui(e))t.indexOf(r)<0&&Ch.call(e,r)&&(n[r]=e[r]);return n};var fr=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function S(e){return typeof e=="function"}function hr(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var $i=hr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
2
  ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function _n(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var K=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){t=i instanceof $i?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{bh(i)}catch(s){t=t??[],s instanceof $i?t=[...t,...s.errors]:t.push(s)}}if(t)throw new $i(t)}}add(t){var n;if(t&&t!==this)if(this.closed)bh(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&_n(n,t)}remove(t){let{_finalizers:n}=this;n&&_n(n,t),t instanceof e&&t._removeParent(this)}};K.EMPTY=(()=>{let e=new K;return e.closed=!0,e})();var Uc=K.EMPTY;function Hi(e){return e instanceof K||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function bh(e){S(e)?e():e.unsubscribe()}var Ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var hr={setTimeout(e,t,...n){let{delegate:r}=hr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=hr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function zi(e){hr.setTimeout(()=>{let{onUnhandledError:t}=Ye;if(t)t(e);else throw e})}function mo(){}var Th=$c("C",void 0,void 0);function _h(e){return $c("E",void 0,e)}function Sh(e){return $c("N",e,void 0)}function $c(e,t,n){return{kind:e,value:t,error:n}}var Sn=null;function pr(e){if(Ye.useDeprecatedSynchronousErrorHandling){let t=!Sn;if(t&&(Sn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Sn;if(Sn=null,n)throw r}}else e()}function Mh(e){Ye.useDeprecatedSynchronousErrorHandling&&Sn&&(Sn.errorThrown=!0,Sn.error=e)}var Mn=class extends K{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Hi(t)&&t.add(this)):this.destination=TE}static create(t,n,r){return new Qe(t,n,r)}next(t){this.isStopped?zc(Sh(t),this):this._next(t)}error(t){this.isStopped?zc(_h(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?zc(Th,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},CE=Function.prototype.bind;function Hc(e,t){return CE.call(e,t)}var Gc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Gi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Gi(r)}else Gi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Gi(n)}}},Qe=class extends Mn{constructor(t,n,r){super();let o;if(S(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Hc(t.next,i),error:t.error&&Hc(t.error,i),complete:t.complete&&Hc(t.complete,i)}):o=t}this.destination=new Gc(o)}};function Gi(e){Ye.useDeprecatedSynchronousErrorHandling?Mh(e):zi(e)}function bE(e){throw e}function zc(e,t){let{onStoppedNotification:n}=Ye;n&&hr.setTimeout(()=>n(e,t))}var TE={closed:!0,next:mo,error:bE,complete:mo};var gr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function qc(...e){return Wc(e)}function Wc(e){return e.length===0?we:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var k=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=SE(n)?n:new Qe(n,r,o);return pr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Nh(r),new r((o,i)=>{let s=new Qe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[gr](){return this}pipe(...n){return Wc(n)(this)}toPromise(n){return n=Nh(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Nh(e){var t;return(t=e??Ye.Promise)!==null&&t!==void 0?t:Promise}function _E(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function SE(e){return e&&e instanceof Mn||_E(e)&&Hi(e)}var Rh=fr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new qi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Rh}next(n){pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Uc:(this.currentObservers=null,i.push(n),new K(()=>{this.currentObservers=null,_n(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new k;return n.source=this,n}}return e.create=(t,n)=>new qi(t,n),e})(),qi=class extends J{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Uc}};var ge=class extends J{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function xh(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=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,t||[])).next())})}function Ah(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.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(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Nn(e){return this instanceof Nn?(this.v=e,this):new Nn(e)}function Oh(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),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(E){return new Promise(function(D,v){i.push([f,E,D,v])>1||c(f,E)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(E){h(i[0][3],E)}}function u(f){f.value instanceof Nn?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 Ph(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ah=="function"?Ah(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[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 mr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Wi(e){return S(e?.then)}function Zi(e){return S(e[gr])}function Yi(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function Qi(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 ME(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ki=ME();function Ji(e){return S(e?.[Ki])}function Xi(e){return Oh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Nn(n.read());if(o)return yield Nn(void 0);yield yield Nn(r)}}finally{n.releaseLock()}})}function es(e){return S(e?.getReader)}function V(e){if(e instanceof k)return e;if(e!=null){if(Zi(e))return NE(e);if(mr(e))return RE(e);if(Wi(e))return AE(e);if(Yi(e))return kh(e);if(Ji(e))return xE(e);if(es(e))return OE(e)}throw Qi(e)}function NE(e){return new k(t=>{let n=e[gr]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function RE(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function AE(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zi)})}function xE(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function kh(e){return new k(t=>{PE(e,t).catch(n=>t.error(n))})}function OE(e){return kh(Xi(e))}function PE(e,t){var n,r,o,i;return xh(this,void 0,void 0,function*(){try{for(n=Ph(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Zc(e){return S(e?.lift)}function A(e){return t=>{if(Zc(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function N(e,t,n,r,o){return new Yc(e,t,n,r,o)}var Yc=class extends Mn{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function fe(e,t){return A((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(N(r,c=>{o?.unsubscribe();let u=0,l=i++;V(e(c,l)).subscribe(o=N(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function yr(){return A((e,t)=>{let n=null;e._refCount++;let r=N(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var vr=class extends k{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Zc(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new K;let n=this.getSubject();t.add(this.source.subscribe(N(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=K.EMPTY)}return t}refCount(){return yr()(this)}};var yo={now(){return(yo.delegate||Date).now()},delegate:void 0};var ts=class extends J{constructor(t=1/0,n=1/0,r=yo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var ns=class extends K{constructor(t,n){super()}schedule(t,n=0){return this}};var vo={setInterval(e,t,...n){let{delegate:r}=vo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=vo;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var rs=class extends ns{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return vo.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&vo.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}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:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,_n(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Dr=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Dr.now=yo.now;var os=class extends Dr{constructor(t,n=Dr.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Do=new os(rs),Fh=Do;var ye=new k(e=>e.complete());function is(e){return e&&S(e.schedule)}function Qc(e){return e[e.length-1]}function ss(e){return S(Qc(e))?e.pop():void 0}function ht(e){return is(Qc(e))?e.pop():void 0}function Lh(e,t){return typeof Qc(e)=="number"?e.pop():t}function Re(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function as(e,t=0){return A((n,r)=>{n.subscribe(N(r,o=>Re(r,e,()=>r.next(o),t),()=>Re(r,e,()=>r.complete(),t),o=>Re(r,e,()=>r.error(o),t)))})}function cs(e,t=0){return A((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function jh(e,t){return V(e).pipe(cs(t),as(t))}function Bh(e,t){return V(e).pipe(cs(t),as(t))}function Vh(e,t){return new k(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Uh(e,t){return new k(n=>{let r;return Re(n,t,()=>{r=e[Ki](),Re(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function us(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(n=>{Re(n,t,()=>{let r=e[Symbol.asyncIterator]();Re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function $h(e,t){return us(Xi(e),t)}function Hh(e,t){if(e!=null){if(Zi(e))return jh(e,t);if(mr(e))return Vh(e,t);if(Wi(e))return Bh(e,t);if(Yi(e))return us(e,t);if(Ji(e))return Uh(e,t);if(es(e))return $h(e,t)}throw Qi(e)}function W(e,t){return t?Hh(e,t):V(e)}function _(...e){let t=ht(e);return W(e,t)}function Er(e,t){let n=S(e)?e:()=>e,r=o=>o.error(n());return new k(t?o=>t.schedule(r,0,o):r)}function Kc(e){return!!e&&(e instanceof k||S(e.lift)&&S(e.subscribe))}var Pe=fr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function kE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new Pe)}})})}function FE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Qe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Pe)}});e.subscribe(i)})}function zh(e){return e instanceof Date&&!isNaN(e)}function x(e,t){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:LE}=Array;function jE(e,t){return LE(t)?e(...t):e(t)}function Ir(e){return x(t=>jE(e,t))}var{isArray:BE}=Array,{getPrototypeOf:VE,prototype:UE,keys:$E}=Object;function ls(e){if(e.length===1){let t=e[0];if(BE(t))return{args:t,keys:null};if(HE(t)){let n=$E(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function HE(e){return e&&typeof e=="object"&&VE(e)===UE}function ds(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Eo(...e){let t=ht(e),n=ss(e),{args:r,keys:o}=ls(e);if(r.length===0)return W([],t);let i=new k(zE(r,t,o?s=>ds(o,s):we));return n?i.pipe(Ir(n)):i}function zE(e,t,n=we){return r=>{Gh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Gh(t,()=>{let u=W(e[c],t),l=!1;u.subscribe(N(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Gh(e,t,n){e?Re(n,e,t):t()}function qh(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=E=>u<r?g(E):c.push(E),g=E=>{i&&t.next(E),u++;let D=!1;V(n(E,l++)).subscribe(N(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){let v=c.shift();s?Re(t,s,()=>g(v)):g(v)}h()}catch(v){t.error(v)}}))};return e.subscribe(N(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Y(e,t,n=1/0){return S(t)?Y((r,o)=>x((i,s)=>t(r,i,o,s))(V(e(r,o))),n):(typeof t=="number"&&(n=t),A((r,o)=>qh(r,o,e,n)))}function Jt(e=1/0){return Y(we,e)}function Wh(){return Jt(1)}function wr(...e){return Wh()(W(e,ht(e)))}function Io(e){return new k(t=>{V(e()).subscribe(t)})}function GE(...e){let t=ss(e),{args:n,keys:r}=ls(e),o=new k(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;V(n[l]).subscribe(N(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?ds(r,a):a),i.complete())}))}});return t?o.pipe(Ir(t)):o}var qE=["addListener","removeListener"],WE=["addEventListener","removeEventListener"],ZE=["on","off"];function Jc(e,t,n,r){if(S(n)&&(r=n,n=void 0),r)return Jc(e,t,n).pipe(Ir(r));let[o,i]=KE(e)?WE.map(s=>a=>e[s](t,a,n)):YE(e)?qE.map(Zh(e,t)):QE(e)?ZE.map(Zh(e,t)):[];if(!o&&mr(e))return Y(s=>Jc(s,t,n))(V(e));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Zh(e,t){return n=>r=>e[n](t,r)}function YE(e){return S(e.addListener)&&S(e.removeListener)}function QE(e){return S(e.on)&&S(e.off)}function KE(e){return S(e.addEventListener)&&S(e.removeEventListener)}function Yh(e=0,t,n=Fh){let r=-1;return t!=null&&(is(t)?n=t:r=t),new k(o=>{let i=zh(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function JE(...e){let t=ht(e),n=Lh(e,1/0),r=e;return r.length?r.length===1?V(r[0]):Jt(n)(W(r,t)):ye}function ae(e,t){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Qh(e){return A((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(N(n,u=>{r=!0,o=u,i||V(e(u)).subscribe(i=N(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function XE(e,t=Do){return Qh(()=>Yh(e,t))}function pt(e){return A((t,n)=>{let r=null,o=!1,i;r=t.subscribe(N(n,void 0,void 0,s=>{i=V(e(s,pt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Kh(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(N(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 gt(e,t){return S(t)?Y(e,t,1):Y(e,1)}function Jh(e,t=Do){return A((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(N(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Xt(e){return A((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function mt(e){return e<=0?()=>ye:A((t,n)=>{let r=0;t.subscribe(N(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function eI(e){return x(()=>e)}function Xh(e,t=we){return e=e??tI,A((n,r)=>{let o,i=!0;n.subscribe(N(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function tI(e,t){return e===t}function fs(e=nI){return A((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function nI(){return new Pe}function Rn(e){return A((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function yt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):we,mt(1),n?Xt(t):fs(()=>new Pe))}function Cr(e){return e<=0?()=>ye:A((t,n)=>{let r=[];t.subscribe(N(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Xc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):we,Cr(1),n?Xt(t):fs(()=>new Pe))}function rI(){return A((e,t)=>{let n,r=!1;e.subscribe(N(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function eu(e,t){return A(Kh(e,t,arguments.length>=2,!0))}function nu(e={}){let{connector:t=()=>new J,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},g=()=>{let E=s;f(),E?.unsubscribe()};return A((E,D)=>{u++,!d&&!l&&h();let v=c=c??t();D.add(()=>{u--,u===0&&!d&&!l&&(a=tu(g,o))}),v.subscribe(D),!s&&u>0&&(s=new Qe({next:L=>v.next(L),error:L=>{d=!0,h(),a=tu(f,n,L),v.error(L)},complete:()=>{l=!0,h(),a=tu(f,r),v.complete()}}),V(E).subscribe(s))})(i)}}function tu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Qe({next:()=>{r.unsubscribe(),e()}});return V(t(...n)).subscribe(r)}function ep(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,nu({connector:()=>new ts(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function oI(e){return ae((t,n)=>e<=n)}function hs(...e){let t=ht(e);return A((n,r)=>{(t?wr(e,n,t):wr(e,n)).subscribe(r)})}function ps(e){return A((t,n)=>{V(e).subscribe(N(n,()=>n.complete(),mo)),!n.closed&&t.subscribe(n)})}function iI(e,t=!1){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function he(e,t,n){let r=S(e)||t||n?{next:e,error:t,complete:n}:e;return r?A((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(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)}))}):we}var ru;function gs(){return ru}function vt(e){let t=ru;return ru=e,t}var tp=Symbol("NotFound");function br(e){return e===tp||e?.name==="\u0275NotFound"}var ve=null,ms=!1,ou=1,sI=null,ce=Symbol("SIGNAL");function R(e){let t=ve;return ve=e,t}function Es(){return ve}var An={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 xn(e){if(ms)throw new Error("");if(ve===null)return;ve.consumerOnSignalRead(e);let t=ve.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ve.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ve.producers,n!==void 0&&n.producer===e)){ve.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ve&&(!r||cI(o,ve)))return;let i=Tr(ve),s={producer:e,consumer:ve,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ve.producersTail=s,t!==void 0?t.nextProducer=s:ve.producers=s,i&&ip(e,s)}function np(){ou++}function Is(e){if(!(Tr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ou)){if(!e.producerMustRecompute(e)&&!Pn(e)){Ds(e);return}e.producerRecomputeValue(e),Ds(e)}}function iu(e){if(e.consumers===void 0)return;let t=ms;ms=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||aI(r)}}finally{ms=t}}function su(){return ve?.consumerAllowSignalWrites!==!1}function aI(e){e.dirty=!0,iu(e),e.consumerMarkedDirty?.(e)}function Ds(e){e.dirty=!1,e.lastCleanEpoch=ou}function en(e){return e&&rp(e),R(e)}function rp(e){e.producersTail=void 0,e.recomputing=!0}function On(e,t){R(t),e&&op(e)}function op(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Tr(e))do n=au(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Pn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Is(n),r!==n.version))return!0}return!1}function tn(e){if(Tr(e)){let t=e.producers;for(;t!==void 0;)t=au(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ip(e,t){let n=e.consumersTail,r=Tr(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)ip(o.producer,o)}function au(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Tr(t)){let i=t.producers;for(;i!==void 0;)i=au(i)}return n}function Tr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ws(e){sI?.(e)}function cI(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Cs(e,t){return Object.is(e,t)}function Co(e,t){let n=Object.create(uI);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Is(n),xn(n),n.value===wo)throw n.error;return n.value};return r[ce]=n,ws(n),r}var ys=Symbol("UNSET"),vs=Symbol("COMPUTING"),wo=Symbol("ERRORED"),uI=F(y({},An),{value:ys,dirty:!0,error:null,equal:Cs,kind:"computed",producerMustRecompute(e){return e.value===ys||e.value===vs},producerRecomputeValue(e){if(e.value===vs)throw new Error("");let t=e.value;e.value=vs;let n=en(e),r,o=!1;try{r=e.computation(),R(null),o=t!==ys&&t!==wo&&r!==wo&&e.equal(t,r)}catch(i){r=wo,e.error=i}finally{On(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function lI(){throw new Error}var sp=lI;function ap(e){sp(e)}function cu(e){sp=e}var dI=null;function uu(e,t){let n=Object.create(bo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>cp(n);return r[ce]=n,ws(n),[r,s=>_r(n,s),s=>lu(n,s)]}function cp(e){return xn(e),e.value}function _r(e,t){su()||ap(e),e.equal(e.value,t)||(e.value=t,fI(e))}function lu(e,t){su()||ap(e),_r(e,t(e.value))}var bo=F(y({},An),{equal:Cs,value:void 0,kind:"signal"});function fI(e){e.version++,np(),iu(e),dI?.(e)}function up(e){let t=R(null);try{return e()}finally{R(t)}}var lp=F(y({},An),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function dp(e){if(e.dirty=!1,e.version>0&&!Pn(e))return;e.version++;let t=en(e);try{e.cleanup(),e.fn()}finally{On(e,t)}}var Ss="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(Ft(t,n)),this.code=t}};function hI(e){return`NG0${Math.abs(e)}`}function Ft(e,t){return`${hI(e)}${t?": "+t:""}`}var Ue=globalThis;function B(e){for(let t in e)if(e[t]===B)return t;throw Error("")}function pp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function kt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(kt).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
- `);return r>=0?n.slice(0,r):n}function Ms(e,t){return e?t?`${e} ${t}`:e:t||""}var pI=B({__forward_ref__:B});function Ns(e){return e.__forward_ref__=Ns,e.toString=function(){return kt(this())},e}function ue(e){return Iu(e)?e():e}function Iu(e){return typeof e=="function"&&e.hasOwnProperty(pI)&&e.__forward_ref__===Ns}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function No(e){return gI(e,Rs)}function wu(e){return No(e)!==null}function gI(e,t){return e.hasOwnProperty(t)&&e[t]||null}function mI(e){let t=e?.[Rs]??null;return t||null}function fu(e){return e&&e.hasOwnProperty(Ts)?e[Ts]:null}var Rs=B({\u0275prov:B}),Ts=B({\u0275inj:B}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Cu(e){return e&&!!e.\u0275providers}var bu=B({\u0275cmp:B}),Tu=B({\u0275dir:B}),_u=B({\u0275pipe:B}),Su=B({\u0275mod:B}),_o=B({\u0275fac:B}),Bn=B({__NG_ELEMENT_ID__:B}),fp=B({__NG_ENV_ID__:B});function on(e){return typeof e=="string"?e:e==null?"":String(e)}function gp(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 mp=B({ngErrorCode:B}),yI=B({ngErrorMessage:B}),vI=B({ngTokenPath:B});function Mu(e,t){return yp("",-200,t)}function As(e,t){throw new m(-201,!1)}function yp(e,t,n){let r=new m(t,e);return r[mp]=t,r[yI]=e,n&&(r[vI]=n),r}function DI(e){return e[mp]}var hu;function vp(){return hu}function Ce(e){let t=hu;return hu=e,t}function Nu(e,t,n){let r=No(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;As(e,"Injector")}var EI={},kn=EI,II="__NG_DI_FLAG__",pu=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Fn(n)||0;try{return this.injector.get(t,r&8?null:kn,r)}catch(o){if(br(o))return o;throw o}}};function wI(e,t=0){let n=gs();if(n===void 0)throw new m(-203,!1);if(n===null)return Nu(e,void 0,t);{let r=CI(t),o=n.retrieve(e,r);if(br(o)){if(r.optional)return null;throw o}return o}}function C(e,t=0){return(vp()||wI)(ue(e),t)}function p(e,t){return C(e,Fn(t))}function Fn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function CI(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function gu(e){let t=[];for(let n=0;n<e.length;n++){let r=ue(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=bI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(C(o,i))}else t.push(C(r))}return t}function bI(e){return e[II]}function nn(e,t){let n=e.hasOwnProperty(_o);return n?e[_o]:null}function Dp(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Ep(e){return e.flat(Number.POSITIVE_INFINITY)}function xs(e,t){e.forEach(n=>Array.isArray(n)?xs(n,t):t(n))}function Ru(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ro(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ip(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function wp(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Os(e,t,n){let r=Mr(e,t);return r>=0?e[r|1]=n:(r=~r,wp(e,r,t,n)),r}function Ps(e,t){let n=Mr(e,t);if(n>=0)return e[n|1]}function Mr(e,t){return TI(e,t,1)}function TI(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Ke={},De=[],Dt=new I(""),Au=new I("",-1),xu=new I(""),So=class{get(t,n=kn){if(n===kn){let o=yp("",-201);throw o.name="\u0275NotFound",o}return n}};function Ou(e){return e[Su]||null}function Et(e){return e[bu]||null}function ks(e){return e[Tu]||null}function Cp(e){return e[_u]||null}function Je(e){return{\u0275providers:e}}function bp(e){return Je([{provide:Dt,multi:!0,useValue:e}])}function Tp(...e){return{\u0275providers:Pu(!0,e),\u0275fromNgModule:!0}}function Pu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return xs(t,s=>{let a=s;_s(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&_p(o,i),n}function _p(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ku(o,i=>{t(i,r)})}}function _s(e,t,n,r){if(e=ue(e),!e)return!1;let o=null,i=fu(e),s=!i&&Et(e);if(!i&&!s){let c=e.ngModule;if(i=fu(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)_s(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{xs(i.imports,l=>{_s(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&_p(u,t)}if(!a){let u=nn(o)||(()=>new o);t({provide:o,useFactory:u,deps:De},o),t({provide:xu,useValue:o,multi:!0},o),t({provide:Dt,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ku(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ku(e,t){for(let n of e)Cu(n)&&(n=n.\u0275providers),Array.isArray(n)?ku(n,t):t(n)}var _I=B({provide:String,useValue:B});function Sp(e){return e!==null&&typeof e=="object"&&_I in e}function SI(e){return!!(e&&e.useExisting)}function MI(e){return!!(e&&e.useFactory)}function Ln(e){return typeof e=="function"}function Mp(e){return!!e.useClass}var Ao=new I(""),bs={},hp={},du;function Nr(){return du===void 0&&(du=new So),du}var te=class{},jn=class extends te{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,yu(t,s=>this.processProvider(s)),this.records.set(Au,Sr(void 0,this)),o.has("environment")&&this.records.set(te,Sr(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(xu,De,{self:!0}))}retrieve(t,n){let r=Fn(n)||0;try{return this.get(t,kn,r)}catch(o){if(br(o))return o;throw o}}destroy(){To(this),this._destroyed=!0;let t=R(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),R(t)}}onDestroy(t){return To(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){To(this);let n=vt(this),r=Ce(void 0),o;try{return t()}finally{vt(n),Ce(r)}}get(t,n=kn,r){if(To(this),t.hasOwnProperty(fp))return t[fp](this);let o=Fn(r),i,s=vt(this),a=Ce(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=OI(t)&&No(t);l&&this.injectableDefInScope(l)?u=Sr(mu(t),bs):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Nr():this.parent;return n=o&8&&n===kn?null:n,c.get(t,n)}catch(c){let u=DI(c);throw u===-200||u===-201?new m(u,null):c}finally{Ce(a),vt(s)}}resolveInjectorInitializers(){let t=R(null),n=vt(this),r=Ce(void 0),o;try{let i=this.get(Dt,De,{self:!0});for(let s of i)s()}finally{vt(n),Ce(r),R(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(kt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ue(t);let n=Ln(t)?t:ue(t&&t.provide),r=RI(t);if(!Ln(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Sr(void 0,bs,!0),o.factory=()=>gu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=R(null);try{if(n.value===hp)throw Mu(kt(t));return n.value===bs&&(n.value=hp,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&xI(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{R(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ue(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function mu(e){let t=No(e),n=t!==null?t.factory:nn(e);if(n!==null)return n;if(e instanceof I)throw new m(204,!1);if(e instanceof Function)return NI(e);throw new m(204,!1)}function NI(e){if(e.length>0)throw new m(204,!1);let n=mI(e);return n!==null?()=>n.factory(e):()=>new e}function RI(e){if(Sp(e))return Sr(void 0,e.useValue);{let t=Fu(e);return Sr(t,bs)}}function Fu(e,t,n){let r;if(Ln(e)){let o=ue(e);return nn(o)||mu(o)}else if(Sp(e))r=()=>ue(e.useValue);else if(MI(e))r=()=>e.useFactory(...gu(e.deps||[]));else if(SI(e))r=(o,i)=>C(ue(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ue(e&&(e.useClass||e.provide));if(AI(e))r=()=>new o(...gu(e.deps));else return nn(o)||mu(o)}return r}function To(e){if(e.destroyed)throw new m(205,!1)}function Sr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function AI(e){return!!e.deps}function xI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function OI(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function yu(e,t){for(let n of e)Array.isArray(n)?yu(n,t):n&&Cu(n)?yu(n.\u0275providers,t):t(n)}function pe(e,t){let n;e instanceof jn?(To(e),n=e):n=new pu(e);let r,o=vt(n),i=Ce(void 0);try{return t()}finally{vt(o),Ce(i)}}function Np(){return vp()!==void 0||gs()!=null}var Xe=0,T=1,M=2,le=3,$e=4,be=5,Vn=6,Rr=7,X=8,sn=9,It=10,$=11,Ar=12,Lu=13,Un=14,Ee=15,an=16,$n=17,wt=18,xo=19,ju=20,Pt=21,Fs=22,jt=23,ke=24,Hn=25,zn=26,z=27,Rp=1,Bu=6,cn=7,Oo=8,Gn=9,re=10;function Ct(e){return Array.isArray(e)&&typeof e[Rp]=="object"}function et(e){return Array.isArray(e)&&e[Rp]===!0}function Vu(e){return(e.flags&4)!==0}function un(e){return e.componentOffset>-1}function xr(e){return(e.flags&1)===1}function tt(e){return!!e.template}function Or(e){return(e[M]&512)!==0}function qn(e){return(e[M]&256)===256}var Uu="svg",Ap="math";function He(e){for(;Array.isArray(e);)e=e[Xe];return e}function $u(e,t){return He(t[e])}function nt(e,t){return He(t[e.index])}function Po(e,t){return e.data[t]}function ko(e,t){return e[t]}function Hu(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ze(e,t){let n=t[e];return Ct(n)?n:n[Xe]}function xp(e){return(e[M]&4)===4}function Ls(e){return(e[M]&128)===128}function Op(e){return et(e[le])}function Ge(e,t){return t==null?null:e[t]}function zu(e){e[$n]=0}function Gu(e){e[M]&1024||(e[M]|=1024,Ls(e)&&ln(e))}function Pp(e,t){for(;e>0;)t=t[Un],e--;return t}function Fo(e){return!!(e[M]&9216||e[ke]?.dirty)}function js(e){e[It].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),Fo(e)&&ln(e)}function ln(e){e[It].changeDetectionScheduler?.notify(0);let t=rn(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!Ls(t)));)t=rn(t)}function qu(e,t){if(qn(e))throw new m(911,!1);e[Pt]===null&&(e[Pt]=[]),e[Pt].push(t)}function kp(e,t){if(e[Pt]===null)return;let n=e[Pt].indexOf(t);n!==-1&&e[Pt].splice(n,1)}function rn(e){let t=e[le];return et(t)?t[le]:t}function Wu(e){return e[Rr]??=[]}function Zu(e){return e.cleanup??=[]}function Fp(e,t,n,r){let o=Wu(t);o.push(n),e.firstCreatePass&&Zu(e).push(r,o.length-1)}var O={lFrame:Qp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var vu=!1;function Lp(){return O.lFrame.elementDepthCount}function jp(){O.lFrame.elementDepthCount++}function Yu(){O.lFrame.elementDepthCount--}function Bs(){return O.bindingsEnabled}function Qu(){return O.skipHydrationRootTNode!==null}function Ku(e){return O.skipHydrationRootTNode===e}function Ju(){O.skipHydrationRootTNode=null}function b(){return O.lFrame.lView}function q(){return O.lFrame.tView}function Bp(e){return O.lFrame.contextLView=e,e[X]}function Vp(e){return O.lFrame.contextLView=null,e}function oe(){let e=Xu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Xu(){return O.lFrame.currentTNode}function Up(){let e=O.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Pr(e,t){let n=O.lFrame;n.currentTNode=e,n.isParent=t}function el(){return O.lFrame.isParent}function tl(){O.lFrame.isParent=!1}function $p(){return O.lFrame.contextLView}function nl(){return vu}function kr(e){let t=vu;return vu=e,t}function Fr(){let e=O.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Hp(){return O.lFrame.bindingIndex}function zp(e){return O.lFrame.bindingIndex=e}function dn(){return O.lFrame.bindingIndex++}function Vs(e){let t=O.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gp(){return O.lFrame.inI18n}function qp(e,t){let n=O.lFrame;n.bindingIndex=n.bindingRootIndex=e,Us(t)}function Wp(){return O.lFrame.currentDirectiveIndex}function Us(e){O.lFrame.currentDirectiveIndex=e}function Zp(e){let t=O.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $s(){return O.lFrame.currentQueryIndex}function Lo(e){O.lFrame.currentQueryIndex=e}function PI(e){let t=e[T];return t.type===2?t.declTNode:t.type===1?e[be]:null}function rl(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=PI(i),o===null||(i=i[Un],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=O.lFrame=Yp();return r.currentTNode=t,r.lView=e,!0}function Hs(e){let t=Yp(),n=e[T];O.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Yp(){let e=O.lFrame,t=e===null?null:e.child;return t===null?Qp(e):t}function Qp(e){let t={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=t),t}function Kp(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ol=Kp;function zs(){let e=Kp();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 Jp(e){return(O.lFrame.contextLView=Pp(e,O.lFrame.contextLView))[X]}function bt(){return O.lFrame.selectedIndex}function fn(e){O.lFrame.selectedIndex=e}function jo(){let e=O.lFrame;return Po(e.tView,e.selectedIndex)}function Xp(){O.lFrame.currentNamespace=Uu}function eg(){kI()}function kI(){O.lFrame.currentNamespace=null}function tg(){return O.lFrame.currentNamespace}var ng=!0;function Gs(){return ng}function Bo(e){ng=e}function Du(e,t=null,n=null,r){let o=il(e,t,n,r);return o.resolveInjectorInitializers(),o}function il(e,t=null,n=null,r,o=new Set){let i=[n||De,Tp(e)];return r=r||(typeof e=="object"?void 0:kt(e)),new jn(i,t||Nr(),r||null,o)}var me=class e{static THROW_IF_NOT_FOUND=kn;static NULL=new So;static create(t,n){if(Array.isArray(t))return Du({name:""},n,t,"");{let r=t.name??"";return Du({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>C(Au)});static __NG_ELEMENT_ID__=-1},Z=new I(""),qe=(()=>{class e{static __NG_ELEMENT_ID__=FI;static __NG_ENV_ID__=n=>n}return e})(),Mo=class extends qe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return qn(this._lView)}onDestroy(t){let n=this._lView;return qu(n,t),()=>kp(n,t)}};function FI(){return new Mo(b())}var Be=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Te=new I("",{providedIn:"root",factory:()=>{let e=p(te),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Be),t.handleError(n))}}}),rg={provide:Dt,useValue:()=>void p(Be),multi:!0},LI=new I("",{providedIn:"root",factory:()=>{let e=p(Z).defaultView;if(!e)return;let t=p(Te),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(qe).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function jI(){return Je([bp(()=>void p(LI))])}function sl(e){return typeof e=="function"&&e[ce]!==void 0}function Wn(e,t){let[n,r,o]=uu(e,t?.equal),i=n,s=i[ce];return i.set=r,i.update=o,i.asReadonly=al.bind(i),i}function al(){let e=this[ce];if(e.readonlyFn===void 0){let t=()=>this();t[ce]=e,e.readonlyFn=t}return e.readonlyFn}function cl(e){return sl(e)&&typeof e.set=="function"}var Ve=class{},Lr=new I("",{providedIn:"root",factory:()=>!1});var ul=new I(""),ll=new I("");var Zn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=BI}return e})();function BI(){return new Zn(b(),oe())}var Tt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ge(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),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=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vo=(()=>{class e{internalPendingTasks=p(Tt);scheduler=p(Ve);errorHandler=p(Te);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();function Yn(...e){}var Uo=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new Eu})}return e})(),Eu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Ko(e){return{toString:e}.toString()}function GI(e){return typeof e=="function"}var na=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Vg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var zr=(()=>{let e=()=>Ug;return e.ngInherit=!0,e})();function Ug(e){return e.type.prototype.ngOnChanges&&(e.setInput=WI),qI}function qI(){let e=Hg(this),t=e?.current;if(t){let n=e.previous;if(n===Ke)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function WI(e,t,n,r,o){let i=this.declaredInputs[r],s=Hg(e)||ZI(e,{previous:Ke,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new na(u&&u.currentValue,n,c===Ke),Vg(e,t,o,n)}var $g="__ngSimpleChanges__";function Hg(e){return e[$g]||null}function ZI(e,t){return e[$g]=t}var og=[];var U=function(e,t=null,n){for(let r=0;r<og.length;r++){let o=og[r];o(e,t,n)}};function YI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Ug(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function zg(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Ks(e,t,n){Gg(e,t,3,n)}function Js(e,t,n,r){(e[M]&3)===n&&Gg(e,t,n,r)}function dl(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function Gg(e,t,n,r){let o=r!==void 0?e[$n]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[$n]+=65536),(a<i||i==-1)&&(QI(e,n,t,c),e[$n]=(e[$n]&4294901760)+c+2),c++}function ig(e,t){U(4,e,t);let n=R(null);try{t.call(e)}finally{R(n),U(5,e,t)}}function QI(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[M]>>14<e[$n]>>16&&(e[M]&3)===t&&(e[M]+=16384,ig(a,i)):ig(a,i)}var Br=-1,Kn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function KI(e){return(e.flags&8)!==0}function JI(e){return(e.flags&16)!==0}function XI(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];ew(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function qg(e){return e===3||e===4||e===6}function ew(e){return e.charCodeAt(0)===64}function Vr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?sg(e,n,o,null,t[++r]):sg(e,n,o,null,null))}}return e}function sg(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Wg(e){return e!==Br}function ra(e){return e&32767}function tw(e){return e>>16}function oa(e,t){let n=tw(e),r=t;for(;n>0;)r=r[Un],n--;return r}var wl=!0;function ia(e){let t=wl;return wl=e,t}var nw=256,Zg=nw-1,Yg=5,rw=0,_t={};function ow(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Bn)&&(r=n[Bn]),r==null&&(r=n[Bn]=rw++);let o=r&Zg,i=1<<o;t.data[e+(o>>Yg)]|=i}function sa(e,t){let n=Qg(e,t);if(n!==-1)return n;let r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,fl(r.data,e),fl(t,null),fl(r.blueprint,null));let o=ad(e,t),i=e.injectorIndex;if(Wg(o)){let s=ra(o),a=oa(o,t),c=a[T].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function fl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ad(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=tm(o),r===null)return Br;if(n++,o=o[Un],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Br}function Cl(e,t,n){ow(e,t,n)}function iw(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(qg(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Kg(e,t,n){if(n&8||e!==void 0)return e;As(t,"NodeInjector")}function Jg(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[sn],i=Ce(void 0);try{return o?o.get(t,r,n&8):Nu(t,r,n&8)}finally{Ce(i)}}return Kg(r,t,n)}function Xg(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=uw(e,t,n,r,_t);if(s!==_t)return s}let i=em(e,t,n,r,_t);if(i!==_t)return i}return Jg(t,n,r,o)}function em(e,t,n,r,o){let i=aw(n);if(typeof i=="function"){if(!rl(t,e,r))return r&1?Kg(o,n,r):Jg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))As(n);else return s}finally{ol()}}else if(typeof i=="number"){let s=null,a=Qg(e,t),c=Br,u=r&1?t[Ee][be]:null;for((a===-1||r&4)&&(c=a===-1?ad(e,t):t[a+8],c===Br||!cg(r,!1)?a=-1:(s=t[T],a=ra(c),t=oa(c,t)));a!==-1;){let l=t[T];if(ag(i,a,l.data)){let d=sw(a,t,n,s,r,u);if(d!==_t)return d}c=t[a+8],c!==Br&&cg(r,t[T].data[a+8]===u)&&ag(i,a,t)?(s=l,a=ra(c),t=oa(c,t)):a=-1}}return o}function sw(e,t,n,r,o,i){let s=t[T],a=s.data[e+8],c=r==null?un(a)&&wl:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Xs(a,s,n,c,u);return l!==null?zo(t,s,l,a,o):_t}function Xs(e,t,n,r,o){let i=e.providerIndexes,s=t.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];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&tt(f)&&f.type===n)return c}return null}function zo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Kn){let a=i;if(a.resolving){let f=gp(s[n]);throw Mu(f)}let c=ia(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?Ce(a.injectImpl):null,h=rl(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&YI(n,s[n],t)}finally{d!==null&&Ce(d),ia(c),a.resolving=!1,ol()}}return i}function aw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Bn)?e[Bn]:void 0;return typeof t=="number"?t>=0?t&Zg:cw:t}function ag(e,t,n){let r=1<<e;return!!(n[t+(e>>Yg)]&r)}function cg(e,t){return!(e&2)&&!(e&1&&t)}var Qn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Xg(this._tNode,this._lView,t,Fn(r),n)}};function cw(){return new Qn(oe(),b())}function wa(e){return Ko(()=>{let t=e.prototype.constructor,n=t[_o]||bl(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[_o]||bl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function bl(e){return Iu(e)?()=>{let t=bl(ue(e));return t&&t()}:nn(e)}function uw(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!Or(s);){let a=em(i,s,n,r|2,_t);if(a!==_t)return a;let c=i.parent;if(!c){let u=s[ju];if(u){let l=u.get(n,_t,r);if(l!==_t)return l}c=tm(s),s=s[Un]}i=c}return o}function tm(e){let t=e[T],n=t.type;return n===2?t.declTNode:n===1?e[be]:null}function Ca(e){return iw(oe(),e)}function lw(){return Gr(oe(),b())}function Gr(e,t){return new Ut(nt(e,t))}var Ut=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=lw}return e})();function nm(e){return e instanceof Ut?e.nativeElement:e}function dw(){return this._results[Symbol.iterator]()}var aa=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 J}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Ep(t);(this._changesDetected=!Dp(this._results,r,n))&&(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(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=dw};function rm(e){return(e.flags&128)===128}var cd=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(cd||{}),om=new Map,fw=0;function hw(){return fw++}function pw(e){om.set(e[xo],e)}function Tl(e){om.delete(e[xo])}var ug="__ngContext__";function Ur(e,t){Ct(t)?(e[ug]=t[xo],pw(t)):e[ug]=t}function im(e){return am(e[Ar])}function sm(e){return am(e[$e])}function am(e){for(;e!==null&&!et(e);)e=e[$e];return e}var _l;function ud(e){_l=e}function ld(){if(_l!==void 0)return _l;if(typeof document<"u")return document;throw new m(210,!1)}var ba=new I("",{providedIn:"root",factory:()=>gw}),gw="ng",Ta=new I(""),qr=new I("",{providedIn:"platform",factory:()=>"unknown"});var mw=new I(""),_a=new I("",{providedIn:"root",factory:()=>ld().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var yw="h",vw="b";var cm="r";var um="di";var lm=!1,dm=new I("",{providedIn:"root",factory:()=>lm});var Sa=new I("");var Dw=(e,t,n,r)=>{};function Ew(e,t,n,r){Dw(e,t,n,r)}function Ma(e){return(e.flags&32)===32}var Iw=()=>null;function fm(e,t,n=!1){return Iw(e,t,n)}function hm(e,t){let n=e.contentQueries;if(n!==null){let r=R(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Lo(i),a.contentQueries(2,t[s],s)}}}finally{R(r)}}}function Sl(e,t,n){Lo(0);let r=R(null);try{t(e,n)}finally{R(r)}}function dd(e,t,n){if(Vu(t)){let r=R(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{R(r)}}}var Bt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Bt||{}),qs;function ww(){if(qs===void 0&&(qs=null,Ue.trustedTypes))try{qs=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return qs}function Na(e){return ww()?.createHTML(e)||e}var Ws;function Cw(){if(Ws===void 0&&(Ws=null,Ue.trustedTypes))try{Ws=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ws}function lg(e){return Cw()?.createHTML(e)||e}var Vt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ss})`}},Ml=class extends Vt{getTypeName(){return"HTML"}},Nl=class extends Vt{getTypeName(){return"Style"}},Rl=class extends Vt{getTypeName(){return"Script"}},Al=class extends Vt{getTypeName(){return"URL"}},xl=class extends Vt{getTypeName(){return"ResourceURL"}};function We(e){return e instanceof Vt?e.changingThisBreaksApplicationSecurity:e}function $t(e,t){let n=pm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ss})`)}return n===t}function pm(e){return e instanceof Vt&&e.getTypeName()||null}function fd(e){return new Ml(e)}function hd(e){return new Nl(e)}function pd(e){return new Rl(e)}function gd(e){return new Al(e)}function md(e){return new xl(e)}function bw(e){let t=new Pl(e);return Tw()?new Ol(t):t}var Ol=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Na(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Pl=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Na(t),n}};function Tw(){try{return!!new window.DOMParser().parseFromString(Na(""),"text/html")}catch{return!1}}var _w=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jo(e){return e=String(e),e.match(_w)?e:"unsafe:"+e}function Ht(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Xo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var gm=Ht("area,br,col,hr,img,wbr"),mm=Ht("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ym=Ht("rp,rt"),Sw=Xo(ym,mm),Mw=Xo(mm,Ht("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")),Nw=Xo(ym,Ht("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")),dg=Xo(gm,Mw,Nw,Sw),vm=Ht("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Rw=Ht("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"),Aw=Ht("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"),xw=Xo(vm,Rw,Aw),Ow=Ht("script,style,template"),kl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Fw(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=kw(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=fg(t).toLowerCase();if(!dg.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ow.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!xw.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;vm[a]&&(c=Jo(c)),this.buf.push(" ",s,'="',hg(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=fg(t).toLowerCase();dg.hasOwnProperty(n)&&!gm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(hg(t))}};function Pw(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function kw(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Dm(t);return t}function Fw(e){let t=e.firstChild;if(t&&Pw(e,t))throw Dm(t);return t}function fg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Dm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Lw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jw=/([^\#-~ |!])/g;function hg(e){return e.replace(/&/g,"&amp;").replace(Lw,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(jw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Zs;function Ra(e,t){let n=null;try{Zs=Zs||bw(e);let r=t?String(t):"";n=Zs.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=n.innerHTML,n=Zs.getInertBodyElement(r)}while(r!==i);let a=new kl().sanitizeChildren(pg(n)||n);return Na(a)}finally{if(n){let r=pg(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function pg(e){return"content"in e&&Bw(e)?e.content:null}function Bw(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var it=(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})(it||{});function Vw(e){let t=Em();return t?lg(t.sanitize(it.HTML,e)||""):$t(e,"HTML")?lg(We(e)):Ra(ld(),on(e))}function Uw(e){let t=Em();return t?t.sanitize(it.URL,e)||"":$t(e,"URL")?We(e):Jo(on(e))}function Em(){let e=b();return e&&e[It].sanitizer}var $w=/^>|^->|<!--|-->|--!>|<!-$/g,Hw=/(<|>)/g,zw="\u200B$1\u200B";function Gw(e){return e.replace($w,t=>t.replace(Hw,zw))}function qw(e){return e.ownerDocument}function Im(e){return e instanceof Function?e():e}function Ww(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var wm="ng-template";function Zw(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Ww(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(yd(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function yd(e){return e.type===4&&e.value!==wm}function Yw(e,t,n){let r=e.type===4&&!n?wm:e.value;return t===r}function Qw(e,t,n){let r=4,o=e.attrs,i=o!==null?Xw(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!rt(r)&&!rt(c))return!1;if(s&&rt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Yw(e,c,n)||c===""&&t.length===1){if(rt(r))return!1;s=!0}}else if(r&8){if(o===null||!Zw(e,o,c,n)){if(rt(r))return!1;s=!0}}else{let u=t[++a],l=Kw(c,o,yd(e),n);if(l===-1){if(rt(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(rt(r))return!1;s=!0}}}}return rt(r)||s}function rt(e){return(e&1)===0}function Kw(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return eC(t,e)}function Cm(e,t,n=!1){for(let r=0;r<t.length;r++)if(Qw(e,t[r],n))return!0;return!1}function Jw(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Xw(e){for(let t=0;t<e.length;t++){let n=e[t];if(qg(n))return t}return e.length}function eC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function tC(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];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 gg(e,t){return e?":not("+t.trim()+")":t}function nC(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!rt(s)&&(t+=gg(i,o),o=""),r=s,i=i||!rt(r);n++}return o!==""&&(t+=gg(i,o)),t}function rC(e){return e.map(nC).join(",")}function oC(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!rt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Se={};function iC(e,t){return e.createText(t)}function sC(e,t,n){e.setValue(t,n)}function aC(e,t){return e.createComment(Gw(t))}function bm(e,t,n){return e.createElement(t,n)}function ca(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Tm(e,t,n){e.appendChild(t,n)}function mg(e,t,n,r,o){r!==null?ca(e,t,n,r,o):Tm(e,t,n)}function _m(e,t,n,r){e.removeChild(null,t,n,r)}function cC(e,t,n){e.setAttribute(t,"style",n)}function uC(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Sm(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&XI(e,t,r),o!==null&&uC(e,t,o),i!==null&&cC(e,t,i)}function vd(e,t,n,r,o,i,s,a,c,u,l){let d=z+r,h=d+o,f=lC(d,h),g=typeof u=="function"?u():u;return f[T]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,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 lC(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Se);return n}function dC(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=vd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Dd(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Xe]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),zu(d),d[le]=d[Un]=e,d[X]=n,d[It]=s||e&&e[It],d[$]=a||e&&e[$],d[sn]=c||e&&e[sn]||null,d[be]=i,d[xo]=hw(),d[Vn]=l,d[ju]=u,d[Ee]=t.type==2?e[Ee]:d,d}function fC(e,t,n){let r=nt(t,e),o=dC(n),i=e[It].rendererFactory,s=Ed(e,Dd(e,o,null,Mm(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Mm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Nm(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ed(e,t){return e[Ar]?e[Lu][$e]=t:e[Ar]=t,e[Lu]=t,t}function hC(e=1){Rm(q(),b(),bt()+e,!1)}function Rm(e,t,n,r){if(!r)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ks(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Js(t,i,0,n)}fn(n)}var Aa=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Aa||{});function Fl(e,t,n,r){let o=R(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Aa.SignalBased)!==0&&(c=t[i][ce]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Vg(t,c,i,r)}finally{R(o)}}var St=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(St||{}),pC;function Id(e,t){return pC(e,t)}var ei=new Set;var Am=new I("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1})});function yg(e,t,n,r){let o=e?.[zn]?.enter;if(t!==null&&o&&o.has(n.index)){let i=r.get(Am);for(let s of o.get(n.index).animateFns)i.queue.add(s)}}function jr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;et(o)?c=o:Ct(o)&&(u=!0,o=o[Xe]);let l=He(o);e===0&&r!==null?(yg(a,r,i,n),s==null?Tm(t,r,l):ca(t,r,l,s||null,!0)):e===1&&r!==null?(yg(a,r,i,n),ca(t,r,l,s||null,!0)):e===2?vg(a,i,n,d=>{_m(t,l,u,d)}):e===3&&vg(a,i,n,()=>{t.destroyNode(l)}),c!=null&&_C(t,e,n,c,i,r,s)}}function gC(e,t){let n=e.get(Am);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t)}function mC(e,t){xm(e,t),t[Xe]=null,t[be]=null}function yC(e,t,n,r,o,i){r[Xe]=o,r[be]=t,Oa(e,r,n,1,o,i)}function xm(e,t){t[It].changeDetectionScheduler?.notify(9),Oa(e,t,t[$],2,null,null)}function vC(e){let t=e[Ar];if(!t)return hl(e[T],e);for(;t;){let n=null;if(Ct(t))n=t[Ar];else{let r=t[re];r&&(n=r)}if(!n){for(;t&&!t[$e]&&t!==e;)Ct(t)&&hl(t[T],t),t=t[le];t===null&&(t=e),Ct(t)&&hl(t[T],t),n=t&&t[$e]}t=n}}function wd(e,t){let n=e[Gn],r=n.indexOf(t);n.splice(r,1)}function xa(e,t){if(qn(t))return;let n=t[$];n.destroyNode&&Oa(e,t,n,3,null,null),vC(t)}function hl(e,t){if(qn(t))return;let n=R(null);try{t[M]&=-129,t[M]|=256,t[ke]&&tn(t[ke]),IC(e,t),EC(e,t),t[T].type===1&&t[$].destroy();let r=t[an];if(r!==null&&et(t[le])){r!==t[le]&&wd(r,t);let o=t[wt];o!==null&&o.detachView(e)}Tl(t)}finally{R(n)}}function vg(e,t,n,r){let o=e?.[zn];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);gC(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.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.running=Promise.allSettled(a),DC(e,r)}else e&&ei.delete(e),r(!1)})}function DC(e,t){let n=e[zn]?.running;if(n){n.then(()=>{e[zn].running=void 0,ei.delete(e),t(!0)});return}t(!1)}function EC(e,t){let n=e.cleanup,r=t[Rr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Rr]=null);let o=t[Pt];if(o!==null){t[Pt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[jt];if(i!==null){t[jt]=null;for(let s of i)s.destroy()}}function IC(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Kn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];U(4,a,c);try{c.call(a)}finally{U(5,a,c)}}else{U(4,o,i);try{i.call(o)}finally{U(5,o,i)}}}}}function Om(e,t,n){return wC(e,t.parent,n)}function wC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Xe];if(un(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Bt.None||o===Bt.Emulated)return null}return nt(r,n)}function Pm(e,t,n){return bC(e,t,n)}function CC(e,t,n){return e.type&40?nt(e,n):null}var bC=CC,Dg;function Cd(e,t,n,r){let o=Om(e,r,t),i=t[$],s=r.parent||t[be],a=Pm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)mg(i,o,n[c],a,!1);else mg(i,o,n,a,!1);Dg!==void 0&&Dg(i,r,t,n,o)}function $o(e,t){if(t!==null){let n=t.type;if(n&3)return nt(t,e);if(n&4)return Ll(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return $o(e,r);{let o=e[t.index];return et(o)?Ll(-1,o):He(o)}}else{if(n&128)return $o(e,t.next);if(n&32)return Id(t,e)()||He(e[t.index]);{let r=km(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=rn(e[Ee]);return $o(o,r)}else return $o(e,t.next)}}}return null}function km(e,t){if(t!==null){let r=e[Ee][be],o=t.projection;return r.projection[o]}return null}function Ll(e,t){let n=re+e+1;if(n<t.length){let r=t[n],o=r[T].firstChild;if(o!==null)return $o(r,o)}return t[cn]}function bd(e,t,n,r,o,i,s){for(;n!=null;){let a=r[sn];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Ur(He(c),r),n.flags|=2),!Ma(n))if(u&8)bd(e,t,n.child,r,o,i,!1),jr(t,e,a,o,c,n,i,r);else if(u&32){let l=Id(n,r),d;for(;d=l();)jr(t,e,a,o,d,n,i,r);jr(t,e,a,o,c,n,i,r)}else u&16?Fm(e,t,r,n,o,i):jr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Oa(e,t,n,r,o,i){bd(n,r,e.firstChild,t,o,i,!1)}function TC(e,t,n){let r=t[$],o=Om(e,n,t),i=n.parent||t[be],s=Pm(i,n,t);Fm(r,0,t,n,o,s)}function Fm(e,t,n,r,o,i){let s=n[Ee],c=s[be].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];jr(t,e,n[sn],o,l,r,i,n)}else{let u=c,l=s[le];rm(r)&&(u.flags|=128),bd(e,t,u,l,o,i,!0)}}function _C(e,t,n,r,o,i,s){let a=r[cn],c=He(r);a!==c&&jr(t,e,n,i,a,o,s);for(let u=re;u<r.length;u++){let l=r[u];Oa(l[T],l,e,t,i,a)}}function SC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:St.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=St.Important),e.setStyle(n,r,o,i))}}function Lm(e,t,n,r,o){let i=bt(),s=r&2;try{fn(-1),s&&t.length>z&&Rm(e,t,z,!1),U(s?2:0,o,n),n(r,o)}finally{fn(i),U(s?3:1,o,n)}}function Pa(e,t,n){OC(e,t,n),(n.flags&64)===64&&PC(e,t,n)}function ti(e,t,n=nt){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function MC(e,t,n,r){let i=r.get(dm,lm)||n===Bt.ShadowDom,s=e.selectRootElement(t,i);return NC(s),s}function NC(e){RC(e)}var RC=()=>null;function AC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function jm(e,t,n,r,o,i){let s=t[T];if(Md(e,s,t,n,r)){un(e)&&xC(t,e.index);return}e.type&3&&(n=AC(n)),Bm(e,t,n,r,o,i)}function Bm(e,t,n,r,o,i){if(e.type&3){let s=nt(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function xC(e,t){let n=ze(t,e);n[M]&16||(n[M]|=64)}function OC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;un(n)&&fC(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||sa(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=zo(t,e,s,n);if(Ur(c,t),i!==null&&jC(t,s-r,c,a,n,i),tt(a)){let u=ze(n.index,t);u[X]=zo(t,e,s,n)}}}function PC(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Wp();try{fn(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Us(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&kC(c,u)}}finally{fn(-1),Us(s)}}function kC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Td(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Cm(t,i.selectors,!1)&&(r??=[],tt(i)?r.unshift(i):r.push(i))}return r}function FC(e,t,n,r,o,i){let s=nt(e,t);LC(t[$],s,i,e.value,n,r,o)}function LC(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?on(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function jC(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Fl(r,n,c,u)}}function _d(e,t,n,r,o){let i=z+n,s=t[T],a=o(s,t,e,r,n);t[i]=a,Pr(e,!0);let c=e.type===2;return c?(Sm(t[$],a,e),(Lp()===0||xr(e))&&Ur(a,t),jp()):Ur(a,t),Gs()&&(!c||!Ma(e))&&Cd(s,t,a,e),e}function Sd(e){let t=e;return el()?tl():(t=t.parent,Pr(t,!1)),t}function BC(e,t){let n=e[sn];if(!n)return;let r;try{r=n.get(Te,null)}catch{r=null}r?.(t)}function Md(e,t,n,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=t.data[u];Fl(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Fl(l,u,r,o),a=!0}return a}function VC(e,t){let n=ze(t,e),r=n[T];UC(r,n);let o=n[Xe];o!==null&&n[Vn]===null&&(n[Vn]=fm(o,n[sn])),U(18),Nd(r,n,n[X]),U(19,n[X])}function UC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Nd(e,t,n){Hs(t);try{let r=e.viewQuery;r!==null&&Sl(1,r,n);let o=e.template;o!==null&&Lm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[wt]?.finishViewCreation(e),e.staticContentQueries&&hm(e,t),e.staticViewQueries&&Sl(2,e.viewQuery,n);let i=e.components;i!==null&&$C(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,zs()}}function $C(e,t){for(let n=0;n<t.length;n++)VC(e,t[n])}function ni(e,t,n,r){let o=R(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=Dd(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[an]=u;let l=e[wt];return l!==null&&(c[wt]=l.createEmbeddedView(i)),Nd(i,c,n),c}finally{R(o)}}function $r(e,t){return!t||t.firstChild===null||rm(e)}function Go(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(He(i)),et(i)&&Vm(i,r);let s=n.type;if(s&8)Go(e,t,n.child,r);else if(s&32){let a=Id(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=km(t,n);if(Array.isArray(a))r.push(...a);else{let c=rn(t[Ee]);Go(c[T],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Vm(e,t){for(let n=re;n<e.length;n++){let r=e[n],o=r[T].firstChild;o!==null&&Go(r[T],r,o,t)}e[cn]!==e[Xe]&&t.push(e[cn])}function Um(e){if(e[Hn]!==null){for(let t of e[Hn])t.impl.addSequence(t);e[Hn].length=0}}var $m=[];function HC(e){return e[ke]??zC(e)}function zC(e){let t=$m.pop()??Object.create(qC);return t.lView=e,t}function GC(e){e.lView[ke]!==e&&(e.lView=null,$m.push(e))}var qC=F(y({},An),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ln(e.lView)},consumerOnSignalRead(){this.lView[ke]=this}});function WC(e){let t=e[ke]??Object.create(ZC);return t.lView=e,t}var ZC=F(y({},An),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=rn(e.lView);for(;t&&!Hm(t[T]);)t=rn(t);t&&Gu(t)},consumerOnSignalRead(){this.lView[ke]=this}});function Hm(e){return e.type!==2}function zm(e){if(e[jt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[jt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var YC=100;function Gm(e,t=0){let r=e[It].rendererFactory,o=!1;o||r.begin?.();try{QC(e,t)}finally{o||r.end?.()}}function QC(e,t){let n=nl();try{kr(!0),jl(e,t);let r=0;for(;Fo(e);){if(r===YC)throw new m(103,!1);r++,jl(e,1)}}finally{kr(n)}}function KC(e,t,n,r){if(qn(t))return;let o=t[M],i=!1,s=!1;Hs(t);let a=!0,c=null,u=null;i||(Hm(e)?(u=HC(t),c=en(u)):Es()===null?(a=!1,u=WC(t),c=en(u)):t[ke]&&(tn(t[ke]),t[ke]=null));try{zu(t),zp(e.bindingStartIndex),n!==null&&Lm(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Ks(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Js(t,f,0,null),dl(t,0)}if(s||JC(t),zm(t),qm(t,0),e.contentQueries!==null&&hm(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Ks(t,f)}else{let f=e.contentHooks;f!==null&&Js(t,f,1),dl(t,1)}eb(e,t);let d=e.components;d!==null&&Zm(t,d,0);let h=e.viewQuery;if(h!==null&&Sl(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Ks(t,f)}else{let f=e.viewHooks;f!==null&&Js(t,f,2),dl(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Fs]){for(let f of t[Fs])f();t[Fs]=null}i||(Um(t),t[M]&=-73)}catch(l){throw i||ln(t),l}finally{u!==null&&(On(u,c),a&&GC(u)),zs()}}function qm(e,t){for(let n=im(e);n!==null;n=sm(n))for(let r=re;r<n.length;r++){let o=n[r];Wm(o,t)}}function JC(e){for(let t=im(e);t!==null;t=sm(t)){if(!(t[M]&2))continue;let n=t[Gn];for(let r=0;r<n.length;r++){let o=n[r];Gu(o)}}}function XC(e,t,n){U(18);let r=ze(t,e);Wm(r,n),U(19,r[X])}function Wm(e,t){Ls(e)&&jl(e,t)}function jl(e,t){let r=e[T],o=e[M],i=e[ke],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Pn(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)KC(r,e,r.template,e[X]);else if(o&8192){let a=R(null);try{zm(e),qm(e,1);let c=r.components;c!==null&&Zm(e,c,1),Um(e)}finally{R(a)}}}function Zm(e,t,n){for(let r=0;r<t.length;r++)XC(e,t[r],n)}function eb(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)fn(~o);else{let i=o,s=n[++r],a=n[++r];qp(s,i);let c=t[i];U(24,c),a(2,c),U(25,c)}}}finally{fn(-1)}}function Rd(e,t){let n=nl()?64:1088;for(e[It].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=rn(e);if(Or(e)&&!r)return e;e=r}return null}function Ym(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Qm(e,t){let n=re+t;if(n<e.length)return e[n]}function ri(e,t,n,r=!0){let o=t[T];if(tb(o,t,e,n),r){let s=Ll(n,e),a=t[$],c=a.parentNode(e[cn]);c!==null&&yC(o,e[be],a,t,c,s)}let i=t[Vn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Km(e,t){let n=qo(e,t);return n!==void 0&&xa(n[T],n),n}function qo(e,t){if(e.length<=re)return;let n=re+t,r=e[n];if(r){let o=r[an];o!==null&&o!==e&&wd(o,r),t>0&&(e[n-1][$e]=r[$e]);let i=Ro(e,re+t);mC(r[T],r);let s=i[wt];s!==null&&s.detachView(i[T]),r[le]=null,r[$e]=null,r[M]&=-129}return r}function tb(e,t,n,r){let o=re+r,i=n.length;r>0&&(n[o-1][$e]=t),r<i-re?(t[$e]=n[o],Ru(n,re+r,t)):(n.push(t),t[$e]=null),t[le]=n;let s=t[an];s!==null&&n!==s&&Jm(s,t);let a=t[wt];a!==null&&a.insertView(e),js(t),t[M]|=128}function Jm(e,t){let n=e[Gn],r=t[le];if(Ct(r))e[M]|=2;else{let o=r[le][Ee];t[Ee]!==o&&(e[M]|=2)}n===null?e[Gn]=[t]:n.push(t)}var hn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[T];return Go(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[X]}set context(t){this._lView[X]=t}get destroyed(){return qn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[le];if(et(t)){let n=t[Oo],r=n?n.indexOf(this):-1;r>-1&&(qo(t,r),Ro(n,r))}this._attachedToViewContainer=!1}xa(this._lView[T],this._lView)}onDestroy(t){qu(this._lView,t)}markForCheck(){Rd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){js(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Gm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Or(this._lView),n=this._lView[an];n!==null&&!t&&wd(n,this._lView),xm(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Or(this._lView),r=this._lView[an];r!==null&&!n&&Jm(r,this._lView),js(this._lView)}};var pn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=nb;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=ni(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new hn(i)}}return e})();function nb(){return ka(oe(),b())}function ka(e,t){return e.type&4?new pn(t,e,Gr(e,t)):null}function Wr(e,t,n,r,o){let i=e.data[t];if(i===null)i=rb(e,t,n,r,o),Gp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Up();i.injectorIndex=s===null?-1:s.injectorIndex}return Pr(i,!0),i}function rb(e,t,n,r,o){let i=Xu(),s=el(),a=s?i:i&&i.parent,c=e.data[t]=ib(e,a,n,t,r,o);return ob(e,c,i,s),c}function ob(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function ib(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Qu()&&(a|=128),{type:n,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var x1=new RegExp(`^(\\d+)*(${vw}|${yw})*(.*)`);function sb(e){let t=e[Bu]??[],r=e[le][$],o=[];for(let i of t)i.data[um]!==void 0?o.push(i):ab(i,r);e[Bu]=o}function ab(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[cm];for(;n<o;){let i=r.nextSibling;_m(t,r,!1),r=i,n++}}}var cb=()=>null,ub=()=>null;function ua(e,t){return cb(e,t)}function Xm(e,t,n){return ub(e,t,n)}var ey=class{},Fa=class{},Bl=class{resolveComponentFactory(t){throw new m(917,!1)}},oi=class{static NULL=new Bl},Jn=class{},ii=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>lb()}return e})();function lb(){let e=b(),t=oe(),n=ze(t.index,e);return(Ct(n)?n:e)[$]}var ty=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var ea={},Vl=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ea,r);return o!==ea||n===ea?o:this.parentInjector.get(t,n,r)}};function la(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Ms(o,a);else if(i==2){let c=a,u=t[++s];r=Ms(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ie(e,t=0){let n=b();if(n===null)return C(e,t);let r=oe();return Xg(r,n,ue(e),t)}function Ad(){let e="invalid";throw new Error(e)}function ny(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);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}hb(e,t,n,a,i,c,u)}i!==null&&r!==null&&db(n,r,i)}function db(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function fb(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function hb(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&tt(f)&&(c=!0,fb(e,n,h)),Cl(sa(n,t),e,f.type)}Db(n,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=Nm(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=Vr(n.mergedAttrs,f.hostAttrs),gb(e,n,t,d,f),vb(d,f,o),s!==null&&s.has(f)){let[E,D]=s.get(f);n.directiveToIndex.set(f.type,[d,E+n.directiveStart,D+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!u&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}pb(e,n,i)}function pb(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Eg(0,t,o,r),Eg(1,t,o,r),wg(t,r,!1);else{let i=n.get(o);Ig(0,t,i,r),Ig(1,t,i,r),wg(t,r,!0)}}}function Eg(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),ry(t,i)}}function Ig(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),ry(t,s)}}function ry(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function wg(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||yd(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(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function gb(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=nn(o.type,!0)),s=new Kn(i,tt(o),ie,null);e.blueprint[r]=s,n[r]=s,mb(e,t,r,Nm(e,n,o.hostVars,Se),o)}function mb(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;yb(s)!=a&&s.push(a),s.push(n,r,i)}}function yb(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;tt(t)&&(n[""]=e)}}function Db(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function xd(e,t,n,r,o,i,s,a){let c=t[T],u=c.consts,l=Ge(u,s),d=Wr(c,e,n,r,l);return i&&ny(c,t,d,Ge(u,a),o),d.mergedAttrs=Vr(d.mergedAttrs,d.attrs),d.attrs!==null&&la(d,d.attrs,!1),d.mergedAttrs!==null&&la(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Od(e,t){zg(e,t),Vu(t)&&e.queries.elementEnd(t)}function Eb(e,t,n,r,o,i){let s=t.consts,a=Ge(s,o),c=Wr(t,e,n,r,a);if(c.mergedAttrs=Vr(c.mergedAttrs,c.attrs),i!=null){let u=Ge(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&la(c,c.attrs,!1),c.mergedAttrs!==null&&la(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Pd(e){return iy(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function oy(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function iy(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function La(e,t,n){return e[t]=n}function Ib(e,t){return e[t]}function Fe(e,t,n){if(n===Se)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function kd(e,t,n,r){let o=Fe(e,t,n);return Fe(e,t+1,r)||o}function wb(e,t,n,r,o){let i=kd(e,t,n,r);return Fe(e,t+2,o)||i}function ta(e,t,n){return function r(o){let i=un(e)?ze(e.index,t):t;Rd(i,5);let s=t[X],a=Cg(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Cg(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Cg(e,t,n,r){let o=R(null);try{return U(6,t,n),n(r)!==!1}catch(i){return BC(e,i),!1}finally{U(7,t,n),R(o)}}function sy(e,t,n,r,o,i,s,a){let c=xr(e),u=!1,l=null;if(!r&&c&&(l=bb(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=nt(e,n),h=r?r(d):d;Ew(n,h,i,a);let f=o.listen(h,i,a);if(!Cb(i)){let g=r?E=>r(He(E[e.index])):e.index;ay(g,t,n,i,a,f,!1)}}return u}function Cb(e){return e.startsWith("animation")||e.startsWith("transition")}function bb(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Rr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function ay(e,t,n,r,o,i,s){let a=t.firstCreatePass?Zu(t):null,c=Wu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function bg(e,t,n,r,o,i){let s=t[n],a=t[T],u=a.data[n].outputs[r],d=s[u].subscribe(i);ay(e.index,a,t,o,i,d,!0)}var Ul=Symbol("BINDING");var da=class extends oi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Et(t);return new gn(n,this.ngModule)}};function Tb(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Aa.SignalBased)!==0};return o&&(i.transform=o),i})}function _b(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Sb(e,t,n){let r=t instanceof te?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Vl(n,r):n}function Mb(e){let t=e.get(Jn,null);if(t===null)throw new m(407,!1);let n=e.get(ty,null),r=e.get(Ve,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Nb(e,t){let n=cy(e);return bm(t,n,n==="svg"?Uu:n==="math"?Ap:null)}function cy(e){return(e.selectors[0][0]||"div").toLowerCase()}var gn=class extends Fa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Tb(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=_b(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=rC(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){U(22);let a=R(null);try{let c=this.componentDef,u=Rb(r,c,s,i),l=Sb(c,o||this.ngModule,t),d=Mb(l),h=d.rendererFactory.createRenderer(null,c),f=r?MC(h,r,c.encapsulation,l):Nb(c,h),g=s?.some(Tg)||i?.some(v=>typeof v!="function"&&v.bindings.some(Tg)),E=Dd(null,u,null,512|Mm(c),null,null,d,h,l,null,fm(f,l,!0));E[z]=f,Hs(E);let D=null;try{let v=xd(z,E,2,"#host",()=>u.directiveRegistry,!0,0);Sm(h,f,v),Ur(f,E),Pa(u,E,v),dd(u,v,E),Od(u,v),n!==void 0&&xb(v,this.ngContentSelectors,n),D=ze(v.index,E),E[X]=D[X],Nd(u,E,null)}catch(v){throw D!==null&&Tl(D),Tl(E),v}finally{U(23),zs()}return new fa(this.componentType,E,!!g)}finally{R(a)}}};function Rb(e,t,n,r){let o=e?["ng-version","20.3.4"]:oC(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ul].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[Ul].requiredVars;let f=l+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=ks(d);c.push(h)}return vd(0,null,Ab(i,s),1,a,c,null,null,null,[o],null)}function Ab(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Tg(e){let t=e[Ul].kind;return t==="input"||t==="twoWay"}var fa=class extends ey{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Po(n[T],z),this.location=Gr(this._tNode,n),this.instance=ze(this._tNode.index,n)[X],this.hostView=this.changeDetectorRef=new hn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Md(r,o[T],o,t,n);this.previousInputValues.set(t,n);let s=ze(r.index,o);Rd(s,1)}get injector(){return new Qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function xb(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Mt=(()=>{class e{static __NG_ELEMENT_ID__=Ob}return e})();function Ob(){let e=oe();return ly(e,b())}var Pb=Mt,uy=class extends Pb{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Gr(this._hostTNode,this._hostLView)}get injector(){return new Qn(this._hostTNode,this._hostLView)}get parentInjector(){let t=ad(this._hostTNode,this._hostLView);if(Wg(t)){let n=oa(t,this._hostLView),r=ra(t),o=n[T].data[r+8];return new Qn(o,n)}else return new Qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=_g(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-re}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ua(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,$r(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!GI(t),u;if(c)u=n;else{let D=n||{};u=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let l=c?t:new gn(Et(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(te,null);v&&(i=v)}let h=Et(l.componentType??{}),f=ua(this._lContainer,h?.id??null),g=f?.firstChild??null,E=l.create(d,o,g,i,s,a);return this.insertImpl(E.hostView,u,$r(this._hostTNode,f)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Op(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[le],u=new uy(c,c[be],c[le]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ri(s,o,i,r),t.attachToViewContainerRef(),Ru(pl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=_g(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=qo(this._lContainer,n);r&&(Ro(pl(this._lContainer),n),xa(r[T],r))}detach(t){let n=this._adjustIndex(t,-1),r=qo(this._lContainer,n);return r&&Ro(pl(this._lContainer),n)!=null?new hn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function _g(e){return e[Oo]}function pl(e){return e[Oo]||(e[Oo]=[])}function ly(e,t){let n,r=t[e.index];return et(r)?n=r:(n=Ym(r,t,null,e),t[e.index]=n,Ed(t,n)),Fb(n,t,e,r),new uy(n,e,t)}function kb(e,t){let n=e[$],r=n.createComment(""),o=nt(t,e),i=n.parentNode(o);return ca(n,i,r,n.nextSibling(o),!1),r}var Fb=Bb,Lb=()=>!1;function jb(e,t,n){return Lb(e,t,n)}function Bb(e,t,n,r){if(e[cn])return;let o;n.type&8?o=He(r):o=kb(t,n),e[cn]=o}var $l=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Hl=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Ld(t,n).matches!==null&&this.queries[n].setDirty()}},ha=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=zb(t):this.predicate=t}},zl=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Gl=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Vb(n,i)),this.matchTNodeWithReadOption(t,n,Xs(n,t,i,!1,!1))}else r===pn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Xs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ut||o===Mt||o===pn&&n.type&4)this.addMatch(n.index,-2);else{let i=Xs(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Vb(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Ub(e,t){return e.type&11?Gr(e,t):e.type&4?ka(e,t):null}function $b(e,t,n,r){return n===-1?Ub(t,e):n===-2?Hb(e,t,r):zo(e,e[T],n,t)}function Hb(e,t,n){if(n===Ut)return Gr(t,e);if(n===pn)return ka(t,e);if(n===Mt)return ly(t,e)}function dy(e,t,n,r){let o=t[wt].queries[r];if(o.matches===null){let i=e.data,s=n.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($b(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ql(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=dy(e,t,o,n);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=t[-c];for(let d=re;d<l.length;d++){let h=l[d];h[an]===h[le]&&ql(h[T],h,u,r)}if(l[Gn]!==null){let d=l[Gn];for(let h=0;h<d.length;h++){let f=d[h];ql(f[T],f,u,r)}}}}}return r}function Fd(e,t){return e[wt].queries[t].queryList}function fy(e,t,n){let r=new aa((n&4)===4);return Fp(e,t,r,r.destroy),(t[wt]??=new Hl).queries.push(new $l(r))-1}function hy(e,t,n){let r=q();return r.firstCreatePass&&(gy(r,new ha(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),fy(r,b(),t)}function py(e,t,n,r){let o=q();if(o.firstCreatePass){let i=oe();gy(o,new ha(t,n,r),i.index),Gb(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return fy(o,b(),n)}function zb(e){return e.split(",").map(t=>t.trim())}function gy(e,t,n){e.queries===null&&(e.queries=new zl),e.queries.track(new Gl(t,n))}function Gb(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Ld(e,t){return e.queries.getByIndex(t)}function my(e,t){let n=e[T],r=Ld(n,t);return r.crossesNgTemplate?ql(n,e,t,[]):dy(n,e,r,t)}function yy(e,t,n){let r,o=Co(()=>{r._dirtyCounter();let i=qb(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[ce],r._dirtyCounter=Wn(0),r._flatValue=void 0,o}function jd(e){return yy(!0,!1,e)}function Bd(e){return yy(!0,!0,e)}function vy(e,t){let n=e[ce];n._lView=b(),n._queryIndex=t,n._queryList=Fd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function qb(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[M]&4)return t?void 0:De;let o=Fd(n,r),i=my(n,r);return o.reset(i,nm),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Sg=new Set;function st(e){Sg.has(e)||(Sg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Xn=class{},ja=class{};var pa=class extends Xn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new da(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ou(t);this._bootstrapComponents=Im(i.bootstrap),this._r3Injector=il(t,n,[{provide:Xn,useValue:this},{provide:oi,useValue:this.componentFactoryResolver},...r],kt(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ga=class extends ja{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new pa(this.moduleType,t,[])}};var Wo=class extends Xn{injector;componentFactoryResolver=new da(this);instance=null;constructor(t){super();let n=new jn([...t.providers,{provide:Xn,useValue:this},{provide:oi,useValue:this.componentFactoryResolver}],t.parent||Nr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Zr(e,t,n=null){return new Wo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Wb=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Pu(!1,n.type),o=r.length>0?Zr([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(C(te))})}return e})();function Vd(e){return Ko(()=>{let t=Dy(e),n=F(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===cd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Wb).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Bt.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&st("NgStandalone"),Ey(n);let r=e.dependencies;return n.directiveDefs=Mg(r,Zb),n.pipeDefs=Mg(r,Cp),n.id=Kb(n),n})}function Zb(e){return Et(e)||ks(e)}function mn(e){return Ko(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Yb(e,t){if(e==null)return Ke;let n={};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=Aa.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Qb(e){if(e==null)return Ke;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function zt(e){return Ko(()=>{let t=Dy(e);return Ey(t),t})}function si(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 Dy(e){let t={};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:t,inputConfig:e.inputs||Ke,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Yb(e.inputs,t),outputs:Qb(e.outputs),debugInfo:null}}function Ey(e){e.features?.forEach(t=>t(e))}function Mg(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function Kb(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Jb(e){return Object.getPrototypeOf(e.prototype).constructor}function Iy(e){let t=Jb(e.type),n=!0,r=[e];for(;t;){let o;if(tt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=gl(e.inputs),s.declaredInputs=gl(e.declaredInputs),s.outputs=gl(e.outputs);let a=o.hostBindings;a&&rT(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&tT(e,c),u&&nT(e,u),Xb(e,o),pp(e.outputs,o.outputs),tt(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===Iy&&(n=!1)}}t=Object.getPrototypeOf(t)}eT(r)}function Xb(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function eT(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Vr(o.hostAttrs,n=Vr(n,o.hostAttrs))}}function gl(e){return e===Ke?{}:e===De?[]:e}function tT(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function nT(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function rT(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function oT(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=iT,n.hostDirectives=r?e.map(Wl):[e]):r?n.hostDirectives.unshift(...e.map(Wl)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function iT(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,wy(s,t,r),o.set(s,[a,t.length-1])}i===0&&tt(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function wy(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Ng(Wl(i),t,n)}else Ng(r,t,n)}function Ng(e,t,n){let r=ks(e.directive);sT(r.declaredInputs,e.inputs),wy(r,t,n),n.set(r,e),t.push(r)}function Wl(e){return typeof e=="function"?{directive:ue(e),inputs:Ke,outputs:Ke}:{directive:ue(e.directive),inputs:Rg(e.inputs),outputs:Rg(e.outputs)}}function Rg(e){if(e===void 0||e.length===0)return Ke;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function sT(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Cy(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Vr(e.mergedAttrs,e.attrs);let l=e.tView=vd(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Pr(e,!1);let c=cT(n,t,e,r);Gs()&&Cd(n,t,c,e),Ur(c,t);let u=Ym(c,t,c,e);t[r+z]=u,Ed(t,u),jb(u,e,t)}function aT(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,h;return t.firstCreatePass?(h=Wr(t,d,4,s||null,a||null),Bs()&&ny(t,e,h,Ge(t.consts,u),Td),zg(t,h)):h=t.data[d],Cy(h,e,t,n,r,o,i,c),xr(h)&&Pa(t,e,h),u!=null&&ti(e,h,l),h}function Zo(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,h;if(t.firstCreatePass){if(h=Wr(t,d,4,s||null,a||null),u!=null){let f=Ge(t.consts,u);h.localNames=[];for(let g=0;g<f.length;g+=2)h.localNames.push(f[g],-1)}}else h=t.data[d];return Cy(h,e,t,n,r,o,i,c),u!=null&&ti(e,h,l),h}function by(e,t,n,r,o,i,s,a){let c=b(),u=q(),l=Ge(u.consts,i);return aT(c,u,e,t,n,r,o,l,void 0,s,a),by}var cT=uT;function uT(e,t,n,r){return Bo(!0),t[$].createComment("")}var Ba=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ba||{}),yn=new I(""),Ty=!1,Zl=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Np()&&(this.destroyRef=p(qe,{optional:!0})??void 0,this.pendingTasks=p(Tt,{optional:!0})??void 0)}emit(t){let n=R(null);try{super.next(t)}finally{R(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;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 t instanceof K&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},_e=Zl;function _y(e){let t,n;function r(){e=Yn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Ag(e){return queueMicrotask(()=>e()),()=>{e=Yn}}var Ud="isAngularZone",ma=Ud+"_ID",lT=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new _e(!1);onMicrotaskEmpty=new _e(!1);onStable=new _e(!1);onError=new _e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ty}=t;if(typeof Zone>"u")throw new m(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)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,hT(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ud)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,dT,Yn,Yn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},dT={};function $d(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 fT(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){_y(()=>{e.callbackScheduled=!1,Yl(e),e.isCheckStableRunning=!0,$d(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Yl(e)}function hT(e){let t=()=>{fT(e)},n=lT++;e._inner=e._inner.fork({name:"angular",properties:{[Ud]:!0,[ma]:n,[ma+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(pT(c))return r.invokeTask(i,s,a,c);try{return xg(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Og(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return xg(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!gT(c)&&t(),Og(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Yl(e),$d(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 xg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Og(e){e._nesting--,$d(e)}var ya=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new _e;onMicrotaskEmpty=new _e;onStable=new _e;onError=new _e;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function pT(e){return Sy(e,"__ignore_ng_zone__")}function gT(e){return Sy(e,"__scheduler_tick__")}function Sy(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Va=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Hd=[0,1,2,3],zd=(()=>{class e{ngZone=p(Q);scheduler=p(Ve);errorHandler=p(Be,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(yn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&U(16),this.executing=!0;for(let r of Hd)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(),n&&U(17)}register(n){let{view:r}=n;r!==void 0?((r[Hn]??=[]).push(n),ln(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ba.AFTER_NEXT_RENDER,n):n()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Yo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,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 t=this.view?.[Hn];t&&(this.view[Hn]=t.filter(n=>n!==this))}};function Gd(e,t){let n=t?.injector??p(me);return st("NgAfterNextRender"),yT(e,n,t,!0)}function mT(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function yT(e,t,n,r){let o=t.get(Va);o.impl??=t.get(zd);let i=t.get(yn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(qe):null,a=t.get(Zn,null,{optional:!0}),c=new Yo(o.impl,mT(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ua=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var qd=new I("");function tr(e){return!!e&&typeof e.then=="function"}function $a(e){return!!e&&typeof e.subscribe=="function"}var Wd=new I("");function Ha(e){return Je([{provide:Wd,multi:!0,useValue:e}])}var Zd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(Wd,{optional:!0})??[];injector=p(me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=pe(this.injector,o);if(tr(i))n.push(i);else if($a(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ai=new I("");function My(){cu(()=>{let e="";throw new m(600,e)})}function Ny(e){return e.isBoundToModule}var vT=10;var vn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Te);afterRenderManager=p(Va);zonelessEnabled=p(Lr);rootEffectScheduler=p(Uo);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new J;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(Tt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(x(n=>!n))}constructor(){p(yn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=me.NULL){return this._injector.get(Q).run(()=>{U(10);let s=n instanceof Fa;if(!this._injector.get(Zd).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(oi).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Ny(c)?void 0:this._injector.get(Xn),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),Ho(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),U(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){U(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ba.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new m(101,!1);let n=R(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,R(n),this.afterTick.next(),U(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Jn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<vT;)U(14),this.synchronizeOnce(),U(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!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&&!Fo(o))continue;let i=r&&!this.zonelessEnabled?0:1;Gm(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Fo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ho(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ai,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ho(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ho(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Yd(e,t,n,r){let o=b(),i=dn();if(Fe(o,i,t)){let s=q(),a=jo();FC(a,o,e,t,n,r)}return Yd}var B1=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function DT(){return b()[Ee][X]}var Ql=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),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(t,n){this.attach(n,this.detach(t,!0))}};function ml(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function ET(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=ml(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],g=ml(s,h,c,f,n);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let E=n(i,u),D=n(s,h),v=n(i,l);if(Object.is(v,D)){let L=n(c,f);Object.is(L,E)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new va,o??=kg(e,i,s,n),Kl(e,r,i,v))e.updateValue(i,l),i++,s++;else if(o.has(v))r.set(E,e.detach(i)),s--;else{let L=e.create(i,t[i]);e.attach(i,L),i++,s++}}for(;i<=c;)Pg(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=ml(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new va,o??=kg(e,i,s,n);let f=n(i,d);if(Kl(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=n(i,l);r.set(g,e.detach(i)),s--}}}for(;!u.done;)Pg(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Kl(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Pg(e,t,n,r,o){if(Kl(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function kg(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var va=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function IT(e,t,n,r,o,i,s,a){st("NgControlFlow");let c=b(),u=q(),l=Ge(u.consts,i);return Zo(c,u,e,t,n,r,o,l,256,s,a),Qd}function Qd(e,t,n,r,o,i,s,a){st("NgControlFlow");let c=b(),u=q(),l=Ge(u.consts,i);return Zo(c,u,e,t,n,r,o,l,512,s,a),Qd}function wT(e,t){st("NgControlFlow");let n=b(),r=dn(),o=n[r]!==Se?n[r]:-1,i=o!==-1?Da(n,z+o):void 0,s=0;if(Fe(n,r,e)){let a=R(null);try{if(i!==void 0&&Km(i,s),e!==-1){let c=z+e,u=Da(n,c),l=td(n[T],c),d=Xm(u,l,n),h=ni(n,l,t,{dehydratedView:d});ri(u,h,s,$r(l,d))}}finally{R(a)}}else if(i!==void 0){let a=Qm(i,s);a!==void 0&&(a[X]=t)}}var Jl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-re}};function CT(e){return e}function bT(e,t){return t}var Xl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function TT(e,t,n,r,o,i,s,a,c,u,l,d,h){st("NgControlFlow");let f=b(),g=q(),E=c!==void 0,D=b(),v=a?s.bind(D[Ee][X]):s,L=new Xl(E,v);D[z+e]=L,Zo(f,g,e+1,t,n,r,o,Ge(g.consts,i),256),E&&Zo(f,g,e+2,c,u,l,d,Ge(g.consts,h),512)}var ed=class extends Ql{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-re}at(t){return this.getLView(t)[X].$implicit}attach(t,n){let r=n[Vn];this.needsIndexUpdate||=t!==this.length,ri(this.lContainer,n,t,$r(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&ST(this.lContainer,t),MT(this.lContainer,t)}create(t,n){let r=ua(this.lContainer,this.templateTNode.tView.ssrId),o=ni(this.hostLView,this.templateTNode,new Jl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){xa(t[T],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[X].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[X].$index=t}getLView(t){return NT(this.lContainer,t)}};function _T(e){let t=R(null),n=bt();try{let r=b(),o=r[T],i=r[n],s=n+1,a=Da(r,s);if(i.liveCollection===void 0){let u=td(o,s);i.liveCollection=new ed(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(ET(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=dn(),l=c.length===0;if(Fe(r,u,l)){let d=n+2,h=Da(r,d);if(l){let f=td(o,d),g=Xm(h,f,r),E=ni(r,f,void 0,{dehydratedView:g});ri(h,E,0,$r(f,g))}else o.firstUpdatePass&&sb(h),Km(h,0)}}}finally{R(t)}}function Da(e,t){return e[t]}function ST(e,t){if(e.length<=re)return;let n=re+t,r=e[n];r&&r[zn]&&(r[zn].skipLeaveAnimations=!0)}function MT(e,t){return qo(e,t)}function NT(e,t){return Qm(e,t)}function td(e,t){return Po(e,t)}function Ry(e,t,n){let r=b(),o=dn();if(Fe(r,o,t)){let i=q(),s=jo();jm(s,r,e,t,r[$],n)}return Ry}function nd(e,t,n,r,o){Md(t,e,n,o?"class":"style",r)}function Kd(e,t,n,r){let o=b(),i=o[T],s=e+z,a=i.firstCreatePass?xd(s,o,2,t,Td,Bs(),n,r):i.data[s];if(_d(a,o,e,t,xy),xr(a)){let c=o[T];Pa(c,o,a),dd(c,a,o)}return r!=null&&ti(o,a),Kd}function Jd(){let e=q(),t=oe(),n=Sd(t);return e.firstCreatePass&&Od(e,n),Ku(n)&&Ju(),Yu(),n.classesWithoutHost!=null&&KI(n)&&nd(e,n,b(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&JI(n)&&nd(e,n,b(),n.stylesWithoutHost,!1),Jd}function za(e,t,n,r){return Kd(e,t,n,r),Jd(),za}function Xd(e,t,n,r){let o=b(),i=o[T],s=e+z,a=i.firstCreatePass?Eb(s,i,2,t,n,r):i.data[s];return _d(a,o,e,t,xy),r!=null&&ti(o,a),Xd}function ef(){let e=oe(),t=Sd(e);return Ku(t)&&Ju(),Yu(),ef}function Ay(e,t,n,r){return Xd(e,t,n,r),ef(),Ay}var xy=(e,t,n,r,o)=>(Bo(!0),bm(t[$],r,tg()));function tf(e,t,n){let r=b(),o=r[T],i=e+z,s=o.firstCreatePass?xd(i,r,8,"ng-container",Td,Bs(),t,n):o.data[i];if(_d(s,r,e,"ng-container",RT),xr(s)){let a=r[T];Pa(a,r,s),dd(a,s,r)}return n!=null&&ti(r,s),tf}function nf(){let e=q(),t=oe(),n=Sd(t);return e.firstCreatePass&&Od(e,n),nf}function Oy(e,t,n){return tf(e,t,n),nf(),Oy}var RT=(e,t,n,r,o)=>(Bo(!0),aC(t[$],""));function AT(){return b()}function Py(e,t,n){let r=b(),o=dn();if(Fe(r,o,t)){let i=q(),s=jo();Bm(s,r,e,t,r[$],n)}return Py}var Ys=void 0;function xT(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var OT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ys,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ys,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ys,"{1} 'at' {0}",Ys],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",xT],yl={};function Ae(e){let t=PT(e),n=Fg(t);if(n)return n;let r=t.split("-")[0];if(n=Fg(r),n)return n;if(r==="en")return OT;throw new m(701,!1)}function Fg(e){return e in yl||(yl[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),yl[e]}var ee=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(ee||{});function PT(e){return e.toLowerCase().replace(/_/g,"-")}var ci="en-US";var kT=ci;function ky(e){typeof e=="string"&&(kT=e.toLowerCase().replace(/_/g,"-"))}function rf(e,t,n){let r=b(),o=q(),i=oe();return Ly(o,r,r[$],i,e,t,n),rf}function Fy(e,t,n){let r=b(),o=q(),i=oe();return(i.type&3||n)&&sy(i,o,r,n,r[$],e,t,ta(i,r,t)),Fy}function Ly(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ta(r,t,i),sy(r,e,t,s,n,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??=ta(r,t,i),bg(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=ta(r,t,i),bg(r,t,d,o,o,c)}}function FT(e=1){return Jp(e)}function LT(e,t){let n=null,r=Jw(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Cm(e,i,!0):tC(r,i))return o}return n}function jT(e){let t=b()[Ee][be];if(!t.projection){let n=e?e.length:1,r=t.projection=Ip(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?LT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function BT(e,t=0,n,r,o,i){let s=b(),a=q(),c=r?e+1:null;c!==null&&Zo(s,a,c,r,o,i,null,n);let u=Wr(a,z+e,16,null,n||null);u.projection===null&&(u.projection=t),tl();let d=!s[Vn]||Qu();s[Ee][be].projection[u.projection]===null&&c!==null?VT(s,a,c):d&&!Ma(u)&&TC(a,s,u)}function VT(e,t,n){let r=z+n,o=t.data[r],i=e[r],s=ua(i,o.tView.ssrId),a=ni(e,o,void 0,{dehydratedView:s});ri(i,a,0,$r(o,s))}function jy(e,t,n,r){py(e,t,n,r)}function UT(e,t,n){hy(e,t,n)}function By(e){let t=b(),n=q(),r=$s();Lo(r+1);let o=Ld(n,r);if(e.dirty&&xp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=my(t,r);e.reset(i,nm),e.notifyOnChanges()}return!0}return!1}function Vy(){return Fd(b(),$s())}function $T(e,t,n,r,o){vy(t,py(e,n,r,o))}function HT(e,t,n,r){vy(e,hy(t,n,r))}function zT(e=1){Lo($s()+e)}function GT(e){let t=$p();return ko(t,z+e)}function Qs(e,t){return e<<17|t<<2}function er(e){return e>>17&32767}function qT(e){return(e&2)==2}function WT(e,t){return e&131071|t<<17}function rd(e){return e|2}function Hr(e){return(e&131068)>>2}function vl(e,t){return e&-131069|t<<2}function ZT(e){return(e&1)===1}function od(e){return e|1}function YT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=er(s),c=Hr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Mr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=er(e[a+1]);e[r+1]=Qs(h,a),h!==0&&(e[h+1]=vl(e[h+1],r)),e[a+1]=WT(e[a+1],r)}else e[r+1]=Qs(a,0),a!==0&&(e[a+1]=vl(e[a+1],r)),a=r;else e[r+1]=Qs(c,0),a===0?a=r:e[c+1]=vl(e[c+1],r),c=r;u&&(e[r+1]=rd(e[r+1])),Lg(e,l,r,!0),Lg(e,l,r,!1),QT(t,l,e,r,i),s=Qs(a,c),i?t.classBindings=s:t.styleBindings=s}function QT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Mr(i,t)>=0&&(n[r+1]=od(n[r+1]))}function Lg(e,t,n,r){let o=e[n+1],i=t===null,s=r?er(o):Hr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];KT(c,t)&&(a=!0,e[s+1]=r?od(u):rd(u)),s=r?er(u):Hr(u)}a&&(e[n+1]=r?rd(o):od(o))}function KT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Mr(e,t)>=0:!1}var ot={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function JT(e){return e.substring(ot.key,ot.keyEnd)}function XT(e){return e_(e),Uy(e,$y(e,0,ot.textEnd))}function Uy(e,t){let n=ot.textEnd;return n===t?-1:(t=ot.keyEnd=t_(e,ot.key=t,n),$y(e,t,n))}function e_(e){ot.key=0,ot.keyEnd=0,ot.value=0,ot.valueEnd=0,ot.textEnd=e.length}function $y(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function t_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Hy(e,t,n){return Gy(e,t,n,!1),Hy}function zy(e,t){return Gy(e,t,null,!0),zy}function n_(e){o_(l_,r_,e,!0)}function r_(e,t){for(let n=XT(t);n>=0;n=Uy(t,n))Os(e,JT(t),!0)}function Gy(e,t,n,r){let o=b(),i=q(),s=Vs(2);if(i.firstUpdatePass&&Wy(i,e,s,r),t!==Se&&Fe(o,s,t)){let a=i.data[bt()];Zy(i,a,o,o[$],e,o[s+1]=f_(t,n),r,s)}}function o_(e,t,n,r){let o=q(),i=Vs(2);o.firstUpdatePass&&Wy(o,null,i,r);let s=b();if(n!==Se&&Fe(s,i,n)){let a=o.data[bt()];if(Yy(a,r)&&!qy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ms(c,n||"")),nd(o,a,s,n,r)}else d_(o,a,s,s[$],s[i+1],s[i+1]=u_(e,t,n),r,i)}}function qy(e,t){return t>=e.expandoStartIndex}function Wy(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[bt()],s=qy(e,n);Yy(i,r)&&t===null&&!s&&(t=!1),t=i_(o,i,t,r),YT(o,i,t,n,s,r)}}function i_(e,t,n,r){let o=Zp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Dl(null,e,t,n,r),n=Qo(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Dl(o,e,t,n,r),i===null){let c=s_(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Dl(null,e,t,c[1],r),c=Qo(c,t.attrs,r),a_(e,t,r,c))}else i=c_(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function s_(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Hr(r)!==0)return e[er(r)]}function a_(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[er(o)]=r}function c_(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Qo(r,s,n)}return Qo(r,t.attrs,n)}function Dl(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Qo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Qo(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Os(e,s,n?!0:t[++i]))}return e===void 0?null:e}function u_(e,t,n){if(n==null||n==="")return De;let r=[],o=We(n);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"&&t(r,o);return r}function l_(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Os(e,r,n)}function d_(e,t,n,r,o,i,s,a){o===Se&&(o=De);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,E;l===d?(c+=2,u+=2,h!==f&&(g=d,E=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,E=f),g!==null&&Zy(e,t,n,r,g,E,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Zy(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=ZT(u)?jg(c,t,n,o,Hr(u),s):void 0;if(!Ea(l)){Ea(i)||qT(u)&&(i=jg(c,null,n,o,a,s));let d=$u(bt(),n);SC(r,s,d,o,i)}}function jg(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===Se&&(h=d?De:void 0);let f=d?Ps(h,r):l===r?h:void 0;if(u&&!Ea(f)&&(f=Ps(c,r)),Ea(f)&&(a=f,s))return a;let g=e[o+1];o=s?er(g):Hr(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ps(c,r))}return a}function Ea(e){return e!==void 0}function f_(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=kt(We(e)))),e}function Yy(e,t){return(e.flags&(t?8:16))!==0}function h_(e,t=""){let n=b(),r=q(),o=e+z,i=r.firstCreatePass?Wr(r,o,1,t,null):r.data[o],s=p_(r,n,i,t,e);n[o]=s,Gs()&&Cd(r,n,s,i),Pr(i,!1)}var p_=(e,t,n,r,o)=>(Bo(!0),iC(t[$],r));function Qy(e,t,n,r=""){return Fe(e,dn(),n)?t+on(n)+r:Se}function g_(e,t,n,r,o,i=""){let s=Hp(),a=kd(e,s,n,o);return Vs(2),a?t+on(n)+r+on(o)+i:Se}function Ky(e){return of("",e),Ky}function of(e,t,n){let r=b(),o=Qy(r,e,t,n);return o!==Se&&Xy(r,bt(),o),of}function Jy(e,t,n,r,o){let i=b(),s=g_(i,e,t,n,r,o);return s!==Se&&Xy(i,bt(),s),Jy}function Xy(e,t,n){let r=$u(t,e);sC(e[$],r,n)}function ev(e,t,n){cl(t)&&(t=t());let r=b(),o=dn();if(Fe(r,o,t)){let i=q(),s=jo();jm(s,r,e,t,r[$],n)}return ev}function m_(e,t){let n=cl(e);return n&&e.set(t),n}function tv(e,t){let n=b(),r=q(),o=oe();return Ly(r,n,n[$],o,e,t),tv}function y_(e,t,n=""){return Qy(b(),e,t,n)}function v_(e,t,n){let r=q();if(r.firstCreatePass){let o=tt(e);id(n,r.data,r.blueprint,o,!0),id(t,r.data,r.blueprint,o,!1)}}function id(e,t,n,r,o){if(e=ue(e),Array.isArray(e))for(let i=0;i<e.length;i++)id(e[i],t,n,r,o);else{let i=q(),s=b(),a=oe(),c=Ln(e)?e:ue(e.provide),u=Fu(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Ln(e)||!e.multi){let f=new Kn(u,o,ie,null),g=Il(c,t,o?l:l+h,d);g===-1?(Cl(sa(a,s),i,c),El(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=Il(c,t,l+h,d),g=Il(c,t,l,l+h),E=f>=0&&n[f],D=g>=0&&n[g];if(o&&!D||!o&&!E){Cl(sa(a,s),i,c);let v=I_(o?E_:D_,n.length,o,r,u,e);!o&&D&&(n[g].providerFactory=v),El(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=nv(n[o?g:f],u,!o&&r);El(i,e,f>-1?f:g,v)}!o&&r&&D&&n[g].componentProviders++}}}function El(e,t,n,r){let o=Ln(t),i=Mp(t);if(o||i){let c=(i?ue(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function nv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Il(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function D_(e,t,n,r,o){return sd(this.multi,[])}function E_(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=zo(r,r[T],this.providerFactory.index,o);s=c.slice(0,a),sd(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],sd(i,s);return s}function sd(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function I_(e,t,n,r,o,i){let s=new Kn(e,n,ie,null);return s.multi=[],s.index=t,s.componentProviders=0,nv(s,o,r&&!n),s}function w_(e,t=[]){return n=>{n.providersResolver=(r,o)=>v_(r,o?o(e):e,t)}}function C_(e,t,n){let r=Fr()+e,o=b();return o[r]===Se?La(o,r,n?t.call(n):t()):Ib(o,r)}function b_(e,t,n,r){return rv(b(),Fr(),e,t,n,r)}function sf(e,t){let n=e[t];return n===Se?void 0:n}function rv(e,t,n,r,o,i){let s=t+n;return Fe(e,s,o)?La(e,s+1,i?r.call(i,o):r(o)):sf(e,s+1)}function T_(e,t,n,r,o,i,s){let a=t+n;return kd(e,a,o,i)?La(e,a+2,s?r.call(s,o,i):r(o,i)):sf(e,a+2)}function __(e,t,n,r,o,i,s,a){let c=t+n;return wb(e,c,o,i,s)?La(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):sf(e,c+3)}function S_(e,t){let n=q(),r,o=e+z;n.firstCreatePass?(r=M_(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=nn(r.type,!0)),s,a=Ce(ie);try{let c=ia(!1),u=i();return ia(c),Hu(n,b(),o,u),u}finally{Ce(a)}}function M_(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function N_(e,t,n){let r=e+z,o=b(),i=ko(o,r);return af(o,r)?rv(o,Fr(),t,i.transform,n,i):i.transform(n)}function R_(e,t,n,r){let o=e+z,i=b(),s=ko(i,o);return af(i,o)?T_(i,Fr(),t,s.transform,n,r,s):s.transform(n,r)}function A_(e,t,n,r,o){let i=e+z,s=b(),a=ko(s,i);return af(s,i)?__(s,Fr(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function af(e,t){return e[T].data[t].pure}function x_(e,t){return ka(e,t)}var Ia=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},cf=(()=>{class e{compileModuleSync(n){return new ga(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ou(n),i=Im(o.declarations).reduce((s,a)=>{let c=Et(a);return c&&s.push(new gn(c)),s},[]);return new Ia(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var O_=(()=>{class e{zone=p(Q);changeDetectionScheduler=p(Ve);applicationRef=p(vn);applicationErrorHandler=p(Te);_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(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ov=new I("",{factory:()=>!1});function uf({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Q(F(y({},lf()),{scheduleInRootZone:n})),[{provide:Q,useFactory:e},{provide:Dt,multi:!0,useFactory:()=>{let r=p(O_,{optional:!0});return()=>r.initialize()}},{provide:Dt,multi:!0,useFactory:()=>{let r=p(k_);return()=>{r.initialize()}}},t===!0?{provide:ul,useValue:!0}:[],{provide:ll,useValue:n??Ty},{provide:Te,useFactory:()=>{let r=p(Q),o=p(te),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Be),i.handleError(s))})}}}]}function P_(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=uf({ngZoneFactory:()=>{let o=lf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&st("NgZone_CoalesceEvent"),new Q(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Je([{provide:ov,useValue:!0},{provide:Lr,useValue:!1},r])}function lf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var k_=(()=>{class e{subscription=new K;initialized=!1;zone=p(Q);pendingTasks=p(Tt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var iv=(()=>{class e{applicationErrorHandler=p(Te);appRef=p(vn);taskService=p(Tt);ngZone=p(Q);zonelessEnabled=p(Lr);tracing=p(yn,{optional:!0});disableScheduling=p(ul,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new K;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ma):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(ll,{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 ya||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){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?Ag:_y;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ma+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ag(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function F_(){return typeof $localize<"u"&&$localize.locale||ci}var Yr=new I("",{providedIn:"root",factory:()=>p(Yr,{optional:!0,skipSelf:!0})||F_()});function at(e){return up(e)}function L_(e,t){return Co(e,t?.equal)}var df=class{[ce];constructor(t){this[ce]=t}destroy(){this[ce].destroy()}};function j_(e,t){let n=t?.injector??p(me),r=t?.manualCleanup!==!0?n.get(qe):null,o,i=n.get(Zn,null,{optional:!0}),s=n.get(Ve);return i!==null?(o=U_(i.view,s,e),r instanceof Mo&&r._lView===i.view&&(r=null)):o=$_(e,n.get(Uo),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new df(o)}var sv=F(y({},lp),{cleanupFns:void 0,zone:null,onDestroyFn:Yn,run(){let e=kr(!1);try{dp(this)}finally{kr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=R(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],R(e)}}}),B_=F(y({},sv),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){tn(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),V_=F(y({},sv),{consumerMarkedDirty(){this.view[M]|=8192,ln(this.view),this.notifier.notify(13)},destroy(){tn(this),this.onDestroyFn(),this.cleanup(),this.view[jt]?.delete(this)}});function U_(e,t,n){let r=Object.create(V_);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=av(r,n),e[jt]??=new Set,e[jt].add(r),r.consumerMarkedDirty(r),r}function $_(e,t,n){let r=Object.create(B_);return r.fn=av(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function av(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var gv=Symbol("InputSignalNode#UNSET"),nS=F(y({},bo),{transformFn:void 0,applyValueToInputSignal(e,t){_r(e,t)}});function mv(e,t){let n=Object.create(nS);n.value=e,n.transformFn=t?.transform;function r(){if(xn(n),n.value===gv){let o=null;throw new m(-950,o)}return n.value}return r[ce]=n,r}var hf=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ca(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},rS=new I("");rS.__NG_ELEMENT_ID__=e=>{let t=oe();if(t===null)throw new m(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new m(204,!1)};function cv(e,t){return mv(e,t)}function oS(e){return mv(gv,e)}var yv=(cv.required=oS,cv);function uv(e,t){return jd(t)}function iS(e,t){return Bd(t)}var w$=(uv.required=iS,uv);function lv(e,t){return jd(t)}function sS(e,t){return Bd(t)}var C$=(lv.required=sS,lv);var pf=new I(""),aS=new I("");function ui(e){return!e.moduleRef}function cS(e){let t=ui(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{ui(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Te),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ui(e)){let i=()=>t.destroy(),s=e.platformInjector.get(pf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(pf);s.add(i),e.moduleRef.onDestroy(()=>{Ho(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return lS(r,n,()=>{let i=t.get(Tt),s=i.add(),a=t.get(Zd);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Yr,ci);if(ky(c||ci),!t.get(aS,!0))return ui(e)?t.get(vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ui(e)){let l=t.get(vn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return uS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var uS;function lS(e,t,n){try{let r=n();return tr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ga=null;function dS(e=[],t){return me.create({name:t,providers:[{provide:Ao,useValue:"platform"},{provide:pf,useValue:new Set([()=>Ga=null])},...e]})}function fS(e=[]){if(Ga)return Ga;let t=dS(e);return Ga=t,My(),hS(t),t}function hS(e){let t=e.get(Ta,null);pe(e,()=>{t?.forEach(n=>n())})}var Qr=(()=>{class e{static __NG_ELEMENT_ID__=pS}return e})();function pS(e){return gS(oe(),b(),(e&16)===16)}function gS(e,t,n){if(un(e)&&!n){let r=ze(e.index,t);return new hn(r,r)}else if(e.type&175){let r=t[Ee];return new hn(r,t)}return null}var gf=class{constructor(){}supports(t){return Pd(t)}create(t){return new mf(t)}},mS=(e,t)=>t,mf=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||mS}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<dv(r,o,i)?n:r,a=dv(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,g=f+h;l<=g&&g<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Pd(t))throw new m(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,oy(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new yf(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new qa),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new qa),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},yf=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},vf=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},qa=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new vf,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function dv(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function fv(){return new Ef([new gf])}var Ef=(()=>{class e{factories;static \u0275prov=w({token:e,providedIn:"root",factory:fv});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=p(e,{optional:!0,skipSelf:!0});return e.create(n,r||fv())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new m(901,!1)}}return e})();function vv(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;U(8);try{let i=o?.injector??fS(r),s=[uf({}),{provide:Ve,useExisting:iv},rg,...n||[]],a=new Wo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return cS({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{U(9)}}function Dv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function yS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var ff=Symbol("NOT_SET"),Ev=new Set,vS=F(y({},bo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ff,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==ff&&!Pn(this))return this.signal;try{for(let o of this.cleanup??Ev)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=en(this),r;try{r=this.userFn.apply(null,t)}finally{On(this,n)}return(this.value===ff||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Df=class extends Yo{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(qe),s),this.scheduler=o;for(let a of Hd){let c=n[a];if(c===void 0)continue;let u=Object.create(vS);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(xn(u),u.value),u.signal[ce]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Ev)n()}finally{tn(t)}}};function b$(e,t){let n=t?.injector??p(me),r=n.get(Ve),o=n.get(Va),i=n.get(yn,null,{optional:!0});o.impl??=n.get(zd);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Zn,null,{optional:!0}),c=new Df(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function T$(e,t){let n=Et(e),r=t.elementInjector||Nr();return new gn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function Iv(e){let t=Et(e);if(!t)return null;let n=new gn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var bv=null;function Gt(){return bv}function If(e){bv??=e}var li=class{},di=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(Tv),providedIn:"platform"})}return e})(),wf=new I(""),Tv=(()=>{class e extends di{_location;_history;_doc=p(Z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gt().getBaseHref(this._doc)}onPopState(n){let r=Gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Wa(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function wv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function ct(e){return e&&e[0]!=="?"?`?${e}`:e}var qt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(Ya),providedIn:"root"})}return e})(),Za=new I(""),Ya=(()=>{class e extends qt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Wa(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+ct(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(C(di),C(Za,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),En=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=IS(wv(Cv(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(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ct(r))}normalize(n){return e.stripTrailingSlash(ES(this._basePath,Cv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ct(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ct(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=ct;static joinWithSlash=Wa;static stripTrailingSlash=wv;static \u0275fac=function(r){return new(r||e)(C(qt))};static \u0275prov=w({token:e,factory:()=>DS(),providedIn:"root"})}return e})();function DS(){return new En(C(qt))}function ES(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Cv(e){return e.replace(/\/index.html$/,"")}function IS(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Af=(()=>{class e extends qt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Wa(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(C(di),C(Za,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var xf=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(xf||{});var Ie=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ie||{}),H=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(H||{}),xe=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(xe||{}),Oe={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Av(e){return Ae(e)[ee.LocaleId]}function xv(e,t,n){let r=Ae(e),o=[r[ee.DayPeriodsFormat],r[ee.DayPeriodsStandalone]],i=Ze(o,t);return Ze(i,n)}function Ov(e,t,n){let r=Ae(e),o=[r[ee.DaysFormat],r[ee.DaysStandalone]],i=Ze(o,t);return Ze(i,n)}function Pv(e,t,n){let r=Ae(e),o=[r[ee.MonthsFormat],r[ee.MonthsStandalone]],i=Ze(o,t);return Ze(i,n)}function kv(e,t){let r=Ae(e)[ee.Eras];return Ze(r,t)}function fi(e,t){let n=Ae(e);return Ze(n[ee.DateFormat],t)}function hi(e,t){let n=Ae(e);return Ze(n[ee.TimeFormat],t)}function pi(e,t){let r=Ae(e)[ee.DateTimeFormat];return Ze(r,t)}function Nt(e,t){let n=Ae(e),r=n[ee.NumberSymbols][t];if(typeof r>"u"){if(t===Oe.CurrencyDecimal)return n[ee.NumberSymbols][Oe.Decimal];if(t===Oe.CurrencyGroup)return n[ee.NumberSymbols][Oe.Group]}return r}function Fv(e,t){return Ae(e)[ee.NumberFormats][t]}function Lv(e){if(!e[ee.ExtraData])throw new m(2303,!1)}function jv(e){let t=Ae(e);return Lv(t),(t[ee.ExtraData][2]||[]).map(r=>typeof r=="string"?Cf(r):[Cf(r[0]),Cf(r[1])])}function Bv(e,t,n){let r=Ae(e);Lv(r);let o=[r[ee.ExtraData][0],r[ee.ExtraData][1]],i=Ze(o,t)||[];return Ze(i,n)||[]}function Ze(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function Cf(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var wS=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qa={},CS=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Vv(e,t,n,r){let o=xS(e);t=Wt(n,t)||t;let s=[],a;for(;t;)if(a=CS.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=$v(r,c),o=AS(o,r));let u="";return s.forEach(l=>{let d=NS(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function tc(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Wt(e,t){let n=Av(e);if(Qa[n]??={},Qa[n][t])return Qa[n][t];let r="";switch(t){case"shortDate":r=fi(e,xe.Short);break;case"mediumDate":r=fi(e,xe.Medium);break;case"longDate":r=fi(e,xe.Long);break;case"fullDate":r=fi(e,xe.Full);break;case"shortTime":r=hi(e,xe.Short);break;case"mediumTime":r=hi(e,xe.Medium);break;case"longTime":r=hi(e,xe.Long);break;case"fullTime":r=hi(e,xe.Full);break;case"short":let o=Wt(e,"shortTime"),i=Wt(e,"shortDate");r=Ka(pi(e,xe.Short),[o,i]);break;case"medium":let s=Wt(e,"mediumTime"),a=Wt(e,"mediumDate");r=Ka(pi(e,xe.Medium),[s,a]);break;case"long":let c=Wt(e,"longTime"),u=Wt(e,"longDate");r=Ka(pi(e,xe.Long),[c,u]);break;case"full":let l=Wt(e,"fullTime"),d=Wt(e,"fullDate");r=Ka(pi(e,xe.Full),[l,d]);break}return r&&(Qa[n][t]=r),r}function Ka(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function ut(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function bS(e,t){return ut(e,3).substring(0,t)}function se(e,t,n=0,r=!1,o=!1){return function(i,s){let a=TS(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return bS(a,t);let c=Nt(s,Oe.MinusSign);return ut(a,t,c,r,o)}}function TS(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function G(e,t,n=Ie.Format,r=!1){return function(o,i){return _S(o,i,e,t,n,r)}}function _S(e,t,n,r,o,i){switch(n){case 2:return Pv(t,o,r)[e.getMonth()];case 1:return Ov(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=jv(t),l=Bv(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,E=s>=f.hours&&a>=f.minutes,D=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(E&&D)return!0}else if(E||D)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return xv(t,o,r)[s<12?0:1];case 3:return kv(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Ja(e){return function(t,n,r){let o=-1*r,i=Nt(n,Oe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+ut(s,2,i)+ut(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+ut(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+ut(s,2,i)+":"+ut(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+ut(s,2,i)+":"+ut(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var SS=0,ec=4;function MS(e){let t=tc(e,SS,1).getDay();return tc(e,0,1+(t<=ec?ec:ec+7)-t)}function Uv(e){let t=e.getDay(),n=t===0?-3:ec-t;return tc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function bf(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Uv(n),s=MS(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ut(o,e,Nt(r,Oe.MinusSign))}}function Xa(e,t=!1){return function(n,r){let i=Uv(n).getFullYear();return ut(i,e,Nt(r,Oe.MinusSign),t)}}var Tf={};function NS(e){if(Tf[e])return Tf[e];let t;switch(e){case"G":case"GG":case"GGG":t=G(3,H.Abbreviated);break;case"GGGG":t=G(3,H.Wide);break;case"GGGGG":t=G(3,H.Narrow);break;case"y":t=se(0,1,0,!1,!0);break;case"yy":t=se(0,2,0,!0,!0);break;case"yyy":t=se(0,3,0,!1,!0);break;case"yyyy":t=se(0,4,0,!1,!0);break;case"Y":t=Xa(1);break;case"YY":t=Xa(2,!0);break;case"YYY":t=Xa(3);break;case"YYYY":t=Xa(4);break;case"M":case"L":t=se(1,1,1);break;case"MM":case"LL":t=se(1,2,1);break;case"MMM":t=G(2,H.Abbreviated);break;case"MMMM":t=G(2,H.Wide);break;case"MMMMM":t=G(2,H.Narrow);break;case"LLL":t=G(2,H.Abbreviated,Ie.Standalone);break;case"LLLL":t=G(2,H.Wide,Ie.Standalone);break;case"LLLLL":t=G(2,H.Narrow,Ie.Standalone);break;case"w":t=bf(1);break;case"ww":t=bf(2);break;case"W":t=bf(1,!0);break;case"d":t=se(2,1);break;case"dd":t=se(2,2);break;case"c":case"cc":t=se(7,1);break;case"ccc":t=G(1,H.Abbreviated,Ie.Standalone);break;case"cccc":t=G(1,H.Wide,Ie.Standalone);break;case"ccccc":t=G(1,H.Narrow,Ie.Standalone);break;case"cccccc":t=G(1,H.Short,Ie.Standalone);break;case"E":case"EE":case"EEE":t=G(1,H.Abbreviated);break;case"EEEE":t=G(1,H.Wide);break;case"EEEEE":t=G(1,H.Narrow);break;case"EEEEEE":t=G(1,H.Short);break;case"a":case"aa":case"aaa":t=G(0,H.Abbreviated);break;case"aaaa":t=G(0,H.Wide);break;case"aaaaa":t=G(0,H.Narrow);break;case"b":case"bb":case"bbb":t=G(0,H.Abbreviated,Ie.Standalone,!0);break;case"bbbb":t=G(0,H.Wide,Ie.Standalone,!0);break;case"bbbbb":t=G(0,H.Narrow,Ie.Standalone,!0);break;case"B":case"BB":case"BBB":t=G(0,H.Abbreviated,Ie.Format,!0);break;case"BBBB":t=G(0,H.Wide,Ie.Format,!0);break;case"BBBBB":t=G(0,H.Narrow,Ie.Format,!0);break;case"h":t=se(3,1,-12);break;case"hh":t=se(3,2,-12);break;case"H":t=se(3,1);break;case"HH":t=se(3,2);break;case"m":t=se(4,1);break;case"mm":t=se(4,2);break;case"s":t=se(5,1);break;case"ss":t=se(5,2);break;case"S":t=se(6,1);break;case"SS":t=se(6,2);break;case"SSS":t=se(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ja(0);break;case"ZZZZZ":t=Ja(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ja(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ja(2);break;default:return null}return Tf[e]=t,t}function $v(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function RS(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function AS(e,t,n){let o=e.getTimezoneOffset(),i=$v(t,o);return RS(e,-1*(i-o))}function xS(e){if(_v(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return tc(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(wS))return OS(r)}let t=new Date(e);if(!_v(t))throw new m(2311,!1);return t}function OS(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function _v(e){return e instanceof Date&&!isNaN(e.valueOf())}var PS=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Sv=22,nc=".",gi="0",kS=";",FS=",",_f="#";function LS(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Nt(n,Oe.Infinity);else{let u=VS(e);s&&(u=BS(u));let l=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){let L=i.match(PS);if(L===null)throw new m(2306,!1);let Ne=L[1],ne=L[3],ft=L[5];Ne!=null&&(l=Sf(Ne)),ne!=null&&(d=Sf(ne)),ft!=null?h=Sf(ft):ne!=null&&d>h&&(h=d)}US(u,d,h);let f=u.digits,g=u.integerLen,E=u.exponent,D=[];for(c=f.every(L=>!L);g<l;g++)f.unshift(0);for(;g<0;g++)f.unshift(0);g>0?D=f.splice(g,f.length):(D=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(Nt(n,r)),D.length&&(a+=Nt(n,o)+D.join("")),E&&(a+=Nt(n,Oe.Exponential)+"+"+E)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Hv(e,t,n){let r=Fv(t,xf.Decimal),o=jS(r,Nt(t,Oe.MinusSign));return LS(e,o,t,Oe.Group,Oe.Decimal,n)}function jS(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(kS),o=r[0],i=r[1],s=o.indexOf(nc)!==-1?o.split(nc):[o.substring(0,o.lastIndexOf(gi)+1),o.substring(o.lastIndexOf(gi)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(_f));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===gi?n.minFrac=n.maxFrac=l+1:d===_f?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(FS);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(_f);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function BS(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function VS(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(nc))>-1&&(t=t.replace(nc,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===gi;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===gi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Sv&&(r=r.splice(0,Sv-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function US(e,t,n){if(t>n)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,h,f,g){return h=h+d,g[f]=h<10?h:h-10,c&&(g[f]===0&&f>=u?g.pop():c=!1),h>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Sf(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var Mf=/\s+/,Mv=[],$S=(()=>{class e{_ngEl;_renderer;initialClasses=Mv;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Mf):Mv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Mf):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[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(n,r){n=n.trim(),n.length>0&&n.split(Mf).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)(ie(Ut),ie(ii))};static \u0275dir=zt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var rc=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},zv=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new rc(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Nv(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Nv(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ie(Mt),ie(pn),ie(Ef))};static \u0275dir=zt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Nv(e,t){e.context.$implicit=t.item}var HS=(()=>{class e{_viewContainer;_context=new oc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Rv(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Rv(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ie(Mt),ie(pn))};static \u0275dir=zt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),oc=class{$implicit=null;ngIf=null};function Rv(e,t){if(e&&!e.createEmbeddedView)throw new m(2020,!1)}var zS=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){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(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ie(Mt))};static \u0275dir=zt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[zr]})}return e})();function Of(e,t){return new m(2100,!1)}var Nf=class{createSubscription(t,n,r){return at(()=>t.subscribe({next:n,error:r}))}dispose(t){at(()=>t.unsubscribe())}},Rf=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},GS=new Rf,qS=new Nf,WS=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(Te);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(tr(n))return GS;if($a(n))return qS;throw Of(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(ie(Qr,16))};static \u0275pipe=si({name:"async",type:e,pure:!1})}return e})();var ZS="mediumDate",Gv=new I(""),qv=new I(""),YS=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??ZS,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Vv(n,s,i||this.locale,a)}catch(s){throw Of(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ie(Yr,16),ie(Gv,24),ie(qv,24))};static \u0275pipe=si({name:"date",type:e,pure:!0})}return e})();var QS=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!KS(n))return null;o||=this._locale;try{let i=JS(n);return Hv(i,o,r)}catch(i){throw Of(e,i.message)}}static \u0275fac=function(r){return new(r||e)(ie(Yr,16))};static \u0275pipe=si({name:"number",type:e,pure:!0})}return e})();function KS(e){return!(e==null||e===""||e!==e)}function JS(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new m(2309,!1);return e}var Wv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=mn({type:e});static \u0275inj=Lt({})}return e})();function mi(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var nr=class{};var kf="browser";function FH(e){return e===kf}var Zv=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new Pf(p(Z),window)})}return e})(),Pf=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(F(y({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=XS(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(Ft(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F(y({},n),{left:o-s[0],top:i-s[1]}))}};function XS(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;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(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var sc=new I(""),Vf=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(C(sc),C(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),yi=class{_doc;constructor(t){this._doc=t}manager},Ff="ng-app-id";function Yv(e){for(let t of e)t.remove()}function Qv(e,t){let n=t.createElement("style");return n.textContent=e,n}function eM(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Ff}="${t}"],link[${Ff}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Ff),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function jf(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Uf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,eM(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Qv);r?.forEach(o=>this.addUsage(o,this.external,jf))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Yv(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Yv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Qv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,jf(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(Z),C(ba),C(_a,8),C(qr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Lf={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"},$f=/%COMP%/g;var Jv="%COMP%",tM=`_nghost-${Jv}`,nM=`_ngcontent-${Jv}`,rM=!0,oM=new I("",{providedIn:"root",factory:()=>rM});function iM(e){return nM.replace($f,e)}function sM(e){return tM.replace($f,e)}function Xv(e,t){return t.map(n=>n.replace($f,e))}var Hf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new vi(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof ic?o.applyToHost(n):o instanceof Di&&o.applyStyles(),o}getOrCreateRenderer(n,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 Bt.Emulated:i=new ic(c,u,r,this.appId,l,s,a,d,h);break;case Bt.ShadowDom:return new Bf(c,u,n,r,s,a,this.nonce,d,h);default:i=new Di(c,u,r,l,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(C(Vf),C(Uf),C(ba),C(oM),C(Z),C(qr),C(Q),C(_a),C(yn,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),vi=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Lf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Kv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Kv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Lf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Lf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(St.DashCase|St.Important)?t.style.setProperty(n,r,o&St.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&St.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Gt().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Kv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Bf=class extends vi{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=Xv(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=jf(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Di=class extends vi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?Xv(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&ei.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ic=class extends Di{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=iM(l),this.hostAttr=sM(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var ac=class e extends li{supportsDOMEvents=!0;static makeCurrent(){If(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=aM();return n==null?null:cM(n)}resetBaseElement(){Ei=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return mi(document.cookie,t)}},Ei=null;function aM(){return Ei=Ei||document.head.querySelector("base"),Ei?Ei.getAttribute("href"):null}function cM(e){return new URL(e,document.baseURI).pathname}var uM=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),tD=(()=>{class e extends yi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),eD=["alt","control","meta","shift"],lM={"\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"},dM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},nD=(()=>{class e extends yi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gt().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.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."),eD.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=lM[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),eD.forEach(s=>{if(s!==o){let a=dM[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function fM(e,t,n){let r=y({rootComponent:e,platformRef:n?.platformRef},hM(t));return vv(r)}function hM(e){return{appProviders:[...vM,...e?.providers??[]],platformProviders:yM}}function pM(){ac.makeCurrent()}function gM(){return new Be}function mM(){return ud(document),document}var yM=[{provide:qr,useValue:kf},{provide:Ta,useValue:pM,multi:!0},{provide:Z,useFactory:mM}];var vM=[{provide:Ao,useValue:"root"},{provide:Be,useFactory:gM},{provide:sc,useClass:tD,multi:!0,deps:[Z]},{provide:sc,useClass:nD,multi:!0,deps:[Z]},Hf,Uf,Vf,{provide:Jn,useExisting:Hf},{provide:nr,useClass:uM},[]];var Xr=class{},Ii=class{},In=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
5
- `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var uc=class{encodeKey(t){return rD(t)}encodeValue(t){return rD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function DM(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var EM=/%(\d[a-f0-9])/gi,IM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function rD(e){return encodeURIComponent(e).replace(EM,(t,n)=>IM[n]??t)}function cc(e){return`${e}`}var Zt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new uc,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=DM(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(cc):[cc(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(cc(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(cc(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var lc=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function wM(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function oD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function iD(e){return typeof Blob<"u"&&e instanceof Blob}function sD(e){return typeof FormData<"u"&&e instanceof FormData}function CM(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var aD="Content-Type",cD="Accept",uD="X-Request-URL",lD="text/plain",dD="application/json",bM=`${dD}, ${lD}, */*`,Kr=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(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(wM(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 m(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 In,this.context??=new lc,!this.params)this.params=new Zt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||oD(this.body)||iD(this.body)||sD(this.body)||CM(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||sD(this.body)?null:iD(this.body)?this.body.type||null:oD(this.body)?null:typeof this.body=="string"?lD:this.body instanceof Zt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?dD:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,h=t.integrity||this.integrity,f=t.transferCache??this.transferCache,g=t.timeout??this.timeout,E=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,v=t.reportProgress??this.reportProgress,L=t.headers||this.headers,Ne=t.params||this.params,ne=t.context??this.context;return t.setHeaders!==void 0&&(L=Object.keys(t.setHeaders).reduce((ft,Tn)=>ft.set(Tn,t.setHeaders[Tn]),L)),t.setParams&&(Ne=Object.keys(t.setParams).reduce((ft,Tn)=>ft.set(Tn,t.setParams[Tn]),Ne)),new e(n,r,E,{params:Ne,headers:L,context:ne,reportProgress:v,responseType:o,withCredentials:D,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:u,credentials:l,referrer:d,integrity:h})}},rr=(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})(rr||{}),eo=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new In,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},dc=class e extends eo{constructor(t={}){super(t)}type=rr.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},wi=class e extends eo{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=rr.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Jr=class extends eo{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},TM=200,_M=204;function zf(e,t){return{body:t,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 fD=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Kr)i=n;else{let c;o.headers instanceof In?c=o.headers:c=new In(o.headers);let u;o.params&&(o.params instanceof Zt?u=o.params:u=new Zt({fromObject:o.params})),i=new Kr(n,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=_(i).pipe(gt(c=>this.handler.handle(c)));if(n instanceof Kr||o.observe==="events")return s;let a=s.pipe(ae(c=>c instanceof wi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(x(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));case"json":default:return a.pipe(x(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Zt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,zf(o,r))}post(n,r,o={}){return this.request("POST",n,zf(o,r))}put(n,r,o={}){return this.request("PUT",n,zf(o,r))}static \u0275fac=function(r){return new(r||e)(C(Xr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var SM=new I("");function MM(e,t){return t(e)}function NM(e,t,n){return(r,o)=>pe(n,()=>t(r,i=>e(i,o)))}var hD=new I(""),pD=new I(""),gD=new I("",{providedIn:"root",factory:()=>!0});var fc=(()=>{class e extends Xr{backend;injector;chain=null;pendingTasks=p(Vo);contributeToStability=p(gD);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(hD),...this.injector.get(pD,[])]));this.chain=r.reduceRight((o,i)=>NM(o,i,this.injector),MM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Rn(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(C(Ii),C(te))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var RM=/^\)\]\}',?\n/,AM=RegExp(`^${uD}:`,"m");function xM(e){return"responseURL"in e&&e.responseURL?e.responseURL:AM.test(e.getAllResponseHeaders())?e.getResponseHeader(uD):null}var Gf=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return _(null).pipe(fe(()=>new k(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((D,v)=>s.setRequestHeader(D,v.join(","))),n.headers.has(cD)||s.setRequestHeader(cD,bM),!n.headers.has(aD)){let D=n.detectContentTypeHeader();D!==null&&s.setRequestHeader(aD,D)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let D=n.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let D=s.statusText||"OK",v=new In(s.getAllResponseHeaders()),L=xM(s)||n.url;return c=new dc({headers:v,status:s.status,statusText:D,url:L}),c},l=()=>{let{headers:D,status:v,statusText:L,url:Ne}=u(),ne=null;v!==_M&&(ne=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=ne?TM:0);let ft=v>=200&&v<300;if(n.responseType==="json"&&typeof ne=="string"){let Tn=ne;ne=ne.replace(RM,"");try{ne=ne!==""?JSON.parse(ne):null}catch(vE){ne=Tn,ft&&(ft=!1,ne={error:vE,text:ne})}}ft?(i.next(new wi({body:ne,headers:D,status:v,statusText:L,url:Ne||void 0})),i.complete()):i.error(new Jr({error:ne,headers:D,status:v,statusText:L,url:Ne||void 0}))},d=D=>{let{url:v}=u(),L=new Jr({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(L)},h=d;n.timeout&&(h=D=>{let{url:v}=u(),L=new Jr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(L)});let f=!1,g=D=>{f||(i.next(u()),f=!0);let v={type:rr.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)},E=D=>{let v={type:rr.UploadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),i.next(v)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),i.next({type:rr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(C(nr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),mD=new I(""),OM="XSRF-TOKEN",PM=new I("",{providedIn:"root",factory:()=>OM}),kM="X-XSRF-TOKEN",FM=new I("",{providedIn:"root",factory:()=>kM}),Ci=class{},LM=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=mi(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(C(Z),C(PM))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function jM(e,t){let n=e.url.toLowerCase();if(!p(mD)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(Ci).getToken(),o=p(FM);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function BM(...e){let t=[fD,Gf,fc,{provide:Xr,useExisting:fc},{provide:Ii,useFactory:()=>p(SM,{optional:!0})??p(Gf)},{provide:hD,useValue:jM,multi:!0},{provide:mD,useValue:!0},{provide:Ci,useClass:LM}];for(let n of e)t.push(...n.\u0275providers);return Je(t)}var yD=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var VM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(UM),o},providedIn:"root"})}return e})(),UM=(()=>{class e extends VM{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case it.NONE:return r;case it.HTML:return $t(r,"HTML")?We(r):Ra(this._doc,String(r)).toString();case it.STYLE:return $t(r,"Style")?We(r):r;case it.SCRIPT:if($t(r,"Script"))return We(r);throw new m(5200,!1);case it.URL:return $t(r,"URL")?We(r):Jo(String(r));case it.RESOURCE_URL:if($t(r,"ResourceURL"))return We(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return fd(n)}bypassSecurityTrustStyle(n){return hd(n)}bypassSecurityTrustScript(n){return pd(n)}bypassSecurityTrustUrl(n){return gd(n)}bypassSecurityTrustResourceUrl(n){return md(n)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var P="primary",Fi=Symbol("RouteTitle"),Qf=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function sr(e){return new Qf(e)}function TD(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.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 HM(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Rt(e[n],t[n]))return!1;return!0}function Rt(e,t){let n=e?Kf(e):void 0,r=t?Kf(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!_D(e[o],t[o]))return!1;return!0}function Kf(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function _D(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function SD(e){return e.length>0?e[e.length-1]:null}function Qt(e){return Kc(e)?e:tr(e)?W(Promise.resolve(e)):_(e)}var zM={exact:ND,subset:RD},MD={exact:GM,subset:qM,ignored:()=>!0};function vD(e,t,n){return zM[n.paths](e.root,t.root,n.matrixParams)&&MD[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function GM(e,t){return Rt(e,t)}function ND(e,t,n){if(!or(e.segments,t.segments)||!gc(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!ND(e.children[r],t.children[r],n))return!1;return!0}function qM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>_D(e[n],t[n]))}function RD(e,t,n){return AD(e,t,t.segments,n)}function AD(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!or(o,n)||t.hasChildren()||!gc(o,n,r))}else if(e.segments.length===n.length){if(!or(e.segments,n)||!gc(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!RD(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!or(e.segments,o)||!gc(e.segments,o,r)||!e.children[P]?!1:AD(e.children[P],t,i,r)}}function gc(e,t,n){return t.every((r,o)=>MD[n](e[o].parameters,r.parameters))}var xt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new j([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=sr(this.queryParams),this._queryParamMap}toString(){return YM.serialize(this)}},j=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mc(this)}},wn=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=sr(this.parameters),this._parameterMap}toString(){return OD(this)}};function WM(e,t){return or(e,t)&&e.every((n,r)=>Rt(n.parameters,t[r].parameters))}function or(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function ZM(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===P&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==P&&(n=n.concat(t(o,r)))}),n}var ar=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new Cn,providedIn:"root"})}return e})(),Cn=class{parse(t){let n=new Xf(t);return new xt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${bi(t.root,!0)}`,r=JM(t.queryParams),o=typeof t.fragment=="string"?`#${QM(t.fragment)}`:"";return`${n}${r}${o}`}},YM=new Cn;function mc(e){return e.segments.map(t=>OD(t)).join("/")}function bi(e,t){if(!e.hasChildren())return mc(e);if(t){let n=e.children[P]?bi(e.children[P],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==P&&r.push(`${o}:${bi(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=ZM(e,(r,o)=>o===P?[bi(e.children[P],!1)]:[`${o}:${bi(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[P]!=null?`${mc(e)}/${n[0]}`:`${mc(e)}/(${n.join("//")})`}}function xD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function hc(e){return xD(e).replace(/%3B/gi,";")}function QM(e){return encodeURI(e)}function Jf(e){return xD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yc(e){return decodeURIComponent(e)}function DD(e){return yc(e.replace(/\+/g,"%20"))}function OD(e){return`${Jf(e.path)}${KM(e.parameters)}`}function KM(e){return Object.entries(e).map(([t,n])=>`;${Jf(t)}=${Jf(n)}`).join("")}function JM(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${hc(n)}=${hc(o)}`).join("&"):`${hc(n)}=${hc(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var XM=/^[^\/()?;#]+/;function qf(e){let t=e.match(XM);return t?t[0]:""}var eN=/^[^\/()?;=#]+/;function tN(e){let t=e.match(eN);return t?t[0]:""}var nN=/^[^=?&#]+/;function rN(e){let t=e.match(nN);return t?t[0]:""}var oN=/^[^&#]+/;function iN(e){let t=e.match(oN);return t?t[0]:""}var Xf=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[P]=new j(t,n)),r}parseSegment(){let t=qf(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new wn(yc(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=tN(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=qf(this.remaining);o&&(r=o,this.capture(r))}t[yc(n)]=yc(r)}parseQueryParam(t){let n=rN(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=iN(this.remaining);s&&(r=s,this.capture(r))}let o=DD(n),i=DD(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=qf(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new m(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=P);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[P]:new j([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new m(4011,!1)}};function PD(e){return e.segments.length>0?new j([],{[P]:e}):e}function kD(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=kD(o);if(r===P&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new j(e.segments,t);return sN(n)}function sN(e){if(e.numberOfChildren===1&&e.children[P]){let t=e.children[P];return new j(e.segments.concat(t.segments),t.children)}return e}function so(e){return e instanceof xt}function FD(e,t,n=null,r=null){let o=LD(e);return jD(o,t,n,r)}function LD(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new j(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=PD(r);return t??o}function jD(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Wf(o,o,o,n,r);let i=aN(t);if(i.toRoot())return Wf(o,o,new j([],{}),n,r);let s=cN(i,o,e),a=s.processChildren?_i(s.segmentGroup,s.index,i.commands):VD(s.segmentGroup,s.index,i.commands);return Wf(o,s.segmentGroup,a,n,r)}function vc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Mi(e){return typeof e=="object"&&e!=null&&e.outlets}function Wf(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=BD(e,t,n);let a=PD(kD(s));return new xt(a,i,o)}function BD(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=BD(i,t,n)}),new j(e.segments,r)}var Dc=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&vc(r[0]))throw new m(4003,!1);let o=r.find(Mi);if(o&&o!==SD(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function aN(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Dc(!0,0,e);let t=0,n=!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===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Dc(n,t,r)}var ro=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function cN(e,t,n){if(e.isAbsolute)return new ro(t,!0,0);if(!n)return new ro(t,!1,NaN);if(n.parent===null)return new ro(n,!0,0);let r=vc(e.commands[0])?0:1,o=n.segments.length-1+r;return uN(n,o,e.numberOfDoubleDots)}function uN(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new m(4005,!1);o=r.segments.length}return new ro(r,!1,o-i)}function lN(e){return Mi(e[0])?e[0].outlets:{[P]:e}}function VD(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return _i(e,t,n);let r=dN(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new j(e.segments.slice(0,r.pathIndex),{});return i.children[P]=new j(e.segments.slice(r.pathIndex),e.children),_i(i,0,o)}else return r.match&&o.length===0?new j(e.segments,{}):r.match&&!e.hasChildren()?eh(e,t,n):r.match?_i(e,0,o):eh(e,t,n)}function _i(e,t,n){if(n.length===0)return new j(e.segments,{});{let r=lN(n),o={};if(Object.keys(r).some(i=>i!==P)&&e.children[P]&&e.numberOfChildren===1&&e.children[P].segments.length===0){let i=_i(e.children[P],t,n);return new j(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=VD(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new j(e.segments,o)}}function dN(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(Mi(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!ID(c,u,s))return i;r+=2}else{if(!ID(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function eh(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(Mi(i)){let c=fN(i.outlets);return new j(r,c)}if(o===0&&vc(n[0])){let c=e.segments[t];r.push(new wn(c.path,ED(n[0]))),o++;continue}let s=Mi(i)?i.outlets[P]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&vc(a)?(r.push(new wn(s,ED(a))),o+=2):(r.push(new wn(s,{})),o++)}return new j(r,{})}function fN(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=eh(new j([],{}),0,r))}),t}function ED(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function ID(e,t,n){return e==n.path&&Rt(t,n.parameters)}var oo="imperative",de=(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})(de||{}),je=class{id;url;constructor(t,n){this.id=t,this.url=n}},bn=class extends je{type=de.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},dt=class extends je{urlAfterRedirects;type=de.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Me=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(Me||{}),ao=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(ao||{}),At=class extends je{reason;code;type=de.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ot=class extends je{reason;code;type=de.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},co=class extends je{error;target;type=de.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ni=class extends je{urlAfterRedirects;state;type=de.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ec=class extends je{urlAfterRedirects;state;type=de.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ic=class extends je{urlAfterRedirects;state;shouldActivate;type=de.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),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})`}},wc=class extends je{urlAfterRedirects;state;type=de.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cc=class extends je{urlAfterRedirects;state;type=de.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bc=class{route;type=de.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Tc=class{route;type=de.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},_c=class{snapshot;type=de.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sc=class{snapshot;type=de.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mc=class{snapshot;type=de.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Nc=class{snapshot;type=de.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},uo=class{routerEvent;position;anchor;type=de.Scroll;constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Ri=class{},lo=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function hN(e){return!(e instanceof Ri)&&!(e instanceof lo)}function pN(e,t){return e.providers&&!e._injector&&(e._injector=Zr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function lt(e){return e.outlet||P}function gN(e,t){let n=e.filter(r=>lt(r)===t);return n.push(...e.filter(r=>lt(r)!==t)),n}function po(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Rc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return po(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new cr(this.rootInjector)}},cr=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Rc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(C(te))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ac=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=th(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=th(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=nh(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return nh(t,this._root).map(n=>n.value)}};function th(e,t){if(e===t.value)return t;for(let n of t.children){let r=th(e,n);if(r)return r}return null}function nh(e,t){if(e===t.value)return[t];for(let n of t.children){let r=nh(e,n);if(r.length)return r.unshift(t),r}return[]}var Le=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function no(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ai=class extends Ac{snapshot;constructor(t,n){super(t),this.snapshot=n,lh(this,t)}toString(){return this.snapshot.toString()}};function UD(e){let t=mN(e),n=new ge([new wn("",{})]),r=new ge({}),o=new ge({}),i=new ge({}),s=new ge(""),a=new Yt(n,r,i,s,o,P,e,t.root);return a.snapshot=t.root,new Ai(new Le(a,[]),t)}function mN(e){let t={},n={},r={},i=new ir([],t,r,"",n,P,e,null,{});return new xi("",new Le(i,[]))}var Yt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(x(u=>u[Fi]))??_(void 0),this.url=t,this.params=n,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(x(t=>sr(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(t=>sr(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function xc(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:y(y({},t.params),e.params),data:y(y({},t.data),e.data),resolve:y(y(y(y({},e.data),t.data),o?.data),e._resolvedData)}:r={params:y({},e.params),data:y({},e.data),resolve:y(y({},e.data),e._resolvedData??{})},o&&HD(o)&&(r.resolve[Fi]=o.title),r}var ir=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Fi]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,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??=sr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=sr(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},xi=class extends Ac{url;constructor(t,n){super(n),this.url=t,lh(this,n)}toString(){return $D(this._root)}};function lh(e,t){t.value._routerState=e,t.children.forEach(n=>lh(e,n))}function $D(e){let t=e.children.length>0?` { ${e.children.map($D).join(", ")} } `:"";return`${e.value}${t}`}function Zf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Rt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Rt(t.params,n.params)||e.paramsSubject.next(n.params),HM(t.url,n.url)||e.urlSubject.next(n.url),Rt(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function rh(e,t){let n=Rt(e.params,t.params)&&WM(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||rh(e.parent,t.parent))}function HD(e){return typeof e.title=="string"||e.title===null}var zD=new I(""),dh=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=P;activateEvents=new _e;deactivateEvents=new _e;attachEvents=new _e;detachEvents=new _e;routerOutletData=yv(void 0);parentContexts=p(cr);location=p(Mt);changeDetector=p(Qr);inputBinder=p(Li,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.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(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new m(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new m(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new oh(n,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=zt({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[zr]})}return e})(),oh=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Yt?this.route:t===cr?this.childContexts:t===zD?this.outletData:this.parent.get(t,n)}},Li=new I(""),fh=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=Eo([r.queryParams,r.params,r.data]).pipe(fe(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?_(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=Iv(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),hh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Vd({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&za(0,"router-outlet")},dependencies:[dh],encapsulation:2})}return e})();function ph(e){let t=e.children&&e.children.map(ph),n=t?F(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==P&&(n.component=hh),n}function yN(e,t,n){let r=Oi(e,t._root,n?n._root:void 0);return new Ai(r,t)}function Oi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=vN(e,t,n);return new Le(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Oi(e,a)),s}}let r=DN(t.value),o=t.children.map(i=>Oi(e,i));return new Le(r,o)}}function vN(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Oi(e,r,o);return Oi(e,r)})}function DN(e){return new Yt(new ge(e.url),new ge(e.params),new ge(e.queryParams),new ge(e.fragment),new ge(e.data),e.outlet,e.component,e)}var fo=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},GD="ngNavigationCancelingError";function Oc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=so(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=qD(!1,Me.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function qD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[GD]=!0,n.cancellationCode=t,n}function EN(e){return WD(e)&&so(e.url)}function WD(e){return!!e&&e[GD]}var IN=(e,t,n,r)=>x(o=>(new ih(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),ih=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Zf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=no(n);t.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(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=no(t);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(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=no(t);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(t,n,r){let o=no(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Nc(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Sc(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Zf(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,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),Zf(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Pc=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},io=class{component;route;constructor(t,n){this.component=t,this.route=n}};function wN(e,t,n){let r=e._root,o=t?t._root:null;return Ti(r,o,n,[r.value])}function CN(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function go(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!wu(e)?e:t.get(e):r}function Ti(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=no(t);return e.children.forEach(s=>{bN(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Si(a,n.getContext(s),o)),o}function bN(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=TN(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Pc(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ti(e,t,a?a.children:null,r,o):Ti(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new io(a.outlet.component,s))}else s&&Si(t,a,o),o.canActivateChecks.push(new Pc(r)),i.component?Ti(e,null,a?a.children:null,r,o):Ti(e,null,n,r,o);return o}function TN(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!or(e.url,t.url);case"pathParamsOrQueryParamsChange":return!or(e.url,t.url)||!Rt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rh(e,t)||!Rt(e.queryParams,t.queryParams);case"paramsChange":default:return!rh(e,t)}}function Si(e,t,n){let r=no(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Si(s,t.children.getContext(i),n):Si(s,null,n):Si(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new io(t.outlet.component,o)):n.canDeactivateChecks.push(new io(null,o)):n.canDeactivateChecks.push(new io(null,o))}function ji(e){return typeof e=="function"}function _N(e){return typeof e=="boolean"}function SN(e){return e&&ji(e.canLoad)}function MN(e){return e&&ji(e.canActivate)}function NN(e){return e&&ji(e.canActivateChild)}function RN(e){return e&&ji(e.canDeactivate)}function AN(e){return e&&ji(e.canMatch)}function ZD(e){return e instanceof Pe||e?.name==="EmptyError"}var pc=Symbol("INITIAL_VALUE");function ho(){return fe(e=>Eo(e.map(t=>t.pipe(mt(1),hs(pc)))).pipe(x(t=>{for(let n of t)if(n!==!0){if(n===pc)return pc;if(n===!1||xN(n))return n}return!0}),ae(t=>t!==pc),mt(1)))}function xN(e){return so(e)||e instanceof fo}function ON(e,t){return Y(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?_(F(y({},n),{guardsResult:!0})):PN(s,r,o,e).pipe(Y(a=>a&&_N(a)?kN(r,i,e,t):_(a)),x(a=>F(y({},n),{guardsResult:a})))})}function PN(e,t,n,r){return W(e).pipe(Y(o=>VN(o.component,o.route,n,t,r)),yt(o=>o!==!0,!0))}function kN(e,t,n,r){return W(t).pipe(gt(o=>wr(LN(o.route.parent,r),FN(o.route,r),BN(e,o.path,n),jN(e,o.route,n))),yt(o=>o!==!0,!0))}function FN(e,t){return e!==null&&t&&t(new Mc(e)),_(!0)}function LN(e,t){return e!==null&&t&&t(new _c(e)),_(!0)}function jN(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return _(!0);let o=r.map(i=>Io(()=>{let s=po(t)??n,a=go(i,s),c=MN(a)?a.canActivate(t,e):pe(s,()=>a(t,e));return Qt(c).pipe(yt())}));return _(o).pipe(ho())}function BN(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>CN(s)).filter(s=>s!==null).map(s=>Io(()=>{let a=s.guards.map(c=>{let u=po(s.node)??n,l=go(c,u),d=NN(l)?l.canActivateChild(r,e):pe(u,()=>l(r,e));return Qt(d).pipe(yt())});return _(a).pipe(ho())}));return _(i).pipe(ho())}function VN(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return _(!0);let s=i.map(a=>{let c=po(t)??o,u=go(a,c),l=RN(u)?u.canDeactivate(e,t,n,r):pe(c,()=>u(e,t,n,r));return Qt(l).pipe(yt())});return _(s).pipe(ho())}function UN(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return _(!0);let i=o.map(s=>{let a=go(s,e),c=SN(a)?a.canLoad(t,n):pe(e,()=>a(t,n));return Qt(c)});return _(i).pipe(ho(),YD(r))}function YD(e){return qc(he(t=>{if(typeof t!="boolean")throw Oc(e,t)}),x(t=>t===!0))}function $N(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return _(!0);let i=o.map(s=>{let a=go(s,e),c=AN(a)?a.canMatch(t,n):pe(e,()=>a(t,n));return Qt(c)});return _(i).pipe(ho(),YD(r))}var Pi=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},ki=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function to(e){return Er(new Pi(e))}function HN(e){return Er(new m(4e3,!1))}function zN(e){return Er(qD(!1,Me.GuardRejected))}var sh=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return _(r);if(o.numberOfChildren>1||!o.children[P])return HN(`${t.redirectTo}`);o=o.children[P]}}applyRedirectCommands(t,n,r,o,i){return GN(n,o,i).pipe(x(s=>{if(s instanceof xt)throw new ki(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new ki(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new xt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new j(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new m(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function GN(e,t,n){if(typeof e=="string")return _(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d}=t;return Qt(pe(n,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var ah={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qN(e,t,n,r,o){let i=QD(e,t,n);return i.matched?(r=pN(t,r),$N(r,t,n,o).pipe(x(s=>s===!0?i:y({},ah)))):_(i)}function QD(e,t,n){if(t.path==="**")return WN(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},ah):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||TD)(n,e,t);if(!o)return y({},ah);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?y(y({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function WN(e){return{matched:!0,parameters:e.length>0?SD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function wD(e,t,n,r){return n.length>0&&QN(e,n,r)?{segmentGroup:new j(t,YN(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&KN(e,n,r)?{segmentGroup:new j(e.segments,ZN(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function ZN(e,t,n,r){let o={};for(let i of n)if(Fc(e,t,i)&&!r[lt(i)]){let s=new j([],{});o[lt(i)]=s}return y(y({},r),o)}function YN(e,t){let n={};n[P]=t;for(let r of e)if(r.path===""&&lt(r)!==P){let o=new j([],{});n[lt(r)]=o}return n}function QN(e,t,n){return n.some(r=>Fc(e,t,r)&&lt(r)!==P)}function KN(e,t,n){return n.some(r=>Fc(e,t,r))}function Fc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function JN(e,t,n){return t.length===0&&!e.children[n]}var ch=class{};function XN(e,t,n,r,o,i,s="emptyOnly"){return new uh(e,t,n,r,o,s,i).recognize()}var eR=31,uh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new sh(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){let t=wD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(({children:n,rootSnapshot:r})=>{let o=new Le(r,n),i=new xi("",o),s=FD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new ir([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),P,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,P,n).pipe(x(r=>({children:r,rootSnapshot:n})),pt(r=>{if(r instanceof ki)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Pi?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(x(s=>s instanceof Le?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return W(i).pipe(gt(s=>{let a=r.children[s],c=gN(n,s);return this.processSegmentGroup(t,c,a,s,o)}),eu((s,a)=>(s.push(...a),s)),Xt(null),Xc(),Y(s=>{if(s===null)return to(r);let a=KD(s);return tR(a),_(a)}))}processSegment(t,n,r,o,i,s,a){return W(n).pipe(gt(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(pt(u=>{if(u instanceof Pi)return _(null);throw u}))),yt(c=>!!c),pt(c=>{if(ZD(c))return JN(r,o,i)?_(new ch):to(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return lt(r)!==s&&(s===P||!Fc(o,i,r))?to(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):to(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=QD(n,o,i);if(!c)return to(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>eR&&(this.allowRedirects=!1));let f=new ir(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,CD(o),lt(o),o.component??o._loadedComponent??null,o,bD(o)),g=xc(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,t).pipe(fe(D=>this.applyRedirects.lineralizeSegments(o,D)),Y(D=>this.processSegment(t,r,n,D.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=qN(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(fe(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(fe(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new ir(h,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,CD(r),lt(r),r.component??r._loadedComponent??null,r,bD(r)),E=xc(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:D,slicedSegments:v}=wD(n,h,f,u);if(v.length===0&&D.hasChildren())return this.processChildren(l,u,D,g).pipe(x(Ne=>new Le(g,Ne)));if(u.length===0&&v.length===0)return _(new Le(g,[]));let L=lt(r)===i;return this.processSegment(l,u,D,v,L?P:i,!0,g).pipe(x(Ne=>new Le(g,Ne instanceof Le?[Ne]:[])))}))):to(n)))}getChildConfig(t,n,r){return n.children?_({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?_({routes:n._loadedRoutes,injector:n._loadedInjector}):UN(t,n,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(t,n).pipe(he(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):zN(n))):_({routes:[],injector:t})}};function tR(e){e.sort((t,n)=>t.value.outlet===P?-1:n.value.outlet===P?1:t.value.outlet.localeCompare(n.value.outlet))}function nR(e){let t=e.value.routeConfig;return t&&t.path===""}function KD(e){let t=[],n=new Set;for(let r of e){if(!nR(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=KD(r.children);t.push(new Le(r.value,o))}return t.filter(r=>!n.has(r))}function CD(e){return e.data||{}}function bD(e){return e.resolve||{}}function rR(e,t,n,r,o,i){return Y(s=>XN(e,t,n,r,s.extractedUrl,o,i).pipe(x(({state:a,tree:c})=>F(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function oR(e,t){return Y(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return _(n);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 JD(c))s.add(u);let a=0;return W(s).pipe(gt(c=>i.has(c)?iR(c,r,e,t):(c.data=xc(c,c.parent,e).resolve,_(void 0))),he(()=>a++),Cr(1),Y(c=>a===s.size?_(n):ye))})}function JD(e){let t=e.children.map(n=>JD(n)).flat();return[e,...t]}function iR(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!HD(o)&&(i[Fi]=o.title),Io(()=>(e.data=xc(e,e.parent,n).resolve,sR(i,e,t,r).pipe(x(s=>(e._resolvedData=s,e.data=y(y({},e.data),s),null)))))}function sR(e,t,n,r){let o=Kf(e);if(o.length===0)return _({});let i={};return W(o).pipe(Y(s=>aR(e[s],t,n,r).pipe(yt(),he(a=>{if(a instanceof fo)throw Oc(new Cn,a);i[s]=a}))),Cr(1),x(()=>i),pt(s=>ZD(s)?ye:Er(s)))}function aR(e,t,n,r){let o=po(t)??r,i=go(e,o),s=i.resolve?i.resolve(t,n):pe(o,()=>i(t,n));return Qt(s)}function Yf(e){return fe(t=>{let n=e(t);return n?W(n).pipe(x(()=>t)):_(t)})}var gh=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===P);return r}getResolvedTitleForRoute(n){return n.data[Fi]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(XD),providedIn:"root"})}return e})(),XD=(()=>{class e extends gh{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(C(yD))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ur=new I("",{providedIn:"root",factory:()=>({})}),lr=new I(""),Lc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(cf);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return _(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Qt(pe(n,()=>r.loadComponent())).pipe(x(tE),fe(nE),he(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Rn(()=>{this.componentLoaders.delete(r)})),i=new vr(o,()=>new J).pipe(yr());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return _({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=eE(r,this.compiler,n,this.onLoadEndListener).pipe(Rn(()=>{this.childrenLoaders.delete(r)})),s=new vr(i,()=>new J).pipe(yr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function eE(e,t,n,r){return Qt(pe(n,()=>e.loadChildren())).pipe(x(tE),fe(nE),Y(o=>o instanceof ja||Array.isArray(o)?_(o):W(t.compileModuleAsync(o))),x(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(lr,[],{optional:!0,self:!0}).flat()),{routes:s.map(ph),injector:i}}))}function cR(e){return e&&typeof e=="object"&&"default"in e}function tE(e){return cR(e)?e.default:e}function nE(e){return _(e)}var jc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(uR),providedIn:"root"})}return e})(),uR=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mh=new I(""),yh=new I("");function rE(e,t,n){let r=e.get(yh),o=e.get(Z);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(),lR(e)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&pe(e,()=>c({transition:a,from:t,to:n})),s}function lR(e){return new Promise(t=>{Gd({read:()=>setTimeout(t)},{injector:e})})}var vh=new I(""),Bc=(()=>{class e{currentNavigation=Wn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new J;transitionAbortWithErrorSubject=new J;configLoader=p(Lc);environmentInjector=p(te);destroyRef=p(qe);urlSerializer=p(ar);rootContexts=p(cr);location=p(En);inputBindingEnabled=p(Li,{optional:!0})!==null;titleStrategy=p(gh);options=p(ur,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(jc);createViewTransition=p(mh,{optional:!0});navigationErrorHandler=p(vh,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>_(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new bc(o)),r=o=>this.events.next(new Tc(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;at(()=>{this.transitions?.next(F(y({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new ge(null),this.transitions.pipe(ae(r=>r!==null),fe(r=>{let o=!1;return _(r).pipe(fe(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Me.SupersededByNewNavigation),ye;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?F(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new Ot(i.id,this.urlSerializer.serialize(i.rawUrl),"",ao.IgnoredSameUrlNavigation)),i.resolve(!1),ye;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return _(i).pipe(fe(c=>(this.events.next(new bn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?ye:Promise.resolve(c))),rR(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),he(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=c.urlAfterRedirects,l));let u=new Ni(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 bn(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let g=UD(this.rootComponentType).snapshot;return this.currentTransition=r=F(y({},i),{targetSnapshot:g,urlAfterRedirects:u,extras:F(y({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(E=>(E.finalUrl=u,E)),_(r)}else return this.events.next(new Ot(i.id,this.urlSerializer.serialize(i.extractedUrl),"",ao.IgnoredByUrlHandlingStrategy)),i.resolve(!1),ye}),he(i=>{let s=new Ec(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),x(i=>(this.currentTransition=r=F(y({},i),{guards:wN(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),ON(this.environmentInjector,i=>this.events.next(i)),he(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw Oc(this.urlSerializer,i.guardsResult);let s=new Ic(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),ae(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",Me.GuardRejected),!1)),Yf(i=>{if(i.guards.canActivateChecks.length!==0)return _(i).pipe(he(s=>{let a=new wc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),fe(s=>{let a=!1;return _(s).pipe(oR(this.paramsInheritanceStrategy,this.environmentInjector),he({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Me.NoDataFromResolver)}}))}),he(s=>{let a=new Cc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Yf(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=po(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(he(l=>{a.component=l}),x(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return Eo(s(i.targetSnapshot.root)).pipe(Xt(null),mt(1))}),Yf(()=>this.afterPreactivation()),fe(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?W(a).pipe(x(()=>r)):_(r)}),x(i=>{let s=yN(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=F(y({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),he(()=>{this.events.next(new Ri)}),IN(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),mt(1),ps(new k(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ae(()=>!o&&!r.targetRouterState),he(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Me.Aborted)}))),he({next:i=>{o=!0,this.lastSuccessfulNavigation=at(this.currentNavigation),this.events.next(new dt(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),ps(this.transitionAbortWithErrorSubject.pipe(he(i=>{throw i}))),Rn(()=>{o||this.cancelNavigationTransition(r,"",Me.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),pt(i=>{if(this.destroyed)return r.resolve(!1),ye;if(o=!0,WD(i))this.events.next(new At(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),EN(i)?this.events.next(new lo(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new co(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=pe(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof fo){let{message:c,cancellationCode:u}=Oc(this.urlSerializer,a);this.events.next(new At(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new lo(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return ye}))}))}cancelNavigationTransition(n,r,o){let i=new At(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=at(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dR(e){return e!==oo}var oE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(fR),providedIn:"root"})}return e})(),kc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},fR=(()=>{class e extends kc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=wa(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),iE=(()=>{class e{urlSerializer=p(ar);options=p(ur,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(En);urlHandlingStrategy=p(jc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new xt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof xt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=UD(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:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(hR),providedIn:"root"})}return e})(),hR=(()=>{class e extends iE{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof bn?this.updateStateMemento():n instanceof Ot?this.commitTransition(r):n instanceof Ni?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Ri?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof At&&n.code!==Me.SupersededByNewNavigation&&n.code!==Me.Redirect?this.restoreHistory(r):n instanceof co?this.restoreHistory(r,!0):n instanceof dt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=y(y({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=y(y({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=wa(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vc(e,t){e.events.pipe(ae(n=>n instanceof dt||n instanceof At||n instanceof co||n instanceof Ot),x(n=>n instanceof dt||n instanceof Ot?0:(n instanceof At?n.code===Me.Redirect||n.code===Me.SupersededByNewNavigation:!1)?2:1),ae(n=>n!==2),mt(1)).subscribe(()=>{t()})}var pR={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gR={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Kt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Ua);stateManager=p(iE);options=p(ur,{optional:!0})||{};pendingTasks=p(Tt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Bc);urlSerializer=p(ar);location=p(En);urlHandlingStrategy=p(jc);injector=p(te);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(oE);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(lr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Li,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new K;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=at(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof At&&r.code!==Me.Redirect&&r.code!==Me.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof dt)this.navigated=!0;else if(r instanceof lo){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||dR(o.source)},s);this.scheduleNavigation(a,oo,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}hN(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),oo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=y({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Te)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return at(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ph),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(n,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=y(y({},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=LD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return jD(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=so(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,oo,null,r)}navigate(n,r={skipLocationChange:!1}){return mR(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},pR):r===!1?o=y({},gR):o=r,so(n))return vD(this.currentUrlTree,n,o);let i=this.parseUrl(n);return vD(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,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 Vc(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,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=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function mR(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var Bi=class{};var sE=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i){this.router=n,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(ae(n=>n instanceof dt),gt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=Zr(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,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 W(o).pipe(Jt())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=_(null);let i=o.pipe(Y(s=>s===null?_(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(n,r);return W([i,s]).pipe(Jt())}else return i})}static \u0275fac=function(r){return new(r||e)(C(Kt),C(te),C(Bi),C(Lc))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),aE=new I(""),yR=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=oo;restoredId=0;store={};constructor(n,r,o,i,s={}){this.urlSerializer=n,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(n=>{n instanceof bn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof dt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Ot&&n.code===ao.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof uo&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>dr(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new uo(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Ad()};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function vR(e,...t){return Je([{provide:lr,multi:!0,useValue:e},[],{provide:Yt,useFactory:cE,deps:[Kt]},{provide:ai,multi:!0,useFactory:uE},t.map(n=>n.\u0275providers)])}function cE(e){return e.routerState.root}function Vi(e,t){return{\u0275kind:e,\u0275providers:t}}function uE(){let e=p(me);return t=>{let n=e.get(vn);if(t!==n.components[0])return;let r=e.get(Kt),o=e.get(lE);e.get(Eh)===1&&r.initialNavigation(),e.get(hE,null,{optional:!0})?.setUpPreloading(),e.get(aE,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var lE=new I("",{factory:()=>new J}),Eh=new I("",{providedIn:"root",factory:()=>1});function dE(){let e=[{provide:Sa,useValue:!0},{provide:Eh,useValue:0},Ha(()=>{let t=p(me);return t.get(wf,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(Kt),i=t.get(lE);Vc(o,()=>{r(!0)}),t.get(Bc).afterPreactivation=()=>(r(!0),i.closed?_(void 0):i),o.initialNavigation()}))})];return Vi(2,e)}function fE(){let e=[Ha(()=>{p(Kt).setUpLocationChangeListener()}),{provide:Eh,useValue:2}];return Vi(3,e)}var hE=new I("");function pE(e){return Vi(0,[{provide:hE,useExisting:sE},{provide:Bi,useExisting:e}])}function gE(){return Vi(8,[fh,{provide:Li,useExisting:fh}])}function mE(e){st("NgRouterViewTransitions");let t=[{provide:mh,useValue:rE},{provide:yh,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return Vi(9,t)}var yE=[En,{provide:ar,useClass:Cn},Kt,cr,{provide:Yt,useFactory:cE,deps:[Kt]},Lc,[]],DR=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[yE,[],{provide:lr,multi:!0,useValue:n},[],r?.errorHandler?{provide:vh,useValue:r.errorHandler}:[],{provide:ur,useValue:r||{}},r?.useHash?IR():wR(),ER(),r?.preloadingStrategy?pE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?CR(r):[],r?.bindToComponentInputs?gE().\u0275providers:[],r?.enableViewTransitions?mE().\u0275providers:[],bR()]}}static forChild(n){return{ngModule:e,providers:[{provide:lr,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mn({type:e});static \u0275inj=Lt({})}return e})();function ER(){return{provide:aE,useFactory:()=>{let e=p(Zv),t=p(Q),n=p(ur),r=p(Bc),o=p(ar);return n.scrollOffset&&e.setOffset(n.scrollOffset),new yR(o,r,e,t,n)}}}function IR(){return{provide:qt,useClass:Af}}function wR(){return{provide:qt,useClass:Ya}}function CR(e){return[e.initialNavigation==="disabled"?fE().\u0275providers:[],e.initialNavigation==="enabledBlocking"?dE().\u0275providers:[]]}var Dh=new I("");function bR(){return[{provide:Dh,useFactory:uE},{provide:ai,multi:!0,useExisting:Dh}]}export{y as a,F as b,wE as c,dr as d,K as e,k as f,J as g,ge as h,ye as i,W as j,_ as k,Er as l,kE as m,FE as n,x as o,Eo as p,wr as q,Io as r,GE as s,Jc as t,JE as u,ae as v,XE as w,pt as x,Jh as y,mt as z,eI as A,Xh as B,Rn as C,yt as D,rI as E,nu as F,ep as G,oI as H,hs as I,fe as J,ps as K,iI as L,he as M,m as N,Ns as O,w as P,Lt as Q,I as R,C as S,p as T,Je as U,Tp as V,te as W,Bp as X,Vp as Y,Xp as Z,eg as _,me as $,Z as aa,qe as ba,Be as ca,jI as da,sl as ea,Wn as fa,zr as ga,wa as ha,Ut as ia,aa as ja,ba as ka,qr as la,mw as ma,_a as na,it as oa,Vw as pa,Uw as qa,qw as ra,hC as sa,pn as ta,Jn as ua,ii as va,ie as wa,Mt as xa,st as ya,Xn as za,Vd as Aa,mn as Ba,zt as Ca,si as Da,Iy as Ea,oT as Fa,by as Ga,_e as Ha,Q as Ia,Gd as Ja,tr as Ka,Wd as La,vn as Ma,Yd as Na,DT as Oa,IT as Pa,wT as Qa,CT as Ra,bT as Sa,TT as Ta,_T as Ua,Ry as Va,Kd as Wa,Jd as Xa,za as Ya,Xd as Za,ef as _a,Ay as $a,Oy as ab,AT as bb,Py as cb,rf as db,Fy as eb,FT as fb,jT as gb,BT as hb,jy as ib,UT as jb,By as kb,Vy as lb,$T as mb,HT as nb,zT as ob,GT as pb,Hy as qb,zy as rb,n_ as sb,h_ as tb,Ky as ub,of as vb,Jy as wb,ev as xb,m_ as yb,tv as zb,y_ as Ab,w_ as Bb,C_ as Cb,b_ as Db,S_ as Eb,N_ as Fb,R_ as Gb,A_ as Hb,x_ as Ib,P_ as Jb,at as Kb,L_ as Lb,j_ as Mb,hf as Nb,w$ as Ob,C$ as Pb,Qr as Qb,Dv as Rb,yS as Sb,b$ as Tb,T$ as Ub,Gt as Vb,En as Wb,$S as Xb,zv as Yb,HS as Zb,zS as _b,WS as $b,YS as ac,QS as bc,Wv as cc,FH as dc,Hf as ec,fM as fc,In as gc,Zt as hc,lc as ic,fD as jc,BM as kc,VM as lc,Yt as mc,dh as nc,Kt as oc,vR as pc,DR as qc};
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function _n(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var K=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){t=i instanceof $i?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{bh(i)}catch(s){t=t??[],s instanceof $i?t=[...t,...s.errors]:t.push(s)}}if(t)throw new $i(t)}}add(t){var n;if(t&&t!==this)if(this.closed)bh(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&_n(n,t)}remove(t){let{_finalizers:n}=this;n&&_n(n,t),t instanceof e&&t._removeParent(this)}};K.EMPTY=(()=>{let e=new K;return e.closed=!0,e})();var Uc=K.EMPTY;function Hi(e){return e instanceof K||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function bh(e){S(e)?e():e.unsubscribe()}var Ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var pr={setTimeout(e,t,...n){let{delegate:r}=pr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=pr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function zi(e){pr.setTimeout(()=>{let{onUnhandledError:t}=Ye;if(t)t(e);else throw e})}function mo(){}var Th=$c("C",void 0,void 0);function _h(e){return $c("E",void 0,e)}function Sh(e){return $c("N",e,void 0)}function $c(e,t,n){return{kind:e,value:t,error:n}}var Sn=null;function gr(e){if(Ye.useDeprecatedSynchronousErrorHandling){let t=!Sn;if(t&&(Sn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Sn;if(Sn=null,n)throw r}}else e()}function Mh(e){Ye.useDeprecatedSynchronousErrorHandling&&Sn&&(Sn.errorThrown=!0,Sn.error=e)}var Mn=class extends K{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Hi(t)&&t.add(this)):this.destination=_E}static create(t,n,r){return new Qe(t,n,r)}next(t){this.isStopped?zc(Sh(t),this):this._next(t)}error(t){this.isStopped?zc(_h(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?zc(Th,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},bE=Function.prototype.bind;function Hc(e,t){return bE.call(e,t)}var Gc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Gi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Gi(r)}else Gi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Gi(n)}}},Qe=class extends Mn{constructor(t,n,r){super();let o;if(S(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Hc(t.next,i),error:t.error&&Hc(t.error,i),complete:t.complete&&Hc(t.complete,i)}):o=t}this.destination=new Gc(o)}};function Gi(e){Ye.useDeprecatedSynchronousErrorHandling?Mh(e):zi(e)}function TE(e){throw e}function zc(e,t){let{onStoppedNotification:n}=Ye;n&&pr.setTimeout(()=>n(e,t))}var _E={closed:!0,next:mo,error:TE,complete:mo};var mr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function qc(...e){return Wc(e)}function Wc(e){return e.length===0?we:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var k=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=ME(n)?n:new Qe(n,r,o);return gr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Nh(r),new r((o,i)=>{let s=new Qe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[mr](){return this}pipe(...n){return Wc(n)(this)}toPromise(n){return n=Nh(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Nh(e){var t;return(t=e??Ye.Promise)!==null&&t!==void 0?t:Promise}function SE(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function ME(e){return e&&e instanceof Mn||SE(e)&&Hi(e)}var Rh=hr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new qi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Rh}next(n){gr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){gr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){gr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Uc:(this.currentObservers=null,i.push(n),new K(()=>{this.currentObservers=null,_n(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new k;return n.source=this,n}}return e.create=(t,n)=>new qi(t,n),e})(),qi=class extends J{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Uc}};var ge=class extends J{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function xh(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=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,t||[])).next())})}function Ah(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.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(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Nn(e){return this instanceof Nn?(this.v=e,this):new Nn(e)}function Oh(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),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(E){return new Promise(function(D,v){i.push([f,E,D,v])>1||c(f,E)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(E){h(i[0][3],E)}}function u(f){f.value instanceof Nn?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 Ph(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ah=="function"?Ah(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[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 yr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Wi(e){return S(e?.then)}function Zi(e){return S(e[mr])}function Yi(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function Qi(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 NE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ki=NE();function Ji(e){return S(e?.[Ki])}function Xi(e){return Oh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Nn(n.read());if(o)return yield Nn(void 0);yield yield Nn(r)}}finally{n.releaseLock()}})}function es(e){return S(e?.getReader)}function V(e){if(e instanceof k)return e;if(e!=null){if(Zi(e))return RE(e);if(yr(e))return AE(e);if(Wi(e))return xE(e);if(Yi(e))return kh(e);if(Ji(e))return OE(e);if(es(e))return PE(e)}throw Qi(e)}function RE(e){return new k(t=>{let n=e[mr]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function AE(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function xE(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zi)})}function OE(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function kh(e){return new k(t=>{kE(e,t).catch(n=>t.error(n))})}function PE(e){return kh(Xi(e))}function kE(e,t){var n,r,o,i;return xh(this,void 0,void 0,function*(){try{for(n=Ph(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Zc(e){return S(e?.lift)}function A(e){return t=>{if(Zc(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function N(e,t,n,r,o){return new Yc(e,t,n,r,o)}var Yc=class extends Mn{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function fe(e,t){return A((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(N(r,c=>{o?.unsubscribe();let u=0,l=i++;V(e(c,l)).subscribe(o=N(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function vr(){return A((e,t)=>{let n=null;e._refCount++;let r=N(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Dr=class extends k{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Zc(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new K;let n=this.getSubject();t.add(this.source.subscribe(N(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=K.EMPTY)}return t}refCount(){return vr()(this)}};var yo={now(){return(yo.delegate||Date).now()},delegate:void 0};var ts=class extends J{constructor(t=1/0,n=1/0,r=yo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var ns=class extends K{constructor(t,n){super()}schedule(t,n=0){return this}};var vo={setInterval(e,t,...n){let{delegate:r}=vo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=vo;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var rs=class extends ns{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return vo.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&vo.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}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:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,_n(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Er=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Er.now=yo.now;var os=class extends Er{constructor(t,n=Er.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Do=new os(rs),Fh=Do;var ye=new k(e=>e.complete());function is(e){return e&&S(e.schedule)}function Qc(e){return e[e.length-1]}function ss(e){return S(Qc(e))?e.pop():void 0}function ht(e){return is(Qc(e))?e.pop():void 0}function Lh(e,t){return typeof Qc(e)=="number"?e.pop():t}function Re(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function as(e,t=0){return A((n,r)=>{n.subscribe(N(r,o=>Re(r,e,()=>r.next(o),t),()=>Re(r,e,()=>r.complete(),t),o=>Re(r,e,()=>r.error(o),t)))})}function cs(e,t=0){return A((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function jh(e,t){return V(e).pipe(cs(t),as(t))}function Bh(e,t){return V(e).pipe(cs(t),as(t))}function Vh(e,t){return new k(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Uh(e,t){return new k(n=>{let r;return Re(n,t,()=>{r=e[Ki](),Re(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function us(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(n=>{Re(n,t,()=>{let r=e[Symbol.asyncIterator]();Re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function $h(e,t){return us(Xi(e),t)}function Hh(e,t){if(e!=null){if(Zi(e))return jh(e,t);if(yr(e))return Vh(e,t);if(Wi(e))return Bh(e,t);if(Yi(e))return us(e,t);if(Ji(e))return Uh(e,t);if(es(e))return $h(e,t)}throw Qi(e)}function W(e,t){return t?Hh(e,t):V(e)}function _(...e){let t=ht(e);return W(e,t)}function Ir(e,t){let n=S(e)?e:()=>e,r=o=>o.error(n());return new k(t?o=>t.schedule(r,0,o):r)}function Kc(e){return!!e&&(e instanceof k||S(e.lift)&&S(e.subscribe))}var Pe=hr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function FE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new Pe)}})})}function LE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Qe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Pe)}});e.subscribe(i)})}function zh(e){return e instanceof Date&&!isNaN(e)}function x(e,t){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:jE}=Array;function BE(e,t){return jE(t)?e(...t):e(t)}function wr(e){return x(t=>BE(e,t))}var{isArray:VE}=Array,{getPrototypeOf:UE,prototype:$E,keys:HE}=Object;function ls(e){if(e.length===1){let t=e[0];if(VE(t))return{args:t,keys:null};if(zE(t)){let n=HE(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function zE(e){return e&&typeof e=="object"&&UE(e)===$E}function ds(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Eo(...e){let t=ht(e),n=ss(e),{args:r,keys:o}=ls(e);if(r.length===0)return W([],t);let i=new k(GE(r,t,o?s=>ds(o,s):we));return n?i.pipe(wr(n)):i}function GE(e,t,n=we){return r=>{Gh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Gh(t,()=>{let u=W(e[c],t),l=!1;u.subscribe(N(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Gh(e,t,n){e?Re(n,e,t):t()}function qh(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=E=>u<r?g(E):c.push(E),g=E=>{i&&t.next(E),u++;let D=!1;V(n(E,l++)).subscribe(N(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){let v=c.shift();s?Re(t,s,()=>g(v)):g(v)}h()}catch(v){t.error(v)}}))};return e.subscribe(N(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Y(e,t,n=1/0){return S(t)?Y((r,o)=>x((i,s)=>t(r,i,o,s))(V(e(r,o))),n):(typeof t=="number"&&(n=t),A((r,o)=>qh(r,o,e,n)))}function Jt(e=1/0){return Y(we,e)}function Wh(){return Jt(1)}function Cr(...e){return Wh()(W(e,ht(e)))}function Io(e){return new k(t=>{V(e()).subscribe(t)})}function qE(...e){let t=ss(e),{args:n,keys:r}=ls(e),o=new k(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;V(n[l]).subscribe(N(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?ds(r,a):a),i.complete())}))}});return t?o.pipe(wr(t)):o}var WE=["addListener","removeListener"],ZE=["addEventListener","removeEventListener"],YE=["on","off"];function Jc(e,t,n,r){if(S(n)&&(r=n,n=void 0),r)return Jc(e,t,n).pipe(wr(r));let[o,i]=JE(e)?ZE.map(s=>a=>e[s](t,a,n)):QE(e)?WE.map(Zh(e,t)):KE(e)?YE.map(Zh(e,t)):[];if(!o&&yr(e))return Y(s=>Jc(s,t,n))(V(e));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Zh(e,t){return n=>r=>e[n](t,r)}function QE(e){return S(e.addListener)&&S(e.removeListener)}function KE(e){return S(e.on)&&S(e.off)}function JE(e){return S(e.addEventListener)&&S(e.removeEventListener)}function Yh(e=0,t,n=Fh){let r=-1;return t!=null&&(is(t)?n=t:r=t),new k(o=>{let i=zh(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function XE(...e){let t=ht(e),n=Lh(e,1/0),r=e;return r.length?r.length===1?V(r[0]):Jt(n)(W(r,t)):ye}function ae(e,t){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Qh(e){return A((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(N(n,u=>{r=!0,o=u,i||V(e(u)).subscribe(i=N(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function eI(e,t=Do){return Qh(()=>Yh(e,t))}function pt(e){return A((t,n)=>{let r=null,o=!1,i;r=t.subscribe(N(n,void 0,void 0,s=>{i=V(e(s,pt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Kh(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(N(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 gt(e,t){return S(t)?Y(e,t,1):Y(e,1)}function Jh(e,t=Do){return A((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(N(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Xt(e){return A((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function mt(e){return e<=0?()=>ye:A((t,n)=>{let r=0;t.subscribe(N(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function tI(e){return x(()=>e)}function Xh(e,t=we){return e=e??nI,A((n,r)=>{let o,i=!0;n.subscribe(N(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function nI(e,t){return e===t}function fs(e=rI){return A((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function rI(){return new Pe}function Rn(e){return A((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function yt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):we,mt(1),n?Xt(t):fs(()=>new Pe))}function br(e){return e<=0?()=>ye:A((t,n)=>{let r=[];t.subscribe(N(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Xc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):we,br(1),n?Xt(t):fs(()=>new Pe))}function oI(){return A((e,t)=>{let n,r=!1;e.subscribe(N(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function eu(e,t){return A(Kh(e,t,arguments.length>=2,!0))}function nu(e={}){let{connector:t=()=>new J,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},g=()=>{let E=s;f(),E?.unsubscribe()};return A((E,D)=>{u++,!d&&!l&&h();let v=c=c??t();D.add(()=>{u--,u===0&&!d&&!l&&(a=tu(g,o))}),v.subscribe(D),!s&&u>0&&(s=new Qe({next:L=>v.next(L),error:L=>{d=!0,h(),a=tu(f,n,L),v.error(L)},complete:()=>{l=!0,h(),a=tu(f,r),v.complete()}}),V(E).subscribe(s))})(i)}}function tu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Qe({next:()=>{r.unsubscribe(),e()}});return V(t(...n)).subscribe(r)}function ep(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,nu({connector:()=>new ts(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function iI(e){return ae((t,n)=>e<=n)}function hs(...e){let t=ht(e);return A((n,r)=>{(t?Cr(e,n,t):Cr(e,n)).subscribe(r)})}function ps(e){return A((t,n)=>{V(e).subscribe(N(n,()=>n.complete(),mo)),!n.closed&&t.subscribe(n)})}function sI(e,t=!1){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function he(e,t,n){let r=S(e)||t||n?{next:e,error:t,complete:n}:e;return r?A((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(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)}))}):we}var ru;function gs(){return ru}function vt(e){let t=ru;return ru=e,t}var tp=Symbol("NotFound");function Tr(e){return e===tp||e?.name==="\u0275NotFound"}var ve=null,ms=!1,ou=1,aI=null,ce=Symbol("SIGNAL");function R(e){let t=ve;return ve=e,t}function Es(){return ve}var An={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 xn(e){if(ms)throw new Error("");if(ve===null)return;ve.consumerOnSignalRead(e);let t=ve.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ve.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ve.producers,n!==void 0&&n.producer===e)){ve.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ve&&(!r||uI(o,ve)))return;let i=_r(ve),s={producer:e,consumer:ve,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ve.producersTail=s,t!==void 0?t.nextProducer=s:ve.producers=s,i&&ip(e,s)}function np(){ou++}function Is(e){if(!(_r(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ou)){if(!e.producerMustRecompute(e)&&!Pn(e)){Ds(e);return}e.producerRecomputeValue(e),Ds(e)}}function iu(e){if(e.consumers===void 0)return;let t=ms;ms=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||cI(r)}}finally{ms=t}}function su(){return ve?.consumerAllowSignalWrites!==!1}function cI(e){e.dirty=!0,iu(e),e.consumerMarkedDirty?.(e)}function Ds(e){e.dirty=!1,e.lastCleanEpoch=ou}function en(e){return e&&rp(e),R(e)}function rp(e){e.producersTail=void 0,e.recomputing=!0}function On(e,t){R(t),e&&op(e)}function op(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(_r(e))do n=au(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Pn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Is(n),r!==n.version))return!0}return!1}function tn(e){if(_r(e)){let t=e.producers;for(;t!==void 0;)t=au(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ip(e,t){let n=e.consumersTail,r=_r(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)ip(o.producer,o)}function au(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!_r(t)){let i=t.producers;for(;i!==void 0;)i=au(i)}return n}function _r(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ws(e){aI?.(e)}function uI(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Cs(e,t){return Object.is(e,t)}function Co(e,t){let n=Object.create(lI);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Is(n),xn(n),n.value===wo)throw n.error;return n.value};return r[ce]=n,ws(n),r}var ys=Symbol("UNSET"),vs=Symbol("COMPUTING"),wo=Symbol("ERRORED"),lI=F(y({},An),{value:ys,dirty:!0,error:null,equal:Cs,kind:"computed",producerMustRecompute(e){return e.value===ys||e.value===vs},producerRecomputeValue(e){if(e.value===vs)throw new Error("");let t=e.value;e.value=vs;let n=en(e),r,o=!1;try{r=e.computation(),R(null),o=t!==ys&&t!==wo&&r!==wo&&e.equal(t,r)}catch(i){r=wo,e.error=i}finally{On(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function dI(){throw new Error}var sp=dI;function ap(e){sp(e)}function cu(e){sp=e}var fI=null;function uu(e,t){let n=Object.create(bo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>cp(n);return r[ce]=n,ws(n),[r,s=>Sr(n,s),s=>lu(n,s)]}function cp(e){return xn(e),e.value}function Sr(e,t){su()||ap(e),e.equal(e.value,t)||(e.value=t,hI(e))}function lu(e,t){su()||ap(e),Sr(e,t(e.value))}var bo=F(y({},An),{equal:Cs,value:void 0,kind:"signal"});function hI(e){e.version++,np(),iu(e),fI?.(e)}function up(e){let t=R(null);try{return e()}finally{R(t)}}var lp=F(y({},An),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function dp(e){if(e.dirty=!1,e.version>0&&!Pn(e))return;e.version++;let t=en(e);try{e.cleanup(),e.fn()}finally{On(e,t)}}var Ss="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(Ft(t,n)),this.code=t}};function pI(e){return`NG0${Math.abs(e)}`}function Ft(e,t){return`${pI(e)}${t?": "+t:""}`}var Ue=globalThis;function B(e){for(let t in e)if(e[t]===B)return t;throw Error("")}function pp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function kt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(kt).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function Ms(e,t){return e?t?`${e} ${t}`:e:t||""}var gI=B({__forward_ref__:B});function Ns(e){return e.__forward_ref__=Ns,e.toString=function(){return kt(this())},e}function ue(e){return Iu(e)?e():e}function Iu(e){return typeof e=="function"&&e.hasOwnProperty(gI)&&e.__forward_ref__===Ns}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function No(e){return mI(e,Rs)}function wu(e){return No(e)!==null}function mI(e,t){return e.hasOwnProperty(t)&&e[t]||null}function yI(e){let t=e?.[Rs]??null;return t||null}function fu(e){return e&&e.hasOwnProperty(Ts)?e[Ts]:null}var Rs=B({\u0275prov:B}),Ts=B({\u0275inj:B}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Cu(e){return e&&!!e.\u0275providers}var bu=B({\u0275cmp:B}),Tu=B({\u0275dir:B}),_u=B({\u0275pipe:B}),Su=B({\u0275mod:B}),_o=B({\u0275fac:B}),Bn=B({__NG_ELEMENT_ID__:B}),fp=B({__NG_ENV_ID__:B});function on(e){return typeof e=="string"?e:e==null?"":String(e)}function gp(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 mp=B({ngErrorCode:B}),vI=B({ngErrorMessage:B}),DI=B({ngTokenPath:B});function Mu(e,t){return yp("",-200,t)}function As(e,t){throw new m(-201,!1)}function yp(e,t,n){let r=new m(t,e);return r[mp]=t,r[vI]=e,n&&(r[DI]=n),r}function EI(e){return e[mp]}var hu;function vp(){return hu}function Ce(e){let t=hu;return hu=e,t}function Nu(e,t,n){let r=No(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;As(e,"Injector")}var II={},kn=II,wI="__NG_DI_FLAG__",pu=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Fn(n)||0;try{return this.injector.get(t,r&8?null:kn,r)}catch(o){if(Tr(o))return o;throw o}}};function CI(e,t=0){let n=gs();if(n===void 0)throw new m(-203,!1);if(n===null)return Nu(e,void 0,t);{let r=bI(t),o=n.retrieve(e,r);if(Tr(o)){if(r.optional)return null;throw o}return o}}function C(e,t=0){return(vp()||CI)(ue(e),t)}function p(e,t){return C(e,Fn(t))}function Fn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bI(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function gu(e){let t=[];for(let n=0;n<e.length;n++){let r=ue(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=TI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(C(o,i))}else t.push(C(r))}return t}function TI(e){return e[wI]}function nn(e,t){let n=e.hasOwnProperty(_o);return n?e[_o]:null}function Dp(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Ep(e){return e.flat(Number.POSITIVE_INFINITY)}function xs(e,t){e.forEach(n=>Array.isArray(n)?xs(n,t):t(n))}function Ru(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ro(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ip(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function wp(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Os(e,t,n){let r=Nr(e,t);return r>=0?e[r|1]=n:(r=~r,wp(e,r,t,n)),r}function Ps(e,t){let n=Nr(e,t);if(n>=0)return e[n|1]}function Nr(e,t){return _I(e,t,1)}function _I(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Ke={},De=[],Dt=new I(""),Au=new I("",-1),xu=new I(""),So=class{get(t,n=kn){if(n===kn){let o=yp("",-201);throw o.name="\u0275NotFound",o}return n}};function Ou(e){return e[Su]||null}function Et(e){return e[bu]||null}function ks(e){return e[Tu]||null}function Cp(e){return e[_u]||null}function Je(e){return{\u0275providers:e}}function bp(e){return Je([{provide:Dt,multi:!0,useValue:e}])}function Tp(...e){return{\u0275providers:Pu(!0,e),\u0275fromNgModule:!0}}function Pu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return xs(t,s=>{let a=s;_s(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&_p(o,i),n}function _p(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ku(o,i=>{t(i,r)})}}function _s(e,t,n,r){if(e=ue(e),!e)return!1;let o=null,i=fu(e),s=!i&&Et(e);if(!i&&!s){let c=e.ngModule;if(i=fu(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)_s(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{xs(i.imports,l=>{_s(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&_p(u,t)}if(!a){let u=nn(o)||(()=>new o);t({provide:o,useFactory:u,deps:De},o),t({provide:xu,useValue:o,multi:!0},o),t({provide:Dt,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ku(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ku(e,t){for(let n of e)Cu(n)&&(n=n.\u0275providers),Array.isArray(n)?ku(n,t):t(n)}var SI=B({provide:String,useValue:B});function Sp(e){return e!==null&&typeof e=="object"&&SI in e}function MI(e){return!!(e&&e.useExisting)}function NI(e){return!!(e&&e.useFactory)}function Ln(e){return typeof e=="function"}function Mp(e){return!!e.useClass}var Ao=new I(""),bs={},hp={},du;function Rr(){return du===void 0&&(du=new So),du}var te=class{},jn=class extends te{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,yu(t,s=>this.processProvider(s)),this.records.set(Au,Mr(void 0,this)),o.has("environment")&&this.records.set(te,Mr(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(xu,De,{self:!0}))}retrieve(t,n){let r=Fn(n)||0;try{return this.get(t,kn,r)}catch(o){if(Tr(o))return o;throw o}}destroy(){To(this),this._destroyed=!0;let t=R(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),R(t)}}onDestroy(t){return To(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){To(this);let n=vt(this),r=Ce(void 0),o;try{return t()}finally{vt(n),Ce(r)}}get(t,n=kn,r){if(To(this),t.hasOwnProperty(fp))return t[fp](this);let o=Fn(r),i,s=vt(this),a=Ce(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=PI(t)&&No(t);l&&this.injectableDefInScope(l)?u=Mr(mu(t),bs):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Rr():this.parent;return n=o&8&&n===kn?null:n,c.get(t,n)}catch(c){let u=EI(c);throw u===-200||u===-201?new m(u,null):c}finally{Ce(a),vt(s)}}resolveInjectorInitializers(){let t=R(null),n=vt(this),r=Ce(void 0),o;try{let i=this.get(Dt,De,{self:!0});for(let s of i)s()}finally{vt(n),Ce(r),R(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(kt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ue(t);let n=Ln(t)?t:ue(t&&t.provide),r=AI(t);if(!Ln(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Mr(void 0,bs,!0),o.factory=()=>gu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=R(null);try{if(n.value===hp)throw Mu(kt(t));return n.value===bs&&(n.value=hp,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&OI(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{R(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ue(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function mu(e){let t=No(e),n=t!==null?t.factory:nn(e);if(n!==null)return n;if(e instanceof I)throw new m(204,!1);if(e instanceof Function)return RI(e);throw new m(204,!1)}function RI(e){if(e.length>0)throw new m(204,!1);let n=yI(e);return n!==null?()=>n.factory(e):()=>new e}function AI(e){if(Sp(e))return Mr(void 0,e.useValue);{let t=Fu(e);return Mr(t,bs)}}function Fu(e,t,n){let r;if(Ln(e)){let o=ue(e);return nn(o)||mu(o)}else if(Sp(e))r=()=>ue(e.useValue);else if(NI(e))r=()=>e.useFactory(...gu(e.deps||[]));else if(MI(e))r=(o,i)=>C(ue(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ue(e&&(e.useClass||e.provide));if(xI(e))r=()=>new o(...gu(e.deps));else return nn(o)||mu(o)}return r}function To(e){if(e.destroyed)throw new m(205,!1)}function Mr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function xI(e){return!!e.deps}function OI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function PI(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function yu(e,t){for(let n of e)Array.isArray(n)?yu(n,t):n&&Cu(n)?yu(n.\u0275providers,t):t(n)}function pe(e,t){let n;e instanceof jn?(To(e),n=e):n=new pu(e);let r,o=vt(n),i=Ce(void 0);try{return t()}finally{vt(o),Ce(i)}}function Np(){return vp()!==void 0||gs()!=null}var Xe=0,T=1,M=2,le=3,$e=4,be=5,Vn=6,Ar=7,X=8,sn=9,It=10,$=11,xr=12,Lu=13,Un=14,Ee=15,an=16,$n=17,wt=18,xo=19,ju=20,Pt=21,Fs=22,jt=23,ke=24,Hn=25,zn=26,z=27,Rp=1,Bu=6,cn=7,Oo=8,Gn=9,re=10;function Ct(e){return Array.isArray(e)&&typeof e[Rp]=="object"}function et(e){return Array.isArray(e)&&e[Rp]===!0}function Vu(e){return(e.flags&4)!==0}function un(e){return e.componentOffset>-1}function Or(e){return(e.flags&1)===1}function tt(e){return!!e.template}function Pr(e){return(e[M]&512)!==0}function qn(e){return(e[M]&256)===256}var Uu="svg",Ap="math";function He(e){for(;Array.isArray(e);)e=e[Xe];return e}function $u(e,t){return He(t[e])}function nt(e,t){return He(t[e.index])}function Po(e,t){return e.data[t]}function ko(e,t){return e[t]}function Hu(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ze(e,t){let n=t[e];return Ct(n)?n:n[Xe]}function xp(e){return(e[M]&4)===4}function Ls(e){return(e[M]&128)===128}function Op(e){return et(e[le])}function Ge(e,t){return t==null?null:e[t]}function zu(e){e[$n]=0}function Gu(e){e[M]&1024||(e[M]|=1024,Ls(e)&&ln(e))}function Pp(e,t){for(;e>0;)t=t[Un],e--;return t}function Fo(e){return!!(e[M]&9216||e[ke]?.dirty)}function js(e){e[It].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),Fo(e)&&ln(e)}function ln(e){e[It].changeDetectionScheduler?.notify(0);let t=rn(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!Ls(t)));)t=rn(t)}function qu(e,t){if(qn(e))throw new m(911,!1);e[Pt]===null&&(e[Pt]=[]),e[Pt].push(t)}function kp(e,t){if(e[Pt]===null)return;let n=e[Pt].indexOf(t);n!==-1&&e[Pt].splice(n,1)}function rn(e){let t=e[le];return et(t)?t[le]:t}function Wu(e){return e[Ar]??=[]}function Zu(e){return e.cleanup??=[]}function Fp(e,t,n,r){let o=Wu(t);o.push(n),e.firstCreatePass&&Zu(e).push(r,o.length-1)}var O={lFrame:Qp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var vu=!1;function Lp(){return O.lFrame.elementDepthCount}function jp(){O.lFrame.elementDepthCount++}function Yu(){O.lFrame.elementDepthCount--}function Bs(){return O.bindingsEnabled}function Qu(){return O.skipHydrationRootTNode!==null}function Ku(e){return O.skipHydrationRootTNode===e}function Ju(){O.skipHydrationRootTNode=null}function b(){return O.lFrame.lView}function q(){return O.lFrame.tView}function Bp(e){return O.lFrame.contextLView=e,e[X]}function Vp(e){return O.lFrame.contextLView=null,e}function oe(){let e=Xu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Xu(){return O.lFrame.currentTNode}function Up(){let e=O.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function kr(e,t){let n=O.lFrame;n.currentTNode=e,n.isParent=t}function el(){return O.lFrame.isParent}function tl(){O.lFrame.isParent=!1}function $p(){return O.lFrame.contextLView}function nl(){return vu}function Fr(e){let t=vu;return vu=e,t}function Wn(){let e=O.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Hp(){return O.lFrame.bindingIndex}function zp(e){return O.lFrame.bindingIndex=e}function dn(){return O.lFrame.bindingIndex++}function Vs(e){let t=O.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gp(){return O.lFrame.inI18n}function qp(e,t){let n=O.lFrame;n.bindingIndex=n.bindingRootIndex=e,Us(t)}function Wp(){return O.lFrame.currentDirectiveIndex}function Us(e){O.lFrame.currentDirectiveIndex=e}function Zp(e){let t=O.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $s(){return O.lFrame.currentQueryIndex}function Lo(e){O.lFrame.currentQueryIndex=e}function kI(e){let t=e[T];return t.type===2?t.declTNode:t.type===1?e[be]:null}function rl(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=kI(i),o===null||(i=i[Un],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=O.lFrame=Yp();return r.currentTNode=t,r.lView=e,!0}function Hs(e){let t=Yp(),n=e[T];O.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Yp(){let e=O.lFrame,t=e===null?null:e.child;return t===null?Qp(e):t}function Qp(e){let t={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=t),t}function Kp(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ol=Kp;function zs(){let e=Kp();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 Jp(e){return(O.lFrame.contextLView=Pp(e,O.lFrame.contextLView))[X]}function bt(){return O.lFrame.selectedIndex}function fn(e){O.lFrame.selectedIndex=e}function jo(){let e=O.lFrame;return Po(e.tView,e.selectedIndex)}function Xp(){O.lFrame.currentNamespace=Uu}function eg(){FI()}function FI(){O.lFrame.currentNamespace=null}function tg(){return O.lFrame.currentNamespace}var ng=!0;function Gs(){return ng}function Bo(e){ng=e}function Du(e,t=null,n=null,r){let o=il(e,t,n,r);return o.resolveInjectorInitializers(),o}function il(e,t=null,n=null,r,o=new Set){let i=[n||De,Tp(e)];return r=r||(typeof e=="object"?void 0:kt(e)),new jn(i,t||Rr(),r||null,o)}var me=class e{static THROW_IF_NOT_FOUND=kn;static NULL=new So;static create(t,n){if(Array.isArray(t))return Du({name:""},n,t,"");{let r=t.name??"";return Du({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>C(Au)});static __NG_ELEMENT_ID__=-1},Z=new I(""),qe=(()=>{class e{static __NG_ELEMENT_ID__=LI;static __NG_ENV_ID__=n=>n}return e})(),Mo=class extends qe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return qn(this._lView)}onDestroy(t){let n=this._lView;return qu(n,t),()=>kp(n,t)}};function LI(){return new Mo(b())}var Be=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Te=new I("",{providedIn:"root",factory:()=>{let e=p(te),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Be),t.handleError(n))}}}),rg={provide:Dt,useValue:()=>void p(Be),multi:!0},jI=new I("",{providedIn:"root",factory:()=>{let e=p(Z).defaultView;if(!e)return;let t=p(Te),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(qe).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function BI(){return Je([bp(()=>void p(jI))])}function sl(e){return typeof e=="function"&&e[ce]!==void 0}function Zn(e,t){let[n,r,o]=uu(e,t?.equal),i=n,s=i[ce];return i.set=r,i.update=o,i.asReadonly=al.bind(i),i}function al(){let e=this[ce];if(e.readonlyFn===void 0){let t=()=>this();t[ce]=e,e.readonlyFn=t}return e.readonlyFn}function cl(e){return sl(e)&&typeof e.set=="function"}var Ve=class{},Lr=new I("",{providedIn:"root",factory:()=>!1});var ul=new I(""),ll=new I("");var Yn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=VI}return e})();function VI(){return new Yn(b(),oe())}var Tt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ge(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),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=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vo=(()=>{class e{internalPendingTasks=p(Tt);scheduler=p(Ve);errorHandler=p(Te);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();function Qn(...e){}var Uo=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new Eu})}return e})(),Eu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Ko(e){return{toString:e}.toString()}function qI(e){return typeof e=="function"}var na=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Vg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var zr=(()=>{let e=()=>Ug;return e.ngInherit=!0,e})();function Ug(e){return e.type.prototype.ngOnChanges&&(e.setInput=ZI),WI}function WI(){let e=Hg(this),t=e?.current;if(t){let n=e.previous;if(n===Ke)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ZI(e,t,n,r,o){let i=this.declaredInputs[r],s=Hg(e)||YI(e,{previous:Ke,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new na(u&&u.currentValue,n,c===Ke),Vg(e,t,o,n)}var $g="__ngSimpleChanges__";function Hg(e){return e[$g]||null}function YI(e,t){return e[$g]=t}var og=[];var U=function(e,t=null,n){for(let r=0;r<og.length;r++){let o=og[r];o(e,t,n)}};function QI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Ug(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function zg(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Ks(e,t,n){Gg(e,t,3,n)}function Js(e,t,n,r){(e[M]&3)===n&&Gg(e,t,n,r)}function dl(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function Gg(e,t,n,r){let o=r!==void 0?e[$n]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[$n]+=65536),(a<i||i==-1)&&(KI(e,n,t,c),e[$n]=(e[$n]&4294901760)+c+2),c++}function ig(e,t){U(4,e,t);let n=R(null);try{t.call(e)}finally{R(n),U(5,e,t)}}function KI(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[M]>>14<e[$n]>>16&&(e[M]&3)===t&&(e[M]+=16384,ig(a,i)):ig(a,i)}var Br=-1,Jn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function JI(e){return(e.flags&8)!==0}function XI(e){return(e.flags&16)!==0}function ew(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];tw(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function qg(e){return e===3||e===4||e===6}function tw(e){return e.charCodeAt(0)===64}function Vr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?sg(e,n,o,null,t[++r]):sg(e,n,o,null,null))}}return e}function sg(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Wg(e){return e!==Br}function ra(e){return e&32767}function nw(e){return e>>16}function oa(e,t){let n=nw(e),r=t;for(;n>0;)r=r[Un],n--;return r}var wl=!0;function ia(e){let t=wl;return wl=e,t}var rw=256,Zg=rw-1,Yg=5,ow=0,_t={};function iw(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Bn)&&(r=n[Bn]),r==null&&(r=n[Bn]=ow++);let o=r&Zg,i=1<<o;t.data[e+(o>>Yg)]|=i}function sa(e,t){let n=Qg(e,t);if(n!==-1)return n;let r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,fl(r.data,e),fl(t,null),fl(r.blueprint,null));let o=ad(e,t),i=e.injectorIndex;if(Wg(o)){let s=ra(o),a=oa(o,t),c=a[T].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function fl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ad(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=tm(o),r===null)return Br;if(n++,o=o[Un],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Br}function Cl(e,t,n){iw(e,t,n)}function sw(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(qg(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Kg(e,t,n){if(n&8||e!==void 0)return e;As(t,"NodeInjector")}function Jg(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[sn],i=Ce(void 0);try{return o?o.get(t,r,n&8):Nu(t,r,n&8)}finally{Ce(i)}}return Kg(r,t,n)}function Xg(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=lw(e,t,n,r,_t);if(s!==_t)return s}let i=em(e,t,n,r,_t);if(i!==_t)return i}return Jg(t,n,r,o)}function em(e,t,n,r,o){let i=cw(n);if(typeof i=="function"){if(!rl(t,e,r))return r&1?Kg(o,n,r):Jg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))As(n);else return s}finally{ol()}}else if(typeof i=="number"){let s=null,a=Qg(e,t),c=Br,u=r&1?t[Ee][be]:null;for((a===-1||r&4)&&(c=a===-1?ad(e,t):t[a+8],c===Br||!cg(r,!1)?a=-1:(s=t[T],a=ra(c),t=oa(c,t)));a!==-1;){let l=t[T];if(ag(i,a,l.data)){let d=aw(a,t,n,s,r,u);if(d!==_t)return d}c=t[a+8],c!==Br&&cg(r,t[T].data[a+8]===u)&&ag(i,a,t)?(s=l,a=ra(c),t=oa(c,t)):a=-1}}return o}function aw(e,t,n,r,o,i){let s=t[T],a=s.data[e+8],c=r==null?un(a)&&wl:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Xs(a,s,n,c,u);return l!==null?zo(t,s,l,a,o):_t}function Xs(e,t,n,r,o){let i=e.providerIndexes,s=t.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];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&tt(f)&&f.type===n)return c}return null}function zo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Jn){let a=i;if(a.resolving){let f=gp(s[n]);throw Mu(f)}let c=ia(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?Ce(a.injectImpl):null,h=rl(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&QI(n,s[n],t)}finally{d!==null&&Ce(d),ia(c),a.resolving=!1,ol()}}return i}function cw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Bn)?e[Bn]:void 0;return typeof t=="number"?t>=0?t&Zg:uw:t}function ag(e,t,n){let r=1<<e;return!!(n[t+(e>>Yg)]&r)}function cg(e,t){return!(e&2)&&!(e&1&&t)}var Kn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Xg(this._tNode,this._lView,t,Fn(r),n)}};function uw(){return new Kn(oe(),b())}function wa(e){return Ko(()=>{let t=e.prototype.constructor,n=t[_o]||bl(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[_o]||bl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function bl(e){return Iu(e)?()=>{let t=bl(ue(e));return t&&t()}:nn(e)}function lw(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!Pr(s);){let a=em(i,s,n,r|2,_t);if(a!==_t)return a;let c=i.parent;if(!c){let u=s[ju];if(u){let l=u.get(n,_t,r);if(l!==_t)return l}c=tm(s),s=s[Un]}i=c}return o}function tm(e){let t=e[T],n=t.type;return n===2?t.declTNode:n===1?e[be]:null}function Ca(e){return sw(oe(),e)}function dw(){return Gr(oe(),b())}function Gr(e,t){return new Ut(nt(e,t))}var Ut=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=dw}return e})();function nm(e){return e instanceof Ut?e.nativeElement:e}function fw(){return this._results[Symbol.iterator]()}var aa=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 J}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Ep(t);(this._changesDetected=!Dp(this._results,r,n))&&(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(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=fw};function rm(e){return(e.flags&128)===128}var cd=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(cd||{}),om=new Map,hw=0;function pw(){return hw++}function gw(e){om.set(e[xo],e)}function Tl(e){om.delete(e[xo])}var ug="__ngContext__";function Ur(e,t){Ct(t)?(e[ug]=t[xo],gw(t)):e[ug]=t}function im(e){return am(e[xr])}function sm(e){return am(e[$e])}function am(e){for(;e!==null&&!et(e);)e=e[$e];return e}var _l;function ud(e){_l=e}function ld(){if(_l!==void 0)return _l;if(typeof document<"u")return document;throw new m(210,!1)}var ba=new I("",{providedIn:"root",factory:()=>mw}),mw="ng",Ta=new I(""),qr=new I("",{providedIn:"platform",factory:()=>"unknown"});var yw=new I(""),_a=new I("",{providedIn:"root",factory:()=>ld().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var vw="h",Dw="b";var cm="r";var um="di";var lm=!1,dm=new I("",{providedIn:"root",factory:()=>lm});var Sa=new I("");var Ew=(e,t,n,r)=>{};function Iw(e,t,n,r){Ew(e,t,n,r)}function Ma(e){return(e.flags&32)===32}var ww=()=>null;function fm(e,t,n=!1){return ww(e,t,n)}function hm(e,t){let n=e.contentQueries;if(n!==null){let r=R(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Lo(i),a.contentQueries(2,t[s],s)}}}finally{R(r)}}}function Sl(e,t,n){Lo(0);let r=R(null);try{t(e,n)}finally{R(r)}}function dd(e,t,n){if(Vu(t)){let r=R(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{R(r)}}}var Bt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Bt||{}),qs;function Cw(){if(qs===void 0&&(qs=null,Ue.trustedTypes))try{qs=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return qs}function Na(e){return Cw()?.createHTML(e)||e}var Ws;function bw(){if(Ws===void 0&&(Ws=null,Ue.trustedTypes))try{Ws=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ws}function lg(e){return bw()?.createHTML(e)||e}var Vt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ss})`}},Ml=class extends Vt{getTypeName(){return"HTML"}},Nl=class extends Vt{getTypeName(){return"Style"}},Rl=class extends Vt{getTypeName(){return"Script"}},Al=class extends Vt{getTypeName(){return"URL"}},xl=class extends Vt{getTypeName(){return"ResourceURL"}};function We(e){return e instanceof Vt?e.changingThisBreaksApplicationSecurity:e}function $t(e,t){let n=pm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ss})`)}return n===t}function pm(e){return e instanceof Vt&&e.getTypeName()||null}function fd(e){return new Ml(e)}function hd(e){return new Nl(e)}function pd(e){return new Rl(e)}function gd(e){return new Al(e)}function md(e){return new xl(e)}function Tw(e){let t=new Pl(e);return _w()?new Ol(t):t}var Ol=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Na(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Pl=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Na(t),n}};function _w(){try{return!!new window.DOMParser().parseFromString(Na(""),"text/html")}catch{return!1}}var Sw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jo(e){return e=String(e),e.match(Sw)?e:"unsafe:"+e}function Ht(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Xo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var gm=Ht("area,br,col,hr,img,wbr"),mm=Ht("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ym=Ht("rp,rt"),Mw=Xo(ym,mm),Nw=Xo(mm,Ht("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")),Rw=Xo(ym,Ht("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")),dg=Xo(gm,Nw,Rw,Mw),vm=Ht("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Aw=Ht("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"),xw=Ht("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"),Ow=Xo(vm,Aw,xw),Pw=Ht("script,style,template"),kl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Lw(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Fw(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=fg(t).toLowerCase();if(!dg.hasOwnProperty(n))return this.sanitizedSomething=!0,!Pw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Ow.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;vm[a]&&(c=Jo(c)),this.buf.push(" ",s,'="',hg(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=fg(t).toLowerCase();dg.hasOwnProperty(n)&&!gm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(hg(t))}};function kw(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Fw(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Dm(t);return t}function Lw(e){let t=e.firstChild;if(t&&kw(e,t))throw Dm(t);return t}function fg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Dm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var jw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bw=/([^\#-~ |!])/g;function hg(e){return e.replace(/&/g,"&amp;").replace(jw,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Bw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Zs;function Ra(e,t){let n=null;try{Zs=Zs||Tw(e);let r=t?String(t):"";n=Zs.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=n.innerHTML,n=Zs.getInertBodyElement(r)}while(r!==i);let a=new kl().sanitizeChildren(pg(n)||n);return Na(a)}finally{if(n){let r=pg(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function pg(e){return"content"in e&&Vw(e)?e.content:null}function Vw(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var it=(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})(it||{});function Uw(e){let t=Em();return t?lg(t.sanitize(it.HTML,e)||""):$t(e,"HTML")?lg(We(e)):Ra(ld(),on(e))}function $w(e){let t=Em();return t?t.sanitize(it.URL,e)||"":$t(e,"URL")?We(e):Jo(on(e))}function Em(){let e=b();return e&&e[It].sanitizer}var Hw=/^>|^->|<!--|-->|--!>|<!-$/g,zw=/(<|>)/g,Gw="\u200B$1\u200B";function qw(e){return e.replace(Hw,t=>t.replace(zw,Gw))}function Ww(e){return e.ownerDocument}function Im(e){return e instanceof Function?e():e}function Zw(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var wm="ng-template";function Yw(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Zw(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(yd(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function yd(e){return e.type===4&&e.value!==wm}function Qw(e,t,n){let r=e.type===4&&!n?wm:e.value;return t===r}function Kw(e,t,n){let r=4,o=e.attrs,i=o!==null?eC(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!rt(r)&&!rt(c))return!1;if(s&&rt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Qw(e,c,n)||c===""&&t.length===1){if(rt(r))return!1;s=!0}}else if(r&8){if(o===null||!Yw(e,o,c,n)){if(rt(r))return!1;s=!0}}else{let u=t[++a],l=Jw(c,o,yd(e),n);if(l===-1){if(rt(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(rt(r))return!1;s=!0}}}}return rt(r)||s}function rt(e){return(e&1)===0}function Jw(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return tC(t,e)}function Cm(e,t,n=!1){for(let r=0;r<t.length;r++)if(Kw(e,t[r],n))return!0;return!1}function Xw(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function eC(e){for(let t=0;t<e.length;t++){let n=e[t];if(qg(n))return t}return e.length}function tC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function nC(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];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 gg(e,t){return e?":not("+t.trim()+")":t}function rC(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!rt(s)&&(t+=gg(i,o),o=""),r=s,i=i||!rt(r);n++}return o!==""&&(t+=gg(i,o)),t}function oC(e){return e.map(rC).join(",")}function iC(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!rt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Se={};function sC(e,t){return e.createText(t)}function aC(e,t,n){e.setValue(t,n)}function cC(e,t){return e.createComment(qw(t))}function bm(e,t,n){return e.createElement(t,n)}function ca(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Tm(e,t,n){e.appendChild(t,n)}function mg(e,t,n,r,o){r!==null?ca(e,t,n,r,o):Tm(e,t,n)}function _m(e,t,n,r){e.removeChild(null,t,n,r)}function uC(e,t,n){e.setAttribute(t,"style",n)}function lC(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Sm(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&ew(e,t,r),o!==null&&lC(e,t,o),i!==null&&uC(e,t,i)}function vd(e,t,n,r,o,i,s,a,c,u,l){let d=z+r,h=d+o,f=dC(d,h),g=typeof u=="function"?u():u;return f[T]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,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 dC(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Se);return n}function fC(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=vd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Dd(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Xe]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),zu(d),d[le]=d[Un]=e,d[X]=n,d[It]=s||e&&e[It],d[$]=a||e&&e[$],d[sn]=c||e&&e[sn]||null,d[be]=i,d[xo]=pw(),d[Vn]=l,d[ju]=u,d[Ee]=t.type==2?e[Ee]:d,d}function hC(e,t,n){let r=nt(t,e),o=fC(n),i=e[It].rendererFactory,s=Ed(e,Dd(e,o,null,Mm(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Mm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Nm(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ed(e,t){return e[xr]?e[Lu][$e]=t:e[xr]=t,e[Lu]=t,t}function pC(e=1){Rm(q(),b(),bt()+e,!1)}function Rm(e,t,n,r){if(!r)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ks(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Js(t,i,0,n)}fn(n)}var Aa=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Aa||{});function Fl(e,t,n,r){let o=R(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Aa.SignalBased)!==0&&(c=t[i][ce]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Vg(t,c,i,r)}finally{R(o)}}var St=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(St||{}),gC;function Id(e,t){return gC(e,t)}var ei=new Set;var Am=new I("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1})});function yg(e,t,n,r){let o=e?.[zn]?.enter;if(t!==null&&o&&o.has(n.index)){let i=r.get(Am);for(let s of o.get(n.index).animateFns)i.queue.add(s)}}function jr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;et(o)?c=o:Ct(o)&&(u=!0,o=o[Xe]);let l=He(o);e===0&&r!==null?(yg(a,r,i,n),s==null?Tm(t,r,l):ca(t,r,l,s||null,!0)):e===1&&r!==null?(yg(a,r,i,n),ca(t,r,l,s||null,!0)):e===2?vg(a,i,n,d=>{_m(t,l,u,d)}):e===3&&vg(a,i,n,()=>{t.destroyNode(l)}),c!=null&&SC(t,e,n,c,i,r,s)}}function mC(e,t){let n=e.get(Am);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t)}function yC(e,t){xm(e,t),t[Xe]=null,t[be]=null}function vC(e,t,n,r,o,i){r[Xe]=o,r[be]=t,Oa(e,r,n,1,o,i)}function xm(e,t){t[It].changeDetectionScheduler?.notify(9),Oa(e,t,t[$],2,null,null)}function DC(e){let t=e[xr];if(!t)return hl(e[T],e);for(;t;){let n=null;if(Ct(t))n=t[xr];else{let r=t[re];r&&(n=r)}if(!n){for(;t&&!t[$e]&&t!==e;)Ct(t)&&hl(t[T],t),t=t[le];t===null&&(t=e),Ct(t)&&hl(t[T],t),n=t&&t[$e]}t=n}}function wd(e,t){let n=e[Gn],r=n.indexOf(t);n.splice(r,1)}function xa(e,t){if(qn(t))return;let n=t[$];n.destroyNode&&Oa(e,t,n,3,null,null),DC(t)}function hl(e,t){if(qn(t))return;let n=R(null);try{t[M]&=-129,t[M]|=256,t[ke]&&tn(t[ke]),wC(e,t),IC(e,t),t[T].type===1&&t[$].destroy();let r=t[an];if(r!==null&&et(t[le])){r!==t[le]&&wd(r,t);let o=t[wt];o!==null&&o.detachView(e)}Tl(t)}finally{R(n)}}function vg(e,t,n,r){let o=e?.[zn];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);mC(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.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.running=Promise.allSettled(a),EC(e,r)}else e&&ei.delete(e),r(!1)})}function EC(e,t){let n=e[zn]?.running;if(n){n.then(()=>{e[zn].running=void 0,ei.delete(e),t(!0)});return}t(!1)}function IC(e,t){let n=e.cleanup,r=t[Ar];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Ar]=null);let o=t[Pt];if(o!==null){t[Pt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[jt];if(i!==null){t[jt]=null;for(let s of i)s.destroy()}}function wC(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Jn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];U(4,a,c);try{c.call(a)}finally{U(5,a,c)}}else{U(4,o,i);try{i.call(o)}finally{U(5,o,i)}}}}}function Om(e,t,n){return CC(e,t.parent,n)}function CC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Xe];if(un(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Bt.None||o===Bt.Emulated)return null}return nt(r,n)}function Pm(e,t,n){return TC(e,t,n)}function bC(e,t,n){return e.type&40?nt(e,n):null}var TC=bC,Dg;function Cd(e,t,n,r){let o=Om(e,r,t),i=t[$],s=r.parent||t[be],a=Pm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)mg(i,o,n[c],a,!1);else mg(i,o,n,a,!1);Dg!==void 0&&Dg(i,r,t,n,o)}function $o(e,t){if(t!==null){let n=t.type;if(n&3)return nt(t,e);if(n&4)return Ll(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return $o(e,r);{let o=e[t.index];return et(o)?Ll(-1,o):He(o)}}else{if(n&128)return $o(e,t.next);if(n&32)return Id(t,e)()||He(e[t.index]);{let r=km(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=rn(e[Ee]);return $o(o,r)}else return $o(e,t.next)}}}return null}function km(e,t){if(t!==null){let r=e[Ee][be],o=t.projection;return r.projection[o]}return null}function Ll(e,t){let n=re+e+1;if(n<t.length){let r=t[n],o=r[T].firstChild;if(o!==null)return $o(r,o)}return t[cn]}function bd(e,t,n,r,o,i,s){for(;n!=null;){let a=r[sn];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Ur(He(c),r),n.flags|=2),!Ma(n))if(u&8)bd(e,t,n.child,r,o,i,!1),jr(t,e,a,o,c,n,i,r);else if(u&32){let l=Id(n,r),d;for(;d=l();)jr(t,e,a,o,d,n,i,r);jr(t,e,a,o,c,n,i,r)}else u&16?Fm(e,t,r,n,o,i):jr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Oa(e,t,n,r,o,i){bd(n,r,e.firstChild,t,o,i,!1)}function _C(e,t,n){let r=t[$],o=Om(e,n,t),i=n.parent||t[be],s=Pm(i,n,t);Fm(r,0,t,n,o,s)}function Fm(e,t,n,r,o,i){let s=n[Ee],c=s[be].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];jr(t,e,n[sn],o,l,r,i,n)}else{let u=c,l=s[le];rm(r)&&(u.flags|=128),bd(e,t,u,l,o,i,!0)}}function SC(e,t,n,r,o,i,s){let a=r[cn],c=He(r);a!==c&&jr(t,e,n,i,a,o,s);for(let u=re;u<r.length;u++){let l=r[u];Oa(l[T],l,e,t,i,a)}}function MC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:St.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=St.Important),e.setStyle(n,r,o,i))}}function Lm(e,t,n,r,o){let i=bt(),s=r&2;try{fn(-1),s&&t.length>z&&Rm(e,t,z,!1),U(s?2:0,o,n),n(r,o)}finally{fn(i),U(s?3:1,o,n)}}function Pa(e,t,n){PC(e,t,n),(n.flags&64)===64&&kC(e,t,n)}function ti(e,t,n=nt){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function NC(e,t,n,r){let i=r.get(dm,lm)||n===Bt.ShadowDom,s=e.selectRootElement(t,i);return RC(s),s}function RC(e){AC(e)}var AC=()=>null;function xC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function jm(e,t,n,r,o,i){let s=t[T];if(Md(e,s,t,n,r)){un(e)&&OC(t,e.index);return}e.type&3&&(n=xC(n)),Bm(e,t,n,r,o,i)}function Bm(e,t,n,r,o,i){if(e.type&3){let s=nt(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function OC(e,t){let n=ze(t,e);n[M]&16||(n[M]|=64)}function PC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;un(n)&&hC(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||sa(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=zo(t,e,s,n);if(Ur(c,t),i!==null&&BC(t,s-r,c,a,n,i),tt(a)){let u=ze(n.index,t);u[X]=zo(t,e,s,n)}}}function kC(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Wp();try{fn(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Us(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&FC(c,u)}}finally{fn(-1),Us(s)}}function FC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Td(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Cm(t,i.selectors,!1)&&(r??=[],tt(i)?r.unshift(i):r.push(i))}return r}function LC(e,t,n,r,o,i){let s=nt(e,t);jC(t[$],s,i,e.value,n,r,o)}function jC(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?on(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function BC(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Fl(r,n,c,u)}}function _d(e,t,n,r,o){let i=z+n,s=t[T],a=o(s,t,e,r,n);t[i]=a,kr(e,!0);let c=e.type===2;return c?(Sm(t[$],a,e),(Lp()===0||Or(e))&&Ur(a,t),jp()):Ur(a,t),Gs()&&(!c||!Ma(e))&&Cd(s,t,a,e),e}function Sd(e){let t=e;return el()?tl():(t=t.parent,kr(t,!1)),t}function VC(e,t){let n=e[sn];if(!n)return;let r;try{r=n.get(Te,null)}catch{r=null}r?.(t)}function Md(e,t,n,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=t.data[u];Fl(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Fl(l,u,r,o),a=!0}return a}function UC(e,t){let n=ze(t,e),r=n[T];$C(r,n);let o=n[Xe];o!==null&&n[Vn]===null&&(n[Vn]=fm(o,n[sn])),U(18),Nd(r,n,n[X]),U(19,n[X])}function $C(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Nd(e,t,n){Hs(t);try{let r=e.viewQuery;r!==null&&Sl(1,r,n);let o=e.template;o!==null&&Lm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[wt]?.finishViewCreation(e),e.staticContentQueries&&hm(e,t),e.staticViewQueries&&Sl(2,e.viewQuery,n);let i=e.components;i!==null&&HC(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,zs()}}function HC(e,t){for(let n=0;n<t.length;n++)UC(e,t[n])}function ni(e,t,n,r){let o=R(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=Dd(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[an]=u;let l=e[wt];return l!==null&&(c[wt]=l.createEmbeddedView(i)),Nd(i,c,n),c}finally{R(o)}}function $r(e,t){return!t||t.firstChild===null||rm(e)}function Go(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(He(i)),et(i)&&Vm(i,r);let s=n.type;if(s&8)Go(e,t,n.child,r);else if(s&32){let a=Id(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=km(t,n);if(Array.isArray(a))r.push(...a);else{let c=rn(t[Ee]);Go(c[T],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Vm(e,t){for(let n=re;n<e.length;n++){let r=e[n],o=r[T].firstChild;o!==null&&Go(r[T],r,o,t)}e[cn]!==e[Xe]&&t.push(e[cn])}function Um(e){if(e[Hn]!==null){for(let t of e[Hn])t.impl.addSequence(t);e[Hn].length=0}}var $m=[];function zC(e){return e[ke]??GC(e)}function GC(e){let t=$m.pop()??Object.create(WC);return t.lView=e,t}function qC(e){e.lView[ke]!==e&&(e.lView=null,$m.push(e))}var WC=F(y({},An),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ln(e.lView)},consumerOnSignalRead(){this.lView[ke]=this}});function ZC(e){let t=e[ke]??Object.create(YC);return t.lView=e,t}var YC=F(y({},An),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=rn(e.lView);for(;t&&!Hm(t[T]);)t=rn(t);t&&Gu(t)},consumerOnSignalRead(){this.lView[ke]=this}});function Hm(e){return e.type!==2}function zm(e){if(e[jt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[jt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var QC=100;function Gm(e,t=0){let r=e[It].rendererFactory,o=!1;o||r.begin?.();try{KC(e,t)}finally{o||r.end?.()}}function KC(e,t){let n=nl();try{Fr(!0),jl(e,t);let r=0;for(;Fo(e);){if(r===QC)throw new m(103,!1);r++,jl(e,1)}}finally{Fr(n)}}function JC(e,t,n,r){if(qn(t))return;let o=t[M],i=!1,s=!1;Hs(t);let a=!0,c=null,u=null;i||(Hm(e)?(u=zC(t),c=en(u)):Es()===null?(a=!1,u=ZC(t),c=en(u)):t[ke]&&(tn(t[ke]),t[ke]=null));try{zu(t),zp(e.bindingStartIndex),n!==null&&Lm(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Ks(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Js(t,f,0,null),dl(t,0)}if(s||XC(t),zm(t),qm(t,0),e.contentQueries!==null&&hm(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Ks(t,f)}else{let f=e.contentHooks;f!==null&&Js(t,f,1),dl(t,1)}tb(e,t);let d=e.components;d!==null&&Zm(t,d,0);let h=e.viewQuery;if(h!==null&&Sl(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Ks(t,f)}else{let f=e.viewHooks;f!==null&&Js(t,f,2),dl(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Fs]){for(let f of t[Fs])f();t[Fs]=null}i||(Um(t),t[M]&=-73)}catch(l){throw i||ln(t),l}finally{u!==null&&(On(u,c),a&&qC(u)),zs()}}function qm(e,t){for(let n=im(e);n!==null;n=sm(n))for(let r=re;r<n.length;r++){let o=n[r];Wm(o,t)}}function XC(e){for(let t=im(e);t!==null;t=sm(t)){if(!(t[M]&2))continue;let n=t[Gn];for(let r=0;r<n.length;r++){let o=n[r];Gu(o)}}}function eb(e,t,n){U(18);let r=ze(t,e);Wm(r,n),U(19,r[X])}function Wm(e,t){Ls(e)&&jl(e,t)}function jl(e,t){let r=e[T],o=e[M],i=e[ke],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Pn(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)JC(r,e,r.template,e[X]);else if(o&8192){let a=R(null);try{zm(e),qm(e,1);let c=r.components;c!==null&&Zm(e,c,1),Um(e)}finally{R(a)}}}function Zm(e,t,n){for(let r=0;r<t.length;r++)eb(e,t[r],n)}function tb(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)fn(~o);else{let i=o,s=n[++r],a=n[++r];qp(s,i);let c=t[i];U(24,c),a(2,c),U(25,c)}}}finally{fn(-1)}}function Rd(e,t){let n=nl()?64:1088;for(e[It].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=rn(e);if(Pr(e)&&!r)return e;e=r}return null}function Ym(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Qm(e,t){let n=re+t;if(n<e.length)return e[n]}function ri(e,t,n,r=!0){let o=t[T];if(nb(o,t,e,n),r){let s=Ll(n,e),a=t[$],c=a.parentNode(e[cn]);c!==null&&vC(o,e[be],a,t,c,s)}let i=t[Vn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Km(e,t){let n=qo(e,t);return n!==void 0&&xa(n[T],n),n}function qo(e,t){if(e.length<=re)return;let n=re+t,r=e[n];if(r){let o=r[an];o!==null&&o!==e&&wd(o,r),t>0&&(e[n-1][$e]=r[$e]);let i=Ro(e,re+t);yC(r[T],r);let s=i[wt];s!==null&&s.detachView(i[T]),r[le]=null,r[$e]=null,r[M]&=-129}return r}function nb(e,t,n,r){let o=re+r,i=n.length;r>0&&(n[o-1][$e]=t),r<i-re?(t[$e]=n[o],Ru(n,re+r,t)):(n.push(t),t[$e]=null),t[le]=n;let s=t[an];s!==null&&n!==s&&Jm(s,t);let a=t[wt];a!==null&&a.insertView(e),js(t),t[M]|=128}function Jm(e,t){let n=e[Gn],r=t[le];if(Ct(r))e[M]|=2;else{let o=r[le][Ee];t[Ee]!==o&&(e[M]|=2)}n===null?e[Gn]=[t]:n.push(t)}var hn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[T];return Go(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[X]}set context(t){this._lView[X]=t}get destroyed(){return qn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[le];if(et(t)){let n=t[Oo],r=n?n.indexOf(this):-1;r>-1&&(qo(t,r),Ro(n,r))}this._attachedToViewContainer=!1}xa(this._lView[T],this._lView)}onDestroy(t){qu(this._lView,t)}markForCheck(){Rd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){js(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Gm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Pr(this._lView),n=this._lView[an];n!==null&&!t&&wd(n,this._lView),xm(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Pr(this._lView),r=this._lView[an];r!==null&&!n&&Jm(r,this._lView),js(this._lView)}};var pn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=rb;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=ni(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new hn(i)}}return e})();function rb(){return ka(oe(),b())}function ka(e,t){return e.type&4?new pn(t,e,Gr(e,t)):null}function Wr(e,t,n,r,o){let i=e.data[t];if(i===null)i=ob(e,t,n,r,o),Gp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Up();i.injectorIndex=s===null?-1:s.injectorIndex}return kr(i,!0),i}function ob(e,t,n,r,o){let i=Xu(),s=el(),a=s?i:i&&i.parent,c=e.data[t]=sb(e,a,n,t,r,o);return ib(e,c,i,s),c}function ib(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function sb(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Qu()&&(a|=128),{type:n,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var O1=new RegExp(`^(\\d+)*(${Dw}|${vw})*(.*)`);function ab(e){let t=e[Bu]??[],r=e[le][$],o=[];for(let i of t)i.data[um]!==void 0?o.push(i):cb(i,r);e[Bu]=o}function cb(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[cm];for(;n<o;){let i=r.nextSibling;_m(t,r,!1),r=i,n++}}}var ub=()=>null,lb=()=>null;function ua(e,t){return ub(e,t)}function Xm(e,t,n){return lb(e,t,n)}var ey=class{},Fa=class{},Bl=class{resolveComponentFactory(t){throw new m(917,!1)}},oi=class{static NULL=new Bl},Xn=class{},ii=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>db()}return e})();function db(){let e=b(),t=oe(),n=ze(t.index,e);return(Ct(n)?n:e)[$]}var ty=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var ea={},Vl=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ea,r);return o!==ea||n===ea?o:this.parentInjector.get(t,n,r)}};function la(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Ms(o,a);else if(i==2){let c=a,u=t[++s];r=Ms(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ie(e,t=0){let n=b();if(n===null)return C(e,t);let r=oe();return Xg(r,n,ue(e),t)}function Ad(){let e="invalid";throw new Error(e)}function ny(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);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}pb(e,t,n,a,i,c,u)}i!==null&&r!==null&&fb(n,r,i)}function fb(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function hb(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function pb(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&tt(f)&&(c=!0,hb(e,n,h)),Cl(sa(n,t),e,f.type)}Eb(n,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=Nm(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=Vr(n.mergedAttrs,f.hostAttrs),mb(e,n,t,d,f),Db(d,f,o),s!==null&&s.has(f)){let[E,D]=s.get(f);n.directiveToIndex.set(f.type,[d,E+n.directiveStart,D+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!u&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}gb(e,n,i)}function gb(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Eg(0,t,o,r),Eg(1,t,o,r),wg(t,r,!1);else{let i=n.get(o);Ig(0,t,i,r),Ig(1,t,i,r),wg(t,r,!0)}}}function Eg(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),ry(t,i)}}function Ig(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),ry(t,s)}}function ry(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function wg(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||yd(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(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function mb(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=nn(o.type,!0)),s=new Jn(i,tt(o),ie,null);e.blueprint[r]=s,n[r]=s,yb(e,t,r,Nm(e,n,o.hostVars,Se),o)}function yb(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;vb(s)!=a&&s.push(a),s.push(n,r,i)}}function vb(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Db(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;tt(t)&&(n[""]=e)}}function Eb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function xd(e,t,n,r,o,i,s,a){let c=t[T],u=c.consts,l=Ge(u,s),d=Wr(c,e,n,r,l);return i&&ny(c,t,d,Ge(u,a),o),d.mergedAttrs=Vr(d.mergedAttrs,d.attrs),d.attrs!==null&&la(d,d.attrs,!1),d.mergedAttrs!==null&&la(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Od(e,t){zg(e,t),Vu(t)&&e.queries.elementEnd(t)}function Ib(e,t,n,r,o,i){let s=t.consts,a=Ge(s,o),c=Wr(t,e,n,r,a);if(c.mergedAttrs=Vr(c.mergedAttrs,c.attrs),i!=null){let u=Ge(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&la(c,c.attrs,!1),c.mergedAttrs!==null&&la(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Pd(e){return iy(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function oy(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function iy(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function La(e,t,n){return e[t]=n}function wb(e,t){return e[t]}function Fe(e,t,n){if(n===Se)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function kd(e,t,n,r){let o=Fe(e,t,n);return Fe(e,t+1,r)||o}function Cb(e,t,n,r,o){let i=kd(e,t,n,r);return Fe(e,t+2,o)||i}function ta(e,t,n){return function r(o){let i=un(e)?ze(e.index,t):t;Rd(i,5);let s=t[X],a=Cg(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Cg(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Cg(e,t,n,r){let o=R(null);try{return U(6,t,n),n(r)!==!1}catch(i){return VC(e,i),!1}finally{U(7,t,n),R(o)}}function sy(e,t,n,r,o,i,s,a){let c=Or(e),u=!1,l=null;if(!r&&c&&(l=Tb(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=nt(e,n),h=r?r(d):d;Iw(n,h,i,a);let f=o.listen(h,i,a);if(!bb(i)){let g=r?E=>r(He(E[e.index])):e.index;ay(g,t,n,i,a,f,!1)}}return u}function bb(e){return e.startsWith("animation")||e.startsWith("transition")}function Tb(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Ar],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function ay(e,t,n,r,o,i,s){let a=t.firstCreatePass?Zu(t):null,c=Wu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function bg(e,t,n,r,o,i){let s=t[n],a=t[T],u=a.data[n].outputs[r],d=s[u].subscribe(i);ay(e.index,a,t,o,i,d,!0)}var Ul=Symbol("BINDING");var da=class extends oi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Et(t);return new gn(n,this.ngModule)}};function _b(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Aa.SignalBased)!==0};return o&&(i.transform=o),i})}function Sb(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Mb(e,t,n){let r=t instanceof te?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Vl(n,r):n}function Nb(e){let t=e.get(Xn,null);if(t===null)throw new m(407,!1);let n=e.get(ty,null),r=e.get(Ve,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Rb(e,t){let n=cy(e);return bm(t,n,n==="svg"?Uu:n==="math"?Ap:null)}function cy(e){return(e.selectors[0][0]||"div").toLowerCase()}var gn=class extends Fa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=_b(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Sb(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=oC(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){U(22);let a=R(null);try{let c=this.componentDef,u=Ab(r,c,s,i),l=Mb(c,o||this.ngModule,t),d=Nb(l),h=d.rendererFactory.createRenderer(null,c),f=r?NC(h,r,c.encapsulation,l):Rb(c,h),g=s?.some(Tg)||i?.some(v=>typeof v!="function"&&v.bindings.some(Tg)),E=Dd(null,u,null,512|Mm(c),null,null,d,h,l,null,fm(f,l,!0));E[z]=f,Hs(E);let D=null;try{let v=xd(z,E,2,"#host",()=>u.directiveRegistry,!0,0);Sm(h,f,v),Ur(f,E),Pa(u,E,v),dd(u,v,E),Od(u,v),n!==void 0&&Ob(v,this.ngContentSelectors,n),D=ze(v.index,E),E[X]=D[X],Nd(u,E,null)}catch(v){throw D!==null&&Tl(D),Tl(E),v}finally{U(23),zs()}return new fa(this.componentType,E,!!g)}finally{R(a)}}};function Ab(e,t,n,r){let o=e?["ng-version","20.3.4"]:iC(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ul].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[Ul].requiredVars;let f=l+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=ks(d);c.push(h)}return vd(0,null,xb(i,s),1,a,c,null,null,null,[o],null)}function xb(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Tg(e){let t=e[Ul].kind;return t==="input"||t==="twoWay"}var fa=class extends ey{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Po(n[T],z),this.location=Gr(this._tNode,n),this.instance=ze(this._tNode.index,n)[X],this.hostView=this.changeDetectorRef=new hn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Md(r,o[T],o,t,n);this.previousInputValues.set(t,n);let s=ze(r.index,o);Rd(s,1)}get injector(){return new Kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Ob(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Mt=(()=>{class e{static __NG_ELEMENT_ID__=Pb}return e})();function Pb(){let e=oe();return ly(e,b())}var kb=Mt,uy=class extends kb{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Gr(this._hostTNode,this._hostLView)}get injector(){return new Kn(this._hostTNode,this._hostLView)}get parentInjector(){let t=ad(this._hostTNode,this._hostLView);if(Wg(t)){let n=oa(t,this._hostLView),r=ra(t),o=n[T].data[r+8];return new Kn(o,n)}else return new Kn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=_g(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-re}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ua(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,$r(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!qI(t),u;if(c)u=n;else{let D=n||{};u=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let l=c?t:new gn(Et(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(te,null);v&&(i=v)}let h=Et(l.componentType??{}),f=ua(this._lContainer,h?.id??null),g=f?.firstChild??null,E=l.create(d,o,g,i,s,a);return this.insertImpl(E.hostView,u,$r(this._hostTNode,f)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Op(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[le],u=new uy(c,c[be],c[le]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ri(s,o,i,r),t.attachToViewContainerRef(),Ru(pl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=_g(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=qo(this._lContainer,n);r&&(Ro(pl(this._lContainer),n),xa(r[T],r))}detach(t){let n=this._adjustIndex(t,-1),r=qo(this._lContainer,n);return r&&Ro(pl(this._lContainer),n)!=null?new hn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function _g(e){return e[Oo]}function pl(e){return e[Oo]||(e[Oo]=[])}function ly(e,t){let n,r=t[e.index];return et(r)?n=r:(n=Ym(r,t,null,e),t[e.index]=n,Ed(t,n)),Lb(n,t,e,r),new uy(n,e,t)}function Fb(e,t){let n=e[$],r=n.createComment(""),o=nt(t,e),i=n.parentNode(o);return ca(n,i,r,n.nextSibling(o),!1),r}var Lb=Vb,jb=()=>!1;function Bb(e,t,n){return jb(e,t,n)}function Vb(e,t,n,r){if(e[cn])return;let o;n.type&8?o=He(r):o=Fb(t,n),e[cn]=o}var $l=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Hl=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Ld(t,n).matches!==null&&this.queries[n].setDirty()}},ha=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Gb(t):this.predicate=t}},zl=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Gl=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Ub(n,i)),this.matchTNodeWithReadOption(t,n,Xs(n,t,i,!1,!1))}else r===pn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Xs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ut||o===Mt||o===pn&&n.type&4)this.addMatch(n.index,-2);else{let i=Xs(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Ub(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function $b(e,t){return e.type&11?Gr(e,t):e.type&4?ka(e,t):null}function Hb(e,t,n,r){return n===-1?$b(t,e):n===-2?zb(e,t,r):zo(e,e[T],n,t)}function zb(e,t,n){if(n===Ut)return Gr(t,e);if(n===pn)return ka(t,e);if(n===Mt)return ly(t,e)}function dy(e,t,n,r){let o=t[wt].queries[r];if(o.matches===null){let i=e.data,s=n.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(Hb(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ql(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=dy(e,t,o,n);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=t[-c];for(let d=re;d<l.length;d++){let h=l[d];h[an]===h[le]&&ql(h[T],h,u,r)}if(l[Gn]!==null){let d=l[Gn];for(let h=0;h<d.length;h++){let f=d[h];ql(f[T],f,u,r)}}}}}return r}function Fd(e,t){return e[wt].queries[t].queryList}function fy(e,t,n){let r=new aa((n&4)===4);return Fp(e,t,r,r.destroy),(t[wt]??=new Hl).queries.push(new $l(r))-1}function hy(e,t,n){let r=q();return r.firstCreatePass&&(gy(r,new ha(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),fy(r,b(),t)}function py(e,t,n,r){let o=q();if(o.firstCreatePass){let i=oe();gy(o,new ha(t,n,r),i.index),qb(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return fy(o,b(),n)}function Gb(e){return e.split(",").map(t=>t.trim())}function gy(e,t,n){e.queries===null&&(e.queries=new zl),e.queries.track(new Gl(t,n))}function qb(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Ld(e,t){return e.queries.getByIndex(t)}function my(e,t){let n=e[T],r=Ld(n,t);return r.crossesNgTemplate?ql(n,e,t,[]):dy(n,e,r,t)}function yy(e,t,n){let r,o=Co(()=>{r._dirtyCounter();let i=Wb(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[ce],r._dirtyCounter=Zn(0),r._flatValue=void 0,o}function jd(e){return yy(!0,!1,e)}function Bd(e){return yy(!0,!0,e)}function vy(e,t){let n=e[ce];n._lView=b(),n._queryIndex=t,n._queryList=Fd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Wb(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[M]&4)return t?void 0:De;let o=Fd(n,r),i=my(n,r);return o.reset(i,nm),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Sg=new Set;function st(e){Sg.has(e)||(Sg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var er=class{},ja=class{};var pa=class extends er{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new da(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ou(t);this._bootstrapComponents=Im(i.bootstrap),this._r3Injector=il(t,n,[{provide:er,useValue:this},{provide:oi,useValue:this.componentFactoryResolver},...r],kt(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ga=class extends ja{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new pa(this.moduleType,t,[])}};var Wo=class extends er{injector;componentFactoryResolver=new da(this);instance=null;constructor(t){super();let n=new jn([...t.providers,{provide:er,useValue:this},{provide:oi,useValue:this.componentFactoryResolver}],t.parent||Rr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Zr(e,t,n=null){return new Wo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Zb=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Pu(!1,n.type),o=r.length>0?Zr([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(C(te))})}return e})();function Vd(e){return Ko(()=>{let t=Dy(e),n=F(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===cd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Zb).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Bt.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&st("NgStandalone"),Ey(n);let r=e.dependencies;return n.directiveDefs=Mg(r,Yb),n.pipeDefs=Mg(r,Cp),n.id=Jb(n),n})}function Yb(e){return Et(e)||ks(e)}function mn(e){return Ko(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Qb(e,t){if(e==null)return Ke;let n={};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=Aa.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Kb(e){if(e==null)return Ke;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function zt(e){return Ko(()=>{let t=Dy(e);return Ey(t),t})}function si(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 Dy(e){let t={};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:t,inputConfig:e.inputs||Ke,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Qb(e.inputs,t),outputs:Kb(e.outputs),debugInfo:null}}function Ey(e){e.features?.forEach(t=>t(e))}function Mg(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function Jb(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Xb(e){return Object.getPrototypeOf(e.prototype).constructor}function Iy(e){let t=Xb(e.type),n=!0,r=[e];for(;t;){let o;if(tt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=gl(e.inputs),s.declaredInputs=gl(e.declaredInputs),s.outputs=gl(e.outputs);let a=o.hostBindings;a&&oT(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&nT(e,c),u&&rT(e,u),eT(e,o),pp(e.outputs,o.outputs),tt(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===Iy&&(n=!1)}}t=Object.getPrototypeOf(t)}tT(r)}function eT(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function tT(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Vr(o.hostAttrs,n=Vr(n,o.hostAttrs))}}function gl(e){return e===Ke?{}:e===De?[]:e}function nT(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function rT(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function oT(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function iT(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=sT,n.hostDirectives=r?e.map(Wl):[e]):r?n.hostDirectives.unshift(...e.map(Wl)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function sT(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,wy(s,t,r),o.set(s,[a,t.length-1])}i===0&&tt(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function wy(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Ng(Wl(i),t,n)}else Ng(r,t,n)}function Ng(e,t,n){let r=ks(e.directive);aT(r.declaredInputs,e.inputs),wy(r,t,n),n.set(r,e),t.push(r)}function Wl(e){return typeof e=="function"?{directive:ue(e),inputs:Ke,outputs:Ke}:{directive:ue(e.directive),inputs:Rg(e.inputs),outputs:Rg(e.outputs)}}function Rg(e){if(e===void 0||e.length===0)return Ke;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function aT(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Cy(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Vr(e.mergedAttrs,e.attrs);let l=e.tView=vd(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),kr(e,!1);let c=uT(n,t,e,r);Gs()&&Cd(n,t,c,e),Ur(c,t);let u=Ym(c,t,c,e);t[r+z]=u,Ed(t,u),Bb(u,e,t)}function cT(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,h;return t.firstCreatePass?(h=Wr(t,d,4,s||null,a||null),Bs()&&ny(t,e,h,Ge(t.consts,u),Td),zg(t,h)):h=t.data[d],Cy(h,e,t,n,r,o,i,c),Or(h)&&Pa(t,e,h),u!=null&&ti(e,h,l),h}function Zo(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,h;if(t.firstCreatePass){if(h=Wr(t,d,4,s||null,a||null),u!=null){let f=Ge(t.consts,u);h.localNames=[];for(let g=0;g<f.length;g+=2)h.localNames.push(f[g],-1)}}else h=t.data[d];return Cy(h,e,t,n,r,o,i,c),u!=null&&ti(e,h,l),h}function by(e,t,n,r,o,i,s,a){let c=b(),u=q(),l=Ge(u.consts,i);return cT(c,u,e,t,n,r,o,l,void 0,s,a),by}var uT=lT;function lT(e,t,n,r){return Bo(!0),t[$].createComment("")}var Ba=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ba||{}),yn=new I(""),Ty=!1,Zl=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Np()&&(this.destroyRef=p(qe,{optional:!0})??void 0,this.pendingTasks=p(Tt,{optional:!0})??void 0)}emit(t){let n=R(null);try{super.next(t)}finally{R(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;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 t instanceof K&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},_e=Zl;function _y(e){let t,n;function r(){e=Qn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Ag(e){return queueMicrotask(()=>e()),()=>{e=Qn}}var Ud="isAngularZone",ma=Ud+"_ID",dT=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new _e(!1);onMicrotaskEmpty=new _e(!1);onStable=new _e(!1);onError=new _e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ty}=t;if(typeof Zone>"u")throw new m(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)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,pT(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ud)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,fT,Qn,Qn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},fT={};function $d(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 hT(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){_y(()=>{e.callbackScheduled=!1,Yl(e),e.isCheckStableRunning=!0,$d(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Yl(e)}function pT(e){let t=()=>{hT(e)},n=dT++;e._inner=e._inner.fork({name:"angular",properties:{[Ud]:!0,[ma]:n,[ma+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(gT(c))return r.invokeTask(i,s,a,c);try{return xg(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Og(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return xg(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!mT(c)&&t(),Og(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Yl(e),$d(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 xg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Og(e){e._nesting--,$d(e)}var ya=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new _e;onMicrotaskEmpty=new _e;onStable=new _e;onError=new _e;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function gT(e){return Sy(e,"__ignore_ng_zone__")}function mT(e){return Sy(e,"__scheduler_tick__")}function Sy(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Va=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Hd=[0,1,2,3],zd=(()=>{class e{ngZone=p(Q);scheduler=p(Ve);errorHandler=p(Be,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(yn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&U(16),this.executing=!0;for(let r of Hd)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(),n&&U(17)}register(n){let{view:r}=n;r!==void 0?((r[Hn]??=[]).push(n),ln(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ba.AFTER_NEXT_RENDER,n):n()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Yo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,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 t=this.view?.[Hn];t&&(this.view[Hn]=t.filter(n=>n!==this))}};function Gd(e,t){let n=t?.injector??p(me);return st("NgAfterNextRender"),vT(e,n,t,!0)}function yT(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function vT(e,t,n,r){let o=t.get(Va);o.impl??=t.get(zd);let i=t.get(yn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(qe):null,a=t.get(Yn,null,{optional:!0}),c=new Yo(o.impl,yT(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ua=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var qd=new I("");function nr(e){return!!e&&typeof e.then=="function"}function $a(e){return!!e&&typeof e.subscribe=="function"}var Wd=new I("");function Ha(e){return Je([{provide:Wd,multi:!0,useValue:e}])}var Zd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(Wd,{optional:!0})??[];injector=p(me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=pe(this.injector,o);if(nr(i))n.push(i);else if($a(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ai=new I("");function My(){cu(()=>{let e="";throw new m(600,e)})}function Ny(e){return e.isBoundToModule}var DT=10;var vn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Te);afterRenderManager=p(Va);zonelessEnabled=p(Lr);rootEffectScheduler=p(Uo);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new J;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(Tt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(x(n=>!n))}constructor(){p(yn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=me.NULL){return this._injector.get(Q).run(()=>{U(10);let s=n instanceof Fa;if(!this._injector.get(Zd).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(oi).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Ny(c)?void 0:this._injector.get(er),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),Ho(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),U(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){U(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ba.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new m(101,!1);let n=R(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,R(n),this.afterTick.next(),U(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Xn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<DT;)U(14),this.synchronizeOnce(),U(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!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&&!Fo(o))continue;let i=r&&!this.zonelessEnabled?0:1;Gm(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Fo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ho(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ai,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ho(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ho(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Yd(e,t,n,r){let o=b(),i=dn();if(Fe(o,i,t)){let s=q(),a=jo();LC(a,o,e,t,n,r)}return Yd}var V1=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function ET(){return b()[Ee][X]}var Ql=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),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(t,n){this.attach(n,this.detach(t,!0))}};function ml(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function IT(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=ml(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],g=ml(s,h,c,f,n);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let E=n(i,u),D=n(s,h),v=n(i,l);if(Object.is(v,D)){let L=n(c,f);Object.is(L,E)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new va,o??=kg(e,i,s,n),Kl(e,r,i,v))e.updateValue(i,l),i++,s++;else if(o.has(v))r.set(E,e.detach(i)),s--;else{let L=e.create(i,t[i]);e.attach(i,L),i++,s++}}for(;i<=c;)Pg(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=ml(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new va,o??=kg(e,i,s,n);let f=n(i,d);if(Kl(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=n(i,l);r.set(g,e.detach(i)),s--}}}for(;!u.done;)Pg(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Kl(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Pg(e,t,n,r,o){if(Kl(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function kg(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var va=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function wT(e,t,n,r,o,i,s,a){st("NgControlFlow");let c=b(),u=q(),l=Ge(u.consts,i);return Zo(c,u,e,t,n,r,o,l,256,s,a),Qd}function Qd(e,t,n,r,o,i,s,a){st("NgControlFlow");let c=b(),u=q(),l=Ge(u.consts,i);return Zo(c,u,e,t,n,r,o,l,512,s,a),Qd}function CT(e,t){st("NgControlFlow");let n=b(),r=dn(),o=n[r]!==Se?n[r]:-1,i=o!==-1?Da(n,z+o):void 0,s=0;if(Fe(n,r,e)){let a=R(null);try{if(i!==void 0&&Km(i,s),e!==-1){let c=z+e,u=Da(n,c),l=td(n[T],c),d=Xm(u,l,n),h=ni(n,l,t,{dehydratedView:d});ri(u,h,s,$r(l,d))}}finally{R(a)}}else if(i!==void 0){let a=Qm(i,s);a!==void 0&&(a[X]=t)}}var Jl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-re}};function bT(e){return e}function TT(e,t){return t}var Xl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function _T(e,t,n,r,o,i,s,a,c,u,l,d,h){st("NgControlFlow");let f=b(),g=q(),E=c!==void 0,D=b(),v=a?s.bind(D[Ee][X]):s,L=new Xl(E,v);D[z+e]=L,Zo(f,g,e+1,t,n,r,o,Ge(g.consts,i),256),E&&Zo(f,g,e+2,c,u,l,d,Ge(g.consts,h),512)}var ed=class extends Ql{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-re}at(t){return this.getLView(t)[X].$implicit}attach(t,n){let r=n[Vn];this.needsIndexUpdate||=t!==this.length,ri(this.lContainer,n,t,$r(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&MT(this.lContainer,t),NT(this.lContainer,t)}create(t,n){let r=ua(this.lContainer,this.templateTNode.tView.ssrId),o=ni(this.hostLView,this.templateTNode,new Jl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){xa(t[T],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[X].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[X].$index=t}getLView(t){return RT(this.lContainer,t)}};function ST(e){let t=R(null),n=bt();try{let r=b(),o=r[T],i=r[n],s=n+1,a=Da(r,s);if(i.liveCollection===void 0){let u=td(o,s);i.liveCollection=new ed(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(IT(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=dn(),l=c.length===0;if(Fe(r,u,l)){let d=n+2,h=Da(r,d);if(l){let f=td(o,d),g=Xm(h,f,r),E=ni(r,f,void 0,{dehydratedView:g});ri(h,E,0,$r(f,g))}else o.firstUpdatePass&&ab(h),Km(h,0)}}}finally{R(t)}}function Da(e,t){return e[t]}function MT(e,t){if(e.length<=re)return;let n=re+t,r=e[n];r&&r[zn]&&(r[zn].skipLeaveAnimations=!0)}function NT(e,t){return qo(e,t)}function RT(e,t){return Qm(e,t)}function td(e,t){return Po(e,t)}function Ry(e,t,n){let r=b(),o=dn();if(Fe(r,o,t)){let i=q(),s=jo();jm(s,r,e,t,r[$],n)}return Ry}function nd(e,t,n,r,o){Md(t,e,n,o?"class":"style",r)}function Kd(e,t,n,r){let o=b(),i=o[T],s=e+z,a=i.firstCreatePass?xd(s,o,2,t,Td,Bs(),n,r):i.data[s];if(_d(a,o,e,t,xy),Or(a)){let c=o[T];Pa(c,o,a),dd(c,a,o)}return r!=null&&ti(o,a),Kd}function Jd(){let e=q(),t=oe(),n=Sd(t);return e.firstCreatePass&&Od(e,n),Ku(n)&&Ju(),Yu(),n.classesWithoutHost!=null&&JI(n)&&nd(e,n,b(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&XI(n)&&nd(e,n,b(),n.stylesWithoutHost,!1),Jd}function za(e,t,n,r){return Kd(e,t,n,r),Jd(),za}function Xd(e,t,n,r){let o=b(),i=o[T],s=e+z,a=i.firstCreatePass?Ib(s,i,2,t,n,r):i.data[s];return _d(a,o,e,t,xy),r!=null&&ti(o,a),Xd}function ef(){let e=oe(),t=Sd(e);return Ku(t)&&Ju(),Yu(),ef}function Ay(e,t,n,r){return Xd(e,t,n,r),ef(),Ay}var xy=(e,t,n,r,o)=>(Bo(!0),bm(t[$],r,tg()));function tf(e,t,n){let r=b(),o=r[T],i=e+z,s=o.firstCreatePass?xd(i,r,8,"ng-container",Td,Bs(),t,n):o.data[i];if(_d(s,r,e,"ng-container",AT),Or(s)){let a=r[T];Pa(a,r,s),dd(a,s,r)}return n!=null&&ti(r,s),tf}function nf(){let e=q(),t=oe(),n=Sd(t);return e.firstCreatePass&&Od(e,n),nf}function Oy(e,t,n){return tf(e,t,n),nf(),Oy}var AT=(e,t,n,r,o)=>(Bo(!0),cC(t[$],""));function xT(){return b()}function Py(e,t,n){let r=b(),o=dn();if(Fe(r,o,t)){let i=q(),s=jo();Bm(s,r,e,t,r[$],n)}return Py}var Ys=void 0;function OT(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var PT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ys,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ys,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ys,"{1} 'at' {0}",Ys],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",OT],yl={};function Ae(e){let t=kT(e),n=Fg(t);if(n)return n;let r=t.split("-")[0];if(n=Fg(r),n)return n;if(r==="en")return PT;throw new m(701,!1)}function Fg(e){return e in yl||(yl[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),yl[e]}var ee=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(ee||{});function kT(e){return e.toLowerCase().replace(/_/g,"-")}var ci="en-US";var FT=ci;function ky(e){typeof e=="string"&&(FT=e.toLowerCase().replace(/_/g,"-"))}function rf(e,t,n){let r=b(),o=q(),i=oe();return Ly(o,r,r[$],i,e,t,n),rf}function Fy(e,t,n){let r=b(),o=q(),i=oe();return(i.type&3||n)&&sy(i,o,r,n,r[$],e,t,ta(i,r,t)),Fy}function Ly(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ta(r,t,i),sy(r,e,t,s,n,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??=ta(r,t,i),bg(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=ta(r,t,i),bg(r,t,d,o,o,c)}}function LT(e=1){return Jp(e)}function jT(e,t){let n=null,r=Xw(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Cm(e,i,!0):nC(r,i))return o}return n}function BT(e){let t=b()[Ee][be];if(!t.projection){let n=e?e.length:1,r=t.projection=Ip(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?jT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function VT(e,t=0,n,r,o,i){let s=b(),a=q(),c=r?e+1:null;c!==null&&Zo(s,a,c,r,o,i,null,n);let u=Wr(a,z+e,16,null,n||null);u.projection===null&&(u.projection=t),tl();let d=!s[Vn]||Qu();s[Ee][be].projection[u.projection]===null&&c!==null?UT(s,a,c):d&&!Ma(u)&&_C(a,s,u)}function UT(e,t,n){let r=z+n,o=t.data[r],i=e[r],s=ua(i,o.tView.ssrId),a=ni(e,o,void 0,{dehydratedView:s});ri(i,a,0,$r(o,s))}function jy(e,t,n,r){py(e,t,n,r)}function $T(e,t,n){hy(e,t,n)}function By(e){let t=b(),n=q(),r=$s();Lo(r+1);let o=Ld(n,r);if(e.dirty&&xp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=my(t,r);e.reset(i,nm),e.notifyOnChanges()}return!0}return!1}function Vy(){return Fd(b(),$s())}function HT(e,t,n,r,o){vy(t,py(e,n,r,o))}function zT(e,t,n,r){vy(e,hy(t,n,r))}function GT(e=1){Lo($s()+e)}function qT(e){let t=$p();return ko(t,z+e)}function Qs(e,t){return e<<17|t<<2}function tr(e){return e>>17&32767}function WT(e){return(e&2)==2}function ZT(e,t){return e&131071|t<<17}function rd(e){return e|2}function Hr(e){return(e&131068)>>2}function vl(e,t){return e&-131069|t<<2}function YT(e){return(e&1)===1}function od(e){return e|1}function QT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=tr(s),c=Hr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Nr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=tr(e[a+1]);e[r+1]=Qs(h,a),h!==0&&(e[h+1]=vl(e[h+1],r)),e[a+1]=ZT(e[a+1],r)}else e[r+1]=Qs(a,0),a!==0&&(e[a+1]=vl(e[a+1],r)),a=r;else e[r+1]=Qs(c,0),a===0?a=r:e[c+1]=vl(e[c+1],r),c=r;u&&(e[r+1]=rd(e[r+1])),Lg(e,l,r,!0),Lg(e,l,r,!1),KT(t,l,e,r,i),s=Qs(a,c),i?t.classBindings=s:t.styleBindings=s}function KT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Nr(i,t)>=0&&(n[r+1]=od(n[r+1]))}function Lg(e,t,n,r){let o=e[n+1],i=t===null,s=r?tr(o):Hr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];JT(c,t)&&(a=!0,e[s+1]=r?od(u):rd(u)),s=r?tr(u):Hr(u)}a&&(e[n+1]=r?rd(o):od(o))}function JT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Nr(e,t)>=0:!1}var ot={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function XT(e){return e.substring(ot.key,ot.keyEnd)}function e_(e){return t_(e),Uy(e,$y(e,0,ot.textEnd))}function Uy(e,t){let n=ot.textEnd;return n===t?-1:(t=ot.keyEnd=n_(e,ot.key=t,n),$y(e,t,n))}function t_(e){ot.key=0,ot.keyEnd=0,ot.value=0,ot.valueEnd=0,ot.textEnd=e.length}function $y(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function n_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Hy(e,t,n){return Gy(e,t,n,!1),Hy}function zy(e,t){return Gy(e,t,null,!0),zy}function r_(e){i_(d_,o_,e,!0)}function o_(e,t){for(let n=e_(t);n>=0;n=Uy(t,n))Os(e,XT(t),!0)}function Gy(e,t,n,r){let o=b(),i=q(),s=Vs(2);if(i.firstUpdatePass&&Wy(i,e,s,r),t!==Se&&Fe(o,s,t)){let a=i.data[bt()];Zy(i,a,o,o[$],e,o[s+1]=h_(t,n),r,s)}}function i_(e,t,n,r){let o=q(),i=Vs(2);o.firstUpdatePass&&Wy(o,null,i,r);let s=b();if(n!==Se&&Fe(s,i,n)){let a=o.data[bt()];if(Yy(a,r)&&!qy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ms(c,n||"")),nd(o,a,s,n,r)}else f_(o,a,s,s[$],s[i+1],s[i+1]=l_(e,t,n),r,i)}}function qy(e,t){return t>=e.expandoStartIndex}function Wy(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[bt()],s=qy(e,n);Yy(i,r)&&t===null&&!s&&(t=!1),t=s_(o,i,t,r),QT(o,i,t,n,s,r)}}function s_(e,t,n,r){let o=Zp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Dl(null,e,t,n,r),n=Qo(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Dl(o,e,t,n,r),i===null){let c=a_(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Dl(null,e,t,c[1],r),c=Qo(c,t.attrs,r),c_(e,t,r,c))}else i=u_(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function a_(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Hr(r)!==0)return e[tr(r)]}function c_(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[tr(o)]=r}function u_(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Qo(r,s,n)}return Qo(r,t.attrs,n)}function Dl(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Qo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Qo(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Os(e,s,n?!0:t[++i]))}return e===void 0?null:e}function l_(e,t,n){if(n==null||n==="")return De;let r=[],o=We(n);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"&&t(r,o);return r}function d_(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Os(e,r,n)}function f_(e,t,n,r,o,i,s,a){o===Se&&(o=De);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,E;l===d?(c+=2,u+=2,h!==f&&(g=d,E=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,E=f),g!==null&&Zy(e,t,n,r,g,E,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Zy(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=YT(u)?jg(c,t,n,o,Hr(u),s):void 0;if(!Ea(l)){Ea(i)||WT(u)&&(i=jg(c,null,n,o,a,s));let d=$u(bt(),n);MC(r,s,d,o,i)}}function jg(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===Se&&(h=d?De:void 0);let f=d?Ps(h,r):l===r?h:void 0;if(u&&!Ea(f)&&(f=Ps(c,r)),Ea(f)&&(a=f,s))return a;let g=e[o+1];o=s?tr(g):Hr(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ps(c,r))}return a}function Ea(e){return e!==void 0}function h_(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=kt(We(e)))),e}function Yy(e,t){return(e.flags&(t?8:16))!==0}function p_(e,t=""){let n=b(),r=q(),o=e+z,i=r.firstCreatePass?Wr(r,o,1,t,null):r.data[o],s=g_(r,n,i,t,e);n[o]=s,Gs()&&Cd(r,n,s,i),kr(i,!1)}var g_=(e,t,n,r,o)=>(Bo(!0),sC(t[$],r));function Qy(e,t,n,r=""){return Fe(e,dn(),n)?t+on(n)+r:Se}function m_(e,t,n,r,o,i=""){let s=Hp(),a=kd(e,s,n,o);return Vs(2),a?t+on(n)+r+on(o)+i:Se}function Ky(e){return of("",e),Ky}function of(e,t,n){let r=b(),o=Qy(r,e,t,n);return o!==Se&&Xy(r,bt(),o),of}function Jy(e,t,n,r,o){let i=b(),s=m_(i,e,t,n,r,o);return s!==Se&&Xy(i,bt(),s),Jy}function Xy(e,t,n){let r=$u(t,e);aC(e[$],r,n)}function ev(e,t,n){cl(t)&&(t=t());let r=b(),o=dn();if(Fe(r,o,t)){let i=q(),s=jo();jm(s,r,e,t,r[$],n)}return ev}function y_(e,t){let n=cl(e);return n&&e.set(t),n}function tv(e,t){let n=b(),r=q(),o=oe();return Ly(r,n,n[$],o,e,t),tv}function v_(e,t,n=""){return Qy(b(),e,t,n)}function D_(e,t,n){let r=q();if(r.firstCreatePass){let o=tt(e);id(n,r.data,r.blueprint,o,!0),id(t,r.data,r.blueprint,o,!1)}}function id(e,t,n,r,o){if(e=ue(e),Array.isArray(e))for(let i=0;i<e.length;i++)id(e[i],t,n,r,o);else{let i=q(),s=b(),a=oe(),c=Ln(e)?e:ue(e.provide),u=Fu(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Ln(e)||!e.multi){let f=new Jn(u,o,ie,null),g=Il(c,t,o?l:l+h,d);g===-1?(Cl(sa(a,s),i,c),El(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=Il(c,t,l+h,d),g=Il(c,t,l,l+h),E=f>=0&&n[f],D=g>=0&&n[g];if(o&&!D||!o&&!E){Cl(sa(a,s),i,c);let v=w_(o?I_:E_,n.length,o,r,u,e);!o&&D&&(n[g].providerFactory=v),El(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=nv(n[o?g:f],u,!o&&r);El(i,e,f>-1?f:g,v)}!o&&r&&D&&n[g].componentProviders++}}}function El(e,t,n,r){let o=Ln(t),i=Mp(t);if(o||i){let c=(i?ue(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function nv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Il(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function E_(e,t,n,r,o){return sd(this.multi,[])}function I_(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=zo(r,r[T],this.providerFactory.index,o);s=c.slice(0,a),sd(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],sd(i,s);return s}function sd(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function w_(e,t,n,r,o,i){let s=new Jn(e,n,ie,null);return s.multi=[],s.index=t,s.componentProviders=0,nv(s,o,r&&!n),s}function C_(e,t=[]){return n=>{n.providersResolver=(r,o)=>D_(r,o?o(e):e,t)}}function b_(e,t,n){let r=Wn()+e,o=b();return o[r]===Se?La(o,r,n?t.call(n):t()):wb(o,r)}function T_(e,t,n,r){return rv(b(),Wn(),e,t,n,r)}function __(e,t,n,r,o){return ov(b(),Wn(),e,t,n,r,o)}function sf(e,t){let n=e[t];return n===Se?void 0:n}function rv(e,t,n,r,o,i){let s=t+n;return Fe(e,s,o)?La(e,s+1,i?r.call(i,o):r(o)):sf(e,s+1)}function ov(e,t,n,r,o,i,s){let a=t+n;return kd(e,a,o,i)?La(e,a+2,s?r.call(s,o,i):r(o,i)):sf(e,a+2)}function S_(e,t,n,r,o,i,s,a){let c=t+n;return Cb(e,c,o,i,s)?La(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):sf(e,c+3)}function M_(e,t){let n=q(),r,o=e+z;n.firstCreatePass?(r=N_(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=nn(r.type,!0)),s,a=Ce(ie);try{let c=ia(!1),u=i();return ia(c),Hu(n,b(),o,u),u}finally{Ce(a)}}function N_(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function R_(e,t,n){let r=e+z,o=b(),i=ko(o,r);return af(o,r)?rv(o,Wn(),t,i.transform,n,i):i.transform(n)}function A_(e,t,n,r){let o=e+z,i=b(),s=ko(i,o);return af(i,o)?ov(i,Wn(),t,s.transform,n,r,s):s.transform(n,r)}function x_(e,t,n,r,o){let i=e+z,s=b(),a=ko(s,i);return af(s,i)?S_(s,Wn(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function af(e,t){return e[T].data[t].pure}function O_(e,t){return ka(e,t)}var Ia=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},cf=(()=>{class e{compileModuleSync(n){return new ga(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ou(n),i=Im(o.declarations).reduce((s,a)=>{let c=Et(a);return c&&s.push(new gn(c)),s},[]);return new Ia(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var P_=(()=>{class e{zone=p(Q);changeDetectionScheduler=p(Ve);applicationRef=p(vn);applicationErrorHandler=p(Te);_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(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),iv=new I("",{factory:()=>!1});function uf({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Q(F(y({},lf()),{scheduleInRootZone:n})),[{provide:Q,useFactory:e},{provide:Dt,multi:!0,useFactory:()=>{let r=p(P_,{optional:!0});return()=>r.initialize()}},{provide:Dt,multi:!0,useFactory:()=>{let r=p(F_);return()=>{r.initialize()}}},t===!0?{provide:ul,useValue:!0}:[],{provide:ll,useValue:n??Ty},{provide:Te,useFactory:()=>{let r=p(Q),o=p(te),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Be),i.handleError(s))})}}}]}function k_(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=uf({ngZoneFactory:()=>{let o=lf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&st("NgZone_CoalesceEvent"),new Q(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Je([{provide:iv,useValue:!0},{provide:Lr,useValue:!1},r])}function lf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var F_=(()=>{class e{subscription=new K;initialized=!1;zone=p(Q);pendingTasks=p(Tt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var sv=(()=>{class e{applicationErrorHandler=p(Te);appRef=p(vn);taskService=p(Tt);ngZone=p(Q);zonelessEnabled=p(Lr);tracing=p(yn,{optional:!0});disableScheduling=p(ul,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new K;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ma):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(ll,{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 ya||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){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?Ag:_y;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ma+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ag(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function L_(){return typeof $localize<"u"&&$localize.locale||ci}var Yr=new I("",{providedIn:"root",factory:()=>p(Yr,{optional:!0,skipSelf:!0})||L_()});function at(e){return up(e)}function j_(e,t){return Co(e,t?.equal)}var df=class{[ce];constructor(t){this[ce]=t}destroy(){this[ce].destroy()}};function B_(e,t){let n=t?.injector??p(me),r=t?.manualCleanup!==!0?n.get(qe):null,o,i=n.get(Yn,null,{optional:!0}),s=n.get(Ve);return i!==null?(o=$_(i.view,s,e),r instanceof Mo&&r._lView===i.view&&(r=null)):o=H_(e,n.get(Uo),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new df(o)}var av=F(y({},lp),{cleanupFns:void 0,zone:null,onDestroyFn:Qn,run(){let e=Fr(!1);try{dp(this)}finally{Fr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=R(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],R(e)}}}),V_=F(y({},av),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){tn(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),U_=F(y({},av),{consumerMarkedDirty(){this.view[M]|=8192,ln(this.view),this.notifier.notify(13)},destroy(){tn(this),this.onDestroyFn(),this.cleanup(),this.view[jt]?.delete(this)}});function $_(e,t,n){let r=Object.create(U_);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=cv(r,n),e[jt]??=new Set,e[jt].add(r),r.consumerMarkedDirty(r),r}function H_(e,t,n){let r=Object.create(V_);return r.fn=cv(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function cv(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var mv=Symbol("InputSignalNode#UNSET"),rS=F(y({},bo),{transformFn:void 0,applyValueToInputSignal(e,t){Sr(e,t)}});function yv(e,t){let n=Object.create(rS);n.value=e,n.transformFn=t?.transform;function r(){if(xn(n),n.value===mv){let o=null;throw new m(-950,o)}return n.value}return r[ce]=n,r}var hf=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ca(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},oS=new I("");oS.__NG_ELEMENT_ID__=e=>{let t=oe();if(t===null)throw new m(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new m(204,!1)};function uv(e,t){return yv(e,t)}function iS(e){return yv(mv,e)}var vv=(uv.required=iS,uv);function lv(e,t){return jd(t)}function sS(e,t){return Bd(t)}var w$=(lv.required=sS,lv);function dv(e,t){return jd(t)}function aS(e,t){return Bd(t)}var C$=(dv.required=aS,dv);var pf=new I(""),cS=new I("");function ui(e){return!e.moduleRef}function uS(e){let t=ui(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{ui(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Te),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ui(e)){let i=()=>t.destroy(),s=e.platformInjector.get(pf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(pf);s.add(i),e.moduleRef.onDestroy(()=>{Ho(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return dS(r,n,()=>{let i=t.get(Tt),s=i.add(),a=t.get(Zd);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Yr,ci);if(ky(c||ci),!t.get(cS,!0))return ui(e)?t.get(vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ui(e)){let l=t.get(vn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return lS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var lS;function dS(e,t,n){try{let r=n();return nr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ga=null;function fS(e=[],t){return me.create({name:t,providers:[{provide:Ao,useValue:"platform"},{provide:pf,useValue:new Set([()=>Ga=null])},...e]})}function hS(e=[]){if(Ga)return Ga;let t=fS(e);return Ga=t,My(),pS(t),t}function pS(e){let t=e.get(Ta,null);pe(e,()=>{t?.forEach(n=>n())})}var Qr=(()=>{class e{static __NG_ELEMENT_ID__=gS}return e})();function gS(e){return mS(oe(),b(),(e&16)===16)}function mS(e,t,n){if(un(e)&&!n){let r=ze(e.index,t);return new hn(r,r)}else if(e.type&175){let r=t[Ee];return new hn(r,t)}return null}var gf=class{constructor(){}supports(t){return Pd(t)}create(t){return new mf(t)}},yS=(e,t)=>t,mf=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||yS}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<fv(r,o,i)?n:r,a=fv(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,g=f+h;l<=g&&g<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Pd(t))throw new m(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,oy(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new yf(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new qa),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new qa),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},yf=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},vf=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},qa=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new vf,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function fv(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function hv(){return new Ef([new gf])}var Ef=(()=>{class e{factories;static \u0275prov=w({token:e,providedIn:"root",factory:hv});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=p(e,{optional:!0,skipSelf:!0});return e.create(n,r||hv())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new m(901,!1)}}return e})();function Dv(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;U(8);try{let i=o?.injector??hS(r),s=[uf({}),{provide:Ve,useExisting:sv},rg,...n||[]],a=new Wo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return uS({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{U(9)}}function Ev(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function vS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var ff=Symbol("NOT_SET"),Iv=new Set,DS=F(y({},bo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ff,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==ff&&!Pn(this))return this.signal;try{for(let o of this.cleanup??Iv)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=en(this),r;try{r=this.userFn.apply(null,t)}finally{On(this,n)}return(this.value===ff||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Df=class extends Yo{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(qe),s),this.scheduler=o;for(let a of Hd){let c=n[a];if(c===void 0)continue;let u=Object.create(DS);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(xn(u),u.value),u.signal[ce]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Iv)n()}finally{tn(t)}}};function b$(e,t){let n=t?.injector??p(me),r=n.get(Ve),o=n.get(Va),i=n.get(yn,null,{optional:!0});o.impl??=n.get(zd);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Yn,null,{optional:!0}),c=new Df(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function T$(e,t){let n=Et(e),r=t.elementInjector||Rr();return new gn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function wv(e){let t=Et(e);if(!t)return null;let n=new gn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Tv=null;function Gt(){return Tv}function If(e){Tv??=e}var li=class{},di=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(_v),providedIn:"platform"})}return e})(),wf=new I(""),_v=(()=>{class e extends di{_location;_history;_doc=p(Z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gt().getBaseHref(this._doc)}onPopState(n){let r=Gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Wa(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Cv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function ct(e){return e&&e[0]!=="?"?`?${e}`:e}var qt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(Ya),providedIn:"root"})}return e})(),Za=new I(""),Ya=(()=>{class e extends qt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Wa(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+ct(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(C(di),C(Za,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),En=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=wS(Cv(bv(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(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ct(r))}normalize(n){return e.stripTrailingSlash(IS(this._basePath,bv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ct(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ct(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=ct;static joinWithSlash=Wa;static stripTrailingSlash=Cv;static \u0275fac=function(r){return new(r||e)(C(qt))};static \u0275prov=w({token:e,factory:()=>ES(),providedIn:"root"})}return e})();function ES(){return new En(C(qt))}function IS(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function bv(e){return e.replace(/\/index.html$/,"")}function wS(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Af=(()=>{class e extends qt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Wa(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(C(di),C(Za,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var xf=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(xf||{});var Ie=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ie||{}),H=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(H||{}),xe=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(xe||{}),Oe={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function xv(e){return Ae(e)[ee.LocaleId]}function Ov(e,t,n){let r=Ae(e),o=[r[ee.DayPeriodsFormat],r[ee.DayPeriodsStandalone]],i=Ze(o,t);return Ze(i,n)}function Pv(e,t,n){let r=Ae(e),o=[r[ee.DaysFormat],r[ee.DaysStandalone]],i=Ze(o,t);return Ze(i,n)}function kv(e,t,n){let r=Ae(e),o=[r[ee.MonthsFormat],r[ee.MonthsStandalone]],i=Ze(o,t);return Ze(i,n)}function Fv(e,t){let r=Ae(e)[ee.Eras];return Ze(r,t)}function fi(e,t){let n=Ae(e);return Ze(n[ee.DateFormat],t)}function hi(e,t){let n=Ae(e);return Ze(n[ee.TimeFormat],t)}function pi(e,t){let r=Ae(e)[ee.DateTimeFormat];return Ze(r,t)}function Nt(e,t){let n=Ae(e),r=n[ee.NumberSymbols][t];if(typeof r>"u"){if(t===Oe.CurrencyDecimal)return n[ee.NumberSymbols][Oe.Decimal];if(t===Oe.CurrencyGroup)return n[ee.NumberSymbols][Oe.Group]}return r}function Lv(e,t){return Ae(e)[ee.NumberFormats][t]}function jv(e){if(!e[ee.ExtraData])throw new m(2303,!1)}function Bv(e){let t=Ae(e);return jv(t),(t[ee.ExtraData][2]||[]).map(r=>typeof r=="string"?Cf(r):[Cf(r[0]),Cf(r[1])])}function Vv(e,t,n){let r=Ae(e);jv(r);let o=[r[ee.ExtraData][0],r[ee.ExtraData][1]],i=Ze(o,t)||[];return Ze(i,n)||[]}function Ze(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function Cf(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var CS=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qa={},bS=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Uv(e,t,n,r){let o=OS(e);t=Wt(n,t)||t;let s=[],a;for(;t;)if(a=bS.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Hv(r,c),o=xS(o,r));let u="";return s.forEach(l=>{let d=RS(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function tc(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Wt(e,t){let n=xv(e);if(Qa[n]??={},Qa[n][t])return Qa[n][t];let r="";switch(t){case"shortDate":r=fi(e,xe.Short);break;case"mediumDate":r=fi(e,xe.Medium);break;case"longDate":r=fi(e,xe.Long);break;case"fullDate":r=fi(e,xe.Full);break;case"shortTime":r=hi(e,xe.Short);break;case"mediumTime":r=hi(e,xe.Medium);break;case"longTime":r=hi(e,xe.Long);break;case"fullTime":r=hi(e,xe.Full);break;case"short":let o=Wt(e,"shortTime"),i=Wt(e,"shortDate");r=Ka(pi(e,xe.Short),[o,i]);break;case"medium":let s=Wt(e,"mediumTime"),a=Wt(e,"mediumDate");r=Ka(pi(e,xe.Medium),[s,a]);break;case"long":let c=Wt(e,"longTime"),u=Wt(e,"longDate");r=Ka(pi(e,xe.Long),[c,u]);break;case"full":let l=Wt(e,"fullTime"),d=Wt(e,"fullDate");r=Ka(pi(e,xe.Full),[l,d]);break}return r&&(Qa[n][t]=r),r}function Ka(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function ut(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function TS(e,t){return ut(e,3).substring(0,t)}function se(e,t,n=0,r=!1,o=!1){return function(i,s){let a=_S(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return TS(a,t);let c=Nt(s,Oe.MinusSign);return ut(a,t,c,r,o)}}function _S(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function G(e,t,n=Ie.Format,r=!1){return function(o,i){return SS(o,i,e,t,n,r)}}function SS(e,t,n,r,o,i){switch(n){case 2:return kv(t,o,r)[e.getMonth()];case 1:return Pv(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Bv(t),l=Vv(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,E=s>=f.hours&&a>=f.minutes,D=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(E&&D)return!0}else if(E||D)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Ov(t,o,r)[s<12?0:1];case 3:return Fv(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Ja(e){return function(t,n,r){let o=-1*r,i=Nt(n,Oe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+ut(s,2,i)+ut(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+ut(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+ut(s,2,i)+":"+ut(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+ut(s,2,i)+":"+ut(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var MS=0,ec=4;function NS(e){let t=tc(e,MS,1).getDay();return tc(e,0,1+(t<=ec?ec:ec+7)-t)}function $v(e){let t=e.getDay(),n=t===0?-3:ec-t;return tc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function bf(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=$v(n),s=NS(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ut(o,e,Nt(r,Oe.MinusSign))}}function Xa(e,t=!1){return function(n,r){let i=$v(n).getFullYear();return ut(i,e,Nt(r,Oe.MinusSign),t)}}var Tf={};function RS(e){if(Tf[e])return Tf[e];let t;switch(e){case"G":case"GG":case"GGG":t=G(3,H.Abbreviated);break;case"GGGG":t=G(3,H.Wide);break;case"GGGGG":t=G(3,H.Narrow);break;case"y":t=se(0,1,0,!1,!0);break;case"yy":t=se(0,2,0,!0,!0);break;case"yyy":t=se(0,3,0,!1,!0);break;case"yyyy":t=se(0,4,0,!1,!0);break;case"Y":t=Xa(1);break;case"YY":t=Xa(2,!0);break;case"YYY":t=Xa(3);break;case"YYYY":t=Xa(4);break;case"M":case"L":t=se(1,1,1);break;case"MM":case"LL":t=se(1,2,1);break;case"MMM":t=G(2,H.Abbreviated);break;case"MMMM":t=G(2,H.Wide);break;case"MMMMM":t=G(2,H.Narrow);break;case"LLL":t=G(2,H.Abbreviated,Ie.Standalone);break;case"LLLL":t=G(2,H.Wide,Ie.Standalone);break;case"LLLLL":t=G(2,H.Narrow,Ie.Standalone);break;case"w":t=bf(1);break;case"ww":t=bf(2);break;case"W":t=bf(1,!0);break;case"d":t=se(2,1);break;case"dd":t=se(2,2);break;case"c":case"cc":t=se(7,1);break;case"ccc":t=G(1,H.Abbreviated,Ie.Standalone);break;case"cccc":t=G(1,H.Wide,Ie.Standalone);break;case"ccccc":t=G(1,H.Narrow,Ie.Standalone);break;case"cccccc":t=G(1,H.Short,Ie.Standalone);break;case"E":case"EE":case"EEE":t=G(1,H.Abbreviated);break;case"EEEE":t=G(1,H.Wide);break;case"EEEEE":t=G(1,H.Narrow);break;case"EEEEEE":t=G(1,H.Short);break;case"a":case"aa":case"aaa":t=G(0,H.Abbreviated);break;case"aaaa":t=G(0,H.Wide);break;case"aaaaa":t=G(0,H.Narrow);break;case"b":case"bb":case"bbb":t=G(0,H.Abbreviated,Ie.Standalone,!0);break;case"bbbb":t=G(0,H.Wide,Ie.Standalone,!0);break;case"bbbbb":t=G(0,H.Narrow,Ie.Standalone,!0);break;case"B":case"BB":case"BBB":t=G(0,H.Abbreviated,Ie.Format,!0);break;case"BBBB":t=G(0,H.Wide,Ie.Format,!0);break;case"BBBBB":t=G(0,H.Narrow,Ie.Format,!0);break;case"h":t=se(3,1,-12);break;case"hh":t=se(3,2,-12);break;case"H":t=se(3,1);break;case"HH":t=se(3,2);break;case"m":t=se(4,1);break;case"mm":t=se(4,2);break;case"s":t=se(5,1);break;case"ss":t=se(5,2);break;case"S":t=se(6,1);break;case"SS":t=se(6,2);break;case"SSS":t=se(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ja(0);break;case"ZZZZZ":t=Ja(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ja(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ja(2);break;default:return null}return Tf[e]=t,t}function Hv(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function AS(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function xS(e,t,n){let o=e.getTimezoneOffset(),i=Hv(t,o);return AS(e,-1*(i-o))}function OS(e){if(Sv(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return tc(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(CS))return PS(r)}let t=new Date(e);if(!Sv(t))throw new m(2311,!1);return t}function PS(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Sv(e){return e instanceof Date&&!isNaN(e.valueOf())}var kS=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Mv=22,nc=".",gi="0",FS=";",LS=",",_f="#";function jS(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Nt(n,Oe.Infinity);else{let u=US(e);s&&(u=VS(u));let l=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){let L=i.match(kS);if(L===null)throw new m(2306,!1);let Ne=L[1],ne=L[3],ft=L[5];Ne!=null&&(l=Sf(Ne)),ne!=null&&(d=Sf(ne)),ft!=null?h=Sf(ft):ne!=null&&d>h&&(h=d)}$S(u,d,h);let f=u.digits,g=u.integerLen,E=u.exponent,D=[];for(c=f.every(L=>!L);g<l;g++)f.unshift(0);for(;g<0;g++)f.unshift(0);g>0?D=f.splice(g,f.length):(D=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(Nt(n,r)),D.length&&(a+=Nt(n,o)+D.join("")),E&&(a+=Nt(n,Oe.Exponential)+"+"+E)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function zv(e,t,n){let r=Lv(t,xf.Decimal),o=BS(r,Nt(t,Oe.MinusSign));return jS(e,o,t,Oe.Group,Oe.Decimal,n)}function BS(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(FS),o=r[0],i=r[1],s=o.indexOf(nc)!==-1?o.split(nc):[o.substring(0,o.lastIndexOf(gi)+1),o.substring(o.lastIndexOf(gi)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(_f));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===gi?n.minFrac=n.maxFrac=l+1:d===_f?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(LS);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(_f);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function VS(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function US(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(nc))>-1&&(t=t.replace(nc,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===gi;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===gi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Mv&&(r=r.splice(0,Mv-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function $S(e,t,n){if(t>n)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,h,f,g){return h=h+d,g[f]=h<10?h:h-10,c&&(g[f]===0&&f>=u?g.pop():c=!1),h>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Sf(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var Mf=/\s+/,Nv=[],HS=(()=>{class e{_ngEl;_renderer;initialClasses=Nv;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Mf):Nv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Mf):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[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(n,r){n=n.trim(),n.length>0&&n.split(Mf).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)(ie(Ut),ie(ii))};static \u0275dir=zt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var rc=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Gv=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new rc(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Rv(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Rv(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ie(Mt),ie(pn),ie(Ef))};static \u0275dir=zt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Rv(e,t){e.context.$implicit=t.item}var zS=(()=>{class e{_viewContainer;_context=new oc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Av(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Av(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ie(Mt),ie(pn))};static \u0275dir=zt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),oc=class{$implicit=null;ngIf=null};function Av(e,t){if(e&&!e.createEmbeddedView)throw new m(2020,!1)}var GS=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){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(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ie(Mt))};static \u0275dir=zt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[zr]})}return e})();function Of(e,t){return new m(2100,!1)}var Nf=class{createSubscription(t,n,r){return at(()=>t.subscribe({next:n,error:r}))}dispose(t){at(()=>t.unsubscribe())}},Rf=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},qS=new Rf,WS=new Nf,ZS=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(Te);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(nr(n))return qS;if($a(n))return WS;throw Of(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(ie(Qr,16))};static \u0275pipe=si({name:"async",type:e,pure:!1})}return e})();var YS="mediumDate",qv=new I(""),Wv=new I(""),QS=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??YS,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Uv(n,s,i||this.locale,a)}catch(s){throw Of(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ie(Yr,16),ie(qv,24),ie(Wv,24))};static \u0275pipe=si({name:"date",type:e,pure:!0})}return e})();var KS=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!JS(n))return null;o||=this._locale;try{let i=XS(n);return zv(i,o,r)}catch(i){throw Of(e,i.message)}}static \u0275fac=function(r){return new(r||e)(ie(Yr,16))};static \u0275pipe=si({name:"number",type:e,pure:!0})}return e})();function JS(e){return!(e==null||e===""||e!==e)}function XS(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new m(2309,!1);return e}var Zv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=mn({type:e});static \u0275inj=Lt({})}return e})();function mi(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var rr=class{};var kf="browser";function FH(e){return e===kf}var Yv=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new Pf(p(Z),window)})}return e})(),Pf=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(F(y({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=eM(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(Ft(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F(y({},n),{left:o-s[0],top:i-s[1]}))}};function eM(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;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(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var sc=new I(""),Vf=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(C(sc),C(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),yi=class{_doc;constructor(t){this._doc=t}manager},Ff="ng-app-id";function Qv(e){for(let t of e)t.remove()}function Kv(e,t){let n=t.createElement("style");return n.textContent=e,n}function tM(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Ff}="${t}"],link[${Ff}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Ff),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function jf(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Uf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,tM(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Kv);r?.forEach(o=>this.addUsage(o,this.external,jf))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Qv(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Qv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Kv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,jf(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(Z),C(ba),C(_a,8),C(qr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Lf={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"},$f=/%COMP%/g;var Xv="%COMP%",nM=`_nghost-${Xv}`,rM=`_ngcontent-${Xv}`,oM=!0,iM=new I("",{providedIn:"root",factory:()=>oM});function sM(e){return rM.replace($f,e)}function aM(e){return nM.replace($f,e)}function eD(e,t){return t.map(n=>n.replace($f,e))}var Hf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new vi(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof ic?o.applyToHost(n):o instanceof Di&&o.applyStyles(),o}getOrCreateRenderer(n,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 Bt.Emulated:i=new ic(c,u,r,this.appId,l,s,a,d,h);break;case Bt.ShadowDom:return new Bf(c,u,n,r,s,a,this.nonce,d,h);default:i=new Di(c,u,r,l,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(C(Vf),C(Uf),C(ba),C(iM),C(Z),C(qr),C(Q),C(_a),C(yn,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),vi=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Lf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Jv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Jv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Lf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Lf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(St.DashCase|St.Important)?t.style.setProperty(n,r,o&St.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&St.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Gt().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Jv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Bf=class extends vi{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=eD(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=jf(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Di=class extends vi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?eD(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&ei.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ic=class extends Di{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=sM(l),this.hostAttr=aM(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var ac=class e extends li{supportsDOMEvents=!0;static makeCurrent(){If(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=cM();return n==null?null:uM(n)}resetBaseElement(){Ei=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return mi(document.cookie,t)}},Ei=null;function cM(){return Ei=Ei||document.head.querySelector("base"),Ei?Ei.getAttribute("href"):null}function uM(e){return new URL(e,document.baseURI).pathname}var lM=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),nD=(()=>{class e extends yi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),tD=["alt","control","meta","shift"],dM={"\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"},fM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},rD=(()=>{class e extends yi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gt().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.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."),tD.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=dM[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),tD.forEach(s=>{if(s!==o){let a=fM[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function hM(e,t,n){let r=y({rootComponent:e,platformRef:n?.platformRef},pM(t));return Dv(r)}function pM(e){return{appProviders:[...DM,...e?.providers??[]],platformProviders:vM}}function gM(){ac.makeCurrent()}function mM(){return new Be}function yM(){return ud(document),document}var vM=[{provide:qr,useValue:kf},{provide:Ta,useValue:gM,multi:!0},{provide:Z,useFactory:yM}];var DM=[{provide:Ao,useValue:"root"},{provide:Be,useFactory:mM},{provide:sc,useClass:nD,multi:!0,deps:[Z]},{provide:sc,useClass:rD,multi:!0,deps:[Z]},Hf,Uf,Vf,{provide:Xn,useExisting:Hf},{provide:rr,useClass:lM},[]];var Xr=class{},Ii=class{},In=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
5
+ `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var uc=class{encodeKey(t){return oD(t)}encodeValue(t){return oD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function EM(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var IM=/%(\d[a-f0-9])/gi,wM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function oD(e){return encodeURIComponent(e).replace(IM,(t,n)=>wM[n]??t)}function cc(e){return`${e}`}var Zt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new uc,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=EM(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(cc):[cc(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(cc(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(cc(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var lc=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function CM(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function iD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function sD(e){return typeof Blob<"u"&&e instanceof Blob}function aD(e){return typeof FormData<"u"&&e instanceof FormData}function bM(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var cD="Content-Type",uD="Accept",lD="X-Request-URL",dD="text/plain",fD="application/json",TM=`${fD}, ${dD}, */*`,Kr=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(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(CM(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 m(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 In,this.context??=new lc,!this.params)this.params=new Zt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||iD(this.body)||sD(this.body)||aD(this.body)||bM(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||aD(this.body)?null:sD(this.body)?this.body.type||null:iD(this.body)?null:typeof this.body=="string"?dD:this.body instanceof Zt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?fD:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,h=t.integrity||this.integrity,f=t.transferCache??this.transferCache,g=t.timeout??this.timeout,E=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,v=t.reportProgress??this.reportProgress,L=t.headers||this.headers,Ne=t.params||this.params,ne=t.context??this.context;return t.setHeaders!==void 0&&(L=Object.keys(t.setHeaders).reduce((ft,Tn)=>ft.set(Tn,t.setHeaders[Tn]),L)),t.setParams&&(Ne=Object.keys(t.setParams).reduce((ft,Tn)=>ft.set(Tn,t.setParams[Tn]),Ne)),new e(n,r,E,{params:Ne,headers:L,context:ne,reportProgress:v,responseType:o,withCredentials:D,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:u,credentials:l,referrer:d,integrity:h})}},or=(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})(or||{}),eo=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new In,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},dc=class e extends eo{constructor(t={}){super(t)}type=or.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},wi=class e extends eo{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=or.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Jr=class extends eo{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},_M=200,SM=204;function zf(e,t){return{body:t,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 hD=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Kr)i=n;else{let c;o.headers instanceof In?c=o.headers:c=new In(o.headers);let u;o.params&&(o.params instanceof Zt?u=o.params:u=new Zt({fromObject:o.params})),i=new Kr(n,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=_(i).pipe(gt(c=>this.handler.handle(c)));if(n instanceof Kr||o.observe==="events")return s;let a=s.pipe(ae(c=>c instanceof wi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(x(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));case"json":default:return a.pipe(x(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Zt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,zf(o,r))}post(n,r,o={}){return this.request("POST",n,zf(o,r))}put(n,r,o={}){return this.request("PUT",n,zf(o,r))}static \u0275fac=function(r){return new(r||e)(C(Xr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var MM=new I("");function NM(e,t){return t(e)}function RM(e,t,n){return(r,o)=>pe(n,()=>t(r,i=>e(i,o)))}var pD=new I(""),gD=new I(""),mD=new I("",{providedIn:"root",factory:()=>!0});var fc=(()=>{class e extends Xr{backend;injector;chain=null;pendingTasks=p(Vo);contributeToStability=p(mD);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(pD),...this.injector.get(gD,[])]));this.chain=r.reduceRight((o,i)=>RM(o,i,this.injector),NM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Rn(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(C(Ii),C(te))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var AM=/^\)\]\}',?\n/,xM=RegExp(`^${lD}:`,"m");function OM(e){return"responseURL"in e&&e.responseURL?e.responseURL:xM.test(e.getAllResponseHeaders())?e.getResponseHeader(lD):null}var Gf=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return _(null).pipe(fe(()=>new k(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((D,v)=>s.setRequestHeader(D,v.join(","))),n.headers.has(uD)||s.setRequestHeader(uD,TM),!n.headers.has(cD)){let D=n.detectContentTypeHeader();D!==null&&s.setRequestHeader(cD,D)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let D=n.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let D=s.statusText||"OK",v=new In(s.getAllResponseHeaders()),L=OM(s)||n.url;return c=new dc({headers:v,status:s.status,statusText:D,url:L}),c},l=()=>{let{headers:D,status:v,statusText:L,url:Ne}=u(),ne=null;v!==SM&&(ne=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=ne?_M:0);let ft=v>=200&&v<300;if(n.responseType==="json"&&typeof ne=="string"){let Tn=ne;ne=ne.replace(AM,"");try{ne=ne!==""?JSON.parse(ne):null}catch(DE){ne=Tn,ft&&(ft=!1,ne={error:DE,text:ne})}}ft?(i.next(new wi({body:ne,headers:D,status:v,statusText:L,url:Ne||void 0})),i.complete()):i.error(new Jr({error:ne,headers:D,status:v,statusText:L,url:Ne||void 0}))},d=D=>{let{url:v}=u(),L=new Jr({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(L)},h=d;n.timeout&&(h=D=>{let{url:v}=u(),L=new Jr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(L)});let f=!1,g=D=>{f||(i.next(u()),f=!0);let v={type:or.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)},E=D=>{let v={type:or.UploadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),i.next(v)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),i.next({type:or.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(C(rr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),yD=new I(""),PM="XSRF-TOKEN",kM=new I("",{providedIn:"root",factory:()=>PM}),FM="X-XSRF-TOKEN",LM=new I("",{providedIn:"root",factory:()=>FM}),Ci=class{},jM=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=mi(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(C(Z),C(kM))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function BM(e,t){let n=e.url.toLowerCase();if(!p(yD)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(Ci).getToken(),o=p(LM);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function VM(...e){let t=[hD,Gf,fc,{provide:Xr,useExisting:fc},{provide:Ii,useFactory:()=>p(MM,{optional:!0})??p(Gf)},{provide:pD,useValue:BM,multi:!0},{provide:yD,useValue:!0},{provide:Ci,useClass:jM}];for(let n of e)t.push(...n.\u0275providers);return Je(t)}var vD=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var UM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C($M),o},providedIn:"root"})}return e})(),$M=(()=>{class e extends UM{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case it.NONE:return r;case it.HTML:return $t(r,"HTML")?We(r):Ra(this._doc,String(r)).toString();case it.STYLE:return $t(r,"Style")?We(r):r;case it.SCRIPT:if($t(r,"Script"))return We(r);throw new m(5200,!1);case it.URL:return $t(r,"URL")?We(r):Jo(String(r));case it.RESOURCE_URL:if($t(r,"ResourceURL"))return We(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return fd(n)}bypassSecurityTrustStyle(n){return hd(n)}bypassSecurityTrustScript(n){return pd(n)}bypassSecurityTrustUrl(n){return gd(n)}bypassSecurityTrustResourceUrl(n){return md(n)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var P="primary",Fi=Symbol("RouteTitle"),Qf=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function ar(e){return new Qf(e)}function _D(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.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 zM(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Rt(e[n],t[n]))return!1;return!0}function Rt(e,t){let n=e?Kf(e):void 0,r=t?Kf(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!SD(e[o],t[o]))return!1;return!0}function Kf(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function SD(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function MD(e){return e.length>0?e[e.length-1]:null}function Qt(e){return Kc(e)?e:nr(e)?W(Promise.resolve(e)):_(e)}var GM={exact:RD,subset:AD},ND={exact:qM,subset:WM,ignored:()=>!0};function DD(e,t,n){return GM[n.paths](e.root,t.root,n.matrixParams)&&ND[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function qM(e,t){return Rt(e,t)}function RD(e,t,n){if(!ir(e.segments,t.segments)||!gc(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!RD(e.children[r],t.children[r],n))return!1;return!0}function WM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>SD(e[n],t[n]))}function AD(e,t,n){return xD(e,t,t.segments,n)}function xD(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!ir(o,n)||t.hasChildren()||!gc(o,n,r))}else if(e.segments.length===n.length){if(!ir(e.segments,n)||!gc(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!AD(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!ir(e.segments,o)||!gc(e.segments,o,r)||!e.children[P]?!1:xD(e.children[P],t,i,r)}}function gc(e,t,n){return t.every((r,o)=>ND[n](e[o].parameters,r.parameters))}var xt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new j([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ar(this.queryParams),this._queryParamMap}toString(){return QM.serialize(this)}},j=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mc(this)}},wn=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=ar(this.parameters),this._parameterMap}toString(){return PD(this)}};function ZM(e,t){return ir(e,t)&&e.every((n,r)=>Rt(n.parameters,t[r].parameters))}function ir(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function YM(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===P&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==P&&(n=n.concat(t(o,r)))}),n}var cr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new Cn,providedIn:"root"})}return e})(),Cn=class{parse(t){let n=new Xf(t);return new xt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${bi(t.root,!0)}`,r=XM(t.queryParams),o=typeof t.fragment=="string"?`#${KM(t.fragment)}`:"";return`${n}${r}${o}`}},QM=new Cn;function mc(e){return e.segments.map(t=>PD(t)).join("/")}function bi(e,t){if(!e.hasChildren())return mc(e);if(t){let n=e.children[P]?bi(e.children[P],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==P&&r.push(`${o}:${bi(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=YM(e,(r,o)=>o===P?[bi(e.children[P],!1)]:[`${o}:${bi(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[P]!=null?`${mc(e)}/${n[0]}`:`${mc(e)}/(${n.join("//")})`}}function OD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function hc(e){return OD(e).replace(/%3B/gi,";")}function KM(e){return encodeURI(e)}function Jf(e){return OD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yc(e){return decodeURIComponent(e)}function ED(e){return yc(e.replace(/\+/g,"%20"))}function PD(e){return`${Jf(e.path)}${JM(e.parameters)}`}function JM(e){return Object.entries(e).map(([t,n])=>`;${Jf(t)}=${Jf(n)}`).join("")}function XM(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${hc(n)}=${hc(o)}`).join("&"):`${hc(n)}=${hc(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var eN=/^[^\/()?;#]+/;function qf(e){let t=e.match(eN);return t?t[0]:""}var tN=/^[^\/()?;=#]+/;function nN(e){let t=e.match(tN);return t?t[0]:""}var rN=/^[^=?&#]+/;function oN(e){let t=e.match(rN);return t?t[0]:""}var iN=/^[^&#]+/;function sN(e){let t=e.match(iN);return t?t[0]:""}var Xf=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[P]=new j(t,n)),r}parseSegment(){let t=qf(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new wn(yc(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=nN(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=qf(this.remaining);o&&(r=o,this.capture(r))}t[yc(n)]=yc(r)}parseQueryParam(t){let n=oN(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=sN(this.remaining);s&&(r=s,this.capture(r))}let o=ED(n),i=ED(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=qf(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new m(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=P);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[P]:new j([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new m(4011,!1)}};function kD(e){return e.segments.length>0?new j([],{[P]:e}):e}function FD(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=FD(o);if(r===P&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new j(e.segments,t);return aN(n)}function aN(e){if(e.numberOfChildren===1&&e.children[P]){let t=e.children[P];return new j(e.segments.concat(t.segments),t.children)}return e}function so(e){return e instanceof xt}function LD(e,t,n=null,r=null){let o=jD(e);return BD(o,t,n,r)}function jD(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new j(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=kD(r);return t??o}function BD(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Wf(o,o,o,n,r);let i=cN(t);if(i.toRoot())return Wf(o,o,new j([],{}),n,r);let s=uN(i,o,e),a=s.processChildren?_i(s.segmentGroup,s.index,i.commands):UD(s.segmentGroup,s.index,i.commands);return Wf(o,s.segmentGroup,a,n,r)}function vc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Mi(e){return typeof e=="object"&&e!=null&&e.outlets}function Wf(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=VD(e,t,n);let a=kD(FD(s));return new xt(a,i,o)}function VD(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=VD(i,t,n)}),new j(e.segments,r)}var Dc=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&vc(r[0]))throw new m(4003,!1);let o=r.find(Mi);if(o&&o!==MD(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function cN(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Dc(!0,0,e);let t=0,n=!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===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Dc(n,t,r)}var ro=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function uN(e,t,n){if(e.isAbsolute)return new ro(t,!0,0);if(!n)return new ro(t,!1,NaN);if(n.parent===null)return new ro(n,!0,0);let r=vc(e.commands[0])?0:1,o=n.segments.length-1+r;return lN(n,o,e.numberOfDoubleDots)}function lN(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new m(4005,!1);o=r.segments.length}return new ro(r,!1,o-i)}function dN(e){return Mi(e[0])?e[0].outlets:{[P]:e}}function UD(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return _i(e,t,n);let r=fN(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new j(e.segments.slice(0,r.pathIndex),{});return i.children[P]=new j(e.segments.slice(r.pathIndex),e.children),_i(i,0,o)}else return r.match&&o.length===0?new j(e.segments,{}):r.match&&!e.hasChildren()?eh(e,t,n):r.match?_i(e,0,o):eh(e,t,n)}function _i(e,t,n){if(n.length===0)return new j(e.segments,{});{let r=dN(n),o={};if(Object.keys(r).some(i=>i!==P)&&e.children[P]&&e.numberOfChildren===1&&e.children[P].segments.length===0){let i=_i(e.children[P],t,n);return new j(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=UD(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new j(e.segments,o)}}function fN(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(Mi(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!wD(c,u,s))return i;r+=2}else{if(!wD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function eh(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(Mi(i)){let c=hN(i.outlets);return new j(r,c)}if(o===0&&vc(n[0])){let c=e.segments[t];r.push(new wn(c.path,ID(n[0]))),o++;continue}let s=Mi(i)?i.outlets[P]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&vc(a)?(r.push(new wn(s,ID(a))),o+=2):(r.push(new wn(s,{})),o++)}return new j(r,{})}function hN(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=eh(new j([],{}),0,r))}),t}function ID(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function wD(e,t,n){return e==n.path&&Rt(t,n.parameters)}var oo="imperative",de=(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})(de||{}),je=class{id;url;constructor(t,n){this.id=t,this.url=n}},bn=class extends je{type=de.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},dt=class extends je{urlAfterRedirects;type=de.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Me=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(Me||{}),ao=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(ao||{}),At=class extends je{reason;code;type=de.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ot=class extends je{reason;code;type=de.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},co=class extends je{error;target;type=de.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ni=class extends je{urlAfterRedirects;state;type=de.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ec=class extends je{urlAfterRedirects;state;type=de.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ic=class extends je{urlAfterRedirects;state;shouldActivate;type=de.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),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})`}},wc=class extends je{urlAfterRedirects;state;type=de.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cc=class extends je{urlAfterRedirects;state;type=de.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bc=class{route;type=de.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Tc=class{route;type=de.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},_c=class{snapshot;type=de.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sc=class{snapshot;type=de.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mc=class{snapshot;type=de.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Nc=class{snapshot;type=de.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},uo=class{routerEvent;position;anchor;type=de.Scroll;constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Ri=class{},lo=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function pN(e){return!(e instanceof Ri)&&!(e instanceof lo)}function gN(e,t){return e.providers&&!e._injector&&(e._injector=Zr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function lt(e){return e.outlet||P}function mN(e,t){let n=e.filter(r=>lt(r)===t);return n.push(...e.filter(r=>lt(r)!==t)),n}function po(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Rc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return po(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new ur(this.rootInjector)}},ur=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Rc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(C(te))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ac=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=th(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=th(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=nh(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return nh(t,this._root).map(n=>n.value)}};function th(e,t){if(e===t.value)return t;for(let n of t.children){let r=th(e,n);if(r)return r}return null}function nh(e,t){if(e===t.value)return[t];for(let n of t.children){let r=nh(e,n);if(r.length)return r.unshift(t),r}return[]}var Le=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function no(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ai=class extends Ac{snapshot;constructor(t,n){super(t),this.snapshot=n,lh(this,t)}toString(){return this.snapshot.toString()}};function $D(e){let t=yN(e),n=new ge([new wn("",{})]),r=new ge({}),o=new ge({}),i=new ge({}),s=new ge(""),a=new Yt(n,r,i,s,o,P,e,t.root);return a.snapshot=t.root,new Ai(new Le(a,[]),t)}function yN(e){let t={},n={},r={},i=new sr([],t,r,"",n,P,e,null,{});return new xi("",new Le(i,[]))}var Yt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(x(u=>u[Fi]))??_(void 0),this.url=t,this.params=n,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(x(t=>ar(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(t=>ar(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function xc(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:y(y({},t.params),e.params),data:y(y({},t.data),e.data),resolve:y(y(y(y({},e.data),t.data),o?.data),e._resolvedData)}:r={params:y({},e.params),data:y({},e.data),resolve:y(y({},e.data),e._resolvedData??{})},o&&zD(o)&&(r.resolve[Fi]=o.title),r}var sr=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Fi]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,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??=ar(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ar(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},xi=class extends Ac{url;constructor(t,n){super(n),this.url=t,lh(this,n)}toString(){return HD(this._root)}};function lh(e,t){t.value._routerState=e,t.children.forEach(n=>lh(e,n))}function HD(e){let t=e.children.length>0?` { ${e.children.map(HD).join(", ")} } `:"";return`${e.value}${t}`}function Zf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Rt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Rt(t.params,n.params)||e.paramsSubject.next(n.params),zM(t.url,n.url)||e.urlSubject.next(n.url),Rt(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function rh(e,t){let n=Rt(e.params,t.params)&&ZM(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||rh(e.parent,t.parent))}function zD(e){return typeof e.title=="string"||e.title===null}var GD=new I(""),dh=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=P;activateEvents=new _e;deactivateEvents=new _e;attachEvents=new _e;detachEvents=new _e;routerOutletData=vv(void 0);parentContexts=p(ur);location=p(Mt);changeDetector=p(Qr);inputBinder=p(Li,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.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(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new m(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new m(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new oh(n,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=zt({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[zr]})}return e})(),oh=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Yt?this.route:t===ur?this.childContexts:t===GD?this.outletData:this.parent.get(t,n)}},Li=new I(""),fh=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=Eo([r.queryParams,r.params,r.data]).pipe(fe(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?_(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=wv(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),hh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Vd({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&za(0,"router-outlet")},dependencies:[dh],encapsulation:2})}return e})();function ph(e){let t=e.children&&e.children.map(ph),n=t?F(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==P&&(n.component=hh),n}function vN(e,t,n){let r=Oi(e,t._root,n?n._root:void 0);return new Ai(r,t)}function Oi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=DN(e,t,n);return new Le(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Oi(e,a)),s}}let r=EN(t.value),o=t.children.map(i=>Oi(e,i));return new Le(r,o)}}function DN(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Oi(e,r,o);return Oi(e,r)})}function EN(e){return new Yt(new ge(e.url),new ge(e.params),new ge(e.queryParams),new ge(e.fragment),new ge(e.data),e.outlet,e.component,e)}var fo=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},qD="ngNavigationCancelingError";function Oc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=so(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=WD(!1,Me.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function WD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[qD]=!0,n.cancellationCode=t,n}function IN(e){return ZD(e)&&so(e.url)}function ZD(e){return!!e&&e[qD]}var wN=(e,t,n,r)=>x(o=>(new ih(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),ih=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Zf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=no(n);t.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(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=no(t);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(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=no(t);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(t,n,r){let o=no(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Nc(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Sc(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Zf(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,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),Zf(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Pc=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},io=class{component;route;constructor(t,n){this.component=t,this.route=n}};function CN(e,t,n){let r=e._root,o=t?t._root:null;return Ti(r,o,n,[r.value])}function bN(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function go(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!wu(e)?e:t.get(e):r}function Ti(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=no(t);return e.children.forEach(s=>{TN(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Si(a,n.getContext(s),o)),o}function TN(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=_N(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Pc(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ti(e,t,a?a.children:null,r,o):Ti(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new io(a.outlet.component,s))}else s&&Si(t,a,o),o.canActivateChecks.push(new Pc(r)),i.component?Ti(e,null,a?a.children:null,r,o):Ti(e,null,n,r,o);return o}function _N(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!ir(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ir(e.url,t.url)||!Rt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rh(e,t)||!Rt(e.queryParams,t.queryParams);case"paramsChange":default:return!rh(e,t)}}function Si(e,t,n){let r=no(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Si(s,t.children.getContext(i),n):Si(s,null,n):Si(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new io(t.outlet.component,o)):n.canDeactivateChecks.push(new io(null,o)):n.canDeactivateChecks.push(new io(null,o))}function ji(e){return typeof e=="function"}function SN(e){return typeof e=="boolean"}function MN(e){return e&&ji(e.canLoad)}function NN(e){return e&&ji(e.canActivate)}function RN(e){return e&&ji(e.canActivateChild)}function AN(e){return e&&ji(e.canDeactivate)}function xN(e){return e&&ji(e.canMatch)}function YD(e){return e instanceof Pe||e?.name==="EmptyError"}var pc=Symbol("INITIAL_VALUE");function ho(){return fe(e=>Eo(e.map(t=>t.pipe(mt(1),hs(pc)))).pipe(x(t=>{for(let n of t)if(n!==!0){if(n===pc)return pc;if(n===!1||ON(n))return n}return!0}),ae(t=>t!==pc),mt(1)))}function ON(e){return so(e)||e instanceof fo}function PN(e,t){return Y(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?_(F(y({},n),{guardsResult:!0})):kN(s,r,o,e).pipe(Y(a=>a&&SN(a)?FN(r,i,e,t):_(a)),x(a=>F(y({},n),{guardsResult:a})))})}function kN(e,t,n,r){return W(e).pipe(Y(o=>UN(o.component,o.route,n,t,r)),yt(o=>o!==!0,!0))}function FN(e,t,n,r){return W(t).pipe(gt(o=>Cr(jN(o.route.parent,r),LN(o.route,r),VN(e,o.path,n),BN(e,o.route,n))),yt(o=>o!==!0,!0))}function LN(e,t){return e!==null&&t&&t(new Mc(e)),_(!0)}function jN(e,t){return e!==null&&t&&t(new _c(e)),_(!0)}function BN(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return _(!0);let o=r.map(i=>Io(()=>{let s=po(t)??n,a=go(i,s),c=NN(a)?a.canActivate(t,e):pe(s,()=>a(t,e));return Qt(c).pipe(yt())}));return _(o).pipe(ho())}function VN(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>bN(s)).filter(s=>s!==null).map(s=>Io(()=>{let a=s.guards.map(c=>{let u=po(s.node)??n,l=go(c,u),d=RN(l)?l.canActivateChild(r,e):pe(u,()=>l(r,e));return Qt(d).pipe(yt())});return _(a).pipe(ho())}));return _(i).pipe(ho())}function UN(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return _(!0);let s=i.map(a=>{let c=po(t)??o,u=go(a,c),l=AN(u)?u.canDeactivate(e,t,n,r):pe(c,()=>u(e,t,n,r));return Qt(l).pipe(yt())});return _(s).pipe(ho())}function $N(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return _(!0);let i=o.map(s=>{let a=go(s,e),c=MN(a)?a.canLoad(t,n):pe(e,()=>a(t,n));return Qt(c)});return _(i).pipe(ho(),QD(r))}function QD(e){return qc(he(t=>{if(typeof t!="boolean")throw Oc(e,t)}),x(t=>t===!0))}function HN(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return _(!0);let i=o.map(s=>{let a=go(s,e),c=xN(a)?a.canMatch(t,n):pe(e,()=>a(t,n));return Qt(c)});return _(i).pipe(ho(),QD(r))}var Pi=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},ki=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function to(e){return Ir(new Pi(e))}function zN(e){return Ir(new m(4e3,!1))}function GN(e){return Ir(WD(!1,Me.GuardRejected))}var sh=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return _(r);if(o.numberOfChildren>1||!o.children[P])return zN(`${t.redirectTo}`);o=o.children[P]}}applyRedirectCommands(t,n,r,o,i){return qN(n,o,i).pipe(x(s=>{if(s instanceof xt)throw new ki(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new ki(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new xt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new j(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new m(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function qN(e,t,n){if(typeof e=="string")return _(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d}=t;return Qt(pe(n,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var ah={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function WN(e,t,n,r,o){let i=KD(e,t,n);return i.matched?(r=gN(t,r),HN(r,t,n,o).pipe(x(s=>s===!0?i:y({},ah)))):_(i)}function KD(e,t,n){if(t.path==="**")return ZN(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},ah):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||_D)(n,e,t);if(!o)return y({},ah);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?y(y({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ZN(e){return{matched:!0,parameters:e.length>0?MD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function CD(e,t,n,r){return n.length>0&&KN(e,n,r)?{segmentGroup:new j(t,QN(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&JN(e,n,r)?{segmentGroup:new j(e.segments,YN(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function YN(e,t,n,r){let o={};for(let i of n)if(Fc(e,t,i)&&!r[lt(i)]){let s=new j([],{});o[lt(i)]=s}return y(y({},r),o)}function QN(e,t){let n={};n[P]=t;for(let r of e)if(r.path===""&&lt(r)!==P){let o=new j([],{});n[lt(r)]=o}return n}function KN(e,t,n){return n.some(r=>Fc(e,t,r)&&lt(r)!==P)}function JN(e,t,n){return n.some(r=>Fc(e,t,r))}function Fc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function XN(e,t,n){return t.length===0&&!e.children[n]}var ch=class{};function eR(e,t,n,r,o,i,s="emptyOnly"){return new uh(e,t,n,r,o,s,i).recognize()}var tR=31,uh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new sh(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){let t=CD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(({children:n,rootSnapshot:r})=>{let o=new Le(r,n),i=new xi("",o),s=LD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new sr([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),P,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,P,n).pipe(x(r=>({children:r,rootSnapshot:n})),pt(r=>{if(r instanceof ki)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Pi?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(x(s=>s instanceof Le?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return W(i).pipe(gt(s=>{let a=r.children[s],c=mN(n,s);return this.processSegmentGroup(t,c,a,s,o)}),eu((s,a)=>(s.push(...a),s)),Xt(null),Xc(),Y(s=>{if(s===null)return to(r);let a=JD(s);return nR(a),_(a)}))}processSegment(t,n,r,o,i,s,a){return W(n).pipe(gt(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(pt(u=>{if(u instanceof Pi)return _(null);throw u}))),yt(c=>!!c),pt(c=>{if(YD(c))return XN(r,o,i)?_(new ch):to(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return lt(r)!==s&&(s===P||!Fc(o,i,r))?to(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):to(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=KD(n,o,i);if(!c)return to(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>tR&&(this.allowRedirects=!1));let f=new sr(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,bD(o),lt(o),o.component??o._loadedComponent??null,o,TD(o)),g=xc(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,t).pipe(fe(D=>this.applyRedirects.lineralizeSegments(o,D)),Y(D=>this.processSegment(t,r,n,D.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=WN(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(fe(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(fe(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new sr(h,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,bD(r),lt(r),r.component??r._loadedComponent??null,r,TD(r)),E=xc(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:D,slicedSegments:v}=CD(n,h,f,u);if(v.length===0&&D.hasChildren())return this.processChildren(l,u,D,g).pipe(x(Ne=>new Le(g,Ne)));if(u.length===0&&v.length===0)return _(new Le(g,[]));let L=lt(r)===i;return this.processSegment(l,u,D,v,L?P:i,!0,g).pipe(x(Ne=>new Le(g,Ne instanceof Le?[Ne]:[])))}))):to(n)))}getChildConfig(t,n,r){return n.children?_({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?_({routes:n._loadedRoutes,injector:n._loadedInjector}):$N(t,n,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(t,n).pipe(he(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):GN(n))):_({routes:[],injector:t})}};function nR(e){e.sort((t,n)=>t.value.outlet===P?-1:n.value.outlet===P?1:t.value.outlet.localeCompare(n.value.outlet))}function rR(e){let t=e.value.routeConfig;return t&&t.path===""}function JD(e){let t=[],n=new Set;for(let r of e){if(!rR(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=JD(r.children);t.push(new Le(r.value,o))}return t.filter(r=>!n.has(r))}function bD(e){return e.data||{}}function TD(e){return e.resolve||{}}function oR(e,t,n,r,o,i){return Y(s=>eR(e,t,n,r,s.extractedUrl,o,i).pipe(x(({state:a,tree:c})=>F(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function iR(e,t){return Y(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return _(n);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 XD(c))s.add(u);let a=0;return W(s).pipe(gt(c=>i.has(c)?sR(c,r,e,t):(c.data=xc(c,c.parent,e).resolve,_(void 0))),he(()=>a++),br(1),Y(c=>a===s.size?_(n):ye))})}function XD(e){let t=e.children.map(n=>XD(n)).flat();return[e,...t]}function sR(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!zD(o)&&(i[Fi]=o.title),Io(()=>(e.data=xc(e,e.parent,n).resolve,aR(i,e,t,r).pipe(x(s=>(e._resolvedData=s,e.data=y(y({},e.data),s),null)))))}function aR(e,t,n,r){let o=Kf(e);if(o.length===0)return _({});let i={};return W(o).pipe(Y(s=>cR(e[s],t,n,r).pipe(yt(),he(a=>{if(a instanceof fo)throw Oc(new Cn,a);i[s]=a}))),br(1),x(()=>i),pt(s=>YD(s)?ye:Ir(s)))}function cR(e,t,n,r){let o=po(t)??r,i=go(e,o),s=i.resolve?i.resolve(t,n):pe(o,()=>i(t,n));return Qt(s)}function Yf(e){return fe(t=>{let n=e(t);return n?W(n).pipe(x(()=>t)):_(t)})}var gh=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===P);return r}getResolvedTitleForRoute(n){return n.data[Fi]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(eE),providedIn:"root"})}return e})(),eE=(()=>{class e extends gh{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(C(vD))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lr=new I("",{providedIn:"root",factory:()=>({})}),dr=new I(""),Lc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(cf);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return _(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Qt(pe(n,()=>r.loadComponent())).pipe(x(nE),fe(rE),he(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Rn(()=>{this.componentLoaders.delete(r)})),i=new Dr(o,()=>new J).pipe(vr());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return _({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=tE(r,this.compiler,n,this.onLoadEndListener).pipe(Rn(()=>{this.childrenLoaders.delete(r)})),s=new Dr(i,()=>new J).pipe(vr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tE(e,t,n,r){return Qt(pe(n,()=>e.loadChildren())).pipe(x(nE),fe(rE),Y(o=>o instanceof ja||Array.isArray(o)?_(o):W(t.compileModuleAsync(o))),x(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(dr,[],{optional:!0,self:!0}).flat()),{routes:s.map(ph),injector:i}}))}function uR(e){return e&&typeof e=="object"&&"default"in e}function nE(e){return uR(e)?e.default:e}function rE(e){return _(e)}var jc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(lR),providedIn:"root"})}return e})(),lR=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mh=new I(""),yh=new I("");function oE(e,t,n){let r=e.get(yh),o=e.get(Z);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(),dR(e)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&pe(e,()=>c({transition:a,from:t,to:n})),s}function dR(e){return new Promise(t=>{Gd({read:()=>setTimeout(t)},{injector:e})})}var vh=new I(""),Bc=(()=>{class e{currentNavigation=Zn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new J;transitionAbortWithErrorSubject=new J;configLoader=p(Lc);environmentInjector=p(te);destroyRef=p(qe);urlSerializer=p(cr);rootContexts=p(ur);location=p(En);inputBindingEnabled=p(Li,{optional:!0})!==null;titleStrategy=p(gh);options=p(lr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(jc);createViewTransition=p(mh,{optional:!0});navigationErrorHandler=p(vh,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>_(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new bc(o)),r=o=>this.events.next(new Tc(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;at(()=>{this.transitions?.next(F(y({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new ge(null),this.transitions.pipe(ae(r=>r!==null),fe(r=>{let o=!1;return _(r).pipe(fe(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Me.SupersededByNewNavigation),ye;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?F(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new Ot(i.id,this.urlSerializer.serialize(i.rawUrl),"",ao.IgnoredSameUrlNavigation)),i.resolve(!1),ye;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return _(i).pipe(fe(c=>(this.events.next(new bn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?ye:Promise.resolve(c))),oR(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),he(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=c.urlAfterRedirects,l));let u=new Ni(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 bn(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let g=$D(this.rootComponentType).snapshot;return this.currentTransition=r=F(y({},i),{targetSnapshot:g,urlAfterRedirects:u,extras:F(y({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(E=>(E.finalUrl=u,E)),_(r)}else return this.events.next(new Ot(i.id,this.urlSerializer.serialize(i.extractedUrl),"",ao.IgnoredByUrlHandlingStrategy)),i.resolve(!1),ye}),he(i=>{let s=new Ec(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),x(i=>(this.currentTransition=r=F(y({},i),{guards:CN(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),PN(this.environmentInjector,i=>this.events.next(i)),he(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw Oc(this.urlSerializer,i.guardsResult);let s=new Ic(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),ae(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",Me.GuardRejected),!1)),Yf(i=>{if(i.guards.canActivateChecks.length!==0)return _(i).pipe(he(s=>{let a=new wc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),fe(s=>{let a=!1;return _(s).pipe(iR(this.paramsInheritanceStrategy,this.environmentInjector),he({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Me.NoDataFromResolver)}}))}),he(s=>{let a=new Cc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Yf(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=po(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(he(l=>{a.component=l}),x(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return Eo(s(i.targetSnapshot.root)).pipe(Xt(null),mt(1))}),Yf(()=>this.afterPreactivation()),fe(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?W(a).pipe(x(()=>r)):_(r)}),x(i=>{let s=vN(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=F(y({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),he(()=>{this.events.next(new Ri)}),wN(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),mt(1),ps(new k(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ae(()=>!o&&!r.targetRouterState),he(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Me.Aborted)}))),he({next:i=>{o=!0,this.lastSuccessfulNavigation=at(this.currentNavigation),this.events.next(new dt(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),ps(this.transitionAbortWithErrorSubject.pipe(he(i=>{throw i}))),Rn(()=>{o||this.cancelNavigationTransition(r,"",Me.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),pt(i=>{if(this.destroyed)return r.resolve(!1),ye;if(o=!0,ZD(i))this.events.next(new At(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),IN(i)?this.events.next(new lo(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new co(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=pe(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof fo){let{message:c,cancellationCode:u}=Oc(this.urlSerializer,a);this.events.next(new At(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new lo(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return ye}))}))}cancelNavigationTransition(n,r,o){let i=new At(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=at(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fR(e){return e!==oo}var iE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(hR),providedIn:"root"})}return e})(),kc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},hR=(()=>{class e extends kc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=wa(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sE=(()=>{class e{urlSerializer=p(cr);options=p(lr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(En);urlHandlingStrategy=p(jc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new xt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof xt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=$D(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:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(pR),providedIn:"root"})}return e})(),pR=(()=>{class e extends sE{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof bn?this.updateStateMemento():n instanceof Ot?this.commitTransition(r):n instanceof Ni?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Ri?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof At&&n.code!==Me.SupersededByNewNavigation&&n.code!==Me.Redirect?this.restoreHistory(r):n instanceof co?this.restoreHistory(r,!0):n instanceof dt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=y(y({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=y(y({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=wa(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vc(e,t){e.events.pipe(ae(n=>n instanceof dt||n instanceof At||n instanceof co||n instanceof Ot),x(n=>n instanceof dt||n instanceof Ot?0:(n instanceof At?n.code===Me.Redirect||n.code===Me.SupersededByNewNavigation:!1)?2:1),ae(n=>n!==2),mt(1)).subscribe(()=>{t()})}var gR={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mR={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Kt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Ua);stateManager=p(sE);options=p(lr,{optional:!0})||{};pendingTasks=p(Tt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Bc);urlSerializer=p(cr);location=p(En);urlHandlingStrategy=p(jc);injector=p(te);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(iE);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(dr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Li,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new K;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=at(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof At&&r.code!==Me.Redirect&&r.code!==Me.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof dt)this.navigated=!0;else if(r instanceof lo){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||fR(o.source)},s);this.scheduleNavigation(a,oo,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}pN(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),oo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=y({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Te)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return at(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ph),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(n,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=y(y({},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=jD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return BD(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=so(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,oo,null,r)}navigate(n,r={skipLocationChange:!1}){return yR(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},gR):r===!1?o=y({},mR):o=r,so(n))return DD(this.currentUrlTree,n,o);let i=this.parseUrl(n);return DD(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,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 Vc(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,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=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yR(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var Bi=class{};var aE=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i){this.router=n,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(ae(n=>n instanceof dt),gt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=Zr(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,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 W(o).pipe(Jt())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=_(null);let i=o.pipe(Y(s=>s===null?_(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(n,r);return W([i,s]).pipe(Jt())}else return i})}static \u0275fac=function(r){return new(r||e)(C(Kt),C(te),C(Bi),C(Lc))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cE=new I(""),vR=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=oo;restoredId=0;store={};constructor(n,r,o,i,s={}){this.urlSerializer=n,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(n=>{n instanceof bn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof dt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Ot&&n.code===ao.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof uo&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>fr(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new uo(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Ad()};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function DR(e,...t){return Je([{provide:dr,multi:!0,useValue:e},[],{provide:Yt,useFactory:uE,deps:[Kt]},{provide:ai,multi:!0,useFactory:lE},t.map(n=>n.\u0275providers)])}function uE(e){return e.routerState.root}function Vi(e,t){return{\u0275kind:e,\u0275providers:t}}function lE(){let e=p(me);return t=>{let n=e.get(vn);if(t!==n.components[0])return;let r=e.get(Kt),o=e.get(dE);e.get(Eh)===1&&r.initialNavigation(),e.get(pE,null,{optional:!0})?.setUpPreloading(),e.get(cE,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var dE=new I("",{factory:()=>new J}),Eh=new I("",{providedIn:"root",factory:()=>1});function fE(){let e=[{provide:Sa,useValue:!0},{provide:Eh,useValue:0},Ha(()=>{let t=p(me);return t.get(wf,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(Kt),i=t.get(dE);Vc(o,()=>{r(!0)}),t.get(Bc).afterPreactivation=()=>(r(!0),i.closed?_(void 0):i),o.initialNavigation()}))})];return Vi(2,e)}function hE(){let e=[Ha(()=>{p(Kt).setUpLocationChangeListener()}),{provide:Eh,useValue:2}];return Vi(3,e)}var pE=new I("");function gE(e){return Vi(0,[{provide:pE,useExisting:aE},{provide:Bi,useExisting:e}])}function mE(){return Vi(8,[fh,{provide:Li,useExisting:fh}])}function yE(e){st("NgRouterViewTransitions");let t=[{provide:mh,useValue:oE},{provide:yh,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return Vi(9,t)}var vE=[En,{provide:cr,useClass:Cn},Kt,ur,{provide:Yt,useFactory:uE,deps:[Kt]},Lc,[]],ER=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[vE,[],{provide:dr,multi:!0,useValue:n},[],r?.errorHandler?{provide:vh,useValue:r.errorHandler}:[],{provide:lr,useValue:r||{}},r?.useHash?wR():CR(),IR(),r?.preloadingStrategy?gE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?bR(r):[],r?.bindToComponentInputs?mE().\u0275providers:[],r?.enableViewTransitions?yE().\u0275providers:[],TR()]}}static forChild(n){return{ngModule:e,providers:[{provide:dr,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mn({type:e});static \u0275inj=Lt({})}return e})();function IR(){return{provide:cE,useFactory:()=>{let e=p(Yv),t=p(Q),n=p(lr),r=p(Bc),o=p(cr);return n.scrollOffset&&e.setOffset(n.scrollOffset),new vR(o,r,e,t,n)}}}function wR(){return{provide:qt,useClass:Af}}function CR(){return{provide:qt,useClass:Ya}}function bR(e){return[e.initialNavigation==="disabled"?hE().\u0275providers:[],e.initialNavigation==="enabledBlocking"?fE().\u0275providers:[]]}var Dh=new I("");function TR(){return[{provide:Dh,useFactory:lE},{provide:ai,multi:!0,useExisting:Dh}]}export{y as a,F as b,CE as c,fr as d,K as e,k as f,J as g,ge as h,ye as i,W as j,_ as k,Ir as l,FE as m,LE as n,x as o,Eo as p,Cr as q,Io as r,qE as s,Jc as t,XE as u,ae as v,eI as w,pt as x,Jh as y,mt as z,tI as A,Xh as B,Rn as C,yt as D,oI as E,nu as F,ep as G,iI as H,hs as I,fe as J,ps as K,sI as L,he as M,m as N,Ns as O,w as P,Lt as Q,I as R,C as S,p as T,Je as U,Tp as V,te as W,Bp as X,Vp as Y,Xp as Z,eg as _,me as $,Z as aa,qe as ba,Be as ca,BI as da,sl as ea,Zn as fa,zr as ga,wa as ha,Ut as ia,aa as ja,ba as ka,qr as la,yw as ma,_a as na,it as oa,Uw as pa,$w as qa,Ww as ra,pC as sa,pn as ta,Xn as ua,ii as va,ie as wa,Mt as xa,st as ya,er as za,Vd as Aa,mn as Ba,zt as Ca,si as Da,Iy as Ea,iT as Fa,by as Ga,_e as Ha,Q as Ia,Gd as Ja,nr as Ka,Wd as La,vn as Ma,Yd as Na,ET as Oa,wT as Pa,CT as Qa,bT as Ra,TT as Sa,_T as Ta,ST as Ua,Ry as Va,Kd as Wa,Jd as Xa,za as Ya,Xd as Za,ef as _a,Ay as $a,Oy as ab,xT as bb,Py as cb,rf as db,Fy as eb,LT as fb,BT as gb,VT as hb,jy as ib,$T as jb,By as kb,Vy as lb,HT as mb,zT as nb,GT as ob,qT as pb,Hy as qb,zy as rb,r_ as sb,p_ as tb,Ky as ub,of as vb,Jy as wb,ev as xb,y_ as yb,tv as zb,v_ as Ab,C_ as Bb,b_ as Cb,T_ as Db,__ as Eb,M_ as Fb,R_ as Gb,A_ as Hb,x_ as Ib,O_ as Jb,k_ as Kb,at as Lb,j_ as Mb,B_ as Nb,hf as Ob,w$ as Pb,C$ as Qb,Qr as Rb,Ev as Sb,vS as Tb,b$ as Ub,T$ as Vb,Gt as Wb,En as Xb,HS as Yb,Gv as Zb,zS as _b,GS as $b,ZS as ac,QS as bc,KS as cc,Zv as dc,FH as ec,Hf as fc,hM as gc,In as hc,Zt as ic,lc as jc,hD as kc,VM as lc,UM as mc,Yt as nc,dh as oc,Kt as pc,DR as qc,ER as rc};