@whoz-oss/coday-client 0.114.1 → 0.115.2
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.
- package/browser/chunk-2DVVHRX4.js +1 -0
- package/browser/chunk-2NHY3763.js +1 -0
- package/browser/{chunk-7V75AFNU.js → chunk-3QJA3PD3.js} +1 -1
- package/browser/chunk-4NNLWDVJ.js +10 -0
- package/browser/chunk-4SMKZ2HA.js +1 -0
- package/browser/{chunk-Q6VCYSB2.js → chunk-4TOD23CW.js} +1 -1
- package/browser/{chunk-QK4YUPJ4.js → chunk-55ETGHKC.js} +1 -1
- package/browser/chunk-5JA4YMVL.js +1 -0
- package/browser/{chunk-P25I3C22.js → chunk-5MXEOOQM.js} +1 -1
- package/browser/{chunk-HX6IQXOO.js → chunk-6LHAGXIC.js} +1 -1
- package/browser/{chunk-OX6WF3Z4.js → chunk-6WUBJOTP.js} +1 -1
- package/browser/chunk-6XQBGSR4.js +1 -0
- package/browser/chunk-AE24ERN3.js +1 -0
- package/browser/{chunk-DSEAUPTG.js → chunk-AE2AQO4B.js} +1 -1
- package/browser/chunk-AWTXRCO7.js +1 -0
- package/browser/chunk-B2QVH3K3.js +1 -0
- package/browser/chunk-FMBLR6NH.js +1 -0
- package/browser/chunk-FZVCANBC.js +1 -0
- package/browser/chunk-H5JAF7XP.js +1 -0
- package/browser/{chunk-227SHMWS.js → chunk-H72Z2LX3.js} +1 -1
- package/browser/chunk-HGEXTRZ7.js +1 -0
- package/browser/{chunk-FL6JPD3W.js → chunk-JCQFYRAF.js} +1 -1
- package/browser/chunk-MN73E3JO.js +1 -0
- package/browser/{chunk-H34KEEJ5.js → chunk-NSSFL3WG.js} +1 -1
- package/browser/{chunk-TIR2HD4O.js → chunk-ORNGVCRW.js} +1 -1
- package/browser/{chunk-2M2BOWAG.js → chunk-OUZFS4TC.js} +1 -1
- package/browser/chunk-SPAN622B.js +1 -0
- package/browser/chunk-TRUXCA4C.js +5 -0
- package/browser/{chunk-OFSMISUU.js → chunk-VVZKXHDD.js} +1 -1
- package/browser/{chunk-KTV6E2MT.js → chunk-WZJ3UIRS.js} +1 -1
- package/browser/{chunk-YF5TCNFL.js → chunk-X6TFXJKZ.js} +1 -1
- package/browser/{chunk-OEWE7VBT.js → chunk-YKARRAPE.js} +1 -1
- package/browser/{chunk-DOKGAGLU.js → chunk-YRNTZU7L.js} +1 -1
- package/browser/{chunk-OIIJPQ2M.js → chunk-ZP4X376S.js} +3 -3
- package/browser/index.html +1 -1
- package/browser/{main-D75VEKMS.js → main-C4MZGYXT.js} +25 -25
- package/package.json +1 -1
- package/browser/chunk-6JCVDUKO.js +0 -10
- package/browser/chunk-APZFPOUA.js +0 -1
- package/browser/chunk-ASYMPPFD.js +0 -1
- package/browser/chunk-DIARVKX4.js +0 -1
- package/browser/chunk-OTLZ4X7Y.js +0 -1
- package/browser/chunk-PC73MTF7.js +0 -1
- package/browser/chunk-PO4TEPXT.js +0 -1
- package/browser/chunk-RS3TLRZ3.js +0 -1
- package/browser/chunk-SLXXGWVF.js +0 -1
- package/browser/chunk-SNDFCTPS.js +0 -1
- package/browser/chunk-TN2PAWIS.js +0 -5
- package/browser/chunk-UVKQUFKA.js +0 -1
- package/browser/chunk-XKPYE4VF.js +0 -1
- package/browser/chunk-ZYBKXGLA.js +0 -1
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var fE=Object.defineProperty,hE=Object.defineProperties;var pE=Object.getOwnPropertyDescriptors;var Oi=Object.getOwnPropertySymbols;var ph=Object.prototype.hasOwnProperty,gh=Object.prototype.propertyIsEnumerable;var hh=(e,t,n)=>t in e?fE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||={})ph.call(t,n)&&hh(e,n,t[n]);if(Oi)for(var n of Oi(t))gh.call(t,n)&&hh(e,n,t[n]);return e},F=(e,t)=>hE(e,pE(t));var gE=(e,t)=>{var n={};for(var r in e)ph.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Oi)for(var r of Oi(e))t.indexOf(r)<0&&gh.call(e,r)&&(n[r]=e[r]);return n};var z=(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 R(e){return typeof e=="function"}function dr(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 ki=dr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
-
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function bn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var re=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(R(r))try{r()}catch(i){t=i instanceof ki?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{mh(i)}catch(s){t=t??[],s instanceof ki?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ki(t)}}add(t){var n;if(t&&t!==this)if(this.closed)mh(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)&&bn(n,t)}remove(t){let{_finalizers:n}=this;n&&bn(n,t),t instanceof e&&t._removeParent(this)}};re.EMPTY=(()=>{let e=new re;return e.closed=!0,e})();var Uc=re.EMPTY;function Pi(e){return e instanceof re||e&&"closed"in e&&R(e.remove)&&R(e.add)&&R(e.unsubscribe)}function mh(e){R(e)?e():e.unsubscribe()}var Ke={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var fr={setTimeout(e,t,...n){let{delegate:r}=fr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=fr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Fi(e){fr.setTimeout(()=>{let{onUnhandledError:t}=Ke;if(t)t(e);else throw e})}function co(){}var yh=Vc("C",void 0,void 0);function vh(e){return Vc("E",void 0,e)}function Dh(e){return Vc("N",e,void 0)}function Vc(e,t,n){return{kind:e,value:t,error:n}}var Tn=null;function hr(e){if(Ke.useDeprecatedSynchronousErrorHandling){let t=!Tn;if(t&&(Tn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Tn;if(Tn=null,n)throw r}}else e()}function Eh(e){Ke.useDeprecatedSynchronousErrorHandling&&Tn&&(Tn.errorThrown=!0,Tn.error=e)}var Sn=class extends re{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Pi(t)&&t.add(this)):this.destination=vE}static create(t,n,r){return new Je(t,n,r)}next(t){this.isStopped?$c(Dh(t),this):this._next(t)}error(t){this.isStopped?$c(vh(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$c(yh,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()}}},mE=Function.prototype.bind;function Hc(e,t){return mE.call(e,t)}var zc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Li(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Li(r)}else Li(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Li(n)}}},Je=class extends Sn{constructor(t,n,r){super();let o;if(R(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ke.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 zc(o)}};function Li(e){Ke.useDeprecatedSynchronousErrorHandling?Eh(e):Fi(e)}function yE(e){throw e}function $c(e,t){let{onStoppedNotification:n}=Ke;n&&fr.setTimeout(()=>n(e,t))}var vE={closed:!0,next:co,error:yE,complete:co};var pr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ke(e){return e}function Gc(...e){return Wc(e)}function Wc(e){return e.length===0?ke: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=EE(n)?n:new Je(n,r,o);return hr(()=>{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=Ih(r),new r((o,i)=>{let s=new Je({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)}[pr](){return this}pipe(...n){return Wc(n)(this)}toPromise(n){return n=Ih(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 Ih(e){var t;return(t=e??Ke.Promise)!==null&&t!==void 0?t:Promise}function DE(e){return e&&R(e.next)&&R(e.error)&&R(e.complete)}function EE(e){return e&&e instanceof Sn||DE(e)&&Pi(e)}var Ch=dr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var oe=(()=>{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 ji(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ch}next(n){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){hr(()=>{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(){hr(()=>{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 re(()=>{this.currentObservers=null,bn(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 ji(t,n),e})(),ji=class extends oe{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 oe{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 IE(e){return R(e?.lift)}function A(e){return t=>{if(IE(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 O(e,t,n,r,o){return new qc(e,t,n,r,o)}var qc=class extends Sn{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 B(e,t){return A((n,r)=>{let o=0;n.subscribe(O(r,i=>{r.next(e.call(t,i,o++))}))})}function bh(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 wh(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 _n(e){return this instanceof _n?(this.v=e,this):new _n(e)}function Th(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(C){return new Promise(function(v,I){i.push([f,C,v,I])>1||c(f,C)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(C){h(i[0][3],C)}}function u(f){f.value instanceof _n?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 Sh(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 wh=="function"?wh(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 Bi=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ui(e){return R(e?.then)}function Vi(e){return R(e[pr])}function Hi(e){return Symbol.asyncIterator&&R(e?.[Symbol.asyncIterator])}function $i(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 CE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var zi=CE();function Gi(e){return R(e?.[zi])}function Wi(e){return Th(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield _n(n.read());if(o)return yield _n(void 0);yield yield _n(r)}}finally{n.releaseLock()}})}function qi(e){return R(e?.getReader)}function G(e){if(e instanceof k)return e;if(e!=null){if(Vi(e))return wE(e);if(Bi(e))return bE(e);if(Ui(e))return TE(e);if(Hi(e))return _h(e);if(Gi(e))return SE(e);if(qi(e))return _E(e)}throw $i(e)}function wE(e){return new k(t=>{let n=e[pr]();if(R(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function bE(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function TE(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Fi)})}function SE(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function _h(e){return new k(t=>{ME(e,t).catch(n=>t.error(n))})}function _E(e){return _h(Wi(e))}function ME(e,t){var n,r,o,i;return bh(this,void 0,void 0,function*(){try{for(n=Sh(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 we(e,t){return A((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(O(r,c=>{o?.unsubscribe();let u=0,l=i++;G(e(c,l)).subscribe(o=O(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var uo={now(){return(uo.delegate||Date).now()},delegate:void 0};var lo=class extends oe{constructor(t=1/0,n=1/0,r=uo){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 Zi=class extends re{constructor(t,n){super()}schedule(t,n=0){return this}};var fo={setInterval(e,t,...n){let{delegate:r}=fo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=fo;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Yi=class extends Zi{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 fo.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&&fo.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,bn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var gr=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)}};gr.now=uo.now;var Qi=class extends gr{constructor(t,n=gr.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 ho=new Qi(Yi),Mh=ho;var se=new k(e=>e.complete());function Ki(e){return e&&R(e.schedule)}function Zc(e){return e[e.length-1]}function Ji(e){return R(Zc(e))?e.pop():void 0}function yt(e){return Ki(Zc(e))?e.pop():void 0}function Nh(e,t){return typeof Zc(e)=="number"?e.pop():t}function Ne(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 Xi(e,t=0){return A((n,r)=>{n.subscribe(O(r,o=>Ne(r,e,()=>r.next(o),t),()=>Ne(r,e,()=>r.complete(),t),o=>Ne(r,e,()=>r.error(o),t)))})}function es(e,t=0){return A((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Rh(e,t){return G(e).pipe(es(t),Xi(t))}function Ah(e,t){return G(e).pipe(es(t),Xi(t))}function xh(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 Oh(e,t){return new k(n=>{let r;return Ne(n,t,()=>{r=e[zi](),Ne(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)}),()=>R(r?.return)&&r.return()})}function ts(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(n=>{Ne(n,t,()=>{let r=e[Symbol.asyncIterator]();Ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function kh(e,t){return ts(Wi(e),t)}function Ph(e,t){if(e!=null){if(Vi(e))return Rh(e,t);if(Bi(e))return xh(e,t);if(Ui(e))return Ah(e,t);if(Hi(e))return ts(e,t);if(Gi(e))return Oh(e,t);if(qi(e))return kh(e,t)}throw $i(e)}function Y(e,t){return t?Ph(e,t):G(e)}function M(...e){let t=yt(e);return Y(e,t)}function Yc(e,t){let n=R(e)?e:()=>e,r=o=>o.error(n());return new k(t?o=>t.schedule(r,0,o):r)}function ns(e){return!!e&&(e instanceof k||R(e.lift)&&R(e.subscribe))}var Xe=dr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function NE(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 Xe)}})})}function RE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Je({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Xe)}});e.subscribe(i)})}function Fh(e){return e instanceof Date&&!isNaN(e)}var{isArray:AE}=Array;function xE(e,t){return AE(t)?e(...t):e(t)}function rs(e){return B(t=>xE(e,t))}var{isArray:OE}=Array,{getPrototypeOf:kE,prototype:PE,keys:FE}=Object;function os(e){if(e.length===1){let t=e[0];if(OE(t))return{args:t,keys:null};if(LE(t)){let n=FE(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function LE(e){return e&&typeof e=="object"&&kE(e)===PE}function is(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ss(...e){let t=yt(e),n=Ji(e),{args:r,keys:o}=os(e);if(r.length===0)return Y([],t);let i=new k(jE(r,t,o?s=>is(o,s):ke));return n?i.pipe(rs(n)):i}function jE(e,t,n=ke){return r=>{Lh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Lh(t,()=>{let u=Y(e[c],t),l=!1;u.subscribe(O(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Lh(e,t,n){e?Ne(n,e,t):t()}function jh(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=C=>u<r?g(C):c.push(C),g=C=>{i&&t.next(C),u++;let v=!1;G(n(C,l++)).subscribe(O(t,I=>{o?.(I),i?f(I):t.next(I)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<r;){let I=c.shift();s?Ne(t,s,()=>g(I)):g(I)}h()}catch(I){t.error(I)}}))};return e.subscribe(O(t,f,()=>{d=!0,h()})),()=>{a?.()}}function me(e,t,n=1/0){return R(t)?me((r,o)=>B((i,s)=>t(r,i,o,s))(G(e(r,o))),n):(typeof t=="number"&&(n=t),A((r,o)=>jh(r,o,e,n)))}function en(e=1/0){return me(ke,e)}function Bh(){return en(1)}function mr(...e){return Bh()(Y(e,yt(e)))}function po(e){return new k(t=>{G(e()).subscribe(t)})}function BE(...e){let t=Ji(e),{args:n,keys:r}=os(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;G(n[l]).subscribe(O(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?is(r,a):a),i.complete())}))}});return t?o.pipe(rs(t)):o}function Uh(e=0,t,n=Mh){let r=-1;return t!=null&&(Ki(t)?n=t:r=t),new k(o=>{let i=Fh(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 UE(...e){let t=yt(e),n=Nh(e,1/0),r=e;return r.length?r.length===1?G(r[0]):en(n)(Y(r,t)):se}function ye(e,t){return A((n,r)=>{let o=0;n.subscribe(O(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Vh(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(O(n,u=>{r=!0,o=u,i||G(e(u)).subscribe(i=O(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function VE(e,t=ho){return Vh(()=>Uh(e,t))}function Mn(e){return A((t,n)=>{let r=null,o=!1,i;r=t.subscribe(O(n,void 0,void 0,s=>{i=G(e(s,Mn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function tn(e,t){return R(t)?me(e,t,1):me(e,1)}function Hh(e,t=ho){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(O(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 $h(e){return A((t,n)=>{let r=!1;t.subscribe(O(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function vt(e){return e<=0?()=>se:A((t,n)=>{let r=0;t.subscribe(O(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function HE(e){return B(()=>e)}function zh(e,t=ke){return e=e??$E,A((n,r)=>{let o,i=!0;n.subscribe(O(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function $E(e,t){return e===t}function Gh(e=zE){return A((t,n)=>{let r=!1;t.subscribe(O(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function zE(){return new Xe}function go(e){return A((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Dt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ye((o,i)=>e(o,i,r)):ke,vt(1),n?$h(t):Gh(()=>new Xe))}function as(e){return e<=0?()=>se:A((t,n)=>{let r=[];t.subscribe(O(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 GE(){return A((e,t)=>{let n,r=!1;e.subscribe(O(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Kc(e={}){let{connector:t=()=>new oe,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 C=s;f(),C?.unsubscribe()};return A((C,v)=>{u++,!d&&!l&&h();let I=c=c??t();v.add(()=>{u--,u===0&&!d&&!l&&(a=Qc(g,o))}),I.subscribe(v),!s&&u>0&&(s=new Je({next:P=>I.next(P),error:P=>{d=!0,h(),a=Qc(f,n,P),I.error(P)},complete:()=>{l=!0,h(),a=Qc(f,r),I.complete()}}),G(C).subscribe(s))})(i)}}function Qc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Je({next:()=>{r.unsubscribe(),e()}});return G(t(...n)).subscribe(r)}function Wh(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,Kc({connector:()=>new lo(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function WE(e){return ye((t,n)=>e<=n)}function cs(...e){let t=yt(e);return A((n,r)=>{(t?mr(e,n,t):mr(e,n)).subscribe(r)})}function mo(e){return A((t,n)=>{G(e).subscribe(O(n,()=>n.complete(),co)),!n.closed&&t.subscribe(n)})}function qE(e,t=!1){return A((n,r)=>{let o=0;n.subscribe(O(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Pe(e,t,n){let r=R(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(O(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ke}var ve=null,us=!1,Jc=1,ZE=null,ae=Symbol("SIGNAL");function S(e){let t=ve;return ve=e,t}function hs(){return ve}var Nn={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 Rn(e){if(us)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||QE(o,ve)))return;let i=vr(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&&Qh(e,s)}function qh(){Jc++}function ps(e){if(!(vr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Jc)){if(!e.producerMustRecompute(e)&&!yr(e)){fs(e);return}e.producerRecomputeValue(e),fs(e)}}function Xc(e){if(e.consumers===void 0)return;let t=us;us=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||YE(r)}}finally{us=t}}function eu(){return ve?.consumerAllowSignalWrites!==!1}function YE(e){e.dirty=!0,Xc(e),e.consumerMarkedDirty?.(e)}function fs(e){e.dirty=!1,e.lastCleanEpoch=Jc}function nn(e){return e&&Zh(e),S(e)}function Zh(e){e.producersTail=void 0,e.recomputing=!0}function An(e,t){S(t),e&&Yh(e)}function Yh(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(vr(e))do n=tu(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function yr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(ps(n),r!==n.version))return!0}return!1}function rn(e){if(vr(e)){let t=e.producers;for(;t!==void 0;)t=tu(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Qh(e,t){let n=e.consumersTail,r=vr(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)Qh(o.producer,o)}function tu(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,!vr(t)){let i=t.producers;for(;i!==void 0;)i=tu(i)}return n}function vr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function gs(e){ZE?.(e)}function QE(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 ms(e,t){return Object.is(e,t)}function vo(e,t){let n=Object.create(KE);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(ps(n),Rn(n),n.value===yo)throw n.error;return n.value};return r[ae]=n,gs(n),r}var ls=Symbol("UNSET"),ds=Symbol("COMPUTING"),yo=Symbol("ERRORED"),KE=F(y({},Nn),{value:ls,dirty:!0,error:null,equal:ms,kind:"computed",producerMustRecompute(e){return e.value===ls||e.value===ds},producerRecomputeValue(e){if(e.value===ds)throw new Error("");let t=e.value;e.value=ds;let n=nn(e),r,o=!1;try{r=e.computation(),S(null),o=t!==ls&&t!==yo&&r!==yo&&e.equal(t,r)}catch(i){r=yo,e.error=i}finally{An(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function JE(){throw new Error}var Kh=JE;function Jh(e){Kh(e)}function nu(e){Kh=e}var XE=null;function ru(e,t){let n=Object.create(Do);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Xh(n);return r[ae]=n,gs(n),[r,s=>Dr(n,s),s=>ou(n,s)]}function Xh(e){return Rn(e),e.value}function Dr(e,t){eu()||Jh(e),e.equal(e.value,t)||(e.value=t,eI(e))}function ou(e,t){eu()||Jh(e),Dr(e,t(e.value))}var Do=F(y({},Nn),{equal:ms,value:void 0,kind:"signal"});function eI(e){e.version++,qh(),Xc(e),XE?.(e)}var iu=F(y({},Nn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function su(e){if(e.dirty=!1,e.version>0&&!yr(e))return;e.version++;let t=nn(e);try{e.cleanup(),e.fn()}finally{An(e,t)}}var au;function ys(){return au}function Et(e){let t=au;return au=e,t}var ep=Symbol("NotFound");function Er(e){return e===ep||e?.name==="\u0275NotFound"}function tp(e){let t=S(null);try{return e()}finally{S(t)}}var bs="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(Ct(t,n)),this.code=t}};function tI(e){return`NG0${Math.abs(e)}`}function Ct(e,t){return`${tI(e)}${t?": "+t:""}`}var He=globalThis;function U(e){for(let t in e)if(e[t]===U)return t;throw Error("")}function sp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function So(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(So).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 Ts(e,t){return e?t?`${e} ${t}`:e:t||""}var nI=U({__forward_ref__:U});function Ss(e){return e.__forward_ref__=Ss,e}function ce(e){return Eu(e)?e():e}function Eu(e){return typeof e=="function"&&e.hasOwnProperty(nI)&&e.__forward_ref__===Ss}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pt(e){return{providers:e.providers||[],imports:e.imports||[]}}function _o(e){return rI(e,_s)}function Iu(e){return _o(e)!==null}function rI(e,t){return e.hasOwnProperty(t)&&e[t]||null}function oI(e){let t=e?.[_s]??null;return t||null}function uu(e){return e&&e.hasOwnProperty(Ds)?e[Ds]:null}var _s=U({\u0275prov:U}),Ds=U({\u0275inj:U}),D=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=E({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 wu=U({\u0275cmp:U}),bu=U({\u0275dir:U}),Tu=U({\u0275pipe:U}),Su=U({\u0275mod:U}),Io=U({\u0275fac:U}),Fn=U({__NG_ELEMENT_ID__:U}),np=U({__NG_ENV_ID__:U});function _u(e){return Ns(e,"@NgModule"),e[Su]||null}function wt(e){return Ns(e,"@Component"),e[wu]||null}function Ms(e){return Ns(e,"@Directive"),e[bu]||null}function ap(e){return Ns(e,"@Pipe"),e[Tu]||null}function Ns(e,t){if(e==null)throw new m(-919,!1)}function Ln(e){return typeof e=="string"?e:e==null?"":String(e)}var cp=U({ngErrorCode:U}),iI=U({ngErrorMessage:U}),sI=U({ngTokenPath:U});function Mu(e,t){return up("",-200,t)}function Rs(e,t){throw new m(-201,!1)}function up(e,t,n){let r=new m(t,e);return r[cp]=t,r[iI]=e,n&&(r[sI]=n),r}function aI(e){return e[cp]}var lu;function lp(){return lu}function be(e){let t=lu;return lu=e,t}function Nu(e,t,n){let r=_o(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;Rs(e,"")}var cI={},xn=cI,uI="__NG_DI_FLAG__",du=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=On(n)||0;try{return this.injector.get(t,r&8?null:xn,r)}catch(o){if(Er(o))return o;throw o}}};function lI(e,t=0){let n=ys();if(n===void 0)throw new m(-203,!1);if(n===null)return Nu(e,void 0,t);{let r=dI(t),o=n.retrieve(e,r);if(Er(o)){if(r.optional)return null;throw o}return o}}function w(e,t=0){return(lp()||lI)(ce(e),t)}function p(e,t){return w(e,On(t))}function On(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function dI(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function fu(e){let t=[];for(let n=0;n<e.length;n++){let r=ce(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=fI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(w(o,i))}else t.push(w(r))}return t}function fI(e){return e[uI]}function on(e,t){let n=e.hasOwnProperty(Io);return n?e[Io]: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 fp(e){return e.flat(Number.POSITIVE_INFINITY)}function As(e,t){e.forEach(n=>Array.isArray(n)?As(n,t):t(n))}function Ru(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Mo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function pp(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 xs(e,t,n){let r=Cr(e,t);return r>=0?e[r|1]=n:(r=~r,pp(e,r,t,n)),r}function Os(e,t){let n=Cr(e,t);if(n>=0)return e[n|1]}function Cr(e,t){return hI(e,t,1)}function hI(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 tt={},De=[],bt=new D(""),Au=new D("",-1),xu=new D(""),Co=class{get(t,n=xn){if(n===xn){let o=up("",-201);throw o.name="\u0275NotFound",o}return n}};function nt(e){return{\u0275providers:e}}function gp(e){return nt([{provide:bt,multi:!0,useValue:e}])}function mp(...e){return{\u0275providers:Ou(!0,e),\u0275fromNgModule:!0}}function Ou(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return As(t,s=>{let a=s;Es(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&yp(o,i),n}function yp(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ku(o,i=>{t(i,r)})}}function Es(e,t,n,r){if(e=ce(e),!e)return!1;let o=null,i=uu(e),s=!i&&wt(e);if(!i&&!s){let c=e.ngModule;if(i=uu(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)Es(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;As(i.imports,l=>{Es(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&yp(u,t)}if(!a){let u=on(o)||(()=>new o);t({provide:o,useFactory:u,deps:De},o),t({provide:xu,useValue:o,multi:!0},o),t({provide:bt,useValue:()=>w(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 pI=U({provide:String,useValue:U});function vp(e){return e!==null&&typeof e=="object"&&pI in e}function gI(e){return!!(e&&e.useExisting)}function mI(e){return!!(e&&e.useFactory)}function kn(e){return typeof e=="function"}function Dp(e){return!!e.useClass}var No=new D(""),vs={},rp={},cu;function wr(){return cu===void 0&&(cu=new Co),cu}var K=class{},Pn=class extends K{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,pu(t,s=>this.processProvider(s)),this.records.set(Au,Ir(void 0,this)),o.has("environment")&&this.records.set(K,Ir(void 0,this));let i=this.records.get(No);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=On(n)||0;try{return this.get(t,xn,r)}catch(o){if(Er(o))return o;throw o}}destroy(){Eo(this),this._destroyed=!0;let t=S(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(),S(t)}}onDestroy(t){return Eo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Eo(this);let n=Et(this),r=be(void 0),o;try{return t()}finally{Et(n),be(r)}}get(t,n=xn,r){if(Eo(this),t.hasOwnProperty(np))return t[np](this);let o=On(r),i,s=Et(this),a=be(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=II(t)&&_o(t);l&&this.injectableDefInScope(l)?u=Ir(hu(t),vs):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?wr():this.parent;return n=o&8&&n===xn?null:n,c.get(t,n)}catch(c){let u=aI(c);throw u===-200||u===-201?new m(u,null):c}finally{be(a),Et(s)}}resolveInjectorInitializers(){let t=S(null),n=Et(this),r=be(void 0),o;try{let i=this.get(bt,De,{self:!0});for(let s of i)s()}finally{Et(n),be(r),S(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=ce(t);let n=kn(t)?t:ce(t&&t.provide),r=vI(t);if(!kn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ir(void 0,vs,!0),o.factory=()=>fu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=S(null);try{if(n.value===rp)throw Mu("");return n.value===vs&&(n.value=rp,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&EI(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ce(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 hu(e){let t=_o(e),n=t!==null?t.factory:on(e);if(n!==null)return n;if(e instanceof D)throw new m(-204,!1);if(e instanceof Function)return yI(e);throw new m(-204,!1)}function yI(e){if(e.length>0)throw new m(-204,!1);let n=oI(e);return n!==null?()=>n.factory(e):()=>new e}function vI(e){if(vp(e))return Ir(void 0,e.useValue);{let t=Pu(e);return Ir(t,vs)}}function Pu(e,t,n){let r;if(kn(e)){let o=ce(e);return on(o)||hu(o)}else if(vp(e))r=()=>ce(e.useValue);else if(mI(e))r=()=>e.useFactory(...fu(e.deps||[]));else if(gI(e))r=(o,i)=>w(ce(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ce(e&&(e.useClass||e.provide));if(DI(e))r=()=>new o(...fu(e.deps));else return on(o)||hu(o)}return r}function Eo(e){if(e.destroyed)throw new m(-205,!1)}function Ir(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function DI(e){return!!e.deps}function EI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function II(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function pu(e,t){for(let n of e)Array.isArray(n)?pu(n,t):n&&Cu(n)?pu(n.\u0275providers,t):t(n)}function le(e,t){let n;e instanceof Pn?(Eo(e),n=e):n=new du(e);let r,o=Et(n),i=be(void 0);try{return t()}finally{Et(o),be(i)}}function Ep(){return lp()!==void 0||ys()!=null}var rt=0,T=1,_=2,ue=3,$e=4,Se=5,jn=6,br=7,ee=8,Ft=9,ot=10,H=11,Tr=12,Fu=13,Bn=14,Ee=15,cn=16,Un=17,Tt=18,Lt=19,Lu=20,kt=21,ks=22,sn=23,Fe=24,Vn=25,un=26,W=27,Ip=1,ju=6,ln=7,Ro=8,Hn=9,te=10;function jt(e){return Array.isArray(e)&&typeof e[Ip]=="object"}function it(e){return Array.isArray(e)&&e[Ip]===!0}function Bu(e){return(e.flags&4)!==0}function Bt(e){return e.componentOffset>-1}function Sr(e){return(e.flags&1)===1}function st(e){return!!e.template}function _r(e){return(e[_]&512)!==0}function $n(e){return(e[_]&256)===256}var Uu="svg",Cp="math";function ze(e){for(;Array.isArray(e);)e=e[rt];return e}function Vu(e,t){return ze(t[e])}function at(e,t){return ze(t[e.index])}function Ps(e,t){return e.data[t]}function Ao(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 Ge(e,t){let n=t[e];return jt(n)?n:n[rt]}function wp(e){return(e[_]&4)===4}function Fs(e){return(e[_]&128)===128}function bp(e){return it(e[ue])}function Le(e,t){return t==null?null:e[t]}function $u(e){e[Un]=0}function zu(e){e[_]&1024||(e[_]|=1024,Fs(e)&&zn(e))}function Tp(e,t){for(;e>0;)t=t[Bn],e--;return t}function xo(e){return!!(e[_]&9216||e[Fe]?.dirty)}function Ls(e){e[ot].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),xo(e)&&zn(e)}function zn(e){e[ot].changeDetectionScheduler?.notify(0);let t=an(e);for(;t!==null&&!(t[_]&8192||(t[_]|=8192,!Fs(t)));)t=an(t)}function Gu(e,t){if($n(e))throw new m(911,!1);e[kt]===null&&(e[kt]=[]),e[kt].push(t)}function Sp(e,t){if(e[kt]===null)return;let n=e[kt].indexOf(t);n!==-1&&e[kt].splice(n,1)}function an(e){let t=e[ue];return it(t)?t[ue]:t}function Wu(e){return e[br]??=[]}function qu(e){return e.cleanup??=[]}function _p(e,t,n,r){let o=Wu(t);o.push(n),e.firstCreatePass&&qu(e).push(r,o.length-1)}var x={lFrame:Vp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var gu=!1;function Mp(){return x.lFrame.elementDepthCount}function Np(){x.lFrame.elementDepthCount++}function Zu(){x.lFrame.elementDepthCount--}function js(){return x.bindingsEnabled}function Yu(){return x.skipHydrationRootTNode!==null}function Qu(e){return x.skipHydrationRootTNode===e}function Ku(){x.skipHydrationRootTNode=null}function b(){return x.lFrame.lView}function q(){return x.lFrame.tView}function Rp(e){return x.lFrame.contextLView=e,e[ee]}function Ap(e){return x.lFrame.contextLView=null,e}function de(){let e=Ju();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ju(){return x.lFrame.currentTNode}function xp(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Mr(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function Xu(){return x.lFrame.isParent}function el(){x.lFrame.isParent=!1}function Op(){return x.lFrame.contextLView}function tl(){return gu}function wo(e){let t=gu;return gu=e,t}function Gn(){let e=x.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function kp(){return x.lFrame.bindingIndex}function Pp(e){return x.lFrame.bindingIndex=e}function dn(){return x.lFrame.bindingIndex++}function Bs(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Fp(){return x.lFrame.inI18n}function Lp(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,Us(t)}function jp(){return x.lFrame.currentDirectiveIndex}function Us(e){x.lFrame.currentDirectiveIndex=e}function Bp(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Vs(){return x.lFrame.currentQueryIndex}function Oo(e){x.lFrame.currentQueryIndex=e}function CI(e){let t=e[T];return t.type===2?t.declTNode:t.type===1?e[Se]:null}function nl(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=CI(i),o===null||(i=i[Bn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=Up();return r.currentTNode=t,r.lView=e,!0}function Hs(e){let t=Up(),n=e[T];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Up(){let e=x.lFrame,t=e===null?null:e.child;return t===null?Vp(e):t}function Vp(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 Hp(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var rl=Hp;function $s(){let e=Hp();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 $p(e){return(x.lFrame.contextLView=Tp(e,x.lFrame.contextLView))[ee]}function St(){return x.lFrame.selectedIndex}function fn(e){x.lFrame.selectedIndex=e}function ko(){let e=x.lFrame;return Ps(e.tView,e.selectedIndex)}function zp(){x.lFrame.currentNamespace=Uu}function Gp(){wI()}function wI(){x.lFrame.currentNamespace=null}function Wp(){return x.lFrame.currentNamespace}var qp=!0;function zs(){return qp}function Po(e){qp=e}function mu(e,t=null,n=null,r){let o=ol(e,t,n,r);return o.resolveInjectorInitializers(),o}function ol(e,t=null,n=null,r,o=new Set){let i=[n||De,mp(e)],s;return new Pn(i,t||wr(),s||null,o)}var pe=class e{static THROW_IF_NOT_FOUND=xn;static NULL=new Co;static create(t,n){if(Array.isArray(t))return mu({name:""},n,t,"");{let r=t.name??"";return mu({name:r},t.parent,t.providers,r)}}static \u0275prov=E({token:e,providedIn:"any",factory:()=>w(Au)});static __NG_ELEMENT_ID__=-1},Q=new D(""),je=(()=>{class e{static __NG_ELEMENT_ID__=bI;static __NG_ENV_ID__=n=>n}return e})(),Is=class extends je{_lView;constructor(t){super(),this._lView=t}get destroyed(){return $n(this._lView)}onDestroy(t){let n=this._lView;return Gu(n,t),()=>Sp(n,t)}};function bI(){return new Is(b())}var il=!1,Zp=new D(""),_t=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ge(!1);debugTaskTracker=p(Zp,{optional:!0});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),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(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=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),yu=class extends oe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ep()&&(this.destroyRef=p(je,{optional:!0})??void 0,this.pendingTasks=p(_t,{optional:!0})??void 0)}emit(t){let n=S(null);try{super.next(t)}finally{S(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 re&&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)}})}}},Te=yu;function Cs(...e){}function sl(e){let t,n;function r(){e=Cs;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Yp(e){return queueMicrotask(()=>e()),()=>{e=Cs}}var al="isAngularZone",bo=al+"_ID",TI=0,J=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Te(!1);onMicrotaskEmpty=new Te(!1);onStable=new Te(!1);onError=new Te(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=il}=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,MI(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(al)===!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,SI,Cs,Cs);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)}},SI={};function cl(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function _I(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){sl(()=>{e.callbackScheduled=!1,vu(e),e.isCheckStableRunning=!0,cl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),vu(e)}function MI(e){let t=()=>{_I(e)},n=TI++;e._inner=e._inner.fork({name:"angular",properties:{[al]:!0,[bo]:n,[bo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(NI(c))return r.invokeTask(i,s,a,c);try{return op(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ip(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return op(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!RI(c)&&t(),ip(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,vu(e),cl(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 vu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function op(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ip(e){e._nesting--,cl(e)}var To=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Te;onMicrotaskEmpty=new Te;onStable=new Te;onError=new Te;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 NI(e){return Qp(e,"__ignore_ng_zone__")}function RI(e){return Qp(e,"__scheduler_tick__")}function Qp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var It=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Re=new D("",{factory:()=>{let e=p(J),t=p(K),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(It),n.handleError(r))})}}}),Kp={provide:bt,useValue:()=>{let e=p(It,{optional:!0})},multi:!0},AI=new D("",{factory:()=>{let e=p(Q).defaultView;if(!e)return;let t=p(Re),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(je).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function xI(){return nt([gp(()=>{p(AI)})])}function Wn(e,t){let[n,r,o]=ru(e,t?.equal),i=n,s=i[ae];return i.set=r,i.update=o,i.asReadonly=Jp.bind(i),i}function Jp(){let e=this[ae];if(e.readonlyFn===void 0){let t=()=>this();t[ae]=e,e.readonlyFn=t}return e.readonlyFn}var Nr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=OI}return e})();function OI(){return new Nr(b(),de())}var et=class{},Rr=new D("",{factory:()=>!0});var Gs=new D(""),Ws=(()=>{class e{internalPendingTasks=p(_t);scheduler=p(et);errorHandler=p(Re);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=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),qs=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new Du})}return e})(),Du=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}},ws=class{[ae];constructor(t){this[ae]=t}destroy(){this[ae].destroy()}};function kI(e,t){let n=t?.injector??p(pe),r=t?.manualCleanup!==!0?n.get(je):null,o,i=n.get(Nr,null,{optional:!0}),s=n.get(et);return i!==null?(o=LI(i.view,s,e),r instanceof Is&&r._lView===i.view&&(r=null)):o=jI(e,n.get(qs),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ws(o)}var Xp=F(y({},iu),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=wo(!1);try{su(this)}finally{wo(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=S(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],S(e)}}}),PI=F(y({},Xp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(rn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),FI=F(y({},Xp),{consumerMarkedDirty(){this.view[_]|=8192,zn(this.view),this.notifier.notify(13)},destroy(){if(rn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[sn]?.delete(this)}});function LI(e,t,n){let r=Object.create(FI);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=eg(r,n),e[sn]??=new Set,e[sn].add(r),r.consumerMarkedDirty(r),r}function jI(e,t,n){let r=Object.create(PI);return r.fn=eg(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 eg(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Wo(e){return{toString:e}.toString()}function zI(e){return typeof e=="function"}function Fg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ra=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Br=(()=>{let e=()=>Lg;return e.ngInherit=!0,e})();function Lg(e){return e.type.prototype.ngOnChanges&&(e.setInput=WI),GI}function GI(){let e=Bg(this),t=e?.current;if(t){let n=e.previous;if(n===tt)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=Bg(e)||qI(e,{previous:tt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ra(u&&u.currentValue,n,c===tt),Fg(e,t,o,n)}var jg="__ngSimpleChanges__";function Bg(e){return e[jg]||null}function qI(e,t){return e[jg]=t}var tg=[];var V=function(e,t=null,n){for(let r=0;r<tg.length;r++){let o=tg[r];o(e,t,n)}},L=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(L||{});function ZI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Lg(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 Ug(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 Js(e,t,n){Vg(e,t,3,n)}function Xs(e,t,n,r){(e[_]&3)===n&&Vg(e,t,n,r)}function ul(e,t){let n=e[_];(n&3)===t&&(n&=16383,n+=1,e[_]=n)}function Vg(e,t,n,r){let o=r!==void 0?e[Un]&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[Un]+=65536),(a<i||i==-1)&&(YI(e,n,t,c),e[Un]=(e[Un]&4294901760)+c+2),c++}function ng(e,t){V(L.LifecycleHookStart,e,t);let n=S(null);try{t.call(e)}finally{S(n),V(L.LifecycleHookEnd,e,t)}}function YI(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[_]>>14<e[Un]>>16&&(e[_]&3)===t&&(e[_]+=16384,ng(a,i)):ng(a,i)}var xr=-1,Zn=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 QI(e){return(e.flags&8)!==0}function KI(e){return(e.flags&16)!==0}function JI(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];XI(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Hg(e){return e===3||e===4||e===6}function XI(e){return e.charCodeAt(0)===64}function Or(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?rg(e,n,o,null,t[++r]):rg(e,n,o,null,null))}}return e}function rg(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 $g(e){return e!==xr}function oa(e){return e&32767}function eC(e){return e>>16}function ia(e,t){let n=eC(e),r=t;for(;n>0;)r=r[Bn],n--;return r}var El=!0;function sa(e){let t=El;return El=e,t}var tC=256,zg=tC-1,Gg=5,nC=0,Mt={};function rC(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Fn)&&(r=n[Fn]),r==null&&(r=n[Fn]=nC++);let o=r&zg,i=1<<o;t.data[e+(o>>Gg)]|=i}function aa(e,t){let n=Wg(e,t);if(n!==-1)return n;let r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,ll(r.data,e),ll(t,null),ll(r.blueprint,null));let o=od(e,t),i=e.injectorIndex;if($g(o)){let s=oa(o),a=ia(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 ll(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function od(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=Kg(o),r===null)return xr;if(n++,o=o[Bn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return xr}function Il(e,t,n){rC(e,t,n)}function oC(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(Hg(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 qg(e,t,n){if(n&8||e!==void 0)return e;Rs(t,"NodeInjector")}function Zg(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ft],i=be(void 0);try{return o?o.get(t,r,n&8):Nu(t,r,n&8)}finally{be(i)}}return qg(r,t,n)}function Yg(e,t,n,r=0,o){if(e!==null){if(t[_]&2048&&!(r&2)){let s=cC(e,t,n,r,Mt);if(s!==Mt)return s}let i=Qg(e,t,n,r,Mt);if(i!==Mt)return i}return Zg(t,n,r,o)}function Qg(e,t,n,r,o){let i=sC(n);if(typeof i=="function"){if(!nl(t,e,r))return r&1?qg(o,n,r):Zg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Rs(n);else return s}finally{rl()}}else if(typeof i=="number"){let s=null,a=Wg(e,t),c=xr,u=r&1?t[Ee][Se]:null;for((a===-1||r&4)&&(c=a===-1?od(e,t):t[a+8],c===xr||!ig(r,!1)?a=-1:(s=t[T],a=oa(c),t=ia(c,t)));a!==-1;){let l=t[T];if(og(i,a,l.data)){let d=iC(a,t,n,s,r,u);if(d!==Mt)return d}c=t[a+8],c!==xr&&ig(r,t[T].data[a+8]===u)&&og(i,a,t)?(s=l,a=oa(c),t=ia(c,t)):a=-1}}return o}function iC(e,t,n,r,o,i){let s=t[T],a=s.data[e+8],c=r==null?Bt(a)&&El:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ea(a,s,n,c,u);return l!==null?Uo(t,s,l,a,o):Mt}function ea(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&&st(f)&&f.type===n)return c}return null}function Uo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Zn){let a=i;if(a.resolving)throw Mu("");let c=sa(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?be(a.injectImpl):null,h=nl(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&ZI(n,s[n],t)}finally{d!==null&&be(d),sa(c),a.resolving=!1,rl()}}return i}function sC(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Fn)?e[Fn]:void 0;return typeof t=="number"?t>=0?t&zg:aC:t}function og(e,t,n){let r=1<<e;return!!(n[t+(e>>Gg)]&r)}function ig(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 Yg(this._tNode,this._lView,t,On(r),n)}};function aC(){return new qn(de(),b())}function qo(e){return Wo(()=>{let t=e.prototype.constructor,n=t[Io]||Cl(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Io]||Cl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Cl(e){return Eu(e)?()=>{let t=Cl(ce(e));return t&&t()}:on(e)}function cC(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[_]&2048&&!_r(s);){let a=Qg(i,s,n,r|2,Mt);if(a!==Mt)return a;let c=i.parent;if(!c){let u=s[Lu];if(u){let l=u.get(n,Mt,r&-5);if(l!==Mt)return l}c=Kg(s),s=s[Bn]}i=c}return o}function Kg(e){let t=e[T],n=t.type;return n===2?t.declTNode:n===1?e[Se]:null}function Ca(e){return oC(de(),e)}function uC(){return Ur(de(),b())}function Ur(e,t){return new Vt(at(e,t))}var Vt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=uC}return e})();function Jg(e){return e instanceof Vt?e.nativeElement:e}function lC(){return this._results[Symbol.iterator]()}var ca=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new oe}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=fp(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]=lC};function Xg(e){return(e.flags&128)===128}var id=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(id||{}),em=new Map,dC=0;function fC(){return dC++}function hC(e){em.set(e[Lt],e)}function wl(e){em.delete(e[Lt])}var sg="__ngContext__";function kr(e,t){jt(t)?(e[sg]=t[Lt],hC(t)):e[sg]=t}function tm(e){return rm(e[Tr])}function nm(e){return rm(e[$e])}function rm(e){for(;e!==null&&!it(e);)e=e[$e];return e}var bl;function sd(e){bl=e}function om(){if(bl!==void 0)return bl;if(typeof document<"u")return document;throw new m(210,!1)}var wa=new D("",{factory:()=>pC}),pC="ng";var ba=new D(""),Zo=new D("",{providedIn:"platform",factory:()=>"unknown"}),gC=new D(""),Ta=new D("",{factory:()=>p(Q).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var im="r";var sm="di";var am=!1,cm=new D("",{factory:()=>am});var Sa=new D("");var mC=(e,t,n,r)=>{};function yC(e,t,n,r){mC(e,t,n,r)}function _a(e){return(e.flags&32)===32}var vC=()=>null;function um(e,t,n=!1){return vC(e,t,n)}function lm(e,t){let n=e.contentQueries;if(n!==null){let r=S(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];Oo(i),a.contentQueries(2,t[s],s)}}}finally{S(r)}}}function Tl(e,t,n){Oo(0);let r=S(null);try{t(e,n)}finally{S(r)}}function ad(e,t,n){if(Bu(t)){let r=S(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{S(r)}}}var lt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(lt||{});var Zs;function DC(){if(Zs===void 0&&(Zs=null,He.trustedTypes))try{Zs=He.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Zs}function Ma(e){return DC()?.createHTML(e)||e}var Ys;function EC(){if(Ys===void 0&&(Ys=null,He.trustedTypes))try{Ys=He.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ys}function ag(e){return EC()?.createHTML(e)||e}var Ut=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bs})`}},Sl=class extends Ut{getTypeName(){return"HTML"}},_l=class extends Ut{getTypeName(){return"Style"}},Ml=class extends Ut{getTypeName(){return"Script"}},Nl=class extends Ut{getTypeName(){return"URL"}},Rl=class extends Ut{getTypeName(){return"ResourceURL"}};function We(e){return e instanceof Ut?e.changingThisBreaksApplicationSecurity:e}function Ht(e,t){let n=dm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${bs})`)}return n===t}function dm(e){return e instanceof Ut&&e.getTypeName()||null}function cd(e){return new Sl(e)}function ud(e){return new _l(e)}function ld(e){return new Ml(e)}function dd(e){return new Nl(e)}function fd(e){return new Rl(e)}function IC(e){let t=new xl(e);return CC()?new Al(t):t}var Al=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ma(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},xl=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=Ma(t),n}};function CC(){try{return!!new window.DOMParser().parseFromString(Ma(""),"text/html")}catch(e){return!1}}var wC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Yo(e){return e=String(e),e.match(wC)?e:"unsafe:"+e}function $t(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Qo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var fm=$t("area,br,col,hr,img,wbr"),hm=$t("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pm=$t("rp,rt"),bC=Qo(pm,hm),TC=Qo(hm,$t("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")),SC=Qo(pm,$t("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")),cg=Qo(fm,TC,SC,bC),gm=$t("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),_C=$t("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"),MC=$t("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"),NC=Qo(gm,_C,MC),RC=$t("script,style,template");var Ol=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=OC(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=xC(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ug(t).toLowerCase();if(!cg.hasOwnProperty(n))return this.sanitizedSomething=!0,!RC.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(!NC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;gm[a]&&(c=Yo(c)),this.buf.push(" ",s,'="',lg(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=ug(t).toLowerCase();cg.hasOwnProperty(n)&&!fm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(lg(t))}};function AC(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function xC(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw mm(t);return t}function OC(e){let t=e.firstChild;if(t&&AC(e,t))throw mm(t);return t}function ug(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function mm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var kC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,PC=/([^\#-~ |!])/g;function lg(e){return e.replace(/&/g,"&").replace(kC,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(PC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Qs;function Na(e,t){let n=null;try{Qs=Qs||IC(e);let r=t?String(t):"";n=Qs.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Qs.getInertBodyElement(r)}while(r!==i);let a=new Ol().sanitizeChildren(dg(n)||n);return Ma(a)}finally{if(n){let r=dg(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function dg(e){return"content"in e&&FC(e)?e.content:null}function FC(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var LC=/^>|^->|<!--|-->|--!>|<!-$/g,jC=/(<|>)/g,BC="\u200B$1\u200B";function UC(e){return e.replace(LC,t=>t.replace(jC,BC))}function VC(e,t){return e.createText(t)}function HC(e,t,n){e.setValue(t,n)}function $C(e,t){return e.createComment(UC(t))}function ym(e,t,n){return e.createElement(t,n)}function ua(e,t,n,r,o){e.insertBefore(t,n,r,o)}function vm(e,t,n){e.appendChild(t,n)}function fg(e,t,n,r,o){r!==null?ua(e,t,n,r,o):vm(e,t,n)}function Dm(e,t,n,r){e.removeChild(null,t,n,r)}function zC(e,t,n){e.setAttribute(t,"style",n)}function GC(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Em(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&JI(e,t,r),o!==null&&GC(e,t,o),i!==null&&zC(e,t,i)}var dt=(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})(dt||{});function WC(e){let t=Im();return t?ag(t.sanitize(dt.HTML,e)||""):Ht(e,"HTML")?ag(We(e)):Na(om(),Ln(e))}function qC(e){let t=Im();return t?t.sanitize(dt.URL,e)||"":Ht(e,"URL")?We(e):Yo(Ln(e))}function Im(){let e=b();return e&&e[ot].sanitizer}function ZC(e){return e.ownerDocument}function Cm(e){return e instanceof Function?e():e}function YC(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 QC(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&YC(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(hd(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 hd(e){return e.type===4&&e.value!==wm}function KC(e,t,n){let r=e.type===4&&!n?wm:e.value;return t===r}function JC(e,t,n){let r=4,o=e.attrs,i=o!==null?tw(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ct(r)&&!ct(c))return!1;if(s&&ct(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!KC(e,c,n)||c===""&&t.length===1){if(ct(r))return!1;s=!0}}else if(r&8){if(o===null||!QC(e,o,c,n)){if(ct(r))return!1;s=!0}}else{let u=t[++a],l=XC(c,o,hd(e),n);if(l===-1){if(ct(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ct(r))return!1;s=!0}}}}return ct(r)||s}function ct(e){return(e&1)===0}function XC(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 nw(t,e)}function bm(e,t,n=!1){for(let r=0;r<t.length;r++)if(JC(e,t[r],n))return!0;return!1}function ew(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function tw(e){for(let t=0;t<e.length;t++){let n=e[t];if(Hg(n))return t}return e.length}function nw(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 rw(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 hg(e,t){return e?":not("+t.trim()+")":t}function ow(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!==""&&!ct(s)&&(t+=hg(i,o),o=""),r=s,i=i||!ct(r);n++}return o!==""&&(t+=hg(i,o)),t}function iw(e){return e.map(ow).join(",")}function sw(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(!ct(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var _e={};function pd(e,t,n,r,o,i,s,a,c,u,l){let d=W+r,h=d+o,f=aw(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 aw(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:_e);return n}function cw(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=pd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function gd(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[rt]=o,d[_]=r|4|128|8|64|1024,(u!==null||e&&e[_]&2048)&&(d[_]|=2048),$u(d),d[ue]=d[Bn]=e,d[ee]=n,d[ot]=s||e&&e[ot],d[H]=a||e&&e[H],d[Ft]=c||e&&e[Ft]||null,d[Se]=i,d[Lt]=fC(),d[jn]=l,d[Lu]=u,d[Ee]=t.type==2?e[Ee]:d,d}function uw(e,t,n){let r=at(t,e),o=cw(n),i=e[ot].rendererFactory,s=md(e,gd(e,o,null,Tm(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Tm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Sm(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 md(e,t){return e[Tr]?e[Fu][$e]=t:e[Tr]=t,e[Fu]=t,t}function lw(e=1){_m(q(),b(),St()+e,!1)}function _m(e,t,n,r){if(!r)if((t[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Js(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Xs(t,i,0,n)}fn(n)}var Ra=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ra||{});function kl(e,t,n,r){let o=S(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ra.SignalBased)!==0&&(c=t[i][ae]),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):Fg(t,c,i,r)}finally{S(o)}}var Nt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Nt||{}),dw;function yd(e,t){return dw(e,t)}var HL=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Pl=new WeakMap,Lo=new WeakSet;function fw(e,t){let n=Pl.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),Lo.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function hw(e,t){let n=Pl.get(e);n?n.includes(t)||n.push(t):Pl.set(e,[t])}var Yn=new Set,Aa=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Aa||{}),ft=new D(""),pg=new Set;function ht(e){pg.has(e)||(pg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var xa=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),vd=[0,1,2,3],Dd=(()=>{class e{ngZone=p(J);scheduler=p(et);errorHandler=p(It,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(ft,{optional:!0})}execute(){let n=this.sequences.size>0;n&&V(L.AfterRenderHooksStart),this.executing=!0;for(let r of vd)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&&V(L.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Vn]??=[]).push(n),zn(r),r[_]|=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(Aa.AFTER_NEXT_RENDER,n):n()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vo=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?.[Vn];t&&(this.view[Vn]=t.filter(n=>n!==this))}};function Oa(e,t){let n=t?.injector??p(pe);return ht("NgAfterNextRender"),gw(e,n,t,!0)}function pw(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function gw(e,t,n,r){let o=t.get(xa);o.impl??=t.get(Dd);let i=t.get(ft,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(je):null,a=t.get(Nr,null,{optional:!0}),c=new Vo(o.impl,pw(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Mm=new D("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:p(K)})});function Nm(e,t,n){let r=e.get(Mm);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function mw(e,t){let n=e.get(Mm);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function yw(e,t){for(let[n,r]of t)Nm(e,r.animateFns)}function gg(e,t,n,r){let o=e?.[un]?.enter;t!==null&&o&&o.has(n.index)&&yw(r,o)}function Ar(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;it(o)?c=o:jt(o)&&(u=!0,o=o[rt]);let l=ze(o);e===0&&r!==null?(gg(a,r,i,n),s==null?vm(t,r,l):ua(t,r,l,s||null,!0)):e===1&&r!==null?(gg(a,r,i,n),ua(t,r,l,s||null,!0),fw(i,l)):e===2?(a?.[un]?.leave?.has(i.index)&&hw(i,l),Lo.delete(l),mg(a,i,n,d=>{if(Lo.has(l)){Lo.delete(l);return}Dm(t,l,u,d)})):e===3&&(Lo.delete(l),mg(a,i,n,()=>{t.destroyNode(l)})),c!=null&&Mw(t,e,n,c,i,r,s)}}function vw(e,t){Rm(e,t),t[rt]=null,t[Se]=null}function Dw(e,t,n,r,o,i){r[rt]=o,r[Se]=t,Pa(e,r,n,1,o,i)}function Rm(e,t){t[ot].changeDetectionScheduler?.notify(9),Pa(e,t,t[H],2,null,null)}function Ew(e){let t=e[Tr];if(!t)return dl(e[T],e);for(;t;){let n=null;if(jt(t))n=t[Tr];else{let r=t[te];r&&(n=r)}if(!n){for(;t&&!t[$e]&&t!==e;)jt(t)&&dl(t[T],t),t=t[ue];t===null&&(t=e),jt(t)&&dl(t[T],t),n=t&&t[$e]}t=n}}function Ed(e,t){let n=e[Hn],r=n.indexOf(t);n.splice(r,1)}function ka(e,t){if($n(t))return;let n=t[H];n.destroyNode&&Pa(e,t,n,3,null,null),Ew(t)}function dl(e,t){if($n(t))return;let n=S(null);try{t[_]&=-129,t[_]|=256,t[Fe]&&rn(t[Fe]),ww(e,t),Cw(e,t),t[T].type===1&&t[H].destroy();let r=t[cn];if(r!==null&&it(t[ue])){r!==t[ue]&&Ed(r,t);let o=t[Tt];o!==null&&o.detachView(e)}wl(t)}finally{S(n)}}function mg(e,t,n,r){let o=e?.[un];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Yn.add(e[Lt]),Nm(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.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Iw(e,r)}else e&&Yn.delete(e[Lt]),r(!1)},o)}function Iw(e,t){let n=e[un]?.running;if(n){n.then(()=>{e[un].running=void 0,Yn.delete(e[Lt]),t(!0)});return}t(!1)}function Cw(e,t){let n=e.cleanup,r=t[br];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[br]=null);let o=t[kt];if(o!==null){t[kt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[sn];if(i!==null){t[sn]=null;for(let s of i)s.destroy()}}function ww(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 Zn)){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];V(L.LifecycleHookStart,a,c);try{c.call(a)}finally{V(L.LifecycleHookEnd,a,c)}}else{V(L.LifecycleHookStart,o,i);try{i.call(o)}finally{V(L.LifecycleHookEnd,o,i)}}}}}function Am(e,t,n){return bw(e,t.parent,n)}function bw(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[rt];if(Bt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===lt.None||o===lt.Emulated)return null}return at(r,n)}function xm(e,t,n){return Sw(e,t,n)}function Tw(e,t,n){return e.type&40?at(e,n):null}var Sw=Tw,yg;function Id(e,t,n,r){let o=Am(e,r,t),i=t[H],s=r.parent||t[Se],a=xm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)fg(i,o,n[c],a,!1);else fg(i,o,n,a,!1);yg!==void 0&&yg(i,r,t,n,o)}function jo(e,t){if(t!==null){let n=t.type;if(n&3)return at(t,e);if(n&4)return Fl(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return jo(e,r);{let o=e[t.index];return it(o)?Fl(-1,o):ze(o)}}else{if(n&128)return jo(e,t.next);if(n&32)return yd(t,e)()||ze(e[t.index]);{let r=Om(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=an(e[Ee]);return jo(o,r)}else return jo(e,t.next)}}}return null}function Om(e,t){if(t!==null){let r=e[Ee][Se],o=t.projection;return r.projection[o]}return null}function Fl(e,t){let n=te+e+1;if(n<t.length){let r=t[n],o=r[T].firstChild;if(o!==null)return jo(r,o)}return t[ln]}function Cd(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Ft];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&kr(ze(c),r),n.flags|=2),!_a(n))if(u&8)Cd(e,t,n.child,r,o,i,!1),Ar(t,e,a,o,c,n,i,r);else if(u&32){let l=yd(n,r),d;for(;d=l();)Ar(t,e,a,o,d,n,i,r);Ar(t,e,a,o,c,n,i,r)}else u&16?km(e,t,r,n,o,i):Ar(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Pa(e,t,n,r,o,i){Cd(n,r,e.firstChild,t,o,i,!1)}function _w(e,t,n){let r=t[H],o=Am(e,n,t),i=n.parent||t[Se],s=xm(i,n,t);km(r,0,t,n,o,s)}function km(e,t,n,r,o,i){let s=n[Ee],c=s[Se].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Ar(t,e,n[Ft],o,l,r,i,n)}else{let u=c,l=s[ue];Xg(r)&&(u.flags|=128),Cd(e,t,u,l,o,i,!0)}}function Mw(e,t,n,r,o,i,s){let a=r[ln],c=ze(r);a!==c&&Ar(t,e,n,i,a,o,s);for(let u=te;u<r.length;u++){let l=r[u];Pa(l[T],l,e,t,i,a)}}function Nw(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Nt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Nt.Important),e.setStyle(n,r,o,i))}}function Pm(e,t,n,r,o){let i=St(),s=r&2;try{fn(-1),s&&t.length>W&&_m(e,t,W,!1);let a=s?L.TemplateUpdateStart:L.TemplateCreateStart;V(a,o,n),n(r,o)}finally{fn(i);let a=s?L.TemplateUpdateEnd:L.TemplateCreateEnd;V(a,o,n)}}function Fa(e,t,n){Pw(e,t,n),(n.flags&64)===64&&Fw(e,t,n)}function Ko(e,t,n=at){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 Rw(e,t,n,r){let i=r.get(cm,am)||n===lt.ShadowDom||n===lt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return Aw(s),s}function Aw(e){xw(e)}var xw=()=>null;function Ow(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Fm(e,t,n,r,o,i){let s=t[T];if(Sd(e,s,t,n,r)){Bt(e)&&kw(t,e.index);return}e.type&3&&(n=Ow(n)),Lm(e,t,n,r,o,i)}function Lm(e,t,n,r,o,i){if(e.type&3){let s=at(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function kw(e,t){let n=Ge(t,e);n[_]&16||(n[_]|=64)}function Pw(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Bt(n)&&uw(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||aa(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Uo(t,e,s,n);if(kr(c,t),i!==null&&Uw(t,s-r,c,a,n,i),st(a)){let u=Ge(n.index,t);u[ee]=Uo(t,e,s,n)}}}function Fw(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=jp();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)&&Lw(c,u)}}finally{fn(-1),Us(s)}}function Lw(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function wd(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];bm(t,i.selectors,!1)&&(r??=[],st(i)?r.unshift(i):r.push(i))}return r}function jw(e,t,n,r,o,i){let s=at(e,t);Bw(t[H],s,i,e.value,n,r,o)}function Bw(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ln(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Uw(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];kl(r,n,c,u)}}function bd(e,t,n,r,o){let i=W+n,s=t[T],a=o(s,t,e,r,n);t[i]=a,Mr(e,!0);let c=e.type===2;return c?(Em(t[H],a,e),(Mp()===0||Sr(e))&&kr(a,t),Np()):kr(a,t),zs()&&(!c||!_a(e))&&Id(s,t,a,e),e}function Td(e){let t=e;return Xu()?el():(t=t.parent,Mr(t,!1)),t}function Vw(e,t){let n=e[Ft];if(!n)return;let r;try{r=n.get(Re,null)}catch(o){r=null}r?.(t)}function Sd(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];kl(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];kl(l,u,r,o),a=!0}return a}function Hw(e,t){let n=Ge(t,e),r=n[T];$w(r,n);let o=n[rt];o!==null&&n[jn]===null&&(n[jn]=um(o,n[Ft])),V(L.ComponentStart);try{_d(r,n,n[ee])}finally{V(L.ComponentEnd,n[ee])}}function $w(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function _d(e,t,n){Hs(t);try{let r=e.viewQuery;r!==null&&Tl(1,r,n);let o=e.template;o!==null&&Pm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Tt]?.finishViewCreation(e),e.staticContentQueries&&lm(e,t),e.staticViewQueries&&Tl(2,e.viewQuery,n);let i=e.components;i!==null&&zw(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[_]&=-5,$s()}}function zw(e,t){for(let n=0;n<t.length;n++)Hw(e,t[n])}function Jo(e,t,n,r){let o=S(null);try{let i=t.tView,a=e[_]&4096?4096:16,c=gd(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[cn]=u;let l=e[Tt];return l!==null&&(c[Tt]=l.createEmbeddedView(i)),_d(i,c,n),c}finally{S(o)}}function Pr(e,t){return!t||t.firstChild===null||Xg(e)}function Ho(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(ze(i)),it(i)&&jm(i,r);let s=n.type;if(s&8)Ho(e,t,n.child,r);else if(s&32){let a=yd(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Om(t,n);if(Array.isArray(a))r.push(...a);else{let c=an(t[Ee]);Ho(c[T],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function jm(e,t){for(let n=te;n<e.length;n++){let r=e[n],o=r[T].firstChild;o!==null&&Ho(r[T],r,o,t)}e[ln]!==e[rt]&&t.push(e[ln])}function Bm(e){if(e[Vn]!==null){for(let t of e[Vn])t.impl.addSequence(t);e[Vn].length=0}}var Um=[];function Gw(e){return e[Fe]??Ww(e)}function Ww(e){let t=Um.pop()??Object.create(Zw);return t.lView=e,t}function qw(e){e.lView[Fe]!==e&&(e.lView=null,Um.push(e))}var Zw=F(y({},Nn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{zn(e.lView)},consumerOnSignalRead(){this.lView[Fe]=this}});function Yw(e){let t=e[Fe]??Object.create(Qw);return t.lView=e,t}var Qw=F(y({},Nn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=an(e.lView);for(;t&&!Vm(t[T]);)t=an(t);t&&zu(t)},consumerOnSignalRead(){this.lView[Fe]=this}});function Vm(e){return e.type!==2}function Hm(e){if(e[sn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[sn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[_]&8192)}}var Kw=100;function $m(e,t=0){let r=e[ot].rendererFactory,o=!1;o||r.begin?.();try{Jw(e,t)}finally{o||r.end?.()}}function Jw(e,t){let n=tl();try{wo(!0),Ll(e,t);let r=0;for(;xo(e);){if(r===Kw)throw new m(103,!1);r++,Ll(e,1)}}finally{wo(n)}}function Xw(e,t,n,r){if($n(t))return;let o=t[_],i=!1,s=!1;Hs(t);let a=!0,c=null,u=null;i||(Vm(e)?(u=Gw(t),c=nn(u)):hs()===null?(a=!1,u=Yw(t),c=nn(u)):t[Fe]&&(rn(t[Fe]),t[Fe]=null));try{$u(t),Pp(e.bindingStartIndex),n!==null&&Pm(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Js(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Xs(t,f,0,null),ul(t,0)}if(s||eb(t),Hm(t),zm(t,0),e.contentQueries!==null&&lm(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Js(t,f)}else{let f=e.contentHooks;f!==null&&Xs(t,f,1),ul(t,1)}nb(e,t);let d=e.components;d!==null&&Wm(t,d,0);let h=e.viewQuery;if(h!==null&&Tl(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Js(t,f)}else{let f=e.viewHooks;f!==null&&Xs(t,f,2),ul(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ks]){for(let f of t[ks])f();t[ks]=null}i||(Bm(t),t[_]&=-73)}catch(l){throw i||zn(t),l}finally{u!==null&&(An(u,c),a&&qw(u)),$s()}}function zm(e,t){for(let n=tm(e);n!==null;n=nm(n))for(let r=te;r<n.length;r++){let o=n[r];Gm(o,t)}}function eb(e){for(let t=tm(e);t!==null;t=nm(t)){if(!(t[_]&2))continue;let n=t[Hn];for(let r=0;r<n.length;r++){let o=n[r];zu(o)}}}function tb(e,t,n){V(L.ComponentStart);let r=Ge(t,e);try{Gm(r,n)}finally{V(L.ComponentEnd,r[ee])}}function Gm(e,t){Fs(e)&&Ll(e,t)}function Ll(e,t){let r=e[T],o=e[_],i=e[Fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&yr(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)Xw(r,e,r.template,e[ee]);else if(o&8192){let a=S(null);try{Hm(e),zm(e,1);let c=r.components;c!==null&&Wm(e,c,1),Bm(e)}finally{S(a)}}}function Wm(e,t,n){for(let r=0;r<t.length;r++)tb(e,t[r],n)}function nb(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];Lp(s,i);let c=t[i];V(L.HostBindingsUpdateStart,c);try{a(2,c)}finally{V(L.HostBindingsUpdateEnd,c)}}}}finally{fn(-1)}}function Md(e,t){let n=tl()?64:1088;for(e[ot].changeDetectionScheduler?.notify(t);e;){e[_]|=n;let r=an(e);if(_r(e)&&!r)return e;e=r}return null}function qm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Zm(e,t){let n=te+t;if(n<e.length)return e[n]}function Xo(e,t,n,r=!0){let o=t[T];if(rb(o,t,e,n),r){let s=Fl(n,e),a=t[H],c=a.parentNode(e[ln]);c!==null&&Dw(o,e[Se],a,t,c,s)}let i=t[jn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ym(e,t){let n=$o(e,t);return n!==void 0&&ka(n[T],n),n}function $o(e,t){if(e.length<=te)return;let n=te+t,r=e[n];if(r){let o=r[cn];o!==null&&o!==e&&Ed(o,r),t>0&&(e[n-1][$e]=r[$e]);let i=Mo(e,te+t);vw(r[T],r);let s=i[Tt];s!==null&&s.detachView(i[T]),r[ue]=null,r[$e]=null,r[_]&=-129}return r}function rb(e,t,n,r){let o=te+r,i=n.length;r>0&&(n[o-1][$e]=t),r<i-te?(t[$e]=n[o],Ru(n,te+r,t)):(n.push(t),t[$e]=null),t[ue]=n;let s=t[cn];s!==null&&n!==s&&Qm(s,t);let a=t[Tt];a!==null&&a.insertView(e),Ls(t),t[_]|=128}function Qm(e,t){let n=e[Hn],r=t[ue];if(jt(r))e[_]|=2;else{let o=r[ue][Ee];t[Ee]!==o&&(e[_]|=2)}n===null?e[Hn]=[t]:n.push(t)}var hn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[T];return Ho(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[ee]}set context(t){this._lView[ee]=t}get destroyed(){return $n(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ue];if(it(t)){let n=t[Ro],r=n?n.indexOf(this):-1;r>-1&&($o(t,r),Mo(n,r))}this._attachedToViewContainer=!1}ka(this._lView[T],this._lView)}onDestroy(t){Gu(this._lView,t)}markForCheck(){Md(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Ls(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,$m(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=_r(this._lView),n=this._lView[cn];n!==null&&!t&&Ed(n,this._lView),Rm(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=_r(this._lView),r=this._lView[cn];r!==null&&!n&&Qm(r,this._lView),Ls(this._lView)}};var Fr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ob;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=Jo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new hn(i)}}return e})();function ob(){return La(de(),b())}function La(e,t){return e.type&4?new Fr(t,e,Ur(e,t)):null}function Vr(e,t,n,r,o){let i=e.data[t];if(i===null)i=ib(e,t,n,r,o),Fp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=xp();i.injectorIndex=s===null?-1:s.injectorIndex}return Mr(i,!0),i}function ib(e,t,n,r,o){let i=Ju(),s=Xu(),a=s?i:i&&i.parent,c=e.data[t]=ab(e,a,n,t,r,o);return sb(e,c,i,s),c}function sb(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 ab(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Yu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function cb(e){let t=e[ju]??[],r=e[ue][H],o=[];for(let i of t)i.data[sm]!==void 0?o.push(i):ub(i,r);e[ju]=o}function ub(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[im];for(;n<o;){let i=r.nextSibling;Dm(t,r,!1),r=i,n++}}}var lb=()=>null,db=()=>null;function la(e,t){return lb(e,t)}function Km(e,t,n){return db(e,t,n)}var Jm=class{},ja=class{},jl=class{resolveComponentFactory(t){throw new m(917,!1)}},ei=class{static NULL=new jl},Qn=class{},ti=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>fb()}return e})();function fb(){let e=b(),t=de(),n=Ge(t.index,e);return(jt(n)?n:e)[H]}var Xm=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>null})}return e})();var ta={},Bl=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ta,r);return o!==ta||n===ta?o:this.parentInjector.get(t,n,r)}};function da(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=Ts(o,a);else if(i==2){let c=a,u=t[++s];r=Ts(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Me(e,t=0){let n=b();if(n===null)return w(e,t);let r=de();return Yg(r,n,ce(e),t)}function Nd(){let e="invalid";throw new Error(e)}function ey(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}gb(e,t,n,a,i,c,u)}i!==null&&r!==null&&hb(n,r,i)}function hb(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 pb(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function gb(e,t,n,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let f=r[h];c===null&&st(f)&&(c=f,pb(e,n,h)),Il(aa(n,t),e,f.type)}Ib(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Sm(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=Or(n.mergedAttrs,f.hostAttrs),yb(e,n,t,d,f),Eb(d,f,o),s!==null&&s.has(f)){let[C,v]=s.get(f);n.directiveToIndex.set(f.type,[d,C+n.directiveStart,v+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++}mb(e,n,i)}function mb(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))vg(0,t,o,r),vg(1,t,o,r),Eg(t,r,!1);else{let i=n.get(o);Dg(0,t,i,r),Dg(1,t,i,r),Eg(t,r,!0)}}}function vg(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),ty(t,i)}}function Dg(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),ty(t,s)}}function ty(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Eg(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||hd(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 yb(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=on(o.type,!0)),s=new Zn(i,st(o),Me,null);e.blueprint[r]=s,n[r]=s,vb(e,t,r,Sm(e,n,o.hostVars,_e),o)}function vb(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Db(s)!=a&&s.push(a),s.push(n,r,i)}}function Db(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Eb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;st(t)&&(n[""]=e)}}function Ib(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Rd(e,t,n,r,o,i,s,a){let c=t[T],u=c.consts,l=Le(u,s),d=Vr(c,e,n,r,l);return i&&ey(c,t,d,Le(u,a),o),d.mergedAttrs=Or(d.mergedAttrs,d.attrs),d.attrs!==null&&da(d,d.attrs,!1),d.mergedAttrs!==null&&da(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Ad(e,t){Ug(e,t),Bu(t)&&e.queries.elementEnd(t)}function Cb(e,t,n,r,o,i){let s=t.consts,a=Le(s,o),c=Vr(t,e,n,r,a);if(c.mergedAttrs=Or(c.mergedAttrs,c.attrs),i!=null){let u=Le(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&da(c,c.attrs,!1),c.mergedAttrs!==null&&da(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Ba(e,t,n){return e[t]=n}function wb(e,t){return e[t]}function Be(e,t,n){if(n===_e)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function xd(e,t,n,r){let o=Be(e,t,n);return Be(e,t+1,r)||o}function bb(e,t,n,r,o){let i=xd(e,t,n,r);return Be(e,t+2,o)||i}function na(e,t,n){return function r(o){let i=Bt(e)?Ge(e.index,t):t;Md(i,5);let s=t[ee],a=Ig(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Ig(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Ig(e,t,n,r){let o=S(null);try{return V(L.OutputStart,t,n),n(r)!==!1}catch(i){return Vw(e,i),!1}finally{V(L.OutputEnd,t,n),S(o)}}function ny(e,t,n,r,o,i,s,a){let c=Sr(e),u=!1,l=null;if(!r&&c&&(l=Sb(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=at(e,n),h=r?r(d):d;yC(n,h,i,a);let f=o.listen(h,i,a);if(!Tb(i)){let g=r?C=>r(ze(C[e.index])):e.index;ry(g,t,n,i,a,f,!1)}}return u}function Tb(e){return e.startsWith("animation")||e.startsWith("transition")}function Sb(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[br],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function ry(e,t,n,r,o,i,s){let a=t.firstCreatePass?qu(t):null,c=Wu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Cg(e,t,n,r,o,i){let s=t[n],a=t[T],u=a.data[n].outputs[r],d=s[u].subscribe(i);ry(e.index,a,t,o,i,d,!0)}var Ul=Symbol("BINDING");function oy(e){return e.debugInfo?.className||e.type.name||null}var fa=class extends ei{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=wt(t);return new pn(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&Ra.SignalBased)!==0};return o&&(i.transform=o),i})}function Mb(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Nb(e,t,n){let r=t instanceof K?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Bl(n,r):n}function Rb(e){let t=e.get(Qn,null);if(t===null)throw new m(407,!1);let n=e.get(Xm,null),r=e.get(et,null),o=e.get(ft,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function Ab(e,t){let n=iy(e);return ym(t,n,n==="svg"?Uu:n==="math"?Cp:null)}function iy(e){return(e.selectors[0][0]||"div").toLowerCase()}var pn=class extends ja{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??=Mb(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=iw(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){V(L.DynamicComponentStart);let a=S(null);try{let c=this.componentDef,u=Nb(c,o||this.ngModule,t),l=Rb(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(oy(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{S(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=xb(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?Rw(u,o,a.encapsulation,n):Ab(a,u),d=s?.some(wg)||i?.some(g=>typeof g!="function"&&g.bindings.some(wg)),h=gd(null,c,null,512|Tm(a),null,null,t,u,n,null,um(l,n,!0));h[W]=l,Hs(h);let f=null;try{let g=Rd(W,h,2,"#host",()=>c.directiveRegistry,!0,0);Em(u,l,g),kr(l,h),Fa(c,h,g),ad(c,g,h),Ad(c,g),r!==void 0&&kb(g,this.ngContentSelectors,r),f=Ge(g.index,h),h[ee]=f[ee],_d(c,h,null)}catch(g){throw f!==null&&wl(f),wl(h),g}finally{V(L.DynamicComponentEnd),$s()}return new ha(this.componentType,h,!!d)}};function xb(e,t,n,r){let o=e?["ng-version","21.2.6"]:sw(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=Ms(d);c.push(h)}return pd(0,null,Ob(i,s),1,a,c,null,null,null,[o],null)}function Ob(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 wg(e){let t=e[Ul].kind;return t==="input"||t==="twoWay"}var ha=class extends Jm{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Ps(n[T],W),this.location=Ur(this._tNode,n),this.instance=Ge(this._tNode.index,n)[ee],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=Sd(r,o[T],o,t,n);this.previousInputValues.set(t,n);let s=Ge(r.index,o);Md(s,1)}get injector(){return new qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function kb(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 gn=(()=>{class e{static __NG_ELEMENT_ID__=Pb}return e})();function Pb(){let e=de();return sy(e,b())}var Vl=class e extends gn{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ur(this._hostTNode,this._hostLView)}get injector(){return new qn(this._hostTNode,this._hostLView)}get parentInjector(){let t=od(this._hostTNode,this._hostLView);if($g(t)){let n=ia(t,this._hostLView),r=oa(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=bg(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-te}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=la(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Pr(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!zI(t),u;if(c)u=n;else{let v=n||{};u=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}let l=c?t:new pn(wt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let I=(c?d:this.parentInjector).get(K,null);I&&(i=I)}let h=wt(l.componentType??{}),f=la(this._lContainer,h?.id??null),g=f?.firstChild??null,C=l.create(d,o,g,i,s,a);return this.insertImpl(C.hostView,u,Pr(this._hostTNode,f)),C}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(bp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ue],u=new e(c,c[Se],c[ue]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Xo(s,o,i,r),t.attachToViewContainerRef(),Ru(fl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=bg(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=$o(this._lContainer,n);r&&(Mo(fl(this._lContainer),n),ka(r[T],r))}detach(t){let n=this._adjustIndex(t,-1),r=$o(this._lContainer,n);return r&&Mo(fl(this._lContainer),n)!=null?new hn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function bg(e){return e[Ro]}function fl(e){return e[Ro]||(e[Ro]=[])}function sy(e,t){let n,r=t[e.index];return it(r)?n=r:(n=qm(r,t,null,e),t[e.index]=n,md(t,n)),Lb(n,t,e,r),new Vl(n,e,t)}function Fb(e,t){let n=e[H],r=n.createComment(""),o=at(t,e),i=n.parentNode(o);return ua(n,i,r,n.nextSibling(o),!1),r}var Lb=Ub,jb=()=>!1;function Bb(e,t,n){return jb(e,t,n)}function Ub(e,t,n,r){if(e[ln])return;let o;n.type&8?o=ze(r):o=Fb(t,n),e[ln]=o}var Hl=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},$l=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++)kd(t,n).matches!==null&&this.queries[n].setDirty()}},pa=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,Vb(n,i)),this.matchTNodeWithReadOption(t,n,ea(n,t,i,!1,!1))}else r===Fr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ea(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Vt||o===gn||o===Fr&&n.type&4)this.addMatch(n.index,-2);else{let i=ea(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 Hb(e,t){return e.type&11?Ur(e,t):e.type&4?La(e,t):null}function $b(e,t,n,r){return n===-1?Hb(t,e):n===-2?zb(e,t,r):Uo(e,e[T],n,t)}function zb(e,t,n){if(n===Vt)return Ur(t,e);if(n===Fr)return La(t,e);if(n===gn)return sy(t,e)}function ay(e,t,n,r){let o=t[Tt].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 Wl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ay(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=te;d<l.length;d++){let h=l[d];h[cn]===h[ue]&&Wl(h[T],h,u,r)}if(l[Hn]!==null){let d=l[Hn];for(let h=0;h<d.length;h++){let f=d[h];Wl(f[T],f,u,r)}}}}}return r}function Od(e,t){return e[Tt].queries[t].queryList}function cy(e,t,n){let r=new ca((n&4)===4);return _p(e,t,r,r.destroy),(t[Tt]??=new $l).queries.push(new Hl(r))-1}function uy(e,t,n){let r=q();return r.firstCreatePass&&(dy(r,new pa(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),cy(r,b(),t)}function ly(e,t,n,r){let o=q();if(o.firstCreatePass){let i=de();dy(o,new pa(t,n,r),i.index),Wb(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return cy(o,b(),n)}function Gb(e){return e.split(",").map(t=>t.trim())}function dy(e,t,n){e.queries===null&&(e.queries=new zl),e.queries.track(new Gl(t,n))}function Wb(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 kd(e,t){return e.queries.getByIndex(t)}function fy(e,t){let n=e[T],r=kd(n,t);return r.crossesNgTemplate?Wl(n,e,t,[]):ay(n,e,r,t)}function hy(e,t,n){let r,o=vo(()=>{r._dirtyCounter();let i=qb(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[ae],r._dirtyCounter=Wn(0),r._flatValue=void 0,o}function Pd(e){return hy(!0,!1,e)}function Fd(e){return hy(!0,!0,e)}function py(e,t){let n=e[ae];n._lView=b(),n._queryIndex=t,n._queryList=Od(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[_]&4)return t?void 0:De;let o=Od(n,r),i=fy(n,r);return o.reset(i,Jg),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Kn=class{},Ua=class{};var ga=class extends Kn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new fa(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=_u(t);this._bootstrapComponents=Cm(i.bootstrap),this._r3Injector=ol(t,n,[{provide:Kn,useValue:this},{provide:ei,useValue:this.componentFactoryResolver},...r],So(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)}},ma=class extends Ua{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ga(this.moduleType,t,[])}};var zo=class extends Kn{injector;componentFactoryResolver=new fa(this);instance=null;constructor(t){super();let n=new Pn([...t.providers,{provide:Kn,useValue:this},{provide:ei,useValue:this.componentFactoryResolver}],t.parent||wr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Hr(e,t,n=null){return new zo({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=Ou(!1,n.type),o=r.length>0?Hr([r],this._injector,""):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=E({token:e,providedIn:"environment",factory:()=>new e(w(K))})}return e})();function Ld(e){return Wo(()=>{let t=gy(e),n=F(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===id.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||lt.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&ht("NgStandalone"),my(n);let r=e.dependencies;return n.directiveDefs=Tg(r,Yb),n.pipeDefs=Tg(r,ap),n.id=Jb(n),n})}function Yb(e){return wt(e)||Ms(e)}function mn(e){return Wo(()=>({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 tt;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=Ra.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Kb(e){if(e==null)return tt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Xn(e){return Wo(()=>{let t=gy(e);return my(t),t})}function ni(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 gy(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||tt,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,controlDef:null,inputs:Qb(e.inputs,t),outputs:Kb(e.outputs),debugInfo:null}}function my(e){e.features?.forEach(t=>t(e))}function Tg(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){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=eT,n.hostDirectives=r?e.map(ql):[e]):r?n.hostDirectives.unshift(...e.map(ql)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function eT(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,yy(s,t,r),o.set(s,[a,t.length-1])}i===0&&st(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 yy(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)Sg(ql(i),t,n)}else Sg(r,t,n)}function Sg(e,t,n){let r=Ms(e.directive);tT(r.declaredInputs,e.inputs),yy(r,t,n),n.set(r,e),t.push(r)}function ql(e){return typeof e=="function"?{directive:ce(e),inputs:tt,outputs:tt}:{directive:ce(e.directive),inputs:_g(e.inputs),outputs:_g(e.outputs)}}function _g(e){if(e===void 0||e.length===0)return tt;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function tT(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function nT(e){return Object.getPrototypeOf(e.prototype).constructor}function vy(e){let t=nT(e.type),n=!0,r=[e];for(;t;){let o;if(st(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=hl(e.inputs),s.declaredInputs=hl(e.declaredInputs),s.outputs=hl(e.outputs);let a=o.hostBindings;a&&aT(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&iT(e,c),u&&sT(e,u),rT(e,o),sp(e.outputs,o.outputs),st(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===vy&&(n=!1)}}t=Object.getPrototypeOf(t)}oT(r)}function rT(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 oT(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=Or(o.hostAttrs,n=Or(n,o.hostAttrs))}}function hl(e){return e===tt?{}:e===De?[]:e}function iT(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function sT(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function aT(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Dy(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Or(e.mergedAttrs,e.attrs);let l=e.tView=pd(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),Mr(e,!1);let c=uT(n,t,e,r);zs()&&Id(n,t,c,e),kr(c,t);let u=qm(c,t,c,e);t[r+W]=u,md(t,u),Bb(u,e,t)}function cT(e,t,n,r,o,i,s,a,c,u,l){let d=n+W,h;return t.firstCreatePass?(h=Vr(t,d,4,s||null,a||null),js()&&ey(t,e,h,Le(t.consts,u),wd),Ug(t,h)):h=t.data[d],Dy(h,e,t,n,r,o,i,c),Sr(h)&&Fa(t,e,h),u!=null&&Ko(e,h,l),h}function Lr(e,t,n,r,o,i,s,a,c,u,l){let d=n+W,h;if(t.firstCreatePass){if(h=Vr(t,d,4,s||null,a||null),u!=null){let f=Le(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 Dy(h,e,t,n,r,o,i,c),u!=null&&Ko(e,h,l),h}function Ey(e,t,n,r,o,i,s,a){let c=b(),u=q(),l=Le(u.consts,i);return cT(c,u,e,t,n,r,o,l,void 0,s,a),Ey}function Iy(e,t,n,r,o,i,s,a){let c=b(),u=q(),l=Le(u.consts,i);return Lr(c,u,e,t,n,r,o,l,void 0,s,a),Iy}var uT=lT;function lT(e,t,n,r){return Po(!0),t[H].createComment("")}var Va=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function jd(e){return typeof e=="function"&&e[ae]!==void 0}function Bd(e){return jd(e)&&typeof e.set=="function"}var Ud=new D("");function er(e){return!!e&&typeof e.then=="function"}function Ha(e){return!!e&&typeof e.subscribe=="function"}var Vd=new D("");function $a(e){return nt([{provide:Vd,multi:!0,useValue:e}])}var Hd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(Vd,{optional:!0})??[];injector=p(pe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=le(this.injector,o);if(er(i))n.push(i);else if(Ha(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ri=new D("");function Cy(){nu(()=>{let e="";throw new m(600,e)})}function wy(e){return e.isBoundToModule}var dT=10;var yn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Re);afterRenderManager=p(xa);zonelessEnabled=p(Rr);rootEffectScheduler=p(qs);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new oe;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(_t);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(B(n=>!n))}constructor(){p(ft,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(K);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=pe.NULL){return this._injector.get(J).run(()=>{V(L.BootstrapComponentStart);let s=n instanceof ja;if(!this._injector.get(Hd).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(ei).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=wy(c)?void 0:this._injector.get(Kn),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get(Ud,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Bo(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),V(L.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){V(L.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Aa.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw V(L.ChangeDetectionEnd),new m(101,!1);let n=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(n),this.afterTick.next(),V(L.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Qn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<dT;){V(L.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{V(L.ChangeDetectionSyncEnd)}}}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&&!xo(o))continue;let i=r&&!this.zonelessEnabled?0:1;$m(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})=>xo(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;Bo(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(ri,[]).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),()=>Bo(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function $d(e,t,n,r){let o=b(),i=dn();if(Be(o,i,t)){let s=q(),a=ko();jw(a,o,e,t,n,r)}return $d}function fT(){return b()[Ee][ee]}var Zl=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))}};function pl(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function hT(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){S(r);let u=t.length-1;for(S(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],h=pl(s,l,s,d,n);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),g=t[u],C=pl(a,f,u,g,n);if(C!==0){C<0&&e.updateValue(a,g),a--,u--;continue}let v=n(s,l),I=n(a,f),P=n(s,d);if(Object.is(P,I)){let he=n(u,g);Object.is(he,v)?(e.swap(s,a),e.updateValue(a,g),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ya,i??=Ng(e,s,a,n),Yl(e,o,s,P))e.updateValue(s,d),s++,a++;else if(i.has(P))o.set(v,e.detach(s)),a--;else{let he=e.create(s,t[s]);e.attach(s,he),s++,a++}}for(;s<=u;)Mg(e,o,n,s,t[s]),s++}else if(t!=null){S(r);let u=t[Symbol.iterator]();S(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),h=l.value,f=pl(s,d,s,h,n);if(f!==0)f<0&&e.updateValue(s,h),s++,l=u.next();else{o??=new ya,i??=Ng(e,s,a,n);let g=n(s,h);if(Yl(e,o,s,g))e.updateValue(s,h),s++,a++,l=u.next();else if(!i.has(g))e.attach(s,e.create(s,h)),s++,a++,l=u.next();else{let C=n(s,d);o.set(C,e.detach(s)),a--}}}for(;!l.done;)Mg(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function Yl(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Mg(e,t,n,r,o){if(Yl(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ng(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 ya=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 pT(e,t,n,r,o,i,s,a){ht("NgControlFlow");let c=b(),u=q(),l=Le(u.consts,i);return Lr(c,u,e,t,n,r,o,l,256,s,a),zd}function zd(e,t,n,r,o,i,s,a){ht("NgControlFlow");let c=b(),u=q(),l=Le(u.consts,i);return Lr(c,u,e,t,n,r,o,l,512,s,a),zd}function gT(e,t){ht("NgControlFlow");let n=b(),r=dn(),o=n[r]!==_e?n[r]:-1,i=o!==-1?va(n,W+o):void 0,s=0;if(Be(n,r,e)){let a=S(null);try{if(i!==void 0&&Ym(i,s),e!==-1){let c=W+e,u=va(n,c),l=Xl(n[T],c),d=Km(u,l,n),h=Jo(n,l,t,{dehydratedView:d});Xo(u,h,s,Pr(l,d))}}finally{S(a)}}else if(i!==void 0){let a=Zm(i,s);a!==void 0&&(a[ee]=t)}}var Ql=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-te}};function mT(e){return e}function yT(e,t){return t}var Kl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function vT(e,t,n,r,o,i,s,a,c,u,l,d,h){ht("NgControlFlow");let f=b(),g=q(),C=c!==void 0,v=b(),I=a?s.bind(v[Ee][ee]):s,P=new Kl(C,I);v[W+e]=P,Lr(f,g,e+1,t,n,r,o,Le(g.consts,i),256),C&&Lr(f,g,e+2,c,u,l,d,Le(g.consts,h),512)}var Jl=class extends Zl{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-te}at(t){return this.getLView(t)[ee].$implicit}attach(t,n){let r=n[jn];this.needsIndexUpdate||=t!==this.length,Xo(this.lContainer,n,t,Pr(this.templateTNode,r)),ET(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,IT(this.lContainer,t),CT(this.lContainer,t)}create(t,n){let r=la(this.lContainer,this.templateTNode.tView.ssrId);return Jo(this.hostLView,this.templateTNode,new Ql(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ka(t[T],t)}updateValue(t,n){this.getLView(t)[ee].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ee].$index=t}getLView(t){return wT(this.lContainer,t)}};function DT(e){let t=S(null),n=St();try{let r=b(),o=r[T],i=r[n],s=n+1,a=va(r,s);if(i.liveCollection===void 0){let u=Xl(o,s);i.liveCollection=new Jl(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(hT(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=dn(),l=c.length===0;if(Be(r,u,l)){let d=n+2,h=va(r,d);if(l){let f=Xl(o,d),g=Km(h,f,r),C=Jo(r,f,void 0,{dehydratedView:g});Xo(h,C,0,Pr(f,g))}else o.firstUpdatePass&&cb(h),Ym(h,0)}}}finally{S(t)}}function va(e,t){return e[t]}function ET(e,t){if(e.length<=te)return;let n=te+t,r=e[n],o=r?r[un]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Ft];mw(i,o),Yn.delete(r[Lt]),o.detachedLeaveAnimationFns=void 0}}function IT(e,t){if(e.length<=te)return;let n=te+t,r=e[n],o=r?r[un]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function CT(e,t){return $o(e,t)}function wT(e,t){return Zm(e,t)}function Xl(e,t){return Ps(e,t)}function by(e,t,n){let r=b(),o=dn();if(Be(r,o,t)){let i=q(),s=ko();Fm(s,r,e,t,r[H],n)}return by}function ed(e,t,n,r,o){Sd(t,e,n,o?"class":"style",r)}function Da(e,t,n,r){let o=b(),i=o[T],s=e+W,a=i.firstCreatePass?Rd(s,o,2,t,wd,js(),n,r):i.data[s];if(Bt(a)){let c=o[ot].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(oy(u),()=>(Rg(e,t,o,a,r),Da))}}return Rg(e,t,o,a,r),Da}function Rg(e,t,n,r,o){if(bd(r,n,e,t,Sy),Sr(r)){let i=n[T];Fa(i,n,r),ad(i,r,n)}o!=null&&Ko(n,r)}function Gd(){let e=q(),t=de(),n=Td(t);return e.firstCreatePass&&Ad(e,n),Qu(n)&&Ku(),Zu(),n.classesWithoutHost!=null&&QI(n)&&ed(e,n,b(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&KI(n)&&ed(e,n,b(),n.stylesWithoutHost,!1),Gd}function za(e,t,n,r){return Da(e,t,n,r),Gd(),za}function Wd(e,t,n,r){let o=b(),i=o[T],s=e+W,a=i.firstCreatePass?Cb(s,i,2,t,n,r):i.data[s];return bd(a,o,e,t,Sy),r!=null&&Ko(o,a),Wd}function qd(){let e=de(),t=Td(e);return Qu(t)&&Ku(),Zu(),qd}function Ty(e,t,n,r){return Wd(e,t,n,r),qd(),Ty}var Sy=(e,t,n,r,o)=>(Po(!0),ym(t[H],r,Wp()));function Zd(e,t,n){let r=b(),o=r[T],i=e+W,s=o.firstCreatePass?Rd(i,r,8,"ng-container",wd,js(),t,n):o.data[i];if(bd(s,r,e,"ng-container",bT),Sr(s)){let a=r[T];Fa(a,r,s),ad(a,s,r)}return n!=null&&Ko(r,s),Zd}function Yd(){let e=q(),t=de(),n=Td(t);return e.firstCreatePass&&Ad(e,n),Yd}function _y(e,t,n){return Zd(e,t,n),Yd(),_y}var bT=(e,t,n,r,o)=>(Po(!0),$C(t[H],""));function TT(){return b()}function My(e,t,n){let r=b(),o=dn();if(Be(r,o,t)){let i=q(),s=ko();Lm(s,r,e,t,r[H],n)}return My}var Fo=void 0;function ST(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var _T=["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"]],Fo,[["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"]],Fo,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Fo,Fo,Fo],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",ST],gl={};function Ae(e){let t=MT(e),n=Ag(t);if(n)return n;let r=t.split("-")[0];if(n=Ag(r),n)return n;if(r==="en")return _T;throw new m(701,!1)}function Ag(e){return e in gl||(gl[e]=He.ng&&He.ng.common&&He.ng.common.locales&&He.ng.common.locales[e]),gl[e]}var ne=(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})(ne||{});function MT(e){return e.toLowerCase().replace(/_/g,"-")}var oi="en-US";var NT=oi;function Ny(e){typeof e=="string"&&(NT=e.toLowerCase().replace(/_/g,"-"))}function Qd(e,t,n){let r=b(),o=q(),i=de();return Ay(o,r,r[H],i,e,t,n),Qd}function Ry(e,t,n){let r=b(),o=q(),i=de();return(i.type&3||n)&&ny(i,o,r,n,r[H],e,t,na(i,r,t)),Ry}function Ay(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=na(r,t,i),ny(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??=na(r,t,i),Cg(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=na(r,t,i),Cg(r,t,d,o,o,c)}}function RT(e=1){return $p(e)}function AT(e,t){let n=null,r=ew(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?bm(e,i,!0):rw(r,i))return o}return n}function xT(e){let t=b()[Ee][Se];if(!t.projection){let n=e?e.length:1,r=t.projection=hp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?AT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function OT(e,t=0,n,r,o,i){let s=b(),a=q(),c=r?e+1:null;c!==null&&Lr(s,a,c,r,o,i,null,n);let u=Vr(a,W+e,16,null,n||null);u.projection===null&&(u.projection=t),el();let d=!s[jn]||Yu();s[Ee][Se].projection[u.projection]===null&&c!==null?kT(s,a,c):d&&!_a(u)&&_w(a,s,u)}function kT(e,t,n){let r=W+n,o=t.data[r],i=e[r],s=la(i,o.tView.ssrId),a=Jo(e,o,void 0,{dehydratedView:s});Xo(i,a,0,Pr(o,s))}function Kd(e,t,n,r){return ly(e,t,n,r),Kd}function xy(e,t,n){return uy(e,t,n),xy}function Oy(e){let t=b(),n=q(),r=Vs();Oo(r+1);let o=kd(n,r);if(e.dirty&&wp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=fy(t,r);e.reset(i,Jg),e.notifyOnChanges()}return!0}return!1}function ky(){return Od(b(),Vs())}function Py(e,t,n,r,o){return py(t,ly(e,n,r,o)),Py}function Fy(e,t,n,r){return py(e,uy(t,n,r)),Fy}function PT(e=1){Oo(Vs()+e)}function FT(e){let t=Op();return Ao(t,W+e)}function Ks(e,t){return e<<17|t<<2}function Jn(e){return e>>17&32767}function LT(e){return(e&2)==2}function jT(e,t){return e&131071|t<<17}function td(e){return e|2}function jr(e){return(e&131068)>>2}function ml(e,t){return e&-131069|t<<2}function BT(e){return(e&1)===1}function nd(e){return e|1}function UT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Jn(s),c=jr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Cr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=Jn(e[a+1]);e[r+1]=Ks(h,a),h!==0&&(e[h+1]=ml(e[h+1],r)),e[a+1]=jT(e[a+1],r)}else e[r+1]=Ks(a,0),a!==0&&(e[a+1]=ml(e[a+1],r)),a=r;else e[r+1]=Ks(c,0),a===0?a=r:e[c+1]=ml(e[c+1],r),c=r;u&&(e[r+1]=td(e[r+1])),xg(e,l,r,!0),xg(e,l,r,!1),VT(t,l,e,r,i),s=Ks(a,c),i?t.classBindings=s:t.styleBindings=s}function VT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Cr(i,t)>=0&&(n[r+1]=nd(n[r+1]))}function xg(e,t,n,r){let o=e[n+1],i=t===null,s=r?Jn(o):jr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];HT(c,t)&&(a=!0,e[s+1]=r?nd(u):td(u)),s=r?Jn(u):jr(u)}a&&(e[n+1]=r?td(o):nd(o))}function HT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Cr(e,t)>=0:!1}var ut={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $T(e){return e.substring(ut.key,ut.keyEnd)}function zT(e){return GT(e),Ly(e,jy(e,0,ut.textEnd))}function Ly(e,t){let n=ut.textEnd;return n===t?-1:(t=ut.keyEnd=WT(e,ut.key=t,n),jy(e,t,n))}function GT(e){ut.key=0,ut.keyEnd=0,ut.value=0,ut.valueEnd=0,ut.textEnd=e.length}function jy(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function WT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function By(e,t,n){return Vy(e,t,n,!1),By}function Uy(e,t){return Vy(e,t,null,!0),Uy}function qT(e){YT(tS,ZT,e,!0)}function ZT(e,t){for(let n=zT(t);n>=0;n=Ly(t,n))xs(e,$T(t),!0)}function Vy(e,t,n,r){let o=b(),i=q(),s=Bs(2);if(i.firstUpdatePass&&$y(i,e,s,r),t!==_e&&Be(o,s,t)){let a=i.data[St()];zy(i,a,o,o[H],e,o[s+1]=rS(t,n),r,s)}}function YT(e,t,n,r){let o=q(),i=Bs(2);o.firstUpdatePass&&$y(o,null,i,r);let s=b();if(n!==_e&&Be(s,i,n)){let a=o.data[St()];if(Gy(a,r)&&!Hy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ts(c,n||"")),ed(o,a,s,n,r)}else nS(o,a,s,s[H],s[i+1],s[i+1]=eS(e,t,n),r,i)}}function Hy(e,t){return t>=e.expandoStartIndex}function $y(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[St()],s=Hy(e,n);Gy(i,r)&&t===null&&!s&&(t=!1),t=QT(o,i,t,r),UT(o,i,t,n,s,r)}}function QT(e,t,n,r){let o=Bp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=yl(null,e,t,n,r),n=Go(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=yl(o,e,t,n,r),i===null){let c=KT(e,t,r);c!==void 0&&Array.isArray(c)&&(c=yl(null,e,t,c[1],r),c=Go(c,t.attrs,r),JT(e,t,r,c))}else i=XT(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function KT(e,t,n){let r=n?t.classBindings:t.styleBindings;if(jr(r)!==0)return e[Jn(r)]}function JT(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Jn(o)]=r}function XT(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Go(r,s,n)}return Go(r,t.attrs,n)}function yl(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=Go(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Go(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]),xs(e,s,n?!0:t[++i]))}return e===void 0?null:e}function eS(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(o instanceof Set)for(let i of o)e(r,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 tS(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&xs(e,r,n)}function nS(e,t,n,r,o,i,s,a){o===_e&&(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,C;l===d?(c+=2,u+=2,h!==f&&(g=d,C=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,C=f),g!==null&&zy(e,t,n,r,g,C,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=BT(u)?Og(c,t,n,o,jr(u),s):void 0;if(!Ea(l)){Ea(i)||LT(u)&&(i=Og(c,null,n,o,a,s));let d=Vu(St(),n);Nw(r,s,d,o,i)}}function Og(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===_e&&(h=d?De:void 0);let f=d?Os(h,r):l===r?h:void 0;if(u&&!Ea(f)&&(f=Os(c,r)),Ea(f)&&(a=f,s))return a;let g=e[o+1];o=s?Jn(g):jr(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Os(c,r))}return a}function Ea(e){return e!==void 0}function rS(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=So(We(e)))),e}function Gy(e,t){return(e.flags&(t?8:16))!==0}function oS(e,t=""){let n=b(),r=q(),o=e+W,i=r.firstCreatePass?Vr(r,o,1,t,null):r.data[o],s=iS(r,n,i,t);n[o]=s,zs()&&Id(r,n,s,i),Mr(i,!1)}var iS=(e,t,n,r)=>(Po(!0),VC(t[H],r));function Wy(e,t,n,r=""){return Be(e,dn(),n)?t+Ln(n)+r:_e}function sS(e,t,n,r,o,i=""){let s=kp(),a=xd(e,s,n,o);return Bs(2),a?t+Ln(n)+r+Ln(o)+i:_e}function qy(e){return Jd("",e),qy}function Jd(e,t,n){let r=b(),o=Wy(r,e,t,n);return o!==_e&&Yy(r,St(),o),Jd}function Zy(e,t,n,r,o){let i=b(),s=sS(i,e,t,n,r,o);return s!==_e&&Yy(i,St(),s),Zy}function Yy(e,t,n){let r=Vu(t,e);HC(e[H],r,n)}function Qy(e,t,n){Bd(t)&&(t=t());let r=b(),o=dn();if(Be(r,o,t)){let i=q(),s=ko();Fm(s,r,e,t,r[H],n)}return Qy}function aS(e,t){let n=Bd(e);return n&&e.set(t),n}function Ky(e,t){let n=b(),r=q(),o=de();return Ay(r,n,n[H],o,e,t),Ky}function cS(e,t,n=""){return Wy(b(),e,t,n)}function kg(e,t,n){let r=q();r.firstCreatePass&&Jy(t,r.data,r.blueprint,st(e),n)}function Jy(e,t,n,r,o){if(e=ce(e),Array.isArray(e))for(let i=0;i<e.length;i++)Jy(e[i],t,n,r,o);else{let i=q(),s=b(),a=de(),c=kn(e)?e:ce(e.provide),u=Pu(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(kn(e)||!e.multi){let f=new Zn(u,o,Me,null),g=Dl(c,t,o?l:l+h,d);g===-1?(Il(aa(a,s),i,c),vl(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=Dl(c,t,l+h,d),g=Dl(c,t,l,l+h),C=f>=0&&n[f],v=g>=0&&n[g];if(o&&!v||!o&&!C){Il(aa(a,s),i,c);let I=dS(o?lS:uS,n.length,o,r,u,e);!o&&v&&(n[g].providerFactory=I),vl(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(I),s.push(I)}else{let I=Xy(n[o?g:f],u,!o&&r);vl(i,e,f>-1?f:g,I)}!o&&r&&v&&n[g].componentProviders++}}}function vl(e,t,n,r){let o=kn(t),i=Dp(t);if(o||i){let c=(i?ce(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 Xy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Dl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function uS(e,t,n,r,o){return rd(this.multi,[])}function lS(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Uo(r,r[T],this.providerFactory.index,o);s=c.slice(0,a),rd(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],rd(i,s);return s}function rd(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function dS(e,t,n,r,o,i){let s=new Zn(e,n,Me,null);return s.multi=[],s.index=t,s.componentProviders=0,Xy(s,o,r&&!n),s}function fS(e,t){return n=>{n.providersResolver=(r,o)=>kg(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>kg(r,o?o(t):t,!0))}}function hS(e,t){let n=Gn()+e,r=b();return r[n]===_e?Ba(r,n,t()):wb(r,n)}function pS(e,t,n){return ev(b(),Gn(),e,t,n)}function gS(e,t,n,r){return tv(b(),Gn(),e,t,n,r)}function Xd(e,t){let n=e[t];return n===_e?void 0:n}function ev(e,t,n,r,o,i){let s=t+n;return Be(e,s,o)?Ba(e,s+1,i?r.call(i,o):r(o)):Xd(e,s+1)}function tv(e,t,n,r,o,i,s){let a=t+n;return xd(e,a,o,i)?Ba(e,a+2,s?r.call(s,o,i):r(o,i)):Xd(e,a+2)}function mS(e,t,n,r,o,i,s,a){let c=t+n;return bb(e,c,o,i,s)?Ba(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Xd(e,c+3)}function yS(e,t){let n=q(),r,o=e+W;n.firstCreatePass?(r=vS(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=on(r.type,!0)),s,a=be(Me);try{let c=sa(!1),u=i();return sa(c),Hu(n,b(),o,u),u}finally{be(a)}}function vS(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function DS(e,t,n){let r=e+W,o=b(),i=Ao(o,r);return ef(o,r)?ev(o,Gn(),t,i.transform,n,i):i.transform(n)}function ES(e,t,n,r){let o=e+W,i=b(),s=Ao(i,o);return ef(i,o)?tv(i,Gn(),t,s.transform,n,r,s):s.transform(n,r)}function IS(e,t,n,r,o){let i=e+W,s=b(),a=Ao(s,i);return ef(s,i)?mS(s,Gn(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function ef(e,t){return e[T].data[t].pure}function CS(e,t){return La(e,t)}var Ia=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},tf=(()=>{class e{compileModuleSync(n){return new ma(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=_u(n),i=Cm(o.declarations).reduce((s,a)=>{let c=wt(a);return c&&s.push(new pn(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var nv=(()=>{class e{applicationErrorHandler=p(Re);appRef=p(yn);taskService=p(_t);ngZone=p(J);zonelessEnabled=p(Rr);tracing=p(ft,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new re;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(bo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(Gs,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;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;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Yp:sl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(bo+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.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rv(){return[{provide:et,useExisting:nv},{provide:J,useClass:To},{provide:Rr,useValue:!0}]}function wS(){return typeof $localize<"u"&&$localize.locale||oi}var $r=new D("",{factory:()=>p($r,{optional:!0,skipSelf:!0})||wS()});function qe(e){return tp(e)}function nf(e,t){return vo(e,t?.equal)}var uv=Symbol("InputSignalNode#UNSET"),jS=F(y({},Do),{transformFn:void 0,applyValueToInputSignal(e,t){Dr(e,t)}});function lv(e,t){let n=Object.create(jS);n.value=e,n.transformFn=t?.transform;function r(){if(Rn(n),n.value===uv){let o=null;throw new m(-950,o)}return n.value}return r[ae]=n,r}var of=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ca(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function ov(e,t){return lv(e,t)}function BS(e){return lv(uv,e)}var dv=(ov.required=BS,ov);function iv(e,t){return Pd(t)}function US(e,t){return Fd(t)}var xH=(iv.required=US,iv);function sv(e,t){return Pd(t)}function VS(e,t){return Fd(t)}var OH=(sv.required=VS,sv);var HS=(()=>{class e{zone=p(J);changeDetectionScheduler=p(et);applicationRef=p(yn);applicationErrorHandler=p(Re);_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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$S=new D("",{factory:()=>!1});function zS({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new J(F(y({},fv()),{scheduleInRootZone:t})),[{provide:Rr,useValue:!1},{provide:J,useFactory:e},{provide:bt,multi:!0,useFactory:()=>{let n=p(HS,{optional:!0});return()=>n.initialize()}},{provide:bt,multi:!0,useFactory:()=>{let n=p(GS);return()=>{n.initialize()}}},{provide:Gs,useValue:t??il}]}function kH(e){let t=e?.scheduleInRootZone,n=zS({ngZoneFactory:()=>{let r=fv(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&ht("NgZone_CoalesceEvent"),new J(r)},scheduleInRootZone:t});return nt([{provide:$S,useValue:!0},n])}function fv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var GS=(()=>{class e{subscription=new re;initialized=!1;zone=p(J);pendingTasks=p(_t);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(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var sf=new D(""),WS=new D("");function ii(e){return!e.moduleRef}function qS(e){let t=ii(e)?e.r3Injector:e.moduleRef.injector,n=t.get(J);return n.run(()=>{ii(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Re),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ii(e)){let i=()=>t.destroy(),s=e.platformInjector.get(sf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(sf);s.add(i),e.moduleRef.onDestroy(()=>{Bo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return YS(r,n,()=>{let i=t.get(_t),s=i.add(),a=t.get(Hd);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get($r,oi);if(Ny(c||oi),!t.get(WS,!0))return ii(e)?t.get(yn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ii(e)){let l=t.get(yn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return ZS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var ZS;function YS(e,t,n){try{let r=n();return er(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ga=null;function QS(e=[],t){return pe.create({name:t,providers:[{provide:No,useValue:"platform"},{provide:sf,useValue:new Set([()=>Ga=null])},...e]})}function KS(e=[]){if(Ga)return Ga;let t=QS(e);return Ga=t,Cy(),JS(t),t}function JS(e){let t=e.get(ba,null);le(e,()=>{t?.forEach(n=>n())})}var XS=1e4;var PH=XS-1e3;var zr=(()=>{class e{static __NG_ELEMENT_ID__=e_}return e})();function e_(e){return t_(de(),b(),(e&16)===16)}function t_(e,t,n){if(Bt(e)&&!n){let r=Ge(e.index,t);return new hn(r,r)}else if(e.type&175){let r=t[Ee];return new hn(r,t)}return null}function hv(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;V(L.BootstrapApplicationStart);try{let i=o?.injector??KS(r),s=[rv(),Kp,...n||[]],a=new zo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return qS({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{V(L.BootstrapApplicationEnd)}}function pv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function n_(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var rf=Symbol("NOT_SET"),gv=new Set,r_=F(y({},Do),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:rf,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!==rf&&!yr(this))return this.signal;try{for(let o of this.cleanup??gv)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=nn(this),r;try{r=this.userFn.apply(null,t)}finally{An(this,n)}return(this.value===rf||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),af=class extends Vo{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(je),s),this.scheduler=o;for(let a of vd){let c=n[a];if(c===void 0)continue;let u=Object.create(r_);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(Rn(u),u.value),u.signal[ae]=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(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??gv)n()}finally{rn(t)}}};function FH(e,t){let n=t?.injector??p(pe),r=n.get(et),o=n.get(xa),i=n.get(ft,null,{optional:!0});o.impl??=n.get(Dd);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Nr,null,{optional:!0}),c=new af(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function LH(e,t){let n=wt(e),r=t.elementInjector||wr();return new pn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function mv(e){let t=wt(e);if(!t)return null;let n=new pn(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 yv=null;function Gt(){return yv}function cf(e){yv??=e}var si=class{},Wt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(vv),providedIn:"platform"})}return e})(),uf=new D(""),vv=(()=>{class e extends Wt{_location;_history;_doc=p(Q);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=E({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 Dv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function pt(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=E({token:e,factory:()=>p(Za),providedIn:"root"})}return e})(),qa=new D(""),Za=(()=>{class e extends qt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Q).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+pt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+pt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+pt(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)(w(Wt),w(qa,8))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var vn=(()=>{class e{_subject=new oe;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=s_(Dv(Ev(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+pt(r))}normalize(n){return e.stripTrailingSlash(i_(this._basePath,Ev(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+pt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+pt(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=pt;static joinWithSlash=Wa;static stripTrailingSlash=Dv;static \u0275fac=function(r){return new(r||e)(w(qt))};static \u0275prov=E({token:e,factory:()=>o_(),providedIn:"root"})}return e})();function o_(){return new vn(w(qt))}function i_(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Ev(e){return e.replace(/\/index.html$/,"")}function s_(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var vf=(()=>{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+pt(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+pt(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)(w(Wt),w(qa,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var Df=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(Df||{});var Ie=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ie||{}),$=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})($||{}),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 bv(e){return Ae(e)[ne.LocaleId]}function Tv(e,t,n){let r=Ae(e),o=[r[ne.DayPeriodsFormat],r[ne.DayPeriodsStandalone]],i=Ze(o,t);return Ze(i,n)}function Sv(e,t,n){let r=Ae(e),o=[r[ne.DaysFormat],r[ne.DaysStandalone]],i=Ze(o,t);return Ze(i,n)}function _v(e,t,n){let r=Ae(e),o=[r[ne.MonthsFormat],r[ne.MonthsStandalone]],i=Ze(o,t);return Ze(i,n)}function Mv(e,t){let r=Ae(e)[ne.Eras];return Ze(r,t)}function ai(e,t){let n=Ae(e);return Ze(n[ne.DateFormat],t)}function ci(e,t){let n=Ae(e);return Ze(n[ne.TimeFormat],t)}function ui(e,t){let r=Ae(e)[ne.DateTimeFormat];return Ze(r,t)}function Rt(e,t){let n=Ae(e),r=n[ne.NumberSymbols][t];if(typeof r>"u"){if(t===Oe.CurrencyDecimal)return n[ne.NumberSymbols][Oe.Decimal];if(t===Oe.CurrencyGroup)return n[ne.NumberSymbols][Oe.Group]}return r}function Nv(e,t){return Ae(e)[ne.NumberFormats][t]}function Rv(e){if(!e[ne.ExtraData])throw new m(2303,!1)}function Av(e){let t=Ae(e);return Rv(t),(t[ne.ExtraData][2]||[]).map(r=>typeof r=="string"?lf(r):[lf(r[0]),lf(r[1])])}function xv(e,t,n){let r=Ae(e);Rv(r);let o=[r[ne.ExtraData][0],r[ne.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 lf(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var a_=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ya={},c_=/((?:[^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 Ov(e,t,n,r){let o=y_(e);t=Zt(n,t)||t;let s=[],a;for(;t;)if(a=c_.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=Pv(r,c),o=m_(o,r));let u="";return s.forEach(l=>{let d=p_(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ec(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Zt(e,t){let n=bv(e);if(Ya[n]??={},Ya[n][t])return Ya[n][t];let r="";switch(t){case"shortDate":r=ai(e,xe.Short);break;case"mediumDate":r=ai(e,xe.Medium);break;case"longDate":r=ai(e,xe.Long);break;case"fullDate":r=ai(e,xe.Full);break;case"shortTime":r=ci(e,xe.Short);break;case"mediumTime":r=ci(e,xe.Medium);break;case"longTime":r=ci(e,xe.Long);break;case"fullTime":r=ci(e,xe.Full);break;case"short":let o=Zt(e,"shortTime"),i=Zt(e,"shortDate");r=Qa(ui(e,xe.Short),[o,i]);break;case"medium":let s=Zt(e,"mediumTime"),a=Zt(e,"mediumDate");r=Qa(ui(e,xe.Medium),[s,a]);break;case"long":let c=Zt(e,"longTime"),u=Zt(e,"longDate");r=Qa(ui(e,xe.Long),[c,u]);break;case"full":let l=Zt(e,"fullTime"),d=Zt(e,"fullDate");r=Qa(ui(e,xe.Full),[l,d]);break}return r&&(Ya[n][t]=r),r}function Qa(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function gt(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 u_(e,t){return gt(e,3).substring(0,t)}function ie(e,t,n=0,r=!1,o=!1){return function(i,s){let a=l_(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return u_(a,t);let c=Rt(s,Oe.MinusSign);return gt(a,t,c,r,o)}}function l_(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 Z(e,t,n=Ie.Format,r=!1){return function(o,i){return d_(o,i,e,t,n,r)}}function d_(e,t,n,r,o,i){switch(n){case 2:return _v(t,o,r)[e.getMonth()];case 1:return Sv(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Av(t),l=xv(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,C=s>=f.hours&&a>=f.minutes,v=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(C&&v)return!0}else if(C||v)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Tv(t,o,r)[s<12?0:1];case 3:return Mv(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Ka(e){return function(t,n,r){let o=-1*r,i=Rt(n,Oe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+gt(s,2,i)+gt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+gt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+gt(s,2,i)+":"+gt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+gt(s,2,i)+":"+gt(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var f_=0,Xa=4;function h_(e){let t=ec(e,f_,1).getDay();return ec(e,0,1+(t<=Xa?Xa:Xa+7)-t)}function kv(e){let t=e.getDay(),n=t===0?-3:Xa-t;return ec(e.getFullYear(),e.getMonth(),e.getDate()+n)}function df(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=kv(n),s=h_(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return gt(o,e,Rt(r,Oe.MinusSign))}}function Ja(e,t=!1){return function(n,r){let i=kv(n).getFullYear();return gt(i,e,Rt(r,Oe.MinusSign),t)}}var ff={};function p_(e){if(ff[e])return ff[e];let t;switch(e){case"G":case"GG":case"GGG":t=Z(3,$.Abbreviated);break;case"GGGG":t=Z(3,$.Wide);break;case"GGGGG":t=Z(3,$.Narrow);break;case"y":t=ie(0,1,0,!1,!0);break;case"yy":t=ie(0,2,0,!0,!0);break;case"yyy":t=ie(0,3,0,!1,!0);break;case"yyyy":t=ie(0,4,0,!1,!0);break;case"Y":t=Ja(1);break;case"YY":t=Ja(2,!0);break;case"YYY":t=Ja(3);break;case"YYYY":t=Ja(4);break;case"M":case"L":t=ie(1,1,1);break;case"MM":case"LL":t=ie(1,2,1);break;case"MMM":t=Z(2,$.Abbreviated);break;case"MMMM":t=Z(2,$.Wide);break;case"MMMMM":t=Z(2,$.Narrow);break;case"LLL":t=Z(2,$.Abbreviated,Ie.Standalone);break;case"LLLL":t=Z(2,$.Wide,Ie.Standalone);break;case"LLLLL":t=Z(2,$.Narrow,Ie.Standalone);break;case"w":t=df(1);break;case"ww":t=df(2);break;case"W":t=df(1,!0);break;case"d":t=ie(2,1);break;case"dd":t=ie(2,2);break;case"c":case"cc":t=ie(7,1);break;case"ccc":t=Z(1,$.Abbreviated,Ie.Standalone);break;case"cccc":t=Z(1,$.Wide,Ie.Standalone);break;case"ccccc":t=Z(1,$.Narrow,Ie.Standalone);break;case"cccccc":t=Z(1,$.Short,Ie.Standalone);break;case"E":case"EE":case"EEE":t=Z(1,$.Abbreviated);break;case"EEEE":t=Z(1,$.Wide);break;case"EEEEE":t=Z(1,$.Narrow);break;case"EEEEEE":t=Z(1,$.Short);break;case"a":case"aa":case"aaa":t=Z(0,$.Abbreviated);break;case"aaaa":t=Z(0,$.Wide);break;case"aaaaa":t=Z(0,$.Narrow);break;case"b":case"bb":case"bbb":t=Z(0,$.Abbreviated,Ie.Standalone,!0);break;case"bbbb":t=Z(0,$.Wide,Ie.Standalone,!0);break;case"bbbbb":t=Z(0,$.Narrow,Ie.Standalone,!0);break;case"B":case"BB":case"BBB":t=Z(0,$.Abbreviated,Ie.Format,!0);break;case"BBBB":t=Z(0,$.Wide,Ie.Format,!0);break;case"BBBBB":t=Z(0,$.Narrow,Ie.Format,!0);break;case"h":t=ie(3,1,-12);break;case"hh":t=ie(3,2,-12);break;case"H":t=ie(3,1);break;case"HH":t=ie(3,2);break;case"m":t=ie(4,1);break;case"mm":t=ie(4,2);break;case"s":t=ie(5,1);break;case"ss":t=ie(5,2);break;case"S":t=ie(6,1);break;case"SS":t=ie(6,2);break;case"SSS":t=ie(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ka(0);break;case"ZZZZZ":t=Ka(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ka(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ka(2);break;default:return null}return ff[e]=t,t}function Pv(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function g_(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function m_(e,t,n){let o=e.getTimezoneOffset(),i=Pv(t,o);return g_(e,-1*(i-o))}function y_(e){if(Iv(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 ec(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(a_))return v_(r)}let t=new Date(e);if(!Iv(t))throw new m(2311,!1);return t}function v_(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 Iv(e){return e instanceof Date&&!isNaN(e.valueOf())}var D_=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Cv=22,tc=".",li="0",E_=";",I_=",",hf="#";function C_(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Rt(n,Oe.Infinity);else{let u=T_(e);s&&(u=b_(u));let l=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){let P=i.match(D_);if(P===null)throw new m(2306,!1);let he=P[1],X=P[3],Xt=P[5];he!=null&&(l=pf(he)),X!=null&&(d=pf(X)),Xt!=null?h=pf(Xt):X!=null&&d>h&&(h=d)}S_(u,d,h);let f=u.digits,g=u.integerLen,C=u.exponent,v=[];for(c=f.every(P=>!P);g<l;g++)f.unshift(0);for(;g<0;g++)f.unshift(0);g>0?v=f.splice(g,f.length):(v=f,f=[0]);let I=[];for(f.length>=t.lgSize&&I.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)I.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&I.unshift(f.join("")),a=I.join(Rt(n,r)),v.length&&(a+=Rt(n,o)+v.join("")),C&&(a+=Rt(n,Oe.Exponential)+"+"+C)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Fv(e,t,n){let r=Nv(t,Df.Decimal),o=w_(r,Rt(t,Oe.MinusSign));return C_(e,o,t,Oe.Group,Oe.Decimal,n)}function w_(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(E_),o=r[0],i=r[1],s=o.indexOf(tc)!==-1?o.split(tc):[o.substring(0,o.lastIndexOf(li)+1),o.substring(o.lastIndexOf(li)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(hf));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===li?n.minFrac=n.maxFrac=l+1:d===hf?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(I_);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(hf);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 b_(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 T_(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(tc))>-1&&(t=t.replace(tc,"")),(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)===li;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===li;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Cv&&(r=r.splice(0,Cv-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 pf(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var gf=/\s+/,wv=[],__=(()=>{class e{_ngEl;_renderer;initialClasses=wv;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(gf):wv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(gf):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(gf).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)(Me(Vt),Me(ti))};static \u0275dir=Xn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var M_=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=p(pe);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._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.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)(Me(gn))};static \u0275dir=Xn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Br]})}return e})();function Ef(e,t){return new m(2100,!1)}var mf=class{createSubscription(t,n,r){return qe(()=>t.subscribe({next:n,error:r}))}dispose(t){qe(()=>t.unsubscribe())}},yf=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},N_=new yf,R_=new mf,A_=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(Re);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(er(n))return N_;if(Ha(n))return R_;throw Ef(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)(Me(zr,16))};static \u0275pipe=ni({name:"async",type:e,pure:!1})}return e})();var x_="mediumDate",Lv=new D(""),jv=new D(""),O_=(()=>{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??x_,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Ov(n,s,i||this.locale,a)}catch(s){throw Ef(e,s.message)}}static \u0275fac=function(r){return new(r||e)(Me($r,16),Me(Lv,24),Me(jv,24))};static \u0275pipe=ni({name:"date",type:e,pure:!0})}return e})();var k_=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!P_(n))return null;o||=this._locale;try{let i=F_(n);return Fv(i,o,r)}catch(i){throw Ef(e,i.message)}}static \u0275fac=function(r){return new(r||e)(Me($r,16))};static \u0275pipe=ni({name:"number",type:e,pure:!0})}return e})();function P_(e){return!(e==null||e===""||e!==e)}function F_(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 Bv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=mn({type:e});static \u0275inj=Pt({})}return e})();function di(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 tr=class{};var Cf="browser";function i2(e){return e===Cf}var wf=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new If(p(Q),window)})}return e})(),If=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=j_(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(Ct(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 j_(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 fi=class{_doc;constructor(t){this._doc=t}manager},nc=(()=>{class e extends fi{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)(w(Q))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),ic=new D(""),_f=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof nc));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof nc);i&&this._plugins.push(i)}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)(w(ic),w(J))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),bf="ng-app-id";function Uv(e){for(let t of e)t.remove()}function Vv(e,t){let n=t.createElement("style");return n.textContent=e,n}function B_(e,t,n,r){let o=e.head?.querySelectorAll(`style[${bf}="${t}"],link[${bf}="${t}"]`);if(o)for(let i of o)i.removeAttribute(bf),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 Sf(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Mf=(()=>{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,B_(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Vv);r?.forEach(o=>this.addUsage(o,this.external,Sf))}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&&(Uv(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Uv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Vv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Sf(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)(w(Q),w(wa),w(Ta,8),w(Zo))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Tf={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"},Nf=/%COMP%/g;var $v="%COMP%",U_=`_nghost-${$v}`,V_=`_ngcontent-${$v}`,H_=!0,$_=new D("",{factory:()=>H_});function z_(e){return V_.replace(Nf,e)}function G_(e){return U_.replace(Nf,e)}function zv(e,t){return t.map(n=>n.replace(Nf,e))}var Rf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new hi(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof oc?o.applyToHost(n):o instanceof pi&&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.tracingService;switch(r.encapsulation){case lt.Emulated:i=new oc(c,u,r,this.appId,l,s,a,d);break;case lt.ShadowDom:return new rc(c,n,r,s,a,this.nonce,d,u);case lt.ExperimentalIsolatedShadowDom:return new rc(c,n,r,s,a,this.nonce,d);default:i=new pi(c,u,r,l,s,a,d);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)(w(_f),w(Mf),w(wa),w($_),w(Q),w(J),w(Ta),w(ft,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),hi=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Tf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Hv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Hv(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=Tf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Tf[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&(Nt.DashCase|Nt.Important)?t.style.setProperty(n,r,o&Nt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Nt.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 Hv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var rc=class extends hi{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=zv(r.id,u);for(let d of u){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let l=r.getExternalStyles?.();if(l)for(let d of l){let h=Sf(d,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}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&&this.sharedStylesHost.removeHost(this.shadowRoot)}},pi=class extends hi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?zv(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Yn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},oc=class extends pi{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=z_(u),this.hostAttr=G_(u)}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 sc=class e extends si{supportsDOMEvents=!0;static makeCurrent(){cf(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=W_();return n==null?null:q_(n)}resetBaseElement(){gi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return di(document.cookie,t)}},gi=null;function W_(){return gi=gi||document.head.querySelector("base"),gi?gi.getAttribute("href"):null}function q_(e){return new URL(e,document.baseURI).pathname}var Z_=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Gv=["alt","control","meta","shift"],Y_={"\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"},Q_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Wv=(()=>{class e extends fi{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."),Gv.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=Y_[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"),Gv.forEach(s=>{if(s!==o){let a=Q_[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)(w(Q))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function K_(e,t,n){return z(this,null,function*(){let r=y({rootComponent:e},J_(t,n));return hv(r)})}function J_(e,t){return{platformRef:t?.platformRef,appProviders:[...rM,...e?.providers??[]],platformProviders:nM}}function X_(){sc.makeCurrent()}function eM(){return new It}function tM(){return sd(document),document}var nM=[{provide:Zo,useValue:Cf},{provide:ba,useValue:X_,multi:!0},{provide:Q,useFactory:tM}];var rM=[{provide:No,useValue:"root"},{provide:It,useFactory:eM},{provide:ic,useClass:nc,multi:!0},{provide:ic,useClass:Wv,multi:!0},Rf,Mf,_f,{provide:Qn,useExisting:Rf},{provide:tr,useClass:Z_},[]];var Dn=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 cc=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()}},uc=class{encodeKey(t){return qv(t)}encodeValue(t){return qv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function oM(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,sM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function qv(e){return encodeURIComponent(e).replace(iM,(t,n)=>sM[n]??t)}function ac(e){return`${e}`}var Yt=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=oM(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(ac):[ac(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(ac(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(ac(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)}};function aM(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Zv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Yv(e){return typeof Blob<"u"&&e instanceof Blob}function Qv(e){return typeof FormData<"u"&&e instanceof FormData}function cM(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Kv="Content-Type",Jv="Accept",Xv="text/plain",eD="application/json",uM=`${eD}, ${Xv}, */*`,Gr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(aM(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),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Dn,this.context??=new cc,!this.params)this.params=new Yt,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"||Zv(this.body)||Yv(this.body)||Qv(this.body)||cM(this.body)?this.body:this.body instanceof Yt?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||Qv(this.body)?null:Yv(this.body)?this.body.type||null:Zv(this.body)?null:typeof this.body=="string"?Xv:this.body instanceof Yt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?eD: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.referrerPolicy||this.referrerPolicy,g=t.transferCache??this.transferCache,C=t.timeout??this.timeout,v=t.body!==void 0?t.body:this.body,I=t.withCredentials??this.withCredentials,P=t.reportProgress??this.reportProgress,he=t.headers||this.headers,X=t.params||this.params,Xt=t.context??this.context;return t.setHeaders!==void 0&&(he=Object.keys(t.setHeaders).reduce((ao,wn)=>ao.set(wn,t.setHeaders[wn]),he)),t.setParams&&(X=Object.keys(t.setParams).reduce((ao,wn)=>ao.set(wn,t.setParams[wn]),X)),new e(n,r,v,{params:X,headers:he,context:Xt,reportProgress:P,responseType:o,withCredentials:I,transferCache:g,keepalive:i,cache:a,priority:s,timeout:C,mode:c,redirect:u,credentials:l,referrer:d,integrity:h,referrerPolicy:f})}},nr=(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})(nr||{}),qr=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Dn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},lc=class e extends qr{constructor(t={}){super(t)}type=nr.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})}},mi=class e extends qr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=nr.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,responseType:t.responseType??this.responseType})}},Wr=class extends qr{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}},lM=200,dM=204;var fM=new D("");var hM=/^\)\]\}',?\n/;var xf=(()=>{class e{xhrFactory;tracingService=p(ft,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return M(null).pipe(we(()=>new k(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((v,I)=>s.setRequestHeader(v,I.join(","))),n.headers.has(Jv)||s.setRequestHeader(Jv,uM),!n.headers.has(Kv)){let v=n.detectContentTypeHeader();v!==null&&s.setRequestHeader(Kv,v)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let v=n.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let v=s.statusText||"OK",I=new Dn(s.getAllResponseHeaders()),P=s.responseURL||n.url;return c=new lc({headers:I,status:s.status,statusText:v,url:P}),c},l=this.maybePropagateTrace(()=>{let{headers:v,status:I,statusText:P,url:he}=u(),X=null;I!==dM&&(X=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=X?lM:0);let Xt=I>=200&&I<300;if(n.responseType==="json"&&typeof X=="string"){let ao=X;X=X.replace(hM,"");try{X=X!==""?JSON.parse(X):null}catch(wn){X=ao,Xt&&(Xt=!1,X={error:wn,text:X})}}Xt?(i.next(new mi({body:X,headers:v,status:I,statusText:P,url:he||void 0})),i.complete()):i.error(new Wr({error:X,headers:v,status:I,statusText:P,url:he||void 0}))}),d=this.maybePropagateTrace(v=>{let{url:I}=u(),P=new Wr({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});i.error(P)}),h=d;n.timeout&&(h=this.maybePropagateTrace(v=>{let{url:I}=u(),P=new Wr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});i.error(P)}));let f=!1,g=this.maybePropagateTrace(v=>{f||(i.next(u()),f=!0);let I={type:nr.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(I.total=v.total),n.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),i.next(I)}),C=this.maybePropagateTrace(v=>{let I={type:nr.UploadProgress,loaded:v.loaded};v.lengthComputable&&(I.total=v.total),i.next(I)});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",C)),s.send(a),i.next({type:nr.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",C)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(w(tr))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pM(e,t){return t(e)}function gM(e,t,n){return(r,o)=>le(n,()=>t(r,i=>e(i,o)))}var tD=new D("",{factory:()=>[]}),nD=new D(""),rD=new D("",{factory:()=>!0});var Of=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(xf),o},providedIn:"root"})}return e})();var dc=(()=>{class e{backend;injector;chain=null;pendingTasks=p(Ws);contributeToStability=p(rD);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(tD),...this.injector.get(nD,[])]));this.chain=r.reduceRight((o,i)=>gM(o,i,this.injector),pM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(go(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(w(Of),w(K))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(dc),o},providedIn:"root"})}return e})();function Af(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,referrerPolicy:e.referrerPolicy}}var oD=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Gr)i=n;else{let c;o.headers instanceof Dn?c=o.headers:c=new Dn(o.headers);let u;o.params&&(o.params instanceof Yt?u=o.params:u=new Yt({fromObject:o.params})),i=new Gr(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,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=M(i).pipe(tn(c=>this.handler.handle(c)));if(n instanceof Gr||o.observe==="events")return s;let a=s.pipe(ye(c=>c instanceof mi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(B(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(B(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(B(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(B(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 Yt().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,Af(o,r))}post(n,r,o={}){return this.request("POST",n,Af(o,r))}put(n,r,o={}){return this.request("PUT",n,Af(o,r))}static \u0275fac=function(r){return new(r||e)(w(kf))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mM=new D("",{factory:()=>!0}),yM="XSRF-TOKEN",vM=new D("",{factory:()=>yM}),DM="X-XSRF-TOKEN",EM=new D("",{factory:()=>DM}),IM=(()=>{class e{cookieName=p(vM);doc=p(Q);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=di(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),iD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(IM),o},providedIn:"root"})}return e})();function CM(e,t){if(!p(mM)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=p(Wt).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=p(iD).getToken(),r=p(EM);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function wM(...e){let t=[oD,dc,{provide:kf,useExisting:dc},{provide:Of,useFactory:()=>p(fM,{optional:!0})??p(xf)},{provide:tD,useValue:CM,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return nt(t)}var sD=(()=>{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)(w(Q))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var bM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(TM),o},providedIn:"root"})}return e})(),TM=(()=>{class e extends bM{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case dt.NONE:return r;case dt.HTML:return Ht(r,"HTML")?We(r):Na(this._doc,String(r)).toString();case dt.STYLE:return Ht(r,"Style")?We(r):r;case dt.SCRIPT:if(Ht(r,"Script"))return We(r);throw new m(5200,!1);case dt.URL:return Ht(r,"URL")?We(r):Yo(String(r));case dt.RESOURCE_URL:if(Ht(r,"ResourceURL"))return We(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return cd(n)}bypassSecurityTrustStyle(n){return ud(n)}bypassSecurityTrustScript(n){return ld(n)}bypassSecurityTrustUrl(n){return dd(n)}bypassSecurityTrustResourceUrl(n){return fd(n)}static \u0275fac=function(r){return new(r||e)(w(Q))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var N="primary",Mi=Symbol("RouteTitle"),Bf=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 or(e){return new Bf(e)}function Pf(e,t,n){for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(o[0]===":")n[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function pD(e,t,n){let r=n.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let c={},u=e.slice(0,r.length);return Pf(r,u,c)?{consumed:u,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||n.pathMatch==="full"&&t.hasChildren()&&n.path!=="**")return null;let a={};return!Pf(i,e.slice(0,i.length),a)||!Pf(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function yc(e){return new Promise((t,n)=>{e.pipe(Dt()).subscribe({next:r=>t(r),error:r=>n(r)})})}function _M(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!At(e[n],t[n]))return!1;return!0}function At(e,t){let n=e?Uf(e):void 0,r=t?Uf(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],!gD(e[o],t[o]))return!1;return!0}function Uf(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function gD(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 MM(e){return e.length>0?e[e.length-1]:null}function sr(e){return ns(e)?e:er(e)?Y(Promise.resolve(e)):M(e)}function mD(e){return ns(e)?yc(e):Promise.resolve(e)}var NM={exact:DD,subset:ED},yD={exact:RM,subset:AM,ignored:()=>!0},vD={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function aD(e,t,n){return NM[n.paths](e.root,t.root,n.matrixParams)&&yD[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function RM(e,t){return At(e,t)}function DD(e,t,n){if(!rr(e.segments,t.segments)||!pc(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!DD(e.children[r],t.children[r],n))return!1;return!0}function AM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>gD(e[n],t[n]))}function ED(e,t,n){return ID(e,t,t.segments,n)}function ID(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!rr(o,n)||t.hasChildren()||!pc(o,n,r))}else if(e.segments.length===n.length){if(!rr(e.segments,n)||!pc(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!ED(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!rr(e.segments,o)||!pc(e.segments,o,r)||!e.children[N]?!1:ID(e.children[N],t,i,r)}}function pc(e,t,n){return t.every((r,o)=>yD[n](e[o].parameters,r.parameters))}var Qe=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??=or(this.queryParams),this._queryParamMap}toString(){return kM.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 gc(this)}},En=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=or(this.parameters),this._parameterMap}toString(){return wD(this)}};function xM(e,t){return rr(e,t)&&e.every((n,r)=>At(n.parameters,t[r].parameters))}function rr(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function OM(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===N&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==N&&(n=n.concat(t(o,r)))}),n}var ar=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new Kt,providedIn:"root"})}return e})(),Kt=class{parse(t){let n=new $f(t);return new Qe(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${yi(t.root,!0)}`,r=LM(t.queryParams),o=typeof t.fragment=="string"?`#${PM(t.fragment)}`:"";return`${n}${r}${o}`}},kM=new Kt;function gc(e){return e.segments.map(t=>wD(t)).join("/")}function yi(e,t){if(!e.hasChildren())return gc(e);if(t){let n=e.children[N]?yi(e.children[N],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==N&&r.push(`${o}:${yi(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=OM(e,(r,o)=>o===N?[yi(e.children[N],!1)]:[`${o}:${yi(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[N]!=null?`${gc(e)}/${n[0]}`:`${gc(e)}/(${n.join("//")})`}}function CD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fc(e){return CD(e).replace(/%3B/gi,";")}function PM(e){return encodeURI(e)}function Hf(e){return CD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mc(e){return decodeURIComponent(e)}function cD(e){return mc(e.replace(/\+/g,"%20"))}function wD(e){return`${Hf(e.path)}${FM(e.parameters)}`}function FM(e){return Object.entries(e).map(([t,n])=>`;${Hf(t)}=${Hf(n)}`).join("")}function LM(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${fc(n)}=${fc(o)}`).join("&"):`${fc(n)}=${fc(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var jM=/^[^\/()?;#]+/;function Ff(e){let t=e.match(jM);return t?t[0]:""}var BM=/^[^\/()?;=#]+/;function UM(e){let t=e.match(BM);return t?t[0]:""}var VM=/^[^=?&#]+/;function HM(e){let t=e.match(VM);return t?t[0]:""}var $M=/^[^&#]+/;function zM(e){let t=e.match($M);return t?t[0]:""}var $f=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(t=0){if(t>50)throw new m(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,t));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,t)),(n.length>0||Object.keys(r).length>0)&&(o[N]=new j(n,r)),o}parseSegment(){let t=Ff(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new En(mc(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=UM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Ff(this.remaining);o&&(r=o,this.capture(r))}t[mc(n)]=mc(r)}parseQueryParam(t){let n=HM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=zM(this.remaining);s&&(r=s,this.capture(r))}let o=cD(n),i=cD(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,n){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=Ff(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new m(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=N);let a=this.parseChildren(n+1);r[s??N]=Object.keys(a).length===1&&a[N]?a[N]:new j([],a),this.consumeOptional("//")}return r}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 bD(e){return e.segments.length>0?new j([],{[N]:e}):e}function TD(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=TD(o);if(r===N&&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 GM(n)}function GM(e){if(e.numberOfChildren===1&&e.children[N]){let t=e.children[N];return new j(e.segments.concat(t.segments),t.children)}return e}function Jr(e){return e instanceof Qe}function SD(e,t,n=null,r=null,o=new Kt){let i=_D(e);return MD(i,t,n,r,o)}function _D(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=bD(r);return t??o}function MD(e,t,n,r,o){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return Lf(i,i,i,n,r,o);let s=WM(t);if(s.toRoot())return Lf(i,i,new j([],{}),n,r,o);let a=qM(s,i,e),c=a.processChildren?Di(a.segmentGroup,a.index,s.commands):RD(a.segmentGroup,a.index,s.commands);return Lf(i,a.segmentGroup,c,n,r,o)}function vc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ii(e){return typeof e=="object"&&e!=null&&e.outlets}function uD(e,t,n){e||="\u0275";let r=new Qe;return r.queryParams={[e]:t},n.parse(n.serialize(r)).queryParams[e]}function Lf(e,t,n,r,o,i){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(d=>uD(u,d,i)):uD(u,l,i);let a;e===t?a=n:a=ND(e,t,n);let c=bD(TD(a));return new Qe(c,s,o)}function ND(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=ND(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(Ii);if(o&&o!==MM(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function WM(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 Yr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function qM(e,t,n){if(e.isAbsolute)return new Yr(t,!0,0);if(!n)return new Yr(t,!1,NaN);if(n.parent===null)return new Yr(n,!0,0);let r=vc(e.commands[0])?0:1,o=n.segments.length-1+r;return ZM(n,o,e.numberOfDoubleDots)}function ZM(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 Yr(r,!1,o-i)}function YM(e){return Ii(e[0])?e[0].outlets:{[N]:e}}function RD(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return Di(e,t,n);let r=QM(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[N]=new j(e.segments.slice(r.pathIndex),e.children),Di(i,0,o)}else return r.match&&o.length===0?new j(e.segments,{}):r.match&&!e.hasChildren()?zf(e,t,n):r.match?Di(e,0,o):zf(e,t,n)}function Di(e,t,n){if(n.length===0)return new j(e.segments,{});{let r=YM(n),o={};if(Object.keys(r).some(i=>i!==N)&&e.children[N]&&e.numberOfChildren===1&&e.children[N].segments.length===0){let i=Di(e.children[N],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]=RD(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 QM(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(Ii(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(!dD(c,u,s))return i;r+=2}else{if(!dD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function zf(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(Ii(i)){let c=KM(i.outlets);return new j(r,c)}if(o===0&&vc(n[0])){let c=e.segments[t];r.push(new En(c.path,lD(n[0]))),o++;continue}let s=Ii(i)?i.outlets[N]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&vc(a)?(r.push(new En(s,lD(a))),o+=2):(r.push(new En(s,{})),o++)}return new j(r,{})}function KM(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=zf(new j([],{}),0,r))}),t}function lD(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function dD(e,t,n){return e==n.path&&At(t,n.parameters)}var Qr="imperative",fe=(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})(fe||{}),Ve=class{id;url;constructor(t,n){this.id=t,this.url=n}},In=class extends Ve{type=fe.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}')`}},mt=class extends Ve{urlAfterRedirects;type=fe.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ce=(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})(Ce||{}),Xr=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Xr||{}),Ye=class extends Ve{reason;code;type=fe.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function AD(e){return e instanceof Ye&&(e.code===Ce.Redirect||e.code===Ce.SupersededByNewNavigation)}var Ot=class extends Ve{reason;code;type=fe.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},ir=class extends Ve{error;target;type=fe.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})`}},Ci=class extends Ve{urlAfterRedirects;state;type=fe.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 Ve{urlAfterRedirects;state;type=fe.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 Ve{urlAfterRedirects;state;shouldActivate;type=fe.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})`}},Cc=class extends Ve{urlAfterRedirects;state;type=fe.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})`}},wc=class extends Ve{urlAfterRedirects;state;type=fe.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=fe.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Tc=class{route;type=fe.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Sc=class{snapshot;type=fe.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_c=class{snapshot;type=fe.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mc=class{snapshot;type=fe.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Nc=class{snapshot;type=fe.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},eo=class{routerEvent;position;anchor;scrollBehavior;type=fe.Scroll;constructor(t,n,r,o){this.routerEvent=t,this.position=n,this.anchor=r,this.scrollBehavior=o}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},to=class{},wi=class{},no=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function JM(e){return!(e instanceof to)&&!(e instanceof no)&&!(e instanceof wi)}var Rc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??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)(w(K))};static \u0275prov=E({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=Gf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Gf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Wf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Wf(t,this._root).map(n=>n.value)}};function Gf(e,t){if(e===t.value)return t;for(let n of t.children){let r=Gf(e,n);if(r)return r}return null}function Wf(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Wf(e,n);if(r.length)return r.unshift(t),r}return[]}var Ue=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Zr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var bi=class extends Ac{snapshot;constructor(t,n){super(t),this.snapshot=n,th(this,t)}toString(){return this.snapshot.toString()}};function xD(e,t){let n=XM(e,t),r=new ge([new En("",{})]),o=new ge({}),i=new ge({}),s=new ge({}),a=new ge(""),c=new Jt(r,o,s,a,i,N,e,n.root);return c.snapshot=n.root,new bi(new Ue(c,[]),n)}function XM(e,t){let n={},r={},o={},s=new ro([],n,o,"",r,N,e,null,{},t);return new Ti("",new Ue(s,[]))}var Jt=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(B(u=>u[Mi]))??M(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(B(t=>or(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(B(t=>or(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function eh(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&&kD(o)&&(r.resolve[Mi]=o.title),r}var ro=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Mi]}constructor(t,n,r,o,i,s,a,c,u,l){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,this._environmentInjector=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=or(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=or(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}')`}},Ti=class extends Ac{url;constructor(t,n){super(n),this.url=t,th(this,n)}toString(){return OD(this._root)}};function th(e,t){t.value._routerState=e,t.children.forEach(n=>th(e,n))}function OD(e){let t=e.children.length>0?` { ${e.children.map(OD).join(", ")} } `:"";return`${e.value}${t}`}function jf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,At(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),At(t.params,n.params)||e.paramsSubject.next(n.params),_M(t.url,n.url)||e.urlSubject.next(n.url),At(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function qf(e,t){let n=At(e.params,t.params)&&xM(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||qf(e.parent,t.parent))}function kD(e){return typeof e.title=="string"||e.title===null}var PD=new D(""),nh=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=N;activateEvents=new Te;deactivateEvents=new Te;attachEvents=new Te;detachEvents=new Te;routerOutletData=dv();parentContexts=p(cr);location=p(gn);changeDetector=p(zr);inputBinder=p(Ni,{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 Zf(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=Xn({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Br]})}return e})(),Zf=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===Jt?this.route:t===cr?this.childContexts:t===PD?this.outletData:this.parent.get(t,n)}},Ni=new D(""),rh=(()=>{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=ss([r.queryParams,r.params,r.data]).pipe(we(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?M(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=mv(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=E({token:e,factory:e.\u0275fac})}return e})(),oh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ld({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&za(0,"router-outlet")},dependencies:[nh],encapsulation:2})}return e})();function ih(e){let t=e.children&&e.children.map(ih),n=t?F(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==N&&(n.component=oh),n}function eN(e,t,n){let r=Si(e,t._root,n?n._root:void 0);return new bi(r,t)}function Si(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=tN(e,t,n);return new Ue(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=>Si(e,a)),s}}let r=nN(t.value),o=t.children.map(i=>Si(e,i));return new Ue(r,o)}}function tN(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Si(e,r,o);return Si(e,r)})}function nN(e){return new Jt(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 oo=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},FD="ngNavigationCancelingError";function xc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Jr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=LD(!1,Ce.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function LD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[FD]=!0,n.cancellationCode=t,n}function rN(e){return jD(e)&&Jr(e.url)}function jD(e){return!!e&&e[FD]}var Yf=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),jf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Zr(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=Zr(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=Zr(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=Zr(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 _c(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(jf(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),jf(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)}},Oc=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Kr=class{component;route;constructor(t,n){this.component=t,this.route=n}};function oN(e,t,n){let r=e._root,o=t?t._root:null;return vi(r,o,n,[r.value])}function iN(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function so(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Iu(e)?e:t.get(e):r}function vi(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Zr(t);return e.children.forEach(s=>{sN(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ei(a,n.getContext(s),o)),o}function sN(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=aN(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Oc(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?vi(e,t,a?a.children:null,r,o):vi(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Kr(a.outlet.component,s))}else s&&Ei(t,a,o),o.canActivateChecks.push(new Oc(r)),i.component?vi(e,null,a?a.children:null,r,o):vi(e,null,n,r,o);return o}function aN(e,t,n){if(typeof n=="function")return le(t._environmentInjector,()=>n(e,t));switch(n){case"pathParamsChange":return!rr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!rr(e.url,t.url)||!At(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qf(e,t)||!At(e.queryParams,t.queryParams);default:return!qf(e,t)}}function Ei(e,t,n){let r=Zr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Ei(s,t.children.getContext(i),n):Ei(s,null,n):Ei(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Kr(t.outlet.component,o)):n.canDeactivateChecks.push(new Kr(null,o)):n.canDeactivateChecks.push(new Kr(null,o))}function Ri(e){return typeof e=="function"}function cN(e){return typeof e=="boolean"}function uN(e){return e&&Ri(e.canLoad)}function lN(e){return e&&Ri(e.canActivate)}function dN(e){return e&&Ri(e.canActivateChild)}function fN(e){return e&&Ri(e.canDeactivate)}function hN(e){return e&&Ri(e.canMatch)}function BD(e){return e instanceof Xe||e?.name==="EmptyError"}var hc=Symbol("INITIAL_VALUE");function io(){return we(e=>ss(e.map(t=>t.pipe(vt(1),cs(hc)))).pipe(B(t=>{for(let n of t)if(n!==!0){if(n===hc)return hc;if(n===!1||pN(n))return n}return!0}),ye(t=>t!==hc),vt(1)))}function pN(e){return Jr(e)||e instanceof oo}function UD(e){return e.aborted?M(void 0).pipe(vt(1)):new k(t=>{let n=()=>{t.next(),t.complete()};return e.addEventListener("abort",n),()=>e.removeEventListener("abort",n)})}function VD(e){return mo(UD(e))}function gN(e){return me(t=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=t;return i.length===0&&o.length===0?M(F(y({},t),{guardsResult:!0})):mN(i,n,r).pipe(me(s=>s&&cN(s)?yN(n,o,e):M(s)),B(s=>F(y({},t),{guardsResult:s})))})}function mN(e,t,n){return Y(e).pipe(me(r=>CN(r.component,r.route,n,t)),Dt(r=>r!==!0,!0))}function yN(e,t,n){return Y(t).pipe(tn(r=>mr(DN(r.route.parent,n),vN(r.route,n),IN(e,r.path),EN(e,r.route))),Dt(r=>r!==!0,!0))}function vN(e,t){return e!==null&&t&&t(new Mc(e)),M(!0)}function DN(e,t){return e!==null&&t&&t(new Sc(e)),M(!0)}function EN(e,t){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return M(!0);let r=n.map(o=>po(()=>{let i=t._environmentInjector,s=so(o,i),a=lN(s)?s.canActivate(t,e):le(i,()=>s(t,e));return sr(a).pipe(Dt())}));return M(r).pipe(io())}function IN(e,t){let n=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(i=>iN(i)).filter(i=>i!==null).map(i=>po(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,u=so(a,c),l=dN(u)?u.canActivateChild(n,e):le(c,()=>u(n,e));return sr(l).pipe(Dt())});return M(s).pipe(io())}));return M(o).pipe(io())}function CN(e,t,n,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return M(!0);let i=o.map(s=>{let a=t._environmentInjector,c=so(s,a),u=fN(c)?c.canDeactivate(e,t,n,r):le(a,()=>c(e,t,n,r));return sr(u).pipe(Dt())});return M(i).pipe(io())}function wN(e,t,n,r,o){let i=t.canLoad;if(i===void 0||i.length===0)return M(!0);let s=i.map(a=>{let c=so(a,e),u=uN(c)?c.canLoad(t,n):le(e,()=>c(t,n)),l=sr(u);return o?l.pipe(VD(o)):l});return M(s).pipe(io(),HD(r))}function HD(e){return Gc(Pe(t=>{if(typeof t!="boolean")throw xc(e,t)}),B(t=>t===!0))}function bN(e,t,n,r,o,i){let s=t.canMatch;if(!s||s.length===0)return M(!0);let a=s.map(c=>{let u=so(c,e),l=hN(u)?u.canMatch(t,n,o):le(e,()=>u(t,n,o));return sr(l).pipe(VD(i))});return M(a).pipe(io(),HD(r))}var Qt=class e extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,e.prototype)}},_i=class e extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,e.prototype)}};function TN(e){throw new m(4e3,!1)}function SN(e){throw LD(!1,Ce.GuardRejected)}var Qf=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){return z(this,null,function*(){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[N])throw TN(`${t.redirectTo}`);o=o.children[N]}})}applyRedirectCommands(t,n,r,o,i){return z(this,null,function*(){let s=yield _N(n,o,i);if(s instanceof Qe)throw new _i(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new _i(a);return a})}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Qe(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 _N(e,t,n){if(typeof e=="string")return Promise.resolve(e);let r=e;return yc(sr(le(n,()=>r(t))))}function MN(e,t){return e.providers&&!e._injector&&(e._injector=Hr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function xt(e){return e.outlet||N}function NN(e,t){let n=e.filter(r=>xt(r)===t);return n.push(...e.filter(r=>xt(r)!==t)),n}var Kf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function $D(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function RN(e,t,n,r,o,i,s){let a=zD(e,t,n);if(!a.matched)return M(a);let c=$D(i(a));return r=MN(t,r),bN(r,t,n,o,c,s).pipe(B(u=>u===!0?a:y({},Kf)))}function zD(e,t,n){if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},Kf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||pD)(n,e,t);if(!o)return y({},Kf);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 fD(e,t,n,r){return n.length>0&&ON(e,n,r)?{segmentGroup:new j(t,xN(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&kN(e,n,r)?{segmentGroup:new j(e.segments,AN(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function AN(e,t,n,r){let o={};for(let i of n)if(Pc(e,t,i)&&!r[xt(i)]){let s=new j([],{});o[xt(i)]=s}return y(y({},r),o)}function xN(e,t){let n={};n[N]=t;for(let r of e)if(r.path===""&&xt(r)!==N){let o=new j([],{});n[xt(r)]=o}return n}function ON(e,t,n){return n.some(r=>Pc(e,t,r)&&xt(r)!==N)}function kN(e,t,n){return n.some(r=>Pc(e,t,r))}function Pc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function PN(e,t,n){return t.length===0&&!e.children[n]}var Jf=class{};function FN(e,t,n,r,o,i,s="emptyOnly",a){return z(this,null,function*(){return new Xf(e,t,n,r,o,s,i,a).recognize()})}var LN=31,Xf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a,c){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new Qf(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){return z(this,null,function*(){let t=fD(this.urlTree.root,[],[],this.config).segmentGroup,{children:n,rootSnapshot:r}=yield this.match(t),o=new Ue(r,n),i=new Ti("",o),s=SD(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){return z(this,null,function*(){let n=new ro([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),N,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,t,N,n),rootSnapshot:n}}catch(r){if(r instanceof _i)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Qt?this.noMatchError(r):r}})}processSegmentGroup(t,n,r,o,i){return z(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(t,n,r,i);let s=yield this.processSegment(t,n,r,r.segments,o,!0,i);return s instanceof Ue?[s]:[]})}processChildren(t,n,r,o){return z(this,null,function*(){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let u=r.children[c],l=NN(n,c),d=yield this.processSegmentGroup(t,l,u,c,o);s.push(...d)}let a=GD(s);return jN(a),a})}processSegment(t,n,r,o,i,s,a){return z(this,null,function*(){for(let c of n)try{return yield this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a)}catch(u){if(u instanceof Qt||BD(u))continue;throw u}if(PN(r,o,i))return new Jf;throw new Qt(r)})}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return z(this,null,function*(){if(xt(r)!==s&&(s===N||!Pc(o,i,r)))throw new Qt(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(t,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c);throw new Qt(o)})}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){return z(this,null,function*(){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=zD(n,o,i);if(!c)throw new Qt(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>LN&&(this.allowRedirects=!1));let f=this.createSnapshot(t,o,i,u,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=yield this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,$D(f),t),C=yield this.applyRedirects.lineralizeSegments(o,g);return this.processSegment(t,r,n,C.concat(h),s,!1,a)})}createSnapshot(t,n,r,o,i){let s=new ro(r,o,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,UN(n),xt(n),n.component??n._loadedComponent??null,n,VN(n),t),a=eh(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}matchSegmentAgainstRoute(t,n,r,o,i,s){return z(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=he=>this.createSnapshot(t,r,he.consumedSegments,he.parameters,s),c=yield yc(RN(n,r,o,t,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(n.children={}),!c?.matched)throw new Qt(n);t=r._injector??t;let{routes:u}=yield this.getChildConfig(t,r,o),l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=this.createSnapshot(t,r,h,d,s),{segmentGroup:C,slicedSegments:v}=fD(n,h,f,u);if(v.length===0&&C.hasChildren()){let he=yield this.processChildren(l,u,C,g);return new Ue(g,he)}if(u.length===0&&v.length===0)return new Ue(g,[]);let I=xt(r)===i,P=yield this.processSegment(l,u,C,v,I?N:i,!0,g);return new Ue(g,P instanceof Ue?[P]:[])})}getChildConfig(t,n,r){return z(this,null,function*(){if(n.children)return{routes:n.children,injector:t};if(n.loadChildren){if(n._loadedRoutes!==void 0){let i=n._loadedNgModuleFactory;return i&&!n._loadedInjector&&(n._loadedInjector=i.create(t).injector),{routes:n._loadedRoutes,injector:n._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield yc(wN(t,n,r,this.urlSerializer,this.abortSignal))){let i=yield this.configLoader.loadChildren(t,n);return n._loadedRoutes=i.routes,n._loadedInjector=i.injector,n._loadedNgModuleFactory=i.factory,i}throw SN(n)}return{routes:[],injector:t}})}};function jN(e){e.sort((t,n)=>t.value.outlet===N?-1:n.value.outlet===N?1:t.value.outlet.localeCompare(n.value.outlet))}function BN(e){let t=e.value.routeConfig;return t&&t.path===""}function GD(e){let t=[],n=new Set;for(let r of e){if(!BN(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=GD(r.children);t.push(new Ue(r.value,o))}return t.filter(r=>!n.has(r))}function UN(e){return e.data||{}}function VN(e){return e.resolve||{}}function HN(e,t,n,r,o,i,s){return me(a=>z(null,null,function*(){let{state:c,tree:u}=yield FN(e,t,n,r,a.extractedUrl,o,i,s);return F(y({},a),{targetSnapshot:c,urlAfterRedirects:u})}))}function $N(e){return me(t=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=t;if(!r.length)return M(t);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of WD(a))i.add(c);let s=0;return Y(i).pipe(tn(a=>o.has(a)?zN(a,n,e):(a.data=eh(a,a.parent,e).resolve,M(void 0))),Pe(()=>s++),as(1),me(a=>s===i.size?M(t):se))})}function WD(e){let t=e.children.map(n=>WD(n)).flat();return[e,...t]}function zN(e,t,n){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!kD(r)&&(o[Mi]=r.title),po(()=>(e.data=eh(e,e.parent,n).resolve,GN(o,e,t).pipe(B(i=>(e._resolvedData=i,e.data=y(y({},e.data),i),null)))))}function GN(e,t,n){let r=Uf(e);if(r.length===0)return M({});let o={};return Y(r).pipe(me(i=>WN(e[i],t,n).pipe(Dt(),Pe(s=>{if(s instanceof oo)throw xc(new Kt,s);o[i]=s}))),as(1),B(()=>o),Mn(i=>BD(i)?se:Yc(i)))}function WN(e,t,n){let r=t._environmentInjector,o=so(e,r),i=o.resolve?o.resolve(t,n):le(r,()=>o(t,n));return sr(i)}function hD(e){return we(t=>{let n=e(t);return n?Y(n).pipe(B(()=>t)):M(t)})}var sh=(()=>{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===N);return r}getResolvedTitleForRoute(n){return n.data[Mi]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(qD),providedIn:"root"})}return e})(),qD=(()=>{class e extends sh{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)(w(sD))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ur=new D("",{factory:()=>({})}),lr=new D(""),Fc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(tf);loadComponent(n,r){return z(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=z(this,null,function*(){try{let i=yield mD(le(n,()=>r.loadComponent())),s=yield QD(YD(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,o),o})}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=z(this,null,function*(){try{let i=yield ZD(r,this.compiler,n,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ZD(e,t,n,r){return z(this,null,function*(){let o=yield mD(le(n,()=>e.loadChildren())),i=yield QD(YD(o)),s;i instanceof Ua||Array.isArray(i)?s=i:s=yield t.compileModuleAsync(i),r&&r(e);let a,c,u=!1,l;return Array.isArray(s)?(c=s,u=!0):(a=s.create(n).injector,l=s,c=a.get(lr,[],{optional:!0,self:!0}).flat()),{routes:c.map(ih),injector:a,factory:l}})}function qN(e){return e&&typeof e=="object"&&"default"in e}function YD(e){return qN(e)?e.default:e}function QD(e){return z(this,null,function*(){return e})}var Lc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(ZN),providedIn:"root"})}return e})(),ZN=(()=>{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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ah=new D(""),ch=new D("");function KD(e,t,n){let r=e.get(ch),o=e.get(Q);if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),YN(e)));a.updateCallbackDone.catch(u=>{}),a.ready.catch(u=>{}),a.finished.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&le(e,()=>c({transition:a,from:t,to:n})),s}function YN(e){return new Promise(t=>{Oa({read:()=>setTimeout(t)},{injector:e})})}var QN=()=>{},uh=new D(""),jc=(()=>{class e{currentNavigation=Wn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Wn(null);events=new oe;transitionAbortWithErrorSubject=new oe;configLoader=p(Fc);environmentInjector=p(K);destroyRef=p(je);urlSerializer=p(ar);rootContexts=p(cr);location=p(vn);inputBindingEnabled=p(Ni,{optional:!0})!==null;titleStrategy=p(sh);options=p(ur,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Lc);createViewTransition=p(ah,{optional:!0});navigationErrorHandler=p(uh,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>M(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;qe(()=>{this.transitions?.next(F(y({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(n){return this.transitions=new ge(null),this.transitions.pipe(ye(r=>r!==null),we(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return M(r).pipe(we(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Ce.SupersededByNewNavigation),se;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?F(y({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload")return this.events.next(new Ot(a.id,this.urlSerializer.serialize(a.rawUrl),"",Xr.IgnoredSameUrlNavigation)),a.resolve(!1),se;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return M(a).pipe(we(d=>(this.events.next(new In(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?se:Promise.resolve(d))),HN(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),Pe(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=d.urlAfterRedirects,h)),this.events.next(new wi)}),we(d=>Y(r.routesRecognizeHandler.deferredHandle??M(void 0)).pipe(B(()=>d))),Pe(()=>{let d=new Ci(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:g,extras:C}=a,v=new In(d,this.urlSerializer.serialize(h),f,g);this.events.next(v);let I=xD(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=F(y({},a),{targetSnapshot:I,urlAfterRedirects:h,extras:F(y({},C),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(P=>(P.finalUrl=h,P)),M(r)}else return this.events.next(new Ot(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Xr.IgnoredByUrlHandlingStrategy)),a.resolve(!1),se}),B(a=>{let c=new Ec(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=F(y({},a),{guards:oN(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),gN(a=>this.events.next(a)),we(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw xc(this.urlSerializer,a.guardsResult);let c=new Ic(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return se;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",Ce.GuardRejected),se;if(a.guards.canActivateChecks.length===0)return M(a);let u=new Cc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return se;let l=!1;return M(a).pipe($N(this.paramsInheritanceStrategy),Pe({next:()=>{l=!0;let d=new wc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{l||this.cancelNavigationTransition(a,"",Ce.NoDataFromResolver)}}))}),hD(a=>{let c=l=>{let d=[];if(l.routeConfig?._loadedComponent)l.component=l.routeConfig?._loadedComponent;else if(l.routeConfig?.loadComponent){let h=l._environmentInjector;d.push(this.configLoader.loadComponent(h,l.routeConfig).then(f=>{l.component=f}))}for(let h of l.children)d.push(...c(h));return d},u=c(a.targetSnapshot.root);return u.length===0?M(a):Y(Promise.all(u).then(()=>a))}),hD(()=>this.afterPreactivation()),we(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?Y(u).pipe(B(()=>r)):M(r)}),vt(1),we(a=>{let c=eN(n.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=F(y({},a),{targetRouterState:c}),this.currentNavigation.update(l=>(l.targetRouterState=c,l)),this.events.next(new to);let u=r.beforeActivateHandler.deferredHandle;return u?Y(u.then(()=>a)):M(a)}),Pe(a=>{new Yf(n.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=QN,c)),this.lastSuccessfulNavigation.set(qe(this.currentNavigation)),this.events.next(new mt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),mo(UD(i.signal).pipe(ye(()=>!o&&!r.targetRouterState),Pe(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",Ce.Aborted)}))),Pe({complete:()=>{o=!0}}),mo(this.transitionAbortWithErrorSubject.pipe(Pe(a=>{throw a}))),go(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",Ce.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Mn(a=>{if(o=!0,this.destroyed)return r.resolve(!1),se;if(jD(a))this.events.next(new Ye(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),rN(a)?this.events.next(new no(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new ir(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=le(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof oo){let{message:l,cancellationCode:d}=xc(this.urlSerializer,u);this.events.next(new Ye(r.id,this.urlSerializer.serialize(r.extractedUrl),l,d)),this.events.next(new no(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return se}))}))}cancelNavigationTransition(n,r,o){let i=new Ye(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=qe(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function KN(e){return e!==Qr}var JD=new D("");var XD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(JN),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}shouldDestroyInjector(t){return!0}},JN=(()=>{class e extends kc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=qo(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lh=(()=>{class e{urlSerializer=p(ar);options=p(ur,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(vn);urlHandlingStrategy=p(Lc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Qe;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 Qe?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=xD(null,p(K));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(XN),providedIn:"root"})}return e})(),XN=(()=>{class e extends lh{currentPageId=0;lastSuccessfulId=-1;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",{replaceUrl:!0})})})}handleRouterEvent(n,r){n instanceof In?this.updateStateMemento():n instanceof Ot?this.commitTransition(r):n instanceof Ci?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof to?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Ye&&!AD(n)?this.restoreHistory(r):n instanceof ir?this.restoreHistory(r,!0):n instanceof mt&&(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())}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}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=qo(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bc(e,t){e.events.pipe(ye(n=>n instanceof mt||n instanceof Ye||n instanceof ir||n instanceof Ot),B(n=>n instanceof mt||n instanceof Ot?0:(n instanceof Ye?n.code===Ce.Redirect||n.code===Ce.SupersededByNewNavigation:!1)?2:1),ye(n=>n!==2),vt(1)).subscribe(()=>{t()})}var Cn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Va);stateManager=p(lh);options=p(ur,{optional:!0})||{};pendingTasks=p(_t);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(jc);urlSerializer=p(ar);location=p(vn);urlHandlingStrategy=p(Lc);injector=p(K);_events=new oe;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(XD);injectorCleanup=p(JD,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(lr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Ni,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new re;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=qe(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Ye&&r.code!==Ce.Redirect&&r.code!==Ce.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof mt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof no){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||KN(o.source)},s);this.scheduleNavigation(a,Qr,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}JM(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),Qr,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o,i)=>{this.navigateToSyncWithBrowser(n,o,r,i)})}navigateToSyncWithBrowser(n,r,o,i){let 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(Re)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return qe(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ih),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(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=_D(h)}catch(h){(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return MD(d,n,l,u??null,this.urlSerializer)}navigateByUrl(n,r={skipLocationChange:!1}){let o=Jr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Qr,null,r)}navigate(n,r={skipLocationChange:!1}){return eR(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch(r){return this.console.warn(Ct(4018,!1)),this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},vD):r===!1?o=y({},Vf):o=y(y({},Vf),r),Jr(n))return aD(this.currentUrlTree,n,o);let i=this.parseUrl(n);return aD(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 Bc(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(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function eR(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var Ai=class{};var eE=(()=>{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(ye(n=>n instanceof mt),tn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=Hr(i.providers,n,""));let s=i._injector??n;i._loadedNgModuleFactory&&!i._loadedInjector&&(i._loadedInjector=i._loadedNgModuleFactory.create(s).injector);let 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 Y(o).pipe(en())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{if(n.destroyed)return M(null);let o;r.loadChildren&&r.canLoad===void 0?o=Y(this.loader.loadChildren(n,r)):o=M(null);let i=o.pipe(me(s=>s===null?M(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(n,r);return Y([i,s]).pipe(en())}else return i})}static \u0275fac=function(r){return new(r||e)(w(Cn),w(K),w(Ai),w(Fc))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tE=new D(""),nR=(()=>{class e{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Qr;restoredId=0;store={};urlSerializer=p(ar);zone=p(J);viewportScroller=p(wf);transitions=p(jc);constructor(n){this.options=n,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof In?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof mt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Ot&&n.code===Xr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{if(!(n instanceof eo)||n.scrollBehavior==="manual")return;let r={behavior:"instant"};n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position,r):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(n,r){let o=qe(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>z(this,null,function*(){yield new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new eo(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Nd()};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function rR(e,...t){return nt([{provide:lr,multi:!0,useValue:e},[],{provide:Jt,useFactory:nE},{provide:ri,multi:!0,useFactory:rE},t.map(n=>n.\u0275providers)])}function nE(){return p(Cn).routerState.root}function xi(e,t){return{\u0275kind:e,\u0275providers:t}}function rE(){let e=p(pe);return t=>{let n=e.get(yn);if(t!==n.components[0])return;let r=e.get(Cn),o=e.get(oE);e.get(fh)===1&&r.initialNavigation(),e.get(aE,null,{optional:!0})?.setUpPreloading(),e.get(tE,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var oE=new D("",{factory:()=>new oe}),fh=new D("",{factory:()=>1});function iE(){let e=[{provide:Sa,useValue:!0},{provide:fh,useValue:0},$a(()=>{let t=p(pe);return t.get(uf,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(Cn),i=t.get(oE);Bc(o,()=>{r(!0)}),t.get(jc).afterPreactivation=()=>(r(!0),i.closed?M(void 0):i),o.initialNavigation()}))})];return xi(2,e)}function sE(){let e=[$a(()=>{p(Cn).setUpLocationChangeListener()}),{provide:fh,useValue:2}];return xi(3,e)}var aE=new D("");function cE(e){return xi(0,[{provide:aE,useExisting:eE},{provide:Ai,useExisting:e}])}function uE(){return xi(8,[rh,{provide:Ni,useExisting:rh}])}function lE(e){ht("NgRouterViewTransitions");let t=[{provide:ah,useValue:KD},{provide:ch,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return xi(9,t)}var dE=[vn,{provide:ar,useClass:Kt},Cn,cr,{provide:Jt,useFactory:nE},Fc,[]],oR=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[dE,[],{provide:lr,multi:!0,useValue:n},[],r?.errorHandler?{provide:uh,useValue:r.errorHandler}:[],{provide:ur,useValue:r||{}},r?.useHash?sR():aR(),iR(),r?.preloadingStrategy?cE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?cR(r):[],r?.bindToComponentInputs?uE().\u0275providers:[],r?.enableViewTransitions?lE().\u0275providers:[],uR()]}}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=Pt({})}return e})();function iR(){return{provide:tE,useFactory:()=>{let e=p(wf),t=p(ur);return t.scrollOffset&&e.setOffset(t.scrollOffset),new nR(t)}}}function sR(){return{provide:qt,useClass:vf}}function aR(){return{provide:qt,useClass:Za}}function cR(e){return[e.initialNavigation==="disabled"?sE().\u0275providers:[],e.initialNavigation==="enabledBlocking"?iE().\u0275providers:[]]}var dh=new D("");function uR(){return[{provide:dh,useFactory:rE},{provide:ri,multi:!0,useExisting:dh}]}export{y as a,F as b,gE as c,z as d,re as e,k as f,oe as g,ge as h,lo as i,se as j,Y as k,M as l,Yc as m,NE as n,RE as o,B as p,ss as q,mr as r,po as s,BE as t,UE as u,ye as v,VE as w,Mn as x,Hh as y,vt as z,HE as A,zh as B,go as C,Dt as D,GE as E,Kc as F,Wh as G,WE as H,cs as I,we as J,mo as K,qE as L,Pe as M,m as N,Ss as O,E as P,Pt as Q,D as R,w as S,p as T,nt as U,mp as V,K as W,Rp as X,Ap as Y,zp as Z,Gp as _,pe as $,Q as aa,je as ba,Te as ca,J as da,It as ea,xI as fa,Wn as ga,kI as ha,Br as ia,qo as ja,Vt as ka,ca as la,wa as ma,Zo as na,gC as oa,Ta as pa,dt as qa,WC as ra,qC as sa,ZC as ta,lw as ua,ht as va,Oa as wa,Fr as xa,Qn as ya,ti as za,Me as Aa,Nd as Ba,gn as Ca,Kn as Da,Ld as Ea,mn as Fa,Xn as Ga,ni as Ha,Xb as Ia,vy as Ja,Ey as Ka,Iy as La,jd as Ma,er as Na,Vd as Oa,yn as Pa,$d as Qa,fT as Ra,pT as Sa,gT as Ta,mT as Ua,yT as Va,vT as Wa,DT as Xa,by as Ya,Da as Za,Gd as _a,za as $a,Wd as ab,qd as bb,Ty as cb,Zd as db,Yd as eb,_y as fb,TT as gb,My as hb,Qd as ib,Ry as jb,RT as kb,xT as lb,OT as mb,Kd as nb,xy as ob,Oy as pb,ky as qb,Py as rb,Fy as sb,PT as tb,FT as ub,By as vb,Uy as wb,qT as xb,oS as yb,qy as zb,Jd as Ab,Zy as Bb,Qy as Cb,aS as Db,Ky as Eb,cS as Fb,fS as Gb,hS as Hb,pS as Ib,gS as Jb,yS as Kb,DS as Lb,ES as Mb,IS as Nb,CS as Ob,qe as Pb,nf as Qb,of as Rb,dv as Sb,xH as Tb,OH as Ub,kH as Vb,zr as Wb,pv as Xb,n_ as Yb,FH as Zb,LH as _b,Gt as $b,vn as ac,__ as bc,M_ as cc,A_ as dc,O_ as ec,k_ as fc,Bv as gc,i2 as hc,Rf as ic,K_ as jc,Dn as kc,cc as lc,Yt as mc,oD as nc,wM as oc,bM as pc,Jt as qc,nh as rc,Cn as sc,rR as tc,oR as uc};
|