marketplacepos 3.7.4 → 3.9.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.
Files changed (78) hide show
  1. package/Marketplace/{chunk-U7MYN4C4.js → chunk-2IV4PAZF.js} +1 -1
  2. package/Marketplace/{chunk-Q4LQRXK4.js → chunk-2NXM7D4R.js} +1 -1
  3. package/Marketplace/{chunk-O7MAOFLA.js → chunk-2R3KOIEF.js} +1 -1
  4. package/Marketplace/{chunk-SMV45LT2.js → chunk-3FEJKWZ3.js} +1 -1
  5. package/Marketplace/{chunk-S5TAVCV2.js → chunk-4CQ2V5UQ.js} +1 -1
  6. package/Marketplace/{chunk-2UI4YTN6.js → chunk-4Y26NEN3.js} +1 -1
  7. package/Marketplace/{chunk-CUYZKVZ3.js → chunk-55YNBCIT.js} +1 -1
  8. package/Marketplace/{chunk-GQU66EJO.js → chunk-6HKBE32M.js} +1 -1
  9. package/Marketplace/{chunk-COKR3NPC.js → chunk-BGUJV6DT.js} +1 -1
  10. package/Marketplace/chunk-BQVKRP7F.js +1 -0
  11. package/Marketplace/{chunk-SCSHD4KU.js → chunk-BYU3FQ7F.js} +1 -1
  12. package/Marketplace/{chunk-H4UMXVLS.js → chunk-C6SX7URU.js} +1 -1
  13. package/Marketplace/{chunk-HAU6K6GW.js → chunk-CGVJUMLO.js} +1 -1
  14. package/Marketplace/{chunk-CSUJ7V36.js → chunk-CHON6N2M.js} +1 -1
  15. package/Marketplace/{chunk-KQRK4CTQ.js → chunk-CXP7YAGC.js} +1 -1
  16. package/Marketplace/{chunk-DJCANNYC.js → chunk-D4SY4NN2.js} +6 -6
  17. package/Marketplace/{chunk-LSBFWGC6.js → chunk-D7O45PEU.js} +1 -1
  18. package/Marketplace/{chunk-BTKXSJ5K.js → chunk-DT4LKSYR.js} +1 -1
  19. package/Marketplace/{chunk-IL2DK2XK.js → chunk-EYF3TVW2.js} +1 -1
  20. package/Marketplace/chunk-F34W6HKK.js +1 -0
  21. package/Marketplace/{chunk-Y3GV3L67.js → chunk-G2KDKW3S.js} +1 -1
  22. package/Marketplace/{chunk-HX36ACUF.js → chunk-G3JH324J.js} +1 -1
  23. package/Marketplace/chunk-GL34FHFI.js +1 -0
  24. package/Marketplace/{chunk-MPHWSDOT.js → chunk-HCGJWBQS.js} +1 -1
  25. package/Marketplace/{chunk-YBPTSF4K.js → chunk-IPMUP2EJ.js} +1 -1
  26. package/Marketplace/{chunk-FZ3LLUFV.js → chunk-ISFIEDU2.js} +1 -1
  27. package/Marketplace/{chunk-SKMUHTVE.js → chunk-ITJHNS2G.js} +1 -1
  28. package/Marketplace/chunk-J6ASZAVV.js +1 -0
  29. package/Marketplace/{chunk-TNBAGDLT.js → chunk-JNGM4O4U.js} +11 -11
  30. package/Marketplace/{chunk-7QIOC7BK.js → chunk-JS5XLOTQ.js} +1 -1
  31. package/Marketplace/{chunk-KSDM566S.js → chunk-JTZGR2TX.js} +1 -1
  32. package/Marketplace/{chunk-COLVGV5B.js → chunk-KFEX5WDJ.js} +1 -1
  33. package/Marketplace/chunk-KNFZSRBH.js +1 -0
  34. package/Marketplace/{chunk-TO2VHTUR.js → chunk-L3WFFTI6.js} +1 -1
  35. package/Marketplace/{chunk-WP6G47JB.js → chunk-LDC42S7G.js} +1 -1
  36. package/Marketplace/chunk-LEMN4XNC.js +4 -0
  37. package/Marketplace/{chunk-644NU43G.js → chunk-LJLL24D5.js} +1 -1
  38. package/Marketplace/{chunk-ELFNCSQS.js → chunk-MSDWOEET.js} +1 -1
  39. package/Marketplace/{chunk-CHDEJCV7.js → chunk-NDVW5CQG.js} +1 -1
  40. package/Marketplace/{chunk-OKATPNAY.js → chunk-NVTP35HE.js} +1 -1
  41. package/Marketplace/{chunk-7I7KV673.js → chunk-OM4JMXVF.js} +1 -1
  42. package/Marketplace/chunk-ON25NAJQ.js +3 -0
  43. package/Marketplace/{chunk-K5HNYUX4.js → chunk-PT6I33PO.js} +1 -1
  44. package/Marketplace/{chunk-VAE6Y2B3.js → chunk-PZ6VAPM5.js} +1 -1
  45. package/Marketplace/{chunk-IPVDR333.js → chunk-Q443OERQ.js} +1 -1
  46. package/Marketplace/{chunk-WGXKB6XB.js → chunk-R3ZCIBHW.js} +1 -1
  47. package/Marketplace/{chunk-CS62TIAP.js → chunk-RW2RZLLY.js} +1 -1
  48. package/Marketplace/{chunk-7XITKPS5.js → chunk-TPI2XS3B.js} +1 -1
  49. package/Marketplace/{chunk-4AQ3EZML.js → chunk-TSQMENIR.js} +1 -1
  50. package/Marketplace/{chunk-ZAKCXPP7.js → chunk-TV6JTTZ6.js} +1 -1
  51. package/Marketplace/{chunk-FGEVVKEH.js → chunk-U2TX2OBS.js} +1 -1
  52. package/Marketplace/{chunk-JB6W2UTC.js → chunk-U7ZNJ3CU.js} +1 -1
  53. package/Marketplace/{chunk-N5YIZS6Z.js → chunk-VAVNT6M4.js} +1 -1
  54. package/Marketplace/{chunk-X6UUIC3F.js → chunk-W56FKJF2.js} +1 -1
  55. package/Marketplace/{chunk-R4XC3TIR.js → chunk-WOWVP6FH.js} +1 -1
  56. package/Marketplace/chunk-XRU6ZED5.js +1 -0
  57. package/Marketplace/{chunk-BGCBCSHC.js → chunk-XUXJWQIO.js} +1 -1
  58. package/Marketplace/{chunk-5XRAHMC6.js → chunk-ZNRMYXI6.js} +1 -1
  59. package/Marketplace/{chunk-2SA7SVYH.js → chunk-ZWFR4K4H.js} +1 -1
  60. package/Marketplace/index.html +24 -19
  61. package/Marketplace/main-B7ZBS2B4.js +1 -0
  62. package/Marketplace/{styles-VY4XPEM3.css → styles-VI47P5BQ.css} +1 -1
  63. package/package.json +1 -1
  64. package/Marketplace/chunk-2V7GCWY7.js +0 -1
  65. package/Marketplace/chunk-2YI2WW5U.js +0 -1
  66. package/Marketplace/chunk-ENOOLWKX.js +0 -1
  67. package/Marketplace/chunk-IMUZFXPJ.js +0 -4
  68. package/Marketplace/chunk-IZ3HV6DV.js +0 -1
  69. package/Marketplace/chunk-OGL675J6.js +0 -1
  70. package/Marketplace/chunk-UGTOBS2B.js +0 -1
  71. package/Marketplace/chunk-WOOLZ22H.js +0 -3
  72. package/Marketplace/chunk-X5NF5S2H.js +0 -1
  73. package/Marketplace/main-FSM7S3E4.js +0 -1
  74. /package/Marketplace/{chunk-EF3W3UUA.js → chunk-EQ2WXZM5.js} +0 -0
  75. /package/Marketplace/{chunk-322JBPYB.js → chunk-KJRJA6WL.js} +0 -0
  76. /package/Marketplace/{chunk-MKDJJ5L7.js → chunk-TIT4WYYC.js} +0 -0
  77. /package/Marketplace/{chunk-R7J6AS67.js → chunk-TOSWRZLL.js} +0 -0
  78. /package/Marketplace/{polyfills-5ZPLRT7K.js → polyfills-5HAIPMSD.js} +0 -0
@@ -1,8 +1,8 @@
1
- import{a as D,b as ee,j as Cd,k as Ro,l as Ed,m as Id}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-R7J6AS67.js";function M(t){return typeof t=="function"}function ca(t){return M(t?.lift)}function b(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 jt(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=jt(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription:
1
+ import{a as D,b as ee,j as Cd,k as Oo,l as Ed,m as Id}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.9.0/Marketplace/chunk-TOSWRZLL.js";function M(t){return typeof t=="function"}function da(t){return M(t?.lift)}function b(t){return e=>{if(da(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 jt(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 Po=jt(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription:
2
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(M(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{bd(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)bd(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&&M(t.remove)&&M(t.add)&&M(t.unsubscribe)}function bd(t){M(t)?t():t.unsubscribe()}var Be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Tn={setTimeout(t,e,...r){let{delegate:n}=Tn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Tn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Fo(t){Tn.setTimeout(()=>{let{onUnhandledError:e}=Be;if(e)e(t);else throw t})}function He(){}var Md=(()=>da("C",void 0,void 0))();function Sd(t){return da("E",void 0,t)}function Td(t){return da("N",t,void 0)}function da(t,e,r){return{kind:t,value:e,error:r}}var tn=null;function xn(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 xd(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(Td(e),this):this._next(e)}error(e){this.isStopped?ha(Sd(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ha(Md,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(M(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?xd(t):Fo(t)}function yv(t){throw t}function ha(t,e){let{onStoppedNotification:r}=Be;r&&Tn.setTimeout(()=>r(t,e))}var Dv={closed:!0,next:He,error:yv,complete:He};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 b((r,n)=>{let o=0;r.subscribe(I(n,i=>{n.next(t.call(e,i,o++))}))})}var _n=(()=>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 xn(()=>{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=_d(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)}[_n](){return this}pipe(...r){return va(r)(this)}toPromise(r){return r=_d(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 _d(t){var e;return(e=t??Be.Promise)!==null&&e!==void 0?e:Promise}function wv(t){return t&&M(t.next)&&M(t.error)&&M(t.complete)}function Cv(t){return t&&t instanceof nn||wv(t)&&Po(t)}var Ad=jt(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 Ad}next(r){xn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){xn(()=>{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(){xn(()=>{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 Ir={now(){return(Ir.delegate||Date).now()},delegate:void 0};var br=class extends ae{constructor(e=1/0,r=1/0,n=Ir){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 An=t=>t&&typeof t.length=="number"&&typeof t!="function";function jo(t){return M(t?.then)}function Vo(t){return M(t[_n])}function $o(t){return Symbol.asyncIterator&&M(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 M(t?.[Bo])}function zo(t){return Ed(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 M(t?.getReader)}function P(t){if(t instanceof k)return t;if(t!=null){if(Vo(t))return Iv(t);if(An(t))return bv(t);if(jo(t))return Mv(t);if($o(t))return Nd(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[_n]();if(M(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 Nd(t){return new k(e=>{xv(t,e).catch(r=>e.error(r))})}function Tv(t){return Nd(zo(t))}function xv(t,e){var r,n,o,i;return Cd(this,void 0,void 0,function*(){try{for(r=Id(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 S=s;h(),S?.unsubscribe()};return b((S,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(S).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 Rd(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 br(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Nn(){return b((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 Rn=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 Nn()(this)}};var On={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=On;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}=On;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=On;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 Mr={setInterval(t,e,...r){let{delegate:n}=Mr;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Mr;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Ke=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 Mr.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&&Mr.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 Od(t){return t in Ca?(delete Ca[t],!0):!1}var Pd={setImmediate(t){let e=_v++;return Ca[e]=!0,wa||(wa=Promise.resolve()),wa.then(()=>Od(e)&&t()),e},clearImmediate(t){Od(t)}};var{setImmediate:Av,clearImmediate:Nv}=Pd,Sr={setImmediate(...t){let{delegate:e}=Sr;return(e?.setImmediate||Av)(...t)},clearImmediate(t){let{delegate:e}=Sr;return(e?.clearImmediate||Nv)(t)},delegate:void 0};var qo=class extends Ke{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=Sr.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&&(Sr.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var Pn=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)}};Pn.now=Ir.now;var Je=class extends Pn{constructor(e,r=Pn.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 Je{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 Xe=new Je(Ke),Ea=Xe;var Yo=class extends Ke{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 Je{};var Ov=new Qo(Yo);var Ko=class extends Ke{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=On.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&&(On.cancelAnimationFrame(r),e._scheduled=void 0)}};var Jo=class extends Je{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&&M(t.schedule)}function Ia(t){return t[t.length-1]}function Fn(t){return M(Ia(t))?t.pop():void 0}function et(t){return Xo(Ia(t))?t.pop():void 0}function Fd(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 Tr(t,e=0){return b((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 xr(t,e=0){return b((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function kd(t,e){return P(t).pipe(xr(e),Tr(e))}function Ld(t,e){return P(t).pipe(xr(e),Tr(e))}function jd(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 Vd(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)}),()=>M(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 $d(t,e){return ei(zo(t),e)}function Ud(t,e){if(t!=null){if(Vo(t))return kd(t,e);if(An(t))return jd(t,e);if(jo(t))return Ld(t,e);if($o(t))return ei(t,e);if(Ho(t))return Vd(t,e);if(Wo(t))return $d(t,e)}throw Uo(t)}function G(t,e){return e?Ud(t,e):P(t)}function T(...t){let e=et(t);return G(t,e)}function kn(t,e){let r=M(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||M(t.lift)&&M(t.subscribe))}var yt=jt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function ti(t){return t instanceof Date&&!isNaN(t)}var Fv=jt(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??Xe,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 b((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(S){u.error(S)}},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 Ln(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 _r(...t){let e=et(t),r=Fn(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(Ln(r)):i}function Wv(t,e,r=le){return n=>{Bd(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)Bd(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 Bd(t,e,r){t?pe(r,t,e):e()}function Hd(t,e,r,n,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=S=>c<n?p(S):u.push(S),p=S=>{i&&e.next(S),c++;let C=!1;P(r(S,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 M(e)?K((n,o)=>O((i,s)=>e(n,i,o,s))(P(t(n,o))),r):(typeof e=="number"&&(r=e),b((n,o)=>Hd(n,o,t,r)))}function tt(t=1/0){return K(le,t)}function zd(){return tt(1)}function jn(...t){return zd()(G(t,et(t)))}function oi(t){return new k(e=>{P(t()).subscribe(e)})}function Gv(...t){let e=Fn(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(Ln(e)):o}var qv=["addListener","removeListener"],Zv=["addEventListener","removeEventListener"],Yv=["on","off"];function Ma(t,e,r,n){if(M(r)&&(n=r,r=void 0),n)return Ma(t,e,r).pipe(Ln(n));let[o,i]=Jv(t)?Zv.map(s=>a=>t[s](e,a,r)):Qv(t)?qv.map(Wd(t,e)):Kv(t)?Yv.map(Wd(t,e)):[];if(!o&&An(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 Wd(t,e){return r=>n=>t[r](e,n)}function Qv(t){return M(t.addListener)&&M(t.removeListener)}function Kv(t){return M(t.on)&&M(t.off)}function Jv(t){return M(t.addEventListener)&&M(t.removeEventListener)}function Ar(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=Xe){return t<0&&(t=0),Ar(t,t,e)}function ey(...t){let e=et(t),r=Fd(t,1/0),n=t;return n.length?n.length===1?P(n[0]):tt(r)(G(n,e)):Ie}function Gd(t,e){return(r,n)=>!t.call(e,r,n)}function te(t,e){return b((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(Gd(e,r))(P(t))]}function qd(t){return b((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=Xe){return qd(()=>Ar(t,e))}function Dt(t){return b((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 Zd(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 nt(t,e){return M(e)?K(t,e,1):K(t,1)}function ry(t){return b((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,He),P(t(a)).subscribe(i)},()=>{s(),r.complete()},void 0,()=>{o=i=null}))})}function oy(t,e=Xe){return b((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 Vt(t){return b((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:b((e,r)=>{let n=0;e.subscribe(I(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function iy(){return b((t,e)=>{t.subscribe(I(e,He))})}function Sa(t){return O(()=>t)}function sy(t,e=le){return t=t??ay,b((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 ay(t,e){return t===e}function ii(t=uy){return b((e,r)=>{let n=!1;e.subscribe(I(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function uy(){return new yt}function cy(t,e){return b((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 $t(t){return b((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function rt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?te((o,i)=>t(o,i,n)):le,wt(1),r?Vt(e):ii(()=>new yt))}function Vn(t){return t<=0?()=>Ie:b((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,Vn(1),r?Vt(e):ii(()=>new yt))}function si(t,e){return b(Zd(t,e,arguments.length>=2,!0))}function ly(t){return te((e,r)=>t<=r)}function xa(...t){let e=et(t);return b((r,n)=>{(e?jn(t,r,e):jn(t,r)).subscribe(n)})}function ue(t,e){return b((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 dy(t,e){return M(e)?ue(()=>t,e):ue(()=>t)}function ai(t){return b((e,r)=>{P(t).subscribe(I(r,()=>r.complete(),He)),!r.closed&&e.subscribe(r)})}function fy(t,e=!1){return b((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=M(t)||e||r?{next:t,error:e,complete:r}:t;return n?b((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 hy(...t){let e=Fn(t);return b((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))},He));r.subscribe(I(n,u=>{if(a){let c=[u,...i];n.next(e?e(...c):c)}}))})}var Yd=null;var _a=1;function se(t){let e=Yd;return Yd=t,e}var Qd={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 py(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 Kd(t){return t&&(t.nextProducerIndex=0),se(t)}function Jd(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||(py(r),n!==r.version))return!0}return!1}function Xd(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(gy(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 gy(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function my(){throw new Error}var vy=my;function ef(t){vy=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 yy=z({__forward_ref__:z});function zf(t){return t.__forward_ref__=zf,t.toString=function(){return ge(this())},t}function we(t){return Wf(t)?t():t}function Wf(t){return typeof t=="function"&&t.hasOwnProperty(yy)&&t.__forward_ref__===zf}function Gf(t){return t&&!!t.\u0275providers}var qf="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 Dy=z({\u0275cmp:z}),wy=z({\u0275dir:z}),Cy=z({\u0275pipe:z}),Ey=z({\u0275mod:z}),Ii=z({\u0275fac:z}),Nr=z({__NG_ELEMENT_ID__:z}),tf=z({__NG_ENV_ID__:z});function sn(t){return typeof t=="string"?t:t==null?"":String(t)}function Iy(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 by(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 My(t,e){t==null&&Sy(e,t,null,"!=")}function Sy(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 nf(t,Yf)||nf(t,Qf)}function Zf(t){return Wi(t)!==null}function nf(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ty(t){let e=t&&(t[Yf]||t[Qf]);return e||null}function rf(t){return t&&(t.hasOwnProperty(of)||t.hasOwnProperty(xy))?t[of]:null}var Yf=z({\u0275prov:z}),of=z({\u0275inj:z}),Qf=z({ngInjectableDef:z}),xy=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 Kf(){return Qa}function be(t){let e=Qa;return Qa=t,e}function Jf(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 _y={},Or=_y,Ka="__NG_DI_FLAG__",bi="ngTempTokenPath",Ay="ngTokenPath",Ny=/\n/gm,Ry="\u0275",sf="__source",zn;function Oy(){return zn}function Ut(t){let e=zn;return zn=t,e}function Py(t,e=F.Default){if(zn===void 0)throw new v(-203,!1);return zn===null?Jf(t,void 0,e):zn.get(t,e&F.Optional?null:void 0,e)}function y(t,e=F.Default){return(Kf()||Py)(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=Fy(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 Xf(t,e){return t[Ka]=e,t.prototype[Ka]=e,t}function Fy(t){return t[Ka]}function ky(t,e,r,n){let o=t[bi];throw e[sf]&&o.unshift(e[sf]),t.message=Ly(`
5
- `+t.message,o,r,n),t[Ay]=o,t[bi]=null,t}function Ly(t,e,r,n=null){t=t&&t.charAt(0)===`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=r});function tn(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(M(n))try{n()}catch(i){e=i instanceof Po?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{bd(i)}catch(s){e=e??[],s instanceof Po?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Po(e)}}add(e){var r;if(e&&e!==this)if(this.closed)bd(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)&&tn(r,e)}remove(e){let{_finalizers:r}=this;r&&tn(r,e),e instanceof t&&e._removeParent(this)}};Q.EMPTY=(()=>{let t=new Q;return t.closed=!0,t})();var fa=Q.EMPTY;function Fo(t){return t instanceof Q||t&&"closed"in t&&M(t.remove)&&M(t.add)&&M(t.unsubscribe)}function bd(t){M(t)?t():t.unsubscribe()}var Be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Tn={setTimeout(t,e,...r){let{delegate:n}=Tn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Tn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function ko(t){Tn.setTimeout(()=>{let{onUnhandledError:e}=Be;if(e)e(t);else throw t})}function He(){}var Md=(()=>ha("C",void 0,void 0))();function Sd(t){return ha("E",void 0,t)}function Td(t){return ha("N",t,void 0)}function ha(t,e,r){return{kind:t,value:e,error:r}}var nn=null;function xn(t){if(Be.useDeprecatedSynchronousErrorHandling){let e=!nn;if(e&&(nn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=nn;if(nn=null,r)throw n}}else t()}function xd(t){Be.useDeprecatedSynchronousErrorHandling&&nn&&(nn.errorThrown=!0,nn.error=t)}var rn=class extends Q{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Fo(e)&&e.add(this)):this.destination=Dv}static create(e,r,n){return new yt(e,r,n)}next(e){this.isStopped?ga(Td(e),this):this._next(e)}error(e){this.isStopped?ga(Sd(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ga(Md,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 pa(t,e){return vv.call(t,e)}var ma=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Lo(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Lo(n)}else Lo(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Lo(r)}}},yt=class extends rn{constructor(e,r,n){super();let o;if(M(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&&pa(e.next,i),error:e.error&&pa(e.error,i),complete:e.complete&&pa(e.complete,i)}):o=e}this.destination=new ma(o)}};function Lo(t){Be.useDeprecatedSynchronousErrorHandling?xd(t):ko(t)}function yv(t){throw t}function ga(t,e){let{onStoppedNotification:r}=Be;r&&Tn.setTimeout(()=>r(t,e))}var Dv={closed:!0,next:He,error:yv,complete:He};function I(t,e,r,n,o){return new va(t,e,r,n,o)}var va=class extends rn{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 b((r,n)=>{let o=0;r.subscribe(I(n,i=>{n.next(t.call(e,i,o++))}))})}var _n=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function le(t){return t}function ya(...t){return Da(t)}function Da(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 yt(r,n,o);return xn(()=>{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=_d(n),new n((o,i)=>{let s=new yt({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)}[_n](){return this}pipe(...r){return Da(r)(this)}toPromise(r){return r=_d(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 _d(t){var e;return(e=t??Be.Promise)!==null&&e!==void 0?e:Promise}function wv(t){return t&&M(t.next)&&M(t.error)&&M(t.complete)}function Cv(t){return t&&t instanceof rn||wv(t)&&Fo(t)}var Ad=jt(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 jo(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Ad}next(r){xn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){xn(()=>{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(){xn(()=>{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?fa:(this.currentObservers=null,i.push(r),new Q(()=>{this.currentObservers=null,tn(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 jo(e,r),t})(),jo=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:fa}};var Ir={now(){return(Ir.delegate||Date).now()},delegate:void 0};var br=class extends ae{constructor(e=1/0,r=1/0,n=Ir){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 An=t=>t&&typeof t.length=="number"&&typeof t!="function";function Vo(t){return M(t?.then)}function $o(t){return M(t[_n])}function Uo(t){return Symbol.asyncIterator&&M(t?.[Symbol.asyncIterator])}function Bo(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 Ho=Ev();function zo(t){return M(t?.[Ho])}function Wo(t){return Ed(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield Oo(r.read());if(o)return yield Oo(void 0);yield yield Oo(n)}}finally{r.releaseLock()}})}function Go(t){return M(t?.getReader)}function P(t){if(t instanceof k)return t;if(t!=null){if($o(t))return Iv(t);if(An(t))return bv(t);if(Vo(t))return Mv(t);if(Uo(t))return Nd(t);if(zo(t))return Sv(t);if(Go(t))return Tv(t)}throw Bo(t)}function Iv(t){return new k(e=>{let r=t[_n]();if(M(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,ko)})}function Sv(t){return new k(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Nd(t){return new k(e=>{xv(t,e).catch(r=>e.error(r))})}function Tv(t){return Nd(Wo(t))}function xv(t,e){var r,n,o,i;return Cd(this,void 0,void 0,function*(){try{for(r=Id(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 Ca(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 S=s;h(),S?.unsubscribe()};return b((S,C)=>{c++,!d&&!l&&f();let m=u=u??e();C.add(()=>{c--,c===0&&!d&&!l&&(a=wa(p,o))}),m.subscribe(C),!s&&c>0&&(s=new yt({next:j=>m.next(j),error:j=>{d=!0,f(),a=wa(h,r,j),m.error(j)},complete:()=>{l=!0,f(),a=wa(h,n),m.complete()}}),P(S).subscribe(s))})(i)}}function wa(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new yt({next:()=>{n.unsubscribe(),t()}});return P(e(...r)).subscribe(n)}function Rd(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,Ca({connector:()=>new br(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Nn(){return b((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 Rn=class extends k{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,da(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 Nn()(this)}};var On={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=On;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}=On;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=On;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 qo=class extends Q{constructor(e,r){super()}schedule(e,r=0){return this}};var Mr={setInterval(t,e,...r){let{delegate:n}=Mr;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Mr;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var Ke=class extends qo{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 Mr.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&&Mr.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,tn(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var _v=1,Ea,Ia={};function Od(t){return t in Ia?(delete Ia[t],!0):!1}var Pd={setImmediate(t){let e=_v++;return Ia[e]=!0,Ea||(Ea=Promise.resolve()),Ea.then(()=>Od(e)&&t()),e},clearImmediate(t){Od(t)}};var{setImmediate:Av,clearImmediate:Nv}=Pd,Sr={setImmediate(...t){let{delegate:e}=Sr;return(e?.setImmediate||Av)(...t)},clearImmediate(t){let{delegate:e}=Sr;return(e?.clearImmediate||Nv)(t)},delegate:void 0};var Zo=class extends Ke{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=Sr.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&&(Sr.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var Pn=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)}};Pn.now=Ir.now;var Je=class extends Pn{constructor(e,r=Pn.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 Yo=class extends Je{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 Yo(Zo);var Xe=new Je(Ke),ba=Xe;var Qo=class extends Ke{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 Ko=class extends Je{};var Ov=new Ko(Qo);var Jo=class extends Ke{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=On.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&&(On.cancelAnimationFrame(r),e._scheduled=void 0)}};var Xo=class extends Je{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 Xo(Jo);var Ie=new k(t=>t.complete());function ei(t){return t&&M(t.schedule)}function Ma(t){return t[t.length-1]}function Fn(t){return M(Ma(t))?t.pop():void 0}function et(t){return ei(Ma(t))?t.pop():void 0}function Fd(t,e){return typeof Ma(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 Tr(t,e=0){return b((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 xr(t,e=0){return b((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function kd(t,e){return P(t).pipe(xr(e),Tr(e))}function Ld(t,e){return P(t).pipe(xr(e),Tr(e))}function jd(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 Vd(t,e){return new k(r=>{let n;return pe(r,e,()=>{n=t[Ho](),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)}),()=>M(n?.return)&&n.return()})}function ti(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 $d(t,e){return ti(Wo(t),e)}function Ud(t,e){if(t!=null){if($o(t))return kd(t,e);if(An(t))return jd(t,e);if(Vo(t))return Ld(t,e);if(Uo(t))return ti(t,e);if(zo(t))return Vd(t,e);if(Go(t))return $d(t,e)}throw Bo(t)}function G(t,e){return e?Ud(t,e):P(t)}function x(...t){let e=et(t);return G(t,e)}function kn(t,e){let r=M(t)?t:()=>t,n=o=>o.error(r());return new k(e?o=>e.schedule(n,0,o):n)}function Sa(t){return!!t&&(t instanceof k||M(t.lift)&&M(t.subscribe))}var Dt=jt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function ni(t){return t instanceof Date&&!isNaN(t)}var Fv=jt(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??Xe,meta:s=null}=ni(t)?{first:t}:typeof t=="number"?{each:t}:t;if(r==null&&n==null)throw new TypeError("No timeout provided.");return b((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(S){u.error(S)}},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 Ln(t){return O(e=>Vv(t,e))}var{isArray:$v}=Array,{getPrototypeOf:Uv,prototype:Bv,keys:Hv}=Object;function ri(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 oi(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function _r(...t){let e=et(t),r=Fn(t),{args:n,keys:o}=ri(t);if(n.length===0)return G([],e);let i=new k(Wv(n,e,o?s=>oi(o,s):le));return r?i.pipe(Ln(r)):i}function Wv(t,e,r=le){return n=>{Bd(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)Bd(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 Bd(t,e,r){t?pe(r,t,e):e()}function Hd(t,e,r,n,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=S=>c<n?p(S):u.push(S),p=S=>{i&&e.next(S),c++;let C=!1;P(r(S,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 M(e)?K((n,o)=>O((i,s)=>e(n,i,o,s))(P(t(n,o))),r):(typeof e=="number"&&(r=e),b((n,o)=>Hd(n,o,t,r)))}function tt(t=1/0){return K(le,t)}function zd(){return tt(1)}function jn(...t){return zd()(G(t,et(t)))}function ii(t){return new k(e=>{P(t()).subscribe(e)})}function Gv(...t){let e=Fn(t),{args:r,keys:n}=ri(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?oi(n,a):a),i.complete())}))}});return e?o.pipe(Ln(e)):o}var qv=["addListener","removeListener"],Zv=["addEventListener","removeEventListener"],Yv=["on","off"];function Ta(t,e,r,n){if(M(r)&&(n=r,r=void 0),n)return Ta(t,e,r).pipe(Ln(n));let[o,i]=Jv(t)?Zv.map(s=>a=>t[s](e,a,r)):Qv(t)?qv.map(Wd(t,e)):Kv(t)?Yv.map(Wd(t,e)):[];if(!o&&An(t))return K(s=>Ta(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 Wd(t,e){return r=>n=>t[r](e,n)}function Qv(t){return M(t.addListener)&&M(t.removeListener)}function Kv(t){return M(t.on)&&M(t.off)}function Jv(t){return M(t.addEventListener)&&M(t.removeEventListener)}function Ar(t=0,e,r=ba){let n=-1;return e!=null&&(ei(e)?r=e:n=e),new k(o=>{let i=ni(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=Xe){return t<0&&(t=0),Ar(t,t,e)}function ey(...t){let e=et(t),r=Fd(t,1/0),n=t;return n.length?n.length===1?P(n[0]):tt(r)(G(n,e)):Ie}function Gd(t,e){return(r,n)=>!t.call(e,r,n)}function te(t,e){return b((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(Gd(e,r))(P(t))]}function qd(t){return b((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=Xe){return qd(()=>Ar(t,e))}function wt(t){return b((e,r)=>{let n=null,o=!1,i;n=e.subscribe(I(r,void 0,void 0,s=>{i=P(t(s,wt(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Zd(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 nt(t,e){return M(e)?K(t,e,1):K(t,1)}function ry(t){return b((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,He),P(t(a)).subscribe(i)},()=>{s(),r.complete()},void 0,()=>{o=i=null}))})}function oy(t,e=Xe){return b((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 Vt(t){return b((e,r)=>{let n=!1;e.subscribe(I(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function Ct(t){return t<=0?()=>Ie:b((e,r)=>{let n=0;e.subscribe(I(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function iy(){return b((t,e)=>{t.subscribe(I(e,He))})}function xa(t){return O(()=>t)}function sy(t,e=le){return t=t??ay,b((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 ay(t,e){return t===e}function si(t=uy){return b((e,r)=>{let n=!1;e.subscribe(I(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function uy(){return new Dt}function cy(t,e){return b((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 $t(t){return b((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function rt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?te((o,i)=>t(o,i,n)):le,Ct(1),r?Vt(e):si(()=>new Dt))}function Vn(t){return t<=0?()=>Ie:b((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 _a(t,e){let r=arguments.length>=2;return n=>n.pipe(t?te((o,i)=>t(o,i,n)):le,Vn(1),r?Vt(e):si(()=>new Dt))}function ai(t,e){return b(Zd(t,e,arguments.length>=2,!0))}function ly(t){return te((e,r)=>t<=r)}function Aa(...t){let e=et(t);return b((r,n)=>{(e?jn(t,r,e):jn(t,r)).subscribe(n)})}function ue(t,e){return b((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 dy(t,e){return M(e)?ue(()=>t,e):ue(()=>t)}function ui(t){return b((e,r)=>{P(t).subscribe(I(r,()=>r.complete(),He)),!r.closed&&e.subscribe(r)})}function fy(t,e=!1){return b((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=M(t)||e||r?{next:t,error:e,complete:r}:t;return n?b((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 hy(...t){let e=Fn(t);return b((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))},He));r.subscribe(I(n,u=>{if(a){let c=[u,...i];n.next(e?e(...c):c)}}))})}var Yd=null;var Na=1;function se(t){let e=Yd;return Yd=t,e}var Qd={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 py(t){if(!(Pa(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Na)){if(!t.producerMustRecompute(t)&&!Ra(t)){t.dirty=!1,t.lastCleanEpoch=Na;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Na}}function Kd(t){return t&&(t.nextProducerIndex=0),se(t)}function Jd(t,e){if(se(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Pa(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Oa(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ra(t){ci(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(py(r),n!==r.version))return!0}return!1}function Xd(t){if(ci(t),Pa(t))for(let e=0;e<t.producerNode.length;e++)Oa(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 Oa(t,e){if(gy(t),ci(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)Oa(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];ci(o),o.producerIndexOfThis[n]=e}}function Pa(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function ci(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function gy(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function my(){throw new Error}var vy=my;function ef(t){vy=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 li(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 Ka(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var yy=z({__forward_ref__:z});function zf(t){return t.__forward_ref__=zf,t.toString=function(){return ge(this())},t}function we(t){return Wf(t)?t():t}function Wf(t){return typeof t=="function"&&t.hasOwnProperty(yy)&&t.__forward_ref__===zf}function Gf(t){return t&&!!t.\u0275providers}var qf="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(Wi(e,r)),this.code=e}};function Wi(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Dy=z({\u0275cmp:z}),wy=z({\u0275dir:z}),Cy=z({\u0275pipe:z}),Ey=z({\u0275mod:z}),bi=z({\u0275fac:z}),Nr=z({__NG_ELEMENT_ID__:z}),tf=z({__NG_ENV_ID__:z});function an(t){return typeof t=="string"?t:t==null?"":String(t)}function Iy(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():an(t)}function by(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,`Circular dependency in DI detected for ${t}${r}`)}function cc(t,e){let r=e?` in ${e}`:"";throw new v(-201,!1)}function My(t,e){t==null&&Sy(e,t,null,"!=")}function Sy(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 St(t){return{providers:t.providers||[],imports:t.imports||[]}}function Gi(t){return nf(t,Yf)||nf(t,Qf)}function Zf(t){return Gi(t)!==null}function nf(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ty(t){let e=t&&(t[Yf]||t[Qf]);return e||null}function rf(t){return t&&(t.hasOwnProperty(of)||t.hasOwnProperty(xy))?t[of]:null}var Yf=z({\u0275prov:z}),of=z({\u0275inj:z}),Qf=z({ngInjectableDef:z}),xy=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||{}),Ja;function Kf(){return Ja}function be(t){let e=Ja;return Ja=t,e}function Jf(t,e,r){let n=Gi(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;cc(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 _y={},Or=_y,Xa="__NG_DI_FLAG__",Mi="ngTempTokenPath",Ay="ngTokenPath",Ny=/\n/gm,Ry="\u0275",sf="__source",zn;function Oy(){return zn}function Ut(t){let e=zn;return zn=t,e}function Py(t,e=F.Default){if(zn===void 0)throw new v(-203,!1);return zn===null?Jf(t,void 0,e):zn.get(t,e&F.Optional?null:void 0,e)}function y(t,e=F.Default){return(Kf()||Py)(we(t),e)}function g(t,e=F.Default){return y(t,qi(e))}function qi(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function eu(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=Fy(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 Xf(t,e){return t[Xa]=e,t.prototype[Xa]=e,t}function Fy(t){return t[Xa]}function ky(t,e,r,n){let o=t[Mi];throw e[sf]&&o.unshift(e[sf]),t.message=Ly(`
5
+ `+t.message,o,r,n),t[Ay]=o,t[Mi]=null,t}function Ly(t,e,r,n=null){t=t&&t.charAt(0)===`
6
6
  `&&t.charAt(1)==Ry?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(Ny,`
7
- `)}`}function Gr(t){return{toString:t}.toString()}var eh=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(eh||{}),at=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(at||{}),Gn={},Me=[];function th(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];jy(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),n++}}return n}function nh(t){return t===3||t===4||t===6}function jy(t){return t.charCodeAt(0)===64}function Pr(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?af(t,r,o,null,e[++n]):af(t,r,o,null,null))}}return t}function af(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 rh="ng-template";function Vy(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"&&th(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 oh(t){return t.type===4&&t.value!==rh}function $y(t,e,r){let n=t.type===4&&!r?rh:t.value;return e===n}function Uy(t,e,r){let n=4,o=t.attrs||[],i=zy(o),s=!1;for(let a=0;a<e.length;a++){let u=e[a];if(typeof u=="number"){if(!s&&!ze(n)&&!ze(u))return!1;if(s&&ze(u))continue;s=!1,n=u|n&1;continue}if(!s)if(n&4){if(n=2|n&1,u!==""&&!$y(t,u,r)||u===""&&e.length===1){if(ze(n))return!1;s=!0}}else{let c=n&8?u:e[++a];if(n&8&&t.attrs!==null){if(!Vy(t.attrs,c,r)){if(ze(n))return!1;s=!0}continue}let l=n&8?"class":u,d=By(l,o,oh(t),r);if(d===-1){if(ze(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&&th(h,c,0)!==-1||n&2&&c!==f){if(ze(n))return!1;s=!0}}}}return ze(n)||s}function ze(t){return(t&1)===0}function By(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 Wy(e,t)}function ih(t,e,r=!1){for(let n=0;n<e.length;n++)if(Uy(t,e[n],r))return!0;return!1}function Hy(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function zy(t){for(let e=0;e<t.length;e++){let r=t[e];if(nh(r))return e}return t.length}function Wy(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 Gy(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 uf(t,e){return t?":not("+e.trim()+")":e}function qy(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!==""&&!ze(s)&&(e+=uf(i,o),o=""),n=s,i=i||!ze(n);r++}return o!==""&&(e+=uf(i,o)),e}function Zy(t){return t.map(qy).join(",")}function Yy(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(!ze(o))break;o=i}n++}return{attrs:e,classes:r}}function sh(t){return Gr(()=>{let e=dh(t),r=ee(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===eh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||at.Emulated,styles:t.styles||Me,_:null,schemas:t.schemas||null,tView:null,id:""});fh(r);let n=t.dependencies;return r.directiveDefs=lf(n,!1),r.pipeDefs=lf(n,!0),r.id=Jy(r),r})}function Qy(t){return zt(t)||ah(t)}function Ky(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 cf(t,e){if(t==null)return Gn;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=dh(t);return fh(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 zt(t){return t[Dy]||null}function ah(t){return t[wy]||null}function uh(t){return t[Cy]||null}function ch(t){let e=zt(t)||ah(t)||uh(t);return e!==null?e.standalone:!1}function lh(t,e){let r=t[Ey]||null;if(!r&&e===!0)throw new Error(`Type ${ge(t)} does not have '\u0275mod' property.`);return r}function dh(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||Gn,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:cf(t.inputs,e),outputs:cf(t.outputs),debugInfo:null}}function fh(t){t.features?.forEach(e=>e(t))}function lf(t,e){if(!t)return null;let r=e?uh:Qy;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Ky)}function Jy(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 dt=0,A=1,_=2,re=3,Ge=4,_e=5,qn=6,Fr=7,me=8,Zn=9,Ct=10,Z=11,kr=12,df=13,or=14,Fe=15,Zr=16,$n=17,st=18,qi=19,hh=20,Bt=21,Oa=22,an=23,he=25,uc=1;var un=7,Mi=8,Yn=9,ve=10,Qn=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Qn||{});function Ht(t){return Array.isArray(t)&&typeof t[uc]=="object"}function qe(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 Xy(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 ph}function ph(t){return t.type.prototype.ngOnChanges&&(t.setInput=tD),eD}Tt.ngInherit=!0;function eD(){let t=mh(this),e=t?.current;if(e){let r=t.previous;if(r===Gn)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function tD(t,e,r,n){let o=this.declaredInputs[r],i=mh(t)||nD(t,{previous:Gn,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new eu(u&&u.currentValue,e,a===Gn),t[n]=e}var gh="__ngSimpleChanges__";function mh(t){return t[gh]||null}function nD(t,e){return t[gh]=e}var ff=null;var ot=function(t,e,r){ff?.(t,e,r)},vh="svg",rD="math",oD=!1;function iD(){return oD}function ut(t){for(;Array.isArray(t);)t=t[dt];return t}function sD(t){for(;Array.isArray(t);){if(typeof t[uc]=="object")return t;t=t[dt]}return null}function yh(t,e){return ut(e[t])}function Le(t,e){return ut(e[t.index])}function lc(t,e){return t.data[e]}function dc(t,e){return t[e]}function Gt(t,e){let r=e[t];return Ht(r)?r:r[dt]}function aD(t){return(t[_]&4)===4}function fc(t){return(t[_]&128)===128}function uD(t){return qe(t[re])}function Kn(t,e){return e==null?null:t[e]}function Dh(t){t[$n]=0}function cD(t){t[_]&1024||(t[_]|=1024,fc(t)&&Lr(t))}function lD(t,e){for(;t>0;)e=e[or],t--;return e}function wh(t){return t[_]&9216||t[an]?.dirty}function tu(t){wh(t)?Lr(t):t[_]&64&&(iD()?(t[_]|=1024,Lr(t)):t[Ct].changeDetectionScheduler?.notify())}function Lr(t){t[Ct].changeDetectionScheduler?.notify();let e=t[re];for(;e!==null&&!(qe(e)&&e[_]&Qn.HasChildViewsToRefresh||Ht(e)&&e[_]&8192);){if(qe(e))e[_]|=Qn.HasChildViewsToRefresh;else if(e[_]|=8192,!fc(e))break;e=e[re]}}function Ch(t,e){if((t[_]&256)===256)throw new v(911,!1);t[Bt]===null&&(t[Bt]=[]),t[Bt].push(e)}function dD(t,e){if(t[Bt]===null)return;let r=t[Bt].indexOf(e);r!==-1&&t[Bt].splice(r,1)}var N={lFrame:xh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function fD(){return N.lFrame.elementDepthCount}function hD(){N.lFrame.elementDepthCount++}function pD(){N.lFrame.elementDepthCount--}function Eh(){return N.bindingsEnabled}function Ih(){return N.skipHydrationRootTNode!==null}function gD(t){return N.skipHydrationRootTNode===t}function mD(){N.skipHydrationRootTNode=null}function x(){return N.lFrame.lView}function Y(){return N.lFrame.tView}function dk(t){return N.lFrame.contextLView=t,t[me]}function fk(t){return N.lFrame.contextLView=null,t}function ye(){let t=bh();for(;t!==null&&t.type===64;)t=t.parent;return t}function bh(){return N.lFrame.currentTNode}function vD(){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 yD(){return N.lFrame.contextLView}function xt(){let t=N.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function DD(){return N.lFrame.bindingIndex}function wD(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 CD(){return N.lFrame.inI18n}function ED(t,e){let r=N.lFrame;r.bindingIndex=r.bindingRootIndex=t,nu(e)}function ID(){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 Mh(){return N.lFrame.currentQueryIndex}function vc(t){N.lFrame.currentQueryIndex=t}function bD(t){let e=t[A];return e.type===2?e.declTNode:e.type===1?t[_e]:null}function Sh(t,e,r){if(r&F.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&F.Host);)if(o=bD(i),o===null||(i=i[or],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=N.lFrame=Th();return n.currentTNode=e,n.lView=t,!0}function yc(t){let e=Th(),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 Th(){let t=N.lFrame,e=t===null?null:t.child;return e===null?xh(t):e}function xh(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 _h(){let t=N.lFrame;return N.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Ah=_h;function Dc(){let t=_h();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 MD(t){return(N.lFrame.contextLView=lD(t,N.lFrame.contextLView))[me]}function _t(){return N.lFrame.selectedIndex}function ln(t){N.lFrame.selectedIndex=t}function ir(){let t=N.lFrame;return lc(t.tView,t.selectedIndex)}function hk(){N.lFrame.currentNamespace=vh}function pk(){SD()}function SD(){N.lFrame.currentNamespace=null}function TD(){return N.lFrame.currentNamespace}var Nh=!0;function Qi(){return Nh}function Ki(t){Nh=t}function xD(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=ph(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){Rh(t,e,3,r)}function yi(t,e,r,n){(t[_]&3)===r&&Rh(t,e,r,n)}function Pa(t,e){let r=t[_];(r&3)===e&&(r&=16383,r+=1,t[_]=r)}function Rh(t,e,r,n){let o=n!==void 0?t[$n]&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[$n]+=65536),(a<i||i==-1)&&(_D(t,r,e,u),t[$n]=(t[$n]&4294901760)+u+2),u++}function hf(t,e){ot(4,t,e);let r=se(null);try{e.call(t)}finally{se(r),ot(5,t,e)}}function _D(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[$n]>>16&&(t[_]&3)===e&&(t[_]+=16384,hf(a,i)):hf(a,i)}var Wn=-1,dn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function AD(t){return t instanceof dn}function ND(t){return(t.flags&8)!==0}function RD(t){return(t.flags&16)!==0}function Oh(t){return t!==Wn}function Si(t){let e=t&32767;return t&32767}function OD(t){return t>>16}function Ti(t,e){let r=OD(t),n=e;for(;r>0;)n=n[or],r--;return n}var ru=!0;function xi(t){let e=ru;return ru=t,e}var PD=256,Ph=PD-1,Fh=5,FD=0,it={};function kD(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Nr)&&(n=r[Nr]),n==null&&(n=r[Nr]=FD++);let o=n&Ph,i=1<<o;e.data[t+(o>>Fh)]|=i}function _i(t,e){let r=kh(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(Oh(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 kh(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=Uh(o),n===null)return Wn;if(r++,o=o[or],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Wn}function ou(t,e,r){kD(t,e,r)}function LD(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(nh(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 Lh(t,e,r){if(r&F.Optional||t!==void 0)return t;ac(e,"NodeInjector")}function jh(t,e,r,n){if(r&F.Optional&&n===void 0&&(n=null),!(r&(F.Self|F.Host))){let o=t[Zn],i=be(void 0);try{return o?o.get(e,n,r&F.Optional):Jf(e,n,r&F.Optional)}finally{be(i)}}return Lh(n,e,r)}function Vh(t,e,r,n=F.Default,o){if(t!==null){if(e[_]&2048&&!(n&F.Self)){let s=UD(t,e,r,n,it);if(s!==it)return s}let i=$h(t,e,r,n,it);if(i!==it)return i}return jh(e,r,n,o)}function $h(t,e,r,n,o){let i=VD(r);if(typeof i=="function"){if(!Sh(e,t,n))return n&F.Host?Lh(o,r,n):jh(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&F.Optional))ac(r);else return s}finally{Ah()}}else if(typeof i=="number"){let s=null,a=kh(t,e),u=Wn,c=n&F.Host?e[Fe][_e]:null;for((a===-1||n&F.SkipSelf)&&(u=a===-1?wc(t,e):e[a+8],u===Wn||!gf(n,!1)?a=-1:(s=e[A],a=Si(u),e=Ti(u,e)));a!==-1;){let l=e[A];if(pf(i,a,l.data)){let d=jD(a,e,r,s,n,c);if(d!==it)return d}u=e[a+8],u!==Wn&&gf(n,e[A].data[a+8]===c)&&pf(i,a,e)?(s=l,a=Si(u),e=Ti(u,e)):a=-1}}return o}function jD(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):it}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(AD(o)){let s=o;s.resolving&&by(Iy(i[r]));let a=xi(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?be(s.injectImpl):null,l=Sh(t,n,F.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&xD(r,i[r],e)}finally{c!==null&&be(c),xi(a),s.resolving=!1,Ah()}}return o}function VD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Nr)?t[Nr]:void 0;return typeof e=="number"?e>=0?e&Ph:$D:e}function pf(t,e,r){let n=1<<t;return!!(r[e+(t>>Fh)]&n)}function gf(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 Vh(this._tNode,this._lView,e,Gi(n),r)}};function $D(){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 Wf(t)?()=>{let e=iu(we(t));return e&&e()}:cn(t)}function UD(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[_]&2048&&!(s[_]&512);){let a=$h(i,s,r,n|F.Self,it);if(a!==it)return a;let u=i.parent;if(!u){let c=s[hh];if(c){let l=c.get(r,it,n);if(l!==it)return l}u=Uh(s),s=s[or]}i=u}return o}function Uh(t){let e=t[A],r=e.type;return r===2?e.declTNode:r===1?t[_e]:null}function Ec(t){return LD(ye(),t)}var li="__parameters__";function BD(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Bh(t,e,r){return Gr(()=>{let n=BD(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 HD(t){let e=X.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function zD(t){return typeof t=="function"}function WD(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 GD(t){return t.flat(Number.POSITIVE_INFINITY)}function Ic(t,e){t.forEach(r=>Array.isArray(r)?Ic(r,e):e(r))}function Hh(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 zh(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function qD(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,qD(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 ZD(t,e,1)}function ZD(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=Xf(Bh("Optional"),8);var es=Xf(Bh("SkipSelf"),4);function YD(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(XD))}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(()=>ew(i));e.push(u)}),KD(),Promise.all(e).then(()=>{})}var Ni=new Map,QD=new Set;function KD(){let t=Ni;return Ni=new Map,t}function JD(){return Ni.size===0}function XD(t){return typeof t=="string"?t:t.text()}function ew(t){QD.delete(t)}var Jn=new E("ENVIRONMENT_INITIALIZER"),Wh=new E("INJECTOR",-1),Gh=new E("INJECTOR_DEF_TYPES"),Ri=class{get(e,r=Or){if(r===Or){let n=new Error(`NullInjectorError: No provider for ${ge(e)}!`);throw n.name="NullInjectorError",n}return r}};function ts(t){return{\u0275providers:t}}function tw(...t){return{\u0275providers:qh(!0,t),\u0275fromNgModule:!0}}function qh(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&&Zh(o,i),r}function Zh(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=rf(t),s=!i&&zt(t);if(!i&&!s){let u=t.ngModule;if(i=rf(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&&Zh(c,e)}if(!a){let c=cn(o)||(()=>new o);e({provide:o,useFactory:c,deps:Me},o),e({provide:Gh,useValue:o,multi:!0},o),e({provide:Jn,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)Gf(r)&&(r=r.\u0275providers),Array.isArray(r)?bc(r,e):e(r)}var nw=z({provide:String,useValue:z});function Yh(t){return t!==null&&typeof t=="object"&&nw in t}function rw(t){return!!(t&&t.useExisting)}function ow(t){return!!(t&&t.useFactory)}function Xn(t){return typeof t=="function"}function iw(t){return!!t.useClass}var ns=new E("Set Injector scope."),wi={},sw={},La;function Mc(){return La===void 0&&(La=new Ri),La}var Ce=class{},jr=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(Wh,Un(void 0,this)),o.has("environment")&&this.records.set(Ce,Un(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(Gh,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=Ut(this),n=be(void 0),o;try{return e()}finally{Ut(r),be(n)}}get(e,r=Or,n=F.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(tf))return e[tf](this);n=Gi(n);let o,i=Ut(this),s=be(void 0);try{if(!(n&F.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=dw(e)&&Wi(e);c&&this.injectableDefInScope(c)?u=Un(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===Or?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[bi]=a[bi]||[]).unshift(ge(e)),i)throw a;return ky(a,e,"R3InjectorError",this.source)}else throw a}finally{be(s),Ut(i)}}resolveInjectorInitializers(){let e=Ut(this),r=be(void 0),n;try{let o=this.get(Jn,Me,F.Self);for(let i of o)i()}finally{Ut(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=Xn(e)?e:we(e&&e.provide),n=uw(e);if(!Xn(e)&&e.multi===!0){let o=this.records.get(r);o||(o=Un(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=sw,r.value=r.factory()),typeof r.value=="object"&&r.value&&lw(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 aw(t);throw new v(204,!1)}function aw(t){let e=t.length;if(e>0){let n=zh(e,"?");throw new v(204,!1)}let r=Ty(t);return r!==null?()=>r.factory(t):()=>new t}function uw(t){if(Yh(t))return Un(void 0,t.useValue);{let e=Qh(t);return Un(e,wi)}}function Qh(t,e,r){let n;if(Xn(t)){let o=we(t);return cn(o)||au(o)}else if(Yh(t))n=()=>we(t.useValue);else if(ow(t))n=()=>t.useFactory(...Ja(t.deps||[]));else if(rw(t))n=()=>y(we(t.useExisting));else{let o=we(t&&(t.useClass||t.provide));if(cw(t))n=()=>new o(...Ja(t.deps));else return cn(o)||au(o)}return n}function Un(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function cw(t){return!!t.deps}function lw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function dw(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&&Gf(r)?uu(r.\u0275providers,e):e(r)}function ft(t,e){t instanceof jr&&t.assertNotDestroyed();let r,n=Ut(t),o=be(void 0);try{return e()}finally{Ut(n),be(o)}}function fw(t){if(!Kf()&&!Oy())throw new v(-203,!1)}function mf(t,e=null,r=null,n){let o=Kh(t,e,r,n);return o.resolveInjectorInitializers(),o}function Kh(t,e=null,r=null,n,o=new Set){let i=[r||Me,tw(t)];return n=n||(typeof t=="object"?void 0:ge(t)),new jr(i,e||Mc(),n||null,o)}var Ae=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return mf({name:""},o,n,"");{let i=n.name??"";return mf({name:i},n.parent,n.providers,i)}}};e.THROW_IF_NOT_FOUND=Or,e.NULL=new Ri,e.\u0275prov=w({token:e,providedIn:"any",factory:()=>y(Wh)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var cu;function Jh(t){cu=t}function Xh(){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:()=>hw}),hw="ng",Sc=new E("Platform Initializer"),ht=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var gk=new E("AnimationModuleType"),Tc=new E("CSP nonce",{providedIn:"root",factory:()=>Xh().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},ep=new E("ImageConfig",{providedIn:"root",factory:()=>xc});function tp(t){return t instanceof Function?t():t}function pw(t){return(t??g(Ae)).get(ht)==="browser"}function np(t){return(t.flags&128)===128}var ct=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ct||{}),gw=/^>|^->|<!--|-->|--!>|<!-$/g,mw=/(<|>)/g,vw="\u200B$1\u200B";function yw(t){return t.replace(gw,e=>e.replace(mw,vw))}var rp=new Map,Dw=0;function ww(){return Dw++}function Cw(t){rp.set(t[qi],t)}function Ew(t){rp.delete(t[qi])}var vf="__ngContext__";function Wt(t,e){Ht(e)?(t[vf]=e[qi],Cw(e)):t[vf]=e}var Iw;function _c(t,e){return Iw(t,e)}function Ac(t){let e=t[re];return qe(e)?e[re]:e}function op(t){return sp(t[kr])}function ip(t){return sp(t[Ge])}function sp(t){for(;t!==null&&!qe(t);)t=t[Ge];return t}function Bn(t,e,r,n,o){if(n!=null){let i,s=!1;qe(n)?i=n:Ht(n)&&(s=!0,n=n[dt]);let a=ut(n);t===0&&r!==null?o==null?lp(e,r,a):Oi(e,r,a,o||null,!0):t===1&&r!==null?Oi(e,r,a,o||null,!0):t===2?$w(e,a,s):t===3&&e.destroyNode(a),i!=null&&Bw(e,t,i,r,o)}}function bw(t,e){return t.createText(e)}function Mw(t,e,r){t.setValue(e,r)}function Sw(t,e){return t.createComment(yw(e))}function ap(t,e,r){return t.createElement(e,r)}function Tw(t,e){let r=e[Z];Kr(t,e,r,2,null,null),e[dt]=null,e[_e]=null}function xw(t,e,r,n,o,i){n[dt]=o,n[_e]=e,Kr(t,n,r,1,o,i)}function _w(t,e){Kr(t,e,e[Z],2,null,null)}function Aw(t){let e=t[kr];if(!e)return ja(t[A],t);for(;e;){let r=null;if(Ht(e))r=e[kr];else{let n=e[ve];n&&(r=n)}if(!r){for(;e&&!e[Ge]&&e!==t;)Ht(e)&&ja(e[A],e),e=e[re];e===null&&(e=t),Ht(e)&&ja(e[A],e),r=e&&e[Ge]}e=r}}function Nw(t,e,r,n){let o=ve+n,i=r.length;n>0&&(r[o-1][Ge]=e),n<i-ve?(e[Ge]=r[o],Hh(r,ve+n,e)):(r.push(e),e[Ge]=null),e[re]=r;let s=e[Zr];s!==null&&r!==s&&Rw(s,e);let a=e[st];a!==null&&a.insertView(t),tu(e),e[_]|=128}function Rw(t,e){let r=t[Yn],o=e[re][re][Fe];e[Fe]!==o&&(t[_]|=Qn.HasTransplantedViews),r===null?t[Yn]=[e]:r.push(e)}function up(t,e){let r=t[Yn],n=r.indexOf(e),o=e[re];r.splice(n,1)}function Vr(t,e){if(t.length<=ve)return;let r=ve+e,n=t[r];if(n){let o=n[Zr];o!==null&&o!==t&&up(o,n),e>0&&(t[r-1][Ge]=n[Ge]);let i=Ai(t,ve+e);Tw(n[A],n);let s=i[st];s!==null&&s.detachView(i[A]),n[re]=null,n[Ge]=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),Aw(e)}}function ja(t,e){if(!(e[_]&256)){e[_]&=-129,e[_]|=256,e[an]&&Xd(e[an]),Pw(t,e),Ow(t,e),e[A].type===1&&e[Z].destroy();let r=e[Zr];if(r!==null&&qe(e[re])){r!==e[re]&&up(r,e);let n=e[st];n!==null&&n.detachView(t)}Ew(e)}}function Ow(t,e){let r=t.cleanup,n=e[Fr];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[Fr]=null);let o=e[Bt];if(o!==null){e[Bt]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Pw(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];ot(4,a,u);try{u.call(a)}finally{ot(5,a,u)}}else{ot(4,o,i);try{i.call(o)}finally{ot(5,o,i)}}}}}function cp(t,e,r){return Fw(t,e.parent,r)}function Fw(t,e,r){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return r[dt];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===at.None||i===at.Emulated)return null}return Le(n,r)}}function Oi(t,e,r,n,o){t.insertBefore(e,r,n,o)}function lp(t,e,r){t.appendChild(e,r)}function yf(t,e,r,n,o){n!==null?Oi(t,e,r,n,o):lp(t,e,r)}function kw(t,e,r,n){t.removeChild(e,r,n)}function Nc(t,e){return t.parentNode(e)}function Lw(t,e){return t.nextSibling(e)}function dp(t,e,r){return Vw(t,e,r)}function jw(t,e,r){return t.type&40?Le(t,r):null}var Vw=jw,Df;function is(t,e,r,n){let o=cp(t,n,e),i=e[Z],s=n.parent||e[_e],a=dp(s,n,e);if(o!=null)if(Array.isArray(r))for(let u=0;u<r.length;u++)yf(i,o,r[u],a,!1);else yf(i,o,r,a,!1);Df!==void 0&&Df(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 qe(o)?lu(-1,o):ut(o)}}else{if(r&32)return _c(e,t)()||ut(t[e.index]);{let n=fp(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 fp(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 $w(t,e,r){let n=Nc(t,e);n&&kw(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&&Wt(ut(a),n),r.flags|=2),(r.flags&32)!==32)if(u&8)Rc(t,e,r.child,n,o,i,!1),Bn(e,t,o,a,i);else if(u&32){let c=_c(r,n),l;for(;l=c();)Bn(e,t,o,l,i);Bn(e,t,o,a,i)}else u&16?hp(t,e,n,r,o,i):Bn(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 Uw(t,e,r){let n=e[Z],o=cp(t,r,e),i=r.parent||e[_e],s=dp(i,r,e);hp(n,0,e,r,o,s)}function hp(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];Bn(e,t,o,l,i)}else{let c=u,l=s[re];np(n)&&(c.flags|=128),Rc(t,e,c,l,o,i,!0)}}function Bw(t,e,r,n,o){let i=r[un],s=ut(r);i!==s&&Bn(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 Hw(t,e,r,n,o){if(e)o?t.addClass(r,n):t.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:ct.DashCase;o==null?t.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ct.Important),t.setStyle(r,n,o,i))}}function zw(t,e,r){t.setAttribute(e,"style",r)}function pp(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function gp(t,e,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&Xa(t,e,n),o!==null&&pp(t,e,o),i!==null&&zw(t,e,i)}var di;function Ww(){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 Ww()?.createHTML(t)||t}var fi;function mp(){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 wf(t){return mp()?.createHTML(t)||t}function Cf(t){return mp()?.createScriptURL(t)||t}var It=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qf})`}},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 At(t,e){let r=Gw(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${qf})`)}return r===e}function Gw(t){return t instanceof It&&t.getTypeName()||null}function vp(t){return new du(t)}function yp(t){return new fu(t)}function Dp(t){return new hu(t)}function wp(t){return new pu(t)}function Cp(t){return new gu(t)}function qw(t){let e=new vu(t);return Zw()?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 Zw(){try{return!!new window.DOMParser().parseFromString(ss(""),"text/html")}catch{return!1}}var Yw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function as(t){return t=String(t),t.match(Yw)?t:"unsafe:"+t}function Nt(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 Ep=Nt("area,br,col,hr,img,wbr"),Ip=Nt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bp=Nt("rp,rt"),Qw=Jr(bp,Ip),Kw=Jr(Ip,Nt("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")),Jw=Jr(bp,Nt("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")),Ef=Jr(Ep,Kw,Jw,Qw),Mp=Nt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xw=Nt("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"),eC=Nt("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"),tC=Jr(Mp,Xw,eC),nC=Nt("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(!Ef.hasOwnProperty(r))return this.sanitizedSomething=!0,!nC.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(!tC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;Mp[a]&&(u=as(u)),this.buf.push(" ",s,'="',If(u),'"')}return this.buf.push(">"),!0}endElement(e){let r=e.nodeName.toLowerCase();Ef.hasOwnProperty(r)&&!Ep.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(If(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}},rC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,oC=/([^\#-~ |!])/g;function If(t){return t.replace(/&/g,"&amp;").replace(rC,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(oC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var hi;function Oc(t,e){let r=null;try{hi=hi||qw(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(bf(r)||r);return ss(a)}finally{if(r){let n=bf(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function bf(t){return"content"in t&&iC(t)?t.content:null}function iC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ze=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}(Ze||{});function mk(t){let e=Pc();return e?wf(e.sanitize(Ze.HTML,t)||""):At(t,"HTML")?wf(Ne(t)):Oc(Xh(),sn(t))}function sC(t){let e=Pc();return e?e.sanitize(Ze.URL,t)||"":At(t,"URL")?Ne(t):as(sn(t))}function aC(t){let e=Pc();if(e)return Cf(e.sanitize(Ze.RESOURCE_URL,t)||"");if(At(t,"ResourceURL"))return Cf(Ne(t));throw new v(904,!1)}function uC(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?aC:sC}function Sp(t,e,r){return uC(e,r)(t)}function Pc(){let t=x();return t&&t[Ct].sanitizer}var Du=class{};var cC="h",lC="b";var dC=(t,e,r)=>null;function Fc(t,e,r=!1){return dC(t,e,r)}var wu=class{},Pi=class{};function fC(t){let e=Error(`No component factory found for ${ge(t)}.`);return e[hC]=t,e}var hC="ngComponent";var Cu=class{resolveComponentFactory(e){throw fC(e)}},us=(()=>{let e=class e{};e.NULL=new Cu;let t=e;return t})();function pC(){return sr(ye(),x())}function sr(t,e){return new je(Le(t,e))}var je=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=pC;let t=e;return t})();function gC(t){return t instanceof je?t.nativeElement:t}var $r=class{},qt=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>mC();let t=e;return t})();function mC(){let t=x(),e=ye(),r=Gt(e.index,t);return(Ht(r)?r:t)[Z]}var vC=(()=>{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 Tp(t){return Lc(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function yC(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 Tp(e)}create(e){return new Iu(e)}},DC=(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||DC}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<Mf(n,o,i)?r:n,a=Mf(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=[]),!Tp(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,yC(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 Mf(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 Sf(){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||Sf()),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:Sf});let t=e;return t})();function Tf(){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||Tf()),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:Tf});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(ut(i)),qe(i)&&wC(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=fp(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 wC(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[dt]&&e.push(t[un])}var xp=[];function CC(t){return t[an]??EC(t)}function EC(t){let e=xp.pop()??Object.create(bC);return e.lView=t,e}function IC(t){t.lView[an]!==t&&(t.lView=null,xp.push(t))}var bC=ee(D({},Qd),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Lr(t.lView)},consumerOnSignalRead(){this.lView[an]=this}}),MC="ngOriginalError";function $a(t){return t[MC]}var lt=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}},_p=new E("",{providedIn:"root",factory:()=>g(lt).handleError.bind(void 0)});var Ap=!1,SC=new E("",{providedIn:"root",factory:()=>Ap});var Te={};function vk(t){Np(Y(),x(),_t()+t,!1)}function Np(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 Vh(n,r,we(t),e)}function Rp(){let t="invalid";throw new Error(t)}function TC(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];ED(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[dt]=o,d[_]=n|4|128|8|64,(c!==null||t&&t[_]&2048)&&(d[_]|=2048),Dh(d),d[re]=d[or]=t,d[me]=r,d[Ct]=s||t&&t[Ct],d[Z]=a||t&&t[Z],d[Zn]=u||t&&t[Zn]||null,d[_e]=i,d[qi]=ww(),d[qn]=l,d[hh]=c,d[Fe]=e.type==2?t[Fe]:d,d}function ar(t,e,r,n,o){let i=t.data[e];if(i===null)i=xC(t,e,r,n,o),CD()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=vD();i.injectorIndex=s===null?-1:s.injectorIndex}return mn(i,!0),i}function xC(t,e,r,n,o){let i=bh(),s=hc(),a=s?i:i&&i.parent,u=t.data[e]=PC(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 Op(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 Pp(t,e,r,n,o){let i=_t(),s=n&2;try{ln(-1),s&&e.length>he&&Np(t,e,he,!1),ot(s?2:0,o),r(n,o)}finally{ln(i),ot(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){Eh()&&($C(t,e,r,Le(r,e)),(r.flags&64)===64&&Lp(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 Fp(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=_C(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 _C(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Te);return r}function AC(t,e,r,n){let i=n.get(SC,Ap)||r===at.ShadowDom,s=t.selectRootElement(e,i);return NC(s),s}function NC(t){RC(t)}var RC=t=>null;function OC(t,e,r,n){let o=Up(e);o.push(r),t.firstCreatePass&&Bp(t).push(n,o.length-1)}function PC(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return Ih()&&(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 xf(t,e,r,n){for(let o in t)if(t.hasOwnProperty(o)){r=r===null?{}:r;let i=t[o];n===null?_f(r,e,o,i):n.hasOwnProperty(o)&&_f(r,e,n[o],i)}return r}function _f(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function FC(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=xf(d.inputs,l,u,h),c=xf(d.outputs,l,c,p);let S=u!==null&&s!==null&&!oh(e)?KC(u,l,s):null;a.push(S)}u!==null&&(u.hasOwnProperty("class")&&(e.flags|=8),u.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=u,e.outputs=c}function kC(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)&&LC(r,e.index)):e.type&3?(n=kC(n),o=s!=null?s(o,e.value||"",n):o,i.setProperty(u,n,o)):e.type&12}function LC(t,e){let r=Gt(e,t);r[_]&16||(r[_]|=64)}function Bc(t,e,r,n){if(Eh()){let o=n===null?null:{"":-1},i=BC(t,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&kp(t,e,r,s,o,a),o&&HC(r,n,o)}r.mergedAttrs=Pr(r.mergedAttrs,r.attrs)}function kp(t,e,r,n,o,i){for(let c=0;c<n.length;c++)ou(_i(r,e),t,n[c].type);WC(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=Op(t,e,n.length,null);for(let c=0;c<n.length;c++){let l=n[c];r.mergedAttrs=Pr(r.mergedAttrs,l.hostAttrs),GC(t,r,e,u,l),zC(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++}FC(t,r,i)}function jC(t,e,r,n,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;VC(s)!=a&&s.push(a),s.push(r,n,i)}}function VC(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function $C(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;Zi(r)&&qC(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||_i(r,e),Wt(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(Wt(c,e),s!==null&&QC(e,a-o,c,u,r,s),Et(u)){let l=Gt(r.index,e);l[me]=fn(e,t,a,r)}}}function Lp(t,e,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=ID();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)&&UC(u,c)}}finally{ln(-1),nu(s)}}function UC(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function BC(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(ih(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 HC(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 zC(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 WC(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function GC(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,jC(t,e,n,Op(t,r,o.hostVars,Te),o)}function qC(t,e,r){let n=Le(e,t),o=Fp(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 ZC(t,e,r,n,o,i){let s=Le(t,e);YC(e[Z],s,i,t.value,r,n,o)}function YC(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 QC(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++];jp(n,r,u,c,l)}}function jp(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 KC(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 Vp(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function $p(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[kr]?t[df][Ge]=e:t[kr]=e,t[df]=e,e}function Au(t,e,r){vc(0);let n=se(null);try{e(t,r)}finally{se(n)}}function Up(t){return t[Fr]||(t[Fr]=[])}function Bp(t){return t.cleanup||(t.cleanup=[])}function Hp(t,e,r){return(t===null||Et(t))&&(r=sD(r[e.index])),r[Z]}function zp(t,e){let r=t[Zn],n=r?r.get(lt,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];jp(c,u,n,a,o)}}function Wp(t,e,r){let n=yh(e,t);Mw(t[Z],n,r)}var JC=100;function XC(t,e=!0){let r=t[Ct],n=r.rendererFactory,o=r.afterRenderEventManager,i=!1;i||(n.begin?.(),o?.begin());try{eE(t)}catch(s){throw e&&zp(t,s),s}finally{i||(n.end?.(),r.inlineEffectRunner?.flush(),o?.end())}}function eE(t){Nu(t,0);let e=0;for(;wh(t);){if(e===JC)throw new v(103,!1);e++,Nu(t,1)}}function tE(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&&nE(t)&&(a=CC(e),s=Kd(a));try{Dh(e),wD(t.bindingStartIndex),r!==null&&Pp(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(rE(e),Gp(e,0),t.contentQueries!==null&&$p(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)}TC(t,e);let c=t.components;c!==null&&Zp(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 Lr(e),u}finally{a!==null&&(Jd(a,s),IC(a)),Dc()}}function nE(t){return t.type!==2}function Gp(t,e){for(let r=op(t);r!==null;r=ip(r)){r[_]&=~Qn.HasChildViewsToRefresh;for(let n=ve;n<r.length;n++){let o=r[n];qp(o,e)}}}function rE(t){for(let e=op(t);e!==null;e=ip(e)){if(!(e[_]&Qn.HasTransplantedViews))continue;let r=e[Yn];for(let n=0;n<r.length;n++){let o=r[n],i=o[re];cD(o)}}}function oE(t,e,r){let n=Gt(e,t);qp(n,r)}function qp(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)tE(n,t,n.template,t[me]);else if(o&8192){Gp(t,1);let a=n.components;a!==null&&Zp(t,a,1)}}function Zp(t,e,r){for(let n=0;n<e.length;n++)oE(t,e[n],r)}function zc(t){for(t[Ct].changeDetectionScheduler?.notify();t;){t[_]|=64;let e=Ac(t);if(Xy(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(qe(e)){let r=e[Mi],n=r?r.indexOf(this):-1;n>-1&&(Vr(e,n),Ai(r,n))}this._attachedToViewContainer=!1}os(this._lView[A],this._lView)}onDestroy(e){Ch(this._lView,e)}markForCheck(){zc(this._cdRefInjectingView||this._lView)}detach(){this._lView[_]&=-129}reattach(){tu(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,XC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,_w(this._lView[A],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e,tu(this._lView)}},ur=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=iE;let t=e;return t})();function iE(t){return sE(ye(),x(),(t&16)===16)}function sE(t,e,r){if(Zi(t)&&!r){let n=Gt(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 Yp=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=aE,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Ru=class extends Yp{constructor(e){super(),this._lView=e}onDestroy(e){return Ch(this._lView,e),()=>dD(this._lView,e)}};function aE(){return new Ru(x())}var Af=new Set;function yn(t){Af.has(t)||(Af.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 Nf(...t){}function uE(){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=uE().nativeRequestAnimationFrame,dE(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,cE,Nf,Nf);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)}},cE={};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 lE(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 dE(t){let e=()=>{lE(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(fE(a))return r.invokeTask(o,i,s,a);try{return Rf(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Of(t)}},onInvoke:(r,n,o,i,s,a,u)=>{try{return Rf(t),r.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Of(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 Rf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Of(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 fE(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function hE(t="zone.js",e){return t==="noop"?new Fu:t==="zone.js"?new H(e):t}var Hn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Hn||{}),pE={destroy(){}};function Gc(t,e){!e&&fw(Gc);let r=e?.injector??g(Ae);if(!pw(r))return pE;yn("NgAfterNextRender");let n=r.get(Qp),o=n.handler??=new Lu,i=e?.phase??Hn.MixedReadWrite,s=()=>{o.unregister(u),a()},a=r.get(Yp).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(lt,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Lu=class{constructor(){this.executingCallbacks=!1,this.buckets={[Hn.EarlyRead]:new Set,[Hn.Write]:new Set,[Hn.MixedReadWrite]:new Set,[Hn.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()}},Qp=(()=>{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 gE(t,e){let r=Gt(e,t),n=r[A];mE(n,r);let o=r[dt];o!==null&&r[qn]===null&&(r[qn]=Fc(o,r[Zn])),qc(n,r,r[me])}function mE(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&&Pp(t,e,o,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&$p(t,e),t.staticViewQueries&&Au(2,t.viewQuery,r);let i=t.components;i!==null&&vE(e,i)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[_]&=-5,Dc()}}function vE(t,e){for(let r=0;r<e.length;r++)gE(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=zt(e);return new er(r,this.ngModule)}};function Pf(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 yE(t){let e=t.toLowerCase();return e==="svg"?vh:e==="math"?rD: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)}},er=class extends Pi{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Pf(e.inputs);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return Pf(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=Zy(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($r,null);if(a===null)throw new v(407,!1);let u=s.get(vC,null),c=s.get(Qp,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?AC(f,n,this.componentDef.encapsulation,s):ap(f,h,yE(h)),S=512;this.componentDef.signals?S|=4096:this.componentDef.onPush||(S|=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,S,null,null,d,f,s,null,C);yc(j);let De,U;try{let ce=this.componentDef,Ue,Er=null;ce.findHostDirectiveDefs?(Ue=[],Er=new Map,ce.findHostDirectiveDefs(ce,Ue,Er),Ue.push(ce)):Ue=[ce];let gv=DE(j,p),mv=wE(gv,p,ce,Ue,j,d,f);U=lc(m,he),p&&IE(f,ce,p,n),r!==void 0&&bE(U,this.ngContentSelectors,r),De=EE(mv,ce,Ue,Er,j,[ME]),qc(m,j,null)}finally{Dc()}return new Vu(this.componentType,De,sr(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=Gt(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 DE(t,e){let r=t[A],n=he;return t[n]=e,ar(r,n,2,"#host",null)}function wE(t,e,r,n,o,i,s){let a=o[A];CE(n,t,e,s);let u=null;e!==null&&(u=Fc(e,o[Zn]));let c=i.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=ds(o,Fp(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 CE(t,e,r,n){for(let o of t)e.mergedAttrs=Pr(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(Li(e,e.mergedAttrs,!0),r!==null&&gp(n,r,e))}function EE(t,e,r,n,o,i){let s=ye(),a=o[A],u=Le(s,o);kp(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);Wt(f,o)}Lp(a,o,s),u&&Wt(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 IE(t,e,r,n){if(n)Xa(t,r,["ng-version","17.0.8"]);else{let{attrs:o,classes:i}=Yy(e.selectors[0]);o&&Xa(t,r,o),i&&i.length>0&&pp(t,r,i.join(" "))}}function bE(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 ME(){let t=ye();Ji(x()[A],t)}function SE(t){return Object.getPrototypeOf(t.prototype).constructor}function TE(t){let e=SE(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&&NE(t,a);let u=o.viewQuery,c=o.contentQueries;if(u&&_E(t,u),c&&AE(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===TE&&(r=!1)}}e=Object.getPrototypeOf(e)}xE(n)}function xE(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=Pr(o.hostAttrs,r=Pr(r,o.hostAttrs))}}function pi(t){return t===Gn?{}:t===Me?[]:t}function _E(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function AE(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function NE(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 Dn(t,e,r){return t[e]=r}function Zc(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 tr(t,e,r,n){let o=Se(t,e,r);return Se(t,e+1,n)||o}function RE(t,e,r,n,o){let i=tr(t,e,r,n);return Se(t,e+2,o)||i}function Yc(t,e,r,n,o,i){let s=tr(t,e,r,n);return tr(t,e+2,o,i)||s}function Qc(t,e,r,n){let o=x(),i=vn();if(Se(o,i,e)){let s=Y(),a=ir();ZC(a,o,t,e,r,n)}return Qc}function Kc(t,e,r,n){return Se(t,vn(),r)?e+sn(r)+n:Te}function Kp(t,e,r,n,o,i){let s=DD(),a=tr(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 OE(t){return(t&2)==2}function PE(t,e){return t&131071|e<<17}function $u(t){return t|2}function nr(t){return(t&131068)>>2}function Ba(t,e){return t&-131069|e<<2}function FE(t){return(t&1)===1}function Uu(t){return t|1}function kE(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=pn(s),u=nr(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]=PE(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])),Ff(t,l,n,!0,i),Ff(t,l,n,!1,i),LE(e,l,t,n,i),s=gi(a,u),i?e.classBindings=s:e.styleBindings=s}function LE(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 Ff(t,e,r,n,o){let i=t[r+1],s=e===null,a=n?pn(i):nr(i),u=!1;for(;a!==0&&(u===!1||s);){let c=t[a],l=t[a+1];jE(c,e)&&(u=!0,t[a+1]=n?Uu(l):$u(l)),a=n?pn(l):nr(l)}u&&(t[r+1]=n?$u(i):Uu(i))}function jE(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 We={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function VE(t){return t.substring(We.key,We.keyEnd)}function $E(t){return UE(t),Jp(t,Xp(t,0,We.textEnd))}function Jp(t,e){let r=We.textEnd;return r===e?-1:(e=We.keyEnd=BE(t,We.key=e,r),Xp(t,e,r))}function UE(t){We.key=0,We.keyEnd=0,We.value=0,We.valueEnd=0,We.textEnd=t.length}function Xp(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function BE(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function HE(t,e,r){let n=x(),o=vn();if(Se(n,o,e)){let i=Y(),s=ir();Xr(i,s,n,t,e,n[Z],r,!1)}return HE}function Bu(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";Hc(t,r,i[s],s,n)}function Jc(t,e,r){return tg(t,e,r,!1),Jc}function zE(t,e){return tg(t,e,null,!0),zE}function yk(t){ng(QE,eg,t,!0)}function eg(t,e){for(let r=$E(e);r>=0;r=Jp(e,r))Xi(t,VE(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[_t()];ig(i,a,o,o[Z],t,o[s+1]=JE(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[_t()];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 KE(o,a,s,s[Z],s[i+1],s[i+1]=YE(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[_t()],s=rg(t,r);sg(i,n)&&e===null&&!s&&(e=!1),e=WE(o,i,e,n),kE(o,i,e,r,s,n)}}function WE(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=GE(t,e,n);u!==void 0&&Array.isArray(u)&&(u=Ha(null,t,e,u[1],n),u=Ur(u,e.attrs,n),qE(t,e,n,u))}else i=ZE(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function GE(t,e,r){let n=r?e.classBindings:e.styleBindings;if(nr(n)!==0)return t[pn(n)]}function qE(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[pn(o)]=n}function ZE(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 YE(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 QE(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&Xi(t,n,r)}function KE(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,S;l===d?(u+=2,c+=2,f!==h&&(p=d,S=h)):d===null||l!==null&&l<d?(u+=2,p=l):(c+=2,p=d,S=h),p!==null&&ig(t,e,r,n,p,S,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=FE(c)?kf(u,e,r,o,nr(c),s):void 0;if(!Vi(l)){Vi(i)||OE(c)&&(i=kf(u,null,r,o,a,s));let d=yh(_t(),r);Hw(n,s,d,o,i)}}function kf(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):nr(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 JE(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 Dk(t,e,r){let n=x(),o=Kc(n,t,e,r);ng(Xi,eg,o,!0)}var wk=new RegExp(`^(\\d+)*(${lC}|${cC})*(.*)`);var XE=(t,e)=>null;function Br(t,e){return XE(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 eI(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),S=r(s,d),C=r(i,c);if(Object.is(C,S)){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??=jf(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;)Lf(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??=jf(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;)Lf(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 Lf(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 jf(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[st];return c!==null&&(a[st]=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||np(t)}function gs(t,e,r,n=!0){let o=e[A];if(Nw(o,e,t,r),n){let s=lu(r,t),a=e[Z],u=Nc(a,t[un]);u!==null&&xw(o,t[_e],a,e,u,s)}let i=e[qn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ug(t,e){let r=Vr(t,e);return r!==void 0&&os(r[A],r),r}var pt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=tI;let t=e;return t})();function tI(){let t=ye();return lg(t,x())}var nI=pt,cg=class extends nI{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return sr(this._hostTNode,this._hostLView)}get injector(){return new on(this._hostTNode,this._hostLView)}get parentInjector(){let e=wc(this._hostTNode,this._hostLView);if(Oh(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=Vf(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&&!zD(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 er(zt(e)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let S=(s?c:this.parentInjector).get(Ce,null);S&&(i=S)}let l=zt(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(uD(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(),Hh(Wa(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Vf(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Vr(this._lContainer,r);n&&(Ai(Wa(this._lContainer),r),os(n[A],n))}detach(e){let r=this._adjustIndex(e,-1),n=Vr(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 Vf(t){return t[Mi]}function Wa(t){return t[Mi]||(t[Mi]=[])}function lg(t,e){let r,n=e[t.index];return qe(n)?r=n:(r=Vp(n,e,null,t),e[t.index]=r,fs(e,r)),oI(r,e,t,n),new cg(r,t,e)}function rI(t,e){let r=t[Z],n=r.createComment(""),o=Le(e,t),i=Nc(r,o);return Oi(r,i,n,Lw(r,o),!1),n}var oI=aI,iI=(t,e,r)=>!1;function sI(t,e,r){return iI(t,e,r)}function aI(t,e,r,n){if(t[un])return;let o;r.type&8?o=ut(n):o=rI(e,r),t[un]=o}function uI(t,e,r,n,o,i,s,a,u){let c=e.consts,l=ar(e,t,4,s||null,Kn(c,a));Bc(e,r,l,Kn(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?uI(l,c,u,e,r,n,o,i,s):c.data[l];mn(d,!1);let f=cI(c,u,d,t);Qi()&&is(c,u,f,d),Wt(f,u);let h=Vp(f,u,f,d);return u[l]=h,fs(u,h),sI(h,d,u),Yi(d)&&Vc(c,u,d),s!=null&&$c(u,d,a),Wu}var cI=lI;function lI(t,e,r,n){return Ki(!0),e[Z].createComment("")}function Ek(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 Ik(t,e){return e}var qu=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function bk(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[qn];this.needsIndexUpdate||=e!==this.length,gs(this.lContainer,r,e,Hr(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,dI(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 fI(this.lContainer,e)}};function Mk(t){let e=se(null),r=_t();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(eI(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 dI(t,e){return Vr(t,e)}function fI(t,e){return ag(t,e)}function Qu(t,e){return lc(t,e)}function hI(t,e,r,n,o,i){let s=e.consts,a=Kn(s,o),u=ar(e,t,2,n,a);return Bc(e,r,u,Kn(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?hI(s,i,o,e,r,n):i.data[s],c=pI(i,o,u,a,e,t);o[s]=c;let l=Yi(u);return mn(u,!0),gp(a,c,u),(u.flags&32)!==32&&Qi()&&is(i,o,c,u),fD()===0&&Wt(c,o),hD(),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;gD(e)&&mD(),pD();let r=Y();return r.firstCreatePass&&(Ji(r,t),cc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&ND(e)&&Bu(r,e,x(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&RD(e)&&Bu(r,e,x(),e.stylesWithoutHost,!1),fg}function Xc(t,e,r,n){return dg(t,e,r,n),fg(),Xc}var pI=(t,e,r,n,o,i)=>(Ki(!0),ap(n,o,TD()));function gI(t,e,r,n,o){let i=e.consts,s=Kn(i,n),a=ar(e,t,8,"ng-container",s);s!==null&&Li(a,s,!0);let u=Kn(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?gI(i,o,n,e,r):o.data[i];mn(s,!0);let a=vI(o,n,s,t);return n[i]=a,Qi()&&is(o,n,a,s),Wt(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 mI(t,e,r){return hg(t,e,r),pg(),mI}var vI=(t,e,r,n)=>(Ki(!0),Sw(e[Z],""));function Sk(){return x()}function yI(t,e,r){let n=x(),o=vn();if(Se(n,o,e)){let i=Y(),s=ir();Xr(i,s,n,t,e,n[Z],r,!0)}return yI}function DI(t,e,r){let n=x(),o=vn();if(Se(n,o,e)){let i=Y(),s=ir(),a=mc(i.data),u=Hp(a,s,n);Xr(i,s,n,t,e,u,r,!0)}return DI}var rn=void 0;function wI(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var CI=["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",wI],Ga={};function Re(t){let e=EI(t),r=$f(e);if(r)return r;let n=e.split("-")[0];if(r=$f(n),r)return r;if(n==="en")return CI;throw new v(701,!1)}function $f(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 EI(t){return t.toLowerCase().replace(/_/g,"-")}var Ui="en-US";var II=Ui;function bI(t){My(t,"Expected localeId to be defined"),typeof t=="string"&&(II=t.toLowerCase().replace(/_/g,"-"))}function cr(t){return!!t&&typeof t.then=="function"}function el(t){return!!t&&typeof t.subscribe=="function"}function tl(t,e,r,n){let o=x(),i=Y(),s=ye();return gg(i,o,o[Z],s,t,e,n),tl}function MI(t,e){let r=ye(),n=x(),o=Y(),i=mc(o.data),s=Hp(i,r,n);return gg(o,n,s,r,t,e),MI}function SI(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[Fr],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&&Bp(t),l=e[me],d=Up(e),f=!0;if(n.type&3||s){let S=Le(n,e),C=s?s(S):S,m=d.length,j=s?U=>s(ut(U[n.index])):n.index,De=null;if(!s&&a&&(De=SI(t,e,o,n.index)),De!==null){let U=De.__ngLastListenerFn__||De;U.__ngNextListenerFn__=i,De.__ngLastListenerFn__=i,f=!1}else{i=Bf(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=Bf(n,e,l,i,!1);let h=n.outputs,p;if(f&&h!==null&&(p=h[o])){let S=p.length;if(S)for(let C=0;C<S;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 Uf(t,e,r,n){try{return ot(6,e,r),r(n)!==!1}catch(o){return zp(t,o),!1}finally{ot(7,e,r)}}function Bf(t,e,r,n,o){return function i(s){if(s===Function)return n;let a=t.componentOffset>-1?Gt(t.index,e):e;zc(a);let u=Uf(e,r,n,s),c=i.__ngNextListenerFn__;for(;c;)u=Uf(e,r,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Tk(t=1){return MD(t)}function TI(t,e){let r=null,n=Hy(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){r=o;continue}if(n===null?ih(t,i,!0):Gy(n,i))return o}return r}function xk(t){let e=x()[Fe][_e];if(!e.projection){let r=t?t.length:1,n=e.projection=zh(r,null),o=n.slice(),i=e.child;for(;i!==null;){let s=t?TI(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i),i=i.next}}}function _k(t,e=0,r){let n=x(),o=Y(),i=ar(o,he+t,16,null,r||null);i.projection===null&&(i.projection=e),pc(),(!n[qn]||Ih())&&(i.flags&32)!==32&&Uw(o,n,i)}function xI(t,e,r){return mg(t,"",e,"",r),xI}function mg(t,e,r,n,o){let i=x(),s=Kc(i,e,r,n);if(s!==Te){let a=Y(),u=ir();Xr(a,u,i,t,s,i[Z],o,!1)}return mg}function _I(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=ir();Xr(c,l,a,t,u,a[Z],s,!1)}return _I}function AI(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function Ak(t){let e=yD();return dc(e,he+t)}function Nk(t,e=""){let r=x(),n=Y(),o=t+he,i=n.firstCreatePass?ar(n,o,1,e,null):n.data[o],s=NI(n,r,i,e,t);r[o]=s,Qi()&&is(n,r,s,i),mn(i,!1)}var NI=(t,e,r,n,o)=>(Ki(!0),bw(e[Z],n));function RI(t){return vg("",t,""),RI}function vg(t,e,r){let n=x(),o=Kc(n,t,e,r);return o!==Te&&Wp(n,_t(),o),vg}function OI(t,e,r,n,o){let i=x(),s=Kp(i,t,e,r,n,o);return s!==Te&&Wp(i,_t(),s),OI}function PI(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=Xn(t)?t:we(t.provide),c=Qh(t),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Xn(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),S=h>=0&&r[h],C=p>=0&&r[p];if(o&&!C||!o&&!S){ou(_i(a,s),i,u);let m=LI(o?kI:FI,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=Xn(e),i=iw(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 FI(t,e,r,n){return Ju(this.multi,[])}function kI(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 LI(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 Rk(t,e=[]){return r=>{r.providersResolver=(n,o)=>PI(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=lh(e);this._bootstrapComponents=tp(o.bootstrap),this._r3Injector=Kh(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 jI(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 jr([...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 VI=(()=>{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=qh(!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(VI).getOrCreateStandaloneInjector(t)}function Ok(t,e,r){let n=xt()+t,o=x();return o[n]===Te?Dn(o,n,r?e.call(r):e()):Zc(o,n)}function Pk(t,e,r,n){return Cg(x(),xt(),t,e,r,n)}function Fk(t,e,r,n,o){return Eg(x(),xt(),t,e,r,n,o)}function kk(t,e,r,n,o,i){return $I(x(),xt(),t,e,r,n,o,i)}function Lk(t,e,r,n,o,i,s){return UI(x(),xt(),t,e,r,n,o,i,s)}function jk(t,e,r,n,o,i,s,a){let u=xt()+t,c=x(),l=Yc(c,u,r,n,o,i);return Se(c,u+4,s)||l?Dn(c,u+5,a?e.call(a,r,n,o,i,s):e(r,n,o,i,s)):Zc(c,u+5)}function Vk(t,e,r,n,o,i,s,a,u){let c=xt()+t,l=x(),d=Yc(l,c,r,n,o,i);return tr(l,c+4,s,a)||d?Dn(l,c+6,u?e.call(u,r,n,o,i,s,a):e(r,n,o,i,s,a)):Zc(l,c+6)}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)?Dn(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 tr(t,a,o,i)?Dn(t,a+2,s?n.call(s,o,i):n(o,i)):vs(t,a+2)}function $I(t,e,r,n,o,i,s,a){let u=e+r;return RE(t,u,o,i,s)?Dn(t,u+3,a?n.call(a,o,i,s):n(o,i,s)):vs(t,u+3)}function UI(t,e,r,n,o,i,s,a,u){let c=e+r;return Yc(t,c,o,i,s,a)?Dn(t,c+4,u?n.call(u,o,i,s,a):n(o,i,s,a)):vs(t,c+4)}function $k(t,e){let r=Y(),n,o=t+he;r.firstCreatePass?(n=BI(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),AI(r,x(),o,c),c}finally{be(a)}}function BI(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function Uk(t,e,r){let n=t+he,o=x(),i=dc(o,n);return Ig(o,n)?Cg(o,xt(),e,i.transform,r,i):i.transform(r)}function Bk(t,e,r,n){let o=t+he,i=x(),s=dc(i,o);return Ig(i,o)?Eg(i,xt(),e,s.transform,r,n,s):s.transform(r,n)}function Ig(t,e){return t[A].data[e].pure}function HI(){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]=HI)}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=GD(e);(this._changesDetected=!WD(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__=GI;let t=e;return t})(),zI=gn,WI=class extends zI{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 GI(){return ys(ye(),x())}function ys(t,e){return t.type&4?new WI(e,t,sr(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,qI(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===pt||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 qI(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 ZI(t,e){return t.type&11?sr(t,e):t.type&4?ys(t,e):null}function YI(t,e,r,n){return r===-1?ZI(e,t):r===-2?QI(t,e,n):fn(t,t[A],r,e)}function QI(t,e,r){if(r===je)return sr(e,t);if(r===gn)return ys(e,t);if(r===pt)return lg(e,t)}function bg(t,e,r,n){let o=e[st].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(YI(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[Yn]!==null){let d=l[Yn];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=Mh();vc(n+1);let o=Ag(r,n);if(t.dirty&&aD(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,gC),t.notifyOnChanges()}return!0}return!1}function zk(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),JI(o,t),(r&2)===2&&(o.staticContentQueries=!0)}xg(o,x(),r)}function Tg(){return KI(x(),Mh())}function KI(t,e){return t[st].queries[e].queryList}function xg(t,e,r){let n=new ec((r&4)===4);OC(t,e,n,n.destroy),e[st]===null&&(e[st]=new nc),e[st].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 JI(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 Wk(t,e){return ys(t,e)}var mi=null;function XI(t){mi!==null&&(t.defaultEncapsulation!==mi.defaultEncapsulation||t.preserveWhitespaces!==mi.preserveWhitespaces)||(mi=t)}var rr=class{constructor(e){this.full=e;let r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}},Gk=new rr("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=lh(n),s=tp(i.declarations).reduce((a,u)=>{let c=zt(u);return c&&a.push(new er(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})(),eb=new E("compilerOptions");var wn=(()=>{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 nl=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,rl||(tb(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 rl?.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 tb(t){rl=t}var rl,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(cr(s))n.push(s);else if(el(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 nb(t,e,r){let n=new Bi(r);return Promise.resolve(n)}function rb(){ef(()=>{throw new v(600,!1)})}function ob(t){return t.isBoundToModule}function ib(t,e,r){try{let n=r();return cr(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 Cn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(_p),this.componentTypes=[],this.components=[],this.isStable=g(wn).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&&ch(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=ob(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(nl,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 Hf(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var sb=(()=>{let e=class e{constructor(){this.zone=g(H),this.applicationRef=g(Cn)}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 ab(t){return[{provide:H,useFactory:t},{provide:Jn,multi:!0,useFactory:()=>{let e=g(sb,{optional:!0});return()=>e.initialize()}},{provide:Jn,multi:!0,useFactory:()=>{let e=g(lb);return()=>{e.initialize()}}},{provide:_p,useFactory:ub}]}function ub(){let t=g(H),e=g(lt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function cb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var lb=(()=>{let e=class e{constructor(){this.subscription=new Q,this.initialized=!1,this.zone=g(H),this.pendingTasks=g(wn)}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 db(){return typeof $localize<"u"&&$localize.locale||Ui}var to=new E("LocaleId",{providedIn:"root",factory:()=>g(to,F.Optional|F.SkipSelf)||db()});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=hE(o?.ngZone,cb({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=jI(n.moduleType,this.injector,ab(()=>i)),a=s.injector.get(lt,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Ei(this._modules,s),u.unsubscribe()})}),ib(a,i,()=>{let u=s.injector.get(Ng);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(to,Ui);return bI(c||Ui),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,o=[]){let i=Rg({},o);return nb(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(Cn);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})(),Rr=null,Fg=new E("AllowMultipleToken");function fb(t){if(Rr&&!Rr.get(Fg,!1))throw new v(400,!1);rb(),Rr=t;let e=t.get(Pg);return gb(t),e}function ol(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):fb(hb(a,n))}return pb(o)}}function hb(t=[],e){return Ae.create({name:e,providers:[{provide:ns,useValue:"platform"},{provide:Og,useValue:new Set([()=>Rr=null])},...t]})}function pb(t){let e=kg();if(!e)throw new v(401,!1);return e}function kg(){return Rr?.get(Pg)??null}function gb(t){t.get(Sc,null)?.forEach(r=>r())}function qk(){return!1}var Lg=ol(null,"core",[]),jg=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(y(Cn))},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 il(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function Vg(t){let e=zt(t);if(!e)return null;let r=new er(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 fl=null;function En(){return fl}function Zg(t){fl||(fl=t)}var Os=class{},ie=new E("DocumentToken"),yl=(()=>{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(mb))(),providedIn:"platform"});let t=e;return t})(),Yg=new E("Location Initialized"),mb=(()=>{let e=class e extends yl{constructor(){super(),this._doc=g(ie),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return En().getBaseHref(this._doc)}onPopState(n){let o=En().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=En().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 Dl(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 Ot(t){return t&&t[0]!=="?"?"?"+t:t}var kt=(()=>{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(wl))(),providedIn:"root"});let t=e;return t})(),Qg=new E("appBaseHref"),wl=(()=>{let e=class e extends kt{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 Dl(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+Ot(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Ot(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Ot(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(yl),y(Qg,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kg=(()=>{let e=class e extends kt{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=Dl(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Ot(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Ot(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(yl),y(Qg,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),dr=(()=>{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=Db($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+Ot(o))}normalize(n){return e.stripTrailingSlash(yb(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+Ot(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ot(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=Ot,e.joinWithSlash=Dl,e.stripTrailingSlash=$g,e.\u0275fac=function(o){return new(o||e)(y(kt))},e.\u0275prov=w({token:e,factory:()=>vb(),providedIn:"root"});let t=e;return t})();function vb(){return new dr(y(kt))}function yb(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 Db(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 wb(t){return Re(t)[J.LocaleId]}function Cb(t,e,r){let n=Re(t),o=[n[J.DayPeriodsFormat],n[J.DayPeriodsStandalone]],i=Ve(o,e);return Ve(i,r)}function Eb(t,e,r){let n=Re(t),o=[n[J.DaysFormat],n[J.DaysStandalone]],i=Ve(o,e);return Ve(i,r)}function Ib(t,e,r){let n=Re(t),o=[n[J.MonthsFormat],n[J.MonthsStandalone]],i=Ve(o,e);return Ve(i,r)}function bb(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 Pt(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 Mb(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 Sb(t){let e=Re(t);return Xg(e),(e[J.ExtraData][2]||[]).map(n=>typeof n=="string"?sl(n):[sl(n[0]),sl(n[1])])}function Tb(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 sl(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var xb=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,no={},_b=/((?:[^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]*)/,Ft=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Ft||{}),$=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 Ab(t,e,r,n){let o=Vb(t);e=Rt(r,e)||e;let s=[],a;for(;e;)if(a=_b.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=jb(o,n,!0));let c="";return s.forEach(l=>{let d=kb(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 Rt(t,e){let r=wb(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=Rt(t,"shortTime"),i=Rt(t,"shortDate");n=_s(xs(t,Oe.Short),[o,i]);break;case"medium":let s=Rt(t,"mediumTime"),a=Rt(t,"mediumDate");n=_s(xs(t,Oe.Medium),[s,a]);break;case"long":let u=Rt(t,"longTime"),c=Rt(t,"longDate");n=_s(xs(t,Oe.Long),[u,c]);break;case"full":let l=Rt(t,"fullTime"),d=Rt(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 Ye(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 Nb(t,e){return Ye(t,3).substring(0,e)}function oe(t,e,r=0,n=!1,o=!1){return function(i,s){let a=Rb(t,i);if((r>0||a>-r)&&(a+=r),t===$.Hours)a===0&&r===-12&&(a=12);else if(t===$.FractionalSeconds)return Nb(a,e);let u=Pt(s,xe.MinusSign);return Ye(a,e,u,n,o)}}function Rb(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 Ob(o,i,t,e,r,n)}}function Ob(t,e,r,n,o,i){switch(r){case V.Months:return Ib(e,o,n)[t.getMonth()];case V.Days:return Eb(e,o,n)[t.getDay()];case V.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let c=Sb(e),l=Tb(e,o,n),d=c.findIndex(f=>{if(Array.isArray(f)){let[h,p]=f,S=s>=h.hours&&a>=h.minutes,C=s<p.hours||s===p.hours&&a<p.minutes;if(h.hours<p.hours){if(S&&C)return!0}else if(S||C)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Cb(e,o,n)[s<12?0:1];case V.Eras:return bb(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=Pt(r,xe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Ft.Short:return(o>=0?"+":"")+Ye(s,2,i)+Ye(Math.abs(o%60),2,i);case Ft.ShortGMT:return"GMT"+(o>=0?"+":"")+Ye(s,1,i);case Ft.Long:return"GMT"+(o>=0?"+":"")+Ye(s,2,i)+":"+Ye(Math.abs(o%60),2,i);case Ft.Extended:return n===0?"Z":(o>=0?"+":"")+Ye(s,2,i)+":"+Ye(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var Pb=0,Rs=4;function Fb(t){let e=Ps(t,Pb,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 al(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=Fb(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ye(o,t,Pt(n,xe.MinusSign))}}function Ns(t,e=!1){return function(r,n){let i=em(r).getFullYear();return Ye(i,t,Pt(n,xe.MinusSign),e)}}var ul={};function kb(t){if(ul[t])return ul[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=al(1);break;case"ww":e=al(2);break;case"W":e=al(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(Ft.Short);break;case"ZZZZZ":e=As(Ft.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=As(Ft.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=As(Ft.Long);break;default:return null}return ul[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 Lb(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function jb(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=tm(e,o);return Lb(t,n*(i-o))}function Vb(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(xb))return $b(n)}let e=new Date(t);if(!Bg(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function $b(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 Ub=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Hg=22,Fs=".",ro="0",Bb=";",Hb=",",cl="#";function zb(t,e,r,n,o,i,s=!1){let a="",u=!1;if(!isFinite(t))a=Pt(r,xe.Infinity);else{let c=Zb(t);s&&(c=qb(c));let l=e.minInt,d=e.minFrac,f=e.maxFrac;if(i){let j=i.match(Ub);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=ll(De)),U!=null&&(d=ll(U)),ce!=null?f=ll(ce):U!=null&&d>f&&(f=d)}Yb(c,d,f);let h=c.digits,p=c.integerLen,S=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(Pt(r,n)),C.length&&(a+=Pt(r,o)+C.join("")),S&&(a+=Pt(r,xe.Exponential)+"+"+S)}return t<0&&!u?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function Wb(t,e,r){let n=Mb(e,Jg.Decimal),o=Gb(n,Pt(e,xe.MinusSign));return zb(t,o,e,xe.Group,xe.Decimal,r)}function Gb(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(Bb),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(cl));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===ro?r.minFrac=r.maxFrac=l+1:d===cl?r.maxFrac=l+1:r.posSuf+=d}let c=a.split(Hb);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(cl);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 qb(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 Zb(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 Yb(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 ll(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 dl=/\s+/,zg=[],c1=(()=>{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(dl):zg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(dl):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(dl).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})(),l1=(()=>{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(pt))},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 hl=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}},d1=(()=>{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 hl(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(pt),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 f1=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new pl,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(pt),L(gn))},e.\u0275dir=ke({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),pl=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 h1=(()=>{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:ct.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})(),p1=(()=>{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(pt))},e.\u0275dir=ke({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Tt]});let t=e;return t})();function Cl(t,e){return new v(2100,!1)}var gl=class{createSubscription(e,r){return kc(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){kc(()=>e.unsubscribe())}},ml=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},Qb=new ml,Kb=new gl,g1=(()=>{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(cr(n))return Qb;if(el(n))return Kb;throw Cl(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(ur,16))},e.\u0275pipe=qr({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Jb="mediumDate",Xb=new E("DATE_PIPE_DEFAULT_TIMEZONE"),e0=new E("DATE_PIPE_DEFAULT_OPTIONS"),m1=(()=>{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??Jb,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Ab(n,a,s||this.locale,u)}catch(a){throw Cl(e,a.message)}}};e.\u0275fac=function(o){return new(o||e)(L(to,16),L(Xb,24),L(e0,24))},e.\u0275pipe=qr({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var v1=(()=>{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 y1=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,o,i){if(!t0(n))return null;i=i||this._locale;try{let s=n0(n);return Wb(s,i,o)}catch(s){throw Cl(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 t0(t){return!(t==null||t===""||t!==t)}function n0(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})(),El="browser",r0="server";function D1(t){return t===El}function Ls(t){return t===r0}var rm=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>new vl(y(ie),window)});let t=e;return t})(),vl=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=o0(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 o0(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 lr=class{};var om=t=>t.src,i0=new E("ImageLoader",{providedIn:"root",factory:()=>om});var s0=new E("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),a0=(()=>{let e=class e{constructor(){this.preloadedImages=g(s0),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 u0=/^((\s*\d+w\s*(,|$)){1,})$/;var c0=[1,2],l0=640;var d0=1920,f0=1080;var w1=(()=>{let e=class e{constructor(){this.imageLoader=g(i0),this.config=h0(g(ep)),this.renderer=g(qt),this.imgElement=g(je).nativeElement,this.injector=g(Ae),this.isServer=Ls(g(ht)),this.preloadLinkCreator=g(a0),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=u0.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>=l0)),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 c0.map(o=>`${this.callImageLoader({src:this.ngSrc,width:this.width*o})} ${o}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>d0||this.height>f0),!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&&Jc("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",p0],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",il],height:["height","height",il],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 h0(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},xc,t,e)}function p0(t){return typeof t=="string"?t:Ne(t)}var io=class{},Vs=class{},In=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 bl=class{encodeKey(e){return sm(e)}encodeValue(e){return sm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function v0(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 y0=/%(\d[a-f0-9])/gi,D0={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sm(t){return encodeURIComponent(t).replace(y0,(e,r)=>D0[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 bl,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=v0(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 Ml=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 w0(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 C0(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(w0(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 In),this.context||(this.context=new Ml),!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)||C0(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})}},fr=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}(fr||{}),so=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new In,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}},Sl=class t extends so{constructor(e={}){super(e),this.type=fr.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=fr.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 Il(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 E0=(()=>{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 In?c=i.headers:c=new In(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(nt(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,Il(i,o))}post(n,o,i={}){return this.request("POST",n,Il(i,o))}put(n,o,i={}){return this.request("PUT",n,Il(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 I0(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function b0(t,e,r){return(n,o)=>ft(r,()=>e(n,i=>t(i,o)))}var M0=new E(""),Tl=new E(""),S0=new E(""),T0=new E("");function x0(){let t=null;return(e,r)=>{t===null&&(t=(g(M0,{optional:!0})??[]).reduceRight(I0,hm));let n=g(wn),o=n.add();return t(e,r).pipe($t(()=>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(wn);let i=g(T0,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Tl),...this.injector.get(S0,[])]));this.chain=i.reduceRight((s,a)=>b0(s,a,this.injector),hm)}let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe($t(()=>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 _0=/^\)\]\}',?\n/;function A0(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 In(a.getAllResponseHeaders()),j=A0(a)||n.url;return c=new Sl({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(_0,"");try{U=U!==""?JSON.parse(U):null}catch(Er){U=Ue,ce&&(ce=!1,U={error:Er,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:fr.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(m.total=C.total),n.responseType==="text"&&a.responseText&&(m.partialText=a.responseText),s.next(m)},S=C=>{let m={type:fr.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",S)),a.send(u),s.next({type:fr.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",S)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(y(lr))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),pm=new E("XSRF_ENABLED"),N0="XSRF-TOKEN",R0=new E("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>N0}),O0="X-XSRF-TOKEN",P0=new E("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>O0}),Bs=class{},F0=(()=>{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(ht),y(R0))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function k0(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(P0);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 L0(t,e){return{\u0275kind:t,\u0275providers:e}}function j0(...t){let e=[E0,dm,lm,{provide:io,useExisting:lm},{provide:Vs,useExisting:dm},{provide:Tl,useValue:k0,multi:!0},{provide:pm,useValue:!0},{provide:Bs,useClass:F0}];for(let r of t)e.push(...r.\u0275providers);return ts(e)}var fm=new E("LEGACY_INTERCEPTOR_FN");function V0(){return L0(gm.LegacyInterceptors,[{provide:fm,useFactory:x0},{provide:Tl,useExisting:fm,multi:!0}])}var F1=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=St({type:e}),e.\u0275inj=Mt({providers:[j0(V0())]});let t=e;return t})();var Al=class extends Os{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Nl=class t extends Al{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=$0();return r==null?null:U0(r)}resetBaseElement(){ao=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return ks(document.cookie,e)}},ao=null;function $0(){return ao=ao||document.querySelector("base"),ao?ao.getAttribute("href"):null}function U0(t){return new URL(t,document.baseURI).pathname}var Rl=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?En().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},B0=(()=>{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})(),Ol=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(Ol),y(H))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Hs=class{constructor(e){this._doc=e}},xl="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[${xl}="${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(xl),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(xl,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(ht))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),_l={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/"},Fl=/%COMP%/g,Cm="%COMP%",H0=`_nghost-${Cm}`,z0=`_ngcontent-${Cm}`,W0=!0,G0=new E("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>W0});function q0(t){return z0.replace(Fl,t)}function Z0(t){return H0.replace(Fl,t)}function Em(t,e){return e.map(r=>r.replace(Fl,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===at.ShadowDom&&(o=ee(D({},o),{encapsulation:at.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 at.Emulated:s=new zs(c,l,o,this.appId,d,a,u,f);break;case at.ShadowDom:return new Pl(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(G0),y(ie),y(ht),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(_l[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=_l[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=_l[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&(ct.DashCase|ct.Important)?e.style.setProperty(r,n,o&ct.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&ct.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=En().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 Pl=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=q0(c),this.hostAttr=Z0(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}},Y0=(()=>{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"],Q0={"\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"},K0={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},J0=(()=>{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(()=>En().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=Q0[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=K0[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 X0(){Nl.makeCurrent()}function eM(){return new lt}function tM(){return Jh(document),document}var nM=[{provide:ht,useValue:El},{provide:Sc,useValue:X0,multi:!0},{provide:ie,useFactory:tM,deps:[]}],Z1=ol(Lg,"browser",nM),rM=new E(""),oM=[{provide:eo,useClass:Rl,deps:[]},{provide:nl,useClass:Cs,deps:[H,Es,eo]},{provide:Cs,useClass:Cs,deps:[H,Es,eo]}],iM=[{provide:ns,useValue:"root"},{provide:lt,useFactory:eM,deps:[]},{provide:Ol,useClass:Y0,multi:!0,deps:[ie,H,ht]},{provide:Ol,useClass:J0,multi:!0,deps:[ie]},mm,wm,Dm,{provide:$r,useExisting:mm},{provide:lr,useClass:B0,deps:[]},[]],Y1=(()=>{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(rM,12))},e.\u0275mod=St({type:e}),e.\u0275inj=Mt({providers:[...iM,...oM],imports:[nm,jg]});let t=e;return t})();function sM(){return new kl(y(ie))}var kl=(()=>{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=sM(),i},providedIn:"root"});let t=e;return t})();var aM=(()=>{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 uM(t){return new Im(t.get(ie))}var Im=(()=>{let e=class e extends aM{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case Ze.NONE:return o;case Ze.HTML:return At(o,"HTML")?Ne(o):Oc(this._doc,String(o)).toString();case Ze.STYLE:return At(o,"Style")?Ne(o):o;case Ze.SCRIPT:if(At(o,"Script"))return Ne(o);throw new v(5200,!1);case Ze.URL:return At(o,"URL")?Ne(o):as(String(o));case Ze.RESOURCE_URL:if(At(o,"ResourceURL"))return Ne(o);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return vp(n)}bypassSecurityTrustStyle(n){return yp(n)}bypassSecurityTrustScript(n){return Dp(n)}bypassSecurityTrustUrl(n){return wp(n)}bypassSecurityTrustResourceUrl(n){return Cp(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=uM(y(Ae)),i},providedIn:"root"});let t=e;return t})();var R="primary",Mo=Symbol("RouteTitle"),Ul=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 vr(t){return new Ul(t)}function lM(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 dM(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!gt(t[r],e[r]))return!1;return!0}function gt(t,e){let r=t?Bl(t):void 0,n=e?Bl(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 Bl(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:cr(t)?G(Promise.resolve(t)):T(t)}var fM={exact:km,subset:Lm},Fm={exact:hM,subset:pM,ignored:()=>!0};function bm(t,e,r){return fM[r.paths](t.root,e.root,r.matrixParams)&&Fm[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function hM(t,e){return gt(t,e)}function km(t,e,r){if(!Mn(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 pM(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!(!Mn(o,r)||e.hasChildren()||!qs(o,r,n))}else if(t.segments.length===r.length){if(!Mn(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!Mn(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=vr(this.queryParams)),this._queryParamMap}toString(){return vM.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)}},bn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=vr(this.parameters)),this._parameterMap}toString(){return $m(this)}};function gM(t,e){return Mn(t,e)&&t.every((r,n)=>gt(r.parameters,e[n].parameters))}function Mn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function mM(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 zl(e);return new Qt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${lo(e.root,!0)}`,n=wM(e.queryParams),o=typeof e.fragment=="string"?`#${yM(e.fragment)}`:"";return`${r}${n}${o}`}},vM=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=mM(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 yM(t){return encodeURI(t)}function Hl(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`${Hl(t.path)}${DM(t.parameters)}`}function DM(t){return Object.keys(t).map(e=>`;${Hl(e)}=${Hl(t[e])}`).join("")}function wM(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 CM=/^[^\/()?;#]+/;function Ll(t){let e=t.match(CM);return e?e[0]:""}var EM=/^[^\/()?;=#]+/;function IM(t){let e=t.match(EM);return e?e[0]:""}var bM=/^[^=?&#]+/;function MM(t){let e=t.match(bM);return e?e[0]:""}var SM=/^[^&#]+/;function TM(t){let e=t.match(SM);return e?e[0]:""}var zl=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=Ll(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new bn(Ys(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=IM(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Ll(this.remaining);o&&(n=o,this.capture(n))}e[Ys(r)]=Ys(n)}parseQueryParam(e){let r=MM(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=TM(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=Ll(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 xM(r)}function xM(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 yr(t){return t instanceof Qt}function _M(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 jl(o,o,o,r,n);let i=AM(e);if(i.toRoot())return jl(o,o,new B([],{}),r,n);let s=NM(i,o,t),a=s.processChildren?po(s.segmentGroup,s.index,i.commands):Gm(s.segmentGroup,s.index,i.commands);return jl(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 jl(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 AM(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 gr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function NM(t,e,r){if(t.isAbsolute)return new gr(e,!0,0);if(!r)return new gr(e,!1,NaN);if(r.parent===null)return new gr(r,!0,0);let n=Qs(t.commands[0])?0:1,o=r.segments.length-1+n;return RM(r,o,t.numberOfDoubleDots)}function RM(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 gr(n,!1,o-i)}function OM(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=PM(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()?Wl(t,e,r):n.match?po(t,0,o):Wl(t,e,r)}function po(t,e,r){if(r.length===0)return new B(t.segments,{});{let n=OM(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 PM(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 Wl(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=FM(i.outlets);return new B(n,u)}if(o===0&&Qs(r[0])){let u=t.segments[e];n.push(new bn(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 bn(s,Sm(a))),o+=2):(n.push(new bn(s,{})),o++)}return new B(n,{})}function FM(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Wl(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&&gt(e,r.parameters)}var go="imperative",$e=class{constructor(e,r){this.id=e,this.url=r}},Dr=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}')`}},Qe=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})`}},Gl=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})`}},ql=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})`}},Zl=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})`}},Yl=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})`}},Ql=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Kl=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Jl=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xl=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ed=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},td=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 nd=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 nd,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=rd(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=rd(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=od(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return od(e,this._root).map(r=>r.value)}};function rd(t,e){if(t===e.value)return e;for(let r of e.children){let n=rd(t,r);if(n)return n}return null}function od(t,e){if(t===e.value)return[e];for(let r of e.children){let n=od(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 pr(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,pd(this,e)}toString(){return this.snapshot.toString()}};function qm(t,e){let r=kM(t,e),n=new de([new bn("",{})]),o=new de({}),i=new de({}),s=new de({}),a=new de(""),u=new Sn(n,o,s,a,i,R,e,r.root);return u.snapshot=r.root,new ta(new Pe(u,[]),r)}function kM(t,e){let r={},n={},o={},i="",s=new Eo([],r,o,i,n,R,e,null,{});return new na("",new Pe(s,[]))}var Sn=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=>vr(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(O(e=>vr(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function hd(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=vr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=vr(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,pd(this,r)}toString(){return Zm(this._root)}};function pd(t,e){e.value._routerState=t,e.children.forEach(r=>pd(t,r))}function Zm(t){let e=t.children.length>0?` { ${t.children.map(Zm).join(", ")} } `:"";return`${t.value}${e}`}function Vl(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,gt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),gt(e.params,r.params)||t.paramsSubject.next(r.params),dM(e.url,r.url)||t.urlSubject.next(r.url),gt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function id(t,e){let r=gt(t.params,e.params)&&gM(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||id(t.parent,e.parent))}function Ym(t){return typeof t.title=="string"||t.title===null}var LM=(()=>{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(pt),this.changeDetector=g(ur),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 sd(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})(),sd=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Sn?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=_r([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 jM(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=VM(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=$M(e.value),o=e.children.map(i=>Io(t,i));return new Pe(n,o)}}function VM(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 $M(t){return new Sn(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}=yr(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 UM(t){return Xm(t)&&yr(t.url)}function Xm(t){return t&&t[Qm]}var BM=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=sh({type:e,selectors:[["ng-component"]],standalone:!0,features:[wg],decls:1,vars:0,template:function(o,i){o&1&&Xc(0,"router-outlet")},dependencies:[LM],encapsulation:2});let t=e;return t})();function HM(t,e){return t.providers&&!t._injector&&(t._injector=ms(t.providers,e,`Route: ${t.path}`)),t._injector??e}function gd(t){let e=t.children&&t.children.map(gd),r=e?ee(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==R&&(r.component=BM),r}function mt(t){return t.outlet||R}function zM(t,e){let r=t.filter(n=>mt(n)===e);return r.push(...t.filter(n=>mt(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 WM=(t,e,r,n)=>O(o=>(new ad(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),ad=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),Vl(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=pr(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=pr(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=pr(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=pr(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new td(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Xl(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(Vl(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),Vl(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]}},mr=class{constructor(e,r){this.component=e,this.route=r}};function GM(t,e,r){let n=t._root,o=e?e._root:null;return fo(n,o,r,[n.value])}function qM(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Cr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Zf(t)?t:e.get(t):n}function fo(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=pr(e);return t.children.forEach(s=>{ZM(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 ZM(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=YM(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 mr(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 YM(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Mn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Mn(t.url,e.url)||!gt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!id(t,e)||!gt(t.queryParams,e.queryParams);case"paramsChange":default:return!id(t,e)}}function mo(t,e,r){let n=pr(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 mr(e.outlet.component,o)):r.canDeactivateChecks.push(new mr(null,o)):r.canDeactivateChecks.push(new mr(null,o))}function _o(t){return typeof t=="function"}function QM(t){return typeof t=="boolean"}function KM(t){return t&&_o(t.canLoad)}function JM(t){return t&&_o(t.canActivate)}function XM(t){return t&&_o(t.canActivateChild)}function eS(t){return t&&_o(t.canDeactivate)}function tS(t){return t&&_o(t.canMatch)}function ev(t){return t instanceof yt||t?.name==="EmptyError"}var Gs=Symbol("INITIAL_VALUE");function wr(){return ue(t=>_r(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 nS(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})):rS(s,n,o,t).pipe(K(a=>a&&QM(a)?oS(n,i,t,e):T(a)),O(a=>ee(D({},r),{guardsResult:a})))})}function rS(t,e,r,n){return G(t).pipe(K(o=>cS(o.component,o.route,r,e,n)),rt(o=>o!==!0,!0))}function oS(t,e,r,n){return G(e).pipe(nt(o=>jn(sS(o.route.parent,n),iS(o.route,n),uS(t,o.path,r),aS(t,o.route,r))),rt(o=>o!==!0,!0))}function iS(t,e){return t!==null&&e&&e(new ed(t)),T(!0)}function sS(t,e){return t!==null&&e&&e(new Jl(t)),T(!0)}function aS(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=Cr(i,s),u=JM(a)?a.canActivate(e,t):ft(s,()=>a(e,t));return Xt(u).pipe(rt())}));return T(o).pipe(wr())}function uS(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>qM(s)).filter(s=>s!==null).map(s=>oi(()=>{let a=s.guards.map(u=>{let c=xo(s.node)??r,l=Cr(u,c),d=XM(l)?l.canActivateChild(n,t):ft(c,()=>l(n,t));return Xt(d).pipe(rt())});return T(a).pipe(wr())}));return T(i).pipe(wr())}function cS(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=Cr(a,u),l=eS(c)?c.canDeactivate(t,e,r,n):ft(u,()=>c(t,e,r,n));return Xt(l).pipe(rt())});return T(s).pipe(wr())}function lS(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=Cr(s,t),u=KM(a)?a.canLoad(e,r):ft(t,()=>a(e,r));return Xt(u)});return T(i).pipe(wr(),tv(n))}function tv(t){return ma(ne(e=>{if(yr(e))throw Km(t,e)}),O(e=>e===!0))}function dS(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return T(!0);let i=o.map(s=>{let a=Cr(s,t),u=tS(a)?a.canMatch(e,r):ft(t,()=>a(e,r));return Xt(u)});return T(i).pipe(wr(),tv(n))}var bo=class{constructor(e){this.segmentGroup=e||null}},oa=class extends Error{constructor(e){super(),this.urlTree=e}};function hr(t){return kn(new bo(t))}function fS(t){return kn(new v(4e3,!1))}function hS(t){return kn(Jm(!1,3))}var ud=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 fS(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}},cd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function pS(t,e,r,n,o){let i=md(t,e,r);return i.matched?(n=HM(e,n),dS(n,e,r,o).pipe(O(s=>s===!0?i:D({},cd)))):T(i)}function md(t,e,r){if(e.path==="**")return gS(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},cd):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||lM)(r,t,e);if(!o)return D({},cd);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 gS(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&&yS(t,r,n)?{segmentGroup:new B(e,vS(n,new B(r,t.children))),slicedSegments:[]}:r.length===0&&DS(t,r,n)?{segmentGroup:new B(t.segments,mS(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new B(t.segments,t.children),slicedSegments:r}}function mS(t,e,r,n,o){let i={};for(let s of n)if(ua(t,r,s)&&!o[mt(s)]){let a=new B([],{});i[mt(s)]=a}return D(D({},o),i)}function vS(t,e){let r={};r[R]=e;for(let n of t)if(n.path===""&&mt(n)!==R){let o=new B([],{});r[mt(n)]=o}return r}function yS(t,e,r){return r.some(n=>ua(t,e,n)&&mt(n)!==R)}function DS(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 wS(t,e,r,n){return mt(t)!==n&&(n===R||!ua(e,r,t))?!1:md(e,t,r).matched}function CS(t,e,r){return e.length===0&&!t.children[r]}var ld=class{};function ES(t,e,r,n,o,i,s="emptyOnly"){return new dd(t,e,r,n,o,s,i).recognize()}var IS=31,dd=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 ud(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=_M(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=hd(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(nt(i=>{let s=n.children[i],a=zM(r,i);return this.processSegmentGroup(e,a,s,i)}),si((i,s)=>(i.push(...s),i)),Vt(null),Ta(),K(i=>{if(i===null)return hr(n);let s=nv(i);return bS(s),T(s)}))}processSegment(e,r,n,o,i,s){return G(r).pipe(nt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,o,i,s).pipe(Dt(u=>{if(u instanceof bo)return T(null);throw u}))),rt(a=>!!a),Dt(a=>{if(ev(a))return CS(n,o,i)?T(new ld):hr(n);throw a}))}processSegmentAgainstRoute(e,r,n,o,i,s,a){return wS(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):hr(o):hr(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=md(r,o,i);if(!a)return hr(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>IS&&(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=pS(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,SS(n),mt(n),n.component??n._loadedComponent??null,n,TS(n)),{segmentGroup:p,slicedSegments:S}=_m(r,l,d,u);if(S.length===0&&p.hasChildren())return this.processChildren(c,u,p).pipe(O(m=>m===null?null:new Pe(h,m)));if(u.length===0&&S.length===0)return T(new Pe(h,[]));let C=mt(n)===i;return this.processSegment(c,u,p,S,C?R:i,!0).pipe(O(m=>new Pe(h,m instanceof Pe?[m]:[])))}))):hr(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}):lS(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})):hS(r))):T({routes:[],injector:e})}};function bS(t){t.sort((e,r)=>e.value.outlet===R?-1:r.value.outlet===R?1:e.value.outlet.localeCompare(r.value.outlet))}function MS(t){let e=t.value.routeConfig;return e&&e.path===""}function nv(t){let e=[],r=new Set;for(let n of t){if(!MS(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 SS(t){return t.data||{}}function TS(t){return t.resolve||{}}function xS(t,e,r,n,o,i){return K(s=>ES(t,e,r,n,s.extractedUrl,o,i).pipe(O(({state:a,tree:u})=>ee(D({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function _S(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(nt(u=>i.has(u)?AS(u,n,t,e):(u.data=hd(u,u.parent,t).resolve,T(void 0))),ne(()=>a++),Vn(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 AS(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!Ym(o)&&(i[Mo]=o.title),NS(i,t,e,n).pipe(O(s=>(t._resolvedData=s,t.data=hd(t,t.parent,r).resolve,null)))}function NS(t,e,r,n){let o=Bl(t);if(o.length===0)return T({});let i={};return G(o).pipe(K(s=>RS(t[s],e,r,n).pipe(rt(),ne(a=>{i[s]=a}))),Vn(1),Sa(i),Dt(s=>ev(s)?Ie:kn(s)))}function RS(t,e,r,n){let o=xo(e)??n,i=Cr(t,o),s=i.resolve?i.resolve(e,r):ft(o,()=>i(e,r));return Xt(s)}function $l(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(OS))(),providedIn:"root"});let t=e;return t})(),OS=(()=>{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(kl))},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"),vd=(()=>{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}),$t(()=>{this.componentLoaders.delete(n)})),i=new Rn(o,()=>new ae).pipe(Nn());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=PS(o,this.compiler,n,this.onLoadEndListener).pipe($t(()=>{this.childrenLoaders.delete(o)})),a=new Rn(s,()=>new ae).pipe(Nn());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 PS(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(gd),injector:i}}))}function FS(t){return t&&typeof t=="object"&&"default"in t}function iv(t){return FS(t)?t.default:t}var yd=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>g(kS))(),providedIn:"root"});let t=e;return t})(),kS=(()=>{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 LS(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(),jS(t))),{onViewTransitionCreated:u}=n;return u&&ft(t,()=>u({transition:a,from:e,to:r})),s})}function jS(t){return new Promise(e=>{Gc(e,{injector:t})})}var Dd=(()=>{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(vd),this.environmentInjector=g(Ce),this.urlSerializer=g(So),this.rootContexts=g(To),this.location=g(dr),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(yd),this.createViewTransition=g(sv,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Ql(i)),o=i=>this.events.next(new Kl(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 Dr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Ie:Promise.resolve(f)}),xS(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:S,extras:C}=c,m=new Dr(f,this.urlSerializer.serialize(h),p,S);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 Gl(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:GM(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),nS(this.environmentInjector,c=>this.events.next(c)),ne(c=>{if(s.guardsResult=c.guardsResult,yr(c.guardsResult))throw Km(this.urlSerializer,c.guardsResult);let l=new ql(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)),$l(c=>{if(c.guards.canActivateChecks.length)return T(c).pipe(ne(l=>{let d=new Zl(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(_S(this.paramsInheritanceStrategy,this.environmentInjector),ne({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",2)}}))}),ne(l=>{let d=new Yl(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),$l(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 _r(l(c.targetSnapshot.root)).pipe(Vt(null),wt(1))}),$l(()=>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=jM(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)}),WM(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 Qe(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}))),$t(()=>{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)),UM(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 VS(t){return t!==go}var $S=(()=>{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})(),fd=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},US=(()=>{let e=class e extends fd{};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(BS))(),providedIn:"root"});let t=e;return t})(),BS=(()=>{let e=class e extends uv{constructor(){super(...arguments),this.location=g(dr),this.urlSerializer=g(So),this.options=g(Ao,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(yd),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 Dr)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 Qe&&(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 Qe||r instanceof Kt||r instanceof Do||r instanceof Jt),O(r=>r instanceof Qe||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 HS(t){throw t}var zS={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},WS={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Lt=(()=>{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(wn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(Dd),this.urlSerializer=g(So),this.location=g(dr),this.urlHandlingStrategy=g(yd),this._events=new ae,this.errorHandler=this.options.errorHandler||HS,this.navigated=!1,this.routeReuseStrategy=g($S),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 Qe)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"||VS(i.source)};this.scheduleNavigation(a,go,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}qS(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(gd),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=yr(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 GS(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({},zS):o===!1?i=D({},WS):i=o,yr(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 GS(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new v(4008,!1)}function qS(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 Qe&&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:Sp(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(Lt),L(Sn),Ec("tabindex"),L(qt),L(je),L(kt))},e.\u0275dir=ke({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&tl("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Qc("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})(),hL=(()=>{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 Qe&&this.update()})}ngAfterContentInit(){T(this.links.changes,T(null)).pipe(tt()).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(tt()).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=ZS(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(Lt),L(je),L(qt),L(ur),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 ZS(t){return!!t.paths}var sa=class{};var YS=(()=>{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 Qe),nt(()=>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(tt())}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(tt())}else return s})}};e.\u0275fac=function(o){return new(o||e)(y(Lt),y(ws),y(Ce),y(sa),y(vd))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lv=new E(""),QS=(()=>{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 Dr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Qe?(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){Rp()},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function KS(t){return t.routerState.root}function No(t,e){return{\u0275kind:t,\u0275providers:e}}function JS(){let t=g(Ae);return e=>{let r=t.get(Cn);if(e!==r.components[0])return;let n=t.get(Lt),o=t.get(dv);t.get(wd)===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}),wd=new E("",{providedIn:"root",factory:()=>1});function XS(){return No(2,[{provide:wd,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(Lt),i=e.get(dv);cv(o,()=>{n(!0)}),e.get(Dd).afterPreactivation=()=>(n(!0),i.closed?T(void 0):i),o.initialNavigation()}))}}])}function eT(){return No(3,[{provide:Is,multi:!0,useFactory:()=>{let e=g(Lt);return()=>{e.setUpLocationChangeListener()}}},{provide:wd,useValue:2}])}var fv=new E("");function tT(t){return No(0,[{provide:fv,useExisting:YS},{provide:sa,useExisting:t}])}function nT(){return No(8,[xm,{provide:aa,useExisting:xm}])}function rT(t){let e=[{provide:sv,useValue:LS},{provide:av,useValue:D({skipNextTransition:!!t?.skipInitialTransition},t)}];return No(9,e)}var Nm=new E("ROUTER_FORROOT_GUARD"),oT=[dr,{provide:So,useClass:vo},Lt,To,{provide:Sn,useFactory:KS,deps:[Lt]},vd,[]],pL=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[oT,[],{provide:ia,multi:!0,useValue:n},{provide:Nm,useFactory:uT,deps:[[Lt,new Qr,new es]]},{provide:Ao,useValue:o||{}},o?.useHash?sT():aT(),iT(),o?.preloadingStrategy?tT(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?cT(o):[],o?.bindToComponentInputs?nT().\u0275providers:[],o?.enableViewTransitions?rT().\u0275providers:[],lT()]}}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 iT(){return{provide:lv,useFactory:()=>{let t=g(rm),e=g(H),r=g(Ao),n=g(Dd),o=g(So);return r.scrollOffset&&t.setOffset(r.scrollOffset),new QS(o,n,t,e,r)}}}function sT(){return{provide:kt,useClass:Kg}}function aT(){return{provide:kt,useClass:wl}}function uT(t){return"guarded"}function cT(t){return[t.initialNavigation==="disabled"?eT().\u0275providers:[],t.initialNavigation==="enabledBlocking"?XS().\u0275providers:[]]}var Rm=new E("");function lT(){return[{provide:Rm,useFactory:JS},{provide:bs,multi:!0,useExisting:Rm}]}var vL="*";function yL(t,e){return{type:7,name:t,definitions:e,options:{}}}function DL(t,e=null){return{type:4,styles:e,timings:t}}function wL(t,e=null){return{type:3,steps:t,options:e}}function CL(t,e=null){return{type:2,steps:t,options:e}}function EL(t){return{type:6,styles:t,offset:null}}function IL(t,e,r){return{type:0,name:t,styles:e,options:r}}function bL(t){return{type:5,steps:t}}function ML(t,e,r=null){return{type:1,expr:t,animation:e,options:r}}function SL(t=null){return{type:9,options:t}}function TL(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}},xL="!";export{Q as a,k as b,ae as c,de as d,br as e,Rv as f,Xe as g,Ov as h,Pv as i,Ie as j,Tr as k,xr as l,G as m,T as n,kn as o,kv as p,O as q,_r as r,K as s,tt as t,jn as u,oi as v,Gv as w,Ma as x,Ar as y,Xv as z,ey as A,te as B,ty as C,ny as D,Dt as E,nt as F,ry as G,oy as H,wt as I,iy as J,sy as K,cy as L,$t as M,rt as N,si as O,Da as P,Rd as Q,ly as R,xa as S,ue as T,dy as U,ai as V,fy as W,ne as X,hy as Y,zf as Z,v as _,w as $,Mt as aa,E as ba,y as ca,g as da,sh as ea,St as fa,ke as ga,qr as ha,Tt as ia,dk as ja,fk as ka,hk as la,pk as ma,Cc as na,Ec as oa,Qr as pa,es as qa,ts as ra,Ae as sa,rs as ta,ht as ua,gk as va,Tc as wa,Ze as xa,mk as ya,sC as za,us as Aa,je as Ba,$r as Ca,qt as Da,lt as Ea,vk as Fa,L as Ga,Rp as Ha,ur as Ia,fe as Ja,H as Ka,TE as La,hs as Ma,Qc as Na,HE as Oa,Jc as Pa,zE as Qa,yk as Ra,Dk as Sa,pt as Ta,Wu as Ua,Ek as Va,Ik as Wa,bk as Xa,Mk as Ya,dg as Za,fg as _a,Xc as $a,hg as ab,pg as bb,mI as cb,Sk as db,yI as eb,DI as fb,cr as gb,tl as hb,MI as ib,Tk as jb,xk as kb,_k as lb,xI as mb,_I as nb,Ak as ob,Nk as pb,RI as qb,vg as rb,OI as sb,Rk as tb,wg as ub,Ok as vb,Pk as wb,Fk as xb,kk as yb,Lk as zb,jk as Ab,Vk as Bb,$k as Cb,Uk as Db,Bk as Eb,ec as Fb,gn as Gb,Mg as Hb,zk as Ib,Sg as Jb,Tg as Kb,Wk as Lb,rr as Mb,Gk as Nb,Is as Ob,Cn as Pb,to as Qb,qk as Rb,Zt as Sb,il as Tb,En as Ub,ie as Vb,dr as Wb,c1 as Xb,l1 as Yb,d1 as Zb,f1 as _b,h1 as $b,p1 as ac,g1 as bc,m1 as cc,v1 as dc,y1 as ec,nm as fc,D1 as gc,Ls as hc,w1 as ic,E0 as jc,M0 as kc,F1 as lc,mm as mc,Z1 as nc,Y1 as oc,kl as pc,aM as qc,vL as rc,yL as sc,DL as tc,wL as uc,CL as vc,EL as wc,IL as xc,bL as yc,ML as zc,SL as Ac,TL as Bc,hv as Cc,pv as Dc,xL as Ec,Qe as Fc,Sn as Gc,LM as Hc,Lt as Ic,Am as Jc,hL as Kc,pL as Lc};
7
+ `)}`}function qr(t){return{toString:t}.toString()}var eh=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(eh||{}),at=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(at||{}),Gn={},Me=[];function th(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 tu(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];jy(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),n++}}return n}function nh(t){return t===3||t===4||t===6}function jy(t){return t.charCodeAt(0)===64}function Pr(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?af(t,r,o,null,e[++n]):af(t,r,o,null,null))}}return t}function af(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 rh="ng-template";function Vy(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"&&th(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 oh(t){return t.type===4&&t.value!==rh}function $y(t,e,r){let n=t.type===4&&!r?rh:t.value;return e===n}function Uy(t,e,r){let n=4,o=t.attrs||[],i=zy(o),s=!1;for(let a=0;a<e.length;a++){let u=e[a];if(typeof u=="number"){if(!s&&!ze(n)&&!ze(u))return!1;if(s&&ze(u))continue;s=!1,n=u|n&1;continue}if(!s)if(n&4){if(n=2|n&1,u!==""&&!$y(t,u,r)||u===""&&e.length===1){if(ze(n))return!1;s=!0}}else{let c=n&8?u:e[++a];if(n&8&&t.attrs!==null){if(!Vy(t.attrs,c,r)){if(ze(n))return!1;s=!0}continue}let l=n&8?"class":u,d=By(l,o,oh(t),r);if(d===-1){if(ze(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&&th(h,c,0)!==-1||n&2&&c!==f){if(ze(n))return!1;s=!0}}}}return ze(n)||s}function ze(t){return(t&1)===0}function By(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 Wy(e,t)}function ih(t,e,r=!1){for(let n=0;n<e.length;n++)if(Uy(t,e[n],r))return!0;return!1}function Hy(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function zy(t){for(let e=0;e<t.length;e++){let r=t[e];if(nh(r))return e}return t.length}function Wy(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 Gy(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 uf(t,e){return t?":not("+e.trim()+")":e}function qy(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!==""&&!ze(s)&&(e+=uf(i,o),o=""),n=s,i=i||!ze(n);r++}return o!==""&&(e+=uf(i,o)),e}function Zy(t){return t.map(qy).join(",")}function Yy(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(!ze(o))break;o=i}n++}return{attrs:e,classes:r}}function sh(t){return qr(()=>{let e=dh(t),r=ee(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===eh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||at.Emulated,styles:t.styles||Me,_:null,schemas:t.schemas||null,tView:null,id:""});fh(r);let n=t.dependencies;return r.directiveDefs=lf(n,!1),r.pipeDefs=lf(n,!0),r.id=Jy(r),r})}function Qy(t){return zt(t)||ah(t)}function Ky(t){return t!==null}function Tt(t){return qr(()=>({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 cf(t,e){if(t==null)return Gn;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 qr(()=>{let e=dh(t);return fh(e),e})}function Zr(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 zt(t){return t[Dy]||null}function ah(t){return t[wy]||null}function uh(t){return t[Cy]||null}function ch(t){let e=zt(t)||ah(t)||uh(t);return e!==null?e.standalone:!1}function lh(t,e){let r=t[Ey]||null;if(!r&&e===!0)throw new Error(`Type ${ge(t)} does not have '\u0275mod' property.`);return r}function dh(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||Gn,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:cf(t.inputs,e),outputs:cf(t.outputs),debugInfo:null}}function fh(t){t.features?.forEach(e=>e(t))}function lf(t,e){if(!t)return null;let r=e?uh:Qy;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Ky)}function Jy(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 dt=0,A=1,_=2,re=3,Ge=4,_e=5,qn=6,Fr=7,me=8,Zn=9,Et=10,Z=11,kr=12,df=13,or=14,Fe=15,Yr=16,$n=17,st=18,Zi=19,hh=20,Bt=21,Fa=22,un=23,he=25,lc=1;var cn=7,Si=8,Yn=9,ve=10,Qn=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(Qn||{});function Ht(t){return Array.isArray(t)&&typeof t[lc]=="object"}function qe(t){return Array.isArray(t)&&t[lc]===!0}function dc(t){return(t.flags&4)!==0}function Yi(t){return t.componentOffset>-1}function Qi(t){return(t.flags&1)===1}function It(t){return!!t.template}function Xy(t){return(t[_]&512)!==0}function ln(t,e){let r=t.hasOwnProperty(bi);return r?t[bi]:null}var nu=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function xt(){return ph}function ph(t){return t.type.prototype.ngOnChanges&&(t.setInput=tD),eD}xt.ngInherit=!0;function eD(){let t=mh(this),e=t?.current;if(e){let r=t.previous;if(r===Gn)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function tD(t,e,r,n){let o=this.declaredInputs[r],i=mh(t)||nD(t,{previous:Gn,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new nu(u&&u.currentValue,e,a===Gn),t[n]=e}var gh="__ngSimpleChanges__";function mh(t){return t[gh]||null}function nD(t,e){return t[gh]=e}var ff=null;var ot=function(t,e,r){ff?.(t,e,r)},vh="svg",rD="math",oD=!1;function iD(){return oD}function ut(t){for(;Array.isArray(t);)t=t[dt];return t}function sD(t){for(;Array.isArray(t);){if(typeof t[lc]=="object")return t;t=t[dt]}return null}function yh(t,e){return ut(e[t])}function Le(t,e){return ut(e[t.index])}function fc(t,e){return t.data[e]}function hc(t,e){return t[e]}function Gt(t,e){let r=e[t];return Ht(r)?r:r[dt]}function aD(t){return(t[_]&4)===4}function pc(t){return(t[_]&128)===128}function uD(t){return qe(t[re])}function Kn(t,e){return e==null?null:t[e]}function Dh(t){t[$n]=0}function cD(t){t[_]&1024||(t[_]|=1024,pc(t)&&Lr(t))}function lD(t,e){for(;t>0;)e=e[or],t--;return e}function wh(t){return t[_]&9216||t[un]?.dirty}function ru(t){wh(t)?Lr(t):t[_]&64&&(iD()?(t[_]|=1024,Lr(t)):t[Et].changeDetectionScheduler?.notify())}function Lr(t){t[Et].changeDetectionScheduler?.notify();let e=t[re];for(;e!==null&&!(qe(e)&&e[_]&Qn.HasChildViewsToRefresh||Ht(e)&&e[_]&8192);){if(qe(e))e[_]|=Qn.HasChildViewsToRefresh;else if(e[_]|=8192,!pc(e))break;e=e[re]}}function Ch(t,e){if((t[_]&256)===256)throw new v(911,!1);t[Bt]===null&&(t[Bt]=[]),t[Bt].push(e)}function dD(t,e){if(t[Bt]===null)return;let r=t[Bt].indexOf(e);r!==-1&&t[Bt].splice(r,1)}var N={lFrame:xh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function fD(){return N.lFrame.elementDepthCount}function hD(){N.lFrame.elementDepthCount++}function pD(){N.lFrame.elementDepthCount--}function Eh(){return N.bindingsEnabled}function Ih(){return N.skipHydrationRootTNode!==null}function gD(t){return N.skipHydrationRootTNode===t}function mD(){N.skipHydrationRootTNode=null}function T(){return N.lFrame.lView}function Y(){return N.lFrame.tView}function dk(t){return N.lFrame.contextLView=t,t[me]}function fk(t){return N.lFrame.contextLView=null,t}function ye(){let t=bh();for(;t!==null&&t.type===64;)t=t.parent;return t}function bh(){return N.lFrame.currentTNode}function vD(){let t=N.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function vn(t,e){let r=N.lFrame;r.currentTNode=t,r.isParent=e}function gc(){return N.lFrame.isParent}function mc(){N.lFrame.isParent=!1}function yD(){return N.lFrame.contextLView}function ft(){let t=N.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function DD(){return N.lFrame.bindingIndex}function wD(t){return N.lFrame.bindingIndex=t}function yn(){return N.lFrame.bindingIndex++}function vc(t){let e=N.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function CD(){return N.lFrame.inI18n}function ED(t,e){let r=N.lFrame;r.bindingIndex=r.bindingRootIndex=t,ou(e)}function ID(){return N.lFrame.currentDirectiveIndex}function ou(t){N.lFrame.currentDirectiveIndex=t}function yc(t){let e=N.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Mh(){return N.lFrame.currentQueryIndex}function Dc(t){N.lFrame.currentQueryIndex=t}function bD(t){let e=t[A];return e.type===2?e.declTNode:e.type===1?t[_e]:null}function Sh(t,e,r){if(r&F.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&F.Host);)if(o=bD(i),o===null||(i=i[or],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=N.lFrame=Th();return n.currentTNode=e,n.lView=t,!0}function wc(t){let e=Th(),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 Th(){let t=N.lFrame,e=t===null?null:t.child;return e===null?xh(t):e}function xh(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 _h(){let t=N.lFrame;return N.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Ah=_h;function Cc(){let t=_h();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 MD(t){return(N.lFrame.contextLView=lD(t,N.lFrame.contextLView))[me]}function _t(){return N.lFrame.selectedIndex}function dn(t){N.lFrame.selectedIndex=t}function ir(){let t=N.lFrame;return fc(t.tView,t.selectedIndex)}function hk(){N.lFrame.currentNamespace=vh}function pk(){SD()}function SD(){N.lFrame.currentNamespace=null}function TD(){return N.lFrame.currentNamespace}var Nh=!0;function Ki(){return Nh}function Ji(t){Nh=t}function xD(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=ph(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 Xi(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 yi(t,e,r){Rh(t,e,3,r)}function Di(t,e,r,n){(t[_]&3)===r&&Rh(t,e,r,n)}function ka(t,e){let r=t[_];(r&3)===e&&(r&=16383,r+=1,t[_]=r)}function Rh(t,e,r,n){let o=n!==void 0?t[$n]&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[$n]+=65536),(a<i||i==-1)&&(_D(t,r,e,u),t[$n]=(t[$n]&4294901760)+u+2),u++}function hf(t,e){ot(4,t,e);let r=se(null);try{e.call(t)}finally{se(r),ot(5,t,e)}}function _D(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[$n]>>16&&(t[_]&3)===e&&(t[_]+=16384,hf(a,i)):hf(a,i)}var Wn=-1,fn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function AD(t){return t instanceof fn}function ND(t){return(t.flags&8)!==0}function RD(t){return(t.flags&16)!==0}function Oh(t){return t!==Wn}function Ti(t){let e=t&32767;return t&32767}function OD(t){return t>>16}function xi(t,e){let r=OD(t),n=e;for(;r>0;)n=n[or],r--;return n}var iu=!0;function _i(t){let e=iu;return iu=t,e}var PD=256,Ph=PD-1,Fh=5,FD=0,it={};function kD(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Nr)&&(n=r[Nr]),n==null&&(n=r[Nr]=FD++);let o=n&Ph,i=1<<o;e.data[t+(o>>Fh)]|=i}function Ai(t,e){let r=kh(t,e);if(r!==-1)return r;let n=e[A];n.firstCreatePass&&(t.injectorIndex=e.length,La(n.data,t),La(e,null),La(n.blueprint,null));let o=Ec(t,e),i=t.injectorIndex;if(Oh(o)){let s=Ti(o),a=xi(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 La(t,e){t.push(0,0,0,0,0,0,0,0,e)}function kh(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ec(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=Uh(o),n===null)return Wn;if(r++,o=o[or],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Wn}function su(t,e,r){kD(t,e,r)}function LD(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(nh(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 Lh(t,e,r){if(r&F.Optional||t!==void 0)return t;cc(e,"NodeInjector")}function jh(t,e,r,n){if(r&F.Optional&&n===void 0&&(n=null),!(r&(F.Self|F.Host))){let o=t[Zn],i=be(void 0);try{return o?o.get(e,n,r&F.Optional):Jf(e,n,r&F.Optional)}finally{be(i)}}return Lh(n,e,r)}function Vh(t,e,r,n=F.Default,o){if(t!==null){if(e[_]&2048&&!(n&F.Self)){let s=UD(t,e,r,n,it);if(s!==it)return s}let i=$h(t,e,r,n,it);if(i!==it)return i}return jh(e,r,n,o)}function $h(t,e,r,n,o){let i=VD(r);if(typeof i=="function"){if(!Sh(e,t,n))return n&F.Host?Lh(o,r,n):jh(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&F.Optional))cc(r);else return s}finally{Ah()}}else if(typeof i=="number"){let s=null,a=kh(t,e),u=Wn,c=n&F.Host?e[Fe][_e]:null;for((a===-1||n&F.SkipSelf)&&(u=a===-1?Ec(t,e):e[a+8],u===Wn||!gf(n,!1)?a=-1:(s=e[A],a=Ti(u),e=xi(u,e)));a!==-1;){let l=e[A];if(pf(i,a,l.data)){let d=jD(a,e,r,s,n,c);if(d!==it)return d}u=e[a+8],u!==Wn&&gf(n,e[A].data[a+8]===c)&&pf(i,a,e)?(s=l,a=Ti(u),e=xi(u,e)):a=-1}}return o}function jD(t,e,r,n,o,i){let s=e[A],a=s.data[t+8],u=n==null?Yi(a)&&iu:n!=s&&(a.type&3)!==0,c=o&F.Host&&i===a,l=wi(a,s,r,u,c);return l!==null?hn(e,s,l,a):it}function wi(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&&It(h)&&h.type===r)return u}return null}function hn(t,e,r,n){let o=t[r],i=e.data;if(AD(o)){let s=o;s.resolving&&by(Iy(i[r]));let a=_i(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?be(s.injectImpl):null,l=Sh(t,n,F.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&xD(r,i[r],e)}finally{c!==null&&be(c),_i(a),s.resolving=!1,Ah()}}return o}function VD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Nr)?t[Nr]:void 0;return typeof e=="number"?e>=0?e&Ph:$D:e}function pf(t,e,r){let n=1<<t;return!!(r[e+(t>>Fh)]&n)}function gf(t,e){return!(t&F.Self)&&!(t&F.Host&&e)}var sn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Vh(this._tNode,this._lView,e,qi(n),r)}};function $D(){return new sn(ye(),T())}function Ic(t){return qr(()=>{let e=t.prototype.constructor,r=e[bi]||au(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[bi]||au(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function au(t){return Wf(t)?()=>{let e=au(we(t));return e&&e()}:ln(t)}function UD(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[_]&2048&&!(s[_]&512);){let a=$h(i,s,r,n|F.Self,it);if(a!==it)return a;let u=i.parent;if(!u){let c=s[hh];if(c){let l=c.get(r,it,n);if(l!==it)return l}u=Uh(s),s=s[or]}i=u}return o}function Uh(t){let e=t[A],r=e.type;return r===2?e.declTNode:r===1?t[_e]:null}function bc(t){return LD(ye(),t)}var di="__parameters__";function BD(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Bh(t,e,r){return qr(()=>{let n=BD(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(di)?u[di]:Object.defineProperty(u,di,{value:[]})[di];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 HD(t){let e=X.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function zD(t){return typeof t=="function"}function WD(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 GD(t){return t.flat(Number.POSITIVE_INFINITY)}function Mc(t,e){t.forEach(r=>Array.isArray(r)?Mc(r,e):e(r))}function Hh(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Ni(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function zh(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function qD(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 es(t,e,r){let n=Qr(t,e);return n>=0?t[n|1]=r:(n=~n,qD(t,n,e,r)),n}function ja(t,e){let r=Qr(t,e);if(r>=0)return t[r|1]}function Qr(t,e){return ZD(t,e,1)}function ZD(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 Kr=Xf(Bh("Optional"),8);var ts=Xf(Bh("SkipSelf"),4);function YD(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(XD))}return i}return Ri.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(()=>ew(i));e.push(u)}),KD(),Promise.all(e).then(()=>{})}var Ri=new Map,QD=new Set;function KD(){let t=Ri;return Ri=new Map,t}function JD(){return Ri.size===0}function XD(t){return typeof t=="string"?t:t.text()}function ew(t){QD.delete(t)}var Jn=new E("ENVIRONMENT_INITIALIZER"),Wh=new E("INJECTOR",-1),Gh=new E("INJECTOR_DEF_TYPES"),Oi=class{get(e,r=Or){if(r===Or){let n=new Error(`NullInjectorError: No provider for ${ge(e)}!`);throw n.name="NullInjectorError",n}return r}};function ns(t){return{\u0275providers:t}}function tw(...t){return{\u0275providers:qh(!0,t),\u0275fromNgModule:!0}}function qh(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return Mc(e,s=>{let a=s;uu(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Zh(o,i),r}function Zh(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:o}=t[r];Sc(o,i=>{e(i,n)})}}function uu(t,e,r,n){if(t=we(t),!t)return!1;let o=null,i=rf(t),s=!i&&zt(t);if(!i&&!s){let u=t.ngModule;if(i=rf(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)uu(c,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let c;try{Mc(i.imports,l=>{uu(l,e,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Zh(c,e)}if(!a){let c=ln(o)||(()=>new o);e({provide:o,useFactory:c,deps:Me},o),e({provide:Gh,useValue:o,multi:!0},o),e({provide:Jn,useValue:()=>y(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;Sc(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Sc(t,e){for(let r of t)Gf(r)&&(r=r.\u0275providers),Array.isArray(r)?Sc(r,e):e(r)}var nw=z({provide:String,useValue:z});function Yh(t){return t!==null&&typeof t=="object"&&nw in t}function rw(t){return!!(t&&t.useExisting)}function ow(t){return!!(t&&t.useFactory)}function Xn(t){return typeof t=="function"}function iw(t){return!!t.useClass}var rs=new E("Set Injector scope."),Ci={},sw={},Va;function Tc(){return Va===void 0&&(Va=new Oi),Va}var Ce=class{},jr=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,lu(e,s=>this.processProvider(s)),this.records.set(Wh,Un(void 0,this)),o.has("environment")&&this.records.set(Ce,Un(void 0,this));let i=this.records.get(rs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Gh,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=Ut(this),n=be(void 0),o;try{return e()}finally{Ut(r),be(n)}}get(e,r=Or,n=F.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(tf))return e[tf](this);n=qi(n);let o,i=Ut(this),s=be(void 0);try{if(!(n&F.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=dw(e)&&Gi(e);c&&this.injectableDefInScope(c)?u=Un(cu(e),Ci):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=n&F.Self?Tc():this.parent;return r=n&F.Optional&&r===Or?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Mi]=a[Mi]||[]).unshift(ge(e)),i)throw a;return ky(a,e,"R3InjectorError",this.source)}else throw a}finally{be(s),Ut(i)}}resolveInjectorInitializers(){let e=Ut(this),r=be(void 0),n;try{let o=this.get(Jn,Me,F.Self);for(let i of o)i()}finally{Ut(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=Xn(e)?e:we(e&&e.provide),n=uw(e);if(!Xn(e)&&e.multi===!0){let o=this.records.get(r);o||(o=Un(void 0,Ci,!0),o.factory=()=>eu(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===Ci&&(r.value=sw,r.value=r.factory()),typeof r.value=="object"&&r.value&&lw(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 cu(t){let e=Gi(t),r=e!==null?e.factory:ln(t);if(r!==null)return r;if(t instanceof E)throw new v(204,!1);if(t instanceof Function)return aw(t);throw new v(204,!1)}function aw(t){let e=t.length;if(e>0){let n=zh(e,"?");throw new v(204,!1)}let r=Ty(t);return r!==null?()=>r.factory(t):()=>new t}function uw(t){if(Yh(t))return Un(void 0,t.useValue);{let e=Qh(t);return Un(e,Ci)}}function Qh(t,e,r){let n;if(Xn(t)){let o=we(t);return ln(o)||cu(o)}else if(Yh(t))n=()=>we(t.useValue);else if(ow(t))n=()=>t.useFactory(...eu(t.deps||[]));else if(rw(t))n=()=>y(we(t.useExisting));else{let o=we(t&&(t.useClass||t.provide));if(cw(t))n=()=>new o(...eu(t.deps));else return ln(o)||cu(o)}return n}function Un(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function cw(t){return!!t.deps}function lw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function dw(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function lu(t,e){for(let r of t)Array.isArray(r)?lu(r,e):r&&Gf(r)?lu(r.\u0275providers,e):e(r)}function ht(t,e){t instanceof jr&&t.assertNotDestroyed();let r,n=Ut(t),o=be(void 0);try{return e()}finally{Ut(n),be(o)}}function fw(t){if(!Kf()&&!Oy())throw new v(-203,!1)}function mf(t,e=null,r=null,n){let o=Kh(t,e,r,n);return o.resolveInjectorInitializers(),o}function Kh(t,e=null,r=null,n,o=new Set){let i=[r||Me,tw(t)];return n=n||(typeof t=="object"?void 0:ge(t)),new jr(i,e||Tc(),n||null,o)}var Ae=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return mf({name:""},o,n,"");{let i=n.name??"";return mf({name:i},n.parent,n.providers,i)}}};e.THROW_IF_NOT_FOUND=Or,e.NULL=new Oi,e.\u0275prov=w({token:e,providedIn:"any",factory:()=>y(Wh)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var du;function Jh(t){du=t}function Xh(){if(du!==void 0)return du;if(typeof document<"u")return document;throw new v(210,!1)}var os=new E("AppId",{providedIn:"root",factory:()=>hw}),hw="ng",xc=new E("Platform Initializer"),pt=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var gk=new E("AnimationModuleType"),_c=new E("CSP nonce",{providedIn:"root",factory:()=>Xh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ac={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ep=new E("ImageConfig",{providedIn:"root",factory:()=>Ac});function tp(t){return t instanceof Function?t():t}function pw(t){return(t??g(Ae)).get(pt)==="browser"}function np(t){return(t.flags&128)===128}var ct=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ct||{}),gw=/^>|^->|<!--|-->|--!>|<!-$/g,mw=/(<|>)/g,vw="\u200B$1\u200B";function yw(t){return t.replace(gw,e=>e.replace(mw,vw))}var rp=new Map,Dw=0;function ww(){return Dw++}function Cw(t){rp.set(t[Zi],t)}function Ew(t){rp.delete(t[Zi])}var vf="__ngContext__";function Wt(t,e){Ht(e)?(t[vf]=e[Zi],Cw(e)):t[vf]=e}var Iw;function Nc(t,e){return Iw(t,e)}function Rc(t){let e=t[re];return qe(e)?e[re]:e}function op(t){return sp(t[kr])}function ip(t){return sp(t[Ge])}function sp(t){for(;t!==null&&!qe(t);)t=t[Ge];return t}function Bn(t,e,r,n,o){if(n!=null){let i,s=!1;qe(n)?i=n:Ht(n)&&(s=!0,n=n[dt]);let a=ut(n);t===0&&r!==null?o==null?lp(e,r,a):Pi(e,r,a,o||null,!0):t===1&&r!==null?Pi(e,r,a,o||null,!0):t===2?$w(e,a,s):t===3&&e.destroyNode(a),i!=null&&Bw(e,t,i,r,o)}}function bw(t,e){return t.createText(e)}function Mw(t,e,r){t.setValue(e,r)}function Sw(t,e){return t.createComment(yw(e))}function ap(t,e,r){return t.createElement(e,r)}function Tw(t,e){let r=e[Z];Jr(t,e,r,2,null,null),e[dt]=null,e[_e]=null}function xw(t,e,r,n,o,i){n[dt]=o,n[_e]=e,Jr(t,n,r,1,o,i)}function _w(t,e){Jr(t,e,e[Z],2,null,null)}function Aw(t){let e=t[kr];if(!e)return $a(t[A],t);for(;e;){let r=null;if(Ht(e))r=e[kr];else{let n=e[ve];n&&(r=n)}if(!r){for(;e&&!e[Ge]&&e!==t;)Ht(e)&&$a(e[A],e),e=e[re];e===null&&(e=t),Ht(e)&&$a(e[A],e),r=e&&e[Ge]}e=r}}function Nw(t,e,r,n){let o=ve+n,i=r.length;n>0&&(r[o-1][Ge]=e),n<i-ve?(e[Ge]=r[o],Hh(r,ve+n,e)):(r.push(e),e[Ge]=null),e[re]=r;let s=e[Yr];s!==null&&r!==s&&Rw(s,e);let a=e[st];a!==null&&a.insertView(t),ru(e),e[_]|=128}function Rw(t,e){let r=t[Yn],o=e[re][re][Fe];e[Fe]!==o&&(t[_]|=Qn.HasTransplantedViews),r===null?t[Yn]=[e]:r.push(e)}function up(t,e){let r=t[Yn],n=r.indexOf(e),o=e[re];r.splice(n,1)}function Vr(t,e){if(t.length<=ve)return;let r=ve+e,n=t[r];if(n){let o=n[Yr];o!==null&&o!==t&&up(o,n),e>0&&(t[r-1][Ge]=n[Ge]);let i=Ni(t,ve+e);Tw(n[A],n);let s=i[st];s!==null&&s.detachView(i[A]),n[re]=null,n[Ge]=null,n[_]&=-129}return n}function is(t,e){if(!(e[_]&256)){let r=e[Z];r.destroyNode&&Jr(t,e,r,3,null,null),Aw(e)}}function $a(t,e){if(!(e[_]&256)){e[_]&=-129,e[_]|=256,e[un]&&Xd(e[un]),Pw(t,e),Ow(t,e),e[A].type===1&&e[Z].destroy();let r=e[Yr];if(r!==null&&qe(e[re])){r!==e[re]&&up(r,e);let n=e[st];n!==null&&n.detachView(t)}Ew(e)}}function Ow(t,e){let r=t.cleanup,n=e[Fr];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[Fr]=null);let o=e[Bt];if(o!==null){e[Bt]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Pw(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 fn)){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];ot(4,a,u);try{u.call(a)}finally{ot(5,a,u)}}else{ot(4,o,i);try{i.call(o)}finally{ot(5,o,i)}}}}}function cp(t,e,r){return Fw(t,e.parent,r)}function Fw(t,e,r){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return r[dt];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===at.None||i===at.Emulated)return null}return Le(n,r)}}function Pi(t,e,r,n,o){t.insertBefore(e,r,n,o)}function lp(t,e,r){t.appendChild(e,r)}function yf(t,e,r,n,o){n!==null?Pi(t,e,r,n,o):lp(t,e,r)}function kw(t,e,r,n){t.removeChild(e,r,n)}function Oc(t,e){return t.parentNode(e)}function Lw(t,e){return t.nextSibling(e)}function dp(t,e,r){return Vw(t,e,r)}function jw(t,e,r){return t.type&40?Le(t,r):null}var Vw=jw,Df;function ss(t,e,r,n){let o=cp(t,n,e),i=e[Z],s=n.parent||e[_e],a=dp(s,n,e);if(o!=null)if(Array.isArray(r))for(let u=0;u<r.length;u++)yf(i,o,r[u],a,!1);else yf(i,o,r,a,!1);Df!==void 0&&Df(i,n,e,r,o)}function Ei(t,e){if(e!==null){let r=e.type;if(r&3)return Le(e,t);if(r&4)return fu(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return Ei(t,n);{let o=t[e.index];return qe(o)?fu(-1,o):ut(o)}}else{if(r&32)return Nc(e,t)()||ut(t[e.index]);{let n=fp(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=Rc(t[Fe]);return Ei(o,n)}else return Ei(t,e.next)}}}return null}function fp(t,e){if(e!==null){let n=t[Fe][_e],o=e.projection;return n.projection[o]}return null}function fu(t,e){let r=ve+t+1;if(r<e.length){let n=e[r],o=n[A].firstChild;if(o!==null)return Ei(n,o)}return e[cn]}function $w(t,e,r){let n=Oc(t,e);n&&kw(t,n,e,r)}function Pc(t,e,r,n,o,i,s){for(;r!=null;){let a=n[r.index],u=r.type;if(s&&e===0&&(a&&Wt(ut(a),n),r.flags|=2),(r.flags&32)!==32)if(u&8)Pc(t,e,r.child,n,o,i,!1),Bn(e,t,o,a,i);else if(u&32){let c=Nc(r,n),l;for(;l=c();)Bn(e,t,o,l,i);Bn(e,t,o,a,i)}else u&16?hp(t,e,n,r,o,i):Bn(e,t,o,a,i);r=s?r.projectionNext:r.next}}function Jr(t,e,r,n,o,i){Pc(r,n,t.firstChild,e,o,i,!1)}function Uw(t,e,r){let n=e[Z],o=cp(t,r,e),i=r.parent||e[_e],s=dp(i,r,e);hp(n,0,e,r,o,s)}function hp(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];Bn(e,t,o,l,i)}else{let c=u,l=s[re];np(n)&&(c.flags|=128),Pc(t,e,c,l,o,i,!0)}}function Bw(t,e,r,n,o){let i=r[cn],s=ut(r);i!==s&&Bn(e,t,n,i,o);for(let a=ve;a<r.length;a++){let u=r[a];Jr(u[A],u,t,e,n,i)}}function Hw(t,e,r,n,o){if(e)o?t.addClass(r,n):t.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:ct.DashCase;o==null?t.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ct.Important),t.setStyle(r,n,o,i))}}function zw(t,e,r){t.setAttribute(e,"style",r)}function pp(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function gp(t,e,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&tu(t,e,n),o!==null&&pp(t,e,o),i!==null&&zw(t,e,i)}var fi;function Ww(){if(fi===void 0&&(fi=null,X.trustedTypes))try{fi=X.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return fi}function as(t){return Ww()?.createHTML(t)||t}var hi;function mp(){if(hi===void 0&&(hi=null,X.trustedTypes))try{hi=X.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return hi}function wf(t){return mp()?.createHTML(t)||t}function Cf(t){return mp()?.createScriptURL(t)||t}var bt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qf})`}},hu=class extends bt{getTypeName(){return"HTML"}},pu=class extends bt{getTypeName(){return"Style"}},gu=class extends bt{getTypeName(){return"Script"}},mu=class extends bt{getTypeName(){return"URL"}},vu=class extends bt{getTypeName(){return"ResourceURL"}};function Ne(t){return t instanceof bt?t.changingThisBreaksApplicationSecurity:t}function At(t,e){let r=Gw(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${qf})`)}return r===e}function Gw(t){return t instanceof bt&&t.getTypeName()||null}function vp(t){return new hu(t)}function yp(t){return new pu(t)}function Dp(t){return new gu(t)}function wp(t){return new mu(t)}function Cp(t){return new vu(t)}function qw(t){let e=new Du(t);return Zw()?new yu(e):e}var yu=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(as(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Du=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=as(e),r}};function Zw(){try{return!!new window.DOMParser().parseFromString(as(""),"text/html")}catch{return!1}}var Yw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function us(t){return t=String(t),t.match(Yw)?t:"unsafe:"+t}function Nt(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function Xr(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var Ep=Nt("area,br,col,hr,img,wbr"),Ip=Nt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bp=Nt("rp,rt"),Qw=Xr(bp,Ip),Kw=Xr(Ip,Nt("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")),Jw=Xr(bp,Nt("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")),Ef=Xr(Ep,Kw,Jw,Qw),Mp=Nt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xw=Nt("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"),eC=Nt("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"),tC=Xr(Mp,Xw,eC),nC=Nt("script,style,template"),wu=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(!Ef.hasOwnProperty(r))return this.sanitizedSomething=!0,!nC.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(!tC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;Mp[a]&&(u=us(u)),this.buf.push(" ",s,'="',If(u),'"')}return this.buf.push(">"),!0}endElement(e){let r=e.nodeName.toLowerCase();Ef.hasOwnProperty(r)&&!Ep.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(If(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}},rC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,oC=/([^\#-~ |!])/g;function If(t){return t.replace(/&/g,"&amp;").replace(rC,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(oC,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var pi;function Fc(t,e){let r=null;try{pi=pi||qw(t);let n=e?String(e):"";r=pi.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=pi.getInertBodyElement(n)}while(n!==i);let a=new wu().sanitizeChildren(bf(r)||r);return as(a)}finally{if(r){let n=bf(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function bf(t){return"content"in t&&iC(t)?t.content:null}function iC(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ze=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}(Ze||{});function mk(t){let e=kc();return e?wf(e.sanitize(Ze.HTML,t)||""):At(t,"HTML")?wf(Ne(t)):Fc(Xh(),an(t))}function sC(t){let e=kc();return e?e.sanitize(Ze.URL,t)||"":At(t,"URL")?Ne(t):us(an(t))}function aC(t){let e=kc();if(e)return Cf(e.sanitize(Ze.RESOURCE_URL,t)||"");if(At(t,"ResourceURL"))return Cf(Ne(t));throw new v(904,!1)}function uC(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?aC:sC}function Sp(t,e,r){return uC(e,r)(t)}function kc(){let t=T();return t&&t[Et].sanitizer}var Cu=class{};var cC="h",lC="b";var dC=(t,e,r)=>null;function Lc(t,e,r=!1){return dC(t,e,r)}var Eu=class{},Fi=class{};function fC(t){let e=Error(`No component factory found for ${ge(t)}.`);return e[hC]=t,e}var hC="ngComponent";var Iu=class{resolveComponentFactory(e){throw fC(e)}},cs=(()=>{let e=class e{};e.NULL=new Iu;let t=e;return t})();function pC(){return sr(ye(),T())}function sr(t,e){return new je(Le(t,e))}var je=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=pC;let t=e;return t})();function gC(t){return t instanceof je?t.nativeElement:t}var $r=class{},qt=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>mC();let t=e;return t})();function mC(){let t=T(),e=ye(),r=Gt(e.index,t);return(Ht(r)?r:t)[Z]}var vC=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Ua={};function jc(t){let e=se(null);try{return t()}finally{se(e)}}function Tp(t){return Vc(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function yC(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 Vc(t){return t!==null&&(typeof t=="function"||typeof t=="object")}var bu=class{constructor(){}supports(e){return Tp(e)}create(e){return new Mu(e)}},DC=(t,e)=>e,Mu=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||DC}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<Mf(n,o,i)?r:n,a=Mf(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=[]),!Tp(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,yC(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 Su(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 ki),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 ki),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}},Su=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}},Tu=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}},ki=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Tu,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 Mf(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 xu=class{constructor(){}supports(e){return e instanceof Map||Vc(e)}create(){return new _u}},_u=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||Vc(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 Au(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))}},Au=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 Sf(){return new ls([new bu])}var ls=(()=>{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||Sf()),deps:[[e,new ts,new Kr]]}}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:Sf});let t=e;return t})();function Tf(){return new ds([new xu])}var ds=(()=>{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||Tf()),deps:[[e,new ts,new Kr]]}}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:Tf});let t=e;return t})();function Li(t,e,r,n,o=!1){for(;r!==null;){let i=e[r.index];i!==null&&n.push(ut(i)),qe(i)&&wC(i,n);let s=r.type;if(s&8)Li(t,e,r.child,n);else if(s&32){let a=Nc(r,e),u;for(;u=a();)n.push(u)}else if(s&16){let a=fp(e,r);if(Array.isArray(a))n.push(...a);else{let u=Rc(e[Fe]);Li(u[A],u,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function wC(t,e){for(let r=ve;r<t.length;r++){let n=t[r],o=n[A].firstChild;o!==null&&Li(n[A],n,o,e)}t[cn]!==t[dt]&&e.push(t[cn])}var xp=[];function CC(t){return t[un]??EC(t)}function EC(t){let e=xp.pop()??Object.create(bC);return e.lView=t,e}function IC(t){t.lView[un]!==t&&(t.lView=null,xp.push(t))}var bC=ee(D({},Qd),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Lr(t.lView)},consumerOnSignalRead(){this.lView[un]=this}}),MC="ngOriginalError";function Ba(t){return t[MC]}var lt=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&&Ba(e);for(;r&&Ba(r);)r=Ba(r);return r||null}},_p=new E("",{providedIn:"root",factory:()=>g(lt).handleError.bind(void 0)});var Ap=!1,SC=new E("",{providedIn:"root",factory:()=>Ap});var Te={};function vk(t){Np(Y(),T(),_t()+t,!1)}function Np(t,e,r,n){if(!n)if((e[_]&3)===3){let i=t.preOrderCheckHooks;i!==null&&yi(e,i,r)}else{let i=t.preOrderHooks;i!==null&&Di(e,i,0,r)}dn(r)}function L(t,e=F.Default){let r=T();if(r===null)return y(t,e);let n=ye();return Vh(n,r,we(t),e)}function Rp(){let t="invalid";throw new Error(t)}function TC(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)dn(~o);else{let i=o,s=r[++n],a=r[++n];ED(s,i);let u=e[i];a(2,u)}}}finally{dn(-1)}}function fs(t,e,r,n,o,i,s,a,u,c,l){let d=e.blueprint.slice();return d[dt]=o,d[_]=n|4|128|8|64,(c!==null||t&&t[_]&2048)&&(d[_]|=2048),Dh(d),d[re]=d[or]=t,d[me]=r,d[Et]=s||t&&t[Et],d[Z]=a||t&&t[Z],d[Zn]=u||t&&t[Zn]||null,d[_e]=i,d[Zi]=ww(),d[qn]=l,d[hh]=c,d[Fe]=e.type==2?t[Fe]:d,d}function ar(t,e,r,n,o){let i=t.data[e];if(i===null)i=xC(t,e,r,n,o),CD()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=vD();i.injectorIndex=s===null?-1:s.injectorIndex}return vn(i,!0),i}function xC(t,e,r,n,o){let i=bh(),s=gc(),a=s?i:i&&i.parent,u=t.data[e]=PC(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 Op(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 Pp(t,e,r,n,o){let i=_t(),s=n&2;try{dn(-1),s&&e.length>he&&Np(t,e,he,!1),ot(s?2:0,o),r(n,o)}finally{dn(i),ot(s?3:1,o)}}function $c(t,e,r){if(dc(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 Uc(t,e,r){Eh()&&($C(t,e,r,Le(r,e)),(r.flags&64)===64&&Lp(t,e,r))}function Bc(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 Fp(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Hc(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Hc(t,e,r,n,o,i,s,a,u,c,l){let d=he+n,f=d+o,h=_C(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 _C(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Te);return r}function AC(t,e,r,n){let i=n.get(SC,Ap)||r===at.ShadowDom,s=t.selectRootElement(e,i);return NC(s),s}function NC(t){RC(t)}var RC=t=>null;function OC(t,e,r,n){let o=Up(e);o.push(r),t.firstCreatePass&&Bp(t).push(n,o.length-1)}function PC(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return Ih()&&(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 xf(t,e,r,n){for(let o in t)if(t.hasOwnProperty(o)){r=r===null?{}:r;let i=t[o];n===null?_f(r,e,o,i):n.hasOwnProperty(o)&&_f(r,e,n[o],i)}return r}function _f(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function FC(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=xf(d.inputs,l,u,h),c=xf(d.outputs,l,c,p);let S=u!==null&&s!==null&&!oh(e)?KC(u,l,s):null;a.push(S)}u!==null&&(u.hasOwnProperty("class")&&(e.flags|=8),u.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=u,e.outputs=c}function kC(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function eo(t,e,r,n,o,i,s,a){let u=Le(e,r),c=e.inputs,l;!a&&c!=null&&(l=c[n])?(Wc(t,r,l,n,o),Yi(e)&&LC(r,e.index)):e.type&3?(n=kC(n),o=s!=null?s(o,e.value||"",n):o,i.setProperty(u,n,o)):e.type&12}function LC(t,e){let r=Gt(e,t);r[_]&16||(r[_]|=64)}function zc(t,e,r,n){if(Eh()){let o=n===null?null:{"":-1},i=BC(t,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&kp(t,e,r,s,o,a),o&&HC(r,n,o)}r.mergedAttrs=Pr(r.mergedAttrs,r.attrs)}function kp(t,e,r,n,o,i){for(let c=0;c<n.length;c++)su(Ai(r,e),t,n[c].type);WC(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=Op(t,e,n.length,null);for(let c=0;c<n.length;c++){let l=n[c];r.mergedAttrs=Pr(r.mergedAttrs,l.hostAttrs),GC(t,r,e,u,l),zC(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++}FC(t,r,i)}function jC(t,e,r,n,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;VC(s)!=a&&s.push(a),s.push(r,n,i)}}function VC(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function $C(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;Yi(r)&&qC(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||Ai(r,e),Wt(n,e);let s=r.initialInputs;for(let a=o;a<i;a++){let u=t.data[a],c=hn(e,t,a,r);if(Wt(c,e),s!==null&&QC(e,a-o,c,u,r,s),It(u)){let l=Gt(r.index,e);l[me]=hn(e,t,a,r)}}}function Lp(t,e,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=ID();try{dn(i);for(let a=n;a<o;a++){let u=t.data[a],c=e[a];ou(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&UC(u,c)}}finally{dn(-1),ou(s)}}function UC(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function BC(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(ih(e,s.selectors,!1))if(n||(n=[]),It(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let u=a.length;Nu(t,e,u)}else n.unshift(s),Nu(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function Nu(t,e,r){e.componentOffset=r,(t.components??=[]).push(e.index)}function HC(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 zC(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;It(e)&&(r[""]=t)}}function WC(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function GC(t,e,r,n,o){t.data[n]=o;let i=o.factory||(o.factory=ln(o.type,!0)),s=new fn(i,It(o),L);t.blueprint[n]=s,r[n]=s,jC(t,e,n,Op(t,r,o.hostVars,Te),o)}function qC(t,e,r){let n=Le(e,t),o=Fp(r),i=t[Et].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=hs(t,fs(t,o,null,s,n,e,null,i.createRenderer(n,r),null,null,null));t[e.index]=a}function ZC(t,e,r,n,o,i){let s=Le(t,e);YC(e[Z],s,i,t.value,r,n,o)}function YC(t,e,r,n,o,i,s){if(i==null)t.removeAttribute(e,o,r);else{let a=s==null?an(i):s(i,n||"",o);t.setAttribute(e,o,a,r)}}function QC(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++];jp(n,r,u,c,l)}}function jp(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 KC(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 Vp(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function $p(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];Dc(i),a.contentQueries(2,e[s],s)}}}finally{se(n)}}}function hs(t,e){return t[kr]?t[df][Ge]=e:t[kr]=e,t[df]=e,e}function Ru(t,e,r){Dc(0);let n=se(null);try{e(t,r)}finally{se(n)}}function Up(t){return t[Fr]||(t[Fr]=[])}function Bp(t){return t.cleanup||(t.cleanup=[])}function Hp(t,e,r){return(t===null||It(t))&&(r=sD(r[e.index])),r[Z]}function zp(t,e){let r=t[Zn],n=r?r.get(lt,null):null;n&&n.handleError(e)}function Wc(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];jp(c,u,n,a,o)}}function Wp(t,e,r){let n=yh(e,t);Mw(t[Z],n,r)}var JC=100;function XC(t,e=!0){let r=t[Et],n=r.rendererFactory,o=r.afterRenderEventManager,i=!1;i||(n.begin?.(),o?.begin());try{eE(t)}catch(s){throw e&&zp(t,s),s}finally{i||(n.end?.(),r.inlineEffectRunner?.flush(),o?.end())}}function eE(t){Ou(t,0);let e=0;for(;wh(t);){if(e===JC)throw new v(103,!1);e++,Ou(t,1)}}function tE(t,e,r,n){let o=e[_];if((o&256)===256)return;let i=!1;!i&&e[Et].inlineEffectRunner?.flush(),wc(e);let s=null,a=null;!i&&nE(t)&&(a=CC(e),s=Kd(a));try{Dh(e),wD(t.bindingStartIndex),r!==null&&Pp(t,e,r,2,n);let u=(o&3)===3;if(!i)if(u){let d=t.preOrderCheckHooks;d!==null&&yi(e,d,null)}else{let d=t.preOrderHooks;d!==null&&Di(e,d,0,null),ka(e,0)}if(rE(e),Gp(e,0),t.contentQueries!==null&&$p(t,e),!i)if(u){let d=t.contentCheckHooks;d!==null&&yi(e,d)}else{let d=t.contentHooks;d!==null&&Di(e,d,1),ka(e,1)}TC(t,e);let c=t.components;c!==null&&Zp(e,c,0);let l=t.viewQuery;if(l!==null&&Ru(2,l,n),!i)if(u){let d=t.viewCheckHooks;d!==null&&yi(e,d)}else{let d=t.viewHooks;d!==null&&Di(e,d,2),ka(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Fa]){for(let d of e[Fa])d();e[Fa]=null}i||(e[_]&=-73)}catch(u){throw Lr(e),u}finally{a!==null&&(Jd(a,s),IC(a)),Cc()}}function nE(t){return t.type!==2}function Gp(t,e){for(let r=op(t);r!==null;r=ip(r)){r[_]&=~Qn.HasChildViewsToRefresh;for(let n=ve;n<r.length;n++){let o=r[n];qp(o,e)}}}function rE(t){for(let e=op(t);e!==null;e=ip(e)){if(!(e[_]&Qn.HasTransplantedViews))continue;let r=e[Yn];for(let n=0;n<r.length;n++){let o=r[n],i=o[re];cD(o)}}}function oE(t,e,r){let n=Gt(e,t);qp(n,r)}function qp(t,e){pc(t)&&Ou(t,e)}function Ou(t,e){let n=t[A],o=t[_],i=t[un],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ra(i)),i&&(i.dirty=!1),t[_]&=-9217,s)tE(n,t,n.template,t[me]);else if(o&8192){Gp(t,1);let a=n.components;a!==null&&Zp(t,a,1)}}function Zp(t,e,r){for(let n=0;n<e.length;n++)oE(t,e[n],r)}function Gc(t){for(t[Et].changeDetectionScheduler?.notify();t;){t[_]|=64;let e=Rc(t);if(Xy(t)&&!e)return t;t=e}return null}var pn=class{get rootNodes(){let e=this._lView,r=e[A];return Li(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(qe(e)){let r=e[Si],n=r?r.indexOf(this):-1;n>-1&&(Vr(e,n),Ni(r,n))}this._attachedToViewContainer=!1}is(this._lView[A],this._lView)}onDestroy(e){Ch(this._lView,e)}markForCheck(){Gc(this._cdRefInjectingView||this._lView)}detach(){this._lView[_]&=-129}reattach(){ru(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,XC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,_w(this._lView[A],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e,ru(this._lView)}},ur=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=iE;let t=e;return t})();function iE(t){return sE(ye(),T(),(t&16)===16)}function sE(t,e,r){if(Yi(t)&&!r){let n=Gt(t.index,e);return new pn(n,n)}else if(t.type&47){let n=e[Fe];return new pn(n,e)}return null}var Yp=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=aE,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Pu=class extends Yp{constructor(e){super(),this._lView=e}onDestroy(e){return Ch(this._lView,e),()=>dD(this._lView,e)}};function aE(){return new Pu(T())}var Af=new Set;function Dn(t){Af.has(t)||(Af.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Fu=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=Ha(i),o&&(o=Ha(o)),s&&(s=Ha(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof Q&&e.add(a),a}};function Ha(t){return e=>{setTimeout(t,void 0,e)}}var fe=Fu;function Nf(...t){}function uE(){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=uE().nativeRequestAnimationFrame,dE(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,cE,Nf,Nf);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)}},cE={};function qc(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 lE(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(X,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,ku(t),t.isCheckStableRunning=!0,qc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),ku(t))}function dE(t){let e=()=>{lE(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(fE(a))return r.invokeTask(o,i,s,a);try{return Rf(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Of(t)}},onInvoke:(r,n,o,i,s,a,u)=>{try{return Rf(t),r.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),Of(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,ku(t),qc(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 ku(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Rf(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Of(t){t._nesting--,qc(t)}var Lu=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 fE(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function hE(t="zone.js",e){return t==="noop"?new Lu:t==="zone.js"?new H(e):t}var Hn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Hn||{}),pE={destroy(){}};function Zc(t,e){!e&&fw(Zc);let r=e?.injector??g(Ae);if(!pw(r))return pE;Dn("NgAfterNextRender");let n=r.get(Qp),o=n.handler??=new Vu,i=e?.phase??Hn.MixedReadWrite,s=()=>{o.unregister(u),a()},a=r.get(Yp).onDestroy(s),u=new ju(r,i,()=>{s(),t()});return o.register(u),{destroy:s}}var ju=class{constructor(e,r,n){this.phase=r,this.callbackFn=n,this.zone=e.get(H),this.errorHandler=e.get(lt,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Vu=class{constructor(){this.executingCallbacks=!1,this.buckets={[Hn.EarlyRead]:new Set,[Hn.Write]:new Set,[Hn.MixedReadWrite]:new Set,[Hn.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()}},Qp=(()=>{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 gE(t,e){let r=Gt(e,t),n=r[A];mE(n,r);let o=r[dt];o!==null&&r[qn]===null&&(r[qn]=Lc(o,r[Zn])),Yc(n,r,r[me])}function mE(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function Yc(t,e,r){wc(e);try{let n=t.viewQuery;n!==null&&Ru(1,n,r);let o=t.template;o!==null&&Pp(t,e,o,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&$p(t,e),t.staticViewQueries&&Ru(2,t.viewQuery,r);let i=t.components;i!==null&&vE(e,i)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[_]&=-5,Cc()}}function vE(t,e){for(let r=0;r<e.length;r++)gE(t,e[r])}function ji(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=Ka(o,a);else if(i==2){let u=a,c=e[++s];n=Ka(n,u+": "+c+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=o:t.classesWithoutHost=o}var Vi=class extends cs{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=zt(e);return new er(r,this.ngModule)}};function Pf(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 yE(t){let e=t.toLowerCase();return e==="svg"?vh:e==="math"?rD:null}var $u=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=qi(n);let o=this.injector.get(e,Ua,n);return o!==Ua||r===Ua?o:this.parentInjector.get(e,r,n)}},er=class extends Fi{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Pf(e.inputs);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return Pf(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=Zy(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 $u(e,i):e,a=s.get($r,null);if(a===null)throw new v(407,!1);let u=s.get(vC,null),c=s.get(Qp,null),l=s.get(Cu,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?AC(f,n,this.componentDef.encapsulation,s):ap(f,h,yE(h)),S=512;this.componentDef.signals?S|=4096:this.componentDef.onPush||(S|=16);let C=null;p!==null&&(C=Lc(p,s,!0));let m=Hc(0,null,null,1,0,null,null,null,null,null,null),j=fs(null,m,null,S,null,null,d,f,s,null,C);wc(j);let De,U;try{let ce=this.componentDef,Ue,Er=null;ce.findHostDirectiveDefs?(Ue=[],Er=new Map,ce.findHostDirectiveDefs(ce,Ue,Er),Ue.push(ce)):Ue=[ce];let gv=DE(j,p),mv=wE(gv,p,ce,Ue,j,d,f);U=fc(m,he),p&&IE(f,ce,p,n),r!==void 0&&bE(U,this.ngContentSelectors,r),De=EE(mv,ce,Ue,Er,j,[ME]),Yc(m,j,null)}finally{Cc()}return new Uu(this.componentType,De,sr(U,j),j,U)}},Uu=class extends Eu{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 pn(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;Wc(i[A],i,o,e,r),this.previousInputValues.set(e,r);let s=Gt(this._tNode.index,i);Gc(s)}}get injector(){return new sn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function DE(t,e){let r=t[A],n=he;return t[n]=e,ar(r,n,2,"#host",null)}function wE(t,e,r,n,o,i,s){let a=o[A];CE(n,t,e,s);let u=null;e!==null&&(u=Lc(e,o[Zn]));let c=i.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=fs(o,Fp(r),null,l,o[t.index],t,i,c,null,null,u);return a.firstCreatePass&&Nu(a,t,n.length-1),hs(o,d),o[t.index]=d}function CE(t,e,r,n){for(let o of t)e.mergedAttrs=Pr(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(ji(e,e.mergedAttrs,!0),r!==null&&gp(n,r,e))}function EE(t,e,r,n,o,i){let s=ye(),a=o[A],u=Le(s,o);kp(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,f=hn(o,a,d,s);Wt(f,o)}Lp(a,o,s),u&&Wt(u,o);let c=hn(o,a,s.directiveStart+s.componentOffset,s);if(t[me]=o[me]=c,i!==null)for(let l of i)l(c,e);return $c(a,s,t),c}function IE(t,e,r,n){if(n)tu(t,r,["ng-version","17.0.8"]);else{let{attrs:o,classes:i}=Yy(e.selectors[0]);o&&tu(t,r,o),i&&i.length>0&&pp(t,r,i.join(" "))}}function bE(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 ME(){let t=ye();Xi(T()[A],t)}function SE(t){return Object.getPrototypeOf(t.prototype).constructor}function TE(t){let e=SE(t.type),r=!0,n=[t];for(;e;){let o;if(It(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=gi(t.inputs),s.inputTransforms=gi(t.inputTransforms),s.declaredInputs=gi(t.declaredInputs),s.outputs=gi(t.outputs);let a=o.hostBindings;a&&NE(t,a);let u=o.viewQuery,c=o.contentQueries;if(u&&_E(t,u),c&&AE(t,c),li(t.inputs,o.inputs),li(t.declaredInputs,o.declaredInputs),li(t.outputs,o.outputs),o.inputTransforms!==null&&(s.inputTransforms===null&&(s.inputTransforms={}),li(s.inputTransforms,o.inputTransforms)),It(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===TE&&(r=!1)}}e=Object.getPrototypeOf(e)}xE(n)}function xE(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=Pr(o.hostAttrs,r=Pr(r,o.hostAttrs))}}function gi(t){return t===Gn?{}:t===Me?[]:t}function _E(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function AE(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function NE(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function ps(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 Zt(t,e,r){return t[e]=r}function gs(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 tr(t,e,r,n){let o=Se(t,e,r);return Se(t,e+1,n)||o}function RE(t,e,r,n,o){let i=tr(t,e,r,n);return Se(t,e+2,o)||i}function Ur(t,e,r,n,o,i){let s=tr(t,e,r,n);return tr(t,e+2,o,i)||s}function Qc(t,e,r,n){let o=T(),i=yn();if(Se(o,i,e)){let s=Y(),a=ir();ZC(a,o,t,e,r,n)}return Qc}function Kc(t,e,r,n){return Se(t,yn(),r)?e+an(r)+n:Te}function Kp(t,e,r,n,o,i){let s=DD(),a=tr(t,s,r,o);return vc(2),a?e+an(r)+n+an(o)+i:Te}function mi(t,e){return t<<17|e<<2}function gn(t){return t>>17&32767}function OE(t){return(t&2)==2}function PE(t,e){return t&131071|e<<17}function Bu(t){return t|2}function nr(t){return(t&131068)>>2}function za(t,e){return t&-131069|e<<2}function FE(t){return(t&1)===1}function Hu(t){return t|1}function kE(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=gn(s),u=nr(s);t[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||Qr(d,l)>0)&&(c=!0)}else l=r;if(o)if(u!==0){let f=gn(t[a+1]);t[n+1]=mi(f,a),f!==0&&(t[f+1]=za(t[f+1],n)),t[a+1]=PE(t[a+1],n)}else t[n+1]=mi(a,0),a!==0&&(t[a+1]=za(t[a+1],n)),a=n;else t[n+1]=mi(u,0),a===0?a=n:t[u+1]=za(t[u+1],n),u=n;c&&(t[n+1]=Bu(t[n+1])),Ff(t,l,n,!0,i),Ff(t,l,n,!1,i),LE(e,l,t,n,i),s=mi(a,u),i?e.classBindings=s:e.styleBindings=s}function LE(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&Qr(i,e)>=0&&(r[n+1]=Hu(r[n+1]))}function Ff(t,e,r,n,o){let i=t[r+1],s=e===null,a=n?gn(i):nr(i),u=!1;for(;a!==0&&(u===!1||s);){let c=t[a],l=t[a+1];jE(c,e)&&(u=!0,t[a+1]=n?Hu(l):Bu(l)),a=n?gn(l):nr(l)}u&&(t[r+1]=n?Bu(i):Hu(i))}function jE(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Qr(t,e)>=0:!1}var We={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function VE(t){return t.substring(We.key,We.keyEnd)}function $E(t){return UE(t),Jp(t,Xp(t,0,We.textEnd))}function Jp(t,e){let r=We.textEnd;return r===e?-1:(e=We.keyEnd=BE(t,We.key=e,r),Xp(t,e,r))}function UE(t){We.key=0,We.keyEnd=0,We.value=0,We.valueEnd=0,We.textEnd=t.length}function Xp(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function BE(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function HE(t,e,r){let n=T(),o=yn();if(Se(n,o,e)){let i=Y(),s=ir();eo(i,s,n,t,e,n[Z],r,!1)}return HE}function zu(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";Wc(t,r,i[s],s,n)}function Jc(t,e,r){return tg(t,e,r,!1),Jc}function zE(t,e){return tg(t,e,null,!0),zE}function yk(t){ng(QE,eg,t,!0)}function eg(t,e){for(let r=$E(e);r>=0;r=Jp(e,r))es(t,VE(e),!0)}function tg(t,e,r,n){let o=T(),i=Y(),s=vc(2);if(i.firstUpdatePass&&og(i,t,s,n),e!==Te&&Se(o,s,e)){let a=i.data[_t()];ig(i,a,o,o[Z],t,o[s+1]=JE(e,r),n,s)}}function ng(t,e,r,n){let o=Y(),i=vc(2);o.firstUpdatePass&&og(o,null,i,n);let s=T();if(r!==Te&&Se(s,i,r)){let a=o.data[_t()];if(sg(a,n)&&!rg(o,i)){let u=n?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(r=Ka(u,r||"")),zu(o,a,s,r,n)}else KE(o,a,s,s[Z],s[i+1],s[i+1]=YE(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[_t()],s=rg(t,r);sg(i,n)&&e===null&&!s&&(e=!1),e=WE(o,i,e,n),kE(o,i,e,r,s,n)}}function WE(t,e,r,n){let o=yc(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Wa(null,t,e,r,n),r=Br(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Wa(o,t,e,r,n),i===null){let u=GE(t,e,n);u!==void 0&&Array.isArray(u)&&(u=Wa(null,t,e,u[1],n),u=Br(u,e.attrs,n),qE(t,e,n,u))}else i=ZE(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function GE(t,e,r){let n=r?e.classBindings:e.styleBindings;if(nr(n)!==0)return t[gn(n)]}function qE(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[gn(o)]=n}function ZE(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;n=Br(n,s,r)}return Br(n,e.attrs,r)}function Wa(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=Br(n,i.hostAttrs,o),i!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function Br(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]),es(t,s,r?!0:e[++i]))}return t===void 0?null:t}function YE(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 QE(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&es(t,n,r)}function KE(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,S;l===d?(u+=2,c+=2,f!==h&&(p=d,S=h)):d===null||l!==null&&l<d?(u+=2,p=l):(c+=2,p=d,S=h),p!==null&&ig(t,e,r,n,p,S,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=FE(c)?kf(u,e,r,o,nr(c),s):void 0;if(!$i(l)){$i(i)||OE(c)&&(i=kf(u,null,r,o,a,s));let d=yh(_t(),r);Hw(n,s,d,o,i)}}function kf(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?ja(f,n):l===n?f:void 0;if(c&&!$i(h)&&(h=ja(u,n)),$i(h)&&(a=h,s))return a;let p=t[o+1];o=s?gn(p):nr(p)}if(e!==null){let u=i?e.residualClasses:e.residualStyles;u!=null&&(a=ja(u,n))}return a}function $i(t){return t!==void 0}function JE(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 Dk(t,e,r){let n=T(),o=Kc(n,t,e,r);ng(es,eg,o,!0)}var wk=new RegExp(`^(\\d+)*(${lC}|${cC})*(.*)`);var XE=(t,e)=>null;function Hr(t,e){return XE(t,e)}var Wu=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 Ga(t,e,r,n,o){return t===r&&Object.is(e,n)?1:Object.is(o(t,e),o(r,n))?-1:0}function eI(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=Ga(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=Ga(s,d,a,f,r);if(h!==0){h<0&&t.updateValue(s,f),s--,a--;continue}let p=r(i,u),S=r(s,d),C=r(i,c);if(Object.is(C,S)){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 Ui,o??=jf(t,i,s,r),Gu(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;)Lf(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=Ga(i,c,i,l,r);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{n??=new Ui,o??=jf(t,i,s,r);let f=r(i,l);if(Gu(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;)Lf(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 Gu(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function Lf(t,e,r,n,o){if(Gu(t,e,n,r(n,o)))t.updateValue(n,o);else{let i=t.create(n,o);t.attach(n,i)}}function jf(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 Ui=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 ms(t,e,r,n){let o=e.tView,s=t[_]&4096?4096:16,a=fs(t,o,r,s,null,e,null,null,null,n?.injector??null,n?.dehydratedView??null),u=t[e.index];a[Yr]=u;let c=t[st];return c!==null&&(a[st]=c.createEmbeddedView(o)),Yc(o,a,r),a}function ag(t,e){let r=ve+e;if(r<t.length)return t[r]}function zr(t,e){return!e||e.firstChild===null||np(t)}function vs(t,e,r,n=!0){let o=e[A];if(Nw(o,e,t,r),n){let s=fu(r,t),a=e[Z],u=Oc(a,t[cn]);u!==null&&xw(o,t[_e],a,e,u,s)}let i=e[qn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ug(t,e){let r=Vr(t,e);return r!==void 0&&is(r[A],r),r}var gt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=tI;let t=e;return t})();function tI(){let t=ye();return lg(t,T())}var nI=gt,cg=class extends nI{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return sr(this._hostTNode,this._hostLView)}get injector(){return new sn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ec(this._hostTNode,this._hostLView);if(Oh(e)){let r=xi(e,this._hostLView),n=Ti(e),o=r[A].data[n+8];return new sn(o,r)}else return new sn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Vf(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=Hr(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,zr(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!zD(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 er(zt(e)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let S=(s?c:this.parentInjector).get(Ce,null);S&&(i=S)}let l=zt(u.componentType??{}),d=Hr(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,zr(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(uD(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 vs(s,o,i,n),e.attachToViewContainerRef(),Hh(qa(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Vf(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Vr(this._lContainer,r);n&&(Ni(qa(this._lContainer),r),is(n[A],n))}detach(e){let r=this._adjustIndex(e,-1),n=Vr(this._lContainer,r);return n&&Ni(qa(this._lContainer),r)!=null?new pn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Vf(t){return t[Si]}function qa(t){return t[Si]||(t[Si]=[])}function lg(t,e){let r,n=e[t.index];return qe(n)?r=n:(r=Vp(n,e,null,t),e[t.index]=r,hs(e,r)),oI(r,e,t,n),new cg(r,t,e)}function rI(t,e){let r=t[Z],n=r.createComment(""),o=Le(e,t),i=Oc(r,o);return Pi(r,i,n,Lw(r,o),!1),n}var oI=aI,iI=(t,e,r)=>!1;function sI(t,e,r){return iI(t,e,r)}function aI(t,e,r,n){if(t[cn])return;let o;r.type&8?o=ut(n):o=rI(e,r),t[cn]=o}function uI(t,e,r,n,o,i,s,a,u){let c=e.consts,l=ar(e,t,4,s||null,Kn(c,a));zc(e,r,l,Kn(c,u)),Xi(e,l);let d=l.tView=Hc(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 qu(t,e,r,n,o,i,s,a){let u=T(),c=Y(),l=t+he,d=c.firstCreatePass?uI(l,c,u,e,r,n,o,i,s):c.data[l];vn(d,!1);let f=cI(c,u,d,t);Ki()&&ss(c,u,f,d),Wt(f,u);let h=Vp(f,u,f,d);return u[l]=h,hs(u,h),sI(h,d,u),Qi(d)&&Uc(c,u,d),s!=null&&Bc(u,d,a),qu}var cI=lI;function lI(t,e,r,n){return Ji(!0),e[Z].createComment("")}function Ek(t,e,r){Dn("NgControlFlow");let n=T(),o=yn(),i=Ku(n,he+t),s=0;if(Se(n,o,e)){let a=se(null);try{if(ug(i,s),e!==-1){let u=Ju(n[A],he+e),c=Hr(i,u.tView.ssrId),l=ms(n,u,r,{dehydratedView:c});vs(i,l,s,zr(u,c))}}finally{se(a)}}else{let a=ag(i,s);a!==void 0&&(a[me]=r)}}var Zu=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-ve}};function Ik(t,e){return e}var Yu=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function bk(t,e,r,n,o,i,s,a,u,c,l){Dn("NgControlFlow");let d=u!==void 0,f=T(),h=a?s.bind(f[Fe][me]):s,p=new Yu(d,h);f[he+t]=p,qu(t+1,e,r,n,o,i),d&&qu(t+2,u,c,l)}var Qu=class extends Wu{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[qn];this.needsIndexUpdate||=e!==this.length,vs(this.lContainer,r,e,zr(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,dI(this.lContainer,e)}create(e,r){let n=Hr(this.lContainer,this.templateTNode.tView.ssrId);return ms(this.hostLView,this.templateTNode,new Zu(this.lContainer,r,e),{dehydratedView:n})}destroy(e){is(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 fI(this.lContainer,e)}};function Mk(t){let e=se(null),r=_t();try{let n=T(),o=n[A],i=n[r];if(i.liveCollection===void 0){let a=r+1,u=Ku(n,a),c=Ju(o,a);i.liveCollection=new Qu(u,n,c)}else i.liveCollection.reset();let s=i.liveCollection;if(eI(s,t,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){let a=yn(),u=s.length===0;if(Se(n,a,u)){let c=r+2,l=Ku(n,c);if(u){let d=Ju(o,c),f=Hr(l,d.tView.ssrId),h=ms(n,d,void 0,{dehydratedView:f});vs(l,h,0,zr(d,f))}else ug(l,0)}}}finally{se(e)}}function Ku(t,e){return t[e]}function dI(t,e){return Vr(t,e)}function fI(t,e){return ag(t,e)}function Ju(t,e){return fc(t,e)}function hI(t,e,r,n,o,i){let s=e.consts,a=Kn(s,o),u=ar(e,t,2,n,a);return zc(e,r,u,Kn(s,i)),u.attrs!==null&&ji(u,u.attrs,!1),u.mergedAttrs!==null&&ji(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function dg(t,e,r,n){let o=T(),i=Y(),s=he+t,a=o[Z],u=i.firstCreatePass?hI(s,i,o,e,r,n):i.data[s],c=pI(i,o,u,a,e,t);o[s]=c;let l=Qi(u);return vn(u,!0),gp(a,c,u),(u.flags&32)!==32&&Ki()&&ss(i,o,c,u),fD()===0&&Wt(c,o),hD(),l&&(Uc(i,o,u),$c(i,u,o)),n!==null&&Bc(o,u),dg}function fg(){let t=ye();gc()?mc():(t=t.parent,vn(t,!1));let e=t;gD(e)&&mD(),pD();let r=Y();return r.firstCreatePass&&(Xi(r,t),dc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&ND(e)&&zu(r,e,T(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&RD(e)&&zu(r,e,T(),e.stylesWithoutHost,!1),fg}function Xc(t,e,r,n){return dg(t,e,r,n),fg(),Xc}var pI=(t,e,r,n,o,i)=>(Ji(!0),ap(n,o,TD()));function gI(t,e,r,n,o){let i=e.consts,s=Kn(i,n),a=ar(e,t,8,"ng-container",s);s!==null&&ji(a,s,!0);let u=Kn(i,o);return zc(e,r,a,u),e.queries!==null&&e.queries.elementStart(e,a),a}function hg(t,e,r){let n=T(),o=Y(),i=t+he,s=o.firstCreatePass?gI(i,o,n,e,r):o.data[i];vn(s,!0);let a=vI(o,n,s,t);return n[i]=a,Ki()&&ss(o,n,a,s),Wt(a,n),Qi(s)&&(Uc(o,n,s),$c(o,s,n)),r!=null&&Bc(n,s),hg}function pg(){let t=ye(),e=Y();return gc()?mc():(t=t.parent,vn(t,!1)),e.firstCreatePass&&(Xi(e,t),dc(t)&&e.queries.elementEnd(t)),pg}function mI(t,e,r){return hg(t,e,r),pg(),mI}var vI=(t,e,r,n)=>(Ji(!0),Sw(e[Z],""));function Sk(){return T()}function yI(t,e,r){let n=T(),o=yn();if(Se(n,o,e)){let i=Y(),s=ir();eo(i,s,n,t,e,n[Z],r,!0)}return yI}function DI(t,e,r){let n=T(),o=yn();if(Se(n,o,e)){let i=Y(),s=ir(),a=yc(i.data),u=Hp(a,s,n);eo(i,s,n,t,e,u,r,!0)}return DI}var on=void 0;function wI(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var CI=["en",[["a","p"],["AM","PM"],on],[["AM","PM"],on,on],[["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"]],on,[["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"]],on,[["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}",on,"{1} 'at' {0}",on],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",wI],Za={};function Re(t){let e=EI(t),r=$f(e);if(r)return r;let n=e.split("-")[0];if(r=$f(n),r)return r;if(n==="en")return CI;throw new v(701,!1)}function $f(t){return t in Za||(Za[t]=X.ng&&X.ng.common&&X.ng.common.locales&&X.ng.common.locales[t]),Za[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 EI(t){return t.toLowerCase().replace(/_/g,"-")}var Bi="en-US";var II=Bi;function bI(t){My(t,"Expected localeId to be defined"),typeof t=="string"&&(II=t.toLowerCase().replace(/_/g,"-"))}function cr(t){return!!t&&typeof t.then=="function"}function el(t){return!!t&&typeof t.subscribe=="function"}function tl(t,e,r,n){let o=T(),i=Y(),s=ye();return gg(i,o,o[Z],s,t,e,n),tl}function MI(t,e){let r=ye(),n=T(),o=Y(),i=yc(o.data),s=Hp(i,r,n);return gg(o,n,s,r,t,e),MI}function SI(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[Fr],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=Qi(n),c=t.firstCreatePass&&Bp(t),l=e[me],d=Up(e),f=!0;if(n.type&3||s){let S=Le(n,e),C=s?s(S):S,m=d.length,j=s?U=>s(ut(U[n.index])):n.index,De=null;if(!s&&a&&(De=SI(t,e,o,n.index)),De!==null){let U=De.__ngLastListenerFn__||De;U.__ngNextListenerFn__=i,De.__ngLastListenerFn__=i,f=!1}else{i=Bf(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=Bf(n,e,l,i,!1);let h=n.outputs,p;if(f&&h!==null&&(p=h[o])){let S=p.length;if(S)for(let C=0;C<S;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 Uf(t,e,r,n){try{return ot(6,e,r),r(n)!==!1}catch(o){return zp(t,o),!1}finally{ot(7,e,r)}}function Bf(t,e,r,n,o){return function i(s){if(s===Function)return n;let a=t.componentOffset>-1?Gt(t.index,e):e;Gc(a);let u=Uf(e,r,n,s),c=i.__ngNextListenerFn__;for(;c;)u=Uf(e,r,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Tk(t=1){return MD(t)}function TI(t,e){let r=null,n=Hy(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){r=o;continue}if(n===null?ih(t,i,!0):Gy(n,i))return o}return r}function xk(t){let e=T()[Fe][_e];if(!e.projection){let r=t?t.length:1,n=e.projection=zh(r,null),o=n.slice(),i=e.child;for(;i!==null;){let s=t?TI(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i),i=i.next}}}function _k(t,e=0,r){let n=T(),o=Y(),i=ar(o,he+t,16,null,r||null);i.projection===null&&(i.projection=e),mc(),(!n[qn]||Ih())&&(i.flags&32)!==32&&Uw(o,n,i)}function xI(t,e,r){return mg(t,"",e,"",r),xI}function mg(t,e,r,n,o){let i=T(),s=Kc(i,e,r,n);if(s!==Te){let a=Y(),u=ir();eo(a,u,i,t,s,i[Z],o,!1)}return mg}function _I(t,e,r,n,o,i,s){let a=T(),u=Kp(a,e,r,n,o,i);if(u!==Te){let c=Y(),l=ir();eo(c,l,a,t,u,a[Z],s,!1)}return _I}function AI(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function Ak(t){let e=yD();return hc(e,he+t)}function Nk(t,e=""){let r=T(),n=Y(),o=t+he,i=n.firstCreatePass?ar(n,o,1,e,null):n.data[o],s=NI(n,r,i,e,t);r[o]=s,Ki()&&ss(n,r,s,i),vn(i,!1)}var NI=(t,e,r,n,o)=>(Ji(!0),bw(e[Z],n));function RI(t){return vg("",t,""),RI}function vg(t,e,r){let n=T(),o=Kc(n,t,e,r);return o!==Te&&Wp(n,_t(),o),vg}function OI(t,e,r,n,o){let i=T(),s=Kp(i,t,e,r,n,o);return s!==Te&&Wp(i,_t(),s),OI}function PI(t,e,r){let n=Y();if(n.firstCreatePass){let o=It(t);Xu(r,n.data,n.blueprint,o,!0),Xu(e,n.data,n.blueprint,o,!1)}}function Xu(t,e,r,n,o){if(t=we(t),Array.isArray(t))for(let i=0;i<t.length;i++)Xu(t[i],e,r,n,o);else{let i=Y(),s=T(),a=ye(),u=Xn(t)?t:we(t.provide),c=Qh(t),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Xn(t)||!t.multi){let h=new fn(c,o,L),p=Qa(u,e,o?l:l+f,d);p===-1?(su(Ai(a,s),i,u),Ya(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=Qa(u,e,l+f,d),p=Qa(u,e,l,l+f),S=h>=0&&r[h],C=p>=0&&r[p];if(o&&!C||!o&&!S){su(Ai(a,s),i,u);let m=LI(o?kI:FI,r.length,o,n,c);!o&&C&&(r[p].providerFactory=m),Ya(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);Ya(i,t,h>-1?h:p,m)}!o&&n&&C&&r[p].componentProviders++}}}function Ya(t,e,r,n){let o=Xn(e),i=iw(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 Qa(t,e,r,n){for(let o=r;o<n;o++)if(e[o]===t)return o;return-1}function FI(t,e,r,n){return ec(this.multi,[])}function kI(t,e,r,n){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=hn(r,r[A],this.providerFactory.index,n);i=a.slice(0,s),ec(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],ec(o,i);return i}function ec(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function LI(t,e,r,n,o){let i=new fn(t,r,L);return i.multi=[],i.index=e,i.componentProviders=0,yg(i,o,n&&!r),i}function Rk(t,e=[]){return r=>{r.providersResolver=(n,o)=>PI(n,o?o(t):t,e)}}var Mt=class{},Wr=class{};function Dg(t,e){return new Gr(t,e??null,[])}var Gr=class extends Mt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Vi(this);let o=lh(e);this._bootstrapComponents=tp(o.bootstrap),this._r3Injector=Kh(e,r,[{provide:Mt,useValue:this},{provide:cs,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)}},Hi=class extends Wr{constructor(e){super(),this.moduleType=e}create(e){return new Gr(this.moduleType,e,[])}};function jI(t,e,r){return new Gr(t,e,r)}var tc=class extends Mt{constructor(e){super(),this.componentFactoryResolver=new Vi(this),this.instance=null;let r=new jr([...e.providers,{provide:Mt,useValue:this},{provide:cs,useValue:this.componentFactoryResolver}],e.parent||Tc(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function ys(t,e,r=null){return new tc({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var VI=(()=>{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=qh(!1,n.type),i=o.length>0?ys([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){Dn("NgStandalone"),t.getStandaloneInjector=e=>e.get(VI).getOrCreateStandaloneInjector(t)}function Ok(t,e,r){let n=ft()+t,o=T();return o[n]===Te?Zt(o,n,r?e.call(r):e()):gs(o,n)}function Pk(t,e,r,n){return Cg(T(),ft(),t,e,r,n)}function Fk(t,e,r,n,o){return Eg(T(),ft(),t,e,r,n,o)}function kk(t,e,r,n,o,i){return $I(T(),ft(),t,e,r,n,o,i)}function Lk(t,e,r,n,o,i,s){return UI(T(),ft(),t,e,r,n,o,i,s)}function jk(t,e,r,n,o,i,s,a){let u=ft()+t,c=T(),l=Ur(c,u,r,n,o,i);return Se(c,u+4,s)||l?Zt(c,u+5,a?e.call(a,r,n,o,i,s):e(r,n,o,i,s)):gs(c,u+5)}function Vk(t,e,r,n,o,i,s,a,u){let c=ft()+t,l=T(),d=Ur(l,c,r,n,o,i);return tr(l,c+4,s,a)||d?Zt(l,c+6,u?e.call(u,r,n,o,i,s,a):e(r,n,o,i,s,a)):gs(l,c+6)}function $k(t,e,r,n,o,i,s,a,u,c,l){let d=ft()+t,f=T(),h=Ur(f,d,r,n,o,i);return Ur(f,d+4,s,a,u,c)||h?Zt(f,d+8,l?e.call(l,r,n,o,i,s,a,u,c):e(r,n,o,i,s,a,u,c)):gs(f,d+8)}function Ds(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)?Zt(t,s+1,i?n.call(i,o):n(o)):Ds(t,s+1)}function Eg(t,e,r,n,o,i,s){let a=e+r;return tr(t,a,o,i)?Zt(t,a+2,s?n.call(s,o,i):n(o,i)):Ds(t,a+2)}function $I(t,e,r,n,o,i,s,a){let u=e+r;return RE(t,u,o,i,s)?Zt(t,u+3,a?n.call(a,o,i,s):n(o,i,s)):Ds(t,u+3)}function UI(t,e,r,n,o,i,s,a,u){let c=e+r;return Ur(t,c,o,i,s,a)?Zt(t,c+4,u?n.call(u,o,i,s,a):n(o,i,s,a)):Ds(t,c+4)}function Uk(t,e){let r=Y(),n,o=t+he;r.firstCreatePass?(n=BI(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=ln(n.type,!0)),s,a=be(L);try{let u=_i(!1),c=i();return _i(u),AI(r,T(),o,c),c}finally{be(a)}}function BI(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function Bk(t,e,r){let n=t+he,o=T(),i=hc(o,n);return Ig(o,n)?Cg(o,ft(),e,i.transform,r,i):i.transform(r)}function Hk(t,e,r,n){let o=t+he,i=T(),s=hc(i,o);return Ig(i,o)?Eg(i,ft(),e,s.transform,r,n,s):s.transform(r,n)}function Ig(t,e){return t[A].data[e].pure}function HI(){return this._results[Symbol.iterator]()}var nc=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]=HI)}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=GD(e);(this._changesDetected=!WD(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())}},mn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=GI;let t=e;return t})(),zI=mn,WI=class extends zI{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=ms(this._declarationLView,this._declarationTContainer,e,{injector:r,dehydratedView:n});return new pn(o)}};function GI(){return ws(ye(),T())}function ws(t,e){return t.type&4?new WI(e,t,sr(t,e)):null}var rc=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},oc=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()}},zi=class{constructor(e,r,n=null){this.predicate=e,this.flags=r,this.read=n}},ic=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)}},sc=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,qI(r,i)),this.matchTNodeWithReadOption(e,r,wi(r,e,i,!1,!1))}else n===mn?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,wi(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===je||o===gt||o===mn&&r.type&4)this.addMatch(r.index,-2);else{let i=wi(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 qI(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 ZI(t,e){return t.type&11?sr(t,e):t.type&4?ws(t,e):null}function YI(t,e,r,n){return r===-1?ZI(e,t):r===-2?QI(t,e,n):hn(t,t[A],r,e)}function QI(t,e,r){if(r===je)return sr(e,t);if(r===mn)return ws(e,t);if(r===gt)return lg(e,t)}function bg(t,e,r,n){let o=e[st].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(YI(e,l,s[u+1],r.metadata.read))}}o.matches=a}return o.matches}function ac(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[Yr]===f[re]&&ac(f[A],f,c,n)}if(l[Yn]!==null){let d=l[Yn];for(let f=0;f<d.length;f++){let h=d[f];ac(h[A],h,c,n)}}}}}return n}function Mg(t){let e=T(),r=Y(),n=Mh();Dc(n+1);let o=Ag(r,n);if(t.dirty&&aD(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=o.crossesNgTemplate?ac(r,e,n,[]):bg(r,e,o,n);t.reset(i,gC),t.notifyOnChanges()}return!0}return!1}function Wk(t,e,r){let n=Y();n.firstCreatePass&&(_g(n,new zi(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),xg(n,T(),e)}function Sg(t,e,r,n){let o=Y();if(o.firstCreatePass){let i=ye();_g(o,new zi(e,r,n),i.index),JI(o,t),(r&2)===2&&(o.staticContentQueries=!0)}xg(o,T(),r)}function Tg(){return KI(T(),Mh())}function KI(t,e){return t[st].queries[e].queryList}function xg(t,e,r){let n=new nc((r&4)===4);OC(t,e,n,n.destroy),e[st]===null&&(e[st]=new oc),e[st].queries.push(new rc(n))}function _g(t,e,r){t.queries===null&&(t.queries=new ic),t.queries.track(new sc(e,r))}function JI(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 Gk(t,e){return ws(t,e)}var vi=null;function XI(t){vi!==null&&(t.defaultEncapsulation!==vi.defaultEncapsulation||t.preserveWhitespaces!==vi.preserveWhitespaces)||(vi=t)}var rr=class{constructor(e){this.full=e;let r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}},qk=new rr("17.0.8");var Cs=(()=>{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})(),uc=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Es=(()=>{let e=class e{compileModuleSync(n){return new Hi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=lh(n),s=tp(i.declarations).reduce((a,u)=>{let c=zt(u);return c&&a.push(new er(c)),a},[]);return new uc(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})(),eb=new E("compilerOptions");var wn=(()=>{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 nl=new E(""),to=new E(""),Is=(()=>{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,rl||(tb(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(bs),y(to))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),bs=(()=>{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 rl?.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 tb(t){rl=t}var rl,Ms=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(Ms,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(cr(s))n.push(s);else if(el(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})(),Ss=new E("appBootstrapListener");function nb(t,e,r){let n=new Hi(r);return Promise.resolve(n)}function rb(){ef(()=>{throw new v(600,!1)})}function ob(t){return t.isBoundToModule}function ib(t,e,r){try{let n=r();return cr(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 Cn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(_p),this.componentTypes=[],this.components=[],this.isStable=g(wn).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 Fi;if(!this._injector.get(Ng).done){let p="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&ch(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(cs).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=ob(a)?void 0:this._injector.get(Mt),c=o||a.selector,l=a.create(Ae.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(nl,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ii(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;Ii(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(Ss,[]);[...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),()=>Ii(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 Ii(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Hf(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var sb=(()=>{let e=class e{constructor(){this.zone=g(H),this.applicationRef=g(Cn)}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 ab(t){return[{provide:H,useFactory:t},{provide:Jn,multi:!0,useFactory:()=>{let e=g(sb,{optional:!0});return()=>e.initialize()}},{provide:Jn,multi:!0,useFactory:()=>{let e=g(lb);return()=>{e.initialize()}}},{provide:_p,useFactory:ub}]}function ub(){let t=g(H),e=g(lt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function cb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var lb=(()=>{let e=class e{constructor(){this.subscription=new Q,this.initialized=!1,this.zone=g(H),this.pendingTasks=g(wn)}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 db(){return typeof $localize<"u"&&$localize.locale||Bi}var no=new E("LocaleId",{providedIn:"root",factory:()=>g(no,F.Optional|F.SkipSelf)||db()});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=hE(o?.ngZone,cb({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=jI(n.moduleType,this.injector,ab(()=>i)),a=s.injector.get(lt,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Ii(this._modules,s),u.unsubscribe()})}),ib(a,i,()=>{let u=s.injector.get(Ng);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(no,Bi);return bI(c||Bi),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,o=[]){let i=Rg({},o);return nb(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(Cn);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})(),Rr=null,Fg=new E("AllowMultipleToken");function fb(t){if(Rr&&!Rr.get(Fg,!1))throw new v(400,!1);rb(),Rr=t;let e=t.get(Pg);return gb(t),e}function ol(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):fb(hb(a,n))}return pb(o)}}function hb(t=[],e){return Ae.create({name:e,providers:[{provide:rs,useValue:"platform"},{provide:Og,useValue:new Set([()=>Rr=null])},...t]})}function pb(t){let e=kg();if(!e)throw new v(401,!1);return e}function kg(){return Rr?.get(Pg)??null}function gb(t){t.get(xc,null)?.forEach(r=>r())}function Zk(){return!1}var Lg=ol(null,"core",[]),jg=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(y(Cn))},e.\u0275mod=Tt({type:e}),e.\u0275inj=St({});let t=e;return t})();function Yt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function il(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function Vg(t){let e=zt(t);if(!e)return null;let r=new er(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 fl=null;function En(){return fl}function Zg(t){fl||(fl=t)}var Fs=class{},ie=new E("DocumentToken"),yl=(()=>{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(mb))(),providedIn:"platform"});let t=e;return t})(),Yg=new E("Location Initialized"),mb=(()=>{let e=class e extends yl{constructor(){super(),this._doc=g(ie),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return En().getBaseHref(this._doc)}onPopState(n){let o=En().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=En().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 Dl(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 Ot(t){return t&&t[0]!=="?"?"?"+t:t}var kt=(()=>{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(wl))(),providedIn:"root"});let t=e;return t})(),Qg=new E("appBaseHref"),wl=(()=>{let e=class e extends kt{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 Dl(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+Ot(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Ot(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Ot(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(yl),y(Qg,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kg=(()=>{let e=class e extends kt{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=Dl(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Ot(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Ot(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(yl),y(Qg,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),dr=(()=>{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=Db($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+Ot(o))}normalize(n){return e.stripTrailingSlash(yb(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+Ot(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ot(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=Ot,e.joinWithSlash=Dl,e.stripTrailingSlash=$g,e.\u0275fac=function(o){return new(o||e)(y(kt))},e.\u0275prov=w({token:e,factory:()=>vb(),providedIn:"root"});let t=e;return t})();function vb(){return new dr(y(kt))}function yb(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 Db(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 wb(t){return Re(t)[J.LocaleId]}function Cb(t,e,r){let n=Re(t),o=[n[J.DayPeriodsFormat],n[J.DayPeriodsStandalone]],i=Ve(o,e);return Ve(i,r)}function Eb(t,e,r){let n=Re(t),o=[n[J.DaysFormat],n[J.DaysStandalone]],i=Ve(o,e);return Ve(i,r)}function Ib(t,e,r){let n=Re(t),o=[n[J.MonthsFormat],n[J.MonthsStandalone]],i=Ve(o,e);return Ve(i,r)}function bb(t,e){let n=Re(t)[J.Eras];return Ve(n,e)}function xs(t,e){let r=Re(t);return Ve(r[J.DateFormat],e)}function _s(t,e){let r=Re(t);return Ve(r[J.TimeFormat],e)}function As(t,e){let n=Re(t)[J.DateTimeFormat];return Ve(n,e)}function Pt(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 Mb(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 Sb(t){let e=Re(t);return Xg(e),(e[J.ExtraData][2]||[]).map(n=>typeof n=="string"?sl(n):[sl(n[0]),sl(n[1])])}function Tb(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 sl(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var xb=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ro={},_b=/((?:[^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]*)/,Ft=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Ft||{}),$=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 Ab(t,e,r,n){let o=Vb(t);e=Rt(r,e)||e;let s=[],a;for(;e;)if(a=_b.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=jb(o,n,!0));let c="";return s.forEach(l=>{let d=kb(l);c+=d?d(o,r,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function ks(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function Rt(t,e){let r=wb(t);if(ro[r]=ro[r]||{},ro[r][e])return ro[r][e];let n="";switch(e){case"shortDate":n=xs(t,Oe.Short);break;case"mediumDate":n=xs(t,Oe.Medium);break;case"longDate":n=xs(t,Oe.Long);break;case"fullDate":n=xs(t,Oe.Full);break;case"shortTime":n=_s(t,Oe.Short);break;case"mediumTime":n=_s(t,Oe.Medium);break;case"longTime":n=_s(t,Oe.Long);break;case"fullTime":n=_s(t,Oe.Full);break;case"short":let o=Rt(t,"shortTime"),i=Rt(t,"shortDate");n=Ns(As(t,Oe.Short),[o,i]);break;case"medium":let s=Rt(t,"mediumTime"),a=Rt(t,"mediumDate");n=Ns(As(t,Oe.Medium),[s,a]);break;case"long":let u=Rt(t,"longTime"),c=Rt(t,"longDate");n=Ns(As(t,Oe.Long),[u,c]);break;case"full":let l=Rt(t,"fullTime"),d=Rt(t,"fullDate");n=Ns(As(t,Oe.Full),[l,d]);break}return n&&(ro[r][e]=n),n}function Ns(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function Ye(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 Nb(t,e){return Ye(t,3).substring(0,e)}function oe(t,e,r=0,n=!1,o=!1){return function(i,s){let a=Rb(t,i);if((r>0||a>-r)&&(a+=r),t===$.Hours)a===0&&r===-12&&(a=12);else if(t===$.FractionalSeconds)return Nb(a,e);let u=Pt(s,xe.MinusSign);return Ye(a,e,u,n,o)}}function Rb(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 Ob(o,i,t,e,r,n)}}function Ob(t,e,r,n,o,i){switch(r){case V.Months:return Ib(e,o,n)[t.getMonth()];case V.Days:return Eb(e,o,n)[t.getDay()];case V.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let c=Sb(e),l=Tb(e,o,n),d=c.findIndex(f=>{if(Array.isArray(f)){let[h,p]=f,S=s>=h.hours&&a>=h.minutes,C=s<p.hours||s===p.hours&&a<p.minutes;if(h.hours<p.hours){if(S&&C)return!0}else if(S||C)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Cb(e,o,n)[s<12?0:1];case V.Eras:return bb(e,n)[t.getFullYear()<=0?0:1];default:let u=r;throw new Error(`unexpected translation type ${u}`)}}function Rs(t){return function(e,r,n){let o=-1*n,i=Pt(r,xe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Ft.Short:return(o>=0?"+":"")+Ye(s,2,i)+Ye(Math.abs(o%60),2,i);case Ft.ShortGMT:return"GMT"+(o>=0?"+":"")+Ye(s,1,i);case Ft.Long:return"GMT"+(o>=0?"+":"")+Ye(s,2,i)+":"+Ye(Math.abs(o%60),2,i);case Ft.Extended:return n===0?"Z":(o>=0?"+":"")+Ye(s,2,i)+":"+Ye(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var Pb=0,Ps=4;function Fb(t){let e=ks(t,Pb,1).getDay();return ks(t,0,1+(e<=Ps?Ps:Ps+7)-e)}function em(t){return ks(t.getFullYear(),t.getMonth(),t.getDate()+(Ps-t.getDay()))}function al(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=Fb(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ye(o,t,Pt(n,xe.MinusSign))}}function Os(t,e=!1){return function(r,n){let i=em(r).getFullYear();return Ye(i,t,Pt(n,xe.MinusSign),e)}}var ul={};function kb(t){if(ul[t])return ul[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=Os(1);break;case"YY":e=Os(2,!0);break;case"YYY":e=Os(3);break;case"YYYY":e=Os(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=al(1);break;case"ww":e=al(2);break;case"W":e=al(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=Rs(Ft.Short);break;case"ZZZZZ":e=Rs(Ft.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Rs(Ft.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Rs(Ft.Long);break;default:return null}return ul[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 Lb(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function jb(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=tm(e,o);return Lb(t,n*(i-o))}function Vb(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 ks(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(xb))return $b(n)}let e=new Date(t);if(!Bg(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function $b(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 Ub=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Hg=22,Ls=".",oo="0",Bb=";",Hb=",",cl="#";function zb(t,e,r,n,o,i,s=!1){let a="",u=!1;if(!isFinite(t))a=Pt(r,xe.Infinity);else{let c=Zb(t);s&&(c=qb(c));let l=e.minInt,d=e.minFrac,f=e.maxFrac;if(i){let j=i.match(Ub);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=ll(De)),U!=null&&(d=ll(U)),ce!=null?f=ll(ce):U!=null&&d>f&&(f=d)}Yb(c,d,f);let h=c.digits,p=c.integerLen,S=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(Pt(r,n)),C.length&&(a+=Pt(r,o)+C.join("")),S&&(a+=Pt(r,xe.Exponential)+"+"+S)}return t<0&&!u?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function Wb(t,e,r){let n=Mb(e,Jg.Decimal),o=Gb(n,Pt(e,xe.MinusSign));return zb(t,o,e,xe.Group,xe.Decimal,r)}function Gb(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(Bb),o=n[0],i=n[1],s=o.indexOf(Ls)!==-1?o.split(Ls):[o.substring(0,o.lastIndexOf(oo)+1),o.substring(o.lastIndexOf(oo)+1)],a=s[0],u=s[1]||"";r.posPre=a.substring(0,a.indexOf(cl));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===oo?r.minFrac=r.maxFrac=l+1:d===cl?r.maxFrac=l+1:r.posSuf+=d}let c=a.split(Hb);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(cl);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 qb(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 Zb(t){let e=Math.abs(t)+"",r=0,n,o,i,s,a;for((o=e.indexOf(Ls))>-1&&(e=e.replace(Ls,"")),(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)===oo;i++);if(i===(a=e.length))n=[0],o=1;else{for(a--;e.charAt(a)===oo;)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 Yb(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 ll(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function js(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 dl=/\s+/,zg=[],l1=(()=>{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(dl):zg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(dl):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(dl).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(ls),L(ds),L(je),L(qt))},e.\u0275dir=ke({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),d1=(()=>{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(gt))},e.\u0275dir=ke({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[xt]});let t=e;return t})();function Wg(t){return t.get(Mt).injector}var hl=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}},f1=(()=>{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 hl(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(gt),L(mn),L(ls))},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 h1=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new pl,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(gt),L(mn))},e.\u0275dir=ke({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),pl=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 p1=(()=>{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:ct.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(ds),L(qt))},e.\u0275dir=ke({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),g1=(()=>{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(gt))},e.\u0275dir=ke({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[xt]});let t=e;return t})();function Cl(t,e){return new v(2100,!1)}var gl=class{createSubscription(e,r){return jc(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){jc(()=>e.unsubscribe())}},ml=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},Qb=new ml,Kb=new gl,m1=(()=>{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(cr(n))return Qb;if(el(n))return Kb;throw Cl(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(ur,16))},e.\u0275pipe=Zr({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Jb="mediumDate",Xb=new E("DATE_PIPE_DEFAULT_TIMEZONE"),e0=new E("DATE_PIPE_DEFAULT_OPTIONS"),v1=(()=>{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??Jb,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Ab(n,a,s||this.locale,u)}catch(a){throw Cl(e,a.message)}}};e.\u0275fac=function(o){return new(o||e)(L(no,16),L(Xb,24),L(e0,24))},e.\u0275pipe=Zr({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var y1=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=Zr({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(!t0(n))return null;i=i||this._locale;try{let s=n0(n);return Wb(s,i,o)}catch(s){throw Cl(e,s.message)}}};e.\u0275fac=function(o){return new(o||e)(L(no,16))},e.\u0275pipe=Zr({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})();function t0(t){return!(t==null||t===""||t!==t)}function n0(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=Tt({type:e}),e.\u0275inj=St({});let t=e;return t})(),El="browser",r0="server";function w1(t){return t===El}function Vs(t){return t===r0}var rm=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>new vl(y(ie),window)});let t=e;return t})(),vl=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=o0(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 o0(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 lr=class{};var om=t=>t.src,i0=new E("ImageLoader",{providedIn:"root",factory:()=>om});var s0=new E("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),a0=(()=>{let e=class e{constructor(){this.preloadedImages=g(s0),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 u0=/^((\s*\d+w\s*(,|$)){1,})$/;var c0=[1,2],l0=640;var d0=1920,f0=1080;var C1=(()=>{let e=class e{constructor(){this.imageLoader=g(i0),this.config=h0(g(ep)),this.renderer=g(qt),this.imgElement=g(je).nativeElement,this.injector=g(Ae),this.isServer=Vs(g(pt)),this.preloadLinkCreator=g(a0),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){Dn("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=u0.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>=l0)),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 c0.map(o=>`${this.callImageLoader({src:this.ngSrc,width:this.width*o})} ${o}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>d0||this.height>f0),!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&&Jc("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",p0],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",il],height:["height","height",il],loading:"loading",priority:["priority","priority",Yt],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",Yt],fill:["fill","fill",Yt],src:"src",srcset:"srcset"},standalone:!0,features:[ps,xt]});let t=e;return t})();function h0(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},Ac,t,e)}function p0(t){return typeof t=="string"?t:Ne(t)}var so=class{},Us=class{},In=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 bl=class{encodeKey(e){return sm(e)}encodeValue(e){return sm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function v0(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 y0=/%(\d[a-f0-9])/gi,D0={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sm(t){return encodeURIComponent(t).replace(y0,(e,r)=>D0[r]??e)}function $s(t){return`${t}`}var Qt=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new bl,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=v0(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($s):[$s(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($s(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($s(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 Ml=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 w0(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 C0(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var io=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(w0(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 In),this.context||(this.context=new Ml),!this.params)this.params=new Qt,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)||C0(this.body)||typeof this.body=="string"?this.body:this.body instanceof Qt?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 Qt?"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})}},fr=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}(fr||{}),ao=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new In,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}},Sl=class t extends ao{constructor(e={}){super(e),this.type=fr.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})}},Bs=class t extends ao{constructor(e={}){super(e),this.type=fr.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})}},Hs=class extends ao{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 Il(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 E0=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof io)s=n;else{let c;i.headers instanceof In?c=i.headers:c=new In(i.headers);let l;i.params&&(i.params instanceof Qt?l=i.params:l=new Qt({fromObject:i.params})),s=new io(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=x(s).pipe(nt(c=>this.handler.handle(c)));if(n instanceof io||i.observe==="events")return a;let u=a.pipe(te(c=>c instanceof Bs));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 Qt().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,Il(i,o))}post(n,o,i={}){return this.request("POST",n,Il(i,o))}put(n,o,i={}){return this.request("PUT",n,Il(i,o))}};e.\u0275fac=function(o){return new(o||e)(y(so))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function hm(t,e){return e(t)}function I0(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function b0(t,e,r){return(n,o)=>ht(r,()=>e(n,i=>t(i,o)))}var M0=new E(""),Tl=new E(""),S0=new E(""),T0=new E("");function x0(){let t=null;return(e,r)=>{t===null&&(t=(g(M0,{optional:!0})??[]).reduceRight(I0,hm));let n=g(wn),o=n.add();return t(e,r).pipe($t(()=>n.remove(o)))}}var lm=(()=>{let e=class e extends so{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(wn);let i=g(T0,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Tl),...this.injector.get(S0,[])]));this.chain=i.reduceRight((s,a)=>b0(s,a,this.injector),hm)}let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe($t(()=>this.pendingTasks.remove(o)))}};e.\u0275fac=function(o){return new(o||e)(y(Us),y(Ce))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();var _0=/^\)\]\}',?\n/;function A0(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()):x(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 In(a.getAllResponseHeaders()),j=A0(a)||n.url;return c=new Sl({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(_0,"");try{U=U!==""?JSON.parse(U):null}catch(Er){U=Ue,ce&&(ce=!1,U={error:Er,text:U})}}ce?(s.next(new Bs({body:U,headers:C,status:m,statusText:j,url:De||void 0})),s.complete()):s.error(new Hs({error:U,headers:C,status:m,statusText:j,url:De||void 0}))},f=C=>{let{url:m}=l(),j=new Hs({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:fr.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(m.total=C.total),n.responseType==="text"&&a.responseText&&(m.partialText=a.responseText),s.next(m)},S=C=>{let m={type:fr.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",S)),a.send(u),s.next({type:fr.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",S)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(y(lr))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),pm=new E("XSRF_ENABLED"),N0="XSRF-TOKEN",R0=new E("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>N0}),O0="X-XSRF-TOKEN",P0=new E("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>O0}),zs=class{},F0=(()=>{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=js(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(y(ie),y(pt),y(R0))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function k0(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(zs).getToken(),o=g(P0);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 L0(t,e){return{\u0275kind:t,\u0275providers:e}}function j0(...t){let e=[E0,dm,lm,{provide:so,useExisting:lm},{provide:Us,useExisting:dm},{provide:Tl,useValue:k0,multi:!0},{provide:pm,useValue:!0},{provide:zs,useClass:F0}];for(let r of t)e.push(...r.\u0275providers);return ns(e)}var fm=new E("LEGACY_INTERCEPTOR_FN");function V0(){return L0(gm.LegacyInterceptors,[{provide:fm,useFactory:x0},{provide:Tl,useExisting:fm,multi:!0}])}var k1=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Tt({type:e}),e.\u0275inj=St({providers:[j0(V0())]});let t=e;return t})();var Al=class extends Fs{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Nl=class t extends Al{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=$0();return r==null?null:U0(r)}resetBaseElement(){uo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return js(document.cookie,e)}},uo=null;function $0(){return uo=uo||document.querySelector("base"),uo?uo.getAttribute("href"):null}function U0(t){return new URL(t,document.baseURI).pathname}var Rl=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?En().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},B0=(()=>{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})(),Ol=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(Ol),y(H))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Ws=class{constructor(e){this._doc=e}},xl="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=Vs(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[${xl}="${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(xl),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(xl,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(os),y(_c,8),y(pt))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),_l={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/"},Fl=/%COMP%/g,Cm="%COMP%",H0=`_nghost-${Cm}`,z0=`_ngcontent-${Cm}`,W0=!0,G0=new E("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>W0});function q0(t){return z0.replace(Fl,t)}function Z0(t){return H0.replace(Fl,t)}function Em(t,e){return e.map(r=>r.replace(Fl,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=Vs(u),this.defaultRenderer=new co(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===at.ShadowDom&&(o=ee(D({},o),{encapsulation:at.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Gs?i.applyToHost(n):i instanceof lo&&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 at.Emulated:s=new Gs(c,l,o,this.appId,d,a,u,f);break;case at.ShadowDom:return new Pl(c,l,n,o,a,u,this.nonce,f);default:s=new lo(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(os),y(G0),y(ie),y(pt),y(H),y(_c))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),co=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(_l[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=_l[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=_l[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&(ct.DashCase|ct.Important)?e.style.setProperty(r,n,o&ct.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&ct.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=En().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 Pl=class extends co{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)}},lo=class extends co{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)}},Gs=class extends lo{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=q0(c),this.hostAttr=Z0(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}},Y0=(()=>{let e=class e extends Ws{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"],Q0={"\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"},K0={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},J0=(()=>{let e=class e extends Ws{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(()=>En().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=Q0[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=K0[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 X0(){Nl.makeCurrent()}function eM(){return new lt}function tM(){return Jh(document),document}var nM=[{provide:pt,useValue:El},{provide:xc,useValue:X0,multi:!0},{provide:ie,useFactory:tM,deps:[]}],Y1=ol(Lg,"browser",nM),rM=new E(""),oM=[{provide:to,useClass:Rl,deps:[]},{provide:nl,useClass:Is,deps:[H,bs,to]},{provide:Is,useClass:Is,deps:[H,bs,to]}],iM=[{provide:rs,useValue:"root"},{provide:lt,useFactory:eM,deps:[]},{provide:Ol,useClass:Y0,multi:!0,deps:[ie,H,pt]},{provide:Ol,useClass:J0,multi:!0,deps:[ie]},mm,wm,Dm,{provide:$r,useExisting:mm},{provide:lr,useClass:B0,deps:[]},[]],Q1=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:os,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(y(rM,12))},e.\u0275mod=Tt({type:e}),e.\u0275inj=St({providers:[...iM,...oM],imports:[nm,jg]});let t=e;return t})();function sM(){return new kl(y(ie))}var kl=(()=>{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=sM(),i},providedIn:"root"});let t=e;return t})();var aM=(()=>{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 uM(t){return new Im(t.get(ie))}var Im=(()=>{let e=class e extends aM{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case Ze.NONE:return o;case Ze.HTML:return At(o,"HTML")?Ne(o):Fc(this._doc,String(o)).toString();case Ze.STYLE:return At(o,"Style")?Ne(o):o;case Ze.SCRIPT:if(At(o,"Script"))return Ne(o);throw new v(5200,!1);case Ze.URL:return At(o,"URL")?Ne(o):us(String(o));case Ze.RESOURCE_URL:if(At(o,"ResourceURL"))return Ne(o);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return vp(n)}bypassSecurityTrustStyle(n){return yp(n)}bypassSecurityTrustScript(n){return Dp(n)}bypassSecurityTrustUrl(n){return wp(n)}bypassSecurityTrustResourceUrl(n){return Cp(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=uM(y(Ae)),i},providedIn:"root"});let t=e;return t})();var R="primary",So=Symbol("RouteTitle"),Ul=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 vr(t){return new Ul(t)}function lM(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 dM(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!mt(t[r],e[r]))return!1;return!0}function mt(t,e){let r=t?Bl(t):void 0,n=e?Bl(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 Bl(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 en(t){return Sa(t)?t:cr(t)?G(Promise.resolve(t)):x(t)}var fM={exact:km,subset:Lm},Fm={exact:hM,subset:pM,ignored:()=>!0};function bm(t,e,r){return fM[r.paths](t.root,e.root,r.matrixParams)&&Fm[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function hM(t,e){return mt(t,e)}function km(t,e,r){if(!Mn(t.segments,e.segments)||!Ys(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 pM(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!(!Mn(o,r)||e.hasChildren()||!Ys(o,r,n))}else if(t.segments.length===r.length){if(!Mn(t.segments,r)||!Ys(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!Mn(t.segments,o)||!Ys(t.segments,o,n)||!t.children[R]?!1:jm(t.children[R],e,i,n)}}function Ys(t,e,r){return e.every((n,o)=>Fm[r](t[o].parameters,n.parameters))}var Kt=class{constructor(e=new B([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=vr(this.queryParams)),this._queryParamMap}toString(){return vM.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 Qs(this)}},bn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=vr(this.parameters)),this._parameterMap}toString(){return $m(this)}};function gM(t,e){return Mn(t,e)&&t.every((r,n)=>mt(r.parameters,e[n].parameters))}function Mn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function mM(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 To=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>new yo)(),providedIn:"root"});let t=e;return t})(),yo=class{parse(e){let r=new zl(e);return new Kt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${fo(e.root,!0)}`,n=wM(e.queryParams),o=typeof e.fragment=="string"?`#${yM(e.fragment)}`:"";return`${r}${n}${o}`}},vM=new yo;function Qs(t){return t.segments.map(e=>$m(e)).join("/")}function fo(t,e){if(!t.hasChildren())return Qs(t);if(e){let r=t.children[R]?fo(t.children[R],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==R&&n.push(`${o}:${fo(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=mM(t,(n,o)=>o===R?[fo(t.children[R],!1)]:[`${o}:${fo(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[R]!=null?`${Qs(t)}/${r[0]}`:`${Qs(t)}/(${r.join("//")})`}}function Vm(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qs(t){return Vm(t).replace(/%3B/gi,";")}function yM(t){return encodeURI(t)}function Hl(t){return Vm(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ks(t){return decodeURIComponent(t)}function Mm(t){return Ks(t.replace(/\+/g,"%20"))}function $m(t){return`${Hl(t.path)}${DM(t.parameters)}`}function DM(t){return Object.keys(t).map(e=>`;${Hl(e)}=${Hl(t[e])}`).join("")}function wM(t){let e=Object.keys(t).map(r=>{let n=t[r];return Array.isArray(n)?n.map(o=>`${qs(r)}=${qs(o)}`).join("&"):`${qs(r)}=${qs(n)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var CM=/^[^\/()?;#]+/;function Ll(t){let e=t.match(CM);return e?e[0]:""}var EM=/^[^\/()?;=#]+/;function IM(t){let e=t.match(EM);return e?e[0]:""}var bM=/^[^=?&#]+/;function MM(t){let e=t.match(bM);return e?e[0]:""}var SM=/^[^&#]+/;function TM(t){let e=t.match(SM);return e?e[0]:""}var zl=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=Ll(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new bn(Ks(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=IM(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Ll(this.remaining);o&&(n=o,this.capture(n))}e[Ks(r)]=Ks(n)}parseQueryParam(e){let r=MM(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=TM(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=Ll(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 xM(r)}function xM(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 yr(t){return t instanceof Kt}function _M(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 jl(o,o,o,r,n);let i=AM(e);if(i.toRoot())return jl(o,o,new B([],{}),r,n);let s=NM(i,o,t),a=s.processChildren?go(s.segmentGroup,s.index,i.commands):Gm(s.segmentGroup,s.index,i.commands);return jl(o,s.segmentGroup,a,r,n)}function Js(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Do(t){return typeof t=="object"&&t!=null&&t.outlets}function jl(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 Kt(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 Xs=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Js(n[0]))throw new v(4003,!1);let o=n.find(Do);if(o&&o!==Pm(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function AM(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Xs(!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 Xs(r,e,n)}var gr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function NM(t,e,r){if(t.isAbsolute)return new gr(e,!0,0);if(!r)return new gr(e,!1,NaN);if(r.parent===null)return new gr(r,!0,0);let n=Js(t.commands[0])?0:1,o=r.segments.length-1+n;return RM(r,o,t.numberOfDoubleDots)}function RM(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 gr(n,!1,o-i)}function OM(t){return Do(t[0])?t[0].outlets:{[R]:t}}function Gm(t,e,r){if(t||(t=new B([],{})),t.segments.length===0&&t.hasChildren())return go(t,e,r);let n=PM(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),go(i,0,o)}else return n.match&&o.length===0?new B(t.segments,{}):n.match&&!t.hasChildren()?Wl(t,e,r):n.match?go(t,0,o):Wl(t,e,r)}function go(t,e,r){if(r.length===0)return new B(t.segments,{});{let n=OM(r),o={};if(Object.keys(n).some(i=>i!==R)&&t.children[R]&&t.numberOfChildren===1&&t.children[R].segments.length===0){let i=go(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 PM(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(Do(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 Wl(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o<r.length;){let i=r[o];if(Do(i)){let u=FM(i.outlets);return new B(n,u)}if(o===0&&Js(r[0])){let u=t.segments[e];n.push(new bn(u.path,Sm(r[0]))),o++;continue}let s=Do(i)?i.outlets[R]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&Js(a)?(n.push(new bn(s,Sm(a))),o+=2):(n.push(new bn(s,{})),o++)}return new B(n,{})}function FM(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Wl(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&&mt(e,r.parameters)}var mo="imperative",$e=class{constructor(e,r){this.id=e,this.url=r}},Dr=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}')`}},Qe=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}')`}},Jt=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}')`}},Xt=class extends $e{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=16}},wo=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})`}},ea=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})`}},Gl=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})`}},ql=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})`}},Zl=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})`}},Yl=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})`}},Ql=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Kl=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Jl=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xl=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ed=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},td=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ta=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}')`}},Co=class{},Eo=class{constructor(e){this.url=e}};var nd=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new xo,this.attachRef=null}},xo=(()=>{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 nd,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})(),na=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=rd(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=rd(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=od(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return od(e,this._root).map(r=>r.value)}};function rd(t,e){if(t===e.value)return e;for(let r of e.children){let n=rd(t,r);if(n)return n}return null}function od(t,e){if(t===e.value)return[e];for(let r of e.children){let n=od(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 pr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ra=class extends na{constructor(e,r){super(e),this.snapshot=r,pd(this,e)}toString(){return this.snapshot.toString()}};function qm(t,e){let r=kM(t,e),n=new de([new bn("",{})]),o=new de({}),i=new de({}),s=new de({}),a=new de(""),u=new Sn(n,o,s,a,i,R,e,r.root);return u.snapshot=r.root,new ra(new Pe(u,[]),r)}function kM(t,e){let r={},n={},o={},i="",s=new Io([],r,o,i,n,R,e,null,{});return new oa("",new Pe(s,[]))}var Sn=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[So]))??x(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=>vr(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(O(e=>vr(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function hd(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[So]=o.title),n}var Io=class{get title(){return this.data?.[So]}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=vr(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=vr(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}')`}},oa=class extends na{constructor(e,r){super(r),this.url=e,pd(this,r)}toString(){return Zm(this._root)}};function pd(t,e){e.value._routerState=t,e.children.forEach(r=>pd(t,r))}function Zm(t){let e=t.children.length>0?` { ${t.children.map(Zm).join(", ")} } `:"";return`${t.value}${e}`}function Vl(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,mt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),mt(e.params,r.params)||t.paramsSubject.next(r.params),dM(e.url,r.url)||t.urlSubject.next(r.url),mt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function id(t,e){let r=mt(t.params,e.params)&&gM(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||id(t.parent,e.parent))}function Ym(t){return typeof t.title=="string"||t.title===null}var LM=(()=>{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(xo),this.location=g(gt),this.changeDetector=g(ur),this.environmentInjector=g(Ce),this.inputBinder=g(ca,{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 sd(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:[xt]});let t=e;return t})(),sd=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Sn?this.route:e===xo?this.childContexts:this.parent.get(e,r)}},ca=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=_r([o.queryParams,o.params,o.data]).pipe(ue(([s,a,u],c)=>(u=D(D(D({},s),a),u),c===0?x(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 jM(t,e,r){let n=bo(t,e._root,r?r._root:void 0);return new ra(n,e)}function bo(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=VM(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=>bo(t,a)),s}}let n=$M(e.value),o=e.children.map(i=>bo(t,i));return new Pe(n,o)}}function VM(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return bo(t,n,o);return bo(t,n)})}function $M(t){return new Sn(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}=yr(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 UM(t){return Xm(t)&&yr(t.url)}function Xm(t){return t&&t[Qm]}var BM=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=sh({type:e,selectors:[["ng-component"]],standalone:!0,features:[wg],decls:1,vars:0,template:function(o,i){o&1&&Xc(0,"router-outlet")},dependencies:[LM],encapsulation:2});let t=e;return t})();function HM(t,e){return t.providers&&!t._injector&&(t._injector=ys(t.providers,e,`Route: ${t.path}`)),t._injector??e}function gd(t){let e=t.children&&t.children.map(gd),r=e?ee(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==R&&(r.component=BM),r}function vt(t){return t.outlet||R}function zM(t,e){let r=t.filter(n=>vt(n)===e);return r.push(...t.filter(n=>vt(n)!==e)),r}function _o(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 WM=(t,e,r,n)=>O(o=>(new ad(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),ad=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),Vl(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=pr(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=pr(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=pr(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=pr(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new td(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Xl(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(Vl(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),Vl(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=_o(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)}},ia=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},mr=class{constructor(e,r){this.component=e,this.route=r}};function GM(t,e,r){let n=t._root,o=e?e._root:null;return ho(n,o,r,[n.value])}function qM(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Cr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Zf(t)?t:e.get(t):n}function ho(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=pr(e);return t.children.forEach(s=>{ZM(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>vo(a,r.getContext(s),o)),o}function ZM(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=YM(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new ia(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ho(t,e,a?a.children:null,n,o):ho(t,e,r,n,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new mr(a.outlet.component,s))}else s&&vo(e,a,o),o.canActivateChecks.push(new ia(n)),i.component?ho(t,null,a?a.children:null,n,o):ho(t,null,r,n,o);return o}function YM(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Mn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Mn(t.url,e.url)||!mt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!id(t,e)||!mt(t.queryParams,e.queryParams);case"paramsChange":default:return!id(t,e)}}function vo(t,e,r){let n=pr(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?vo(s,e.children.getContext(i),r):vo(s,null,r):vo(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new mr(e.outlet.component,o)):r.canDeactivateChecks.push(new mr(null,o)):r.canDeactivateChecks.push(new mr(null,o))}function Ao(t){return typeof t=="function"}function QM(t){return typeof t=="boolean"}function KM(t){return t&&Ao(t.canLoad)}function JM(t){return t&&Ao(t.canActivate)}function XM(t){return t&&Ao(t.canActivateChild)}function eS(t){return t&&Ao(t.canDeactivate)}function tS(t){return t&&Ao(t.canMatch)}function ev(t){return t instanceof Dt||t?.name==="EmptyError"}var Zs=Symbol("INITIAL_VALUE");function wr(){return ue(t=>_r(t.map(e=>e.pipe(Ct(1),Aa(Zs)))).pipe(O(e=>{for(let r of e)if(r!==!0){if(r===Zs)return Zs;if(r===!1||r instanceof Kt)return r}return!0}),te(e=>e!==Zs),Ct(1)))}function nS(t,e){return K(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?x(ee(D({},r),{guardsResult:!0})):rS(s,n,o,t).pipe(K(a=>a&&QM(a)?oS(n,i,t,e):x(a)),O(a=>ee(D({},r),{guardsResult:a})))})}function rS(t,e,r,n){return G(t).pipe(K(o=>cS(o.component,o.route,r,e,n)),rt(o=>o!==!0,!0))}function oS(t,e,r,n){return G(e).pipe(nt(o=>jn(sS(o.route.parent,n),iS(o.route,n),uS(t,o.path,r),aS(t,o.route,r))),rt(o=>o!==!0,!0))}function iS(t,e){return t!==null&&e&&e(new ed(t)),x(!0)}function sS(t,e){return t!==null&&e&&e(new Jl(t)),x(!0)}function aS(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return x(!0);let o=n.map(i=>ii(()=>{let s=_o(e)??r,a=Cr(i,s),u=JM(a)?a.canActivate(e,t):ht(s,()=>a(e,t));return en(u).pipe(rt())}));return x(o).pipe(wr())}function uS(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>qM(s)).filter(s=>s!==null).map(s=>ii(()=>{let a=s.guards.map(u=>{let c=_o(s.node)??r,l=Cr(u,c),d=XM(l)?l.canActivateChild(n,t):ht(c,()=>l(n,t));return en(d).pipe(rt())});return x(a).pipe(wr())}));return x(i).pipe(wr())}function cS(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return x(!0);let s=i.map(a=>{let u=_o(e)??o,c=Cr(a,u),l=eS(c)?c.canDeactivate(t,e,r,n):ht(u,()=>c(t,e,r,n));return en(l).pipe(rt())});return x(s).pipe(wr())}function lS(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return x(!0);let i=o.map(s=>{let a=Cr(s,t),u=KM(a)?a.canLoad(e,r):ht(t,()=>a(e,r));return en(u)});return x(i).pipe(wr(),tv(n))}function tv(t){return ya(ne(e=>{if(yr(e))throw Km(t,e)}),O(e=>e===!0))}function dS(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return x(!0);let i=o.map(s=>{let a=Cr(s,t),u=tS(a)?a.canMatch(e,r):ht(t,()=>a(e,r));return en(u)});return x(i).pipe(wr(),tv(n))}var Mo=class{constructor(e){this.segmentGroup=e||null}},sa=class extends Error{constructor(e){super(),this.urlTree=e}};function hr(t){return kn(new Mo(t))}function fS(t){return kn(new v(4e3,!1))}function hS(t){return kn(Jm(!1,3))}var ud=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 x(n);if(o.numberOfChildren>1||!o.children[R])return fS(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 sa(o);return o}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new Kt(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}},cd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function pS(t,e,r,n,o){let i=md(t,e,r);return i.matched?(n=HM(e,n),dS(n,e,r,o).pipe(O(s=>s===!0?i:D({},cd)))):x(i)}function md(t,e,r){if(e.path==="**")return gS(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},cd):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||lM)(r,t,e);if(!o)return D({},cd);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 gS(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&&yS(t,r,n)?{segmentGroup:new B(e,vS(n,new B(r,t.children))),slicedSegments:[]}:r.length===0&&DS(t,r,n)?{segmentGroup:new B(t.segments,mS(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new B(t.segments,t.children),slicedSegments:r}}function mS(t,e,r,n,o){let i={};for(let s of n)if(la(t,r,s)&&!o[vt(s)]){let a=new B([],{});i[vt(s)]=a}return D(D({},o),i)}function vS(t,e){let r={};r[R]=e;for(let n of t)if(n.path===""&&vt(n)!==R){let o=new B([],{});r[vt(n)]=o}return r}function yS(t,e,r){return r.some(n=>la(t,e,n)&&vt(n)!==R)}function DS(t,e,r){return r.some(n=>la(t,e,n))}function la(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function wS(t,e,r,n){return vt(t)!==n&&(n===R||!la(e,r,t))?!1:md(e,t,r).matched}function CS(t,e,r){return e.length===0&&!t.children[r]}var ld=class{};function ES(t,e,r,n,o,i,s="emptyOnly"){return new dd(t,e,r,n,o,s,i).recognize()}var IS=31,dd=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 ud(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 Io([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,{},R,this.rootComponentType,null,{}),o=new Pe(n,r),i=new oa("",o),s=_M(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(wt(n=>{if(n instanceof sa)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Mo?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,o=hd(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(nt(i=>{let s=n.children[i],a=zM(r,i);return this.processSegmentGroup(e,a,s,i)}),ai((i,s)=>(i.push(...s),i)),Vt(null),_a(),K(i=>{if(i===null)return hr(n);let s=nv(i);return bS(s),x(s)}))}processSegment(e,r,n,o,i,s){return G(r).pipe(nt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,o,i,s).pipe(wt(u=>{if(u instanceof Mo)return x(null);throw u}))),rt(a=>!!a),wt(a=>{if(ev(a))return CS(n,o,i)?x(new ld):hr(n);throw a}))}processSegmentAgainstRoute(e,r,n,o,i,s,a){return wS(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):hr(o):hr(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=md(r,o,i);if(!a)return hr(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>IS&&(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=pS(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 Io(l,f,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,SS(n),vt(n),n.component??n._loadedComponent??null,n,TS(n)),{segmentGroup:p,slicedSegments:S}=_m(r,l,d,u);if(S.length===0&&p.hasChildren())return this.processChildren(c,u,p).pipe(O(m=>m===null?null:new Pe(h,m)));if(u.length===0&&S.length===0)return x(new Pe(h,[]));let C=vt(n)===i;return this.processSegment(c,u,p,S,C?R:i,!0).pipe(O(m=>new Pe(h,m instanceof Pe?[m]:[])))}))):hr(r)))}getChildConfig(e,r,n){return r.children?x({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?x({routes:r._loadedRoutes,injector:r._loadedInjector}):lS(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})):hS(r))):x({routes:[],injector:e})}};function bS(t){t.sort((e,r)=>e.value.outlet===R?-1:r.value.outlet===R?1:e.value.outlet.localeCompare(r.value.outlet))}function MS(t){let e=t.value.routeConfig;return e&&e.path===""}function nv(t){let e=[],r=new Set;for(let n of t){if(!MS(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 SS(t){return t.data||{}}function TS(t){return t.resolve||{}}function xS(t,e,r,n,o,i){return K(s=>ES(t,e,r,n,s.extractedUrl,o,i).pipe(O(({state:a,tree:u})=>ee(D({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function _S(t,e){return K(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return x(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(nt(u=>i.has(u)?AS(u,n,t,e):(u.data=hd(u,u.parent,t).resolve,x(void 0))),ne(()=>a++),Vn(1),K(u=>a===s.size?x(r):Ie))})}function rv(t){let e=t.children.map(r=>rv(r)).flat();return[t,...e]}function AS(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!Ym(o)&&(i[So]=o.title),NS(i,t,e,n).pipe(O(s=>(t._resolvedData=s,t.data=hd(t,t.parent,r).resolve,null)))}function NS(t,e,r,n){let o=Bl(t);if(o.length===0)return x({});let i={};return G(o).pipe(K(s=>RS(t[s],e,r,n).pipe(rt(),ne(a=>{i[s]=a}))),Vn(1),xa(i),wt(s=>ev(s)?Ie:kn(s)))}function RS(t,e,r,n){let o=_o(e)??n,i=Cr(t,o),s=i.resolve?i.resolve(e,r):ht(o,()=>i(e,r));return en(s)}function $l(t){return ue(e=>{let r=t(e);return r?G(r).pipe(O(()=>e)):x(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[So]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>g(OS))(),providedIn:"root"});let t=e;return t})(),OS=(()=>{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(kl))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),No=new E("",{providedIn:"root",factory:()=>({})}),aa=new E("ROUTES"),vd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Es)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=en(n.loadComponent()).pipe(O(iv),ne(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),$t(()=>{this.componentLoaders.delete(n)})),i=new Rn(o,()=>new ae).pipe(Nn());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return x({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=PS(o,this.compiler,n,this.onLoadEndListener).pipe($t(()=>{this.childrenLoaders.delete(o)})),a=new Rn(s,()=>new ae).pipe(Nn());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 PS(t,e,r,n){return en(t.loadChildren()).pipe(O(iv),K(o=>o instanceof Wr||Array.isArray(o)?x(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(aa,[],{optional:!0,self:!0}).flat()),{routes:s.map(gd),injector:i}}))}function FS(t){return t&&typeof t=="object"&&"default"in t}function iv(t){return FS(t)?t.default:t}var yd=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>(()=>g(kS))(),providedIn:"root"});let t=e;return t})(),kS=(()=>{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 LS(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(),jS(t))),{onViewTransitionCreated:u}=n;return u&&ht(t,()=>u({transition:a,from:e,to:r})),s})}function jS(t){return new Promise(e=>{Zc(e,{injector:t})})}var Dd=(()=>{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(vd),this.environmentInjector=g(Ce),this.urlSerializer=g(To),this.rootContexts=g(xo),this.location=g(dr),this.inputBindingEnabled=g(ca,{optional:!0})!==null,this.titleStrategy=g(ov),this.options=g(No,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(yd),this.createViewTransition=g(sv,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Ql(i)),o=i=>this.events.next(new Kl(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:mo,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 x(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 Xt(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),Ie}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return x(c).pipe(ue(f=>{let h=this.transitions?.getValue();return this.events.next(new Dr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Ie:Promise.resolve(f)}),xS(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 ea(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:S,extras:C}=c,m=new Dr(f,this.urlSerializer.serialize(h),p,S);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,x(s)}else{let f="";return this.events.next(new Xt(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),Ie}}),ne(c=>{let l=new Gl(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:GM(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),nS(this.environmentInjector,c=>this.events.next(c)),ne(c=>{if(s.guardsResult=c.guardsResult,yr(c.guardsResult))throw Km(this.urlSerializer,c.guardsResult);let l=new ql(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)),$l(c=>{if(c.guards.canActivateChecks.length)return x(c).pipe(ne(l=>{let d=new Zl(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ue(l=>{let d=!1;return x(l).pipe(_S(this.paramsInheritanceStrategy,this.environmentInjector),ne({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",2)}}))}),ne(l=>{let d=new Yl(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),$l(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 _r(l(c.targetSnapshot.root)).pipe(Vt(null),Ct(1))}),$l(()=>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)):x(s)}),O(c=>{let l=jM(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 Co)}),WM(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ct(1),ne({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Qe(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),ui(this.transitionAbortSubject.pipe(ne(c=>{throw c}))),$t(()=>{if(!a&&!u){let c="";this.cancelNavigationTransition(s,c,1)}this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),wt(c=>{if(u=!0,Xm(c))this.events.next(new Jt(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),UM(c)?this.events.next(new Eo(c.url)):s.resolve(!1);else{this.events.next(new wo(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 Jt(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 VS(t){return t!==mo}var $S=(()=>{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})(),fd=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},US=(()=>{let e=class e extends fd{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ic(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(BS))(),providedIn:"root"});let t=e;return t})(),BS=(()=>{let e=class e extends uv{constructor(){super(...arguments),this.location=g(dr),this.urlSerializer=g(To),this.options=g(No,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(yd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Kt,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 Dr)this.stateMemento=this.createStateMemento();else if(n instanceof Xt)this.rawUrlTree=o.initialUrl;else if(n instanceof ea){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof Co?(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 Jt&&(n.code===3||n.code===2)?this.restoreHistory(o):n instanceof wo?this.restoreHistory(o,!0):n instanceof Qe&&(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=Ic(e)))(i||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),po=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(po||{});function cv(t,e){t.events.pipe(te(r=>r instanceof Qe||r instanceof Jt||r instanceof wo||r instanceof Xt),O(r=>r instanceof Qe||r instanceof Xt?po.COMPLETE:(r instanceof Jt?r.code===0||r.code===1:!1)?po.REDIRECTING:po.FAILED),te(r=>r!==po.REDIRECTING),Ct(1)).subscribe(()=>{e()})}function HS(t){throw t}var zS={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},WS={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Lt=(()=>{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(Cs),this.stateManager=g(uv),this.options=g(No,{optional:!0})||{},this.pendingTasks=g(wn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(Dd),this.urlSerializer=g(To),this.location=g(dr),this.urlHandlingStrategy=g(yd),this._events=new ae,this.errorHandler=this.options.errorHandler||HS,this.navigated=!1,this.routeReuseStrategy=g($S),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(aa,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(ca,{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 Jt&&o.code!==0&&o.code!==1)this.navigated=!0;else if(o instanceof Qe)this.navigated=!0;else if(o instanceof Eo){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u={skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||VS(i.source)};this.scheduleNavigation(a,mo,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}qS(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),mo,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(gd),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=yr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,mo,null,o)}navigate(n,o={skipLocationChange:!1}){return GS(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({},zS):o===!1?i=D({},WS):i=o,yr(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 GS(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new v(4008,!1)}function qS(t){return!(t instanceof Co)&&!(t instanceof Eo)}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 Qe&&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:Sp(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(Lt),L(Sn),bc("tabindex"),L(qt),L(je),L(kt))},e.\u0275dir=ke({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&tl("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Qc("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",Yt],skipLocationChange:["skipLocationChange","skipLocationChange",Yt],replaceUrl:["replaceUrl","replaceUrl",Yt],routerLink:"routerLink"},standalone:!0,features:[ps,xt]});let t=e;return t})(),pL=(()=>{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 Qe&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(tt()).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(tt()).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=ZS(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(Lt),L(je),L(qt),L(ur),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:[xt]});let t=e;return t})();function ZS(t){return!!t.paths}var ua=class{};var YS=(()=>{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 Qe),nt(()=>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=ys(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(tt())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=x(null);let s=i.pipe(K(a=>a===null?x(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(tt())}else return s})}};e.\u0275fac=function(o){return new(o||e)(y(Lt),y(Es),y(Ce),y(ua),y(vd))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lv=new E(""),QS=(()=>{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 Dr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Qe?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Xt&&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 ta&&(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 ta(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){Rp()},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function KS(t){return t.routerState.root}function Ro(t,e){return{\u0275kind:t,\u0275providers:e}}function JS(){let t=g(Ae);return e=>{let r=t.get(Cn);if(e!==r.components[0])return;let n=t.get(Lt),o=t.get(dv);t.get(wd)===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}),wd=new E("",{providedIn:"root",factory:()=>1});function XS(){return Ro(2,[{provide:wd,useValue:0},{provide:Ms,multi:!0,deps:[Ae],useFactory:e=>{let r=e.get(Yg,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(Lt),i=e.get(dv);cv(o,()=>{n(!0)}),e.get(Dd).afterPreactivation=()=>(n(!0),i.closed?x(void 0):i),o.initialNavigation()}))}}])}function eT(){return Ro(3,[{provide:Ms,multi:!0,useFactory:()=>{let e=g(Lt);return()=>{e.setUpLocationChangeListener()}}},{provide:wd,useValue:2}])}var fv=new E("");function tT(t){return Ro(0,[{provide:fv,useExisting:YS},{provide:ua,useExisting:t}])}function nT(){return Ro(8,[xm,{provide:ca,useExisting:xm}])}function rT(t){let e=[{provide:sv,useValue:LS},{provide:av,useValue:D({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ro(9,e)}var Nm=new E("ROUTER_FORROOT_GUARD"),oT=[dr,{provide:To,useClass:yo},Lt,xo,{provide:Sn,useFactory:KS,deps:[Lt]},vd,[]],gL=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[oT,[],{provide:aa,multi:!0,useValue:n},{provide:Nm,useFactory:uT,deps:[[Lt,new Kr,new ts]]},{provide:No,useValue:o||{}},o?.useHash?sT():aT(),iT(),o?.preloadingStrategy?tT(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?cT(o):[],o?.bindToComponentInputs?nT().\u0275providers:[],o?.enableViewTransitions?rT().\u0275providers:[],lT()]}}static forChild(n){return{ngModule:e,providers:[{provide:aa,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(y(Nm,8))},e.\u0275mod=Tt({type:e}),e.\u0275inj=St({});let t=e;return t})();function iT(){return{provide:lv,useFactory:()=>{let t=g(rm),e=g(H),r=g(No),n=g(Dd),o=g(To);return r.scrollOffset&&t.setOffset(r.scrollOffset),new QS(o,n,t,e,r)}}}function sT(){return{provide:kt,useClass:Kg}}function aT(){return{provide:kt,useClass:wl}}function uT(t){return"guarded"}function cT(t){return[t.initialNavigation==="disabled"?eT().\u0275providers:[],t.initialNavigation==="enabledBlocking"?XS().\u0275providers:[]]}var Rm=new E("");function lT(){return[{provide:Rm,useFactory:JS},{provide:Ss,multi:!0,useExisting:Rm}]}var yL="*";function DL(t,e){return{type:7,name:t,definitions:e,options:{}}}function wL(t,e=null){return{type:4,styles:e,timings:t}}function CL(t,e=null){return{type:3,steps:t,options:e}}function EL(t,e=null){return{type:2,steps:t,options:e}}function IL(t){return{type:6,styles:t,offset:null}}function bL(t,e,r){return{type:0,name:t,styles:e,options:r}}function ML(t){return{type:5,steps:t}}function SL(t,e,r=null){return{type:1,expr:t,animation:e,options:r}}function TL(t=null){return{type:9,options:t}}function xL(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}},_L="!";export{Q as a,k as b,ae as c,de as d,br as e,Rv as f,Xe as g,Ov as h,Pv as i,Ie as j,Tr as k,xr as l,G as m,x as n,kn as o,kv as p,O as q,_r as r,K as s,tt as t,jn as u,ii as v,Gv as w,Ta as x,Ar as y,Xv as z,ey as A,te as B,ty as C,ny as D,wt as E,nt as F,ry as G,oy as H,Ct as I,iy as J,sy as K,cy as L,$t as M,rt as N,ai as O,Ca as P,Rd as Q,ly as R,Aa as S,ue as T,dy as U,ui as V,fy as W,ne as X,hy as Y,zf as Z,v as _,w as $,St as aa,E as ba,y as ca,g as da,sh as ea,Tt as fa,ke as ga,Zr as ha,xt as ia,dk as ja,fk as ka,hk as la,pk as ma,Ic as na,bc as oa,Kr as pa,ts as qa,ns as ra,Ae as sa,os as ta,pt as ua,gk as va,_c as wa,Ze as xa,mk as ya,sC as za,cs as Aa,je as Ba,$r as Ca,qt as Da,lt as Ea,vk as Fa,L as Ga,Rp as Ha,ur as Ia,fe as Ja,H as Ka,TE as La,ps as Ma,Qc as Na,HE as Oa,Jc as Pa,zE as Qa,yk as Ra,Dk as Sa,gt as Ta,qu as Ua,Ek as Va,Ik as Wa,bk as Xa,Mk as Ya,dg as Za,fg as _a,Xc as $a,hg as ab,pg as bb,mI as cb,Sk as db,yI as eb,DI as fb,cr as gb,tl as hb,MI as ib,Tk as jb,xk as kb,_k as lb,xI as mb,_I as nb,Ak as ob,Nk as pb,RI as qb,vg as rb,OI as sb,Rk as tb,wg as ub,Ok as vb,Pk as wb,Fk as xb,kk as yb,Lk as zb,jk as Ab,Vk as Bb,$k as Cb,Uk as Db,Bk as Eb,Hk as Fb,nc as Gb,mn as Hb,Mg as Ib,Wk as Jb,Sg as Kb,Tg as Lb,Gk as Mb,rr as Nb,qk as Ob,Ms as Pb,Cn as Qb,no as Rb,Zk as Sb,Yt as Tb,il as Ub,En as Vb,ie as Wb,dr as Xb,l1 as Yb,d1 as Zb,f1 as _b,h1 as $b,p1 as ac,g1 as bc,m1 as cc,v1 as dc,y1 as ec,D1 as fc,nm as gc,w1 as hc,Vs as ic,C1 as jc,E0 as kc,M0 as lc,k1 as mc,mm as nc,Y1 as oc,Q1 as pc,kl as qc,aM as rc,yL as sc,DL as tc,wL as uc,CL as vc,EL as wc,IL as xc,bL as yc,ML as zc,SL as Ac,TL as Bc,xL as Cc,hv as Dc,pv as Ec,_L as Fc,Qe as Gc,Sn as Hc,LM as Ic,Lt as Jc,Am as Kc,pL as Lc,gL as Mc};