dealpostools 2.6.2 → 25.44.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 (81) hide show
  1. package/package.json +1 -1
  2. package/tools/3rdpartylicenses.txt +505 -161
  3. package/tools/chunk-2C225VYE.js +2 -0
  4. package/tools/chunk-2HIM3UX2.js +1 -0
  5. package/tools/chunk-4F5TWOC5.js +3 -0
  6. package/tools/chunk-54CMHXEM.js +3 -0
  7. package/tools/chunk-6SUCPVGV.js +1 -0
  8. package/tools/chunk-73XB25WH.js +1 -0
  9. package/tools/chunk-A6UDXX4L.js +3 -0
  10. package/tools/chunk-B3N76L3I.js +2 -0
  11. package/tools/chunk-BBGB7I4B.js +1 -0
  12. package/tools/chunk-DHBBWJUT.js +193 -0
  13. package/tools/chunk-DWYIM5CC.js +1 -0
  14. package/tools/chunk-EASBGMMC.js +1 -0
  15. package/tools/chunk-EC3GOKCC.js +2 -0
  16. package/tools/chunk-ENDTIDEL.js +1 -0
  17. package/tools/chunk-F5X5MWHG.js +0 -0
  18. package/tools/chunk-FAJZECQR.js +13 -0
  19. package/tools/chunk-FBCQBCW3.js +8 -0
  20. package/tools/chunk-FG4S6NWY.js +3 -0
  21. package/tools/chunk-FPASOMCI.js +2 -0
  22. package/tools/chunk-H6RLFBCZ.js +1 -0
  23. package/tools/chunk-HRH3TYVG.js +1 -0
  24. package/tools/chunk-HSN6HHU7.js +1 -0
  25. package/tools/chunk-IIJMZKPL.js +1 -0
  26. package/tools/chunk-JPDEIDEJ.js +1 -0
  27. package/tools/chunk-K2H6WANG.js +1 -0
  28. package/tools/chunk-KJXJE53Y.js +17 -0
  29. package/tools/chunk-L4FL72G2.js +1 -0
  30. package/tools/chunk-MO5X4QZG.js +1 -0
  31. package/tools/chunk-NR6MRK3T.js +1 -0
  32. package/tools/chunk-NU4XUYAX.js +1 -0
  33. package/tools/chunk-OXC3XM5P.js +1 -0
  34. package/tools/chunk-RFR3OPT5.js +1 -0
  35. package/tools/chunk-SDDPQVXQ.js +3 -0
  36. package/tools/chunk-SMABOF7H.js +1 -0
  37. package/tools/chunk-UC6KKYVW.js +1 -0
  38. package/tools/chunk-V5WYSCVT.js +21 -0
  39. package/tools/chunk-VYXNTLH6.js +1 -0
  40. package/tools/chunk-WEA73DPD.js +926 -0
  41. package/tools/chunk-XVYRBDMB.js +1 -0
  42. package/tools/chunk-Y2MSHJTG.js +1 -0
  43. package/tools/chunk-ZQZNA72T.js +1 -0
  44. package/tools/index.html +5 -5
  45. package/tools/main-M7PZTTNB.js +3 -0
  46. package/tools/media/primeicons-4GST5W3O.woff2 +0 -0
  47. package/tools/{primeicons.76044b1c189cc4d7.svg → media/primeicons-DHQU4SEP.svg} +110 -35
  48. package/tools/{primeicons.5f5d08cd089b4e5d.ttf → media/primeicons-GEFHGEHP.ttf} +0 -0
  49. package/tools/{primeicons.29151a741d66863a.woff → media/primeicons-P53SE5CV.woff} +0 -0
  50. package/tools/{primeicons.964f445f3ea9db80.eot → media/primeicons-RSSEDYLY.eot} +0 -0
  51. package/tools/polyfills-BUUDEW7V.js +2 -0
  52. package/tools/prerendered-routes.json +3 -0
  53. package/tools/scripts-ZCJ6RYLB.js +8 -0
  54. package/tools/styles-YGWQG6GA.css +1 -0
  55. package/tools/135.19604e09c5416ad2.js +0 -1
  56. package/tools/153.18af2b93edbc5742.js +0 -1
  57. package/tools/431.be4811f614158e07.js +0 -1
  58. package/tools/528.ff211eec2b035adb.js +0 -1
  59. package/tools/572.101a54bef6e1f498.js +0 -1
  60. package/tools/573.e2ecd3020f30ae64.js +0 -1
  61. package/tools/574.1c19346387b8519f.js +0 -1
  62. package/tools/669.35df13b66c6f6b6c.js +0 -1
  63. package/tools/692.21819262e72254c6.js +0 -1
  64. package/tools/696.132f96b645ff773d.js +0 -1
  65. package/tools/700.d641161403638a21.js +0 -1
  66. package/tools/757.e159c8e455d9935b.js +0 -1
  67. package/tools/792.b0502d19fc7b3923.js +0 -1
  68. package/tools/805.08a569c3acbec885.js +0 -1
  69. package/tools/818.e84d0f0fa59d6451.js +0 -1
  70. package/tools/91.6b71156c85cded25.js +0 -1
  71. package/tools/967.0b1f5043f46fc2a0.js +0 -1
  72. package/tools/983.730b43513822f7e7.js +0 -1
  73. package/tools/998.4a07a80e0d3634da.js +0 -1
  74. package/tools/color.dae87a04d07ca92b.png +0 -0
  75. package/tools/common.7c8ab3e99088d717.js +0 -1
  76. package/tools/hue.8b1818380241e6ac.png +0 -0
  77. package/tools/main.cc96db47aa78be31.js +0 -1
  78. package/tools/polyfills.20890db57b62159d.js +0 -1
  79. package/tools/runtime.bcd34bab5e4a7057.js +0 -1
  80. package/tools/scripts.96e155fd8f109bec.js +0 -1
  81. package/tools/styles.345e387c0c8b4ac0.css +0 -19
@@ -0,0 +1,8 @@
1
+ import{a as y,b as B,i as mi,k as Pf,l as vi,m as Ff,n as Lf}from"./chunk-K2H6WANG.js";function M(e){return typeof e=="function"}function qt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var yi=qt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function gn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Q=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(M(r))try{r()}catch(i){t=i instanceof yi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{jf(i)}catch(s){t=t??[],s instanceof yi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new yi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)jf(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&gn(n,t)}remove(t){let{_finalizers:n}=this;n&&gn(n,t),t instanceof e&&t._removeParent(this)}};Q.EMPTY=(()=>{let e=new Q;return e.closed=!0,e})();var hc=Q.EMPTY;function Di(e){return e instanceof Q||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function jf(e){M(e)?e():e.unsubscribe()}var qe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var zn={setTimeout(e,t,...n){let{delegate:r}=zn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=zn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ei(e){zn.setTimeout(()=>{let{onUnhandledError:t}=qe;if(t)t(e);else throw e})}function bt(){}var Vf=pc("C",void 0,void 0);function Bf(e){return pc("E",void 0,e)}function Uf(e){return pc("N",e,void 0)}function pc(e,t,n){return{kind:e,value:t,error:n}}var mn=null;function qn(e){if(qe.useDeprecatedSynchronousErrorHandling){let t=!mn;if(t&&(mn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=mn;if(mn=null,n)throw r}}else e()}function $f(e){qe.useDeprecatedSynchronousErrorHandling&&mn&&(mn.errorThrown=!0,mn.error=e)}var vn=class extends Q{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Di(t)&&t.add(this)):this.destination=SD}static create(t,n,r){return new Mt(t,n,r)}next(t){this.isStopped?mc(Uf(t),this):this._next(t)}error(t){this.isStopped?mc(Bf(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?mc(Vf,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},MD=Function.prototype.bind;function gc(e,t){return MD.call(e,t)}var vc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){wi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){wi(r)}else wi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){wi(n)}}},Mt=class extends vn{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&qe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&gc(t.next,i),error:t.error&&gc(t.error,i),complete:t.complete&&gc(t.complete,i)}):o=t}this.destination=new vc(o)}};function wi(e){qe.useDeprecatedSynchronousErrorHandling?$f(e):Ei(e)}function TD(e){throw e}function mc(e,t){let{onStoppedNotification:n}=qe;n&&zn.setTimeout(()=>n(e,t))}var SD={closed:!0,next:bt,error:TD,complete:bt};var Gn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ie(e){return e}function yc(...e){return Dc(e)}function Dc(e){return e.length===0?Ie:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var L=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=ND(n)?n:new Mt(n,r,o);return qn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Hf(r),new r((o,i)=>{let s=new Mt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Gn](){return this}pipe(...n){return Dc(n)(this)}toPromise(n){return n=Hf(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Hf(e){var t;return(t=e??qe.Promise)!==null&&t!==void 0?t:Promise}function _D(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function ND(e){return e&&e instanceof vn||_D(e)&&Di(e)}var zf=qt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=(()=>{class e extends L{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Ii(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new zf}next(n){qn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){qn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){qn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?hc:(this.currentObservers=null,i.push(n),new Q(()=>{this.currentObservers=null,gn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new L;return n.source=this,n}}return e.create=(t,n)=>new Ii(t,n),e})(),Ii=class extends K{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:hc}};var fe=class extends K{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function Ec(e){return M(e?.lift)}function T(e){return t=>{if(Ec(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function b(e,t,n,r,o){return new wc(e,t,n,r,o)}var wc=class extends vn{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function k(e,t){return T((n,r)=>{let o=0;n.subscribe(b(r,i=>{r.next(e.call(t,i,o++))}))})}function ne(e,t){return T((n,r)=>{let o=0;n.subscribe(b(r,i=>e.call(t,i,o++)&&r.next(i)))})}var Wn=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ci(e){return M(e?.then)}function bi(e){return M(e[Gn])}function Mi(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function Ti(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function RD(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Si=RD();function _i(e){return M(e?.[Si])}function Ni(e){return Ff(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield vi(n.read());if(o)return yield vi(void 0);yield yield vi(r)}}finally{n.releaseLock()}})}function Ri(e){return M(e?.getReader)}function F(e){if(e instanceof L)return e;if(e!=null){if(bi(e))return xD(e);if(Wn(e))return AD(e);if(Ci(e))return OD(e);if(Mi(e))return qf(e);if(_i(e))return kD(e);if(Ri(e))return PD(e)}throw Ti(e)}function xD(e){return new L(t=>{let n=e[Gn]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function AD(e){return new L(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function OD(e){return new L(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ei)})}function kD(e){return new L(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function qf(e){return new L(t=>{FD(e,t).catch(n=>t.error(n))})}function PD(e){return qf(Ni(e))}function FD(e,t){var n,r,o,i;return Pf(this,void 0,void 0,function*(){try{for(n=Lf(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function he(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Gf(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=m=>u<r?p(m):c.push(m),p=m=>{i&&t.next(m),u++;let w=!1;F(n(m,l++)).subscribe(b(t,_=>{o?.(_),i?f(_):t.next(_)},()=>{w=!0},void 0,()=>{if(w)try{for(u--;c.length&&u<r;){let _=c.shift();s?he(t,s,()=>p(_)):p(_)}h()}catch(_){t.error(_)}}))};return e.subscribe(b(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Z(e,t,n=1/0){return M(t)?Z((r,o)=>k((i,s)=>t(r,i,o,s))(F(e(r,o))),n):(typeof t=="number"&&(n=t),T((r,o)=>Gf(r,o,e,n)))}function Ge(e,t){return M(t)?Z(e,t,1):Z(e,1)}var Wr={now(){return(Wr.delegate||Date).now()},delegate:void 0};var Zr=class extends K{constructor(t=1/0,n=1/0,r=Wr){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function Cc(e={}){let{connector:t=()=>new K,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},p=()=>{let m=s;f(),m?.unsubscribe()};return T((m,w)=>{u++,!d&&!l&&h();let _=c=c??t();w.add(()=>{u--,u===0&&!d&&!l&&(a=Ic(p,o))}),_.subscribe(w),!s&&u>0&&(s=new Mt({next:J=>_.next(J),error:J=>{d=!0,h(),a=Ic(f,n,J),_.error(J)},complete:()=>{l=!0,h(),a=Ic(f,r),_.complete()}}),F(m).subscribe(s))})(i)}}function Ic(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Mt({next:()=>{r.unsubscribe(),e()}});return F(t(...n)).subscribe(r)}function Wf(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Cc({connector:()=>new Zr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function ue(e,t,n){let r=M(e)||t||n?{next:e,error:t,complete:n}:e;return r?T((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(b(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Ie}function Zn(){return T((e,t)=>{let n=null;e._refCount++;let r=b(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Yn=class extends L{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ec(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Q;let n=this.getSubject();t.add(this.source.subscribe(b(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Q.EMPTY)}return t}refCount(){return Zn()(this)}};var Qn={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Qn;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new Q(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Qn;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Qn;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var xi=class extends Q{constructor(t,n){super()}schedule(t,n=0){return this}};var Yr={setInterval(e,t,...n){let{delegate:r}=Yr;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Yr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var it=class extends xi{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Yr.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Yr.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,gn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var LD=1,bc,Mc={};function Zf(e){return e in Mc?(delete Mc[e],!0):!1}var Yf={setImmediate(e){let t=LD++;return Mc[t]=!0,bc||(bc=Promise.resolve()),bc.then(()=>Zf(t)&&e()),t},clearImmediate(e){Zf(e)}};var{setImmediate:jD,clearImmediate:VD}=Yf,Qr={setImmediate(...e){let{delegate:t}=Qr;return(t?.setImmediate||jD)(...e)},clearImmediate(e){let{delegate:t}=Qr;return(t?.clearImmediate||VD)(e)},delegate:void 0};var Ai=class extends it{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Qr.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Qr.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Kn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Kn.now=Wr.now;var st=class extends Kn{constructor(t,n=Kn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Oi=class extends st{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var BD=new Oi(Ai);var at=new st(it),Tc=at;var ki=class extends it{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var Pi=class extends st{};var UD=new Pi(ki);var Fi=class extends it{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Qn.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Qn.cancelAnimationFrame(n),t._scheduled=void 0)}};var Li=class extends st{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var $D=new Li(Fi);var pe=new L(e=>e.complete());function ji(e){return e&&M(e.schedule)}function Sc(e){return e[e.length-1]}function Vi(e){return M(Sc(e))?e.pop():void 0}function ct(e){return ji(Sc(e))?e.pop():void 0}function Qf(e,t){return typeof Sc(e)=="number"?e.pop():t}function Kr(e,t=0){return T((n,r)=>{n.subscribe(b(r,o=>he(r,e,()=>r.next(o),t),()=>he(r,e,()=>r.complete(),t),o=>he(r,e,()=>r.error(o),t)))})}function Jr(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Kf(e,t){return F(e).pipe(Jr(t),Kr(t))}function Jf(e,t){return F(e).pipe(Jr(t),Kr(t))}function Xf(e,t){return new L(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function eh(e,t){return new L(n=>{let r;return he(n,t,()=>{r=e[Si](),he(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>M(r?.return)&&r.return()})}function Bi(e,t){if(!e)throw new Error("Iterable cannot be null");return new L(n=>{he(n,t,()=>{let r=e[Symbol.asyncIterator]();he(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function th(e,t){return Bi(Ni(e),t)}function nh(e,t){if(e!=null){if(bi(e))return Kf(e,t);if(Wn(e))return Xf(e,t);if(Ci(e))return Jf(e,t);if(Mi(e))return Bi(e,t);if(_i(e))return eh(e,t);if(Ri(e))return th(e,t)}throw Ti(e)}function $(e,t){return t?nh(e,t):F(e)}function S(...e){let t=ct(e);return $(e,t)}function Jn(e,t){let n=M(e)?e:()=>e,r=o=>o.error(n());return new L(t?o=>t.schedule(r,0,o):r)}function _c(e){return!!e&&(e instanceof L||M(e.lift)&&M(e.subscribe))}var Tt=qt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ui(e){return e instanceof Date&&!isNaN(e)}var HD=qt(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function zD(e,t){let{first:n,each:r,with:o=qD,scheduler:i=t??at,meta:s=null}=Ui(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return T((a,c)=>{let u,l,d=null,h=0,f=p=>{l=he(c,i,()=>{try{u.unsubscribe(),F(o({meta:s,lastValue:d,seen:h})).subscribe(c)}catch(m){c.error(m)}},p)};u=a.subscribe(b(c,p=>{l?.unsubscribe(),h++,c.next(d=p),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!h&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function qD(e){throw new HD(e)}var{isArray:GD}=Array;function WD(e,t){return GD(t)?e(...t):e(t)}function Xn(e){return k(t=>WD(e,t))}var{isArray:ZD}=Array,{getPrototypeOf:YD,prototype:QD,keys:KD}=Object;function $i(e){if(e.length===1){let t=e[0];if(ZD(t))return{args:t,keys:null};if(JD(t)){let n=KD(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function JD(e){return e&&typeof e=="object"&&YD(e)===QD}function Hi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Xr(...e){let t=ct(e),n=Vi(e),{args:r,keys:o}=$i(e);if(r.length===0)return $([],t);let i=new L(XD(r,t,o?s=>Hi(o,s):Ie));return n?i.pipe(Xn(n)):i}function XD(e,t,n=Ie){return r=>{rh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)rh(t,()=>{let u=$(e[c],t),l=!1;u.subscribe(b(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function rh(e,t,n){e?he(n,e,t):t()}function ut(e=1/0){return Z(Ie,e)}function oh(){return ut(1)}function Gt(...e){return oh()($(e,ct(e)))}function zi(e){return new L(t=>{F(e()).subscribe(t)})}function eE(...e){let t=Vi(e),{args:n,keys:r}=$i(e),o=new L(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;F(n[l]).subscribe(b(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Hi(r,a):a),i.complete())}))}});return t?o.pipe(Xn(t)):o}var tE=["addListener","removeListener"],nE=["addEventListener","removeEventListener"],rE=["on","off"];function Nc(e,t,n,r){if(M(n)&&(r=n,n=void 0),r)return Nc(e,t,n).pipe(Xn(r));let[o,i]=sE(e)?nE.map(s=>a=>e[s](t,a,n)):oE(e)?tE.map(ih(e,t)):iE(e)?rE.map(ih(e,t)):[];if(!o&&Wn(e))return Z(s=>Nc(s,t,n))(F(e));if(!o)throw new TypeError("Invalid event target");return new L(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function ih(e,t){return n=>r=>e[n](t,r)}function oE(e){return M(e.addListener)&&M(e.removeListener)}function iE(e){return M(e.on)&&M(e.off)}function sE(e){return M(e.addEventListener)&&M(e.removeEventListener)}function eo(e=0,t,n=Tc){let r=-1;return t!=null&&(ji(t)?n=t:r=t),new L(o=>{let i=Ui(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function aE(...e){let t=ct(e),n=Qf(e,1/0),r=e;return r.length?r.length===1?F(r[0]):ut(n)($(r,t)):pe}function sh(e,t){return(n,r)=>!e.call(t,n,r)}function cE(e,t,n){return[ne(t,n)(F(e)),ne(sh(t,n))(F(e))]}function ah(e){return T((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(b(n,u=>{r=!0,o=u,i||F(e(u)).subscribe(i=b(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function uE(e,t=at){return ah(()=>eo(e,t))}function St(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(b(n,void 0,void 0,s=>{i=F(e(s,St(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function ch(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(b(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function lE(e){return T((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(b(n,a=>{i?.unsubscribe(),r=!0,o=a,i=b(n,s,bt),F(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function dE(e,t=at){return T((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(b(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Wt(e){return T((t,n)=>{let r=!1;t.subscribe(b(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function $e(e){return e<=0?()=>pe:T((t,n)=>{let r=0;t.subscribe(b(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function uh(){return T((e,t)=>{e.subscribe(b(t,bt))})}function lh(e){return k(()=>e)}function Rc(e,t){return t?n=>Gt(t.pipe($e(1),uh()),n.pipe(Rc(e))):Z((n,r)=>F(e(n,r)).pipe($e(1),lh(n)))}function fE(e,t=at){let n=eo(e,t);return Rc(()=>n)}function hE(e,t=Ie){return e=e??pE,T((n,r)=>{let o,i=!0;n.subscribe(b(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function pE(e,t){return e===t}function qi(e=gE){return T((t,n)=>{let r=!1;t.subscribe(b(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function gE(){return new Tt}function Zt(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function _t(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ne((o,i)=>e(o,i,r)):Ie,$e(1),n?Wt(t):qi(()=>new Tt))}function er(e){return e<=0?()=>pe:T((t,n)=>{let r=[];t.subscribe(b(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function xc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ne((o,i)=>e(o,i,r)):Ie,er(1),n?Wt(t):qi(()=>new Tt))}function mE(){return T((e,t)=>{let n,r=!1;e.subscribe(b(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Ac(e,t){return T(ch(e,t,arguments.length>=2,!0))}function vE(e){return ne((t,n)=>e<=n)}function Oc(...e){let t=ct(e);return T((n,r)=>{(t?Gt(e,n,t):Gt(e,n)).subscribe(r)})}function le(e,t){return T((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(b(r,c=>{o?.unsubscribe();let u=0,l=i++;F(e(c,l)).subscribe(o=b(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function yE(e,t){return M(t)?le(()=>e,t):le(()=>e)}function kc(e){return T((t,n)=>{F(e).subscribe(b(n,()=>n.complete(),bt)),!n.closed&&t.subscribe(n)})}function DE(e,t=!1){return T((n,r)=>{let o=0;n.subscribe(b(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function jc(e,t){return Object.is(e,t)}var se=null,Gi=!1,Vc=1,Ce=Symbol("SIGNAL");function x(e){let t=se;return se=e,t}function Bc(){return se}var tr={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,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function nr(e){if(Gi)throw new Error("");if(se===null)return;se.consumerOnSignalRead(e);let t=se.nextProducerIndex++;if(Ki(se),t<se.producerNode.length&&se.producerNode[t]!==e&&to(se)){let n=se.producerNode[t];Qi(n,se.producerIndexOfThis[t])}se.producerNode[t]!==e&&(se.producerNode[t]=e,se.producerIndexOfThis[t]=to(se)?fh(e,se,t):0),se.producerLastReadVersion[t]=e.version}function dh(){Vc++}function Uc(e){if(!(to(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Vc)){if(!e.producerMustRecompute(e)&&!Yi(e)){Lc(e);return}e.producerRecomputeValue(e),Lc(e)}}function $c(e){if(e.liveConsumerNode===void 0)return;let t=Gi;Gi=!0;try{for(let n of e.liveConsumerNode)n.dirty||EE(n)}finally{Gi=t}}function Hc(){return se?.consumerAllowSignalWrites!==!1}function EE(e){e.dirty=!0,$c(e),e.consumerMarkedDirty?.(e)}function Lc(e){e.dirty=!1,e.lastCleanEpoch=Vc}function no(e){return e&&(e.nextProducerIndex=0),x(e)}function Zi(e,t){if(x(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(to(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Qi(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Yi(e){Ki(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Uc(n),r!==n.version))return!0}return!1}function ro(e){if(Ki(e),to(e))for(let t=0;t<e.producerNode.length;t++)Qi(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function fh(e,t,n){if(hh(e),e.liveConsumerNode.length===0&&ph(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=fh(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Qi(e,t){if(hh(e),e.liveConsumerNode.length===1&&ph(e))for(let r=0;r<e.producerNode.length;r++)Qi(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Ki(o),o.producerIndexOfThis[r]=t}}function to(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Ki(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function hh(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ph(e){return e.producerNode!==void 0}function Ji(e,t){let n=Object.create(wE);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Uc(n),nr(n),n.value===Wi)throw n.error;return n.value};return r[Ce]=n,r}var Pc=Symbol("UNSET"),Fc=Symbol("COMPUTING"),Wi=Symbol("ERRORED"),wE=B(y({},tr),{value:Pc,dirty:!0,error:null,equal:jc,kind:"computed",producerMustRecompute(e){return e.value===Pc||e.value===Fc},producerRecomputeValue(e){if(e.value===Fc)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Fc;let n=no(e),r,o=!1;try{r=e.computation(),x(null),o=t!==Pc&&t!==Wi&&r!==Wi&&e.equal(t,r)}catch(i){r=Wi,e.error=i}finally{Zi(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function IE(){throw new Error}var gh=IE;function mh(e){gh(e)}function zc(e){gh=e}var CE=null;function qc(e,t){let n=Object.create(Xi);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(nr(n),n.value);return r[Ce]=n,r}function rr(e,t){Hc()||mh(e),e.equal(e.value,t)||(e.value=t,bE(e))}function Gc(e,t){Hc()||mh(e),rr(e,t(e.value))}var Xi=B(y({},tr),{equal:jc,value:void 0,kind:"signal"});function bE(e){e.version++,dh(),$c(e),CE?.()}function Wc(e){let t=x(null);try{return e()}finally{x(t)}}var Zc;function oo(){return Zc}function Nt(e){let t=Zc;return Zc=e,t}var es=Symbol("NotFound");var pp="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",v=class extends Error{code;constructor(t,n){super(Us(t,n)),this.code=t}};function _E(e){return`NG0${Math.abs(e)}`}function Us(e,t){return`${_E(e)}${t?": "+t:""}`}var $s=Symbol("InputSignalNode#UNSET"),gp=B(y({},Xi),{transformFn:void 0,applyValueToInputSignal(e,t){rr(e,t)}});function mp(e,t){let n=Object.create(gp);n.value=e,n.transformFn=t?.transform;function r(){if(nr(n),n.value===$s){let o=null;throw new v(-950,o)}return n.value}return r[Ce]=n,r}function wo(e){return{toString:e}.toString()}var ts="__parameters__";function NE(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function vp(e,t,n){return wo(()=>{let r=NE(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(ts)?c[ts]:Object.defineProperty(c,ts,{value:[]})[ts];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var de=globalThis;function z(e){for(let t in e)if(e[t]===z)return t;throw Error("Could not find renamed property on target object.")}function RE(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function _e(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(_e).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function lu(e,t){return e?t?`${e} ${t}`:e:t||""}var xE=z({__forward_ref__:z});function yp(e){return e.__forward_ref__=yp,e.toString=function(){return _e(this())},e}function be(e){return Dp(e)?e():e}function Dp(e){return typeof e=="function"&&e.hasOwnProperty(xE)&&e.__forward_ref__===yp}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function kt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Hs(e){return vh(e,wp)||vh(e,Ip)}function Ep(e){return Hs(e)!==null}function vh(e,t){return e.hasOwnProperty(t)?e[t]:null}function AE(e){let t=e&&(e[wp]||e[Ip]);return t||null}function yh(e){return e&&(e.hasOwnProperty(Dh)||e.hasOwnProperty(OE))?e[Dh]:null}var wp=z({\u0275prov:z}),Dh=z({\u0275inj:z}),Ip=z({ngInjectableDef:z}),OE=z({ngInjectorDef:z}),D=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Cp(e){return e&&!!e.\u0275providers}var kE=z({\u0275cmp:z}),PE=z({\u0275dir:z}),FE=z({\u0275pipe:z}),LE=z({\u0275mod:z}),fs=z({\u0275fac:z}),co=z({__NG_ELEMENT_ID__:z}),Eh=z({__NG_ENV_ID__:z});function wn(e){return typeof e=="string"?e:e==null?"":String(e)}function jE(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():wn(e)}function bp(e,t){throw new v(-200,e)}function El(e,t){throw new v(-201,!1)}var P=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(P||{}),du;function Mp(){return du}function Se(e){let t=du;return du=e,t}function Tp(e,t,n){let r=Hs(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&P.Optional)return null;if(t!==void 0)return t;El(e,"Injector")}var VE={},Dn=VE,fu="__NG_DI_FLAG__",hs=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?es:Dn,r)}},ps="ngTempTokenPath",BE="ngTokenPath",UE=/\n/gm,$E="\u0275",wh="__source";function HE(e,t=P.Default){if(oo()===void 0)throw new v(-203,!1);if(oo()===null)return Tp(e,void 0,t);{let n=oo(),r;return n instanceof hs?r=n.injector:r=n,r.get(e,t&P.Optional?null:void 0,t)}}function I(e,t=P.Default){return(Mp()||HE)(be(e),t)}function g(e,t=P.Default){return I(e,zs(t))}function zs(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function hu(e){let t=[];for(let n=0;n<e.length;n++){let r=be(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=P.Default;for(let s=0;s<r.length;s++){let a=r[s],c=zE(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(I(o,i))}else t.push(I(r))}return t}function Sp(e,t){return e[fu]=t,e.prototype[fu]=t,e}function zE(e){return e[fu]}function qE(e,t,n,r){let o=e[ps];throw t[wh]&&o.unshift(t[wh]),e.message=GE(`
5
+ `+e.message,o,n,r),e[BE]=o,e[ps]=null,e}function GE(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==$E?e.slice(2):e;let o=_e(t);if(Array.isArray(t))o=t.map(_e).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):_e(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(UE,`
7
+ `)}`}var wl=Sp(vp("Optional"),8);var _p=Sp(vp("SkipSelf"),4);function In(e,t){let n=e.hasOwnProperty(fs);return n?e[fs]:null}function WE(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function ZE(e){return e.flat(Number.POSITIVE_INFINITY)}function Il(e,t){e.forEach(n=>Array.isArray(n)?Il(n,t):t(n))}function Np(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function gs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function YE(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function QE(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Io(e,t,n){let r=Co(e,t);return r>=0?e[r|1]=n:(r=~r,QE(e,r,t,n)),r}function Yc(e,t){let n=Co(e,t);if(n>=0)return e[n|1]}function Co(e,t){return KE(e,t,1)}function KE(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Cn={},Me=[],lr=new D(""),Rp=new D("",-1),xp=new D(""),ms=class{get(t,n=Dn){if(n===Dn){let r=new Error(`NullInjectorError: No provider for ${_e(t)}!`);throw r.name="NullInjectorError",r}return n}};function Ap(e,t){let n=e[LE]||null;if(!n&&t===!0)throw new Error(`Type ${_e(e)} does not have '\u0275mod' property.`);return n}function Kt(e){return e[kE]||null}function JE(e){return e[PE]||null}function XE(e){return e[FE]||null}function bo(e){return{\u0275providers:e}}function ew(...e){return{\u0275providers:Op(!0,e),\u0275fromNgModule:!0}}function Op(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Il(t,s=>{let a=s;pu(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&kp(o,i),n}function kp(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Cl(o,i=>{t(i,r)})}}function pu(e,t,n,r){if(e=be(e),!e)return!1;let o=null,i=yh(e),s=!i&&Kt(e);if(!i&&!s){let c=e.ngModule;if(i=yh(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)pu(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Il(i.imports,l=>{pu(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&kp(u,t)}if(!a){let u=In(o)||(()=>new o);t({provide:o,useFactory:u,deps:Me},o),t({provide:xp,useValue:o,multi:!0},o),t({provide:lr,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Cl(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Cl(e,t){for(let n of e)Cp(n)&&(n=n.\u0275providers),Array.isArray(n)?Cl(n,t):t(n)}var tw=z({provide:String,useValue:z});function Pp(e){return e!==null&&typeof e=="object"&&tw in e}function nw(e){return!!(e&&e.useExisting)}function rw(e){return!!(e&&e.useFactory)}function dr(e){return typeof e=="function"}function ow(e){return!!e.useClass}var qs=new D(""),as={},Ih={},Qc;function Gs(){return Qc===void 0&&(Qc=new ms),Qc}var me=class{},lo=class extends me{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,mu(t,s=>this.processProvider(s)),this.records.set(Rp,or(void 0,this)),o.has("environment")&&this.records.set(me,or(void 0,this));let i=this.records.get(qs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(xp,Me,P.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?es:Dn,r)}destroy(){so(this),this._destroyed=!0;let t=x(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),x(t)}}onDestroy(t){return so(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){so(this);let n=Nt(this),r=Se(void 0),o;try{return t()}finally{Nt(n),Se(r)}}get(t,n=Dn,r=P.Default){if(so(this),t.hasOwnProperty(Eh))return t[Eh](this);r=zs(r);let o,i=Nt(this),s=Se(void 0);try{if(!(r&P.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=uw(t)&&Hs(t);u&&this.injectableDefInScope(u)?c=or(gu(t),as):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&P.Self?Gs():this.parent;return n=r&P.Optional&&n===Dn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ps]=a[ps]||[]).unshift(_e(t)),i)throw a;return qE(a,t,"R3InjectorError",this.source)}else throw a}finally{Se(s),Nt(i)}}resolveInjectorInitializers(){let t=x(null),n=Nt(this),r=Se(void 0),o;try{let i=this.get(lr,Me,P.Self);for(let s of i)s()}finally{Nt(n),Se(r),x(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(_e(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=be(t);let n=dr(t)?t:be(t&&t.provide),r=sw(t);if(!dr(t)&&t.multi===!0){let o=this.records.get(n);o||(o=or(void 0,as,!0),o.factory=()=>hu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=x(null);try{return n.value===Ih?bp(_e(t)):n.value===as&&(n.value=Ih,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&cw(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{x(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=be(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function gu(e){let t=Hs(e),n=t!==null?t.factory:In(e);if(n!==null)return n;if(e instanceof D)throw new v(204,!1);if(e instanceof Function)return iw(e);throw new v(204,!1)}function iw(e){if(e.length>0)throw new v(204,!1);let n=AE(e);return n!==null?()=>n.factory(e):()=>new e}function sw(e){if(Pp(e))return or(void 0,e.useValue);{let t=Fp(e);return or(t,as)}}function Fp(e,t,n){let r;if(dr(e)){let o=be(e);return In(o)||gu(o)}else if(Pp(e))r=()=>be(e.useValue);else if(rw(e))r=()=>e.useFactory(...hu(e.deps||[]));else if(nw(e))r=(o,i)=>I(be(e.useExisting),i!==void 0&&i&P.Optional?P.Optional:void 0);else{let o=be(e&&(e.useClass||e.provide));if(aw(e))r=()=>new o(...hu(e.deps));else return In(o)||gu(o)}return r}function so(e){if(e.destroyed)throw new v(205,!1)}function or(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function aw(e){return!!e.deps}function cw(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function uw(e){return typeof e=="function"||typeof e=="object"&&e instanceof D}function mu(e,t){for(let n of e)Array.isArray(n)?mu(n,t):n&&Cp(n)?mu(n.\u0275providers,t):t(n)}function Re(e,t){let n;e instanceof lo?(so(e),n=e):n=new hs(e);let r,o=Nt(n),i=Se(void 0);try{return t()}finally{Nt(o),Se(i)}}function bl(){return Mp()!==void 0||oo()!=null}function Ml(e){if(!bl())throw new v(-203,!1)}function lw(e){let t=de.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function dw(e){return typeof e=="function"}var gt=0,R=1,N=2,ve=3,Ze=4,xe=5,fr=6,vs=7,oe=8,hr=9,Rt=10,Y=11,fo=12,Ch=13,wr=14,Ne=15,bn=16,ir=17,xt=18,Ws=19,Lp=20,Yt=21,Kc=22,Mn=23,He=24,cr=25,ee=26,Tl=1;var Tn=7,ys=8,pr=9,ge=10;function Qt(e){return Array.isArray(e)&&typeof e[Tl]=="object"}function Pt(e){return Array.isArray(e)&&e[Tl]===!0}function Sl(e){return(e.flags&4)!==0}function Ir(e){return e.componentOffset>-1}function Zs(e){return(e.flags&1)===1}function Ye(e){return!!e.template}function Ds(e){return(e[N]&512)!==0}function Cr(e){return(e[N]&256)===256}var vu=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function jp(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var tn=(()=>{let e=()=>Vp;return e.ngInherit=!0,e})();function Vp(e){return e.type.prototype.ngOnChanges&&(e.setInput=hw),fw}function fw(){let e=Up(this),t=e?.current;if(t){let n=e.previous;if(n===Cn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function hw(e,t,n,r,o){let i=this.declaredInputs[r],s=Up(e)||pw(e,{previous:Cn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new vu(u&&u.currentValue,n,c===Cn),jp(e,t,o,n)}var Bp="__ngSimpleChanges__";function Up(e){return e[Bp]||null}function pw(e,t){return e[Bp]=t}var bh=null;var q=function(e,t=null,n){bh?.(e,t,n)},$p="svg",gw="math";function dt(e){for(;Array.isArray(e);)e=e[gt];return e}function mw(e){for(;Array.isArray(e);){if(typeof e[Tl]=="object")return e;e=e[gt]}return null}function Hp(e,t){return dt(t[e])}function mt(e,t){return dt(t[e.index])}function _l(e,t){return e.data[t]}function Mo(e,t){return e[t]}function zp(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ft(e,t){let n=t[e];return Qt(n)?n:n[gt]}function vw(e){return(e[N]&4)===4}function Nl(e){return(e[N]&128)===128}function yw(e){return Pt(e[ve])}function Jt(e,t){return t==null?null:e[t]}function qp(e){e[ir]=0}function Gp(e){e[N]&1024||(e[N]|=1024,Nl(e)&&br(e))}function Dw(e,t){for(;e>0;)t=t[wr],e--;return t}function Ys(e){return!!(e[N]&9216||e[He]?.dirty)}function yu(e){e[Rt].changeDetectionScheduler?.notify(8),e[N]&64&&(e[N]|=1024),Ys(e)&&br(e)}function br(e){e[Rt].changeDetectionScheduler?.notify(0);let t=Sn(e);for(;t!==null&&!(t[N]&8192||(t[N]|=8192,!Nl(t)));)t=Sn(t)}function Wp(e,t){if(Cr(e))throw new v(911,!1);e[Yt]===null&&(e[Yt]=[]),e[Yt].push(t)}function Ew(e,t){if(e[Yt]===null)return;let n=e[Yt].indexOf(t);n!==-1&&e[Yt].splice(n,1)}function Sn(e){let t=e[ve];return Pt(t)?t[ve]:t}function Rl(e){return e[vs]??=[]}function xl(e){return e.cleanup??=[]}function ww(e,t,n,r){let o=Rl(t);o.push(n),e.firstCreatePass&&xl(e).push(r,o.length-1)}var A={lFrame:eg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Du=!1;function Iw(){return A.lFrame.elementDepthCount}function Cw(){A.lFrame.elementDepthCount++}function bw(){A.lFrame.elementDepthCount--}function Al(){return A.bindingsEnabled}function Zp(){return A.skipHydrationRootTNode!==null}function Mw(e){return A.skipHydrationRootTNode===e}function Tw(){A.skipHydrationRootTNode=null}function C(){return A.lFrame.lView}function G(){return A.lFrame.tView}function T1(e){return A.lFrame.contextLView=e,e[oe]}function S1(e){return A.lFrame.contextLView=null,e}function Ee(){let e=Yp();for(;e!==null&&e.type===64;)e=e.parent;return e}function Yp(){return A.lFrame.currentTNode}function Sw(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function nn(e,t){let n=A.lFrame;n.currentTNode=e,n.isParent=t}function Ol(){return A.lFrame.isParent}function kl(){A.lFrame.isParent=!1}function _w(){return A.lFrame.contextLView}function Qp(){return Du}function Es(e){let t=Du;return Du=e,t}function Ke(){let e=A.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Nw(){return A.lFrame.bindingIndex}function Rw(e){return A.lFrame.bindingIndex=e}function rn(){return A.lFrame.bindingIndex++}function Pl(e){let t=A.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function xw(){return A.lFrame.inI18n}function Aw(e,t){let n=A.lFrame;n.bindingIndex=n.bindingRootIndex=e,Eu(t)}function Ow(){return A.lFrame.currentDirectiveIndex}function Eu(e){A.lFrame.currentDirectiveIndex=e}function Kp(e){let t=A.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Fl(){return A.lFrame.currentQueryIndex}function Qs(e){A.lFrame.currentQueryIndex=e}function kw(e){let t=e[R];return t.type===2?t.declTNode:t.type===1?e[xe]:null}function Jp(e,t,n){if(n&P.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&P.Host);)if(o=kw(i),o===null||(i=i[wr],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=A.lFrame=Xp();return r.currentTNode=t,r.lView=e,!0}function Ll(e){let t=Xp(),n=e[R];A.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xp(){let e=A.lFrame,t=e===null?null:e.child;return t===null?eg(e):t}function eg(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function tg(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ng=tg;function jl(){let e=tg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Pw(e){return(A.lFrame.contextLView=Dw(e,A.lFrame.contextLView))[oe]}function Ft(){return A.lFrame.selectedIndex}function _n(e){A.lFrame.selectedIndex=e}function Mr(){let e=A.lFrame;return _l(e.tView,e.selectedIndex)}function _1(){A.lFrame.currentNamespace=$p}function N1(){Fw()}function Fw(){A.lFrame.currentNamespace=null}function Lw(){return A.lFrame.currentNamespace}var rg=!0;function Ks(){return rg}function Js(e){rg=e}function jw(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Vp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Vl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function cs(e,t,n){og(e,t,3,n)}function us(e,t,n,r){(e[N]&3)===n&&og(e,t,n,r)}function Jc(e,t){let n=e[N];(n&3)===t&&(n&=16383,n+=1,e[N]=n)}function og(e,t,n,r){let o=r!==void 0?e[ir]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[ir]+=65536),(a<i||i==-1)&&(Vw(e,n,t,c),e[ir]=(e[ir]&4294901760)+c+2),c++}function Mh(e,t){q(4,e,t);let n=x(null);try{t.call(e)}finally{x(n),q(5,e,t)}}function Vw(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[N]>>14<e[ir]>>16&&(e[N]&3)===t&&(e[N]+=16384,Mh(a,i)):Mh(a,i)}var ur=-1,Nn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Bw(e){return(e.flags&8)!==0}function Uw(e){return(e.flags&16)!==0}function $w(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Hw(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function ig(e){return e===3||e===4||e===6}function Hw(e){return e.charCodeAt(0)===64}function gr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Th(e,n,o,null,t[++r]):Th(e,n,o,null,null))}}return e}function Th(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function sg(e){return e!==ur}function ws(e){return e&32767}function zw(e){return e>>16}function Is(e,t){let n=zw(e),r=t;for(;n>0;)r=r[wr],n--;return r}var wu=!0;function Cs(e){let t=wu;return wu=e,t}var qw=256,ag=qw-1,cg=5,Gw=0,lt={};function Ww(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(co)&&(r=n[co]),r==null&&(r=n[co]=Gw++);let o=r&ag,i=1<<o;t.data[e+(o>>cg)]|=i}function bs(e,t){let n=ug(e,t);if(n!==-1)return n;let r=t[R];r.firstCreatePass&&(e.injectorIndex=t.length,Xc(r.data,e),Xc(t,null),Xc(r.blueprint,null));let o=Bl(e,t),i=e.injectorIndex;if(sg(o)){let s=ws(o),a=Is(o,t),c=a[R].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Xc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ug(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Bl(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=pg(o),r===null)return ur;if(n++,o=o[wr],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ur}function Iu(e,t,n){Ww(e,t,n)}function Zw(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(ig(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function lg(e,t,n){if(n&P.Optional||e!==void 0)return e;El(t,"NodeInjector")}function dg(e,t,n,r){if(n&P.Optional&&r===void 0&&(r=null),(n&(P.Self|P.Host))===0){let o=e[hr],i=Se(void 0);try{return o?o.get(t,r,n&P.Optional):Tp(t,r,n&P.Optional)}finally{Se(i)}}return lg(r,t,n)}function fg(e,t,n,r=P.Default,o){if(e!==null){if(t[N]&2048&&!(r&P.Self)){let s=Jw(e,t,n,r,lt);if(s!==lt)return s}let i=hg(e,t,n,r,lt);if(i!==lt)return i}return dg(t,n,r,o)}function hg(e,t,n,r,o){let i=Qw(n);if(typeof i=="function"){if(!Jp(t,e,r))return r&P.Host?lg(o,n,r):dg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&P.Optional))El(n);else return s}finally{ng()}}else if(typeof i=="number"){let s=null,a=ug(e,t),c=ur,u=r&P.Host?t[Ne][xe]:null;for((a===-1||r&P.SkipSelf)&&(c=a===-1?Bl(e,t):t[a+8],c===ur||!_h(r,!1)?a=-1:(s=t[R],a=ws(c),t=Is(c,t)));a!==-1;){let l=t[R];if(Sh(i,a,l.data)){let d=Yw(a,t,n,s,r,u);if(d!==lt)return d}c=t[a+8],c!==ur&&_h(r,t[R].data[a+8]===u)&&Sh(i,a,t)?(s=l,a=ws(c),t=Is(c,t)):a=-1}}return o}function Yw(e,t,n,r,o,i){let s=t[R],a=s.data[e+8],c=r==null?Ir(a)&&wu:r!=s&&(a.type&3)!==0,u=o&P.Host&&i===a,l=ls(a,s,n,c,u);return l!==null?ho(t,s,l,a,o):lt}function ls(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&n===p||f>=c&&p.type===n)return f}if(o){let f=s[c];if(f&&Ye(f)&&f.type===n)return c}return null}function ho(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Nn){let a=i;a.resolving&&bp(jE(s[n]));let c=Cs(a.canSeeViewProviders);a.resolving=!0;let u,l=a.injectImpl?Se(a.injectImpl):null,d=Jp(e,r,P.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&jw(n,s[n],t)}finally{l!==null&&Se(l),Cs(c),a.resolving=!1,ng()}}return i}function Qw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(co)?e[co]:void 0;return typeof t=="number"?t>=0?t&ag:Kw:t}function Sh(e,t,n){let r=1<<e;return!!(n[t+(e>>cg)]&r)}function _h(e,t){return!(e&P.Self)&&!(e&P.Host&&t)}var En=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return fg(this._tNode,this._lView,t,zs(r),n)}};function Kw(){return new En(Ee(),C())}function Ul(e){return wo(()=>{let t=e.prototype.constructor,n=t[fs]||Cu(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[fs]||Cu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Cu(e){return Dp(e)?()=>{let t=Cu(be(e));return t&&t()}:In(e)}function Jw(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[N]&2048&&!Ds(s);){let a=hg(i,s,n,r|P.Self,lt);if(a!==lt)return a;let c=i.parent;if(!c){let u=s[Lp];if(u){let l=u.get(n,lt,r);if(l!==lt)return l}c=pg(s),s=s[wr]}i=c}return o}function pg(e){let t=e[R],n=t.type;return n===2?t.declTNode:n===1?e[xe]:null}function Xs(e){return Zw(Ee(),e)}function Nh(e,t=null,n=null,r){let o=gg(e,t,n,r);return o.resolveInjectorInitializers(),o}function gg(e,t=null,n=null,r,o=new Set){let i=[n||Me,ew(e)];return r=r||(typeof e=="object"?void 0:_e(e)),new lo(i,t||Gs(),r||null,o)}var ye=class e{static THROW_IF_NOT_FOUND=Dn;static NULL=new ms;static create(t,n){if(Array.isArray(t))return Nh({name:""},n,t,"");{let r=t.name??"";return Nh({name:r},t.parent,t.providers,r)}}static \u0275prov=E({token:e,providedIn:"any",factory:()=>I(Rp)});static __NG_ELEMENT_ID__=-1};var Rh=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Xs(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Xw=new D("");Xw.__NG_ELEMENT_ID__=e=>{let t=Ee();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&P.Optional)return null;throw new v(204,!1)};var mg=!1,Lt=(()=>{class e{static __NG_ELEMENT_ID__=eI;static __NG_ENV_ID__=n=>n}return e})(),Ms=class extends Lt{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return Cr(n)?(t(),()=>{}):(Wp(n,t),()=>Ew(n,t))}};function eI(){return new Ms(C())}var Xt=class{},$l=new D("",{providedIn:"root",factory:()=>!1});var vg=new D(""),yg=new D(""),jt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new fe(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),R1=(()=>{class e{internalPendingTasks=g(jt);scheduler=g(Xt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){return mi(this,null,function*(){let r=this.add();try{return yield n()}finally{r()}})}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),bu=class extends K{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,bl()&&(this.destroyRef=g(Lt,{optional:!0})??void 0,this.pendingTasks=g(jt,{optional:!0})??void 0)}emit(t){let n=x(null);try{super.next(t)}finally{x(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Q&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Te=bu;function po(...e){}function Dg(e){let t,n;function r(){e=po;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function xh(e){return queueMicrotask(()=>e()),()=>{e=po}}var Hl="isAngularZone",Ts=Hl+"_ID",tI=0,H=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Te(!1);onMicrotaskEmpty=new Te(!1);onStable=new Te(!1);onError=new Te(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=mg}=t;if(typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,oI(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Hl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,nI,po,po);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},nI={};function zl(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function rI(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Dg(()=>{e.callbackScheduled=!1,Mu(e),e.isCheckStableRunning=!0,zl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Mu(e)}function oI(e){let t=()=>{rI(e)},n=tI++;e._inner=e._inner.fork({name:"angular",properties:{[Hl]:!0,[Ts]:n,[Ts+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(iI(c))return r.invokeTask(i,s,a,c);try{return Ah(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Oh(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Ah(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!sI(c)&&t(),Oh(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Mu(e),zl(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Mu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ah(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Oh(e){e._nesting--,zl(e)}var Ss=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Te;onMicrotaskEmpty=new Te;onStable=new Te;onError=new Te;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function iI(e){return Eg(e,"__ignore_ng_zone__")}function sI(e){return Eg(e,"__scheduler_tick__")}function Eg(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function aI(e="zone.js",t){return e==="noop"?new Ss:e==="zone.js"?new H(t):e}var Qe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},cI=new D("",{providedIn:"root",factory:()=>{let e=g(H),t=g(Qe);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Tu=class{destroyed=!1;listeners=null;errorHandler=g(Qe,{optional:!0});destroyRef=g(Lt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new v(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(Us(953,!1));return}if(this.listeners===null)return;let n=x(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{x(n)}}};function kh(e,t){return mp(e,t)}function uI(e){return mp($s,e)}var wg=(kh.required=uI,kh);function lI(){return Tr(Ee(),C())}function Tr(e,t){return new Je(mt(e,t))}var Je=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=lI}return e})();function Ig(e){return e instanceof Je?e.nativeElement:e}function dI(e){return typeof e=="function"&&e[Ce]!==void 0}function fI(e,t){let n=qc(e,t?.equal),r=n[Ce];return n.set=o=>rr(r,o),n.update=o=>Gc(r,o),n.asReadonly=Cg.bind(n),n}function Cg(){let e=this[Ce];if(e.readonlyFn===void 0){let t=()=>this();t[Ce]=e,e.readonlyFn=t}return e.readonlyFn}function bg(e){return dI(e)&&typeof e.set=="function"}function hI(){return this._results[Symbol.iterator]()}var Su=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new K}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=ZE(t);(this._changesDetected=!WE(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=hI};function Mg(e){return(e.flags&128)===128}var Tg=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Tg||{}),Sg=new Map,pI=0;function gI(){return pI++}function mI(e){Sg.set(e[Ws],e)}function _u(e){Sg.delete(e[Ws])}var Ph="__ngContext__";function Sr(e,t){Qt(t)?(e[Ph]=t[Ws],mI(t)):e[Ph]=t}function _g(e){return Rg(e[fo])}function Ng(e){return Rg(e[Ze])}function Rg(e){for(;e!==null&&!Pt(e);)e=e[Ze];return e}var Nu;function xg(e){Nu=e}function Ag(){if(Nu!==void 0)return Nu;if(typeof document<"u")return document;throw new v(210,!1)}var ql=new D("",{providedIn:"root",factory:()=>vI}),vI="ng",Gl=new D(""),_r=new D("",{providedIn:"platform",factory:()=>"unknown"});var x1=new D(""),Wl=new D("",{providedIn:"root",factory:()=>Ag().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var yI="h",DI="b";var Og=!1,EI=new D("",{providedIn:"root",factory:()=>Og});var Zl=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Zl||{}),Nr=new D(""),Fh=new Set;function on(e){Fh.has(e)||(Fh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Yl=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=wI}return e})();function wI(){return new Yl(C(),Ee())}var sr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(sr||{}),kg=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),II=[sr.EarlyRead,sr.Write,sr.MixedReadWrite,sr.Read],CI=(()=>{class e{ngZone=g(H);scheduler=g(Xt);errorHandler=g(Qe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Nr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&q(16),this.executing=!0;for(let r of II)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&q(17)}register(n){let{view:r}=n;r!==void 0?((r[cr]??=[]).push(n),br(r),r[N]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Zl.AFTER_NEXT_RENDER,n):n()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ru=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[cr];t&&(this.view[cr]=t.filter(n=>n!==this))}};function bI(e,t){!t?.injector&&Ml(bI);let n=t?.injector??g(ye);return on("NgAfterRender"),Pg(e,n,t,!1)}function Ql(e,t){!t?.injector&&Ml(Ql);let n=t?.injector??g(ye);return on("NgAfterNextRender"),Pg(e,n,t,!0)}function MI(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Pg(e,t,n,r){let o=t.get(kg);o.impl??=t.get(CI);let i=t.get(Nr,null,{optional:!0}),s=n?.phase??sr.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Lt):null,c=t.get(Yl,null,{optional:!0}),u=new Ru(o.impl,MI(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(u),u}var TI=(e,t,n,r)=>{};function SI(e,t,n,r){TI(e,t,n,r)}var _I=()=>null;function Fg(e,t,n=!1){return _I(e,t,n)}function Lg(e,t){let n=e.contentQueries;if(n!==null){let r=x(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Qs(i),a.contentQueries(2,t[s],s)}}}finally{x(r)}}}function xu(e,t,n){Qs(0);let r=x(null);try{t(e,n)}finally{x(r)}}function Kl(e,t,n){if(Sl(t)){let r=x(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{x(r)}}}var ht=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ht||{}),ns;function NI(){if(ns===void 0&&(ns=null,de.trustedTypes))try{ns=de.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ns}function ea(e){return NI()?.createHTML(e)||e}var rs;function jg(){if(rs===void 0&&(rs=null,de.trustedTypes))try{rs=de.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rs}function Lh(e){return jg()?.createHTML(e)||e}function jh(e){return jg()?.createScriptURL(e)||e}var At=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${pp})`}},Au=class extends At{getTypeName(){return"HTML"}},Ou=class extends At{getTypeName(){return"Style"}},ku=class extends At{getTypeName(){return"Script"}},Pu=class extends At{getTypeName(){return"URL"}},Fu=class extends At{getTypeName(){return"ResourceURL"}};function Le(e){return e instanceof At?e.changingThisBreaksApplicationSecurity:e}function Vt(e,t){let n=RI(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${pp})`)}return n===t}function RI(e){return e instanceof At&&e.getTypeName()||null}function Vg(e){return new Au(e)}function Bg(e){return new Ou(e)}function Ug(e){return new ku(e)}function $g(e){return new Pu(e)}function Hg(e){return new Fu(e)}function xI(e){let t=new ju(e);return AI()?new Lu(t):t}var Lu=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(ea(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},ju=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=ea(t),n}};function AI(){try{return!!new window.DOMParser().parseFromString(ea(""),"text/html")}catch{return!1}}var OI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ta(e){return e=String(e),e.match(OI)?e:"unsafe:"+e}function Bt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function To(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var zg=Bt("area,br,col,hr,img,wbr"),qg=Bt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Gg=Bt("rp,rt"),kI=To(Gg,qg),PI=To(qg,Bt("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")),FI=To(Gg,Bt("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")),Vh=To(zg,PI,FI,kI),Wg=Bt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),LI=Bt("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"),jI=Bt("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"),VI=To(Wg,LI,jI),BI=Bt("script,style,template"),Vu=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=HI(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=$I(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Bh(t).toLowerCase();if(!Vh.hasOwnProperty(n))return this.sanitizedSomething=!0,!BI.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!VI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Wg[a]&&(c=ta(c)),this.buf.push(" ",s,'="',Uh(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Bh(t).toLowerCase();Vh.hasOwnProperty(n)&&!zg.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Uh(t))}};function UI(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $I(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Zg(t);return t}function HI(e){let t=e.firstChild;if(t&&UI(e,t))throw Zg(t);return t}function Bh(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Zg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var zI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qI=/([^\#-~ |!])/g;function Uh(e){return e.replace(/&/g,"&amp;").replace(zI,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(qI,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var os;function Jl(e,t){let n=null;try{os=os||xI(e);let r=t?String(t):"";n=os.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=os.getInertBodyElement(r)}while(r!==i);let a=new Vu().sanitizeChildren($h(n)||n);return ea(a)}finally{if(n){let r=$h(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function $h(e){return"content"in e&&GI(e)?e.content:null}function GI(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Xe=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Xe||{});function A1(e){let t=Xl();return t?Lh(t.sanitize(Xe.HTML,e)||""):Vt(e,"HTML")?Lh(Le(e)):Jl(Ag(),wn(e))}function WI(e){let t=Xl();return t?t.sanitize(Xe.URL,e)||"":Vt(e,"URL")?Le(e):ta(wn(e))}function ZI(e){let t=Xl();if(t)return jh(t.sanitize(Xe.RESOURCE_URL,e)||"");if(Vt(e,"ResourceURL"))return jh(Le(e));throw new v(904,!1)}function YI(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?ZI:WI}function Yg(e,t,n){return YI(t,n)(e)}function Xl(){let e=C();return e&&e[Rt].sanitizer}var QI=/^>|^->|<!--|-->|--!>|<!-$/g,KI=/(<|>)/g,JI="\u200B$1\u200B";function XI(e){return e.replace(QI,t=>t.replace(KI,JI))}function O1(e){return e.ownerDocument.defaultView}function Qg(e){return e instanceof Function?e():e}function eC(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Kg="ng-template";function tC(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&eC(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ed(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function ed(e){return e.type===4&&e.value!==Kg}function nC(e,t,n){let r=e.type===4&&!n?Kg:e.value;return t===r}function rC(e,t,n){let r=4,o=e.attrs,i=o!==null?sC(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!We(r)&&!We(c))return!1;if(s&&We(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!nC(e,c,n)||c===""&&t.length===1){if(We(r))return!1;s=!0}}else if(r&8){if(o===null||!tC(e,o,c,n)){if(We(r))return!1;s=!0}}else{let u=t[++a],l=oC(c,o,ed(e),n);if(l===-1){if(We(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(We(r))return!1;s=!0}}}}return We(r)||s}function We(e){return(e&1)===0}function oC(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return aC(t,e)}function Jg(e,t,n=!1){for(let r=0;r<t.length;r++)if(rC(e,t[r],n))return!0;return!1}function iC(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function sC(e){for(let t=0;t<e.length;t++){let n=e[t];if(ig(n))return t}return e.length}function aC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function cC(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Hh(e,t){return e?":not("+t.trim()+")":t}function uC(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!We(s)&&(t+=Hh(i,o),o=""),r=s,i=i||!We(r);n++}return o!==""&&(t+=Hh(i,o)),t}function lC(e){return e.map(uC).join(",")}function dC(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!We(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Ae={};function fC(e,t){return e.createText(t)}function hC(e,t,n){e.setValue(t,n)}function pC(e,t){return e.createComment(XI(t))}function Xg(e,t,n){return e.createElement(t,n)}function _s(e,t,n,r,o){e.insertBefore(t,n,r,o)}function em(e,t,n){e.appendChild(t,n)}function zh(e,t,n,r,o){r!==null?_s(e,t,n,r,o):em(e,t,n)}function gC(e,t,n){e.removeChild(null,t,n)}function mC(e,t,n){e.setAttribute(t,"style",n)}function vC(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function tm(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&$w(e,t,r),o!==null&&vC(e,t,o),i!==null&&mC(e,t,i)}function td(e,t,n,r,o,i,s,a,c,u,l){let d=ee+r,h=d+o,f=yC(d,h),p=typeof u=="function"?u():u;return f[R]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function yC(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ae);return n}function DC(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=td(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function nd(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[gt]=o,d[N]=r|4|128|8|64|1024,(u!==null||e&&e[N]&2048)&&(d[N]|=2048),qp(d),d[ve]=d[wr]=e,d[oe]=n,d[Rt]=s||e&&e[Rt],d[Y]=a||e&&e[Y],d[hr]=c||e&&e[hr]||null,d[xe]=i,d[Ws]=gI(),d[fr]=l,d[Lp]=u,d[Ne]=t.type==2?e[Ne]:d,d}function EC(e,t,n){let r=mt(t,e),o=DC(n),i=e[Rt].rendererFactory,s=rd(e,nd(e,o,null,nm(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function nm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function rm(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function rd(e,t){return e[fo]?e[Ch][Ze]=t:e[fo]=t,e[Ch]=t,t}function k1(e=1){om(G(),C(),Ft()+e,!1)}function om(e,t,n,r){if(!r)if((t[N]&3)===3){let i=e.preOrderCheckHooks;i!==null&&cs(t,i,n)}else{let i=e.preOrderHooks;i!==null&&us(t,i,0,n)}_n(n)}var na=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(na||{});function Bu(e,t,n,r){let o=x(null);try{let[i,s,a]=e.inputs[n],c=null;(s&na.SignalBased)!==0&&(c=t[i][Ce]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):jp(t,c,i,r)}finally{x(o)}}function im(e,t,n,r,o){let i=Ft(),s=r&2;try{_n(-1),s&&t.length>ee&&om(e,t,ee,!1),q(s?2:0,o),n(r,o)}finally{_n(i),q(s?3:1,o)}}function ra(e,t,n){TC(e,t,n),(n.flags&64)===64&&SC(e,t,n)}function od(e,t,n=mt){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function wC(e,t,n,r){let i=r.get(EI,Og)||n===ht.ShadowDom,s=e.selectRootElement(t,i);return IC(s),s}function IC(e){CC(e)}var CC=()=>null;function bC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function So(e,t,n,r,o,i,s,a){if(!a&&sd(t,e,n,r,o)){Ir(t)&&MC(n,t.index);return}if(t.type&3){let c=mt(t,n);r=bC(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function MC(e,t){let n=ft(t,e);n[N]&16||(n[N]|=64)}function TC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ir(n)&&EC(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||bs(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=ho(t,e,s,n);if(Sr(c,t),i!==null&&xC(t,s-r,c,a,n,i),Ye(a)){let u=ft(n.index,t);u[oe]=ho(t,e,s,n)}}}function SC(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Ow();try{_n(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Eu(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&_C(c,u)}}finally{_n(-1),Eu(s)}}function _C(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function id(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Jg(t,i.selectors,!1)&&(r??=[],Ye(i)?r.unshift(i):r.push(i))}return r}function NC(e,t,n,r,o,i){let s=mt(e,t);RC(t[Y],s,i,e.value,n,r,o)}function RC(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?wn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function xC(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Bu(r,n,c,u)}}function AC(e,t,n){return(e===null||Ye(e))&&(n=mw(n[t.index])),n[Y]}function OC(e,t){let n=e[hr],r=n?n.get(Qe,null):null;r&&r.handleError(t)}function sd(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];Bu(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Bu(l,u,r,o),a=!0}return a}function kC(e,t){let n=ft(t,e),r=n[R];PC(r,n);let o=n[gt];o!==null&&n[fr]===null&&(n[fr]=Fg(o,n[hr])),q(18),ad(r,n,n[oe]),q(19,n[oe])}function PC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ad(e,t,n){Ll(t);try{let r=e.viewQuery;r!==null&&xu(1,r,n);let o=e.template;o!==null&&im(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[xt]?.finishViewCreation(e),e.staticContentQueries&&Lg(e,t),e.staticViewQueries&&xu(2,e.viewQuery,n);let i=e.components;i!==null&&FC(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[N]&=-5,jl()}}function FC(e,t){for(let n=0;n<t.length;n++)kC(e,t[n])}function _o(e,t,n,r){let o=x(null);try{let i=t.tView,a=e[N]&4096?4096:16,c=nd(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[bn]=u;let l=e[xt];return l!==null&&(c[xt]=l.createEmbeddedView(i)),ad(i,c,n),c}finally{x(o)}}function mr(e,t){return!t||t.firstChild===null||Mg(e)}var LC;function cd(e,t){return LC(e,t)}var pt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(pt||{});function ud(e){return(e.flags&32)===32}function ar(e,t,n,r,o){if(r!=null){let i,s=!1;Pt(r)?i=r:Qt(r)&&(s=!0,r=r[gt]);let a=dt(r);e===0&&n!==null?o==null?em(t,n,a):_s(t,n,a,o||null,!0):e===1&&n!==null?_s(t,n,a,o||null,!0):e===2?gC(t,a,s):e===3&&t.destroyNode(a),i!=null&&WC(t,e,i,n,o)}}function jC(e,t){sm(e,t),t[gt]=null,t[xe]=null}function VC(e,t,n,r,o,i){r[gt]=o,r[xe]=t,sa(e,r,n,1,o,i)}function sm(e,t){t[Rt].changeDetectionScheduler?.notify(9),sa(e,t,t[Y],2,null,null)}function BC(e){let t=e[fo];if(!t)return eu(e[R],e);for(;t;){let n=null;if(Qt(t))n=t[fo];else{let r=t[ge];r&&(n=r)}if(!n){for(;t&&!t[Ze]&&t!==e;)Qt(t)&&eu(t[R],t),t=t[ve];t===null&&(t=e),Qt(t)&&eu(t[R],t),n=t&&t[Ze]}t=n}}function ld(e,t){let n=e[pr],r=n.indexOf(t);n.splice(r,1)}function oa(e,t){if(Cr(t))return;let n=t[Y];n.destroyNode&&sa(e,t,n,3,null,null),BC(t)}function eu(e,t){if(Cr(t))return;let n=x(null);try{t[N]&=-129,t[N]|=256,t[He]&&ro(t[He]),$C(e,t),UC(e,t),t[R].type===1&&t[Y].destroy();let r=t[bn];if(r!==null&&Pt(t[ve])){r!==t[ve]&&ld(r,t);let o=t[xt];o!==null&&o.detachView(e)}_u(t)}finally{x(n)}}function UC(e,t){let n=e.cleanup,r=t[vs];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[vs]=null);let o=t[Yt];if(o!==null){t[Yt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Mn];if(i!==null){t[Mn]=null;for(let s of i)s.destroy()}}function $C(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Nn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];q(4,a,c);try{c.call(a)}finally{q(5,a,c)}}else{q(4,o,i);try{i.call(o)}finally{q(5,o,i)}}}}}function am(e,t,n){return HC(e,t.parent,n)}function HC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[gt];if(Ir(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===ht.None||o===ht.Emulated)return null}return mt(r,n)}function cm(e,t,n){return qC(e,t,n)}function zC(e,t,n){return e.type&40?mt(e,n):null}var qC=zC,qh;function ia(e,t,n,r){let o=am(e,r,t),i=t[Y],s=r.parent||t[xe],a=cm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)zh(i,o,n[c],a,!1);else zh(i,o,n,a,!1);qh!==void 0&&qh(i,r,t,n,o)}function ao(e,t){if(t!==null){let n=t.type;if(n&3)return mt(t,e);if(n&4)return Uu(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return ao(e,r);{let o=e[t.index];return Pt(o)?Uu(-1,o):dt(o)}}else{if(n&128)return ao(e,t.next);if(n&32)return cd(t,e)()||dt(e[t.index]);{let r=um(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Sn(e[Ne]);return ao(o,r)}else return ao(e,t.next)}}}return null}function um(e,t){if(t!==null){let r=e[Ne][xe],o=t.projection;return r.projection[o]}return null}function Uu(e,t){let n=ge+e+1;if(n<t.length){let r=t[n],o=r[R].firstChild;if(o!==null)return ao(r,o)}return t[Tn]}function dd(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Sr(dt(a),r),n.flags|=2),!ud(n))if(c&8)dd(e,t,n.child,r,o,i,!1),ar(t,e,o,a,i);else if(c&32){let u=cd(n,r),l;for(;l=u();)ar(t,e,o,l,i);ar(t,e,o,a,i)}else c&16?lm(e,t,r,n,o,i):ar(t,e,o,a,i);n=s?n.projectionNext:n.next}}function sa(e,t,n,r,o,i){dd(n,r,e.firstChild,t,o,i,!1)}function GC(e,t,n){let r=t[Y],o=am(e,n,t),i=n.parent||t[xe],s=cm(i,n,t);lm(r,0,t,n,o,s)}function lm(e,t,n,r,o,i){let s=n[Ne],c=s[xe].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];ar(t,e,o,l,i)}else{let u=c,l=s[ve];Mg(r)&&(u.flags|=128),dd(e,t,u,l,o,i,!0)}}function WC(e,t,n,r,o){let i=n[Tn],s=dt(n);i!==s&&ar(t,e,r,i,o);for(let a=ge;a<n.length;a++){let c=n[a];sa(c[R],c,e,t,r,i)}}function ZC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:pt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=pt.Important),e.setStyle(n,r,o,i))}}function Ns(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(dt(i)),Pt(i)&&YC(i,r);let s=n.type;if(s&8)Ns(e,t,n.child,r);else if(s&32){let a=cd(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=um(t,n);if(Array.isArray(a))r.push(...a);else{let c=Sn(t[Ne]);Ns(c[R],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function YC(e,t){for(let n=ge;n<e.length;n++){let r=e[n],o=r[R].firstChild;o!==null&&Ns(r[R],r,o,t)}e[Tn]!==e[gt]&&t.push(e[Tn])}function dm(e){if(e[cr]!==null){for(let t of e[cr])t.impl.addSequence(t);e[cr].length=0}}var fm=[];function QC(e){return e[He]??KC(e)}function KC(e){let t=fm.pop()??Object.create(XC);return t.lView=e,t}function JC(e){e.lView[He]!==e&&(e.lView=null,fm.push(e))}var XC=B(y({},tr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{br(e.lView)},consumerOnSignalRead(){this.lView[He]=this}});function eb(e){let t=e[He]??Object.create(tb);return t.lView=e,t}var tb=B(y({},tr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Sn(e.lView);for(;t&&!hm(t[R]);)t=Sn(t);t&&Gp(t)},consumerOnSignalRead(){this.lView[He]=this}});function hm(e){return e.type!==2}function pm(e){if(e[Mn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Mn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[N]&8192)}}var nb=100;function gm(e,t=!0,n=0){let o=e[Rt].rendererFactory,i=!1;i||o.begin?.();try{rb(e,n)}catch(s){throw t&&OC(e,s),s}finally{i||o.end?.()}}function rb(e,t){let n=Qp();try{Es(!0),$u(e,t);let r=0;for(;Ys(e);){if(r===nb)throw new v(103,!1);r++,$u(e,1)}}finally{Es(n)}}function ob(e,t,n,r){if(Cr(t))return;let o=t[N],i=!1,s=!1;Ll(t);let a=!0,c=null,u=null;i||(hm(e)?(u=QC(t),c=no(u)):Bc()===null?(a=!1,u=eb(t),c=no(u)):t[He]&&(ro(t[He]),t[He]=null));try{qp(t),Rw(e.bindingStartIndex),n!==null&&im(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&cs(t,f,null)}else{let f=e.preOrderHooks;f!==null&&us(t,f,0,null),Jc(t,0)}if(s||ib(t),pm(t),mm(t,0),e.contentQueries!==null&&Lg(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&cs(t,f)}else{let f=e.contentHooks;f!==null&&us(t,f,1),Jc(t,1)}ab(e,t);let d=e.components;d!==null&&ym(t,d,0);let h=e.viewQuery;if(h!==null&&xu(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&cs(t,f)}else{let f=e.viewHooks;f!==null&&us(t,f,2),Jc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Kc]){for(let f of t[Kc])f();t[Kc]=null}i||(dm(t),t[N]&=-73)}catch(l){throw i||br(t),l}finally{u!==null&&(Zi(u,c),a&&JC(u)),jl()}}function mm(e,t){for(let n=_g(e);n!==null;n=Ng(n))for(let r=ge;r<n.length;r++){let o=n[r];vm(o,t)}}function ib(e){for(let t=_g(e);t!==null;t=Ng(t)){if(!(t[N]&2))continue;let n=t[pr];for(let r=0;r<n.length;r++){let o=n[r];Gp(o)}}}function sb(e,t,n){q(18);let r=ft(t,e);vm(r,n),q(19,r[oe])}function vm(e,t){Nl(e)&&$u(e,t)}function $u(e,t){let r=e[R],o=e[N],i=e[He],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Yi(i)),s||=!1,i&&(i.dirty=!1),e[N]&=-9217,s)ob(r,e,r.template,e[oe]);else if(o&8192){pm(e),mm(e,1);let a=r.components;a!==null&&ym(e,a,1),dm(e)}}function ym(e,t,n){for(let r=0;r<t.length;r++)sb(e,t[r],n)}function ab(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)_n(~o);else{let i=o,s=n[++r],a=n[++r];Aw(s,i);let c=t[i];q(24,c),a(2,c),q(25,c)}}}finally{_n(-1)}}function fd(e,t){let n=Qp()?64:1088;for(e[Rt].changeDetectionScheduler?.notify(t);e;){e[N]|=n;let r=Sn(e);if(Ds(e)&&!r)return e;e=r}return null}function Dm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Em(e,t){let n=ge+t;if(n<e.length)return e[n]}function No(e,t,n,r=!0){let o=t[R];if(cb(o,t,e,n),r){let s=Uu(n,e),a=t[Y],c=a.parentNode(e[Tn]);c!==null&&VC(o,e[xe],a,t,c,s)}let i=t[fr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function wm(e,t){let n=go(e,t);return n!==void 0&&oa(n[R],n),n}function go(e,t){if(e.length<=ge)return;let n=ge+t,r=e[n];if(r){let o=r[bn];o!==null&&o!==e&&ld(o,r),t>0&&(e[n-1][Ze]=r[Ze]);let i=gs(e,ge+t);jC(r[R],r);let s=i[xt];s!==null&&s.detachView(i[R]),r[ve]=null,r[Ze]=null,r[N]&=-129}return r}function cb(e,t,n,r){let o=ge+r,i=n.length;r>0&&(n[o-1][Ze]=t),r<i-ge?(t[Ze]=n[o],Np(n,ge+r,t)):(n.push(t),t[Ze]=null),t[ve]=n;let s=t[bn];s!==null&&n!==s&&Im(s,t);let a=t[xt];a!==null&&a.insertView(e),yu(t),t[N]|=128}function Im(e,t){let n=e[pr],r=t[ve];if(Qt(r))e[N]|=2;else{let o=r[ve][Ne];t[Ne]!==o&&(e[N]|=2)}n===null?e[pr]=[t]:n.push(t)}var mo=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[R];return Ns(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[oe]}set context(t){this._lView[oe]=t}get destroyed(){return Cr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ve];if(Pt(t)){let n=t[ys],r=n?n.indexOf(this):-1;r>-1&&(go(t,r),gs(n,r))}this._attachedToViewContainer=!1}oa(this._lView[R],this._lView)}onDestroy(t){Wp(this._lView,t)}markForCheck(){fd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){yu(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,gm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ds(this._lView),n=this._lView[bn];n!==null&&!t&&ld(n,this._lView),sm(this._lView[R],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=Ds(this._lView),r=this._lView[bn];r!==null&&!n&&Im(r,this._lView),yu(this._lView)}};var en=(()=>{class e{static __NG_ELEMENT_ID__=db}return e})(),ub=en,lb=class extends ub{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=_o(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new mo(o)}};function db(){return aa(Ee(),C())}function aa(e,t){return e.type&4?new lb(t,e,Tr(e,t)):null}function Rr(e,t,n,r,o){let i=e.data[t];if(i===null)i=fb(e,t,n,r,o),xw()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Sw();i.injectorIndex=s===null?-1:s.injectorIndex}return nn(i,!0),i}function fb(e,t,n,r,o){let i=Yp(),s=Ol(),a=s?i:i&&i.parent,c=e.data[t]=pb(e,a,n,t,r,o);return hb(e,c,i,s),c}function hb(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function pb(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Zp()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var L1=new RegExp(`^(\\d+)*(${DI}|${yI})*(.*)`);var gb=()=>null;function vr(e,t){return gb(e,t)}var mb=class{},Cm=class{},Hu=class{resolveComponentFactory(t){throw Error(`No component factory found for ${_e(t)}.`)}},ca=class{static NULL=new Hu},yr=class{},On=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>vb()}return e})();function vb(){let e=C(),t=Ee(),n=ft(t.index,e);return(Qt(n)?n:e)[Y]}var yb=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>null})}return e})();var tu={},zu=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=zs(r);let o=this.injector.get(t,tu,r);return o!==tu||n===tu?o:this.parentInjector.get(t,n,r)}};function qu(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=lu(o,a);else if(i==2){let c=a,u=t[++s];r=lu(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function j(e,t=P.Default){let n=C();if(n===null)return I(e,t);let r=Ee();return fg(r,n,be(e),t)}function bm(){let e="invalid";throw new Error(e)}function hd(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,u=null,l=Eb(s);l===null?a=s:[a,c,u]=l,Cb(e,t,n,a,i,c,u)}i!==null&&r!==null&&Db(n,r,i)}function Db(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new v(-301,!1);r.push(t[o],i)}}function Eb(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&Ye(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,wb(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function wb(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function Ib(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Cb(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&Ye(f)&&(c=!0,Ib(e,n,h)),Iu(bs(n,t),e,f.type)}Nb(n,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=rm(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=gr(n.mergedAttrs,f.hostAttrs),Mb(e,n,t,d,f),_b(d,f,o),s!==null&&s.has(f)){let[m,w]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,w+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let p=f.type.prototype;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}bb(e,n,i)}function bb(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Gh(0,t,o,r),Gh(1,t,o,r),Zh(t,r,!1);else{let i=n.get(o);Wh(0,t,i,r),Wh(1,t,i,r),Zh(t,r,!0)}}}function Gh(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Mm(t,i)}}function Wh(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Mm(t,s)}}function Mm(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Zh(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||ed(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Mb(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=In(o.type,!0)),s=new Nn(i,Ye(o),j);e.blueprint[r]=s,n[r]=s,Tb(e,t,r,rm(e,n,o.hostVars,Ae),o)}function Tb(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Sb(s)!=a&&s.push(a),s.push(n,r,i)}}function Sb(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function _b(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ye(t)&&(n[""]=e)}}function Nb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Tm(e,t,n,r,o,i,s,a){let c=t.consts,u=Jt(c,s),l=Rr(t,e,2,r,u);return i&&hd(t,n,l,Jt(c,a),o),l.mergedAttrs=gr(l.mergedAttrs,l.attrs),l.attrs!==null&&qu(l,l.attrs,!1),l.mergedAttrs!==null&&qu(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function Sm(e,t){Vl(e,t),Sl(t)&&e.queries.elementEnd(t)}var Rs=class extends ca{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Kt(t);return new Rn(n,this.ngModule)}};function Rb(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&na.SignalBased)!==0};return o&&(i.transform=o),i})}function xb(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Ab(e,t,n){let r=t instanceof me?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new zu(n,r):n}function Ob(e){let t=e.get(yr,null);if(t===null)throw new v(407,!1);let n=e.get(yb,null),r=e.get(Xt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function kb(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Xg(t,n,n==="svg"?$p:n==="math"?gw:null)}var Rn=class extends Cm{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Rb(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=xb(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=lC(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){q(22);let i=x(null);try{let s=this.componentDef,a=r?["ng-version","19.2.14"]:dC(this.componentDef.selectors[0]),c=td(0,null,null,1,0,null,null,null,null,[a],null),u=Ab(s,o||this.ngModule,t),l=Ob(u),d=l.rendererFactory.createRenderer(null,s),h=r?wC(d,r,s.encapsulation,u):kb(s,d),f=nd(null,c,null,512|nm(s),null,null,l,d,u,null,Fg(h,u,!0));f[ee]=h,Ll(f);let p=null;try{let m=Tm(ee,c,f,"#host",()=>[this.componentDef],!0,0);h&&(tm(d,h,m),Sr(h,f)),ra(c,f,m),Kl(c,m,f),Sm(c,m),n!==void 0&&Pb(m,this.ngContentSelectors,n),p=ft(m.index,f),f[oe]=p[oe],ad(c,f,null)}catch(m){throw p!==null&&_u(p),_u(f),m}finally{q(23),jl()}return new Gu(this.componentType,f)}finally{x(i)}}},Gu=class extends mb{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=_l(n[R],ee),this.location=Tr(this._tNode,n),this.instance=ft(this._tNode.index,n)[oe],this.hostView=this.changeDetectorRef=new mo(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=sd(r,o[R],o,t,n);this.previousInputValues.set(t,n);let s=ft(r.index,o);fd(s,1)}get injector(){return new En(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Pb(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var et=(()=>{class e{static __NG_ELEMENT_ID__=Fb}return e})();function Fb(){let e=Ee();return Nm(e,C())}var Lb=et,_m=class extends Lb{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Tr(this._hostTNode,this._hostLView)}get injector(){return new En(this._hostTNode,this._hostLView)}get parentInjector(){let t=Bl(this._hostTNode,this._hostLView);if(sg(t)){let n=Is(t,this._hostLView),r=ws(t),o=n[R].data[r+8];return new En(o,n)}else return new En(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Yh(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ge}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=vr(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,mr(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!dw(t),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?t:new Rn(Kt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let m=(s?u:this.parentInjector).get(me,null);m&&(i=m)}let l=Kt(c.componentType??{}),d=vr(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,mr(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(yw(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ve],u=new _m(c,c[xe],c[ve]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return No(s,o,i,r),t.attachToViewContainerRef(),Np(nu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Yh(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=go(this._lContainer,n);r&&(gs(nu(this._lContainer),n),oa(r[R],r))}detach(t){let n=this._adjustIndex(t,-1),r=go(this._lContainer,n);return r&&gs(nu(this._lContainer),n)!=null?new mo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Yh(e){return e[ys]}function nu(e){return e[ys]||(e[ys]=[])}function Nm(e,t){let n,r=t[e.index];return Pt(r)?n=r:(n=Dm(r,t,null,e),t[e.index]=n,rd(t,n)),Vb(n,t,e,r),new _m(n,e,t)}function jb(e,t){let n=e[Y],r=n.createComment(""),o=mt(t,e),i=n.parentNode(o);return _s(n,i,r,n.nextSibling(o),!1),r}var Vb=$b,Bb=()=>!1;function Ub(e,t,n){return Bb(e,t,n)}function $b(e,t,n,r){if(e[Tn])return;let o;n.type&8?o=dt(r):o=jb(t,n),e[Tn]=o}var Wu=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Zu=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)gd(t,n).matches!==null&&this.queries[n].setDirty()}},xs=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Zb(t):this.predicate=t}},Yu=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Qu=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Hb(n,i)),this.matchTNodeWithReadOption(t,n,ls(n,t,i,!1,!1))}else r===en?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ls(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Je||o===et||o===en&&n.type&4)this.addMatch(n.index,-2);else{let i=ls(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Hb(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function zb(e,t){return e.type&11?Tr(e,t):e.type&4?aa(e,t):null}function qb(e,t,n,r){return n===-1?zb(t,e):n===-2?Gb(e,t,r):ho(e,e[R],n,t)}function Gb(e,t,n){if(n===Je)return Tr(t,e);if(n===en)return aa(t,e);if(n===et)return Nm(t,e)}function Rm(e,t,n,r){let o=t[xt].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(qb(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ku(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Rm(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=ge;d<l.length;d++){let h=l[d];h[bn]===h[ve]&&Ku(h[R],h,u,r)}if(l[pr]!==null){let d=l[pr];for(let h=0;h<d.length;h++){let f=d[h];Ku(f[R],f,u,r)}}}}}return r}function pd(e,t){return e[xt].queries[t].queryList}function xm(e,t,n){let r=new Su((n&4)===4);return ww(e,t,r,r.destroy),(t[xt]??=new Zu).queries.push(new Wu(r))-1}function Wb(e,t,n){let r=G();return r.firstCreatePass&&(Om(r,new xs(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),xm(r,C(),t)}function Am(e,t,n,r){let o=G();if(o.firstCreatePass){let i=Ee();Om(o,new xs(t,n,r),i.index),Yb(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return xm(o,C(),n)}function Zb(e){return e.split(",").map(t=>t.trim())}function Om(e,t,n){e.queries===null&&(e.queries=new Yu),e.queries.track(new Qu(t,n))}function Yb(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function gd(e,t){return e.queries.getByIndex(t)}function km(e,t){let n=e[R],r=gd(n,t);return r.crossesNgTemplate?Ku(n,e,t,[]):Rm(n,e,r,t)}function Pm(e,t,n){let r,o=Ji(()=>{r._dirtyCounter();let i=Xb(r,e);if(t&&i===void 0)throw new v(-951,!1);return i});return r=o[Ce],r._dirtyCounter=fI(0),r._flatValue=void 0,o}function Qb(e){return Pm(!0,!1,e)}function Kb(e){return Pm(!0,!0,e)}function Jb(e,t){let n=e[Ce];n._lView=C(),n._queryIndex=t,n._queryList=pd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Xb(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[N]&4)return t?void 0:Me;let o=pd(n,r),i=km(n,r);return o.reset(i,Ig),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Qh(e,t){return Qb(t)}function eM(e,t){return Kb(t)}var $1=(Qh.required=eM,Qh);function Fm(e,t){let n=Object.create(gp),r=new Tu;n.value=e;function o(){return nr(n),Kh(n.value),n.value}return o[Ce]=n,o.asReadonly=Cg.bind(o),o.set=i=>{n.equal(n.value,i)||(rr(n,i),r.emit(i))},o.update=i=>{Kh(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Kh(e){if(e===$s)throw new v(952,!1)}function Jh(e,t){return Fm(e,t)}function tM(e){return Fm($s,e)}var H1=(Jh.required=tM,Jh);function nM(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(sM))}return i}return As.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(u=>{o.template=u}));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 u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(r(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>aM(i));t.push(c)}),oM(),Promise.all(t).then(()=>{})}var As=new Map,rM=new Set;function oM(){let e=As;return As=new Map,e}function iM(){return As.size===0}function sM(e){return typeof e=="string"?e:e.text()}function aM(e){rM.delete(e)}var xn=class{},md=class{};function Lm(e,t){return new vo(e,t??null,[])}var vo=class extends xn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Rs(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ap(t);this._bootstrapComponents=Qg(i.bootstrap),this._r3Injector=gg(t,n,[{provide:xn,useValue:this},{provide:ca,useValue:this.componentFactoryResolver},...r],_e(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Os=class extends md{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new vo(this.moduleType,t,[])}};function cM(e,t,n){return new vo(e,t,n,!1)}var Ju=class extends xn{injector;componentFactoryResolver=new Rs(this);instance=null;constructor(t){super();let n=new lo([...t.providers,{provide:xn,useValue:this},{provide:ca,useValue:this.componentFactoryResolver}],t.parent||Gs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ro(e,t,n=null){return new Ju({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var uM=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Op(!1,n.type),o=r.length>0?Ro([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=E({token:e,providedIn:"environment",factory:()=>new e(I(me))})}return e})();function jm(e){return wo(()=>{let t=Vm(e),n=B(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Tg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(uM).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ht.Emulated,styles:e.styles||Me,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&on("NgStandalone"),Bm(n);let r=e.dependencies;return n.directiveDefs=Xh(r,!1),n.pipeDefs=Xh(r,!0),n.id=pM(n),n})}function lM(e){return Kt(e)||JE(e)}function dM(e){return e!==null}function Ut(e){return wo(()=>({type:e.type,bootstrap:e.bootstrap||Me,declarations:e.declarations||Me,imports:e.imports||Me,exports:e.exports||Me,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fM(e,t){if(e==null)return Cn;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=na.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function hM(e){if(e==null)return Cn;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Oe(e){return wo(()=>{let t=Vm(e);return Bm(t),t})}function xo(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Vm(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Cn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Me,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:fM(e.inputs,t),outputs:hM(e.outputs),debugInfo:null}}function Bm(e){e.features?.forEach(t=>t(e))}function Xh(e,t){if(!e)return null;let n=t?XE:lM;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(dM)}function pM(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function gM(e){return Object.getPrototypeOf(e.prototype).constructor}function mM(e){let t=gM(e.type),n=!0,r=[e];for(;t;){let o;if(Ye(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new v(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ru(e.inputs),s.declaredInputs=ru(e.declaredInputs),s.outputs=ru(e.outputs);let a=o.hostBindings;a&&wM(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&DM(e,c),u&&EM(e,u),vM(e,o),RE(e.outputs,o.outputs),Ye(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===mM&&(n=!1)}}t=Object.getPrototypeOf(t)}yM(r)}function vM(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function yM(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=gr(o.hostAttrs,n=gr(n,o.hostAttrs))}}function ru(e){return e===Cn?{}:e===Me?[]:e}function DM(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function EM(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function wM(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Um(e){return vd(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function IM(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function vd(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function kn(e,t,n){return e[t]=n}function $m(e,t){return e[t]}function De(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function yo(e,t,n,r){let o=De(e,t,n);return De(e,t+1,r)||o}function CM(e,t,n,r,o){let i=yo(e,t,n,r);return De(e,t+2,o)||i}function Hm(e,t,n,r,o,i){let s=yo(e,t,n,r);return yo(e,t+2,o,i)||s}function bM(e,t,n,r,o,i,s,a,c){let u=t.consts,l=Rr(t,e,4,s||null,a||null);Al()&&hd(t,n,l,Jt(u,c),id),l.mergedAttrs=gr(l.mergedAttrs,l.attrs),Vl(t,l);let d=l.tView=td(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function ks(e,t,n,r,o,i,s,a,c,u){let l=n+ee,d=t.firstCreatePass?bM(l,t,e,r,o,i,s,a,c):t.data[l];nn(d,!1);let h=TM(t,e,d,n);Ks()&&ia(t,e,h,d),Sr(h,e);let f=Dm(h,e,h,d);return e[l]=f,rd(e,f),Ub(f,d,e),Zs(d)&&ra(t,e,d),c!=null&&od(e,d,u),d}function MM(e,t,n,r,o,i,s,a){let c=C(),u=G(),l=Jt(u.consts,i);return ks(c,u,e,t,n,r,o,l,s,a),MM}var TM=SM;function SM(e,t,n,r){return Js(!0),t[Y].createComment("")}var yd=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Dd=new D(""),Ao=new D(""),ua=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,bl()&&(this._destroyRef=g(Lt,{optional:!0})??void 0),Ed||(_M(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{H.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!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,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(I(H),I(la),I(Ao))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),la=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Ed?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function _M(e){Ed=e}var Ed,zm=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new Xu})}return e})(),Xu=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function xr(e){return!!e&&typeof e.then=="function"}function wd(e){return!!e&&typeof e.subscribe=="function"}var qm=new D("");function Id(e){return bo([{provide:qm,multi:!0,useValue:e}])}var Gm=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(qm,{optional:!0})??[];injector=g(ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Re(this.injector,o);if(xr(i))n.push(i);else if(wd(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Cd=new D("");function NM(){zc(()=>{throw new v(600,!1)})}function RM(e){return e.isBoundToModule}var xM=10;function Wm(e,t){return Array.isArray(t)?t.reduce(Wm,e):y(y({},e),t)}var Ot=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(cI);afterRenderManager=g(kg);zonelessEnabled=g($l);rootEffectScheduler=g(zm);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new K;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=g(jt).hasPendingTasks.pipe(k(n=>!n));constructor(){g(Nr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(me);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ye.NULL){q(10);let i=n instanceof Cm;if(!this._injector.get(Gm).done){let f="";throw new v(405,f)}let a;i?a=n:a=this._injector.get(ca).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=RM(a)?void 0:this._injector.get(xn),u=r||a.selector,l=a.create(o,[],u,c),d=l.location.nativeElement,h=l.injector.get(Dd,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ds(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),q(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){q(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Zl.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new v(101,!1);let n=x(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,x(n),this.afterTick.next(),q(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(yr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<xM;)q(14),this.synchronizeOnce(),q(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)AM(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Ys(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ds(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Cd,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ds(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}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ds(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function AM(e,t,n,r){if(!n&&!Ys(e))return;gm(e,t,n&&!r?0:1)}function bd(e,t,n,r){let o=C(),i=rn();if(De(o,i,t)){let s=G(),a=Mr();NC(a,o,e,t,n,r)}return bd}function Md(e,t,n,r){return De(e,rn(),n)?t+wn(n)+r:Ae}function OM(e,t,n,r,o,i){let s=Nw(),a=yo(e,s,n,o);return Pl(2),a?t+wn(n)+r+wn(o)+i:Ae}function is(e,t){return e<<17|t<<2}function An(e){return e>>17&32767}function kM(e){return(e&2)==2}function PM(e,t){return e&131071|t<<17}function el(e){return e|2}function Dr(e){return(e&131068)>>2}function ou(e,t){return e&-131069|t<<2}function FM(e){return(e&1)===1}function tl(e){return e|1}function LM(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=An(s),c=Dr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Co(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=An(e[a+1]);e[r+1]=is(h,a),h!==0&&(e[h+1]=ou(e[h+1],r)),e[a+1]=PM(e[a+1],r)}else e[r+1]=is(a,0),a!==0&&(e[a+1]=ou(e[a+1],r)),a=r;else e[r+1]=is(c,0),a===0?a=r:e[c+1]=ou(e[c+1],r),c=r;u&&(e[r+1]=el(e[r+1])),ep(e,l,r,!0),ep(e,l,r,!1),jM(t,l,e,r,i),s=is(a,c),i?t.classBindings=s:t.styleBindings=s}function jM(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Co(i,t)>=0&&(n[r+1]=tl(n[r+1]))}function ep(e,t,n,r){let o=e[n+1],i=t===null,s=r?An(o):Dr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];VM(c,t)&&(a=!0,e[s+1]=r?tl(u):el(u)),s=r?An(u):Dr(u)}a&&(e[n+1]=r?el(o):tl(o))}function VM(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Co(e,t)>=0:!1}var ae={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zm(e){return e.substring(ae.key,ae.keyEnd)}function BM(e){return e.substring(ae.value,ae.valueEnd)}function UM(e){return Km(e),Ym(e,Er(e,0,ae.textEnd))}function Ym(e,t){let n=ae.textEnd;return n===t?-1:(t=ae.keyEnd=HM(e,ae.key=t,n),Er(e,t,n))}function $M(e){return Km(e),Qm(e,Er(e,0,ae.textEnd))}function Qm(e,t){let n=ae.textEnd,r=ae.key=Er(e,t,n);return n===r?-1:(r=ae.keyEnd=zM(e,r,n),r=tp(e,r,n,58),r=ae.value=Er(e,r,n),r=ae.valueEnd=qM(e,r,n),tp(e,r,n,59))}function Km(e){ae.key=0,ae.keyEnd=0,ae.value=0,ae.valueEnd=0,ae.textEnd=e.length}function Er(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function HM(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function zM(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function tp(e,t,n,r){return t=Er(e,t,n),t<n&&t++,t}function qM(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=np(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=np(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function np(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function GM(e,t,n){let r=C(),o=rn();if(De(r,o,t)){let i=G(),s=Mr();So(i,s,r,e,t,r[Y],n,!1)}return GM}function nl(e,t,n,r,o){sd(t,e,n,o?"class":"style",r)}function WM(e,t,n){return Xm(e,t,n,!1),WM}function ZM(e,t){return Xm(e,t,null,!0),ZM}function G1(e){Td(nv,YM,e,!1)}function YM(e,t){for(let n=$M(t);n>=0;n=Qm(t,n))nv(e,Zm(t),BM(t))}function W1(e){Td(tT,Jm,e,!0)}function Jm(e,t){for(let n=UM(t);n>=0;n=Ym(t,n))Io(e,Zm(t),!0)}function Xm(e,t,n,r){let o=C(),i=G(),s=Pl(2);if(i.firstUpdatePass&&tv(i,e,s,r),t!==Ae&&De(o,s,t)){let a=i.data[Ft()];rv(i,a,o,o[Y],e,o[s+1]=rT(t,n),r,s)}}function Td(e,t,n,r){let o=G(),i=Pl(2);o.firstUpdatePass&&tv(o,null,i,r);let s=C();if(n!==Ae&&De(s,i,n)){let a=o.data[Ft()];if(ov(a,r)&&!ev(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=lu(c,n||"")),nl(o,a,s,n,r)}else nT(o,a,s,s[Y],s[i+1],s[i+1]=eT(e,t,n),r,i)}}function ev(e,t){return t>=e.expandoStartIndex}function tv(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ft()],s=ev(e,n);ov(i,r)&&t===null&&!s&&(t=!1),t=QM(o,i,t,r),LM(o,i,t,n,s,r)}}function QM(e,t,n,r){let o=Kp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=iu(null,e,t,n,r),n=Do(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=iu(o,e,t,n,r),i===null){let c=KM(e,t,r);c!==void 0&&Array.isArray(c)&&(c=iu(null,e,t,c[1],r),c=Do(c,t.attrs,r),JM(e,t,r,c))}else i=XM(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function KM(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Dr(r)!==0)return e[An(r)]}function JM(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[An(o)]=r}function XM(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Do(r,s,n)}return Do(r,t.attrs,n)}function iu(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Do(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Do(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Io(e,s,n?!0:t[++i]))}return e===void 0?null:e}function eT(e,t,n){if(n==null||n==="")return Me;let r=[],o=Le(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function nv(e,t,n){Io(e,t,Le(n))}function tT(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Io(e,r,n)}function nT(e,t,n,r,o,i,s,a){o===Ae&&(o=Me);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,m;l===d?(c+=2,u+=2,h!==f&&(p=d,m=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,m=f),p!==null&&rv(e,t,n,r,p,m,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function rv(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=FM(u)?rp(c,t,n,o,Dr(u),s):void 0;if(!Ps(l)){Ps(i)||kM(u)&&(i=rp(c,null,n,o,a,s));let d=Hp(Ft(),n);ZC(r,s,d,o,i)}}function rp(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===Ae&&(h=d?Me:void 0);let f=d?Yc(h,r):l===r?h:void 0;if(u&&!Ps(f)&&(f=Yc(c,r)),Ps(f)&&(a=f,s))return a;let p=e[o+1];o=s?An(p):Dr(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Yc(c,r))}return a}function Ps(e){return e!==void 0}function rT(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=_e(Le(e)))),e}function ov(e,t){return(e.flags&(t?8:16))!==0}function Z1(e,t,n){let r=C(),o=Md(r,e,t,n);Td(Io,Jm,o,!0)}function Y1(){return C()[Ne][oe]}var rl=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function su(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function oT(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=su(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],p=su(s,h,c,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,c--;continue}let m=n(i,u),w=n(s,h),_=n(i,l);if(Object.is(_,w)){let J=n(c,f);Object.is(J,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Fs,o??=ip(e,i,s,n),ol(e,r,i,_))e.updateValue(i,l),i++,s++;else if(o.has(_))r.set(m,e.detach(i)),s--;else{let J=e.create(i,t[i]);e.attach(i,J),i++,s++}}for(;i<=c;)op(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=su(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new Fs,o??=ip(e,i,s,n);let f=n(i,d);if(ol(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!u.done;)op(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function ol(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function op(e,t,n,r,o){if(ol(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ip(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Fs=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function Q1(e,t){on("NgControlFlow");let n=C(),r=rn(),o=n[r]!==Ae?n[r]:-1,i=o!==-1?Ls(n,ee+o):void 0,s=0;if(De(n,r,e)){let a=x(null);try{if(i!==void 0&&wm(i,s),e!==-1){let c=ee+e,u=Ls(n,c),l=cl(n[R],c),d=vr(u,l.tView.ssrId),h=_o(n,l,t,{dehydratedView:d});No(u,h,s,mr(l,d))}}finally{x(a)}}else if(i!==void 0){let a=Em(i,s);a!==void 0&&(a[oe]=t)}}var il=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ge}};function K1(e,t){return t}var sl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function J1(e,t,n,r,o,i,s,a,c,u,l,d,h){on("NgControlFlow");let f=C(),p=G(),m=c!==void 0,w=C(),_=a?s.bind(w[Ne][oe]):s,J=new sl(m,_);w[ee+e]=J,ks(f,p,e+1,t,n,r,o,Jt(p.consts,i)),m&&ks(f,p,e+2,c,u,l,d,Jt(p.consts,h))}var al=class extends rl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-ge}at(t){return this.getLView(t)[oe].$implicit}attach(t,n){let r=n[fr];this.needsIndexUpdate||=t!==this.length,No(this.lContainer,n,t,mr(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,iT(this.lContainer,t)}create(t,n){let r=vr(this.lContainer,this.templateTNode.tView.ssrId),o=_o(this.hostLView,this.templateTNode,new il(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){oa(t[R],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[oe].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[oe].$index=t}getLView(t){return sT(this.lContainer,t)}};function X1(e){let t=x(null),n=Ft();try{let r=C(),o=r[R],i=r[n],s=n+1,a=Ls(r,s);if(i.liveCollection===void 0){let u=cl(o,s);i.liveCollection=new al(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(oT(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=rn(),l=c.length===0;if(De(r,u,l)){let d=n+2,h=Ls(r,d);if(l){let f=cl(o,d),p=vr(h,f.tView.ssrId),m=_o(r,f,void 0,{dehydratedView:p});No(h,m,0,mr(f,p))}else wm(h,0)}}}finally{x(t)}}function Ls(e,t){return e[t]}function iT(e,t){return go(e,t)}function sT(e,t){return Em(e,t)}function cl(e,t){return _l(e,t)}function iv(e,t,n,r){let o=C(),i=G(),s=ee+e,a=o[Y],c=i.firstCreatePass?Tm(s,i,o,t,id,Al(),n,r):i.data[s],u=aT(i,o,c,a,t,e);o[s]=u;let l=Zs(c);return nn(c,!0),tm(a,u,c),!ud(c)&&Ks()&&ia(i,o,u,c),(Iw()===0||l)&&Sr(u,o),Cw(),l&&(ra(i,o,c),Kl(i,c,o)),r!==null&&od(o,c),iv}function sv(){let e=Ee();Ol()?kl():(e=e.parent,nn(e,!1));let t=e;Mw(t)&&Tw(),bw();let n=G();return n.firstCreatePass&&Sm(n,t),t.classesWithoutHost!=null&&Bw(t)&&nl(n,t,C(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Uw(t)&&nl(n,t,C(),t.stylesWithoutHost,!1),sv}function Sd(e,t,n,r){return iv(e,t,n,r),sv(),Sd}var aT=(e,t,n,r,o,i)=>(Js(!0),Xg(r,o,Lw()));function cT(e,t,n,r,o){let i=t.consts,s=Jt(i,r),a=Rr(t,e,8,"ng-container",s);s!==null&&qu(a,s,!0);let c=Jt(i,o);return Al()&&hd(t,n,a,c,id),a.mergedAttrs=gr(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function av(e,t,n){let r=C(),o=G(),i=e+ee,s=o.firstCreatePass?cT(i,o,r,t,n):o.data[i];nn(s,!0);let a=lT(o,r,s,e);return r[i]=a,Ks()&&ia(o,r,a,s),Sr(a,r),Zs(s)&&(ra(o,r,s),Kl(o,s,r)),n!=null&&od(r,s),av}function cv(){let e=Ee(),t=G();return Ol()?kl():(e=e.parent,nn(e,!1)),t.firstCreatePass&&(Vl(t,e),Sl(e)&&t.queries.elementEnd(e)),cv}function uT(e,t,n){return av(e,t,n),cv(),uT}var lT=(e,t,n,r)=>(Js(!0),pC(t[Y],""));function ej(){return C()}function dT(e,t,n){let r=C(),o=rn();if(De(r,o,t)){let i=G(),s=Mr();So(i,s,r,e,t,r[Y],n,!0)}return dT}function fT(e,t,n){let r=C(),o=rn();if(De(r,o,t)){let i=G(),s=Mr(),a=Kp(i.data),c=AC(a,s,r);So(i,s,r,e,t,c,n,!0)}return fT}var yn=void 0;function hT(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var pT=["en",[["a","p"],["AM","PM"],yn],[["AM","PM"],yn,yn],[["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"]],yn,[["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"]],yn,[["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}",yn,"{1} 'at' {0}",yn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",hT],au={};function je(e){let t=gT(e),n=sp(t);if(n)return n;let r=t.split("-")[0];if(n=sp(r),n)return n;if(r==="en")return pT;throw new v(701,!1)}function sp(e){return e in au||(au[e]=de.ng&&de.ng.common&&de.ng.common.locales&&de.ng.common.locales[e]),au[e]}var te=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(te||{});function gT(e){return e.toLowerCase().replace(/_/g,"-")}var js="en-US";var mT=js;function vT(e){typeof e=="string"&&(mT=e.toLowerCase().replace(/_/g,"-"))}function ap(e,t,n){return function r(o){if(o===Function)return n;let i=Ir(e)?ft(e.index,t):t;fd(i,5);let s=t[oe],a=cp(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=cp(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function cp(e,t,n,r){let o=x(null);try{return q(6,t,n),n(r)!==!1}catch(i){return yT(e,i),!1}finally{q(7,t,n),x(o)}}function yT(e,t){let n=e[hr],r=n?n.get(Qe,null):null;r&&r.handleError(t)}function up(e,t,n,r,o,i){let s=t[n],a=t[R],u=a.data[n].outputs[r],l=s[u],d=a.firstCreatePass?xl(a):null,h=Rl(t),f=l.subscribe(i),p=h.length;h.push(i,f),d&&d.push(o,e.index,p,-(p+1))}function _d(e,t,n,r){let o=C(),i=G(),s=Ee();return uv(i,o,o[Y],s,e,t,r),_d}function DT(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[vs],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function uv(e,t,n,r,o,i,s){let a=Zs(r),u=e.firstCreatePass?xl(e):null,l=Rl(t),d=!0;if(r.type&3||s){let h=mt(r,t),f=s?s(h):h,p=l.length,m=s?_=>s(dt(_[r.index])):r.index,w=null;if(!s&&a&&(w=DT(e,t,o,r.index)),w!==null){let _=w.__ngLastListenerFn__||w;_.__ngNextListenerFn__=i,w.__ngLastListenerFn__=i,d=!1}else{i=ap(r,t,i),SI(t,f,o,i);let _=n.listen(f,o,i);l.push(i,_),u&&u.push(o,m,p,p+1)}}else i=ap(r,t,i);if(d){let h=r.outputs?.[o],f=r.hostDirectiveOutputs?.[o];if(f&&f.length)for(let p=0;p<f.length;p+=2){let m=f[p],w=f[p+1];up(r,t,m,w,o,i)}if(h&&h.length)for(let p of h)up(r,t,p,o,o,i)}}function tj(e=1){return Pw(e)}function ET(e,t){let n=null,r=iC(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Jg(e,i,!0):cC(r,i))return o}return n}function nj(e){let t=C()[Ne][xe];if(!t.projection){let n=e?e.length:1,r=t.projection=YE(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?ET(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function rj(e,t=0,n,r,o,i){let s=C(),a=G(),c=r?e+1:null;c!==null&&ks(s,a,c,r,o,i,null,n);let u=Rr(a,ee+e,16,null,n||null);u.projection===null&&(u.projection=t),kl();let d=!s[fr]||Zp();s[Ne][xe].projection[u.projection]===null&&c!==null?wT(s,a,c):d&&!ud(u)&&GC(a,s,u)}function wT(e,t,n){let r=ee+n,o=t.data[r],i=e[r],s=vr(i,o.tView.ssrId),a=_o(e,o,void 0,{dehydratedView:s});No(i,a,0,mr(o,s))}function IT(e,t,n){return lv(e,"",t,"",n),IT}function lv(e,t,n,r,o){let i=C(),s=Md(i,t,n,r);if(s!==Ae){let a=G(),c=Mr();So(a,c,i,e,s,i[Y],o,!1)}return lv}function dv(e,t,n,r){Am(e,t,n,r)}function oj(e,t,n){Wb(e,t,n)}function fv(e){let t=C(),n=G(),r=Fl();Qs(r+1);let o=gd(n,r);if(e.dirty&&vw(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=km(t,r);e.reset(i,Ig),e.notifyOnChanges()}return!0}return!1}function hv(){return pd(C(),Fl())}function ij(e,t,n,r,o){Jb(t,Am(e,n,r,o))}function sj(e=1){Qs(Fl()+e)}function aj(e){let t=_w();return Mo(t,ee+e)}function cj(e,t=""){let n=C(),r=G(),o=e+ee,i=r.firstCreatePass?Rr(r,o,1,t,null):r.data[o],s=CT(r,n,i,t,e);n[o]=s,Ks()&&ia(r,n,s,i),nn(i,!1)}var CT=(e,t,n,r,o)=>(Js(!0),fC(t[Y],r));function bT(e){return pv("",e,""),bT}function pv(e,t,n){let r=C(),o=Md(r,e,t,n);return o!==Ae&&gv(r,Ft(),o),pv}function MT(e,t,n,r,o){let i=C(),s=OM(i,e,t,n,r,o);return s!==Ae&&gv(i,Ft(),s),MT}function gv(e,t,n){let r=Hp(t,e);hC(e[Y],r,n)}function TT(e,t,n){bg(t)&&(t=t());let r=C(),o=rn();if(De(r,o,t)){let i=G(),s=Mr();So(i,s,r,e,t,r[Y],n,!1)}return TT}function uj(e,t){let n=bg(e);return n&&e.set(t),n}function ST(e,t){let n=C(),r=G(),o=Ee();return uv(r,n,n[Y],o,e,t),ST}var _T={};function NT(e){let t=G(),n=C(),r=e+ee,o=Rr(t,r,128,null,null);return nn(o,!1),zp(t,n,r,_T),NT}function RT(e,t,n){let r=G();if(r.firstCreatePass){let o=Ye(e);ul(n,r.data,r.blueprint,o,!0),ul(t,r.data,r.blueprint,o,!1)}}function ul(e,t,n,r,o){if(e=be(e),Array.isArray(e))for(let i=0;i<e.length;i++)ul(e[i],t,n,r,o);else{let i=G(),s=C(),a=Ee(),c=dr(e)?e:be(e.provide),u=Fp(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(dr(e)||!e.multi){let f=new Nn(u,o,j),p=uu(c,t,o?l:l+h,d);p===-1?(Iu(bs(a,s),i,c),cu(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=uu(c,t,l+h,d),p=uu(c,t,l,l+h),m=f>=0&&n[f],w=p>=0&&n[p];if(o&&!w||!o&&!m){Iu(bs(a,s),i,c);let _=OT(o?AT:xT,n.length,o,r,u);!o&&w&&(n[p].providerFactory=_),cu(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=mv(n[o?p:f],u,!o&&r);cu(i,e,f>-1?f:p,_)}!o&&r&&w&&n[p].componentProviders++}}}function cu(e,t,n,r){let o=dr(t),i=ow(t);if(o||i){let c=(i?be(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function mv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function uu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function xT(e,t,n,r,o){return ll(this.multi,[])}function AT(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=ho(r,r[R],this.providerFactory.index,o);s=c.slice(0,a),ll(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],ll(i,s);return s}function ll(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function OT(e,t,n,r,o){let i=new Nn(e,n,j);return i.multi=[],i.index=t,i.componentProviders=0,mv(i,o,r&&!n),i}function lj(e,t=[]){return n=>{n.providersResolver=(r,o)=>RT(r,o?o(e):e,t)}}function dj(e,t,n){let r=Ke()+e,o=C();return o[r]===Ae?kn(o,r,n?t.call(n):t()):$m(o,r)}function fj(e,t,n,r){return vv(C(),Ke(),e,t,n,r)}function hj(e,t,n,r,o){return yv(C(),Ke(),e,t,n,r,o)}function pj(e,t,n,r,o,i){return Dv(C(),Ke(),e,t,n,r,o,i)}function gj(e,t,n,r,o,i,s){return Ev(C(),Ke(),e,t,n,r,o,i,s)}function mj(e,t,n,r,o,i,s,a){let c=Ke()+e,u=C(),l=Hm(u,c,n,r,o,i);return De(u,c+4,s)||l?kn(u,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):$m(u,c+5)}function vj(e,t,n,r){return kT(C(),Ke(),e,t,n,r)}function Oo(e,t){let n=e[t];return n===Ae?void 0:n}function vv(e,t,n,r,o,i){let s=t+n;return De(e,s,o)?kn(e,s+1,i?r.call(i,o):r(o)):Oo(e,s+1)}function yv(e,t,n,r,o,i,s){let a=t+n;return yo(e,a,o,i)?kn(e,a+2,s?r.call(s,o,i):r(o,i)):Oo(e,a+2)}function Dv(e,t,n,r,o,i,s,a){let c=t+n;return CM(e,c,o,i,s)?kn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Oo(e,c+3)}function Ev(e,t,n,r,o,i,s,a,c){let u=t+n;return Hm(e,u,o,i,s,a)?kn(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Oo(e,u+4)}function kT(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)De(e,s++,o[c])&&(a=!0);return a?kn(e,s,r.apply(i,o)):Oo(e,s)}function yj(e,t){let n=G(),r,o=e+ee;n.firstCreatePass?(r=PT(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=In(r.type,!0)),s,a=Se(j);try{let c=Cs(!1),u=i();return Cs(c),zp(n,C(),o,u),u}finally{Se(a)}}function PT(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Dj(e,t,n){let r=e+ee,o=C(),i=Mo(o,r);return da(o,r)?vv(o,Ke(),t,i.transform,n,i):i.transform(n)}function Ej(e,t,n,r){let o=e+ee,i=C(),s=Mo(i,o);return da(i,o)?yv(i,Ke(),t,s.transform,n,r,s):s.transform(n,r)}function wj(e,t,n,r,o){let i=e+ee,s=C(),a=Mo(s,i);return da(s,i)?Dv(s,Ke(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Ij(e,t,n,r,o,i){let s=e+ee,a=C(),c=Mo(a,s);return da(a,s)?Ev(a,Ke(),t,c.transform,n,r,o,i,c):c.transform(n,r,o,i)}function da(e,t){return e[R].data[t].pure}function Cj(e,t){return aa(e,t)}var ss=null;function FT(e){ss!==null&&(e.defaultEncapsulation!==ss.defaultEncapsulation||e.preserveWhitespaces!==ss.preserveWhitespaces)||(ss=e)}var Eo=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},bj=new Eo("19.2.14"),dl=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},wv=(()=>{class e{compileModuleSync(n){return new Os(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ap(n),i=Qg(o.declarations).reduce((s,a)=>{let c=Kt(a);return c&&s.push(new Rn(c)),s},[]);return new dl(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),LT=new D("");function jT(e,t,n){let r=new Os(n);return Promise.resolve(r)}function lp(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var VT=(()=>{class e{zone=g(H);changeDetectionScheduler=g(Xt);applicationRef=g(Ot);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function BT({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new H(B(y({},Iv()),{scheduleInRootZone:n})),[{provide:H,useFactory:e},{provide:lr,multi:!0,useFactory:()=>{let r=g(VT,{optional:!0});return()=>r.initialize()}},{provide:lr,multi:!0,useFactory:()=>{let r=g(UT);return()=>{r.initialize()}}},t===!0?{provide:vg,useValue:!0}:[],{provide:yg,useValue:n??mg}]}function Iv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var UT=(()=>{class e{subscription=new Q;initialized=!1;zone=g(H);pendingTasks=g(jt);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()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $T=(()=>{class e{appRef=g(Ot);taskService=g(jt);ngZone=g(H);zonelessEnabled=g($l);tracing=g(Nr,{optional:!0});disableScheduling=g(vg,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Q;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ts):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(yg,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ss||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?xh:Dg;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ts+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,xh(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function HT(){return typeof $localize<"u"&&$localize.locale||js}var ko=new D("",{providedIn:"root",factory:()=>g(ko,P.Optional|P.SkipSelf)||HT()});var Vs=new D(""),zT=new D("");function io(e){return!e.moduleRef}function qT(e){let t=io(e)?e.r3Injector:e.moduleRef.injector,n=t.get(H);return n.run(()=>{io(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Qe,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),io(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Vs);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Vs);s.add(i),e.moduleRef.onDestroy(()=>{ds(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return WT(r,n,()=>{let i=t.get(Gm);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(ko,js);if(vT(s||js),!t.get(zT,!0))return io(e)?t.get(Ot):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(io(e)){let c=t.get(Ot);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return GT(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function GT(e,t){let n=e.injector.get(Ot);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new v(-403,!1);t.push(e)}function WT(e,t,n){try{let r=n();return xr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Cv=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>aI(r?.ngZone,B(y({},Iv({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[BT({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Xt,useExisting:$T}],c=cM(n.moduleType,this.injector,a);return qT({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=Wm({},r);return jT(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(Vs,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(I(ye))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),uo=null,bv=new D("");function ZT(e){if(uo&&!uo.get(bv,!1))throw new v(400,!1);NM(),uo=e;let t=e.get(Cv);return KT(e),t}function Nd(e,t,n=[]){let r=`Platform: ${t}`,o=new D(r);return(i=[])=>{let s=Mv();if(!s||s.injector.get(bv,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):ZT(YT(a,r))}return QT(o)}}function YT(e=[],t){return ye.create({name:t,providers:[{provide:qs,useValue:"platform"},{provide:Vs,useValue:new Set([()=>uo=null])},...e]})}function QT(e){let t=Mv();if(!t)throw new v(401,!1);return t}function Mv(){return uo?.get(Cv)??null}function KT(e){let t=e.get(Gl,null);Re(e,()=>{t?.forEach(n=>n())})}function Mj(){return!1}var Pn=(()=>{class e{static __NG_ELEMENT_ID__=JT}return e})();function JT(e){return XT(Ee(),C(),(e&16)===16)}function XT(e,t,n){if(Ir(e)&&!n){let r=ft(e.index,t);return new mo(r,r)}else if(e.type&175){let r=t[Ne];return new mo(r,t)}return null}var fl=class{constructor(){}supports(t){return Um(t)}create(t){return new hl(t)}},eS=(e,t)=>t,hl=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||eS}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<dp(r,o,i)?n:r,a=dp(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,p=f+h;l<=p&&p<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Um(t))throw new v(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,IM(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new pl(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Bs),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Bs),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},pl=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},gl=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Bs=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new gl,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function dp(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var ml=class{constructor(){}supports(t){return t instanceof Map||vd(t)}create(){return new vl}},vl=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||vd(t)))throw new v(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new yl(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},yl=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function fp(){return new Rd([new fl])}var Rd=(()=>{class e{factories;static \u0275prov=E({token:e,providedIn:"root",factory:fp});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||fp()),deps:[[e,new _p,new wl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new v(901,!1)}}return e})();function hp(){return new xd([new ml])}var xd=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:hp});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||hp()),deps:[[e,new _p,new wl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new v(901,!1)}}return e})();var Tv=Nd(null,"core",[]),Sv=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(I(Ot))};static \u0275mod=Ut({type:e});static \u0275inj=kt({})}return e})();function Po(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function tS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Ad(e){return Wc(e)}function Tj(e,t){return Ji(e,t?.equal)}var Dl=class{[Ce];constructor(t){this[Ce]=t}destroy(){this[Ce].destroy()}};function nS(e,t){!t?.injector&&Ml(nS);let n=t?.injector??g(ye),r=t?.manualCleanup!==!0?n.get(Lt):null,o,i=n.get(Yl,null,{optional:!0}),s=n.get(Xt);return i!==null&&!t?.forceRoot?(o=iS(i.view,s,e),r instanceof Ms&&r._lView===i.view&&(r=null)):o=sS(e,n.get(zm),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Dl(o)}var _v=B(y({},tr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:po,run(){if(this.dirty=!1,this.hasRun&&!Yi(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=no(this),n=Es(!1);try{this.maybeCleanup(),this.fn(e)}finally{Es(n),Zi(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),rS=B(y({},_v),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ro(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),oS=B(y({},_v),{consumerMarkedDirty(){this.view[N]|=8192,br(this.view),this.notifier.notify(13)},destroy(){ro(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Mn]?.delete(this)}});function iS(e,t,n){let r=Object.create(oS);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Mn]??=new Set,e[Mn].add(r),r.consumerMarkedDirty(r),r}function sS(e,t,n){let r=Object.create(rS);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function Sj(e,t){let n=Kt(e),r=t.elementInjector||Gs();return new Rn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function Nv(e){let t=Kt(e);if(!t)return null;let n=new Rn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var re=new D("");var Av=null;function vt(){return Av}function Od(e){Av??=e}var Fo=class{},Lo=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(Ov),providedIn:"platform"})}return e})(),kd=new D(""),Ov=(()=>{class e extends Lo{_location;_history;_doc=g(re);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return vt().getBaseHref(this._doc)}onPopState(n){let r=vt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=vt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function fa(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Rv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function tt(e){return e&&e[0]!=="?"?`?${e}`:e}var nt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(pa),providedIn:"root"})}return e})(),ha=new D(""),pa=(()=>{class e extends nt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(re).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 fa(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+tt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+tt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+tt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(I(Lo),I(ha,8))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),an=(()=>{class e{_subject=new K;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=uS(Rv(xv(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+tt(r))}normalize(n){return e.stripTrailingSlash(cS(this._basePath,xv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=tt;static joinWithSlash=fa;static stripTrailingSlash=Rv;static \u0275fac=function(r){return new(r||e)(I(nt))};static \u0275prov=E({token:e,factory:()=>aS(),providedIn:"root"})}return e})();function aS(){return new an(I(nt))}function cS(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function xv(e){return e.replace(/\/index.html$/,"")}function uS(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var zd=(()=>{class e extends nt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=fa(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+tt(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+tt(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(I(Lo),I(ha,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var qd=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(qd||{});var we=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(we||{}),U=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(U||{}),ke=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ke||{}),Pe={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Bv(e){return je(e)[te.LocaleId]}function Uv(e,t,n){let r=je(e),o=[r[te.DayPeriodsFormat],r[te.DayPeriodsStandalone]],i=ze(o,t);return ze(i,n)}function $v(e,t,n){let r=je(e),o=[r[te.DaysFormat],r[te.DaysStandalone]],i=ze(o,t);return ze(i,n)}function Hv(e,t,n){let r=je(e),o=[r[te.MonthsFormat],r[te.MonthsStandalone]],i=ze(o,t);return ze(i,n)}function zv(e,t){let r=je(e)[te.Eras];return ze(r,t)}function jo(e,t){let n=je(e);return ze(n[te.DateFormat],t)}function Vo(e,t){let n=je(e);return ze(n[te.TimeFormat],t)}function Bo(e,t){let r=je(e)[te.DateTimeFormat];return ze(r,t)}function yt(e,t){let n=je(e),r=n[te.NumberSymbols][t];if(typeof r>"u"){if(t===Pe.CurrencyDecimal)return n[te.NumberSymbols][Pe.Decimal];if(t===Pe.CurrencyGroup)return n[te.NumberSymbols][Pe.Group]}return r}function qv(e,t){return je(e)[te.NumberFormats][t]}function Gv(e){if(!e[te.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[te.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Wv(e){let t=je(e);return Gv(t),(t[te.ExtraData][2]||[]).map(r=>typeof r=="string"?Pd(r):[Pd(r[0]),Pd(r[1])])}function Zv(e,t,n){let r=je(e);Gv(r);let o=[r[te.ExtraData][0],r[te.ExtraData][1]],i=ze(o,t)||[];return ze(i,n)||[]}function ze(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Pd(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var lS=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ga={},dS=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Yv(e,t,n,r){let o=ES(e);t=$t(n,t)||t;let s=[],a;for(;t;)if(a=dS.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Kv(r,c),o=DS(o,r));let u="";return s.forEach(l=>{let d=vS(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Ea(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function $t(e,t){let n=Bv(e);if(ga[n]??={},ga[n][t])return ga[n][t];let r="";switch(t){case"shortDate":r=jo(e,ke.Short);break;case"mediumDate":r=jo(e,ke.Medium);break;case"longDate":r=jo(e,ke.Long);break;case"fullDate":r=jo(e,ke.Full);break;case"shortTime":r=Vo(e,ke.Short);break;case"mediumTime":r=Vo(e,ke.Medium);break;case"longTime":r=Vo(e,ke.Long);break;case"fullTime":r=Vo(e,ke.Full);break;case"short":let o=$t(e,"shortTime"),i=$t(e,"shortDate");r=ma(Bo(e,ke.Short),[o,i]);break;case"medium":let s=$t(e,"mediumTime"),a=$t(e,"mediumDate");r=ma(Bo(e,ke.Medium),[s,a]);break;case"long":let c=$t(e,"longTime"),u=$t(e,"longDate");r=ma(Bo(e,ke.Long),[c,u]);break;case"full":let l=$t(e,"fullTime"),d=$t(e,"fullDate");r=ma(Bo(e,ke.Full),[l,d]);break}return r&&(ga[n][t]=r),r}function ma(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function rt(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function fS(e,t){return rt(e,3).substring(0,t)}function ie(e,t,n=0,r=!1,o=!1){return function(i,s){let a=hS(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return fS(a,t);let c=yt(s,Pe.MinusSign);return rt(a,t,c,r,o)}}function hS(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function W(e,t,n=we.Format,r=!1){return function(o,i){return pS(o,i,e,t,n,r)}}function pS(e,t,n,r,o,i){switch(n){case 2:return Hv(t,o,r)[e.getMonth()];case 1:return $v(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Wv(t),l=Zv(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,m=s>=f.hours&&a>=f.minutes,w=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(m&&w)return!0}else if(m||w)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Uv(t,o,r)[s<12?0:1];case 3:return zv(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function va(e){return function(t,n,r){let o=-1*r,i=yt(n,Pe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+rt(s,2,i)+rt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+rt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+rt(s,2,i)+":"+rt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+rt(s,2,i)+":"+rt(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var gS=0,Da=4;function mS(e){let t=Ea(e,gS,1).getDay();return Ea(e,0,1+(t<=Da?Da:Da+7)-t)}function Qv(e){let t=e.getDay(),n=t===0?-3:Da-t;return Ea(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Fd(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Qv(n),s=mS(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return rt(o,e,yt(r,Pe.MinusSign))}}function ya(e,t=!1){return function(n,r){let i=Qv(n).getFullYear();return rt(i,e,yt(r,Pe.MinusSign),t)}}var Ld={};function vS(e){if(Ld[e])return Ld[e];let t;switch(e){case"G":case"GG":case"GGG":t=W(3,U.Abbreviated);break;case"GGGG":t=W(3,U.Wide);break;case"GGGGG":t=W(3,U.Narrow);break;case"y":t=ie(0,1,0,!1,!0);break;case"yy":t=ie(0,2,0,!0,!0);break;case"yyy":t=ie(0,3,0,!1,!0);break;case"yyyy":t=ie(0,4,0,!1,!0);break;case"Y":t=ya(1);break;case"YY":t=ya(2,!0);break;case"YYY":t=ya(3);break;case"YYYY":t=ya(4);break;case"M":case"L":t=ie(1,1,1);break;case"MM":case"LL":t=ie(1,2,1);break;case"MMM":t=W(2,U.Abbreviated);break;case"MMMM":t=W(2,U.Wide);break;case"MMMMM":t=W(2,U.Narrow);break;case"LLL":t=W(2,U.Abbreviated,we.Standalone);break;case"LLLL":t=W(2,U.Wide,we.Standalone);break;case"LLLLL":t=W(2,U.Narrow,we.Standalone);break;case"w":t=Fd(1);break;case"ww":t=Fd(2);break;case"W":t=Fd(1,!0);break;case"d":t=ie(2,1);break;case"dd":t=ie(2,2);break;case"c":case"cc":t=ie(7,1);break;case"ccc":t=W(1,U.Abbreviated,we.Standalone);break;case"cccc":t=W(1,U.Wide,we.Standalone);break;case"ccccc":t=W(1,U.Narrow,we.Standalone);break;case"cccccc":t=W(1,U.Short,we.Standalone);break;case"E":case"EE":case"EEE":t=W(1,U.Abbreviated);break;case"EEEE":t=W(1,U.Wide);break;case"EEEEE":t=W(1,U.Narrow);break;case"EEEEEE":t=W(1,U.Short);break;case"a":case"aa":case"aaa":t=W(0,U.Abbreviated);break;case"aaaa":t=W(0,U.Wide);break;case"aaaaa":t=W(0,U.Narrow);break;case"b":case"bb":case"bbb":t=W(0,U.Abbreviated,we.Standalone,!0);break;case"bbbb":t=W(0,U.Wide,we.Standalone,!0);break;case"bbbbb":t=W(0,U.Narrow,we.Standalone,!0);break;case"B":case"BB":case"BBB":t=W(0,U.Abbreviated,we.Format,!0);break;case"BBBB":t=W(0,U.Wide,we.Format,!0);break;case"BBBBB":t=W(0,U.Narrow,we.Format,!0);break;case"h":t=ie(3,1,-12);break;case"hh":t=ie(3,2,-12);break;case"H":t=ie(3,1);break;case"HH":t=ie(3,2);break;case"m":t=ie(4,1);break;case"mm":t=ie(4,2);break;case"s":t=ie(5,1);break;case"ss":t=ie(5,2);break;case"S":t=ie(6,1);break;case"SS":t=ie(6,2);break;case"SSS":t=ie(6,3);break;case"Z":case"ZZ":case"ZZZ":t=va(0);break;case"ZZZZZ":t=va(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=va(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=va(2);break;default:return null}return Ld[e]=t,t}function Kv(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function yS(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function DS(e,t,n){let o=e.getTimezoneOffset(),i=Kv(t,o);return yS(e,-1*(i-o))}function ES(e){if(kv(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Ea(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(lS))return wS(r)}let t=new Date(e);if(!kv(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function wS(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function kv(e){return e instanceof Date&&!isNaN(e.valueOf())}var IS=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Pv=22,wa=".",Uo="0",CS=";",bS=",",jd="#";function MS(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=yt(n,Pe.Infinity);else{let u=_S(e);s&&(u=SS(u));let l=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){let J=i.match(IS);if(J===null)throw new Error(`${i} is not a valid digit info`);let X=J[1],pn=J[3],gi=J[5];X!=null&&(l=Vd(X)),pn!=null&&(d=Vd(pn)),gi!=null?h=Vd(gi):pn!=null&&d>h&&(h=d)}NS(u,d,h);let f=u.digits,p=u.integerLen,m=u.exponent,w=[];for(c=f.every(J=>!J);p<l;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?w=f.splice(p,f.length):(w=f,f=[0]);let _=[];for(f.length>=t.lgSize&&_.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)_.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&_.unshift(f.join("")),a=_.join(yt(n,r)),w.length&&(a+=yt(n,o)+w.join("")),m&&(a+=yt(n,Pe.Exponential)+"+"+m)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Jv(e,t,n){let r=qv(t,qd.Decimal),o=TS(r,yt(t,Pe.MinusSign));return MS(e,o,t,Pe.Group,Pe.Decimal,n)}function TS(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(CS),o=r[0],i=r[1],s=o.indexOf(wa)!==-1?o.split(wa):[o.substring(0,o.lastIndexOf(Uo)+1),o.substring(o.lastIndexOf(Uo)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(jd));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===Uo?n.minFrac=n.maxFrac=l+1:d===jd?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(bS);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(jd);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function SS(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function _S(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(wa))>-1&&(t=t.replace(wa,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===Uo;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Uo;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Pv&&(r=r.splice(0,Pv-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function NS(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,h,f,p){return h=h+d,p[f]=h<10?h:h-10,c&&(p[f]===0&&f>=u?p.pop():c=!1),h>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Vd(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var Bd=/\s+/,Fv=[],RS=(()=>{class e{_ngEl;_renderer;initialClasses=Fv;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Bd):Fv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Bd):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Bd).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(j(Je),j(On))};static \u0275dir=Oe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),xS=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(n){this._viewContainerRef=n}_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 r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Lm(this.ngComponentOutletNgModule,Lv(r)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Lv(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,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[r,o]of this._inputsUsed)o?(n.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(n.setInput(r,void 0),this._inputsUsed.delete(r))}static \u0275fac=function(r){return new(r||e)(j(et))};static \u0275dir=Oe({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[tn]})}return e})();function Lv(e){return e.get(xn).injector}var Ia=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Xv=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Ia(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),jv(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);jv(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(j(et),j(en),j(Rd))};static \u0275dir=Oe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function jv(e,t){e.context.$implicit=t.item}var AS=(()=>{class e{_viewContainer;_context=new Ca;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Vv(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Vv(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(j(et),j(en))};static \u0275dir=Oe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ca=class{$implicit=null;ngIf=null};function Vv(e,t){if(e&&!e.createEmbeddedView)throw new v(2020,!1)}var Ud=class{_viewContainerRef;_templateRef;_created=!1;constructor(t,n){this._viewContainerRef=t,this._templateRef=n}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},ey=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let r of this._defaultViews)r.enforceState(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Oe({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),OS=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new Ud(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(r){return new(r||e)(j(et),j(en),j(ey,9))};static \u0275dir=Oe({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})();var kS=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}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,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:pt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(j(Je),j(xd),j(On))};static \u0275dir=Oe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),PS=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(j(et))};static \u0275dir=Oe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[tn]})}return e})();function ba(e,t){return new v(2100,!1)}var $d=class{createSubscription(t,n){return Ad(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Ad(()=>t.unsubscribe())}},Hd=class{createSubscription(t,n){return t.then(r=>n?.(r),r=>{throw r}),{unsubscribe:()=>{n=null}}}dispose(t){t.unsubscribe()}},FS=new Hd,LS=new $d,jS=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(xr(n))return FS;if(wd(n))return LS;throw ba(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(j(Pn,16))};static \u0275pipe=xo({name:"async",type:e,pure:!1})}return e})();var VS="mediumDate",ty=new D(""),ny=new D(""),BS=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??VS,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Yv(n,s,i||this.locale,a)}catch(s){throw ba(e,s.message)}}static \u0275fac=function(r){return new(r||e)(j(ko,16),j(ty,24),j(ny,24))};static \u0275pipe=xo({name:"date",type:e,pure:!0})}return e})();var US=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!$S(n))return null;o||=this._locale;try{let i=HS(n);return Jv(i,o,r)}catch(i){throw ba(e,i.message)}}static \u0275fac=function(r){return new(r||e)(j(ko,16))};static \u0275pipe=xo({name:"number",type:e,pure:!0})}return e})();function $S(e){return!(e==null||e===""||e!==e)}function HS(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var zS=(()=>{class e{transform(n,r,o){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw ba(e,n);return n.slice(r,o)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=xo({name:"slice",type:e,pure:!1})}return e})();var Gd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ut({type:e});static \u0275inj=kt({})}return e})();function $o(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Ma="browser",ry="server";function qS(e){return e===Ma}function Ta(e){return e===ry}var Fn=class{};var oy=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new Wd(g(re),window)})}return e})(),Wd=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=GS(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function GS(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Na=new D(""),Kd=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(I(Na),I(H))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Ho=class{_doc;constructor(t){this._doc=t}manager},Sa="ng-app-id";function iy(e){for(let t of e)t.remove()}function sy(e,t){let n=t.createElement("style");return n.textContent=e,n}function ZS(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Sa}="${t}"],link[${Sa}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Sa),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Yd(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Jd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.isServer=Ta(i),ZS(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,sy);r?.forEach(o=>this.addUsage(o,this.external,Yd))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(iy(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])iy(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,sy(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Yd(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(Sa,this.appId),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(I(re),I(ql),I(Wl,8),I(_r))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Zd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Xd=/%COMP%/g;var cy="%COMP%",YS=`_nghost-${cy}`,QS=`_ngcontent-${cy}`,KS=!0,JS=new D("",{providedIn:"root",factory:()=>KS});function XS(e){return QS.replace(Xd,e)}function e_(e){return YS.replace(Xd,e)}function uy(e,t){return t.map(n=>n.replace(Xd,e))}var ef=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=Ta(a),this.defaultRenderer=new zo(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===ht.ShadowDom&&(r=B(y({},r),{encapsulation:ht.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof _a?o.applyToHost(n):o instanceof qo&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case ht.Emulated:i=new _a(c,u,r,this.appId,l,s,a,d,h);break;case ht.ShadowDom:return new Qd(c,u,n,r,s,a,this.nonce,d,h);default:i=new qo(c,u,r,l,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(I(Kd),I(Jd),I(ql),I(JS),I(re),I(_r),I(H),I(Wl),I(Nr,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),zo=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Zd[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(ay(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(ay(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Zd[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Zd[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(pt.DashCase|pt.Important)?t.style.setProperty(n,r,o&pt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&pt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=vt().getGlobalEventTarget(this.doc,t),!t))throw new v(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function ay(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Qd=class extends zo{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=uy(o.id,l);for(let h of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=Yd(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},qo=class extends zo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?uy(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},_a=class extends qo{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=XS(l),this.hostAttr=e_(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Ra=class e extends Fo{supportsDOMEvents=!0;static makeCurrent(){Od(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=t_();return n==null?null:n_(n)}resetBaseElement(){Go=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return $o(document.cookie,t)}},Go=null;function t_(){return Go=Go||document.head.querySelector("base"),Go?Go.getAttribute("href"):null}function n_(e){return new URL(e,document.baseURI).pathname}var xa=class{addToWindow(t){de.getAngularTestability=(r,o=!0)=>{let i=t.findTestabilityInTree(r,o);if(i==null)throw new v(5103,!1);return i},de.getAllAngularTestabilities=()=>t.getAllTestabilities(),de.getAllAngularRootElements=()=>t.getAllRootElements();let n=r=>{let o=de.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(n)}findTestabilityInTree(t,n,r){if(n==null)return null;let o=t.getTestability(n);return o??(r?vt().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},r_=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),dy=(()=>{class e extends Ho{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(I(re))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),ly=["alt","control","meta","shift"],o_={"\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"},i_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},fy=(()=>{class e extends Ho{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>vt().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),ly.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=o_[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),ly.forEach(s=>{if(s!==o){let a=i_[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(I(re))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function s_(){Ra.makeCurrent()}function a_(){return new Qe}function c_(){return xg(document),document}var u_=[{provide:_r,useValue:Ma},{provide:Gl,useValue:s_,multi:!0},{provide:re,useFactory:c_}],l_=Nd(Tv,"browser",u_);var d_=[{provide:Ao,useClass:xa},{provide:Dd,useClass:ua,deps:[H,la,Ao]},{provide:ua,useClass:ua,deps:[H,la,Ao]}],f_=[{provide:qs,useValue:"root"},{provide:Qe,useFactory:a_},{provide:Na,useClass:dy,multi:!0,deps:[re]},{provide:Na,useClass:fy,multi:!0,deps:[re]},ef,Jd,Kd,{provide:yr,useExisting:ef},{provide:Fn,useClass:r_},[]],h_=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ut({type:e});static \u0275inj=kt({providers:[...f_,...d_],imports:[Gd,Sv]})}return e})();var Or=class{},Wo=class{},cn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
8
+ `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Oa=class{encodeKey(t){return hy(t)}encodeValue(t){return hy(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function p_(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var g_=/%(\d[a-f0-9])/gi,m_={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function hy(e){return encodeURIComponent(e).replace(g_,(t,n)=>m_[n]??t)}function Aa(e){return`${e}`}var Ht=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Oa,t.fromString){if(t.fromObject)throw new v(2805,!1);this.map=p_(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Aa):[Aa(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Aa(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Aa(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var ka=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function v_(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function py(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function gy(e){return typeof Blob<"u"&&e instanceof Blob}function my(e){return typeof FormData<"u"&&e instanceof FormData}function y_(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var vy="Content-Type",yy="Accept",Dy="X-Request-URL",Ey="text/plain",wy="application/json",D_=`${wy}, ${Ey}, */*`,Ar=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(v_(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,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??=new cn,this.context??=new ka,!this.params)this.params=new Ht,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||py(this.body)||gy(this.body)||my(this.body)||y_(this.body)?this.body:this.body instanceof Ht?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||my(this.body)?null:gy(this.body)?this.body.type||null:py(this.body)?null:typeof this.body=="string"?Ey:this.body instanceof Ht?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?wy:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,a=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,u=t.headers||this.headers,l=t.params||this.params,d=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((h,f)=>h.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},Ln=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ln||{}),kr=class{headers;status;statusText;url;ok;type;constructor(t,n=200,r="OK"){this.headers=t.headers||new cn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Pa=class e extends kr{constructor(t={}){super(t)}type=Ln.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Zo=class e extends kr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Ln.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Yo=class extends kr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},E_=200,w_=204;function tf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Iy=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Ar)i=n;else{let c;o.headers instanceof cn?c=o.headers:c=new cn(o.headers);let u;o.params&&(o.params instanceof Ht?u=o.params:u=new Ht({fromObject:o.params})),i=new Ar(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=S(i).pipe(Ge(c=>this.handler.handle(c)));if(n instanceof Ar||o.observe==="events")return s;let a=s.pipe(ne(c=>c instanceof Zo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(k(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new v(2806,!1);return c.body}));case"blob":return a.pipe(k(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new v(2807,!1);return c.body}));case"text":return a.pipe(k(c=>{if(c.body!==null&&typeof c.body!="string")throw new v(2808,!1);return c.body}));case"json":default:return a.pipe(k(c=>c.body))}case"response":return a;default:throw new v(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Ht().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,tf(o,r))}post(n,r,o={}){return this.request("POST",n,tf(o,r))}put(n,r,o={}){return this.request("PUT",n,tf(o,r))}static \u0275fac=function(r){return new(r||e)(I(Or))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var I_=new D("");function C_(e,t){return t(e)}function b_(e,t,n){return(r,o)=>Re(n,()=>t(r,i=>e(i,o)))}var rf=new D(""),Cy=new D(""),by=new D("",{providedIn:"root",factory:()=>!0});var Fa=(()=>{class e extends Or{backend;injector;chain=null;pendingTasks=g(jt);contributeToStability=g(by);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(rf),...this.injector.get(Cy,[])]));this.chain=r.reduceRight((o,i)=>b_(o,i,this.injector),C_)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Zt(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(I(Wo),I(me))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var M_=/^\)\]\}',?\n/,T_=RegExp(`^${Dy}:`,"m");function S_(e){return"responseURL"in e&&e.responseURL?e.responseURL:T_.test(e.getAllResponseHeaders())?e.getResponseHeader(Dy):null}var nf=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?$(r.\u0275loadImpl()):S(null)).pipe(le(()=>new L(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((m,w)=>s.setRequestHeader(m,w.join(","))),n.headers.has(yy)||s.setRequestHeader(yy,D_),!n.headers.has(vy)){let m=n.detectContentTypeHeader();m!==null&&s.setRequestHeader(vy,m)}if(n.responseType){let m=n.responseType.toLowerCase();s.responseType=m!=="json"?m:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let m=s.statusText||"OK",w=new cn(s.getAllResponseHeaders()),_=S_(s)||n.url;return c=new Pa({headers:w,status:s.status,statusText:m,url:_}),c},l=()=>{let{headers:m,status:w,statusText:_,url:J}=u(),X=null;w!==w_&&(X=typeof s.response>"u"?s.responseText:s.response),w===0&&(w=X?E_:0);let pn=w>=200&&w<300;if(n.responseType==="json"&&typeof X=="string"){let gi=X;X=X.replace(M_,"");try{X=X!==""?JSON.parse(X):null}catch(bD){X=gi,pn&&(pn=!1,X={error:bD,text:X})}}pn?(i.next(new Zo({body:X,headers:m,status:w,statusText:_,url:J||void 0})),i.complete()):i.error(new Yo({error:X,headers:m,status:w,statusText:_,url:J||void 0}))},d=m=>{let{url:w}=u(),_=new Yo({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:w||void 0});i.error(_)},h=!1,f=m=>{h||(i.next(u()),h=!0);let w={type:Ln.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(w.total=m.total),n.responseType==="text"&&s.responseText&&(w.partialText=s.responseText),i.next(w)},p=m=>{let w={type:Ln.UploadProgress,loaded:m.loaded};m.lengthComputable&&(w.total=m.total),i.next(w)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Ln.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(I(Fn))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),My=new D(""),__="XSRF-TOKEN",N_=new D("",{providedIn:"root",factory:()=>__}),R_="X-XSRF-TOKEN",x_=new D("",{providedIn:"root",factory:()=>R_}),Qo=class{},A_=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=$o(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(I(re),I(N_))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function O_(e,t){let n=e.url.toLowerCase();if(!g(My)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=g(Qo).getToken(),o=g(x_);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var of=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(of||{});function k_(e,t){return{\u0275kind:e,\u0275providers:t}}function P_(...e){let t=[Iy,nf,Fa,{provide:Or,useExisting:Fa},{provide:Wo,useFactory:()=>g(I_,{optional:!0})??g(nf)},{provide:rf,useValue:O_,multi:!0},{provide:My,useValue:!0},{provide:Qo,useClass:A_}];for(let n of e)t.push(...n.\u0275providers);return bo(t)}function F_(e){return k_(of.Interceptors,e.map(t=>({provide:rf,useValue:t,multi:!0})))}var Ty=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(I(re))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var L_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=I(j_),o},providedIn:"root"})}return e})(),j_=(()=>{class e extends L_{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Xe.NONE:return r;case Xe.HTML:return Vt(r,"HTML")?Le(r):Jl(this._doc,String(r)).toString();case Xe.STYLE:return Vt(r,"Style")?Le(r):r;case Xe.SCRIPT:if(Vt(r,"Script"))return Le(r);throw new v(5200,!1);case Xe.URL:return Vt(r,"URL")?Le(r):ta(String(r));case Xe.RESOURCE_URL:if(Vt(r,"ResourceURL"))return Le(r);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return Vg(n)}bypassSecurityTrustStyle(n){return Bg(n)}bypassSecurityTrustScript(n){return Ug(n)}bypassSecurityTrustUrl(n){return $g(n)}bypassSecurityTrustResourceUrl(n){return Hg(n)}static \u0275fac=function(r){return new(r||e)(I(re))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var O="primary",ui=Symbol("RouteTitle"),lf=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Bn(e){return new lf(e)}function ky(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function B_(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Dt(e[n],t[n]))return!1;return!0}function Dt(e,t){let n=e?df(e):void 0,r=t?df(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!Py(e[o],t[o]))return!1;return!0}function df(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Py(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function Fy(e){return e.length>0?e[e.length-1]:null}function hn(e){return _c(e)?e:xr(e)?$(Promise.resolve(e)):S(e)}var U_={exact:jy,subset:Vy},Ly={exact:$_,subset:H_,ignored:()=>!0};function Sy(e,t,n){return U_[n.paths](e.root,t.root,n.matrixParams)&&Ly[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function $_(e,t){return Dt(e,t)}function jy(e,t,n){if(!jn(e.segments,t.segments)||!Va(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!jy(e.children[r],t.children[r],n))return!1;return!0}function H_(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Py(e[n],t[n]))}function Vy(e,t,n){return By(e,t,t.segments,n)}function By(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!jn(o,n)||t.hasChildren()||!Va(o,n,r))}else if(e.segments.length===n.length){if(!jn(e.segments,n)||!Va(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Vy(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!jn(e.segments,o)||!Va(e.segments,o,r)||!e.children[O]?!1:By(e.children[O],t,i,r)}}function Va(e,t,n){return t.every((r,o)=>Ly[n](e[o].parameters,r.parameters))}var wt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new V([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Bn(this.queryParams),this._queryParamMap}toString(){return G_.serialize(this)}},V=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ba(this)}},un=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Bn(this.parameters),this._parameterMap}toString(){return $y(this)}};function z_(e,t){return jn(e,t)&&e.every((n,r)=>Dt(n.parameters,t[r].parameters))}function jn(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function q_(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===O&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==O&&(n=n.concat(t(o,r)))}),n}var Un=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new ln,providedIn:"root"})}return e})(),ln=class{parse(t){let n=new hf(t);return new wt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Ko(t.root,!0)}`,r=Y_(t.queryParams),o=typeof t.fragment=="string"?`#${W_(t.fragment)}`:"";return`${n}${r}${o}`}},G_=new ln;function Ba(e){return e.segments.map(t=>$y(t)).join("/")}function Ko(e,t){if(!e.hasChildren())return Ba(e);if(t){let n=e.children[O]?Ko(e.children[O],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==O&&r.push(`${o}:${Ko(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=q_(e,(r,o)=>o===O?[Ko(e.children[O],!1)]:[`${o}:${Ko(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[O]!=null?`${Ba(e)}/${n[0]}`:`${Ba(e)}/(${n.join("//")})`}}function Uy(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function La(e){return Uy(e).replace(/%3B/gi,";")}function W_(e){return encodeURI(e)}function ff(e){return Uy(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ua(e){return decodeURIComponent(e)}function _y(e){return Ua(e.replace(/\+/g,"%20"))}function $y(e){return`${ff(e.path)}${Z_(e.parameters)}`}function Z_(e){return Object.entries(e).map(([t,n])=>`;${ff(t)}=${ff(n)}`).join("")}function Y_(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${La(n)}=${La(o)}`).join("&"):`${La(n)}=${La(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var Q_=/^[^\/()?;#]+/;function sf(e){let t=e.match(Q_);return t?t[0]:""}var K_=/^[^\/()?;=#]+/;function J_(e){let t=e.match(K_);return t?t[0]:""}var X_=/^[^=?&#]+/;function e0(e){let t=e.match(X_);return t?t[0]:""}var t0=/^[^&#]+/;function n0(e){let t=e.match(t0);return t?t[0]:""}var hf=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new V([],{}):new V([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[O]=new V(t,n)),r}parseSegment(){let t=sf(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new un(Ua(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=J_(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=sf(this.remaining);o&&(r=o,this.capture(r))}t[Ua(n)]=Ua(r)}parseQueryParam(t){let n=e0(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=n0(this.remaining);s&&(r=s,this.capture(r))}let o=_y(n),i=_y(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=sf(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=O);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[O]:new V([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new v(4011,!1)}};function Hy(e){return e.segments.length>0?new V([],{[O]:e}):e}function zy(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=zy(o);if(r===O&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new V(e.segments,t);return r0(n)}function r0(e){if(e.numberOfChildren===1&&e.children[O]){let t=e.children[O];return new V(e.segments.concat(t.segments),t.children)}return e}function dn(e){return e instanceof wt}function qy(e,t,n=null,r=null){let o=Gy(e);return Wy(o,t,n,r)}function Gy(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new V(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Hy(r);return t??o}function Wy(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return af(o,o,o,n,r);let i=o0(t);if(i.toRoot())return af(o,o,new V([],{}),n,r);let s=i0(i,o,e),a=s.processChildren?Xo(s.segmentGroup,s.index,i.commands):Yy(s.segmentGroup,s.index,i.commands);return af(o,s.segmentGroup,a,n,r)}function Ha(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function ti(e){return typeof e=="object"&&e!=null&&e.outlets}function af(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=Zy(e,t,n);let a=Hy(zy(s));return new wt(a,i,o)}function Zy(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=Zy(i,t,n)}),new V(e.segments,r)}var za=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Ha(r[0]))throw new v(4003,!1);let o=r.find(ti);if(o&&o!==Fy(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function o0(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new za(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new za(n,t,r)}var Lr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function i0(e,t,n){if(e.isAbsolute)return new Lr(t,!0,0);if(!n)return new Lr(t,!1,NaN);if(n.parent===null)return new Lr(n,!0,0);let r=Ha(e.commands[0])?0:1,o=n.segments.length-1+r;return s0(n,o,e.numberOfDoubleDots)}function s0(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new v(4005,!1);o=r.segments.length}return new Lr(r,!1,o-i)}function a0(e){return ti(e[0])?e[0].outlets:{[O]:e}}function Yy(e,t,n){if(e??=new V([],{}),e.segments.length===0&&e.hasChildren())return Xo(e,t,n);let r=c0(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new V(e.segments.slice(0,r.pathIndex),{});return i.children[O]=new V(e.segments.slice(r.pathIndex),e.children),Xo(i,0,o)}else return r.match&&o.length===0?new V(e.segments,{}):r.match&&!e.hasChildren()?pf(e,t,n):r.match?Xo(e,0,o):pf(e,t,n)}function Xo(e,t,n){if(n.length===0)return new V(e.segments,{});{let r=a0(n),o={};if(Object.keys(r).some(i=>i!==O)&&e.children[O]&&e.numberOfChildren===1&&e.children[O].segments.length===0){let i=Xo(e.children[O],t,n);return new V(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Yy(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new V(e.segments,o)}}function c0(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(ti(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Ry(c,u,s))return i;r+=2}else{if(!Ry(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function pf(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(ti(i)){let c=u0(i.outlets);return new V(r,c)}if(o===0&&Ha(n[0])){let c=e.segments[t];r.push(new un(c.path,Ny(n[0]))),o++;continue}let s=ti(i)?i.outlets[O]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Ha(a)?(r.push(new un(s,Ny(a))),o+=2):(r.push(new un(s,{})),o++)}return new V(r,{})}function u0(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=pf(new V([],{}),0,r))}),t}function Ny(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Ry(e,t,n){return e==n.path&&Dt(t,n.parameters)}var $a="imperative",ce=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(ce||{}),Be=class{id;url;constructor(t,n){this.id=t,this.url=n}},fn=class extends Be{type=ce.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ue=class extends Be{urlAfterRedirects;type=ce.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Fe=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(Fe||{}),Vr=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Vr||{}),Et=class extends Be{reason;code;type=ce.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},It=class extends Be{reason;code;type=ce.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},Br=class extends Be{error;target;type=ce.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ni=class extends Be{urlAfterRedirects;state;type=ce.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qa=class extends Be{urlAfterRedirects;state;type=ce.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ga=class extends Be{urlAfterRedirects;state;shouldActivate;type=ce.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Wa=class extends Be{urlAfterRedirects;state;type=ce.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Za=class extends Be{urlAfterRedirects;state;type=ce.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ya=class{route;type=ce.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qa=class{route;type=ce.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ka=class{snapshot;type=ce.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ja=class{snapshot;type=ce.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xa=class{snapshot;type=ce.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ec=class{snapshot;type=ce.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ur=class{routerEvent;position;anchor;type=ce.Scroll;constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},ri=class{},$r=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function l0(e,t){return e.providers&&!e._injector&&(e._injector=Ro(e.providers,t,`Route: ${e.path}`)),e._injector??t}function ot(e){return e.outlet||O}function d0(e,t){let n=e.filter(r=>ot(r)===t);return n.push(...e.filter(r=>ot(r)!==t)),n}function li(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var tc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return li(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new $n(this.rootInjector)}},$n=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new tc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(I(me))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nc=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=gf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=gf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=mf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return mf(t,this._root).map(n=>n.value)}};function gf(e,t){if(e===t.value)return t;for(let n of t.children){let r=gf(e,n);if(r)return r}return null}function mf(e,t){if(e===t.value)return[t];for(let n of t.children){let r=mf(e,n);if(r.length)return r.unshift(t),r}return[]}var Ve=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Fr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var oi=class extends nc{snapshot;constructor(t,n){super(t),this.snapshot=n,bf(this,t)}toString(){return this.snapshot.toString()}};function Qy(e){let t=f0(e),n=new fe([new un("",{})]),r=new fe({}),o=new fe({}),i=new fe({}),s=new fe(""),a=new zt(n,r,i,s,o,O,e,t.root);return a.snapshot=t.root,new oi(new Ve(a,[]),t)}function f0(e){let t={},n={},r={},o="",i=new Vn([],t,r,o,n,O,e,null,{});return new ii("",new Ve(i,[]))}var zt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(k(u=>u[ui]))??S(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(k(t=>Bn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(k(t=>Bn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function rc(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:y(y({},t.params),e.params),data:y(y({},t.data),e.data),resolve:y(y(y(y({},e.data),t.data),o?.data),e._resolvedData)}:r={params:y({},e.params),data:y({},e.data),resolve:y(y({},e.data),e._resolvedData??{})},o&&Jy(o)&&(r.resolve[ui]=o.title),r}var Vn=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ui]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Bn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Bn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},ii=class extends nc{url;constructor(t,n){super(n),this.url=t,bf(this,n)}toString(){return Ky(this._root)}};function bf(e,t){t.value._routerState=e,t.children.forEach(n=>bf(e,n))}function Ky(e){let t=e.children.length>0?` { ${e.children.map(Ky).join(", ")} } `:"";return`${e.value}${t}`}function cf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Dt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Dt(t.params,n.params)||e.paramsSubject.next(n.params),B_(t.url,n.url)||e.urlSubject.next(n.url),Dt(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function vf(e,t){let n=Dt(e.params,t.params)&&z_(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||vf(e.parent,t.parent))}function Jy(e){return typeof e.title=="string"||e.title===null}var Xy=new D(""),Mf=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=O;activateEvents=new Te;deactivateEvents=new Te;attachEvents=new Te;detachEvents=new Te;routerOutletData=wg(void 0);parentContexts=g($n);location=g(et);changeDetector=g(Pn);inputBinder=g(di,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new 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,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new yf(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Oe({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[tn]})}return e})(),yf=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===zt?this.route:t===$n?this.childContexts:t===Xy?this.outletData:this.parent.get(t,n)}},di=new D(""),Tf=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=Xr([r.queryParams,r.params,r.data]).pipe(le(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?S(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=Nv(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Sf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=jm({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Sd(0,"router-outlet")},dependencies:[Mf],encapsulation:2})}return e})();function _f(e){let t=e.children&&e.children.map(_f),n=t?B(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==O&&(n.component=Sf),n}function h0(e,t,n){let r=si(e,t._root,n?n._root:void 0);return new oi(r,t)}function si(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=p0(e,t,n);return new Ve(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>si(e,a)),s}}let r=g0(t.value),o=t.children.map(i=>si(e,i));return new Ve(r,o)}}function p0(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return si(e,r,o);return si(e,r)})}function g0(e){return new zt(new fe(e.url),new fe(e.params),new fe(e.queryParams),new fe(e.fragment),new fe(e.data),e.outlet,e.component,e)}var Hr=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},eD="ngNavigationCancelingError";function oc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=dn(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=tD(!1,Fe.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function tD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[eD]=!0,n.cancellationCode=t,n}function m0(e){return nD(e)&&dn(e.url)}function nD(e){return!!e&&e[eD]}var v0=(e,t,n,r)=>k(o=>(new Df(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Df=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),cf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Fr(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Fr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Fr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=Fr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new ec(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Ja(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(cf(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),cf(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},ic=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},jr=class{component;route;constructor(t,n){this.component=t,this.route=n}};function y0(e,t,n){let r=e._root,o=t?t._root:null;return Jo(r,o,n,[r.value])}function D0(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function qr(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Ep(e)?e:t.get(e):r}function Jo(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Fr(t);return e.children.forEach(s=>{E0(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ei(a,n.getContext(s),o)),o}function E0(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=w0(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ic(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Jo(e,t,a?a.children:null,r,o):Jo(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new jr(a.outlet.component,s))}else s&&ei(t,a,o),o.canActivateChecks.push(new ic(r)),i.component?Jo(e,null,a?a.children:null,r,o):Jo(e,null,n,r,o);return o}function w0(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!jn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!jn(e.url,t.url)||!Dt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vf(e,t)||!Dt(e.queryParams,t.queryParams);case"paramsChange":default:return!vf(e,t)}}function ei(e,t,n){let r=Fr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?ei(s,t.children.getContext(i),n):ei(s,null,n):ei(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new jr(t.outlet.component,o)):n.canDeactivateChecks.push(new jr(null,o)):n.canDeactivateChecks.push(new jr(null,o))}function fi(e){return typeof e=="function"}function I0(e){return typeof e=="boolean"}function C0(e){return e&&fi(e.canLoad)}function b0(e){return e&&fi(e.canActivate)}function M0(e){return e&&fi(e.canActivateChild)}function T0(e){return e&&fi(e.canDeactivate)}function S0(e){return e&&fi(e.canMatch)}function rD(e){return e instanceof Tt||e?.name==="EmptyError"}var ja=Symbol("INITIAL_VALUE");function zr(){return le(e=>Xr(e.map(t=>t.pipe($e(1),Oc(ja)))).pipe(k(t=>{for(let n of t)if(n!==!0){if(n===ja)return ja;if(n===!1||_0(n))return n}return!0}),ne(t=>t!==ja),$e(1)))}function _0(e){return dn(e)||e instanceof Hr}function N0(e,t){return Z(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?S(B(y({},n),{guardsResult:!0})):R0(s,r,o,e).pipe(Z(a=>a&&I0(a)?x0(r,i,e,t):S(a)),k(a=>B(y({},n),{guardsResult:a})))})}function R0(e,t,n,r){return $(e).pipe(Z(o=>F0(o.component,o.route,n,t,r)),_t(o=>o!==!0,!0))}function x0(e,t,n,r){return $(t).pipe(Ge(o=>Gt(O0(o.route.parent,r),A0(o.route,r),P0(e,o.path,n),k0(e,o.route,n))),_t(o=>o!==!0,!0))}function A0(e,t){return e!==null&&t&&t(new Xa(e)),S(!0)}function O0(e,t){return e!==null&&t&&t(new Ka(e)),S(!0)}function k0(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return S(!0);let o=r.map(i=>zi(()=>{let s=li(t)??n,a=qr(i,s),c=b0(a)?a.canActivate(t,e):Re(s,()=>a(t,e));return hn(c).pipe(_t())}));return S(o).pipe(zr())}function P0(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>D0(s)).filter(s=>s!==null).map(s=>zi(()=>{let a=s.guards.map(c=>{let u=li(s.node)??n,l=qr(c,u),d=M0(l)?l.canActivateChild(r,e):Re(u,()=>l(r,e));return hn(d).pipe(_t())});return S(a).pipe(zr())}));return S(i).pipe(zr())}function F0(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return S(!0);let s=i.map(a=>{let c=li(t)??o,u=qr(a,c),l=T0(u)?u.canDeactivate(e,t,n,r):Re(c,()=>u(e,t,n,r));return hn(l).pipe(_t())});return S(s).pipe(zr())}function L0(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return S(!0);let i=o.map(s=>{let a=qr(s,e),c=C0(a)?a.canLoad(t,n):Re(e,()=>a(t,n));return hn(c)});return S(i).pipe(zr(),oD(r))}function oD(e){return yc(ue(t=>{if(typeof t!="boolean")throw oc(e,t)}),k(t=>t===!0))}function j0(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return S(!0);let i=o.map(s=>{let a=qr(s,e),c=S0(a)?a.canMatch(t,n):Re(e,()=>a(t,n));return hn(c)});return S(i).pipe(zr(),oD(r))}var ai=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},ci=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Pr(e){return Jn(new ai(e))}function V0(e){return Jn(new v(4e3,!1))}function B0(e){return Jn(tD(!1,Fe.GuardRejected))}var Ef=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return S(r);if(o.numberOfChildren>1||!o.children[O])return V0(`${t.redirectTo}`);o=o.children[O]}}applyRedirectCommands(t,n,r,o,i){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:p,title:m}=o,w=Re(i,()=>a({params:f,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:m}));if(w instanceof wt)throw new ci(w);n=w}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new ci(s);return s}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new wt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new V(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},wf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function U0(e,t,n,r,o){let i=iD(e,t,n);return i.matched?(r=l0(t,r),j0(r,t,n,o).pipe(k(s=>s===!0?i:y({},wf)))):S(i)}function iD(e,t,n){if(t.path==="**")return $0(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},wf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||ky)(n,e,t);if(!o)return y({},wf);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?y(y({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function $0(e){return{matched:!0,parameters:e.length>0?Fy(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function xy(e,t,n,r){return n.length>0&&q0(e,n,r)?{segmentGroup:new V(t,z0(r,new V(n,e.children))),slicedSegments:[]}:n.length===0&&G0(e,n,r)?{segmentGroup:new V(e.segments,H0(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new V(e.segments,e.children),slicedSegments:n}}function H0(e,t,n,r){let o={};for(let i of n)if(ac(e,t,i)&&!r[ot(i)]){let s=new V([],{});o[ot(i)]=s}return y(y({},r),o)}function z0(e,t){let n={};n[O]=t;for(let r of e)if(r.path===""&&ot(r)!==O){let o=new V([],{});n[ot(r)]=o}return n}function q0(e,t,n){return n.some(r=>ac(e,t,r)&&ot(r)!==O)}function G0(e,t,n){return n.some(r=>ac(e,t,r))}function ac(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function W0(e,t,n){return t.length===0&&!e.children[n]}var If=class{};function Z0(e,t,n,r,o,i,s="emptyOnly"){return new Cf(e,t,n,r,o,s,i).recognize()}var Y0=31,Cf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Ef(this.urlSerializer,this.urlTree)}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=xy(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(k(({children:n,rootSnapshot:r})=>{let o=new Ve(r,n),i=new ii("",o),s=qy(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new Vn([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),O,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,O,n).pipe(k(r=>({children:r,rootSnapshot:n})),St(r=>{if(r instanceof ci)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ai?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(k(s=>s instanceof Ve?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return $(i).pipe(Ge(s=>{let a=r.children[s],c=d0(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Ac((s,a)=>(s.push(...a),s)),Wt(null),xc(),Z(s=>{if(s===null)return Pr(r);let a=sD(s);return Q0(a),S(a)}))}processSegment(t,n,r,o,i,s,a){return $(n).pipe(Ge(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(St(u=>{if(u instanceof ai)return S(null);throw u}))),_t(c=>!!c),St(c=>{if(rD(c))return W0(r,o,i)?S(new If):Pr(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return ot(r)!==s&&(s===O||!ac(o,i,r))?Pr(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):Pr(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=iD(n,o,i);if(!c)return Pr(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Y0&&(this.allowRedirects=!1));let f=new Vn(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Ay(o),ot(o),o.component??o._loadedComponent??null,o,Oy(o)),p=rc(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(p.params),f.data=Object.freeze(p.data);let m=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(o,m).pipe(Z(w=>this.processSegment(t,r,n,w.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=U0(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(le(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(le(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,p=new Vn(h,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Ay(r),ot(r),r.component??r._loadedComponent??null,r,Oy(r)),m=rc(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(m.params),p.data=Object.freeze(m.data);let{segmentGroup:w,slicedSegments:_}=xy(n,h,f,u);if(_.length===0&&w.hasChildren())return this.processChildren(l,u,w,p).pipe(k(X=>new Ve(p,X)));if(u.length===0&&_.length===0)return S(new Ve(p,[]));let J=ot(r)===i;return this.processSegment(l,u,w,_,J?O:i,!0,p).pipe(k(X=>new Ve(p,X instanceof Ve?[X]:[])))}))):Pr(n)))}getChildConfig(t,n,r){return n.children?S({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?S({routes:n._loadedRoutes,injector:n._loadedInjector}):L0(t,n,r,this.urlSerializer).pipe(Z(o=>o?this.configLoader.loadChildren(t,n).pipe(ue(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):B0(n))):S({routes:[],injector:t})}};function Q0(e){e.sort((t,n)=>t.value.outlet===O?-1:n.value.outlet===O?1:t.value.outlet.localeCompare(n.value.outlet))}function K0(e){let t=e.value.routeConfig;return t&&t.path===""}function sD(e){let t=[],n=new Set;for(let r of e){if(!K0(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=sD(r.children);t.push(new Ve(r.value,o))}return t.filter(r=>!n.has(r))}function Ay(e){return e.data||{}}function Oy(e){return e.resolve||{}}function J0(e,t,n,r,o,i){return Z(s=>Z0(e,t,n,r,s.extractedUrl,o,i).pipe(k(({state:a,tree:c})=>B(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function X0(e,t){return Z(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return S(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of aD(c))s.add(u);let a=0;return $(s).pipe(Ge(c=>i.has(c)?eN(c,r,e,t):(c.data=rc(c,c.parent,e).resolve,S(void 0))),ue(()=>a++),er(1),Z(c=>a===s.size?S(n):pe))})}function aD(e){let t=e.children.map(n=>aD(n)).flat();return[e,...t]}function eN(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Jy(o)&&(i[ui]=o.title),tN(i,e,t,r).pipe(k(s=>(e._resolvedData=s,e.data=rc(e,e.parent,n).resolve,null)))}function tN(e,t,n,r){let o=df(e);if(o.length===0)return S({});let i={};return $(o).pipe(Z(s=>nN(e[s],t,n,r).pipe(_t(),ue(a=>{if(a instanceof Hr)throw oc(new ln,a);i[s]=a}))),er(1),k(()=>i),St(s=>rD(s)?pe:Jn(s)))}function nN(e,t,n,r){let o=li(t)??r,i=qr(e,o),s=i.resolve?i.resolve(t,n):Re(o,()=>i(t,n));return hn(s)}function uf(e){return le(t=>{let n=e(t);return n?$(n).pipe(k(()=>t)):S(t)})}var Nf=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===O);return r}getResolvedTitleForRoute(n){return n.data[ui]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(cD),providedIn:"root"})}return e})(),cD=(()=>{class e extends Nf{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(I(Ty))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Hn=new D("",{providedIn:"root",factory:()=>({})}),Gr=new D(""),cc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(wv);loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return S(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=hn(n.loadComponent()).pipe(k(lD),ue(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Zt(()=>{this.componentLoaders.delete(n)})),o=new Yn(r,()=>new K).pipe(Zn());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return S({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=uD(r,this.compiler,n,this.onLoadEndListener).pipe(Zt(()=>{this.childrenLoaders.delete(r)})),s=new Yn(i,()=>new K).pipe(Zn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uD(e,t,n,r){return hn(e.loadChildren()).pipe(k(lD),Z(o=>o instanceof md||Array.isArray(o)?S(o):$(t.compileModuleAsync(o))),k(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(Gr,[],{optional:!0,self:!0}).flat()),{routes:s.map(_f),injector:i}}))}function rN(e){return e&&typeof e=="object"&&"default"in e}function lD(e){return rN(e)?e.default:e}var uc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(oN),providedIn:"root"})}return e})(),oN=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rf=new D(""),xf=new D("");function dD(e,t,n){let r=e.get(xf),o=e.get(re);return e.get(H).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),iN(e))),{onViewTransitionCreated:c}=r;return c&&Re(e,()=>c({transition:a,from:t,to:n})),s})}function iN(e){return new Promise(t=>{Ql({read:()=>setTimeout(t)},{injector:e})})}var Af=new D(""),lc=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new K;transitionAbortSubject=new K;configLoader=g(cc);environmentInjector=g(me);destroyRef=g(Lt);urlSerializer=g(Un);rootContexts=g($n);location=g(an);inputBindingEnabled=g(di,{optional:!0})!==null;titleStrategy=g(Nf);options=g(Hn,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(uc);createViewTransition=g(Rf,{optional:!0});navigationErrorHandler=g(Af,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>S(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Ya(o)),r=o=>this.events.next(new Qa(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(B(y({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))}setupNavigations(n){return this.transitions=new fe(null),this.transitions.pipe(ne(r=>r!==null),le(r=>{let o=!1,i=!1;return S(r).pipe(le(s=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Fe.SupersededByNewNavigation),pe;this.currentTransition=r,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?B(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=s.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!a&&c!=="reload"){let u="";return this.events.next(new It(s.id,this.urlSerializer.serialize(s.rawUrl),u,Vr.IgnoredSameUrlNavigation)),s.resolve(!1),pe}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return S(s).pipe(le(u=>(this.events.next(new fn(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?pe:Promise.resolve(u))),J0(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ue(u=>{r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=B(y({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let l=new ni(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:u,extractedUrl:l,source:d,restoredState:h,extras:f}=s,p=new fn(u,this.urlSerializer.serialize(l),d,h);this.events.next(p);let m=Qy(this.rootComponentType).snapshot;return this.currentTransition=r=B(y({},s),{targetSnapshot:m,urlAfterRedirects:l,extras:B(y({},f),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=l,S(r)}else{let u="";return this.events.next(new It(s.id,this.urlSerializer.serialize(s.extractedUrl),u,Vr.IgnoredByUrlHandlingStrategy)),s.resolve(!1),pe}}),ue(s=>{let a=new qa(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),k(s=>(this.currentTransition=r=B(y({},s),{guards:y0(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),r)),N0(this.environmentInjector,s=>this.events.next(s)),ue(s=>{if(r.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw oc(this.urlSerializer,s.guardsResult);let a=new Ga(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),ne(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",Fe.GuardRejected),!1)),uf(s=>{if(s.guards.canActivateChecks.length!==0)return S(s).pipe(ue(a=>{let c=new Wa(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),le(a=>{let c=!1;return S(a).pipe(X0(this.paramsInheritanceStrategy,this.environmentInjector),ue({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(a,"",Fe.NoDataFromResolver)}}))}),ue(a=>{let c=new Za(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}))}),uf(s=>{let a=c=>{let u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(ue(l=>{c.component=l}),k(()=>{})));for(let l of c.children)u.push(...a(l));return u};return Xr(a(s.targetSnapshot.root)).pipe(Wt(null),$e(1))}),uf(()=>this.afterPreactivation()),le(()=>{let{currentSnapshot:s,targetSnapshot:a}=r,c=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return c?$(c).pipe(k(()=>r)):S(r)}),k(s=>{let a=h0(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=r=B(y({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,r}),ue(()=>{this.events.next(new ri)}),v0(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),$e(1),ue({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ue(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),kc(this.transitionAbortSubject.pipe(ue(s=>{throw s}))),Zt(()=>{!o&&!i&&this.cancelNavigationTransition(r,"",Fe.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),St(s=>{if(this.destroyed)return r.resolve(!1),pe;if(i=!0,nD(s))this.events.next(new Et(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode)),m0(s)?this.events.next(new $r(s.url,s.navigationBehaviorOptions)):r.resolve(!1);else{let a=new Br(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);try{let c=Re(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(c instanceof Hr){let{message:u,cancellationCode:l}=oc(this.urlSerializer,c);this.events.next(new Et(r.id,this.urlSerializer.serialize(r.extractedUrl),u,l)),this.events.next(new $r(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(c){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(c)}}return pe}))}))}cancelNavigationTransition(n,r,o){let i=new Et(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sN(e){return e!==$a}var fD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(aN),providedIn:"root"})}return e})(),sc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},aN=(()=>{class e extends sc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ul(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hD=(()=>{class e{urlSerializer=g(Un);options=g(Hn,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=g(an);urlHandlingStrategy=g(uc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new wt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof wt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=Qy(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(cN),providedIn:"root"})}return e})(),cN=(()=>{class e extends hD{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof fn?this.updateStateMemento():n instanceof It?this.commitTransition(r):n instanceof ni?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof ri?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Et&&(n.code===Fe.GuardRejected||n.code===Fe.NoDataFromResolver)?this.restoreHistory(r):n instanceof Br?this.restoreHistory(r,!0):n instanceof Ue&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=y(y({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=y(y({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ul(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dc(e,t){e.events.pipe(ne(n=>n instanceof Ue||n instanceof Et||n instanceof Br||n instanceof It),k(n=>n instanceof Ue||n instanceof It?0:(n instanceof Et?n.code===Fe.Redirect||n.code===Fe.SupersededByNewNavigation:!1)?2:1),ne(n=>n!==2),$e(1)).subscribe(()=>{t()})}var uN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},lN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ct=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(yd);stateManager=g(hD);options=g(Hn,{optional:!0})||{};pendingTasks=g(jt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(lc);urlSerializer=g(Un);location=g(an);urlHandlingStrategy=g(uc);_events=new K;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(fD);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(Gr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(di,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Q;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Et&&r.code!==Fe.Redirect&&r.code!==Fe.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Ue)this.navigated=!0;else if(r instanceof $r){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||sN(o.source)},s);this.scheduleNavigation(a,$a,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}fN(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),$a,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=y({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(_f),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=y(y({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=Gy(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return Wy(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=dn(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,$a,null,r)}navigate(n,r={skipLocationChange:!1}){return dN(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},uN):r===!1?o=y({},lN):o=r,dn(n))return Sy(this.currentUrlTree,n,o);let i=this.parseUrl(n);return Sy(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return dc(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dN(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new v(4008,!1)}function fN(e){return!(e instanceof ri)&&!(e instanceof $r)}var fc=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new K;constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Ue&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(dn(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(n!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:Yg(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return this.routerLinkInput===null?null:dn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(j(Ct),j(zt),Xs("tabindex"),j(On),j(Je),j(nt))};static \u0275dir=Oe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&_d("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&bd("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Po],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Po],replaceUrl:[2,"replaceUrl","replaceUrl",Po],routerLink:"routerLink"},features:[tn]})}return e})(),hN=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Te;constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Ue&&this.update()})}ngAfterContentInit(){S(this.links.changes,S(null)).pipe(ut()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=$(n).pipe(ut()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),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._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let r=pN(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?n.isActive(i,r):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}static \u0275fac=function(r){return new(r||e)(j(Ct),j(Je),j(On),j(Pn),j(fc,8))};static \u0275dir=Oe({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&dv(i,fc,5),r&2){let s;fv(s=hv())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[tn]})}return e})();function pN(e){return!!e.paths}var hi=class{};var pD=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i){this.router=n,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(ne(n=>n instanceof Ue),Ge(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=Ro(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return $(o).pipe(ut())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=S(null);let i=o.pipe(Z(s=>s===null?S(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return $([i,s]).pipe(ut())}else return i})}static \u0275fac=function(r){return new(r||e)(I(Ct),I(me),I(hi),I(cc))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gD=new D(""),gN=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof fn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ue?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof It&&n.code===Vr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Ur&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ur(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){bm()};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function mN(e){return e.routerState.root}function pi(e,t){return{\u0275kind:e,\u0275providers:t}}function vN(){let e=g(ye);return t=>{let n=e.get(Ot);if(t!==n.components[0])return;let r=e.get(Ct),o=e.get(mD);e.get(kf)===1&&r.initialNavigation(),e.get(DD,null,P.Optional)?.setUpPreloading(),e.get(gD,null,P.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var mD=new D("",{factory:()=>new K}),kf=new D("",{providedIn:"root",factory:()=>1});function vD(){let e=[{provide:kf,useValue:0},Id(()=>{let t=g(ye);return t.get(kd,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(Ct),i=t.get(mD);dc(o,()=>{r(!0)}),t.get(lc).afterPreactivation=()=>(r(!0),i.closed?S(void 0):i),o.initialNavigation()}))})];return pi(2,e)}function yD(){let e=[Id(()=>{g(Ct).setUpLocationChangeListener()}),{provide:kf,useValue:2}];return pi(3,e)}var DD=new D("");function ED(e){return pi(0,[{provide:DD,useExisting:pD},{provide:hi,useExisting:e}])}function wD(){return pi(8,[Tf,{provide:di,useExisting:Tf}])}function ID(e){on("NgRouterViewTransitions");let t=[{provide:Rf,useValue:dD},{provide:xf,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return pi(9,t)}var CD=[an,{provide:Un,useClass:ln},Ct,$n,{provide:zt,useFactory:mN,deps:[Ct]},cc,[]],yN=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[CD,[],{provide:Gr,multi:!0,useValue:n},[],r?.errorHandler?{provide:Af,useValue:r.errorHandler}:[],{provide:Hn,useValue:r||{}},r?.useHash?EN():wN(),DN(),r?.preloadingStrategy?ED(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?IN(r):[],r?.bindToComponentInputs?wD().\u0275providers:[],r?.enableViewTransitions?ID().\u0275providers:[],CN()]}}static forChild(n){return{ngModule:e,providers:[{provide:Gr,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ut({type:e});static \u0275inj=kt({})}return e})();function DN(){return{provide:gD,useFactory:()=>{let e=g(oy),t=g(H),n=g(Hn),r=g(lc),o=g(Un);return n.scrollOffset&&e.setOffset(n.scrollOffset),new gN(o,r,e,t,n)}}}function EN(){return{provide:nt,useClass:zd}}function wN(){return{provide:nt,useClass:pa}}function IN(e){return[e.initialNavigation==="disabled"?yD().\u0275providers:[],e.initialNavigation==="enabledBlocking"?vD().\u0275providers:[]]}var Of=new D("");function CN(){return[{provide:Of,useFactory:vN},{provide:Cd,multi:!0,useExisting:Of}]}export{Q as a,L as b,K as c,fe as d,Zr as e,BD as f,at as g,UD as h,$D as i,pe as j,Kr as k,Jr as l,$ as m,S as n,Jn as o,zD as p,k as q,Xr as r,Gt as s,zi as t,eE as u,Nc as v,eo as w,aE as x,ne as y,cE as z,uE as A,St as B,Ge as C,lE as D,dE as E,$e as F,fE as G,hE as H,Zt as I,_t as J,mE as K,Cc as L,Wf as M,vE as N,Oc as O,le as P,yE as Q,kc as R,DE as S,ue as T,v as U,yp as V,E as W,kt as X,D as Y,I as Z,g as _,wl as $,_p as aa,bo as ba,me as ca,Ml as da,tn as ea,T1 as fa,S1 as ga,_1 as ha,N1 as ia,Ul as ja,Xs as ka,ye as la,Rh as ma,Lt as na,R1 as oa,Te as pa,H as qa,Qe as ra,wg as sa,Je as ta,dI as ua,fI as va,Su as wa,ql as xa,_r as ya,x1 as za,Wl as Aa,bI as Ba,Ql as Ca,Xe as Da,A1 as Ea,WI as Fa,O1 as Ga,k1 as Ha,en as Ia,ca as Ja,yr as Ka,On as La,j as Ma,bm as Na,et as Oa,$1 as Pa,H1 as Qa,xn as Ra,jm as Sa,Ut as Ta,Oe as Ua,xo as Va,mM as Wa,MM as Xa,xr as Ya,Id as Za,Ot as _a,bd as $a,GM as ab,WM as bb,ZM as cb,G1 as db,W1 as eb,Z1 as fb,Y1 as gb,Q1 as hb,K1 as ib,J1 as jb,X1 as kb,iv as lb,sv as mb,Sd as nb,av as ob,cv as pb,uT as qb,ej as rb,dT as sb,fT as tb,_d as ub,tj as vb,nj as wb,rj as xb,IT as yb,dv as zb,oj as Ab,fv as Bb,hv as Cb,ij as Db,sj as Eb,aj as Fb,cj as Gb,bT as Hb,pv as Ib,MT as Jb,TT as Kb,uj as Lb,ST as Mb,NT as Nb,lj as Ob,dj as Pb,fj as Qb,hj as Rb,pj as Sb,gj as Tb,mj as Ub,vj as Vb,yj as Wb,Dj as Xb,Ej as Yb,wj as Zb,Ij as _b,Cj as $b,Eo as ac,bj as bc,ko as cc,Mj as dc,Pn as ec,Po as fc,tS as gc,Ad as hc,Tj as ic,nS as jc,Sj as kc,re as lc,vt as mc,an as nc,RS as oc,xS as pc,Xv as qc,AS as rc,ey as sc,OS as tc,kS as uc,PS as vc,jS as wc,BS as xc,US as yc,zS as zc,Gd as Ac,qS as Bc,Ta as Cc,ef as Dc,l_ as Ec,h_ as Fc,cn as Gc,Ht as Hc,Yo as Ic,Iy as Jc,P_ as Kc,F_ as Lc,L_ as Mc,Mf as Nc,Ct as Oc,fc as Pc,hN as Qc,yN as Rc};