@whoz-oss/coday-client 0.121.0 → 0.121.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/3rdpartylicenses.txt +26 -26
  2. package/browser/chunk-2DE3OXG3.js +1 -0
  3. package/browser/chunk-3TOJSAQM.js +1 -0
  4. package/browser/chunk-4FGPNBI3.js +1 -0
  5. package/browser/chunk-4LFZBXC3.js +1 -0
  6. package/browser/chunk-4OMSGXSL.js +1 -0
  7. package/browser/chunk-5CTKRMM2.js +2 -0
  8. package/browser/{chunk-HNL4PUVG.js → chunk-5UOZGBZ2.js} +1 -1
  9. package/browser/chunk-7RF7FEOC.js +1 -0
  10. package/browser/chunk-DJBCK5D7.js +5 -0
  11. package/browser/chunk-ELXKRVE4.js +1 -0
  12. package/browser/chunk-FCCT54AP.js +1 -0
  13. package/browser/chunk-FPUSD6J7.js +1 -0
  14. package/browser/chunk-G5XS2TEE.js +1 -0
  15. package/browser/chunk-GT5UFSUE.js +2 -0
  16. package/browser/chunk-JPWWZVYZ.js +1 -0
  17. package/browser/chunk-JW6LSUP2.js +1 -0
  18. package/browser/chunk-KYPMYRHP.js +1 -0
  19. package/browser/chunk-LVEC3TBP.js +1 -0
  20. package/browser/chunk-MJEQQZDO.js +1 -0
  21. package/browser/{chunk-UAD6TAO5.js → chunk-NO2ODJHX.js} +1 -1
  22. package/browser/chunk-OK747ZMT.js +1 -0
  23. package/browser/chunk-OMLFSDJ5.js +1 -0
  24. package/browser/chunk-P5TSPSCB.js +1 -0
  25. package/browser/{chunk-S2O6N5YR.js → chunk-PKKHLHXJ.js} +1 -1
  26. package/browser/chunk-PWN5O4WY.js +1 -0
  27. package/browser/chunk-R35XCYRZ.js +1 -0
  28. package/browser/chunk-R5SZYFB2.js +1 -0
  29. package/browser/chunk-S5LR3GBS.js +2 -0
  30. package/browser/chunk-TE3JOGRA.js +2 -0
  31. package/browser/chunk-UGVRFJHC.js +1 -0
  32. package/browser/chunk-UMDZZGIC.js +1 -0
  33. package/browser/chunk-UXXLDXN3.js +1 -0
  34. package/browser/chunk-VNGIXNER.js +1 -0
  35. package/browser/chunk-VUV5JL5J.js +1 -0
  36. package/browser/chunk-W4VYO3E2.js +1 -0
  37. package/browser/chunk-WQDJM4TR.js +1 -0
  38. package/browser/chunk-XPK5V34V.js +1 -0
  39. package/browser/{chunk-4VDSG7R6.js → chunk-YDXVLOQW.js} +1 -1
  40. package/browser/chunk-Z7DC3UIO.js +1 -0
  41. package/browser/index.html +1 -1
  42. package/browser/{main-HXX7E37B.js → main-4CSREW6D.js} +2 -2
  43. package/package.json +1 -1
  44. package/browser/chunk-3YDRI4TY.js +0 -1
  45. package/browser/chunk-665PXQXJ.js +0 -1
  46. package/browser/chunk-6WTX5KC7.js +0 -1
  47. package/browser/chunk-72FRBMD4.js +0 -1
  48. package/browser/chunk-75YBV3AO.js +0 -1
  49. package/browser/chunk-7AQBJ5TI.js +0 -1
  50. package/browser/chunk-7CLTLEML.js +0 -1
  51. package/browser/chunk-7TOE3DRW.js +0 -2
  52. package/browser/chunk-A4ZJFWAK.js +0 -1
  53. package/browser/chunk-BIJXZ7JD.js +0 -1
  54. package/browser/chunk-CNPJ5XEL.js +0 -1
  55. package/browser/chunk-EAUVSQPC.js +0 -1
  56. package/browser/chunk-GLWBXLFL.js +0 -1
  57. package/browser/chunk-J3WTEANY.js +0 -1
  58. package/browser/chunk-JB7MERI6.js +0 -1
  59. package/browser/chunk-JBCOCIPY.js +0 -1
  60. package/browser/chunk-JDOIYNG7.js +0 -1
  61. package/browser/chunk-LXI5747H.js +0 -1
  62. package/browser/chunk-OVZ5YI5D.js +0 -1
  63. package/browser/chunk-PKJOCTNH.js +0 -2
  64. package/browser/chunk-QCHIMPFZ.js +0 -1
  65. package/browser/chunk-QMHQ4NWQ.js +0 -2
  66. package/browser/chunk-QU3UZZE4.js +0 -5
  67. package/browser/chunk-RNFBUSBO.js +0 -1
  68. package/browser/chunk-RQLPS2YR.js +0 -1
  69. package/browser/chunk-S43E5ZUR.js +0 -2
  70. package/browser/chunk-SQBLNCXA.js +0 -1
  71. package/browser/chunk-TA4AM2F6.js +0 -1
  72. package/browser/chunk-U3HXU6IS.js +0 -1
  73. package/browser/chunk-VIG2DS4B.js +0 -1
  74. package/browser/chunk-VLQP3XTM.js +0 -1
  75. package/browser/chunk-VOAECLLH.js +0 -1
  76. package/browser/chunk-WCNGR6NT.js +0 -1
  77. package/browser/chunk-YZAA7VTK.js +0 -1
@@ -1,5 +0,0 @@
1
- var pE=Object.defineProperty,gE=Object.defineProperties;var mE=Object.getOwnPropertyDescriptors;var ki=Object.getOwnPropertySymbols;var mh=Object.prototype.hasOwnProperty,yh=Object.prototype.propertyIsEnumerable;var gh=(e,t,n)=>t in e?pE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||={})mh.call(t,n)&&gh(e,n,t[n]);if(ki)for(var n of ki(t))yh.call(t,n)&&gh(e,n,t[n]);return e},F=(e,t)=>gE(e,mE(t));var yE=(e,t)=>{var n={};for(var r in e)mh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ki)for(var r of ki(e))t.indexOf(r)<0&&yh.call(e,r)&&(n[r]=e[r]);return n};var z=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function R(e){return typeof e=="function"}function dr(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Pi=dr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
- ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Tn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var re=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(R(r))try{r()}catch(i){t=i instanceof Pi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{vh(i)}catch(s){t=t??[],s instanceof Pi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Pi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)vh(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)&&Tn(n,t)}remove(t){let{_finalizers:n}=this;n&&Tn(n,t),t instanceof e&&t._removeParent(this)}};re.EMPTY=(()=>{let e=new re;return e.closed=!0,e})();var Vc=re.EMPTY;function Fi(e){return e instanceof re||e&&"closed"in e&&R(e.remove)&&R(e.add)&&R(e.unsubscribe)}function vh(e){R(e)?e():e.unsubscribe()}var Xe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var fr={setTimeout(e,t,...n){let{delegate:r}=fr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=fr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Li(e){fr.setTimeout(()=>{let{onUnhandledError:t}=Xe;if(t)t(e);else throw e})}function co(){}var Dh=Hc("C",void 0,void 0);function Eh(e){return Hc("E",void 0,e)}function Ih(e){return Hc("N",e,void 0)}function Hc(e,t,n){return{kind:e,value:t,error:n}}var Sn=null;function hr(e){if(Xe.useDeprecatedSynchronousErrorHandling){let t=!Sn;if(t&&(Sn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Sn;if(Sn=null,n)throw r}}else e()}function Ch(e){Xe.useDeprecatedSynchronousErrorHandling&&Sn&&(Sn.errorThrown=!0,Sn.error=e)}var _n=class extends re{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Fi(t)&&t.add(this)):this.destination=EE}static create(t,n,r){return new et(t,n,r)}next(t){this.isStopped?zc(Ih(t),this):this._next(t)}error(t){this.isStopped?zc(Eh(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?zc(Dh,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()}}},vE=Function.prototype.bind;function $c(e,t){return vE.call(e,t)}var Gc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ji(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ji(r)}else ji(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ji(n)}}},et=class extends _n{constructor(t,n,r){super();let o;if(R(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Xe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&$c(t.next,i),error:t.error&&$c(t.error,i),complete:t.complete&&$c(t.complete,i)}):o=t}this.destination=new Gc(o)}};function ji(e){Xe.useDeprecatedSynchronousErrorHandling?Ch(e):Li(e)}function DE(e){throw e}function zc(e,t){let{onStoppedNotification:n}=Xe;n&&fr.setTimeout(()=>n(e,t))}var EE={closed:!0,next:co,error:DE,complete:co};var pr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Pe(e){return e}function Wc(...e){return qc(e)}function qc(e){return e.length===0?Pe:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var k=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=CE(n)?n:new et(n,r,o);return hr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=wh(r),new r((o,i)=>{let s=new et({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[pr](){return this}pipe(...n){return qc(n)(this)}toPromise(n){return n=wh(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 wh(e){var t;return(t=e??Xe.Promise)!==null&&t!==void 0?t:Promise}function IE(e){return e&&R(e.next)&&R(e.error)&&R(e.complete)}function CE(e){return e&&e instanceof _n||IE(e)&&Fi(e)}var bh=dr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var oe=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Bi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new bh}next(n){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Vc:(this.currentObservers=null,i.push(n),new re(()=>{this.currentObservers=null,Tn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new k;return n.source=this,n}}return e.create=(t,n)=>new Bi(t,n),e})(),Bi=class extends oe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Vc}};var ge=class extends oe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function Ui(e){return e&&R(e.schedule)}function Zc(e){return e[e.length-1]}function Vi(e){return R(Zc(e))?e.pop():void 0}function Dt(e){return Ui(Zc(e))?e.pop():void 0}function Th(e,t){return typeof Zc(e)=="number"?e.pop():t}function _h(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Sh(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Mn(e){return this instanceof Mn?(this.v=e,this):new Mn(e)}function Mh(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(C){return new Promise(function(v,I){i.push([f,C,v,I])>1||c(f,C)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(C){h(i[0][3],C)}}function u(f){f.value instanceof Mn?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Nh(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Sh=="function"?Sh(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Hi=e=>e&&typeof e.length=="number"&&typeof e!="function";function $i(e){return R(e?.then)}function zi(e){return R(e[pr])}function Gi(e){return Symbol.asyncIterator&&R(e?.[Symbol.asyncIterator])}function Wi(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 wE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var qi=wE();function Zi(e){return R(e?.[qi])}function Yi(e){return Mh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Mn(n.read());if(o)return yield Mn(void 0);yield yield Mn(r)}}finally{n.releaseLock()}})}function Qi(e){return R(e?.getReader)}function G(e){if(e instanceof k)return e;if(e!=null){if(zi(e))return bE(e);if(Hi(e))return TE(e);if($i(e))return SE(e);if(Gi(e))return Rh(e);if(Zi(e))return _E(e);if(Qi(e))return ME(e)}throw Wi(e)}function bE(e){return new k(t=>{let n=e[pr]();if(R(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function TE(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function SE(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Li)})}function _E(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Rh(e){return new k(t=>{NE(e,t).catch(n=>t.error(n))})}function ME(e){return Rh(Yi(e))}function NE(e,t){var n,r,o,i;return _h(this,void 0,void 0,function*(){try{for(n=Nh(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 Re(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 RE(e){return R(e?.lift)}function A(e){return t=>{if(RE(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function O(e,t,n,r,o){return new Yc(e,t,n,r,o)}var Yc=class extends _n{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 Ki(e,t=0){return A((n,r)=>{n.subscribe(O(r,o=>Re(r,e,()=>r.next(o),t),()=>Re(r,e,()=>r.complete(),t),o=>Re(r,e,()=>r.error(o),t)))})}function Ji(e,t=0){return A((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ah(e,t){return G(e).pipe(Ji(t),Ki(t))}function xh(e,t){return G(e).pipe(Ji(t),Ki(t))}function Oh(e,t){return new k(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function kh(e,t){return new k(n=>{let r;return Re(n,t,()=>{r=e[qi](),Re(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>R(r?.return)&&r.return()})}function Xi(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(n=>{Re(n,t,()=>{let r=e[Symbol.asyncIterator]();Re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ph(e,t){return Xi(Yi(e),t)}function Fh(e,t){if(e!=null){if(zi(e))return Ah(e,t);if(Hi(e))return Oh(e,t);if($i(e))return xh(e,t);if(Gi(e))return Xi(e,t);if(Zi(e))return kh(e,t);if(Qi(e))return Ph(e,t)}throw Wi(e)}function Y(e,t){return t?Fh(e,t):G(e)}function M(...e){let t=Dt(e);return Y(e,t)}function B(e,t){return A((n,r)=>{let o=0;n.subscribe(O(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:AE}=Array,{getPrototypeOf:xE,prototype:OE,keys:kE}=Object;function es(e){if(e.length===1){let t=e[0];if(AE(t))return{args:t,keys:null};if(PE(t)){let n=kE(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function PE(e){return e&&typeof e=="object"&&xE(e)===OE}var{isArray:FE}=Array;function LE(e,t){return FE(t)?e(...t):e(t)}function ts(e){return B(t=>LE(e,t))}function ns(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function rs(...e){let t=Dt(e),n=Vi(e),{args:r,keys:o}=es(e);if(r.length===0)return Y([],t);let i=new k(jE(r,t,o?s=>ns(o,s):Pe));return n?i.pipe(ts(n)):i}function jE(e,t,n=Pe){return r=>{Lh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Lh(t,()=>{let u=Y(e[c],t),l=!1;u.subscribe(O(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Lh(e,t,n){e?Re(n,e,t):t()}function Nn(e){return A((t,n)=>{let r=null,o=!1,i;r=t.subscribe(O(n,void 0,void 0,s=>{i=G(e(s,Nn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function we(e,t){return A((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(O(r,c=>{o?.unsubscribe();let u=0,l=i++;G(e(c,l)).subscribe(o=O(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var uo={now(){return(uo.delegate||Date).now()},delegate:void 0};var lo=class extends oe{constructor(t=1/0,n=1/0,r=uo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var os=class extends re{constructor(t,n){super()}schedule(t,n=0){return this}};var fo={setInterval(e,t,...n){let{delegate:r}=fo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=fo;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var is=class extends os{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return fo.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&fo.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Tn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var gr=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};gr.now=uo.now;var ss=class extends gr{constructor(t,n=gr.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var ho=new ss(is),jh=ho;var se=new k(e=>e.complete());function Qc(e,t){let n=R(e)?e:()=>e,r=o=>o.error(n());return new k(t?o=>t.schedule(r,0,o):r)}function as(e){return!!e&&(e instanceof k||R(e.lift)&&R(e.subscribe))}var tt=dr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function BE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new tt)}})})}function UE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new et({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new tt)}});e.subscribe(i)})}function Bh(e){return e instanceof Date&&!isNaN(e)}function Uh(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=C=>u<r?g(C):c.push(C),g=C=>{i&&t.next(C),u++;let v=!1;G(n(C,l++)).subscribe(O(t,I=>{o?.(I),i?f(I):t.next(I)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<r;){let I=c.shift();s?Re(t,s,()=>g(I)):g(I)}h()}catch(I){t.error(I)}}))};return e.subscribe(O(t,f,()=>{d=!0,h()})),()=>{a?.()}}function me(e,t,n=1/0){return R(t)?me((r,o)=>B((i,s)=>t(r,i,o,s))(G(e(r,o))),n):(typeof t=="number"&&(n=t),A((r,o)=>Uh(r,o,e,n)))}function en(e=1/0){return me(Pe,e)}function Vh(){return en(1)}function mr(...e){return Vh()(Y(e,Dt(e)))}function po(e){return new k(t=>{G(e()).subscribe(t)})}function VE(...e){let t=Vi(e),{args:n,keys:r}=es(e),o=new k(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;G(n[l]).subscribe(O(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?ns(r,a):a),i.complete())}))}});return t?o.pipe(ts(t)):o}function Hh(e=0,t,n=jh){let r=-1;return t!=null&&(Ui(t)?n=t:r=t),new k(o=>{let i=Bh(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 HE(...e){let t=Dt(e),n=Th(e,1/0),r=e;return r.length?r.length===1?G(r[0]):en(n)(Y(r,t)):se}function ye(e,t){return A((n,r)=>{let o=0;n.subscribe(O(r,i=>e.call(t,i,o++)&&r.next(i)))})}function $h(e){return A((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(O(n,u=>{r=!0,o=u,i||G(e(u)).subscribe(i=O(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function $E(e,t=ho){return $h(()=>Hh(e,t))}function tn(e,t){return R(t)?me(e,t,1):me(e,1)}function zh(e,t=ho){return A((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(O(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Gh(e){return A((t,n)=>{let r=!1;t.subscribe(O(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Et(e){return e<=0?()=>se:A((t,n)=>{let r=0;t.subscribe(O(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function zE(e){return B(()=>e)}function Wh(e,t=Pe){return e=e??GE,A((n,r)=>{let o,i=!0;n.subscribe(O(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function GE(e,t){return e===t}function qh(e=WE){return A((t,n)=>{let r=!1;t.subscribe(O(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function WE(){return new tt}function go(e){return A((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function It(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ye((o,i)=>e(o,i,r)):Pe,Et(1),n?Gh(t):qh(()=>new tt))}function cs(e){return e<=0?()=>se:A((t,n)=>{let r=[];t.subscribe(O(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function qE(){return A((e,t)=>{let n,r=!1;e.subscribe(O(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Jc(e={}){let{connector:t=()=>new oe,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},g=()=>{let C=s;f(),C?.unsubscribe()};return A((C,v)=>{u++,!d&&!l&&h();let I=c=c??t();v.add(()=>{u--,u===0&&!d&&!l&&(a=Kc(g,o))}),I.subscribe(v),!s&&u>0&&(s=new et({next:P=>I.next(P),error:P=>{d=!0,h(),a=Kc(f,n,P),I.error(P)},complete:()=>{l=!0,h(),a=Kc(f,r),I.complete()}}),G(C).subscribe(s))})(i)}}function Kc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new et({next:()=>{r.unsubscribe(),e()}});return G(t(...n)).subscribe(r)}function Zh(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,Jc({connector:()=>new lo(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function ZE(e){return ye((t,n)=>e<=n)}function us(...e){let t=Dt(e);return A((n,r)=>{(t?mr(e,n,t):mr(e,n)).subscribe(r)})}function mo(e){return A((t,n)=>{G(e).subscribe(O(n,()=>n.complete(),co)),!n.closed&&t.subscribe(n)})}function YE(e,t=!1){return A((n,r)=>{let o=0;n.subscribe(O(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Fe(e,t,n){let r=R(e)||t||n?{next:e,error:t,complete:n}:e;return r?A((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(O(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):Pe}var ve=null,ls=!1,Xc=1,QE=null,ae=Symbol("SIGNAL");function T(e){let t=ve;return ve=e,t}function ps(){return ve}var Rn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function An(e){if(ls)throw new Error("");if(ve===null)return;ve.consumerOnSignalRead(e);let t=ve.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ve.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ve.producers,n!==void 0&&n.producer===e)){ve.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ve&&(!r||JE(o,ve)))return;let i=vr(ve),s={producer:e,consumer:ve,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ve.producersTail=s,t!==void 0?t.nextProducer=s:ve.producers=s,i&&Jh(e,s)}function Yh(){Xc++}function gs(e){if(!(vr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Xc)){if(!e.producerMustRecompute(e)&&!yr(e)){hs(e);return}e.producerRecomputeValue(e),hs(e)}}function eu(e){if(e.consumers===void 0)return;let t=ls;ls=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||KE(r)}}finally{ls=t}}function tu(){return ve?.consumerAllowSignalWrites!==!1}function KE(e){e.dirty=!0,eu(e),e.consumerMarkedDirty?.(e)}function hs(e){e.dirty=!1,e.lastCleanEpoch=Xc}function nn(e){return e&&Qh(e),T(e)}function Qh(e){e.producersTail=void 0,e.recomputing=!0}function xn(e,t){T(t),e&&Kh(e)}function Kh(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(vr(e))do n=nu(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function yr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(gs(n),r!==n.version))return!0}return!1}function rn(e){if(vr(e)){let t=e.producers;for(;t!==void 0;)t=nu(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Jh(e,t){let n=e.consumersTail,r=vr(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Jh(o.producer,o)}function nu(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!vr(t)){let i=t.producers;for(;i!==void 0;)i=nu(i)}return n}function vr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ms(e){QE?.(e)}function JE(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function ys(e,t){return Object.is(e,t)}function vo(e,t){let n=Object.create(XE);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(gs(n),An(n),n.value===yo)throw n.error;return n.value};return r[ae]=n,ms(n),r}var ds=Symbol("UNSET"),fs=Symbol("COMPUTING"),yo=Symbol("ERRORED"),XE=F(y({},Rn),{value:ds,dirty:!0,error:null,equal:ys,kind:"computed",producerMustRecompute(e){return e.value===ds||e.value===fs},producerRecomputeValue(e){if(e.value===fs)throw new Error("");let t=e.value;e.value=fs;let n=nn(e),r,o=!1;try{r=e.computation(),T(null),o=t!==ds&&t!==yo&&r!==yo&&e.equal(t,r)}catch(i){r=yo,e.error=i}finally{xn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function eI(){throw new Error}var Xh=eI;function ep(e){Xh(e)}function ru(e){Xh=e}var tI=null;function ou(e,t){let n=Object.create(Do);n.value=e,t!==void 0&&(n.equal=t);let r=()=>tp(n);return r[ae]=n,ms(n),[r,s=>Dr(n,s),s=>iu(n,s)]}function tp(e){return An(e),e.value}function Dr(e,t){tu()||ep(e),e.equal(e.value,t)||(e.value=t,nI(e))}function iu(e,t){tu()||ep(e),Dr(e,t(e.value))}var Do=F(y({},Rn),{equal:ys,value:void 0,kind:"signal"});function nI(e){e.version++,Yh(),eu(e),tI?.(e)}var su=F(y({},Rn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function au(e){if(e.dirty=!1,e.version>0&&!yr(e))return;e.version++;let t=nn(e);try{e.cleanup(),e.fn()}finally{xn(e,t)}}var cu;function vs(){return cu}function Ct(e){let t=cu;return cu=e,t}var np=Symbol("NotFound");function Er(e){return e===np||e?.name==="\u0275NotFound"}function rp(e){let t=T(null);try{return e()}finally{T(t)}}var Ts="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super($e(t,n)),this.code=t}};function rI(e){return`NG0${Math.abs(e)}`}function $e(e,t){return`${rI(e)}${t?": "+t:""}`}var ze=globalThis;function U(e){for(let t in e)if(e[t]===U)return t;throw Error("")}function cp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function So(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(So).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
- `);return r>=0?n.slice(0,r):n}function Ss(e,t){return e?t?`${e} ${t}`:e:t||""}var oI=U({__forward_ref__:U});function _s(e){return e.__forward_ref__=_s,e}function ce(e){return Iu(e)?e():e}function Iu(e){return typeof e=="function"&&e.hasOwnProperty(oI)&&e.__forward_ref__===_s}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pt(e){return{providers:e.providers||[],imports:e.imports||[]}}function _o(e){return iI(e,Ms)}function Cu(e){return _o(e)!==null}function iI(e,t){return e.hasOwnProperty(t)&&e[t]||null}function sI(e){let t=e?.[Ms]??null;return t||null}function lu(e){return e&&e.hasOwnProperty(Es)?e[Es]:null}var Ms=U({\u0275prov:U}),Es=U({\u0275inj:U}),D=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function wu(e){return e&&!!e.\u0275providers}var bu=U({\u0275cmp:U}),Tu=U({\u0275dir:U}),Su=U({\u0275pipe:U}),_u=U({\u0275mod:U}),Io=U({\u0275fac:U}),Ln=U({__NG_ELEMENT_ID__:U}),op=U({__NG_ENV_ID__:U});function Mu(e){return Rs(e,"@NgModule"),e[_u]||null}function wt(e){return Rs(e,"@Component"),e[bu]||null}function Ns(e){return Rs(e,"@Directive"),e[Tu]||null}function up(e){return Rs(e,"@Pipe"),e[Su]||null}function Rs(e,t){if(e==null)throw new m(-919,!1)}function jn(e){return typeof e=="string"?e:e==null?"":String(e)}var lp=U({ngErrorCode:U}),aI=U({ngErrorMessage:U}),cI=U({ngTokenPath:U});function Nu(e,t){return dp("",-200,t)}function As(e,t){throw new m(-201,!1)}function dp(e,t,n){let r=new m(t,e);return r[lp]=t,r[aI]=e,n&&(r[cI]=n),r}function uI(e){return e[lp]}var du;function fp(){return du}function be(e){let t=du;return du=e,t}function Ru(e,t,n){let r=_o(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;As(e,"")}var lI={},On=lI,dI="__NG_DI_FLAG__",fu=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=kn(n)||0;try{return this.injector.get(t,r&8?null:On,r)}catch(o){if(Er(o))return o;throw o}}};function fI(e,t=0){let n=vs();if(n===void 0)throw new m(-203,!1);if(n===null)return Ru(e,void 0,t);{let r=hI(t),o=n.retrieve(e,r);if(Er(o)){if(r.optional)return null;throw o}return o}}function w(e,t=0){return(fp()||fI)(ce(e),t)}function p(e,t){return w(e,kn(t))}function kn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function hI(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function hu(e){let t=[];for(let n=0;n<e.length;n++){let r=ce(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=pI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(w(o,i))}else t.push(w(r))}return t}function pI(e){return e[dI]}function on(e,t){let n=e.hasOwnProperty(Io);return n?e[Io]:null}function hp(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 pp(e){return e.flat(Number.POSITIVE_INFINITY)}function xs(e,t){e.forEach(n=>Array.isArray(n)?xs(n,t):t(n))}function Au(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Mo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function gp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function mp(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 Os(e,t,n){let r=Cr(e,t);return r>=0?e[r|1]=n:(r=~r,mp(e,r,t,n)),r}function ks(e,t){let n=Cr(e,t);if(n>=0)return e[n|1]}function Cr(e,t){return gI(e,t,1)}function gI(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 rt={},De=[],bt=new D(""),xu=new D("",-1),Ou=new D(""),Co=class{get(t,n=On){if(n===On){let o=dp("",-201);throw o.name="\u0275NotFound",o}return n}};function ot(e){return{\u0275providers:e}}function yp(e){return ot([{provide:bt,multi:!0,useValue:e}])}function vp(...e){return{\u0275providers:ku(!0,e),\u0275fromNgModule:!0}}function ku(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return xs(t,s=>{let a=s;Is(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Dp(o,i),n}function Dp(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Pu(o,i=>{t(i,r)})}}function Is(e,t,n,r){if(e=ce(e),!e)return!1;let o=null,i=lu(e),s=!i&&wt(e);if(!i&&!s){let c=e.ngModule;if(i=lu(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)Is(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;xs(i.imports,l=>{Is(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Dp(u,t)}if(!a){let u=on(o)||(()=>new o);t({provide:o,useFactory:u,deps:De},o),t({provide:Ou,useValue:o,multi:!0},o),t({provide:bt,useValue:()=>w(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Pu(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Pu(e,t){for(let n of e)wu(n)&&(n=n.\u0275providers),Array.isArray(n)?Pu(n,t):t(n)}var mI=U({provide:String,useValue:U});function Ep(e){return e!==null&&typeof e=="object"&&mI in e}function yI(e){return!!(e&&e.useExisting)}function vI(e){return!!(e&&e.useFactory)}function Pn(e){return typeof e=="function"}function Ip(e){return!!e.useClass}var No=new D(""),Ds={},ip={},uu;function wr(){return uu===void 0&&(uu=new Co),uu}var K=class{},Fn=class extends K{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,gu(t,s=>this.processProvider(s)),this.records.set(xu,Ir(void 0,this)),o.has("environment")&&this.records.set(K,Ir(void 0,this));let i=this.records.get(No);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ou,De,{self:!0}))}retrieve(t,n){let r=kn(n)||0;try{return this.get(t,On,r)}catch(o){if(Er(o))return o;throw o}}destroy(){Eo(this),this._destroyed=!0;let t=T(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(),T(t)}}onDestroy(t){return Eo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Eo(this);let n=Ct(this),r=be(void 0),o;try{return t()}finally{Ct(n),be(r)}}get(t,n=On,r){if(Eo(this),t.hasOwnProperty(op))return t[op](this);let o=kn(r),i,s=Ct(this),a=be(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=wI(t)&&_o(t);l&&this.injectableDefInScope(l)?u=Ir(pu(t),Ds):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?wr():this.parent;return n=o&8&&n===On?null:n,c.get(t,n)}catch(c){let u=uI(c);throw u===-200||u===-201?new m(u,null):c}finally{be(a),Ct(s)}}resolveInjectorInitializers(){let t=T(null),n=Ct(this),r=be(void 0),o;try{let i=this.get(bt,De,{self:!0});for(let s of i)s()}finally{Ct(n),be(r),T(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=ce(t);let n=Pn(t)?t:ce(t&&t.provide),r=EI(t);if(!Pn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ir(void 0,Ds,!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=T(null);try{if(n.value===ip)throw Nu("");return n.value===Ds&&(n.value=ip,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&CI(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{T(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ce(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function pu(e){let t=_o(e),n=t!==null?t.factory:on(e);if(n!==null)return n;if(e instanceof D)throw new m(-204,!1);if(e instanceof Function)return DI(e);throw new m(-204,!1)}function DI(e){if(e.length>0)throw new m(-204,!1);let n=sI(e);return n!==null?()=>n.factory(e):()=>new e}function EI(e){if(Ep(e))return Ir(void 0,e.useValue);{let t=Fu(e);return Ir(t,Ds)}}function Fu(e,t,n){let r;if(Pn(e)){let o=ce(e);return on(o)||pu(o)}else if(Ep(e))r=()=>ce(e.useValue);else if(vI(e))r=()=>e.useFactory(...hu(e.deps||[]));else if(yI(e))r=(o,i)=>w(ce(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ce(e&&(e.useClass||e.provide));if(II(e))r=()=>new o(...hu(e.deps));else return on(o)||pu(o)}return r}function Eo(e){if(e.destroyed)throw new m(-205,!1)}function Ir(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function II(e){return!!e.deps}function CI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function wI(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function gu(e,t){for(let n of e)Array.isArray(n)?gu(n,t):n&&wu(n)?gu(n.\u0275providers,t):t(n)}function de(e,t){let n;e instanceof Fn?(Eo(e),n=e):n=new fu(e);let r,o=Ct(n),i=be(void 0);try{return t()}finally{Ct(o),be(i)}}function Cp(){return fp()!==void 0||vs()!=null}var it=0,S=1,_=2,ue=3,Ge=4,Se=5,Bn=6,br=7,ee=8,Ft=9,st=10,H=11,Tr=12,Lu=13,Un=14,Ee=15,cn=16,Vn=17,Tt=18,Lt=19,ju=20,kt=21,Ps=22,sn=23,Le=24,Hn=25,un=26,W=27,wp=1,Bu=6,ln=7,Ro=8,$n=9,te=10;function jt(e){return Array.isArray(e)&&typeof e[wp]=="object"}function at(e){return Array.isArray(e)&&e[wp]===!0}function Uu(e){return(e.flags&4)!==0}function Bt(e){return e.componentOffset>-1}function Sr(e){return(e.flags&1)===1}function ct(e){return!!e.template}function _r(e){return(e[_]&512)!==0}function zn(e){return(e[_]&256)===256}var Vu="svg",bp="math";function We(e){for(;Array.isArray(e);)e=e[it];return e}function Hu(e,t){return We(t[e])}function ut(e,t){return We(t[e.index])}function Fs(e,t){return e.data[t]}function Ao(e,t){return e[t]}function $u(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function qe(e,t){let n=t[e];return jt(n)?n:n[it]}function Tp(e){return(e[_]&4)===4}function Ls(e){return(e[_]&128)===128}function Sp(e){return at(e[ue])}function je(e,t){return t==null?null:e[t]}function zu(e){e[Vn]=0}function Gu(e){e[_]&1024||(e[_]|=1024,Ls(e)&&Gn(e))}function _p(e,t){for(;e>0;)t=t[Un],e--;return t}function xo(e){return!!(e[_]&9216||e[Le]?.dirty)}function js(e){e[st].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),xo(e)&&Gn(e)}function Gn(e){e[st].changeDetectionScheduler?.notify(0);let t=an(e);for(;t!==null&&!(t[_]&8192||(t[_]|=8192,!Ls(t)));)t=an(t)}function Wu(e,t){if(zn(e))throw new m(911,!1);e[kt]===null&&(e[kt]=[]),e[kt].push(t)}function Mp(e,t){if(e[kt]===null)return;let n=e[kt].indexOf(t);n!==-1&&e[kt].splice(n,1)}function an(e){let t=e[ue];return at(t)?t[ue]:t}function qu(e){return e[br]??=[]}function Zu(e){return e.cleanup??=[]}function Np(e,t,n,r){let o=qu(t);o.push(n),e.firstCreatePass&&Zu(e).push(r,o.length-1)}var x={lFrame:$p(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var mu=!1;function Rp(){return x.lFrame.elementDepthCount}function Ap(){x.lFrame.elementDepthCount++}function Yu(){x.lFrame.elementDepthCount--}function Bs(){return x.bindingsEnabled}function Qu(){return x.skipHydrationRootTNode!==null}function Ku(e){return x.skipHydrationRootTNode===e}function Ju(){x.skipHydrationRootTNode=null}function b(){return x.lFrame.lView}function q(){return x.lFrame.tView}function xp(e){return x.lFrame.contextLView=e,e[ee]}function Op(e){return x.lFrame.contextLView=null,e}function fe(){let e=Xu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Xu(){return x.lFrame.currentTNode}function kp(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Mr(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function el(){return x.lFrame.isParent}function tl(){x.lFrame.isParent=!1}function Pp(){return x.lFrame.contextLView}function nl(){return mu}function wo(e){let t=mu;return mu=e,t}function Wn(){let e=x.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Fp(){return x.lFrame.bindingIndex}function Lp(e){return x.lFrame.bindingIndex=e}function dn(){return x.lFrame.bindingIndex++}function Us(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function jp(){return x.lFrame.inI18n}function Bp(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vs(t)}function Up(){return x.lFrame.currentDirectiveIndex}function Vs(e){x.lFrame.currentDirectiveIndex=e}function Vp(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Hs(){return x.lFrame.currentQueryIndex}function Oo(e){x.lFrame.currentQueryIndex=e}function bI(e){let t=e[S];return t.type===2?t.declTNode:t.type===1?e[Se]:null}function rl(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=bI(i),o===null||(i=i[Un],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=Hp();return r.currentTNode=t,r.lView=e,!0}function $s(e){let t=Hp(),n=e[S];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Hp(){let e=x.lFrame,t=e===null?null:e.child;return t===null?$p(e):t}function $p(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 zp(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ol=zp;function zs(){let e=zp();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 Gp(e){return(x.lFrame.contextLView=_p(e,x.lFrame.contextLView))[ee]}function St(){return x.lFrame.selectedIndex}function fn(e){x.lFrame.selectedIndex=e}function ko(){let e=x.lFrame;return Fs(e.tView,e.selectedIndex)}function Wp(){x.lFrame.currentNamespace=Vu}function qp(){TI()}function TI(){x.lFrame.currentNamespace=null}function Zp(){return x.lFrame.currentNamespace}var Yp=!0;function Gs(){return Yp}function Po(e){Yp=e}function yu(e,t=null,n=null,r){let o=il(e,t,n,r);return o.resolveInjectorInitializers(),o}function il(e,t=null,n=null,r,o=new Set){let i=[n||De,vp(e)],s;return new Fn(i,t||wr(),s||null,o)}var le=class e{static THROW_IF_NOT_FOUND=On;static NULL=new Co;static create(t,n){if(Array.isArray(t))return yu({name:""},n,t,"");{let r=t.name??"";return yu({name:r},t.parent,t.providers,r)}}static \u0275prov=E({token:e,providedIn:"any",factory:()=>w(xu)});static __NG_ELEMENT_ID__=-1},Q=new D(""),_e=(()=>{class e{static __NG_ELEMENT_ID__=SI;static __NG_ENV_ID__=n=>n}return e})(),Cs=class extends _e{_lView;constructor(t){super(),this._lView=t}get destroyed(){return zn(this._lView)}onDestroy(t){let n=this._lView;return Wu(n,t),()=>Mp(n,t)}};function SI(){return new Cs(b())}var sl=!1,Qp=new D(""),_t=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ge(!1);debugTaskTracker=p(Qp,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),vu=class extends oe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Cp()&&(this.destroyRef=p(_e,{optional:!0})??void 0,this.pendingTasks=p(_t,{optional:!0})??void 0)}emit(t){let n=T(null);try{super.next(t)}finally{T(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof re&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Te=vu;function ws(...e){}function al(e){let t,n;function r(){e=ws;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Kp(e){return queueMicrotask(()=>e()),()=>{e=ws}}var cl="isAngularZone",bo=cl+"_ID",_I=0,J=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Te(!1);onMicrotaskEmpty=new Te(!1);onStable=new Te(!1);onError=new Te(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=sl}=t;if(typeof Zone>"u")throw new m(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,RI(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(cl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,MI,ws,ws);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)}},MI={};function ul(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 NI(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){al(()=>{e.callbackScheduled=!1,Du(e),e.isCheckStableRunning=!0,ul(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Du(e)}function RI(e){let t=()=>{NI(e)},n=_I++;e._inner=e._inner.fork({name:"angular",properties:{[cl]:!0,[bo]:n,[bo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(AI(c))return r.invokeTask(i,s,a,c);try{return sp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ap(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return sp(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!xI(c)&&t(),ap(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Du(e),ul(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 Du(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function sp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ap(e){e._nesting--,ul(e)}var To=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Te;onMicrotaskEmpty=new Te;onStable=new Te;onError=new Te;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function AI(e){return Jp(e,"__ignore_ng_zone__")}function xI(e){return Jp(e,"__scheduler_tick__")}function Jp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var He=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ae=new D("",{factory:()=>{let e=p(J),t=p(K),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(He),n.handleError(r))})}}}),Xp={provide:bt,useValue:()=>{let e=p(He,{optional:!0})},multi:!0},OI=new D("",{factory:()=>{let e=p(Q).defaultView;if(!e)return;let t=p(Ae),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(_e).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function kI(){return ot([yp(()=>{p(OI)})])}function hn(e,t){let[n,r,o]=ou(e,t?.equal),i=n,s=i[ae];return i.set=r,i.update=o,i.asReadonly=ll.bind(i),i}function ll(){let e=this[ae];if(e.readonlyFn===void 0){let t=()=>this();t[ae]=e,e.readonlyFn=t}return e.readonlyFn}var Nr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=PI}return e})();function PI(){return new Nr(b(),fe())}var nt=class{},Rr=new D("",{factory:()=>!0});var Ws=new D(""),Fo=(()=>{class e{internalPendingTasks=p(_t);scheduler=p(nt);errorHandler=p(Ae);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),qs=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new Eu})}return e})(),Eu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},bs=class{[ae];constructor(t){this[ae]=t}destroy(){this[ae].destroy()}};function eg(e,t){let n=t?.injector??p(le),r=t?.manualCleanup!==!0?n.get(_e):null,o,i=n.get(Nr,null,{optional:!0}),s=n.get(nt);return i!==null?(o=jI(i.view,s,e),r instanceof Cs&&r._lView===i.view&&(r=null)):o=BI(e,n.get(qs),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new bs(o)}var tg=F(y({},su),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=wo(!1);try{au(this)}finally{wo(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=T(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],T(e)}}}),FI=F(y({},tg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(rn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),LI=F(y({},tg),{consumerMarkedDirty(){this.view[_]|=8192,Gn(this.view),this.notifier.notify(13)},destroy(){if(rn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[sn]?.delete(this)}});function jI(e,t,n){let r=Object.create(LI);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=ng(r,n),e[sn]??=new Set,e[sn].add(r),r.consumerMarkedDirty(r),r}function BI(e,t,n){let r=Object.create(FI);return r.fn=ng(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function ng(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function qo(e){return{toString:e}.toString()}function GI(e){return typeof e=="function"}function jg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ra=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Br=(()=>{let e=()=>Bg;return e.ngInherit=!0,e})();function Bg(e){return e.type.prototype.ngOnChanges&&(e.setInput=qI),WI}function WI(){let e=Vg(this),t=e?.current;if(t){let n=e.previous;if(n===rt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qI(e,t,n,r,o){let i=this.declaredInputs[r],s=Vg(e)||ZI(e,{previous:rt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ra(u&&u.currentValue,n,c===rt),jg(e,t,o,n)}var Ug="__ngSimpleChanges__";function Vg(e){return e[Ug]||null}function ZI(e,t){return e[Ug]=t}var rg=[];var V=function(e,t=null,n){for(let r=0;r<rg.length;r++){let o=rg[r];o(e,t,n)}},L=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(L||{});function YI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Bg(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 Hg(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Js(e,t,n){$g(e,t,3,n)}function Xs(e,t,n,r){(e[_]&3)===n&&$g(e,t,n,r)}function dl(e,t){let n=e[_];(n&3)===t&&(n&=16383,n+=1,e[_]=n)}function $g(e,t,n,r){let o=r!==void 0?e[Vn]&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[Vn]+=65536),(a<i||i==-1)&&(QI(e,n,t,c),e[Vn]=(e[Vn]&4294901760)+c+2),c++}function og(e,t){V(L.LifecycleHookStart,e,t);let n=T(null);try{t.call(e)}finally{T(n),V(L.LifecycleHookEnd,e,t)}}function QI(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[_]>>14<e[Vn]>>16&&(e[_]&3)===t&&(e[_]+=16384,og(a,i)):og(a,i)}var xr=-1,Zn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function KI(e){return(e.flags&8)!==0}function JI(e){return(e.flags&16)!==0}function XI(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];eC(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function zg(e){return e===3||e===4||e===6}function eC(e){return e.charCodeAt(0)===64}function Or(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?ig(e,n,o,null,t[++r]):ig(e,n,o,null,null))}}return e}function ig(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 Gg(e){return e!==xr}function oa(e){return e&32767}function tC(e){return e>>16}function ia(e,t){let n=tC(e),r=t;for(;n>0;)r=r[Un],n--;return r}var Cl=!0;function sa(e){let t=Cl;return Cl=e,t}var nC=256,Wg=nC-1,qg=5,rC=0,Mt={};function oC(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ln)&&(r=n[Ln]),r==null&&(r=n[Ln]=rC++);let o=r&Wg,i=1<<o;t.data[e+(o>>qg)]|=i}function aa(e,t){let n=Zg(e,t);if(n!==-1)return n;let r=t[S];r.firstCreatePass&&(e.injectorIndex=t.length,fl(r.data,e),fl(t,null),fl(r.blueprint,null));let o=sd(e,t),i=e.injectorIndex;if(Gg(o)){let s=oa(o),a=ia(o,t),c=a[S].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function fl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function sd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Xg(o),r===null)return xr;if(n++,o=o[Un],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return xr}function wl(e,t,n){oC(e,t,n)}function iC(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(zg(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 Yg(e,t,n){if(n&8||e!==void 0)return e;As(t,"NodeInjector")}function Qg(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ft],i=be(void 0);try{return o?o.get(t,r,n&8):Ru(t,r,n&8)}finally{be(i)}}return Yg(r,t,n)}function Kg(e,t,n,r=0,o){if(e!==null){if(t[_]&2048&&!(r&2)){let s=uC(e,t,n,r,Mt);if(s!==Mt)return s}let i=Jg(e,t,n,r,Mt);if(i!==Mt)return i}return Qg(t,n,r,o)}function Jg(e,t,n,r,o){let i=aC(n);if(typeof i=="function"){if(!rl(t,e,r))return r&1?Yg(o,n,r):Qg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))As(n);else return s}finally{ol()}}else if(typeof i=="number"){let s=null,a=Zg(e,t),c=xr,u=r&1?t[Ee][Se]:null;for((a===-1||r&4)&&(c=a===-1?sd(e,t):t[a+8],c===xr||!ag(r,!1)?a=-1:(s=t[S],a=oa(c),t=ia(c,t)));a!==-1;){let l=t[S];if(sg(i,a,l.data)){let d=sC(a,t,n,s,r,u);if(d!==Mt)return d}c=t[a+8],c!==xr&&ag(r,t[S].data[a+8]===u)&&sg(i,a,t)?(s=l,a=oa(c),t=ia(c,t)):a=-1}}return o}function sC(e,t,n,r,o,i){let s=t[S],a=s.data[e+8],c=r==null?Bt(a)&&Cl:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ea(a,s,n,c,u);return l!==null?Vo(t,s,l,a,o):Mt}function ea(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&ct(f)&&f.type===n)return c}return null}function Vo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Zn){let a=i;if(a.resolving)throw Nu("");let c=sa(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?be(a.injectImpl):null,h=rl(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&YI(n,s[n],t)}finally{d!==null&&be(d),sa(c),a.resolving=!1,ol()}}return i}function aC(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ln)?e[Ln]:void 0;return typeof t=="number"?t>=0?t&Wg:cC:t}function sg(e,t,n){let r=1<<e;return!!(n[t+(e>>qg)]&r)}function ag(e,t){return!(e&2)&&!(e&1&&t)}var qn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Kg(this._tNode,this._lView,t,kn(r),n)}};function cC(){return new qn(fe(),b())}function Zo(e){return qo(()=>{let t=e.prototype.constructor,n=t[Io]||bl(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Io]||bl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function bl(e){return Iu(e)?()=>{let t=bl(ce(e));return t&&t()}:on(e)}function uC(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[_]&2048&&!_r(s);){let a=Jg(i,s,n,r|2,Mt);if(a!==Mt)return a;let c=i.parent;if(!c){let u=s[ju];if(u){let l=u.get(n,Mt,r&-5);if(l!==Mt)return l}c=Xg(s),s=s[Un]}i=c}return o}function Xg(e){let t=e[S],n=t.type;return n===2?t.declTNode:n===1?e[Se]:null}function Ca(e){return iC(fe(),e)}function lC(){return Ur(fe(),b())}function Ur(e,t){return new Vt(ut(e,t))}var Vt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=lC}return e})();function em(e){return e instanceof Vt?e.nativeElement:e}function dC(){return this._results[Symbol.iterator]()}var ca=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new oe}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=pp(t);(this._changesDetected=!hp(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]=dC};function tm(e){return(e.flags&128)===128}var ad=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(ad||{}),nm=new Map,fC=0;function hC(){return fC++}function pC(e){nm.set(e[Lt],e)}function Tl(e){nm.delete(e[Lt])}var cg="__ngContext__";function kr(e,t){jt(t)?(e[cg]=t[Lt],pC(t)):e[cg]=t}function rm(e){return im(e[Tr])}function om(e){return im(e[Ge])}function im(e){for(;e!==null&&!at(e);)e=e[Ge];return e}var Sl;function cd(e){Sl=e}function sm(){if(Sl!==void 0)return Sl;if(typeof document<"u")return document;throw new m(210,!1)}var wa=new D("",{factory:()=>gC}),gC="ng";var ba=new D(""),Yo=new D("",{providedIn:"platform",factory:()=>"unknown"}),mC=new D(""),Ta=new D("",{factory:()=>p(Q).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var am="r";var cm="di";var um=!1,lm=new D("",{factory:()=>um});var Sa=new D("");var yC=(e,t,n,r)=>{};function vC(e,t,n,r){yC(e,t,n,r)}function _a(e){return(e.flags&32)===32}var DC=()=>null;function dm(e,t,n=!1){return DC(e,t,n)}function fm(e,t){let n=e.contentQueries;if(n!==null){let r=T(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Oo(i),a.contentQueries(2,t[s],s)}}}finally{T(r)}}}function _l(e,t,n){Oo(0);let r=T(null);try{t(e,n)}finally{T(r)}}function ud(e,t,n){if(Uu(t)){let r=T(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{T(r)}}}var ft=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(ft||{});var Zs;function EC(){if(Zs===void 0&&(Zs=null,ze.trustedTypes))try{Zs=ze.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Zs}function Ma(e){return EC()?.createHTML(e)||e}var Ys;function IC(){if(Ys===void 0&&(Ys=null,ze.trustedTypes))try{Ys=ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ys}function ug(e){return IC()?.createHTML(e)||e}var Ut=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ts})`}},Ml=class extends Ut{getTypeName(){return"HTML"}},Nl=class extends Ut{getTypeName(){return"Style"}},Rl=class extends Ut{getTypeName(){return"Script"}},Al=class extends Ut{getTypeName(){return"URL"}},xl=class extends Ut{getTypeName(){return"ResourceURL"}};function Ze(e){return e instanceof Ut?e.changingThisBreaksApplicationSecurity:e}function Ht(e,t){let n=hm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ts})`)}return n===t}function hm(e){return e instanceof Ut&&e.getTypeName()||null}function ld(e){return new Ml(e)}function dd(e){return new Nl(e)}function fd(e){return new Rl(e)}function hd(e){return new Al(e)}function pd(e){return new xl(e)}function CC(e){let t=new kl(e);return wC()?new Ol(t):t}var Ol=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ma(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},kl=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Ma(t),n}};function wC(){try{return!!new window.DOMParser().parseFromString(Ma(""),"text/html")}catch(e){return!1}}var bC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qo(e){return e=String(e),e.match(bC)?e:"unsafe:"+e}function $t(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ko(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var pm=$t("area,br,col,hr,img,wbr"),gm=$t("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mm=$t("rp,rt"),TC=Ko(mm,gm),SC=Ko(gm,$t("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),_C=Ko(mm,$t("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),lg=Ko(pm,SC,_C,TC),ym=$t("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),MC=$t("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),NC=$t("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),RC=Ko(ym,MC,NC),AC=$t("script,style,template");var Pl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=kC(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=OC(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=dg(t).toLowerCase();if(!lg.hasOwnProperty(n))return this.sanitizedSomething=!0,!AC.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(!RC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;ym[a]&&(c=Qo(c)),this.buf.push(" ",s,'="',fg(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=dg(t).toLowerCase();lg.hasOwnProperty(n)&&!pm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(fg(t))}};function xC(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function OC(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw vm(t);return t}function kC(e){let t=e.firstChild;if(t&&xC(e,t))throw vm(t);return t}function dg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function vm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var PC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,FC=/([^\#-~ |!])/g;function fg(e){return e.replace(/&/g,"&amp;").replace(PC,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(FC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Qs;function Na(e,t){let n=null;try{Qs=Qs||CC(e);let r=t?String(t):"";n=Qs.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Qs.getInertBodyElement(r)}while(r!==i);let a=new Pl().sanitizeChildren(hg(n)||n);return Ma(a)}finally{if(n){let r=hg(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function hg(e){return"content"in e&&LC(e)?e.content:null}function LC(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var jC=/^>|^->|<!--|-->|--!>|<!-$/g,BC=/(<|>)/g,UC="\u200B$1\u200B";function VC(e){return e.replace(jC,t=>t.replace(BC,UC))}function HC(e,t){return e.createText(t)}function $C(e,t,n){e.setValue(t,n)}function zC(e,t){return e.createComment(VC(t))}function Dm(e,t,n){return e.createElement(t,n)}function ua(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Em(e,t,n){e.appendChild(t,n)}function pg(e,t,n,r,o){r!==null?ua(e,t,n,r,o):Em(e,t,n)}function Im(e,t,n,r){e.removeChild(null,t,n,r)}function GC(e,t,n){e.setAttribute(t,"style",n)}function WC(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Cm(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&XI(e,t,r),o!==null&&WC(e,t,o),i!==null&&GC(e,t,i)}var ht=(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})(ht||{});function qC(e){let t=wm();return t?ug(t.sanitize(ht.HTML,e)||""):Ht(e,"HTML")?ug(Ze(e)):Na(sm(),jn(e))}function ZC(e){let t=wm();return t?t.sanitize(ht.URL,e)||"":Ht(e,"URL")?Ze(e):Qo(jn(e))}function wm(){let e=b();return e&&e[st].sanitizer}function YC(e){return e.ownerDocument}function bm(e){return e instanceof Function?e():e}function QC(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 Tm="ng-template";function KC(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&QC(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(gd(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 gd(e){return e.type===4&&e.value!==Tm}function JC(e,t,n){let r=e.type===4&&!n?Tm:e.value;return t===r}function XC(e,t,n){let r=4,o=e.attrs,i=o!==null?nw(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!lt(r)&&!lt(c))return!1;if(s&&lt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!JC(e,c,n)||c===""&&t.length===1){if(lt(r))return!1;s=!0}}else if(r&8){if(o===null||!KC(e,o,c,n)){if(lt(r))return!1;s=!0}}else{let u=t[++a],l=ew(c,o,gd(e),n);if(l===-1){if(lt(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(lt(r))return!1;s=!0}}}}return lt(r)||s}function lt(e){return(e&1)===0}function ew(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 rw(t,e)}function Sm(e,t,n=!1){for(let r=0;r<t.length;r++)if(XC(e,t[r],n))return!0;return!1}function tw(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function nw(e){for(let t=0;t<e.length;t++){let n=e[t];if(zg(n))return t}return e.length}function rw(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 ow(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 gg(e,t){return e?":not("+t.trim()+")":t}function iw(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!==""&&!lt(s)&&(t+=gg(i,o),o=""),r=s,i=i||!lt(r);n++}return o!==""&&(t+=gg(i,o)),t}function sw(e){return e.map(iw).join(",")}function aw(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(!lt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Me={};function md(e,t,n,r,o,i,s,a,c,u,l){let d=W+r,h=d+o,f=cw(d,h),g=typeof u=="function"?u():u;return f[S]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:l}}function cw(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Me);return n}function uw(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=md(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function yd(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[it]=o,d[_]=r|4|128|8|64|1024,(u!==null||e&&e[_]&2048)&&(d[_]|=2048),zu(d),d[ue]=d[Un]=e,d[ee]=n,d[st]=s||e&&e[st],d[H]=a||e&&e[H],d[Ft]=c||e&&e[Ft]||null,d[Se]=i,d[Lt]=hC(),d[Bn]=l,d[ju]=u,d[Ee]=t.type==2?e[Ee]:d,d}function lw(e,t,n){let r=ut(t,e),o=uw(n),i=e[st].rendererFactory,s=vd(e,yd(e,o,null,_m(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function _m(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Mm(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 vd(e,t){return e[Tr]?e[Lu][Ge]=t:e[Tr]=t,e[Lu]=t,t}function dw(e=1){Nm(q(),b(),St()+e,!1)}function Nm(e,t,n,r){if(!r)if((t[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Js(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Xs(t,i,0,n)}fn(n)}var Ra=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ra||{});function Fl(e,t,n,r){let o=T(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ra.SignalBased)!==0&&(c=t[i][ae]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):jg(t,c,i,r)}finally{T(o)}}var Nt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Nt||{}),fw;function Dd(e,t){return fw(e,t)}var $L=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ll=new WeakMap,jo=new WeakSet;function hw(e,t){let n=Ll.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),jo.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function pw(e,t){let n=Ll.get(e);n?n.includes(t)||n.push(t):Ll.set(e,[t])}var Yn=new Set,Aa=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Aa||{}),pt=new D(""),mg=new Set;function gt(e){mg.has(e)||(mg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var xa=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ed=[0,1,2,3],Id=(()=>{class e{ngZone=p(J);scheduler=p(nt);errorHandler=p(He,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(pt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&V(L.AfterRenderHooksStart),this.executing=!0;for(let r of Ed)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&V(L.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Hn]??=[]).push(n),Gn(r),r[_]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Aa.AFTER_NEXT_RENDER,n):n()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ho=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Hn];t&&(this.view[Hn]=t.filter(n=>n!==this))}};function Oa(e,t){let n=t?.injector??p(le);return gt("NgAfterNextRender"),mw(e,n,t,!0)}function gw(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function mw(e,t,n,r){let o=t.get(xa);o.impl??=t.get(Id);let i=t.get(pt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(_e):null,a=t.get(Nr,null,{optional:!0}),c=new Ho(o.impl,gw(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Rm=new D("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:p(K)})});function Am(e,t,n){let r=e.get(Rm);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function yw(e,t){let n=e.get(Rm);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function vw(e,t){for(let[n,r]of t)Am(e,r.animateFns)}function yg(e,t,n,r){let o=e?.[un]?.enter;t!==null&&o&&o.has(n.index)&&vw(r,o)}function Ar(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;at(o)?c=o:jt(o)&&(u=!0,o=o[it]);let l=We(o);e===0&&r!==null?(yg(a,r,i,n),s==null?Em(t,r,l):ua(t,r,l,s||null,!0)):e===1&&r!==null?(yg(a,r,i,n),ua(t,r,l,s||null,!0),hw(i,l)):e===2?(a?.[un]?.leave?.has(i.index)&&pw(i,l),jo.delete(l),vg(a,i,n,d=>{if(jo.has(l)){jo.delete(l);return}Im(t,l,u,d)})):e===3&&(jo.delete(l),vg(a,i,n,()=>{t.destroyNode(l)})),c!=null&&Nw(t,e,n,c,i,r,s)}}function Dw(e,t){xm(e,t),t[it]=null,t[Se]=null}function Ew(e,t,n,r,o,i){r[it]=o,r[Se]=t,Pa(e,r,n,1,o,i)}function xm(e,t){t[st].changeDetectionScheduler?.notify(9),Pa(e,t,t[H],2,null,null)}function Iw(e){let t=e[Tr];if(!t)return hl(e[S],e);for(;t;){let n=null;if(jt(t))n=t[Tr];else{let r=t[te];r&&(n=r)}if(!n){for(;t&&!t[Ge]&&t!==e;)jt(t)&&hl(t[S],t),t=t[ue];t===null&&(t=e),jt(t)&&hl(t[S],t),n=t&&t[Ge]}t=n}}function Cd(e,t){let n=e[$n],r=n.indexOf(t);n.splice(r,1)}function ka(e,t){if(zn(t))return;let n=t[H];n.destroyNode&&Pa(e,t,n,3,null,null),Iw(t)}function hl(e,t){if(zn(t))return;let n=T(null);try{t[_]&=-129,t[_]|=256,t[Le]&&rn(t[Le]),bw(e,t),ww(e,t),t[S].type===1&&t[H].destroy();let r=t[cn];if(r!==null&&at(t[ue])){r!==t[ue]&&Cd(r,t);let o=t[Tt];o!==null&&o.detachView(e)}Tl(t)}finally{T(n)}}function vg(e,t,n,r){let o=e?.[un];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Yn.add(e[Lt]),Am(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Cw(e,r)}else e&&Yn.delete(e[Lt]),r(!1)},o)}function Cw(e,t){let n=e[un]?.running;if(n){n.then(()=>{e[un].running=void 0,Yn.delete(e[Lt]),t(!0)});return}t(!1)}function ww(e,t){let n=e.cleanup,r=t[br];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[br]=null);let o=t[kt];if(o!==null){t[kt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[sn];if(i!==null){t[sn]=null;for(let s of i)s.destroy()}}function bw(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Zn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];V(L.LifecycleHookStart,a,c);try{c.call(a)}finally{V(L.LifecycleHookEnd,a,c)}}else{V(L.LifecycleHookStart,o,i);try{i.call(o)}finally{V(L.LifecycleHookEnd,o,i)}}}}}function Om(e,t,n){return Tw(e,t.parent,n)}function Tw(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[it];if(Bt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===ft.None||o===ft.Emulated)return null}return ut(r,n)}function km(e,t,n){return _w(e,t,n)}function Sw(e,t,n){return e.type&40?ut(e,n):null}var _w=Sw,Dg;function wd(e,t,n,r){let o=Om(e,r,t),i=t[H],s=r.parent||t[Se],a=km(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)pg(i,o,n[c],a,!1);else pg(i,o,n,a,!1);Dg!==void 0&&Dg(i,r,t,n,o)}function Bo(e,t){if(t!==null){let n=t.type;if(n&3)return ut(t,e);if(n&4)return jl(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Bo(e,r);{let o=e[t.index];return at(o)?jl(-1,o):We(o)}}else{if(n&128)return Bo(e,t.next);if(n&32)return Dd(t,e)()||We(e[t.index]);{let r=Pm(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=an(e[Ee]);return Bo(o,r)}else return Bo(e,t.next)}}}return null}function Pm(e,t){if(t!==null){let r=e[Ee][Se],o=t.projection;return r.projection[o]}return null}function jl(e,t){let n=te+e+1;if(n<t.length){let r=t[n],o=r[S].firstChild;if(o!==null)return Bo(r,o)}return t[ln]}function bd(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Ft];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&kr(We(c),r),n.flags|=2),!_a(n))if(u&8)bd(e,t,n.child,r,o,i,!1),Ar(t,e,a,o,c,n,i,r);else if(u&32){let l=Dd(n,r),d;for(;d=l();)Ar(t,e,a,o,d,n,i,r);Ar(t,e,a,o,c,n,i,r)}else u&16?Fm(e,t,r,n,o,i):Ar(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Pa(e,t,n,r,o,i){bd(n,r,e.firstChild,t,o,i,!1)}function Mw(e,t,n){let r=t[H],o=Om(e,n,t),i=n.parent||t[Se],s=km(i,n,t);Fm(r,0,t,n,o,s)}function Fm(e,t,n,r,o,i){let s=n[Ee],c=s[Se].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Ar(t,e,n[Ft],o,l,r,i,n)}else{let u=c,l=s[ue];tm(r)&&(u.flags|=128),bd(e,t,u,l,o,i,!0)}}function Nw(e,t,n,r,o,i,s){let a=r[ln],c=We(r);a!==c&&Ar(t,e,n,i,a,o,s);for(let u=te;u<r.length;u++){let l=r[u];Pa(l[S],l,e,t,i,a)}}function Rw(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Nt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Nt.Important),e.setStyle(n,r,o,i))}}function Lm(e,t,n,r,o){let i=St(),s=r&2;try{fn(-1),s&&t.length>W&&Nm(e,t,W,!1);let a=s?L.TemplateUpdateStart:L.TemplateCreateStart;V(a,o,n),n(r,o)}finally{fn(i);let a=s?L.TemplateUpdateEnd:L.TemplateCreateEnd;V(a,o,n)}}function Fa(e,t,n){Fw(e,t,n),(n.flags&64)===64&&Lw(e,t,n)}function Jo(e,t,n=ut){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 Aw(e,t,n,r){let i=r.get(lm,um)||n===ft.ShadowDom||n===ft.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return xw(s),s}function xw(e){Ow(e)}var Ow=()=>null;function kw(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function jm(e,t,n,r,o,i){let s=t[S];if(Md(e,s,t,n,r)){Bt(e)&&Pw(t,e.index);return}e.type&3&&(n=kw(n)),Bm(e,t,n,r,o,i)}function Bm(e,t,n,r,o,i){if(e.type&3){let s=ut(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Pw(e,t){let n=qe(t,e);n[_]&16||(n[_]|=64)}function Fw(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Bt(n)&&lw(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||aa(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Vo(t,e,s,n);if(kr(c,t),i!==null&&Vw(t,s-r,c,a,n,i),ct(a)){let u=qe(n.index,t);u[ee]=Vo(t,e,s,n)}}}function Lw(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Up();try{fn(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Vs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&jw(c,u)}}finally{fn(-1),Vs(s)}}function jw(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Td(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Sm(t,i.selectors,!1)&&(r??=[],ct(i)?r.unshift(i):r.push(i))}return r}function Bw(e,t,n,r,o,i){let s=ut(e,t);Uw(t[H],s,i,e.value,n,r,o)}function Uw(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?jn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Vw(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];Fl(r,n,c,u)}}function Sd(e,t,n,r,o){let i=W+n,s=t[S],a=o(s,t,e,r,n);t[i]=a,Mr(e,!0);let c=e.type===2;return c?(Cm(t[H],a,e),(Rp()===0||Sr(e))&&kr(a,t),Ap()):kr(a,t),Gs()&&(!c||!_a(e))&&wd(s,t,a,e),e}function _d(e){let t=e;return el()?tl():(t=t.parent,Mr(t,!1)),t}function Hw(e,t){let n=e[Ft];if(!n)return;let r;try{r=n.get(Ae,null)}catch(o){r=null}r?.(t)}function Md(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];Fl(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Fl(l,u,r,o),a=!0}return a}function $w(e,t){let n=qe(t,e),r=n[S];zw(r,n);let o=n[it];o!==null&&n[Bn]===null&&(n[Bn]=dm(o,n[Ft])),V(L.ComponentStart);try{Nd(r,n,n[ee])}finally{V(L.ComponentEnd,n[ee])}}function zw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Nd(e,t,n){$s(t);try{let r=e.viewQuery;r!==null&&_l(1,r,n);let o=e.template;o!==null&&Lm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Tt]?.finishViewCreation(e),e.staticContentQueries&&fm(e,t),e.staticViewQueries&&_l(2,e.viewQuery,n);let i=e.components;i!==null&&Gw(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[_]&=-5,zs()}}function Gw(e,t){for(let n=0;n<t.length;n++)$w(e,t[n])}function Xo(e,t,n,r){let o=T(null);try{let i=t.tView,a=e[_]&4096?4096:16,c=yd(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[cn]=u;let l=e[Tt];return l!==null&&(c[Tt]=l.createEmbeddedView(i)),Nd(i,c,n),c}finally{T(o)}}function Pr(e,t){return!t||t.firstChild===null||tm(e)}function $o(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(We(i)),at(i)&&Um(i,r);let s=n.type;if(s&8)$o(e,t,n.child,r);else if(s&32){let a=Dd(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Pm(t,n);if(Array.isArray(a))r.push(...a);else{let c=an(t[Ee]);$o(c[S],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Um(e,t){for(let n=te;n<e.length;n++){let r=e[n],o=r[S].firstChild;o!==null&&$o(r[S],r,o,t)}e[ln]!==e[it]&&t.push(e[ln])}function Vm(e){if(e[Hn]!==null){for(let t of e[Hn])t.impl.addSequence(t);e[Hn].length=0}}var Hm=[];function Ww(e){return e[Le]??qw(e)}function qw(e){let t=Hm.pop()??Object.create(Yw);return t.lView=e,t}function Zw(e){e.lView[Le]!==e&&(e.lView=null,Hm.push(e))}var Yw=F(y({},Rn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Gn(e.lView)},consumerOnSignalRead(){this.lView[Le]=this}});function Qw(e){let t=e[Le]??Object.create(Kw);return t.lView=e,t}var Kw=F(y({},Rn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=an(e.lView);for(;t&&!$m(t[S]);)t=an(t);t&&Gu(t)},consumerOnSignalRead(){this.lView[Le]=this}});function $m(e){return e.type!==2}function zm(e){if(e[sn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[sn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[_]&8192)}}var Jw=100;function Gm(e,t=0){let r=e[st].rendererFactory,o=!1;o||r.begin?.();try{Xw(e,t)}finally{o||r.end?.()}}function Xw(e,t){let n=nl();try{wo(!0),Bl(e,t);let r=0;for(;xo(e);){if(r===Jw)throw new m(103,!1);r++,Bl(e,1)}}finally{wo(n)}}function eb(e,t,n,r){if(zn(t))return;let o=t[_],i=!1,s=!1;$s(t);let a=!0,c=null,u=null;i||($m(e)?(u=Ww(t),c=nn(u)):ps()===null?(a=!1,u=Qw(t),c=nn(u)):t[Le]&&(rn(t[Le]),t[Le]=null));try{zu(t),Lp(e.bindingStartIndex),n!==null&&Lm(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Js(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Xs(t,f,0,null),dl(t,0)}if(s||tb(t),zm(t),Wm(t,0),e.contentQueries!==null&&fm(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Js(t,f)}else{let f=e.contentHooks;f!==null&&Xs(t,f,1),dl(t,1)}rb(e,t);let d=e.components;d!==null&&Zm(t,d,0);let h=e.viewQuery;if(h!==null&&_l(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Js(t,f)}else{let f=e.viewHooks;f!==null&&Xs(t,f,2),dl(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ps]){for(let f of t[Ps])f();t[Ps]=null}i||(Vm(t),t[_]&=-73)}catch(l){throw i||Gn(t),l}finally{u!==null&&(xn(u,c),a&&Zw(u)),zs()}}function Wm(e,t){for(let n=rm(e);n!==null;n=om(n))for(let r=te;r<n.length;r++){let o=n[r];qm(o,t)}}function tb(e){for(let t=rm(e);t!==null;t=om(t)){if(!(t[_]&2))continue;let n=t[$n];for(let r=0;r<n.length;r++){let o=n[r];Gu(o)}}}function nb(e,t,n){V(L.ComponentStart);let r=qe(t,e);try{qm(r,n)}finally{V(L.ComponentEnd,r[ee])}}function qm(e,t){Ls(e)&&Bl(e,t)}function Bl(e,t){let r=e[S],o=e[_],i=e[Le],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&yr(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)eb(r,e,r.template,e[ee]);else if(o&8192){let a=T(null);try{zm(e),Wm(e,1);let c=r.components;c!==null&&Zm(e,c,1),Vm(e)}finally{T(a)}}}function Zm(e,t,n){for(let r=0;r<t.length;r++)nb(e,t[r],n)}function rb(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)fn(~o);else{let i=o,s=n[++r],a=n[++r];Bp(s,i);let c=t[i];V(L.HostBindingsUpdateStart,c);try{a(2,c)}finally{V(L.HostBindingsUpdateEnd,c)}}}}finally{fn(-1)}}function Rd(e,t){let n=nl()?64:1088;for(e[st].changeDetectionScheduler?.notify(t);e;){e[_]|=n;let r=an(e);if(_r(e)&&!r)return e;e=r}return null}function Ym(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Qm(e,t){let n=te+t;if(n<e.length)return e[n]}function ei(e,t,n,r=!0){let o=t[S];if(ob(o,t,e,n),r){let s=jl(n,e),a=t[H],c=a.parentNode(e[ln]);c!==null&&Ew(o,e[Se],a,t,c,s)}let i=t[Bn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Km(e,t){let n=zo(e,t);return n!==void 0&&ka(n[S],n),n}function zo(e,t){if(e.length<=te)return;let n=te+t,r=e[n];if(r){let o=r[cn];o!==null&&o!==e&&Cd(o,r),t>0&&(e[n-1][Ge]=r[Ge]);let i=Mo(e,te+t);Dw(r[S],r);let s=i[Tt];s!==null&&s.detachView(i[S]),r[ue]=null,r[Ge]=null,r[_]&=-129}return r}function ob(e,t,n,r){let o=te+r,i=n.length;r>0&&(n[o-1][Ge]=t),r<i-te?(t[Ge]=n[o],Au(n,te+r,t)):(n.push(t),t[Ge]=null),t[ue]=n;let s=t[cn];s!==null&&n!==s&&Jm(s,t);let a=t[Tt];a!==null&&a.insertView(e),js(t),t[_]|=128}function Jm(e,t){let n=e[$n],r=t[ue];if(jt(r))e[_]|=2;else{let o=r[ue][Ee];t[Ee]!==o&&(e[_]|=2)}n===null?e[$n]=[t]:n.push(t)}var pn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[S];return $o(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[ee]}set context(t){this._lView[ee]=t}get destroyed(){return zn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ue];if(at(t)){let n=t[Ro],r=n?n.indexOf(this):-1;r>-1&&(zo(t,r),Mo(n,r))}this._attachedToViewContainer=!1}ka(this._lView[S],this._lView)}onDestroy(t){Wu(this._lView,t)}markForCheck(){Rd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){js(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,Gm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=_r(this._lView),n=this._lView[cn];n!==null&&!t&&Cd(n,this._lView),xm(this._lView[S],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=_r(this._lView),r=this._lView[cn];r!==null&&!n&&Jm(r,this._lView),js(this._lView)}};var Fr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ib;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Xo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new pn(i)}}return e})();function ib(){return La(fe(),b())}function La(e,t){return e.type&4?new Fr(t,e,Ur(e,t)):null}function Vr(e,t,n,r,o){let i=e.data[t];if(i===null)i=sb(e,t,n,r,o),jp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=kp();i.injectorIndex=s===null?-1:s.injectorIndex}return Mr(i,!0),i}function sb(e,t,n,r,o){let i=Xu(),s=el(),a=s?i:i&&i.parent,c=e.data[t]=cb(e,a,n,t,r,o);return ab(e,c,i,s),c}function ab(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 cb(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Qu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ub(e){let t=e[Bu]??[],r=e[ue][H],o=[];for(let i of t)i.data[cm]!==void 0?o.push(i):lb(i,r);e[Bu]=o}function lb(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[am];for(;n<o;){let i=r.nextSibling;Im(t,r,!1),r=i,n++}}}var db=()=>null,fb=()=>null;function la(e,t){return db(e,t)}function Xm(e,t,n){return fb(e,t,n)}var ey=class{},ja=class{},Ul=class{resolveComponentFactory(t){throw new m(917,!1)}},ti=class{static NULL=new Ul},Qn=class{},ni=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>hb()}return e})();function hb(){let e=b(),t=fe(),n=qe(t.index,e);return(jt(n)?n:e)[H]}var ty=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>null})}return e})();var ta={},Vl=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ta,r);return o!==ta||n===ta?o:this.parentInjector.get(t,n,r)}};function da(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Ss(o,a);else if(i==2){let c=a,u=t[++s];r=Ss(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ne(e,t=0){let n=b();if(n===null)return w(e,t);let r=fe();return Kg(r,n,ce(e),t)}function Ad(){let e="invalid";throw new Error(e)}function ny(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}mb(e,t,n,a,i,c,u)}i!==null&&r!==null&&pb(n,r,i)}function pb(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function gb(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function mb(e,t,n,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let f=r[h];c===null&&ct(f)&&(c=f,gb(e,n,h)),wl(aa(n,t),e,f.type)}Cb(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Mm(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=Or(n.mergedAttrs,f.hostAttrs),vb(e,n,t,d,f),Ib(d,f,o),s!==null&&s.has(f)){let[C,v]=s.get(f);n.directiveToIndex.set(f.type,[d,C+n.directiveStart,v+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!u&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}yb(e,n,i)}function yb(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Eg(0,t,o,r),Eg(1,t,o,r),Cg(t,r,!1);else{let i=n.get(o);Ig(0,t,i,r),Ig(1,t,i,r),Cg(t,r,!0)}}}function Eg(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),ry(t,i)}}function Ig(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),ry(t,s)}}function ry(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Cg(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||gd(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 vb(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=on(o.type,!0)),s=new Zn(i,ct(o),Ne,null);e.blueprint[r]=s,n[r]=s,Db(e,t,r,Mm(e,n,o.hostVars,Me),o)}function Db(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Eb(s)!=a&&s.push(a),s.push(n,r,i)}}function Eb(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Ib(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ct(t)&&(n[""]=e)}}function Cb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function xd(e,t,n,r,o,i,s,a){let c=t[S],u=c.consts,l=je(u,s),d=Vr(c,e,n,r,l);return i&&ny(c,t,d,je(u,a),o),d.mergedAttrs=Or(d.mergedAttrs,d.attrs),d.attrs!==null&&da(d,d.attrs,!1),d.mergedAttrs!==null&&da(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Od(e,t){Hg(e,t),Uu(t)&&e.queries.elementEnd(t)}function wb(e,t,n,r,o,i){let s=t.consts,a=je(s,o),c=Vr(t,e,n,r,a);if(c.mergedAttrs=Or(c.mergedAttrs,c.attrs),i!=null){let u=je(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&da(c,c.attrs,!1),c.mergedAttrs!==null&&da(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Ba(e,t,n){return e[t]=n}function bb(e,t){return e[t]}function Be(e,t,n){if(n===Me)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function kd(e,t,n,r){let o=Be(e,t,n);return Be(e,t+1,r)||o}function Tb(e,t,n,r,o){let i=kd(e,t,n,r);return Be(e,t+2,o)||i}function na(e,t,n){return function r(o){let i=Bt(e)?qe(e.index,t):t;Rd(i,5);let s=t[ee],a=wg(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=wg(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function wg(e,t,n,r){let o=T(null);try{return V(L.OutputStart,t,n),n(r)!==!1}catch(i){return Hw(e,i),!1}finally{V(L.OutputEnd,t,n),T(o)}}function oy(e,t,n,r,o,i,s,a){let c=Sr(e),u=!1,l=null;if(!r&&c&&(l=_b(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=ut(e,n),h=r?r(d):d;vC(n,h,i,a);let f=o.listen(h,i,a);if(!Sb(i)){let g=r?C=>r(We(C[e.index])):e.index;iy(g,t,n,i,a,f,!1)}}return u}function Sb(e){return e.startsWith("animation")||e.startsWith("transition")}function _b(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[br],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function iy(e,t,n,r,o,i,s){let a=t.firstCreatePass?Zu(t):null,c=qu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function bg(e,t,n,r,o,i){let s=t[n],a=t[S],u=a.data[n].outputs[r],d=s[u].subscribe(i);iy(e.index,a,t,o,i,d,!0)}var Hl=Symbol("BINDING");function sy(e){return e.debugInfo?.className||e.type.name||null}var fa=class extends ti{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=wt(t);return new gn(n,this.ngModule)}};function Mb(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ra.SignalBased)!==0};return o&&(i.transform=o),i})}function Nb(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Rb(e,t,n){let r=t instanceof K?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Vl(n,r):n}function Ab(e){let t=e.get(Qn,null);if(t===null)throw new m(407,!1);let n=e.get(ty,null),r=e.get(nt,null),o=e.get(pt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function xb(e,t){let n=ay(e);return Dm(t,n,n==="svg"?Vu:n==="math"?bp:null)}function ay(e){return(e.selectors[0][0]||"div").toLowerCase()}var gn=class extends ja{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Mb(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Nb(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=sw(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){V(L.DynamicComponentStart);let a=T(null);try{let c=this.componentDef,u=Rb(c,o||this.ngModule,t),l=Ab(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(sy(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{T(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=Ob(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?Aw(u,o,a.encapsulation,n):xb(a,u),d=s?.some(Tg)||i?.some(g=>typeof g!="function"&&g.bindings.some(Tg)),h=yd(null,c,null,512|_m(a),null,null,t,u,n,null,dm(l,n,!0));h[W]=l,$s(h);let f=null;try{let g=xd(W,h,2,"#host",()=>c.directiveRegistry,!0,0);Cm(u,l,g),kr(l,h),Fa(c,h,g),ud(c,g,h),Od(c,g),r!==void 0&&Pb(g,this.ngContentSelectors,r),f=qe(g.index,h),h[ee]=f[ee],Nd(c,h,null)}catch(g){throw f!==null&&Tl(f),Tl(h),g}finally{V(L.DynamicComponentEnd),zs()}return new ha(this.componentType,h,!!d)}};function Ob(e,t,n,r){let o=e?["ng-version","21.2.6"]:aw(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Hl].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let h of d.bindings){a+=h[Hl].requiredVars;let f=l+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=Ns(d);c.push(h)}return md(0,null,kb(i,s),1,a,c,null,null,null,[o],null)}function kb(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Tg(e){let t=e[Hl].kind;return t==="input"||t==="twoWay"}var ha=class extends ey{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Fs(n[S],W),this.location=Ur(this._tNode,n),this.instance=qe(this._tNode.index,n)[ee],this.hostView=this.changeDetectorRef=new pn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Md(r,o[S],o,t,n);this.previousInputValues.set(t,n);let s=qe(r.index,o);Rd(s,1)}get injector(){return new qn(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 mn=(()=>{class e{static __NG_ELEMENT_ID__=Fb}return e})();function Fb(){let e=fe();return cy(e,b())}var $l=class e extends mn{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ur(this._hostTNode,this._hostLView)}get injector(){return new qn(this._hostTNode,this._hostLView)}get parentInjector(){let t=sd(this._hostTNode,this._hostLView);if(Gg(t)){let n=ia(t,this._hostLView),r=oa(t),o=n[S].data[r+8];return new qn(o,n)}else return new qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Sg(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-te}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=la(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Pr(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!GI(t),u;if(c)u=n;else{let v=n||{};u=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}let l=c?t:new gn(wt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let I=(c?d:this.parentInjector).get(K,null);I&&(i=I)}let h=wt(l.componentType??{}),f=la(this._lContainer,h?.id??null),g=f?.firstChild??null,C=l.create(d,o,g,i,s,a);return this.insertImpl(C.hostView,u,Pr(this._hostTNode,f)),C}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Sp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ue],u=new e(c,c[Se],c[ue]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ei(s,o,i,r),t.attachToViewContainerRef(),Au(pl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Sg(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=zo(this._lContainer,n);r&&(Mo(pl(this._lContainer),n),ka(r[S],r))}detach(t){let n=this._adjustIndex(t,-1),r=zo(this._lContainer,n);return r&&Mo(pl(this._lContainer),n)!=null?new pn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Sg(e){return e[Ro]}function pl(e){return e[Ro]||(e[Ro]=[])}function cy(e,t){let n,r=t[e.index];return at(r)?n=r:(n=Ym(r,t,null,e),t[e.index]=n,vd(t,n)),jb(n,t,e,r),new $l(n,e,t)}function Lb(e,t){let n=e[H],r=n.createComment(""),o=ut(t,e),i=n.parentNode(o);return ua(n,i,r,n.nextSibling(o),!1),r}var jb=Vb,Bb=()=>!1;function Ub(e,t,n){return Bb(e,t,n)}function Vb(e,t,n,r){if(e[ln])return;let o;n.type&8?o=We(r):o=Lb(t,n),e[ln]=o}var zl=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Gl=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++)Fd(t,n).matches!==null&&this.queries[n].setDirty()}},pa=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Wb(t):this.predicate=t}},Wl=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)}},ql=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,ea(n,t,i,!1,!1))}else r===Fr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ea(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Vt||o===mn||o===Fr&&n.type&4)this.addMatch(n.index,-2);else{let i=ea(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function 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 $b(e,t){return e.type&11?Ur(e,t):e.type&4?La(e,t):null}function zb(e,t,n,r){return n===-1?$b(t,e):n===-2?Gb(e,t,r):Vo(e,e[S],n,t)}function Gb(e,t,n){if(n===Vt)return Ur(t,e);if(n===Fr)return La(t,e);if(n===mn)return cy(t,e)}function uy(e,t,n,r){let o=t[Tt].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(zb(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Zl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=uy(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=te;d<l.length;d++){let h=l[d];h[cn]===h[ue]&&Zl(h[S],h,u,r)}if(l[$n]!==null){let d=l[$n];for(let h=0;h<d.length;h++){let f=d[h];Zl(f[S],f,u,r)}}}}}return r}function Pd(e,t){return e[Tt].queries[t].queryList}function ly(e,t,n){let r=new ca((n&4)===4);return Np(e,t,r,r.destroy),(t[Tt]??=new Gl).queries.push(new zl(r))-1}function dy(e,t,n){let r=q();return r.firstCreatePass&&(hy(r,new pa(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),ly(r,b(),t)}function fy(e,t,n,r){let o=q();if(o.firstCreatePass){let i=fe();hy(o,new pa(t,n,r),i.index),qb(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return ly(o,b(),n)}function Wb(e){return e.split(",").map(t=>t.trim())}function hy(e,t,n){e.queries===null&&(e.queries=new Wl),e.queries.track(new ql(t,n))}function qb(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 Fd(e,t){return e.queries.getByIndex(t)}function py(e,t){let n=e[S],r=Fd(n,t);return r.crossesNgTemplate?Zl(n,e,t,[]):uy(n,e,r,t)}function gy(e,t,n){let r,o=vo(()=>{r._dirtyCounter();let i=Zb(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[ae],r._dirtyCounter=hn(0),r._flatValue=void 0,o}function Ld(e){return gy(!0,!1,e)}function jd(e){return gy(!0,!0,e)}function my(e,t){let n=e[ae];n._lView=b(),n._queryIndex=t,n._queryList=Pd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Zb(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[_]&4)return t?void 0:De;let o=Pd(n,r),i=py(n,r);return o.reset(i,em),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Kn=class{},Ua=class{};var ga=class extends Kn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new fa(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Mu(t);this._bootstrapComponents=bm(i.bootstrap),this._r3Injector=il(t,n,[{provide:Kn,useValue:this},{provide:ti,useValue:this.componentFactoryResolver},...r],So(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ma=class extends Ua{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ga(this.moduleType,t,[])}};var Go=class extends Kn{injector;componentFactoryResolver=new fa(this);instance=null;constructor(t){super();let n=new Fn([...t.providers,{provide:Kn,useValue:this},{provide:ti,useValue:this.componentFactoryResolver}],t.parent||wr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Hr(e,t,n=null){return new Go({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Yb=(()=>{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=ku(!1,n.type),o=r.length>0?Hr([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=E({token:e,providedIn:"environment",factory:()=>new e(w(K))})}return e})();function Bd(e){return qo(()=>{let t=yy(e),n=F(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ad.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Yb).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ft.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&gt("NgStandalone"),vy(n);let r=e.dependencies;return n.directiveDefs=_g(r,Qb),n.pipeDefs=_g(r,up),n.id=Xb(n),n})}function Qb(e){return wt(e)||Ns(e)}function yn(e){return qo(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Kb(e,t){if(e==null)return rt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Ra.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Jb(e){if(e==null)return rt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Xn(e){return qo(()=>{let t=yy(e);return vy(t),t})}function ri(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 yy(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||rt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:Kb(e.inputs,t),outputs:Jb(e.outputs),debugInfo:null}}function vy(e){e.features?.forEach(t=>t(e))}function _g(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function Xb(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 eT(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=tT,n.hostDirectives=r?e.map(Yl):[e]):r?n.hostDirectives.unshift(...e.map(Yl)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function tT(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Dy(s,t,r),o.set(s,[a,t.length-1])}i===0&&ct(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Dy(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Mg(Yl(i),t,n)}else Mg(r,t,n)}function Mg(e,t,n){let r=Ns(e.directive);nT(r.declaredInputs,e.inputs),Dy(r,t,n),n.set(r,e),t.push(r)}function Yl(e){return typeof e=="function"?{directive:ce(e),inputs:rt,outputs:rt}:{directive:ce(e.directive),inputs:Ng(e.inputs),outputs:Ng(e.outputs)}}function Ng(e){if(e===void 0||e.length===0)return rt;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function nT(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function rT(e){return Object.getPrototypeOf(e.prototype).constructor}function Ey(e){let t=rT(e.type),n=!0,r=[e];for(;t;){let o;if(ct(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=gl(e.inputs),s.declaredInputs=gl(e.declaredInputs),s.outputs=gl(e.outputs);let a=o.hostBindings;a&&cT(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&sT(e,c),u&&aT(e,u),oT(e,o),cp(e.outputs,o.outputs),ct(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===Ey&&(n=!1)}}t=Object.getPrototypeOf(t)}iT(r)}function oT(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 iT(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Or(o.hostAttrs,n=Or(n,o.hostAttrs))}}function gl(e){return e===rt?{}:e===De?[]:e}function sT(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function aT(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function cT(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Iy(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Or(e.mergedAttrs,e.attrs);let l=e.tView=md(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Mr(e,!1);let c=lT(n,t,e,r);Gs()&&wd(n,t,c,e),kr(c,t);let u=Ym(c,t,c,e);t[r+W]=u,vd(t,u),Ub(u,e,t)}function uT(e,t,n,r,o,i,s,a,c,u,l){let d=n+W,h;return t.firstCreatePass?(h=Vr(t,d,4,s||null,a||null),Bs()&&ny(t,e,h,je(t.consts,u),Td),Hg(t,h)):h=t.data[d],Iy(h,e,t,n,r,o,i,c),Sr(h)&&Fa(t,e,h),u!=null&&Jo(e,h,l),h}function Lr(e,t,n,r,o,i,s,a,c,u,l){let d=n+W,h;if(t.firstCreatePass){if(h=Vr(t,d,4,s||null,a||null),u!=null){let f=je(t.consts,u);h.localNames=[];for(let g=0;g<f.length;g+=2)h.localNames.push(f[g],-1)}}else h=t.data[d];return Iy(h,e,t,n,r,o,i,c),u!=null&&Jo(e,h,l),h}function Cy(e,t,n,r,o,i,s,a){let c=b(),u=q(),l=je(u.consts,i);return uT(c,u,e,t,n,r,o,l,void 0,s,a),Cy}function wy(e,t,n,r,o,i,s,a){let c=b(),u=q(),l=je(u.consts,i);return Lr(c,u,e,t,n,r,o,l,void 0,s,a),wy}var lT=dT;function dT(e,t,n,r){return Po(!0),t[H].createComment("")}var Va=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ud(e){return typeof e=="function"&&e[ae]!==void 0}function Vd(e){return Ud(e)&&typeof e.set=="function"}var Hd=new D("");function er(e){return!!e&&typeof e.then=="function"}function Ha(e){return!!e&&typeof e.subscribe=="function"}var $d=new D("");function $a(e){return ot([{provide:$d,multi:!0,useValue:e}])}var zd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p($d,{optional:!0})??[];injector=p(le);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=de(this.injector,o);if(er(i))n.push(i);else if(Ha(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oi=new D("");function by(){ru(()=>{let e="";throw new m(600,e)})}function Ty(e){return e.isBoundToModule}var fT=10;var vn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Ae);afterRenderManager=p(xa);zonelessEnabled=p(Rr);rootEffectScheduler=p(qs);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new oe;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(_t);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(B(n=>!n))}constructor(){p(pt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(K);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=le.NULL){return this._injector.get(J).run(()=>{V(L.BootstrapComponentStart);let s=n instanceof ja;if(!this._injector.get(zd).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(ti).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Ty(c)?void 0:this._injector.get(Kn),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get(Hd,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Uo(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),V(L.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){V(L.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Aa.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw V(L.ChangeDetectionEnd),new m(101,!1);let n=T(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,T(n),this.afterTick.next(),V(L.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Qn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<fT;){V(L.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{V(L.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!xo(o))continue;let i=r&&!this.zonelessEnabled?0:1;Gm(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>xo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Uo(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(oi,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Uo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Uo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Gd(e,t,n,r){let o=b(),i=dn();if(Be(o,i,t)){let s=q(),a=ko();Bw(a,o,e,t,n,r)}return Gd}function hT(){return b()[Ee][ee]}var Ql=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 ml(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function pT(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){T(r);let u=t.length-1;for(T(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],h=ml(s,l,s,d,n);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),g=t[u],C=ml(a,f,u,g,n);if(C!==0){C<0&&e.updateValue(a,g),a--,u--;continue}let v=n(s,l),I=n(a,f),P=n(s,d);if(Object.is(P,I)){let pe=n(u,g);Object.is(pe,v)?(e.swap(s,a),e.updateValue(a,g),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ya,i??=Ag(e,s,a,n),Kl(e,o,s,P))e.updateValue(s,d),s++,a++;else if(i.has(P))o.set(v,e.detach(s)),a--;else{let pe=e.create(s,t[s]);e.attach(s,pe),s++,a++}}for(;s<=u;)Rg(e,o,n,s,t[s]),s++}else if(t!=null){T(r);let u=t[Symbol.iterator]();T(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),h=l.value,f=ml(s,d,s,h,n);if(f!==0)f<0&&e.updateValue(s,h),s++,l=u.next();else{o??=new ya,i??=Ag(e,s,a,n);let g=n(s,h);if(Kl(e,o,s,g))e.updateValue(s,h),s++,a++,l=u.next();else if(!i.has(g))e.attach(s,e.create(s,h)),s++,a++,l=u.next();else{let C=n(s,d);o.set(C,e.detach(s)),a--}}}for(;!l.done;)Rg(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function Kl(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Rg(e,t,n,r,o){if(Kl(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ag(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ya=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function gT(e,t,n,r,o,i,s,a){gt("NgControlFlow");let c=b(),u=q(),l=je(u.consts,i);return Lr(c,u,e,t,n,r,o,l,256,s,a),Wd}function Wd(e,t,n,r,o,i,s,a){gt("NgControlFlow");let c=b(),u=q(),l=je(u.consts,i);return Lr(c,u,e,t,n,r,o,l,512,s,a),Wd}function mT(e,t){gt("NgControlFlow");let n=b(),r=dn(),o=n[r]!==Me?n[r]:-1,i=o!==-1?va(n,W+o):void 0,s=0;if(Be(n,r,e)){let a=T(null);try{if(i!==void 0&&Km(i,s),e!==-1){let c=W+e,u=va(n,c),l=td(n[S],c),d=Xm(u,l,n),h=Xo(n,l,t,{dehydratedView:d});ei(u,h,s,Pr(l,d))}}finally{T(a)}}else if(i!==void 0){let a=Qm(i,s);a!==void 0&&(a[ee]=t)}}var Jl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-te}};function yT(e){return e}function vT(e,t){return t}var Xl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function DT(e,t,n,r,o,i,s,a,c,u,l,d,h){gt("NgControlFlow");let f=b(),g=q(),C=c!==void 0,v=b(),I=a?s.bind(v[Ee][ee]):s,P=new Xl(C,I);v[W+e]=P,Lr(f,g,e+1,t,n,r,o,je(g.consts,i),256),C&&Lr(f,g,e+2,c,u,l,d,je(g.consts,h),512)}var ed=class extends Ql{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-te}at(t){return this.getLView(t)[ee].$implicit}attach(t,n){let r=n[Bn];this.needsIndexUpdate||=t!==this.length,ei(this.lContainer,n,t,Pr(this.templateTNode,r)),IT(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,CT(this.lContainer,t),wT(this.lContainer,t)}create(t,n){let r=la(this.lContainer,this.templateTNode.tView.ssrId);return Xo(this.hostLView,this.templateTNode,new Jl(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ka(t[S],t)}updateValue(t,n){this.getLView(t)[ee].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ee].$index=t}getLView(t){return bT(this.lContainer,t)}};function ET(e){let t=T(null),n=St();try{let r=b(),o=r[S],i=r[n],s=n+1,a=va(r,s);if(i.liveCollection===void 0){let u=td(o,s);i.liveCollection=new ed(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(pT(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=dn(),l=c.length===0;if(Be(r,u,l)){let d=n+2,h=va(r,d);if(l){let f=td(o,d),g=Xm(h,f,r),C=Xo(r,f,void 0,{dehydratedView:g});ei(h,C,0,Pr(f,g))}else o.firstUpdatePass&&ub(h),Km(h,0)}}}finally{T(t)}}function va(e,t){return e[t]}function IT(e,t){if(e.length<=te)return;let n=te+t,r=e[n],o=r?r[un]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Ft];yw(i,o),Yn.delete(r[Lt]),o.detachedLeaveAnimationFns=void 0}}function CT(e,t){if(e.length<=te)return;let n=te+t,r=e[n],o=r?r[un]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function wT(e,t){return zo(e,t)}function bT(e,t){return Qm(e,t)}function td(e,t){return Fs(e,t)}function Sy(e,t,n){let r=b(),o=dn();if(Be(r,o,t)){let i=q(),s=ko();jm(s,r,e,t,r[H],n)}return Sy}function nd(e,t,n,r,o){Md(t,e,n,o?"class":"style",r)}function Da(e,t,n,r){let o=b(),i=o[S],s=e+W,a=i.firstCreatePass?xd(s,o,2,t,Td,Bs(),n,r):i.data[s];if(Bt(a)){let c=o[st].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(sy(u),()=>(xg(e,t,o,a,r),Da))}}return xg(e,t,o,a,r),Da}function xg(e,t,n,r,o){if(Sd(r,n,e,t,My),Sr(r)){let i=n[S];Fa(i,n,r),ud(i,r,n)}o!=null&&Jo(n,r)}function qd(){let e=q(),t=fe(),n=_d(t);return e.firstCreatePass&&Od(e,n),Ku(n)&&Ju(),Yu(),n.classesWithoutHost!=null&&KI(n)&&nd(e,n,b(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&JI(n)&&nd(e,n,b(),n.stylesWithoutHost,!1),qd}function za(e,t,n,r){return Da(e,t,n,r),qd(),za}function Zd(e,t,n,r){let o=b(),i=o[S],s=e+W,a=i.firstCreatePass?wb(s,i,2,t,n,r):i.data[s];return Sd(a,o,e,t,My),r!=null&&Jo(o,a),Zd}function Yd(){let e=fe(),t=_d(e);return Ku(t)&&Ju(),Yu(),Yd}function _y(e,t,n,r){return Zd(e,t,n,r),Yd(),_y}var My=(e,t,n,r,o)=>(Po(!0),Dm(t[H],r,Zp()));function Qd(e,t,n){let r=b(),o=r[S],i=e+W,s=o.firstCreatePass?xd(i,r,8,"ng-container",Td,Bs(),t,n):o.data[i];if(Sd(s,r,e,"ng-container",TT),Sr(s)){let a=r[S];Fa(a,r,s),ud(a,s,r)}return n!=null&&Jo(r,s),Qd}function Kd(){let e=q(),t=fe(),n=_d(t);return e.firstCreatePass&&Od(e,n),Kd}function Ny(e,t,n){return Qd(e,t,n),Kd(),Ny}var TT=(e,t,n,r,o)=>(Po(!0),zC(t[H],""));function ST(){return b()}function Ry(e,t,n){let r=b(),o=dn();if(Be(r,o,t)){let i=q(),s=ko();Bm(s,r,e,t,r[H],n)}return Ry}var Lo=void 0;function _T(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var MT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Lo,[["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"]],Lo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Lo,Lo,Lo],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",_T],yl={};function xe(e){let t=NT(e),n=Og(t);if(n)return n;let r=t.split("-")[0];if(n=Og(r),n)return n;if(r==="en")return MT;throw new m(701,!1)}function Og(e){return e in yl||(yl[e]=ze.ng&&ze.ng.common&&ze.ng.common.locales&&ze.ng.common.locales[e]),yl[e]}var ne=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(ne||{});function NT(e){return e.toLowerCase().replace(/_/g,"-")}var ii="en-US";var RT=ii;function Ay(e){typeof e=="string"&&(RT=e.toLowerCase().replace(/_/g,"-"))}function Jd(e,t,n){let r=b(),o=q(),i=fe();return Oy(o,r,r[H],i,e,t,n),Jd}function xy(e,t,n){let r=b(),o=q(),i=fe();return(i.type&3||n)&&oy(i,o,r,n,r[H],e,t,na(i,r,t)),xy}function Oy(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=na(r,t,i),oy(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let h=l[d],f=l[d+1];c??=na(r,t,i),bg(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=na(r,t,i),bg(r,t,d,o,o,c)}}function AT(e=1){return Gp(e)}function xT(e,t){let n=null,r=tw(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Sm(e,i,!0):ow(r,i))return o}return n}function OT(e){let t=b()[Ee][Se];if(!t.projection){let n=e?e.length:1,r=t.projection=gp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?xT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function kT(e,t=0,n,r,o,i){let s=b(),a=q(),c=r?e+1:null;c!==null&&Lr(s,a,c,r,o,i,null,n);let u=Vr(a,W+e,16,null,n||null);u.projection===null&&(u.projection=t),tl();let d=!s[Bn]||Qu();s[Ee][Se].projection[u.projection]===null&&c!==null?PT(s,a,c):d&&!_a(u)&&Mw(a,s,u)}function PT(e,t,n){let r=W+n,o=t.data[r],i=e[r],s=la(i,o.tView.ssrId),a=Xo(e,o,void 0,{dehydratedView:s});ei(i,a,0,Pr(o,s))}function Xd(e,t,n,r){return fy(e,t,n,r),Xd}function ky(e,t,n){return dy(e,t,n),ky}function Py(e){let t=b(),n=q(),r=Hs();Oo(r+1);let o=Fd(n,r);if(e.dirty&&Tp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=py(t,r);e.reset(i,em),e.notifyOnChanges()}return!0}return!1}function Fy(){return Pd(b(),Hs())}function Ly(e,t,n,r,o){return my(t,fy(e,n,r,o)),Ly}function jy(e,t,n,r){return my(e,dy(t,n,r)),jy}function FT(e=1){Oo(Hs()+e)}function LT(e){let t=Pp();return Ao(t,W+e)}function Ks(e,t){return e<<17|t<<2}function Jn(e){return e>>17&32767}function jT(e){return(e&2)==2}function BT(e,t){return e&131071|t<<17}function rd(e){return e|2}function jr(e){return(e&131068)>>2}function vl(e,t){return e&-131069|t<<2}function UT(e){return(e&1)===1}function od(e){return e|1}function VT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Jn(s),c=jr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Cr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=Jn(e[a+1]);e[r+1]=Ks(h,a),h!==0&&(e[h+1]=vl(e[h+1],r)),e[a+1]=BT(e[a+1],r)}else e[r+1]=Ks(a,0),a!==0&&(e[a+1]=vl(e[a+1],r)),a=r;else e[r+1]=Ks(c,0),a===0?a=r:e[c+1]=vl(e[c+1],r),c=r;u&&(e[r+1]=rd(e[r+1])),kg(e,l,r,!0),kg(e,l,r,!1),HT(t,l,e,r,i),s=Ks(a,c),i?t.classBindings=s:t.styleBindings=s}function HT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Cr(i,t)>=0&&(n[r+1]=od(n[r+1]))}function kg(e,t,n,r){let o=e[n+1],i=t===null,s=r?Jn(o):jr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];$T(c,t)&&(a=!0,e[s+1]=r?od(u):rd(u)),s=r?Jn(u):jr(u)}a&&(e[n+1]=r?rd(o):od(o))}function $T(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Cr(e,t)>=0:!1}var dt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function zT(e){return e.substring(dt.key,dt.keyEnd)}function GT(e){return WT(e),By(e,Uy(e,0,dt.textEnd))}function By(e,t){let n=dt.textEnd;return n===t?-1:(t=dt.keyEnd=qT(e,dt.key=t,n),Uy(e,t,n))}function WT(e){dt.key=0,dt.keyEnd=0,dt.value=0,dt.valueEnd=0,dt.textEnd=e.length}function Uy(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function qT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Vy(e,t,n){return $y(e,t,n,!1),Vy}function Hy(e,t){return $y(e,t,null,!0),Hy}function ZT(e){QT(nS,YT,e,!0)}function YT(e,t){for(let n=GT(t);n>=0;n=By(t,n))Os(e,zT(t),!0)}function $y(e,t,n,r){let o=b(),i=q(),s=Us(2);if(i.firstUpdatePass&&Gy(i,e,s,r),t!==Me&&Be(o,s,t)){let a=i.data[St()];Wy(i,a,o,o[H],e,o[s+1]=oS(t,n),r,s)}}function QT(e,t,n,r){let o=q(),i=Us(2);o.firstUpdatePass&&Gy(o,null,i,r);let s=b();if(n!==Me&&Be(s,i,n)){let a=o.data[St()];if(qy(a,r)&&!zy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ss(c,n||"")),nd(o,a,s,n,r)}else rS(o,a,s,s[H],s[i+1],s[i+1]=tS(e,t,n),r,i)}}function zy(e,t){return t>=e.expandoStartIndex}function Gy(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[St()],s=zy(e,n);qy(i,r)&&t===null&&!s&&(t=!1),t=KT(o,i,t,r),VT(o,i,t,n,s,r)}}function KT(e,t,n,r){let o=Vp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Dl(null,e,t,n,r),n=Wo(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Dl(o,e,t,n,r),i===null){let c=JT(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Dl(null,e,t,c[1],r),c=Wo(c,t.attrs,r),XT(e,t,r,c))}else i=eS(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function JT(e,t,n){let r=n?t.classBindings:t.styleBindings;if(jr(r)!==0)return e[Jn(r)]}function XT(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Jn(o)]=r}function eS(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Wo(r,s,n)}return Wo(r,t.attrs,n)}function Dl(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=Wo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Wo(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]),Os(e,s,n?!0:t[++i]))}return e===void 0?null:e}function tS(e,t,n){if(n==null||n==="")return De;let r=[],o=Ze(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function nS(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Os(e,r,n)}function rS(e,t,n,r,o,i,s,a){o===Me&&(o=De);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,g=null,C;l===d?(c+=2,u+=2,h!==f&&(g=d,C=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,C=f),g!==null&&Wy(e,t,n,r,g,C,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Wy(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=UT(u)?Pg(c,t,n,o,jr(u),s):void 0;if(!Ea(l)){Ea(i)||jT(u)&&(i=Pg(c,null,n,o,a,s));let d=Hu(St(),n);Rw(r,s,d,o,i)}}function Pg(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===Me&&(h=d?De:void 0);let f=d?ks(h,r):l===r?h:void 0;if(u&&!Ea(f)&&(f=ks(c,r)),Ea(f)&&(a=f,s))return a;let g=e[o+1];o=s?Jn(g):jr(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ks(c,r))}return a}function Ea(e){return e!==void 0}function oS(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=So(Ze(e)))),e}function qy(e,t){return(e.flags&(t?8:16))!==0}function iS(e,t=""){let n=b(),r=q(),o=e+W,i=r.firstCreatePass?Vr(r,o,1,t,null):r.data[o],s=sS(r,n,i,t);n[o]=s,Gs()&&wd(r,n,s,i),Mr(i,!1)}var sS=(e,t,n,r)=>(Po(!0),HC(t[H],r));function Zy(e,t,n,r=""){return Be(e,dn(),n)?t+jn(n)+r:Me}function aS(e,t,n,r,o,i=""){let s=Fp(),a=kd(e,s,n,o);return Us(2),a?t+jn(n)+r+jn(o)+i:Me}function Yy(e){return ef("",e),Yy}function ef(e,t,n){let r=b(),o=Zy(r,e,t,n);return o!==Me&&Ky(r,St(),o),ef}function Qy(e,t,n,r,o){let i=b(),s=aS(i,e,t,n,r,o);return s!==Me&&Ky(i,St(),s),Qy}function Ky(e,t,n){let r=Hu(t,e);$C(e[H],r,n)}function Jy(e,t,n){Vd(t)&&(t=t());let r=b(),o=dn();if(Be(r,o,t)){let i=q(),s=ko();jm(s,r,e,t,r[H],n)}return Jy}function cS(e,t){let n=Vd(e);return n&&e.set(t),n}function Xy(e,t){let n=b(),r=q(),o=fe();return Oy(r,n,n[H],o,e,t),Xy}function uS(e,t,n=""){return Zy(b(),e,t,n)}function Fg(e,t,n){let r=q();r.firstCreatePass&&ev(t,r.data,r.blueprint,ct(e),n)}function ev(e,t,n,r,o){if(e=ce(e),Array.isArray(e))for(let i=0;i<e.length;i++)ev(e[i],t,n,r,o);else{let i=q(),s=b(),a=fe(),c=Pn(e)?e:ce(e.provide),u=Fu(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Pn(e)||!e.multi){let f=new Zn(u,o,Ne,null),g=Il(c,t,o?l:l+h,d);g===-1?(wl(aa(a,s),i,c),El(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=Il(c,t,l+h,d),g=Il(c,t,l,l+h),C=f>=0&&n[f],v=g>=0&&n[g];if(o&&!v||!o&&!C){wl(aa(a,s),i,c);let I=fS(o?dS:lS,n.length,o,r,u,e);!o&&v&&(n[g].providerFactory=I),El(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(I),s.push(I)}else{let I=tv(n[o?g:f],u,!o&&r);El(i,e,f>-1?f:g,I)}!o&&r&&v&&n[g].componentProviders++}}}function El(e,t,n,r){let o=Pn(t),i=Ip(t);if(o||i){let c=(i?ce(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function tv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Il(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function lS(e,t,n,r,o){return id(this.multi,[])}function dS(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Vo(r,r[S],this.providerFactory.index,o);s=c.slice(0,a),id(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],id(i,s);return s}function id(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function fS(e,t,n,r,o,i){let s=new Zn(e,n,Ne,null);return s.multi=[],s.index=t,s.componentProviders=0,tv(s,o,r&&!n),s}function hS(e,t){return n=>{n.providersResolver=(r,o)=>Fg(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Fg(r,o?o(t):t,!0))}}function pS(e,t){let n=Wn()+e,r=b();return r[n]===Me?Ba(r,n,t()):bb(r,n)}function gS(e,t,n){return nv(b(),Wn(),e,t,n)}function mS(e,t,n,r){return rv(b(),Wn(),e,t,n,r)}function tf(e,t){let n=e[t];return n===Me?void 0:n}function nv(e,t,n,r,o,i){let s=t+n;return Be(e,s,o)?Ba(e,s+1,i?r.call(i,o):r(o)):tf(e,s+1)}function rv(e,t,n,r,o,i,s){let a=t+n;return kd(e,a,o,i)?Ba(e,a+2,s?r.call(s,o,i):r(o,i)):tf(e,a+2)}function yS(e,t,n,r,o,i,s,a){let c=t+n;return Tb(e,c,o,i,s)?Ba(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):tf(e,c+3)}function vS(e,t){let n=q(),r,o=e+W;n.firstCreatePass?(r=DS(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=on(r.type,!0)),s,a=be(Ne);try{let c=sa(!1),u=i();return sa(c),$u(n,b(),o,u),u}finally{be(a)}}function DS(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function ES(e,t,n){let r=e+W,o=b(),i=Ao(o,r);return nf(o,r)?nv(o,Wn(),t,i.transform,n,i):i.transform(n)}function IS(e,t,n,r){let o=e+W,i=b(),s=Ao(i,o);return nf(i,o)?rv(i,Wn(),t,s.transform,n,r,s):s.transform(n,r)}function CS(e,t,n,r,o){let i=e+W,s=b(),a=Ao(s,i);return nf(s,i)?yS(s,Wn(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function nf(e,t){return e[S].data[t].pure}function wS(e,t){return La(e,t)}var Ia=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},rf=(()=>{class e{compileModuleSync(n){return new ma(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Mu(n),i=bm(o.declarations).reduce((s,a)=>{let c=wt(a);return c&&s.push(new gn(c)),s},[]);return new Ia(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ov=(()=>{class e{applicationErrorHandler=p(Ae);appRef=p(vn);taskService=p(_t);ngZone=p(J);zonelessEnabled=p(Rr);tracing=p(pt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new re;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(bo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(Ws,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Kp:al;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(bo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iv(){return[{provide:nt,useExisting:ov},{provide:J,useClass:To},{provide:Rr,useValue:!0}]}function bS(){return typeof $localize<"u"&&$localize.locale||ii}var $r=new D("",{factory:()=>p($r,{optional:!0,skipSelf:!0})||bS()});var Ga=class{destroyed=!1;listeners=null;errorHandler=p(He,{optional:!0});destroyRef=p(_e);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new m(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($e(953,!1));return}if(this.listeners===null)return;let n=T(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{T(n)}}};function Ye(e){return rp(e)}function of(e,t){return vo(e,t?.equal)}var dv=Symbol("InputSignalNode#UNSET"),BS=F(y({},Do),{transformFn:void 0,applyValueToInputSignal(e,t){Dr(e,t)}});function fv(e,t){let n=Object.create(BS);n.value=e,n.transformFn=t?.transform;function r(){if(An(n),n.value===dv){let o=null;throw new m(-950,o)}return n.value}return r[ae]=n,r}var af=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ca(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function kH(e){return new Ga}function sv(e,t){return fv(e,t)}function US(e){return fv(dv,e)}var hv=(sv.required=US,sv);function av(e,t){return Ld(t)}function VS(e,t){return jd(t)}var PH=(av.required=VS,av);function cv(e,t){return Ld(t)}function HS(e,t){return jd(t)}var FH=(cv.required=HS,cv);var $S=(()=>{class e{zone=p(J);changeDetectionScheduler=p(nt);applicationRef=p(vn);applicationErrorHandler=p(Ae);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zS=new D("",{factory:()=>!1});function GS({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new J(F(y({},pv()),{scheduleInRootZone:t})),[{provide:Rr,useValue:!1},{provide:J,useFactory:e},{provide:bt,multi:!0,useFactory:()=>{let n=p($S,{optional:!0});return()=>n.initialize()}},{provide:bt,multi:!0,useFactory:()=>{let n=p(WS);return()=>{n.initialize()}}},{provide:Ws,useValue:t??sl}]}function LH(e){let t=e?.scheduleInRootZone,n=GS({ngZoneFactory:()=>{let r=pv(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&gt("NgZone_CoalesceEvent"),new J(r)},scheduleInRootZone:t});return ot([{provide:zS,useValue:!0},n])}function pv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var WS=(()=>{class e{subscription=new re;initialized=!1;zone=p(J);pendingTasks=p(_t);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var cf=new D(""),qS=new D("");function si(e){return!e.moduleRef}function ZS(e){let t=si(e)?e.r3Injector:e.moduleRef.injector,n=t.get(J);return n.run(()=>{si(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ae),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),si(e)){let i=()=>t.destroy(),s=e.platformInjector.get(cf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(cf);s.add(i),e.moduleRef.onDestroy(()=>{Uo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return QS(r,n,()=>{let i=t.get(_t),s=i.add(),a=t.get(zd);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get($r,ii);if(Ay(c||ii),!t.get(qS,!0))return si(e)?t.get(vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(si(e)){let l=t.get(vn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return YS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var YS;function QS(e,t,n){try{let r=n();return er(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Wa=null;function KS(e=[],t){return le.create({name:t,providers:[{provide:No,useValue:"platform"},{provide:cf,useValue:new Set([()=>Wa=null])},...e]})}function JS(e=[]){if(Wa)return Wa;let t=KS(e);return Wa=t,by(),XS(t),t}function XS(e){let t=e.get(ba,null);de(e,()=>{t?.forEach(n=>n())})}var e_=1e4;var jH=e_-1e3;var zr=(()=>{class e{static __NG_ELEMENT_ID__=t_}return e})();function t_(e){return n_(fe(),b(),(e&16)===16)}function n_(e,t,n){if(Bt(e)&&!n){let r=qe(e.index,t);return new pn(r,r)}else if(e.type&175){let r=t[Ee];return new pn(r,t)}return null}function gv(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;V(L.BootstrapApplicationStart);try{let i=o?.injector??JS(r),s=[iv(),Xp,...n||[]],a=new Go({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return ZS({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{V(L.BootstrapApplicationEnd)}}function mv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function r_(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var sf=Symbol("NOT_SET"),yv=new Set,o_=F(y({},Do),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:sf,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==sf&&!yr(this))return this.signal;try{for(let o of this.cleanup??yv)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=nn(this),r;try{r=this.userFn.apply(null,t)}finally{xn(this,n)}return(this.value===sf||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),uf=class extends Ho{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(_e),s),this.scheduler=o;for(let a of Ed){let c=n[a];if(c===void 0)continue;let u=Object.create(o_);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(An(u),u.value),u.signal[ae]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??yv)n()}finally{rn(t)}}};function BH(e,t){let n=t?.injector??p(le),r=n.get(nt),o=n.get(xa),i=n.get(pt,null,{optional:!0});o.impl??=n.get(Id);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Nr,null,{optional:!0}),c=new uf(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function UH(e,t){let n=wt(e),r=t.elementInjector||wr();return new gn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function vv(e){let t=wt(e);if(!t)return null;let n=new gn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Dv=null;function Gt(){return Dv}function lf(e){Dv??=e}var ai=class{},Wt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(Ev),providedIn:"platform"})}return e})(),df=new D(""),Ev=(()=>{class e extends Wt{_location;_history;_doc=p(Q);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gt().getBaseHref(this._doc)}onPopState(n){let r=Gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function qa(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Iv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function mt(e){return e&&e[0]!=="?"?`?${e}`:e}var qt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(Ya),providedIn:"root"})}return e})(),Za=new D(""),Ya=(()=>{class e extends qt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return qa(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+mt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+mt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+mt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(w(Wt),w(Za,8))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Dn=(()=>{class e{_subject=new oe;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=a_(Iv(Cv(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+mt(r))}normalize(n){return e.stripTrailingSlash(s_(this._basePath,Cv(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+mt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+mt(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=mt;static joinWithSlash=qa;static stripTrailingSlash=Iv;static \u0275fac=function(r){return new(r||e)(w(qt))};static \u0275prov=E({token:e,factory:()=>i_(),providedIn:"root"})}return e})();function i_(){return new Dn(w(qt))}function s_(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Cv(e){return e.replace(/\/index.html$/,"")}function a_(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Ef=(()=>{class e extends qt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=qa(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+mt(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+mt(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(w(Wt),w(Za,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();var If=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(If||{});var Ie=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ie||{}),$=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})($||{}),Oe=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Oe||{}),ke={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 Sv(e){return xe(e)[ne.LocaleId]}function _v(e,t,n){let r=xe(e),o=[r[ne.DayPeriodsFormat],r[ne.DayPeriodsStandalone]],i=Qe(o,t);return Qe(i,n)}function Mv(e,t,n){let r=xe(e),o=[r[ne.DaysFormat],r[ne.DaysStandalone]],i=Qe(o,t);return Qe(i,n)}function Nv(e,t,n){let r=xe(e),o=[r[ne.MonthsFormat],r[ne.MonthsStandalone]],i=Qe(o,t);return Qe(i,n)}function Rv(e,t){let r=xe(e)[ne.Eras];return Qe(r,t)}function ci(e,t){let n=xe(e);return Qe(n[ne.DateFormat],t)}function ui(e,t){let n=xe(e);return Qe(n[ne.TimeFormat],t)}function li(e,t){let r=xe(e)[ne.DateTimeFormat];return Qe(r,t)}function Rt(e,t){let n=xe(e),r=n[ne.NumberSymbols][t];if(typeof r>"u"){if(t===ke.CurrencyDecimal)return n[ne.NumberSymbols][ke.Decimal];if(t===ke.CurrencyGroup)return n[ne.NumberSymbols][ke.Group]}return r}function Av(e,t){return xe(e)[ne.NumberFormats][t]}function xv(e){if(!e[ne.ExtraData])throw new m(2303,!1)}function Ov(e){let t=xe(e);return xv(t),(t[ne.ExtraData][2]||[]).map(r=>typeof r=="string"?ff(r):[ff(r[0]),ff(r[1])])}function kv(e,t,n){let r=xe(e);xv(r);let o=[r[ne.ExtraData][0],r[ne.ExtraData][1]],i=Qe(o,t)||[];return Qe(i,n)||[]}function Qe(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function ff(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var c_=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qa={},u_=/((?:[^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 Pv(e,t,n,r){let o=v_(e);t=Zt(n,t)||t;let s=[],a;for(;t;)if(a=u_.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=Lv(r,c),o=y_(o,r));let u="";return s.forEach(l=>{let d=g_(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function tc(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Zt(e,t){let n=Sv(e);if(Qa[n]??={},Qa[n][t])return Qa[n][t];let r="";switch(t){case"shortDate":r=ci(e,Oe.Short);break;case"mediumDate":r=ci(e,Oe.Medium);break;case"longDate":r=ci(e,Oe.Long);break;case"fullDate":r=ci(e,Oe.Full);break;case"shortTime":r=ui(e,Oe.Short);break;case"mediumTime":r=ui(e,Oe.Medium);break;case"longTime":r=ui(e,Oe.Long);break;case"fullTime":r=ui(e,Oe.Full);break;case"short":let o=Zt(e,"shortTime"),i=Zt(e,"shortDate");r=Ka(li(e,Oe.Short),[o,i]);break;case"medium":let s=Zt(e,"mediumTime"),a=Zt(e,"mediumDate");r=Ka(li(e,Oe.Medium),[s,a]);break;case"long":let c=Zt(e,"longTime"),u=Zt(e,"longDate");r=Ka(li(e,Oe.Long),[c,u]);break;case"full":let l=Zt(e,"fullTime"),d=Zt(e,"fullDate");r=Ka(li(e,Oe.Full),[l,d]);break}return r&&(Qa[n][t]=r),r}function Ka(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function yt(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 l_(e,t){return yt(e,3).substring(0,t)}function ie(e,t,n=0,r=!1,o=!1){return function(i,s){let a=d_(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return l_(a,t);let c=Rt(s,ke.MinusSign);return yt(a,t,c,r,o)}}function d_(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function Z(e,t,n=Ie.Format,r=!1){return function(o,i){return f_(o,i,e,t,n,r)}}function f_(e,t,n,r,o,i){switch(n){case 2:return Nv(t,o,r)[e.getMonth()];case 1:return Mv(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Ov(t),l=kv(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,C=s>=f.hours&&a>=f.minutes,v=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(C&&v)return!0}else if(C||v)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return _v(t,o,r)[s<12?0:1];case 3:return Rv(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Ja(e){return function(t,n,r){let o=-1*r,i=Rt(n,ke.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+yt(s,2,i)+yt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+yt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+yt(s,2,i)+":"+yt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+yt(s,2,i)+":"+yt(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var h_=0,ec=4;function p_(e){let t=tc(e,h_,1).getDay();return tc(e,0,1+(t<=ec?ec:ec+7)-t)}function Fv(e){let t=e.getDay(),n=t===0?-3:ec-t;return tc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function hf(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=Fv(n),s=p_(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return yt(o,e,Rt(r,ke.MinusSign))}}function Xa(e,t=!1){return function(n,r){let i=Fv(n).getFullYear();return yt(i,e,Rt(r,ke.MinusSign),t)}}var pf={};function g_(e){if(pf[e])return pf[e];let t;switch(e){case"G":case"GG":case"GGG":t=Z(3,$.Abbreviated);break;case"GGGG":t=Z(3,$.Wide);break;case"GGGGG":t=Z(3,$.Narrow);break;case"y":t=ie(0,1,0,!1,!0);break;case"yy":t=ie(0,2,0,!0,!0);break;case"yyy":t=ie(0,3,0,!1,!0);break;case"yyyy":t=ie(0,4,0,!1,!0);break;case"Y":t=Xa(1);break;case"YY":t=Xa(2,!0);break;case"YYY":t=Xa(3);break;case"YYYY":t=Xa(4);break;case"M":case"L":t=ie(1,1,1);break;case"MM":case"LL":t=ie(1,2,1);break;case"MMM":t=Z(2,$.Abbreviated);break;case"MMMM":t=Z(2,$.Wide);break;case"MMMMM":t=Z(2,$.Narrow);break;case"LLL":t=Z(2,$.Abbreviated,Ie.Standalone);break;case"LLLL":t=Z(2,$.Wide,Ie.Standalone);break;case"LLLLL":t=Z(2,$.Narrow,Ie.Standalone);break;case"w":t=hf(1);break;case"ww":t=hf(2);break;case"W":t=hf(1,!0);break;case"d":t=ie(2,1);break;case"dd":t=ie(2,2);break;case"c":case"cc":t=ie(7,1);break;case"ccc":t=Z(1,$.Abbreviated,Ie.Standalone);break;case"cccc":t=Z(1,$.Wide,Ie.Standalone);break;case"ccccc":t=Z(1,$.Narrow,Ie.Standalone);break;case"cccccc":t=Z(1,$.Short,Ie.Standalone);break;case"E":case"EE":case"EEE":t=Z(1,$.Abbreviated);break;case"EEEE":t=Z(1,$.Wide);break;case"EEEEE":t=Z(1,$.Narrow);break;case"EEEEEE":t=Z(1,$.Short);break;case"a":case"aa":case"aaa":t=Z(0,$.Abbreviated);break;case"aaaa":t=Z(0,$.Wide);break;case"aaaaa":t=Z(0,$.Narrow);break;case"b":case"bb":case"bbb":t=Z(0,$.Abbreviated,Ie.Standalone,!0);break;case"bbbb":t=Z(0,$.Wide,Ie.Standalone,!0);break;case"bbbbb":t=Z(0,$.Narrow,Ie.Standalone,!0);break;case"B":case"BB":case"BBB":t=Z(0,$.Abbreviated,Ie.Format,!0);break;case"BBBB":t=Z(0,$.Wide,Ie.Format,!0);break;case"BBBBB":t=Z(0,$.Narrow,Ie.Format,!0);break;case"h":t=ie(3,1,-12);break;case"hh":t=ie(3,2,-12);break;case"H":t=ie(3,1);break;case"HH":t=ie(3,2);break;case"m":t=ie(4,1);break;case"mm":t=ie(4,2);break;case"s":t=ie(5,1);break;case"ss":t=ie(5,2);break;case"S":t=ie(6,1);break;case"SS":t=ie(6,2);break;case"SSS":t=ie(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ja(0);break;case"ZZZZZ":t=Ja(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ja(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ja(2);break;default:return null}return pf[e]=t,t}function Lv(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function m_(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function y_(e,t,n){let o=e.getTimezoneOffset(),i=Lv(t,o);return m_(e,-1*(i-o))}function v_(e){if(wv(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 tc(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(c_))return D_(r)}let t=new Date(e);if(!wv(t))throw new m(2311,!1);return t}function D_(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 wv(e){return e instanceof Date&&!isNaN(e.valueOf())}var E_=/^(\d+)?\.((\d+)(-(\d+))?)?$/,bv=22,nc=".",di="0",I_=";",C_=",",gf="#";function w_(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Rt(n,ke.Infinity);else{let u=S_(e);s&&(u=T_(u));let l=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){let P=i.match(E_);if(P===null)throw new m(2306,!1);let pe=P[1],X=P[3],Xt=P[5];pe!=null&&(l=mf(pe)),X!=null&&(d=mf(X)),Xt!=null?h=mf(Xt):X!=null&&d>h&&(h=d)}__(u,d,h);let f=u.digits,g=u.integerLen,C=u.exponent,v=[];for(c=f.every(P=>!P);g<l;g++)f.unshift(0);for(;g<0;g++)f.unshift(0);g>0?v=f.splice(g,f.length):(v=f,f=[0]);let I=[];for(f.length>=t.lgSize&&I.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)I.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&I.unshift(f.join("")),a=I.join(Rt(n,r)),v.length&&(a+=Rt(n,o)+v.join("")),C&&(a+=Rt(n,ke.Exponential)+"+"+C)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function jv(e,t,n){let r=Av(t,If.Decimal),o=b_(r,Rt(t,ke.MinusSign));return w_(e,o,t,ke.Group,ke.Decimal,n)}function b_(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(I_),o=r[0],i=r[1],s=o.indexOf(nc)!==-1?o.split(nc):[o.substring(0,o.lastIndexOf(di)+1),o.substring(o.lastIndexOf(di)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(gf));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===di?n.minFrac=n.maxFrac=l+1:d===gf?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(C_);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(gf);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 T_(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(nc))>-1&&(t=t.replace(nc,"")),(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)===di;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===di;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>bv&&(r=r.splice(0,bv-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function __(e,t,n){if(t>n)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,h,f,g){return h=h+d,g[f]=h<10?h:h-10,c&&(g[f]===0&&f>=u?g.pop():c=!1),h>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function mf(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var yf=/\s+/,Tv=[],M_=(()=>{class e{_ngEl;_renderer;initialClasses=Tv;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(yf):Tv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(yf):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(yf).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)(Ne(Vt),Ne(ni))};static \u0275dir=Xn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var N_=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=p(le);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(Ne(mn))};static \u0275dir=Xn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Br]})}return e})();function Cf(e,t){return new m(2100,!1)}var vf=class{createSubscription(t,n,r){return Ye(()=>t.subscribe({next:n,error:r}))}dispose(t){Ye(()=>t.unsubscribe())}},Df=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},R_=new Df,A_=new vf,x_=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(Ae);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(er(n))return R_;if(Ha(n))return A_;throw Cf(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)(Ne(zr,16))};static \u0275pipe=ri({name:"async",type:e,pure:!1})}return e})();var O_="mediumDate",Bv=new D(""),Uv=new D(""),k_=(()=>{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??O_,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Pv(n,s,i||this.locale,a)}catch(s){throw Cf(e,s.message)}}static \u0275fac=function(r){return new(r||e)(Ne($r,16),Ne(Bv,24),Ne(Uv,24))};static \u0275pipe=ri({name:"date",type:e,pure:!0})}return e})();var P_=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!F_(n))return null;o||=this._locale;try{let i=L_(n);return jv(i,o,r)}catch(i){throw Cf(e,i.message)}}static \u0275fac=function(r){return new(r||e)(Ne($r,16))};static \u0275pipe=ri({name:"number",type:e,pure:!0})}return e})();function F_(e){return!(e==null||e===""||e!==e)}function L_(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new m(2309,!1);return e}var Vv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=yn({type:e});static \u0275inj=Pt({})}return e})();function fi(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var tr=class{};var bf="browser";function c2(e){return e===bf}var Tf=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new wf(p(Q),window)})}return e})(),wf=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(F(y({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=B_(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn($e(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F(y({},n),{left:o-s[0],top:i-s[1]}))}};function B_(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 hi=class{_doc;constructor(t){this._doc=t}manager},rc=(()=>{class e extends hi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(w(Q))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),sc=new D(""),Nf=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof rc));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof rc);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(w(sc),w(J))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Sf="ng-app-id";function Hv(e){for(let t of e)t.remove()}function $v(e,t){let n=t.createElement("style");return n.textContent=e,n}function U_(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Sf}="${t}"],link[${Sf}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Sf),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 Mf(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Rf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,U_(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,$v);r?.forEach(o=>this.addUsage(o,this.external,Mf))}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&&(Hv(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Hv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,$v(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Mf(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(w(Q),w(wa),w(Ta,8),w(Yo))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),_f={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"},Af=/%COMP%/g;var Gv="%COMP%",V_=`_nghost-${Gv}`,H_=`_ngcontent-${Gv}`,$_=!0,z_=new D("",{factory:()=>$_});function G_(e){return H_.replace(Af,e)}function W_(e){return V_.replace(Af,e)}function Wv(e,t){return t.map(n=>n.replace(Af,e))}var xf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new pi(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof ic?o.applyToHost(n):o instanceof gi&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case ft.Emulated:i=new ic(c,u,r,this.appId,l,s,a,d);break;case ft.ShadowDom:return new oc(c,n,r,s,a,this.nonce,d,u);case ft.ExperimentalIsolatedShadowDom:return new oc(c,n,r,s,a,this.nonce,d);default:i=new gi(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(w(Nf),w(Rf),w(wa),w(z_),w(Q),w(J),w(Ta),w(pt,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),pi=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(_f[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(zv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(zv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=_f[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=_f[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Nt.DashCase|Nt.Important)?t.style.setProperty(n,r,o&Nt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Nt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Gt().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function zv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var oc=class extends pi{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Wv(r.id,u);for(let d of u){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let l=r.getExternalStyles?.();if(l)for(let d of l){let h=Mf(d,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},gi=class extends pi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?Wv(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Yn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ic=class extends gi{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=G_(u),this.hostAttr=W_(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var ac=class e extends ai{supportsDOMEvents=!0;static makeCurrent(){lf(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=q_();return n==null?null:Z_(n)}resetBaseElement(){mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return fi(document.cookie,t)}},mi=null;function q_(){return mi=mi||document.head.querySelector("base"),mi?mi.getAttribute("href"):null}function Z_(e){return new URL(e,document.baseURI).pathname}var Y_=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),qv=["alt","control","meta","shift"],Q_={"\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"},K_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Zv=(()=>{class e extends hi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gt().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),qv.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=Q_[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"),qv.forEach(s=>{if(s!==o){let a=K_[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(w(Q))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function J_(e,t,n){return z(this,null,function*(){let r=y({rootComponent:e},X_(t,n));return gv(r)})}function X_(e,t){return{platformRef:t?.platformRef,appProviders:[...oM,...e?.providers??[]],platformProviders:rM}}function eM(){ac.makeCurrent()}function tM(){return new He}function nM(){return cd(document),document}var rM=[{provide:Yo,useValue:bf},{provide:ba,useValue:eM,multi:!0},{provide:Q,useFactory:nM}];var oM=[{provide:No,useValue:"root"},{provide:He,useFactory:tM},{provide:sc,useClass:rc,multi:!0},{provide:sc,useClass:Zv,multi:!0},xf,Rf,Nf,{provide:Qn,useExisting:xf},{provide:tr,useClass:Y_},[]];var En=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
5
- `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var uc=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},lc=class{encodeKey(t){return Yv(t)}encodeValue(t){return Yv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function iM(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 sM=/%(\d[a-f0-9])/gi,aM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Yv(e){return encodeURIComponent(e).replace(sM,(t,n)=>aM[n]??t)}function cc(e){return`${e}`}var Yt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new lc,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=iM(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(cc):[cc(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(cc(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(cc(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function cM(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Qv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Kv(e){return typeof Blob<"u"&&e instanceof Blob}function Jv(e){return typeof FormData<"u"&&e instanceof FormData}function uM(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Xv="Content-Type",eD="Accept",tD="text/plain",nD="application/json",lM=`${nD}, ${tD}, */*`,Gr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(cM(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new En,this.context??=new uc,!this.params)this.params=new Yt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Qv(this.body)||Kv(this.body)||Jv(this.body)||uM(this.body)?this.body:this.body instanceof Yt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Jv(this.body)?null:Kv(this.body)?this.body.type||null:Qv(this.body)?null:typeof this.body=="string"?tD:this.body instanceof Yt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?nD:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,h=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,g=t.transferCache??this.transferCache,C=t.timeout??this.timeout,v=t.body!==void 0?t.body:this.body,I=t.withCredentials??this.withCredentials,P=t.reportProgress??this.reportProgress,pe=t.headers||this.headers,X=t.params||this.params,Xt=t.context??this.context;return t.setHeaders!==void 0&&(pe=Object.keys(t.setHeaders).reduce((ao,bn)=>ao.set(bn,t.setHeaders[bn]),pe)),t.setParams&&(X=Object.keys(t.setParams).reduce((ao,bn)=>ao.set(bn,t.setParams[bn]),X)),new e(n,r,v,{params:X,headers:pe,context:Xt,reportProgress:P,responseType:o,withCredentials:I,transferCache:g,keepalive:i,cache:a,priority:s,timeout:C,mode:c,redirect:u,credentials:l,referrer:d,integrity:h,referrerPolicy:f})}},nr=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(nr||{}),qr=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new En,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},dc=class e extends qr{constructor(t={}){super(t)}type=nr.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},yi=class e extends qr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=nr.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},Wr=class extends qr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},dM=200,fM=204;var hM=new D("");var pM=/^\)\]\}',?\n/;var kf=(()=>{class e{xhrFactory;tracingService=p(pt,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return M(null).pipe(we(()=>new k(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((v,I)=>s.setRequestHeader(v,I.join(","))),n.headers.has(eD)||s.setRequestHeader(eD,lM),!n.headers.has(Xv)){let v=n.detectContentTypeHeader();v!==null&&s.setRequestHeader(Xv,v)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let v=n.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let v=s.statusText||"OK",I=new En(s.getAllResponseHeaders()),P=s.responseURL||n.url;return c=new dc({headers:I,status:s.status,statusText:v,url:P}),c},l=this.maybePropagateTrace(()=>{let{headers:v,status:I,statusText:P,url:pe}=u(),X=null;I!==fM&&(X=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=X?dM:0);let Xt=I>=200&&I<300;if(n.responseType==="json"&&typeof X=="string"){let ao=X;X=X.replace(pM,"");try{X=X!==""?JSON.parse(X):null}catch(bn){X=ao,Xt&&(Xt=!1,X={error:bn,text:X})}}Xt?(i.next(new yi({body:X,headers:v,status:I,statusText:P,url:pe||void 0})),i.complete()):i.error(new Wr({error:X,headers:v,status:I,statusText:P,url:pe||void 0}))}),d=this.maybePropagateTrace(v=>{let{url:I}=u(),P=new Wr({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});i.error(P)}),h=d;n.timeout&&(h=this.maybePropagateTrace(v=>{let{url:I}=u(),P=new Wr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});i.error(P)}));let f=!1,g=this.maybePropagateTrace(v=>{f||(i.next(u()),f=!0);let I={type:nr.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(I.total=v.total),n.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),i.next(I)}),C=this.maybePropagateTrace(v=>{let I={type:nr.UploadProgress,loaded:v.loaded};v.lengthComputable&&(I.total=v.total),i.next(I)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",C)),s.send(a),i.next({type:nr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",C)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(w(tr))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gM(e,t){return t(e)}function mM(e,t,n){return(r,o)=>de(n,()=>t(r,i=>e(i,o)))}var rD=new D("",{factory:()=>[]}),oD=new D(""),iD=new D("",{factory:()=>!0});var Pf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(kf),o},providedIn:"root"})}return e})();var fc=(()=>{class e{backend;injector;chain=null;pendingTasks=p(Fo);contributeToStability=p(iD);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(rD),...this.injector.get(oD,[])]));this.chain=r.reduceRight((o,i)=>mM(o,i,this.injector),gM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(go(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(w(Pf),w(K))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ff=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(fc),o},providedIn:"root"})}return e})();function Of(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var sD=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Gr)i=n;else{let c;o.headers instanceof En?c=o.headers:c=new En(o.headers);let u;o.params&&(o.params instanceof Yt?u=o.params:u=new Yt({fromObject:o.params})),i=new Gr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=M(i).pipe(tn(c=>this.handler.handle(c)));if(n instanceof Gr||o.observe==="events")return s;let a=s.pipe(ye(c=>c instanceof yi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(B(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(B(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(B(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(B(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Yt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Of(o,r))}post(n,r,o={}){return this.request("POST",n,Of(o,r))}put(n,r,o={}){return this.request("PUT",n,Of(o,r))}static \u0275fac=function(r){return new(r||e)(w(Ff))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yM=new D("",{factory:()=>!0}),vM="XSRF-TOKEN",DM=new D("",{factory:()=>vM}),EM="X-XSRF-TOKEN",IM=new D("",{factory:()=>EM}),CM=(()=>{class e{cookieName=p(DM);doc=p(Q);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=fi(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),aD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(CM),o},providedIn:"root"})}return e})();function wM(e,t){if(!p(yM)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=p(Wt).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=p(aD).getToken(),r=p(IM);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function bM(...e){let t=[sD,fc,{provide:Ff,useExisting:fc},{provide:Pf,useFactory:()=>p(hM,{optional:!0})??p(kf)},{provide:rD,useValue:wM,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return ot(t)}var cD=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(w(Q))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var TM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=w(SM),o},providedIn:"root"})}return e})(),SM=(()=>{class e extends TM{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case ht.NONE:return r;case ht.HTML:return Ht(r,"HTML")?Ze(r):Na(this._doc,String(r)).toString();case ht.STYLE:return Ht(r,"Style")?Ze(r):r;case ht.SCRIPT:if(Ht(r,"Script"))return Ze(r);throw new m(5200,!1);case ht.URL:return Ht(r,"URL")?Ze(r):Qo(String(r));case ht.RESOURCE_URL:if(Ht(r,"ResourceURL"))return Ze(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return ld(n)}bypassSecurityTrustStyle(n){return dd(n)}bypassSecurityTrustScript(n){return fd(n)}bypassSecurityTrustUrl(n){return hd(n)}bypassSecurityTrustResourceUrl(n){return pd(n)}static \u0275fac=function(r){return new(r||e)(w(Q))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var N="primary",Ni=Symbol("RouteTitle"),Vf=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function or(e){return new Vf(e)}function Lf(e,t,n){for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(o[0]===":")n[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function mD(e,t,n){let r=n.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let c={},u=e.slice(0,r.length);return Lf(r,u,c)?{consumed:u,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||n.pathMatch==="full"&&t.hasChildren()&&n.path!=="**")return null;let a={};return!Lf(i,e.slice(0,i.length),a)||!Lf(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function vc(e){return new Promise((t,n)=>{e.pipe(It()).subscribe({next:r=>t(r),error:r=>n(r)})})}function MM(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!At(e[n],t[n]))return!1;return!0}function At(e,t){let n=e?Hf(e):void 0,r=t?Hf(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],!yD(e[o],t[o]))return!1;return!0}function Hf(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function yD(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 NM(e){return e.length>0?e[e.length-1]:null}function sr(e){return as(e)?e:er(e)?Y(Promise.resolve(e)):M(e)}function vD(e){return as(e)?vc(e):Promise.resolve(e)}var RM={exact:ID,subset:CD},DD={exact:AM,subset:xM,ignored:()=>!0},ED={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},$f={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function uD(e,t,n){return RM[n.paths](e.root,t.root,n.matrixParams)&&DD[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function AM(e,t){return At(e,t)}function ID(e,t,n){if(!rr(e.segments,t.segments)||!gc(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!ID(e.children[r],t.children[r],n))return!1;return!0}function xM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>yD(e[n],t[n]))}function CD(e,t,n){return wD(e,t,t.segments,n)}function wD(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!rr(o,n)||t.hasChildren()||!gc(o,n,r))}else if(e.segments.length===n.length){if(!rr(e.segments,n)||!gc(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!CD(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!rr(e.segments,o)||!gc(e.segments,o,r)||!e.children[N]?!1:wD(e.children[N],t,i,r)}}function gc(e,t,n){return t.every((r,o)=>DD[n](e[o].parameters,r.parameters))}var Je=class{root;queryParams;fragment;_queryParamMap;constructor(t=new j([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=or(this.queryParams),this._queryParamMap}toString(){return PM.serialize(this)}},j=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mc(this)}},In=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=or(this.parameters),this._parameterMap}toString(){return TD(this)}};function OM(e,t){return rr(e,t)&&e.every((n,r)=>At(n.parameters,t[r].parameters))}function rr(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function kM(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===N&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==N&&(n=n.concat(t(o,r)))}),n}var ar=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new Kt,providedIn:"root"})}return e})(),Kt=class{parse(t){let n=new Gf(t);return new Je(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${vi(t.root,!0)}`,r=jM(t.queryParams),o=typeof t.fragment=="string"?`#${FM(t.fragment)}`:"";return`${n}${r}${o}`}},PM=new Kt;function mc(e){return e.segments.map(t=>TD(t)).join("/")}function vi(e,t){if(!e.hasChildren())return mc(e);if(t){let n=e.children[N]?vi(e.children[N],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==N&&r.push(`${o}:${vi(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=kM(e,(r,o)=>o===N?[vi(e.children[N],!1)]:[`${o}:${vi(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[N]!=null?`${mc(e)}/${n[0]}`:`${mc(e)}/(${n.join("//")})`}}function bD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function hc(e){return bD(e).replace(/%3B/gi,";")}function FM(e){return encodeURI(e)}function zf(e){return bD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yc(e){return decodeURIComponent(e)}function lD(e){return yc(e.replace(/\+/g,"%20"))}function TD(e){return`${zf(e.path)}${LM(e.parameters)}`}function LM(e){return Object.entries(e).map(([t,n])=>`;${zf(t)}=${zf(n)}`).join("")}function jM(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${hc(n)}=${hc(o)}`).join("&"):`${hc(n)}=${hc(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var BM=/^[^\/()?;#]+/;function jf(e){let t=e.match(BM);return t?t[0]:""}var UM=/^[^\/()?;=#]+/;function VM(e){let t=e.match(UM);return t?t[0]:""}var HM=/^[^=?&#]+/;function $M(e){let t=e.match(HM);return t?t[0]:""}var zM=/^[^&#]+/;function GM(e){let t=e.match(zM);return t?t[0]:""}var Gf=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(t=0){if(t>50)throw new m(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,t));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,t)),(n.length>0||Object.keys(r).length>0)&&(o[N]=new j(n,r)),o}parseSegment(){let t=jf(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new In(yc(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=VM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=jf(this.remaining);o&&(r=o,this.capture(r))}t[yc(n)]=yc(r)}parseQueryParam(t){let n=$M(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=GM(this.remaining);s&&(r=s,this.capture(r))}let o=lD(n),i=lD(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t,n){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=jf(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new m(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=N);let a=this.parseChildren(n+1);r[s??N]=Object.keys(a).length===1&&a[N]?a[N]:new j([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new m(4011,!1)}};function SD(e){return e.segments.length>0?new j([],{[N]:e}):e}function _D(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=_D(o);if(r===N&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new j(e.segments,t);return WM(n)}function WM(e){if(e.numberOfChildren===1&&e.children[N]){let t=e.children[N];return new j(e.segments.concat(t.segments),t.children)}return e}function Jr(e){return e instanceof Je}function MD(e,t,n=null,r=null,o=new Kt){let i=ND(e);return RD(i,t,n,r,o)}function ND(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new j(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=SD(r);return t??o}function RD(e,t,n,r,o){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return Bf(i,i,i,n,r,o);let s=qM(t);if(s.toRoot())return Bf(i,i,new j([],{}),n,r,o);let a=ZM(s,i,e),c=a.processChildren?Ei(a.segmentGroup,a.index,s.commands):xD(a.segmentGroup,a.index,s.commands);return Bf(i,a.segmentGroup,c,n,r,o)}function Dc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Ci(e){return typeof e=="object"&&e!=null&&e.outlets}function dD(e,t,n){e||="\u0275";let r=new Je;return r.queryParams={[e]:t},n.parse(n.serialize(r)).queryParams[e]}function Bf(e,t,n,r,o,i){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(d=>dD(u,d,i)):dD(u,l,i);let a;e===t?a=n:a=AD(e,t,n);let c=SD(_D(a));return new Je(c,s,o)}function AD(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=AD(i,t,n)}),new j(e.segments,r)}var Ec=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Dc(r[0]))throw new m(4003,!1);let o=r.find(Ci);if(o&&o!==NM(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function qM(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ec(!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 Ec(n,t,r)}var Yr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function ZM(e,t,n){if(e.isAbsolute)return new Yr(t,!0,0);if(!n)return new Yr(t,!1,NaN);if(n.parent===null)return new Yr(n,!0,0);let r=Dc(e.commands[0])?0:1,o=n.segments.length-1+r;return YM(n,o,e.numberOfDoubleDots)}function YM(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new m(4005,!1);o=r.segments.length}return new Yr(r,!1,o-i)}function QM(e){return Ci(e[0])?e[0].outlets:{[N]:e}}function xD(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return Ei(e,t,n);let r=KM(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new j(e.segments.slice(0,r.pathIndex),{});return i.children[N]=new j(e.segments.slice(r.pathIndex),e.children),Ei(i,0,o)}else return r.match&&o.length===0?new j(e.segments,{}):r.match&&!e.hasChildren()?Wf(e,t,n):r.match?Ei(e,0,o):Wf(e,t,n)}function Ei(e,t,n){if(n.length===0)return new j(e.segments,{});{let r=QM(n),o={};if(Object.keys(r).some(i=>i!==N)&&e.children[N]&&e.numberOfChildren===1&&e.children[N].segments.length===0){let i=Ei(e.children[N],t,n);return new j(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=xD(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new j(e.segments,o)}}function KM(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(Ci(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(!hD(c,u,s))return i;r+=2}else{if(!hD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Wf(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(Ci(i)){let c=JM(i.outlets);return new j(r,c)}if(o===0&&Dc(n[0])){let c=e.segments[t];r.push(new In(c.path,fD(n[0]))),o++;continue}let s=Ci(i)?i.outlets[N]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Dc(a)?(r.push(new In(s,fD(a))),o+=2):(r.push(new In(s,{})),o++)}return new j(r,{})}function JM(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Wf(new j([],{}),0,r))}),t}function fD(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function hD(e,t,n){return e==n.path&&At(t,n.parameters)}var Qr="imperative",he=(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})(he||{}),Ve=class{id;url;constructor(t,n){this.id=t,this.url=n}},Cn=class extends Ve{type=he.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}')`}},vt=class extends Ve{urlAfterRedirects;type=he.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ce=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(Ce||{}),Xr=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Xr||{}),Ke=class extends Ve{reason;code;type=he.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function OD(e){return e instanceof Ke&&(e.code===Ce.Redirect||e.code===Ce.SupersededByNewNavigation)}var Ot=class extends Ve{reason;code;type=he.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},ir=class extends Ve{error;target;type=he.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})`}},wi=class extends Ve{urlAfterRedirects;state;type=he.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})`}},Ic=class extends Ve{urlAfterRedirects;state;type=he.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})`}},Cc=class extends Ve{urlAfterRedirects;state;shouldActivate;type=he.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})`}},wc=class extends Ve{urlAfterRedirects;state;type=he.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})`}},bc=class extends Ve{urlAfterRedirects;state;type=he.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})`}},Tc=class{route;type=he.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Sc=class{route;type=he.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},_c=class{snapshot;type=he.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mc=class{snapshot;type=he.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Nc=class{snapshot;type=he.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rc=class{snapshot;type=he.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},eo=class{routerEvent;position;anchor;scrollBehavior;type=he.Scroll;constructor(t,n,r,o){this.routerEvent=t,this.position=n,this.anchor=r,this.scrollBehavior=o}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},to=class{},bi=class{},no=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function XM(e){return!(e instanceof to)&&!(e instanceof no)&&!(e instanceof bi)}var Ac=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new cr(this.rootInjector)}},cr=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Ac(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(w(K))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xc=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=qf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=qf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Zf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Zf(t,this._root).map(n=>n.value)}};function qf(e,t){if(e===t.value)return t;for(let n of t.children){let r=qf(e,n);if(r)return r}return null}function Zf(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Zf(e,n);if(r.length)return r.unshift(t),r}return[]}var Ue=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Zr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ti=class extends xc{snapshot;constructor(t,n){super(t),this.snapshot=n,rh(this,t)}toString(){return this.snapshot.toString()}};function kD(e,t){let n=eN(e,t),r=new ge([new In("",{})]),o=new ge({}),i=new ge({}),s=new ge({}),a=new ge(""),c=new Jt(r,o,s,a,i,N,e,n.root);return c.snapshot=n.root,new Ti(new Ue(c,[]),n)}function eN(e,t){let n={},r={},o={},s=new ro([],n,o,"",r,N,e,null,{},t);return new Si("",new Ue(s,[]))}var Jt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(B(u=>u[Ni]))??M(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(B(t=>or(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(B(t=>or(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function nh(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&&FD(o)&&(r.resolve[Ni]=o.title),r}var ro=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Ni]}constructor(t,n,r,o,i,s,a,c,u,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u,this._environmentInjector=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=or(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=or(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Si=class extends xc{url;constructor(t,n){super(n),this.url=t,rh(this,n)}toString(){return PD(this._root)}};function rh(e,t){t.value._routerState=e,t.children.forEach(n=>rh(e,n))}function PD(e){let t=e.children.length>0?` { ${e.children.map(PD).join(", ")} } `:"";return`${e.value}${t}`}function Uf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,At(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),At(t.params,n.params)||e.paramsSubject.next(n.params),MM(t.url,n.url)||e.urlSubject.next(n.url),At(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Yf(e,t){let n=At(e.params,t.params)&&OM(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Yf(e.parent,t.parent))}function FD(e){return typeof e.title=="string"||e.title===null}var LD=new D(""),oh=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=N;activateEvents=new Te;deactivateEvents=new Te;attachEvents=new Te;detachEvents=new Te;routerOutletData=hv();parentContexts=p(cr);location=p(mn);changeDetector=p(zr);inputBinder=p(Ri,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new m(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new m(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Qf(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Xn({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Br]})}return e})(),Qf=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Jt?this.route:t===cr?this.childContexts:t===LD?this.outletData:this.parent.get(t,n)}},Ri=new D(""),ih=(()=>{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=rs([r.queryParams,r.params,r.data]).pipe(we(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?M(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=vv(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})(),sh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Bd({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&za(0,"router-outlet")},dependencies:[oh],encapsulation:2})}return e})();function ah(e){let t=e.children&&e.children.map(ah),n=t?F(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==N&&(n.component=sh),n}function tN(e,t,n){let r=_i(e,t._root,n?n._root:void 0);return new Ti(r,t)}function _i(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=nN(e,t,n);return new Ue(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>_i(e,a)),s}}let r=rN(t.value),o=t.children.map(i=>_i(e,i));return new Ue(r,o)}}function nN(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return _i(e,r,o);return _i(e,r)})}function rN(e){return new Jt(new ge(e.url),new ge(e.params),new ge(e.queryParams),new ge(e.fragment),new ge(e.data),e.outlet,e.component,e)}var oo=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},jD="ngNavigationCancelingError";function Oc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Jr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=BD(!1,Ce.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function BD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[jD]=!0,n.cancellationCode=t,n}function oN(e){return UD(e)&&Jr(e.url)}function UD(e){return!!e&&e[jD]}var Kf=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),Uf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Zr(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Zr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Zr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=Zr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Rc(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Mc(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Uf(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),Uf(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)}},kc=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Kr=class{component;route;constructor(t,n){this.component=t,this.route=n}};function iN(e,t,n){let r=e._root,o=t?t._root:null;return Di(r,o,n,[r.value])}function sN(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function so(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Cu(e)?e:t.get(e):r}function Di(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Zr(t);return e.children.forEach(s=>{aN(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ii(a,n.getContext(s),o)),o}function aN(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=cN(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new kc(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Di(e,t,a?a.children:null,r,o):Di(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Kr(a.outlet.component,s))}else s&&Ii(t,a,o),o.canActivateChecks.push(new kc(r)),i.component?Di(e,null,a?a.children:null,r,o):Di(e,null,n,r,o);return o}function cN(e,t,n){if(typeof n=="function")return de(t._environmentInjector,()=>n(e,t));switch(n){case"pathParamsChange":return!rr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!rr(e.url,t.url)||!At(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yf(e,t)||!At(e.queryParams,t.queryParams);default:return!Yf(e,t)}}function Ii(e,t,n){let r=Zr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Ii(s,t.children.getContext(i),n):Ii(s,null,n):Ii(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Kr(t.outlet.component,o)):n.canDeactivateChecks.push(new Kr(null,o)):n.canDeactivateChecks.push(new Kr(null,o))}function Ai(e){return typeof e=="function"}function uN(e){return typeof e=="boolean"}function lN(e){return e&&Ai(e.canLoad)}function dN(e){return e&&Ai(e.canActivate)}function fN(e){return e&&Ai(e.canActivateChild)}function hN(e){return e&&Ai(e.canDeactivate)}function pN(e){return e&&Ai(e.canMatch)}function VD(e){return e instanceof tt||e?.name==="EmptyError"}var pc=Symbol("INITIAL_VALUE");function io(){return we(e=>rs(e.map(t=>t.pipe(Et(1),us(pc)))).pipe(B(t=>{for(let n of t)if(n!==!0){if(n===pc)return pc;if(n===!1||gN(n))return n}return!0}),ye(t=>t!==pc),Et(1)))}function gN(e){return Jr(e)||e instanceof oo}function HD(e){return e.aborted?M(void 0).pipe(Et(1)):new k(t=>{let n=()=>{t.next(),t.complete()};return e.addEventListener("abort",n),()=>e.removeEventListener("abort",n)})}function $D(e){return mo(HD(e))}function mN(e){return me(t=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=t;return i.length===0&&o.length===0?M(F(y({},t),{guardsResult:!0})):yN(i,n,r).pipe(me(s=>s&&uN(s)?vN(n,o,e):M(s)),B(s=>F(y({},t),{guardsResult:s})))})}function yN(e,t,n){return Y(e).pipe(me(r=>wN(r.component,r.route,n,t)),It(r=>r!==!0,!0))}function vN(e,t,n){return Y(t).pipe(tn(r=>mr(EN(r.route.parent,n),DN(r.route,n),CN(e,r.path),IN(e,r.route))),It(r=>r!==!0,!0))}function DN(e,t){return e!==null&&t&&t(new Nc(e)),M(!0)}function EN(e,t){return e!==null&&t&&t(new _c(e)),M(!0)}function IN(e,t){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return M(!0);let r=n.map(o=>po(()=>{let i=t._environmentInjector,s=so(o,i),a=dN(s)?s.canActivate(t,e):de(i,()=>s(t,e));return sr(a).pipe(It())}));return M(r).pipe(io())}function CN(e,t){let n=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(i=>sN(i)).filter(i=>i!==null).map(i=>po(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,u=so(a,c),l=fN(u)?u.canActivateChild(n,e):de(c,()=>u(n,e));return sr(l).pipe(It())});return M(s).pipe(io())}));return M(o).pipe(io())}function wN(e,t,n,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return M(!0);let i=o.map(s=>{let a=t._environmentInjector,c=so(s,a),u=hN(c)?c.canDeactivate(e,t,n,r):de(a,()=>c(e,t,n,r));return sr(u).pipe(It())});return M(i).pipe(io())}function bN(e,t,n,r,o){let i=t.canLoad;if(i===void 0||i.length===0)return M(!0);let s=i.map(a=>{let c=so(a,e),u=lN(c)?c.canLoad(t,n):de(e,()=>c(t,n)),l=sr(u);return o?l.pipe($D(o)):l});return M(s).pipe(io(),zD(r))}function zD(e){return Wc(Fe(t=>{if(typeof t!="boolean")throw Oc(e,t)}),B(t=>t===!0))}function TN(e,t,n,r,o,i){let s=t.canMatch;if(!s||s.length===0)return M(!0);let a=s.map(c=>{let u=so(c,e),l=pN(u)?u.canMatch(t,n,o):de(e,()=>u(t,n,o));return sr(l).pipe($D(i))});return M(a).pipe(io(),zD(r))}var Qt=class e extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,e.prototype)}},Mi=class e extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,e.prototype)}};function SN(e){throw new m(4e3,!1)}function _N(e){throw BD(!1,Ce.GuardRejected)}var Jf=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){return z(this,null,function*(){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[N])throw SN(`${t.redirectTo}`);o=o.children[N]}})}applyRedirectCommands(t,n,r,o,i){return z(this,null,function*(){let s=yield MN(n,o,i);if(s instanceof Je)throw new Mi(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new Mi(a);return a})}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Je(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new j(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new m(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function MN(e,t,n){if(typeof e=="string")return Promise.resolve(e);let r=e;return vc(sr(de(n,()=>r(t))))}function NN(e,t){return e.providers&&!e._injector&&(e._injector=Hr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function xt(e){return e.outlet||N}function RN(e,t){let n=e.filter(r=>xt(r)===t);return n.push(...e.filter(r=>xt(r)!==t)),n}var Xf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function GD(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function AN(e,t,n,r,o,i,s){let a=WD(e,t,n);if(!a.matched)return M(a);let c=GD(i(a));return r=NN(t,r),TN(r,t,n,o,c,s).pipe(B(u=>u===!0?a:y({},Xf)))}function WD(e,t,n){if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},Xf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||mD)(n,e,t);if(!o)return y({},Xf);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 pD(e,t,n,r){return n.length>0&&kN(e,n,r)?{segmentGroup:new j(t,ON(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&PN(e,n,r)?{segmentGroup:new j(e.segments,xN(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function xN(e,t,n,r){let o={};for(let i of n)if(Fc(e,t,i)&&!r[xt(i)]){let s=new j([],{});o[xt(i)]=s}return y(y({},r),o)}function ON(e,t){let n={};n[N]=t;for(let r of e)if(r.path===""&&xt(r)!==N){let o=new j([],{});n[xt(r)]=o}return n}function kN(e,t,n){return n.some(r=>Fc(e,t,r)&&xt(r)!==N)}function PN(e,t,n){return n.some(r=>Fc(e,t,r))}function Fc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function FN(e,t,n){return t.length===0&&!e.children[n]}var eh=class{};function LN(e,t,n,r,o,i,s="emptyOnly",a){return z(this,null,function*(){return new th(e,t,n,r,o,s,i,a).recognize()})}var jN=31,th=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a,c){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new Jf(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){return z(this,null,function*(){let t=pD(this.urlTree.root,[],[],this.config).segmentGroup,{children:n,rootSnapshot:r}=yield this.match(t),o=new Ue(r,n),i=new Si("",o),s=MD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}})}match(t){return z(this,null,function*(){let n=new ro([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),N,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,t,N,n),rootSnapshot:n}}catch(r){if(r instanceof Mi)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Qt?this.noMatchError(r):r}})}processSegmentGroup(t,n,r,o,i){return z(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(t,n,r,i);let s=yield this.processSegment(t,n,r,r.segments,o,!0,i);return s instanceof Ue?[s]:[]})}processChildren(t,n,r,o){return z(this,null,function*(){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let u=r.children[c],l=RN(n,c),d=yield this.processSegmentGroup(t,l,u,c,o);s.push(...d)}let a=qD(s);return BN(a),a})}processSegment(t,n,r,o,i,s,a){return z(this,null,function*(){for(let c of n)try{return yield this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a)}catch(u){if(u instanceof Qt||VD(u))continue;throw u}if(FN(r,o,i))return new eh;throw new Qt(r)})}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return z(this,null,function*(){if(xt(r)!==s&&(s===N||!Fc(o,i,r)))throw new Qt(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(t,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c);throw new Qt(o)})}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){return z(this,null,function*(){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=WD(n,o,i);if(!c)throw new Qt(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>jN&&(this.allowRedirects=!1));let f=this.createSnapshot(t,o,i,u,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=yield this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,GD(f),t),C=yield this.applyRedirects.lineralizeSegments(o,g);return this.processSegment(t,r,n,C.concat(h),s,!1,a)})}createSnapshot(t,n,r,o,i){let s=new ro(r,o,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,VN(n),xt(n),n.component??n._loadedComponent??null,n,HN(n),t),a=nh(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}matchSegmentAgainstRoute(t,n,r,o,i,s){return z(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=pe=>this.createSnapshot(t,r,pe.consumedSegments,pe.parameters,s),c=yield vc(AN(n,r,o,t,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(n.children={}),!c?.matched)throw new Qt(n);t=r._injector??t;let{routes:u}=yield this.getChildConfig(t,r,o),l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=this.createSnapshot(t,r,h,d,s),{segmentGroup:C,slicedSegments:v}=pD(n,h,f,u);if(v.length===0&&C.hasChildren()){let pe=yield this.processChildren(l,u,C,g);return new Ue(g,pe)}if(u.length===0&&v.length===0)return new Ue(g,[]);let I=xt(r)===i,P=yield this.processSegment(l,u,C,v,I?N:i,!0,g);return new Ue(g,P instanceof Ue?[P]:[])})}getChildConfig(t,n,r){return z(this,null,function*(){if(n.children)return{routes:n.children,injector:t};if(n.loadChildren){if(n._loadedRoutes!==void 0){let i=n._loadedNgModuleFactory;return i&&!n._loadedInjector&&(n._loadedInjector=i.create(t).injector),{routes:n._loadedRoutes,injector:n._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield vc(bN(t,n,r,this.urlSerializer,this.abortSignal))){let i=yield this.configLoader.loadChildren(t,n);return n._loadedRoutes=i.routes,n._loadedInjector=i.injector,n._loadedNgModuleFactory=i.factory,i}throw _N(n)}return{routes:[],injector:t}})}};function BN(e){e.sort((t,n)=>t.value.outlet===N?-1:n.value.outlet===N?1:t.value.outlet.localeCompare(n.value.outlet))}function UN(e){let t=e.value.routeConfig;return t&&t.path===""}function qD(e){let t=[],n=new Set;for(let r of e){if(!UN(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=qD(r.children);t.push(new Ue(r.value,o))}return t.filter(r=>!n.has(r))}function VN(e){return e.data||{}}function HN(e){return e.resolve||{}}function $N(e,t,n,r,o,i,s){return me(a=>z(null,null,function*(){let{state:c,tree:u}=yield LN(e,t,n,r,a.extractedUrl,o,i,s);return F(y({},a),{targetSnapshot:c,urlAfterRedirects:u})}))}function zN(e){return me(t=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=t;if(!r.length)return M(t);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of ZD(a))i.add(c);let s=0;return Y(i).pipe(tn(a=>o.has(a)?GN(a,n,e):(a.data=nh(a,a.parent,e).resolve,M(void 0))),Fe(()=>s++),cs(1),me(a=>s===i.size?M(t):se))})}function ZD(e){let t=e.children.map(n=>ZD(n)).flat();return[e,...t]}function GN(e,t,n){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!FD(r)&&(o[Ni]=r.title),po(()=>(e.data=nh(e,e.parent,n).resolve,WN(o,e,t).pipe(B(i=>(e._resolvedData=i,e.data=y(y({},e.data),i),null)))))}function WN(e,t,n){let r=Hf(e);if(r.length===0)return M({});let o={};return Y(r).pipe(me(i=>qN(e[i],t,n).pipe(It(),Fe(s=>{if(s instanceof oo)throw Oc(new Kt,s);o[i]=s}))),cs(1),B(()=>o),Nn(i=>VD(i)?se:Qc(i)))}function qN(e,t,n){let r=t._environmentInjector,o=so(e,r),i=o.resolve?o.resolve(t,n):de(r,()=>o(t,n));return sr(i)}function gD(e){return we(t=>{let n=e(t);return n?Y(n).pipe(B(()=>t)):M(t)})}var ch=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===N);return r}getResolvedTitleForRoute(n){return n.data[Ni]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(YD),providedIn:"root"})}return e})(),YD=(()=>{class e extends ch{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(w(cD))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ur=new D("",{factory:()=>({})}),lr=new D(""),Lc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(rf);loadComponent(n,r){return z(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=z(this,null,function*(){try{let i=yield vD(de(n,()=>r.loadComponent())),s=yield JD(KD(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,o),o})}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=z(this,null,function*(){try{let i=yield QD(r,this.compiler,n,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QD(e,t,n,r){return z(this,null,function*(){let o=yield vD(de(n,()=>e.loadChildren())),i=yield JD(KD(o)),s;i instanceof Ua||Array.isArray(i)?s=i:s=yield t.compileModuleAsync(i),r&&r(e);let a,c,u=!1,l;return Array.isArray(s)?(c=s,u=!0):(a=s.create(n).injector,l=s,c=a.get(lr,[],{optional:!0,self:!0}).flat()),{routes:c.map(ah),injector:a,factory:l}})}function ZN(e){return e&&typeof e=="object"&&"default"in e}function KD(e){return ZN(e)?e.default:e}function JD(e){return z(this,null,function*(){return e})}var jc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(YN),providedIn:"root"})}return e})(),YN=(()=>{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})(),uh=new D(""),lh=new D("");function XD(e,t,n){let r=e.get(lh),o=e.get(Q);if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),QN(e)));a.updateCallbackDone.catch(u=>{}),a.ready.catch(u=>{}),a.finished.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&de(e,()=>c({transition:a,from:t,to:n})),s}function QN(e){return new Promise(t=>{Oa({read:()=>setTimeout(t)},{injector:e})})}var KN=()=>{},dh=new D(""),Bc=(()=>{class e{currentNavigation=hn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=hn(null);events=new oe;transitionAbortWithErrorSubject=new oe;configLoader=p(Lc);environmentInjector=p(K);destroyRef=p(_e);urlSerializer=p(ar);rootContexts=p(cr);location=p(Dn);inputBindingEnabled=p(Ri,{optional:!0})!==null;titleStrategy=p(ch);options=p(ur,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(jc);createViewTransition=p(uh,{optional:!0});navigationErrorHandler=p(dh,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>M(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Tc(o)),r=o=>this.events.next(new Sc(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;Ye(()=>{this.transitions?.next(F(y({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(n){return this.transitions=new ge(null),this.transitions.pipe(ye(r=>r!==null),we(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return M(r).pipe(we(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Ce.SupersededByNewNavigation),se;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?F(y({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload")return this.events.next(new Ot(a.id,this.urlSerializer.serialize(a.rawUrl),"",Xr.IgnoredSameUrlNavigation)),a.resolve(!1),se;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return M(a).pipe(we(d=>(this.events.next(new Cn(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?se:Promise.resolve(d))),$N(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),Fe(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=d.urlAfterRedirects,h)),this.events.next(new bi)}),we(d=>Y(r.routesRecognizeHandler.deferredHandle??M(void 0)).pipe(B(()=>d))),Fe(()=>{let d=new wi(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:g,extras:C}=a,v=new Cn(d,this.urlSerializer.serialize(h),f,g);this.events.next(v);let I=kD(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=F(y({},a),{targetSnapshot:I,urlAfterRedirects:h,extras:F(y({},C),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(P=>(P.finalUrl=h,P)),M(r)}else return this.events.next(new Ot(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Xr.IgnoredByUrlHandlingStrategy)),a.resolve(!1),se}),B(a=>{let c=new Ic(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=F(y({},a),{guards:iN(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),mN(a=>this.events.next(a)),we(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Oc(this.urlSerializer,a.guardsResult);let c=new Cc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return se;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",Ce.GuardRejected),se;if(a.guards.canActivateChecks.length===0)return M(a);let u=new wc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return se;let l=!1;return M(a).pipe(zN(this.paramsInheritanceStrategy),Fe({next:()=>{l=!0;let d=new bc(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{l||this.cancelNavigationTransition(a,"",Ce.NoDataFromResolver)}}))}),gD(a=>{let c=l=>{let d=[];if(l.routeConfig?._loadedComponent)l.component=l.routeConfig?._loadedComponent;else if(l.routeConfig?.loadComponent){let h=l._environmentInjector;d.push(this.configLoader.loadComponent(h,l.routeConfig).then(f=>{l.component=f}))}for(let h of l.children)d.push(...c(h));return d},u=c(a.targetSnapshot.root);return u.length===0?M(a):Y(Promise.all(u).then(()=>a))}),gD(()=>this.afterPreactivation()),we(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?Y(u).pipe(B(()=>r)):M(r)}),Et(1),we(a=>{let c=tN(n.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=F(y({},a),{targetRouterState:c}),this.currentNavigation.update(l=>(l.targetRouterState=c,l)),this.events.next(new to);let u=r.beforeActivateHandler.deferredHandle;return u?Y(u.then(()=>a)):M(a)}),Fe(a=>{new Kf(n.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=KN,c)),this.lastSuccessfulNavigation.set(Ye(this.currentNavigation)),this.events.next(new vt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),mo(HD(i.signal).pipe(ye(()=>!o&&!r.targetRouterState),Fe(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",Ce.Aborted)}))),Fe({complete:()=>{o=!0}}),mo(this.transitionAbortWithErrorSubject.pipe(Fe(a=>{throw a}))),go(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",Ce.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Nn(a=>{if(o=!0,this.destroyed)return r.resolve(!1),se;if(UD(a))this.events.next(new Ke(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),oN(a)?this.events.next(new no(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new ir(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=de(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof oo){let{message:l,cancellationCode:d}=Oc(this.urlSerializer,u);this.events.next(new Ke(r.id,this.urlSerializer.serialize(r.extractedUrl),l,d)),this.events.next(new no(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return se}))}))}cancelNavigationTransition(n,r,o){let i=new Ke(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=Ye(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function JN(e){return e!==Qr}var eE=new D("");var tE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(XN),providedIn:"root"})}return e})(),Pc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}shouldDestroyInjector(t){return!0}},XN=(()=>{class e extends Pc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Zo(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fh=(()=>{class e{urlSerializer=p(ar);options=p(ur,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(Dn);urlHandlingStrategy=p(jc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Je;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 Je?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=kD(null,p(K));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(eR),providedIn:"root"})}return e})(),eR=(()=>{class e extends fh{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(n,r){n instanceof Cn?this.updateStateMemento():n instanceof Ot?this.commitTransition(r):n instanceof wi?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof to?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Ke&&!OD(n)?this.restoreHistory(r):n instanceof ir?this.restoreHistory(r,!0):n instanceof vt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=y(y({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=y(y({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Zo(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Uc(e,t){e.events.pipe(ye(n=>n instanceof vt||n instanceof Ke||n instanceof ir||n instanceof Ot),B(n=>n instanceof vt||n instanceof Ot?0:(n instanceof Ke?n.code===Ce.Redirect||n.code===Ce.SupersededByNewNavigation:!1)?2:1),ye(n=>n!==2),Et(1)).subscribe(()=>{t()})}var wn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Va);stateManager=p(fh);options=p(ur,{optional:!0})||{};pendingTasks=p(_t);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Bc);urlSerializer=p(ar);location=p(Dn);urlHandlingStrategy=p(jc);injector=p(K);_events=new oe;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(tE);injectorCleanup=p(eE,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(lr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Ri,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new re;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=Ye(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Ke&&r.code!==Ce.Redirect&&r.code!==Ce.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof vt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof no){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||JN(o.source)},s);this.scheduleNavigation(a,Qr,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}XM(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Qr,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o,i)=>{this.navigateToSyncWithBrowser(n,o,r,i)})}navigateToSyncWithBrowser(n,r,o,i){let s=o?.navigationId?o:null;if(o){let c=y({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Ae)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Ye(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ah),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=y(y({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=ND(h)}catch(h){(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return RD(d,n,l,u??null,this.urlSerializer)}navigateByUrl(n,r={skipLocationChange:!1}){let o=Jr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Qr,null,r)}navigate(n,r={skipLocationChange:!1}){return tR(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch(r){return this.console.warn($e(4018,!1)),this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},ED):r===!1?o=y({},$f):o=y(y({},$f),r),Jr(n))return uD(this.currentUrlTree,n,o);let i=this.parseUrl(n);return uD(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 Uc(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tR(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var xi=class{};var nE=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i){this.router=n,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(ye(n=>n instanceof vt),tn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=Hr(i.providers,n,""));let s=i._injector??n;i._loadedNgModuleFactory&&!i._loadedInjector&&(i._loadedInjector=i._loadedNgModuleFactory.create(s).injector);let a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Y(o).pipe(en())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{if(n.destroyed)return M(null);let o;r.loadChildren&&r.canLoad===void 0?o=Y(this.loader.loadChildren(n,r)):o=M(null);let i=o.pipe(me(s=>s===null?M(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(n,r);return Y([i,s]).pipe(en())}else return i})}static \u0275fac=function(r){return new(r||e)(w(wn),w(K),w(xi),w(Lc))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rE=new D(""),rR=(()=>{class e{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Qr;restoredId=0;store={};urlSerializer=p(ar);zone=p(J);viewportScroller=p(Tf);transitions=p(Bc);constructor(n){this.options=n,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Cn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof vt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Ot&&n.code===Xr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{if(!(n instanceof eo)||n.scrollBehavior==="manual")return;let r={behavior:"instant"};n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position,r):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(n,r){let o=Ye(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>z(this,null,function*(){yield new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new eo(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Ad()};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function oR(e,...t){return ot([{provide:lr,multi:!0,useValue:e},[],{provide:Jt,useFactory:oE},{provide:oi,multi:!0,useFactory:iE},t.map(n=>n.\u0275providers)])}function oE(){return p(wn).routerState.root}function Oi(e,t){return{\u0275kind:e,\u0275providers:t}}function iE(){let e=p(le);return t=>{let n=e.get(vn);if(t!==n.components[0])return;let r=e.get(wn),o=e.get(sE);e.get(ph)===1&&r.initialNavigation(),e.get(uE,null,{optional:!0})?.setUpPreloading(),e.get(rE,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var sE=new D("",{factory:()=>new oe}),ph=new D("",{factory:()=>1});function aE(){let e=[{provide:Sa,useValue:!0},{provide:ph,useValue:0},$a(()=>{let t=p(le);return t.get(df,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(wn),i=t.get(sE);Uc(o,()=>{r(!0)}),t.get(Bc).afterPreactivation=()=>(r(!0),i.closed?M(void 0):i),o.initialNavigation()}))})];return Oi(2,e)}function cE(){let e=[$a(()=>{p(wn).setUpLocationChangeListener()}),{provide:ph,useValue:2}];return Oi(3,e)}var uE=new D("");function lE(e){return Oi(0,[{provide:uE,useExisting:nE},{provide:xi,useExisting:e}])}function dE(){return Oi(8,[ih,{provide:Ri,useExisting:ih}])}function fE(e){gt("NgRouterViewTransitions");let t=[{provide:uh,useValue:XD},{provide:lh,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return Oi(9,t)}var hE=[Dn,{provide:ar,useClass:Kt},wn,cr,{provide:Jt,useFactory:oE},Lc,[]],iR=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[hE,[],{provide:lr,multi:!0,useValue:n},[],r?.errorHandler?{provide:dh,useValue:r.errorHandler}:[],{provide:ur,useValue:r||{}},r?.useHash?aR():cR(),sR(),r?.preloadingStrategy?lE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?uR(r):[],r?.bindToComponentInputs?dE().\u0275providers:[],r?.enableViewTransitions?fE().\u0275providers:[],lR()]}}static forChild(n){return{ngModule:e,providers:[{provide:lr,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=yn({type:e});static \u0275inj=Pt({})}return e})();function sR(){return{provide:rE,useFactory:()=>{let e=p(Tf),t=p(ur);return t.scrollOffset&&e.setOffset(t.scrollOffset),new rR(t)}}}function aR(){return{provide:qt,useClass:Ef}}function cR(){return{provide:qt,useClass:Ya}}function uR(e){return[e.initialNavigation==="disabled"?cE().\u0275providers:[],e.initialNavigation==="enabledBlocking"?aE().\u0275providers:[]]}var hh=new D("");function lR(){return[{provide:hh,useFactory:iE},{provide:oi,multi:!0,useExisting:hh}]}export{y as a,F as b,yE as c,z as d,re as e,k as f,oe as g,ge as h,lo as i,se as j,Y as k,M as l,Qc as m,BE as n,UE as o,B as p,rs as q,mr as r,po as s,VE as t,HE as u,ye as v,$E as w,Nn as x,zh as y,Et as z,zE as A,Wh as B,go as C,It as D,qE as E,Jc as F,Zh as G,ZE as H,us as I,we as J,mo as K,YE as L,Fe as M,m as N,_s as O,E as P,Pt as Q,D as R,w as S,p as T,ot as U,vp as V,K as W,xp as X,Op as Y,Wp as Z,qp as _,le as $,Q as aa,_e as ba,Te as ca,J as da,He as ea,kI as fa,hn as ga,eg as ha,Br as ia,Zo as ja,Vt as ka,ca as la,wa as ma,Yo as na,mC as oa,Ta as pa,ht as qa,qC as ra,ZC as sa,YC as ta,dw as ua,gt as va,Oa as wa,Fr as xa,Qn as ya,ni as za,Ne as Aa,Ad as Ba,mn as Ca,Kn as Da,Bd as Ea,yn as Fa,Xn as Ga,ri as Ha,eT as Ia,Ey as Ja,Cy as Ka,wy as La,Ud as Ma,er as Na,$d as Oa,vn as Pa,Gd as Qa,hT as Ra,gT as Sa,mT as Ta,yT as Ua,vT as Va,DT as Wa,ET as Xa,Sy as Ya,Da as Za,qd as _a,za as $a,Zd as ab,Yd as bb,_y as cb,Qd as db,Kd as eb,Ny as fb,ST as gb,Ry as hb,Jd as ib,xy as jb,AT as kb,OT as lb,kT as mb,Xd as nb,ky as ob,Py as pb,Fy as qb,Ly as rb,jy as sb,FT as tb,LT as ub,Vy as vb,Hy as wb,ZT as xb,iS as yb,Yy as zb,ef as Ab,Qy as Bb,Jy as Cb,cS as Db,Xy as Eb,uS as Fb,hS as Gb,pS as Hb,gS as Ib,mS as Jb,vS as Kb,ES as Lb,IS as Mb,CS as Nb,wS as Ob,Ye as Pb,of as Qb,af as Rb,kH as Sb,hv as Tb,PH as Ub,FH as Vb,LH as Wb,zr as Xb,mv as Yb,r_ as Zb,BH as _b,UH as $b,Gt as ac,Dn as bc,M_ as cc,N_ as dc,x_ as ec,k_ as fc,P_ as gc,Vv as hc,c2 as ic,xf as jc,J_ as kc,En as lc,uc as mc,Yt as nc,sD as oc,bM as pc,TM as qc,Jt as rc,oh as sc,wn as tc,oR as uc,iR as vc};