marketplacepos 3.2.0 → 3.4.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/Marketplace/3rdpartylicenses.txt +202 -187
- package/Marketplace/chunk-2KQ4WEPD.js +1 -0
- package/Marketplace/chunk-2OB3TW2H.js +4 -0
- package/Marketplace/chunk-3ICHEZSE.js +1 -0
- package/Marketplace/chunk-3TM7EKQZ.js +1 -0
- package/Marketplace/chunk-45IJGKR3.js +1 -0
- package/Marketplace/chunk-4O5EV6W4.js +1 -0
- package/Marketplace/chunk-5DS4AFTV.js +1 -0
- package/Marketplace/chunk-5DVM7TJ7.js +5 -0
- package/Marketplace/chunk-5JZJC54P.js +2 -0
- package/Marketplace/chunk-67YIEWYV.js +1 -0
- package/Marketplace/chunk-7DXQ5BDE.js +1 -0
- package/Marketplace/chunk-7RCRNZNI.js +1 -0
- package/Marketplace/chunk-7Y73MGEU.js +1 -0
- package/Marketplace/chunk-AIZ2SLGZ.js +5 -0
- package/Marketplace/chunk-B4RPQGTA.js +1 -0
- package/Marketplace/chunk-BELWZRNY.js +1 -0
- package/Marketplace/chunk-BYDOIRDD.js +1 -0
- package/Marketplace/chunk-CS64SQAA.js +1 -0
- package/Marketplace/chunk-CWG6UUW5.js +1 -0
- package/Marketplace/chunk-DBEZLCZM.js +1 -0
- package/Marketplace/chunk-ECB4VT3U.js +1 -0
- package/Marketplace/chunk-FWCMOK42.js +8 -0
- package/Marketplace/chunk-G5D7W2T3.js +2 -0
- package/Marketplace/chunk-GD6CRVOV.js +1 -0
- package/Marketplace/chunk-GFW452UY.js +1 -0
- package/Marketplace/chunk-GIFWICGN.js +2 -0
- package/Marketplace/chunk-GMALFTAY.js +1 -0
- package/Marketplace/chunk-H7KLY4IB.js +1 -0
- package/Marketplace/chunk-HWOBJ4Z3.js +1 -0
- package/Marketplace/chunk-I4V2RPID.js +1 -0
- package/Marketplace/chunk-IJIIMLQ7.js +1 -0
- package/Marketplace/chunk-ISBEY2N5.js +1 -0
- package/Marketplace/chunk-KEKROO5B.js +1 -0
- package/Marketplace/chunk-KX7WACSK.js +1 -0
- package/Marketplace/chunk-LJ6J4EIT.js +1 -0
- package/Marketplace/chunk-LKSBRXCX.js +1 -0
- package/Marketplace/chunk-MA4ZKUP6.js +4 -0
- package/Marketplace/chunk-MORUNYG3.js +6 -0
- package/Marketplace/chunk-MRWTB7OG.js +8 -0
- package/Marketplace/chunk-N76YHCQ6.js +1 -0
- package/Marketplace/chunk-NZBQKND7.js +1 -0
- package/Marketplace/chunk-O3V3GTIM.js +1 -0
- package/Marketplace/chunk-PJQTGT4K.js +1 -0
- package/Marketplace/chunk-PQGHN52M.js +1 -0
- package/Marketplace/chunk-Q7FH7Z7R.js +1 -0
- package/Marketplace/chunk-QK2PM3OO.js +2 -0
- package/Marketplace/chunk-QKVTZKIC.js +3 -0
- package/Marketplace/chunk-RFTG6MKX.js +1 -0
- package/Marketplace/chunk-S65ISV4X.js +5 -0
- package/Marketplace/chunk-SKA4KCAB.js +1 -0
- package/Marketplace/chunk-SWQXA73A.js +1 -0
- package/Marketplace/chunk-T6XRWLCZ.js +1 -0
- package/Marketplace/chunk-TBY7FO23.js +3 -0
- package/Marketplace/chunk-TJRQ2WWD.js +1 -0
- package/Marketplace/chunk-TMUAQXEK.js +1 -0
- package/Marketplace/chunk-TNVZKPJP.js +1 -0
- package/Marketplace/chunk-TQ6UUVH3.js +1 -0
- package/Marketplace/chunk-TT7NBZMD.js +1 -0
- package/Marketplace/chunk-UNZLFKB2.js +1 -0
- package/Marketplace/chunk-VIJ5HUKS.js +1 -0
- package/Marketplace/chunk-VRSV5O5R.js +1 -0
- package/Marketplace/chunk-VTFOZMLI.js +1 -0
- package/Marketplace/chunk-WBI4ZM2X.js +1 -0
- package/Marketplace/chunk-WYMCYQCR.js +1 -0
- package/Marketplace/chunk-XWIBRKIY.js +5 -0
- package/Marketplace/chunk-YQEEQRFM.js +2 -0
- package/Marketplace/chunk-YQXKX6O7.js +7 -0
- package/Marketplace/chunk-YWVMHX45.js +1 -0
- package/Marketplace/chunk-Z2ABDS6L.js +1 -0
- package/Marketplace/index.html +2 -2
- package/Marketplace/main-B2AQI7UJ.js +1 -0
- package/Marketplace/polyfills-KQQO3SZT.js +2 -0
- package/Marketplace/scripts-M46NWPTC.js +5 -0
- package/Marketplace/styles-WZSIIWL7.css +1 -0
- package/package.json +1 -1
- package/Marketplace/103.bc1f4c51ca99f04f.js +0 -1
- package/Marketplace/168.50d66b17241a3765.js +0 -1
- package/Marketplace/231.0c7ab993977632a2.js +0 -1
- package/Marketplace/257.d1592e885695ba4b.js +0 -1
- package/Marketplace/278.e89610409641d910.js +0 -1
- package/Marketplace/296.93310f70e5f9d3a9.js +0 -1
- package/Marketplace/311.afcc0c4a03ea0076.js +0 -1
- package/Marketplace/389.02d8fd64069d0119.js +0 -1
- package/Marketplace/394.11ae606578598904.js +0 -1
- package/Marketplace/445.cbf341bc0afe3ffc.js +0 -1
- package/Marketplace/452.58ce3ef12b9b5a47.js +0 -1
- package/Marketplace/476.d08ef7b92327904d.js +0 -1
- package/Marketplace/478.a63c640a3e971a16.js +0 -1
- package/Marketplace/500.c2e6963e4771761e.js +0 -1
- package/Marketplace/527.984c24771dbd0f8e.js +0 -1
- package/Marketplace/556.5d624cfb73f161b2.js +0 -1
- package/Marketplace/56.0432dfcbb3e04e39.js +0 -1
- package/Marketplace/599.8de0c2b4c7af0f9d.js +0 -1
- package/Marketplace/609.0e0a820d30efd4d4.js +0 -1
- package/Marketplace/617.4db1b737553fe58b.js +0 -1
- package/Marketplace/62.4f9a8ca2692bdd97.js +0 -1
- package/Marketplace/687.1fb4b2602d2b185a.js +0 -1
- package/Marketplace/699.d68a917277dbe11a.js +0 -1
- package/Marketplace/700.755c54d915bd281e.js +0 -1
- package/Marketplace/726.40535ee28a35e978.js +0 -1
- package/Marketplace/806.4037f673990a5242.js +0 -1
- package/Marketplace/810.629a800ca97725b7.js +0 -1
- package/Marketplace/877.bbdea3b04cc75780.js +0 -1
- package/Marketplace/900.b7de175b628a8dbe.js +0 -1
- package/Marketplace/967.2b39f548c7f4eb30.js +0 -1
- package/Marketplace/common.2cffc11d42ed963f.js +0 -1
- package/Marketplace/main.892c697dc9030f18.js +0 -1
- package/Marketplace/polyfills.503b3f4bf922d237.js +0 -1
- package/Marketplace/runtime.a3441aa39d1419eb.js +0 -1
- package/Marketplace/scripts.0d34bffadb54993a.js +0 -1
- package/Marketplace/styles.095460a0131dd2fc.css +0 -19
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{a as D,b as ee,j as Dd,k as Ro,l as wd,m as Cd}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.4.0/Marketplace/chunk-N76YHCQ6.js";function b(t){return typeof t=="function"}function ca(t){return b(t?.lift)}function S(t){return e=>{if(ca(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Lt(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Oo=Lt(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription:
|
|
2
|
+
${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=r});function en(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var Q=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(b(n))try{n()}catch(i){e=i instanceof Oo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ed(i)}catch(s){e=e??[],s instanceof Oo?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Oo(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Ed(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&en(r,e)}remove(e){let{_finalizers:r}=this;r&&en(r,e),e instanceof t&&e._removeParent(this)}};Q.EMPTY=(()=>{let t=new Q;return t.closed=!0,t})();var la=Q.EMPTY;function Po(t){return t instanceof Q||t&&"closed"in t&&b(t.remove)&&b(t.add)&&b(t.unsubscribe)}function Ed(t){b(t)?t():t.unsubscribe()}var Be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Sn={setTimeout(t,e,...r){let{delegate:n}=Sn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Sn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Fo(t){Sn.setTimeout(()=>{let{onUnhandledError:e}=Be;if(e)e(t);else throw t})}function mt(){}var Id=(()=>da("C",void 0,void 0))();function bd(t){return da("E",void 0,t)}function Md(t){return da("N",t,void 0)}function da(t,e,r){return{kind:t,value:e,error:r}}var tn=null;function Tn(t){if(Be.useDeprecatedSynchronousErrorHandling){let e=!tn;if(e&&(tn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=tn;if(tn=null,r)throw n}}else t()}function Sd(t){Be.useDeprecatedSynchronousErrorHandling&&tn&&(tn.errorThrown=!0,tn.error=t)}var nn=class extends Q{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Po(e)&&e.add(this)):this.destination=Dv}static create(e,r,n){return new vt(e,r,n)}next(e){this.isStopped?ha(Md(e),this):this._next(e)}error(e){this.isStopped?ha(bd(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ha(Id,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},vv=Function.prototype.bind;function fa(t,e){return vv.call(t,e)}var pa=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){ko(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){ko(n)}else ko(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){ko(r)}}},vt=class extends nn{constructor(e,r,n){super();let o;if(b(e)||!e)o={next:e??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Be.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&fa(e.next,i),error:e.error&&fa(e.error,i),complete:e.complete&&fa(e.complete,i)}):o=e}this.destination=new pa(o)}};function ko(t){Be.useDeprecatedSynchronousErrorHandling?Sd(t):Fo(t)}function yv(t){throw t}function ha(t,e){let{onStoppedNotification:r}=Be;r&&Sn.setTimeout(()=>r(t,e))}var Dv={closed:!0,next:mt,error:yv,complete:mt};function I(t,e,r,n,o){return new ga(t,e,r,n,o)}var ga=class extends nn{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function O(t,e){return S((r,n)=>{let o=0;r.subscribe(I(n,i=>{n.next(t.call(e,i,o++))}))})}var xn=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function le(t){return t}function ma(...t){return va(t)}function va(t){return t.length===0?le:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var k=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=Cv(r)?r:new vt(r,n,o);return Tn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Td(n),new n((o,i)=>{let s=new vt({next:a=>{try{r(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[xn](){return this}pipe(...r){return va(r)(this)}toPromise(r){return r=Td(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function Td(t){var e;return(e=t??Be.Promise)!==null&&e!==void 0?e:Promise}function wv(t){return t&&b(t.next)&&b(t.error)&&b(t.complete)}function Cv(t){return t&&t instanceof nn||wv(t)&&Po(t)}var xd=Lt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=(()=>{class t extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Lo(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new xd}next(r){Tn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Tn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Tn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?la:(this.currentObservers=null,i.push(r),new Q(()=>{this.currentObservers=null,en(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new k;return r.source=this,r}}return t.create=(e,r)=>new Lo(e,r),t})(),Lo=class extends ae{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:la}};var Er={now(){return(Er.delegate||Date).now()},delegate:void 0};var Ir=class extends ae{constructor(e=1/0,r=1/0,n=Er){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;r||(n.push(e),!o&&n.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!e.closed;s+=n?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),r}_trimBuffer(){let{_bufferSize:e,_timestampProvider:r,_buffer:n,_infiniteTimeWindow:o}=this,i=(o?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!o){let s=r.now(),a=0;for(let u=1;u<n.length&&n[u]<=s;u+=2)a=u;a&&n.splice(0,a+1)}}};var _n=t=>t&&typeof t.length=="number"&&typeof t!="function";function jo(t){return b(t?.then)}function Vo(t){return b(t[xn])}function $o(t){return Symbol.asyncIterator&&b(t?.[Symbol.asyncIterator])}function Uo(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Ev(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Bo=Ev();function Ho(t){return b(t?.[Bo])}function zo(t){return wd(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield Ro(r.read());if(o)return yield Ro(void 0);yield yield Ro(n)}}finally{r.releaseLock()}})}function Wo(t){return b(t?.getReader)}function P(t){if(t instanceof k)return t;if(t!=null){if(Vo(t))return Iv(t);if(_n(t))return bv(t);if(jo(t))return Mv(t);if($o(t))return _d(t);if(Ho(t))return Sv(t);if(Wo(t))return Tv(t)}throw Uo(t)}function Iv(t){return new k(e=>{let r=t[xn]();if(b(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function bv(t){return new k(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function Mv(t){return new k(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Fo)})}function Sv(t){return new k(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function _d(t){return new k(e=>{xv(t,e).catch(r=>e.error(r))})}function Tv(t){return _d(zo(t))}function xv(t,e){var r,n,o,i;return Dd(this,void 0,void 0,function*(){try{for(r=Cd(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}e.complete()})}function Da(t={}){let{connector:e=()=>new ae,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},p=()=>{let M=s;h(),M?.unsubscribe()};return S((M,C)=>{c++,!d&&!l&&f();let m=u=u??e();C.add(()=>{c--,c===0&&!d&&!l&&(a=ya(p,o))}),m.subscribe(C),!s&&c>0&&(s=new vt({next:j=>m.next(j),error:j=>{d=!0,f(),a=ya(h,r,j),m.error(j)},complete:()=>{l=!0,f(),a=ya(h,n),m.complete()}}),P(M).subscribe(s))})(i)}}function ya(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new vt({next:()=>{n.unsubscribe(),t()}});return P(e(...r)).subscribe(n)}function Ad(t,e,r){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:r}=t:n=t??1/0,Da({connector:()=>new Ir(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function An(){return S((t,e)=>{let r=null;t._refCount++;let n=I(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Nn=class extends k{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,ca(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Q;let r=this.getSubject();e.add(this.source.subscribe(I(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Q.EMPTY)}return e}refCount(){return An()(this)}};var Rn={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=Rn;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let o=e(i=>{r=void 0,t(i)});return new Q(()=>r?.(o))},requestAnimationFrame(...t){let{delegate:e}=Rn;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=Rn;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var de=class extends ae{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var Go=class extends Q{constructor(e,r){super()}schedule(e,r=0){return this}};var br={setInterval(t,e,...r){let{delegate:n}=br;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=br;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Qe=class extends Go{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,r),this}requestAsyncId(e,r,n=0){return br.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&br.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,o;try{this.work(e)}catch(i){n=!0,o=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,en(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var _v=1,wa,Ca={};function Nd(t){return t in Ca?(delete Ca[t],!0):!1}var Rd={setImmediate(t){let e=_v++;return Ca[e]=!0,wa||(wa=Promise.resolve()),wa.then(()=>Nd(e)&&t()),e},clearImmediate(t){Nd(t)}};var{setImmediate:Av,clearImmediate:Nv}=Rd,Mr={setImmediate(...t){let{delegate:e}=Mr;return(e?.setImmediate||Av)(...t)},clearImmediate(t){let{delegate:e}=Mr;return(e?.clearImmediate||Nv)(t)},delegate:void 0};var qo=class extends Qe{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=Mr.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:i}=e;r!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==r&&(Mr.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var On=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};On.now=Er.now;var Ke=class extends On{constructor(e,r=On.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var Zo=class extends Ke{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw o}}};var Rv=new Zo(qo);var Je=new Ke(Qe),Ea=Je;var Yo=class extends Qe{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}schedule(e,r=0){return r>0?super.schedule(e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)}execute(e,r){return r>0||this.closed?super.execute(e,r):this._execute(e,r)}requestAsyncId(e,r,n=0){return n!=null&&n>0||n==null&&this.delay>0?super.requestAsyncId(e,r,n):(e.flush(this),0)}};var Qo=class extends Ke{};var Ov=new Qo(Yo);var Ko=class extends Qe{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=Rn.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,r,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:i}=e;r!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==r&&(Rn.cancelAnimationFrame(r),e._scheduled=void 0)}};var Jo=class extends Ke{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw o}}};var Pv=new Jo(Ko);var Ie=new k(t=>t.complete());function Xo(t){return t&&b(t.schedule)}function Ia(t){return t[t.length-1]}function Pn(t){return b(Ia(t))?t.pop():void 0}function Xe(t){return Xo(Ia(t))?t.pop():void 0}function Od(t,e){return typeof Ia(t)=="number"?t.pop():e}function pe(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Sr(t,e=0){return S((r,n)=>{r.subscribe(I(n,o=>pe(n,t,()=>n.next(o),e),()=>pe(n,t,()=>n.complete(),e),o=>pe(n,t,()=>n.error(o),e)))})}function Tr(t,e=0){return S((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Pd(t,e){return P(t).pipe(Tr(e),Sr(e))}function Fd(t,e){return P(t).pipe(Tr(e),Sr(e))}function kd(t,e){return new k(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Ld(t,e){return new k(r=>{let n;return pe(r,e,()=>{n=t[Bo](),pe(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>b(n?.return)&&n.return()})}function ei(t,e){if(!t)throw new Error("Iterable cannot be null");return new k(r=>{pe(r,e,()=>{let n=t[Symbol.asyncIterator]();pe(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function jd(t,e){return ei(zo(t),e)}function Vd(t,e){if(t!=null){if(Vo(t))return Pd(t,e);if(_n(t))return kd(t,e);if(jo(t))return Fd(t,e);if($o(t))return ei(t,e);if(Ho(t))return Ld(t,e);if(Wo(t))return jd(t,e)}throw Uo(t)}function G(t,e){return e?Vd(t,e):P(t)}function T(...t){let e=Xe(t);return G(t,e)}function Fn(t,e){let r=b(t)?t:()=>t,n=o=>o.error(r());return new k(e?o=>e.schedule(n,0,o):n)}function ba(t){return!!t&&(t instanceof k||b(t.lift)&&b(t.subscribe))}var yt=Lt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function ti(t){return t instanceof Date&&!isNaN(t)}var Fv=Lt(t=>function(r=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function kv(t,e){let{first:r,each:n,with:o=Lv,scheduler:i=e??Je,meta:s=null}=ti(t)?{first:t}:typeof t=="number"?{each:t}:t;if(r==null&&n==null)throw new TypeError("No timeout provided.");return S((a,u)=>{let c,l,d=null,f=0,h=p=>{l=pe(u,i,()=>{try{c.unsubscribe(),P(o({meta:s,lastValue:d,seen:f})).subscribe(u)}catch(M){u.error(M)}},p)};c=a.subscribe(I(u,p=>{l?.unsubscribe(),f++,u.next(d=p),n>0&&h(n)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!f&&h(r!=null?typeof r=="number"?r:+r-i.now():n)})}function Lv(t){throw new Fv(t)}var{isArray:jv}=Array;function Vv(t,e){return jv(e)?t(...e):t(e)}function kn(t){return O(e=>Vv(t,e))}var{isArray:$v}=Array,{getPrototypeOf:Uv,prototype:Bv,keys:Hv}=Object;function ni(t){if(t.length===1){let e=t[0];if($v(e))return{args:e,keys:null};if(zv(e)){let r=Hv(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function zv(t){return t&&typeof t=="object"&&Uv(t)===Bv}function ri(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function xr(...t){let e=Xe(t),r=Pn(t),{args:n,keys:o}=ni(t);if(n.length===0)return G([],e);let i=new k(Wv(n,e,o?s=>ri(o,s):le));return r?i.pipe(kn(r)):i}function Wv(t,e,r=le){return n=>{$d(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)$d(e,()=>{let c=G(t[u],e),l=!1;c.subscribe(I(n,d=>{i[u]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function $d(t,e,r){t?pe(r,t,e):e()}function Ud(t,e,r,n,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=M=>c<n?p(M):u.push(M),p=M=>{i&&e.next(M),c++;let C=!1;P(r(M,l++)).subscribe(I(e,m=>{o?.(m),i?h(m):e.next(m)},()=>{C=!0},void 0,()=>{if(C)try{for(c--;u.length&&c<n;){let m=u.shift();s?pe(e,s,()=>p(m)):p(m)}f()}catch(m){e.error(m)}}))};return t.subscribe(I(e,h,()=>{d=!0,f()})),()=>{a?.()}}function K(t,e,r=1/0){return b(e)?K((n,o)=>O((i,s)=>e(n,i,o,s))(P(t(n,o))),r):(typeof e=="number"&&(r=e),S((n,o)=>Ud(n,o,t,r)))}function et(t=1/0){return K(le,t)}function Bd(){return et(1)}function Ln(...t){return Bd()(G(t,Xe(t)))}function oi(t){return new k(e=>{P(t()).subscribe(e)})}function Gv(...t){let e=Pn(t),{args:r,keys:n}=ni(t),o=new k(i=>{let{length:s}=r;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;P(r[l]).subscribe(I(i,f=>{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(n?ri(n,a):a),i.complete())}))}});return e?o.pipe(kn(e)):o}var qv=["addListener","removeListener"],Zv=["addEventListener","removeEventListener"],Yv=["on","off"];function Ma(t,e,r,n){if(b(r)&&(n=r,r=void 0),n)return Ma(t,e,r).pipe(kn(n));let[o,i]=Jv(t)?Zv.map(s=>a=>t[s](e,a,r)):Qv(t)?qv.map(Hd(t,e)):Kv(t)?Yv.map(Hd(t,e)):[];if(!o&&_n(t))return K(s=>Ma(s,e,r))(P(t));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...u)=>s.next(1<u.length?u:u[0]);return o(a),()=>i(a)})}function Hd(t,e){return r=>n=>t[r](e,n)}function Qv(t){return b(t.addListener)&&b(t.removeListener)}function Kv(t){return b(t.on)&&b(t.off)}function Jv(t){return b(t.addEventListener)&&b(t.removeEventListener)}function _r(t=0,e,r=Ea){let n=-1;return e!=null&&(Xo(e)?r=e:n=e),new k(o=>{let i=ti(t)?+t-r.now():t;i<0&&(i=0);let s=0;return r.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function Xv(t=0,e=Je){return t<0&&(t=0),_r(t,t,e)}function ey(...t){let e=Xe(t),r=Od(t,1/0),n=t;return n.length?n.length===1?P(n[0]):et(r)(G(n,e)):Ie}function zd(t,e){return(r,n)=>!t.call(e,r,n)}function te(t,e){return S((r,n)=>{let o=0;r.subscribe(I(n,i=>t.call(e,i,o++)&&n.next(i)))})}function ty(t,e,r){return[te(e,r)(P(t)),te(zd(e,r))(P(t))]}function Wd(t){return S((e,r)=>{let n=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,n){n=!1;let c=o;o=null,r.next(c)}s&&r.complete()},u=()=>{i=null,s&&r.complete()};e.subscribe(I(r,c=>{n=!0,o=c,i||P(t(c)).subscribe(i=I(r,a,u))},()=>{s=!0,(!n||!i||i.closed)&&r.complete()}))})}function ny(t,e=Je){return Wd(()=>_r(t,e))}function Dt(t){return S((e,r)=>{let n=null,o=!1,i;n=e.subscribe(I(r,void 0,void 0,s=>{i=P(t(s,Dt(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Gd(t,e,r,n,o){return(i,s)=>{let a=r,u=e,c=0;i.subscribe(I(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),n&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function tt(t,e){return b(e)?K(t,e,1):K(t,1)}function ry(t){return S((e,r)=>{let n=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,n){n=!1;let a=o;o=null,r.next(a)}};e.subscribe(I(r,a=>{i?.unsubscribe(),n=!0,o=a,i=I(r,s,mt),P(t(a)).subscribe(i)},()=>{s(),r.complete()},void 0,()=>{o=i=null}))})}function oy(t,e=Je){return S((r,n)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,n.next(c)}};function u(){let c=s+t,l=e.now();if(l<c){o=this.schedule(void 0,c-l),n.add(o);return}a()}r.subscribe(I(n,c=>{i=c,s=e.now(),o||(o=e.schedule(u,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{i=o=null}))})}function jt(t){return S((e,r)=>{let n=!1;e.subscribe(I(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function wt(t){return t<=0?()=>Ie:S((e,r)=>{let n=0;e.subscribe(I(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function Sa(t){return O(()=>t)}function iy(t,e=le){return t=t??sy,S((r,n)=>{let o,i=!0;r.subscribe(I(n,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,n.next(s))}))})}function sy(t,e){return t===e}function ii(t=ay){return S((e,r)=>{let n=!1;e.subscribe(I(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function ay(){return new yt}function uy(t,e){return S((r,n)=>{let o=0;r.subscribe(I(n,i=>{t.call(e,i,o++,r)||(n.next(!1),n.complete())},()=>{n.next(!0),n.complete()}))})}function Vt(t){return S((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function nt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?te((o,i)=>t(o,i,n)):le,wt(1),r?jt(e):ii(()=>new yt))}function jn(t){return t<=0?()=>Ie:S((e,r)=>{let n=[];e.subscribe(I(r,o=>{n.push(o),t<n.length&&n.shift()},()=>{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function Ta(t,e){let r=arguments.length>=2;return n=>n.pipe(t?te((o,i)=>t(o,i,n)):le,jn(1),r?jt(e):ii(()=>new yt))}function si(t,e){return S(Gd(t,e,arguments.length>=2,!0))}function cy(t){return te((e,r)=>t<=r)}function xa(...t){let e=Xe(t);return S((r,n)=>{(e?Ln(t,r,e):Ln(t,r)).subscribe(n)})}function ue(t,e){return S((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(I(n,u=>{o?.unsubscribe();let c=0,l=i++;P(t(u,l)).subscribe(o=I(n,d=>n.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ly(t,e){return b(e)?ue(()=>t,e):ue(()=>t)}function ai(t){return S((e,r)=>{P(t).subscribe(I(r,()=>r.complete(),mt)),!r.closed&&e.subscribe(r)})}function dy(t,e=!1){return S((r,n)=>{let o=0;r.subscribe(I(n,i=>{let s=t(i,o++);(s||e)&&n.next(i),!s&&n.complete()}))})}function ne(t,e,r){let n=b(t)||e||r?{next:t,error:e,complete:r}:t;return n?S((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(I(i,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),i.next(u)},()=>{var u;a=!1,(u=n.complete)===null||u===void 0||u.call(n),i.complete()},u=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,u),i.error(u)},()=>{var u,c;a&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):le}function fy(...t){let e=Pn(t);return S((r,n)=>{let o=t.length,i=new Array(o),s=t.map(()=>!1),a=!1;for(let u=0;u<o;u++)P(t[u]).subscribe(I(n,c=>{i[u]=c,!a&&!s[u]&&(s[u]=!0,(a=s.every(le))&&(s=null))},mt));r.subscribe(I(n,u=>{if(a){let c=[u,...i];n.next(e?e(...c):c)}}))})}var qd=null;var _a=1;function se(t){let e=qd;return qd=t,e}var Zd={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function hy(t){if(!(Ra(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===_a)){if(!t.producerMustRecompute(t)&&!Aa(t)){t.dirty=!1,t.lastCleanEpoch=_a;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=_a}}function Yd(t){return t&&(t.nextProducerIndex=0),se(t)}function Qd(t,e){if(se(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Ra(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Na(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Aa(t){ui(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(hy(r),n!==r.version))return!0}return!1}function Kd(t){if(ui(t),Ra(t))for(let e=0;e<t.producerNode.length;e++)Na(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Na(t,e){if(py(t),ui(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)Na(t.producerNode[n],t.producerIndexOfThis[n]);let r=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[r],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[r],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];ui(o),o.producerIndexOfThis[n]=e}}function Ra(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function ui(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function py(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function gy(){throw new Error}var my=gy;function Jd(t){my=t}function z(t){for(let e in t)if(t[e]===z)return e;throw Error("Could not find renamed property on target object.")}function ci(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function ge(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(ge).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
|
|
4
|
+
`);return r===-1?e:e.substring(0,r)}function Ya(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var vy=z({__forward_ref__:z});function Bf(t){return t.__forward_ref__=Bf,t.toString=function(){return ge(this())},t}function we(t){return Hf(t)?t():t}function Hf(t){return typeof t=="function"&&t.hasOwnProperty(vy)&&t.__forward_ref__===Bf}function zf(t){return t&&!!t.\u0275providers}var Wf="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(zi(e,r)),this.code=e}};function zi(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var yy=z({\u0275cmp:z}),Dy=z({\u0275dir:z}),wy=z({\u0275pipe:z}),Cy=z({\u0275mod:z}),Ii=z({\u0275fac:z}),Ar=z({__NG_ELEMENT_ID__:z}),Xd=z({__NG_ENV_ID__:z});function sn(t){return typeof t=="string"?t:t==null?"":String(t)}function Ey(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():sn(t)}function Iy(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,`Circular dependency in DI detected for ${t}${r}`)}function ac(t,e){let r=e?` in ${e}`:"";throw new v(-201,!1)}function by(t,e){t==null&&My(e,t,null,"!=")}function My(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Mt(t){return{providers:t.providers||[],imports:t.imports||[]}}function Wi(t){return ef(t,qf)||ef(t,Zf)}function Gf(t){return Wi(t)!==null}function ef(t,e){return t.hasOwnProperty(e)?t[e]:null}function Sy(t){let e=t&&(t[qf]||t[Zf]);return e||null}function tf(t){return t&&(t.hasOwnProperty(nf)||t.hasOwnProperty(Ty))?t[nf]:null}var qf=z({\u0275prov:z}),nf=z({\u0275inj:z}),Zf=z({ngInjectableDef:z}),Ty=z({ngInjectorDef:z}),F=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(F||{}),Qa;function Yf(){return Qa}function be(t){let e=Qa;return Qa=t,e}function Qf(t,e,r){let n=Wi(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&F.Optional)return null;if(e!==void 0)return e;ac(ge(t),"Injector")}var X=globalThis;var E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=w({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var xy={},Rr=xy,Ka="__NG_DI_FLAG__",bi="ngTempTokenPath",_y="ngTokenPath",Ay=/\n/gm,Ny="\u0275",rf="__source",Hn;function Ry(){return Hn}function $t(t){let e=Hn;return Hn=t,e}function Oy(t,e=F.Default){if(Hn===void 0)throw new v(-203,!1);return Hn===null?Qf(t,void 0,e):Hn.get(t,e&F.Optional?null:void 0,e)}function y(t,e=F.Default){return(Yf()||Oy)(we(t),e)}function g(t,e=F.Default){return y(t,Gi(e))}function Gi(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ja(t){let e=[];for(let r=0;r<t.length;r++){let n=we(t[r]);if(Array.isArray(n)){if(n.length===0)throw new v(900,!1);let o,i=F.Default;for(let s=0;s<n.length;s++){let a=n[s],u=Py(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}e.push(y(o,i))}else e.push(y(n))}return e}function Kf(t,e){return t[Ka]=e,t.prototype[Ka]=e,t}function Py(t){return t[Ka]}function Fy(t,e,r,n){let o=t[bi];throw e[rf]&&o.unshift(e[rf]),t.message=ky(`
|
|
5
|
+
`+t.message,o,r,n),t[_y]=o,t[bi]=null,t}function ky(t,e,r,n=null){t=t&&t.charAt(0)===`
|
|
6
|
+
`&&t.charAt(1)==Ny?t.slice(2):t;let o=ge(e);if(Array.isArray(e))o=e.map(ge).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ge(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(Ay,`
|
|
7
|
+
`)}`}function Gr(t){return{toString:t}.toString()}var Jf=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Jf||{}),st=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(st||{}),Wn={},Me=[];function Xf(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function Xa(t,e,r){let n=0;for(;n<r.length;){let o=r[n];if(typeof o=="number"){if(o!==0)break;n++;let i=r[n++],s=r[n++],a=r[n++];t.setAttribute(e,s,a,i)}else{let i=o,s=r[++n];Ly(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),n++}}return n}function eh(t){return t===3||t===4||t===6}function Ly(t){return t.charCodeAt(0)===64}function Or(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?r=o:r===0||(r===-1||r===2?of(t,r,o,null,e[++n]):of(t,r,o,null,null))}}return t}function of(t,e,r,n,o){let i=0,s=t.length;if(e===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===r){if(n===null){o!==null&&(t[i+1]=o);return}else if(n===t[i+1]){t[i+2]=o;return}}i++,n!==null&&i++,o!==null&&i++}s!==-1&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,r),n!==null&&t.splice(i++,0,n),o!==null&&t.splice(i++,0,o)}var th="ng-template";function jy(t,e,r){let n=0,o=!0;for(;n<t.length;){let i=t[n++];if(typeof i=="string"&&o){let s=t[n++];if(r&&i==="class"&&Xf(s.toLowerCase(),e,0)!==-1)return!0}else if(i===1){for(;n<t.length&&typeof(i=t[n++])=="string";)if(i.toLowerCase()===e)return!0;return!1}else typeof i=="number"&&(o=!1)}return!1}function nh(t){return t.type===4&&t.value!==th}function Vy(t,e,r){let n=t.type===4&&!r?th:t.value;return e===n}function $y(t,e,r){let n=4,o=t.attrs||[],i=Hy(o),s=!1;for(let a=0;a<e.length;a++){let u=e[a];if(typeof u=="number"){if(!s&&!He(n)&&!He(u))return!1;if(s&&He(u))continue;s=!1,n=u|n&1;continue}if(!s)if(n&4){if(n=2|n&1,u!==""&&!Vy(t,u,r)||u===""&&e.length===1){if(He(n))return!1;s=!0}}else{let c=n&8?u:e[++a];if(n&8&&t.attrs!==null){if(!jy(t.attrs,c,r)){if(He(n))return!1;s=!0}continue}let l=n&8?"class":u,d=Uy(l,o,nh(t),r);if(d===-1){if(He(n))return!1;s=!0;continue}if(c!==""){let f;d>i?f="":f=o[d+1].toLowerCase();let h=n&8?f:null;if(h&&Xf(h,c,0)!==-1||n&2&&c!==f){if(He(n))return!1;s=!0}}}}return He(n)||s}function He(t){return(t&1)===0}function Uy(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return zy(e,t)}function rh(t,e,r=!1){for(let n=0;n<e.length;n++)if($y(t,e[n],r))return!0;return!1}function By(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function Hy(t){for(let e=0;e<t.length;e++){let r=t[e];if(eh(r))return e}return t.length}function zy(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function Wy(t,e){e:for(let r=0;r<e.length;r++){let n=e[r];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function sf(t,e){return t?":not("+e.trim()+")":e}function Gy(t){let e=t[0],r=1,n=2,o="",i=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let a=t[++r];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!He(s)&&(e+=sf(i,o),o=""),n=s,i=i||!He(n);r++}return o!==""&&(e+=sf(i,o)),e}function qy(t){return t.map(Gy).join(",")}function Zy(t){let e=[],r=[],n=1,o=2;for(;n<t.length;){let i=t[n];if(typeof i=="string")o===2?i!==""&&e.push(i,t[++n]):o===8&&r.push(i);else{if(!He(o))break;o=i}n++}return{attrs:e,classes:r}}function oh(t){return Gr(()=>{let e=ch(t),r=ee(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Jf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||st.Emulated,styles:t.styles||Me,_:null,schemas:t.schemas||null,tView:null,id:""});lh(r);let n=t.dependencies;return r.directiveDefs=uf(n,!1),r.pipeDefs=uf(n,!0),r.id=Ky(r),r})}function Yy(t){return Ht(t)||ih(t)}function Qy(t){return t!==null}function St(t){return Gr(()=>({type:t.type,bootstrap:t.bootstrap||Me,declarations:t.declarations||Me,imports:t.imports||Me,exports:t.exports||Me,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function af(t,e){if(t==null)return Wn;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),r[o]=n,e&&(e[o]=i)}return r}function ke(t){return Gr(()=>{let e=ch(t);return lh(e),e})}function qr(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ht(t){return t[yy]||null}function ih(t){return t[Dy]||null}function sh(t){return t[wy]||null}function ah(t){let e=Ht(t)||ih(t)||sh(t);return e!==null?e.standalone:!1}function uh(t,e){let r=t[Cy]||null;if(!r&&e===!0)throw new Error(`Type ${ge(t)} does not have '\u0275mod' property.`);return r}function ch(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Wn,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Me,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:af(t.inputs,e),outputs:af(t.outputs),debugInfo:null}}function lh(t){t.features?.forEach(e=>e(t))}function uf(t,e){if(!t)return null;let r=e?sh:Yy;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Qy)}function Ky(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var lt=0,A=1,_=2,re=3,We=4,_e=5,Gn=6,Pr=7,me=8,qn=9,Ct=10,Z=11,Fr=12,cf=13,nr=14,Fe=15,Zr=16,Vn=17,it=18,qi=19,dh=20,Ut=21,Oa=22,an=23,he=25,uc=1;var un=7,Mi=8,Zn=9,ve=10,Yn=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Yn||{});function Bt(t){return Array.isArray(t)&&typeof t[uc]=="object"}function Ge(t){return Array.isArray(t)&&t[uc]===!0}function cc(t){return(t.flags&4)!==0}function Zi(t){return t.componentOffset>-1}function Yi(t){return(t.flags&1)===1}function Et(t){return!!t.template}function Jy(t){return(t[_]&512)!==0}function cn(t,e){let r=t.hasOwnProperty(Ii);return r?t[Ii]:null}var eu=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Tt(){return fh}function fh(t){return t.type.prototype.ngOnChanges&&(t.setInput=eD),Xy}Tt.ngInherit=!0;function Xy(){let t=ph(this),e=t?.current;if(e){let r=t.previous;if(r===Wn)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function eD(t,e,r,n){let o=this.declaredInputs[r],i=ph(t)||tD(t,{previous:Wn,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new eu(u&&u.currentValue,e,a===Wn),t[n]=e}var hh="__ngSimpleChanges__";function ph(t){return t[hh]||null}function tD(t,e){return t[hh]=e}var lf=null;var rt=function(t,e,r){lf?.(t,e,r)},gh="svg",nD="math",rD=!1;function oD(){return rD}function at(t){for(;Array.isArray(t);)t=t[lt];return t}function iD(t){for(;Array.isArray(t);){if(typeof t[uc]=="object")return t;t=t[lt]}return null}function mh(t,e){return at(e[t])}function Le(t,e){return at(e[t.index])}function lc(t,e){return t.data[e]}function dc(t,e){return t[e]}function Wt(t,e){let r=e[t];return Bt(r)?r:r[lt]}function sD(t){return(t[_]&4)===4}function fc(t){return(t[_]&128)===128}function aD(t){return Ge(t[re])}function Qn(t,e){return e==null?null:t[e]}function vh(t){t[Vn]=0}function uD(t){t[_]&1024||(t[_]|=1024,fc(t)&&kr(t))}function cD(t,e){for(;t>0;)e=e[nr],t--;return e}function yh(t){return t[_]&9216||t[an]?.dirty}function tu(t){yh(t)?kr(t):t[_]&64&&(oD()?(t[_]|=1024,kr(t)):t[Ct].changeDetectionScheduler?.notify())}function kr(t){t[Ct].changeDetectionScheduler?.notify();let e=t[re];for(;e!==null&&!(Ge(e)&&e[_]&Yn.HasChildViewsToRefresh||Bt(e)&&e[_]&8192);){if(Ge(e))e[_]|=Yn.HasChildViewsToRefresh;else if(e[_]|=8192,!fc(e))break;e=e[re]}}function Dh(t,e){if((t[_]&256)===256)throw new v(911,!1);t[Ut]===null&&(t[Ut]=[]),t[Ut].push(e)}function lD(t,e){if(t[Ut]===null)return;let r=t[Ut].indexOf(e);r!==-1&&t[Ut].splice(r,1)}var N={lFrame:Sh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function dD(){return N.lFrame.elementDepthCount}function fD(){N.lFrame.elementDepthCount++}function hD(){N.lFrame.elementDepthCount--}function wh(){return N.bindingsEnabled}function Ch(){return N.skipHydrationRootTNode!==null}function pD(t){return N.skipHydrationRootTNode===t}function gD(){N.skipHydrationRootTNode=null}function x(){return N.lFrame.lView}function Y(){return N.lFrame.tView}function ik(t){return N.lFrame.contextLView=t,t[me]}function sk(t){return N.lFrame.contextLView=null,t}function ye(){let t=Eh();for(;t!==null&&t.type===64;)t=t.parent;return t}function Eh(){return N.lFrame.currentTNode}function mD(){let t=N.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function mn(t,e){let r=N.lFrame;r.currentTNode=t,r.isParent=e}function hc(){return N.lFrame.isParent}function pc(){N.lFrame.isParent=!1}function vD(){return N.lFrame.contextLView}function Gt(){let t=N.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function yD(){return N.lFrame.bindingIndex}function DD(t){return N.lFrame.bindingIndex=t}function vn(){return N.lFrame.bindingIndex++}function gc(t){let e=N.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function wD(){return N.lFrame.inI18n}function CD(t,e){let r=N.lFrame;r.bindingIndex=r.bindingRootIndex=t,nu(e)}function ED(){return N.lFrame.currentDirectiveIndex}function nu(t){N.lFrame.currentDirectiveIndex=t}function mc(t){let e=N.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Ih(){return N.lFrame.currentQueryIndex}function vc(t){N.lFrame.currentQueryIndex=t}function ID(t){let e=t[A];return e.type===2?e.declTNode:e.type===1?t[_e]:null}function bh(t,e,r){if(r&F.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&F.Host);)if(o=ID(i),o===null||(i=i[nr],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=N.lFrame=Mh();return n.currentTNode=e,n.lView=t,!0}function yc(t){let e=Mh(),r=t[A];N.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Mh(){let t=N.lFrame,e=t===null?null:t.child;return e===null?Sh(t):e}function Sh(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Th(){let t=N.lFrame;return N.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var xh=Th;function Dc(){let t=Th();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function bD(t){return(N.lFrame.contextLView=cD(t,N.lFrame.contextLView))[me]}function xt(){return N.lFrame.selectedIndex}function ln(t){N.lFrame.selectedIndex=t}function rr(){let t=N.lFrame;return lc(t.tView,t.selectedIndex)}function ak(){N.lFrame.currentNamespace=gh}function uk(){MD()}function MD(){N.lFrame.currentNamespace=null}function SD(){return N.lFrame.currentNamespace}var _h=!0;function Qi(){return _h}function Ki(t){_h=t}function TD(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=fh(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function Ji(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r<n;r++){let i=t.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(t.contentHooks??=[]).push(-r,s),a&&((t.contentHooks??=[]).push(r,a),(t.contentCheckHooks??=[]).push(r,a)),u&&(t.viewHooks??=[]).push(-r,u),c&&((t.viewHooks??=[]).push(r,c),(t.viewCheckHooks??=[]).push(r,c)),l!=null&&(t.destroyHooks??=[]).push(r,l)}}function vi(t,e,r){Ah(t,e,3,r)}function yi(t,e,r,n){(t[_]&3)===r&&Ah(t,e,r,n)}function Pa(t,e){let r=t[_];(r&3)===e&&(r&=16383,r+=1,t[_]=r)}function Ah(t,e,r,n){let o=n!==void 0?t[Vn]&65535:0,i=n??-1,s=e.length-1,a=0;for(let u=o;u<s;u++)if(typeof e[u+1]=="number"){if(a=e[u],n!=null&&a>=n)break}else e[u]<0&&(t[Vn]+=65536),(a<i||i==-1)&&(xD(t,r,e,u),t[Vn]=(t[Vn]&4294901760)+u+2),u++}function df(t,e){rt(4,t,e);let r=se(null);try{e.call(t)}finally{se(r),rt(5,t,e)}}function xD(t,e,r,n){let o=r[n]<0,i=r[n+1],s=o?-r[n]:r[n],a=t[s];o?t[_]>>14<t[Vn]>>16&&(t[_]&3)===e&&(t[_]+=16384,df(a,i)):df(a,i)}var zn=-1,dn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function _D(t){return t instanceof dn}function AD(t){return(t.flags&8)!==0}function ND(t){return(t.flags&16)!==0}function Nh(t){return t!==zn}function Si(t){let e=t&32767;return t&32767}function RD(t){return t>>16}function Ti(t,e){let r=RD(t),n=e;for(;r>0;)n=n[nr],r--;return n}var ru=!0;function xi(t){let e=ru;return ru=t,e}var OD=256,Rh=OD-1,Oh=5,PD=0,ot={};function FD(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Ar)&&(n=r[Ar]),n==null&&(n=r[Ar]=PD++);let o=n&Rh,i=1<<o;e.data[t+(o>>Oh)]|=i}function _i(t,e){let r=Ph(t,e);if(r!==-1)return r;let n=e[A];n.firstCreatePass&&(t.injectorIndex=e.length,Fa(n.data,t),Fa(e,null),Fa(n.blueprint,null));let o=wc(t,e),i=t.injectorIndex;if(Nh(o)){let s=Si(o),a=Ti(o,e),u=a[A].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function Fa(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ph(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function wc(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=Vh(o),n===null)return zn;if(r++,o=o[nr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return zn}function ou(t,e,r){FD(t,e,r)}function kD(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o<n;){let i=r[o];if(eh(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<n&&typeof r[o]=="string";)o++;else{if(i===e)return r[o+1];o=o+2}}}return null}function Fh(t,e,r){if(r&F.Optional||t!==void 0)return t;ac(e,"NodeInjector")}function kh(t,e,r,n){if(r&F.Optional&&n===void 0&&(n=null),!(r&(F.Self|F.Host))){let o=t[qn],i=be(void 0);try{return o?o.get(e,n,r&F.Optional):Qf(e,n,r&F.Optional)}finally{be(i)}}return Fh(n,e,r)}function Lh(t,e,r,n=F.Default,o){if(t!==null){if(e[_]&2048&&!(n&F.Self)){let s=$D(t,e,r,n,ot);if(s!==ot)return s}let i=jh(t,e,r,n,ot);if(i!==ot)return i}return kh(e,r,n,o)}function jh(t,e,r,n,o){let i=jD(r);if(typeof i=="function"){if(!bh(e,t,n))return n&F.Host?Fh(o,r,n):kh(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&F.Optional))ac(r);else return s}finally{xh()}}else if(typeof i=="number"){let s=null,a=Ph(t,e),u=zn,c=n&F.Host?e[Fe][_e]:null;for((a===-1||n&F.SkipSelf)&&(u=a===-1?wc(t,e):e[a+8],u===zn||!hf(n,!1)?a=-1:(s=e[A],a=Si(u),e=Ti(u,e)));a!==-1;){let l=e[A];if(ff(i,a,l.data)){let d=LD(a,e,r,s,n,c);if(d!==ot)return d}u=e[a+8],u!==zn&&hf(n,e[A].data[a+8]===c)&&ff(i,a,e)?(s=l,a=Si(u),e=Ti(u,e)):a=-1}}return o}function LD(t,e,r,n,o,i){let s=e[A],a=s.data[t+8],u=n==null?Zi(a)&&ru:n!=s&&(a.type&3)!==0,c=o&F.Host&&i===a,l=Di(a,s,r,u,c);return l!==null?fn(e,s,l,a):ot}function Di(t,e,r,n,o){let i=t.providerIndexes,s=e.data,a=i&1048575,u=t.directiveStart,c=t.directiveEnd,l=i>>20,d=n?a:a+l,f=o?a+l:c;for(let h=d;h<f;h++){let p=s[h];if(h<u&&r===p||h>=u&&p.type===r)return h}if(o){let h=s[u];if(h&&Et(h)&&h.type===r)return u}return null}function fn(t,e,r,n){let o=t[r],i=e.data;if(_D(o)){let s=o;s.resolving&&Iy(Ey(i[r]));let a=xi(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?be(s.injectImpl):null,l=bh(t,n,F.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&TD(r,i[r],e)}finally{c!==null&&be(c),xi(a),s.resolving=!1,xh()}}return o}function jD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Ar)?t[Ar]:void 0;return typeof e=="number"?e>=0?e&Rh:VD:e}function ff(t,e,r){let n=1<<t;return!!(r[e+(t>>Oh)]&n)}function hf(t,e){return!(t&F.Self)&&!(t&F.Host&&e)}var on=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Lh(this._tNode,this._lView,e,Gi(n),r)}};function VD(){return new on(ye(),x())}function Cc(t){return Gr(()=>{let e=t.prototype.constructor,r=e[Ii]||iu(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[Ii]||iu(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function iu(t){return Hf(t)?()=>{let e=iu(we(t));return e&&e()}:cn(t)}function $D(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[_]&2048&&!(s[_]&512);){let a=jh(i,s,r,n|F.Self,ot);if(a!==ot)return a;let u=i.parent;if(!u){let c=s[dh];if(c){let l=c.get(r,ot,n);if(l!==ot)return l}u=Vh(s),s=s[nr]}i=u}return o}function Vh(t){let e=t[A],r=e.type;return r===2?e.declTNode:r===1?t[_e]:null}function Ec(t){return kD(ye(),t)}var li="__parameters__";function UD(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function $h(t,e,r){return Gr(()=>{let n=UD(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(li)?u[li]:Object.defineProperty(u,li,{value:[]})[li];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function BD(t){let e=X.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function HD(t){return typeof t=="function"}function zD(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],i=e[n];if(r&&(o=r(o),i=r(i)),i!==o)return!1}return!0}function WD(t){return t.flat(Number.POSITIVE_INFINITY)}function Ic(t,e){t.forEach(r=>Array.isArray(r)?Ic(r,e):e(r))}function Uh(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Ai(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Bh(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function GD(t,e,r,n){let o=t.length;if(o==e)t.push(r,n);else if(o===1)t.push(n,t[0]),t[0]=r;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function Xi(t,e,r){let n=Yr(t,e);return n>=0?t[n|1]=r:(n=~n,GD(t,n,e,r)),n}function ka(t,e){let r=Yr(t,e);if(r>=0)return t[r|1]}function Yr(t,e){return qD(t,e,1)}function qD(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<<r];if(e===s)return i<<r;s>e?o=i:n=i+1}return~(o<<r)}var Qr=Kf($h("Optional"),8);var es=Kf($h("SkipSelf"),4);function ZD(t){let e=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=t(o);r.set(o,i=s.then(JD))}return i}return Ni.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(c=>{o.template=c}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let c=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[c+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>XD(i));e.push(u)}),QD(),Promise.all(e).then(()=>{})}var Ni=new Map,YD=new Set;function QD(){let t=Ni;return Ni=new Map,t}function KD(){return Ni.size===0}function JD(t){return typeof t=="string"?t:t.text()}function XD(t){YD.delete(t)}var Kn=new E("ENVIRONMENT_INITIALIZER"),Hh=new E("INJECTOR",-1),zh=new E("INJECTOR_DEF_TYPES"),Ri=class{get(e,r=Rr){if(r===Rr){let n=new Error(`NullInjectorError: No provider for ${ge(e)}!`);throw n.name="NullInjectorError",n}return r}};function ts(t){return{\u0275providers:t}}function ew(...t){return{\u0275providers:Wh(!0,t),\u0275fromNgModule:!0}}function Wh(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return Ic(e,s=>{let a=s;su(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Gh(o,i),r}function Gh(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:o}=t[r];bc(o,i=>{e(i,n)})}}function su(t,e,r,n){if(t=we(t),!t)return!1;let o=null,i=tf(t),s=!i&&Ht(t);if(!i&&!s){let u=t.ngModule;if(i=tf(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)su(c,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let c;try{Ic(i.imports,l=>{su(l,e,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Gh(c,e)}if(!a){let c=cn(o)||(()=>new o);e({provide:o,useFactory:c,deps:Me},o),e({provide:zh,useValue:o,multi:!0},o),e({provide:Kn,useValue:()=>y(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;bc(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function bc(t,e){for(let r of t)zf(r)&&(r=r.\u0275providers),Array.isArray(r)?bc(r,e):e(r)}var tw=z({provide:String,useValue:z});function qh(t){return t!==null&&typeof t=="object"&&tw in t}function nw(t){return!!(t&&t.useExisting)}function rw(t){return!!(t&&t.useFactory)}function Jn(t){return typeof t=="function"}function ow(t){return!!t.useClass}var ns=new E("Set Injector scope."),wi={},iw={},La;function Mc(){return La===void 0&&(La=new Ri),La}var Ce=class{},Lr=class extends Ce{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,uu(e,s=>this.processProvider(s)),this.records.set(Hh,$n(void 0,this)),o.has("environment")&&this.records.set(Ce,$n(void 0,this));let i=this.records.get(ns);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(zh,Me,F.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=$t(this),n=be(void 0),o;try{return e()}finally{$t(r),be(n)}}get(e,r=Rr,n=F.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Xd))return e[Xd](this);n=Gi(n);let o,i=$t(this),s=be(void 0);try{if(!(n&F.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=lw(e)&&Wi(e);c&&this.injectableDefInScope(c)?u=$n(au(e),wi):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=n&F.Self?Mc():this.parent;return r=n&F.Optional&&r===Rr?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[bi]=a[bi]||[]).unshift(ge(e)),i)throw a;return Fy(a,e,"R3InjectorError",this.source)}else throw a}finally{be(s),$t(i)}}resolveInjectorInitializers(){let e=$t(this),r=be(void 0),n;try{let o=this.get(Kn,Me,F.Self);for(let i of o)i()}finally{$t(e),be(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(ge(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(e){e=we(e);let r=Jn(e)?e:we(e&&e.provide),n=aw(e);if(!Jn(e)&&e.multi===!0){let o=this.records.get(r);o||(o=$n(void 0,wi,!0),o.factory=()=>Ja(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}else{let o=this.records.get(r)}this.records.set(r,n)}hydrate(e,r){return r.value===wi&&(r.value=iw,r.value=r.factory()),typeof r.value=="object"&&r.value&&cw(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=we(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function au(t){let e=Wi(t),r=e!==null?e.factory:cn(t);if(r!==null)return r;if(t instanceof E)throw new v(204,!1);if(t instanceof Function)return sw(t);throw new v(204,!1)}function sw(t){let e=t.length;if(e>0){let n=Bh(e,"?");throw new v(204,!1)}let r=Sy(t);return r!==null?()=>r.factory(t):()=>new t}function aw(t){if(qh(t))return $n(void 0,t.useValue);{let e=Zh(t);return $n(e,wi)}}function Zh(t,e,r){let n;if(Jn(t)){let o=we(t);return cn(o)||au(o)}else if(qh(t))n=()=>we(t.useValue);else if(rw(t))n=()=>t.useFactory(...Ja(t.deps||[]));else if(nw(t))n=()=>y(we(t.useExisting));else{let o=we(t&&(t.useClass||t.provide));if(uw(t))n=()=>new o(...Ja(t.deps));else return cn(o)||au(o)}return n}function $n(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function uw(t){return!!t.deps}function cw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function lw(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function uu(t,e){for(let r of t)Array.isArray(r)?uu(r,e):r&&zf(r)?uu(r.\u0275providers,e):e(r)}function dt(t,e){t instanceof Lr&&t.assertNotDestroyed();let r,n=$t(t),o=be(void 0);try{return e()}finally{$t(n),be(o)}}function dw(t){if(!Yf()&&!Ry())throw new v(-203,!1)}function pf(t,e=null,r=null,n){let o=Yh(t,e,r,n);return o.resolveInjectorInitializers(),o}function Yh(t,e=null,r=null,n,o=new Set){let i=[r||Me,ew(t)];return n=n||(typeof t=="object"?void 0:ge(t)),new Lr(i,e||Mc(),n||null,o)}var Ae=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return pf({name:""},o,n,"");{let i=n.name??"";return pf({name:i},n.parent,n.providers,i)}}};e.THROW_IF_NOT_FOUND=Rr,e.NULL=new Ri,e.\u0275prov=w({token:e,providedIn:"any",factory:()=>y(Hh)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var cu;function Qh(t){cu=t}function Kh(){if(cu!==void 0)return cu;if(typeof document<"u")return document;throw new v(210,!1)}var rs=new E("AppId",{providedIn:"root",factory:()=>fw}),fw="ng",Sc=new E("Platform Initializer"),ft=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var ck=new E("AnimationModuleType"),Tc=new E("CSP nonce",{providedIn:"root",factory:()=>Kh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),xc={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Jh=new E("ImageConfig",{providedIn:"root",factory:()=>xc});function Xh(t){return t instanceof Function?t():t}function hw(t){return(t??g(Ae)).get(ft)==="browser"}function ep(t){return(t.flags&128)===128}var ut=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ut||{}),pw=/^>|^->|<!--|-->|--!>|<!-$/g,gw=/(<|>)/g,mw="\u200B$1\u200B";function vw(t){return t.replace(pw,e=>e.replace(gw,mw))}var tp=new Map,yw=0;function Dw(){return yw++}function ww(t){tp.set(t[qi],t)}function Cw(t){tp.delete(t[qi])}var gf="__ngContext__";function zt(t,e){Bt(e)?(t[gf]=e[qi],ww(e)):t[gf]=e}var Ew;function _c(t,e){return Ew(t,e)}function Ac(t){let e=t[re];return Ge(e)?e[re]:e}function np(t){return op(t[Fr])}function rp(t){return op(t[We])}function op(t){for(;t!==null&&!Ge(t);)t=t[We];return t}function Un(t,e,r,n,o){if(n!=null){let i,s=!1;Ge(n)?i=n:Bt(n)&&(s=!0,n=n[lt]);let a=at(n);t===0&&r!==null?o==null?up(e,r,a):Oi(e,r,a,o||null,!0):t===1&&r!==null?Oi(e,r,a,o||null,!0):t===2?Vw(e,a,s):t===3&&e.destroyNode(a),i!=null&&Uw(e,t,i,r,o)}}function Iw(t,e){return t.createText(e)}function bw(t,e,r){t.setValue(e,r)}function Mw(t,e){return t.createComment(vw(e))}function ip(t,e,r){return t.createElement(e,r)}function Sw(t,e){let r=e[Z];Kr(t,e,r,2,null,null),e[lt]=null,e[_e]=null}function Tw(t,e,r,n,o,i){n[lt]=o,n[_e]=e,Kr(t,n,r,1,o,i)}function xw(t,e){Kr(t,e,e[Z],2,null,null)}function _w(t){let e=t[Fr];if(!e)return ja(t[A],t);for(;e;){let r=null;if(Bt(e))r=e[Fr];else{let n=e[ve];n&&(r=n)}if(!r){for(;e&&!e[We]&&e!==t;)Bt(e)&&ja(e[A],e),e=e[re];e===null&&(e=t),Bt(e)&&ja(e[A],e),r=e&&e[We]}e=r}}function Aw(t,e,r,n){let o=ve+n,i=r.length;n>0&&(r[o-1][We]=e),n<i-ve?(e[We]=r[o],Uh(r,ve+n,e)):(r.push(e),e[We]=null),e[re]=r;let s=e[Zr];s!==null&&r!==s&&Nw(s,e);let a=e[it];a!==null&&a.insertView(t),tu(e),e[_]|=128}function Nw(t,e){let r=t[Zn],o=e[re][re][Fe];e[Fe]!==o&&(t[_]|=Yn.HasTransplantedViews),r===null?t[Zn]=[e]:r.push(e)}function sp(t,e){let r=t[Zn],n=r.indexOf(e),o=e[re];r.splice(n,1)}function jr(t,e){if(t.length<=ve)return;let r=ve+e,n=t[r];if(n){let o=n[Zr];o!==null&&o!==t&&sp(o,n),e>0&&(t[r-1][We]=n[We]);let i=Ai(t,ve+e);Sw(n[A],n);let s=i[it];s!==null&&s.detachView(i[A]),n[re]=null,n[We]=null,n[_]&=-129}return n}function os(t,e){if(!(e[_]&256)){let r=e[Z];r.destroyNode&&Kr(t,e,r,3,null,null),_w(e)}}function ja(t,e){if(!(e[_]&256)){e[_]&=-129,e[_]|=256,e[an]&&Kd(e[an]),Ow(t,e),Rw(t,e),e[A].type===1&&e[Z].destroy();let r=e[Zr];if(r!==null&&Ge(e[re])){r!==e[re]&&sp(r,e);let n=e[it];n!==null&&n.detachView(t)}Cw(e)}}function Rw(t,e){let r=t.cleanup,n=e[Pr];if(r!==null)for(let i=0;i<r.length-1;i+=2)if(typeof r[i]=="string"){let s=r[i+3];s>=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[Pr]=null);let o=e[Ut];if(o!==null){e[Ut]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Ow(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let o=e[r[n]];if(!(o instanceof dn)){let i=r[n+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];rt(4,a,u);try{u.call(a)}finally{rt(5,a,u)}}else{rt(4,o,i);try{i.call(o)}finally{rt(5,o,i)}}}}}function ap(t,e,r){return Pw(t,e.parent,r)}function Pw(t,e,r){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return r[lt];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===st.None||i===st.Emulated)return null}return Le(n,r)}}function Oi(t,e,r,n,o){t.insertBefore(e,r,n,o)}function up(t,e,r){t.appendChild(e,r)}function mf(t,e,r,n,o){n!==null?Oi(t,e,r,n,o):up(t,e,r)}function Fw(t,e,r,n){t.removeChild(e,r,n)}function Nc(t,e){return t.parentNode(e)}function kw(t,e){return t.nextSibling(e)}function cp(t,e,r){return jw(t,e,r)}function Lw(t,e,r){return t.type&40?Le(t,r):null}var jw=Lw,vf;function is(t,e,r,n){let o=ap(t,n,e),i=e[Z],s=n.parent||e[_e],a=cp(s,n,e);if(o!=null)if(Array.isArray(r))for(let u=0;u<r.length;u++)mf(i,o,r[u],a,!1);else mf(i,o,r,a,!1);vf!==void 0&&vf(i,n,e,r,o)}function Ci(t,e){if(e!==null){let r=e.type;if(r&3)return Le(e,t);if(r&4)return lu(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return Ci(t,n);{let o=t[e.index];return Ge(o)?lu(-1,o):at(o)}}else{if(r&32)return _c(e,t)()||at(t[e.index]);{let n=lp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=Ac(t[Fe]);return Ci(o,n)}else return Ci(t,e.next)}}}return null}function lp(t,e){if(e!==null){let n=t[Fe][_e],o=e.projection;return n.projection[o]}return null}function lu(t,e){let r=ve+t+1;if(r<e.length){let n=e[r],o=n[A].firstChild;if(o!==null)return Ci(n,o)}return e[un]}function Vw(t,e,r){let n=Nc(t,e);n&&Fw(t,n,e,r)}function Rc(t,e,r,n,o,i,s){for(;r!=null;){let a=n[r.index],u=r.type;if(s&&e===0&&(a&&zt(at(a),n),r.flags|=2),(r.flags&32)!==32)if(u&8)Rc(t,e,r.child,n,o,i,!1),Un(e,t,o,a,i);else if(u&32){let c=_c(r,n),l;for(;l=c();)Un(e,t,o,l,i);Un(e,t,o,a,i)}else u&16?dp(t,e,n,r,o,i):Un(e,t,o,a,i);r=s?r.projectionNext:r.next}}function Kr(t,e,r,n,o,i){Rc(r,n,t.firstChild,e,o,i,!1)}function $w(t,e,r){let n=e[Z],o=ap(t,r,e),i=r.parent||e[_e],s=cp(i,r,e);dp(n,0,e,r,o,s)}function dp(t,e,r,n,o,i){let s=r[Fe],u=s[_e].projection[n.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];Un(e,t,o,l,i)}else{let c=u,l=s[re];ep(n)&&(c.flags|=128),Rc(t,e,c,l,o,i,!0)}}function Uw(t,e,r,n,o){let i=r[un],s=at(r);i!==s&&Un(e,t,n,i,o);for(let a=ve;a<r.length;a++){let u=r[a];Kr(u[A],u,t,e,n,i)}}function Bw(t,e,r,n,o){if(e)o?t.addClass(r,n):t.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:ut.DashCase;o==null?t.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ut.Important),t.setStyle(r,n,o,i))}}function Hw(t,e,r){t.setAttribute(e,"style",r)}function fp(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function hp(t,e,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&Xa(t,e,n),o!==null&&fp(t,e,o),i!==null&&Hw(t,e,i)}var di;function zw(){if(di===void 0&&(di=null,X.trustedTypes))try{di=X.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return di}function ss(t){return zw()?.createHTML(t)||t}var fi;function pp(){if(fi===void 0&&(fi=null,X.trustedTypes))try{fi=X.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return fi}function yf(t){return pp()?.createHTML(t)||t}function Df(t){return pp()?.createScriptURL(t)||t}var It=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wf})`}},du=class extends It{getTypeName(){return"HTML"}},fu=class extends It{getTypeName(){return"Style"}},hu=class extends It{getTypeName(){return"Script"}},pu=class extends It{getTypeName(){return"URL"}},gu=class extends It{getTypeName(){return"ResourceURL"}};function Ne(t){return t instanceof It?t.changingThisBreaksApplicationSecurity:t}function _t(t,e){let r=Ww(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Wf})`)}return r===e}function Ww(t){return t instanceof It&&t.getTypeName()||null}function gp(t){return new du(t)}function mp(t){return new fu(t)}function vp(t){return new hu(t)}function yp(t){return new pu(t)}function Dp(t){return new gu(t)}function Gw(t){let e=new vu(t);return qw()?new mu(e):e}var mu=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(ss(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},vu=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=ss(e),r}};function qw(){try{return!!new window.DOMParser().parseFromString(ss(""),"text/html")}catch{return!1}}var Zw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function as(t){return t=String(t),t.match(Zw)?t:"unsafe:"+t}function At(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function Jr(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var wp=At("area,br,col,hr,img,wbr"),Cp=At("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ep=At("rp,rt"),Yw=Jr(Ep,Cp),Qw=Jr(Cp,At("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")),Kw=Jr(Ep,At("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")),wf=Jr(wp,Qw,Kw,Yw),Ip=At("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Jw=At("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Xw=At("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"),eC=Jr(Ip,Jw,Xw),tC=At("script,style,template"),yu=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0;for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){r=r.firstChild;continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=this.checkClobberedElement(r,r.nextSibling);if(o){r=o;break}r=this.checkClobberedElement(r,r.parentNode)}}return this.buf.join("")}startElement(e){let r=e.nodeName.toLowerCase();if(!wf.hasOwnProperty(r))return this.sanitizedSomething=!0,!tC.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let o=0;o<n.length;o++){let i=n.item(o),s=i.name,a=s.toLowerCase();if(!eC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;Ip[a]&&(u=as(u)),this.buf.push(" ",s,'="',Cf(u),'"')}return this.buf.push(">"),!0}endElement(e){let r=e.nodeName.toLowerCase();wf.hasOwnProperty(r)&&!wp.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(Cf(e))}checkClobberedElement(e,r){if(r&&(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return r}},nC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rC=/([^\#-~ |!])/g;function Cf(t){return t.replace(/&/g,"&").replace(nC,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(rC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var hi;function Oc(t,e){let r=null;try{hi=hi||Gw(t);let n=e?String(e):"";r=hi.getInertBodyElement(n);let o=5,i=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=i,i=r.innerHTML,r=hi.getInertBodyElement(n)}while(n!==i);let a=new yu().sanitizeChildren(Ef(r)||r);return ss(a)}finally{if(r){let n=Ef(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function Ef(t){return"content"in t&&oC(t)?t.content:null}function oC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var qe=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(qe||{});function lk(t){let e=Pc();return e?yf(e.sanitize(qe.HTML,t)||""):_t(t,"HTML")?yf(Ne(t)):Oc(Kh(),sn(t))}function iC(t){let e=Pc();return e?e.sanitize(qe.URL,t)||"":_t(t,"URL")?Ne(t):as(sn(t))}function sC(t){let e=Pc();if(e)return Df(e.sanitize(qe.RESOURCE_URL,t)||"");if(_t(t,"ResourceURL"))return Df(Ne(t));throw new v(904,!1)}function aC(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?sC:iC}function bp(t,e,r){return aC(e,r)(t)}function Pc(){let t=x();return t&&t[Ct].sanitizer}var Du=class{};var uC="h",cC="b";var lC=(t,e,r)=>null;function Fc(t,e,r=!1){return lC(t,e,r)}var wu=class{},Pi=class{};function dC(t){let e=Error(`No component factory found for ${ge(t)}.`);return e[fC]=t,e}var fC="ngComponent";var Cu=class{resolveComponentFactory(e){throw dC(e)}},us=(()=>{let e=class e{};e.NULL=new Cu;let t=e;return t})();function hC(){return or(ye(),x())}function or(t,e){return new je(Le(t,e))}var je=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=hC;let t=e;return t})();function pC(t){return t instanceof je?t.nativeElement:t}var Vr=class{},qt=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>gC();let t=e;return t})();function gC(){let t=x(),e=ye(),r=Wt(e.index,t);return(Bt(r)?r:t)[Z]}var mC=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Va={};function kc(t){let e=se(null);try{return t()}finally{se(e)}}function Mp(t){return Lc(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function vC(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)e(t[r]);else{let r=t[Symbol.iterator](),n;for(;!(n=r.next()).done;)e(n.value)}}function Lc(t){return t!==null&&(typeof t=="function"||typeof t=="object")}var Eu=class{constructor(){}supports(e){return Mp(e)}create(e){return new Iu(e)}},yC=(t,e)=>e,Iu=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||yC}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex<If(n,o,i)?r:n,a=If(s,o,i),u=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)o++;else{i||(i=[]);let c=a-o,l=u-o;if(c!=l){for(let f=0;f<c;f++){let h=f<i.length?i[f]:i[f]=0,p=h+f;l<=p&&p<c&&(i[f]=h+1)}let d=s.previousIndex;i[d]=l-c}}a!==u&&e(s,a,u)}}forEachPreviousItem(e){let r;for(r=this._previousItHead;r!==null;r=r._nextPrevious)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachMovedItem(e){let r;for(r=this._movesHead;r!==null;r=r._nextMoved)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}forEachIdentityChange(e){let r;for(r=this._identityChangesHead;r!==null;r=r._nextIdentityChange)e(r)}diff(e){if(e==null&&(e=[]),!Mp(e))throw new v(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._itHead,n=!1,o,i,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)i=e[a],s=this._trackByFn(a,i),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,i,s,a),n=!0):(n&&(r=this._verifyReinsertion(r,i,s,a)),Object.is(r.item,i)||this._addIdentityChange(r,i)),r=r._next}else o=0,vC(e,a=>{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new bu(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}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(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Fi),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Fi),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},bu=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Mu=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Fi=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Mu,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function If(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n<r.length&&(o=r[n]),n+e+o}var Su=class{constructor(){}supports(e){return e instanceof Map||Lc(e)}create(){return new Tu}},Tu=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let r;for(r=this._mapHead;r!==null;r=r._next)e(r)}forEachPreviousItem(e){let r;for(r=this._previousMapHead;r!==null;r=r._nextPrevious)e(r)}forEachChangedItem(e){let r;for(r=this._changesHead;r!==null;r=r._nextChanged)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Lc(e)))throw new v(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(r&&r.key===o)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let i=this._getOrCreateRecordForKey(o,n);r=this._insertBeforeOrAppend(r,i)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,r);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let n=new xu(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},xu=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function bf(){return new cs([new Eu])}var cs=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||bf()),deps:[[e,new es,new Qr]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new v(901,!1)}};e.\u0275prov=w({token:e,providedIn:"root",factory:bf});let t=e;return t})();function Mf(){return new ls([new Su])}var ls=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Mf()),deps:[[e,new es,new Qr]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o)return o;throw new v(901,!1)}};e.\u0275prov=w({token:e,providedIn:"root",factory:Mf});let t=e;return t})();function ki(t,e,r,n,o=!1){for(;r!==null;){let i=e[r.index];i!==null&&n.push(at(i)),Ge(i)&&DC(i,n);let s=r.type;if(s&8)ki(t,e,r.child,n);else if(s&32){let a=_c(r,e),u;for(;u=a();)n.push(u)}else if(s&16){let a=lp(e,r);if(Array.isArray(a))n.push(...a);else{let u=Ac(e[Fe]);ki(u[A],u,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function DC(t,e){for(let r=ve;r<t.length;r++){let n=t[r],o=n[A].firstChild;o!==null&&ki(n[A],n,o,e)}t[un]!==t[lt]&&e.push(t[un])}var Sp=[];function wC(t){return t[an]??CC(t)}function CC(t){let e=Sp.pop()??Object.create(IC);return e.lView=t,e}function EC(t){t.lView[an]!==t&&(t.lView=null,Sp.push(t))}var IC=ee(D({},Zd),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{kr(t.lView)},consumerOnSignalRead(){this.lView[an]=this}}),bC="ngOriginalError";function $a(t){return t[bC]}var ct=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&$a(e);for(;r&&$a(r);)r=$a(r);return r||null}},Tp=new E("",{providedIn:"root",factory:()=>g(ct).handleError.bind(void 0)});var xp=!1,MC=new E("",{providedIn:"root",factory:()=>xp});var Te={};function dk(t){_p(Y(),x(),xt()+t,!1)}function _p(t,e,r,n){if(!n)if((e[_]&3)===3){let i=t.preOrderCheckHooks;i!==null&&vi(e,i,r)}else{let i=t.preOrderHooks;i!==null&&yi(e,i,0,r)}ln(r)}function L(t,e=F.Default){let r=x();if(r===null)return y(t,e);let n=ye();return Lh(n,r,we(t),e)}function Ap(){let t="invalid";throw new Error(t)}function SC(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let o=r[n];if(o<0)ln(~o);else{let i=o,s=r[++n],a=r[++n];CD(s,i);let u=e[i];a(2,u)}}}finally{ln(-1)}}function ds(t,e,r,n,o,i,s,a,u,c,l){let d=e.blueprint.slice();return d[lt]=o,d[_]=n|4|128|8|64,(c!==null||t&&t[_]&2048)&&(d[_]|=2048),vh(d),d[re]=d[nr]=t,d[me]=r,d[Ct]=s||t&&t[Ct],d[Z]=a||t&&t[Z],d[qn]=u||t&&t[qn]||null,d[_e]=i,d[qi]=Dw(),d[Gn]=l,d[dh]=c,d[Fe]=e.type==2?t[Fe]:d,d}function ir(t,e,r,n,o){let i=t.data[e];if(i===null)i=TC(t,e,r,n,o),wD()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=mD();i.injectorIndex=s===null?-1:s.injectorIndex}return mn(i,!0),i}function TC(t,e,r,n,o){let i=Eh(),s=hc(),a=s?i:i&&i.parent,u=t.data[e]=OC(t,a,r,e,n,o);return t.firstChild===null&&(t.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function Np(t,e,r,n){if(r===0)return-1;let o=e.length;for(let i=0;i<r;i++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function Rp(t,e,r,n,o){let i=xt(),s=n&2;try{ln(-1),s&&e.length>he&&_p(t,e,he,!1),rt(s?2:0,o),r(n,o)}finally{ln(i),rt(s?3:1,o)}}function jc(t,e,r){if(cc(e)){let n=se(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];a.contentQueries&&a.contentQueries(1,r[s],s)}}finally{se(n)}}}function Vc(t,e,r){wh()&&(VC(t,e,r,Le(r,e)),(r.flags&64)===64&&Fp(t,e,r))}function $c(t,e,r=Le){let n=e.localNames;if(n!==null){let o=e.index+1;for(let i=0;i<n.length;i+=2){let s=n[i+1],a=s===-1?r(e,t):t[s];t[o++]=a}}}function Op(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Uc(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Uc(t,e,r,n,o,i,s,a,u,c,l){let d=he+n,f=d+o,h=xC(d,f),p=typeof c=="function"?c():c;return h[A]={type:t,blueprint:h,template:r,queries:null,viewQuery:a,declTNode:e,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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:u,consts:p,incompleteFirstPass:!1,ssrId:l}}function xC(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Te);return r}function _C(t,e,r,n){let i=n.get(MC,xp)||r===st.ShadowDom,s=t.selectRootElement(e,i);return AC(s),s}function AC(t){NC(t)}var NC=t=>null;function RC(t,e,r,n){let o=Vp(e);o.push(r),t.firstCreatePass&&$p(t).push(n,o.length-1)}function OC(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return Ch()&&(a|=128),{type:r,index:n,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:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Sf(t,e,r,n){for(let o in t)if(t.hasOwnProperty(o)){r=r===null?{}:r;let i=t[o];n===null?Tf(r,e,o,i):n.hasOwnProperty(o)&&Tf(r,e,n[o],i)}return r}function Tf(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function PC(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=n;l<o;l++){let d=i[l],f=r?r.get(d):null,h=f?f.inputs:null,p=f?f.outputs:null;u=Sf(d.inputs,l,u,h),c=Sf(d.outputs,l,c,p);let M=u!==null&&s!==null&&!nh(e)?QC(u,l,s):null;a.push(M)}u!==null&&(u.hasOwnProperty("class")&&(e.flags|=8),u.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=u,e.outputs=c}function FC(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Xr(t,e,r,n,o,i,s,a){let u=Le(e,r),c=e.inputs,l;!a&&c!=null&&(l=c[n])?(Hc(t,r,l,n,o),Zi(e)&&kC(r,e.index)):e.type&3?(n=FC(n),o=s!=null?s(o,e.value||"",n):o,i.setProperty(u,n,o)):e.type&12}function kC(t,e){let r=Wt(e,t);r[_]&16||(r[_]|=64)}function Bc(t,e,r,n){if(wh()){let o=n===null?null:{"":-1},i=UC(t,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Pp(t,e,r,s,o,a),o&&BC(r,n,o)}r.mergedAttrs=Or(r.mergedAttrs,r.attrs)}function Pp(t,e,r,n,o,i){for(let c=0;c<n.length;c++)ou(_i(r,e),t,n[c].type);zC(r,t.data.length,n.length);for(let c=0;c<n.length;c++){let l=n[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=Np(t,e,n.length,null);for(let c=0;c<n.length;c++){let l=n[c];r.mergedAttrs=Or(r.mergedAttrs,l.hostAttrs),WC(t,r,e,u,l),HC(u,l,o),l.contentQueries!==null&&(r.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(r.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(r.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(r.index),a=!0),u++}PC(t,r,i)}function LC(t,e,r,n,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;jC(s)!=a&&s.push(a),s.push(r,n,i)}}function jC(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function VC(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;Zi(r)&&GC(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||_i(r,e),zt(n,e);let s=r.initialInputs;for(let a=o;a<i;a++){let u=t.data[a],c=fn(e,t,a,r);if(zt(c,e),s!==null&&YC(e,a-o,c,u,r,s),Et(u)){let l=Wt(r.index,e);l[me]=fn(e,t,a,r)}}}function Fp(t,e,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=ED();try{ln(i);for(let a=n;a<o;a++){let u=t.data[a],c=e[a];nu(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&$C(u,c)}}finally{ln(-1),nu(s)}}function $C(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function UC(t,e){let r=t.directiveRegistry,n=null,o=null;if(r)for(let i=0;i<r.length;i++){let s=r[i];if(rh(e,s.selectors,!1))if(n||(n=[]),Et(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let u=a.length;_u(t,e,u)}else n.unshift(s),_u(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function _u(t,e,r){e.componentOffset=r,(t.components??=[]).push(e.index)}function BC(t,e,r){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let i=r[e[o+1]];if(i==null)throw new v(-301,!1);n.push(e[o],i)}}}function HC(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;Et(e)&&(r[""]=t)}}function zC(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function WC(t,e,r,n,o){t.data[n]=o;let i=o.factory||(o.factory=cn(o.type,!0)),s=new dn(i,Et(o),L);t.blueprint[n]=s,r[n]=s,LC(t,e,n,Np(t,r,o.hostVars,Te),o)}function GC(t,e,r){let n=Le(e,t),o=Op(r),i=t[Ct].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=fs(t,ds(t,o,null,s,n,e,null,i.createRenderer(n,r),null,null,null));t[e.index]=a}function qC(t,e,r,n,o,i){let s=Le(t,e);ZC(e[Z],s,i,t.value,r,n,o)}function ZC(t,e,r,n,o,i,s){if(i==null)t.removeAttribute(e,o,r);else{let a=s==null?sn(i):s(i,n||"",o);t.setAttribute(e,o,a,r)}}function YC(t,e,r,n,o,i){let s=i[e];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++];kp(n,r,u,c,l)}}function kp(t,e,r,n,o){let i=se(null);try{let s=t.inputTransforms;s!==null&&s.hasOwnProperty(n)&&(o=s[n].call(e,o)),t.setInput!==null?t.setInput(e,o,r,n):e[n]=o}finally{se(i)}}function QC(t,e,r){let n=null,o=0;for(;o<r.length;){let i=r[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(t.hasOwnProperty(i)){n===null&&(n=[]);let s=t[i];for(let a=0;a<s.length;a+=2)if(s[a]===e){n.push(i,s[a+1],r[o+1]);break}}o+=2}return n}function Lp(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function jp(t,e){let r=t.contentQueries;if(r!==null){let n=se(null);try{for(let o=0;o<r.length;o+=2){let i=r[o],s=r[o+1];if(s!==-1){let a=t.data[s];vc(i),a.contentQueries(2,e[s],s)}}}finally{se(n)}}}function fs(t,e){return t[Fr]?t[cf][We]=e:t[Fr]=e,t[cf]=e,e}function Au(t,e,r){vc(0);let n=se(null);try{e(t,r)}finally{se(n)}}function Vp(t){return t[Pr]||(t[Pr]=[])}function $p(t){return t.cleanup||(t.cleanup=[])}function Up(t,e,r){return(t===null||Et(t))&&(r=iD(r[e.index])),r[Z]}function Bp(t,e){let r=t[qn],n=r?r.get(ct,null):null;n&&n.handleError(e)}function Hc(t,e,r,n,o){for(let i=0;i<r.length;){let s=r[i++],a=r[i++],u=e[s],c=t.data[s];kp(c,u,n,a,o)}}function Hp(t,e,r){let n=mh(e,t);bw(t[Z],n,r)}var KC=100;function JC(t,e=!0){let r=t[Ct],n=r.rendererFactory,o=r.afterRenderEventManager,i=!1;i||(n.begin?.(),o?.begin());try{XC(t)}catch(s){throw e&&Bp(t,s),s}finally{i||(n.end?.(),r.inlineEffectRunner?.flush(),o?.end())}}function XC(t){Nu(t,0);let e=0;for(;yh(t);){if(e===KC)throw new v(103,!1);e++,Nu(t,1)}}function eE(t,e,r,n){let o=e[_];if((o&256)===256)return;let i=!1;!i&&e[Ct].inlineEffectRunner?.flush(),yc(e);let s=null,a=null;!i&&tE(t)&&(a=wC(e),s=Yd(a));try{vh(e),DD(t.bindingStartIndex),r!==null&&Rp(t,e,r,2,n);let u=(o&3)===3;if(!i)if(u){let d=t.preOrderCheckHooks;d!==null&&vi(e,d,null)}else{let d=t.preOrderHooks;d!==null&&yi(e,d,0,null),Pa(e,0)}if(nE(e),zp(e,0),t.contentQueries!==null&&jp(t,e),!i)if(u){let d=t.contentCheckHooks;d!==null&&vi(e,d)}else{let d=t.contentHooks;d!==null&&yi(e,d,1),Pa(e,1)}SC(t,e);let c=t.components;c!==null&&Gp(e,c,0);let l=t.viewQuery;if(l!==null&&Au(2,l,n),!i)if(u){let d=t.viewCheckHooks;d!==null&&vi(e,d)}else{let d=t.viewHooks;d!==null&&yi(e,d,2),Pa(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Oa]){for(let d of e[Oa])d();e[Oa]=null}i||(e[_]&=-73)}catch(u){throw kr(e),u}finally{a!==null&&(Qd(a,s),EC(a)),Dc()}}function tE(t){return t.type!==2}function zp(t,e){for(let r=np(t);r!==null;r=rp(r)){r[_]&=~Yn.HasChildViewsToRefresh;for(let n=ve;n<r.length;n++){let o=r[n];Wp(o,e)}}}function nE(t){for(let e=np(t);e!==null;e=rp(e)){if(!(e[_]&Yn.HasTransplantedViews))continue;let r=e[Zn];for(let n=0;n<r.length;n++){let o=r[n],i=o[re];uD(o)}}}function rE(t,e,r){let n=Wt(e,t);Wp(n,r)}function Wp(t,e){fc(t)&&Nu(t,e)}function Nu(t,e){let n=t[A],o=t[_],i=t[an],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(i?.dirty&&Aa(i)),i&&(i.dirty=!1),t[_]&=-9217,s)eE(n,t,n.template,t[me]);else if(o&8192){zp(t,1);let a=n.components;a!==null&&Gp(t,a,1)}}function Gp(t,e,r){for(let n=0;n<e.length;n++)rE(t,e[n],r)}function zc(t){for(t[Ct].changeDetectionScheduler?.notify();t;){t[_]|=64;let e=Ac(t);if(Jy(t)&&!e)return t;t=e}return null}var hn=class{get rootNodes(){let e=this._lView,r=e[A];return ki(r,e,r.firstChild,[])}constructor(e,r,n=!0){this._lView=e,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[me]}set context(e){this._lView[me]=e}get destroyed(){return(this._lView[_]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[re];if(Ge(e)){let r=e[Mi],n=r?r.indexOf(this):-1;n>-1&&(jr(e,n),Ai(r,n))}this._attachedToViewContainer=!1}os(this._lView[A],this._lView)}onDestroy(e){Dh(this._lView,e)}markForCheck(){zc(this._cdRefInjectingView||this._lView)}detach(){this._lView[_]&=-129}reattach(){tu(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,JC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,xw(this._lView[A],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e,tu(this._lView)}},sr=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=oE;let t=e;return t})();function oE(t){return iE(ye(),x(),(t&16)===16)}function iE(t,e,r){if(Zi(t)&&!r){let n=Wt(t.index,e);return new hn(n,n)}else if(t.type&47){let n=e[Fe];return new hn(n,e)}return null}var qp=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=sE,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Ru=class extends qp{constructor(e){super(),this._lView=e}onDestroy(e){return Dh(this._lView,e),()=>lD(this._lView,e)}};function sE(){return new Ru(x())}var xf=new Set;function yn(t){xf.has(t)||(xf.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Ou=class extends ae{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Ua(i),o&&(o=Ua(o)),s&&(s=Ua(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof Q&&e.add(a),a}};function Ua(t){return e=>{setTimeout(t,void 0,e)}}var fe=Ou;function _f(...t){}function aE(){let t=typeof X.requestAnimationFrame=="function",e=X[t?"requestAnimationFrame":"setTimeout"],r=X[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var H=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fe(!1),this.onMicrotaskEmpty=new fe(!1),this.onStable=new fe(!1),this.onError=new fe(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=aE().nativeRequestAnimationFrame,lE(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,uE,_f,_f);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},uE={};function Wc(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function cE(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(X,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Pu(t),t.isCheckStableRunning=!0,Wc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Pu(t))}function lE(t){let e=()=>{cE(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(dE(a))return r.invokeTask(o,i,s,a);try{return Af(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Nf(t)}},onInvoke:(r,n,o,i,s,a,u)=>{try{return Af(t),r.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Nf(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Pu(t),Wc(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function Pu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Af(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Nf(t){t._nesting--,Wc(t)}var Fu=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fe,this.onMicrotaskEmpty=new fe,this.onStable=new fe,this.onError=new fe}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function dE(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function fE(t="zone.js",e){return t==="noop"?new Fu:t==="zone.js"?new H(e):t}var Bn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Bn||{}),hE={destroy(){}};function Gc(t,e){!e&&dw(Gc);let r=e?.injector??g(Ae);if(!hw(r))return hE;yn("NgAfterNextRender");let n=r.get(Zp),o=n.handler??=new Lu,i=e?.phase??Bn.MixedReadWrite,s=()=>{o.unregister(u),a()},a=r.get(qp).onDestroy(s),u=new ku(r,i,()=>{s(),t()});return o.register(u),{destroy:s}}var ku=class{constructor(e,r,n){this.phase=r,this.callbackFn=n,this.zone=e.get(H),this.errorHandler=e.get(ct,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Lu=class{constructor(){this.executingCallbacks=!1,this.buckets={[Bn.EarlyRead]:new Set,[Bn.Write]:new Set,[Bn.MixedReadWrite]:new Set,[Bn.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new v(102,!1)}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Zp=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function pE(t,e){let r=Wt(e,t),n=r[A];gE(n,r);let o=r[lt];o!==null&&r[Gn]===null&&(r[Gn]=Fc(o,r[qn])),qc(n,r,r[me])}function gE(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function qc(t,e,r){yc(e);try{let n=t.viewQuery;n!==null&&Au(1,n,r);let o=t.template;o!==null&&Rp(t,e,o,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&jp(t,e),t.staticViewQueries&&Au(2,t.viewQuery,r);let i=t.components;i!==null&&mE(e,i)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[_]&=-5,Dc()}}function mE(t,e){for(let r=0;r<e.length;r++)pE(t,e[r])}function Li(t,e,r){let n=r?t.styles:null,o=r?t.classes:null,i=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")i=a;else if(i==1)o=Ya(o,a);else if(i==2){let u=a,c=e[++s];n=Ya(n,u+": "+c+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=o:t.classesWithoutHost=o}var ji=class extends us{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=Ht(e);return new Xn(r,this.ngModule)}};function Rf(t){let e=[];for(let r in t)if(t.hasOwnProperty(r)){let n=t[r];e.push({propName:n,templateName:r})}return e}function vE(t){let e=t.toLowerCase();return e==="svg"?gh:e==="math"?nD:null}var ju=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=Gi(n);let o=this.injector.get(e,Va,n);return o!==Va||r===Va?o:this.parentInjector.get(e,r,n)}},Xn=class extends Pi{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Rf(e.inputs);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return Rf(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=qy(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,o){o=o||this.ngModule;let i=o instanceof Ce?o:o?.injector;i&&this.componentDef.getStandaloneInjector!==null&&(i=this.componentDef.getStandaloneInjector(i)||i);let s=i?new ju(e,i):e,a=s.get(Vr,null);if(a===null)throw new v(407,!1);let u=s.get(mC,null),c=s.get(Zp,null),l=s.get(Du,null),d={rendererFactory:a,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:c,changeDetectionScheduler:l},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=n?_C(f,n,this.componentDef.encapsulation,s):ip(f,h,vE(h)),M=512;this.componentDef.signals?M|=4096:this.componentDef.onPush||(M|=16);let C=null;p!==null&&(C=Fc(p,s,!0));let m=Uc(0,null,null,1,0,null,null,null,null,null,null),j=ds(null,m,null,M,null,null,d,f,s,null,C);yc(j);let De,U;try{let ce=this.componentDef,Ue,Cr=null;ce.findHostDirectiveDefs?(Ue=[],Cr=new Map,ce.findHostDirectiveDefs(ce,Ue,Cr),Ue.push(ce)):Ue=[ce];let gv=yE(j,p),mv=DE(gv,p,ce,Ue,j,d,f);U=lc(m,he),p&&EE(f,ce,p,n),r!==void 0&&IE(U,this.ngContentSelectors,r),De=CE(mv,ce,Ue,Cr,j,[bE]),qc(m,j,null)}finally{Dc()}return new Vu(this.componentType,De,or(U,j),j,U)}},Vu=class extends wu{constructor(e,r,n,o,i){super(),this.location=n,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new hn(o,void 0,!1),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let i=this._rootLView;Hc(i[A],i,o,e,r),this.previousInputValues.set(e,r);let s=Wt(this._tNode.index,i);zc(s)}}get injector(){return new on(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function yE(t,e){let r=t[A],n=he;return t[n]=e,ir(r,n,2,"#host",null)}function DE(t,e,r,n,o,i,s){let a=o[A];wE(n,t,e,s);let u=null;e!==null&&(u=Fc(e,o[qn]));let c=i.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=ds(o,Op(r),null,l,o[t.index],t,i,c,null,null,u);return a.firstCreatePass&&_u(a,t,n.length-1),fs(o,d),o[t.index]=d}function wE(t,e,r,n){for(let o of t)e.mergedAttrs=Or(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(Li(e,e.mergedAttrs,!0),r!==null&&hp(n,r,e))}function CE(t,e,r,n,o,i){let s=ye(),a=o[A],u=Le(s,o);Pp(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,f=fn(o,a,d,s);zt(f,o)}Fp(a,o,s),u&&zt(u,o);let c=fn(o,a,s.directiveStart+s.componentOffset,s);if(t[me]=o[me]=c,i!==null)for(let l of i)l(c,e);return jc(a,s,t),c}function EE(t,e,r,n){if(n)Xa(t,r,["ng-version","17.0.8"]);else{let{attrs:o,classes:i}=Zy(e.selectors[0]);o&&Xa(t,r,o),i&&i.length>0&&fp(t,r,i.join(" "))}}function IE(t,e,r){let n=t.projection=[];for(let o=0;o<e.length;o++){let i=r[o];n.push(i!=null?Array.from(i):null)}}function bE(){let t=ye();Ji(x()[A],t)}function ME(t){return Object.getPrototypeOf(t.prototype).constructor}function SE(t){let e=ME(t.type),r=!0,n=[t];for(;e;){let o;if(Et(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new v(903,!1);o=e.\u0275dir}if(o){if(r){n.push(o);let s=t;s.inputs=pi(t.inputs),s.inputTransforms=pi(t.inputTransforms),s.declaredInputs=pi(t.declaredInputs),s.outputs=pi(t.outputs);let a=o.hostBindings;a&&AE(t,a);let u=o.viewQuery,c=o.contentQueries;if(u&&xE(t,u),c&&_E(t,c),ci(t.inputs,o.inputs),ci(t.declaredInputs,o.declaredInputs),ci(t.outputs,o.outputs),o.inputTransforms!==null&&(s.inputTransforms===null&&(s.inputTransforms={}),ci(s.inputTransforms,o.inputTransforms)),Et(o)&&o.data.animation){let l=t.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(t),a===SE&&(r=!1)}}e=Object.getPrototypeOf(e)}TE(n)}function TE(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=Or(o.hostAttrs,r=Or(r,o.hostAttrs))}}function pi(t){return t===Wn?{}:t===Me?[]:t}function xE(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function _E(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function AE(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function hs(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[2]&&(r[n]=o[2])}t.inputTransforms=r}function ar(t,e,r){return t[e]=r}function Yp(t,e){return t[e]}function Se(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function $r(t,e,r,n){let o=Se(t,e,r);return Se(t,e+1,n)||o}function NE(t,e,r,n,o){let i=$r(t,e,r,n);return Se(t,e+2,o)||i}function Qp(t,e,r,n,o,i){let s=$r(t,e,r,n);return $r(t,e+2,o,i)||s}function Zc(t,e,r,n){let o=x(),i=vn();if(Se(o,i,e)){let s=Y(),a=rr();qC(a,o,t,e,r,n)}return Zc}function Yc(t,e,r,n){return Se(t,vn(),r)?e+sn(r)+n:Te}function Kp(t,e,r,n,o,i){let s=yD(),a=$r(t,s,r,o);return gc(2),a?e+sn(r)+n+sn(o)+i:Te}function gi(t,e){return t<<17|e<<2}function pn(t){return t>>17&32767}function RE(t){return(t&2)==2}function OE(t,e){return t&131071|e<<17}function $u(t){return t|2}function er(t){return(t&131068)>>2}function Ba(t,e){return t&-131069|e<<2}function PE(t){return(t&1)===1}function Uu(t){return t|1}function FE(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=pn(s),u=er(s);t[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Yr(d,l)>0)&&(c=!0)}else l=r;if(o)if(u!==0){let f=pn(t[a+1]);t[n+1]=gi(f,a),f!==0&&(t[f+1]=Ba(t[f+1],n)),t[a+1]=OE(t[a+1],n)}else t[n+1]=gi(a,0),a!==0&&(t[a+1]=Ba(t[a+1],n)),a=n;else t[n+1]=gi(u,0),a===0?a=n:t[u+1]=Ba(t[u+1],n),u=n;c&&(t[n+1]=$u(t[n+1])),Of(t,l,n,!0,i),Of(t,l,n,!1,i),kE(e,l,t,n,i),s=gi(a,u),i?e.classBindings=s:e.styleBindings=s}function kE(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&Yr(i,e)>=0&&(r[n+1]=Uu(r[n+1]))}function Of(t,e,r,n,o){let i=t[r+1],s=e===null,a=n?pn(i):er(i),u=!1;for(;a!==0&&(u===!1||s);){let c=t[a],l=t[a+1];LE(c,e)&&(u=!0,t[a+1]=n?Uu(l):$u(l)),a=n?pn(l):er(l)}u&&(t[r+1]=n?$u(i):Uu(i))}function LE(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Yr(t,e)>=0:!1}var ze={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jE(t){return t.substring(ze.key,ze.keyEnd)}function VE(t){return $E(t),Jp(t,Xp(t,0,ze.textEnd))}function Jp(t,e){let r=ze.textEnd;return r===e?-1:(e=ze.keyEnd=UE(t,ze.key=e,r),Xp(t,e,r))}function $E(t){ze.key=0,ze.keyEnd=0,ze.value=0,ze.valueEnd=0,ze.textEnd=t.length}function Xp(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function UE(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function BE(t,e,r){let n=x(),o=vn();if(Se(n,o,e)){let i=Y(),s=rr();Xr(i,s,n,t,e,n[Z],r,!1)}return BE}function Bu(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";Hc(t,r,i[s],s,n)}function Qc(t,e,r){return tg(t,e,r,!1),Qc}function HE(t,e){return tg(t,e,null,!0),HE}function fk(t){ng(YE,eg,t,!0)}function eg(t,e){for(let r=VE(e);r>=0;r=Jp(e,r))Xi(t,jE(e),!0)}function tg(t,e,r,n){let o=x(),i=Y(),s=gc(2);if(i.firstUpdatePass&&og(i,t,s,n),e!==Te&&Se(o,s,e)){let a=i.data[xt()];ig(i,a,o,o[Z],t,o[s+1]=KE(e,r),n,s)}}function ng(t,e,r,n){let o=Y(),i=gc(2);o.firstUpdatePass&&og(o,null,i,n);let s=x();if(r!==Te&&Se(s,i,r)){let a=o.data[xt()];if(sg(a,n)&&!rg(o,i)){let u=n?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(r=Ya(u,r||"")),Bu(o,a,s,r,n)}else QE(o,a,s,s[Z],s[i+1],s[i+1]=ZE(t,e,r),n,i)}}function rg(t,e){return e>=t.expandoStartIndex}function og(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[xt()],s=rg(t,r);sg(i,n)&&e===null&&!s&&(e=!1),e=zE(o,i,e,n),FE(o,i,e,r,s,n)}}function zE(t,e,r,n){let o=mc(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Ha(null,t,e,r,n),r=Ur(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Ha(o,t,e,r,n),i===null){let u=WE(t,e,n);u!==void 0&&Array.isArray(u)&&(u=Ha(null,t,e,u[1],n),u=Ur(u,e.attrs,n),GE(t,e,n,u))}else i=qE(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function WE(t,e,r){let n=r?e.classBindings:e.styleBindings;if(er(n)!==0)return t[pn(n)]}function GE(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[pn(o)]=n}function qE(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;n=Ur(n,s,r)}return Ur(n,e.attrs,r)}function Ha(t,e,r,n,o){let i=null,s=r.directiveEnd,a=r.directiveStylingLast;for(a===-1?a=r.directiveStart:a++;a<s&&(i=e[a],n=Ur(n,i.hostAttrs,o),i!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function Ur(t,e,r){let n=r?1:2,o=-1;if(e!==null)for(let i=0;i<e.length;i++){let s=e[i];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Xi(t,s,r?!0:e[++i]))}return t===void 0?null:t}function ZE(t,e,r){if(r==null||r==="")return Me;let n=[],o=Ne(r);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(n,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(n,i,o[i]);else typeof o=="string"&&e(n,o);return n}function YE(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&Xi(t,n,r)}function QE(t,e,r,n,o,i,s,a){o===Te&&(o=Me);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let f=u<o.length?o[u+1]:void 0,h=c<i.length?i[c+1]:void 0,p=null,M;l===d?(u+=2,c+=2,f!==h&&(p=d,M=h)):d===null||l!==null&&l<d?(u+=2,p=l):(c+=2,p=d,M=h),p!==null&&ig(t,e,r,n,p,M,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function ig(t,e,r,n,o,i,s,a){if(!(e.type&3))return;let u=t.data,c=u[a+1],l=PE(c)?Pf(u,e,r,o,er(c),s):void 0;if(!Vi(l)){Vi(i)||RE(c)&&(i=Pf(u,null,r,o,a,s));let d=mh(xt(),r);Bw(n,s,d,o,i)}}function Pf(t,e,r,n,o,i){let s=e===null,a;for(;o>0;){let u=t[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=r[o+1];f===Te&&(f=d?Me:void 0);let h=d?ka(f,n):l===n?f:void 0;if(c&&!Vi(h)&&(h=ka(u,n)),Vi(h)&&(a=h,s))return a;let p=t[o+1];o=s?pn(p):er(p)}if(e!==null){let u=i?e.residualClasses:e.residualStyles;u!=null&&(a=ka(u,n))}return a}function Vi(t){return t!==void 0}function KE(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=ge(Ne(t)))),t}function sg(t,e){return(t.flags&(e?8:16))!==0}function hk(t,e,r){let n=x(),o=Yc(n,t,e,r);ng(Xi,eg,o,!0)}var pk=new RegExp(`^(\\d+)*(${cC}|${uC})*(.*)`);var JE=(t,e)=>null;function Br(t,e){return JE(t,e)}var Hu=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),o=Math.max(e,r),i=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,i),this.attach(o,s)}else this.attach(n,i)}move(e,r){this.attach(r,this.detach(e))}};function za(t,e,r,n,o){return t===r&&Object.is(e,n)?1:Object.is(o(t,e),o(r,n))?-1:0}function XE(t,e,r){let n,o,i=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;i<=s&&i<=a;){let u=t.at(i),c=e[i],l=za(i,u,i,c,r);if(l!==0){l<0&&t.updateValue(i,c),i++;continue}let d=t.at(s),f=e[a],h=za(s,d,a,f,r);if(h!==0){h<0&&t.updateValue(s,f),s--,a--;continue}let p=r(i,u),M=r(s,d),C=r(i,c);if(Object.is(C,M)){let m=r(a,f);Object.is(m,p)?(t.swap(i,s),t.updateValue(s,f),a--,s--):t.move(s,i),t.updateValue(i,c),i++;continue}if(n??=new $i,o??=kf(t,i,s,r),zu(t,n,i,C))t.updateValue(i,c),i++,s++;else if(o.has(C))n.set(p,t.detach(i)),s--;else{let m=t.create(i,e[i]);t.attach(i,m),i++,s++}}for(;i<=a;)Ff(t,n,r,i,e[i]),i++}else if(e!=null){let a=e[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=t.at(i),l=u.value,d=za(i,c,i,l,r);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{n??=new $i,o??=kf(t,i,s,r);let f=r(i,l);if(zu(t,n,i,f))t.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))t.attach(i,t.create(i,l)),i++,s++,u=a.next();else{let h=r(i,c);n.set(h,t.detach(i)),s--}}}for(;!u.done;)Ff(t,n,r,t.length,u.value),u=a.next()}for(;i<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function zu(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function Ff(t,e,r,n,o){if(zu(t,e,n,r(n,o)))t.updateValue(n,o);else{let i=t.create(n,o);t.attach(n,i)}}function kf(t,e,r,n){let o=new Set;for(let i=e;i<=r;i++)o.add(n(i,t.at(i)));return o}var $i=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,r)}}};function ps(t,e,r,n){let o=e.tView,s=t[_]&4096?4096:16,a=ds(t,o,r,s,null,e,null,null,null,n?.injector??null,n?.dehydratedView??null),u=t[e.index];a[Zr]=u;let c=t[it];return c!==null&&(a[it]=c.createEmbeddedView(o)),qc(o,a,r),a}function ag(t,e){let r=ve+e;if(r<t.length)return t[r]}function Hr(t,e){return!e||e.firstChild===null||ep(t)}function gs(t,e,r,n=!0){let o=e[A];if(Aw(o,e,t,r),n){let s=lu(r,t),a=e[Z],u=Nc(a,t[un]);u!==null&&Tw(o,t[_e],a,e,u,s)}let i=e[Gn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ug(t,e){let r=jr(t,e);return r!==void 0&&os(r[A],r),r}var ht=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=eI;let t=e;return t})();function eI(){let t=ye();return lg(t,x())}var tI=ht,cg=class extends tI{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return or(this._hostTNode,this._hostLView)}get injector(){return new on(this._hostTNode,this._hostLView)}get parentInjector(){let e=wc(this._hostTNode,this._hostLView);if(Nh(e)){let r=Ti(e,this._hostLView),n=Si(e),o=r[A].data[n+8];return new on(o,r)}else return new on(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Lf(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-ve}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Br(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,Hr(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!HD(e),a;if(s)a=r;else{let p=r||{};a=p.index,n=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let u=s?e:new Xn(Ht(e)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let M=(s?c:this.parentInjector).get(Ce,null);M&&(i=M)}let l=Ht(u.componentType??{}),d=Br(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,Hr(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(aD(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[re],c=new cg(u,u[_e],u[re]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return gs(s,o,i,n),e.attachToViewContainerRef(),Uh(Wa(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Lf(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=jr(this._lContainer,r);n&&(Ai(Wa(this._lContainer),r),os(n[A],n))}detach(e){let r=this._adjustIndex(e,-1),n=jr(this._lContainer,r);return n&&Ai(Wa(this._lContainer),r)!=null?new hn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Lf(t){return t[Mi]}function Wa(t){return t[Mi]||(t[Mi]=[])}function lg(t,e){let r,n=e[t.index];return Ge(n)?r=n:(r=Lp(n,e,null,t),e[t.index]=r,fs(e,r)),rI(r,e,t,n),new cg(r,t,e)}function nI(t,e){let r=t[Z],n=r.createComment(""),o=Le(e,t),i=Nc(r,o);return Oi(r,i,n,kw(r,o),!1),n}var rI=sI,oI=(t,e,r)=>!1;function iI(t,e,r){return oI(t,e,r)}function sI(t,e,r,n){if(t[un])return;let o;r.type&8?o=at(n):o=nI(e,r),t[un]=o}function aI(t,e,r,n,o,i,s,a,u){let c=e.consts,l=ir(e,t,4,s||null,Qn(c,a));Bc(e,r,l,Qn(c,u)),Ji(e,l);let d=l.tView=Uc(2,l,n,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function Wu(t,e,r,n,o,i,s,a){let u=x(),c=Y(),l=t+he,d=c.firstCreatePass?aI(l,c,u,e,r,n,o,i,s):c.data[l];mn(d,!1);let f=uI(c,u,d,t);Qi()&&is(c,u,f,d),zt(f,u);let h=Lp(f,u,f,d);return u[l]=h,fs(u,h),iI(h,d,u),Yi(d)&&Vc(c,u,d),s!=null&&$c(u,d,a),Wu}var uI=cI;function cI(t,e,r,n){return Ki(!0),e[Z].createComment("")}function mk(t,e,r){yn("NgControlFlow");let n=x(),o=vn(),i=Yu(n,he+t),s=0;if(Se(n,o,e)){let a=se(null);try{if(ug(i,s),e!==-1){let u=Qu(n[A],he+e),c=Br(i,u.tView.ssrId),l=ps(n,u,r,{dehydratedView:c});gs(i,l,s,Hr(u,c))}}finally{se(a)}}else{let a=ag(i,s);a!==void 0&&(a[me]=r)}}var Gu=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-ve}};function vk(t,e){return e}var qu=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function yk(t,e,r,n,o,i,s,a,u,c,l){yn("NgControlFlow");let d=u!==void 0,f=x(),h=a?s.bind(f[Fe][me]):s,p=new qu(d,h);f[he+t]=p,Wu(t+1,e,r,n,o,i),d&&Wu(t+2,u,c,l)}var Zu=class extends Hu{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ve}at(e){return this.getLView(e)[me].$implicit}attach(e,r){let n=r[Gn];this.needsIndexUpdate||=e!==this.length,gs(this.lContainer,r,e,Hr(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,lI(this.lContainer,e)}create(e,r){let n=Br(this.lContainer,this.templateTNode.tView.ssrId);return ps(this.hostLView,this.templateTNode,new Gu(this.lContainer,r,e),{dehydratedView:n})}destroy(e){os(e[A],e)}updateValue(e,r){this.getLView(e)[me].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[me].$index=e}getLView(e){return dI(this.lContainer,e)}};function Dk(t){let e=se(null),r=xt();try{let n=x(),o=n[A],i=n[r];if(i.liveCollection===void 0){let a=r+1,u=Yu(n,a),c=Qu(o,a);i.liveCollection=new Zu(u,n,c)}else i.liveCollection.reset();let s=i.liveCollection;if(XE(s,t,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){let a=vn(),u=s.length===0;if(Se(n,a,u)){let c=r+2,l=Yu(n,c);if(u){let d=Qu(o,c),f=Br(l,d.tView.ssrId),h=ps(n,d,void 0,{dehydratedView:f});gs(l,h,0,Hr(d,f))}else ug(l,0)}}}finally{se(e)}}function Yu(t,e){return t[e]}function lI(t,e){return jr(t,e)}function dI(t,e){return ag(t,e)}function Qu(t,e){return lc(t,e)}function fI(t,e,r,n,o,i){let s=e.consts,a=Qn(s,o),u=ir(e,t,2,n,a);return Bc(e,r,u,Qn(s,i)),u.attrs!==null&&Li(u,u.attrs,!1),u.mergedAttrs!==null&&Li(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function dg(t,e,r,n){let o=x(),i=Y(),s=he+t,a=o[Z],u=i.firstCreatePass?fI(s,i,o,e,r,n):i.data[s],c=hI(i,o,u,a,e,t);o[s]=c;let l=Yi(u);return mn(u,!0),hp(a,c,u),(u.flags&32)!==32&&Qi()&&is(i,o,c,u),dD()===0&&zt(c,o),fD(),l&&(Vc(i,o,u),jc(i,u,o)),n!==null&&$c(o,u),dg}function fg(){let t=ye();hc()?pc():(t=t.parent,mn(t,!1));let e=t;pD(e)&&gD(),hD();let r=Y();return r.firstCreatePass&&(Ji(r,t),cc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&AD(e)&&Bu(r,e,x(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&ND(e)&&Bu(r,e,x(),e.stylesWithoutHost,!1),fg}function Kc(t,e,r,n){return dg(t,e,r,n),fg(),Kc}var hI=(t,e,r,n,o,i)=>(Ki(!0),ip(n,o,SD()));function pI(t,e,r,n,o){let i=e.consts,s=Qn(i,n),a=ir(e,t,8,"ng-container",s);s!==null&&Li(a,s,!0);let u=Qn(i,o);return Bc(e,r,a,u),e.queries!==null&&e.queries.elementStart(e,a),a}function hg(t,e,r){let n=x(),o=Y(),i=t+he,s=o.firstCreatePass?pI(i,o,n,e,r):o.data[i];mn(s,!0);let a=mI(o,n,s,t);return n[i]=a,Qi()&&is(o,n,a,s),zt(a,n),Yi(s)&&(Vc(o,n,s),jc(o,s,n)),r!=null&&$c(n,s),hg}function pg(){let t=ye(),e=Y();return hc()?pc():(t=t.parent,mn(t,!1)),e.firstCreatePass&&(Ji(e,t),cc(t)&&e.queries.elementEnd(t)),pg}function gI(t,e,r){return hg(t,e,r),pg(),gI}var mI=(t,e,r,n)=>(Ki(!0),Mw(e[Z],""));function wk(){return x()}function vI(t,e,r){let n=x(),o=vn();if(Se(n,o,e)){let i=Y(),s=rr();Xr(i,s,n,t,e,n[Z],r,!0)}return vI}function yI(t,e,r){let n=x(),o=vn();if(Se(n,o,e)){let i=Y(),s=rr(),a=mc(i.data),u=Up(a,s,n);Xr(i,s,n,t,e,u,r,!0)}return yI}var rn=void 0;function DI(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var wI=["en",[["a","p"],["AM","PM"],rn],[["AM","PM"],rn,rn],[["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"]],rn,[["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"]],rn,[["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}",rn,"{1} 'at' {0}",rn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",DI],Ga={};function Re(t){let e=CI(t),r=jf(e);if(r)return r;let n=e.split("-")[0];if(r=jf(n),r)return r;if(n==="en")return wI;throw new v(701,!1)}function jf(t){return t in Ga||(Ga[t]=X.ng&&X.ng.common&&X.ng.common.locales&&X.ng.common.locales[t]),Ga[t]}var J=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(J||{});function CI(t){return t.toLowerCase().replace(/_/g,"-")}var Ui="en-US";var EI=Ui;function II(t){by(t,"Expected localeId to be defined"),typeof t=="string"&&(EI=t.toLowerCase().replace(/_/g,"-"))}function ur(t){return!!t&&typeof t.then=="function"}function Jc(t){return!!t&&typeof t.subscribe=="function"}function Xc(t,e,r,n){let o=x(),i=Y(),s=ye();return gg(i,o,o[Z],s,t,e,n),Xc}function bI(t,e){let r=ye(),n=x(),o=Y(),i=mc(o.data),s=Up(i,r,n);return gg(o,n,s,r,t,e),bI}function MI(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===r&&o[i+1]===n){let a=e[Pr],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function gg(t,e,r,n,o,i,s){let a=Yi(n),c=t.firstCreatePass&&$p(t),l=e[me],d=Vp(e),f=!0;if(n.type&3||s){let M=Le(n,e),C=s?s(M):M,m=d.length,j=s?U=>s(at(U[n.index])):n.index,De=null;if(!s&&a&&(De=MI(t,e,o,n.index)),De!==null){let U=De.__ngLastListenerFn__||De;U.__ngNextListenerFn__=i,De.__ngLastListenerFn__=i,f=!1}else{i=$f(n,e,l,i,!1);let U=r.listen(C,o,i);d.push(i,U),c&&c.push(o,j,m,m+1)}}else i=$f(n,e,l,i,!1);let h=n.outputs,p;if(f&&h!==null&&(p=h[o])){let M=p.length;if(M)for(let C=0;C<M;C+=2){let m=p[C],j=p[C+1],ce=e[m][j].subscribe(i),Ue=d.length;d.push(i,ce),c&&c.push(o,n.index,Ue,-(Ue+1))}}}function Vf(t,e,r,n){try{return rt(6,e,r),r(n)!==!1}catch(o){return Bp(t,o),!1}finally{rt(7,e,r)}}function $f(t,e,r,n,o){return function i(s){if(s===Function)return n;let a=t.componentOffset>-1?Wt(t.index,e):e;zc(a);let u=Vf(e,r,n,s),c=i.__ngNextListenerFn__;for(;c;)u=Vf(e,r,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Ck(t=1){return bD(t)}function SI(t,e){let r=null,n=By(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){r=o;continue}if(n===null?rh(t,i,!0):Wy(n,i))return o}return r}function Ek(t){let e=x()[Fe][_e];if(!e.projection){let r=t?t.length:1,n=e.projection=Bh(r,null),o=n.slice(),i=e.child;for(;i!==null;){let s=t?SI(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i),i=i.next}}}function Ik(t,e=0,r){let n=x(),o=Y(),i=ir(o,he+t,16,null,r||null);i.projection===null&&(i.projection=e),pc(),(!n[Gn]||Ch())&&(i.flags&32)!==32&&$w(o,n,i)}function TI(t,e,r){return mg(t,"",e,"",r),TI}function mg(t,e,r,n,o){let i=x(),s=Yc(i,e,r,n);if(s!==Te){let a=Y(),u=rr();Xr(a,u,i,t,s,i[Z],o,!1)}return mg}function xI(t,e,r,n,o,i,s){let a=x(),u=Kp(a,e,r,n,o,i);if(u!==Te){let c=Y(),l=rr();Xr(c,l,a,t,u,a[Z],s,!1)}return xI}function _I(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function bk(t){let e=vD();return dc(e,he+t)}function Mk(t,e=""){let r=x(),n=Y(),o=t+he,i=n.firstCreatePass?ir(n,o,1,e,null):n.data[o],s=AI(n,r,i,e,t);r[o]=s,Qi()&&is(n,r,s,i),mn(i,!1)}var AI=(t,e,r,n,o)=>(Ki(!0),Iw(e[Z],n));function NI(t){return vg("",t,""),NI}function vg(t,e,r){let n=x(),o=Yc(n,t,e,r);return o!==Te&&Hp(n,xt(),o),vg}function RI(t,e,r,n,o){let i=x(),s=Kp(i,t,e,r,n,o);return s!==Te&&Hp(i,xt(),s),RI}function OI(t,e,r){let n=Y();if(n.firstCreatePass){let o=Et(t);Ku(r,n.data,n.blueprint,o,!0),Ku(e,n.data,n.blueprint,o,!1)}}function Ku(t,e,r,n,o){if(t=we(t),Array.isArray(t))for(let i=0;i<t.length;i++)Ku(t[i],e,r,n,o);else{let i=Y(),s=x(),a=ye(),u=Jn(t)?t:we(t.provide),c=Zh(t),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Jn(t)||!t.multi){let h=new dn(c,o,L),p=Za(u,e,o?l:l+f,d);p===-1?(ou(_i(a,s),i,u),qa(i,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[p]=h,s[p]=h)}else{let h=Za(u,e,l+f,d),p=Za(u,e,l,l+f),M=h>=0&&r[h],C=p>=0&&r[p];if(o&&!C||!o&&!M){ou(_i(a,s),i,u);let m=kI(o?FI:PI,r.length,o,n,c);!o&&C&&(r[p].providerFactory=m),qa(i,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(m),s.push(m)}else{let m=yg(r[o?p:h],c,!o&&n);qa(i,t,h>-1?h:p,m)}!o&&n&&C&&r[p].componentProviders++}}}function qa(t,e,r,n){let o=Jn(e),i=ow(e);if(o||i){let u=(i?we(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=c.indexOf(r);l===-1?c.push(r,[n,u]):c[l+1].push(n,u)}else c.push(r,u)}}}function yg(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Za(t,e,r,n){for(let o=r;o<n;o++)if(e[o]===t)return o;return-1}function PI(t,e,r,n){return Ju(this.multi,[])}function FI(t,e,r,n){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=fn(r,r[A],this.providerFactory.index,n);i=a.slice(0,s),Ju(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],Ju(o,i);return i}function Ju(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function kI(t,e,r,n,o){let i=new dn(t,r,L);return i.multi=[],i.index=e,i.componentProviders=0,yg(i,o,n&&!r),i}function Sk(t,e=[]){return r=>{r.providersResolver=(n,o)=>OI(n,o?o(t):t,e)}}var bt=class{},zr=class{};function Dg(t,e){return new Wr(t,e??null,[])}var Wr=class extends bt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ji(this);let o=uh(e);this._bootstrapComponents=Xh(o.bootstrap),this._r3Injector=Yh(e,r,[{provide:bt,useValue:this},{provide:us,useValue:this.componentFactoryResolver},...n],ge(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Bi=class extends zr{constructor(e){super(),this.moduleType=e}create(e){return new Wr(this.moduleType,e,[])}};function LI(t,e,r){return new Wr(t,e,r)}var Xu=class extends bt{constructor(e){super(),this.componentFactoryResolver=new ji(this),this.instance=null;let r=new Lr([...e.providers,{provide:bt,useValue:this},{provide:us,useValue:this.componentFactoryResolver}],e.parent||Mc(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function ms(t,e,r=null){return new Xu({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var jI=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Wh(!1,n.type),i=o.length>0?ms([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(y(Ce))});let t=e;return t})();function wg(t){yn("NgStandalone"),t.getStandaloneInjector=e=>e.get(jI).getOrCreateStandaloneInjector(t)}function Tk(t,e,r){let n=Gt()+t,o=x();return o[n]===Te?ar(o,n,r?e.call(r):e()):Yp(o,n)}function xk(t,e,r,n){return Cg(x(),Gt(),t,e,r,n)}function _k(t,e,r,n,o){return Eg(x(),Gt(),t,e,r,n,o)}function Ak(t,e,r,n,o,i){return VI(x(),Gt(),t,e,r,n,o,i)}function Nk(t,e,r,n,o,i,s){return $I(x(),Gt(),t,e,r,n,o,i,s)}function Rk(t,e,r,n,o,i,s,a){let u=Gt()+t,c=x(),l=Qp(c,u,r,n,o,i);return Se(c,u+4,s)||l?ar(c,u+5,a?e.call(a,r,n,o,i,s):e(r,n,o,i,s)):Yp(c,u+5)}function vs(t,e){let r=t[e];return r===Te?void 0:r}function Cg(t,e,r,n,o,i){let s=e+r;return Se(t,s,o)?ar(t,s+1,i?n.call(i,o):n(o)):vs(t,s+1)}function Eg(t,e,r,n,o,i,s){let a=e+r;return $r(t,a,o,i)?ar(t,a+2,s?n.call(s,o,i):n(o,i)):vs(t,a+2)}function VI(t,e,r,n,o,i,s,a){let u=e+r;return NE(t,u,o,i,s)?ar(t,u+3,a?n.call(a,o,i,s):n(o,i,s)):vs(t,u+3)}function $I(t,e,r,n,o,i,s,a,u){let c=e+r;return Qp(t,c,o,i,s,a)?ar(t,c+4,u?n.call(u,o,i,s,a):n(o,i,s,a)):vs(t,c+4)}function Ok(t,e){let r=Y(),n,o=t+he;r.firstCreatePass?(n=UI(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=cn(n.type,!0)),s,a=be(L);try{let u=xi(!1),c=i();return xi(u),_I(r,x(),o,c),c}finally{be(a)}}function UI(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function Pk(t,e,r){let n=t+he,o=x(),i=dc(o,n);return Ig(o,n)?Cg(o,Gt(),e,i.transform,r,i):i.transform(r)}function Fk(t,e,r,n){let o=t+he,i=x(),s=dc(i,o);return Ig(i,o)?Eg(i,Gt(),e,s.transform,r,n,s):s.transform(r,n)}function Ig(t,e){return t[A].data[e].pure}function BI(){return this._results[Symbol.iterator]()}var ec=class t{get changes(){return this._changes??=new fe}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=BI)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=WD(e);(this._changesDetected=!zD(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},gn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=WI;let t=e;return t})(),HI=gn,zI=class extends HI{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=ps(this._declarationLView,this._declarationTContainer,e,{injector:r,dehydratedView:n});return new hn(o)}};function WI(){return ys(ye(),x())}function ys(t,e){return t.type&4?new zI(e,t,or(t,e)):null}var tc=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},nc=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,o=[];for(let i=0;i<n;i++){let s=r.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let r=0;r<this.queries.length;r++)Ag(e,r).matches!==null&&this.queries[r].setDirty()}},Hi=class{constructor(e,r,n=null){this.predicate=e,this.flags=r,this.read=n}},rc=class t{constructor(e=[]){this.queries=e}elementStart(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,r)}elementEnd(e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(e)}embeddedTView(e){let r=null;for(let n=0;n<this.length;n++){let o=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(e,o);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new t(r):null}template(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,r)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},oc=class t{constructor(e,r=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(e,r){this.isApplyingToNode(r)&&this.matchTNode(e,r)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,r){this.elementStart(e,r)}embeddedTView(e,r){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,r),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let i=n[o];this.matchTNodeWithReadOption(e,r,GI(r,i)),this.matchTNodeWithReadOption(e,r,Di(r,e,i,!1,!1))}else n===gn?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,Di(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===je||o===ht||o===gn&&r.type&4)this.addMatch(r.index,-2);else{let i=Di(r,e,o,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(e,r){this.matches===null?this.matches=[e,r]:this.matches.push(e,r)}};function GI(t,e){let r=t.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===e)return r[n+1]}return null}function qI(t,e){return t.type&11?or(t,e):t.type&4?ys(t,e):null}function ZI(t,e,r,n){return r===-1?qI(e,t):r===-2?YI(t,e,n):fn(t,t[A],r,e)}function YI(t,e,r){if(r===je)return or(e,t);if(r===gn)return ys(e,t);if(r===ht)return lg(e,t)}function bg(t,e,r,n){let o=e[it].queries[n];if(o.matches===null){let i=t.data,s=r.matches,a=[];for(let u=0;u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(ZI(e,l,s[u+1],r.metadata.read))}}o.matches=a}return o.matches}function ic(t,e,r,n){let o=t.queries.getByIndex(r),i=o.matches;if(i!==null){let s=bg(t,e,o,r);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)n.push(s[a/2]);else{let c=i[a+1],l=e[-u];for(let d=ve;d<l.length;d++){let f=l[d];f[Zr]===f[re]&&ic(f[A],f,c,n)}if(l[Zn]!==null){let d=l[Zn];for(let f=0;f<d.length;f++){let h=d[f];ic(h[A],h,c,n)}}}}}return n}function Mg(t){let e=x(),r=Y(),n=Ih();vc(n+1);let o=Ag(r,n);if(t.dirty&&sD(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=o.crossesNgTemplate?ic(r,e,n,[]):bg(r,e,o,n);t.reset(i,pC),t.notifyOnChanges()}return!0}return!1}function Lk(t,e,r){let n=Y();n.firstCreatePass&&(_g(n,new Hi(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),xg(n,x(),e)}function Sg(t,e,r,n){let o=Y();if(o.firstCreatePass){let i=ye();_g(o,new Hi(e,r,n),i.index),KI(o,t),(r&2)===2&&(o.staticContentQueries=!0)}xg(o,x(),r)}function Tg(){return QI(x(),Ih())}function QI(t,e){return t[it].queries[e].queryList}function xg(t,e,r){let n=new ec((r&4)===4);RC(t,e,n,n.destroy),e[it]===null&&(e[it]=new nc),e[it].queries.push(new tc(n))}function _g(t,e,r){t.queries===null&&(t.queries=new rc),t.queries.track(new oc(e,r))}function KI(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function Ag(t,e){return t.queries.getByIndex(e)}function jk(t,e){return ys(t,e)}var mi=null;function JI(t){mi!==null&&(t.defaultEncapsulation!==mi.defaultEncapsulation||t.preserveWhitespaces!==mi.preserveWhitespaces)||(mi=t)}var tr=class{constructor(e){this.full=e;let r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}},Vk=new tr("17.0.8");var Ds=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),sc=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},ws=(()=>{let e=class e{compileModuleSync(n){return new Bi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=uh(n),s=Xh(i.declarations).reduce((a,u)=>{let c=Ht(u);return c&&a.push(new Xn(c)),a},[]);return new sc(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),XI=new E("compilerOptions");var Dn=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new de(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var el=new E(""),eo=new E(""),Cs=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,tl||(eb(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(y(H),y(Es),y(eo))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Es=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return tl?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function eb(t){tl=t}var tl,Is=new E("Application Initializer"),Ng=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=g(Is,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(ur(s))n.push(s);else if(Jc(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),bs=new E("appBootstrapListener");function tb(t,e,r){let n=new Bi(r);return Promise.resolve(n)}function nb(){Jd(()=>{throw new v(600,!1)})}function rb(t){return t.isBoundToModule}function ob(t,e,r){try{let n=r();return ur(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Rg(t,e){return Array.isArray(e)?e.reduce(Rg,t):D(D({},t),e)}var wn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(Tp),this.componentTypes=[],this.components=[],this.isStable=g(Dn).hasPendingTasks.pipe(O(n=>!n)),this._injector=g(Ce)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof Pi;if(!this._injector.get(Ng).done){let p="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&ah(n)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new v(405,!1)}let a;i?a=n:a=this._injector.get(us).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=rb(a)?void 0:this._injector.get(bt),c=o||a.selector,l=a.create(Ae.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(el,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ei(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new v(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Ei(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(bs,[]);[...this._bootstrapListeners,...o].forEach(i=>i(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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ei(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Ei(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Uf(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var ib=(()=>{let e=class e{constructor(){this.zone=g(H),this.applicationRef=g(wn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function sb(t){return[{provide:H,useFactory:t},{provide:Kn,multi:!0,useFactory:()=>{let e=g(ib,{optional:!0});return()=>e.initialize()}},{provide:Kn,multi:!0,useFactory:()=>{let e=g(cb);return()=>{e.initialize()}}},{provide:Tp,useFactory:ab}]}function ab(){let t=g(H),e=g(ct);return r=>t.runOutsideAngular(()=>e.handleError(r))}function ub(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var cb=(()=>{let e=class e{constructor(){this.subscription=new Q,this.initialized=!1,this.zone=g(H),this.pendingTasks=g(Dn)}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(()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{H.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function lb(){return typeof $localize<"u"&&$localize.locale||Ui}var to=new E("LocaleId",{providedIn:"root",factory:()=>g(to,F.Optional|F.SkipSelf)||lb()});var Og=new E("PlatformDestroyListeners"),Pg=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=fE(o?.ngZone,ub({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=LI(n.moduleType,this.injector,sb(()=>i)),a=s.injector.get(ct,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Ei(this._modules,s),u.unsubscribe()})}),ob(a,i,()=>{let u=s.injector.get(Ng);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(to,Ui);return II(c||Ui),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,o=[]){let i=Rg({},o);return tb(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(wn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(Og,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(y(Ae))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),Nr=null,Fg=new E("AllowMultipleToken");function db(t){if(Nr&&!Nr.get(Fg,!1))throw new v(400,!1);nb(),Nr=t;let e=t.get(Pg);return pb(t),e}function nl(t,e,r=[]){let n=`Platform: ${e}`,o=new E(n);return(i=[])=>{let s=kg();if(!s||s.injector.get(Fg,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):db(fb(a,n))}return hb(o)}}function fb(t=[],e){return Ae.create({name:e,providers:[{provide:ns,useValue:"platform"},{provide:Og,useValue:new Set([()=>Nr=null])},...t]})}function hb(t){let e=kg();if(!e)throw new v(401,!1);return e}function kg(){return Nr?.get(Pg)??null}function pb(t){t.get(Sc,null)?.forEach(r=>r())}function $k(){return!1}var Lg=nl(null,"core",[]),jg=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(y(wn))},e.\u0275mod=St({type:e}),e.\u0275inj=Mt({});let t=e;return t})();function Zt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function rl(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function Vg(t){let e=Ht(t);if(!e)return null;let r=new Xn(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var ll=null;function Cn(){return ll}function Zg(t){ll||(ll=t)}var Os=class{},ie=new E("DocumentToken"),ml=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>g(gb))(),providedIn:"platform"});let t=e;return t})(),Yg=new E("Location Initialized"),gb=(()=>{let e=class e extends ml{constructor(){super(),this._doc=g(ie),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Cn().getBaseHref(this._doc)}onPopState(n){let o=Cn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Cn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.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,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function vl(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function $g(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Rt(t){return t&&t[0]!=="?"?"?"+t:t}var Ft=(()=>{let e=class e{historyGo(n){throw new Error("Not implemented")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>g(yl))(),providedIn:"root"});let t=e;return t})(),Qg=new E("appBaseHref"),yl=(()=>{let e=class e extends Ft{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??g(ie).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 vl(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+Rt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Rt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Rt(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(y(ml),y(Qg,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kg=(()=>{let e=class e extends Ft{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}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 o=this._platformLocation.hash;return o==null&&(o="#"),o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=vl(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Rt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Rt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(y(ml),y(Qg,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),lr=(()=>{let e=class e{constructor(n){this._subject=new fe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=yb($g(Ug(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+Rt(o))}normalize(n){return e.stripTrailingSlash(vb(this._basePath,Ug(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Rt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Rt(o)),i)}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._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=Rt,e.joinWithSlash=vl,e.stripTrailingSlash=$g,e.\u0275fac=function(o){return new(o||e)(y(Ft))},e.\u0275prov=w({token:e,factory:()=>mb(),providedIn:"root"});let t=e;return t})();function mb(){return new lr(y(Ft))}function vb(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Ug(t){return t.replace(/\/index.html$/,"")}function yb(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var Jg=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Jg||{});var Ee=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Ee||{}),W=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(W||{}),Oe=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Oe||{}),xe=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t.Infinity=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(xe||{});function Db(t){return Re(t)[J.LocaleId]}function wb(t,e,r){let n=Re(t),o=[n[J.DayPeriodsFormat],n[J.DayPeriodsStandalone]],i=Ve(o,e);return Ve(i,r)}function Cb(t,e,r){let n=Re(t),o=[n[J.DaysFormat],n[J.DaysStandalone]],i=Ve(o,e);return Ve(i,r)}function Eb(t,e,r){let n=Re(t),o=[n[J.MonthsFormat],n[J.MonthsStandalone]],i=Ve(o,e);return Ve(i,r)}function Ib(t,e){let n=Re(t)[J.Eras];return Ve(n,e)}function Ss(t,e){let r=Re(t);return Ve(r[J.DateFormat],e)}function Ts(t,e){let r=Re(t);return Ve(r[J.TimeFormat],e)}function xs(t,e){let n=Re(t)[J.DateTimeFormat];return Ve(n,e)}function Ot(t,e){let r=Re(t),n=r[J.NumberSymbols][e];if(typeof n>"u"){if(e===xe.CurrencyDecimal)return r[J.NumberSymbols][xe.Decimal];if(e===xe.CurrencyGroup)return r[J.NumberSymbols][xe.Group]}return n}function bb(t,e){return Re(t)[J.NumberFormats][e]}function Xg(t){if(!t[J.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[J.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Mb(t){let e=Re(t);return Xg(e),(e[J.ExtraData][2]||[]).map(n=>typeof n=="string"?ol(n):[ol(n[0]),ol(n[1])])}function Sb(t,e,r){let n=Re(t);Xg(n);let o=[n[J.ExtraData][0],n[J.ExtraData][1]],i=Ve(o,e)||[];return Ve(i,r)||[]}function Ve(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function ol(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var Tb=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,no={},xb=/((?:[^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]*)/,Pt=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Pt||{}),$=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}($||{}),V=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(V||{});function _b(t,e,r,n){let o=jb(t);e=Nt(r,e)||e;let s=[],a;for(;e;)if(a=xb.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let u=o.getTimezoneOffset();n&&(u=tm(n,u),o=Lb(o,n,!0));let c="";return s.forEach(l=>{let d=Fb(l);c+=d?d(o,r,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Ps(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function Nt(t,e){let r=Db(t);if(no[r]=no[r]||{},no[r][e])return no[r][e];let n="";switch(e){case"shortDate":n=Ss(t,Oe.Short);break;case"mediumDate":n=Ss(t,Oe.Medium);break;case"longDate":n=Ss(t,Oe.Long);break;case"fullDate":n=Ss(t,Oe.Full);break;case"shortTime":n=Ts(t,Oe.Short);break;case"mediumTime":n=Ts(t,Oe.Medium);break;case"longTime":n=Ts(t,Oe.Long);break;case"fullTime":n=Ts(t,Oe.Full);break;case"short":let o=Nt(t,"shortTime"),i=Nt(t,"shortDate");n=_s(xs(t,Oe.Short),[o,i]);break;case"medium":let s=Nt(t,"mediumTime"),a=Nt(t,"mediumDate");n=_s(xs(t,Oe.Medium),[s,a]);break;case"long":let u=Nt(t,"longTime"),c=Nt(t,"longDate");n=_s(xs(t,Oe.Long),[u,c]);break;case"full":let l=Nt(t,"fullTime"),d=Nt(t,"fullDate");n=_s(xs(t,Oe.Full),[l,d]);break}return n&&(no[r][e]=n),n}function _s(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function Ze(t,e,r="-",n,o){let i="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,i=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),i+s}function Ab(t,e){return Ze(t,3).substring(0,e)}function oe(t,e,r=0,n=!1,o=!1){return function(i,s){let a=Nb(t,i);if((r>0||a>-r)&&(a+=r),t===$.Hours)a===0&&r===-12&&(a=12);else if(t===$.FractionalSeconds)return Ab(a,e);let u=Ot(s,xe.MinusSign);return Ze(a,e,u,n,o)}}function Nb(t,e){switch(t){case $.FullYear:return e.getFullYear();case $.Month:return e.getMonth();case $.Date:return e.getDate();case $.Hours:return e.getHours();case $.Minutes:return e.getMinutes();case $.Seconds:return e.getSeconds();case $.FractionalSeconds:return e.getMilliseconds();case $.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function q(t,e,r=Ee.Format,n=!1){return function(o,i){return Rb(o,i,t,e,r,n)}}function Rb(t,e,r,n,o,i){switch(r){case V.Months:return Eb(e,o,n)[t.getMonth()];case V.Days:return Cb(e,o,n)[t.getDay()];case V.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let c=Mb(e),l=Sb(e,o,n),d=c.findIndex(f=>{if(Array.isArray(f)){let[h,p]=f,M=s>=h.hours&&a>=h.minutes,C=s<p.hours||s===p.hours&&a<p.minutes;if(h.hours<p.hours){if(M&&C)return!0}else if(M||C)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return wb(e,o,n)[s<12?0:1];case V.Eras:return Ib(e,n)[t.getFullYear()<=0?0:1];default:let u=r;throw new Error(`unexpected translation type ${u}`)}}function As(t){return function(e,r,n){let o=-1*n,i=Ot(r,xe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Pt.Short:return(o>=0?"+":"")+Ze(s,2,i)+Ze(Math.abs(o%60),2,i);case Pt.ShortGMT:return"GMT"+(o>=0?"+":"")+Ze(s,1,i);case Pt.Long:return"GMT"+(o>=0?"+":"")+Ze(s,2,i)+":"+Ze(Math.abs(o%60),2,i);case Pt.Extended:return n===0?"Z":(o>=0?"+":"")+Ze(s,2,i)+":"+Ze(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var Ob=0,Rs=4;function Pb(t){let e=Ps(t,Ob,1).getDay();return Ps(t,0,1+(e<=Rs?Rs:Rs+7)-e)}function em(t){return Ps(t.getFullYear(),t.getMonth(),t.getDate()+(Rs-t.getDay()))}function il(t,e=!1){return function(r,n){let o;if(e){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();o=1+Math.floor((s+i)/7)}else{let i=em(r),s=Pb(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ze(o,t,Ot(n,xe.MinusSign))}}function Ns(t,e=!1){return function(r,n){let i=em(r).getFullYear();return Ze(i,t,Ot(n,xe.MinusSign),e)}}var sl={};function Fb(t){if(sl[t])return sl[t];let e;switch(t){case"G":case"GG":case"GGG":e=q(V.Eras,W.Abbreviated);break;case"GGGG":e=q(V.Eras,W.Wide);break;case"GGGGG":e=q(V.Eras,W.Narrow);break;case"y":e=oe($.FullYear,1,0,!1,!0);break;case"yy":e=oe($.FullYear,2,0,!0,!0);break;case"yyy":e=oe($.FullYear,3,0,!1,!0);break;case"yyyy":e=oe($.FullYear,4,0,!1,!0);break;case"Y":e=Ns(1);break;case"YY":e=Ns(2,!0);break;case"YYY":e=Ns(3);break;case"YYYY":e=Ns(4);break;case"M":case"L":e=oe($.Month,1,1);break;case"MM":case"LL":e=oe($.Month,2,1);break;case"MMM":e=q(V.Months,W.Abbreviated);break;case"MMMM":e=q(V.Months,W.Wide);break;case"MMMMM":e=q(V.Months,W.Narrow);break;case"LLL":e=q(V.Months,W.Abbreviated,Ee.Standalone);break;case"LLLL":e=q(V.Months,W.Wide,Ee.Standalone);break;case"LLLLL":e=q(V.Months,W.Narrow,Ee.Standalone);break;case"w":e=il(1);break;case"ww":e=il(2);break;case"W":e=il(1,!0);break;case"d":e=oe($.Date,1);break;case"dd":e=oe($.Date,2);break;case"c":case"cc":e=oe($.Day,1);break;case"ccc":e=q(V.Days,W.Abbreviated,Ee.Standalone);break;case"cccc":e=q(V.Days,W.Wide,Ee.Standalone);break;case"ccccc":e=q(V.Days,W.Narrow,Ee.Standalone);break;case"cccccc":e=q(V.Days,W.Short,Ee.Standalone);break;case"E":case"EE":case"EEE":e=q(V.Days,W.Abbreviated);break;case"EEEE":e=q(V.Days,W.Wide);break;case"EEEEE":e=q(V.Days,W.Narrow);break;case"EEEEEE":e=q(V.Days,W.Short);break;case"a":case"aa":case"aaa":e=q(V.DayPeriods,W.Abbreviated);break;case"aaaa":e=q(V.DayPeriods,W.Wide);break;case"aaaaa":e=q(V.DayPeriods,W.Narrow);break;case"b":case"bb":case"bbb":e=q(V.DayPeriods,W.Abbreviated,Ee.Standalone,!0);break;case"bbbb":e=q(V.DayPeriods,W.Wide,Ee.Standalone,!0);break;case"bbbbb":e=q(V.DayPeriods,W.Narrow,Ee.Standalone,!0);break;case"B":case"BB":case"BBB":e=q(V.DayPeriods,W.Abbreviated,Ee.Format,!0);break;case"BBBB":e=q(V.DayPeriods,W.Wide,Ee.Format,!0);break;case"BBBBB":e=q(V.DayPeriods,W.Narrow,Ee.Format,!0);break;case"h":e=oe($.Hours,1,-12);break;case"hh":e=oe($.Hours,2,-12);break;case"H":e=oe($.Hours,1);break;case"HH":e=oe($.Hours,2);break;case"m":e=oe($.Minutes,1);break;case"mm":e=oe($.Minutes,2);break;case"s":e=oe($.Seconds,1);break;case"ss":e=oe($.Seconds,2);break;case"S":e=oe($.FractionalSeconds,1);break;case"SS":e=oe($.FractionalSeconds,2);break;case"SSS":e=oe($.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=As(Pt.Short);break;case"ZZZZZ":e=As(Pt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=As(Pt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=As(Pt.Long);break;default:return null}return sl[t]=e,e}function tm(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function kb(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function Lb(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=tm(e,o);return kb(t,n*(i-o))}function jb(t){if(Bg(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[o,i=1,s=1]=t.split("-").map(a=>+a);return Ps(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(Tb))return Vb(n)}let e=new Date(t);if(!Bg(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function Vb(t){let e=new Date(0),r=0,n=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(e,s,a,u,c),e}function Bg(t){return t instanceof Date&&!isNaN(t.valueOf())}var $b=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Hg=22,Fs=".",ro="0",Ub=";",Bb=",",al="#";function Hb(t,e,r,n,o,i,s=!1){let a="",u=!1;if(!isFinite(t))a=Ot(r,xe.Infinity);else{let c=qb(t);s&&(c=Gb(c));let l=e.minInt,d=e.minFrac,f=e.maxFrac;if(i){let j=i.match($b);if(j===null)throw new Error(`${i} is not a valid digit info`);let De=j[1],U=j[3],ce=j[5];De!=null&&(l=ul(De)),U!=null&&(d=ul(U)),ce!=null?f=ul(ce):U!=null&&d>f&&(f=d)}Zb(c,d,f);let h=c.digits,p=c.integerLen,M=c.exponent,C=[];for(u=h.every(j=>!j);p<l;p++)h.unshift(0);for(;p<0;p++)h.unshift(0);p>0?C=h.splice(p,h.length):(C=h,h=[0]);let m=[];for(h.length>=e.lgSize&&m.unshift(h.splice(-e.lgSize,h.length).join(""));h.length>e.gSize;)m.unshift(h.splice(-e.gSize,h.length).join(""));h.length&&m.unshift(h.join("")),a=m.join(Ot(r,n)),C.length&&(a+=Ot(r,o)+C.join("")),M&&(a+=Ot(r,xe.Exponential)+"+"+M)}return t<0&&!u?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function zb(t,e,r){let n=bb(e,Jg.Decimal),o=Wb(n,Ot(e,xe.MinusSign));return Hb(t,o,e,xe.Group,xe.Decimal,r)}function Wb(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(Ub),o=n[0],i=n[1],s=o.indexOf(Fs)!==-1?o.split(Fs):[o.substring(0,o.lastIndexOf(ro)+1),o.substring(o.lastIndexOf(ro)+1)],a=s[0],u=s[1]||"";r.posPre=a.substring(0,a.indexOf(al));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===ro?r.minFrac=r.maxFrac=l+1:d===al?r.maxFrac=l+1:r.posSuf+=d}let c=a.split(Bb);if(r.gSize=c[1]?c[1].length:0,r.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){let l=o.length-r.posPre.length-r.posSuf.length,d=i.indexOf(al);r.negPre=i.substring(0,d).replace(/'/g,""),r.negSuf=i.slice(d+l).replace(/'/g,"")}else r.negPre=e+r.posPre,r.negSuf=r.posSuf;return r}function Gb(t){if(t.digits[0]===0)return t;let e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(e===0?t.digits.push(0,0):e===1&&t.digits.push(0),t.integerLen+=2),t}function qb(t){let e=Math.abs(t)+"",r=0,n,o,i,s,a;for((o=e.indexOf(Fs))>-1&&(e=e.replace(Fs,"")),(i=e.search(/e/i))>0?(o<0&&(o=i),o+=+e.slice(i+1),e=e.substring(0,i)):o<0&&(o=e.length),i=0;e.charAt(i)===ro;i++);if(i===(a=e.length))n=[0],o=1;else{for(a--;e.charAt(a)===ro;)a--;for(o-=i,n=[],s=0;i<=a;i++,s++)n[s]=Number(e.charAt(i))}return o>Hg&&(n=n.splice(0,Hg-1),r=o-1,o=1),{digits:n,exponent:r,integerLen:o}}function Zb(t,e,r){if(e>r)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${r}).`);let n=t.digits,o=n.length-t.integerLen,i=Math.min(Math.max(e,o),r),s=i+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d<n.length;d++)n[d]=0}else{o=Math.max(0,o),t.integerLen=1,n.length=Math.max(1,s=i+1),n[0]=0;for(let d=1;d<s;d++)n[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;o<Math.max(0,i);o++)n.push(0);let u=i!==0,c=e+t.integerLen,l=n.reduceRight(function(d,f,h,p){return f=f+d,p[h]=f<10?f:f-10,u&&(p[h]===0&&h>=c?p.pop():u=!1),f>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function ul(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function ks(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var cl=/\s+/,zg=[],n1=(()=>{let e=class e{constructor(n,o,i,s){this._iterableDiffers=n,this._keyValueDiffers=o,this._ngEl=i,this._renderer=s,this.initialClasses=zg,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(cl):zg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(cl):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],i=n[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(cl).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(L(cs),L(ls),L(je),L(qt))},e.\u0275dir=ke({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),r1=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0||n.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let o=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Dg(this.ngComponentOutletNgModule,Wg(o)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Wg(o)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:o,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(n){for(let[o,i]of this._inputsUsed)i?(n.setInput(o,this.ngComponentOutletInputs[o]),this._inputsUsed.set(o,!1)):(n.setInput(o,void 0),this._inputsUsed.delete(o))}};e.\u0275fac=function(o){return new(o||e)(L(ht))},e.\u0275dir=ke({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Tt]});let t=e;return t})();function Wg(t){return t.get(bt).injector}var dl=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,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}},o1=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(!1)try{}catch{}else 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 o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new dl(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let u=o.get(s);o.move(u,a),Gg(u,i)}});for(let i=0,s=o.length;i<s;i++){let u=o.get(i).context;u.index=i,u.count=s,u.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{let s=o.get(i.currentIndex);Gg(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(L(ht),L(gn),L(cs))},e.\u0275dir=ke({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Gg(t,e){t.context.$implicit=e.item}var i1=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new fl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){qg("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){qg("ngIfElse",n),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 ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(L(ht),L(gn))},e.\u0275dir=ke({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),fl=class{constructor(){this.$implicit=null,this.ngIf=null}};function qg(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ge(e)}'.`)}var s1=(()=>{let e=class e{constructor(n,o,i){this._ngEl=n,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[i,s]=n.split("."),a=i.indexOf("-")===-1?void 0:ut.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(L(je),L(ls),L(qt))},e.\u0275dir=ke({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),a1=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(n,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};e.\u0275fac=function(o){return new(o||e)(L(ht))},e.\u0275dir=ke({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Tt]});let t=e;return t})();function Dl(t,e){return new v(2100,!1)}var hl=class{createSubscription(e,r){return kc(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){kc(()=>e.unsubscribe())}},pl=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},Yb=new pl,Qb=new hl,u1=(()=>{let e=class e{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,o=>this._updateLatestValue(n,o))}_selectStrategy(n){if(ur(n))return Yb;if(Jc(n))return Qb;throw Dl(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,o){n===this._obj&&(this._latestValue=o,this._ref.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(L(sr,16))},e.\u0275pipe=qr({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Kb="mediumDate",Jb=new E("DATE_PIPE_DEFAULT_TIMEZONE"),Xb=new E("DATE_PIPE_DEFAULT_OPTIONS"),c1=(()=>{let e=class e{constructor(n,o,i){this.locale=n,this.defaultTimezone=o,this.defaultOptions=i}transform(n,o,i,s){if(n==null||n===""||n!==n)return null;try{let a=o??this.defaultOptions?.dateFormat??Kb,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return _b(n,a,s||this.locale,u)}catch(a){throw Dl(e,a.message)}}};e.\u0275fac=function(o){return new(o||e)(L(to,16),L(Jb,24),L(Xb,24))},e.\u0275pipe=qr({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var l1=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=qr({name:"json",type:e,pure:!1,standalone:!0});let t=e;return t})();var d1=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,o,i){if(!e0(n))return null;i=i||this._locale;try{let s=t0(n);return zb(s,i,o)}catch(s){throw Dl(e,s.message)}}};e.\u0275fac=function(o){return new(o||e)(L(to,16))},e.\u0275pipe=qr({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})();function e0(t){return!(t==null||t===""||t!==t)}function t0(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var nm=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=St({type:e}),e.\u0275inj=Mt({});let t=e;return t})(),wl="browser",n0="server";function f1(t){return t===wl}function Ls(t){return t===n0}var rm=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>new gl(y(ie),window)});let t=e;return t})(),gl=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;let r=r0(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.supportsScrolling()&&(this.window.history.scrollRestoration=e)}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function r0(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var cr=class{};var om=t=>t.src,o0=new E("ImageLoader",{providedIn:"root",factory:()=>om});var i0=new E("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),s0=(()=>{let e=class e{constructor(){this.preloadedImages=g(i0),this.document=g(ie)}createPreloadLinkTag(n,o,i,s){if(this.preloadedImages.has(o))return;this.preloadedImages.add(o);let a=n.createElement("link");n.setAttribute(a,"as","image"),n.setAttribute(a,"href",o),n.setAttribute(a,"rel","preload"),n.setAttribute(a,"fetchpriority","high"),s&&n.setAttribute(a,"imageSizes",s),i&&n.setAttribute(a,"imageSrcset",i),n.appendChild(this.document.head,a)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var a0=/^((\s*\d+w\s*(,|$)){1,})$/;var u0=[1,2],c0=640;var l0=1920,d0=1080;var h1=(()=>{let e=class e{constructor(){this.imageLoader=g(o0),this.config=f0(g(Jh)),this.renderer=g(qt),this.imgElement=g(je).nativeElement,this.injector=g(Ae),this.isServer=Ls(g(ft)),this.preloadLinkCreator=g(s0),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){yn("NgOptimizedImage"),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let o=this._renderedSrc;this.updateSrcAndSrcset(!0);let i=this._renderedSrc;this.lcpObserver!==null&&o&&i&&o!==i&&this.injector.get(H).runOutsideAngular(()=>{this.lcpObserver?.updateImage(o,i)})}}callImageLoader(n){let o=n;return this.loaderParams&&(o.loaderParams=this.loaderParams),this.imageLoader(o)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=a0.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let s=n?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,o=n;return this.sizes?.trim()==="100vw"&&(o=n.filter(s=>s>=c0)),o.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let o=this.getRewrittenSrc();this.setHostAttribute("src",o);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return u0.map(o=>`${this.callImageLoader({src:this.ngSrc,width:this.width*o})} ${o}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>l0||this.height>d0),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==om&&!n}ngOnDestroy(){}setHostAttribute(n,o){this.renderer.setAttribute(this.imgElement,n,o)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=ke({type:e,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(o,i){o&2&&Qc("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",h0],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",rl],height:["height","height",rl],loading:"loading",priority:["priority","priority",Zt],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",Zt],fill:["fill","fill",Zt],src:"src",srcset:"srcset"},standalone:!0,features:[hs,Tt]});let t=e;return t})();function f0(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},xc,t,e)}function h0(t){return typeof t=="string"?t:Ne(t)}var io=class{},Vs=class{},En=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
|
|
8
|
+
`).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var El=class{encodeKey(e){return sm(e)}encodeValue(e){return sm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function m0(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],u=r.get(s)||[];u.push(a),r.set(s,u)}),r}var v0=/%(\d[a-f0-9])/gi,y0={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sm(t){return encodeURIComponent(t).replace(v0,(e,r)=>y0[r]??e)}function js(t){return`${t}`}var Yt=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new El,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=m0(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(js):[js(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(js(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(js(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Il=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function D0(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function am(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function um(t){return typeof Blob<"u"&&t instanceof Blob}function cm(t){return typeof FormData<"u"&&t instanceof FormData}function w0(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var oo=class t{constructor(e,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(D0(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers||(this.headers=new En),this.context||(this.context=new Il),!this.params)this.params=new Yt,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),u=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+u+s}}}serializeBody(){return this.body===null?null:am(this.body)||um(this.body)||cm(this.body)||w0(this.body)||typeof this.body=="string"?this.body:this.body instanceof Yt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||cm(this.body)?null:um(this.body)?this.body.type||null:am(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Yt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let r=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,i=e.body!==void 0?e.body:this.body,s=e.withCredentials!==void 0?e.withCredentials:this.withCredentials,a=e.reportProgress!==void 0?e.reportProgress:this.reportProgress,u=e.headers||this.headers,c=e.params||this.params,l=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((d,f)=>d.set(f,e.setHeaders[f]),u)),e.setParams&&(c=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),c)),new t(r,n,i,{params:c,headers:u,context:l,reportProgress:a,responseType:o,withCredentials:s})}},dr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(dr||{}),so=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new En,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},bl=class t extends so{constructor(e={}){super(e),this.type=dr.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},$s=class t extends so{constructor(e={}){super(e),this.type=dr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Us=class extends so{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function Cl(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var C0=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof oo)s=n;else{let c;i.headers instanceof En?c=i.headers:c=new En(i.headers);let l;i.params&&(i.params instanceof Yt?l=i.params:l=new Yt({fromObject:i.params})),s=new oo(n,o,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=T(s).pipe(tt(c=>this.handler.handle(c)));if(n instanceof oo||i.observe==="events")return a;let u=a.pipe(te(c=>c instanceof $s));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return u.pipe(O(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(O(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(O(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return u.pipe(O(c=>c.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new Yt().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,Cl(i,o))}post(n,o,i={}){return this.request("POST",n,Cl(i,o))}put(n,o,i={}){return this.request("PUT",n,Cl(i,o))}};e.\u0275fac=function(o){return new(o||e)(y(io))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function hm(t,e){return e(t)}function E0(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function I0(t,e,r){return(n,o)=>dt(r,()=>e(n,i=>t(i,o)))}var b0=new E(""),Ml=new E(""),M0=new E(""),S0=new E("");function T0(){let t=null;return(e,r)=>{t===null&&(t=(g(b0,{optional:!0})??[]).reduceRight(E0,hm));let n=g(Dn),o=n.add();return t(e,r).pipe(Vt(()=>n.remove(o)))}}var lm=(()=>{let e=class e extends io{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(Dn);let i=g(S0,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Ml),...this.injector.get(M0,[])]));this.chain=i.reduceRight((s,a)=>I0(s,a,this.injector),hm)}let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Vt(()=>this.pendingTasks.remove(o)))}};e.\u0275fac=function(o){return new(o||e)(y(Vs),y(Ce))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();var x0=/^\)\]\}',?\n/;function _0(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var dm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?G(o.\u0275loadImpl()):T(null)).pipe(ue(()=>new k(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((C,m)=>a.setRequestHeader(C,m.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let C=n.detectContentTypeHeader();C!==null&&a.setRequestHeader("Content-Type",C)}if(n.responseType){let C=n.responseType.toLowerCase();a.responseType=C!=="json"?C:"text"}let u=n.serializeBody(),c=null,l=()=>{if(c!==null)return c;let C=a.statusText||"OK",m=new En(a.getAllResponseHeaders()),j=_0(a)||n.url;return c=new bl({headers:m,status:a.status,statusText:C,url:j}),c},d=()=>{let{headers:C,status:m,statusText:j,url:De}=l(),U=null;m!==204&&(U=typeof a.response>"u"?a.responseText:a.response),m===0&&(m=U?200:0);let ce=m>=200&&m<300;if(n.responseType==="json"&&typeof U=="string"){let Ue=U;U=U.replace(x0,"");try{U=U!==""?JSON.parse(U):null}catch(Cr){U=Ue,ce&&(ce=!1,U={error:Cr,text:U})}}ce?(s.next(new $s({body:U,headers:C,status:m,statusText:j,url:De||void 0})),s.complete()):s.error(new Us({error:U,headers:C,status:m,statusText:j,url:De||void 0}))},f=C=>{let{url:m}=l(),j=new Us({error:C,status:a.status||0,statusText:a.statusText||"Unknown Error",url:m||void 0});s.error(j)},h=!1,p=C=>{h||(s.next(l()),h=!0);let m={type:dr.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(m.total=C.total),n.responseType==="text"&&a.responseText&&(m.partialText=a.responseText),s.next(m)},M=C=>{let m={type:dr.UploadProgress,loaded:C.loaded};C.lengthComputable&&(m.total=C.total),s.next(m)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",p),u!==null&&a.upload&&a.upload.addEventListener("progress",M)),a.send(u),s.next({type:dr.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",p),u!==null&&a.upload&&a.upload.removeEventListener("progress",M)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(y(cr))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),pm=new E("XSRF_ENABLED"),A0="XSRF-TOKEN",N0=new E("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>A0}),R0="X-XSRF-TOKEN",O0=new E("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>R0}),Bs=class{},P0=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ks(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(y(ie),y(ft),y(N0))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function F0(t,e){let r=t.url.toLowerCase();if(!g(pm)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(Bs).getToken(),o=g(O0);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var gm=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(gm||{});function k0(t,e){return{\u0275kind:t,\u0275providers:e}}function L0(...t){let e=[C0,dm,lm,{provide:io,useExisting:lm},{provide:Vs,useExisting:dm},{provide:Ml,useValue:F0,multi:!0},{provide:pm,useValue:!0},{provide:Bs,useClass:P0}];for(let r of t)e.push(...r.\u0275providers);return ts(e)}var fm=new E("LEGACY_INTERCEPTOR_FN");function j0(){return k0(gm.LegacyInterceptors,[{provide:fm,useFactory:T0},{provide:Ml,useExisting:fm,multi:!0}])}var x1=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=St({type:e}),e.\u0275inj=Mt({providers:[L0(j0())]});let t=e;return t})();var xl=class extends Os{constructor(){super(...arguments),this.supportsDOMEvents=!0}},_l=class t extends xl{static makeCurrent(){Zg(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=V0();return r==null?null:$0(r)}resetBaseElement(){ao=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return ks(document.cookie,e)}},ao=null;function V0(){return ao=ao||document.querySelector("base"),ao?ao.getAttribute("href"):null}function $0(t){return new URL(t,document.baseURI).pathname}var Al=class{addToWindow(e){X.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new v(5103,!1);return i},X.getAllAngularTestabilities=()=>e.getAllTestabilities(),X.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=X.getAllAngularTestabilities(),i=o.length,s=!1,a=function(u){s=s||u,i--,i==0&&n(s)};o.forEach(u=>{u.whenStable(a)})};X.frameworkStabilizers||(X.frameworkStabilizers=[]),X.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?Cn().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},U0=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Nl=new E("EventManagerPlugins"),Dm=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new v(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(y(Nl),y(H))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Hs=class{constructor(e){this._doc=e}},Sl="ng-app-id",wm=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ls(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Sl}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Sl),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Sl,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(y(ie),y(rs),y(Tc,8),y(ft))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Tl={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/MathML/"},Ol=/%COMP%/g,Cm="%COMP%",B0=`_nghost-${Cm}`,H0=`_ngcontent-${Cm}`,z0=!0,W0=new E("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>z0});function G0(t){return H0.replace(Ol,t)}function q0(t){return B0.replace(Ol,t)}function Em(t,e){return e.map(r=>r.replace(Ol,t))}var mm=(()=>{let e=class e{constructor(n,o,i,s,a,u,c,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Ls(u),this.defaultRenderer=new uo(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===st.ShadowDom&&(o=ee(D({},o),{encapsulation:st.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof zs?i.applyToHost(n):i instanceof co&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case st.Emulated:s=new zs(c,l,o,this.appId,d,a,u,f);break;case st.ShadowDom:return new Rl(c,l,n,o,a,u,this.nonce,f);default:s=new co(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(y(Dm),y(wm),y(rs),y(W0),y(ie),y(ft),y(H),y(Tc))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),uo=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Tl[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(vm(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(vm(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=Tl[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=Tl[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(ut.DashCase|ut.Important)?e.style.setProperty(r,n,o&ut.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&ut.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Cn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function vm(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Rl=class extends uo{constructor(e,r,n,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Em(o.id,o.styles);for(let l of c){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},co=class extends uo{constructor(e,r,n,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=u?Em(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},zs=class extends co{constructor(e,r,n,o,i,s,a,u){let c=o+"-"+n.id;super(e,r,n,i,s,a,u,c),this.contentAttr=G0(c),this.hostAttr=q0(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},Z0=(()=>{let e=class e extends Hs{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(y(ie))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),ym=["alt","control","meta","shift"],Y0={"\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"},Q0={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},K0=(()=>{let e=class e extends Hs{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Cn().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),ym.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let i=Y0[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),ym.forEach(a=>{if(a!==i){let u=Q0[a];u(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(y(ie))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function J0(){_l.makeCurrent()}function X0(){return new ct}function eM(){return Qh(document),document}var tM=[{provide:ft,useValue:wl},{provide:Sc,useValue:J0,multi:!0},{provide:ie,useFactory:eM,deps:[]}],U1=nl(Lg,"browser",tM),nM=new E(""),rM=[{provide:eo,useClass:Al,deps:[]},{provide:el,useClass:Cs,deps:[H,Es,eo]},{provide:Cs,useClass:Cs,deps:[H,Es,eo]}],oM=[{provide:ns,useValue:"root"},{provide:ct,useFactory:X0,deps:[]},{provide:Nl,useClass:Z0,multi:!0,deps:[ie,H,ft]},{provide:Nl,useClass:K0,multi:!0,deps:[ie]},mm,wm,Dm,{provide:Vr,useExisting:mm},{provide:cr,useClass:U0,deps:[]},[]],B1=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:rs,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(y(nM,12))},e.\u0275mod=St({type:e}),e.\u0275inj=Mt({providers:[...oM,...rM],imports:[nm,jg]});let t=e;return t})();function iM(){return new Pl(y(ie))}var Pl=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(y(ie))},e.\u0275prov=w({token:e,factory:function(o){let i=null;return o?i=new o:i=iM(),i},providedIn:"root"});let t=e;return t})();var sM=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=y(Im),i},providedIn:"root"});let t=e;return t})();function aM(t){return new Im(t.get(ie))}var Im=(()=>{let e=class e extends sM{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case qe.NONE:return o;case qe.HTML:return _t(o,"HTML")?Ne(o):Oc(this._doc,String(o)).toString();case qe.STYLE:return _t(o,"Style")?Ne(o):o;case qe.SCRIPT:if(_t(o,"Script"))return Ne(o);throw new v(5200,!1);case qe.URL:return _t(o,"URL")?Ne(o):as(String(o));case qe.RESOURCE_URL:if(_t(o,"ResourceURL"))return Ne(o);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return gp(n)}bypassSecurityTrustStyle(n){return mp(n)}bypassSecurityTrustScript(n){return vp(n)}bypassSecurityTrustUrl(n){return yp(n)}bypassSecurityTrustResourceUrl(n){return Dp(n)}};e.\u0275fac=function(o){return new(o||e)(y(ie))},e.\u0275prov=w({token:e,factory:function(o){let i=null;return o?i=new o:i=aM(y(Ae)),i},providedIn:"root"});let t=e;return t})();var R="primary",Mo=Symbol("RouteTitle"),Vl=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function mr(t){return new Vl(t)}function cM(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let o={};for(let i=0;i<n.length;i++){let s=n[i],a=t[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:o}}function lM(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!pt(t[r],e[r]))return!1;return!0}function pt(t,e){let r=t?$l(t):void 0,n=e?$l(e):void 0;if(!r||!n||r.length!=n.length)return!1;let o;for(let i=0;i<r.length;i++)if(o=r[i],!Om(t[o],e[o]))return!1;return!0}function $l(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Om(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((o,i)=>n[i]===o)}else return t===e}function Pm(t){return t.length>0?t[t.length-1]:null}function Xt(t){return ba(t)?t:ur(t)?G(Promise.resolve(t)):T(t)}var dM={exact:km,subset:Lm},Fm={exact:fM,subset:hM,ignored:()=>!0};function bm(t,e,r){return dM[r.paths](t.root,e.root,r.matrixParams)&&Fm[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function fM(t,e){return pt(t,e)}function km(t,e,r){if(!bn(t.segments,e.segments)||!qs(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!km(t.children[n],e.children[n],r))return!1;return!0}function hM(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Om(t[r],e[r]))}function Lm(t,e,r){return jm(t,e,e.segments,r)}function jm(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!bn(o,r)||e.hasChildren()||!qs(o,r,n))}else if(t.segments.length===r.length){if(!bn(t.segments,r)||!qs(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!Lm(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!bn(t.segments,o)||!qs(t.segments,o,n)||!t.children[R]?!1:jm(t.children[R],e,i,n)}}function qs(t,e,r){return e.every((n,o)=>Fm[r](t[o].parameters,n.parameters))}var Qt=class{constructor(e=new B([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mr(this.queryParams)),this._queryParamMap}toString(){return mM.serialize(this)}},B=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Zs(this)}},In=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=mr(this.parameters)),this._parameterMap}toString(){return $m(this)}};function pM(t,e){return bn(t,e)&&t.every((r,n)=>pt(r.parameters,e[n].parameters))}function bn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function gM(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===R&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==R&&(r=r.concat(e(o,n)))}),r}var So=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>new vo)(),providedIn:"root"});let t=e;return t})(),vo=class{parse(e){let r=new Bl(e);return new Qt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${lo(e.root,!0)}`,n=DM(e.queryParams),o=typeof e.fragment=="string"?`#${vM(e.fragment)}`:"";return`${r}${n}${o}`}},mM=new vo;function Zs(t){return t.segments.map(e=>$m(e)).join("/")}function lo(t,e){if(!t.hasChildren())return Zs(t);if(e){let r=t.children[R]?lo(t.children[R],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==R&&n.push(`${o}:${lo(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=gM(t,(n,o)=>o===R?[lo(t.children[R],!1)]:[`${o}:${lo(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[R]!=null?`${Zs(t)}/${r[0]}`:`${Zs(t)}/(${r.join("//")})`}}function Vm(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ws(t){return Vm(t).replace(/%3B/gi,";")}function vM(t){return encodeURI(t)}function Ul(t){return Vm(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ys(t){return decodeURIComponent(t)}function Mm(t){return Ys(t.replace(/\+/g,"%20"))}function $m(t){return`${Ul(t.path)}${yM(t.parameters)}`}function yM(t){return Object.keys(t).map(e=>`;${Ul(e)}=${Ul(t[e])}`).join("")}function DM(t){let e=Object.keys(t).map(r=>{let n=t[r];return Array.isArray(n)?n.map(o=>`${Ws(r)}=${Ws(o)}`).join("&"):`${Ws(r)}=${Ws(n)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var wM=/^[^\/()?;#]+/;function Fl(t){let e=t.match(wM);return e?e[0]:""}var CM=/^[^\/()?;=#]+/;function EM(t){let e=t.match(CM);return e?e[0]:""}var IM=/^[^=?&#]+/;function bM(t){let e=t.match(IM);return e?e[0]:""}var MM=/^[^&#]+/;function SM(t){let e=t.match(MM);return e?e[0]:""}var Bl=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new B([],{}):new B([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[R]=new B(e,r)),n}parseSegment(){let e=Fl(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new In(Ys(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=EM(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Fl(this.remaining);o&&(n=o,this.capture(n))}e[Ys(r)]=Ys(n)}parseQueryParam(e){let r=bM(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=SM(this.remaining);s&&(n=s,this.capture(n))}let o=Mm(r),i=Mm(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Fl(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=R);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[R]:new B([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function Um(t){return t.segments.length>0?new B([],{[R]:t}):t}function Bm(t){let e={};for(let n of Object.keys(t.children)){let o=t.children[n],i=Bm(o);if(n===R&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new B(t.segments,e);return TM(r)}function TM(t){if(t.numberOfChildren===1&&t.children[R]){let e=t.children[R];return new B(t.segments.concat(e.segments),e.children)}return t}function vr(t){return t instanceof Qt}function xM(t,e,r=null,n=null){let o=Hm(t);return zm(o,e,r,n)}function Hm(t){let e;function r(i){let s={};for(let u of i.children){let c=r(u);s[u.outlet]=c}let a=new B(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=Um(n);return e??o}function zm(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return kl(o,o,o,r,n);let i=_M(e);if(i.toRoot())return kl(o,o,new B([],{}),r,n);let s=AM(i,o,t),a=s.processChildren?po(s.segmentGroup,s.index,i.commands):Gm(s.segmentGroup,s.index,i.commands);return kl(o,s.segmentGroup,a,r,n)}function Qs(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function yo(t){return typeof t=="object"&&t!=null&&t.outlets}function kl(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===e?s=r:s=Wm(t,e,r);let a=Um(Bm(s));return new Qt(a,i,o)}function Wm(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=Wm(i,e,r)}),new B(t.segments,n)}var Ks=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Qs(n[0]))throw new v(4003,!1);let o=n.find(yo);if(o&&o!==Pm(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function _M(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ks(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Ks(r,e,n)}var pr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function AM(t,e,r){if(t.isAbsolute)return new pr(e,!0,0);if(!r)return new pr(e,!1,NaN);if(r.parent===null)return new pr(r,!0,0);let n=Qs(t.commands[0])?0:1,o=r.segments.length-1+n;return NM(r,o,t.numberOfDoubleDots)}function NM(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new v(4005,!1);o=n.segments.length}return new pr(n,!1,o-i)}function RM(t){return yo(t[0])?t[0].outlets:{[R]:t}}function Gm(t,e,r){if(t||(t=new B([],{})),t.segments.length===0&&t.hasChildren())return po(t,e,r);let n=OM(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let i=new B(t.segments.slice(0,n.pathIndex),{});return i.children[R]=new B(t.segments.slice(n.pathIndex),t.children),po(i,0,o)}else return n.match&&o.length===0?new B(t.segments,{}):n.match&&!t.hasChildren()?Hl(t,e,r):n.match?po(t,0,o):Hl(t,e,r)}function po(t,e,r){if(r.length===0)return new B(t.segments,{});{let n=RM(r),o={};if(Object.keys(n).some(i=>i!==R)&&t.children[R]&&t.numberOfChildren===1&&t.children[R].segments.length===0){let i=po(t.children[R],e,r);return new B(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Gm(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new B(t.segments,o)}}function OM(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(n>=r.length)return i;let s=t.segments[o],a=r[n];if(yo(a))break;let u=`${a}`,c=n<r.length-1?r[n+1]:null;if(o>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Tm(u,c,s))return i;n+=2}else{if(!Tm(u,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Hl(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o<r.length;){let i=r[o];if(yo(i)){let u=PM(i.outlets);return new B(n,u)}if(o===0&&Qs(r[0])){let u=t.segments[e];n.push(new In(u.path,Sm(r[0]))),o++;continue}let s=yo(i)?i.outlets[R]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&Qs(a)?(n.push(new In(s,Sm(a))),o+=2):(n.push(new In(s,{})),o++)}return new B(n,{})}function PM(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Hl(new B([],{}),0,n))}),e}function Sm(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Tm(t,e,r){return t==r.path&&pt(e,r.parameters)}var go="imperative",$e=class{constructor(e,r){this.id=e,this.url=r}},yr=class extends $e{constructor(e,r,n="imperative",o=null){super(e,r),this.type=0,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ye=class extends $e{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Kt=class extends $e{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Jt=class extends $e{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=16}},Do=class extends $e{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Js=class extends $e{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zl=class extends $e{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wl=class extends $e{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Gl=class extends $e{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ql=class extends $e{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Zl=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Yl=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ql=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kl=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jl=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xl=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xs=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=15}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},wo=class{},Co=class{constructor(e){this.url=e}};var ed=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new To,this.attachRef=null}},To=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new ed,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ea=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=td(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=td(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=nd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return nd(e,this._root).map(r=>r.value)}};function td(t,e){if(t===e.value)return e;for(let r of e.children){let n=td(t,r);if(n)return n}return null}function nd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=nd(t,r);if(n.length)return n.unshift(e),n}return[]}var Pe=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function hr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ta=class extends ea{constructor(e,r){super(e),this.snapshot=r,fd(this,e)}toString(){return this.snapshot.toString()}};function qm(t,e){let r=FM(t,e),n=new de([new In("",{})]),o=new de({}),i=new de({}),s=new de({}),a=new de(""),u=new Mn(n,o,s,a,i,R,e,r.root);return u.snapshot=r.root,new ta(new Pe(u,[]),r)}function FM(t,e){let r={},n={},o={},i="",s=new Eo([],r,o,i,n,R,e,null,{});return new na("",new Pe(s,[]))}var Mn=class{constructor(e,r,n,o,i,s,a,u){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(O(c=>c[Mo]))??T(void 0),this.url=e,this.params=r,this.queryParams=n,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._paramMap=this.params.pipe(O(e=>mr(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(O(e=>mr(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function dd(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),o?.data),t._resolvedData)}:n={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},o&&Ym(o)&&(n.resolve[Mo]=o.title),n}var Eo=class{get title(){return this.data?.[Mo]}constructor(e,r,n,o,i,s,a,u,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}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._paramMap=mr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mr(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},na=class extends ea{constructor(e,r){super(r),this.url=e,fd(this,r)}toString(){return Zm(this._root)}};function fd(t,e){e.value._routerState=t,e.children.forEach(r=>fd(t,r))}function Zm(t){let e=t.children.length>0?` { ${t.children.map(Zm).join(", ")} } `:"";return`${t.value}${e}`}function Ll(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,pt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),pt(e.params,r.params)||t.paramsSubject.next(r.params),lM(e.url,r.url)||t.urlSubject.next(r.url),pt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function rd(t,e){let r=pt(t.params,e.params)&&pM(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||rd(t.parent,e.parent))}function Ym(t){return typeof t.title=="string"||t.title===null}var kM=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=R,this.activateEvents=new fe,this.deactivateEvents=new fe,this.attachEvents=new fe,this.detachEvents=new fe,this.parentContexts=g(To),this.location=g(ht),this.changeDetector=g(sr),this.environmentInjector=g(Ce),this.inputBinder=g(aa,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),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 v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,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,o){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new od(n,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=ke({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Tt]});let t=e;return t})(),od=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Mn?this.route:e===To?this.childContexts:this.parent.get(e,r)}},aa=new E(""),xm=(()=>{let e=class e{constructor(){this.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:o}=n,i=xr([o.queryParams,o.params,o.data]).pipe(ue(([s,a,u],c)=>(u=D(D(D({},s),a),u),c===0?T(u):Promise.resolve(u)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=Vg(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:u}of a.inputs)n.activatedComponentRef.setInput(u,s[u])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function LM(t,e,r){let n=Io(t,e._root,r?r._root:void 0);return new ta(n,e)}function Io(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=jM(t,e,r);return new Pe(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Io(t,a)),s}}let n=VM(e.value),o=e.children.map(i=>Io(t,i));return new Pe(n,o)}}function jM(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return Io(t,n,o);return Io(t,n)})}function VM(t){return new Mn(new de(t.url),new de(t.params),new de(t.queryParams),new de(t.fragment),new de(t.data),t.outlet,t.component,t)}var Qm="ngNavigationCancelingError";function Km(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=vr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=Jm(!1,0,e);return o.url=r,o.navigationBehaviorOptions=n,o}function Jm(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[Qm]=!0,n.cancellationCode=e,r&&(n.url=r),n}function $M(t){return Xm(t)&&vr(t.url)}function Xm(t){return t&&t[Qm]}var UM=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=oh({type:e,selectors:[["ng-component"]],standalone:!0,features:[wg],decls:1,vars:0,template:function(o,i){o&1&&Kc(0,"router-outlet")},dependencies:[kM],encapsulation:2});let t=e;return t})();function BM(t,e){return t.providers&&!t._injector&&(t._injector=ms(t.providers,e,`Route: ${t.path}`)),t._injector??e}function hd(t){let e=t.children&&t.children.map(hd),r=e?ee(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==R&&(r.component=UM),r}function gt(t){return t.outlet||R}function HM(t,e){let r=t.filter(n=>gt(n)===e);return r.push(...t.filter(n=>gt(n)!==e)),r}function xo(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var zM=(t,e,r,n)=>O(o=>(new id(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),id=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Ll(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=hr(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=hr(e);for(let s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=hr(e);for(let s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=hr(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Xl(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Kl(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(Ll(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.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),Ll(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=xo(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},ra=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},gr=class{constructor(e,r){this.component=e,this.route=r}};function WM(t,e,r){let n=t._root,o=e?e._root:null;return fo(n,o,r,[n.value])}function GM(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function wr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Gf(t)?t:e.get(t):n}function fo(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=hr(e);return t.children.forEach(s=>{qM(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>mo(a,r.getContext(s),o)),o}function qM(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let u=ZM(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new ra(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?fo(t,e,a?a.children:null,n,o):fo(t,e,r,n,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new gr(a.outlet.component,s))}else s&&mo(e,a,o),o.canActivateChecks.push(new ra(n)),i.component?fo(t,null,a?a.children:null,n,o):fo(t,null,r,n,o);return o}function ZM(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!bn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!bn(t.url,e.url)||!pt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rd(t,e)||!pt(t.queryParams,e.queryParams);case"paramsChange":default:return!rd(t,e)}}function mo(t,e,r){let n=hr(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?mo(s,e.children.getContext(i),r):mo(s,null,r):mo(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new gr(e.outlet.component,o)):r.canDeactivateChecks.push(new gr(null,o)):r.canDeactivateChecks.push(new gr(null,o))}function _o(t){return typeof t=="function"}function YM(t){return typeof t=="boolean"}function QM(t){return t&&_o(t.canLoad)}function KM(t){return t&&_o(t.canActivate)}function JM(t){return t&&_o(t.canActivateChild)}function XM(t){return t&&_o(t.canDeactivate)}function eS(t){return t&&_o(t.canMatch)}function ev(t){return t instanceof yt||t?.name==="EmptyError"}var Gs=Symbol("INITIAL_VALUE");function Dr(){return ue(t=>xr(t.map(e=>e.pipe(wt(1),xa(Gs)))).pipe(O(e=>{for(let r of e)if(r!==!0){if(r===Gs)return Gs;if(r===!1||r instanceof Qt)return r}return!0}),te(e=>e!==Gs),wt(1)))}function tS(t,e){return K(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?T(ee(D({},r),{guardsResult:!0})):nS(s,n,o,t).pipe(K(a=>a&&YM(a)?rS(n,i,t,e):T(a)),O(a=>ee(D({},r),{guardsResult:a})))})}function nS(t,e,r,n){return G(t).pipe(K(o=>uS(o.component,o.route,r,e,n)),nt(o=>o!==!0,!0))}function rS(t,e,r,n){return G(e).pipe(tt(o=>Ln(iS(o.route.parent,n),oS(o.route,n),aS(t,o.path,r),sS(t,o.route,r))),nt(o=>o!==!0,!0))}function oS(t,e){return t!==null&&e&&e(new Jl(t)),T(!0)}function iS(t,e){return t!==null&&e&&e(new Ql(t)),T(!0)}function sS(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return T(!0);let o=n.map(i=>oi(()=>{let s=xo(e)??r,a=wr(i,s),u=KM(a)?a.canActivate(e,t):dt(s,()=>a(e,t));return Xt(u).pipe(nt())}));return T(o).pipe(Dr())}function aS(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>GM(s)).filter(s=>s!==null).map(s=>oi(()=>{let a=s.guards.map(u=>{let c=xo(s.node)??r,l=wr(u,c),d=JM(l)?l.canActivateChild(n,t):dt(c,()=>l(n,t));return Xt(d).pipe(nt())});return T(a).pipe(Dr())}));return T(i).pipe(Dr())}function uS(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return T(!0);let s=i.map(a=>{let u=xo(e)??o,c=wr(a,u),l=XM(c)?c.canDeactivate(t,e,r,n):dt(u,()=>c(t,e,r,n));return Xt(l).pipe(nt())});return T(s).pipe(Dr())}function cS(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return T(!0);let i=o.map(s=>{let a=wr(s,t),u=QM(a)?a.canLoad(e,r):dt(t,()=>a(e,r));return Xt(u)});return T(i).pipe(Dr(),tv(n))}function tv(t){return ma(ne(e=>{if(vr(e))throw Km(t,e)}),O(e=>e===!0))}function lS(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return T(!0);let i=o.map(s=>{let a=wr(s,t),u=eS(a)?a.canMatch(e,r):dt(t,()=>a(e,r));return Xt(u)});return T(i).pipe(Dr(),tv(n))}var bo=class{constructor(e){this.segmentGroup=e||null}},oa=class extends Error{constructor(e){super(),this.urlTree=e}};function fr(t){return Fn(new bo(t))}function dS(t){return Fn(new v(4e3,!1))}function fS(t){return Fn(Jm(!1,3))}var sd=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return T(n);if(o.numberOfChildren>1||!o.children[R])return dS(e.redirectTo);o=o.children[R]}}applyRedirectCommands(e,r,n){let o=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new oa(o);return o}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new Qt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(e,u,n,o)}),new B(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},ad={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function hS(t,e,r,n,o){let i=pd(t,e,r);return i.matched?(n=BM(e,n),lS(n,e,r,o).pipe(O(s=>s===!0?i:D({},ad)))):T(i)}function pd(t,e,r){if(e.path==="**")return pS(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},ad):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||cM)(r,t,e);if(!o)return D({},ad);let i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.path});let s=o.consumed.length>0?D(D({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function pS(t){return{matched:!0,parameters:t.length>0?Pm(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function _m(t,e,r,n){return r.length>0&&vS(t,r,n)?{segmentGroup:new B(e,mS(n,new B(r,t.children))),slicedSegments:[]}:r.length===0&&yS(t,r,n)?{segmentGroup:new B(t.segments,gS(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new B(t.segments,t.children),slicedSegments:r}}function gS(t,e,r,n,o){let i={};for(let s of n)if(ua(t,r,s)&&!o[gt(s)]){let a=new B([],{});i[gt(s)]=a}return D(D({},o),i)}function mS(t,e){let r={};r[R]=e;for(let n of t)if(n.path===""&>(n)!==R){let o=new B([],{});r[gt(n)]=o}return r}function vS(t,e,r){return r.some(n=>ua(t,e,n)&>(n)!==R)}function yS(t,e,r){return r.some(n=>ua(t,e,n))}function ua(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function DS(t,e,r,n){return gt(t)!==n&&(n===R||!ua(e,r,t))?!1:pd(e,t,r).matched}function wS(t,e,r){return e.length===0&&!t.children[r]}var ud=class{};function CS(t,e,r,n,o,i,s="emptyOnly"){return new cd(t,e,r,n,o,s,i).recognize()}var ES=31,cd=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new sd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new v(4002,`'${e.segmentGroup}'`)}recognize(){let e=_m(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(O(r=>{let n=new Eo([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,{},R,this.rootComponentType,null,{}),o=new Pe(n,r),i=new na("",o),s=xM(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,R).pipe(Dt(n=>{if(n instanceof oa)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof bo?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,o=dd(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),e.children.forEach(i=>this.inheritParamsAndData(i,n))}processSegmentGroup(e,r,n,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,o,!0).pipe(O(i=>i instanceof Pe?[i]:[]))}processChildren(e,r,n){let o=[];for(let i of Object.keys(n.children))i==="primary"?o.unshift(i):o.push(i);return G(o).pipe(tt(i=>{let s=n.children[i],a=HM(r,i);return this.processSegmentGroup(e,a,s,i)}),si((i,s)=>(i.push(...s),i)),jt(null),Ta(),K(i=>{if(i===null)return fr(n);let s=nv(i);return IS(s),T(s)}))}processSegment(e,r,n,o,i,s){return G(r).pipe(tt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,o,i,s).pipe(Dt(u=>{if(u instanceof bo)return T(null);throw u}))),nt(a=>!!a),Dt(a=>{if(ev(a))return wS(n,o,i)?T(new ud):fr(n);throw a}))}processSegmentAgainstRoute(e,r,n,o,i,s,a){return DS(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s):fr(o):fr(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=pd(r,o,i);if(!a)return fr(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ES&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe(K(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,o,i){let s=hS(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(ue(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(ue(({routes:u})=>{let c=n._loadedInjector??e,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new Eo(l,f,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,MS(n),gt(n),n.component??n._loadedComponent??null,n,SS(n)),{segmentGroup:p,slicedSegments:M}=_m(r,l,d,u);if(M.length===0&&p.hasChildren())return this.processChildren(c,u,p).pipe(O(m=>m===null?null:new Pe(h,m)));if(u.length===0&&M.length===0)return T(new Pe(h,[]));let C=gt(n)===i;return this.processSegment(c,u,p,M,C?R:i,!0).pipe(O(m=>new Pe(h,m instanceof Pe?[m]:[])))}))):fr(r)))}getChildConfig(e,r,n){return r.children?T({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?T({routes:r._loadedRoutes,injector:r._loadedInjector}):cS(e,r,n,this.urlSerializer).pipe(K(o=>o?this.configLoader.loadChildren(e,r).pipe(ne(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):fS(r))):T({routes:[],injector:e})}};function IS(t){t.sort((e,r)=>e.value.outlet===R?-1:r.value.outlet===R?1:e.value.outlet.localeCompare(r.value.outlet))}function bS(t){let e=t.value.routeConfig;return e&&e.path===""}function nv(t){let e=[],r=new Set;for(let n of t){if(!bS(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=nv(n.children);e.push(new Pe(n.value,o))}return e.filter(n=>!r.has(n))}function MS(t){return t.data||{}}function SS(t){return t.resolve||{}}function TS(t,e,r,n,o,i){return K(s=>CS(t,e,r,n,s.extractedUrl,o,i).pipe(O(({state:a,tree:u})=>ee(D({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function xS(t,e){return K(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return T(r);let i=new Set(o.map(u=>u.route)),s=new Set;for(let u of i)if(!s.has(u))for(let c of rv(u))s.add(c);let a=0;return G(s).pipe(tt(u=>i.has(u)?_S(u,n,t,e):(u.data=dd(u,u.parent,t).resolve,T(void 0))),ne(()=>a++),jn(1),K(u=>a===s.size?T(r):Ie))})}function rv(t){let e=t.children.map(r=>rv(r)).flat();return[t,...e]}function _S(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!Ym(o)&&(i[Mo]=o.title),AS(i,t,e,n).pipe(O(s=>(t._resolvedData=s,t.data=dd(t,t.parent,r).resolve,null)))}function AS(t,e,r,n){let o=$l(t);if(o.length===0)return T({});let i={};return G(o).pipe(K(s=>NS(t[s],e,r,n).pipe(nt(),ne(a=>{i[s]=a}))),jn(1),Sa(i),Dt(s=>ev(s)?Ie:Fn(s)))}function NS(t,e,r,n){let o=xo(e)??n,i=wr(t,o),s=i.resolve?i.resolve(e,r):dt(o,()=>i(e,r));return Xt(s)}function jl(t){return ue(e=>{let r=t(e);return r?G(r).pipe(O(()=>e)):T(e)})}var ov=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===R);return o}getResolvedTitleForRoute(n){return n.data[Mo]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>g(RS))(),providedIn:"root"});let t=e;return t})(),RS=(()=>{let e=class e extends ov{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(y(Pl))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ao=new E("",{providedIn:"root",factory:()=>({})}),ia=new E("ROUTES"),gd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(ws)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return T(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=Xt(n.loadComponent()).pipe(O(iv),ne(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Vt(()=>{this.componentLoaders.delete(n)})),i=new Nn(o,()=>new ae).pipe(An());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return T({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=OS(o,this.compiler,n,this.onLoadEndListener).pipe(Vt(()=>{this.childrenLoaders.delete(o)})),a=new Nn(s,()=>new ae).pipe(An());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function OS(t,e,r,n){return Xt(t.loadChildren()).pipe(O(iv),K(o=>o instanceof zr||Array.isArray(o)?T(o):G(e.compileModuleAsync(o))),O(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(ia,[],{optional:!0,self:!0}).flat()),{routes:s.map(hd),injector:i}}))}function PS(t){return t&&typeof t=="object"&&"default"in t}function iv(t){return PS(t)?t.default:t}var md=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>g(FS))(),providedIn:"root"});let t=e;return t})(),FS=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),sv=new E(""),av=new E("");function kS(t,e,r){let n=t.get(av),o=t.get(ie);return t.get(H).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let i,s=new Promise(c=>{i=c}),a=o.startViewTransition(()=>(i(),LS(t))),{onViewTransitionCreated:u}=n;return u&&dt(t,()=>u({transition:a,from:e,to:r})),s})}function LS(t){return new Promise(e=>{Gc(e,{injector:t})})}var vd=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ae,this.transitionAbortSubject=new ae,this.configLoader=g(gd),this.environmentInjector=g(Ce),this.urlSerializer=g(So),this.rootContexts=g(To),this.location=g(lr),this.inputBindingEnabled=g(aa,{optional:!0})!==null,this.titleStrategy=g(ov),this.options=g(Ao,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(md),this.createViewTransition=g(sv,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Zl(i)),o=i=>this.events.next(new Yl(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(ee(D(D({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new de({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:go,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(te(s=>s.id!==0),O(s=>ee(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ue(s=>{this.currentTransition=s;let a=!1,u=!1;return T(s).pipe(ne(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?ee(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),ue(c=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Jt(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),Ie}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return T(c).pipe(ue(f=>{let h=this.transitions?.getValue();return this.events.next(new yr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Ie:Promise.resolve(f)}),TS(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ne(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=ee(D({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Js(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:p,restoredState:M,extras:C}=c,m=new yr(f,this.urlSerializer.serialize(h),p,M);this.events.next(m);let j=qm(h,this.rootComponentType).snapshot;return this.currentTransition=s=ee(D({},c),{targetSnapshot:j,urlAfterRedirects:h,extras:ee(D({},C),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,T(s)}else{let f="";return this.events.next(new Jt(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),Ie}}),ne(c=>{let l=new zl(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),O(c=>(this.currentTransition=s=ee(D({},c),{guards:WM(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),tS(this.environmentInjector,c=>this.events.next(c)),ne(c=>{if(s.guardsResult=c.guardsResult,vr(c.guardsResult))throw Km(this.urlSerializer,c.guardsResult);let l=new Wl(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),te(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",3),!1)),jl(c=>{if(c.guards.canActivateChecks.length)return T(c).pipe(ne(l=>{let d=new Gl(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ue(l=>{let d=!1;return T(l).pipe(xS(this.paramsInheritanceStrategy,this.environmentInjector),ne({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",2)}}))}),ne(l=>{let d=new ql(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),jl(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(ne(h=>{d.component=h}),O(()=>{})));for(let h of d.children)f.push(...l(h));return f};return xr(l(c.targetSnapshot.root)).pipe(jt(null),wt(1))}),jl(()=>this.afterPreactivation()),ue(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?G(d).pipe(O(()=>s)):T(s)}),O(c=>{let l=LM(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=ee(D({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ne(()=>{this.events.next(new wo)}),zM(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),wt(1),ne({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ye(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),ai(this.transitionAbortSubject.pipe(ne(c=>{throw c}))),Vt(()=>{if(!a&&!u){let c="";this.cancelNavigationTransition(s,c,1)}this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Dt(c=>{if(u=!0,Xm(c))this.events.next(new Kt(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),$M(c)?this.events.next(new Co(c.url)):s.resolve(!1);else{this.events.next(new Do(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(l){s.reject(l)}}return Ie}))}))}cancelNavigationTransition(n,o,i){let s=new Kt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function jS(t){return t!==go}var VS=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>g($S))(),providedIn:"root"});let t=e;return t})(),ld=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},$S=(()=>{let e=class e extends ld{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Cc(e)))(i||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),uv=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>g(US))(),providedIn:"root"});let t=e;return t})(),US=(()=>{let e=class e extends uv{constructor(){super(...arguments),this.location=g(lr),this.urlSerializer=g(So),this.options=g(Ao,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(md),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Qt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=qm(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof yr)this.stateMemento=this.createStateMemento();else if(n instanceof Jt)this.rawUrlTree=o.initialUrl;else if(n instanceof Js){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof wo?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof Kt&&(n.code===3||n.code===2)?this.restoreHistory(o):n instanceof Do?this.restoreHistory(o,!0):n instanceof Ye&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=D(D({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=D(D({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Cc(e)))(i||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ho=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ho||{});function cv(t,e){t.events.pipe(te(r=>r instanceof Ye||r instanceof Kt||r instanceof Do||r instanceof Jt),O(r=>r instanceof Ye||r instanceof Jt?ho.COMPLETE:(r instanceof Kt?r.code===0||r.code===1:!1)?ho.REDIRECTING:ho.FAILED),te(r=>r!==ho.REDIRECTING),wt(1)).subscribe(()=>{e()})}function BS(t){throw t}var HS={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zS={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},kt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=g(Ds),this.stateManager=g(uv),this.options=g(Ao,{optional:!0})||{},this.pendingTasks=g(Dn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(vd),this.urlSerializer=g(So),this.location=g(lr),this.urlHandlingStrategy=g(md),this._events=new ae,this.errorHandler=this.options.errorHandler||BS,this.navigated=!1,this.routeReuseStrategy=g(VS),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(ia,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(aa,{optional:!0}),this.eventsSubscription=new Q,this.isNgZoneEnabled=g(H)instanceof H&&H.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Kt&&o.code!==0&&o.code!==1)this.navigated=!0;else if(o instanceof Ye)this.navigated=!0;else if(o instanceof Co){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u={skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||jS(i.source)};this.scheduleNavigation(a,go,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}GS(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});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),go,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)}))}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let c=D({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(hd),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:u,preserveFragment:c}=o,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){case"merge":d=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=Hm(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return zm(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=vr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,go,null,o)}navigate(n,o={skipLocationChange:!1}){return WS(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=D({},HS):o===!1?i=D({},zS):i=o,vr(n))return bm(this.currentUrlTree,n,i);let s=this.parseUrl(n);return bm(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.keys(n).reduce((o,i)=>{let s=n[i];return s!=null&&(o[i]=s),o},{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return cv(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function WS(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new v(4008,!1)}function GS(t){return!(t instanceof wo)&&!(t instanceof Co)}var Am=(()=>{let e=class e{constructor(n,o,i,s,a,u){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new ae,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Ye&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:bp(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(o){return new(o||e)(L(kt),L(Mn),Ec("tabindex"),L(qt),L(je),L(Ft))},e.\u0275dir=ke({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Xc("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Zc("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Zt],skipLocationChange:["skipLocationChange","skipLocationChange",Zt],replaceUrl:["replaceUrl","replaceUrl",Zt],routerLink:"routerLink"},standalone:!0,features:[hs,Tt]});let t=e;return t})(),sL=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new fe,this.routerEventsSubscription=n.events.subscribe(u=>{u instanceof Ye&&this.update()})}ngAfterContentInit(){T(this.links.changes,T(null)).pipe(et()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=G(n).pipe(et()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){let o=qS(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>i.urlTree?n.isActive(i.urlTree,o):!1}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(o){return new(o||e)(L(kt),L(je),L(qt),L(sr),L(Am,8))},e.\u0275dir=ke({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&Sg(s,Am,5),o&2){let a;Mg(a=Tg())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Tt]});let t=e;return t})();function qS(t){return!!t.paths}var sa=class{};var ZS=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(te(n=>n instanceof Ye),tt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=ms(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,u=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(u,s.children??s._loadedRoutes))}return G(i).pipe(et())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=T(null);let s=i.pipe(K(a=>a===null?T(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return G([s,a]).pipe(et())}else return s})}};e.\u0275fac=function(o){return new(o||e)(y(kt),y(ws),y(Ce),y(sa),y(gd))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lv=new E(""),YS=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.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 yr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ye?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Jt&&n.code===0&&(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 Xs&&(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,o){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Xs(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){Ap()},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function QS(t){return t.routerState.root}function No(t,e){return{\u0275kind:t,\u0275providers:e}}function KS(){let t=g(Ae);return e=>{let r=t.get(wn);if(e!==r.components[0])return;let n=t.get(kt),o=t.get(dv);t.get(yd)===1&&n.initialNavigation(),t.get(fv,null,F.Optional)?.setUpPreloading(),t.get(lv,null,F.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var dv=new E("",{factory:()=>new ae}),yd=new E("",{providedIn:"root",factory:()=>1});function JS(){return No(2,[{provide:yd,useValue:0},{provide:Is,multi:!0,deps:[Ae],useFactory:e=>{let r=e.get(Yg,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(kt),i=e.get(dv);cv(o,()=>{n(!0)}),e.get(vd).afterPreactivation=()=>(n(!0),i.closed?T(void 0):i),o.initialNavigation()}))}}])}function XS(){return No(3,[{provide:Is,multi:!0,useFactory:()=>{let e=g(kt);return()=>{e.setUpLocationChangeListener()}}},{provide:yd,useValue:2}])}var fv=new E("");function eT(t){return No(0,[{provide:fv,useExisting:ZS},{provide:sa,useExisting:t}])}function tT(){return No(8,[xm,{provide:aa,useExisting:xm}])}function nT(t){let e=[{provide:sv,useValue:kS},{provide:av,useValue:D({skipNextTransition:!!t?.skipInitialTransition},t)}];return No(9,e)}var Nm=new E("ROUTER_FORROOT_GUARD"),rT=[lr,{provide:So,useClass:vo},kt,To,{provide:Mn,useFactory:QS,deps:[kt]},gd,[]],aL=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[rT,[],{provide:ia,multi:!0,useValue:n},{provide:Nm,useFactory:aT,deps:[[kt,new Qr,new es]]},{provide:Ao,useValue:o||{}},o?.useHash?iT():sT(),oT(),o?.preloadingStrategy?eT(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?uT(o):[],o?.bindToComponentInputs?tT().\u0275providers:[],o?.enableViewTransitions?nT().\u0275providers:[],cT()]}}static forChild(n){return{ngModule:e,providers:[{provide:ia,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(y(Nm,8))},e.\u0275mod=St({type:e}),e.\u0275inj=Mt({});let t=e;return t})();function oT(){return{provide:lv,useFactory:()=>{let t=g(rm),e=g(H),r=g(Ao),n=g(vd),o=g(So);return r.scrollOffset&&t.setOffset(r.scrollOffset),new YS(o,n,t,e,r)}}}function iT(){return{provide:Ft,useClass:Kg}}function sT(){return{provide:Ft,useClass:yl}}function aT(t){return"guarded"}function uT(t){return[t.initialNavigation==="disabled"?XS().\u0275providers:[],t.initialNavigation==="enabledBlocking"?JS().\u0275providers:[]]}var Rm=new E("");function cT(){return[{provide:Rm,useFactory:KS},{provide:bs,multi:!0,useExisting:Rm}]}var lL="*";function dL(t,e){return{type:7,name:t,definitions:e,options:{}}}function fL(t,e=null){return{type:4,styles:e,timings:t}}function hL(t,e=null){return{type:3,steps:t,options:e}}function pL(t,e=null){return{type:2,steps:t,options:e}}function gL(t){return{type:6,styles:t,offset:null}}function mL(t,e,r){return{type:0,name:t,styles:e,options:r}}function vL(t){return{type:5,steps:t}}function yL(t,e,r=null){return{type:1,expr:t,animation:e,options:r}}function DL(t=null){return{type:9,options:t}}function wL(t,e,r=null){return{type:11,selector:t,animation:e,options:r}}var hv=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},pv=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==i&&this._onFinish()}),s.onDestroy(()=>{++n==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let o=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(o)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},CL="!";export{Q as a,k as b,ae as c,de as d,Ir as e,Rv as f,Je as g,Ov as h,Pv as i,Ie as j,Sr as k,Tr as l,G as m,T as n,Fn as o,kv as p,O as q,xr as r,K as s,et as t,Ln as u,oi as v,Gv as w,Ma as x,_r as y,Xv as z,ey as A,te as B,ty as C,ny as D,Dt as E,tt as F,ry as G,oy as H,wt as I,iy as J,uy as K,Vt as L,nt as M,si as N,Da as O,Ad as P,cy as Q,xa as R,ue as S,ly as T,ai as U,dy as V,ne as W,fy as X,Bf as Y,v as Z,w as _,Mt as $,E as aa,y as ba,g as ca,oh as da,St as ea,ke as fa,qr as ga,Tt as ha,ik as ia,sk as ja,ak as ka,uk as la,Cc as ma,Ec as na,Qr as oa,es as pa,ts as qa,Ae as ra,rs as sa,ft as ta,ck as ua,Tc as va,qe as wa,lk as xa,iC as ya,us as za,je as Aa,Vr as Ba,qt as Ca,ct as Da,dk as Ea,L as Fa,Ap as Ga,sr as Ha,fe as Ia,H as Ja,SE as Ka,hs as La,Zc as Ma,BE as Na,Qc as Oa,HE as Pa,fk as Qa,hk as Ra,ht as Sa,Wu as Ta,mk as Ua,vk as Va,yk as Wa,Dk as Xa,dg as Ya,fg as Za,Kc as _a,hg as $a,pg as ab,gI as bb,wk as cb,vI as db,yI as eb,ur as fb,Xc as gb,bI as hb,Ck as ib,Ek as jb,Ik as kb,TI as lb,xI as mb,bk as nb,Mk as ob,NI as pb,vg as qb,RI as rb,Sk as sb,wg as tb,Tk as ub,xk as vb,_k as wb,Ak as xb,Nk as yb,Rk as zb,Ok as Ab,Pk as Bb,Fk as Cb,ec as Db,gn as Eb,Mg as Fb,Lk as Gb,Sg as Hb,Tg as Ib,jk as Jb,tr as Kb,Vk as Lb,Is as Mb,wn as Nb,to as Ob,$k as Pb,Zt as Qb,rl as Rb,Cn as Sb,ie as Tb,lr as Ub,n1 as Vb,r1 as Wb,o1 as Xb,i1 as Yb,s1 as Zb,a1 as _b,u1 as $b,c1 as ac,l1 as bc,d1 as cc,nm as dc,f1 as ec,Ls as fc,h1 as gc,C0 as hc,b0 as ic,x1 as jc,mm as kc,U1 as lc,B1 as mc,Pl as nc,sM as oc,lL as pc,dL as qc,fL as rc,hL as sc,pL as tc,gL as uc,mL as vc,vL as wc,yL as xc,DL as yc,wL as zc,hv as Ac,pv as Bc,CL as Cc,Ye as Dc,Mn as Ec,kM as Fc,kt as Gc,Am as Hc,sL as Ic,aL as Jc};
|