@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
@@ -0,0 +1,5 @@
1
+ var Rm=Object.defineProperty,Om=Object.defineProperties;var km=Object.getOwnPropertyDescriptors;var fo=Object.getOwnPropertySymbols;var Nl=Object.prototype.hasOwnProperty,Al=Object.prototype.propertyIsEnumerable;var Sl=(e,t,n)=>t in e?Rm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||={})Nl.call(t,n)&&Sl(e,n,t[n]);if(fo)for(var n of fo(t))Al.call(t,n)&&Sl(e,n,t[n]);return e},G=(e,t)=>Om(e,km(t));var Fm=(e,t)=>{var n={};for(var r in e)Nl.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&fo)for(var r of fo(e))t.indexOf(r)<0&&Al.call(e,r)&&(n[r]=e[r]);return n};var Dn=(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 M(e){return typeof e=="function"}function En(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 po=En(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 Bt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var K=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(M(r))try{r()}catch(i){t=i instanceof po?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{xl(i)}catch(s){t=t??[],s instanceof po?t=[...t,...s.errors]:t.push(s)}}if(t)throw new po(t)}}add(t){var n;if(t&&t!==this)if(this.closed)xl(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)&&Bt(n,t)}remove(t){let{_finalizers:n}=this;n&&Bt(n,t),t instanceof e&&t._removeParent(this)}};K.EMPTY=(()=>{let e=new K;return e.closed=!0,e})();var Hs=K.EMPTY;function ho(e){return e instanceof K||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function xl(e){M(e)?e():e.unsubscribe()}var xe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var In={setTimeout(e,t,...n){let{delegate:r}=In;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=In;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function go(e){In.setTimeout(()=>{let{onUnhandledError:t}=xe;if(t)t(e);else throw e})}function ir(){}var Rl=Us("C",void 0,void 0);function Ol(e){return Us("E",void 0,e)}function kl(e){return Us("N",e,void 0)}function Us(e,t,n){return{kind:e,value:t,error:n}}var Vt=null;function wn(e){if(xe.useDeprecatedSynchronousErrorHandling){let t=!Vt;if(t&&(Vt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Vt;if(Vt=null,n)throw r}}else e()}function Fl(e){xe.useDeprecatedSynchronousErrorHandling&&Vt&&(Vt.errorThrown=!0,Vt.error=e)}var Ht=class extends K{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ho(t)&&t.add(this)):this.destination=jm}static create(t,n,r){return new Re(t,n,r)}next(t){this.isStopped?zs(kl(t),this):this._next(t)}error(t){this.isStopped?zs(Ol(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?zs(Rl,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()}}},Pm=Function.prototype.bind;function $s(e,t){return Pm.call(e,t)}var Gs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){mo(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mo(r)}else mo(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mo(n)}}},Re=class extends Ht{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&xe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&$s(t.next,i),error:t.error&&$s(t.error,i),complete:t.complete&&$s(t.complete,i)}):o=t}this.destination=new Gs(o)}};function mo(e){xe.useDeprecatedSynchronousErrorHandling?Fl(e):go(e)}function Lm(e){throw e}function zs(e,t){let{onStoppedNotification:n}=xe;n&&In.setTimeout(()=>n(e,t))}var jm={closed:!0,next:ir,error:Lm,complete:ir};var Cn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function De(e){return e}function Bm(...e){return Ws(e)}function Ws(e){return e.length===0?De:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{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=Hm(n)?n:new Re(n,r,o);return wn(()=>{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=Pl(r),new r((o,i)=>{let s=new Re({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)}[Cn](){return this}pipe(...n){return Ws(n)(this)}toPromise(n){return n=Pl(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 Pl(e){var t;return(t=e??xe.Promise)!==null&&t!==void 0?t:Promise}function Vm(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function Hm(e){return e&&e instanceof Ht||Vm(e)&&ho(e)}var Ll=En(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new yo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ll}next(n){wn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){wn(()=>{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(){wn(()=>{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?Hs:(this.currentObservers=null,i.push(n),new K(()=>{this.currentObservers=null,Bt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new yo(t,n),e})(),yo=class extends ae{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:Hs}};var sr=class extends ae{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 vo(e){return e&&M(e.schedule)}function qs(e){return e[e.length-1]}function Do(e){return M(qs(e))?e.pop():void 0}function Ze(e){return vo(qs(e))?e.pop():void 0}function jl(e,t){return typeof qs(e)=="number"?e.pop():t}function Vl(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 Bl(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 Ut(e){return this instanceof Ut?(this.v=e,this):new Ut(e)}function Hl(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(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(w){return new Promise(function(y,v){i.push([f,w,y,v])>1||c(f,w)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(w){p(i[0][3],w)}}function u(f){f.value instanceof Ut?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ul(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 Bl=="function"?Bl(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 Eo=e=>e&&typeof e.length=="number"&&typeof e!="function";function Io(e){return M(e?.then)}function wo(e){return M(e[Cn])}function Co(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function bo(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 Um(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var To=Um();function _o(e){return M(e?.[To])}function Mo(e){return Hl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ut(n.read());if(o)return yield Ut(void 0);yield yield Ut(r)}}finally{n.releaseLock()}})}function So(e){return M(e?.getReader)}function j(e){if(e instanceof x)return e;if(e!=null){if(wo(e))return $m(e);if(Eo(e))return zm(e);if(Io(e))return Gm(e);if(Co(e))return $l(e);if(_o(e))return Wm(e);if(So(e))return qm(e)}throw bo(e)}function $m(e){return new x(t=>{let n=e[Cn]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function zm(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Gm(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,go)})}function Wm(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function $l(e){return new x(t=>{Zm(e,t).catch(n=>t.error(n))})}function qm(e){return $l(Mo(e))}function Zm(e,t){var n,r,o,i;return Vl(this,void 0,void 0,function*(){try{for(n=Ul(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 pe(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 Ym(e){return M(e?.lift)}function S(e){return t=>{if(Ym(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 A(e,t,n,r,o){return new Zs(e,t,n,r,o)}var Zs=class extends Ht{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 No(e,t=0){return S((n,r)=>{n.subscribe(A(r,o=>pe(r,e,()=>r.next(o),t),()=>pe(r,e,()=>r.complete(),t),o=>pe(r,e,()=>r.error(o),t)))})}function Ao(e,t=0){return S((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function zl(e,t){return j(e).pipe(Ao(t),No(t))}function Gl(e,t){return j(e).pipe(Ao(t),No(t))}function Wl(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ql(e,t){return new x(n=>{let r;return pe(n,t,()=>{r=e[To](),pe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>M(r?.return)&&r.return()})}function xo(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{pe(n,t,()=>{let r=e[Symbol.asyncIterator]();pe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Zl(e,t){return xo(Mo(e),t)}function Yl(e,t){if(e!=null){if(wo(e))return zl(e,t);if(Eo(e))return Wl(e,t);if(Io(e))return Gl(e,t);if(Co(e))return xo(e,t);if(_o(e))return ql(e,t);if(So(e))return Zl(e,t)}throw bo(e)}function Ye(e,t){return t?Yl(e,t):j(e)}function Ro(...e){let t=Ze(e);return Ye(e,t)}function ce(e,t){return S((n,r)=>{let o=0;n.subscribe(A(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Qm}=Array,{getPrototypeOf:Km,prototype:Jm,keys:Xm}=Object;function Oo(e){if(e.length===1){let t=e[0];if(Qm(t))return{args:t,keys:null};if(ey(t)){let n=Xm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function ey(e){return e&&typeof e=="object"&&Km(e)===Jm}var{isArray:ty}=Array;function ny(e,t){return ty(t)?e(...t):e(t)}function ko(e){return ce(t=>ny(e,t))}function Fo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ry(...e){let t=Ze(e),n=Do(e),{args:r,keys:o}=Oo(e);if(r.length===0)return Ye([],t);let i=new x(oy(r,t,o?s=>Fo(o,s):De));return n?i.pipe(ko(n)):i}function oy(e,t,n=De){return r=>{Ql(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ql(t,()=>{let u=Ye(e[c],t),l=!1;u.subscribe(A(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ql(e,t,n){e?pe(n,e,t):t()}function Ys(e){return S((t,n)=>{let r=null,o=!1,i;r=t.subscribe(A(n,void 0,void 0,s=>{i=j(e(s,Ys(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Po(e,t){return S((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(A(r,c=>{o?.unsubscribe();let u=0,l=i++;j(e(c,l)).subscribe(o=A(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var ar={now(){return(ar.delegate||Date).now()},delegate:void 0};var cr=class extends ae{constructor(t=1/0,n=1/0,r=ar){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 Lo=class extends K{constructor(t,n){super()}schedule(t,n=0){return this}};var ur={setInterval(e,t,...n){let{delegate:r}=ur;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=ur;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var jo=class extends Lo{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 ur.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&&ur.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,Bt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var bn=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)}};bn.now=ar.now;var Bo=class extends bn{constructor(t,n=bn.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 lr=new Bo(jo),Kl=lr;var $t=new x(e=>e.complete());function iy(e,t){let n=M(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function sy(e){return!!e&&(e instanceof x||M(e.lift)&&M(e.subscribe))}var ot=En(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ay(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 ot)}})})}function cy(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Re({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new ot)}});e.subscribe(i)})}function Jl(e){return e instanceof Date&&!isNaN(e)}function Xl(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=w=>u<r?h(w):c.push(w),h=w=>{i&&t.next(w),u++;let y=!1;j(n(w,l++)).subscribe(A(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let v=c.shift();s?pe(t,s,()=>h(v)):h(v)}p()}catch(v){t.error(v)}}))};return e.subscribe(A(t,f,()=>{d=!0,p()})),()=>{a?.()}}function zt(e,t,n=1/0){return M(t)?zt((r,o)=>ce((i,s)=>t(r,i,o,s))(j(e(r,o))),n):(typeof t=="number"&&(n=t),S((r,o)=>Xl(r,o,e,n)))}function dr(e=1/0){return zt(De,e)}function ed(){return dr(1)}function Vo(...e){return ed()(Ye(e,Ze(e)))}function uy(e){return new x(t=>{j(e()).subscribe(t)})}function ly(...e){let t=Do(e),{args:n,keys:r}=Oo(e),o=new x(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;j(n[l]).subscribe(A(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Fo(r,a):a),i.complete())}))}});return t?o.pipe(ko(t)):o}function td(e=0,t,n=Kl){let r=-1;return t!=null&&(vo(t)?n=t:r=t),new x(o=>{let i=Jl(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 dy(...e){let t=Ze(e),n=jl(e,1/0),r=e;return r.length?r.length===1?j(r[0]):dr(n)(Ye(r,t)):$t}function It(e,t){return S((n,r)=>{let o=0;n.subscribe(A(r,i=>e.call(t,i,o++)&&r.next(i)))})}function nd(e){return S((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(A(n,u=>{r=!0,o=u,i||j(e(u)).subscribe(i=A(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function fy(e,t=lr){return nd(()=>td(e,t))}function Qs(e,t){return M(t)?zt(e,t,1):zt(e,1)}function rd(e,t=lr){return S((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(A(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 od(e){return S((t,n)=>{let r=!1;t.subscribe(A(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ho(e){return e<=0?()=>$t:S((t,n)=>{let r=0;t.subscribe(A(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function py(e){return ce(()=>e)}function id(e,t=De){return e=e??hy,S((n,r)=>{let o,i=!0;n.subscribe(A(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function hy(e,t){return e===t}function sd(e=gy){return S((t,n)=>{let r=!1;t.subscribe(A(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function gy(){return new ot}function Ks(e){return S((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ad(e,t){let n=arguments.length>=2;return r=>r.pipe(e?It((o,i)=>e(o,i,r)):De,Ho(1),n?od(t):sd(()=>new ot))}function my(e){return e<=0?()=>$t:S((t,n)=>{let r=[];t.subscribe(A(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 yy(){return S((e,t)=>{let n,r=!1;e.subscribe(A(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Xs(e={}){let{connector:t=()=>new ae,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let w=s;f(),w?.unsubscribe()};return S((w,y)=>{u++,!d&&!l&&p();let v=c=c??t();y.add(()=>{u--,u===0&&!d&&!l&&(a=Js(h,o))}),v.subscribe(y),!s&&u>0&&(s=new Re({next:F=>v.next(F),error:F=>{d=!0,p(),a=Js(f,n,F),v.error(F)},complete:()=>{l=!0,p(),a=Js(f,r),v.complete()}}),j(w).subscribe(s))})(i)}}function Js(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Re({next:()=>{r.unsubscribe(),e()}});return j(t(...n)).subscribe(r)}function cd(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,Xs({connector:()=>new cr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function vy(e){return It((t,n)=>e<=n)}function ud(...e){let t=Ze(e);return S((n,r)=>{(t?Vo(e,n,t):Vo(e,n)).subscribe(r)})}function Dy(e){return S((t,n)=>{j(e).subscribe(A(n,()=>n.complete(),ir)),!n.closed&&t.subscribe(n)})}function Ey(e,t=!1){return S((n,r)=>{let o=0;n.subscribe(A(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function ld(e,t,n){let r=M(e)||t||n?{next:e,error:t,complete:n}:e;return r?S((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(A(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)}))}):De}var ne=null,Uo=!1,ea=1,Iy=null,J=Symbol("SIGNAL");function E(e){let t=ne;return ne=e,t}function Wo(){return ne}var Gt={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 Wt(e){if(Uo)throw new Error("");if(ne===null)return;ne.consumerOnSignalRead(e);let t=ne.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ne.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ne.producers,n!==void 0&&n.producer===e)){ne.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ne&&(!r||Cy(o,ne)))return;let i=_n(ne),s={producer:e,consumer:ne,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ne.producersTail=s,t!==void 0?t.nextProducer=s:ne.producers=s,i&&hd(e,s)}function dd(){ea++}function qo(e){if(!(_n(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ea)){if(!e.producerMustRecompute(e)&&!Tn(e)){Go(e);return}e.producerRecomputeValue(e),Go(e)}}function ta(e){if(e.consumers===void 0)return;let t=Uo;Uo=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||wy(r)}}finally{Uo=t}}function na(){return ne?.consumerAllowSignalWrites!==!1}function wy(e){e.dirty=!0,ta(e),e.consumerMarkedDirty?.(e)}function Go(e){e.dirty=!1,e.lastCleanEpoch=ea}function wt(e){return e&&fd(e),E(e)}function fd(e){e.producersTail=void 0,e.recomputing=!0}function qt(e,t){E(t),e&&pd(e)}function pd(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(_n(e))do n=ra(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Tn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(qo(n),r!==n.version))return!0}return!1}function Ct(e){if(_n(e)){let t=e.producers;for(;t!==void 0;)t=ra(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function hd(e,t){let n=e.consumersTail,r=_n(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)hd(o.producer,o)}function ra(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,!_n(t)){let i=t.producers;for(;i!==void 0;)i=ra(i)}return n}function _n(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Zo(e){Iy?.(e)}function Cy(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 Yo(e,t){return Object.is(e,t)}function pr(e,t){let n=Object.create(by);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(qo(n),Wt(n),n.value===fr)throw n.error;return n.value};return r[J]=n,Zo(n),r}var $o=Symbol("UNSET"),zo=Symbol("COMPUTING"),fr=Symbol("ERRORED"),by=G(B({},Gt),{value:$o,dirty:!0,error:null,equal:Yo,kind:"computed",producerMustRecompute(e){return e.value===$o||e.value===zo},producerRecomputeValue(e){if(e.value===zo)throw new Error("");let t=e.value;e.value=zo;let n=wt(e),r,o=!1;try{r=e.computation(),E(null),o=t!==$o&&t!==fr&&r!==fr&&e.equal(t,r)}catch(i){r=fr,e.error=i}finally{qt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Ty(){throw new Error}var gd=Ty;function md(e){gd(e)}function oa(e){gd=e}var _y=null;function ia(e,t){let n=Object.create(hr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>yd(n);return r[J]=n,Zo(n),[r,s=>Mn(n,s),s=>sa(n,s)]}function yd(e){return Wt(e),e.value}function Mn(e,t){na()||md(e),e.equal(e.value,t)||(e.value=t,My(e))}function sa(e,t){na()||md(e),Mn(e,t(e.value))}var hr=G(B({},Gt),{equal:Yo,value:void 0,kind:"signal"});function My(e){e.version++,dd(),ta(e),_y?.(e)}var aa=G(B({},Gt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function ca(e){if(e.dirty=!1,e.version>0&&!Tn(e))return;e.version++;let t=wt(e);try{e.cleanup(),e.fn()}finally{qt(e,t)}}var ua;function Qo(){return ua}function Qe(e){let t=ua;return ua=e,t}var vd=Symbol("NotFound");function Sn(e){return e===vd||e?.name==="\u0275NotFound"}function Dd(e){let t=E(null);try{return e()}finally{E(t)}}var ri="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(Ke(t,n)),this.code=t}};function Sy(e){return`NG0${Math.abs(e)}`}function Ke(e,t){return`${Sy(e)}${t?": "+t:""}`}var be=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("")}function bd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ir(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ir).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 oi(e,t){return e?t?`${e} ${t}`:e:t||""}var Ny=O({__forward_ref__:O});function ii(e){return e.__forward_ref__=ii,e}function X(e){return wa(e)?e():e}function wa(e){return typeof e=="function"&&e.hasOwnProperty(Ny)&&e.__forward_ref__===ii}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Jt(e){return{providers:e.providers||[],imports:e.imports||[]}}function wr(e){return xy(e,si)}function Ay(e){return wr(e)!==null}function xy(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Ry(e){let t=e?.[si]??null;return t||null}function da(e){return e&&e.hasOwnProperty(Jo)?e[Jo]:null}var si=O({\u0275prov:O}),Jo=O({\u0275inj:O}),C=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=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ca(e){return e&&!!e.\u0275providers}var ba=O({\u0275cmp:O}),Ta=O({\u0275dir:O}),_a=O({\u0275pipe:O}),Ma=O({\u0275mod:O}),mr=O({\u0275fac:O}),Xt=O({__NG_ELEMENT_ID__:O}),Ed=O({__NG_ENV_ID__:O});function Sa(e){return ci(e,"@NgModule"),e[Ma]||null}function Je(e){return ci(e,"@Component"),e[ba]||null}function ai(e){return ci(e,"@Directive"),e[Ta]||null}function Td(e){return ci(e,"@Pipe"),e[_a]||null}function ci(e,t){if(e==null)throw new m(-919,!1)}function en(e){return typeof e=="string"?e:e==null?"":String(e)}var _d=O({ngErrorCode:O}),Oy=O({ngErrorMessage:O}),ky=O({ngTokenPath:O});function Na(e,t){return Md("",-200,t)}function ui(e,t){throw new m(-201,!1)}function Md(e,t,n){let r=new m(t,e);return r[_d]=t,r[Oy]=e,n&&(r[ky]=n),r}function Fy(e){return e[_d]}var fa;function Sd(){return fa}function ue(e){let t=fa;return fa=e,t}function Aa(e,t,n){let r=wr(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;ui(e,"")}var Py={},Zt=Py,Ly="__NG_DI_FLAG__",pa=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Yt(n)||0;try{return this.injector.get(t,r&8?null:Zt,r)}catch(o){if(Sn(o))return o;throw o}}};function jy(e,t=0){let n=Qo();if(n===void 0)throw new m(-203,!1);if(n===null)return Aa(e,void 0,t);{let r=By(t),o=n.retrieve(e,r);if(Sn(o)){if(r.optional)return null;throw o}return o}}function b(e,t=0){return(Sd()||jy)(X(e),t)}function g(e,t){return b(e,Yt(t))}function Yt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function By(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ha(e){let t=[];for(let n=0;n<e.length;n++){let r=X(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=Vy(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function Vy(e){return e[Ly]}function bt(e,t){let n=e.hasOwnProperty(mr);return n?e[mr]:null}function Nd(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 Ad(e){return e.flat(Number.POSITIVE_INFINITY)}function li(e,t){e.forEach(n=>Array.isArray(n)?li(n,t):t(n))}function xa(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Cr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function xd(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Rd(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 di(e,t,n){let r=An(e,t);return r>=0?e[r|1]=n:(r=~r,Rd(e,r,t,n)),r}function fi(e,t){let n=An(e,t);if(n>=0)return e[n|1]}function An(e,t){return Hy(e,t,1)}function Hy(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ke={},re=[],at=new C(""),Ra=new C("",-1),Oa=new C(""),yr=class{get(t,n=Zt){if(n===Zt){let o=Md("",-201);throw o.name="\u0275NotFound",o}return n}};function ct(e){return{\u0275providers:e}}function Od(e){return ct([{provide:at,multi:!0,useValue:e}])}function kd(...e){return{\u0275providers:ka(!0,e),\u0275fromNgModule:!0}}function ka(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return li(t,s=>{let a=s;Xo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Fd(o,i),n}function Fd(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Fa(o,i=>{t(i,r)})}}function Xo(e,t,n,r){if(e=X(e),!e)return!1;let o=null,i=da(e),s=!i&&Je(e);if(!i&&!s){let c=e.ngModule;if(i=da(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)Xo(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;li(i.imports,l=>{Xo(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Fd(u,t)}if(!a){let u=bt(o)||(()=>new o);t({provide:o,useFactory:u,deps:re},o),t({provide:Oa,useValue:o,multi:!0},o),t({provide:at,useValue:()=>b(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Fa(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Fa(e,t){for(let n of e)Ca(n)&&(n=n.\u0275providers),Array.isArray(n)?Fa(n,t):t(n)}var Uy=O({provide:String,useValue:O});function Pd(e){return e!==null&&typeof e=="object"&&Uy in e}function $y(e){return!!(e&&e.useExisting)}function zy(e){return!!(e&&e.useFactory)}function Qt(e){return typeof e=="function"}function Ld(e){return!!e.useClass}var br=new C(""),Ko={},Id={},la;function xn(){return la===void 0&&(la=new yr),la}var le=class{},Kt=class extends le{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,ma(t,s=>this.processProvider(s)),this.records.set(Ra,Nn(void 0,this)),o.has("environment")&&this.records.set(le,Nn(void 0,this));let i=this.records.get(br);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Oa,re,{self:!0}))}retrieve(t,n){let r=Yt(n)||0;try{return this.get(t,Zt,r)}catch(o){if(Sn(o))return o;throw o}}destroy(){gr(this),this._destroyed=!0;let t=E(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(),E(t)}}onDestroy(t){return gr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){gr(this);let n=Qe(this),r=ue(void 0),o;try{return t()}finally{Qe(n),ue(r)}}get(t,n=Zt,r){if(gr(this),t.hasOwnProperty(Ed))return t[Ed](this);let o=Yt(r),i,s=Qe(this),a=ue(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=Yy(t)&&wr(t);l&&this.injectableDefInScope(l)?u=Nn(ga(t),Ko):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?xn():this.parent;return n=o&8&&n===Zt?null:n,c.get(t,n)}catch(c){let u=Fy(c);throw u===-200||u===-201?new m(u,null):c}finally{ue(a),Qe(s)}}resolveInjectorInitializers(){let t=E(null),n=Qe(this),r=ue(void 0),o;try{let i=this.get(at,re,{self:!0});for(let s of i)s()}finally{Qe(n),ue(r),E(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=X(t);let n=Qt(t)?t:X(t&&t.provide),r=Wy(t);if(!Qt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Nn(void 0,Ko,!0),o.factory=()=>ha(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===Id)throw Na("");return n.value===Ko&&(n.value=Id,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Zy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=X(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 ga(e){let t=wr(e),n=t!==null?t.factory:bt(e);if(n!==null)return n;if(e instanceof C)throw new m(-204,!1);if(e instanceof Function)return Gy(e);throw new m(-204,!1)}function Gy(e){if(e.length>0)throw new m(-204,!1);let n=Ry(e);return n!==null?()=>n.factory(e):()=>new e}function Wy(e){if(Pd(e))return Nn(void 0,e.useValue);{let t=Pa(e);return Nn(t,Ko)}}function Pa(e,t,n){let r;if(Qt(e)){let o=X(e);return bt(o)||ga(o)}else if(Pd(e))r=()=>X(e.useValue);else if(zy(e))r=()=>e.useFactory(...ha(e.deps||[]));else if($y(e))r=(o,i)=>b(X(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=X(e&&(e.useClass||e.provide));if(qy(e))r=()=>new o(...ha(e.deps));else return bt(o)||ga(o)}return r}function gr(e){if(e.destroyed)throw new m(-205,!1)}function Nn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qy(e){return!!e.deps}function Zy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Yy(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ma(e,t){for(let n of e)Array.isArray(n)?ma(n,t):n&&Ca(n)?ma(n.\u0275providers,t):t(n)}function Rn(e,t){let n;e instanceof Kt?(gr(e),n=e):n=new pa(e);let r,o=Qe(n),i=ue(void 0);try{return t()}finally{Qe(o),ue(i)}}function jd(){return Sd()!==void 0||Qo()!=null}var Fe=0,I=1,_=2,ee=3,Te=4,de=5,tn=6,On=7,W=8,ut=9,Pe=10,P=11,kn=12,La=13,nn=14,ie=15,Mt=16,rn=17,Xe=18,lt=19,ja=20,st=21,pi=22,Tt=23,Ee=24,on=25,St=26,V=27,Bd=1,Ba=6,Nt=7,Tr=8,sn=9,q=10;function dt(e){return Array.isArray(e)&&typeof e[Bd]=="object"}function Le(e){return Array.isArray(e)&&e[Bd]===!0}function Va(e){return(e.flags&4)!==0}function ft(e){return e.componentOffset>-1}function Fn(e){return(e.flags&1)===1}function je(e){return!!e.template}function Pn(e){return(e[_]&512)!==0}function an(e){return(e[_]&256)===256}var Ha="svg",Vd="math";function _e(e){for(;Array.isArray(e);)e=e[Fe];return e}function Ua(e,t){return _e(t[e])}function Be(e,t){return _e(t[e.index])}function hi(e,t){return e.data[t]}function _r(e,t){return e[t]}function $a(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Me(e,t){let n=t[e];return dt(n)?n:n[Fe]}function Hd(e){return(e[_]&4)===4}function gi(e){return(e[_]&128)===128}function Ud(e){return Le(e[ee])}function Ie(e,t){return t==null?null:e[t]}function za(e){e[rn]=0}function Ga(e){e[_]&1024||(e[_]|=1024,gi(e)&&cn(e))}function $d(e,t){for(;e>0;)t=t[nn],e--;return t}function Mr(e){return!!(e[_]&9216||e[Ee]?.dirty)}function mi(e){e[Pe].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),Mr(e)&&cn(e)}function cn(e){e[Pe].changeDetectionScheduler?.notify(0);let t=_t(e);for(;t!==null&&!(t[_]&8192||(t[_]|=8192,!gi(t)));)t=_t(t)}function Wa(e,t){if(an(e))throw new m(911,!1);e[st]===null&&(e[st]=[]),e[st].push(t)}function zd(e,t){if(e[st]===null)return;let n=e[st].indexOf(t);n!==-1&&e[st].splice(n,1)}function _t(e){let t=e[ee];return Le(t)?t[ee]:t}function qa(e){return e[On]??=[]}function Za(e){return e.cleanup??=[]}function Gd(e,t,n,r){let o=qa(t);o.push(n),e.firstCreatePass&&Za(e).push(r,o.length-1)}var N={lFrame:sf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ya=!1;function Wd(){return N.lFrame.elementDepthCount}function qd(){N.lFrame.elementDepthCount++}function Ya(){N.lFrame.elementDepthCount--}function yi(){return N.bindingsEnabled}function Qa(){return N.skipHydrationRootTNode!==null}function Ka(e){return N.skipHydrationRootTNode===e}function Ja(){N.skipHydrationRootTNode=null}function D(){return N.lFrame.lView}function H(){return N.lFrame.tView}function Zd(e){return N.lFrame.contextLView=e,e[W]}function Yd(e){return N.lFrame.contextLView=null,e}function te(){let e=Xa();for(;e!==null&&e.type===64;)e=e.parent;return e}function Xa(){return N.lFrame.currentTNode}function Qd(){let e=N.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ln(e,t){let n=N.lFrame;n.currentTNode=e,n.isParent=t}function ec(){return N.lFrame.isParent}function tc(){N.lFrame.isParent=!1}function Kd(){return N.lFrame.contextLView}function nc(){return ya}function vr(e){let t=ya;return ya=e,t}function un(){let e=N.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Jd(){return N.lFrame.bindingIndex}function Xd(e){return N.lFrame.bindingIndex=e}function At(){return N.lFrame.bindingIndex++}function vi(e){let t=N.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ef(){return N.lFrame.inI18n}function tf(e,t){let n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,Di(t)}function nf(){return N.lFrame.currentDirectiveIndex}function Di(e){N.lFrame.currentDirectiveIndex=e}function rf(e){let t=N.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ei(){return N.lFrame.currentQueryIndex}function Sr(e){N.lFrame.currentQueryIndex=e}function Qy(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[de]:null}function rc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Qy(i),o===null||(i=i[nn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=N.lFrame=of();return r.currentTNode=t,r.lView=e,!0}function Ii(e){let t=of(),n=e[I];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function of(){let e=N.lFrame,t=e===null?null:e.child;return t===null?sf(e):t}function sf(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 af(){let e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var oc=af;function wi(){let e=af();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 cf(e){return(N.lFrame.contextLView=$d(e,N.lFrame.contextLView))[W]}function et(){return N.lFrame.selectedIndex}function xt(e){N.lFrame.selectedIndex=e}function Nr(){let e=N.lFrame;return hi(e.tView,e.selectedIndex)}function uf(){N.lFrame.currentNamespace=Ha}function lf(){Ky()}function Ky(){N.lFrame.currentNamespace=null}function df(){return N.lFrame.currentNamespace}var ff=!0;function Ci(){return ff}function Ar(e){ff=e}function va(e,t=null,n=null,r){let o=ic(e,t,n,r);return o.resolveInjectorInitializers(),o}function ic(e,t=null,n=null,r,o=new Set){let i=[n||re,kd(e)],s;return new Kt(i,t||xn(),s||null,o)}var oe=class e{static THROW_IF_NOT_FOUND=Zt;static NULL=new yr;static create(t,n){if(Array.isArray(t))return va({name:""},n,t,"");{let r=t.name??"";return va({name:r},t.parent,t.providers,r)}}static \u0275prov=T({token:e,providedIn:"any",factory:()=>b(Ra)});static __NG_ELEMENT_ID__=-1},$=new C(""),Se=(()=>{class e{static __NG_ELEMENT_ID__=Jy;static __NG_ENV_ID__=n=>n}return e})(),ei=class extends Se{_lView;constructor(t){super(),this._lView=t}get destroyed(){return an(this._lView)}onDestroy(t){let n=this._lView;return Wa(n,t),()=>zd(n,t)}};function Jy(){return new ei(D())}var sc=!1,pf=new C(""),Rt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new sr(!1);debugTaskTracker=g(pf,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(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=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Da=class extends ae{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,jd()&&(this.destroyRef=g(Se,{optional:!0})??void 0,this.pendingTasks=g(Rt,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof K&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},it=Da;function ti(...e){}function ac(e){let t,n;function r(){e=ti;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 hf(e){return queueMicrotask(()=>e()),()=>{e=ti}}var cc="isAngularZone",Dr=cc+"_ID",Xy=0,Y=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new it(!1);onMicrotaskEmpty=new it(!1);onStable=new it(!1);onError=new it(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=sc}=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,nv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(cc)===!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,ev,ti,ti);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)}},ev={};function uc(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 tv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ac(()=>{e.callbackScheduled=!1,Ea(e),e.isCheckStableRunning=!0,uc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ea(e)}function nv(e){let t=()=>{tv(e)},n=Xy++;e._inner=e._inner.fork({name:"angular",properties:{[cc]:!0,[Dr]:n,[Dr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(rv(c))return r.invokeTask(i,s,a,c);try{return wd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Cd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return wd(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!ov(c)&&t(),Cd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ea(e),uc(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 Ea(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function wd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Cd(e){e._nesting--,uc(e)}var Er=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new it;onMicrotaskEmpty=new it;onStable=new it;onError=new it;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 rv(e){return gf(e,"__ignore_ng_zone__")}function ov(e){return gf(e,"__scheduler_tick__")}function gf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ce=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ve=new C("",{factory:()=>{let e=g(Y),t=g(le),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Ce),n.handleError(r))})}}}),mf={provide:at,useValue:()=>{let e=g(Ce,{optional:!0})},multi:!0},iv=new C("",{factory:()=>{let e=g($).defaultView;if(!e)return;let t=g(Ve),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(),g(Se).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function sv(){return ct([Od(()=>{g(iv)})])}function bi(e,t){let[n,r,o]=ia(e,t?.equal),i=n,s=i[J];return i.set=r,i.update=o,i.asReadonly=lc.bind(i),i}function lc(){let e=this[J];if(e.readonlyFn===void 0){let t=()=>this();t[J]=e,e.readonlyFn=t}return e.readonlyFn}var jn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=av}return e})();function av(){return new jn(D(),te())}var Oe=class{},Bn=new C("",{factory:()=>!0});var Ti=new C(""),xr=(()=>{class e{internalPendingTasks=g(Rt);scheduler=g(Oe);errorHandler=g(Ve);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=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),_i=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new Ia})}return e})(),Ia=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}},ni=class{[J];constructor(t){this[J]=t}destroy(){this[J].destroy()}};function yf(e,t){let n=t?.injector??g(oe),r=t?.manualCleanup!==!0?n.get(Se):null,o,i=n.get(jn,null,{optional:!0}),s=n.get(Oe);return i!==null?(o=lv(i.view,s,e),r instanceof ei&&r._lView===i.view&&(r=null)):o=dv(e,n.get(_i),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ni(o)}var vf=G(B({},aa),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=vr(!1);try{ca(this)}finally{vr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),cv=G(B({},vf),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Ct(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),uv=G(B({},vf),{consumerMarkedDirty(){this.view[_]|=8192,cn(this.view),this.notifier.notify(13)},destroy(){if(Ct(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Tt]?.delete(this)}});function lv(e,t,n){let r=Object.create(uv);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Df(r,n),e[Tt]??=new Set,e[Tt].add(r),r.consumerMarkedDirty(r),r}function dv(e,t,n){let r=Object.create(cv);return r.fn=Df(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 Df(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Ur(e){return{toString:e}.toString()}function vv(e){return typeof e=="function"}function ep(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Pi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},su=(()=>{let e=()=>tp;return e.ngInherit=!0,e})();function tp(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ev),Dv}function Dv(){let e=rp(this),t=e?.current;if(t){let n=e.previous;if(n===ke)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ev(e,t,n,r,o){let i=this.declaredInputs[r],s=rp(e)||Iv(e,{previous:ke,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Pi(u&&u.currentValue,n,c===ke),ep(e,t,o,n)}var np="__ngSimpleChanges__";function rp(e){return e[np]||null}function Iv(e,t){return e[np]=t}var Ef=[];var k=function(e,t=null,n){for(let r=0;r<Ef.length;r++){let o=Ef[r];o(e,t,n)}},R=(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})(R||{});function wv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=tp(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 op(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 xi(e,t,n){ip(e,t,3,n)}function Ri(e,t,n,r){(e[_]&3)===n&&ip(e,t,n,r)}function dc(e,t){let n=e[_];(n&3)===t&&(n&=16383,n+=1,e[_]=n)}function ip(e,t,n,r){let o=r!==void 0?e[rn]&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[rn]+=65536),(a<i||i==-1)&&(Cv(e,n,t,c),e[rn]=(e[rn]&4294901760)+c+2),c++}function If(e,t){k(R.LifecycleHookStart,e,t);let n=E(null);try{t.call(e)}finally{E(n),k(R.LifecycleHookEnd,e,t)}}function Cv(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[rn]>>16&&(e[_]&3)===t&&(e[_]+=16384,If(a,i)):If(a,i)}var Hn=-1,dn=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 bv(e){return(e.flags&8)!==0}function Tv(e){return(e.flags&16)!==0}function _v(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];Mv(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function sp(e){return e===3||e===4||e===6}function Mv(e){return e.charCodeAt(0)===64}function Un(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?wf(e,n,o,null,t[++r]):wf(e,n,o,null,null))}}return e}function wf(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 ap(e){return e!==Hn}function Li(e){return e&32767}function Sv(e){return e>>16}function ji(e,t){let n=Sv(e),r=t;for(;n>0;)r=r[nn],n--;return r}var wc=!0;function Bi(e){let t=wc;return wc=e,t}var Nv=256,cp=Nv-1,up=5,Av=0,tt={};function xv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Xt)&&(r=n[Xt]),r==null&&(r=n[Xt]=Av++);let o=r&cp,i=1<<o;t.data[e+(o>>up)]|=i}function Vi(e,t){let n=lp(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,fc(r.data,e),fc(t,null),fc(r.blueprint,null));let o=au(e,t),i=e.injectorIndex;if(ap(o)){let s=Li(o),a=ji(o,t),c=a[I].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function fc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function lp(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function au(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=mp(o),r===null)return Hn;if(n++,o=o[nn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Hn}function Cc(e,t,n){xv(e,t,n)}function Rv(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(sp(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 dp(e,t,n){if(n&8||e!==void 0)return e;ui(t,"NodeInjector")}function fp(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[ut],i=ue(void 0);try{return o?o.get(t,r,n&8):Aa(t,r,n&8)}finally{ue(i)}}return dp(r,t,n)}function pp(e,t,n,r=0,o){if(e!==null){if(t[_]&2048&&!(r&2)){let s=Pv(e,t,n,r,tt);if(s!==tt)return s}let i=hp(e,t,n,r,tt);if(i!==tt)return i}return fp(t,n,r,o)}function hp(e,t,n,r,o){let i=kv(n);if(typeof i=="function"){if(!rc(t,e,r))return r&1?dp(o,n,r):fp(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ui(n);else return s}finally{oc()}}else if(typeof i=="number"){let s=null,a=lp(e,t),c=Hn,u=r&1?t[ie][de]:null;for((a===-1||r&4)&&(c=a===-1?au(e,t):t[a+8],c===Hn||!bf(r,!1)?a=-1:(s=t[I],a=Li(c),t=ji(c,t)));a!==-1;){let l=t[I];if(Cf(i,a,l.data)){let d=Ov(a,t,n,s,r,u);if(d!==tt)return d}c=t[a+8],c!==Hn&&bf(r,t[I].data[a+8]===u)&&Cf(i,a,t)?(s=l,a=Li(c),t=ji(c,t)):a=-1}}return o}function Ov(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?ft(a)&&wc:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Oi(a,s,n,c,u);return l!==null?Pr(t,s,l,a,o):tt}function Oi(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,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&je(f)&&f.type===n)return c}return null}function Pr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof dn){let a=i;if(a.resolving)throw Na("");let c=Bi(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?ue(a.injectImpl):null,p=rc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&wv(n,s[n],t)}finally{d!==null&&ue(d),Bi(c),a.resolving=!1,oc()}}return i}function kv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Xt)?e[Xt]:void 0;return typeof t=="number"?t>=0?t&cp:Fv:t}function Cf(e,t,n){let r=1<<e;return!!(n[t+(e>>up)]&r)}function bf(e,t){return!(e&2)&&!(e&1&&t)}var ln=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return pp(this._tNode,this._lView,t,Yt(r),n)}};function Fv(){return new ln(te(),D())}function gp(e){return Ur(()=>{let t=e.prototype.constructor,n=t[mr]||bc(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[mr]||bc(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function bc(e){return wa(e)?()=>{let t=bc(X(e));return t&&t()}:bt(e)}function Pv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[_]&2048&&!Pn(s);){let a=hp(i,s,n,r|2,tt);if(a!==tt)return a;let c=i.parent;if(!c){let u=s[ja];if(u){let l=u.get(n,tt,r&-5);if(l!==tt)return l}c=mp(s),s=s[nn]}i=c}return o}function mp(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[de]:null}function cu(e){return Rv(te(),e)}function Lv(){return Zn(te(),D())}function Zn(e,t){return new Ft(Be(e,t))}var Ft=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Lv}return e})();function yp(e){return e instanceof Ft?e.nativeElement:e}function jv(){return this._results[Symbol.iterator]()}var Hi=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 ae}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=Ad(t);(this._changesDetected=!Nd(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]=jv};function vp(e){return(e.flags&128)===128}var uu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(uu||{}),Dp=new Map,Bv=0;function Vv(){return Bv++}function Hv(e){Dp.set(e[lt],e)}function Tc(e){Dp.delete(e[lt])}var Tf="__ngContext__";function $n(e,t){dt(t)?(e[Tf]=t[lt],Hv(t)):e[Tf]=t}function Ep(e){return wp(e[kn])}function Ip(e){return wp(e[Te])}function wp(e){for(;e!==null&&!Le(e);)e=e[Te];return e}var _c;function lu(e){_c=e}function Cp(){if(_c!==void 0)return _c;if(typeof document<"u")return document;throw new m(210,!1)}var ts=new C("",{factory:()=>Uv}),Uv="ng";var ns=new C(""),$r=new C("",{providedIn:"platform",factory:()=>"unknown"}),$v=new C(""),rs=new C("",{factory:()=>g($).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var bp="r";var Tp="di";var _p=!1,Mp=new C("",{factory:()=>_p});var Sp=new C("");var zv=(e,t,n,r)=>{};function Gv(e,t,n,r){zv(e,t,n,r)}function os(e){return(e.flags&32)===32}var Wv=()=>null;function Np(e,t,n=!1){return Wv(e,t,n)}function Ap(e,t){let n=e.contentQueries;if(n!==null){let r=E(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];Sr(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function Mc(e,t,n){Sr(0);let r=E(null);try{t(e,n)}finally{E(r)}}function du(e,t,n){if(Va(t)){let r=E(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{E(r)}}}var $e=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})($e||{});var Mi;function qv(){if(Mi===void 0&&(Mi=null,be.trustedTypes))try{Mi=be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Mi}function is(e){return qv()?.createHTML(e)||e}var Si;function Zv(){if(Si===void 0&&(Si=null,be.trustedTypes))try{Si=be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Si}function _f(e){return Zv()?.createHTML(e)||e}var pt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ri})`}},Sc=class extends pt{getTypeName(){return"HTML"}},Nc=class extends pt{getTypeName(){return"Style"}},Ac=class extends pt{getTypeName(){return"Script"}},xc=class extends pt{getTypeName(){return"URL"}},Rc=class extends pt{getTypeName(){return"ResourceURL"}};function Ne(e){return e instanceof pt?e.changingThisBreaksApplicationSecurity:e}function ht(e,t){let n=xp(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ri})`)}return n===t}function xp(e){return e instanceof pt&&e.getTypeName()||null}function fu(e){return new Sc(e)}function pu(e){return new Nc(e)}function hu(e){return new Ac(e)}function gu(e){return new xc(e)}function mu(e){return new Rc(e)}function Yv(e){let t=new kc(e);return Qv()?new Oc(t):t}var Oc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(is(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},kc=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=is(t),n}};function Qv(){try{return!!new window.DOMParser().parseFromString(is(""),"text/html")}catch(e){return!1}}var Kv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function zr(e){return e=String(e),e.match(Kv)?e:"unsafe:"+e}function gt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Gr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Rp=gt("area,br,col,hr,img,wbr"),Op=gt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kp=gt("rp,rt"),Jv=Gr(kp,Op),Xv=Gr(Op,gt("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")),eD=Gr(kp,gt("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")),Mf=Gr(Rp,Xv,eD,Jv),Fp=gt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tD=gt("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"),nD=gt("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"),rD=Gr(Fp,tD,nD),oD=gt("script,style,template");var Fc=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=aD(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=sD(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Sf(t).toLowerCase();if(!Mf.hasOwnProperty(n))return this.sanitizedSomething=!0,!oD.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(!rD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Fp[a]&&(c=zr(c)),this.buf.push(" ",s,'="',Nf(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Sf(t).toLowerCase();Mf.hasOwnProperty(n)&&!Rp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Nf(t))}};function iD(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function sD(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Pp(t);return t}function aD(e){let t=e.firstChild;if(t&&iD(e,t))throw Pp(t);return t}function Sf(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Pp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var cD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uD=/([^\#-~ |!])/g;function Nf(e){return e.replace(/&/g,"&amp;").replace(cD,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(uD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Ni;function ss(e,t){let n=null;try{Ni=Ni||Yv(e);let r=t?String(t):"";n=Ni.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=Ni.getInertBodyElement(r)}while(r!==i);let a=new Fc().sanitizeChildren(Af(n)||n);return is(a)}finally{if(n){let r=Af(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Af(e){return"content"in e&&lD(e)?e.content:null}function lD(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var dD=/^>|^->|<!--|-->|--!>|<!-$/g,fD=/(<|>)/g,pD="\u200B$1\u200B";function hD(e){return e.replace(dD,t=>t.replace(fD,pD))}function gD(e,t){return e.createText(t)}function mD(e,t,n){e.setValue(t,n)}function yD(e,t){return e.createComment(hD(t))}function Lp(e,t,n){return e.createElement(t,n)}function Ui(e,t,n,r,o){e.insertBefore(t,n,r,o)}function jp(e,t,n){e.appendChild(t,n)}function xf(e,t,n,r,o){r!==null?Ui(e,t,n,r,o):jp(e,t,n)}function Bp(e,t,n,r){e.removeChild(null,t,n,r)}function vD(e,t,n){e.setAttribute(t,"style",n)}function DD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Vp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&_v(e,t,r),o!==null&&DD(e,t,o),i!==null&&vD(e,t,i)}var ze=(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})(ze||{});function ED(e){let t=Hp();return t?_f(t.sanitize(ze.HTML,e)||""):ht(e,"HTML")?_f(Ne(e)):ss(Cp(),en(e))}function ID(e){let t=Hp();return t?t.sanitize(ze.URL,e)||"":ht(e,"URL")?Ne(e):zr(en(e))}function Hp(){let e=D();return e&&e[Pe].sanitizer}function wD(e){return e.ownerDocument}function Up(e){return e instanceof Function?e():e}function CD(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 $p="ng-template";function bD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&CD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(yu(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 yu(e){return e.type===4&&e.value!==$p}function TD(e,t,n){let r=e.type===4&&!n?$p:e.value;return t===r}function _D(e,t,n){let r=4,o=e.attrs,i=o!==null?ND(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!He(r)&&!He(c))return!1;if(s&&He(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!TD(e,c,n)||c===""&&t.length===1){if(He(r))return!1;s=!0}}else if(r&8){if(o===null||!bD(e,o,c,n)){if(He(r))return!1;s=!0}}else{let u=t[++a],l=MD(c,o,yu(e),n);if(l===-1){if(He(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(He(r))return!1;s=!0}}}}return He(r)||s}function He(e){return(e&1)===0}function MD(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 AD(t,e)}function zp(e,t,n=!1){for(let r=0;r<t.length;r++)if(_D(e,t[r],n))return!0;return!1}function SD(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function ND(e){for(let t=0;t<e.length;t++){let n=e[t];if(sp(n))return t}return e.length}function AD(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 xD(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 Rf(e,t){return e?":not("+t.trim()+")":t}function RD(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!==""&&!He(s)&&(t+=Rf(i,o),o=""),r=s,i=i||!He(r);n++}return o!==""&&(t+=Rf(i,o)),t}function OD(e){return e.map(RD).join(",")}function kD(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(!He(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var fe={};function vu(e,t,n,r,o,i,s,a,c,u,l){let d=V+r,p=d+o,f=FD(d,p),h=typeof u=="function"?u():u;return f[I]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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:h,incompleteFirstPass:!1,ssrId:l}}function FD(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:fe);return n}function PD(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=vu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Du(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Fe]=o,d[_]=r|4|128|8|64|1024,(u!==null||e&&e[_]&2048)&&(d[_]|=2048),za(d),d[ee]=d[nn]=e,d[W]=n,d[Pe]=s||e&&e[Pe],d[P]=a||e&&e[P],d[ut]=c||e&&e[ut]||null,d[de]=i,d[lt]=Vv(),d[tn]=l,d[ja]=u,d[ie]=t.type==2?e[ie]:d,d}function LD(e,t,n){let r=Be(t,e),o=PD(n),i=e[Pe].rendererFactory,s=Eu(e,Du(e,o,null,Gp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Gp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Wp(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 Eu(e,t){return e[kn]?e[La][Te]=t:e[kn]=t,e[La]=t,t}function jD(e=1){qp(H(),D(),et()+e,!1)}function qp(e,t,n,r){if(!r)if((t[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&xi(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ri(t,i,0,n)}xt(n)}var as=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(as||{});function Pc(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&as.SignalBased)!==0&&(c=t[i][J]),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):ep(t,c,i,r)}finally{E(o)}}var nt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(nt||{}),BD;function Iu(e,t){return BD(e,t)}var jR=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Lc=new WeakMap,Or=new WeakSet;function VD(e,t){let n=Lc.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),Or.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 HD(e,t){let n=Lc.get(e);n?n.includes(t)||n.push(t):Lc.set(e,[t])}var fn=new Set,cs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(cs||{}),Ge=new C(""),Of=new Set;function mt(e){Of.has(e)||(Of.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var us=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),wu=[0,1,2,3],Cu=(()=>{class e{ngZone=g(Y);scheduler=g(Oe);errorHandler=g(Ce,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Ge,{optional:!0})}execute(){let n=this.sequences.size>0;n&&k(R.AfterRenderHooksStart),this.executing=!0;for(let r of wu)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&&k(R.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[on]??=[]).push(n),cn(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(cs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Lr=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?.[on];t&&(this.view[on]=t.filter(n=>n!==this))}};function UD(e,t){let n=t?.injector??g(oe);return mt("NgAfterNextRender"),zD(e,n,t,!0)}function $D(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function zD(e,t,n,r){let o=t.get(us);o.impl??=t.get(Cu);let i=t.get(Ge,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Se):null,a=t.get(jn,null,{optional:!0}),c=new Lr(o.impl,$D(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Zp=new C("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(le)})});function Yp(e,t,n){let r=e.get(Zp);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 GD(e,t){let n=e.get(Zp);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function WD(e,t){for(let[n,r]of t)Yp(e,r.animateFns)}function kf(e,t,n,r){let o=e?.[St]?.enter;t!==null&&o&&o.has(n.index)&&WD(r,o)}function Vn(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Le(o)?c=o:dt(o)&&(u=!0,o=o[Fe]);let l=_e(o);e===0&&r!==null?(kf(a,r,i,n),s==null?jp(t,r,l):Ui(t,r,l,s||null,!0)):e===1&&r!==null?(kf(a,r,i,n),Ui(t,r,l,s||null,!0),VD(i,l)):e===2?(a?.[St]?.leave?.has(i.index)&&HD(i,l),Or.delete(l),Ff(a,i,n,d=>{if(Or.has(l)){Or.delete(l);return}Bp(t,l,u,d)})):e===3&&(Or.delete(l),Ff(a,i,n,()=>{t.destroyNode(l)})),c!=null&&rE(t,e,n,c,i,r,s)}}function qD(e,t){Qp(e,t),t[Fe]=null,t[de]=null}function ZD(e,t,n,r,o,i){r[Fe]=o,r[de]=t,ds(e,r,n,1,o,i)}function Qp(e,t){t[Pe].changeDetectionScheduler?.notify(9),ds(e,t,t[P],2,null,null)}function YD(e){let t=e[kn];if(!t)return pc(e[I],e);for(;t;){let n=null;if(dt(t))n=t[kn];else{let r=t[q];r&&(n=r)}if(!n){for(;t&&!t[Te]&&t!==e;)dt(t)&&pc(t[I],t),t=t[ee];t===null&&(t=e),dt(t)&&pc(t[I],t),n=t&&t[Te]}t=n}}function bu(e,t){let n=e[sn],r=n.indexOf(t);n.splice(r,1)}function ls(e,t){if(an(t))return;let n=t[P];n.destroyNode&&ds(e,t,n,3,null,null),YD(t)}function pc(e,t){if(an(t))return;let n=E(null);try{t[_]&=-129,t[_]|=256,t[Ee]&&Ct(t[Ee]),JD(e,t),KD(e,t),t[I].type===1&&t[P].destroy();let r=t[Mt];if(r!==null&&Le(t[ee])){r!==t[ee]&&bu(r,t);let o=t[Xe];o!==null&&o.detachView(e)}Tc(t)}finally{E(n)}}function Ff(e,t,n,r){let o=e?.[St];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&fn.add(e[lt]),Yp(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),QD(e,r)}else e&&fn.delete(e[lt]),r(!1)},o)}function QD(e,t){let n=e[St]?.running;if(n){n.then(()=>{e[St].running=void 0,fn.delete(e[lt]),t(!0)});return}t(!1)}function KD(e,t){let n=e.cleanup,r=t[On];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[On]=null);let o=t[st];if(o!==null){t[st]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Tt];if(i!==null){t[Tt]=null;for(let s of i)s.destroy()}}function JD(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 dn)){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];k(R.LifecycleHookStart,a,c);try{c.call(a)}finally{k(R.LifecycleHookEnd,a,c)}}else{k(R.LifecycleHookStart,o,i);try{i.call(o)}finally{k(R.LifecycleHookEnd,o,i)}}}}}function Kp(e,t,n){return XD(e,t.parent,n)}function XD(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Fe];if(ft(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===$e.None||o===$e.Emulated)return null}return Be(r,n)}function Jp(e,t,n){return tE(e,t,n)}function eE(e,t,n){return e.type&40?Be(e,n):null}var tE=eE,Pf;function Tu(e,t,n,r){let o=Kp(e,r,t),i=t[P],s=r.parent||t[de],a=Jp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)xf(i,o,n[c],a,!1);else xf(i,o,n,a,!1);Pf!==void 0&&Pf(i,r,t,n,o)}function kr(e,t){if(t!==null){let n=t.type;if(n&3)return Be(t,e);if(n&4)return jc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return kr(e,r);{let o=e[t.index];return Le(o)?jc(-1,o):_e(o)}}else{if(n&128)return kr(e,t.next);if(n&32)return Iu(t,e)()||_e(e[t.index]);{let r=Xp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=_t(e[ie]);return kr(o,r)}else return kr(e,t.next)}}}return null}function Xp(e,t){if(t!==null){let r=e[ie][de],o=t.projection;return r.projection[o]}return null}function jc(e,t){let n=q+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return kr(r,o)}return t[Nt]}function _u(e,t,n,r,o,i,s){for(;n!=null;){let a=r[ut];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&$n(_e(c),r),n.flags|=2),!os(n))if(u&8)_u(e,t,n.child,r,o,i,!1),Vn(t,e,a,o,c,n,i,r);else if(u&32){let l=Iu(n,r),d;for(;d=l();)Vn(t,e,a,o,d,n,i,r);Vn(t,e,a,o,c,n,i,r)}else u&16?eh(e,t,r,n,o,i):Vn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ds(e,t,n,r,o,i){_u(n,r,e.firstChild,t,o,i,!1)}function nE(e,t,n){let r=t[P],o=Kp(e,n,t),i=n.parent||t[de],s=Jp(i,n,t);eh(r,0,t,n,o,s)}function eh(e,t,n,r,o,i){let s=n[ie],c=s[de].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Vn(t,e,n[ut],o,l,r,i,n)}else{let u=c,l=s[ee];vp(r)&&(u.flags|=128),_u(e,t,u,l,o,i,!0)}}function rE(e,t,n,r,o,i,s){let a=r[Nt],c=_e(r);a!==c&&Vn(t,e,n,i,a,o,s);for(let u=q;u<r.length;u++){let l=r[u];ds(l[I],l,e,t,i,a)}}function oE(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 th(e,t,n,r,o){let i=et(),s=r&2;try{xt(-1),s&&t.length>V&&qp(e,t,V,!1);let a=s?R.TemplateUpdateStart:R.TemplateCreateStart;k(a,o,n),n(r,o)}finally{xt(i);let a=s?R.TemplateUpdateEnd:R.TemplateCreateEnd;k(a,o,n)}}function fs(e,t,n){lE(e,t,n),(n.flags&64)===64&&dE(e,t,n)}function Wr(e,t,n=Be){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 iE(e,t,n,r){let i=r.get(Mp,_p)||n===$e.ShadowDom||n===$e.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return sE(s),s}function sE(e){aE(e)}var aE=()=>null;function cE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function nh(e,t,n,r,o,i){let s=t[I];if(Au(e,s,t,n,r)){ft(e)&&uE(t,e.index);return}e.type&3&&(n=cE(n)),rh(e,t,n,r,o,i)}function rh(e,t,n,r,o,i){if(e.type&3){let s=Be(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function uE(e,t){let n=Me(t,e);n[_]&16||(n[_]|=64)}function lE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;ft(n)&&LD(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Vi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Pr(t,e,s,n);if($n(c,t),i!==null&&gE(t,s-r,c,a,n,i),je(a)){let u=Me(n.index,t);u[W]=Pr(t,e,s,n)}}}function dE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=nf();try{xt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Di(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&fE(c,u)}}finally{xt(-1),Di(s)}}function fE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Mu(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];zp(t,i.selectors,!1)&&(r??=[],je(i)?r.unshift(i):r.push(i))}return r}function pE(e,t,n,r,o,i){let s=Be(e,t);hE(t[P],s,i,e.value,n,r,o)}function hE(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?en(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function gE(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];Pc(r,n,c,u)}}function Su(e,t,n,r,o){let i=V+n,s=t[I],a=o(s,t,e,r,n);t[i]=a,Ln(e,!0);let c=e.type===2;return c?(Vp(t[P],a,e),(Wd()===0||Fn(e))&&$n(a,t),qd()):$n(a,t),Ci()&&(!c||!os(e))&&Tu(s,t,a,e),e}function Nu(e){let t=e;return ec()?tc():(t=t.parent,Ln(t,!1)),t}function mE(e,t){let n=e[ut];if(!n)return;let r;try{r=n.get(Ve,null)}catch(o){r=null}r?.(t)}function Au(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];Pc(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Pc(l,u,r,o),a=!0}return a}function yE(e,t){let n=Me(t,e),r=n[I];vE(r,n);let o=n[Fe];o!==null&&n[tn]===null&&(n[tn]=Np(o,n[ut])),k(R.ComponentStart);try{xu(r,n,n[W])}finally{k(R.ComponentEnd,n[W])}}function vE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function xu(e,t,n){Ii(t);try{let r=e.viewQuery;r!==null&&Mc(1,r,n);let o=e.template;o!==null&&th(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Xe]?.finishViewCreation(e),e.staticContentQueries&&Ap(e,t),e.staticViewQueries&&Mc(2,e.viewQuery,n);let i=e.components;i!==null&&DE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[_]&=-5,wi()}}function DE(e,t){for(let n=0;n<t.length;n++)yE(e,t[n])}function qr(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[_]&4096?4096:16,c=Du(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Mt]=u;let l=e[Xe];return l!==null&&(c[Xe]=l.createEmbeddedView(i)),xu(i,c,n),c}finally{E(o)}}function zn(e,t){return!t||t.firstChild===null||vp(e)}function jr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(_e(i)),Le(i)&&oh(i,r);let s=n.type;if(s&8)jr(e,t,n.child,r);else if(s&32){let a=Iu(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Xp(t,n);if(Array.isArray(a))r.push(...a);else{let c=_t(t[ie]);jr(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function oh(e,t){for(let n=q;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&jr(r[I],r,o,t)}e[Nt]!==e[Fe]&&t.push(e[Nt])}function ih(e){if(e[on]!==null){for(let t of e[on])t.impl.addSequence(t);e[on].length=0}}var sh=[];function EE(e){return e[Ee]??IE(e)}function IE(e){let t=sh.pop()??Object.create(CE);return t.lView=e,t}function wE(e){e.lView[Ee]!==e&&(e.lView=null,sh.push(e))}var CE=G(B({},Gt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{cn(e.lView)},consumerOnSignalRead(){this.lView[Ee]=this}});function bE(e){let t=e[Ee]??Object.create(TE);return t.lView=e,t}var TE=G(B({},Gt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=_t(e.lView);for(;t&&!ah(t[I]);)t=_t(t);t&&Ga(t)},consumerOnSignalRead(){this.lView[Ee]=this}});function ah(e){return e.type!==2}function ch(e){if(e[Tt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Tt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[_]&8192)}}var _E=100;function uh(e,t=0){let r=e[Pe].rendererFactory,o=!1;o||r.begin?.();try{ME(e,t)}finally{o||r.end?.()}}function ME(e,t){let n=nc();try{vr(!0),Bc(e,t);let r=0;for(;Mr(e);){if(r===_E)throw new m(103,!1);r++,Bc(e,1)}}finally{vr(n)}}function SE(e,t,n,r){if(an(t))return;let o=t[_],i=!1,s=!1;Ii(t);let a=!0,c=null,u=null;i||(ah(e)?(u=EE(t),c=wt(u)):Wo()===null?(a=!1,u=bE(t),c=wt(u)):t[Ee]&&(Ct(t[Ee]),t[Ee]=null));try{za(t),Xd(e.bindingStartIndex),n!==null&&th(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&xi(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ri(t,f,0,null),dc(t,0)}if(s||NE(t),ch(t),lh(t,0),e.contentQueries!==null&&Ap(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&xi(t,f)}else{let f=e.contentHooks;f!==null&&Ri(t,f,1),dc(t,1)}xE(e,t);let d=e.components;d!==null&&fh(t,d,0);let p=e.viewQuery;if(p!==null&&Mc(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&xi(t,f)}else{let f=e.viewHooks;f!==null&&Ri(t,f,2),dc(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[pi]){for(let f of t[pi])f();t[pi]=null}i||(ih(t),t[_]&=-73)}catch(l){throw i||cn(t),l}finally{u!==null&&(qt(u,c),a&&wE(u)),wi()}}function lh(e,t){for(let n=Ep(e);n!==null;n=Ip(n))for(let r=q;r<n.length;r++){let o=n[r];dh(o,t)}}function NE(e){for(let t=Ep(e);t!==null;t=Ip(t)){if(!(t[_]&2))continue;let n=t[sn];for(let r=0;r<n.length;r++){let o=n[r];Ga(o)}}}function AE(e,t,n){k(R.ComponentStart);let r=Me(t,e);try{dh(r,n)}finally{k(R.ComponentEnd,r[W])}}function dh(e,t){gi(e)&&Bc(e,t)}function Bc(e,t){let r=e[I],o=e[_],i=e[Ee],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Tn(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)SE(r,e,r.template,e[W]);else if(o&8192){let a=E(null);try{ch(e),lh(e,1);let c=r.components;c!==null&&fh(e,c,1),ih(e)}finally{E(a)}}}function fh(e,t,n){for(let r=0;r<t.length;r++)AE(e,t[r],n)}function xE(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)xt(~o);else{let i=o,s=n[++r],a=n[++r];tf(s,i);let c=t[i];k(R.HostBindingsUpdateStart,c);try{a(2,c)}finally{k(R.HostBindingsUpdateEnd,c)}}}}finally{xt(-1)}}function Ru(e,t){let n=nc()?64:1088;for(e[Pe].changeDetectionScheduler?.notify(t);e;){e[_]|=n;let r=_t(e);if(Pn(e)&&!r)return e;e=r}return null}function ph(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function hh(e,t){let n=q+t;if(n<e.length)return e[n]}function Zr(e,t,n,r=!0){let o=t[I];if(RE(o,t,e,n),r){let s=jc(n,e),a=t[P],c=a.parentNode(e[Nt]);c!==null&&ZD(o,e[de],a,t,c,s)}let i=t[tn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function gh(e,t){let n=Br(e,t);return n!==void 0&&ls(n[I],n),n}function Br(e,t){if(e.length<=q)return;let n=q+t,r=e[n];if(r){let o=r[Mt];o!==null&&o!==e&&bu(o,r),t>0&&(e[n-1][Te]=r[Te]);let i=Cr(e,q+t);qD(r[I],r);let s=i[Xe];s!==null&&s.detachView(i[I]),r[ee]=null,r[Te]=null,r[_]&=-129}return r}function RE(e,t,n,r){let o=q+r,i=n.length;r>0&&(n[o-1][Te]=t),r<i-q?(t[Te]=n[o],xa(n,q+r,t)):(n.push(t),t[Te]=null),t[ee]=n;let s=t[Mt];s!==null&&n!==s&&mh(s,t);let a=t[Xe];a!==null&&a.insertView(e),mi(t),t[_]|=128}function mh(e,t){let n=e[sn],r=t[ee];if(dt(r))e[_]|=2;else{let o=r[ee][ie];t[ie]!==o&&(e[_]|=2)}n===null?e[sn]=[t]:n.push(t)}var Ot=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[I];return jr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[W]}set context(t){this._lView[W]=t}get destroyed(){return an(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ee];if(Le(t)){let n=t[Tr],r=n?n.indexOf(this):-1;r>-1&&(Br(t,r),Cr(n,r))}this._attachedToViewContainer=!1}ls(this._lView[I],this._lView)}onDestroy(t){Wa(this._lView,t)}markForCheck(){Ru(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){mi(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,uh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Pn(this._lView),n=this._lView[Mt];n!==null&&!t&&bu(n,this._lView),Qp(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Pn(this._lView),r=this._lView[Mt];r!==null&&!n&&mh(r,this._lView),mi(this._lView)}};var Gn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=OE;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=qr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Ot(i)}}return e})();function OE(){return ps(te(),D())}function ps(e,t){return e.type&4?new Gn(t,e,Zn(e,t)):null}function Yn(e,t,n,r,o){let i=e.data[t];if(i===null)i=kE(e,t,n,r,o),ef()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Qd();i.injectorIndex=s===null?-1:s.injectorIndex}return Ln(i,!0),i}function kE(e,t,n,r,o){let i=Xa(),s=ec(),a=s?i:i&&i.parent,c=e.data[t]=PE(e,a,n,t,r,o);return FE(e,c,i,s),c}function FE(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 PE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Qa()&&(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 LE(e){let t=e[Ba]??[],r=e[ee][P],o=[];for(let i of t)i.data[Tp]!==void 0?o.push(i):jE(i,r);e[Ba]=o}function jE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[bp];for(;n<o;){let i=r.nextSibling;Bp(t,r,!1),r=i,n++}}}var BE=()=>null,VE=()=>null;function $i(e,t){return BE(e,t)}function yh(e,t,n){return VE(e,t,n)}var vh=class{},hs=class{},Vc=class{resolveComponentFactory(t){throw new m(917,!1)}},Yr=class{static NULL=new Vc},pn=class{},gs=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>HE()}return e})();function HE(){let e=D(),t=te(),n=Me(t.index,e);return(dt(n)?n:e)[P]}var Dh=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();var ki={},Hc=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ki,r);return o!==ki||n===ki?o:this.parentInjector.get(t,n,r)}};function zi(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=oi(o,a);else if(i==2){let c=a,u=t[++s];r=oi(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function he(e,t=0){let n=D();if(n===null)return b(e,t);let r=te();return pp(r,n,X(e),t)}function UE(){let e="invalid";throw new Error(e)}function Eh(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}GE(e,t,n,a,i,c,u)}i!==null&&r!==null&&$E(n,r,i)}function $E(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 zE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function GE(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&je(f)&&(c=f,zE(e,n,p)),Cc(Vi(n,t),e,f.type)}KE(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Wp(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Un(n.mergedAttrs,f.hostAttrs),qE(e,n,t,d,f),QE(d,f,o),s!==null&&s.has(f)){let[w,y]=s.get(f);n.directiveToIndex.set(f.type,[d,w+n.directiveStart,y+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 h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}WE(e,n,i)}function WE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Lf(0,t,o,r),Lf(1,t,o,r),Bf(t,r,!1);else{let i=n.get(o);jf(0,t,i,r),jf(1,t,i,r),Bf(t,r,!0)}}}function Lf(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),Ih(t,i)}}function jf(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),Ih(t,s)}}function Ih(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Bf(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||yu(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 qE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=bt(o.type,!0)),s=new dn(i,je(o),he,null);e.blueprint[r]=s,n[r]=s,ZE(e,t,r,Wp(e,n,o.hostVars,fe),o)}function ZE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;YE(s)!=a&&s.push(a),s.push(n,r,i)}}function YE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function QE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;je(t)&&(n[""]=e)}}function KE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ou(e,t,n,r,o,i,s,a){let c=t[I],u=c.consts,l=Ie(u,s),d=Yn(c,e,n,r,l);return i&&Eh(c,t,d,Ie(u,a),o),d.mergedAttrs=Un(d.mergedAttrs,d.attrs),d.attrs!==null&&zi(d,d.attrs,!1),d.mergedAttrs!==null&&zi(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function ku(e,t){op(e,t),Va(t)&&e.queries.elementEnd(t)}function JE(e,t,n,r,o,i){let s=t.consts,a=Ie(s,o),c=Yn(t,e,n,r,a);if(c.mergedAttrs=Un(c.mergedAttrs,c.attrs),i!=null){let u=Ie(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&zi(c,c.attrs,!1),c.mergedAttrs!==null&&zi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function ms(e,t,n){return e[t]=n}function XE(e,t){return e[t]}function we(e,t,n){if(n===fe)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Fu(e,t,n,r){let o=we(e,t,n);return we(e,t+1,r)||o}function eI(e,t,n,r,o){let i=Fu(e,t,n,r);return we(e,t+2,o)||i}function Fi(e,t,n){return function r(o){let i=ft(e)?Me(e.index,t):t;Ru(i,5);let s=t[W],a=Vf(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Vf(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Vf(e,t,n,r){let o=E(null);try{return k(R.OutputStart,t,n),n(r)!==!1}catch(i){return mE(e,i),!1}finally{k(R.OutputEnd,t,n),E(o)}}function wh(e,t,n,r,o,i,s,a){let c=Fn(e),u=!1,l=null;if(!r&&c&&(l=nI(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Be(e,n),p=r?r(d):d;Gv(n,p,i,a);let f=o.listen(p,i,a);if(!tI(i)){let h=r?w=>r(_e(w[e.index])):e.index;Ch(h,t,n,i,a,f,!1)}}return u}function tI(e){return e.startsWith("animation")||e.startsWith("transition")}function nI(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[On],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Ch(e,t,n,r,o,i,s){let a=t.firstCreatePass?Za(t):null,c=qa(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Hf(e,t,n,r,o,i){let s=t[n],a=t[I],u=a.data[n].outputs[r],d=s[u].subscribe(i);Ch(e.index,a,t,o,i,d,!0)}var Uc=Symbol("BINDING");function bh(e){return e.debugInfo?.className||e.type.name||null}var Gi=class extends Yr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Je(t);return new kt(n,this.ngModule)}};function rI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&as.SignalBased)!==0};return o&&(i.transform=o),i})}function oI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function iI(e,t,n){let r=t instanceof le?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Hc(n,r):n}function sI(e){let t=e.get(pn,null);if(t===null)throw new m(407,!1);let n=e.get(Dh,null),r=e.get(Oe,null),o=e.get(Ge,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function aI(e,t){let n=Th(e);return Lp(t,n,n==="svg"?Ha:n==="math"?Vd:null)}function Th(e){return(e.selectors[0][0]||"div").toLowerCase()}var kt=class extends hs{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=rI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=oI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=OD(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){k(R.DynamicComponentStart);let a=E(null);try{let c=this.componentDef,u=iI(c,o||this.ngModule,t),l=sI(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(bh(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{E(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=cI(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?iE(u,o,a.encapsulation,n):aI(a,u),d=s?.some(Uf)||i?.some(h=>typeof h!="function"&&h.bindings.some(Uf)),p=Du(null,c,null,512|Gp(a),null,null,t,u,n,null,Np(l,n,!0));p[V]=l,Ii(p);let f=null;try{let h=Ou(V,p,2,"#host",()=>c.directiveRegistry,!0,0);Vp(u,l,h),$n(l,p),fs(c,p,h),du(c,h,p),ku(c,h),r!==void 0&&lI(h,this.ngContentSelectors,r),f=Me(h.index,p),p[W]=f[W],xu(c,p,null)}catch(h){throw f!==null&&Tc(f),Tc(p),h}finally{k(R.DynamicComponentEnd),wi()}return new Wi(this.componentType,p,!!d)}};function cI(e,t,n,r){let o=e?["ng-version","21.2.6"]:kD(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Uc].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 p of d.bindings){a+=p[Uc].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=ai(d);c.push(p)}return vu(0,null,uI(i,s),1,a,c,null,null,null,[o],null)}function uI(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 Uf(e){let t=e[Uc].kind;return t==="input"||t==="twoWay"}var Wi=class extends vh{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=hi(n[I],V),this.location=Zn(this._tNode,n),this.instance=Me(this._tNode.index,n)[W],this.hostView=this.changeDetectorRef=new Ot(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=Au(r,o[I],o,t,n);this.previousInputValues.set(t,n);let s=Me(r.index,o);Ru(s,1)}get injector(){return new ln(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function lI(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 Qn=(()=>{class e{static __NG_ELEMENT_ID__=dI}return e})();function dI(){let e=te();return _h(e,D())}var $c=class e extends Qn{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Zn(this._hostTNode,this._hostLView)}get injector(){return new ln(this._hostTNode,this._hostLView)}get parentInjector(){let t=au(this._hostTNode,this._hostLView);if(ap(t)){let n=ji(t,this._hostLView),r=Li(t),o=n[I].data[r+8];return new ln(o,n)}else return new ln(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=$f(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=$i(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,zn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!vv(t),u;if(c)u=n;else{let y=n||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let l=c?t:new kt(Je(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(le,null);v&&(i=v)}let p=Je(l.componentType??{}),f=$i(this._lContainer,p?.id??null),h=f?.firstChild??null,w=l.create(d,o,h,i,s,a);return this.insertImpl(w.hostView,u,zn(this._hostTNode,f)),w}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Ud(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ee],u=new e(c,c[de],c[ee]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Zr(s,o,i,r),t.attachToViewContainerRef(),xa(hc(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=$f(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Br(this._lContainer,n);r&&(Cr(hc(this._lContainer),n),ls(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Br(this._lContainer,n);return r&&Cr(hc(this._lContainer),n)!=null?new Ot(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function $f(e){return e[Tr]}function hc(e){return e[Tr]||(e[Tr]=[])}function _h(e,t){let n,r=t[e.index];return Le(r)?n=r:(n=ph(r,t,null,e),t[e.index]=n,Eu(t,n)),pI(n,t,e,r),new $c(n,e,t)}function fI(e,t){let n=e[P],r=n.createComment(""),o=Be(t,e),i=n.parentNode(o);return Ui(n,i,r,n.nextSibling(o),!1),r}var pI=mI,hI=()=>!1;function gI(e,t,n){return hI(e,t,n)}function mI(e,t,n,r){if(e[Nt])return;let o;n.type&8?o=_e(r):o=fI(t,n),e[Nt]=o}var zc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Gc=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++)Lu(t,n).matches!==null&&this.queries[n].setDirty()}},qi=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=II(t):this.predicate=t}},Wc=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)}},qc=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,yI(n,i)),this.matchTNodeWithReadOption(t,n,Oi(n,t,i,!1,!1))}else r===Gn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Oi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ft||o===Qn||o===Gn&&n.type&4)this.addMatch(n.index,-2);else{let i=Oi(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 yI(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 vI(e,t){return e.type&11?Zn(e,t):e.type&4?ps(e,t):null}function DI(e,t,n,r){return n===-1?vI(t,e):n===-2?EI(e,t,r):Pr(e,e[I],n,t)}function EI(e,t,n){if(n===Ft)return Zn(t,e);if(n===Gn)return ps(t,e);if(n===Qn)return _h(t,e)}function Mh(e,t,n,r){let o=t[Xe].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(DI(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Zc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Mh(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=q;d<l.length;d++){let p=l[d];p[Mt]===p[ee]&&Zc(p[I],p,u,r)}if(l[sn]!==null){let d=l[sn];for(let p=0;p<d.length;p++){let f=d[p];Zc(f[I],f,u,r)}}}}}return r}function Pu(e,t){return e[Xe].queries[t].queryList}function Sh(e,t,n){let r=new Hi((n&4)===4);return Gd(e,t,r,r.destroy),(t[Xe]??=new Gc).queries.push(new zc(r))-1}function Nh(e,t,n){let r=H();return r.firstCreatePass&&(xh(r,new qi(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Sh(r,D(),t)}function Ah(e,t,n,r){let o=H();if(o.firstCreatePass){let i=te();xh(o,new qi(t,n,r),i.index),wI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Sh(o,D(),n)}function II(e){return e.split(",").map(t=>t.trim())}function xh(e,t,n){e.queries===null&&(e.queries=new Wc),e.queries.track(new qc(t,n))}function wI(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 Lu(e,t){return e.queries.getByIndex(t)}function Rh(e,t){let n=e[I],r=Lu(n,t);return r.crossesNgTemplate?Zc(n,e,t,[]):Mh(n,e,r,t)}function Oh(e,t,n){let r,o=pr(()=>{r._dirtyCounter();let i=CI(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[J],r._dirtyCounter=bi(0),r._flatValue=void 0,o}function ju(e){return Oh(!0,!1,e)}function Bu(e){return Oh(!0,!0,e)}function kh(e,t){let n=e[J];n._lView=D(),n._queryIndex=t,n._queryList=Pu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function CI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[_]&4)return t?void 0:re;let o=Pu(n,r),i=Rh(n,r);return o.reset(i,yp),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var hn=class{},Fh=class{};var Zi=class extends hn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Gi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Sa(t);this._bootstrapComponents=Up(i.bootstrap),this._r3Injector=ic(t,n,[{provide:hn,useValue:this},{provide:Yr,useValue:this.componentFactoryResolver},...r],Ir(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)}},Yi=class extends Fh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Zi(this.moduleType,t,[])}};var Vr=class extends hn{injector;componentFactoryResolver=new Gi(this);instance=null;constructor(t){super();let n=new Kt([...t.providers,{provide:hn,useValue:this},{provide:Yr,useValue:this.componentFactoryResolver}],t.parent||xn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ph(e,t,n=null){return new Vr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var bI=(()=>{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=ka(!1,n.type),o=r.length>0?Ph([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=T({token:e,providedIn:"environment",factory:()=>new e(b(le))})}return e})();function TI(e){return Ur(()=>{let t=Lh(e),n=G(B({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===uu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(bI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$e.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&mt("NgStandalone"),jh(n);let r=e.dependencies;return n.directiveDefs=zf(r,_I),n.pipeDefs=zf(r,Td),n.id=NI(n),n})}function _I(e){return Je(e)||ai(e)}function Kn(e){return Ur(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function MI(e,t){if(e==null)return ke;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=as.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function SI(e){if(e==null)return ke;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ys(e){return Ur(()=>{let t=Lh(e);return jh(t),t})}function Qr(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 Lh(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||ke,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:MI(e.inputs,t),outputs:SI(e.outputs),debugInfo:null}}function jh(e){e.features?.forEach(t=>t(e))}function zf(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 NI(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 AI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=xI,n.hostDirectives=r?e.map(Yc):[e]):r?n.hostDirectives.unshift(...e.map(Yc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function xI(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,Bh(s,t,r),o.set(s,[a,t.length-1])}i===0&&je(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 Bh(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)Gf(Yc(i),t,n)}else Gf(r,t,n)}function Gf(e,t,n){let r=ai(e.directive);RI(r.declaredInputs,e.inputs),Bh(r,t,n),n.set(r,e),t.push(r)}function Yc(e){return typeof e=="function"?{directive:X(e),inputs:ke,outputs:ke}:{directive:X(e.directive),inputs:Wf(e.inputs),outputs:Wf(e.outputs)}}function Wf(e){if(e===void 0||e.length===0)return ke;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function RI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function OI(e){return Object.getPrototypeOf(e.prototype).constructor}function Vh(e){let t=OI(e.type),n=!0,r=[e];for(;t;){let o;if(je(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=gc(e.inputs),s.declaredInputs=gc(e.declaredInputs),s.outputs=gc(e.outputs);let a=o.hostBindings;a&&jI(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&PI(e,c),u&&LI(e,u),kI(e,o),bd(e.outputs,o.outputs),je(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===Vh&&(n=!1)}}t=Object.getPrototypeOf(t)}FI(r)}function kI(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 FI(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=Un(o.hostAttrs,n=Un(n,o.hostAttrs))}}function gc(e){return e===ke?{}:e===re?[]:e}function PI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function LI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function jI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Hh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Un(e.mergedAttrs,e.attrs);let l=e.tView=vu(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),Ln(e,!1);let c=VI(n,t,e,r);Ci()&&Tu(n,t,c,e),$n(c,t);let u=ph(c,t,c,e);t[r+V]=u,Eu(t,u),gI(u,e,t)}function BI(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;return t.firstCreatePass?(p=Yn(t,d,4,s||null,a||null),yi()&&Eh(t,e,p,Ie(t.consts,u),Mu),op(t,p)):p=t.data[d],Hh(p,e,t,n,r,o,i,c),Fn(p)&&fs(t,e,p),u!=null&&Wr(e,p,l),p}function Wn(e,t,n,r,o,i,s,a,c,u,l){let d=n+V,p;if(t.firstCreatePass){if(p=Yn(t,d,4,s||null,a||null),u!=null){let f=Ie(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Hh(p,e,t,n,r,o,i,c),u!=null&&Wr(e,p,l),p}function Uh(e,t,n,r,o,i,s,a){let c=D(),u=H(),l=Ie(u.consts,i);return BI(c,u,e,t,n,r,o,l,void 0,s,a),Uh}function $h(e,t,n,r,o,i,s,a){let c=D(),u=H(),l=Ie(u.consts,i);return Wn(c,u,e,t,n,r,o,l,void 0,s,a),$h}var VI=HI;function HI(e,t,n,r){return Ar(!0),t[P].createComment("")}var zh=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Vu(e){return typeof e=="function"&&e[J]!==void 0}function Hu(e){return Vu(e)&&typeof e.set=="function"}var Uu=new C("");function Kr(e){return!!e&&typeof e.then=="function"}function vs(e){return!!e&&typeof e.subscribe=="function"}var $u=new C("");function UI(e){return ct([{provide:$u,multi:!0,useValue:e}])}var zu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g($u,{optional:!0})??[];injector=g(oe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Rn(this.injector,o);if(Kr(i))n.push(i);else if(vs(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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gh=new C("");function Wh(){oa(()=>{let e="";throw new m(600,e)})}function qh(e){return e.isBoundToModule}var $I=10;var Jn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Ve);afterRenderManager=g(us);zonelessEnabled=g(Bn);rootEffectScheduler=g(_i);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ae;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Rt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ce(n=>!n))}constructor(){g(Ge,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(le);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=oe.NULL){return this._injector.get(Y).run(()=>{k(R.BootstrapComponentStart);let s=n instanceof hs;if(!this._injector.get(zu).done){let h="";throw new m(405,h)}let c;s?c=n:c=this._injector.get(Yr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=qh(c)?void 0:this._injector.get(hn),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Uu,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Fr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),k(R.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(R.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(cs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw k(R.ChangeDetectionEnd),new m(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),k(R.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(pn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<$I;){k(R.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{k(R.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&&!Mr(o))continue;let i=r&&!this.zonelessEnabled?0:1;uh(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})=>Mr(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;Fr(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(Gh,[]).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),()=>Fr(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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Fr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Zh(e,t,n,r){let o=D(),i=At();if(we(o,i,t)){let s=H(),a=Nr();pE(a,o,e,t,n,r)}return Zh}function zI(){return D()[ie][W]}var Qc=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 mc(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function GI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){E(r);let u=t.length-1;for(E(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=mc(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],w=mc(a,f,u,h,n);if(w!==0){w<0&&e.updateValue(a,h),a--,u--;continue}let y=n(s,l),v=n(a,f),F=n(s,d);if(Object.is(F,v)){let ve=n(u,h);Object.is(ve,y)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Qi,i??=Zf(e,s,a,n),Kc(e,o,s,F))e.updateValue(s,d),s++,a++;else if(i.has(F))o.set(y,e.detach(s)),a--;else{let ve=e.create(s,t[s]);e.attach(s,ve),s++,a++}}for(;s<=u;)qf(e,o,n,s,t[s]),s++}else if(t!=null){E(r);let u=t[Symbol.iterator]();E(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=mc(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new Qi,i??=Zf(e,s,a,n);let h=n(s,p);if(Kc(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let w=n(s,d);o.set(w,e.detach(s)),a--}}}for(;!l.done;)qf(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 Kc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function qf(e,t,n,r,o){if(Kc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Zf(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 Qi=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 WI(e,t,n,r,o,i,s,a){mt("NgControlFlow");let c=D(),u=H(),l=Ie(u.consts,i);return Wn(c,u,e,t,n,r,o,l,256,s,a),Gu}function Gu(e,t,n,r,o,i,s,a){mt("NgControlFlow");let c=D(),u=H(),l=Ie(u.consts,i);return Wn(c,u,e,t,n,r,o,l,512,s,a),Gu}function qI(e,t){mt("NgControlFlow");let n=D(),r=At(),o=n[r]!==fe?n[r]:-1,i=o!==-1?Ki(n,V+o):void 0,s=0;if(we(n,r,e)){let a=E(null);try{if(i!==void 0&&gh(i,s),e!==-1){let c=V+e,u=Ki(n,c),l=tu(n[I],c),d=yh(u,l,n),p=qr(n,l,t,{dehydratedView:d});Zr(u,p,s,zn(l,d))}}finally{E(a)}}else if(i!==void 0){let a=hh(i,s);a!==void 0&&(a[W]=t)}}var Jc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-q}};function ZI(e){return e}function YI(e,t){return t}var Xc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function QI(e,t,n,r,o,i,s,a,c,u,l,d,p){mt("NgControlFlow");let f=D(),h=H(),w=c!==void 0,y=D(),v=a?s.bind(y[ie][W]):s,F=new Xc(w,v);y[V+e]=F,Wn(f,h,e+1,t,n,r,o,Ie(h.consts,i),256),w&&Wn(f,h,e+2,c,u,l,d,Ie(h.consts,p),512)}var eu=class extends Qc{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-q}at(t){return this.getLView(t)[W].$implicit}attach(t,n){let r=n[tn];this.needsIndexUpdate||=t!==this.length,Zr(this.lContainer,n,t,zn(this.templateTNode,r)),JI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,XI(this.lContainer,t),ew(this.lContainer,t)}create(t,n){let r=$i(this.lContainer,this.templateTNode.tView.ssrId);return qr(this.hostLView,this.templateTNode,new Jc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ls(t[I],t)}updateValue(t,n){this.getLView(t)[W].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[W].$index=t}getLView(t){return tw(this.lContainer,t)}};function KI(e){let t=E(null),n=et();try{let r=D(),o=r[I],i=r[n],s=n+1,a=Ki(r,s);if(i.liveCollection===void 0){let u=tu(o,s);i.liveCollection=new eu(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(GI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=At(),l=c.length===0;if(we(r,u,l)){let d=n+2,p=Ki(r,d);if(l){let f=tu(o,d),h=yh(p,f,r),w=qr(r,f,void 0,{dehydratedView:h});Zr(p,w,0,zn(f,h))}else o.firstUpdatePass&&LE(p),gh(p,0)}}}finally{E(t)}}function Ki(e,t){return e[t]}function JI(e,t){if(e.length<=q)return;let n=q+t,r=e[n],o=r?r[St]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ut];GD(i,o),fn.delete(r[lt]),o.detachedLeaveAnimationFns=void 0}}function XI(e,t){if(e.length<=q)return;let n=q+t,r=e[n],o=r?r[St]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function ew(e,t){return Br(e,t)}function tw(e,t){return hh(e,t)}function tu(e,t){return hi(e,t)}function Yh(e,t,n){let r=D(),o=At();if(we(r,o,t)){let i=H(),s=Nr();nh(s,r,e,t,r[P],n)}return Yh}function nu(e,t,n,r,o){Au(t,e,n,o?"class":"style",r)}function Ji(e,t,n,r){let o=D(),i=o[I],s=e+V,a=i.firstCreatePass?Ou(s,o,2,t,Mu,yi(),n,r):i.data[s];if(ft(a)){let c=o[Pe].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(bh(u),()=>(Yf(e,t,o,a,r),Ji))}}return Yf(e,t,o,a,r),Ji}function Yf(e,t,n,r,o){if(Su(r,n,e,t,Jh),Fn(r)){let i=n[I];fs(i,n,r),du(i,r,n)}o!=null&&Wr(n,r)}function Wu(){let e=H(),t=te(),n=Nu(t);return e.firstCreatePass&&ku(e,n),Ka(n)&&Ja(),Ya(),n.classesWithoutHost!=null&&bv(n)&&nu(e,n,D(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Tv(n)&&nu(e,n,D(),n.stylesWithoutHost,!1),Wu}function Qh(e,t,n,r){return Ji(e,t,n,r),Wu(),Qh}function qu(e,t,n,r){let o=D(),i=o[I],s=e+V,a=i.firstCreatePass?JE(s,i,2,t,n,r):i.data[s];return Su(a,o,e,t,Jh),r!=null&&Wr(o,a),qu}function Zu(){let e=te(),t=Nu(e);return Ka(t)&&Ja(),Ya(),Zu}function Kh(e,t,n,r){return qu(e,t,n,r),Zu(),Kh}var Jh=(e,t,n,r,o)=>(Ar(!0),Lp(t[P],r,df()));function Yu(e,t,n){let r=D(),o=r[I],i=e+V,s=o.firstCreatePass?Ou(i,r,8,"ng-container",Mu,yi(),t,n):o.data[i];if(Su(s,r,e,"ng-container",nw),Fn(s)){let a=r[I];fs(a,r,s),du(a,s,r)}return n!=null&&Wr(r,s),Yu}function Qu(){let e=H(),t=te(),n=Nu(t);return e.firstCreatePass&&ku(e,n),Qu}function Xh(e,t,n){return Yu(e,t,n),Qu(),Xh}var nw=(e,t,n,r,o)=>(Ar(!0),yD(t[P],""));function rw(){return D()}function eg(e,t,n){let r=D(),o=At();if(we(r,o,t)){let i=H(),s=Nr();rh(s,r,e,t,r[P],n)}return eg}var Rr=void 0;function ow(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var iw=["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"]],Rr,[["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"]],Rr,[["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}",Rr,Rr,Rr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",ow],yc={};function ge(e){let t=sw(e),n=Qf(t);if(n)return n;let r=t.split("-")[0];if(n=Qf(r),n)return n;if(r==="en")return iw;throw new m(701,!1)}function Qf(e){return e in yc||(yc[e]=be.ng&&be.ng.common&&be.ng.common.locales&&be.ng.common.locales[e]),yc[e]}var Z=(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})(Z||{});function sw(e){return e.toLowerCase().replace(/_/g,"-")}var Jr="en-US";var aw=Jr;function tg(e){typeof e=="string"&&(aw=e.toLowerCase().replace(/_/g,"-"))}function ng(e,t,n){let r=D(),o=H(),i=te();return og(o,r,r[P],i,e,t,n),ng}function rg(e,t,n){let r=D(),o=H(),i=te();return(i.type&3||n)&&wh(i,o,r,n,r[P],e,t,Fi(i,r,t)),rg}function og(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Fi(r,t,i),wh(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 p=l[d],f=l[d+1];c??=Fi(r,t,i),Hf(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Fi(r,t,i),Hf(r,t,d,o,o,c)}}function cw(e=1){return cf(e)}function uw(e,t){let n=null,r=SD(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?zp(e,i,!0):xD(r,i))return o}return n}function lw(e){let t=D()[ie][de];if(!t.projection){let n=e?e.length:1,r=t.projection=xd(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?uw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function dw(e,t=0,n,r,o,i){let s=D(),a=H(),c=r?e+1:null;c!==null&&Wn(s,a,c,r,o,i,null,n);let u=Yn(a,V+e,16,null,n||null);u.projection===null&&(u.projection=t),tc();let d=!s[tn]||Qa();s[ie][de].projection[u.projection]===null&&c!==null?fw(s,a,c):d&&!os(u)&&nE(a,s,u)}function fw(e,t,n){let r=V+n,o=t.data[r],i=e[r],s=$i(i,o.tView.ssrId),a=qr(e,o,void 0,{dehydratedView:s});Zr(i,a,0,zn(o,s))}function ig(e,t,n,r){return Ah(e,t,n,r),ig}function sg(e,t,n){return Nh(e,t,n),sg}function pw(e){let t=D(),n=H(),r=Ei();Sr(r+1);let o=Lu(n,r);if(e.dirty&&Hd(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Rh(t,r);e.reset(i,yp),e.notifyOnChanges()}return!0}return!1}function hw(){return Pu(D(),Ei())}function ag(e,t,n,r,o){return kh(t,Ah(e,n,r,o)),ag}function cg(e,t,n,r){return kh(e,Nh(t,n,r)),cg}function gw(e=1){Sr(Ei()+e)}function mw(e){let t=Kd();return _r(t,V+e)}function Ai(e,t){return e<<17|t<<2}function gn(e){return e>>17&32767}function yw(e){return(e&2)==2}function vw(e,t){return e&131071|t<<17}function ru(e){return e|2}function qn(e){return(e&131068)>>2}function vc(e,t){return e&-131069|t<<2}function Dw(e){return(e&1)===1}function ou(e){return e|1}function Ew(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=gn(s),c=qn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||An(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=gn(e[a+1]);e[r+1]=Ai(p,a),p!==0&&(e[p+1]=vc(e[p+1],r)),e[a+1]=vw(e[a+1],r)}else e[r+1]=Ai(a,0),a!==0&&(e[a+1]=vc(e[a+1],r)),a=r;else e[r+1]=Ai(c,0),a===0?a=r:e[c+1]=vc(e[c+1],r),c=r;u&&(e[r+1]=ru(e[r+1])),Kf(e,l,r,!0),Kf(e,l,r,!1),Iw(t,l,e,r,i),s=Ai(a,c),i?t.classBindings=s:t.styleBindings=s}function Iw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&An(i,t)>=0&&(n[r+1]=ou(n[r+1]))}function Kf(e,t,n,r){let o=e[n+1],i=t===null,s=r?gn(o):qn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];ww(c,t)&&(a=!0,e[s+1]=r?ou(u):ru(u)),s=r?gn(u):qn(u)}a&&(e[n+1]=r?ru(o):ou(o))}function ww(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?An(e,t)>=0:!1}var Ue={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cw(e){return e.substring(Ue.key,Ue.keyEnd)}function bw(e){return Tw(e),ug(e,lg(e,0,Ue.textEnd))}function ug(e,t){let n=Ue.textEnd;return n===t?-1:(t=Ue.keyEnd=_w(e,Ue.key=t,n),lg(e,t,n))}function Tw(e){Ue.key=0,Ue.keyEnd=0,Ue.value=0,Ue.valueEnd=0,Ue.textEnd=e.length}function lg(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function _w(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function dg(e,t,n){return pg(e,t,n,!1),dg}function fg(e,t){return pg(e,t,null,!0),fg}function Mw(e){Nw(Fw,Sw,e,!0)}function Sw(e,t){for(let n=bw(t);n>=0;n=ug(t,n))di(e,Cw(t),!0)}function pg(e,t,n,r){let o=D(),i=H(),s=vi(2);if(i.firstUpdatePass&&gg(i,e,s,r),t!==fe&&we(o,s,t)){let a=i.data[et()];mg(i,a,o,o[P],e,o[s+1]=Lw(t,n),r,s)}}function Nw(e,t,n,r){let o=H(),i=vi(2);o.firstUpdatePass&&gg(o,null,i,r);let s=D();if(n!==fe&&we(s,i,n)){let a=o.data[et()];if(yg(a,r)&&!hg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=oi(c,n||"")),nu(o,a,s,n,r)}else Pw(o,a,s,s[P],s[i+1],s[i+1]=kw(e,t,n),r,i)}}function hg(e,t){return t>=e.expandoStartIndex}function gg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[et()],s=hg(e,n);yg(i,r)&&t===null&&!s&&(t=!1),t=Aw(o,i,t,r),Ew(o,i,t,n,s,r)}}function Aw(e,t,n,r){let o=rf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Dc(null,e,t,n,r),n=Hr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Dc(o,e,t,n,r),i===null){let c=xw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Dc(null,e,t,c[1],r),c=Hr(c,t.attrs,r),Rw(e,t,r,c))}else i=Ow(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function xw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(qn(r)!==0)return e[gn(r)]}function Rw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[gn(o)]=r}function Ow(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Hr(r,s,n)}return Hr(r,t.attrs,n)}function Dc(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=Hr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Hr(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]),di(e,s,n?!0:t[++i]))}return e===void 0?null:e}function kw(e,t,n){if(n==null||n==="")return re;let r=[],o=Ne(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 Fw(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&di(e,r,n)}function Pw(e,t,n,r,o,i,s,a){o===fe&&(o=re);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 p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,w;l===d?(c+=2,u+=2,p!==f&&(h=d,w=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,w=f),h!==null&&mg(e,t,n,r,h,w,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function mg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=Dw(u)?Jf(c,t,n,o,qn(u),s):void 0;if(!Xi(l)){Xi(i)||yw(u)&&(i=Jf(c,null,n,o,a,s));let d=Ua(et(),n);oE(r,s,d,o,i)}}function Jf(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,p=n[o+1];p===fe&&(p=d?re:void 0);let f=d?fi(p,r):l===r?p:void 0;if(u&&!Xi(f)&&(f=fi(c,r)),Xi(f)&&(a=f,s))return a;let h=e[o+1];o=s?gn(h):qn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=fi(c,r))}return a}function Xi(e){return e!==void 0}function Lw(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ir(Ne(e)))),e}function yg(e,t){return(e.flags&(t?8:16))!==0}function jw(e,t=""){let n=D(),r=H(),o=e+V,i=r.firstCreatePass?Yn(r,o,1,t,null):r.data[o],s=Bw(r,n,i,t);n[o]=s,Ci()&&Tu(r,n,s,i),Ln(i,!1)}var Bw=(e,t,n,r)=>(Ar(!0),gD(t[P],r));function vg(e,t,n,r=""){return we(e,At(),n)?t+en(n)+r:fe}function Vw(e,t,n,r,o,i=""){let s=Jd(),a=Fu(e,s,n,o);return vi(2),a?t+en(n)+r+en(o)+i:fe}function Dg(e){return Ku("",e),Dg}function Ku(e,t,n){let r=D(),o=vg(r,e,t,n);return o!==fe&&Ig(r,et(),o),Ku}function Eg(e,t,n,r,o){let i=D(),s=Vw(i,e,t,n,r,o);return s!==fe&&Ig(i,et(),s),Eg}function Ig(e,t,n){let r=Ua(t,e);mD(e[P],r,n)}function wg(e,t,n){Hu(t)&&(t=t());let r=D(),o=At();if(we(r,o,t)){let i=H(),s=Nr();nh(s,r,e,t,r[P],n)}return wg}function Hw(e,t){let n=Hu(e);return n&&e.set(t),n}function Cg(e,t){let n=D(),r=H(),o=te();return og(r,n,n[P],o,e,t),Cg}function Uw(e,t,n=""){return vg(D(),e,t,n)}function Xf(e,t,n){let r=H();r.firstCreatePass&&bg(t,r.data,r.blueprint,je(e),n)}function bg(e,t,n,r,o){if(e=X(e),Array.isArray(e))for(let i=0;i<e.length;i++)bg(e[i],t,n,r,o);else{let i=H(),s=D(),a=te(),c=Qt(e)?e:X(e.provide),u=Pa(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Qt(e)||!e.multi){let f=new dn(u,o,he,null),h=Ic(c,t,o?l:l+p,d);h===-1?(Cc(Vi(a,s),i,c),Ec(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ic(c,t,l+p,d),h=Ic(c,t,l,l+p),w=f>=0&&n[f],y=h>=0&&n[h];if(o&&!y||!o&&!w){Cc(Vi(a,s),i,c);let v=Gw(o?zw:$w,n.length,o,r,u,e);!o&&y&&(n[h].providerFactory=v),Ec(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=Tg(n[o?h:f],u,!o&&r);Ec(i,e,f>-1?f:h,v)}!o&&r&&y&&n[h].componentProviders++}}}function Ec(e,t,n,r){let o=Qt(t),i=Ld(t);if(o||i){let c=(i?X(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 Tg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ic(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function $w(e,t,n,r,o){return iu(this.multi,[])}function zw(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Pr(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),iu(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],iu(i,s);return s}function iu(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Gw(e,t,n,r,o,i){let s=new dn(e,n,he,null);return s.multi=[],s.index=t,s.componentProviders=0,Tg(s,o,r&&!n),s}function Ww(e,t){return n=>{n.providersResolver=(r,o)=>Xf(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Xf(r,o?o(t):t,!0))}}function qw(e,t){let n=un()+e,r=D();return r[n]===fe?ms(r,n,t()):XE(r,n)}function Zw(e,t,n){return _g(D(),un(),e,t,n)}function Yw(e,t,n,r){return Mg(D(),un(),e,t,n,r)}function Ju(e,t){let n=e[t];return n===fe?void 0:n}function _g(e,t,n,r,o,i){let s=t+n;return we(e,s,o)?ms(e,s+1,i?r.call(i,o):r(o)):Ju(e,s+1)}function Mg(e,t,n,r,o,i,s){let a=t+n;return Fu(e,a,o,i)?ms(e,a+2,s?r.call(s,o,i):r(o,i)):Ju(e,a+2)}function Qw(e,t,n,r,o,i,s,a){let c=t+n;return eI(e,c,o,i,s)?ms(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Ju(e,c+3)}function Kw(e,t){let n=H(),r,o=e+V;n.firstCreatePass?(r=Jw(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=bt(r.type,!0)),s,a=ue(he);try{let c=Bi(!1),u=i();return Bi(c),$a(n,D(),o,u),u}finally{ue(a)}}function Jw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Xw(e,t,n){let r=e+V,o=D(),i=_r(o,r);return Xu(o,r)?_g(o,un(),t,i.transform,n,i):i.transform(n)}function eC(e,t,n,r){let o=e+V,i=D(),s=_r(i,o);return Xu(i,o)?Mg(i,un(),t,s.transform,n,r,s):s.transform(n,r)}function tC(e,t,n,r,o){let i=e+V,s=D(),a=_r(s,i);return Xu(s,i)?Qw(s,un(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Xu(e,t){return e[I].data[t].pure}function nC(e,t){return ps(e,t)}var es=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},rC=(()=>{class e{compileModuleSync(n){return new Yi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Sa(n),i=Up(o.declarations).reduce((s,a)=>{let c=Je(a);return c&&s.push(new kt(c)),s},[]);return new es(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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Sg=(()=>{class e{applicationErrorHandler=g(Ve);appRef=g(Jn);taskService=g(Rt);ngZone=g(Y);zonelessEnabled=g(Bn);tracing=g(Ge,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new K;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Dr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Ti,{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?hf:ac;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(Dr+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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ng(){return[{provide:Oe,useExisting:Sg},{provide:Y,useClass:Er},{provide:Bn,useValue:!0}]}function oC(){return typeof $localize<"u"&&$localize.locale||Jr}var Xn=new C("",{factory:()=>g(Xn,{optional:!0,skipSelf:!0})||oC()});var Ds=class{destroyed=!1;listeners=null;errorHandler=g(Ce,{optional:!0});destroyRef=g(Se);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(Ke(953,!1));return}if(this.listeners===null)return;let n=E(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{E(n)}}};function Es(e){return Dd(e)}function iC(e,t){return pr(e,t?.equal)}var Pg=Symbol("InputSignalNode#UNSET"),mC=G(B({},hr),{transformFn:void 0,applyValueToInputSignal(e,t){Mn(e,t)}});function Lg(e,t){let n=Object.create(mC);n.value=e,n.transformFn=t?.transform;function r(){if(Wt(n),n.value===Pg){let o=null;throw new m(-950,o)}return n.value}return r[J]=n,r}var Ag=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>cu(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function O1(e){return new Ds}function xg(e,t){return Lg(e,t)}function yC(e){return Lg(Pg,e)}var k1=(xg.required=yC,xg);function Rg(e,t){return ju(t)}function vC(e,t){return Bu(t)}var F1=(Rg.required=vC,Rg);function Og(e,t){return ju(t)}function DC(e,t){return Bu(t)}var P1=(Og.required=DC,Og);var EC=(()=>{class e{zone=g(Y);changeDetectionScheduler=g(Oe);applicationRef=g(Jn);applicationErrorHandler=g(Ve);_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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),IC=new C("",{factory:()=>!1});function wC({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new Y(G(B({},jg()),{scheduleInRootZone:t})),[{provide:Bn,useValue:!1},{provide:Y,useFactory:e},{provide:at,multi:!0,useFactory:()=>{let n=g(EC,{optional:!0});return()=>n.initialize()}},{provide:at,multi:!0,useFactory:()=>{let n=g(CC);return()=>{n.initialize()}}},{provide:Ti,useValue:t??sc}]}function L1(e){let t=e?.scheduleInRootZone,n=wC({ngZoneFactory:()=>{let r=jg(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&mt("NgZone_CoalesceEvent"),new Y(r)},scheduleInRootZone:t});return ct([{provide:IC,useValue:!0},n])}function jg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var CC=(()=>{class e{subscription=new K;initialized=!1;zone=g(Y);pendingTasks=g(Rt);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(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var tl=new C(""),bC=new C("");function Xr(e){return!e.moduleRef}function TC(e){let t=Xr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{Xr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ve),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Xr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(tl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(tl);s.add(i),e.moduleRef.onDestroy(()=>{Fr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return MC(r,n,()=>{let i=t.get(Rt),s=i.add(),a=t.get(zu);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Xn,Jr);if(tg(c||Jr),!t.get(bC,!0))return Xr(e)?t.get(Jn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Xr(e)){let l=t.get(Jn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return _C?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var _C;function MC(e,t,n){try{let r=n();return Kr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Is=null;function SC(e=[],t){return oe.create({name:t,providers:[{provide:br,useValue:"platform"},{provide:tl,useValue:new Set([()=>Is=null])},...e]})}function NC(e=[]){if(Is)return Is;let t=SC(e);return Is=t,Wh(),AC(t),t}function AC(e){let t=e.get(ns,null);Rn(e,()=>{t?.forEach(n=>n())})}var xC=1e4;var j1=xC-1e3;var rl=(()=>{class e{static __NG_ELEMENT_ID__=RC}return e})();function RC(e){return OC(te(),D(),(e&16)===16)}function OC(e,t,n){if(ft(e)&&!n){let r=Me(e.index,t);return new Ot(r,r)}else if(e.type&175){let r=t[ie];return new Ot(r,t)}return null}function Bg(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;k(R.BootstrapApplicationStart);try{let i=o?.injector??NC(r),s=[Ng(),mf,...n||[]],a=new Vr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return TC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{k(R.BootstrapApplicationEnd)}}function kC(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function FC(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var el=Symbol("NOT_SET"),Vg=new Set,PC=G(B({},hr),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:el,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!==el&&!Tn(this))return this.signal;try{for(let o of this.cleanup??Vg)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=wt(this),r;try{r=this.userFn.apply(null,t)}finally{qt(this,n)}return(this.value===el||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),nl=class extends Lr{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(Se),s),this.scheduler=o;for(let a of wu){let c=n[a];if(c===void 0)continue;let u=Object.create(PC);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(Wt(u),u.value),u.signal[J]=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??Vg)n()}finally{Ct(t)}}};function B1(e,t){let n=t?.injector??g(oe),r=n.get(Oe),o=n.get(us),i=n.get(Ge,null,{optional:!0});o.impl??=n.get(Cu);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(jn,null,{optional:!0}),c=new nl(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function V1(e,t){let n=Je(e),r=t.elementInjector||xn();return new kt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function H1(e){let t=Je(e);if(!t)return null;let n=new kt(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 Hg=null;function yt(){return Hg}function ol(e){Hg??=e}var eo=class{},Pt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>g(Ug),providedIn:"platform"})}return e})(),LC=new C(""),Ug=(()=>{class e extends Pt{_location;_history;_doc=g($);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return yt().getBaseHref(this._doc)}onPopState(n){let r=yt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=yt().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=T({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ws(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function $g(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function We(e){return e&&e[0]!=="?"?`?${e}`:e}var er=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:()=>g(Gg),providedIn:"root"})}return e})(),Cs=new C(""),Gg=(()=>{class e extends er{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g($).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 ws(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+We(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+We(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+We(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)(b(Pt),b(Cs,8))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Wg=(()=>{class e{_subject=new ae;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=VC($g(zg(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+We(r))}normalize(n){return e.stripTrailingSlash(BC(this._basePath,zg(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+We(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+We(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=We;static joinWithSlash=ws;static stripTrailingSlash=$g;static \u0275fac=function(r){return new(r||e)(b(er))};static \u0275prov=T({token:e,factory:()=>jC(),providedIn:"root"})}return e})();function jC(){return new Wg(b(er))}function BC(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function zg(e){return e.replace(/\/index.html$/,"")}function VC(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var HC=(()=>{class e extends er{_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=ws(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+We(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+We(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)(b(Pt),b(Cs,8))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})();var pl=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(pl||{});var se=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(se||{}),L=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(L||{}),me=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(me||{}),ye={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 Qg(e){return ge(e)[Z.LocaleId]}function Kg(e,t,n){let r=ge(e),o=[r[Z.DayPeriodsFormat],r[Z.DayPeriodsStandalone]],i=Ae(o,t);return Ae(i,n)}function Jg(e,t,n){let r=ge(e),o=[r[Z.DaysFormat],r[Z.DaysStandalone]],i=Ae(o,t);return Ae(i,n)}function Xg(e,t,n){let r=ge(e),o=[r[Z.MonthsFormat],r[Z.MonthsStandalone]],i=Ae(o,t);return Ae(i,n)}function em(e,t){let r=ge(e)[Z.Eras];return Ae(r,t)}function to(e,t){let n=ge(e);return Ae(n[Z.DateFormat],t)}function no(e,t){let n=ge(e);return Ae(n[Z.TimeFormat],t)}function ro(e,t){let r=ge(e)[Z.DateTimeFormat];return Ae(r,t)}function rt(e,t){let n=ge(e),r=n[Z.NumberSymbols][t];if(typeof r>"u"){if(t===ye.CurrencyDecimal)return n[Z.NumberSymbols][ye.Decimal];if(t===ye.CurrencyGroup)return n[Z.NumberSymbols][ye.Group]}return r}function tm(e,t){return ge(e)[Z.NumberFormats][t]}function nm(e){if(!e[Z.ExtraData])throw new m(2303,!1)}function rm(e){let t=ge(e);return nm(t),(t[Z.ExtraData][2]||[]).map(r=>typeof r=="string"?il(r):[il(r[0]),il(r[1])])}function om(e,t,n){let r=ge(e);nm(r);let o=[r[Z.ExtraData][0],r[Z.ExtraData][1]],i=Ae(o,t)||[];return Ae(i,n)||[]}function Ae(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function il(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var UC=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,bs={},$C=/((?:[^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 im(e,t,n,r){let o=JC(e);t=vt(n,t)||t;let s=[],a;for(;t;)if(a=$C.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=am(r,c),o=KC(o,r));let u="";return s.forEach(l=>{let d=YC(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Ns(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function vt(e,t){let n=Qg(e);if(bs[n]??={},bs[n][t])return bs[n][t];let r="";switch(t){case"shortDate":r=to(e,me.Short);break;case"mediumDate":r=to(e,me.Medium);break;case"longDate":r=to(e,me.Long);break;case"fullDate":r=to(e,me.Full);break;case"shortTime":r=no(e,me.Short);break;case"mediumTime":r=no(e,me.Medium);break;case"longTime":r=no(e,me.Long);break;case"fullTime":r=no(e,me.Full);break;case"short":let o=vt(e,"shortTime"),i=vt(e,"shortDate");r=Ts(ro(e,me.Short),[o,i]);break;case"medium":let s=vt(e,"mediumTime"),a=vt(e,"mediumDate");r=Ts(ro(e,me.Medium),[s,a]);break;case"long":let c=vt(e,"longTime"),u=vt(e,"longDate");r=Ts(ro(e,me.Long),[c,u]);break;case"full":let l=vt(e,"fullTime"),d=vt(e,"fullDate");r=Ts(ro(e,me.Full),[l,d]);break}return r&&(bs[n][t]=r),r}function Ts(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function qe(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 zC(e,t){return qe(e,3).substring(0,t)}function Q(e,t,n=0,r=!1,o=!1){return function(i,s){let a=GC(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return zC(a,t);let c=rt(s,ye.MinusSign);return qe(a,t,c,r,o)}}function GC(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 U(e,t,n=se.Format,r=!1){return function(o,i){return WC(o,i,e,t,n,r)}}function WC(e,t,n,r,o,i){switch(n){case 2:return Xg(t,o,r)[e.getMonth()];case 1:return Jg(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=rm(t),l=om(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,w=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(w&&y)return!0}else if(w||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Kg(t,o,r)[s<12?0:1];case 3:return em(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function _s(e){return function(t,n,r){let o=-1*r,i=rt(n,ye.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+qe(s,2,i)+qe(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+qe(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+qe(s,2,i)+":"+qe(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+qe(s,2,i)+":"+qe(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var qC=0,Ss=4;function ZC(e){let t=Ns(e,qC,1).getDay();return Ns(e,0,1+(t<=Ss?Ss:Ss+7)-t)}function sm(e){let t=e.getDay(),n=t===0?-3:Ss-t;return Ns(e.getFullYear(),e.getMonth(),e.getDate()+n)}function sl(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=sm(n),s=ZC(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return qe(o,e,rt(r,ye.MinusSign))}}function Ms(e,t=!1){return function(n,r){let i=sm(n).getFullYear();return qe(i,e,rt(r,ye.MinusSign),t)}}var al={};function YC(e){if(al[e])return al[e];let t;switch(e){case"G":case"GG":case"GGG":t=U(3,L.Abbreviated);break;case"GGGG":t=U(3,L.Wide);break;case"GGGGG":t=U(3,L.Narrow);break;case"y":t=Q(0,1,0,!1,!0);break;case"yy":t=Q(0,2,0,!0,!0);break;case"yyy":t=Q(0,3,0,!1,!0);break;case"yyyy":t=Q(0,4,0,!1,!0);break;case"Y":t=Ms(1);break;case"YY":t=Ms(2,!0);break;case"YYY":t=Ms(3);break;case"YYYY":t=Ms(4);break;case"M":case"L":t=Q(1,1,1);break;case"MM":case"LL":t=Q(1,2,1);break;case"MMM":t=U(2,L.Abbreviated);break;case"MMMM":t=U(2,L.Wide);break;case"MMMMM":t=U(2,L.Narrow);break;case"LLL":t=U(2,L.Abbreviated,se.Standalone);break;case"LLLL":t=U(2,L.Wide,se.Standalone);break;case"LLLLL":t=U(2,L.Narrow,se.Standalone);break;case"w":t=sl(1);break;case"ww":t=sl(2);break;case"W":t=sl(1,!0);break;case"d":t=Q(2,1);break;case"dd":t=Q(2,2);break;case"c":case"cc":t=Q(7,1);break;case"ccc":t=U(1,L.Abbreviated,se.Standalone);break;case"cccc":t=U(1,L.Wide,se.Standalone);break;case"ccccc":t=U(1,L.Narrow,se.Standalone);break;case"cccccc":t=U(1,L.Short,se.Standalone);break;case"E":case"EE":case"EEE":t=U(1,L.Abbreviated);break;case"EEEE":t=U(1,L.Wide);break;case"EEEEE":t=U(1,L.Narrow);break;case"EEEEEE":t=U(1,L.Short);break;case"a":case"aa":case"aaa":t=U(0,L.Abbreviated);break;case"aaaa":t=U(0,L.Wide);break;case"aaaaa":t=U(0,L.Narrow);break;case"b":case"bb":case"bbb":t=U(0,L.Abbreviated,se.Standalone,!0);break;case"bbbb":t=U(0,L.Wide,se.Standalone,!0);break;case"bbbbb":t=U(0,L.Narrow,se.Standalone,!0);break;case"B":case"BB":case"BBB":t=U(0,L.Abbreviated,se.Format,!0);break;case"BBBB":t=U(0,L.Wide,se.Format,!0);break;case"BBBBB":t=U(0,L.Narrow,se.Format,!0);break;case"h":t=Q(3,1,-12);break;case"hh":t=Q(3,2,-12);break;case"H":t=Q(3,1);break;case"HH":t=Q(3,2);break;case"m":t=Q(4,1);break;case"mm":t=Q(4,2);break;case"s":t=Q(5,1);break;case"ss":t=Q(5,2);break;case"S":t=Q(6,1);break;case"SS":t=Q(6,2);break;case"SSS":t=Q(6,3);break;case"Z":case"ZZ":case"ZZZ":t=_s(0);break;case"ZZZZZ":t=_s(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=_s(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=_s(2);break;default:return null}return al[e]=t,t}function am(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function QC(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function KC(e,t,n){let o=e.getTimezoneOffset(),i=am(t,o);return QC(e,-1*(i-o))}function JC(e){if(qg(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 Ns(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(UC))return XC(r)}let t=new Date(e);if(!qg(t))throw new m(2311,!1);return t}function XC(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 qg(e){return e instanceof Date&&!isNaN(e.valueOf())}var eb=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Zg=22,As=".",oo="0",tb=";",nb=",",cl="#";function rb(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=rt(n,ye.Infinity);else{let u=sb(e);s&&(u=ib(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let F=i.match(eb);if(F===null)throw new m(2306,!1);let ve=F[1],z=F[3],Et=F[5];ve!=null&&(l=ul(ve)),z!=null&&(d=ul(z)),Et!=null?p=ul(Et):z!=null&&d>p&&(p=d)}ab(u,d,p);let f=u.digits,h=u.integerLen,w=u.exponent,y=[];for(c=f.every(F=>!F);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?y=f.splice(h,f.length):(y=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(rt(n,r)),y.length&&(a+=rt(n,o)+y.join("")),w&&(a+=rt(n,ye.Exponential)+"+"+w)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function cm(e,t,n){let r=tm(t,pl.Decimal),o=ob(r,rt(t,ye.MinusSign));return rb(e,o,t,ye.Group,ye.Decimal,n)}function ob(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(tb),o=r[0],i=r[1],s=o.indexOf(As)!==-1?o.split(As):[o.substring(0,o.lastIndexOf(oo)+1),o.substring(o.lastIndexOf(oo)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(cl));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===oo?n.minFrac=n.maxFrac=l+1:d===cl?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(nb);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(cl);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 ib(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 sb(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(As))>-1&&(t=t.replace(As,"")),(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)===oo;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===oo;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Zg&&(r=r.splice(0,Zg-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function ab(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,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function ul(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var ll=/\s+/,Yg=[],cb=(()=>{class e{_ngEl;_renderer;initialClasses=Yg;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(ll):Yg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ll):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(ll).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)(he(Ft),he(gs))};static \u0275dir=ys({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var ub=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(oe);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)(he(Qn))};static \u0275dir=ys({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[su]})}return e})();function hl(e,t){return new m(2100,!1)}var dl=class{createSubscription(t,n,r){return Es(()=>t.subscribe({next:n,error:r}))}dispose(t){Es(()=>t.unsubscribe())}},fl=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},lb=new fl,db=new dl,fb=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=g(Ve);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(Kr(n))return lb;if(vs(n))return db;throw hl(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)(he(rl,16))};static \u0275pipe=Qr({name:"async",type:e,pure:!1})}return e})();var pb="mediumDate",um=new C(""),lm=new C(""),hb=(()=>{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??pb,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return im(n,s,i||this.locale,a)}catch(s){throw hl(e,s.message)}}static \u0275fac=function(r){return new(r||e)(he(Xn,16),he(um,24),he(lm,24))};static \u0275pipe=Qr({name:"date",type:e,pure:!0})}return e})();var gb=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!mb(n))return null;o||=this._locale;try{let i=yb(n);return cm(i,o,r)}catch(i){throw hl(e,i.message)}}static \u0275fac=function(r){return new(r||e)(he(Xn,16))};static \u0275pipe=Qr({name:"number",type:e,pure:!0})}return e})();function mb(e){return!(e==null||e===""||e!==e)}function yb(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 dm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Kn({type:e});static \u0275inj=Jt({})}return e})();function io(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 yn=class{};var ml="browser";function uB(e){return e===ml}var lB=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new gl(g($),window)})}return e})(),gl=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(G(B({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=Db(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(Ke(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(G(B({},n),{left:o-s[0],top:i-s[1]}))}};function Db(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 so=class{_doc;constructor(t){this._doc=t}manager},xs=(()=>{class e extends so{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)(b($))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),ks=new C(""),El=(()=>{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 xs));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof xs);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)(b(ks),b(Y))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),yl="ng-app-id";function fm(e){for(let t of e)t.remove()}function pm(e,t){let n=t.createElement("style");return n.textContent=e,n}function Eb(e,t,n,r){let o=e.head?.querySelectorAll(`style[${yl}="${t}"],link[${yl}="${t}"]`);if(o)for(let i of o)i.removeAttribute(yl),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 Dl(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Il=(()=>{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,Eb(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,pm);r?.forEach(o=>this.addUsage(o,this.external,Dl))}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&&(fm(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])fm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,pm(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Dl(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)(b($),b(ts),b(rs,8),b($r))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),vl={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"},wl=/%COMP%/g;var gm="%COMP%",Ib=`_nghost-${gm}`,wb=`_ngcontent-${gm}`,Cb=!0,bb=new C("",{factory:()=>Cb});function Tb(e){return wb.replace(wl,e)}function _b(e){return Ib.replace(wl,e)}function mm(e,t){return t.map(n=>n.replace(wl,e))}var Cl=(()=>{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 ao(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Os?o.applyToHost(n):o instanceof co&&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 $e.Emulated:i=new Os(c,u,r,this.appId,l,s,a,d);break;case $e.ShadowDom:return new Rs(c,n,r,s,a,this.nonce,d,u);case $e.ExperimentalIsolatedShadowDom:return new Rs(c,n,r,s,a,this.nonce,d);default:i=new co(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)(b(El),b(Il),b(ts),b(bb),b($),b(Y),b(rs),b(Ge,8))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),ao=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(vl[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(hm(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(hm(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=vl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=vl[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=yt().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 hm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Rs=class extends ao{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=mm(r.id,u);for(let d of u){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let l=r.getExternalStyles?.();if(l)for(let d of l){let p=Dl(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}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)}},co=class extends ao{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?mm(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&fn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Os=class extends co{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=Tb(u),this.hostAttr=_b(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 Fs=class e extends eo{supportsDOMEvents=!0;static makeCurrent(){ol(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=Mb();return n==null?null:Sb(n)}resetBaseElement(){uo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return io(document.cookie,t)}},uo=null;function Mb(){return uo=uo||document.head.querySelector("base"),uo?uo.getAttribute("href"):null}function Sb(e){return new URL(e,document.baseURI).pathname}var Nb=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),ym=["alt","control","meta","shift"],Ab={"\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"},xb={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},vm=(()=>{class e extends so{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(()=>yt().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."),ym.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=Ab[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"),ym.forEach(s=>{if(s!==o){let a=xb[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)(b($))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})();function Rb(e,t,n){return Dn(this,null,function*(){let r=B({rootComponent:e},Ob(t,n));return Bg(r)})}function Ob(e,t){return{platformRef:t?.platformRef,appProviders:[...jb,...e?.providers??[]],platformProviders:Lb}}function kb(){Fs.makeCurrent()}function Fb(){return new Ce}function Pb(){return lu(document),document}var Lb=[{provide:$r,useValue:ml},{provide:ns,useValue:kb,multi:!0},{provide:$,useFactory:Pb}];var jb=[{provide:br,useValue:"root"},{provide:Ce,useFactory:Fb},{provide:ks,useClass:xs,multi:!0},{provide:ks,useClass:vm,multi:!0},Cl,Il,El,{provide:pn,useExisting:Cl},{provide:yn,useClass:Nb},[]];var Lt=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 Ls=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()}},js=class{encodeKey(t){return Dm(t)}encodeValue(t){return Dm(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Bb(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 Vb=/%(\d[a-f0-9])/gi,Hb={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Dm(e){return encodeURIComponent(e).replace(Vb,(t,n)=>Hb[n]??t)}function Ps(e){return`${e}`}var Dt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new js,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=Bb(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(Ps):[Ps(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(Ps(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(Ps(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 Ub(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Em(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Im(e){return typeof Blob<"u"&&e instanceof Blob}function wm(e){return typeof FormData<"u"&&e instanceof FormData}function $b(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Cm="Content-Type",bm="Accept",Tm="text/plain",_m="application/json",zb=`${_m}, ${Tm}, */*`,tr=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(Ub(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 Lt,this.context??=new Ls,!this.params)this.params=new Dt,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"||Em(this.body)||Im(this.body)||wm(this.body)||$b(this.body)?this.body:this.body instanceof Dt?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||wm(this.body)?null:Im(this.body)?this.body.type||null:Em(this.body)?null:typeof this.body=="string"?Tm:this.body instanceof Dt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?_m: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,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,w=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,v=t.withCredentials??this.withCredentials,F=t.reportProgress??this.reportProgress,ve=t.headers||this.headers,z=t.params||this.params,Et=t.context??this.context;return t.setHeaders!==void 0&&(ve=Object.keys(t.setHeaders).reduce((or,jt)=>or.set(jt,t.setHeaders[jt]),ve)),t.setParams&&(z=Object.keys(t.setParams).reduce((or,jt)=>or.set(jt,t.setParams[jt]),z)),new e(n,r,y,{params:z,headers:ve,context:Et,reportProgress:F,responseType:o,withCredentials:v,transferCache:h,keepalive:i,cache:a,priority:s,timeout:w,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},vn=(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})(vn||{}),rr=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Lt,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}},Bs=class e extends rr{constructor(t={}){super(t)}type=vn.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})}},lo=class e extends rr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=vn.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})}},nr=class extends rr{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}},Gb=200,Wb=204;var qb=new C("");var Zb=/^\)\]\}',?\n/;var Tl=(()=>{class e{xhrFactory;tracingService=g(Ge,{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 Ro(null).pipe(Po(()=>new x(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,v)=>s.setRequestHeader(y,v.join(","))),n.headers.has(bm)||s.setRequestHeader(bm,zb),!n.headers.has(Cm)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(Cm,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",v=new Lt(s.getAllResponseHeaders()),F=s.responseURL||n.url;return c=new Bs({headers:v,status:s.status,statusText:y,url:F}),c},l=this.maybePropagateTrace(()=>{let{headers:y,status:v,statusText:F,url:ve}=u(),z=null;v!==Wb&&(z=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=z?Gb:0);let Et=v>=200&&v<300;if(n.responseType==="json"&&typeof z=="string"){let or=z;z=z.replace(Zb,"");try{z=z!==""?JSON.parse(z):null}catch(jt){z=or,Et&&(Et=!1,z={error:jt,text:z})}}Et?(i.next(new lo({body:z,headers:y,status:v,statusText:F,url:ve||void 0})),i.complete()):i.error(new nr({error:z,headers:y,status:v,statusText:F,url:ve||void 0}))}),d=this.maybePropagateTrace(y=>{let{url:v}=u(),F=new nr({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(F)}),p=d;n.timeout&&(p=this.maybePropagateTrace(y=>{let{url:v}=u(),F=new nr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(F)}));let f=!1,h=this.maybePropagateTrace(y=>{f||(i.next(u()),f=!0);let v={type:vn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)}),w=this.maybePropagateTrace(y=>{let v={type:vn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),i.next(v)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",w)),s.send(a),i.next({type:vn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",w)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(b(yn))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yb(e,t){return t(e)}function Qb(e,t,n){return(r,o)=>Rn(n,()=>t(r,i=>e(i,o)))}var Mm=new C("",{factory:()=>[]}),Sm=new C(""),Nm=new C("",{factory:()=>!0});var _l=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(Tl),o},providedIn:"root"})}return e})();var Vs=(()=>{class e{backend;injector;chain=null;pendingTasks=g(xr);contributeToStability=g(Nm);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Mm),...this.injector.get(Sm,[])]));this.chain=r.reduceRight((o,i)=>Qb(o,i,this.injector),Yb)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Ks(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(b(_l),b(le))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ml=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(Vs),o},providedIn:"root"})}return e})();function bl(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 Am=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof tr)i=n;else{let c;o.headers instanceof Lt?c=o.headers:c=new Lt(o.headers);let u;o.params&&(o.params instanceof Dt?u=o.params:u=new Dt({fromObject:o.params})),i=new tr(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=Ro(i).pipe(Qs(c=>this.handler.handle(c)));if(n instanceof tr||o.observe==="events")return s;let a=s.pipe(It(c=>c instanceof lo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ce(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(ce(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(ce(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(ce(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 Dt().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,bl(o,r))}post(n,r,o={}){return this.request("POST",n,bl(o,r))}put(n,r,o={}){return this.request("PUT",n,bl(o,r))}static \u0275fac=function(r){return new(r||e)(b(Ml))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Kb=new C("",{factory:()=>!0}),Jb="XSRF-TOKEN",Xb=new C("",{factory:()=>Jb}),eT="X-XSRF-TOKEN",tT=new C("",{factory:()=>eT}),nT=(()=>{class e{cookieName=g(Xb);doc=g($);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=io(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(nT),o},providedIn:"root"})}return e})();function rT(e,t){if(!g(Kb)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=g(Pt).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=g(xm).getToken(),r=g(tT);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function oT(...e){let t=[Am,Vs,{provide:Ml,useExisting:Vs},{provide:_l,useFactory:()=>g(qb,{optional:!0})??g(Tl)},{provide:Mm,useValue:rT,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return ct(t)}var OV=(()=>{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)(b($))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var iT=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(sT),o},providedIn:"root"})}return e})(),sT=(()=>{class e extends iT{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case ze.NONE:return r;case ze.HTML:return ht(r,"HTML")?Ne(r):ss(this._doc,String(r)).toString();case ze.STYLE:return ht(r,"Style")?Ne(r):r;case ze.SCRIPT:if(ht(r,"Script"))return Ne(r);throw new m(5200,!1);case ze.URL:return ht(r,"URL")?Ne(r):zr(String(r));case ze.RESOURCE_URL:if(ht(r,"ResourceURL"))return Ne(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return fu(n)}bypassSecurityTrustStyle(n){return pu(n)}bypassSecurityTrustScript(n){return hu(n)}bypassSecurityTrustUrl(n){return gu(n)}bypassSecurityTrustResourceUrl(n){return mu(n)}static \u0275fac=function(r){return new(r||e)(b($))};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{B as a,G as b,Fm as c,Dn as d,K as e,Bm as f,x as g,ae as h,sr as i,cr as j,$t as k,Ye as l,Ro as m,iy as n,sy as o,ot as p,ay as q,cy as r,ce as s,ry as t,zt as u,dr as v,Vo as w,uy as x,ly as y,dy as z,It as A,fy as B,Ys as C,Qs as D,rd as E,Ho as F,py as G,id as H,Ks as I,ad as J,my as K,yy as L,Xs as M,cd as N,vy as O,ud as P,Po as Q,Dy as R,Ey as S,ld as T,m as U,Ke as V,ii as W,T as X,Jt as Y,Ay as Z,C as _,b as $,g as aa,ct as ba,kd as ca,le as da,Rn as ea,Zd as fa,Yd as ga,uf as ha,lf as ia,oe as ja,$ as ka,Se as la,Rt as ma,it as na,Y as oa,Ce as pa,Ve as qa,sv as ra,bi as sa,yf as ta,su as ua,gp as va,Ft as wa,Hi as xa,ts as ya,$r as za,$v as Aa,rs as Ba,Sp as Ca,ze as Da,ED as Ea,ID as Fa,wD as Ga,jD as Ha,mt as Ia,UD as Ja,Gn as Ka,pn as La,gs as Ma,he as Na,UE as Oa,Qn as Pa,hn as Qa,Fh as Ra,Ph as Sa,TI as Ta,Kn as Ua,ys as Va,Qr as Wa,AI as Xa,Vh as Ya,Uh as Za,$h as _a,zh as $a,Vu as ab,Kr as bb,$u as cb,UI as db,Gh as eb,Jn as fb,Zh as gb,zI as hb,WI as ib,qI as jb,ZI as kb,YI as lb,QI as mb,KI as nb,Yh as ob,Ji as pb,Wu as qb,Qh as rb,qu as sb,Zu as tb,Kh as ub,Yu as vb,Qu as wb,Xh as xb,rw as yb,eg as zb,ng as Ab,rg as Bb,cw as Cb,lw as Db,dw as Eb,ig as Fb,sg as Gb,pw as Hb,hw as Ib,ag as Jb,cg as Kb,gw as Lb,mw as Mb,dg as Nb,fg as Ob,Mw as Pb,jw as Qb,Dg as Rb,Ku as Sb,Eg as Tb,wg as Ub,Hw as Vb,Cg as Wb,Uw as Xb,Ww as Yb,qw as Zb,Zw as _b,Yw as $b,Kw as ac,Xw as bc,eC as cc,tC as dc,nC as ec,rC as fc,Es as gc,iC as hc,Ag as ic,O1 as jc,k1 as kc,F1 as lc,P1 as mc,L1 as nc,rl as oc,kC as pc,FC as qc,B1 as rc,V1 as sc,H1 as tc,yt as uc,LC as vc,er as wc,Gg as xc,Wg as yc,HC as zc,cb as Ac,ub as Bc,fb as Cc,hb as Dc,gb as Ec,dm as Fc,uB as Gc,lB as Hc,Cl as Ic,Rb as Jc,Lt as Kc,Ls as Lc,Dt as Mc,Am as Nc,oT as Oc,OV as Pc,iT as Qc};
@@ -0,0 +1 @@
1
+ import{U as K,_ as j,u as L}from"./chunk-YDXVLOQW.js";import"./chunk-PKKHLHXJ.js";import"./chunk-2DE3OXG3.js";import{b as z,c as F}from"./chunk-KYPMYRHP.js";import{a as x}from"./chunk-VNGIXNER.js";import{a as $,c as y}from"./chunk-PWN5O4WY.js";import{Ab as s,Cb as l,Cc as B,Ha as _,Mb as R,Q as k,Qb as m,Rb as h,Sb as T,Ta as g,Za as S,Zb as E,aa as d,ac as O,bc as V,ec as q,fa as c,ga as p,i as I,ib as b,jb as C,la as D,na as P,ob as u,pb as a,qb as r,s as w,sa as N,t as A,yb as f}from"./chunk-DJBCK5D7.js";function H(o,i){if(o&1){let e=f();a(0,"span",7),m(1,"Delete?"),r(),a(2,"ds-icon-button",8),s("action",function(){c(e);let t=l();return p(t.onDeleteConfirmed())}),r(),a(3,"ds-icon-button",9),s("action",function(){c(e);let t=l();return p(t.onDeleteCancelled())}),r()}}function J(o,i){if(o&1){let e=f();a(0,"ds-kebab-menu",10),s("itemSelected",function(t){c(e);let M=l();return p(M.onMenuAction(t))}),r()}if(o&2){let e=l();u("items",e.menuItems)}}var v=class o{router=d(y);model;namespaceId;deleteRequested=new P;pendingDelete=N(!1);menuItems=[{key:"edit",label:"Edit model",icon:"edit"},{key:"delete",label:"Delete model",icon:"delete",variant:"danger"}];get displayTitle(){return this.model.alias??this.model.apiModelName}onMenuAction(i){switch(i){case"edit":this.router.navigate(["/agentos",this.namespaceId,"ai-models",this.model.id,"edit"]);break;case"delete":this.pendingDelete.set(!0);break}}onDeleteConfirmed(){this.pendingDelete.set(!1),this.deleteRequested.emit(this.model)}onDeleteCancelled(){this.pendingDelete.set(!1)}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=g({type:o,selectors:[["agentos-ai-model-item"]],inputs:{model:"model",namespaceId:"namespaceId"},outputs:{deleteRequested:"deleteRequested"},decls:12,vars:4,consts:[["role","listitem",1,"ai-model-item"],[1,"ai-model-item__body"],[1,"ai-model-item__name"],[1,"ai-model-item__api-name"],[1,"ai-model-item__params"],[1,"ai-model-item__actions"],[3,"items"],[1,"ai-model-item__confirm-label"],["icon","check","variant","danger","title","Confirm deletion",3,"action"],["icon","close","title","Cancel deletion",3,"action"],[3,"itemSelected","items"]],template:function(e,n){e&1&&(a(0,"div",0)(1,"div",1)(2,"span",2),m(3),r(),a(4,"span",3),m(5),r(),a(6,"span",4)(7,"span"),m(8),r()()(),a(9,"div",5),b(10,H,4,0)(11,J,1,1,"ds-kebab-menu",6),r()()),e&2&&(_(3),h(n.displayTitle),_(2),h(n.model.apiModelName),_(3),T("priority: ",n.model.priority),_(2),C(n.pendingDelete()?10:11))},dependencies:[j,L],styles:[".ai-model-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-radius:10px;border:1px solid var(--color-border, rgba(0, 0, 0, .08));background:var(--glass-bg, rgba(255, 255, 255, .72));-webkit-backdrop-filter:var(--glass-backdrop-blur, blur(20px));backdrop-filter:var(--glass-backdrop-blur, blur(20px));transition:background .15s ease,border-color .15s ease}.ai-model-item[_ngcontent-%COMP%]:hover{background:var(--color-bg-hover, rgba(0, 0, 0, .04));border-color:var(--color-primary, #007aff)}.ai-model-item__body[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:.2rem;min-width:0}.ai-model-item__name[_ngcontent-%COMP%]{font-size:.95rem;font-weight:500;color:var(--color-text, #1d1d1f);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-model-item__api-name[_ngcontent-%COMP%]{font-size:.78rem;color:var(--color-text-secondary, #6e6e73);font-family:monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-model-item__params[_ngcontent-%COMP%]{display:flex;gap:.75rem;font-size:.75rem;color:var(--color-text-secondary, #6e6e73)}.ai-model-item__actions[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center;gap:.125rem;opacity:0;transition:opacity .15s ease}.ai-model-item[_ngcontent-%COMP%]:hover .ai-model-item__actions[_ngcontent-%COMP%], .ai-model-item[_ngcontent-%COMP%]:focus-within .ai-model-item__actions[_ngcontent-%COMP%]{opacity:1}.ai-model-item__confirm-label[_ngcontent-%COMP%]{font-size:.8rem;font-weight:500;color:var(--color-error, #ff3b30);margin-right:.25rem;white-space:nowrap}"],changeDetection:0})};var Q=()=>[];function X(o,i){if(o&1){let e=f();a(0,"agentos-ai-model-item",4),s("deleteRequested",function(t){c(e);let M=l(2);return p(M.deleteModel(t))}),r()}if(o&2){let e=l(2);u("model",i)("namespaceId",e.namespaceId)}}function Y(o,i){if(o&1&&b(0,X,1,2,"agentos-ai-model-item",3),o&2){let e,n=i.$implicit,t=l();C((e=t.resolveModel(n.id))?0:-1,e)}}var U=class o{route=d($);router=d(y);destroyRef=d(D);aiModelController=d(z);aiProviderController=d(F);namespaceId=this.route.snapshot.params.namespaceId;refresh$=new I(void 0);data$=this.refresh$.pipe(k(()=>A([this.aiModelController.listByNamespaceIdAiModel(this.namespaceId),this.aiProviderController.listByParentAiProvider(this.namespaceId)])));modelItems$=this.data$.pipe(w(([i,e])=>{let n=new Map(e.map(t=>[t.id??"",t.name]));return i.map(t=>({id:t.id??"",name:t.alias??t.apiModelName,description:t.apiModelName,groupKey:t.aiProviderId,groupLabel:n.get(t.aiProviderId)??t.aiProviderId}))}));modelsById=new Map;constructor(){this.data$.pipe(x(this.destroyRef)).subscribe(([i])=>{this.modelsById=new Map(i.map(e=>[e.id??"",e]))})}goBack(){this.router.navigate(["/agentos","namespaces"])}openCreateForm(){this.router.navigate(["/agentos",this.namespaceId,"ai-models","new"])}deleteModel(i){this.aiModelController.deleteAiModel(i.id??"").pipe(x(this.destroyRef)).subscribe(()=>this.refresh$.next())}resolveModel(i){return this.modelsById.get(i)??null}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=g({type:o,selectors:[["agentos-namespace-ai-models"]],decls:6,vars:6,consts:[["aiModelItemTpl",""],["title","AI models","emptyMessage","No AI models configured yet. Add one above.","cardMinWidth","400px",3,"createRequested","items","showCreate","itemTemplate"],["toolbar-start","","type","button",1,"namespace-ai-models__back",3,"click"],[3,"model","namespaceId"],[3,"deleteRequested","model","namespaceId"]],template:function(e,n){if(e&1&&(a(0,"ds-entity-list",1),O(1,"async"),s("createRequested",function(){return n.openCreateForm()}),a(2,"button",2),s("click",function(){return n.goBack()}),m(3,"\u2190 Namespaces"),r()(),S(4,Y,1,1,"ng-template",null,0,q)),e&2){let t=R(5);u("items",V(1,3,n.modelItems$)??E(5,Q))("showCreate",!0)("itemTemplate",t)}},dependencies:[K,v,B],styles:[".namespace-ai-models__back[_ngcontent-%COMP%]{background:none;border:none;padding:.25rem 0;cursor:pointer;font-size:.85rem;color:var(--color-primary, #007aff);font-family:inherit;white-space:nowrap;flex-shrink:0}.namespace-ai-models__back[_ngcontent-%COMP%]:hover{text-decoration:underline}"],changeDetection:0})};export{U as NamespaceAiModelsComponent};
@@ -0,0 +1 @@
1
+ import{Nc as g,T as c,X as p,aa as l,m as s,s as a}from"./chunk-DJBCK5D7.js";var m=class n{http=l(g);agentsCache=new Map;getAgents(e){let t=this.agentsCache.get(e);return t?s(t):this.http.get(`/api/projects/${e}/agents`).pipe(c(r=>{this.agentsCache.set(e,r)}))}getAgentsAutocomplete(e,t){return this.getAgents(e).pipe(a(r=>{if(!t)return r;let o=t.toLowerCase();return r.filter(i=>{let h=i.name.toLowerCase(),u=i.description?.toLowerCase()||"";return h.includes(o)||u.includes(o)})}))}clearCache(e){this.agentsCache.delete(e)}clearAllCache(){this.agentsCache.clear()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})};export{m as a};
@@ -0,0 +1 @@
1
+ import{a as k,d as O}from"./chunk-KYPMYRHP.js";import{a as I,c as M}from"./chunk-PWN5O4WY.js";import{Bb as v,Cb as h,Cc as P,Ha as s,Nc as w,Qb as r,Rb as _,Ta as f,aa as a,ac as x,bc as E,hb as C,ib as m,jb as p,mb as g,nb as y,sa as u,sb as i,tb as o,zb as b}from"./chunk-DJBCK5D7.js";function S(t,e){t&1&&(i(0,"p",6),r(1,"No cases yet. Start one below."),o())}function T(t,e){if(t&1&&(i(0,"div",7)(1,"span",8),r(2),o(),i(3,"span",9),r(4),o()()),t&2){let n=e.$implicit;s(2),_(n.id),s(2),_(n.status)}}function z(t,e){if(t&1&&g(0,T,5,2,"div",7,C().trackById,!0),t&2){let n=h();y(n)}}function V(t,e){t&1&&m(0,S,2,0,"p",6)(1,z,2,0),t&2&&p(e.length===0?0:1)}var L=class t{http=a(w);router=a(M);route=a(I);config=a(k);caseController=a(O);namespaceId=this.route.snapshot.params.namespaceId;cases$=this.caseController.listByParentCase(this.namespaceId);inputValue=u("");onInput(e){this.inputValue.set(e.target.value)}onKeydown(e){e.key==="Enter"&&!e.shiftKey&&(e.preventDefault(),this.submit())}submit(){this.inputValue().trim()&&this.http.post(`${this.config.basePath}/api/cases`,{namespaceId:this.namespaceId,metadata:{}}).subscribe(n=>{this.inputValue.set(""),this.router.navigate(["/agentos",this.namespaceId,"cases",n.id??""])})}trackById(e,n){return n.id??""}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=f({type:t,selectors:[["agentos-case-list"]],decls:11,vars:4,consts:[[1,"case-list"],[1,"case-list__header"],[1,"case-list__items"],[1,"case-list__composer"],["placeholder","Start a new case\u2026","rows","3",1,"case-list__input",3,"input","keydown","value"],[1,"case-list__hint"],[1,"case-list__empty"],[1,"case-list__item"],[1,"case-list__item-id"],[1,"case-list__item-status"]],template:function(n,l){if(n&1&&(i(0,"div",0)(1,"header",1)(2,"h2"),r(3,"Cases"),o()(),i(4,"div",2),m(5,V,2,1),x(6,"async"),o(),i(7,"div",3)(8,"textarea",4),v("input",function(d){return l.onInput(d)})("keydown",function(d){return l.onKeydown(d)}),o(),i(9,"p",5),r(10,"Press Enter to send, Shift+Enter for new line"),o()()()),n&2){let c;s(5),p((c=E(6,2,l.cases$))?5:-1,c),s(3),b("value",l.inputValue())}},dependencies:[P],styles:[".case-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;max-width:720px;margin:0 auto;padding:2rem;gap:1.5rem}.case-list__header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:1.5rem;font-weight:600;color:var(--color-text, #1d1d1f);letter-spacing:-.02em}.case-list__items[_ngcontent-%COMP%]{flex:1;overflow-y:auto}.case-list__empty[_ngcontent-%COMP%]{color:var(--color-text-secondary, #6e6e73);font-size:.9rem;margin:0}.case-list__composer[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.375rem}.case-list__input[_ngcontent-%COMP%]{width:100%;resize:none;padding:.75rem 1rem;border-radius:12px;border:1px solid var(--color-border, rgba(0, 0, 0, .1));background:var(--glass-bg, rgba(255, 255, 255, .72));-webkit-backdrop-filter:var(--glass-backdrop-blur, blur(20px));backdrop-filter:var(--glass-backdrop-blur, blur(20px));color:var(--color-text, #1d1d1f);font-size:.95rem;font-family:inherit;line-height:1.5;outline:none;box-sizing:border-box;transition:border-color .15s ease}.case-list__input[_ngcontent-%COMP%]:focus{border-color:var(--color-primary, #007aff)}.case-list__input[_ngcontent-%COMP%]::placeholder{color:var(--color-text-secondary, #6e6e73)}.case-list__hint[_ngcontent-%COMP%]{margin:0;font-size:.75rem;color:var(--color-text-secondary, #6e6e73);opacity:.7}"]})};export{L as a};