@whoz-oss/coday-client 0.86.0 → 0.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdpartylicenses.txt +2 -2
- package/browser/{chunk-TOMK63FE.js → chunk-6DFCBHHF.js} +1 -1
- package/browser/chunk-AYUFWSWZ.js +1 -0
- package/browser/chunk-E3T5JJR5.js +1 -0
- package/browser/chunk-GBTE3TIN.js +1 -0
- package/browser/chunk-KBLUNDHF.js +1 -0
- package/browser/{chunk-64ZRWATH.js → chunk-NFPIT5IF.js} +1 -1
- package/browser/chunk-NYZS626O.js +1 -0
- package/browser/chunk-ODM275WP.js +1 -0
- package/browser/chunk-P3BYIXZM.js +1 -0
- package/browser/chunk-QITHUHCN.js +1 -0
- package/browser/chunk-VEM5V6G6.js +1 -0
- package/browser/chunk-WEVA7DKF.js +1 -0
- package/browser/chunk-WG23DARU.js +5 -0
- package/browser/chunk-WSC62DRG.js +1 -0
- package/browser/chunk-XR7PEJ4F.js +1 -0
- package/browser/{chunk-TYN7G4PU.js → chunk-Y5DXUE3H.js} +1 -1
- package/browser/{chunk-LOONCJBU.js → chunk-ZWSN3GAA.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/main-2PDLAJ3P.js +377 -0
- package/browser/styles-I3V5BO4R.css +1 -0
- package/package.json +1 -1
- package/browser/chunk-3I3KTCJW.js +0 -1
- package/browser/chunk-6U5IOML5.js +0 -1
- package/browser/chunk-75SUNMNL.js +0 -1
- package/browser/chunk-GNNRWNIY.js +0 -1
- package/browser/chunk-HV577N5Z.js +0 -1
- package/browser/chunk-J577MYXL.js +0 -1
- package/browser/chunk-JJVDNH6V.js +0 -1
- package/browser/chunk-LU3TJP27.js +0 -5
- package/browser/chunk-NLYUDEOW.js +0 -1
- package/browser/chunk-OXQ5NGLD.js +0 -1
- package/browser/chunk-WWXMC743.js +0 -1
- package/browser/chunk-YELZ433M.js +0 -1
- package/browser/main-BFHPXX2K.js +0 -377
- package/browser/styles-VBFEGZOM.css +0 -1
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var vE=Object.defineProperty,DE=Object.defineProperties;var EE=Object.getOwnPropertyDescriptors;var Bi=Object.getOwnPropertySymbols;var vh=Object.prototype.hasOwnProperty,Dh=Object.prototype.propertyIsEnumerable;var yh=(e,t,n)=>t in e?vE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||={})vh.call(t,n)&&yh(e,n,t[n]);if(Bi)for(var n of Bi(t))Dh.call(t,n)&&yh(e,n,t[n]);return e},F=(e,t)=>DE(e,EE(t));var IE=(e,t)=>{var n={};for(var r in e)vh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Bi)for(var r of Bi(e))t.indexOf(r)<0&&Dh.call(e,r)&&(n[r]=e[r]);return n};var dr=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var Vc;function Vi(){return Vc}function ht(e){let t=Vc;return Vc=e,t}var Eh=Symbol("NotFound");function fr(e){return e===Eh||e?.name==="\u0275NotFound"}var ye=null,Ui=!1,Uc=1,wE=null,ae=Symbol("SIGNAL");function N(e){let t=ye;return ye=e,t}function Gi(){return ye}var _n={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 Sn(e){if(Ui)throw new Error("");if(ye===null)return;ye.consumerOnSignalRead(e);let t=ye.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ye.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ye.producers,n!==void 0&&n.producer===e)){ye.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ye&&(!r||bE(o,ye)))return;let i=hr(ye),s={producer:e,consumer:ye,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ye.producersTail=s,t!==void 0?t.nextProducer=s:ye.producers=s,i&&bh(e,s)}function Ih(){Uc++}function qi(e){if(!(hr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Uc)){if(!e.producerMustRecompute(e)&&!Nn(e)){zi(e);return}e.producerRecomputeValue(e),zi(e)}}function $c(e){if(e.consumers===void 0)return;let t=Ui;Ui=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||CE(r)}}finally{Ui=t}}function Hc(){return ye?.consumerAllowSignalWrites!==!1}function CE(e){e.dirty=!0,$c(e),e.consumerMarkedDirty?.(e)}function zi(e){e.dirty=!1,e.lastCleanEpoch=Uc}function Jt(e){return e&&wh(e),N(e)}function wh(e){e.producersTail=void 0,e.recomputing=!0}function Mn(e,t){N(t),e&&Ch(e)}function Ch(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(hr(e))do n=zc(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Nn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(qi(n),r!==n.version))return!0}return!1}function Xt(e){if(hr(e)){let t=e.producers;for(;t!==void 0;)t=zc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function bh(e,t){let n=e.consumersTail,r=hr(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)bh(o.producer,o)}function zc(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,!hr(t)){let i=t.producers;for(;i!==void 0;)i=zc(i)}return n}function hr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Wi(e){wE?.(e)}function bE(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 Zi(e,t){return Object.is(e,t)}function mo(e,t){let n=Object.create(TE);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(qi(n),Sn(n),n.value===go)throw n.error;return n.value};return r[ae]=n,Wi(n),r}var $i=Symbol("UNSET"),Hi=Symbol("COMPUTING"),go=Symbol("ERRORED"),TE=F(y({},_n),{value:$i,dirty:!0,error:null,equal:Zi,kind:"computed",producerMustRecompute(e){return e.value===$i||e.value===Hi},producerRecomputeValue(e){if(e.value===Hi)throw new Error("");let t=e.value;e.value=Hi;let n=Jt(e),r,o=!1;try{r=e.computation(),N(null),o=t!==$i&&t!==go&&r!==go&&e.equal(t,r)}catch(i){r=go,e.error=i}finally{Mn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function _E(){throw new Error}var Th=_E;function _h(e){Th(e)}function Gc(e){Th=e}var SE=null;function qc(e,t){let n=Object.create(yo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Sh(n);return r[ae]=n,Wi(n),[r,s=>pr(n,s),s=>Wc(n,s)]}function Sh(e){return Sn(e),e.value}function pr(e,t){Hc()||_h(e),e.equal(e.value,t)||(e.value=t,ME(e))}function Wc(e,t){Hc()||_h(e),pr(e,t(e.value))}var yo=F(y({},_n),{equal:Zi,value:void 0,kind:"signal"});function ME(e){e.version++,Ih(),$c(e),SE?.(e)}function S(e){return typeof e=="function"}function gr(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 Yi=gr(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 Rn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var K=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){t=i instanceof Yi?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 Yi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Yi(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)&&Rn(n,t)}remove(t){let{_finalizers:n}=this;n&&Rn(n,t),t instanceof e&&t._removeParent(this)}};K.EMPTY=(()=>{let e=new K;return e.closed=!0,e})();var Zc=K.EMPTY;function Qi(e){return e instanceof K||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Mh(e){S(e)?e():e.unsubscribe()}var Ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var mr={setTimeout(e,t,...n){let{delegate:r}=mr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=mr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ki(e){mr.setTimeout(()=>{let{onUnhandledError:t}=Ye;if(t)t(e);else throw e})}function vo(){}var Nh=Yc("C",void 0,void 0);function Rh(e){return Yc("E",void 0,e)}function Ah(e){return Yc("N",e,void 0)}function Yc(e,t,n){return{kind:e,value:t,error:n}}var An=null;function yr(e){if(Ye.useDeprecatedSynchronousErrorHandling){let t=!An;if(t&&(An={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=An;if(An=null,n)throw r}}else e()}function xh(e){Ye.useDeprecatedSynchronousErrorHandling&&An&&(An.errorThrown=!0,An.error=e)}var xn=class extends K{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Qi(t)&&t.add(this)):this.destination=AE}static create(t,n,r){return new Qe(t,n,r)}next(t){this.isStopped?Kc(Ah(t),this):this._next(t)}error(t){this.isStopped?Kc(Rh(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Kc(Nh,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()}}},NE=Function.prototype.bind;function Qc(e,t){return NE.call(e,t)}var Jc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ji(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ji(r)}else Ji(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ji(n)}}},Qe=class extends xn{constructor(t,n,r){super();let o;if(S(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Qc(t.next,i),error:t.error&&Qc(t.error,i),complete:t.complete&&Qc(t.complete,i)}):o=t}this.destination=new Jc(o)}};function Ji(e){Ye.useDeprecatedSynchronousErrorHandling?xh(e):Ki(e)}function RE(e){throw e}function Kc(e,t){let{onStoppedNotification:n}=Ye;n&&mr.setTimeout(()=>n(e,t))}var AE={closed:!0,next:vo,error:RE,complete:vo};var vr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function Xc(...e){return eu(e)}function eu(e){return e.length===0?we:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var k=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=OE(n)?n:new Qe(n,r,o);return yr(()=>{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=Oh(r),new r((o,i)=>{let s=new Qe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[vr](){return this}pipe(...n){return eu(n)(this)}toPromise(n){return n=Oh(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 Oh(e){var t;return(t=e??Ye.Promise)!==null&&t!==void 0?t:Promise}function xE(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function OE(e){return e&&e instanceof xn||xE(e)&&Qi(e)}function tu(e){return S(e?.lift)}function A(e){return t=>{if(tu(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 R(e,t,n,r,o){return new nu(e,t,n,r,o)}var nu=class extends xn{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 Dr(){return A((e,t)=>{let n=null;e._refCount++;let r=R(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Er=class extends k{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,tu(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new K;let n=this.getSubject();t.add(this.source.subscribe(R(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=K.EMPTY)}return t}refCount(){return Dr()(this)}};var Ph=gr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Xi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ph}next(n){yr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){yr(()=>{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(){yr(()=>{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?Zc:(this.currentObservers=null,i.push(n),new K(()=>{this.currentObservers=null,Rn(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 Xi(t,n),e})(),Xi=class extends J{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Zc}};var ge=class extends J{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Do={now(){return(Do.delegate||Date).now()},delegate:void 0};var es=class extends J{constructor(t=1/0,n=1/0,r=Do){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 ts=class extends K{constructor(t,n){super()}schedule(t,n=0){return this}};var Eo={setInterval(e,t,...n){let{delegate:r}=Eo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Eo;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var ns=class extends ts{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 Eo.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&&Eo.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,Rn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ir=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)}};Ir.now=Do.now;var rs=class extends Ir{constructor(t,n=Ir.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 Io=new rs(ns),kh=Io;var ve=new k(e=>e.complete());function os(e){return e&&S(e.schedule)}function ru(e){return e[e.length-1]}function is(e){return S(ru(e))?e.pop():void 0}function pt(e){return os(ru(e))?e.pop():void 0}function Fh(e,t){return typeof ru(e)=="number"?e.pop():t}function jh(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 Lh(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 On(e){return this instanceof On?(this.v=e,this):new On(e)}function Bh(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(E){return new Promise(function(D,v){i.push([f,E,D,v])>1||c(f,E)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(E){h(i[0][3],E)}}function u(f){f.value instanceof On?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Vh(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 Lh=="function"?Lh(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 wr=e=>e&&typeof e.length=="number"&&typeof e!="function";function ss(e){return S(e?.then)}function as(e){return S(e[vr])}function cs(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function us(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 PE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ls=PE();function ds(e){return S(e?.[ls])}function fs(e){return Bh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield On(n.read());if(o)return yield On(void 0);yield yield On(r)}}finally{n.releaseLock()}})}function hs(e){return S(e?.getReader)}function V(e){if(e instanceof k)return e;if(e!=null){if(as(e))return kE(e);if(wr(e))return FE(e);if(ss(e))return LE(e);if(cs(e))return Uh(e);if(ds(e))return jE(e);if(hs(e))return BE(e)}throw us(e)}function kE(e){return new k(t=>{let n=e[vr]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function FE(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function LE(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ki)})}function jE(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Uh(e){return new k(t=>{VE(e,t).catch(n=>t.error(n))})}function BE(e){return Uh(fs(e))}function VE(e,t){var n,r,o,i;return jh(this,void 0,void 0,function*(){try{for(n=Vh(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 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 ps(e,t=0){return A((n,r)=>{n.subscribe(R(r,o=>Ne(r,e,()=>r.next(o),t),()=>Ne(r,e,()=>r.complete(),t),o=>Ne(r,e,()=>r.error(o),t)))})}function gs(e,t=0){return A((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function $h(e,t){return V(e).pipe(gs(t),ps(t))}function Hh(e,t){return V(e).pipe(gs(t),ps(t))}function zh(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 Gh(e,t){return new k(n=>{let r;return Ne(n,t,()=>{r=e[ls](),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)}),()=>S(r?.return)&&r.return()})}function ms(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 qh(e,t){return ms(fs(e),t)}function Wh(e,t){if(e!=null){if(as(e))return $h(e,t);if(wr(e))return zh(e,t);if(ss(e))return Hh(e,t);if(cs(e))return ms(e,t);if(ds(e))return Gh(e,t);if(hs(e))return qh(e,t)}throw us(e)}function W(e,t){return t?Wh(e,t):V(e)}function T(...e){let t=pt(e);return W(e,t)}function Cr(e,t){let n=S(e)?e:()=>e,r=o=>o.error(n());return new k(t?o=>t.schedule(r,0,o):r)}function ou(e){return!!e&&(e instanceof k||S(e.lift)&&S(e.subscribe))}var Pe=gr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function UE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new Pe)}})})}function $E(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Qe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Pe)}});e.subscribe(i)})}function Zh(e){return e instanceof Date&&!isNaN(e)}function x(e,t){return A((n,r)=>{let o=0;n.subscribe(R(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:HE}=Array;function zE(e,t){return HE(t)?e(...t):e(t)}function br(e){return x(t=>zE(e,t))}var{isArray:GE}=Array,{getPrototypeOf:qE,prototype:WE,keys:ZE}=Object;function ys(e){if(e.length===1){let t=e[0];if(GE(t))return{args:t,keys:null};if(YE(t)){let n=ZE(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function YE(e){return e&&typeof e=="object"&&qE(e)===WE}function vs(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function wo(...e){let t=pt(e),n=is(e),{args:r,keys:o}=ys(e);if(r.length===0)return W([],t);let i=new k(QE(r,t,o?s=>vs(o,s):we));return n?i.pipe(br(n)):i}function QE(e,t,n=we){return r=>{Yh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Yh(t,()=>{let u=W(e[c],t),l=!1;u.subscribe(R(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Yh(e,t,n){e?Ne(n,e,t):t()}function Qh(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=E=>u<r?g(E):c.push(E),g=E=>{i&&t.next(E),u++;let D=!1;V(n(E,l++)).subscribe(R(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){let v=c.shift();s?Ne(t,s,()=>g(v)):g(v)}h()}catch(v){t.error(v)}}))};return e.subscribe(R(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Y(e,t,n=1/0){return S(t)?Y((r,o)=>x((i,s)=>t(r,i,o,s))(V(e(r,o))),n):(typeof t=="number"&&(n=t),A((r,o)=>Qh(r,o,e,n)))}function en(e=1/0){return Y(we,e)}function Kh(){return en(1)}function Tr(...e){return Kh()(W(e,pt(e)))}function Co(e){return new k(t=>{V(e()).subscribe(t)})}function KE(...e){let t=is(e),{args:n,keys:r}=ys(e),o=new k(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;V(n[l]).subscribe(R(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?vs(r,a):a),i.complete())}))}});return t?o.pipe(br(t)):o}var JE=["addListener","removeListener"],XE=["addEventListener","removeEventListener"],eI=["on","off"];function iu(e,t,n,r){if(S(n)&&(r=n,n=void 0),r)return iu(e,t,n).pipe(br(r));let[o,i]=rI(e)?XE.map(s=>a=>e[s](t,a,n)):tI(e)?JE.map(Jh(e,t)):nI(e)?eI.map(Jh(e,t)):[];if(!o&&wr(e))return Y(s=>iu(s,t,n))(V(e));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Jh(e,t){return n=>r=>e[n](t,r)}function tI(e){return S(e.addListener)&&S(e.removeListener)}function nI(e){return S(e.on)&&S(e.off)}function rI(e){return S(e.addEventListener)&&S(e.removeEventListener)}function Xh(e=0,t,n=kh){let r=-1;return t!=null&&(os(t)?n=t:r=t),new k(o=>{let i=Zh(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function oI(...e){let t=pt(e),n=Fh(e,1/0),r=e;return r.length?r.length===1?V(r[0]):en(n)(W(r,t)):ve}function ce(e,t){return A((n,r)=>{let o=0;n.subscribe(R(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ep(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(R(n,u=>{r=!0,o=u,i||V(e(u)).subscribe(i=R(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function iI(e,t=Io){return ep(()=>Xh(e,t))}function gt(e){return A((t,n)=>{let r=null,o=!1,i;r=t.subscribe(R(n,void 0,void 0,s=>{i=V(e(s,gt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function tp(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(R(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function mt(e,t){return S(t)?Y(e,t,1):Y(e,1)}function sI(e,t=Io){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(R(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 tn(e){return A((t,n)=>{let r=!1;t.subscribe(R(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function yt(e){return e<=0?()=>ve:A((t,n)=>{let r=0;t.subscribe(R(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function aI(e){return x(()=>e)}function np(e,t=we){return e=e??cI,A((n,r)=>{let o,i=!0;n.subscribe(R(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function cI(e,t){return e===t}function Ds(e=uI){return A((t,n)=>{let r=!1;t.subscribe(R(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function uI(){return new Pe}function Pn(e){return A((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function vt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ce((o,i)=>e(o,i,r)):we,yt(1),n?tn(t):Ds(()=>new Pe))}function _r(e){return e<=0?()=>ve:A((t,n)=>{let r=[];t.subscribe(R(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 su(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ce((o,i)=>e(o,i,r)):we,_r(1),n?tn(t):Ds(()=>new Pe))}function lI(){return A((e,t)=>{let n,r=!1;e.subscribe(R(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function au(e,t){return A(tp(e,t,arguments.length>=2,!0))}function uu(e={}){let{connector:t=()=>new J,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},g=()=>{let E=s;f(),E?.unsubscribe()};return A((E,D)=>{u++,!d&&!l&&h();let v=c=c??t();D.add(()=>{u--,u===0&&!d&&!l&&(a=cu(g,o))}),v.subscribe(D),!s&&u>0&&(s=new Qe({next:L=>v.next(L),error:L=>{d=!0,h(),a=cu(f,n,L),v.error(L)},complete:()=>{l=!0,h(),a=cu(f,r),v.complete()}}),V(E).subscribe(s))})(i)}}function cu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Qe({next:()=>{r.unsubscribe(),e()}});return V(t(...n)).subscribe(r)}function rp(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,uu({connector:()=>new es(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function dI(e){return ce((t,n)=>e<=n)}function Es(...e){let t=pt(e);return A((n,r)=>{(t?Tr(e,n,t):Tr(e,n)).subscribe(r)})}function fe(e,t){return A((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(R(r,c=>{o?.unsubscribe();let u=0,l=i++;V(e(c,l)).subscribe(o=R(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Is(e){return A((t,n)=>{V(e).subscribe(R(n,()=>n.complete(),vo)),!n.closed&&t.subscribe(n)})}function fI(e,t=!1){return A((n,r)=>{let o=0;n.subscribe(R(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function he(e,t,n){let r=S(e)||t||n?{next:e,error:t,complete:n}:e;return r?A((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(R(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):we}function op(e){let t=N(null);try{return e()}finally{N(t)}}var ip=F(y({},_n),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function sp(e){if(e.dirty=!1,e.version>0&&!Nn(e))return;e.version++;let t=Jt(e);try{e.cleanup(),e.fn()}finally{Mn(e,t)}}var Ts="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(Ft(t,n)),this.code=t}};function hI(e){return`NG0${Math.abs(e)}`}function Ft(e,t){return`${hI(e)}${t?": "+t:""}`}var Ve=globalThis;function B(e){for(let t in e)if(e[t]===B)return t;throw Error("")}function up(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function kt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(kt).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
-
`);return r>=0?n.slice(0,r):n}function _s(e,t){return e?t?`${e} ${t}`:e:t||""}var pI=B({__forward_ref__:B});function Ss(e){return e.__forward_ref__=Ss,e.toString=function(){return kt(this())},e}function ue(e){return Eu(e)?e():e}function Eu(e){return typeof e=="function"&&e.hasOwnProperty(pI)&&e.__forward_ref__===Ss}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mo(e){return gI(e,Ms)}function Iu(e){return Mo(e)!==null}function gI(e,t){return e.hasOwnProperty(t)&&e[t]||null}function mI(e){let t=e?.[Ms]??null;return t||null}function du(e){return e&&e.hasOwnProperty(Cs)?e[Cs]:null}var Ms=B({\u0275prov:B}),Cs=B({\u0275inj:B}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function wu(e){return e&&!!e.\u0275providers}var Cu=B({\u0275cmp:B}),bu=B({\u0275dir:B}),Tu=B({\u0275pipe:B}),_u=B({\u0275mod:B}),To=B({\u0275fac:B}),Bn=B({__NG_ELEMENT_ID__:B}),ap=B({__NG_ENV_ID__:B});function on(e){return typeof e=="string"?e:e==null?"":String(e)}function lp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():on(e)}var dp=B({ngErrorCode:B}),yI=B({ngErrorMessage:B}),vI=B({ngTokenPath:B});function Su(e,t){return fp("",-200,t)}function Ns(e,t){throw new m(-201,!1)}function fp(e,t,n){let r=new m(t,e);return r[dp]=t,r[yI]=e,n&&(r[vI]=n),r}function DI(e){return e[dp]}var fu;function hp(){return fu}function Ce(e){let t=fu;return fu=e,t}function Mu(e,t,n){let r=Mo(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;Ns(e,"Injector")}var EI={},kn=EI,II="__NG_DI_FLAG__",hu=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Fn(n)||0;try{return this.injector.get(t,r&8?null:kn,r)}catch(o){if(fr(o))return o;throw o}}};function wI(e,t=0){let n=Vi();if(n===void 0)throw new m(-203,!1);if(n===null)return Mu(e,void 0,t);{let r=CI(t),o=n.retrieve(e,r);if(fr(o)){if(r.optional)return null;throw o}return o}}function C(e,t=0){return(hp()||wI)(ue(e),t)}function p(e,t){return C(e,Fn(t))}function Fn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function CI(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function pu(e){let t=[];for(let n=0;n<e.length;n++){let r=ue(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=bI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(C(o,i))}else t.push(C(r))}return t}function bI(e){return e[II]}function nn(e,t){let n=e.hasOwnProperty(To);return n?e[To]:null}function pp(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 gp(e){return e.flat(Number.POSITIVE_INFINITY)}function Rs(e,t){e.forEach(n=>Array.isArray(n)?Rs(n,t):t(n))}function Nu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function No(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function mp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function yp(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 As(e,t,n){let r=Mr(e,t);return r>=0?e[r|1]=n:(r=~r,yp(e,r,t,n)),r}function xs(e,t){let n=Mr(e,t);if(n>=0)return e[n|1]}function Mr(e,t){return TI(e,t,1)}function TI(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Ke={},De=[],Dt=new I(""),Ru=new I("",-1),Au=new I(""),_o=class{get(t,n=kn){if(n===kn){let o=fp("",-201);throw o.name="\u0275NotFound",o}return n}};function xu(e){return e[_u]||null}function Et(e){return e[Cu]||null}function Os(e){return e[bu]||null}function vp(e){return e[Tu]||null}function Je(e){return{\u0275providers:e}}function Dp(e){return Je([{provide:Dt,multi:!0,useValue:e}])}function Ep(...e){return{\u0275providers:Ou(!0,e),\u0275fromNgModule:!0}}function Ou(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Rs(t,s=>{let a=s;bs(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ip(o,i),n}function Ip(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Pu(o,i=>{t(i,r)})}}function bs(e,t,n,r){if(e=ue(e),!e)return!1;let o=null,i=du(e),s=!i&&Et(e);if(!i&&!s){let c=e.ngModule;if(i=du(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)bs(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Rs(i.imports,l=>{bs(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Ip(u,t)}if(!a){let u=nn(o)||(()=>new o);t({provide:o,useFactory:u,deps:De},o),t({provide:Au,useValue:o,multi:!0},o),t({provide:Dt,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Pu(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Pu(e,t){for(let n of e)wu(n)&&(n=n.\u0275providers),Array.isArray(n)?Pu(n,t):t(n)}var _I=B({provide:String,useValue:B});function wp(e){return e!==null&&typeof e=="object"&&_I in e}function SI(e){return!!(e&&e.useExisting)}function MI(e){return!!(e&&e.useFactory)}function Ln(e){return typeof e=="function"}function Cp(e){return!!e.useClass}var Ro=new I(""),ws={},cp={},lu;function Nr(){return lu===void 0&&(lu=new _o),lu}var te=class{},jn=class extends te{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,mu(t,s=>this.processProvider(s)),this.records.set(Ru,Sr(void 0,this)),o.has("environment")&&this.records.set(te,Sr(void 0,this));let i=this.records.get(Ro);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Au,De,{self:!0}))}retrieve(t,n){let r=Fn(n)||0;try{return this.get(t,kn,r)}catch(o){if(fr(o))return o;throw o}}destroy(){bo(this),this._destroyed=!0;let t=N(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(),N(t)}}onDestroy(t){return bo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){bo(this);let n=ht(this),r=Ce(void 0),o;try{return t()}finally{ht(n),Ce(r)}}get(t,n=kn,r){if(bo(this),t.hasOwnProperty(ap))return t[ap](this);let o=Fn(r),i,s=ht(this),a=Ce(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=OI(t)&&Mo(t);l&&this.injectableDefInScope(l)?u=Sr(gu(t),ws):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Nr():this.parent;return n=o&8&&n===kn?null:n,c.get(t,n)}catch(c){let u=DI(c);throw u===-200||u===-201?new m(u,null):c}finally{Ce(a),ht(s)}}resolveInjectorInitializers(){let t=N(null),n=ht(this),r=Ce(void 0),o;try{let i=this.get(Dt,De,{self:!0});for(let s of i)s()}finally{ht(n),Ce(r),N(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(kt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ue(t);let n=Ln(t)?t:ue(t&&t.provide),r=RI(t);if(!Ln(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Sr(void 0,ws,!0),o.factory=()=>pu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=N(null);try{if(n.value===cp)throw Su(kt(t));return n.value===ws&&(n.value=cp,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&xI(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{N(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ue(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function gu(e){let t=Mo(e),n=t!==null?t.factory:nn(e);if(n!==null)return n;if(e instanceof I)throw new m(204,!1);if(e instanceof Function)return NI(e);throw new m(204,!1)}function NI(e){if(e.length>0)throw new m(204,!1);let n=mI(e);return n!==null?()=>n.factory(e):()=>new e}function RI(e){if(wp(e))return Sr(void 0,e.useValue);{let t=ku(e);return Sr(t,ws)}}function ku(e,t,n){let r;if(Ln(e)){let o=ue(e);return nn(o)||gu(o)}else if(wp(e))r=()=>ue(e.useValue);else if(MI(e))r=()=>e.useFactory(...pu(e.deps||[]));else if(SI(e))r=(o,i)=>C(ue(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ue(e&&(e.useClass||e.provide));if(AI(e))r=()=>new o(...pu(e.deps));else return nn(o)||gu(o)}return r}function bo(e){if(e.destroyed)throw new m(205,!1)}function Sr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function AI(e){return!!e.deps}function xI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function OI(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function mu(e,t){for(let n of e)Array.isArray(n)?mu(n,t):n&&wu(n)?mu(n.\u0275providers,t):t(n)}function pe(e,t){let n;e instanceof jn?(bo(e),n=e):n=new hu(e);let r,o=ht(n),i=Ce(void 0);try{return t()}finally{ht(o),Ce(i)}}function bp(){return hp()!==void 0||Vi()!=null}var Xe=0,b=1,M=2,le=3,Ue=4,be=5,Vn=6,Rr=7,X=8,sn=9,It=10,$=11,Ar=12,Fu=13,Un=14,Ee=15,an=16,$n=17,wt=18,Ao=19,Lu=20,Pt=21,Ps=22,jt=23,ke=24,Hn=25,zn=26,G=27,Tp=1,ju=6,cn=7,xo=8,Gn=9,re=10;function Ct(e){return Array.isArray(e)&&typeof e[Tp]=="object"}function et(e){return Array.isArray(e)&&e[Tp]===!0}function Bu(e){return(e.flags&4)!==0}function un(e){return e.componentOffset>-1}function xr(e){return(e.flags&1)===1}function tt(e){return!!e.template}function Or(e){return(e[M]&512)!==0}function qn(e){return(e[M]&256)===256}var Vu="svg",_p="math";function $e(e){for(;Array.isArray(e);)e=e[Xe];return e}function Uu(e,t){return $e(t[e])}function nt(e,t){return $e(t[e.index])}function Oo(e,t){return e.data[t]}function ks(e,t){return e[t]}function $u(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function He(e,t){let n=t[e];return Ct(n)?n:n[Xe]}function Sp(e){return(e[M]&4)===4}function Fs(e){return(e[M]&128)===128}function Mp(e){return et(e[le])}function ze(e,t){return t==null?null:e[t]}function Hu(e){e[$n]=0}function zu(e){e[M]&1024||(e[M]|=1024,Fs(e)&&ln(e))}function Np(e,t){for(;e>0;)t=t[Un],e--;return t}function Po(e){return!!(e[M]&9216||e[ke]?.dirty)}function Ls(e){e[It].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),Po(e)&&ln(e)}function ln(e){e[It].changeDetectionScheduler?.notify(0);let t=rn(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!Fs(t)));)t=rn(t)}function Gu(e,t){if(qn(e))throw new m(911,!1);e[Pt]===null&&(e[Pt]=[]),e[Pt].push(t)}function Rp(e,t){if(e[Pt]===null)return;let n=e[Pt].indexOf(t);n!==-1&&e[Pt].splice(n,1)}function rn(e){let t=e[le];return et(t)?t[le]:t}function qu(e){return e[Rr]??=[]}function Wu(e){return e.cleanup??=[]}function Ap(e,t,n,r){let o=qu(t);o.push(n),e.firstCreatePass&&Wu(e).push(r,o.length-1)}var O={lFrame:Gp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var yu=!1;function xp(){return O.lFrame.elementDepthCount}function Op(){O.lFrame.elementDepthCount++}function Zu(){O.lFrame.elementDepthCount--}function js(){return O.bindingsEnabled}function Yu(){return O.skipHydrationRootTNode!==null}function Qu(e){return O.skipHydrationRootTNode===e}function Ku(){O.skipHydrationRootTNode=null}function _(){return O.lFrame.lView}function q(){return O.lFrame.tView}function Pp(e){return O.lFrame.contextLView=e,e[X]}function kp(e){return O.lFrame.contextLView=null,e}function oe(){let e=Ju();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ju(){return O.lFrame.currentTNode}function Fp(){let e=O.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Pr(e,t){let n=O.lFrame;n.currentTNode=e,n.isParent=t}function Xu(){return O.lFrame.isParent}function el(){O.lFrame.isParent=!1}function Lp(){return O.lFrame.contextLView}function tl(){return yu}function kr(e){let t=yu;return yu=e,t}function Bs(){let e=O.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function jp(){return O.lFrame.bindingIndex}function Bp(e){return O.lFrame.bindingIndex=e}function dn(){return O.lFrame.bindingIndex++}function Vs(e){let t=O.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Vp(){return O.lFrame.inI18n}function Up(e,t){let n=O.lFrame;n.bindingIndex=n.bindingRootIndex=e,Us(t)}function $p(){return O.lFrame.currentDirectiveIndex}function Us(e){O.lFrame.currentDirectiveIndex=e}function Hp(e){let t=O.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $s(){return O.lFrame.currentQueryIndex}function ko(e){O.lFrame.currentQueryIndex=e}function PI(e){let t=e[b];return t.type===2?t.declTNode:t.type===1?e[be]:null}function nl(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=PI(i),o===null||(i=i[Un],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=O.lFrame=zp();return r.currentTNode=t,r.lView=e,!0}function Hs(e){let t=zp(),n=e[b];O.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zp(){let e=O.lFrame,t=e===null?null:e.child;return t===null?Gp(e):t}function Gp(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 qp(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var rl=qp;function zs(){let e=qp();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 Wp(e){return(O.lFrame.contextLView=Np(e,O.lFrame.contextLView))[X]}function bt(){return O.lFrame.selectedIndex}function fn(e){O.lFrame.selectedIndex=e}function Fo(){let e=O.lFrame;return Oo(e.tView,e.selectedIndex)}function Zp(){O.lFrame.currentNamespace=Vu}function Yp(){kI()}function kI(){O.lFrame.currentNamespace=null}function Qp(){return O.lFrame.currentNamespace}var Kp=!0;function Gs(){return Kp}function Lo(e){Kp=e}function vu(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,Ep(e)];return r=r||(typeof e=="object"?void 0:kt(e)),new jn(i,t||Nr(),r||null,o)}var me=class e{static THROW_IF_NOT_FOUND=kn;static NULL=new _o;static create(t,n){if(Array.isArray(t))return vu({name:""},n,t,"");{let r=t.name??"";return vu({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>C(Ru)});static __NG_ELEMENT_ID__=-1},Z=new I(""),Ge=(()=>{class e{static __NG_ELEMENT_ID__=FI;static __NG_ENV_ID__=n=>n}return e})(),So=class extends Ge{_lView;constructor(t){super(),this._lView=t}get destroyed(){return qn(this._lView)}onDestroy(t){let n=this._lView;return Gu(n,t),()=>Rp(n,t)}};function FI(){return new So(_())}var je=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Te=new I("",{providedIn:"root",factory:()=>{let e=p(te),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(je),t.handleError(n))}}}),Jp={provide:Dt,useValue:()=>void p(je),multi:!0},LI=new I("",{providedIn:"root",factory:()=>{let e=p(Z).defaultView;if(!e)return;let t=p(Te),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(Ge).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function jI(){return Je([Dp(()=>void p(LI))])}function il(e){return typeof e=="function"&&e[ae]!==void 0}function Wn(e,t){let[n,r,o]=qc(e,t?.equal),i=n,s=i[ae];return i.set=r,i.update=o,i.asReadonly=sl.bind(i),i}function sl(){let e=this[ae];if(e.readonlyFn===void 0){let t=()=>this();t[ae]=e,e.readonlyFn=t}return e.readonlyFn}function al(e){return il(e)&&typeof e.set=="function"}var Be=class{},Fr=new I("",{providedIn:"root",factory:()=>!1});var cl=new I(""),ul=new I("");var Zn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=BI}return e})();function BI(){return new Zn(_(),oe())}var Tt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ge(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),jo=(()=>{class e{internalPendingTasks=p(Tt);scheduler=p(Be);errorHandler=p(Te);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();function Yn(...e){}var Bo=(()=>{class e{static \u0275prov=w({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}};function Yo(e){return{toString:e}.toString()}function GI(e){return typeof e=="function"}var na=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function kg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Hr=(()=>{let e=()=>Fg;return e.ngInherit=!0,e})();function Fg(e){return e.type.prototype.ngOnChanges&&(e.setInput=WI),qI}function qI(){let e=jg(this),t=e?.current;if(t){let n=e.previous;if(n===Ke)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function WI(e,t,n,r,o){let i=this.declaredInputs[r],s=jg(e)||ZI(e,{previous:Ke,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new na(u&&u.currentValue,n,c===Ke),kg(e,t,o,n)}var Lg="__ngSimpleChanges__";function jg(e){return e[Lg]||null}function ZI(e,t){return e[Lg]=t}var Xp=[];var U=function(e,t=null,n){for(let r=0;r<Xp.length;r++){let o=Xp[r];o(e,t,n)}};function YI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Fg(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 Bg(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Ks(e,t,n){Vg(e,t,3,n)}function Js(e,t,n,r){(e[M]&3)===n&&Vg(e,t,n,r)}function ll(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function Vg(e,t,n,r){let o=r!==void 0?e[$n]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[$n]+=65536),(a<i||i==-1)&&(QI(e,n,t,c),e[$n]=(e[$n]&4294901760)+c+2),c++}function eg(e,t){U(4,e,t);let n=N(null);try{t.call(e)}finally{N(n),U(5,e,t)}}function QI(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[M]>>14<e[$n]>>16&&(e[M]&3)===t&&(e[M]+=16384,eg(a,i)):eg(a,i)}var jr=-1,Kn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function KI(e){return(e.flags&8)!==0}function JI(e){return(e.flags&16)!==0}function XI(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];ew(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Ug(e){return e===3||e===4||e===6}function ew(e){return e.charCodeAt(0)===64}function Br(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?tg(e,n,o,null,t[++r]):tg(e,n,o,null,null))}}return e}function tg(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!==jr}function ra(e){return e&32767}function tw(e){return e>>16}function oa(e,t){let n=tw(e),r=t;for(;n>0;)r=r[Un],n--;return r}var Il=!0;function ia(e){let t=Il;return Il=e,t}var nw=256,Hg=nw-1,zg=5,rw=0,_t={};function ow(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Bn)&&(r=n[Bn]),r==null&&(r=n[Bn]=rw++);let o=r&Hg,i=1<<o;t.data[e+(o>>zg)]|=i}function sa(e,t){let n=Gg(e,t);if(n!==-1)return n;let r=t[b];r.firstCreatePass&&(e.injectorIndex=t.length,dl(r.data,e),dl(t,null),dl(r.blueprint,null));let o=sd(e,t),i=e.injectorIndex;if($g(o)){let s=ra(o),a=oa(o,t),c=a[b].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function dl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Gg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function sd(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=Qg(o),r===null)return jr;if(n++,o=o[Un],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return jr}function wl(e,t,n){ow(e,t,n)}function iw(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Ug(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;Ns(t,"NodeInjector")}function Wg(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[sn],i=Ce(void 0);try{return o?o.get(t,r,n&8):Mu(t,r,n&8)}finally{Ce(i)}}return qg(r,t,n)}function Zg(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=uw(e,t,n,r,_t);if(s!==_t)return s}let i=Yg(e,t,n,r,_t);if(i!==_t)return i}return Wg(t,n,r,o)}function Yg(e,t,n,r,o){let i=aw(n);if(typeof i=="function"){if(!nl(t,e,r))return r&1?qg(o,n,r):Wg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ns(n);else return s}finally{rl()}}else if(typeof i=="number"){let s=null,a=Gg(e,t),c=jr,u=r&1?t[Ee][be]:null;for((a===-1||r&4)&&(c=a===-1?sd(e,t):t[a+8],c===jr||!rg(r,!1)?a=-1:(s=t[b],a=ra(c),t=oa(c,t)));a!==-1;){let l=t[b];if(ng(i,a,l.data)){let d=sw(a,t,n,s,r,u);if(d!==_t)return d}c=t[a+8],c!==jr&&rg(r,t[b].data[a+8]===u)&&ng(i,a,t)?(s=l,a=ra(c),t=oa(c,t)):a=-1}}return o}function sw(e,t,n,r,o,i){let s=t[b],a=s.data[e+8],c=r==null?un(a)&&Il:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Xs(a,s,n,c,u);return l!==null?$o(t,s,l,a,o):_t}function Xs(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&tt(f)&&f.type===n)return c}return null}function $o(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Kn){let a=i;if(a.resolving){let f=lp(s[n]);throw Su(f)}let c=ia(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?Ce(a.injectImpl):null,h=nl(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&YI(n,s[n],t)}finally{d!==null&&Ce(d),ia(c),a.resolving=!1,rl()}}return i}function aw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Bn)?e[Bn]:void 0;return typeof t=="number"?t>=0?t&Hg:cw:t}function ng(e,t,n){let r=1<<e;return!!(n[t+(e>>zg)]&r)}function rg(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 Zg(this._tNode,this._lView,t,Fn(r),n)}};function cw(){return new Qn(oe(),_())}function wa(e){return Yo(()=>{let t=e.prototype.constructor,n=t[To]||Cl(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[To]||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(ue(e));return t&&t()}:nn(e)}function uw(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!Or(s);){let a=Yg(i,s,n,r|2,_t);if(a!==_t)return a;let c=i.parent;if(!c){let u=s[Lu];if(u){let l=u.get(n,_t,r);if(l!==_t)return l}c=Qg(s),s=s[Un]}i=c}return o}function Qg(e){let t=e[b],n=t.type;return n===2?t.declTNode:n===1?e[be]:null}function Ca(e){return iw(oe(),e)}function lw(){return zr(oe(),_())}function zr(e,t){return new Ut(nt(e,t))}var Ut=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=lw}return e})();function Kg(e){return e instanceof Ut?e.nativeElement:e}function dw(){return this._results[Symbol.iterator]()}var aa=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new J}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=gp(t);(this._changesDetected=!pp(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=dw};function Jg(e){return(e.flags&128)===128}var ad=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(ad||{}),Xg=new Map,fw=0;function hw(){return fw++}function pw(e){Xg.set(e[Ao],e)}function bl(e){Xg.delete(e[Ao])}var og="__ngContext__";function Vr(e,t){Ct(t)?(e[og]=t[Ao],pw(t)):e[og]=t}function em(e){return nm(e[Ar])}function tm(e){return nm(e[Ue])}function nm(e){for(;e!==null&&!et(e);)e=e[Ue];return e}var Tl;function cd(e){Tl=e}function ud(){if(Tl!==void 0)return Tl;if(typeof document<"u")return document;throw new m(210,!1)}var ba=new I("",{providedIn:"root",factory:()=>gw}),gw="ng",Ta=new I(""),Gr=new I("",{providedIn:"platform",factory:()=>"unknown"});var mw=new I(""),_a=new I("",{providedIn:"root",factory:()=>ud().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var yw="h",vw="b";var rm="r";var om="di";var im=!1,sm=new I("",{providedIn:"root",factory:()=>im});var Sa=new I("");var Dw=(e,t,n,r)=>{};function Ew(e,t,n,r){Dw(e,t,n,r)}function Ma(e){return(e.flags&32)===32}var Iw=()=>null;function am(e,t,n=!1){return Iw(e,t,n)}function cm(e,t){let n=e.contentQueries;if(n!==null){let r=N(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];ko(i),a.contentQueries(2,t[s],s)}}}finally{N(r)}}}function _l(e,t,n){ko(0);let r=N(null);try{t(e,n)}finally{N(r)}}function ld(e,t,n){if(Bu(t)){let r=N(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{N(r)}}}var Bt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Bt||{}),qs;function ww(){if(qs===void 0&&(qs=null,Ve.trustedTypes))try{qs=Ve.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return qs}function Na(e){return ww()?.createHTML(e)||e}var Ws;function Cw(){if(Ws===void 0&&(Ws=null,Ve.trustedTypes))try{Ws=Ve.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ws}function ig(e){return Cw()?.createHTML(e)||e}var Vt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ts})`}},Sl=class extends Vt{getTypeName(){return"HTML"}},Ml=class extends Vt{getTypeName(){return"Style"}},Nl=class extends Vt{getTypeName(){return"Script"}},Rl=class extends Vt{getTypeName(){return"URL"}},Al=class extends Vt{getTypeName(){return"ResourceURL"}};function We(e){return e instanceof Vt?e.changingThisBreaksApplicationSecurity:e}function $t(e,t){let n=um(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ts})`)}return n===t}function um(e){return e instanceof Vt&&e.getTypeName()||null}function dd(e){return new Sl(e)}function fd(e){return new Ml(e)}function hd(e){return new Nl(e)}function pd(e){return new Rl(e)}function gd(e){return new Al(e)}function bw(e){let t=new Ol(e);return Tw()?new xl(t):t}var xl=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Na(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ol=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Na(t),n}};function Tw(){try{return!!new window.DOMParser().parseFromString(Na(""),"text/html")}catch{return!1}}var _w=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qo(e){return e=String(e),e.match(_w)?e:"unsafe:"+e}function Ht(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ko(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var lm=Ht("area,br,col,hr,img,wbr"),dm=Ht("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),fm=Ht("rp,rt"),Sw=Ko(fm,dm),Mw=Ko(dm,Ht("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Nw=Ko(fm,Ht("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),sg=Ko(lm,Mw,Nw,Sw),hm=Ht("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Rw=Ht("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Aw=Ht("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),xw=Ko(hm,Rw,Aw),Ow=Ht("script,style,template"),Pl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Fw(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=kw(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ag(t).toLowerCase();if(!sg.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ow.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!xw.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;hm[a]&&(c=Qo(c)),this.buf.push(" ",s,'="',cg(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=ag(t).toLowerCase();sg.hasOwnProperty(n)&&!lm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(cg(t))}};function Pw(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function kw(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw pm(t);return t}function Fw(e){let t=e.firstChild;if(t&&Pw(e,t))throw pm(t);return t}function ag(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function pm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Lw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jw=/([^\#-~ |!])/g;function cg(e){return e.replace(/&/g,"&").replace(Lw,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(jw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Zs;function Ra(e,t){let n=null;try{Zs=Zs||bw(e);let r=t?String(t):"";n=Zs.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Zs.getInertBodyElement(r)}while(r!==i);let a=new Pl().sanitizeChildren(ug(n)||n);return Na(a)}finally{if(n){let r=ug(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ug(e){return"content"in e&&Bw(e)?e.content:null}function Bw(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var it=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(it||{});function Vw(e){let t=gm();return t?ig(t.sanitize(it.HTML,e)||""):$t(e,"HTML")?ig(We(e)):Ra(ud(),on(e))}function Uw(e){let t=gm();return t?t.sanitize(it.URL,e)||"":$t(e,"URL")?We(e):Qo(on(e))}function gm(){let e=_();return e&&e[It].sanitizer}var $w=/^>|^->|<!--|-->|--!>|<!-$/g,Hw=/(<|>)/g,zw="\u200B$1\u200B";function Gw(e){return e.replace($w,t=>t.replace(Hw,zw))}function qw(e){return e.ownerDocument}function mm(e){return e instanceof Function?e():e}function Ww(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var ym="ng-template";function Zw(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Ww(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(md(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 md(e){return e.type===4&&e.value!==ym}function Yw(e,t,n){let r=e.type===4&&!n?ym:e.value;return t===r}function Qw(e,t,n){let r=4,o=e.attrs,i=o!==null?Xw(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!rt(r)&&!rt(c))return!1;if(s&&rt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Yw(e,c,n)||c===""&&t.length===1){if(rt(r))return!1;s=!0}}else if(r&8){if(o===null||!Zw(e,o,c,n)){if(rt(r))return!1;s=!0}}else{let u=t[++a],l=Kw(c,o,md(e),n);if(l===-1){if(rt(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(rt(r))return!1;s=!0}}}}return rt(r)||s}function rt(e){return(e&1)===0}function Kw(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return eC(t,e)}function vm(e,t,n=!1){for(let r=0;r<t.length;r++)if(Qw(e,t[r],n))return!0;return!1}function Jw(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Xw(e){for(let t=0;t<e.length;t++){let n=e[t];if(Ug(n))return t}return e.length}function eC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function tC(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function lg(e,t){return e?":not("+t.trim()+")":t}function nC(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!rt(s)&&(t+=lg(i,o),o=""),r=s,i=i||!rt(r);n++}return o!==""&&(t+=lg(i,o)),t}function rC(e){return e.map(nC).join(",")}function oC(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!rt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Re={};function iC(e,t){return e.createText(t)}function sC(e,t,n){e.setValue(t,n)}function aC(e,t){return e.createComment(Gw(t))}function Dm(e,t,n){return e.createElement(t,n)}function ca(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Em(e,t,n){e.appendChild(t,n)}function dg(e,t,n,r,o){r!==null?ca(e,t,n,r,o):Em(e,t,n)}function Im(e,t,n,r){e.removeChild(null,t,n,r)}function cC(e,t,n){e.setAttribute(t,"style",n)}function uC(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function wm(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&XI(e,t,r),o!==null&&uC(e,t,o),i!==null&&cC(e,t,i)}function yd(e,t,n,r,o,i,s,a,c,u,l){let d=G+r,h=d+o,f=lC(d,h),g=typeof u=="function"?u():u;return f[b]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:l}}function lC(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Re);return n}function dC(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=yd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function vd(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Xe]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),Hu(d),d[le]=d[Un]=e,d[X]=n,d[It]=s||e&&e[It],d[$]=a||e&&e[$],d[sn]=c||e&&e[sn]||null,d[be]=i,d[Ao]=hw(),d[Vn]=l,d[Lu]=u,d[Ee]=t.type==2?e[Ee]:d,d}function fC(e,t,n){let r=nt(t,e),o=dC(n),i=e[It].rendererFactory,s=Dd(e,vd(e,o,null,Cm(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Cm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function bm(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 Dd(e,t){return e[Ar]?e[Fu][Ue]=t:e[Ar]=t,e[Fu]=t,t}function hC(e=1){Tm(q(),_(),bt()+e,!1)}function Tm(e,t,n,r){if(!r)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ks(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Js(t,i,0,n)}fn(n)}var Aa=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Aa||{});function kl(e,t,n,r){let o=N(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Aa.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):kg(t,c,i,r)}finally{N(o)}}var St=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(St||{}),pC;function Ed(e,t){return pC(e,t)}var Jo=new Set;var _m=new I("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1})});function fg(e,t,n,r){let o=e?.[zn]?.enter;if(t!==null&&o&&o.has(n.index)){let i=r.get(_m);for(let s of o.get(n.index).animateFns)i.queue.add(s)}}function Lr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;et(o)?c=o:Ct(o)&&(u=!0,o=o[Xe]);let l=$e(o);e===0&&r!==null?(fg(a,r,i,n),s==null?Em(t,r,l):ca(t,r,l,s||null,!0)):e===1&&r!==null?(fg(a,r,i,n),ca(t,r,l,s||null,!0)):e===2?hg(a,i,n,d=>{Im(t,l,u,d)}):e===3&&hg(a,i,n,()=>{t.destroyNode(l)}),c!=null&&_C(t,e,n,c,i,r,s)}}function gC(e,t){let n=e.get(_m);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t)}function mC(e,t){Sm(e,t),t[Xe]=null,t[be]=null}function yC(e,t,n,r,o,i){r[Xe]=o,r[be]=t,Oa(e,r,n,1,o,i)}function Sm(e,t){t[It].changeDetectionScheduler?.notify(9),Oa(e,t,t[$],2,null,null)}function vC(e){let t=e[Ar];if(!t)return fl(e[b],e);for(;t;){let n=null;if(Ct(t))n=t[Ar];else{let r=t[re];r&&(n=r)}if(!n){for(;t&&!t[Ue]&&t!==e;)Ct(t)&&fl(t[b],t),t=t[le];t===null&&(t=e),Ct(t)&&fl(t[b],t),n=t&&t[Ue]}t=n}}function Id(e,t){let n=e[Gn],r=n.indexOf(t);n.splice(r,1)}function xa(e,t){if(qn(t))return;let n=t[$];n.destroyNode&&Oa(e,t,n,3,null,null),vC(t)}function fl(e,t){if(qn(t))return;let n=N(null);try{t[M]&=-129,t[M]|=256,t[ke]&&Xt(t[ke]),IC(e,t),EC(e,t),t[b].type===1&&t[$].destroy();let r=t[an];if(r!==null&&et(t[le])){r!==t[le]&&Id(r,t);let o=t[wt];o!==null&&o.detachView(e)}bl(t)}finally{N(n)}}function hg(e,t,n,r){let o=e?.[zn];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);gC(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s)for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.running=Promise.allSettled(a),DC(e,r)}else e&&Jo.delete(e),r(!1)})}function DC(e,t){let n=e[zn]?.running;if(n){n.then(()=>{e[zn].running=void 0,Jo.delete(e),t(!0)});return}t(!1)}function EC(e,t){let n=e.cleanup,r=t[Rr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Rr]=null);let o=t[Pt];if(o!==null){t[Pt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[jt];if(i!==null){t[jt]=null;for(let s of i)s.destroy()}}function IC(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Kn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];U(4,a,c);try{c.call(a)}finally{U(5,a,c)}}else{U(4,o,i);try{i.call(o)}finally{U(5,o,i)}}}}}function Mm(e,t,n){return wC(e,t.parent,n)}function wC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Xe];if(un(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Bt.None||o===Bt.Emulated)return null}return nt(r,n)}function Nm(e,t,n){return bC(e,t,n)}function CC(e,t,n){return e.type&40?nt(e,n):null}var bC=CC,pg;function wd(e,t,n,r){let o=Mm(e,r,t),i=t[$],s=r.parent||t[be],a=Nm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)dg(i,o,n[c],a,!1);else dg(i,o,n,a,!1);pg!==void 0&&pg(i,r,t,n,o)}function Vo(e,t){if(t!==null){let n=t.type;if(n&3)return nt(t,e);if(n&4)return Fl(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Vo(e,r);{let o=e[t.index];return et(o)?Fl(-1,o):$e(o)}}else{if(n&128)return Vo(e,t.next);if(n&32)return Ed(t,e)()||$e(e[t.index]);{let r=Rm(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=rn(e[Ee]);return Vo(o,r)}else return Vo(e,t.next)}}}return null}function Rm(e,t){if(t!==null){let r=e[Ee][be],o=t.projection;return r.projection[o]}return null}function Fl(e,t){let n=re+e+1;if(n<t.length){let r=t[n],o=r[b].firstChild;if(o!==null)return Vo(r,o)}return t[cn]}function Cd(e,t,n,r,o,i,s){for(;n!=null;){let a=r[sn];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Vr($e(c),r),n.flags|=2),!Ma(n))if(u&8)Cd(e,t,n.child,r,o,i,!1),Lr(t,e,a,o,c,n,i,r);else if(u&32){let l=Ed(n,r),d;for(;d=l();)Lr(t,e,a,o,d,n,i,r);Lr(t,e,a,o,c,n,i,r)}else u&16?Am(e,t,r,n,o,i):Lr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Oa(e,t,n,r,o,i){Cd(n,r,e.firstChild,t,o,i,!1)}function TC(e,t,n){let r=t[$],o=Mm(e,n,t),i=n.parent||t[be],s=Nm(i,n,t);Am(r,0,t,n,o,s)}function Am(e,t,n,r,o,i){let s=n[Ee],c=s[be].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Lr(t,e,n[sn],o,l,r,i,n)}else{let u=c,l=s[le];Jg(r)&&(u.flags|=128),Cd(e,t,u,l,o,i,!0)}}function _C(e,t,n,r,o,i,s){let a=r[cn],c=$e(r);a!==c&&Lr(t,e,n,i,a,o,s);for(let u=re;u<r.length;u++){let l=r[u];Oa(l[b],l,e,t,i,a)}}function SC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:St.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=St.Important),e.setStyle(n,r,o,i))}}function xm(e,t,n,r,o){let i=bt(),s=r&2;try{fn(-1),s&&t.length>G&&Tm(e,t,G,!1),U(s?2:0,o,n),n(r,o)}finally{fn(i),U(s?3:1,o,n)}}function Pa(e,t,n){OC(e,t,n),(n.flags&64)===64&&PC(e,t,n)}function Xo(e,t,n=nt){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function MC(e,t,n,r){let i=r.get(sm,im)||n===Bt.ShadowDom,s=e.selectRootElement(t,i);return NC(s),s}function NC(e){RC(e)}var RC=()=>null;function AC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Om(e,t,n,r,o,i){let s=t[b];if(Sd(e,s,t,n,r)){un(e)&&xC(t,e.index);return}e.type&3&&(n=AC(n)),Pm(e,t,n,r,o,i)}function Pm(e,t,n,r,o,i){if(e.type&3){let s=nt(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function xC(e,t){let n=He(t,e);n[M]&16||(n[M]|=64)}function OC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;un(n)&&fC(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||sa(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=$o(t,e,s,n);if(Vr(c,t),i!==null&&jC(t,s-r,c,a,n,i),tt(a)){let u=He(n.index,t);u[X]=$o(t,e,s,n)}}}function PC(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=$p();try{fn(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Us(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&kC(c,u)}}finally{fn(-1),Us(s)}}function kC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function bd(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];vm(t,i.selectors,!1)&&(r??=[],tt(i)?r.unshift(i):r.push(i))}return r}function FC(e,t,n,r,o,i){let s=nt(e,t);LC(t[$],s,i,e.value,n,r,o)}function LC(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?on(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function jC(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];kl(r,n,c,u)}}function Td(e,t,n,r,o){let i=G+n,s=t[b],a=o(s,t,e,r,n);t[i]=a,Pr(e,!0);let c=e.type===2;return c?(wm(t[$],a,e),(xp()===0||xr(e))&&Vr(a,t),Op()):Vr(a,t),Gs()&&(!c||!Ma(e))&&wd(s,t,a,e),e}function _d(e){let t=e;return Xu()?el():(t=t.parent,Pr(t,!1)),t}function BC(e,t){let n=e[sn];if(!n)return;let r;try{r=n.get(Te,null)}catch{r=null}r?.(t)}function 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 VC(e,t){let n=He(t,e),r=n[b];UC(r,n);let o=n[Xe];o!==null&&n[Vn]===null&&(n[Vn]=am(o,n[sn])),U(18),Md(r,n,n[X]),U(19,n[X])}function UC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Md(e,t,n){Hs(t);try{let r=e.viewQuery;r!==null&&_l(1,r,n);let o=e.template;o!==null&&xm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[wt]?.finishViewCreation(e),e.staticContentQueries&&cm(e,t),e.staticViewQueries&&_l(2,e.viewQuery,n);let i=e.components;i!==null&&$C(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,zs()}}function $C(e,t){for(let n=0;n<t.length;n++)VC(e,t[n])}function ei(e,t,n,r){let o=N(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=vd(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[an]=u;let l=e[wt];return l!==null&&(c[wt]=l.createEmbeddedView(i)),Md(i,c,n),c}finally{N(o)}}function Ur(e,t){return!t||t.firstChild===null||Jg(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($e(i)),et(i)&&km(i,r);let s=n.type;if(s&8)Ho(e,t,n.child,r);else if(s&32){let a=Ed(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Rm(t,n);if(Array.isArray(a))r.push(...a);else{let c=rn(t[Ee]);Ho(c[b],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function km(e,t){for(let n=re;n<e.length;n++){let r=e[n],o=r[b].firstChild;o!==null&&Ho(r[b],r,o,t)}e[cn]!==e[Xe]&&t.push(e[cn])}function Fm(e){if(e[Hn]!==null){for(let t of e[Hn])t.impl.addSequence(t);e[Hn].length=0}}var Lm=[];function HC(e){return e[ke]??zC(e)}function zC(e){let t=Lm.pop()??Object.create(qC);return t.lView=e,t}function GC(e){e.lView[ke]!==e&&(e.lView=null,Lm.push(e))}var qC=F(y({},_n),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ln(e.lView)},consumerOnSignalRead(){this.lView[ke]=this}});function WC(e){let t=e[ke]??Object.create(ZC);return t.lView=e,t}var ZC=F(y({},_n),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=rn(e.lView);for(;t&&!jm(t[b]);)t=rn(t);t&&zu(t)},consumerOnSignalRead(){this.lView[ke]=this}});function jm(e){return e.type!==2}function Bm(e){if(e[jt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[jt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var YC=100;function Vm(e,t=0){let r=e[It].rendererFactory,o=!1;o||r.begin?.();try{QC(e,t)}finally{o||r.end?.()}}function QC(e,t){let n=tl();try{kr(!0),Ll(e,t);let r=0;for(;Po(e);){if(r===YC)throw new m(103,!1);r++,Ll(e,1)}}finally{kr(n)}}function KC(e,t,n,r){if(qn(t))return;let o=t[M],i=!1,s=!1;Hs(t);let a=!0,c=null,u=null;i||(jm(e)?(u=HC(t),c=Jt(u)):Gi()===null?(a=!1,u=WC(t),c=Jt(u)):t[ke]&&(Xt(t[ke]),t[ke]=null));try{Hu(t),Bp(e.bindingStartIndex),n!==null&&xm(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Ks(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Js(t,f,0,null),ll(t,0)}if(s||JC(t),Bm(t),Um(t,0),e.contentQueries!==null&&cm(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Ks(t,f)}else{let f=e.contentHooks;f!==null&&Js(t,f,1),ll(t,1)}eb(e,t);let d=e.components;d!==null&&Hm(t,d,0);let h=e.viewQuery;if(h!==null&&_l(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Ks(t,f)}else{let f=e.viewHooks;f!==null&&Js(t,f,2),ll(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ps]){for(let f of t[Ps])f();t[Ps]=null}i||(Fm(t),t[M]&=-73)}catch(l){throw i||ln(t),l}finally{u!==null&&(Mn(u,c),a&&GC(u)),zs()}}function Um(e,t){for(let n=em(e);n!==null;n=tm(n))for(let r=re;r<n.length;r++){let o=n[r];$m(o,t)}}function JC(e){for(let t=em(e);t!==null;t=tm(t)){if(!(t[M]&2))continue;let n=t[Gn];for(let r=0;r<n.length;r++){let o=n[r];zu(o)}}}function XC(e,t,n){U(18);let r=He(t,e);$m(r,n),U(19,r[X])}function $m(e,t){Fs(e)&&Ll(e,t)}function Ll(e,t){let r=e[b],o=e[M],i=e[ke],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Nn(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)KC(r,e,r.template,e[X]);else if(o&8192){let a=N(null);try{Bm(e),Um(e,1);let c=r.components;c!==null&&Hm(e,c,1),Fm(e)}finally{N(a)}}}function Hm(e,t,n){for(let r=0;r<t.length;r++)XC(e,t[r],n)}function eb(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)fn(~o);else{let i=o,s=n[++r],a=n[++r];Up(s,i);let c=t[i];U(24,c),a(2,c),U(25,c)}}}finally{fn(-1)}}function Nd(e,t){let n=tl()?64:1088;for(e[It].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=rn(e);if(Or(e)&&!r)return e;e=r}return null}function zm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Gm(e,t){let n=re+t;if(n<e.length)return e[n]}function ti(e,t,n,r=!0){let o=t[b];if(tb(o,t,e,n),r){let s=Fl(n,e),a=t[$],c=a.parentNode(e[cn]);c!==null&&yC(o,e[be],a,t,c,s)}let i=t[Vn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function qm(e,t){let n=zo(e,t);return n!==void 0&&xa(n[b],n),n}function zo(e,t){if(e.length<=re)return;let n=re+t,r=e[n];if(r){let o=r[an];o!==null&&o!==e&&Id(o,r),t>0&&(e[n-1][Ue]=r[Ue]);let i=No(e,re+t);mC(r[b],r);let s=i[wt];s!==null&&s.detachView(i[b]),r[le]=null,r[Ue]=null,r[M]&=-129}return r}function tb(e,t,n,r){let o=re+r,i=n.length;r>0&&(n[o-1][Ue]=t),r<i-re?(t[Ue]=n[o],Nu(n,re+r,t)):(n.push(t),t[Ue]=null),t[le]=n;let s=t[an];s!==null&&n!==s&&Wm(s,t);let a=t[wt];a!==null&&a.insertView(e),Ls(t),t[M]|=128}function Wm(e,t){let n=e[Gn],r=t[le];if(Ct(r))e[M]|=2;else{let o=r[le][Ee];t[Ee]!==o&&(e[M]|=2)}n===null?e[Gn]=[t]:n.push(t)}var hn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[b];return Ho(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[X]}set context(t){this._lView[X]=t}get destroyed(){return qn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[le];if(et(t)){let n=t[xo],r=n?n.indexOf(this):-1;r>-1&&(zo(t,r),No(n,r))}this._attachedToViewContainer=!1}xa(this._lView[b],this._lView)}onDestroy(t){Gu(this._lView,t)}markForCheck(){Nd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){Ls(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Vm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Or(this._lView),n=this._lView[an];n!==null&&!t&&Id(n,this._lView),Sm(this._lView[b],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Or(this._lView),r=this._lView[an];r!==null&&!n&&Wm(r,this._lView),Ls(this._lView)}};var pn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=nb;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=ei(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new hn(i)}}return e})();function nb(){return ka(oe(),_())}function ka(e,t){return e.type&4?new pn(t,e,zr(e,t)):null}function qr(e,t,n,r,o){let i=e.data[t];if(i===null)i=rb(e,t,n,r,o),Vp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Fp();i.injectorIndex=s===null?-1:s.injectorIndex}return Pr(i,!0),i}function rb(e,t,n,r,o){let i=Ju(),s=Xu(),a=s?i:i&&i.parent,c=e.data[t]=ib(e,a,n,t,r,o);return ob(e,c,i,s),c}function ob(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function ib(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Yu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var _1=new RegExp(`^(\\d+)*(${vw}|${yw})*(.*)`);function sb(e){let t=e[ju]??[],r=e[le][$],o=[];for(let i of t)i.data[om]!==void 0?o.push(i):ab(i,r);e[ju]=o}function ab(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[rm];for(;n<o;){let i=r.nextSibling;Im(t,r,!1),r=i,n++}}}var cb=()=>null,ub=()=>null;function ua(e,t){return cb(e,t)}function Zm(e,t,n){return ub(e,t,n)}var Ym=class{},Fa=class{},jl=class{resolveComponentFactory(t){throw new m(917,!1)}},ni=class{static NULL=new jl},Jn=class{},ri=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>lb()}return e})();function lb(){let e=_(),t=oe(),n=He(t.index,e);return(Ct(n)?n:e)[$]}var Qm=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var ea={},Bl=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ea,r);return o!==ea||n===ea?o:this.parentInjector.get(t,n,r)}};function la(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=_s(o,a);else if(i==2){let c=a,u=t[++s];r=_s(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ie(e,t=0){let n=_();if(n===null)return C(e,t);let r=oe();return Zg(r,n,ue(e),t)}function Rd(){let e="invalid";throw new Error(e)}function Km(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}hb(e,t,n,a,i,c,u)}i!==null&&r!==null&&db(n,r,i)}function db(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function fb(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function hb(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&tt(f)&&(c=!0,fb(e,n,h)),wl(sa(n,t),e,f.type)}Db(n,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=bm(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=Br(n.mergedAttrs,f.hostAttrs),gb(e,n,t,d,f),vb(d,f,o),s!==null&&s.has(f)){let[E,D]=s.get(f);n.directiveToIndex.set(f.type,[d,E+n.directiveStart,D+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!u&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}pb(e,n,i)}function pb(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))gg(0,t,o,r),gg(1,t,o,r),yg(t,r,!1);else{let i=n.get(o);mg(0,t,i,r),mg(1,t,i,r),yg(t,r,!0)}}}function gg(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),Jm(t,i)}}function mg(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),Jm(t,s)}}function Jm(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function yg(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||md(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function gb(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=nn(o.type,!0)),s=new Kn(i,tt(o),ie,null);e.blueprint[r]=s,n[r]=s,mb(e,t,r,bm(e,n,o.hostVars,Re),o)}function mb(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;yb(s)!=a&&s.push(a),s.push(n,r,i)}}function yb(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;tt(t)&&(n[""]=e)}}function Db(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ad(e,t,n,r,o,i,s,a){let c=t[b],u=c.consts,l=ze(u,s),d=qr(c,e,n,r,l);return i&&Km(c,t,d,ze(u,a),o),d.mergedAttrs=Br(d.mergedAttrs,d.attrs),d.attrs!==null&&la(d,d.attrs,!1),d.mergedAttrs!==null&&la(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function xd(e,t){Bg(e,t),Bu(t)&&e.queries.elementEnd(t)}function Eb(e,t,n,r,o,i){let s=t.consts,a=ze(s,o),c=qr(t,e,n,r,a);if(c.mergedAttrs=Br(c.mergedAttrs,c.attrs),i!=null){let u=ze(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&la(c,c.attrs,!1),c.mergedAttrs!==null&&la(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Od(e){return ey(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Xm(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function ey(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ty(e,t,n){return e[t]=n}function qe(e,t,n){if(n===Re)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ny(e,t,n,r){let o=qe(e,t,n);return qe(e,t+1,r)||o}function ta(e,t,n){return function r(o){let i=un(e)?He(e.index,t):t;Nd(i,5);let s=t[X],a=vg(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=vg(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function vg(e,t,n,r){let o=N(null);try{return U(6,t,n),n(r)!==!1}catch(i){return BC(e,i),!1}finally{U(7,t,n),N(o)}}function ry(e,t,n,r,o,i,s,a){let c=xr(e),u=!1,l=null;if(!r&&c&&(l=wb(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=nt(e,n),h=r?r(d):d;Ew(n,h,i,a);let f=o.listen(h,i,a);if(!Ib(i)){let g=r?E=>r($e(E[e.index])):e.index;oy(g,t,n,i,a,f,!1)}}return u}function Ib(e){return e.startsWith("animation")||e.startsWith("transition")}function wb(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Rr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function oy(e,t,n,r,o,i,s){let a=t.firstCreatePass?Wu(t):null,c=qu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Dg(e,t,n,r,o,i){let s=t[n],a=t[b],u=a.data[n].outputs[r],d=s[u].subscribe(i);oy(e.index,a,t,o,i,d,!0)}var Vl=Symbol("BINDING");var da=class extends ni{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Et(t);return new gn(n,this.ngModule)}};function Cb(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Aa.SignalBased)!==0};return o&&(i.transform=o),i})}function bb(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Tb(e,t,n){let r=t instanceof te?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Bl(n,r):n}function _b(e){let t=e.get(Jn,null);if(t===null)throw new m(407,!1);let n=e.get(Qm,null),r=e.get(Be,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Sb(e,t){let n=iy(e);return Dm(t,n,n==="svg"?Vu:n==="math"?_p:null)}function iy(e){return(e.selectors[0][0]||"div").toLowerCase()}var gn=class extends Fa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Cb(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=bb(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=rC(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){U(22);let a=N(null);try{let c=this.componentDef,u=Mb(r,c,s,i),l=Tb(c,o||this.ngModule,t),d=_b(l),h=d.rendererFactory.createRenderer(null,c),f=r?MC(h,r,c.encapsulation,l):Sb(c,h),g=s?.some(Eg)||i?.some(v=>typeof v!="function"&&v.bindings.some(Eg)),E=vd(null,u,null,512|Cm(c),null,null,d,h,l,null,am(f,l,!0));E[G]=f,Hs(E);let D=null;try{let v=Ad(G,E,2,"#host",()=>u.directiveRegistry,!0,0);wm(h,f,v),Vr(f,E),Pa(u,E,v),ld(u,v,E),xd(u,v),n!==void 0&&Rb(v,this.ngContentSelectors,n),D=He(v.index,E),E[X]=D[X],Md(u,E,null)}catch(v){throw D!==null&&bl(D),bl(E),v}finally{U(23),zs()}return new fa(this.componentType,E,!!g)}finally{N(a)}}};function Mb(e,t,n,r){let o=e?["ng-version","20.3.4"]:oC(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Vl].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[Vl].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=Os(d);c.push(h)}return yd(0,null,Nb(i,s),1,a,c,null,null,null,[o],null)}function Nb(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 Eg(e){let t=e[Vl].kind;return t==="input"||t==="twoWay"}var fa=class extends Ym{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Oo(n[b],G),this.location=zr(this._tNode,n),this.instance=He(this._tNode.index,n)[X],this.hostView=this.changeDetectorRef=new hn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Sd(r,o[b],o,t,n);this.previousInputValues.set(t,n);let s=He(r.index,o);Nd(s,1)}get injector(){return new Qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Rb(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Mt=(()=>{class e{static __NG_ELEMENT_ID__=Ab}return e})();function Ab(){let e=oe();return ay(e,_())}var xb=Mt,sy=class extends xb{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zr(this._hostTNode,this._hostLView)}get injector(){return new Qn(this._hostTNode,this._hostLView)}get parentInjector(){let t=sd(this._hostTNode,this._hostLView);if($g(t)){let n=oa(t,this._hostLView),r=ra(t),o=n[b].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=Ig(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-re}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ua(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ur(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!GI(t),u;if(c)u=n;else{let D=n||{};u=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let l=c?t:new gn(Et(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(te,null);v&&(i=v)}let h=Et(l.componentType??{}),f=ua(this._lContainer,h?.id??null),g=f?.firstChild??null,E=l.create(d,o,g,i,s,a);return this.insertImpl(E.hostView,u,Ur(this._hostTNode,f)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Mp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[le],u=new sy(c,c[be],c[le]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ti(s,o,i,r),t.attachToViewContainerRef(),Nu(hl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ig(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=zo(this._lContainer,n);r&&(No(hl(this._lContainer),n),xa(r[b],r))}detach(t){let n=this._adjustIndex(t,-1),r=zo(this._lContainer,n);return r&&No(hl(this._lContainer),n)!=null?new hn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ig(e){return e[xo]}function hl(e){return e[xo]||(e[xo]=[])}function ay(e,t){let n,r=t[e.index];return et(r)?n=r:(n=zm(r,t,null,e),t[e.index]=n,Dd(t,n)),Pb(n,t,e,r),new sy(n,e,t)}function Ob(e,t){let n=e[$],r=n.createComment(""),o=nt(t,e),i=n.parentNode(o);return ca(n,i,r,n.nextSibling(o),!1),r}var Pb=Lb,kb=()=>!1;function Fb(e,t,n){return kb(e,t,n)}function Lb(e,t,n,r){if(e[cn])return;let o;n.type&8?o=$e(r):o=Ob(t,n),e[cn]=o}var Ul=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()}},ha=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=$b(t):this.predicate=t}},Hl=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)}},zl=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,jb(n,i)),this.matchTNodeWithReadOption(t,n,Xs(n,t,i,!1,!1))}else r===pn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Xs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ut||o===Mt||o===pn&&n.type&4)this.addMatch(n.index,-2);else{let i=Xs(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function jb(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 Bb(e,t){return e.type&11?zr(e,t):e.type&4?ka(e,t):null}function Vb(e,t,n,r){return n===-1?Bb(t,e):n===-2?Ub(e,t,r):$o(e,e[b],n,t)}function Ub(e,t,n){if(n===Ut)return zr(t,e);if(n===pn)return ka(t,e);if(n===Mt)return ay(t,e)}function cy(e,t,n,r){let o=t[wt].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(Vb(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Gl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=cy(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=re;d<l.length;d++){let h=l[d];h[an]===h[le]&&Gl(h[b],h,u,r)}if(l[Gn]!==null){let d=l[Gn];for(let h=0;h<d.length;h++){let f=d[h];Gl(f[b],f,u,r)}}}}}return r}function Pd(e,t){return e[wt].queries[t].queryList}function uy(e,t,n){let r=new aa((n&4)===4);return Ap(e,t,r,r.destroy),(t[wt]??=new $l).queries.push(new Ul(r))-1}function ly(e,t,n){let r=q();return r.firstCreatePass&&(fy(r,new ha(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),uy(r,_(),t)}function dy(e,t,n,r){let o=q();if(o.firstCreatePass){let i=oe();fy(o,new ha(t,n,r),i.index),Hb(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return uy(o,_(),n)}function $b(e){return e.split(",").map(t=>t.trim())}function fy(e,t,n){e.queries===null&&(e.queries=new Hl),e.queries.track(new zl(t,n))}function Hb(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 hy(e,t){let n=e[b],r=kd(n,t);return r.crossesNgTemplate?Gl(n,e,t,[]):cy(n,e,r,t)}function py(e,t,n){let r,o=mo(()=>{r._dirtyCounter();let i=zb(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 Fd(e){return py(!0,!1,e)}function Ld(e){return py(!0,!0,e)}function gy(e,t){let n=e[ae];n._lView=_(),n._queryIndex=t,n._queryList=Pd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function zb(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[M]&4)return t?void 0:De;let o=Pd(n,r),i=hy(n,r);return o.reset(i,Kg),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var wg=new Set;function st(e){wg.has(e)||(wg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Xn=class{},La=class{};var pa=class extends Xn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new da(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=xu(t);this._bootstrapComponents=mm(i.bootstrap),this._r3Injector=ol(t,n,[{provide:Xn,useValue:this},{provide:ni,useValue:this.componentFactoryResolver},...r],kt(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ga=class extends La{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new pa(this.moduleType,t,[])}};var Go=class extends Xn{injector;componentFactoryResolver=new da(this);instance=null;constructor(t){super();let n=new jn([...t.providers,{provide:Xn,useValue:this},{provide:ni,useValue:this.componentFactoryResolver}],t.parent||Nr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Wr(e,t,n=null){return new Go({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Gb=(()=>{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?Wr([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(C(te))})}return e})();function jd(e){return Yo(()=>{let t=my(e),n=F(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ad.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Gb).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Bt.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&st("NgStandalone"),yy(n);let r=e.dependencies;return n.directiveDefs=Cg(r,qb),n.pipeDefs=Cg(r,vp),n.id=Yb(n),n})}function qb(e){return Et(e)||Os(e)}function mn(e){return Yo(()=>({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 Wb(e,t){if(e==null)return Ke;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Aa.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Zb(e){if(e==null)return Ke;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function zt(e){return Yo(()=>{let t=my(e);return yy(t),t})}function oi(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 my(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Ke,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Wb(e.inputs,t),outputs:Zb(e.outputs),debugInfo:null}}function yy(e){e.features?.forEach(t=>t(e))}function Cg(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 Yb(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 Qb(e){return Object.getPrototypeOf(e.prototype).constructor}function vy(e){let t=Qb(e.type),n=!0,r=[e];for(;t;){let o;if(tt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=pl(e.inputs),s.declaredInputs=pl(e.declaredInputs),s.outputs=pl(e.outputs);let a=o.hostBindings;a&&tT(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&Xb(e,c),u&&eT(e,u),Kb(e,o),up(e.outputs,o.outputs),tt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===vy&&(n=!1)}}t=Object.getPrototypeOf(t)}Jb(r)}function Kb(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 Jb(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=Br(o.hostAttrs,n=Br(n,o.hostAttrs))}}function pl(e){return e===Ke?{}:e===De?[]:e}function Xb(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function eT(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function tT(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function nT(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=rT,n.hostDirectives=r?e.map(ql):[e]):r?n.hostDirectives.unshift(...e.map(ql)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function rT(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,Dy(s,t,r),o.set(s,[a,t.length-1])}i===0&&tt(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Dy(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)bg(ql(i),t,n)}else bg(r,t,n)}function bg(e,t,n){let r=Os(e.directive);oT(r.declaredInputs,e.inputs),Dy(r,t,n),n.set(r,e),t.push(r)}function ql(e){return typeof e=="function"?{directive:ue(e),inputs:Ke,outputs:Ke}:{directive:ue(e.directive),inputs:Tg(e.inputs),outputs:Tg(e.outputs)}}function Tg(e){if(e===void 0||e.length===0)return Ke;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function oT(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Ey(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Br(e.mergedAttrs,e.attrs);let l=e.tView=yd(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Pr(e,!1);let c=sT(n,t,e,r);Gs()&&wd(n,t,c,e),Vr(c,t);let u=zm(c,t,c,e);t[r+G]=u,Dd(t,u),Fb(u,e,t)}function iT(e,t,n,r,o,i,s,a,c,u,l){let d=n+G,h;return t.firstCreatePass?(h=qr(t,d,4,s||null,a||null),js()&&Km(t,e,h,ze(t.consts,u),bd),Bg(t,h)):h=t.data[d],Ey(h,e,t,n,r,o,i,c),xr(h)&&Pa(t,e,h),u!=null&&Xo(e,h,l),h}function qo(e,t,n,r,o,i,s,a,c,u,l){let d=n+G,h;if(t.firstCreatePass){if(h=qr(t,d,4,s||null,a||null),u!=null){let f=ze(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 Ey(h,e,t,n,r,o,i,c),u!=null&&Xo(e,h,l),h}function Iy(e,t,n,r,o,i,s,a){let c=_(),u=q(),l=ze(u.consts,i);return iT(c,u,e,t,n,r,o,l,void 0,s,a),Iy}var sT=aT;function aT(e,t,n,r){return Lo(!0),t[$].createComment("")}var ja=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ja||{}),yn=new I(""),wy=!1,Wl=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,bp()&&(this.destroyRef=p(Ge,{optional:!0})??void 0,this.pendingTasks=p(Tt,{optional:!0})??void 0)}emit(t){let n=N(null);try{super.next(t)}finally{N(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof K&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},_e=Wl;function Cy(e){let t,n;function r(){e=Yn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function _g(e){return queueMicrotask(()=>e()),()=>{e=Yn}}var Bd="isAngularZone",ma=Bd+"_ID",cT=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new _e(!1);onMicrotaskEmpty=new _e(!1);onStable=new _e(!1);onError=new _e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=wy}=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,dT(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Bd)===!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,uT,Yn,Yn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},uT={};function Vd(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 lT(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Cy(()=>{e.callbackScheduled=!1,Zl(e),e.isCheckStableRunning=!0,Vd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Zl(e)}function dT(e){let t=()=>{lT(e)},n=cT++;e._inner=e._inner.fork({name:"angular",properties:{[Bd]:!0,[ma]:n,[ma+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(fT(c))return r.invokeTask(i,s,a,c);try{return Sg(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Mg(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Sg(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!hT(c)&&t(),Mg(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Zl(e),Vd(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 Zl(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Sg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Mg(e){e._nesting--,Vd(e)}var ya=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new _e;onMicrotaskEmpty=new _e;onStable=new _e;onError=new _e;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function fT(e){return by(e,"__ignore_ng_zone__")}function hT(e){return by(e,"__scheduler_tick__")}function by(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ba=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ud=[0,1,2,3],$d=(()=>{class e{ngZone=p(Q);scheduler=p(Be);errorHandler=p(je,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(yn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&U(16),this.executing=!0;for(let r of Ud)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&U(17)}register(n){let{view:r}=n;r!==void 0?((r[Hn]??=[]).push(n),ln(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ja.AFTER_NEXT_RENDER,n):n()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Wo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Hn];t&&(this.view[Hn]=t.filter(n=>n!==this))}};function Hd(e,t){let n=t?.injector??p(me);return st("NgAfterNextRender"),gT(e,n,t,!0)}function pT(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function gT(e,t,n,r){let o=t.get(Ba);o.impl??=t.get($d);let i=t.get(yn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ge):null,a=t.get(Zn,null,{optional:!0}),c=new Wo(o.impl,pT(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Va=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var zd=new I("");function tr(e){return!!e&&typeof e.then=="function"}function Ua(e){return!!e&&typeof e.subscribe=="function"}var Gd=new I("");function $a(e){return Je([{provide:Gd,multi:!0,useValue:e}])}var qd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(Gd,{optional:!0})??[];injector=p(me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=pe(this.injector,o);if(tr(i))n.push(i);else if(Ua(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ii=new I("");function Ty(){Gc(()=>{let e="";throw new m(600,e)})}function _y(e){return e.isBoundToModule}var mT=10;var vn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Te);afterRenderManager=p(Ba);zonelessEnabled=p(Fr);rootEffectScheduler=p(Bo);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new J;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(Tt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(x(n=>!n))}constructor(){p(yn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=me.NULL){return this._injector.get(Q).run(()=>{U(10);let s=n instanceof Fa;if(!this._injector.get(qd).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(ni).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=_y(c)?void 0:this._injector.get(Xn),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get(zd,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Uo(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),U(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){U(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ja.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new m(101,!1);let n=N(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,N(n),this.afterTick.next(),U(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Jn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<mT;)U(14),this.synchronizeOnce(),U(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Po(o))continue;let i=r&&!this.zonelessEnabled?0:1;Vm(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})=>Po(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;Uo(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(ii,[]).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),()=>Uo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Uo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Wd(e,t,n,r){let o=_(),i=dn();if(qe(o,i,t)){let s=q(),a=Fo();FC(a,o,e,t,n,r)}return Wd}var O1=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function yT(){return _()[Ee][X]}var Yl=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t,!0))}};function gl(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function vT(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=gl(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],g=gl(s,h,c,f,n);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let E=n(i,u),D=n(s,h),v=n(i,l);if(Object.is(v,D)){let L=n(c,f);Object.is(L,E)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new va,o??=Rg(e,i,s,n),Ql(e,r,i,v))e.updateValue(i,l),i++,s++;else if(o.has(v))r.set(E,e.detach(i)),s--;else{let L=e.create(i,t[i]);e.attach(i,L),i++,s++}}for(;i<=c;)Ng(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=gl(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new va,o??=Rg(e,i,s,n);let f=n(i,d);if(Ql(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let g=n(i,l);r.set(g,e.detach(i)),s--}}}for(;!u.done;)Ng(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ql(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ng(e,t,n,r,o){if(Ql(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Rg(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var va=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function DT(e,t,n,r,o,i,s,a){st("NgControlFlow");let c=_(),u=q(),l=ze(u.consts,i);return qo(c,u,e,t,n,r,o,l,256,s,a),Zd}function Zd(e,t,n,r,o,i,s,a){st("NgControlFlow");let c=_(),u=q(),l=ze(u.consts,i);return qo(c,u,e,t,n,r,o,l,512,s,a),Zd}function ET(e,t){st("NgControlFlow");let n=_(),r=dn(),o=n[r]!==Re?n[r]:-1,i=o!==-1?Da(n,G+o):void 0,s=0;if(qe(n,r,e)){let a=N(null);try{if(i!==void 0&&qm(i,s),e!==-1){let c=G+e,u=Da(n,c),l=ed(n[b],c),d=Zm(u,l,n),h=ei(n,l,t,{dehydratedView:d});ti(u,h,s,Ur(l,d))}}finally{N(a)}}else if(i!==void 0){let a=Gm(i,s);a!==void 0&&(a[X]=t)}}var Kl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-re}};function IT(e){return e}function wT(e,t){return t}var Jl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function CT(e,t,n,r,o,i,s,a,c,u,l,d,h){st("NgControlFlow");let f=_(),g=q(),E=c!==void 0,D=_(),v=a?s.bind(D[Ee][X]):s,L=new Jl(E,v);D[G+e]=L,qo(f,g,e+1,t,n,r,o,ze(g.consts,i),256),E&&qo(f,g,e+2,c,u,l,d,ze(g.consts,h),512)}var Xl=class extends Yl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-re}at(t){return this.getLView(t)[X].$implicit}attach(t,n){let r=n[Vn];this.needsIndexUpdate||=t!==this.length,ti(this.lContainer,n,t,Ur(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&TT(this.lContainer,t),_T(this.lContainer,t)}create(t,n){let r=ua(this.lContainer,this.templateTNode.tView.ssrId),o=ei(this.hostLView,this.templateTNode,new Kl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){xa(t[b],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[X].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[X].$index=t}getLView(t){return ST(this.lContainer,t)}};function bT(e){let t=N(null),n=bt();try{let r=_(),o=r[b],i=r[n],s=n+1,a=Da(r,s);if(i.liveCollection===void 0){let u=ed(o,s);i.liveCollection=new Xl(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(vT(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=dn(),l=c.length===0;if(qe(r,u,l)){let d=n+2,h=Da(r,d);if(l){let f=ed(o,d),g=Zm(h,f,r),E=ei(r,f,void 0,{dehydratedView:g});ti(h,E,0,Ur(f,g))}else o.firstUpdatePass&&sb(h),qm(h,0)}}}finally{N(t)}}function Da(e,t){return e[t]}function TT(e,t){if(e.length<=re)return;let n=re+t,r=e[n];r&&r[zn]&&(r[zn].skipLeaveAnimations=!0)}function _T(e,t){return zo(e,t)}function ST(e,t){return Gm(e,t)}function ed(e,t){return Oo(e,t)}function Sy(e,t,n){let r=_(),o=dn();if(qe(r,o,t)){let i=q(),s=Fo();Om(s,r,e,t,r[$],n)}return Sy}function td(e,t,n,r,o){Sd(t,e,n,o?"class":"style",r)}function Yd(e,t,n,r){let o=_(),i=o[b],s=e+G,a=i.firstCreatePass?Ad(s,o,2,t,bd,js(),n,r):i.data[s];if(Td(a,o,e,t,Ny),xr(a)){let c=o[b];Pa(c,o,a),ld(c,a,o)}return r!=null&&Xo(o,a),Yd}function Qd(){let e=q(),t=oe(),n=_d(t);return e.firstCreatePass&&xd(e,n),Qu(n)&&Ku(),Zu(),n.classesWithoutHost!=null&&KI(n)&&td(e,n,_(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&JI(n)&&td(e,n,_(),n.stylesWithoutHost,!1),Qd}function Ha(e,t,n,r){return Yd(e,t,n,r),Qd(),Ha}function Kd(e,t,n,r){let o=_(),i=o[b],s=e+G,a=i.firstCreatePass?Eb(s,i,2,t,n,r):i.data[s];return Td(a,o,e,t,Ny),r!=null&&Xo(o,a),Kd}function Jd(){let e=oe(),t=_d(e);return Qu(t)&&Ku(),Zu(),Jd}function My(e,t,n,r){return Kd(e,t,n,r),Jd(),My}var Ny=(e,t,n,r,o)=>(Lo(!0),Dm(t[$],r,Qp()));function Xd(e,t,n){let r=_(),o=r[b],i=e+G,s=o.firstCreatePass?Ad(i,r,8,"ng-container",bd,js(),t,n):o.data[i];if(Td(s,r,e,"ng-container",MT),xr(s)){let a=r[b];Pa(a,r,s),ld(a,s,r)}return n!=null&&Xo(r,s),Xd}function ef(){let e=q(),t=oe(),n=_d(t);return e.firstCreatePass&&xd(e,n),ef}function Ry(e,t,n){return Xd(e,t,n),ef(),Ry}var MT=(e,t,n,r,o)=>(Lo(!0),aC(t[$],""));function NT(){return _()}function Ay(e,t,n){let r=_(),o=dn();if(qe(r,o,t)){let i=q(),s=Fo();Pm(s,r,e,t,r[$],n)}return Ay}var Ys=void 0;function RT(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var AT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ys,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ys,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ys,"{1} 'at' {0}",Ys],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",RT],ml={};function Ae(e){let t=xT(e),n=Ag(t);if(n)return n;let r=t.split("-")[0];if(n=Ag(r),n)return n;if(r==="en")return AT;throw new m(701,!1)}function Ag(e){return e in ml||(ml[e]=Ve.ng&&Ve.ng.common&&Ve.ng.common.locales&&Ve.ng.common.locales[e]),ml[e]}var ee=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(ee||{});function xT(e){return e.toLowerCase().replace(/_/g,"-")}var si="en-US";var OT=si;function xy(e){typeof e=="string"&&(OT=e.toLowerCase().replace(/_/g,"-"))}function tf(e,t,n){let r=_(),o=q(),i=oe();return Py(o,r,r[$],i,e,t,n),tf}function Oy(e,t,n){let r=_(),o=q(),i=oe();return(i.type&3||n)&&ry(i,o,r,n,r[$],e,t,ta(i,r,t)),Oy}function Py(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ta(r,t,i),ry(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let h=l[d],f=l[d+1];c??=ta(r,t,i),Dg(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=ta(r,t,i),Dg(r,t,d,o,o,c)}}function PT(e=1){return Wp(e)}function kT(e,t){let n=null,r=Jw(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?vm(e,i,!0):tC(r,i))return o}return n}function FT(e){let t=_()[Ee][be];if(!t.projection){let n=e?e.length:1,r=t.projection=mp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?kT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function LT(e,t=0,n,r,o,i){let s=_(),a=q(),c=r?e+1:null;c!==null&&qo(s,a,c,r,o,i,null,n);let u=qr(a,G+e,16,null,n||null);u.projection===null&&(u.projection=t),el();let d=!s[Vn]||Yu();s[Ee][be].projection[u.projection]===null&&c!==null?jT(s,a,c):d&&!Ma(u)&&TC(a,s,u)}function jT(e,t,n){let r=G+n,o=t.data[r],i=e[r],s=ua(i,o.tView.ssrId),a=ei(e,o,void 0,{dehydratedView:s});ti(i,a,0,Ur(o,s))}function ky(e,t,n,r){dy(e,t,n,r)}function BT(e,t,n){ly(e,t,n)}function Fy(e){let t=_(),n=q(),r=$s();ko(r+1);let o=kd(n,r);if(e.dirty&&Sp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=hy(t,r);e.reset(i,Kg),e.notifyOnChanges()}return!0}return!1}function Ly(){return Pd(_(),$s())}function VT(e,t,n,r,o){gy(t,dy(e,n,r,o))}function UT(e,t,n,r){gy(e,ly(t,n,r))}function $T(e=1){ko($s()+e)}function HT(e){let t=Lp();return ks(t,G+e)}function Qs(e,t){return e<<17|t<<2}function er(e){return e>>17&32767}function zT(e){return(e&2)==2}function GT(e,t){return e&131071|t<<17}function nd(e){return e|2}function $r(e){return(e&131068)>>2}function yl(e,t){return e&-131069|t<<2}function qT(e){return(e&1)===1}function rd(e){return e|1}function WT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=er(s),c=$r(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Mr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=er(e[a+1]);e[r+1]=Qs(h,a),h!==0&&(e[h+1]=yl(e[h+1],r)),e[a+1]=GT(e[a+1],r)}else e[r+1]=Qs(a,0),a!==0&&(e[a+1]=yl(e[a+1],r)),a=r;else e[r+1]=Qs(c,0),a===0?a=r:e[c+1]=yl(e[c+1],r),c=r;u&&(e[r+1]=nd(e[r+1])),xg(e,l,r,!0),xg(e,l,r,!1),ZT(t,l,e,r,i),s=Qs(a,c),i?t.classBindings=s:t.styleBindings=s}function ZT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Mr(i,t)>=0&&(n[r+1]=rd(n[r+1]))}function xg(e,t,n,r){let o=e[n+1],i=t===null,s=r?er(o):$r(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];YT(c,t)&&(a=!0,e[s+1]=r?rd(u):nd(u)),s=r?er(u):$r(u)}a&&(e[n+1]=r?nd(o):rd(o))}function YT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Mr(e,t)>=0:!1}var ot={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function QT(e){return e.substring(ot.key,ot.keyEnd)}function KT(e){return JT(e),jy(e,By(e,0,ot.textEnd))}function jy(e,t){let n=ot.textEnd;return n===t?-1:(t=ot.keyEnd=XT(e,ot.key=t,n),By(e,t,n))}function JT(e){ot.key=0,ot.keyEnd=0,ot.value=0,ot.valueEnd=0,ot.textEnd=e.length}function By(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function XT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Vy(e,t,n){return $y(e,t,n,!1),Vy}function Uy(e,t){return $y(e,t,null,!0),Uy}function e_(e){n_(c_,t_,e,!0)}function t_(e,t){for(let n=KT(t);n>=0;n=jy(t,n))As(e,QT(t),!0)}function $y(e,t,n,r){let o=_(),i=q(),s=Vs(2);if(i.firstUpdatePass&&zy(i,e,s,r),t!==Re&&qe(o,s,t)){let a=i.data[bt()];Gy(i,a,o,o[$],e,o[s+1]=l_(t,n),r,s)}}function n_(e,t,n,r){let o=q(),i=Vs(2);o.firstUpdatePass&&zy(o,null,i,r);let s=_();if(n!==Re&&qe(s,i,n)){let a=o.data[bt()];if(qy(a,r)&&!Hy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=_s(c,n||"")),td(o,a,s,n,r)}else u_(o,a,s,s[$],s[i+1],s[i+1]=a_(e,t,n),r,i)}}function Hy(e,t){return t>=e.expandoStartIndex}function zy(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[bt()],s=Hy(e,n);qy(i,r)&&t===null&&!s&&(t=!1),t=r_(o,i,t,r),WT(o,i,t,n,s,r)}}function r_(e,t,n,r){let o=Hp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=vl(null,e,t,n,r),n=Zo(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=vl(o,e,t,n,r),i===null){let c=o_(e,t,r);c!==void 0&&Array.isArray(c)&&(c=vl(null,e,t,c[1],r),c=Zo(c,t.attrs,r),i_(e,t,r,c))}else i=s_(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function o_(e,t,n){let r=n?t.classBindings:t.styleBindings;if($r(r)!==0)return e[er(r)]}function i_(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[er(o)]=r}function s_(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Zo(r,s,n)}return Zo(r,t.attrs,n)}function vl(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=Zo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Zo(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]),As(e,s,n?!0:t[++i]))}return e===void 0?null:e}function a_(e,t,n){if(n==null||n==="")return De;let r=[],o=We(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function c_(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&As(e,r,n)}function u_(e,t,n,r,o,i,s,a){o===Re&&(o=De);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,g=null,E;l===d?(c+=2,u+=2,h!==f&&(g=d,E=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,E=f),g!==null&&Gy(e,t,n,r,g,E,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Gy(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=qT(u)?Og(c,t,n,o,$r(u),s):void 0;if(!Ea(l)){Ea(i)||zT(u)&&(i=Og(c,null,n,o,a,s));let d=Uu(bt(),n);SC(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===Re&&(h=d?De:void 0);let f=d?xs(h,r):l===r?h:void 0;if(u&&!Ea(f)&&(f=xs(c,r)),Ea(f)&&(a=f,s))return a;let g=e[o+1];o=s?er(g):$r(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=xs(c,r))}return a}function Ea(e){return e!==void 0}function l_(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=kt(We(e)))),e}function qy(e,t){return(e.flags&(t?8:16))!==0}function d_(e,t=""){let n=_(),r=q(),o=e+G,i=r.firstCreatePass?qr(r,o,1,t,null):r.data[o],s=f_(r,n,i,t,e);n[o]=s,Gs()&&wd(r,n,s,i),Pr(i,!1)}var f_=(e,t,n,r,o)=>(Lo(!0),iC(t[$],r));function Wy(e,t,n,r=""){return qe(e,dn(),n)?t+on(n)+r:Re}function h_(e,t,n,r,o,i=""){let s=jp(),a=ny(e,s,n,o);return Vs(2),a?t+on(n)+r+on(o)+i:Re}function Zy(e){return nf("",e),Zy}function nf(e,t,n){let r=_(),o=Wy(r,e,t,n);return o!==Re&&Qy(r,bt(),o),nf}function Yy(e,t,n,r,o){let i=_(),s=h_(i,e,t,n,r,o);return s!==Re&&Qy(i,bt(),s),Yy}function Qy(e,t,n){let r=Uu(t,e);sC(e[$],r,n)}function Ky(e,t,n){al(t)&&(t=t());let r=_(),o=dn();if(qe(r,o,t)){let i=q(),s=Fo();Om(s,r,e,t,r[$],n)}return Ky}function p_(e,t){let n=al(e);return n&&e.set(t),n}function Jy(e,t){let n=_(),r=q(),o=oe();return Py(r,n,n[$],o,e,t),Jy}function g_(e,t,n=""){return Wy(_(),e,t,n)}function m_(e,t,n){let r=q();if(r.firstCreatePass){let o=tt(e);od(n,r.data,r.blueprint,o,!0),od(t,r.data,r.blueprint,o,!1)}}function od(e,t,n,r,o){if(e=ue(e),Array.isArray(e))for(let i=0;i<e.length;i++)od(e[i],t,n,r,o);else{let i=q(),s=_(),a=oe(),c=Ln(e)?e:ue(e.provide),u=ku(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Ln(e)||!e.multi){let f=new Kn(u,o,ie,null),g=El(c,t,o?l:l+h,d);g===-1?(wl(sa(a,s),i,c),Dl(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=El(c,t,l+h,d),g=El(c,t,l,l+h),E=f>=0&&n[f],D=g>=0&&n[g];if(o&&!D||!o&&!E){wl(sa(a,s),i,c);let v=D_(o?v_:y_,n.length,o,r,u,e);!o&&D&&(n[g].providerFactory=v),Dl(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=Xy(n[o?g:f],u,!o&&r);Dl(i,e,f>-1?f:g,v)}!o&&r&&D&&n[g].componentProviders++}}}function Dl(e,t,n,r){let o=Ln(t),i=Cp(t);if(o||i){let c=(i?ue(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Xy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function El(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function y_(e,t,n,r,o){return id(this.multi,[])}function v_(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=$o(r,r[b],this.providerFactory.index,o);s=c.slice(0,a),id(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],id(i,s);return s}function id(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function D_(e,t,n,r,o,i){let s=new Kn(e,n,ie,null);return s.multi=[],s.index=t,s.componentProviders=0,Xy(s,o,r&&!n),s}function E_(e,t=[]){return n=>{n.providersResolver=(r,o)=>m_(r,o?o(e):e,t)}}function I_(e,t,n,r){return tv(_(),Bs(),e,t,n,r)}function ev(e,t){let n=e[t];return n===Re?void 0:n}function tv(e,t,n,r,o,i){let s=t+n;return qe(e,s,o)?ty(e,s+1,i?r.call(i,o):r(o)):ev(e,s+1)}function w_(e,t,n,r,o,i,s){let a=t+n;return ny(e,a,o,i)?ty(e,a+2,s?r.call(s,o,i):r(o,i)):ev(e,a+2)}function C_(e,t){let n=q(),r,o=e+G;n.firstCreatePass?(r=b_(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=nn(r.type,!0)),s,a=Ce(ie);try{let c=ia(!1),u=i();return ia(c),$u(n,_(),o,u),u}finally{Ce(a)}}function b_(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function T_(e,t,n){let r=e+G,o=_(),i=ks(o,r);return nv(o,r)?tv(o,Bs(),t,i.transform,n,i):i.transform(n)}function __(e,t,n,r){let o=e+G,i=_(),s=ks(i,o);return nv(i,o)?w_(i,Bs(),t,s.transform,n,r,s):s.transform(n,r)}function nv(e,t){return e[b].data[t].pure}function S_(e,t){return ka(e,t)}var Ia=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},rf=(()=>{class e{compileModuleSync(n){return new ga(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=xu(n),i=mm(o.declarations).reduce((s,a)=>{let c=Et(a);return c&&s.push(new gn(c)),s},[]);return new Ia(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var M_=(()=>{class e{zone=p(Q);changeDetectionScheduler=p(Be);applicationRef=p(vn);applicationErrorHandler=p(Te);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rv=new I("",{factory:()=>!1});function of({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Q(F(y({},sf()),{scheduleInRootZone:n})),[{provide:Q,useFactory:e},{provide:Dt,multi:!0,useFactory:()=>{let r=p(M_,{optional:!0});return()=>r.initialize()}},{provide:Dt,multi:!0,useFactory:()=>{let r=p(R_);return()=>{r.initialize()}}},t===!0?{provide:cl,useValue:!0}:[],{provide:ul,useValue:n??wy},{provide:Te,useFactory:()=>{let r=p(Q),o=p(te),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(je),i.handleError(s))})}}}]}function N_(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=of({ngZoneFactory:()=>{let o=sf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&st("NgZone_CoalesceEvent"),new Q(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Je([{provide:rv,useValue:!0},{provide:Fr,useValue:!1},r])}function sf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var R_=(()=>{class e{subscription=new K;initialized=!1;zone=p(Q);pendingTasks=p(Tt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ov=(()=>{class e{applicationErrorHandler=p(Te);appRef=p(vn);taskService=p(Tt);ngZone=p(Q);zonelessEnabled=p(Fr);tracing=p(yn,{optional:!0});disableScheduling=p(cl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new K;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ma):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(ul,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ya||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?_g:Cy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ma+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,_g(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function A_(){return typeof $localize<"u"&&$localize.locale||si}var Zr=new I("",{providedIn:"root",factory:()=>p(Zr,{optional:!0,skipSelf:!0})||A_()});function at(e){return op(e)}function x_(e,t){return mo(e,t?.equal)}var af=class{[ae];constructor(t){this[ae]=t}destroy(){this[ae].destroy()}};function O_(e,t){let n=t?.injector??p(me),r=t?.manualCleanup!==!0?n.get(Ge):null,o,i=n.get(Zn,null,{optional:!0}),s=n.get(Be);return i!==null?(o=F_(i.view,s,e),r instanceof So&&r._lView===i.view&&(r=null)):o=L_(e,n.get(Bo),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new af(o)}var iv=F(y({},ip),{cleanupFns:void 0,zone:null,onDestroyFn:Yn,run(){let e=kr(!1);try{sp(this)}finally{kr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=N(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],N(e)}}}),P_=F(y({},iv),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Xt(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),k_=F(y({},iv),{consumerMarkedDirty(){this.view[M]|=8192,ln(this.view),this.notifier.notify(13)},destroy(){Xt(this),this.onDestroyFn(),this.cleanup(),this.view[jt]?.delete(this)}});function F_(e,t,n){let r=Object.create(k_);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=sv(r,n),e[jt]??=new Set,e[jt].add(r),r.consumerMarkedDirty(r),r}function L_(e,t,n){let r=Object.create(P_);return r.fn=sv(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 sv(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var pv=Symbol("InputSignalNode#UNSET"),K_=F(y({},yo),{transformFn:void 0,applyValueToInputSignal(e,t){pr(e,t)}});function gv(e,t){let n=Object.create(K_);n.value=e,n.transformFn=t?.transform;function r(){if(Sn(n),n.value===pv){let o=null;throw new m(-950,o)}return n.value}return r[ae]=n,r}var uf=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ca(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},J_=new I("");J_.__NG_ELEMENT_ID__=e=>{let t=oe();if(t===null)throw new m(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new m(204,!1)};function av(e,t){return gv(e,t)}function X_(e){return gv(pv,e)}var mv=(av.required=X_,av);function cv(e,t){return Fd(t)}function eS(e,t){return Ld(t)}var v$=(cv.required=eS,cv);function uv(e,t){return Fd(t)}function tS(e,t){return Ld(t)}var D$=(uv.required=tS,uv);var lf=new I(""),nS=new I("");function ai(e){return!e.moduleRef}function rS(e){let t=ai(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{ai(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Te),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ai(e)){let i=()=>t.destroy(),s=e.platformInjector.get(lf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(lf);s.add(i),e.moduleRef.onDestroy(()=>{Uo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return iS(r,n,()=>{let i=t.get(Tt),s=i.add(),a=t.get(qd);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Zr,si);if(xy(c||si),!t.get(nS,!0))return ai(e)?t.get(vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ai(e)){let l=t.get(vn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return oS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var oS;function iS(e,t,n){try{let r=n();return tr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var za=null;function sS(e=[],t){return me.create({name:t,providers:[{provide:Ro,useValue:"platform"},{provide:lf,useValue:new Set([()=>za=null])},...e]})}function aS(e=[]){if(za)return za;let t=sS(e);return za=t,Ty(),cS(t),t}function cS(e){let t=e.get(Ta,null);pe(e,()=>{t?.forEach(n=>n())})}var Yr=(()=>{class e{static __NG_ELEMENT_ID__=uS}return e})();function uS(e){return lS(oe(),_(),(e&16)===16)}function lS(e,t,n){if(un(e)&&!n){let r=He(e.index,t);return new hn(r,r)}else if(e.type&175){let r=t[Ee];return new hn(r,t)}return null}var df=class{constructor(){}supports(t){return Od(t)}create(t){return new ff(t)}},dS=(e,t)=>t,ff=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||dS}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<lv(r,o,i)?n:r,a=lv(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,g=f+h;l<=g&&g<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Od(t))throw new m(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Xm(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new hf(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ga),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ga),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},hf=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},pf=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ga=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new pf,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function lv(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function dv(){return new mf([new df])}var mf=(()=>{class e{factories;static \u0275prov=w({token:e,providedIn:"root",factory:dv});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=p(e,{optional:!0,skipSelf:!0});return e.create(n,r||dv())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new m(901,!1)}}return e})();function yv(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;U(8);try{let i=o?.injector??aS(r),s=[of({}),{provide:Be,useExisting:ov},Jp,...n||[]],a=new Go({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return rS({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{U(9)}}function vv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function fS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var cf=Symbol("NOT_SET"),Dv=new Set,hS=F(y({},yo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:cf,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!==cf&&!Nn(this))return this.signal;try{for(let o of this.cleanup??Dv)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Jt(this),r;try{r=this.userFn.apply(null,t)}finally{Mn(this,n)}return(this.value===cf||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),gf=class extends Wo{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(Ge),s),this.scheduler=o;for(let a of Ud){let c=n[a];if(c===void 0)continue;let u=Object.create(hS);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(Sn(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(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Dv)n()}finally{Xt(t)}}};function E$(e,t){let n=t?.injector??p(me),r=n.get(Be),o=n.get(Ba),i=n.get(yn,null,{optional:!0});o.impl??=n.get($d);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Zn,null,{optional:!0}),c=new gf(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function I$(e,t){let n=Et(e),r=t.elementInjector||Nr();return new gn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function Ev(e){let t=Et(e);if(!t)return null;let n=new gn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Cv=null;function Gt(){return Cv}function yf(e){Cv??=e}var ci=class{},ui=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(bv),providedIn:"platform"})}return e})(),vf=new I(""),bv=(()=>{class e extends ui{_location;_history;_doc=p(Z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gt().getBaseHref(this._doc)}onPopState(n){let r=Gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function qa(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Iv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function ct(e){return e&&e[0]!=="?"?`?${e}`:e}var qt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(Za),providedIn:"root"})}return e})(),Wa=new I(""),Za=(()=>{class e extends qt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return qa(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+ct(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(C(ui),C(Wa,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),En=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=mS(Iv(wv(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ct(r))}normalize(n){return e.stripTrailingSlash(gS(this._basePath,wv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ct(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ct(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=ct;static joinWithSlash=qa;static stripTrailingSlash=Iv;static \u0275fac=function(r){return new(r||e)(C(qt))};static \u0275prov=w({token:e,factory:()=>pS(),providedIn:"root"})}return e})();function pS(){return new En(C(qt))}function gS(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function wv(e){return e.replace(/\/index.html$/,"")}function mS(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Sf=(()=>{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=qa(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(C(ui),C(Wa,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var Mf=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(Mf||{});var Ie=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ie||{}),H=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(H||{}),xe=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(xe||{}),Oe={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Rv(e){return Ae(e)[ee.LocaleId]}function Av(e,t,n){let r=Ae(e),o=[r[ee.DayPeriodsFormat],r[ee.DayPeriodsStandalone]],i=Ze(o,t);return Ze(i,n)}function xv(e,t,n){let r=Ae(e),o=[r[ee.DaysFormat],r[ee.DaysStandalone]],i=Ze(o,t);return Ze(i,n)}function Ov(e,t,n){let r=Ae(e),o=[r[ee.MonthsFormat],r[ee.MonthsStandalone]],i=Ze(o,t);return Ze(i,n)}function Pv(e,t){let r=Ae(e)[ee.Eras];return Ze(r,t)}function li(e,t){let n=Ae(e);return Ze(n[ee.DateFormat],t)}function di(e,t){let n=Ae(e);return Ze(n[ee.TimeFormat],t)}function fi(e,t){let r=Ae(e)[ee.DateTimeFormat];return Ze(r,t)}function Nt(e,t){let n=Ae(e),r=n[ee.NumberSymbols][t];if(typeof r>"u"){if(t===Oe.CurrencyDecimal)return n[ee.NumberSymbols][Oe.Decimal];if(t===Oe.CurrencyGroup)return n[ee.NumberSymbols][Oe.Group]}return r}function kv(e,t){return Ae(e)[ee.NumberFormats][t]}function Fv(e){if(!e[ee.ExtraData])throw new m(2303,!1)}function Lv(e){let t=Ae(e);return Fv(t),(t[ee.ExtraData][2]||[]).map(r=>typeof r=="string"?Df(r):[Df(r[0]),Df(r[1])])}function jv(e,t,n){let r=Ae(e);Fv(r);let o=[r[ee.ExtraData][0],r[ee.ExtraData][1]],i=Ze(o,t)||[];return Ze(i,n)||[]}function Ze(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function Df(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var yS=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ya={},vS=/((?:[^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 Bv(e,t,n,r){let o=SS(e);t=Wt(n,t)||t;let s=[],a;for(;t;)if(a=vS.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=Uv(r,c),o=_S(o,r));let u="";return s.forEach(l=>{let d=bS(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 Wt(e,t){let n=Rv(e);if(Ya[n]??={},Ya[n][t])return Ya[n][t];let r="";switch(t){case"shortDate":r=li(e,xe.Short);break;case"mediumDate":r=li(e,xe.Medium);break;case"longDate":r=li(e,xe.Long);break;case"fullDate":r=li(e,xe.Full);break;case"shortTime":r=di(e,xe.Short);break;case"mediumTime":r=di(e,xe.Medium);break;case"longTime":r=di(e,xe.Long);break;case"fullTime":r=di(e,xe.Full);break;case"short":let o=Wt(e,"shortTime"),i=Wt(e,"shortDate");r=Qa(fi(e,xe.Short),[o,i]);break;case"medium":let s=Wt(e,"mediumTime"),a=Wt(e,"mediumDate");r=Qa(fi(e,xe.Medium),[s,a]);break;case"long":let c=Wt(e,"longTime"),u=Wt(e,"longDate");r=Qa(fi(e,xe.Long),[c,u]);break;case"full":let l=Wt(e,"fullTime"),d=Wt(e,"fullDate");r=Qa(fi(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 ut(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function DS(e,t){return ut(e,3).substring(0,t)}function se(e,t,n=0,r=!1,o=!1){return function(i,s){let a=ES(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return DS(a,t);let c=Nt(s,Oe.MinusSign);return ut(a,t,c,r,o)}}function ES(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 IS(o,i,e,t,n,r)}}function IS(e,t,n,r,o,i){switch(n){case 2:return Ov(t,o,r)[e.getMonth()];case 1:return xv(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Lv(t),l=jv(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,E=s>=f.hours&&a>=f.minutes,D=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(E&&D)return!0}else if(E||D)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Av(t,o,r)[s<12?0:1];case 3:return Pv(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=Nt(n,Oe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+ut(s,2,i)+ut(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+ut(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+ut(s,2,i)+":"+ut(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+ut(s,2,i)+":"+ut(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var wS=0,Xa=4;function CS(e){let t=ec(e,wS,1).getDay();return ec(e,0,1+(t<=Xa?Xa:Xa+7)-t)}function Vv(e){let t=e.getDay(),n=t===0?-3:Xa-t;return ec(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Ef(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=Vv(n),s=CS(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ut(o,e,Nt(r,Oe.MinusSign))}}function Ja(e,t=!1){return function(n,r){let i=Vv(n).getFullYear();return ut(i,e,Nt(r,Oe.MinusSign),t)}}var If={};function bS(e){if(If[e])return If[e];let t;switch(e){case"G":case"GG":case"GGG":t=z(3,H.Abbreviated);break;case"GGGG":t=z(3,H.Wide);break;case"GGGGG":t=z(3,H.Narrow);break;case"y":t=se(0,1,0,!1,!0);break;case"yy":t=se(0,2,0,!0,!0);break;case"yyy":t=se(0,3,0,!1,!0);break;case"yyyy":t=se(0,4,0,!1,!0);break;case"Y":t=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=se(1,1,1);break;case"MM":case"LL":t=se(1,2,1);break;case"MMM":t=z(2,H.Abbreviated);break;case"MMMM":t=z(2,H.Wide);break;case"MMMMM":t=z(2,H.Narrow);break;case"LLL":t=z(2,H.Abbreviated,Ie.Standalone);break;case"LLLL":t=z(2,H.Wide,Ie.Standalone);break;case"LLLLL":t=z(2,H.Narrow,Ie.Standalone);break;case"w":t=Ef(1);break;case"ww":t=Ef(2);break;case"W":t=Ef(1,!0);break;case"d":t=se(2,1);break;case"dd":t=se(2,2);break;case"c":case"cc":t=se(7,1);break;case"ccc":t=z(1,H.Abbreviated,Ie.Standalone);break;case"cccc":t=z(1,H.Wide,Ie.Standalone);break;case"ccccc":t=z(1,H.Narrow,Ie.Standalone);break;case"cccccc":t=z(1,H.Short,Ie.Standalone);break;case"E":case"EE":case"EEE":t=z(1,H.Abbreviated);break;case"EEEE":t=z(1,H.Wide);break;case"EEEEE":t=z(1,H.Narrow);break;case"EEEEEE":t=z(1,H.Short);break;case"a":case"aa":case"aaa":t=z(0,H.Abbreviated);break;case"aaaa":t=z(0,H.Wide);break;case"aaaaa":t=z(0,H.Narrow);break;case"b":case"bb":case"bbb":t=z(0,H.Abbreviated,Ie.Standalone,!0);break;case"bbbb":t=z(0,H.Wide,Ie.Standalone,!0);break;case"bbbbb":t=z(0,H.Narrow,Ie.Standalone,!0);break;case"B":case"BB":case"BBB":t=z(0,H.Abbreviated,Ie.Format,!0);break;case"BBBB":t=z(0,H.Wide,Ie.Format,!0);break;case"BBBBB":t=z(0,H.Narrow,Ie.Format,!0);break;case"h":t=se(3,1,-12);break;case"hh":t=se(3,2,-12);break;case"H":t=se(3,1);break;case"HH":t=se(3,2);break;case"m":t=se(4,1);break;case"mm":t=se(4,2);break;case"s":t=se(5,1);break;case"ss":t=se(5,2);break;case"S":t=se(6,1);break;case"SS":t=se(6,2);break;case"SSS":t=se(6,3);break;case"Z":case"ZZ":case"ZZZ":t=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 If[e]=t,t}function Uv(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function TS(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function _S(e,t,n){let o=e.getTimezoneOffset(),i=Uv(t,o);return TS(e,-1*(i-o))}function SS(e){if(Tv(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(yS))return MS(r)}let t=new Date(e);if(!Tv(t))throw new m(2311,!1);return t}function MS(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 Tv(e){return e instanceof Date&&!isNaN(e.valueOf())}var NS=/^(\d+)?\.((\d+)(-(\d+))?)?$/,_v=22,tc=".",hi="0",RS=";",AS=",",wf="#";function xS(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Nt(n,Oe.Infinity);else{let u=kS(e);s&&(u=PS(u));let l=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){let L=i.match(NS);if(L===null)throw new m(2306,!1);let Me=L[1],ne=L[3],ft=L[5];Me!=null&&(l=Cf(Me)),ne!=null&&(d=Cf(ne)),ft!=null?h=Cf(ft):ne!=null&&d>h&&(h=d)}FS(u,d,h);let f=u.digits,g=u.integerLen,E=u.exponent,D=[];for(c=f.every(L=>!L);g<l;g++)f.unshift(0);for(;g<0;g++)f.unshift(0);g>0?D=f.splice(g,f.length):(D=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(Nt(n,r)),D.length&&(a+=Nt(n,o)+D.join("")),E&&(a+=Nt(n,Oe.Exponential)+"+"+E)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function $v(e,t,n){let r=kv(t,Mf.Decimal),o=OS(r,Nt(t,Oe.MinusSign));return xS(e,o,t,Oe.Group,Oe.Decimal,n)}function OS(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(RS),o=r[0],i=r[1],s=o.indexOf(tc)!==-1?o.split(tc):[o.substring(0,o.lastIndexOf(hi)+1),o.substring(o.lastIndexOf(hi)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(wf));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===hi?n.minFrac=n.maxFrac=l+1:d===wf?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(AS);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(wf);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 PS(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 kS(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)===hi;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===hi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>_v&&(r=r.splice(0,_v-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function FS(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 Cf(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var bf=/\s+/,Sv=[],LS=(()=>{class e{_ngEl;_renderer;initialClasses=Sv;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(bf):Sv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(bf):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(bf).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ie(Ut),ie(ri))};static \u0275dir=zt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var nc=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Hv=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new nc(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Mv(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Mv(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ie(Mt),ie(pn),ie(mf))};static \u0275dir=zt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Mv(e,t){e.context.$implicit=t.item}var jS=(()=>{class e{_viewContainer;_context=new rc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Nv(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Nv(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ie(Mt),ie(pn))};static \u0275dir=zt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),rc=class{$implicit=null;ngIf=null};function Nv(e,t){if(e&&!e.createEmbeddedView)throw new m(2020,!1)}var BS=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ie(Mt))};static \u0275dir=zt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Hr]})}return e})();function Nf(e,t){return new m(2100,!1)}var Tf=class{createSubscription(t,n,r){return at(()=>t.subscribe({next:n,error:r}))}dispose(t){at(()=>t.unsubscribe())}},_f=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},VS=new _f,US=new Tf,$S=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(Te);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(tr(n))return VS;if(Ua(n))return US;throw Nf(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(ie(Yr,16))};static \u0275pipe=oi({name:"async",type:e,pure:!1})}return e})();var HS="mediumDate",zv=new I(""),Gv=new I(""),zS=(()=>{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??HS,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Bv(n,s,i||this.locale,a)}catch(s){throw Nf(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ie(Zr,16),ie(zv,24),ie(Gv,24))};static \u0275pipe=oi({name:"date",type:e,pure:!0})}return e})();var GS=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!qS(n))return null;o||=this._locale;try{let i=WS(n);return $v(i,o,r)}catch(i){throw Nf(e,i.message)}}static \u0275fac=function(r){return new(r||e)(ie(Zr,16))};static \u0275pipe=oi({name:"number",type:e,pure:!0})}return e})();function qS(e){return!(e==null||e===""||e!==e)}function WS(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 qv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=mn({type:e});static \u0275inj=Lt({})}return e})();function pi(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var nr=class{};var Af="browser";function xH(e){return e===Af}var Wv=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new Rf(p(Z),window)})}return e})(),Rf=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=ZS(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(Ft(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F(y({},n),{left:o-s[0],top:i-s[1]}))}};function ZS(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 ic=new I(""),Ff=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(C(ic),C(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),gi=class{_doc;constructor(t){this._doc=t}manager},xf="ng-app-id";function Zv(e){for(let t of e)t.remove()}function Yv(e,t){let n=t.createElement("style");return n.textContent=e,n}function YS(e,t,n,r){let o=e.head?.querySelectorAll(`style[${xf}="${t}"],link[${xf}="${t}"]`);if(o)for(let i of o)i.removeAttribute(xf),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 Pf(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Lf=(()=>{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,YS(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Yv);r?.forEach(o=>this.addUsage(o,this.external,Pf))}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&&(Zv(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Zv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Yv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Pf(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(Z),C(ba),C(_a,8),C(Gr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Of={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"},jf=/%COMP%/g;var Kv="%COMP%",QS=`_nghost-${Kv}`,KS=`_ngcontent-${Kv}`,JS=!0,XS=new I("",{providedIn:"root",factory:()=>JS});function eM(e){return KS.replace(jf,e)}function tM(e){return QS.replace(jf,e)}function Jv(e,t){return t.map(n=>n.replace(jf,e))}var Bf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new mi(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof oc?o.applyToHost(n):o instanceof yi&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case Bt.Emulated:i=new oc(c,u,r,this.appId,l,s,a,d,h);break;case Bt.ShadowDom:return new kf(c,u,n,r,s,a,this.nonce,d,h);default:i=new yi(c,u,r,l,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(C(Ff),C(Lf),C(ba),C(XS),C(Z),C(Gr),C(Q),C(_a),C(yn,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),mi=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Of[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Qv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Qv(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=Of[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Of[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(St.DashCase|St.Important)?t.style.setProperty(n,r,o&St.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&St.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Gt().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Qv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var kf=class extends mi{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=Jv(o.id,l);for(let h of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=Pf(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},yi=class extends mi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?Jv(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Jo.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},oc=class extends yi{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=eM(l),this.hostAttr=tM(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var sc=class e extends ci{supportsDOMEvents=!0;static makeCurrent(){yf(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=nM();return n==null?null:rM(n)}resetBaseElement(){vi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return pi(document.cookie,t)}},vi=null;function nM(){return vi=vi||document.head.querySelector("base"),vi?vi.getAttribute("href"):null}function rM(e){return new URL(e,document.baseURI).pathname}var oM=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),eD=(()=>{class e extends gi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Xv=["alt","control","meta","shift"],iM={"\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"},sM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},tD=(()=>{class e extends gi{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."),Xv.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=iM[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"),Xv.forEach(s=>{if(s!==o){let a=sM[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function aM(e,t,n){let r=y({rootComponent:e,platformRef:n?.platformRef},cM(t));return yv(r)}function cM(e){return{appProviders:[...hM,...e?.providers??[]],platformProviders:fM}}function uM(){sc.makeCurrent()}function lM(){return new je}function dM(){return cd(document),document}var fM=[{provide:Gr,useValue:Af},{provide:Ta,useValue:uM,multi:!0},{provide:Z,useFactory:dM}];var hM=[{provide:Ro,useValue:"root"},{provide:je,useFactory:lM},{provide:ic,useClass:eD,multi:!0,deps:[Z]},{provide:ic,useClass:tD,multi:!0,deps:[Z]},Bf,Lf,Ff,{provide:Jn,useExisting:Bf},{provide:nr,useClass:oM},[]];var Jr=class{},Di=class{},In=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
-
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var cc=class{encodeKey(t){return nD(t)}encodeValue(t){return nD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function pM(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 gM=/%(\d[a-f0-9])/gi,mM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function nD(e){return encodeURIComponent(e).replace(gM,(t,n)=>mM[n]??t)}function ac(e){return`${e}`}var Zt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new cc,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=pM(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)}};var uc=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function yM(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function rD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function oD(e){return typeof Blob<"u"&&e instanceof Blob}function iD(e){return typeof FormData<"u"&&e instanceof FormData}function vM(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var sD="Content-Type",aD="Accept",cD="X-Request-URL",uD="text/plain",lD="application/json",DM=`${lD}, ${uD}, */*`,Qr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(yM(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),this.transferCache=i.transferCache}if(this.headers??=new In,this.context??=new uc,!this.params)this.params=new Zt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||rD(this.body)||oD(this.body)||iD(this.body)||vM(this.body)?this.body:this.body instanceof Zt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||iD(this.body)?null:oD(this.body)?this.body.type||null:rD(this.body)?null:typeof this.body=="string"?uD:this.body instanceof Zt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?lD:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,h=t.integrity||this.integrity,f=t.transferCache??this.transferCache,g=t.timeout??this.timeout,E=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,v=t.reportProgress??this.reportProgress,L=t.headers||this.headers,Me=t.params||this.params,ne=t.context??this.context;return t.setHeaders!==void 0&&(L=Object.keys(t.setHeaders).reduce((ft,Tn)=>ft.set(Tn,t.setHeaders[Tn]),L)),t.setParams&&(Me=Object.keys(t.setParams).reduce((ft,Tn)=>ft.set(Tn,t.setParams[Tn]),Me)),new e(n,r,E,{params:Me,headers:L,context:ne,reportProgress:v,responseType:o,withCredentials:D,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:u,credentials:l,referrer:d,integrity:h})}},rr=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(rr||{}),Xr=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new In,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},lc=class e extends Xr{constructor(t={}){super(t)}type=rr.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Ei=class e extends Xr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=rr.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Kr=class extends Xr{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}},EM=200,IM=204;function Vf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var dD=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Qr)i=n;else{let c;o.headers instanceof In?c=o.headers:c=new In(o.headers);let u;o.params&&(o.params instanceof Zt?u=o.params:u=new Zt({fromObject:o.params})),i=new Qr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,integrity:o.integrity,timeout:o.timeout})}let s=T(i).pipe(mt(c=>this.handler.handle(c)));if(n instanceof Qr||o.observe==="events")return s;let a=s.pipe(ce(c=>c instanceof Ei));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(x(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));case"json":default:return a.pipe(x(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Zt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Vf(o,r))}post(n,r,o={}){return this.request("POST",n,Vf(o,r))}put(n,r,o={}){return this.request("PUT",n,Vf(o,r))}static \u0275fac=function(r){return new(r||e)(C(Jr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var wM=new I("");function CM(e,t){return t(e)}function bM(e,t,n){return(r,o)=>pe(n,()=>t(r,i=>e(i,o)))}var fD=new I(""),hD=new I(""),pD=new I("",{providedIn:"root",factory:()=>!0});var dc=(()=>{class e extends Jr{backend;injector;chain=null;pendingTasks=p(jo);contributeToStability=p(pD);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(fD),...this.injector.get(hD,[])]));this.chain=r.reduceRight((o,i)=>bM(o,i,this.injector),CM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Pn(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(C(Di),C(te))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var TM=/^\)\]\}',?\n/,_M=RegExp(`^${cD}:`,"m");function SM(e){return"responseURL"in e&&e.responseURL?e.responseURL:_M.test(e.getAllResponseHeaders())?e.getResponseHeader(cD):null}var Uf=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return T(null).pipe(fe(()=>new k(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((D,v)=>s.setRequestHeader(D,v.join(","))),n.headers.has(aD)||s.setRequestHeader(aD,DM),!n.headers.has(sD)){let D=n.detectContentTypeHeader();D!==null&&s.setRequestHeader(sD,D)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let D=n.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let D=s.statusText||"OK",v=new In(s.getAllResponseHeaders()),L=SM(s)||n.url;return c=new lc({headers:v,status:s.status,statusText:D,url:L}),c},l=()=>{let{headers:D,status:v,statusText:L,url:Me}=u(),ne=null;v!==IM&&(ne=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=ne?EM:0);let ft=v>=200&&v<300;if(n.responseType==="json"&&typeof ne=="string"){let Tn=ne;ne=ne.replace(TM,"");try{ne=ne!==""?JSON.parse(ne):null}catch(yE){ne=Tn,ft&&(ft=!1,ne={error:yE,text:ne})}}ft?(i.next(new Ei({body:ne,headers:D,status:v,statusText:L,url:Me||void 0})),i.complete()):i.error(new Kr({error:ne,headers:D,status:v,statusText:L,url:Me||void 0}))},d=D=>{let{url:v}=u(),L=new Kr({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(L)},h=d;n.timeout&&(h=D=>{let{url:v}=u(),L=new Kr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(L)});let f=!1,g=D=>{f||(i.next(u()),f=!0);let v={type:rr.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)},E=D=>{let v={type:rr.UploadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),i.next(v)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),i.next({type:rr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(C(nr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),gD=new I(""),MM="XSRF-TOKEN",NM=new I("",{providedIn:"root",factory:()=>MM}),RM="X-XSRF-TOKEN",AM=new I("",{providedIn:"root",factory:()=>RM}),Ii=class{},xM=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=pi(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(C(Z),C(NM))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function OM(e,t){let n=e.url.toLowerCase();if(!p(gD)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(Ii).getToken(),o=p(AM);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function PM(...e){let t=[dD,Uf,dc,{provide:Jr,useExisting:dc},{provide:Di,useFactory:()=>p(wM,{optional:!0})??p(Uf)},{provide:fD,useValue:OM,multi:!0},{provide:gD,useValue:!0},{provide:Ii,useClass:xM}];for(let n of e)t.push(...n.\u0275providers);return Je(t)}var mD=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var kM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(FM),o},providedIn:"root"})}return e})(),FM=(()=>{class e extends kM{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case it.NONE:return r;case it.HTML:return $t(r,"HTML")?We(r):Ra(this._doc,String(r)).toString();case it.STYLE:return $t(r,"Style")?We(r):r;case it.SCRIPT:if($t(r,"Script"))return We(r);throw new m(5200,!1);case it.URL:return $t(r,"URL")?We(r):Qo(String(r));case it.RESOURCE_URL:if($t(r,"ResourceURL"))return We(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return dd(n)}bypassSecurityTrustStyle(n){return fd(n)}bypassSecurityTrustScript(n){return hd(n)}bypassSecurityTrustUrl(n){return pd(n)}bypassSecurityTrustResourceUrl(n){return gd(n)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var P="primary",Pi=Symbol("RouteTitle"),qf=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function sr(e){return new qf(e)}function bD(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function jM(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Rt(e[n],t[n]))return!1;return!0}function Rt(e,t){let n=e?Wf(e):void 0,r=t?Wf(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],!TD(e[o],t[o]))return!1;return!0}function Wf(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function TD(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 _D(e){return e.length>0?e[e.length-1]:null}function Qt(e){return ou(e)?e:tr(e)?W(Promise.resolve(e)):T(e)}var BM={exact:MD,subset:ND},SD={exact:VM,subset:UM,ignored:()=>!0};function yD(e,t,n){return BM[n.paths](e.root,t.root,n.matrixParams)&&SD[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function VM(e,t){return Rt(e,t)}function MD(e,t,n){if(!or(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]||!MD(e.children[r],t.children[r],n))return!1;return!0}function UM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>TD(e[n],t[n]))}function ND(e,t,n){return RD(e,t,t.segments,n)}function RD(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!or(o,n)||t.hasChildren()||!pc(o,n,r))}else if(e.segments.length===n.length){if(!or(e.segments,n)||!pc(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!ND(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!or(e.segments,o)||!pc(e.segments,o,r)||!e.children[P]?!1:RD(e.children[P],t,i,r)}}function pc(e,t,n){return t.every((r,o)=>SD[n](e[o].parameters,r.parameters))}var xt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new j([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=sr(this.queryParams),this._queryParamMap}toString(){return zM.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)}},wn=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=sr(this.parameters),this._parameterMap}toString(){return xD(this)}};function $M(e,t){return or(e,t)&&e.every((n,r)=>Rt(n.parameters,t[r].parameters))}function or(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function HM(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===P&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==P&&(n=n.concat(t(o,r)))}),n}var ar=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new Cn,providedIn:"root"})}return e})(),Cn=class{parse(t){let n=new Yf(t);return new xt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${wi(t.root,!0)}`,r=WM(t.queryParams),o=typeof t.fragment=="string"?`#${GM(t.fragment)}`:"";return`${n}${r}${o}`}},zM=new Cn;function gc(e){return e.segments.map(t=>xD(t)).join("/")}function wi(e,t){if(!e.hasChildren())return gc(e);if(t){let n=e.children[P]?wi(e.children[P],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==P&&r.push(`${o}:${wi(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=HM(e,(r,o)=>o===P?[wi(e.children[P],!1)]:[`${o}:${wi(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[P]!=null?`${gc(e)}/${n[0]}`:`${gc(e)}/(${n.join("//")})`}}function AD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fc(e){return AD(e).replace(/%3B/gi,";")}function GM(e){return encodeURI(e)}function Zf(e){return AD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mc(e){return decodeURIComponent(e)}function vD(e){return mc(e.replace(/\+/g,"%20"))}function xD(e){return`${Zf(e.path)}${qM(e.parameters)}`}function qM(e){return Object.entries(e).map(([t,n])=>`;${Zf(t)}=${Zf(n)}`).join("")}function WM(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 ZM=/^[^\/()?;#]+/;function $f(e){let t=e.match(ZM);return t?t[0]:""}var YM=/^[^\/()?;=#]+/;function QM(e){let t=e.match(YM);return t?t[0]:""}var KM=/^[^=?&#]+/;function JM(e){let t=e.match(KM);return t?t[0]:""}var XM=/^[^&#]+/;function eN(e){let t=e.match(XM);return t?t[0]:""}var Yf=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[P]=new j(t,n)),r}parseSegment(){let t=$f(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new wn(mc(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=QM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=$f(this.remaining);o&&(r=o,this.capture(r))}t[mc(n)]=mc(r)}parseQueryParam(t){let n=JM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=eN(this.remaining);s&&(r=s,this.capture(r))}let o=vD(n),i=vD(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=$f(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new m(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=P);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[P]:new j([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new m(4011,!1)}};function OD(e){return e.segments.length>0?new j([],{[P]:e}):e}function PD(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=PD(o);if(r===P&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new j(e.segments,t);return tN(n)}function tN(e){if(e.numberOfChildren===1&&e.children[P]){let t=e.children[P];return new j(e.segments.concat(t.segments),t.children)}return e}function io(e){return e instanceof xt}function kD(e,t,n=null,r=null){let o=FD(e);return LD(o,t,n,r)}function FD(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=OD(r);return t??o}function LD(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Hf(o,o,o,n,r);let i=nN(t);if(i.toRoot())return Hf(o,o,new j([],{}),n,r);let s=rN(i,o,e),a=s.processChildren?bi(s.segmentGroup,s.index,i.commands):BD(s.segmentGroup,s.index,i.commands);return Hf(o,s.segmentGroup,a,n,r)}function yc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function _i(e){return typeof e=="object"&&e!=null&&e.outlets}function Hf(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=jD(e,t,n);let a=OD(PD(s));return new xt(a,i,o)}function jD(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=jD(i,t,n)}),new j(e.segments,r)}var vc=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&yc(r[0]))throw new m(4003,!1);let o=r.find(_i);if(o&&o!==_D(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function nN(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new vc(!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 vc(n,t,r)}var no=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function rN(e,t,n){if(e.isAbsolute)return new no(t,!0,0);if(!n)return new no(t,!1,NaN);if(n.parent===null)return new no(n,!0,0);let r=yc(e.commands[0])?0:1,o=n.segments.length-1+r;return oN(n,o,e.numberOfDoubleDots)}function oN(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 no(r,!1,o-i)}function iN(e){return _i(e[0])?e[0].outlets:{[P]:e}}function BD(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return bi(e,t,n);let r=sN(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new j(e.segments.slice(0,r.pathIndex),{});return i.children[P]=new j(e.segments.slice(r.pathIndex),e.children),bi(i,0,o)}else return r.match&&o.length===0?new j(e.segments,{}):r.match&&!e.hasChildren()?Qf(e,t,n):r.match?bi(e,0,o):Qf(e,t,n)}function bi(e,t,n){if(n.length===0)return new j(e.segments,{});{let r=iN(n),o={};if(Object.keys(r).some(i=>i!==P)&&e.children[P]&&e.numberOfChildren===1&&e.children[P].segments.length===0){let i=bi(e.children[P],t,n);return new j(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=BD(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 sN(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(_i(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(!ED(c,u,s))return i;r+=2}else{if(!ED(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Qf(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(_i(i)){let c=aN(i.outlets);return new j(r,c)}if(o===0&&yc(n[0])){let c=e.segments[t];r.push(new wn(c.path,DD(n[0]))),o++;continue}let s=_i(i)?i.outlets[P]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&yc(a)?(r.push(new wn(s,DD(a))),o+=2):(r.push(new wn(s,{})),o++)}return new j(r,{})}function aN(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Qf(new j([],{}),0,r))}),t}function DD(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function ED(e,t,n){return e==n.path&&Rt(t,n.parameters)}var ro="imperative",de=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(de||{}),Le=class{id;url;constructor(t,n){this.id=t,this.url=n}},bn=class extends Le{type=de.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},dt=class extends Le{urlAfterRedirects;type=de.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Se=(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})(Se||{}),so=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(so||{}),At=class extends Le{reason;code;type=de.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ot=class extends Le{reason;code;type=de.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},ao=class extends Le{error;target;type=de.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Si=class extends Le{urlAfterRedirects;state;type=de.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dc=class extends Le{urlAfterRedirects;state;type=de.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ec=class extends Le{urlAfterRedirects;state;shouldActivate;type=de.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ic=class extends Le{urlAfterRedirects;state;type=de.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wc=class extends Le{urlAfterRedirects;state;type=de.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cc=class{route;type=de.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},bc=class{route;type=de.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Tc=class{snapshot;type=de.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_c=class{snapshot;type=de.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sc=class{snapshot;type=de.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mc=class{snapshot;type=de.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},co=class{routerEvent;position;anchor;type=de.Scroll;constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Mi=class{},uo=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function cN(e){return!(e instanceof Mi)&&!(e instanceof uo)}function uN(e,t){return e.providers&&!e._injector&&(e._injector=Wr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function lt(e){return e.outlet||P}function lN(e,t){let n=e.filter(r=>lt(r)===t);return n.push(...e.filter(r=>lt(r)!==t)),n}function ho(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Nc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ho(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new cr(this.rootInjector)}},cr=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Nc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(C(te))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rc=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=Kf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Kf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Jf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Jf(t,this._root).map(n=>n.value)}};function Kf(e,t){if(e===t.value)return t;for(let n of t.children){let r=Kf(e,n);if(r)return r}return null}function Jf(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Jf(e,n);if(r.length)return r.unshift(t),r}return[]}var Fe=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function to(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ni=class extends Rc{snapshot;constructor(t,n){super(t),this.snapshot=n,sh(this,t)}toString(){return this.snapshot.toString()}};function VD(e){let t=dN(e),n=new ge([new wn("",{})]),r=new ge({}),o=new ge({}),i=new ge({}),s=new ge(""),a=new Yt(n,r,i,s,o,P,e,t.root);return a.snapshot=t.root,new Ni(new Fe(a,[]),t)}function dN(e){let t={},n={},r={},i=new ir([],t,r,"",n,P,e,null,{});return new Ri("",new Fe(i,[]))}var Yt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(x(u=>u[Pi]))??T(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(x(t=>sr(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(t=>sr(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ac(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&&$D(o)&&(r.resolve[Pi]=o.title),r}var ir=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Pi]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=sr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=sr(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Ri=class extends Rc{url;constructor(t,n){super(n),this.url=t,sh(this,n)}toString(){return UD(this._root)}};function sh(e,t){t.value._routerState=e,t.children.forEach(n=>sh(e,n))}function UD(e){let t=e.children.length>0?` { ${e.children.map(UD).join(", ")} } `:"";return`${e.value}${t}`}function zf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Rt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Rt(t.params,n.params)||e.paramsSubject.next(n.params),jM(t.url,n.url)||e.urlSubject.next(n.url),Rt(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Xf(e,t){let n=Rt(e.params,t.params)&&$M(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Xf(e.parent,t.parent))}function $D(e){return typeof e.title=="string"||e.title===null}var HD=new I(""),ah=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=P;activateEvents=new _e;deactivateEvents=new _e;attachEvents=new _e;detachEvents=new _e;routerOutletData=mv(void 0);parentContexts=p(cr);location=p(Mt);changeDetector=p(Yr);inputBinder=p(ki,{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 eh(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=zt({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Hr]})}return e})(),eh=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Yt?this.route:t===cr?this.childContexts:t===HD?this.outletData:this.parent.get(t,n)}},ki=new I(""),ch=(()=>{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=wo([r.queryParams,r.params,r.data]).pipe(fe(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?T(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=Ev(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),uh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=jd({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Ha(0,"router-outlet")},dependencies:[ah],encapsulation:2})}return e})();function lh(e){let t=e.children&&e.children.map(lh),n=t?F(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==P&&(n.component=uh),n}function fN(e,t,n){let r=Ai(e,t._root,n?n._root:void 0);return new Ni(r,t)}function Ai(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=hN(e,t,n);return new Fe(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=>Ai(e,a)),s}}let r=pN(t.value),o=t.children.map(i=>Ai(e,i));return new Fe(r,o)}}function hN(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Ai(e,r,o);return Ai(e,r)})}function pN(e){return new Yt(new ge(e.url),new ge(e.params),new ge(e.queryParams),new ge(e.fragment),new ge(e.data),e.outlet,e.component,e)}var lo=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},zD="ngNavigationCancelingError";function xc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=io(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=GD(!1,Se.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function GD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[zD]=!0,n.cancellationCode=t,n}function gN(e){return qD(e)&&io(e.url)}function qD(e){return!!e&&e[zD]}var mN=(e,t,n,r)=>x(o=>(new th(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),th=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),zf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=to(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=to(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=to(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=to(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Mc(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(zf(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),zf(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Oc=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},oo=class{component;route;constructor(t,n){this.component=t,this.route=n}};function yN(e,t,n){let r=e._root,o=t?t._root:null;return Ci(r,o,n,[r.value])}function vN(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function po(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Iu(e)?e:t.get(e):r}function Ci(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=to(t);return e.children.forEach(s=>{DN(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ti(a,n.getContext(s),o)),o}function DN(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=EN(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Oc(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ci(e,t,a?a.children:null,r,o):Ci(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new oo(a.outlet.component,s))}else s&&Ti(t,a,o),o.canActivateChecks.push(new Oc(r)),i.component?Ci(e,null,a?a.children:null,r,o):Ci(e,null,n,r,o);return o}function EN(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!or(e.url,t.url);case"pathParamsOrQueryParamsChange":return!or(e.url,t.url)||!Rt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xf(e,t)||!Rt(e.queryParams,t.queryParams);case"paramsChange":default:return!Xf(e,t)}}function Ti(e,t,n){let r=to(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Ti(s,t.children.getContext(i),n):Ti(s,null,n):Ti(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new oo(t.outlet.component,o)):n.canDeactivateChecks.push(new oo(null,o)):n.canDeactivateChecks.push(new oo(null,o))}function Fi(e){return typeof e=="function"}function IN(e){return typeof e=="boolean"}function wN(e){return e&&Fi(e.canLoad)}function CN(e){return e&&Fi(e.canActivate)}function bN(e){return e&&Fi(e.canActivateChild)}function TN(e){return e&&Fi(e.canDeactivate)}function _N(e){return e&&Fi(e.canMatch)}function WD(e){return e instanceof Pe||e?.name==="EmptyError"}var hc=Symbol("INITIAL_VALUE");function fo(){return fe(e=>wo(e.map(t=>t.pipe(yt(1),Es(hc)))).pipe(x(t=>{for(let n of t)if(n!==!0){if(n===hc)return hc;if(n===!1||SN(n))return n}return!0}),ce(t=>t!==hc),yt(1)))}function SN(e){return io(e)||e instanceof lo}function MN(e,t){return Y(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?T(F(y({},n),{guardsResult:!0})):NN(s,r,o,e).pipe(Y(a=>a&&IN(a)?RN(r,i,e,t):T(a)),x(a=>F(y({},n),{guardsResult:a})))})}function NN(e,t,n,r){return W(e).pipe(Y(o=>kN(o.component,o.route,n,t,r)),vt(o=>o!==!0,!0))}function RN(e,t,n,r){return W(t).pipe(mt(o=>Tr(xN(o.route.parent,r),AN(o.route,r),PN(e,o.path,n),ON(e,o.route,n))),vt(o=>o!==!0,!0))}function AN(e,t){return e!==null&&t&&t(new Sc(e)),T(!0)}function xN(e,t){return e!==null&&t&&t(new Tc(e)),T(!0)}function ON(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return T(!0);let o=r.map(i=>Co(()=>{let s=ho(t)??n,a=po(i,s),c=CN(a)?a.canActivate(t,e):pe(s,()=>a(t,e));return Qt(c).pipe(vt())}));return T(o).pipe(fo())}function PN(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>vN(s)).filter(s=>s!==null).map(s=>Co(()=>{let a=s.guards.map(c=>{let u=ho(s.node)??n,l=po(c,u),d=bN(l)?l.canActivateChild(r,e):pe(u,()=>l(r,e));return Qt(d).pipe(vt())});return T(a).pipe(fo())}));return T(i).pipe(fo())}function kN(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return T(!0);let s=i.map(a=>{let c=ho(t)??o,u=po(a,c),l=TN(u)?u.canDeactivate(e,t,n,r):pe(c,()=>u(e,t,n,r));return Qt(l).pipe(vt())});return T(s).pipe(fo())}function FN(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return T(!0);let i=o.map(s=>{let a=po(s,e),c=wN(a)?a.canLoad(t,n):pe(e,()=>a(t,n));return Qt(c)});return T(i).pipe(fo(),ZD(r))}function ZD(e){return Xc(he(t=>{if(typeof t!="boolean")throw xc(e,t)}),x(t=>t===!0))}function LN(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return T(!0);let i=o.map(s=>{let a=po(s,e),c=_N(a)?a.canMatch(t,n):pe(e,()=>a(t,n));return Qt(c)});return T(i).pipe(fo(),ZD(r))}var xi=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},Oi=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function eo(e){return Cr(new xi(e))}function jN(e){return Cr(new m(4e3,!1))}function BN(e){return Cr(GD(!1,Se.GuardRejected))}var nh=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return T(r);if(o.numberOfChildren>1||!o.children[P])return jN(`${t.redirectTo}`);o=o.children[P]}}applyRedirectCommands(t,n,r,o,i){return VN(n,o,i).pipe(x(s=>{if(s instanceof xt)throw new Oi(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new Oi(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new xt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new j(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new m(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function VN(e,t,n){if(typeof e=="string")return T(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d}=t;return Qt(pe(n,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var rh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function UN(e,t,n,r,o){let i=YD(e,t,n);return i.matched?(r=uN(t,r),LN(r,t,n,o).pipe(x(s=>s===!0?i:y({},rh)))):T(i)}function YD(e,t,n){if(t.path==="**")return $N(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},rh):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||bD)(n,e,t);if(!o)return y({},rh);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 $N(e){return{matched:!0,parameters:e.length>0?_D(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function ID(e,t,n,r){return n.length>0&&GN(e,n,r)?{segmentGroup:new j(t,zN(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&qN(e,n,r)?{segmentGroup:new j(e.segments,HN(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function HN(e,t,n,r){let o={};for(let i of n)if(kc(e,t,i)&&!r[lt(i)]){let s=new j([],{});o[lt(i)]=s}return y(y({},r),o)}function zN(e,t){let n={};n[P]=t;for(let r of e)if(r.path===""&<(r)!==P){let o=new j([],{});n[lt(r)]=o}return n}function GN(e,t,n){return n.some(r=>kc(e,t,r)&<(r)!==P)}function qN(e,t,n){return n.some(r=>kc(e,t,r))}function kc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function WN(e,t,n){return t.length===0&&!e.children[n]}var oh=class{};function ZN(e,t,n,r,o,i,s="emptyOnly"){return new ih(e,t,n,r,o,s,i).recognize()}var YN=31,ih=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new nh(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){let t=ID(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(({children:n,rootSnapshot:r})=>{let o=new Fe(r,n),i=new Ri("",o),s=kD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new ir([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),P,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,P,n).pipe(x(r=>({children:r,rootSnapshot:n})),gt(r=>{if(r instanceof Oi)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof xi?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(x(s=>s instanceof Fe?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return W(i).pipe(mt(s=>{let a=r.children[s],c=lN(n,s);return this.processSegmentGroup(t,c,a,s,o)}),au((s,a)=>(s.push(...a),s)),tn(null),su(),Y(s=>{if(s===null)return eo(r);let a=QD(s);return QN(a),T(a)}))}processSegment(t,n,r,o,i,s,a){return W(n).pipe(mt(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(gt(u=>{if(u instanceof xi)return T(null);throw u}))),vt(c=>!!c),gt(c=>{if(WD(c))return WN(r,o,i)?T(new oh):eo(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return lt(r)!==s&&(s===P||!kc(o,i,r))?eo(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):eo(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=YD(n,o,i);if(!c)return eo(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>YN&&(this.allowRedirects=!1));let f=new ir(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,wD(o),lt(o),o.component??o._loadedComponent??null,o,CD(o)),g=Ac(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(g.params),f.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t).pipe(fe(D=>this.applyRedirects.lineralizeSegments(o,D)),Y(D=>this.processSegment(t,r,n,D.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=UN(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(fe(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(fe(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new ir(h,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,wD(r),lt(r),r.component??r._loadedComponent??null,r,CD(r)),E=Ac(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:D,slicedSegments:v}=ID(n,h,f,u);if(v.length===0&&D.hasChildren())return this.processChildren(l,u,D,g).pipe(x(Me=>new Fe(g,Me)));if(u.length===0&&v.length===0)return T(new Fe(g,[]));let L=lt(r)===i;return this.processSegment(l,u,D,v,L?P:i,!0,g).pipe(x(Me=>new Fe(g,Me instanceof Fe?[Me]:[])))}))):eo(n)))}getChildConfig(t,n,r){return n.children?T({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?T({routes:n._loadedRoutes,injector:n._loadedInjector}):FN(t,n,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(t,n).pipe(he(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):BN(n))):T({routes:[],injector:t})}};function QN(e){e.sort((t,n)=>t.value.outlet===P?-1:n.value.outlet===P?1:t.value.outlet.localeCompare(n.value.outlet))}function KN(e){let t=e.value.routeConfig;return t&&t.path===""}function QD(e){let t=[],n=new Set;for(let r of e){if(!KN(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=QD(r.children);t.push(new Fe(r.value,o))}return t.filter(r=>!n.has(r))}function wD(e){return e.data||{}}function CD(e){return e.resolve||{}}function JN(e,t,n,r,o,i){return Y(s=>ZN(e,t,n,r,s.extractedUrl,o,i).pipe(x(({state:a,tree:c})=>F(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function XN(e,t){return Y(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return T(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of KD(c))s.add(u);let a=0;return W(s).pipe(mt(c=>i.has(c)?eR(c,r,e,t):(c.data=Ac(c,c.parent,e).resolve,T(void 0))),he(()=>a++),_r(1),Y(c=>a===s.size?T(n):ve))})}function KD(e){let t=e.children.map(n=>KD(n)).flat();return[e,...t]}function eR(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!$D(o)&&(i[Pi]=o.title),Co(()=>(e.data=Ac(e,e.parent,n).resolve,tR(i,e,t,r).pipe(x(s=>(e._resolvedData=s,e.data=y(y({},e.data),s),null)))))}function tR(e,t,n,r){let o=Wf(e);if(o.length===0)return T({});let i={};return W(o).pipe(Y(s=>nR(e[s],t,n,r).pipe(vt(),he(a=>{if(a instanceof lo)throw xc(new Cn,a);i[s]=a}))),_r(1),x(()=>i),gt(s=>WD(s)?ve:Cr(s)))}function nR(e,t,n,r){let o=ho(t)??r,i=po(e,o),s=i.resolve?i.resolve(t,n):pe(o,()=>i(t,n));return Qt(s)}function Gf(e){return fe(t=>{let n=e(t);return n?W(n).pipe(x(()=>t)):T(t)})}var dh=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===P);return r}getResolvedTitleForRoute(n){return n.data[Pi]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(JD),providedIn:"root"})}return e})(),JD=(()=>{class e extends dh{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(C(mD))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ur=new I("",{providedIn:"root",factory:()=>({})}),lr=new I(""),Fc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(rf);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return T(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Qt(pe(n,()=>r.loadComponent())).pipe(x(eE),fe(tE),he(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Pn(()=>{this.componentLoaders.delete(r)})),i=new Er(o,()=>new J).pipe(Dr());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return T({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=XD(r,this.compiler,n,this.onLoadEndListener).pipe(Pn(()=>{this.childrenLoaders.delete(r)})),s=new Er(i,()=>new J).pipe(Dr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function XD(e,t,n,r){return Qt(pe(n,()=>e.loadChildren())).pipe(x(eE),fe(tE),Y(o=>o instanceof La||Array.isArray(o)?T(o):W(t.compileModuleAsync(o))),x(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(lr,[],{optional:!0,self:!0}).flat()),{routes:s.map(lh),injector:i}}))}function rR(e){return e&&typeof e=="object"&&"default"in e}function eE(e){return rR(e)?e.default:e}function tE(e){return T(e)}var Lc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(oR),providedIn:"root"})}return e})(),oR=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fh=new I(""),hh=new I("");function nE(e,t,n){let r=e.get(hh),o=e.get(Z);if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),iR(e)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&pe(e,()=>c({transition:a,from:t,to:n})),s}function iR(e){return new Promise(t=>{Hd({read:()=>setTimeout(t)},{injector:e})})}var ph=new I(""),jc=(()=>{class e{currentNavigation=Wn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new J;transitionAbortWithErrorSubject=new J;configLoader=p(Fc);environmentInjector=p(te);destroyRef=p(Ge);urlSerializer=p(ar);rootContexts=p(cr);location=p(En);inputBindingEnabled=p(ki,{optional:!0})!==null;titleStrategy=p(dh);options=p(ur,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Lc);createViewTransition=p(fh,{optional:!0});navigationErrorHandler=p(ph,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>T(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Cc(o)),r=o=>this.events.next(new bc(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;at(()=>{this.transitions?.next(F(y({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new ge(null),this.transitions.pipe(ce(r=>r!==null),fe(r=>{let o=!1;return T(r).pipe(fe(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Se.SupersededByNewNavigation),ve;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?F(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new Ot(i.id,this.urlSerializer.serialize(i.rawUrl),"",so.IgnoredSameUrlNavigation)),i.resolve(!1),ve;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return T(i).pipe(fe(c=>(this.events.next(new bn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?ve:Promise.resolve(c))),JN(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),he(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=c.urlAfterRedirects,l));let u=new Si(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:u,source:l,restoredState:d,extras:h}=i,f=new bn(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let g=VD(this.rootComponentType).snapshot;return this.currentTransition=r=F(y({},i),{targetSnapshot:g,urlAfterRedirects:u,extras:F(y({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(E=>(E.finalUrl=u,E)),T(r)}else return this.events.next(new Ot(i.id,this.urlSerializer.serialize(i.extractedUrl),"",so.IgnoredByUrlHandlingStrategy)),i.resolve(!1),ve}),he(i=>{let s=new Dc(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),x(i=>(this.currentTransition=r=F(y({},i),{guards:yN(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),MN(this.environmentInjector,i=>this.events.next(i)),he(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw xc(this.urlSerializer,i.guardsResult);let s=new Ec(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),ce(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",Se.GuardRejected),!1)),Gf(i=>{if(i.guards.canActivateChecks.length!==0)return T(i).pipe(he(s=>{let a=new Ic(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),fe(s=>{let a=!1;return T(s).pipe(XN(this.paramsInheritanceStrategy,this.environmentInjector),he({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Se.NoDataFromResolver)}}))}),he(s=>{let a=new wc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Gf(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=ho(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(he(l=>{a.component=l}),x(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return wo(s(i.targetSnapshot.root)).pipe(tn(null),yt(1))}),Gf(()=>this.afterPreactivation()),fe(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?W(a).pipe(x(()=>r)):T(r)}),x(i=>{let s=fN(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=F(y({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),he(()=>{this.events.next(new Mi)}),mN(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),yt(1),Is(new k(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ce(()=>!o&&!r.targetRouterState),he(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Se.Aborted)}))),he({next:i=>{o=!0,this.lastSuccessfulNavigation=at(this.currentNavigation),this.events.next(new dt(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),Is(this.transitionAbortWithErrorSubject.pipe(he(i=>{throw i}))),Pn(()=>{o||this.cancelNavigationTransition(r,"",Se.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),gt(i=>{if(this.destroyed)return r.resolve(!1),ve;if(o=!0,qD(i))this.events.next(new At(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),gN(i)?this.events.next(new uo(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new ao(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=pe(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof lo){let{message:c,cancellationCode:u}=xc(this.urlSerializer,a);this.events.next(new At(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new uo(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return ve}))}))}cancelNavigationTransition(n,r,o){let i=new At(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=at(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sR(e){return e!==ro}var rE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(aR),providedIn:"root"})}return e})(),Pc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},aR=(()=>{class e extends Pc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=wa(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oE=(()=>{class e{urlSerializer=p(ar);options=p(ur,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(En);urlHandlingStrategy=p(Lc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new xt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof xt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=VD(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(cR),providedIn:"root"})}return e})(),cR=(()=>{class e extends oE{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof bn?this.updateStateMemento():n instanceof Ot?this.commitTransition(r):n instanceof Si?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Mi?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof At&&n.code!==Se.SupersededByNewNavigation&&n.code!==Se.Redirect?this.restoreHistory(r):n instanceof ao?this.restoreHistory(r,!0):n instanceof dt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=y(y({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=y(y({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=wa(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bc(e,t){e.events.pipe(ce(n=>n instanceof dt||n instanceof At||n instanceof ao||n instanceof Ot),x(n=>n instanceof dt||n instanceof Ot?0:(n instanceof At?n.code===Se.Redirect||n.code===Se.SupersededByNewNavigation:!1)?2:1),ce(n=>n!==2),yt(1)).subscribe(()=>{t()})}var uR={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},lR={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Kt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Va);stateManager=p(oE);options=p(ur,{optional:!0})||{};pendingTasks=p(Tt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(jc);urlSerializer=p(ar);location=p(En);urlHandlingStrategy=p(Lc);injector=p(te);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(rE);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(lr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(ki,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new K;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=at(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof At&&r.code!==Se.Redirect&&r.code!==Se.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof dt)this.navigated=!0;else if(r instanceof uo){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||sR(o.source)},s);this.scheduleNavigation(a,ro,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}cN(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),ro,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=y({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Te)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return at(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(lh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=y(y({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=FD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return LD(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=io(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ro,null,r)}navigate(n,r={skipLocationChange:!1}){return dR(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},uR):r===!1?o=y({},lR):o=r,io(n))return yD(this.currentUrlTree,n,o);let i=this.parseUrl(n);return yD(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(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dR(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var Li=class{};var iE=(()=>{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(ce(n=>n instanceof dt),mt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=Wr(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return W(o).pipe(en())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=T(null);let i=o.pipe(Y(s=>s===null?T(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(n,r);return W([i,s]).pipe(en())}else return i})}static \u0275fac=function(r){return new(r||e)(C(Kt),C(te),C(Li),C(Fc))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sE=new I(""),fR=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=ro;restoredId=0;store={};constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof bn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof dt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Ot&&n.code===so.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof co&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>dr(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new co(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Rd()};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function hR(e,...t){return Je([{provide:lr,multi:!0,useValue:e},[],{provide:Yt,useFactory:aE,deps:[Kt]},{provide:ii,multi:!0,useFactory:cE},t.map(n=>n.\u0275providers)])}function aE(e){return e.routerState.root}function ji(e,t){return{\u0275kind:e,\u0275providers:t}}function cE(){let e=p(me);return t=>{let n=e.get(vn);if(t!==n.components[0])return;let r=e.get(Kt),o=e.get(uE);e.get(mh)===1&&r.initialNavigation(),e.get(fE,null,{optional:!0})?.setUpPreloading(),e.get(sE,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var uE=new I("",{factory:()=>new J}),mh=new I("",{providedIn:"root",factory:()=>1});function lE(){let e=[{provide:Sa,useValue:!0},{provide:mh,useValue:0},$a(()=>{let t=p(me);return t.get(vf,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(Kt),i=t.get(uE);Bc(o,()=>{r(!0)}),t.get(jc).afterPreactivation=()=>(r(!0),i.closed?T(void 0):i),o.initialNavigation()}))})];return ji(2,e)}function dE(){let e=[$a(()=>{p(Kt).setUpLocationChangeListener()}),{provide:mh,useValue:2}];return ji(3,e)}var fE=new I("");function hE(e){return ji(0,[{provide:fE,useExisting:iE},{provide:Li,useExisting:e}])}function pE(){return ji(8,[ch,{provide:ki,useExisting:ch}])}function gE(e){st("NgRouterViewTransitions");let t=[{provide:fh,useValue:nE},{provide:hh,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return ji(9,t)}var mE=[En,{provide:ar,useClass:Cn},Kt,cr,{provide:Yt,useFactory:aE,deps:[Kt]},Fc,[]],pR=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[mE,[],{provide:lr,multi:!0,useValue:n},[],r?.errorHandler?{provide:ph,useValue:r.errorHandler}:[],{provide:ur,useValue:r||{}},r?.useHash?mR():yR(),gR(),r?.preloadingStrategy?hE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?vR(r):[],r?.bindToComponentInputs?pE().\u0275providers:[],r?.enableViewTransitions?gE().\u0275providers:[],DR()]}}static forChild(n){return{ngModule:e,providers:[{provide:lr,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mn({type:e});static \u0275inj=Lt({})}return e})();function gR(){return{provide:sE,useFactory:()=>{let e=p(Wv),t=p(Q),n=p(ur),r=p(jc),o=p(ar);return n.scrollOffset&&e.setOffset(n.scrollOffset),new fR(o,r,e,t,n)}}}function mR(){return{provide:qt,useClass:Sf}}function yR(){return{provide:qt,useClass:Za}}function vR(e){return[e.initialNavigation==="disabled"?dE().\u0275providers:[],e.initialNavigation==="enabledBlocking"?lE().\u0275providers:[]]}var gh=new I("");function DR(){return[{provide:gh,useFactory:cE},{provide:ii,multi:!0,useExisting:gh}]}export{y as a,F as b,IE as c,dr as d,K as e,k as f,J as g,ge as h,ve as i,W as j,T as k,Cr as l,UE as m,$E as n,x as o,wo as p,Tr as q,Co as r,KE as s,iu as t,oI as u,ce as v,iI as w,gt as x,sI as y,yt as z,aI as A,np as B,Pn as C,vt as D,lI as E,uu as F,rp as G,dI as H,Es as I,fe as J,Is as K,fI as L,he as M,m as N,Ss as O,w as P,Lt as Q,I as R,C as S,p as T,Je as U,Ep as V,te as W,Pp as X,kp as Y,Zp as Z,Yp as _,me as $,Z as aa,Ge as ba,je as ca,jI as da,il as ea,Wn as fa,Hr as ga,wa as ha,Ut as ia,aa as ja,ba as ka,Gr as la,mw as ma,_a as na,it as oa,Vw as pa,Uw as qa,qw as ra,hC as sa,pn as ta,Jn as ua,ri as va,ie as wa,Mt as xa,st as ya,Xn as za,jd as Aa,mn as Ba,zt as Ca,oi as Da,vy as Ea,nT as Fa,Iy as Ga,_e as Ha,Q as Ia,Hd as Ja,tr as Ka,Gd as La,vn as Ma,Wd as Na,yT as Oa,DT as Pa,ET as Qa,IT as Ra,wT as Sa,CT as Ta,bT as Ua,Sy as Va,Yd as Wa,Qd as Xa,Ha as Ya,Kd as Za,Jd as _a,My as $a,Ry as ab,NT as bb,Ay as cb,tf as db,Oy as eb,PT as fb,FT as gb,LT as hb,ky as ib,BT as jb,Fy as kb,Ly as lb,VT as mb,UT as nb,$T as ob,HT as pb,Vy as qb,Uy as rb,e_ as sb,d_ as tb,Zy as ub,nf as vb,Yy as wb,Ky as xb,p_ as yb,Jy as zb,g_ as Ab,E_ as Bb,I_ as Cb,C_ as Db,T_ as Eb,__ as Fb,S_ as Gb,N_ as Hb,at as Ib,x_ as Jb,O_ as Kb,uf as Lb,v$ as Mb,D$ as Nb,Yr as Ob,vv as Pb,fS as Qb,E$ as Rb,I$ as Sb,Gt as Tb,En as Ub,LS as Vb,Hv as Wb,jS as Xb,BS as Yb,$S as Zb,zS as _b,GS as $b,qv as ac,xH as bc,Bf as cc,aM as dc,In as ec,Zt as fc,uc as gc,dD as hc,PM as ic,kM as jc,Yt as kc,ah as lc,Kt as mc,hR as nc,pR as oc};
|