langflower 0.0.4 → 0.0.6

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 (98) hide show
  1. package/README.md +20 -15
  2. package/docs/public/README.md +15 -0
  3. package/docs/public/configuration.md +56 -0
  4. package/docs/public/extending.md +58 -0
  5. package/docs/public/getting-started.md +61 -0
  6. package/docs/public/how-it-works.md +39 -0
  7. package/docs/public/product.md +43 -0
  8. package/docs/public/using-the-editor.md +53 -0
  9. package/docs/public/workflows.md +49 -0
  10. package/package.json +3 -2
  11. package/ui-dist/chunk-6DQ2XSRW.js +4 -0
  12. package/ui-dist/{chunk-2AICAC67.js → chunk-Y6VMBLSJ.js} +1 -1
  13. package/ui-dist/index.html +2 -2
  14. package/ui-dist/main-RCFTD5AZ.js +311 -0
  15. package/ui-dist/styles-EOXODOI7.css +1 -0
  16. package/vendor/common-nodes/dist/ai/critique/node.d.ts +141 -23
  17. package/vendor/common-nodes/dist/ai/critique/node.js +33 -31
  18. package/vendor/common-nodes/dist/ai/fake-llm/node.d.ts +6 -6
  19. package/vendor/common-nodes/dist/ai/llm-compaction-ui-schema.d.ts +1 -1
  20. package/vendor/common-nodes/dist/ai/llm-compaction-ui-schema.js +2 -1
  21. package/vendor/common-nodes/dist/ai/llm-panel-ui-schema.d.ts +7 -21
  22. package/vendor/common-nodes/dist/ai/llm-panel-ui-schema.js +8 -4
  23. package/vendor/common-nodes/dist/ai/llm-session-shell.d.ts +2 -0
  24. package/vendor/common-nodes/dist/ai/llm-session-shell.js +3 -3
  25. package/vendor/common-nodes/dist/ai/normalize-max-iterations.d.ts +4 -3
  26. package/vendor/common-nodes/dist/ai/normalize-max-iterations.js +4 -3
  27. package/vendor/common-nodes/dist/ai/openai/normalize-compaction-params.d.ts +2 -2
  28. package/vendor/common-nodes/dist/ai/openai/normalize-compaction-params.js +1 -1
  29. package/vendor/common-nodes/dist/ai/openai-llm/node.d.ts +9 -9
  30. package/vendor/common-nodes/dist/ai/resolve-chat-provider-model.d.ts +10 -0
  31. package/vendor/common-nodes/dist/ai/resolve-chat-provider-model.js +8 -0
  32. package/vendor/common-nodes/dist/ai/review/node.d.ts +138 -15
  33. package/vendor/common-nodes/dist/ai/review/node.js +29 -22
  34. package/vendor/common-nodes/dist/ai/run-host-services.d.ts +8 -0
  35. package/vendor/common-nodes/dist/ai/sub-agent/node.d.ts +9 -9
  36. package/vendor/common-nodes/dist/ai/sub-agent/node.js +4 -3
  37. package/vendor/common-nodes/dist/hitl/chat-input/node.js +1 -0
  38. package/vendor/common-nodes/dist/hitl/review-gate/node.js +5 -0
  39. package/vendor/node-sdk/dist/node-factory/define-llm-node/default-llm-ports.js +2 -0
  40. package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.d.ts +1 -1
  41. package/vendor/node-sdk/dist/node-factory/define-reactive-node/io-helpers.d.ts +5 -12
  42. package/vendor/node-sdk/dist/node-factory/define-reactive-node/port-meta.d.ts +13 -0
  43. package/vendor/runtime/dist/runtime-runner.js +7 -4
  44. package/vendor/runtime/dist/runtime.d.ts +1 -1
  45. package/vendor/runtime/dist/types.d.ts +12 -0
  46. package/vendor/server/dist/bridge/attach-langflower-bridge.d.ts +4 -1
  47. package/vendor/server/dist/bridge/attach-langflower-bridge.js +16 -5
  48. package/vendor/server/dist/bridge/bridge-event-log.d.ts +12 -0
  49. package/vendor/server/dist/bridge/bridge-event-log.js +199 -0
  50. package/vendor/server/dist/bridge/build-execution-context.d.ts +1 -1
  51. package/vendor/server/dist/bridge/build-execution-context.js +3 -0
  52. package/vendor/server/dist/bridge/emit-bootstrap.d.ts +4 -2
  53. package/vendor/server/dist/bridge/emit-bootstrap.js +6 -2
  54. package/vendor/server/dist/bridge/settings-draft-controller.d.ts +14 -0
  55. package/vendor/server/dist/bridge/settings-draft-controller.js +178 -0
  56. package/vendor/server/dist/bridge/wire-config-handlers.d.ts +8 -1
  57. package/vendor/server/dist/bridge/wire-config-handlers.js +44 -16
  58. package/vendor/server/dist/bridge/wire-editor-handlers.d.ts +8 -1
  59. package/vendor/server/dist/bridge/wire-editor-handlers.js +40 -1
  60. package/vendor/server/dist/bridge/wire-runner-handlers.js +3 -1
  61. package/vendor/server/dist/config/langflower-config.service.d.ts +2 -0
  62. package/vendor/server/dist/config/langflower-config.service.js +24 -1
  63. package/vendor/server/dist/config/resolve-draft-provider-credentials.d.ts +18 -0
  64. package/vendor/server/dist/config/resolve-draft-provider-credentials.js +60 -0
  65. package/vendor/server/dist/create-server.js +5 -3
  66. package/vendor/server/dist/session/build-session-bootstrap.d.ts +3 -1
  67. package/vendor/server/dist/session/build-session-bootstrap.js +9 -0
  68. package/vendor/server/dist/session/langflower-session.d.ts +7 -2
  69. package/vendor/server/dist/session/langflower-session.js +9 -1
  70. package/vendor/server/dist/session/settings-draft-session.d.ts +24 -0
  71. package/vendor/server/dist/session/settings-draft-session.js +82 -0
  72. package/vendor/server/skeleton/schemas/langflower-config.schema.json +4 -0
  73. package/vendor/server/skeleton/skills/langflower-helper/SKILL.md +20 -8
  74. package/vendor/server/skeleton/skills/langflower-helper/architecture.md +5 -0
  75. package/vendor/server/skeleton/skills/langflower-helper/layout.md +18 -16
  76. package/vendor/server/skeleton/workflows/simple-coder.json +249 -19
  77. package/vendor/server/skeleton/workflows/starter.json +31 -20
  78. package/vendor/shared/dist/langflower-bus-config.d.ts +50 -10
  79. package/vendor/shared/dist/langflower-bus-config.js +52 -11
  80. package/vendor/shared/dist/langflower-config/merge-langflower-config-layers.test.js +4 -0
  81. package/vendor/shared/dist/langflower-config/parse-default-chat-model.d.ts +14 -0
  82. package/vendor/shared/dist/langflower-config/parse-default-chat-model.js +38 -0
  83. package/vendor/shared/dist/langflower-config/parse-default-chat-model.test.d.ts +1 -0
  84. package/vendor/shared/dist/langflower-config/parse-default-chat-model.test.js +41 -0
  85. package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.d.ts +6 -0
  86. package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.js +5 -0
  87. package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.test.d.ts +1 -0
  88. package/vendor/shared/dist/langflower-config/resolve-server-logs-enabled.test.js +11 -0
  89. package/vendor/shared/dist/langflower-config/settings-draft.d.ts +44 -0
  90. package/vendor/shared/dist/langflower-config/settings-draft.js +143 -0
  91. package/vendor/shared/dist/langflower.d.ts +7 -2
  92. package/vendor/shared/dist/langflower.js +3 -0
  93. package/vendor/shared/dist/types/langflower-bootstrap.d.ts +6 -1
  94. package/vendor/shared/dist/types/langflower-config.d.ts +65 -0
  95. package/vendor/shared/dist/types/langflower-editor.d.ts +19 -0
  96. package/ui-dist/chunk-6ZABW4JL.js +0 -4
  97. package/ui-dist/main-XI7IOZKZ.js +0 -311
  98. package/ui-dist/styles-TQGRAC7Q.css +0 -1
@@ -1,4 +0,0 @@
1
- var pp=Object.create;var ai=Object.defineProperty,hp=Object.defineProperties,gp=Object.getOwnPropertyDescriptor,mp=Object.getOwnPropertyDescriptors,yp=Object.getOwnPropertyNames,rr=Object.getOwnPropertySymbols,vp=Object.getPrototypeOf,ci=Object.prototype.hasOwnProperty,sc=Object.prototype.propertyIsEnumerable;var ic=(e,t,n)=>t in e?ai(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||={})ci.call(t,n)&&ic(e,n,t[n]);if(rr)for(var n of rr(t))sc.call(t,n)&&ic(e,n,t[n]);return e},U=(e,t)=>hp(e,mp(t));var Ip=(e,t)=>{var n={};for(var r in e)ci.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&rr)for(var r of rr(e))t.indexOf(r)<0&&sc.call(e,r)&&(n[r]=e[r]);return n};var xE=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var Ep=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yp(t))!ci.call(e,o)&&o!==n&&ai(e,o,{get:()=>t[o],enumerable:!(r=gp(t,o))||r.enumerable});return e};var AE=(e,t,n)=>(n=e!=null?pp(vp(e)):{},Ep(t||!e||!e.__esModule?ai(n,"default",{value:e,enumerable:!0}):n,e));var li=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var G=null,or=!1,ui=1,Dp=null,W=Symbol("SIGNAL");function m(e){let t=G;return G=e,t}function cr(){return G}var Xe={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 et(e){if(or)throw new Error("");if(G===null)return;G.consumerOnSignalRead(e);let t=G.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=G.recomputing;if(r&&(n=t!==void 0?t.nextProducer:G.producers,n!==void 0&&n.producer===e)){G.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===G&&(!r||Tp(o,G)))return;let i=kt(G),s={producer:e,consumer:G,nextProducer:n,prevConsumer:void 0,lastReadVersion:e.version,nextConsumer:void 0};G.producersTail=s,t!==void 0?t.nextProducer=s:G.producers=s,i&&uc(e,s)}function ac(){ui++}function lr(e){if(!(kt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ui)){if(!e.producerMustRecompute(e)&&!Rt(e)){ar(e);return}e.producerRecomputeValue(e),ar(e)}}function di(e){if(e.consumers===void 0)return;let t=or;or=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||wp(r)}}finally{or=t}}function fi(){return G?.consumerAllowSignalWrites!==!1}function wp(e){e.dirty=!0,di(e),e.consumerMarkedDirty?.(e)}function ar(e){e.dirty=!1,e.lastCleanEpoch=ui}function Be(e){return e&&cc(e),m(e)}function cc(e){e.producersTail=void 0,e.recomputing=!0}function tt(e,t){m(t),e&&lc(e)}function lc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(kt(e))do n=pi(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Rt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(lr(n),r!==n.version))return!0}return!1}function $e(e){if(kt(e)){let t=e.producers;for(;t!==void 0;)t=pi(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function uc(e,t){let n=e.consumersTail,r=kt(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)uc(o.producer,o)}function pi(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,!kt(t)){let i=t.producers;for(;i!==void 0;)i=pi(i)}return n}function kt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ur(e){Dp?.(e)}function Tp(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 dr(e,t){return Object.is(e,t)}function dn(e,t){let n=Object.create(Cp);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(lr(n),et(n),n.value===un)throw n.error;return n.value};return r[W]=n,ur(n),r}var ir=Symbol("UNSET"),sr=Symbol("COMPUTING"),un=Symbol("ERRORED"),Cp=U($({},Xe),{value:ir,dirty:!0,error:null,equal:dr,kind:"computed",producerMustRecompute(e){return e.value===ir||e.value===sr},producerRecomputeValue(e){if(e.value===sr)throw new Error("");let t=e.value;e.value=sr;let n=Be(e),r,o=!1;try{r=e.computation(),m(null),o=t!==ir&&t!==un&&r!==un&&e.equal(t,r)}catch(i){r=un,e.error=i}finally{tt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function bp(){throw new Error}var dc=bp;function fc(e){dc(e)}function hi(e){dc=e}var _p=null;function gi(e,t){let n=Object.create(fn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>pc(n);return r[W]=n,ur(n),[r,s=>Ot(n,s),s=>mi(n,s)]}function pc(e){return et(e),e.value}function Ot(e,t){fi()||fc(e),e.equal(e.value,t)||(e.value=t,Mp(e))}function mi(e,t){fi()||fc(e),Ot(e,t(e.value))}var fn=U($({},Xe),{equal:dr,value:void 0,kind:"signal"});function Mp(e){e.version++,ac(),di(e),_p?.(e)}var yi=U($({},Xe),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function vi(e){if(e.dirty=!1,e.version>0&&!Rt(e))return;e.version++;let t=Be(e);try{e.cleanup(),e.fn()}finally{tt(e,t)}}var Ii;function fr(){return Ii}function we(e){let t=Ii;return Ii=e,t}var hc=Symbol("NotFound");function Pt(e){return e===hc||e?.name==="\u0275NotFound"}function gc(e){let t=m(null);try{return e()}finally{m(t)}}function D(e){return typeof e=="function"}function Lt(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 pr=Lt(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 nt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=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(D(r))try{r()}catch(i){t=i instanceof pr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{mc(i)}catch(s){t=t??[],s instanceof pr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)mc(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)&&nt(n,t)}remove(t){let{_finalizers:n}=this;n&&nt(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var Ei=V.EMPTY;function hr(e){return e instanceof V||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function mc(e){D(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ft={setTimeout(e,t,...n){let{delegate:r}=Ft;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ft;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gr(e){Ft.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function pn(){}var yc=Di("C",void 0,void 0);function vc(e){return Di("E",void 0,e)}function Ic(e){return Di("N",e,void 0)}function Di(e,t,n){return{kind:e,value:t,error:n}}var rt=null;function jt(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!rt;if(t&&(rt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=rt;if(rt=null,n)throw r}}else e()}function Ec(e){ue.useDeprecatedSynchronousErrorHandling&&rt&&(rt.errorThrown=!0,rt.error=e)}var ot=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hr(t)&&t.add(this)):this.destination=xp}static create(t,n,r){return new de(t,n,r)}next(t){this.isStopped?Ti(Ic(t),this):this._next(t)}error(t){this.isStopped?Ti(vc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ti(yc,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()}}},Np=Function.prototype.bind;function wi(e,t){return Np.call(e,t)}var Ci=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){mr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){mr(r)}else mr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){mr(n)}}},de=class extends ot{constructor(t,n,r){super();let o;if(D(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&wi(t.next,i),error:t.error&&wi(t.error,i),complete:t.complete&&wi(t.complete,i)}):o=t}this.destination=new Ci(o)}};function mr(e){ue.useDeprecatedSynchronousErrorHandling?Ec(e):gr(e)}function Sp(e){throw e}function Ti(e,t){let{onStoppedNotification:n}=ue;n&&Ft.setTimeout(()=>n(e,t))}var xp={closed:!0,next:pn,error:Sp,complete:pn};var Vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ee(e){return e}function Ap(...e){return bi(e)}function bi(e){return e.length===0?ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{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=kp(n)?n:new de(n,r,o);return jt(()=>{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=Dc(r),new r((o,i)=>{let s=new de({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)}[Vt](){return this}pipe(...n){return bi(n)(this)}toPromise(n){return n=Dc(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 Dc(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function Rp(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function kp(e){return e&&e instanceof ot||Rp(e)&&hr(e)}function Op(e){return D(e?.lift)}function T(e){return t=>{if(Op(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 _(e,t,n,r,o){return new _i(e,t,n,r,o)}var _i=class extends ot{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))}}};var wc=Lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new yr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new wc}next(n){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){jt(()=>{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(){jt(()=>{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?Ei:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,nt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new yr(t,n),e})(),yr=class extends te{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:Ei}};var hn=class extends te{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)}};var gn={now(){return(gn.delegate||Date).now()},delegate:void 0};var mn=class extends te{constructor(t=1/0,n=1/0,r=gn){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 vr=class extends V{constructor(t,n){super()}schedule(t,n=0){return this}};var yn={setInterval(e,t,...n){let{delegate:r}=yn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=yn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ir=class extends vr{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 yn.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&&yn.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,nt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ht=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)}};Ht.now=gn.now;var Er=class extends Ht{constructor(t,n=Ht.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 vn=new Er(Ir),Tc=vn;var it=new S(e=>e.complete());function Dr(e){return e&&D(e.schedule)}function Mi(e){return e[e.length-1]}function Cc(e){return D(Mi(e))?e.pop():void 0}function Te(e){return Dr(Mi(e))?e.pop():void 0}function bc(e,t){return typeof Mi(e)=="number"?e.pop():t}function Mc(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(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function _c(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 st(e){return this instanceof st?(this.v=e,this):new st(e)}function Nc(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(v){return new Promise(function(C,N){i.push([f,v,C,N])>1||c(f,v)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(v){p(i[0][3],v)}}function l(f){f.value instanceof st?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(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 Sc(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 _c=="function"?_c(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(l){i({value:l,done:a})},s)}}var wr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Tr(e){return D(e?.then)}function Cr(e){return D(e[Vt])}function br(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function _r(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 Pp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Mr=Pp();function Nr(e){return D(e?.[Mr])}function Sr(e){return Nc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield st(n.read());if(o)return yield st(void 0);yield yield st(r)}}finally{n.releaseLock()}})}function xr(e){return D(e?.getReader)}function P(e){if(e instanceof S)return e;if(e!=null){if(Cr(e))return Lp(e);if(wr(e))return Fp(e);if(Tr(e))return jp(e);if(br(e))return xc(e);if(Nr(e))return Vp(e);if(xr(e))return Hp(e)}throw _r(e)}function Lp(e){return new S(t=>{let n=e[Vt]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Fp(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function jp(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gr)})}function Vp(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function xc(e){return new S(t=>{Bp(e,t).catch(n=>t.error(n))})}function Hp(e){return xc(Sr(e))}function Bp(e,t){var n,r,o,i;return Mc(this,void 0,void 0,function*(){try{for(n=Sc(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 J(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 Ar(e,t=0){return T((n,r)=>{n.subscribe(_(r,o=>J(r,e,()=>r.next(o),t),()=>J(r,e,()=>r.complete(),t),o=>J(r,e,()=>r.error(o),t)))})}function Rr(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ac(e,t){return P(e).pipe(Rr(t),Ar(t))}function Rc(e,t){return P(e).pipe(Rr(t),Ar(t))}function kc(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Oc(e,t){return new S(n=>{let r;return J(n,t,()=>{r=e[Mr](),J(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)}),()=>D(r?.return)&&r.return()})}function kr(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{J(n,t,()=>{let r=e[Symbol.asyncIterator]();J(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Pc(e,t){return kr(Sr(e),t)}function Lc(e,t){if(e!=null){if(Cr(e))return Ac(e,t);if(wr(e))return kc(e,t);if(Tr(e))return Rc(e,t);if(br(e))return kr(e,t);if(Nr(e))return Oc(e,t);if(xr(e))return Pc(e,t)}throw _r(e)}function Ce(e,t){return t?Lc(e,t):P(e)}function $p(...e){let t=Te(e);return Ce(e,t)}function Up(e,t){let n=D(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Wp(e){return!!e&&(e instanceof S||D(e.lift)&&D(e.subscribe))}var at=Lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function qp(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new de({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new at)}});e.subscribe(i)})}function Fc(e){return e instanceof Date&&!isNaN(e)}function Ue(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Gp}=Array;function zp(e,t){return Gp(t)?e(...t):e(t)}function jc(e){return Ue(t=>zp(e,t))}var{isArray:Qp}=Array,{getPrototypeOf:Zp,prototype:Yp,keys:Kp}=Object;function Vc(e){if(e.length===1){let t=e[0];if(Qp(t))return{args:t,keys:null};if(Jp(t)){let n=Kp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Jp(e){return e&&typeof e=="object"&&Zp(e)===Yp}function Hc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Xp(...e){let t=Te(e),n=Cc(e),{args:r,keys:o}=Vc(e);if(r.length===0)return Ce([],t);let i=new S(eh(r,t,o?s=>Hc(o,s):ee));return n?i.pipe(jc(n)):i}function eh(e,t,n=ee){return r=>{Bc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Bc(t,()=>{let l=Ce(e[c],t),u=!1;l.subscribe(_(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Bc(e,t,n){e?J(n,e,t):t()}function $c(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=v=>l<r?h(v):c.push(v),h=v=>{i&&t.next(v),l++;let C=!1;P(n(v,u++)).subscribe(_(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{C=!0},void 0,()=>{if(C)try{for(l--;c.length&&l<r;){let N=c.shift();s?J(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ct(e,t,n=1/0){return D(t)?ct((r,o)=>Ue((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),T((r,o)=>$c(r,o,e,n)))}function Or(e=1/0){return ct(ee,e)}function Uc(){return Or(1)}function Pr(...e){return Uc()(Ce(e,Te(e)))}function th(e){return new S(t=>{P(e()).subscribe(t)})}function Ni(e=0,t,n=Tc){let r=-1;return t!=null&&(Dr(t)?n=t:r=t),new S(o=>{let i=Fc(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 nh(e=0,t=vn){return e<0&&(e=0),Ni(e,e,t)}function rh(...e){let t=Te(e),n=bc(e,1/0),r=e;return r.length?r.length===1?P(r[0]):Or(n)(Ce(r,t)):it}function In(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Wc(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=P(e(s,Wc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function qc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(_(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function oh(e,t){return D(t)?ct(e,t,1):ct(e,1)}function ih(e,t=vn){return T((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(_(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Gc(e){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Lr(e){return e<=0?()=>it:T((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function sh(e,t=ee){return e=e??ah,T((n,r)=>{let o,i=!0;n.subscribe(_(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function ah(e,t){return e===t}function zc(e=ch){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ch(){return new at}function lh(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function uh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?In((o,i)=>e(o,i,r)):ee,Lr(1),n?Gc(t):zc(()=>new at))}function dh(e){return e<=0?()=>it:T((t,n)=>{let r=[];t.subscribe(_(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 Qc(e,t){return T(qc(e,t,arguments.length>=2,!0))}function Zc(e={}){let{connector:t=()=>new te,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let v=s;f(),v?.unsubscribe()};return T((v,C)=>{l++,!d&&!u&&p();let N=c=c??t();C.add(()=>{l--,l===0&&!d&&!u&&(a=Si(h,o))}),N.subscribe(C),!s&&l>0&&(s=new de({next:le=>N.next(le),error:le=>{d=!0,p(),a=Si(f,n,le),N.error(le)},complete:()=>{u=!0,p(),a=Si(f,r),N.complete()}}),P(v).subscribe(s))})(i)}}function Si(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new de({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function Yc(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,Zc({connector:()=>new mn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function fh(e){return In((t,n)=>e<=n)}function Kc(...e){let t=Te(e);return T((n,r)=>{(t?Pr(e,n,t):Pr(e,n)).subscribe(r)})}function Jc(e,t){return T((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=_(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ph(e){return T((t,n)=>{P(e).subscribe(_(n,()=>n.complete(),pn)),!n.closed&&t.subscribe(n)})}function Xc(e,t,n){let r=D(e)||t||n?{next:e,error:t,complete:n}:e;return r?T((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ee}var Ur="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(bn(t,n)),this.code=t}};function hh(e){return`NG0${Math.abs(e)}`}function bn(e,t){return`${hh(e)}${t?": "+t:""}`}function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function ol(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function _n(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(_n).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 Wr(e,t){return e?t?`${e} ${t}`:e:t||""}var gh=A({__forward_ref__:A});function qr(e){return e.__forward_ref__=qr,e}function H(e){return $i(e)?e():e}function $i(e){return typeof e=="function"&&e.hasOwnProperty(gh)&&e.__forward_ref__===qr}function pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function il(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mn(e){return yh(e,Gr)}function mh(e){return Mn(e)!==null}function yh(e,t){return e.hasOwnProperty(t)&&e[t]||null}function vh(e){let t=e?.[Gr]??null;return t||null}function Ai(e){return e&&e.hasOwnProperty(jr)?e[jr]:null}var Gr=A({\u0275prov:A}),jr=A({\u0275inj:A}),x=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=pe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ui(e){return e&&!!e.\u0275providers}var Wi=A({\u0275cmp:A}),qi=A({\u0275dir:A}),Gi=A({\u0275pipe:A}),zi=A({\u0275mod:A}),Dn=A({\u0275fac:A}),pt=A({__NG_ELEMENT_ID__:A}),el=A({__NG_ENV_ID__:A});function sl(e){return Qr(e,"@NgModule"),e[zi]||null}function Ge(e){return Qr(e,"@Component"),e[Wi]||null}function zr(e){return Qr(e,"@Directive"),e[qi]||null}function al(e){return Qr(e,"@Pipe"),e[Gi]||null}function Qr(e,t){if(e==null)throw new b(-919,!1)}function Ut(e){return typeof e=="string"?e:e==null?"":String(e)}var cl=A({ngErrorCode:A}),Ih=A({ngErrorMessage:A}),Eh=A({ngTokenPath:A});function Qi(e,t){return ll("",-200,t)}function Zr(e,t){throw new b(-201,!1)}function ll(e,t,n){let r=new b(t,e);return r[cl]=t,r[Ih]=e,n&&(r[Eh]=n),r}function Dh(e){return e[cl]}var Ri;function ul(){return Ri}function Y(e){let t=Ri;return Ri=e,t}function Zi(e,t,n){let r=Mn(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;Zr(e,"")}var Wt=globalThis;var wh={},lt=wh,Th="__NG_DI_FLAG__",ki=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ut(n)||0;try{return this.injector.get(t,r&8?null:lt,r)}catch(o){if(Pt(o))return o;throw o}}};function Ch(e,t=0){let n=fr();if(n===void 0)throw new b(-203,!1);if(n===null)return Zi(e,void 0,t);{let r=bh(t),o=n.retrieve(e,r);if(Pt(o)){if(r.optional)return null;throw o}return o}}function be(e,t=0){return(ul()||Ch)(H(e),t)}function E(e,t){return be(e,ut(t))}function ut(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function bh(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Oi(e){let t=[];for(let n=0;n<e.length;n++){let r=H(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=_h(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(be(o,i))}else t.push(be(r))}return t}function _h(e){return e[Th]}function We(e,t){let n=e.hasOwnProperty(Dn);return n?e[Dn]:null}function dl(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 fl(e){return e.flat(Number.POSITIVE_INFINITY)}function Yr(e,t){e.forEach(n=>Array.isArray(n)?Yr(n,t):t(n))}function Yi(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Nn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function pl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function hl(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 Kr(e,t,n){let r=qt(e,t);return r>=0?e[r|1]=n:(r=~r,hl(e,r,t,n)),r}function Jr(e,t){let n=qt(e,t);if(n>=0)return e[n|1]}function qt(e,t){return Mh(e,t,1)}function Mh(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 ze={},z=[],ht=new x(""),Sn=new x("",-1),Ki=new x(""),$t=class{get(t,n=lt){if(n===lt){let o=ll("",-201);throw o.name="\u0275NotFound",o}return n}};function Ji(e){return{\u0275providers:e}}function gl(...e){return{\u0275providers:Xi(!0,e),\u0275fromNgModule:!0}}function Xi(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Yr(t,s=>{let a=s;Vr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ml(o,i),n}function ml(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];es(o,i=>{t(i,r)})}}function Vr(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=Ai(e),s=!i&&Ge(e);if(!i&&!s){let c=e.ngModule;if(i=Ai(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 l of c)Vr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Yr(i.imports,u=>{Vr(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&ml(l,t)}if(!a){let l=We(o)||(()=>new o);t({provide:o,useFactory:l,deps:z},o),t({provide:Ki,useValue:o,multi:!0},o),t({provide:ht,useValue:()=>be(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;es(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function es(e,t){for(let n of e)Ui(n)&&(n=n.\u0275providers),Array.isArray(n)?es(n,t):t(n)}var Nh=A({provide:String,useValue:A});function yl(e){return e!==null&&typeof e=="object"&&Nh in e}function Sh(e){return!!(e&&e.useExisting)}function xh(e){return!!(e&&e.useFactory)}function dt(e){return typeof e=="function"}function vl(e){return!!e.useClass}var ts=new x(""),Fr={},tl={},xi;function Gt(){return xi===void 0&&(xi=new $t),xi}var re=class{},ft=class extends re{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,Li(t,s=>this.processProvider(s)),this.records.set(Sn,Bt(void 0,this)),o.has("environment")&&this.records.set(re,Bt(void 0,this));let i=this.records.get(ts);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ki,z,{self:!0}))}retrieve(t,n){let r=ut(n)||0;try{return this.get(t,lt,r)}catch(o){if(Pt(o))return o;throw o}}destroy(){En(this),this._destroyed=!0;let t=m(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(),m(t)}}onDestroy(t){return En(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){En(this);let n=we(this),r=Y(void 0),o;try{return t()}finally{we(n),Y(r)}}get(t,n=lt,r){if(En(this),t.hasOwnProperty(el))return t[el](this);let o=ut(r),i,s=we(this),a=Y(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Ph(t)&&Mn(t);u&&this.injectableDefInScope(u)?l=Bt(Pi(t),Fr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Gt():this.parent;return n=o&8&&n===lt?null:n,c.get(t,n)}catch(c){let l=Dh(c);throw l===-200||l===-201?new b(l,null):c}finally{Y(a),we(s)}}resolveInjectorInitializers(){let t=m(null),n=we(this),r=Y(void 0),o;try{let i=this.get(ht,z,{self:!0});for(let s of i)s()}finally{we(n),Y(r),m(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=H(t);let n=dt(t)?t:H(t&&t.provide),r=Rh(t);if(!dt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Bt(void 0,Fr,!0),o.factory=()=>Oi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=m(null);try{if(n.value===tl)throw Qi("");return n.value===Fr&&(n.value=tl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Oh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{m(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(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 Pi(e){let t=Mn(e),n=t!==null?t.factory:We(e);if(n!==null)return n;if(e instanceof x)throw new b(-204,!1);if(e instanceof Function)return Ah(e);throw new b(-204,!1)}function Ah(e){if(e.length>0)throw new b(-204,!1);let n=vh(e);return n!==null?()=>n.factory(e):()=>new e}function Rh(e){if(yl(e))return Bt(void 0,e.useValue);{let t=ns(e);return Bt(t,Fr)}}function ns(e,t,n){let r;if(dt(e)){let o=H(e);return We(o)||Pi(o)}else if(yl(e))r=()=>H(e.useValue);else if(xh(e))r=()=>e.useFactory(...Oi(e.deps||[]));else if(Sh(e))r=(o,i)=>be(H(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=H(e&&(e.useClass||e.provide));if(kh(e))r=()=>new o(...Oi(e.deps));else return We(o)||Pi(o)}return r}function En(e){if(e.destroyed)throw new b(-205,!1)}function Bt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kh(e){return!!e.deps}function Oh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ph(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Li(e,t){for(let n of e)Array.isArray(n)?Li(n,t):n&&Ui(n)?Li(n.\u0275providers,t):t(n)}function Xr(e,t){let n;e instanceof ft?(En(e),n=e):n=new ki(e);let r,o=we(n),i=Y(void 0);try{return t()}finally{we(o),Y(i)}}function Il(){return ul()!==void 0||fr()!=null}var he=0,g=1,I=2,B=3,oe=4,Q=5,gt=6,zt=7,j=8,Me=9,ge=10,k=11,Qt=12,rs=13,mt=14,K=15,Qe=16,yt=17,Ne=18,Se=19,os=20,ke=21,eo=22,qe=23,ne=24,vt=25,xe=26,O=27,El=1,is=6,Ze=7,xn=8,It=9,L=10;function Le(e){return Array.isArray(e)&&typeof e[El]=="object"}function ie(e){return Array.isArray(e)&&e[El]===!0}function ss(e){return(e.flags&4)!==0}function Fe(e){return e.componentOffset>-1}function Zt(e){return(e.flags&1)===1}function me(e){return!!e.template}function Yt(e){return(e[I]&512)!==0}function Et(e){return(e[I]&256)===256}var as="svg",Dl="math";function se(e){for(;Array.isArray(e);)e=e[he];return e}function cs(e,t){return se(t[e])}function ye(e,t){return se(t[e.index])}function to(e,t){return e.data[t]}function no(e,t){return e[t]}function An(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ae(e,t){let n=t[e];return Le(n)?n:n[he]}function ro(e){return(e[I]&128)===128}function wl(e){return ie(e[B])}function ce(e,t){return t==null?null:e[t]}function ls(e){e[yt]=0}function us(e){e[I]&1024||(e[I]|=1024,ro(e)&&Dt(e))}function Tl(e,t){for(;e>0;)t=t[mt],e--;return t}function Rn(e){return!!(e[I]&9216||e[ne]?.dirty)}function oo(e){e[ge].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),Rn(e)&&Dt(e)}function Dt(e){e[ge].changeDetectionScheduler?.notify(0);let t=Oe(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!ro(t)));)t=Oe(t)}function io(e,t){if(Et(e))throw new b(911,!1);e[ke]===null&&(e[ke]=[]),e[ke].push(t)}function Cl(e,t){if(e[ke]===null)return;let n=e[ke].indexOf(t);n!==-1&&e[ke].splice(n,1)}function Oe(e){let t=e[B];return ie(t)?t[B]:t}function ds(e){return e[zt]??=[]}function fs(e){return e.cleanup??=[]}function bl(e,t,n,r){let o=ds(t);o.push(n),e.firstCreatePass&&fs(e).push(r,o.length-1)}var w={lFrame:Vl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Fi=!1;function _l(){return w.lFrame.elementDepthCount}function Ml(){w.lFrame.elementDepthCount++}function ps(){w.lFrame.elementDepthCount--}function so(){return w.bindingsEnabled}function hs(){return w.skipHydrationRootTNode!==null}function gs(e){return w.skipHydrationRootTNode===e}function ms(){w.skipHydrationRootTNode=null}function y(){return w.lFrame.lView}function F(){return w.lFrame.tView}function Nl(e){return w.lFrame.contextLView=e,e[j]}function Sl(e){return w.lFrame.contextLView=null,e}function Z(){let e=ys();for(;e!==null&&e.type===64;)e=e.parent;return e}function ys(){return w.lFrame.currentTNode}function xl(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function wt(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function vs(){return w.lFrame.isParent}function Is(){w.lFrame.isParent=!1}function Es(){return w.lFrame.contextLView}function Ds(){return Fi}function wn(e){let t=Fi;return Fi=e,t}function ao(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Al(){return w.lFrame.bindingIndex}function Rl(e){return w.lFrame.bindingIndex=e}function Tt(){return w.lFrame.bindingIndex++}function co(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function kl(){return w.lFrame.inI18n}function Ol(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,lo(t)}function Pl(){return w.lFrame.currentDirectiveIndex}function lo(e){w.lFrame.currentDirectiveIndex=e}function Ll(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Fl(){return w.lFrame.currentQueryIndex}function uo(e){w.lFrame.currentQueryIndex=e}function Lh(e){let t=e[g];return t.type===2?t.declTNode:t.type===1?e[Q]:null}function ws(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Lh(i),o===null||(i=i[mt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=jl();return r.currentTNode=t,r.lView=e,!0}function fo(e){let t=jl(),n=e[g];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jl(){let e=w.lFrame,t=e===null?null:e.child;return t===null?Vl(e):t}function Vl(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 Hl(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ts=Hl;function po(){let e=Hl();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 Bl(e){return(w.lFrame.contextLView=Tl(e,w.lFrame.contextLView))[j]}function ve(){return w.lFrame.selectedIndex}function Ye(e){w.lFrame.selectedIndex=e}function ho(){let e=w.lFrame;return to(e.tView,e.selectedIndex)}function $l(){w.lFrame.currentNamespace=as}function Ul(){Fh()}function Fh(){w.lFrame.currentNamespace=null}function Cs(){return w.lFrame.currentNamespace}var Wl=!0;function go(){return Wl}function kn(e){Wl=e}function ji(e,t=null,n=null,r){let o=bs(e,t,n,r);return o.resolveInjectorInitializers(),o}function bs(e,t=null,n=null,r,o=new Set){let i=[n||z,gl(e)],s;return new ft(i,t||Gt(),s||null,o)}var fe=class e{static THROW_IF_NOT_FOUND=lt;static NULL=new $t;static create(t,n){if(Array.isArray(t))return ji({name:""},n,t,"");{let r=t.name??"";return ji({name:r},t.parent,t.providers,r)}}static \u0275prov=pe({token:e,providedIn:"any",factory:()=>be(Sn)});static __NG_ELEMENT_ID__=-1},mo=new x(""),je=(()=>{class e{static __NG_ELEMENT_ID__=jh;static __NG_ENV_ID__=n=>n}return e})(),Hr=class extends je{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Et(this._lView)}onDestroy(t){let n=this._lView;return io(n,t),()=>Cl(n,t)}};function jh(){return new Hr(y())}var _s=!1,ql=new x(""),Ct=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new hn(!1);debugTaskTracker=E(ql,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(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=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vi=class extends te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Il()&&(this.destroyRef=E(je,{optional:!0})??void 0,this.pendingTasks=E(Ct,{optional:!0})??void 0)}emit(t){let n=m(null);try{super.next(t)}finally{m(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 V&&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)}})}}},Re=Vi;function Br(...e){}function Ms(e){let t,n;function r(){e=Br;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 Gl(e){return queueMicrotask(()=>e()),()=>{e=Br}}var Ns="isAngularZone",Tn=Ns+"_ID",Vh=0,q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Re(!1);onMicrotaskEmpty=new Re(!1);onStable=new Re(!1);onError=new Re(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=_s}=t;if(typeof Zone>"u")throw new b(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,$h(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ns)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(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,Hh,Br,Br);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)}},Hh={};function Ss(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 Bh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ms(()=>{e.callbackScheduled=!1,Hi(e),e.isCheckStableRunning=!0,Ss(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Hi(e)}function $h(e){let t=()=>{Bh(e)},n=Vh++;e._inner=e._inner.fork({name:"angular",properties:{[Ns]:!0,[Tn]:n,[Tn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Uh(c))return r.invokeTask(i,s,a,c);try{return nl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),rl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return nl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Wh(c)&&t(),rl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Hi(e),Ss(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 Hi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function nl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function rl(e){e._nesting--,Ss(e)}var Cn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Re;onMicrotaskEmpty=new Re;onStable=new Re;onError=new Re;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 Uh(e){return zl(e,"__ignore_ng_zone__")}function Wh(e){return zl(e,"__scheduler_tick__")}function zl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Pe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},bt=new x("",{factory:()=>{let e=E(q),t=E(re),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Pe),n.handleError(r))})}}}),Ql={provide:ht,useValue:()=>{let e=E(Pe,{optional:!0})},multi:!0};function yo(e,t){let[n,r,o]=gi(e,t?.equal),i=n,s=i[W];return i.set=r,i.update=o,i.asReadonly=xs.bind(i),i}function xs(){let e=this[W];if(e.readonlyFn===void 0){let t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}var Zl=new x("",{factory:()=>qh}),qh="ng";var Yl=new x(""),Gh=new x("",{providedIn:"platform",factory:()=>"unknown"}),zh=new x(""),Qh=new x("",{factory:()=>E(mo).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Kt=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Zh}return e})();function Zh(){return new Kt(y(),Z())}var _e=class{},Jt=new x("",{factory:()=>!0});var vo=new x(""),Io=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new Bi})}return e})(),Bi=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}},$r=class{[W];constructor(t){this[W]=t}destroy(){this[W].destroy()}};function Kl(e,t){let n=t?.injector??E(fe),r=t?.manualCleanup!==!0?n.get(je):null,o,i=n.get(Kt,null,{optional:!0}),s=n.get(_e);return i!==null?(o=Jh(i.view,s,e),r instanceof Hr&&r._lView===i.view&&(r=null)):o=Xh(e,n.get(Io),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new $r(o)}var Jl=U($({},yi),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=wn(!1);try{vi(this)}finally{wn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=m(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],m(e)}}}),Yh=U($({},Jl),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if($e(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Kh=U($({},Jl),{consumerMarkedDirty(){this.view[I]|=8192,Dt(this.view),this.notifier.notify(13)},destroy(){if($e(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[qe]?.delete(this)}});function Jh(e,t,n){let r=Object.create(Kh);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Xl(r,n),e[qe]??=new Set,e[qe].add(r),r.consumerMarkedDirty(r),r}function Xh(e,t,n){let r=Object.create(Yh);return r.fn=Xl(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 Xl(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function zn(e){return{toString:e}.toString()}var So=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ju(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var dg=(()=>{let e=()=>Vu;return e.ngInherit=!0,e})();function Vu(e){return e.type.prototype.ngOnChanges&&(e.setInput=pg),fg}function fg(){let e=Hu(this),t=e?.current;if(t){let n=e.previous;if(n===ze)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function pg(e,t,n,r,o){let i=this.declaredInputs[r],s=Hu(e)||hg(e,{previous:ze,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new So(l&&l.currentValue,n,c===ze),ju(e,t,o,n)}var Bs="__ngSimpleChanges__";function Hu(e){return Object.hasOwn(e,Bs)&&e[Bs]||null}function hg(e,t){return e[Bs]=t}var eu=[];var R=function(e,t=null,n){for(let r=0;r<eu.length;r++){let o=eu[r];o(e,t,n)}},M=(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})(M||{});function gg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Vu(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 Bu(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:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Co(e,t,n){$u(e,t,3,n)}function bo(e,t,n,r){(e[I]&3)===n&&$u(e,t,n,r)}function As(e,t){let n=e[I];(n&3)===t&&(n&=16383,n+=1,e[I]=n)}function $u(e,t,n,r){let o=r!==void 0?e[yt]&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[yt]+=65536),(a<i||i==-1)&&(mg(e,n,t,c),e[yt]=(e[yt]&4294901760)+c+2),c++}function tu(e,t){R(M.LifecycleHookStart,e,t);let n=m(null);try{t.call(e)}finally{m(n),R(M.LifecycleHookEnd,e,t)}}function mg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[I]>>14<e[yt]>>16&&(e[I]&3)===t&&(e[I]+=16384,tu(a,i)):tu(a,i)}var en=-1,_t=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 yg(e){return(e.flags&8)!==0}function vg(e){return(e.flags&16)!==0}function Ig(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];Dg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Eg(e){return e===3||e===4||e===6}function Dg(e){return e.charCodeAt(0)===64}function tn(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?nu(e,n,o,null,t[++r]):nu(e,n,o,null,null))}}return e}function nu(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 Uu(e){return e!==en}function xo(e){return e&32767}function wg(e){return e>>16}function Ao(e,t){let n=wg(e),r=t;for(;n>0;)r=r[mt],n--;return r}var $s=!0;function Ro(e){let t=$s;return $s=e,t}var Tg=256,Wu=Tg-1,qu=5,Cg=0,Ae={};function bg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(pt)&&(r=n[pt]),r==null&&(r=n[pt]=Cg++);let o=r&Wu,i=1<<o;t.data[e+(o>>qu)]|=i}function ko(e,t){let n=Gu(e,t);if(n!==-1)return n;let r=t[g];r.firstCreatePass&&(e.injectorIndex=t.length,Rs(r.data,e),Rs(t,null),Rs(r.blueprint,null));let o=Ea(e,t),i=e.injectorIndex;if(Uu(o)){let s=xo(o),a=Ao(o,t),c=a[g].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Rs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Gu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ea(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=Ku(o),r===null)return en;if(n++,o=o[mt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return en}function Us(e,t,n){bg(e,t,n)}function zu(e,t,n){if(n&8||e!==void 0)return e;Zr(t,"NodeInjector")}function Qu(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Me],i=Y(void 0);try{return o?o.get(t,r,n&8):Zi(t,r,n&8)}finally{Y(i)}}return zu(r,t,n)}function Zu(e,t,n,r=0,o){if(e!==null){if(t[I]&2048&&!(r&2)){let s=xg(e,t,n,r,Ae);if(s!==Ae)return s}let i=Yu(e,t,n,r,Ae);if(i!==Ae)return i}return Qu(t,n,r,o)}function Yu(e,t,n,r,o){let i=Mg(n);if(typeof i=="function"){if(!ws(t,e,r))return r&1?zu(o,n,r):Qu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Zr(n);else return s}finally{Ts()}}else if(typeof i=="number"){let s=null,a=Gu(e,t),c=en,l=r&1?t[K][Q]:null;for((a===-1||r&4)&&(c=a===-1?Ea(e,t):t[a+8],c===en||!ou(r,!1)?a=-1:(s=t[g],a=xo(c),t=Ao(c,t)));a!==-1;){let u=t[g];if(ru(i,a,u.data)){let d=_g(a,t,n,s,r,l);if(d!==Ae)return d}c=t[a+8],c!==en&&ou(r,t[g].data[a+8]===l)&&ru(i,a,t)?(s=u,a=xo(c),t=Ao(c,t)):a=-1}}return o}function _g(e,t,n,r,o,i){let s=t[g],a=s.data[e+8],c=r==null?Fe(a)&&$s:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=_o(a,s,n,c,l);return u!==null?Fn(t,s,u,a,o):Ae}function _o(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;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&&me(f)&&f.type===n)return c}return null}function Fn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof _t){let a=i;if(a.resolving)throw Qi("");let c=Ro(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?Y(a.injectImpl):null,p=ws(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&gg(n,s[n],t)}finally{d!==null&&Y(d),Ro(c),a.resolving=!1,Ts()}}return i}function Mg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(pt)?e[pt]:void 0;return typeof t=="number"?t>=0?t&Wu:Ng:t}function ru(e,t,n){let r=1<<e;return!!(n[t+(e>>qu)]&r)}function ou(e,t){return!(e&2)&&!(e&1&&t)}var Ke=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Zu(this._tNode,this._lView,t,ut(r),n)}};function Ng(){return new Ke(Z(),y())}function Sg(e){return zn(()=>{let t=e.prototype.constructor,n=t[Dn]||Ws(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Dn]||Ws(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ws(e){return $i(e)?()=>{let t=Ws(H(e));return t&&t()}:We(e)}function xg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!Yt(s);){let a=Yu(i,s,n,r|2,Ae);if(a!==Ae)return a;let c=i.parent;if(!c){let l=s[os];if(l){let u=l.get(n,Ae,r&-5);if(u!==Ae)return u}c=Ku(s),s=s[mt]}i=c}return o}function Ku(e){let t=e[g],n=t.type;return n===2?t.declTNode:n===1?e[Q]:null}function St(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function Ag(){return ln(Z(),y())}function ln(e,t){return new Qn(ye(e,t))}var Qn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ag}return e})();function Rg(e){return e instanceof Qn?e.nativeElement:e}function kg(){return this._results[Symbol.iterator]()}var Oo=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 te}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=fl(t);(this._changesDetected=!dl(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]=kg};function Ju(e){return(e.flags&128)===128}var Da=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Da||{}),Xu=new Map,Og=0;function Pg(){return Og++}function Lg(e){Xu.set(e[Se],e)}function qs(e){Xu.delete(e[Se])}var iu="__ngContext__";function nn(e,t){Le(t)?(e[iu]=t[Se],Lg(t)):e[iu]=t}function ed(e){return nd(e[Qt])}function td(e){return nd(e[oe])}function nd(e){for(;e!==null&&!ie(e);)e=e[oe];return e}var Gs;function Fg(e){Gs=e}function wa(){if(Gs!==void 0)return Gs;if(typeof document<"u")return document;throw new b(210,!1)}var rd="r";var od="di";var id=!1,sd=new x("",{factory:()=>id});var su=new WeakMap;function jg(e,t){if(e==null||typeof e!="object")return;let n=su.get(e);n||(n=new WeakSet,su.set(e,n)),n.add(t)}var Vg=(e,t,n,r)=>{};function Hg(e,t,n,r){Vg(e,t,n,r)}function zo(e){return(e.flags&32)===32}var Bg=()=>null;function ad(e,t,n=!1){return Bg(e,t,n)}function cd(e,t){let n=e.contentQueries;if(n!==null){let r=m(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];uo(i),a.contentQueries(2,t[s],s)}}}finally{m(r)}}}function zs(e,t,n){uo(0);let r=m(null);try{t(e,n)}finally{m(r)}}function Ta(e,t,n){if(ss(t)){let r=m(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{m(r)}}}var Mt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Mt||{});var Eo;function $g(){if(Eo===void 0&&(Eo=null,Wt.trustedTypes))try{Eo=Wt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Eo}function Qo(e){return $g()?.createHTML(e)||e}var Do;function Ug(){if(Do===void 0&&(Do=null,Wt.trustedTypes))try{Do=Wt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Do}function au(e){return Ug()?.createHTML(e)||e}var Po=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ur})`}};function Zo(e){return e instanceof Po?e.changingThisBreaksApplicationSecurity:e}function ld(e,t){let n=ud(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ur})`)}return n===t}function ud(e){return e instanceof Po&&e.getTypeName()||null}function Wg(e){let t=new Zs(e);return qg()?new Qs(t):t}var Qs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Qo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Zs=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=Qo(t),n}};function qg(){try{return!!new window.DOMParser().parseFromString(Qo(""),"text/html")}catch(e){return!1}}var Gg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function dd(e){return e=String(e),e.match(Gg)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Zn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var fd=Ve("area,br,col,hr,img,wbr"),pd=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hd=Ve("rp,rt"),zg=Zn(hd,pd),Qg=Zn(pd,Ve("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")),Zg=Zn(hd,Ve("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")),cu=Zn(fd,Qg,Zg,zg),gd=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Yg=Ve("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"),Kg=Ve("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"),Jg=Zn(gd,Yg,Kg),Xg=Ve("script,style,template"),Ys=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=nm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=tm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=lu(t).toLowerCase();if(!cu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Xg.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(!Jg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;gd[a]&&(c=dd(c)),this.buf.push(" ",s,'="',uu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=lu(t).toLowerCase();cu.hasOwnProperty(n)&&!fd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(uu(t))}};function em(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function tm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw md(t);return t}function nm(e){let t=e.firstChild;if(t&&em(e,t))throw md(t);return t}function lu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function md(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var rm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,om=/([^\#-~ |!])/g;function uu(e){return e.replace(/&/g,"&amp;").replace(rm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(om,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var wo;function yd(e,t){let n=null;try{wo=wo||Wg(e);let r=t?String(t):"";n=wo.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=wo.getInertBodyElement(r)}while(r!==i);let a=new Ys().sanitizeChildren(du(n)||n);return Qo(a)}finally{if(n){let r=du(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function du(e){return"content"in e&&im(e)?e.content:null}function im(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var sm=/^>|^->|<!--|-->|--!>|<!-$/g,am=/(<|>)/g,cm="\u200B$1\u200B";function lm(e){return e.replace(sm,t=>t.replace(am,cm))}function um(e,t){return e.createText(t)}function dm(e,t,n){e.setValue(t,n)}function fm(e,t){return e.createComment(lm(t))}function vd(e,t,n){return e.createElement(t,n)}function Lo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Id(e,t,n){e.appendChild(t,n)}function fu(e,t,n,r,o){r!==null?Lo(e,t,n,r,o):Id(e,t,n)}function Ed(e,t,n,r){e.removeChild(null,t,n,r)}function pm(e,t,n){e.setAttribute(t,"style",n)}function hm(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Dd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ig(e,t,r),o!==null&&hm(e,t,o),i!==null&&pm(e,t,i)}var Ca=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Ca||{});function gm(e){let t=mm();return t?au(t.sanitize(Ca.HTML,e)||""):ld(e,"HTML")?au(Zo(e)):yd(wa(),Ut(e))}function mm(){let e=y();return e&&e[ge].sanitizer}function ym(e){return e.ownerDocument}function vm(e){return e instanceof Function?e():e}function Im(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 wd="ng-template";function Em(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Im(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ba(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 ba(e){return e.type===4&&e.value!==wd}function Dm(e,t,n){let r=e.type===4&&!n?wd:e.value;return t===r}function wm(e,t,n){let r=4,o=e.attrs,i=o!==null?bm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ie(r)&&!Ie(c))return!1;if(s&&Ie(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Dm(e,c,n)||c===""&&t.length===1){if(Ie(r))return!1;s=!0}}else if(r&8){if(o===null||!Em(e,o,c,n)){if(Ie(r))return!1;s=!0}}else{let l=t[++a],u=Tm(c,o,ba(e),n);if(u===-1){if(Ie(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ie(r))return!1;s=!0}}}}return Ie(r)||s}function Ie(e){return(e&1)===0}function Tm(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 _m(t,e)}function Td(e,t,n=!1){for(let r=0;r<t.length;r++)if(wm(e,t[r],n))return!0;return!1}function Cm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function bm(e){for(let t=0;t<e.length;t++){let n=e[t];if(Eg(n))return t}return e.length}function _m(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 Mm(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 pu(e,t){return e?":not("+t.trim()+")":t}function Nm(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!==""&&!Ie(s)&&(t+=pu(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=pu(i,o)),t}function Sm(e){return e.map(Nm).join(",")}function xm(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(!Ie(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var X={},Fo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Fo||{}),Am;function _a(e,t){return Am(e,t)}var HN=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ks=new WeakMap,On=new WeakSet;function Rm(e,t){let n=Ks.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),On.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 km(e,t){let n=Ks.get(e);n?n.includes(t)||n.push(t):Ks.set(e,[t])}var rn=new Set,Yo=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Yo||{}),xt=new x(""),hu=new Set;function He(e){hu.has(e)||(hu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ko=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ma=[0,1,2,3],Na=(()=>{class e{ngZone=E(q);scheduler=E(_e);errorHandler=E(Pe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(xt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(M.AfterRenderHooksStart),this.executing=!0;for(let r of Ma)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&&R(M.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[vt]??=[]).push(n),Dt(r),r[I]|=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(Yo.AFTER_NEXT_RENDER,n):n()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),jn=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?.[vt];t&&(this.view[vt]=t.filter(n=>n!==this))}};function Om(e,t){let n=t?.injector??E(fe);return He("NgAfterNextRender"),Lm(e,n,t,!0)}function Pm(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Lm(e,t,n,r){let o=t.get(Ko);o.impl??=t.get(Na);let i=t.get(xt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(je):null,a=t.get(Kt,null,{optional:!0}),c=new jn(o.impl,Pm(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Sa=new x("",{factory:()=>{let e=E(re),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function Cd(e,t,n){let r=e.get(Sa);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 Fm(e,t){let n=e.get(Sa);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function jm(e,t){let n=e.get(Sa);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Vm(e,t){for(let[n,r]of t)Cd(e,r.animateFns)}function gu(e,t,n,r){let o=e?.[xe]?.enter;t!==null&&o&&o.has(n.index)&&Vm(r,o)}function mu(e,t,n,r){try{n.get(Sn)}catch(s){return r(!1)}let o=e?.[xe];o?.enter?.has(t.index)&&Fm(n,o.enter.get(t.index).animateFns);let i=Hm(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];Jo(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&rn.add(e[Se]),Cd(n,()=>Bm(e,t,o||void 0,i,r),o||void 0)}function Hm(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[g].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function Bm(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:l}=c();i.push(l)}n.detachedLeaveAnimationFns=void 0}if(e&&Jo(e,t,i),i.length>0){let s=n||e?.[xe];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),Um(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&rn.delete(e[Se]),o(!0)})}else e&&rn.delete(e[Se]),o(!1)}function Jo(e,t,n){if(t.type&12){let o=e[t.index];if(ie(o))for(let i=L;i<o.length;i++){let s=o[i];s[g].type===2&&$m(s,n)}}let r=t.child;for(;r;)Jo(e,r,n),r=r.next}function $m(e,t){let n=e[xe];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[g].firstChild;for(;r;)Jo(e,r,t),r=r.next}function Um(e,t,n){t.then(()=>{e[xe]?.running===t&&(e[xe].running=void 0,rn.delete(e[Se])),n(!0)})}function Xt(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;ie(o)?c=o:Le(o)&&(l=!0,o=o[he]);let u=se(o);e===0&&r!==null?(gu(a,r,i,n),s==null?Id(t,r,u):Lo(t,r,u,s||null,!0)):e===1&&r!==null?(gu(a,r,i,n),Lo(t,r,u,s||null,!0),Rm(i,u)):e===2?(a?.[xe]?.leave?.has(i.index)&&km(i,u),On.delete(u),mu(a,i,n,d=>{if(On.has(u)){On.delete(u);return}Ed(t,u,l,d)})):e===3&&(On.delete(u),mu(a,i,n,()=>{t.destroyNode(u)})),c!=null&&Xm(t,e,n,c,i,r,s)}}function Wm(e,t){bd(e,t),t[he]=null,t[Q]=null}function qm(e,t,n,r,o,i){r[he]=o,r[Q]=t,ei(e,r,n,1,o,i)}function bd(e,t){t[ge].changeDetectionScheduler?.notify(9),ei(e,t,t[k],2,null,null)}function Gm(e){let t=e[Qt];if(!t)return ks(e[g],e);for(;t;){let n=null;if(Le(t))n=t[Qt];else{let r=t[L];r&&(n=r)}if(!n){for(;t&&!t[oe]&&t!==e;)Le(t)&&ks(t[g],t),t=t[B];t===null&&(t=e),Le(t)&&ks(t[g],t),n=t&&t[oe]}t=n}}function xa(e,t){let n=e[It],r=n.indexOf(t);n.splice(r,1)}function Xo(e,t){if(Et(t))return;let n=t[k];n.destroyNode&&ei(e,t,n,3,null,null),Gm(t)}function ks(e,t){if(Et(t))return;let n=m(null);try{t[I]&=-129,t[I]|=256,t[ne]&&$e(t[ne]),Qm(e,t),zm(e,t),t[g].type===1&&t[k].destroy();let r=t[Qe];if(r!==null&&ie(t[B])){r!==t[B]&&xa(r,t);let o=t[Ne];o!==null&&o.detachView(e)}qs(t)}finally{m(n)}}function zm(e,t){let n=e.cleanup,r=t[zt];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[zt]=null);let o=t[ke];if(o!==null){t[ke]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[qe];if(i!==null){t[qe]=null;for(let s of i)s.destroy()}}function Qm(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 _t)){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];R(M.LifecycleHookStart,a,c);try{c.call(a)}finally{R(M.LifecycleHookEnd,a,c)}}else{R(M.LifecycleHookStart,o,i);try{i.call(o)}finally{R(M.LifecycleHookEnd,o,i)}}}}}function _d(e,t,n){return Zm(e,t.parent,n)}function Zm(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[he];if(Fe(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Mt.None||o===Mt.Emulated)return null}return ye(r,n)}function Md(e,t,n){return Km(e,t,n)}function Ym(e,t,n){return e.type&40?ye(e,n):null}var Km=Ym,yu;function Aa(e,t,n,r){let o=_d(e,r,t),i=t[k],s=r.parent||t[Q],a=Md(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)fu(i,o,n[c],a,!1);else fu(i,o,n,a,!1);yu!==void 0&&yu(i,r,t,n,o)}function Pn(e,t){if(t!==null){let n=t.type;if(n&3)return ye(t,e);if(n&4)return Js(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Pn(e,r);{let o=e[t.index];return ie(o)?Js(-1,o):se(o)}}else{if(n&128)return Pn(e,t.next);if(n&32)return _a(t,e)()||se(e[t.index]);{let r=Nd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Oe(e[K]);return Pn(o,r)}else return Pn(e,t.next)}}}return null}function Nd(e,t){if(t!==null){let r=e[K][Q],o=t.projection;return r.projection[o]}return null}function Js(e,t){let n=L+e+1;if(n<t.length){let r=t[n],o=r[g].firstChild;if(o!==null)return Pn(r,o)}return t[Ze]}function Ra(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Me];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&nn(se(c),r),n.flags|=2),!zo(n))if(l&8)Ra(e,t,n.child,r,o,i,!1),Xt(t,e,a,o,c,n,i,r);else if(l&32){let u=_a(n,r),d;for(;d=u();)Xt(t,e,a,o,d,n,i,r);Xt(t,e,a,o,c,n,i,r)}else l&16?Sd(e,t,r,n,o,i):Xt(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ei(e,t,n,r,o,i){Ra(n,r,e.firstChild,t,o,i,!1)}function Jm(e,t,n){let r=t[k],o=_d(e,n,t),i=n.parent||t[Q],s=Md(i,n,t);Sd(r,0,t,n,o,s)}function Sd(e,t,n,r,o,i){let s=n[K],c=s[Q].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Xt(t,e,n[Me],o,u,r,i,n)}else{let l=c,u=s[B];Ju(r)&&(l.flags|=128),Ra(e,t,l,u,o,i,!0)}}function Xm(e,t,n,r,o,i,s){let a=r[Ze],c=se(r);a!==c&&Xt(t,e,n,i,a,o,s);for(let l=L;l<r.length;l++){let u=r[l];ei(u[g],u,e,t,i,a)}}function ey(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Fo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Fo.Important),e.setStyle(n,r,o,i))}}function ka(e,t,n,r,o,i,s,a,c,l,u){let d=O+r,p=d+o,f=ty(d,p),h=typeof l=="function"?l():l;return f[g]={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:u}}function ty(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:X);return n}function ny(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ka(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Oa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[he]=o,d[I]=r|4|128|8|64|1024,(l!==null||e&&e[I]&2048)&&(d[I]|=2048),ls(d),d[B]=d[mt]=e,d[j]=n,d[ge]=s||e&&e[ge],d[k]=a||e&&e[k],d[Me]=c||e&&e[Me]||null,d[Q]=i,d[Se]=Pg(),d[gt]=u,d[os]=l,d[K]=t.type==2?e[K]:d,d}function ry(e,t,n){let r=ye(t,e),o=ny(n),i=e[ge].rendererFactory,s=Pa(e,Oa(e,o,null,xd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function xd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Ad(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 Pa(e,t){return e[Qt]?e[rs][oe]=t:e[Qt]=t,e[rs]=t,t}function oy(e=1){Rd(F(),y(),ve()+e,!1)}function Rd(e,t,n,r){if(!r)if((t[I]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Co(t,i,n)}else{let i=e.preOrderHooks;i!==null&&bo(t,i,0,n)}Ye(n)}var ti=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(ti||{});function Xs(e,t,n,r){let o=m(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ti.SignalBased)!==0&&(c=t[i][W]),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):ju(t,c,i,r)}finally{m(o)}}function kd(e,t,n,r,o){let i=ve(),s=r&2;try{Ye(-1),s&&t.length>O&&Rd(e,t,O,!1);let a=s?M.TemplateUpdateStart:M.TemplateCreateStart;R(a,o,n),n(r,o)}finally{Ye(i);let a=s?M.TemplateUpdateEnd:M.TemplateCreateEnd;R(a,o,n)}}function ni(e,t,n){dy(e,t,n),(n.flags&64)===64&&fy(e,t,n)}function Yn(e,t,n=ye){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 iy(e,t,n,r){let i=r.get(sd,id)||n===Mt.ShadowDom||n===Mt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new b(905,!1);return sy(s),s}function sy(e){ay(e)}var ay=()=>null;function cy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function ly(e,t,n,r,o,i){let s=t[g];if(Va(e,s,t,n,r)){Fe(e)&&uy(t,e.index);return}e.type&3&&(n=cy(n)),Od(e,t,n,r,o,i)}function Od(e,t,n,r,o,i){if(e.type&3){let s=ye(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function uy(e,t){let n=ae(t,e);n[I]&16||(n[I]|=64)}function dy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Fe(n)&&ry(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ko(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Fn(t,e,s,n);if(nn(c,t),i!==null&&my(t,s-r,c,a,n,i),me(a)){let l=ae(n.index,t);l[j]=Fn(t,e,s,n)}}}function fy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Pl();try{Ye(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];lo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&py(c,l)}}finally{Ye(-1),lo(s)}}function py(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function La(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Td(t,i.selectors,!1)&&(r??=[],me(i)?r.unshift(i):r.push(i))}return r}function hy(e,t,n,r,o,i){let s=ye(e,t);gy(t[k],s,i,e.value,n,r,o)}function gy(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else{let a=s==null?Ut(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function my(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],l=s[a+1];Xs(r,n,c,l)}}function Fa(e,t,n,r,o){let i=O+n,s=t[g],a=o(s,t,e,r,n);t[i]=a,wt(e,!0);let c=e.type===2;return c?(Dd(t[k],a,e),(_l()===0||Zt(e))&&nn(a,t),Ml()):nn(a,t),go()&&(!c||!zo(e))&&Aa(s,t,a,e),e}function ja(e){let t=e;return vs()?Is():(t=t.parent,wt(t,!1)),t}function yy(e,t){let n=e[Me];if(!n)return;let r;try{r=n.get(bt,null)}catch(o){r=null}r?.(t)}function Va(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 l=s[c],u=s[c+1],d=t.data[l];Xs(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Xs(u,l,r,o),a=!0}return a}function vy(e,t){let n=ae(t,e),r=n[g];Iy(r,n);let o=n[he];o!==null&&n[gt]===null&&(n[gt]=ad(o,n[Me])),R(M.ComponentStart);try{Ha(r,n,n[j])}finally{R(M.ComponentEnd,n[j])}}function Iy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ha(e,t,n){fo(t);try{let r=e.viewQuery;r!==null&&zs(1,r,n);let o=e.template;o!==null&&kd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ne]?.finishViewCreation(e),e.staticContentQueries&&cd(e,t),e.staticViewQueries&&zs(2,e.viewQuery,n);let i=e.components;i!==null&&Ey(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[I]&=-5,po()}}function Ey(e,t){for(let n=0;n<t.length;n++)vy(e,t[n])}function Kn(e,t,n,r){let o=m(null);try{let i=t.tView,a=e[I]&4096?4096:16,c=Oa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Qe]=l;let u=e[Ne];return u!==null&&(c[Ne]=u.createEmbeddedView(i)),Ha(i,c,n),c}finally{m(o)}}function on(e,t){return!t||t.firstChild===null||Ju(e)}function Vn(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(se(i)),ie(i)&&Pd(i,r);let s=n.type;if(s&8)Vn(e,t,n.child,r);else if(s&32){let a=_a(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Nd(t,n);if(Array.isArray(a))r.push(...a);else{let c=Oe(t[K]);Vn(c[g],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Pd(e,t){for(let n=L;n<e.length;n++){let r=e[n],o=r[g].firstChild;o!==null&&Vn(r[g],r,o,t)}e[Ze]!==e[he]&&t.push(e[Ze])}function Ld(e){if(e[vt]!==null){for(let t of e[vt])t.impl.addSequence(t);e[vt].length=0}}var Fd=[];function Dy(e){return e[ne]??wy(e)}function wy(e){let t=Fd.pop()??Object.create(Cy);return t.lView=e,t}function Ty(e){e.lView[ne]!==e&&(e.lView=null,Fd.push(e))}var Cy=U($({},Xe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Dt(e.lView)},consumerOnSignalRead(){this.lView[ne]=this}});function by(e){let t=e[ne]??Object.create(_y);return t.lView=e,t}var _y=U($({},Xe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Oe(e.lView);for(;t&&!jd(t[g]);)t=Oe(t);t&&us(t)},consumerOnSignalRead(){this.lView[ne]=this}});function jd(e){return e.type!==2}function Vd(e){if(e[qe]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[qe])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[I]&8192)}}var My=100;function Hd(e,t=0){let r=e[ge].rendererFactory,o=!1;o||r.begin?.();try{Ny(e,t)}finally{o||r.end?.()}}function Ny(e,t){let n=Ds();try{wn(!0),ea(e,t);let r=0;for(;Rn(e);){if(r===My)throw new b(103,!1);r++,ea(e,1)}}finally{wn(n)}}function Sy(e,t,n,r){if(Et(t))return;let o=t[I],i=!1,s=!1;fo(t);let a=!0,c=null,l=null;i||(jd(e)?(l=Dy(t),c=Be(l)):cr()===null?(a=!1,l=by(t),c=Be(l)):t[ne]&&($e(t[ne]),t[ne]=null));try{ls(t),Rl(e.bindingStartIndex),n!==null&&kd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Co(t,f,null)}else{let f=e.preOrderHooks;f!==null&&bo(t,f,0,null),As(t,0)}if(s||xy(t),Vd(t),Bd(t,0),e.contentQueries!==null&&cd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Co(t,f)}else{let f=e.contentHooks;f!==null&&bo(t,f,1),As(t,1)}Ry(e,t);let d=e.components;d!==null&&Ud(t,d,0);let p=e.viewQuery;if(p!==null&&zs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Co(t,f)}else{let f=e.viewHooks;f!==null&&bo(t,f,2),As(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[eo]){for(let f of t[eo])f();t[eo]=null}i||(Ld(t),t[I]&=-73)}catch(u){throw i||Dt(t),u}finally{l!==null&&(tt(l,c),a&&Ty(l)),po()}}function Bd(e,t){for(let n=ed(e);n!==null;n=td(n))for(let r=L;r<n.length;r++){let o=n[r];$d(o,t)}}function xy(e){for(let t=ed(e);t!==null;t=td(t)){if(!(t[I]&2))continue;let n=t[It];for(let r=0;r<n.length;r++){let o=n[r];us(o)}}}function Ay(e,t,n){R(M.ComponentStart);let r=ae(t,e);try{$d(r,n)}finally{R(M.ComponentEnd,r[j])}}function $d(e,t){ro(e)&&ea(e,t)}function ea(e,t){let r=e[g],o=e[I],i=e[ne],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Rt(i)),s||=!1,i&&(i.dirty=!1),e[I]&=-9217,s)Sy(r,e,r.template,e[j]);else if(o&8192){let a=m(null);try{Vd(e),Bd(e,1);let c=r.components;c!==null&&Ud(e,c,1),Ld(e)}finally{m(a)}}}function Ud(e,t,n){for(let r=0;r<t.length;r++)Ay(e,t[r],n)}function Ry(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)Ye(~o);else{let i=o,s=n[++r],a=n[++r];Ol(s,i);let c=t[i];R(M.HostBindingsUpdateStart,c);try{a(2,c)}finally{R(M.HostBindingsUpdateEnd,c)}}}}finally{Ye(-1)}}function Ba(e,t){let n=Ds()?64:1088;for(e[ge].changeDetectionScheduler?.notify(t);e;){e[I]|=n;let r=Oe(e);if(Yt(e)&&!r)return e;e=r}return null}function Wd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function qd(e,t){let n=L+t;if(n<e.length)return e[n]}function Jn(e,t,n,r=!0){let o=t[g];if(ky(o,t,e,n),r){let s=Js(n,e),a=t[k],c=a.parentNode(e[Ze]);c!==null&&qm(o,e[Q],a,t,c,s)}let i=t[gt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Gd(e,t){let n=Hn(e,t);return n!==void 0&&Xo(n[g],n),n}function Hn(e,t){if(e.length<=L)return;let n=L+t,r=e[n];if(r){let o=r[Qe];o!==null&&o!==e&&xa(o,r),t>0&&(e[n-1][oe]=r[oe]);let i=Nn(e,L+t);Wm(r[g],r);let s=i[Ne];s!==null&&s.detachView(i[g]),r[B]=null,r[oe]=null,r[I]&=-129}return r}function ky(e,t,n,r){let o=L+r,i=n.length;r>0&&(n[o-1][oe]=t),r<i-L?(t[oe]=n[o],Yi(n,L+r,t)):(n.push(t),t[oe]=null),t[B]=n;let s=t[Qe];s!==null&&n!==s&&zd(s,t);let a=t[Ne];a!==null&&a.insertView(e),oo(t),t[I]|=128}function zd(e,t){let n=e[It],r=t[B];if(Le(r))e[I]|=2;else{let o=r[B][K];t[K]!==o&&(e[I]|=2)}n===null?e[It]=[t]:n.push(t)}var Je=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[g];return Vn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return Et(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[B];if(ie(t)){let n=t[xn],r=n?n.indexOf(this):-1;r>-1&&(Hn(t,r),Nn(n,r))}this._attachedToViewContainer=!1}Xo(this._lView[g],this._lView)}onDestroy(t){io(this._lView,t)}markForCheck(){Ba(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){oo(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Hd(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Yt(this._lView),n=this._lView[Qe];n!==null&&!t&&xa(n,this._lView),bd(this._lView[g],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Yt(this._lView),r=this._lView[Qe];r!==null&&!n&&zd(r,this._lView),oo(this._lView)}};var Bn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Oy;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=Kn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Je(i)}}return e})();function Oy(){return $a(Z(),y())}function $a(e,t){return e.type&4?new Bn(t,e,ln(e,t)):null}function At(e,t,n,r,o){let i=e.data[t];if(i===null)i=Py(e,t,n,r,o),kl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=xl();i.injectorIndex=s===null?-1:s.injectorIndex}return wt(i,!0),i}function Py(e,t,n,r,o){let i=ys(),s=vs(),a=s?i:i&&i.parent,c=e.data[t]=Fy(e,a,n,t,r,o);return Ly(e,c,i,s),c}function Ly(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 Fy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return hs()&&(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,namespace:Cs(),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 jy(e){let t=e[is]??[],r=e[B][k],o=[];for(let i of t)i.data[od]!==void 0?o.push(i):Vy(i,r);e[is]=o}function Vy(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[rd];for(;n<o;){let i=r.nextSibling;Ed(t,r,!1),r=i,n++}}}var Hy=()=>null,By=()=>null;function jo(e,t){return Hy(e,t)}function Qd(e,t,n){return By(e,t,n)}var Zd=class{},$n=class{},$y=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Uy()}return e})();function Uy(){let e=y(),t=Z(),n=ae(t.index,e);return(Le(n)?n:e)[k]}var Yd=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>null})}return e})();function Kd(e){return e.debugInfo?.className||e.type.name||null}var Mo={},Vo=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Mo,r);return o!==Mo||n===Mo?o:this.parentInjector.get(t,n,r)}};function Jd(e,t,n){return e[t]=n}function De(e,t,n){if(n===X)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Xd(e,t,n,r){let o=De(e,t,n);return De(e,t+1,r)||o}function No(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&jg(o,i);let s=Fe(e)?ae(e.index,t):t;Ba(s,5);let a=t[j],c=vu(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=vu(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function vu(e,t,n,r){let o=m(null);try{return R(M.OutputStart,t,n),n(r)!==!1}catch(i){return yy(e,i),!1}finally{R(M.OutputEnd,t,n),m(o)}}function ef(e,t,n,r,o,i,s,a){let c=Zt(e),l=!1,u=null;if(!r&&c&&(u=qy(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ye(e,n),p=r?r(d):d;Hg(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!Wy(i)){let h=r?v=>r(se(v[e.index])):e.index;tf(h,t,n,i,a,f,!1)}}return l}function Wy(e){return e.startsWith("animation")||e.startsWith("transition")}function qy(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[zt],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function tf(e,t,n,r,o,i,s){let a=t.firstCreatePass?fs(t):null,c=ds(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Iu(e,t,n,r,o,i){let s=t[n],a=t[g],l=a.data[n].outputs[r],d=s[l].subscribe(i);tf(e.index,a,t,o,i,d,!0)}var ta=Symbol("BINDING");var nf=new x("");function Ho(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=Wr(o,a);else if(i==2){let c=a,l=t[++s];r=Wr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Xn(e,t=0){let n=y();if(n===null)return be(e,t);let r=Z();return Zu(r,n,H(e),t)}function Gy(){let e="invalid";throw new Error(e)}function rf(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Zy(e,t,n,a,i,c,l)}i!==null&&r!==null&&zy(n,r,i)}function zy(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 b(-301,!1);r.push(t[o],i)}}function Qy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Zy(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&&me(f)&&(c=f,Qy(e,n,p)),Us(ko(n,t),e,f.type)}tv(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 l=!1,u=!1,d=Ad(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=tn(n.mergedAttrs,f.hostAttrs),Ky(e,n,t,d,f),ev(d,f,o),s!==null&&s.has(f)){let[v,C]=s.get(f);n.directiveToIndex.set(f.type,[d,v+n.directiveStart,C+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;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}Yy(e,n,i)}function Yy(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Eu(0,t,o,r),Eu(1,t,o,r),wu(t,r,!1);else{let i=n.get(o);Du(0,t,i,r),Du(1,t,i,r),wu(t,r,!0)}}}function Eu(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),of(t,i)}}function Du(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),of(t,s)}}function of(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function wu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||ba(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 l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Ky(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=We(o.type,!0)),s=new _t(i,me(o),Xn,null);e.blueprint[r]=s,n[r]=s,Jy(e,t,r,Ad(e,n,o.hostVars,X),o)}function Jy(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Xy(s)!=a&&s.push(a),s.push(n,r,i)}}function Xy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ev(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;me(t)&&(n[""]=e)}}function tv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ua(e,t,n,r,o,i,s,a){let c=t[g],l=c.consts,u=ce(l,s),d=At(c,e,n,r,u);return i&&rf(c,t,d,ce(l,a),o),d.mergedAttrs=tn(d.mergedAttrs,d.attrs),d.attrs!==null&&Ho(d,d.attrs,!1),d.mergedAttrs!==null&&Ho(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Wa(e,t){Bu(e,t),ss(t)&&e.queries.elementEnd(t)}function nv(e,t,n,r,o,i){let s=t.consts,a=ce(s,o),c=At(t,e,n,r,a);if(c.mergedAttrs=tn(c.mergedAttrs,c.attrs),i!=null){let l=ce(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Ho(c,c.attrs,!1),c.mergedAttrs!==null&&Ho(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var sf=typeof ShadowRoot<"u",rv=typeof Document<"u";function ov(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ti.SignalBased)!==0};return o&&(i.transform=o),i})}function iv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function sv(e,t,n){let r=t instanceof re?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Vo(n,r):n}function av(e){let t=e.get($n,null);if(t===null)throw new b(407,!1);let n=e.get(Yd,null),r=e.get(_e,null),o=e.get(xt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function cv(e,t){let n=af(e);return vd(t,n,n==="svg"?as:n==="math"?Dl:null)}function af(e){return(e.selectors[0][0]||"div").toLowerCase()}var sn=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=ov(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=iv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Sm(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(M.DynamicComponentStart);let a=m(null);try{let c=this.componentDef,l=sv(c,o||this.ngModule,t),u=av(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Kd(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{m(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=lv(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?iy(l,o,a.encapsulation,n):cv(a,l),d=n.get(nf,null),p=uv(u,()=>n.get(mo,null)??wa());d&&d.addHost(p);let f=s?.some(Tu)||i?.some(C=>typeof C!="function"&&C.bindings.some(Tu)),h=Oa(null,c,null,512|xd(a),null,null,t,l,n,null,ad(u,n,!0));d&&sf&&p instanceof ShadowRoot&&io(h,()=>{d.removeHost(p)}),h[O]=u,fo(h);let v=null;try{let C=Ua(O,h,2,"#host",()=>c.directiveRegistry,!0,0);Dd(l,u,C),nn(u,h),ni(c,h,C),Ta(c,C,h),Wa(c,C),r!==void 0&&fv(C,this.ngContentSelectors,r),v=ae(C.index,h),h[j]=v[j],Ha(c,h,null)}catch(C){throw v!==null&&qs(v),qs(h),C}finally{R(M.DynamicComponentEnd),po()}return new Bo(this.componentType,h,!!f)}};function lv(e,t,n,r){let o=e?["ng-version","22.0.1"]:xm(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[ta].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[ta].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=zr(d);c.push(p)}return ka(0,null,dv(i,s),1,a,c,null,null,null,[o],null)}function uv(e,t){let n=e.getRootNode?.();return rv&&n instanceof Document?n.head:n&&sf&&n instanceof ShadowRoot?n:t().head}function dv(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 Tu(e){let t=e[ta].kind;return t==="input"||t==="twoWay"}var Bo=class extends Zd{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=to(n[g],O),this.location=ln(this._tNode,n),this.instance=ae(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new Je(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=Va(r,o[g],o,t,n);this.previousInputValues.set(t,n);let s=ae(r.index,o);Ba(s,1)}get injector(){return new Ke(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function fv(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 ri=(()=>{class e{static __NG_ELEMENT_ID__=pv}return e})();function pv(){let e=Z();return cf(e,y())}var na=class e extends ri{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ln(this._hostTNode,this._hostLView)}get injector(){return new Ke(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ea(this._hostTNode,this._hostLView);if(Uu(t)){let n=Ao(t,this._hostLView),r=xo(t),o=n[g].data[r+8];return new Ke(o,n)}else return new Ke(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Cu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-L}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=jo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,on(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,l=n||{};c=l.index,r=l.injector,o=l.projectableNodes,i=l.environmentInjector||l.ngModuleRef,s=l.directives,a=l.bindings;let u=new sn(Ge(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let N=this.parentInjector.get(re,null);N&&(i=N)}let p=Ge(u.componentType??{}),f=jo(this._lContainer,p?.id??null),h=f?.firstChild??null,v=u.create(d,o,h,i,s,a);return this.insertImpl(v.hostView,c,on(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(wl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[B],l=new e(c,c[Q],c[B]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Jn(s,o,i,r),t.attachToViewContainerRef(),Yi(Os(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Cu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);r&&(Nn(Os(this._lContainer),n),Xo(r[g],r))}detach(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);return r&&Nn(Os(this._lContainer),n)!=null?new Je(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cu(e){return e[xn]}function Os(e){return e[xn]||(e[xn]=[])}function cf(e,t){let n,r=t[e.index];return ie(r)?n=r:(n=Wd(r,t,null,e),t[e.index]=n,Pa(t,n)),gv(n,t,e,r),new na(n,e,t)}function hv(e,t){let n=e[k],r=n.createComment(""),o=ye(t,e),i=n.parentNode(o);return Lo(n,i,r,n.nextSibling(o),!1),r}var gv=vv,mv=()=>!1;function yv(e,t,n){return mv(e,t,n)}function vv(e,t,n,r){if(e[Ze])return;let o;n.type&8?o=se(r):o=hv(t,n),e[Ze]=o}var ra=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},oa=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++)df(t,n).matches!==null&&this.queries[n].setDirty()}},ia=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=bv(t):this.predicate=t}},sa=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)}},aa=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,Iv(n,i)),this.matchTNodeWithReadOption(t,n,_o(n,t,i,!1,!1))}else r===Bn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_o(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Qn||o===ri||o===Bn&&n.type&4)this.addMatch(n.index,-2);else{let i=_o(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 Iv(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 Ev(e,t){return e.type&11?ln(e,t):e.type&4?$a(e,t):null}function Dv(e,t,n,r){return n===-1?Ev(t,e):n===-2?wv(e,t,r):Fn(e,e[g],n,t)}function wv(e,t,n){if(n===Qn)return ln(t,e);if(n===Bn)return $a(t,e);if(n===ri)return cf(t,e)}function lf(e,t,n,r){let o=t[Ne].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 l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Dv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ca(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=lf(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 l=i[a+1],u=t[-c];for(let d=L;d<u.length;d++){let p=u[d];p[Qe]===p[B]&&ca(p[g],p,l,r)}if(u[It]!==null){let d=u[It];for(let p=0;p<d.length;p++){let f=d[p];ca(f[g],f,l,r)}}}}}return r}function uf(e,t){return e[Ne].queries[t].queryList}function Tv(e,t,n){let r=new Oo((n&4)===4);return bl(e,t,r,r.destroy),(t[Ne]??=new oa).queries.push(new ra(r))-1}function Cv(e,t,n){let r=F();return r.firstCreatePass&&(_v(r,new ia(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Tv(r,y(),t)}function bv(e){return e.split(",").map(t=>t.trim())}function _v(e,t,n){e.queries===null&&(e.queries=new sa),e.queries.track(new aa(t,n))}function df(e,t){return e.queries.getByIndex(t)}function Mv(e,t){let n=e[g],r=df(n,t);return r.crossesNgTemplate?ca(n,e,t,[]):lf(n,e,r,t)}function qa(e,t,n){let r,o=dn(()=>{r._dirtyCounter();let i=Sv(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[W],r._dirtyCounter=yo(0),r._flatValue=void 0,o}function ff(e){return qa(!0,!1,e)}function pf(e){return qa(!0,!0,e)}function hf(e){return qa(!1,!1,e)}function Nv(e,t){let n=e[W];n._lView=y(),n._queryIndex=t,n._queryList=uf(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Sv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[I]&4)return t?void 0:z;let o=uf(n,r),i=Mv(n,r);return o.reset(i,Rg),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Ga(e){return!!e&&typeof e.then=="function"}function gf(e){return!!e&&typeof e.subscribe=="function"}var an=class{},mf=class{};function xv(e,t){return new Un(e,t??null,[])}var Un=class extends an{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=sl(t);this._bootstrapComponents=vm(i.bootstrap),this._r3Injector=bs(t,n,[{provide:an,useValue:this},...r],_n(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)}},$o=class extends mf{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Un(this.moduleType,t,[])}};var Wn=class extends an{injector;instance=null;constructor(t){super();let n=new ft([...t.providers,{provide:an,useValue:this}],t.parent||Gt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function yf(e,t,n=null){return new Wn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Av=(()=>{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=Xi(!1,n.type),o=r.length>0?yf([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=pe({token:e,providedIn:"environment",factory:()=>new e(be(re))})}return e})();function Rv(e){return zn(()=>{let t=vf(e),n=U($({},t),{type:e.type,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Da.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Av).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,styles:e.styles||z,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&He("NgStandalone"),If(n);let r=e.dependencies;return n.directiveDefs=bu(r,kv),n.pipeDefs=bu(r,al),n.id=Vv(n),n})}function kv(e){return Ge(e)||zr(e)}function Ov(e){return zn(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Pv(e,t){if(e==null)return ze;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=ti.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Lv(e){if(e==null)return ze;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Fv(e){return zn(()=>{let t=vf(e);return If(t),t})}function jv(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 vf(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||ze,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:Pv(e.inputs,t),outputs:Lv(e.outputs),debugInfo:null}}function If(e){e.features?.forEach(t=>t(e))}function bu(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 Vv(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}var Ef=new x("");var za=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(Ef,{optional:!0})??[];injector=E(fe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Xr(this.injector,o);if(Ga(i))n.push(i);else if(gf(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=St({token:e,factory:e.\u0275fac})}return e})();function Hv(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Bv,n.hostDirectives=r?e.map(la):[e]):r?n.hostDirectives.unshift(...e.map(la)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Bv(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,Df(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&me(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{$v(s.declaredInputs,i.inputs)}),[t,r,o]}function Df(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let i=o();for(let s of i)_u(la(s),t,n,r)}else _u(o,t,n,r)}function _u(e,t,n,r){let o=zr(e.directive);if(Df(o,t,n,r),n.has(o)){let i=n.get(o);Mu(i,e.inputs,"input"),Mu(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function Mu(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!r.hasOwnProperty(o)||r[o]===i)&&(r[o]=i)})}function la(e){return typeof e=="function"?{directive:H(e),inputs:{},outputs:{}}:{directive:H(e.directive),inputs:Nu(e.inputs),outputs:Nu(e.outputs)}}function Nu(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function $v(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Uv(e){return Object.getPrototypeOf(e.prototype).constructor}function wf(e){let t=Uv(e.type),n=!0,r=[e];for(;t;){let o;if(me(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Ps(e.inputs),s.declaredInputs=Ps(e.declaredInputs),s.outputs=Ps(e.outputs);let a=o.hostBindings;a&&Qv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Gv(e,c),l&&zv(e,l),Wv(e,o),ol(e.outputs,o.outputs),me(o)&&o.data.animation){let u=e.data;u.animation=(u.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===wf&&(n=!1)}}t=Object.getPrototypeOf(t)}qv(r)}function Wv(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 qv(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=tn(o.hostAttrs,n=tn(n,o.hostAttrs))}}function Ps(e){return e===ze?{}:e===z?[]:e}function Gv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function zv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Qv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Tf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=tn(e.mergedAttrs,e.attrs);let u=e.tView=ka(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),wt(e,!1);let c=Yv(n,t,e,r);go()&&Aa(n,t,c,e),nn(c,t);let l=Wd(c,t,c,e);t[r+O]=l,Pa(t,l),yv(l,e,t)}function Zv(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;return t.firstCreatePass?(p=At(t,d,4,s||null,a||null),so()&&rf(t,e,p,ce(t.consts,l),La),Bu(t,p)):p=t.data[d],Tf(p,e,t,n,r,o,i,c),Zt(p)&&ni(t,e,p),l!=null&&Yn(e,p,u),p}function qn(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;if(t.firstCreatePass){if(p=At(t,d,4,s||null,a||null),l!=null){let f=ce(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Tf(p,e,t,n,r,o,i,c),l!=null&&Yn(e,p,u),p}function Cf(e,t,n,r,o,i,s,a){let c=y(),l=F(),u=ce(l.consts,i);return Zv(c,l,e,t,n,r,o,u,void 0,s,a),Cf}var Yv=Kv;function Kv(e,t,n,r){return kn(!0),t[k].createComment("")}var Jv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=pe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var bf=new x("");var _f=new x("");function Mf(){hi(()=>{let e="";throw new b(600,e)})}var Xv=10;var er=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(bt);afterRenderManager=E(Ko);zonelessEnabled=E(Jt);rootEffectScheduler=E(Io);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new te;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=E(Ct);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ue(n=>!n))}constructor(){E(xt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(re);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=fe.NULL){return this._injector.get(q).run(()=>{if(R(M.BootstrapComponentStart),!this._injector.get(za).done){let N="";throw new b(405,N)}let a=Ge(n),c=this._injector.get(an),l=new sn(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=eI(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),v=h.location.nativeElement,C=h.injector.get(bf,null);return C?.registerApplication(v),h.onDestroy(()=>{this.detachView(h.hostView),Ln(this.components,h),C?.unregisterApplication(v)}),this._loadComponent(h),R(M.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(M.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Yo.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw R(M.ChangeDetectionEnd),new b(101,!1);let n=m(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,m(n),this.afterTick.next(),R(M.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get($n,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Xv;){R(M.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{R(M.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&&!Rn(o))continue;let i=r&&!this.zonelessEnabled?0:1;Hd(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})=>Rn(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;Ln(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(_f,[]).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),()=>Ln(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(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=St({token:e,factory:e.\u0275fac})}return e})();function eI(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Ln(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Nf(e,t,n,r){let o=y(),i=Tt();if(De(o,i,t)){let s=F(),a=ho();hy(a,o,e,t,n,r)}return Nf}var ua=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 Ls(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function tI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){m(r);let l=t.length-1;for(m(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=Ls(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],v=Ls(a,f,l,h,n);if(v!==0){v<0&&e.updateValue(a,h),a--,l--;continue}let C=n(s,u),N=n(a,f),le=n(s,d);if(Object.is(le,N)){let si=n(l,h);Object.is(si,C)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Uo,i??=xu(e,s,a,n),da(e,o,s,le))e.updateValue(s,d),s++,a++;else if(i.has(le))o.set(C,e.detach(s)),a--;else{let si=e.create(s,t[s]);e.attach(s,si),s++,a++}}for(;s<=l;)Su(e,o,n,s,t[s]),s++}else if(t!=null){m(r);let l=t[Symbol.iterator]();m(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Ls(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Uo,i??=xu(e,s,a,n);let h=n(s,p);if(da(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let v=n(s,d);o.set(v,e.detach(s)),a--}}}for(;!u.done;)Su(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function da(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Su(e,t,n,r,o){if(da(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function xu(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 Uo=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 nI(e,t,n,r,o,i,s,a){He("NgControlFlow");let c=y(),l=F(),u=ce(l.consts,i);return qn(c,l,e,t,n,r,o,u,256,s,a),Qa}function Qa(e,t,n,r,o,i,s,a){He("NgControlFlow");let c=y(),l=F(),u=ce(l.consts,i);return qn(c,l,e,t,n,r,o,u,512,s,a),Qa}function rI(e,t){He("NgControlFlow");let n=y(),r=Tt(),o=n[r]!==X?n[r]:-1,i=o!==-1?Wo(n,O+o):void 0,s=0;if(De(n,r,e)){let a=m(null);try{if(i!==void 0&&Gd(i,s),e!==-1){let c=O+e,l=Wo(n,c),u=ga(n[g],c),d=Qd(l,u,n),p=Kn(n,u,t,{dehydratedView:d});Jn(l,p,s,on(u,d))}}finally{m(a)}}else if(i!==void 0){let a=qd(i,s);a!==void 0&&(a[j]=t)}}var fa=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-L}};function oI(e){return e}function iI(e,t){return t}var pa=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function sI(e,t,n,r,o,i,s,a,c,l,u,d,p){He("NgControlFlow");let f=y(),h=F(),v=c!==void 0,C=y(),N=a?s.bind(C[K][j]):s,le=new pa(v,N);C[O+e]=le,qn(f,h,e+1,t,n,r,o,ce(h.consts,i),256),v&&qn(f,h,e+2,c,l,u,d,ce(h.consts,p),512)}var ha=class extends ua{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-L}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[gt];this.needsIndexUpdate||=t!==this.length,Jn(this.lContainer,n,t,on(this.templateTNode,r)),cI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,lI(this.lContainer,t),uI(this.lContainer,t)}create(t,n){let r=jo(this.lContainer,this.templateTNode.tView.ssrId);return Kn(this.hostLView,this.templateTNode,new fa(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Xo(t[g],t)}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return dI(this.lContainer,t)}};function aI(e){let t=m(null),n=ve();try{let r=y(),o=r[g],i=r[n],s=n+1,a=Wo(r,s);if(i.liveCollection===void 0){let l=ga(o,s);i.liveCollection=new ha(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(tI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Tt(),u=c.length===0;if(De(r,l,u)){let d=n+2,p=Wo(r,d);if(u){let f=ga(o,d),h=Qd(p,f,r),v=Kn(r,f,void 0,{dehydratedView:h});Jn(p,v,0,on(f,h))}else o.firstUpdatePass&&jy(p),Gd(p,0)}}}finally{m(t)}}function Wo(e,t){return e[t]}function cI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[xe]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Me];jm(i,o),rn.delete(r[Se]),o.detachedLeaveAnimationFns=void 0}}function lI(e,t){if(e.length<=L)return;let n=L+t,r=e[n],o=r?r[xe]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function uI(e,t){return Hn(e,t)}function dI(e,t){return qd(e,t)}function ga(e,t){return to(e,t)}function Sf(e,t,n){let r=y(),o=Tt();if(De(r,o,t)){let i=F(),s=ho();ly(s,r,e,t,r[k],n)}return Sf}function ma(e,t,n,r,o){Va(t,e,n,o?"class":"style",r)}function qo(e,t,n,r){let o=y(),i=o[g],s=e+O,a=i.firstCreatePass?Ua(s,o,2,t,La,so(),n,r):i.data[s];if(Fe(a)){let c=o[ge].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Kd(l),()=>(Au(e,t,o,a,r),qo))}}return Au(e,t,o,a,r),qo}function Au(e,t,n,r,o){if(Fa(r,n,e,t,Rf),Zt(r)){let i=n[g];ni(i,n,r),Ta(i,r,n)}o!=null&&Yn(n,r)}function Za(){let e=F(),t=Z(),n=ja(t);return e.firstCreatePass&&Wa(e,n),gs(n)&&ms(),ps(),n.classesWithoutHost!=null&&yg(n)&&ma(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&vg(n)&&ma(e,n,y(),n.stylesWithoutHost,!1),Za}function xf(e,t,n,r){return qo(e,t,n,r),Za(),xf}function Ya(e,t,n,r){let o=y(),i=o[g],s=e+O,a=i.firstCreatePass?nv(s,i,2,t,n,r):i.data[s];return Fa(a,o,e,t,Rf),r!=null&&Yn(o,a),Ya}function Ka(){let e=Z(),t=ja(e);return gs(t)&&ms(),ps(),Ka}function Af(e,t,n,r){return Ya(e,t,n,r),Ka(),Af}var Rf=(e,t,n,r,o)=>(kn(!0),vd(t[k],r,Cs()));function Ja(e,t,n){let r=y(),o=r[g],i=e+O,s=o.firstCreatePass?Ua(i,r,8,"ng-container",La,so(),t,n):o.data[i];if(Fa(s,r,e,"ng-container",fI),Zt(s)){let a=r[g];ni(a,r,s),Ta(a,s,r)}return n!=null&&Yn(r,s),Ja}function Xa(){let e=F(),t=Z(),n=ja(t);return e.firstCreatePass&&Wa(e,n),Xa}function kf(e,t,n){return Ja(e,t,n),Xa(),kf}var fI=(e,t,n,r,o)=>(kn(!0),fm(t[k],""));function pI(){return y()}function Of(e,t,n){let r=y(),o=Tt();if(De(r,o,t)){let i=F(),s=ho();Od(s,r,e,t,r[k],n)}return Of}var tr="en-US";var hI=tr;function Pf(e){typeof e=="string"&&(hI=e.toLowerCase().replace(/_/g,"-"))}function Lf(e,t,n){let r=y(),o=F(),i=Z();return gI(o,r,r[k],i,e,t,n),Lf}function Ff(e,t,n){let r=y(),o=F(),i=Z();return(i.type&3||n)&&ef(i,o,r,n,r[k],e,t,No(i,r,t)),Ff}function gI(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=No(r,t,i),ef(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=No(r,t,i),Iu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=No(r,t,i),Iu(r,t,d,o,o,c)}}function mI(e=1){return Bl(e)}function yI(e,t){let n=null,r=Cm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Td(e,i,!0):Mm(r,i))return o}return n}function vI(e){let t=y()[K][Q];if(!t.projection){let n=e?e.length:1,r=t.projection=pl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?yI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function II(e,t=0,n,r,o,i){let s=y(),a=F(),c=r?e+1:null;c!==null&&qn(s,a,c,r,o,i,null,n);let l=At(a,O+e,16,null,n||null);l.projection===null&&(l.projection=t),Is();let d=!s[gt]||hs();s[K][Q].projection[l.projection]===null&&c!==null?EI(s,a,c):d&&!zo(l)&&Jm(a,s,l)}function EI(e,t,n){let r=O+n,o=t.data[r],i=e[r],s=jo(i,o.tView.ssrId),a=Kn(e,o,void 0,{dehydratedView:s});Jn(i,a,0,on(o,s))}function jf(e,t,n,r){return Nv(e,Cv(t,n,r)),jf}function DI(e=1){uo(Fl()+e)}function wI(e){let t=Es();return no(t,O+e)}function To(e,t){return e<<17|t<<2}function Nt(e){return e>>17&32767}function TI(e){return(e&2)==2}function CI(e,t){return e&131071|t<<17}function ya(e){return e|2}function cn(e){return(e&131068)>>2}function Fs(e,t){return e&-131069|t<<2}function bI(e){return(e&1)===1}function va(e){return e|1}function _I(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Nt(s),c=cn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||qt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Nt(e[a+1]);e[r+1]=To(p,a),p!==0&&(e[p+1]=Fs(e[p+1],r)),e[a+1]=CI(e[a+1],r)}else e[r+1]=To(a,0),a!==0&&(e[a+1]=Fs(e[a+1],r)),a=r;else e[r+1]=To(c,0),a===0?a=r:e[c+1]=Fs(e[c+1],r),c=r;l&&(e[r+1]=ya(e[r+1])),Ru(e,u,r,!0),Ru(e,u,r,!1),MI(t,u,e,r,i),s=To(a,c),i?t.classBindings=s:t.styleBindings=s}function MI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&qt(i,t)>=0&&(n[r+1]=va(n[r+1]))}function Ru(e,t,n,r){let o=e[n+1],i=t===null,s=r?Nt(o):cn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];NI(c,t)&&(a=!0,e[s+1]=r?va(l):ya(l)),s=r?Nt(l):cn(l)}a&&(e[n+1]=r?ya(o):va(o))}function NI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?qt(e,t)>=0:!1}var Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function SI(e){return e.substring(Ee.key,Ee.keyEnd)}function xI(e){return AI(e),Vf(e,Hf(e,0,Ee.textEnd))}function Vf(e,t){let n=Ee.textEnd;return n===t?-1:(t=Ee.keyEnd=RI(e,Ee.key=t,n),Hf(e,t,n))}function AI(e){Ee.key=0,Ee.keyEnd=0,Ee.value=0,Ee.valueEnd=0,Ee.textEnd=e.length}function Hf(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function RI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Bf(e,t,n){return Uf(e,t,n,!1),Bf}function $f(e,t){return Uf(e,t,null,!0),$f}function kI(e){PI(BI,OI,e,!0)}function OI(e,t){for(let n=xI(t);n>=0;n=Vf(t,n))Kr(e,SI(t),!0)}function Uf(e,t,n,r){let o=y(),i=F(),s=co(2);if(i.firstUpdatePass&&qf(i,e,s,r),t!==X&&De(o,s,t)){let a=i.data[ve()];Gf(i,a,o,o[k],e,o[s+1]=UI(t,n),r,s)}}function PI(e,t,n,r){let o=F(),i=co(2);o.firstUpdatePass&&qf(o,null,i,r);let s=y();if(n!==X&&De(s,i,n)){let a=o.data[ve()];if(zf(a,r)&&!Wf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Wr(c,n||"")),ma(o,a,s,n,r)}else $I(o,a,s,s[k],s[i+1],s[i+1]=HI(e,t,n),r,i)}}function Wf(e,t){return t>=e.expandoStartIndex}function qf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ve()],s=Wf(e,n);zf(i,r)&&t===null&&!s&&(t=!1),t=LI(o,i,t,r),_I(o,i,t,n,s,r)}}function LI(e,t,n,r){let o=Ll(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=js(null,e,t,n,r),n=Gn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=js(o,e,t,n,r),i===null){let c=FI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=js(null,e,t,c[1],r),c=Gn(c,t.attrs,r),jI(e,t,r,c))}else i=VI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function FI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(cn(r)!==0)return e[Nt(r)]}function jI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Nt(o)]=r}function VI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Gn(r,s,n)}return Gn(r,t.attrs,n)}function js(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=Gn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Gn(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]),Kr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function HI(e,t,n){if(n==null||n==="")return z;let r=[],o=Zo(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)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function BI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Kr(e,r,n)}function $I(e,t,n,r,o,i,s,a){o===X&&(o=z);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,v;u===d?(c+=2,l+=2,p!==f&&(h=d,v=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,v=f),h!==null&&Gf(e,t,n,r,h,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Gf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=bI(l)?ku(c,t,n,o,cn(l),s):void 0;if(!Go(u)){Go(i)||TI(l)&&(i=ku(c,null,n,o,a,s));let d=cs(ve(),n);ey(r,s,d,o,i)}}function ku(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===X&&(p=d?z:void 0);let f=d?Jr(p,r):u===r?p:void 0;if(l&&!Go(f)&&(f=Jr(c,r)),Go(f)&&(a=f,s))return a;let h=e[o+1];o=s?Nt(h):cn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Jr(c,r))}return a}function Go(e){return e!==void 0}function UI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=_n(Zo(e)))),e}function zf(e,t){return(e.flags&(t?8:16))!==0}function WI(e,t=""){let n=y(),r=F(),o=e+O,i=r.firstCreatePass?At(r,o,1,t,null):r.data[o],s=qI(r,n,i,t);n[o]=s,go()&&Aa(r,n,s,i),wt(i,!1)}var qI=(e,t,n,r)=>(kn(!0),um(t[k],r));function Qf(e,t,n,r=""){return De(e,Tt(),n)?t+Ut(n)+r:X}function Zf(e,t,n,r,o,i=""){let s=Al(),a=Xd(e,s,n,o);return co(2),a?t+Ut(n)+r+Ut(o)+i:X}function Yf(e){return ec("",e),Yf}function ec(e,t,n){let r=y(),o=Qf(r,e,t,n);return o!==X&&Jf(r,ve(),o),ec}function Kf(e,t,n,r,o){let i=y(),s=Zf(i,e,t,n,r,o);return s!==X&&Jf(i,ve(),s),Kf}function Jf(e,t,n){let r=cs(t,e);dm(e[k],r,n)}var Xf={};function ep(e){He("NgLet");let t=F(),n=y(),r=e+O,o=At(t,r,128,null,null);return wt(o,!1),An(t,n,r,Xf),ep}function GI(e){let t=F(),n=y(),r=ve();return An(t,n,r,e),e}function zI(e){let t=Es(),n=no(t,O+e);if(n===Xf)throw new b(314,!1);return n}function QI(e,t,n=""){return Qf(y(),e,t,n)}function ZI(e,t,n,r,o=""){return Zf(y(),e,t,n,r,o)}function Ou(e,t,n){let r=F();r.firstCreatePass&&tp(t,r.data,r.blueprint,me(e),n)}function tp(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i<e.length;i++)tp(e[i],t,n,r,o);else{let i=F(),s=y(),a=Z(),c=dt(e)?e:H(e.provide),l=ns(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(dt(e)||!e.multi){let f=new _t(l,o,Xn,null),h=Hs(c,t,o?u:u+p,d);h===-1?(Us(ko(a,s),i,c),Vs(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=Hs(c,t,u+p,d),h=Hs(c,t,u,u+p),v=f>=0&&n[f],C=h>=0&&n[h];if(o&&!C||!o&&!v){Us(ko(a,s),i,c);let N=JI(o?KI:YI,n.length,o,r,l,e);!o&&C&&(n[h].providerFactory=N),Vs(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=np(n[o?h:f],l,!o&&r);Vs(i,e,f>-1?f:h,N)}!o&&r&&C&&n[h].componentProviders++}}}function Vs(e,t,n,r){let o=dt(t),i=vl(t);if(o||i){let c=(i?H(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function np(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Hs(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function YI(e,t,n,r,o){return Ia(this.multi,[])}function KI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Fn(r,r[g],this.providerFactory.index,o);s=c.slice(0,a),Ia(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Ia(i,s);return s}function Ia(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function JI(e,t,n,r,o,i){let s=new _t(e,n,Xn,null);return s.multi=[],s.index=t,s.componentProviders=0,np(s,o,r&&!n),s}function XI(e,t){return n=>{n.providersResolver=(r,o)=>Ou(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Ou(r,o?o(t):t,!0))}}function eE(e,t,n){return op(y(),ao(),e,t,n)}function tE(e,t,n,r){return nE(y(),ao(),e,t,n,r)}function rp(e,t){let n=e[t];return n===X?void 0:n}function op(e,t,n,r,o,i){let s=t+n;return De(e,s,o)?Jd(e,s+1,i?r.call(i,o):r(o)):rp(e,s+1)}function nE(e,t,n,r,o,i,s){let a=t+n;return Xd(e,a,o,i)?Jd(e,a+2,s?r.call(s,o,i):r(o,i)):rp(e,a+2)}function rE(e,t){let n=F(),r,o=e+O;n.firstCreatePass?(r=oE(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=We(r.type,!0)),s,a=Y(Xn);try{let c=Ro(!1),l=i();return Ro(c),An(n,y(),o,l),l}finally{Y(a)}}function oE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function iE(e,t,n){let r=e+O,o=y(),i=no(o,r);return sE(o,r)?op(o,ao(),t,i.transform,n,i):i.transform(n)}function sE(e,t){return e[g].data[t].pure}var ip=(()=>{class e{applicationErrorHandler=E(bt);appRef=E(er);taskService=E(Ct);ngZone=E(q);zonelessEnabled=E(Jt);tracing=E(xt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Tn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(vo,{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:case 2:{this.appRef.dirtyFlags|=2;break}case 3: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?Gl:Ms;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(Tn+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=St({token:e,factory:e.\u0275fac})}return e})();function sp(){return[{provide:_e,useExisting:ip},{provide:q,useClass:Cn},{provide:Jt,useValue:!0}]}var aE=(()=>{class e{compileModuleSync(n){return new $o(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();function cE(){return typeof $localize<"u"&&$localize.locale||tr}var tc=new x("",{factory:()=>E(tc,{optional:!0,skipSelf:!0})||cE()});var oi=class{destroyed=!1;listeners=null;errorHandler=E(Pe,{optional:!0});destroyRef=E(je);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(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(bn(953,!1));return}if(this.listeners===null)return;let n=m(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{m(n)}}};function lE(e,t){return dn(e,t?.equal)}function uE(e){return gc(e)}var lp=Symbol("InputSignalNode#UNSET"),dE=U($({},fn),{transformFn:void 0,applyValueToInputSignal(e,t){Ot(e,t)}});function up(e,t){let n=Object.create(dE);n.value=e,n.transformFn=t?.transform;function r(){if(et(n),n.value===lp){let o=null;throw new b(-950,o)}return n.value}return r[W]=n,r}function gP(e){return fE(e)?e.default:e}function fE(e){return e&&typeof e=="object"&&"default"in e}function mP(e){return new oi}function ap(e,t){return up(e,t)}function pE(e){return up(lp,e)}var yP=(ap.required=pE,ap);function cp(e,t){return ff(t)}function hE(e,t){return pf(t)}var vP=(cp.required=hE,cp);function IP(e,t){return hf(t)}var gE=1e4;var EP=gE-1e3;var DP=(()=>{class e{static __NG_ELEMENT_ID__=mE}return e})();function mE(e){return yE(Z(),y(),(e&16)===16)}function yE(e,t,n){if(Fe(e)&&!n){let r=ae(e.index,t);return new Je(r,r)}else if(e.type&175){let r=t[K];return new Je(r,t)}return null}var vE=(()=>{class e{zone=E(q);changeDetectionScheduler=E(_e);applicationRef=E(er);applicationErrorHandler=E(bt);_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=St({token:e,factory:e.\u0275fac})}return e})(),IE=new x("",{factory:()=>!1});function EE({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new q(U($({},dp()),{scheduleInRootZone:t})),[{provide:Jt,useValue:!1},{provide:q,useFactory:e},{provide:ht,multi:!0,useFactory:()=>{let n=E(vE,{optional:!0});return()=>n.initialize()}},{provide:ht,multi:!0,useFactory:()=>{let n=E(DE);return()=>{n.initialize()}}},{provide:vo,useValue:t??_s}]}function wP(e){let t=e?.scheduleInRootZone,n=EE({ngZoneFactory:()=>{let r=dp(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&He("NgZone_CoalesceEvent"),new q(r)},scheduleInRootZone:t});return Ji([{provide:IE,useValue:!0},n])}function dp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var DE=(()=>{class e{subscription=new V;initialized=!1;zone=E(q);pendingTasks=E(Ct);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(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=St({token:e,factory:e.\u0275fac})}return e})();var rc=new x(""),wE=new x("");function nr(e){return!e.moduleRef}function TE(e){let t=nr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(q);return n.run(()=>{nr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(bt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),nr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(rc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(rc);s.add(i),e.moduleRef.onDestroy(()=>{Ln(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return bE(r,n,()=>{let i=t.get(Ct),s=i.add(),a=t.get(za);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(tc,tr);if(Pf(c||tr),!t.get(wE,!0))return nr(e)?t.get(er):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(nr(e)){let u=t.get(er);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return CE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var CE;function bE(e,t,n){try{let r=n();return Ga(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ii=null;function _E(e=[],t){return fe.create({name:t,providers:[{provide:ts,useValue:"platform"},{provide:rc,useValue:new Set([()=>ii=null])},...e]})}function ME(e=[]){if(ii)return ii;let t=_E(e);return ii=t,Mf(),NE(t),t}function NE(e){let t=e.get(Yl,null);Xr(e,()=>{t?.forEach(n=>n())})}function TP(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(M.BootstrapApplicationStart);try{let i=o?.injector??ME(r),s=[sp(),Ql,...n||[]],a=new Wn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return TE({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(M.BootstrapApplicationEnd)}}var nc=Symbol("NOT_SET"),fp=new Set,SE=U($({},fn),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:nc,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!==nc&&!Rt(this))return this.signal;try{for(let o of this.cleanup??fp)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Be(this),r;try{r=this.userFn.apply(null,t)}finally{tt(this,n)}return(this.value===nc||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),oc=class extends jn{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(je),s),this.scheduler=o;for(let a of Ma){let c=n[a];if(c===void 0)continue;let l=Object.create(SE);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(et(l),l.value),l.signal[W]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}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??fp)n()}finally{$e(t)}}};function CP(e,t){let n=t?.injector??E(fe),r=n.get(_e),o=n.get(Ko),i=n.get(xt,null,{optional:!0});o.impl??=n.get(Na);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Kt,null,{optional:!0}),c=new oc(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function bP(e,t){let n=Ge(e),r=t.elementInjector||Gt();return new sn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}export{$ as a,U as b,Ip as c,xE as d,AE as e,li as f,V as g,Ap as h,S as i,te as j,hn as k,mn as l,it as m,Ce as n,$p as o,Up as p,Wp as q,at as r,qp as s,Ue as t,Xp as u,ct as v,Pr as w,th as x,Ni as y,nh as z,rh as A,In as B,Wc as C,oh as D,ih as E,Lr as F,sh as G,lh as H,uh as I,dh as J,Qc as K,Yc as L,fh as M,Kc as N,Jc as O,ph as P,Xc as Q,b as R,bn as S,pe as T,il as U,mh as V,x as W,be as X,E as Y,Ji as Z,ts as _,re as $,Xr as aa,Nl as ba,Sl as ca,$l as da,Ul as ea,fe as fa,mo as ga,je as ha,Ct as ia,Re as ja,q as ka,Pe as la,bt as ma,yo as na,Zl as oa,Yl as pa,Gh as qa,zh as ra,Qh as sa,_e as ta,Kl as ua,dg as va,Sg as wa,St as xa,Qn as ya,Fg as za,Mt as Aa,gm as Ba,ym as Ca,Fo as Da,rn as Ea,xt as Fa,He as Ga,Om as Ha,oy as Ia,$n as Ja,$y as Ka,nf as La,Xn as Ma,Gy as Na,ri as Oa,Ga as Pa,gf as Qa,an as Ra,mf as Sa,xv as Ta,yf as Ua,Rv as Va,Ov as Wa,Fv as Xa,jv as Ya,Hv as Za,wf as _a,Cf as $a,Jv as ab,_f as bb,er as cb,Nf as db,nI as eb,rI as fb,oI as gb,iI as hb,sI as ib,aI as jb,Sf as kb,qo as lb,Za as mb,xf as nb,Ya as ob,Ka as pb,Af as qb,kf as rb,pI as sb,Of as tb,Lf as ub,Ff as vb,mI as wb,vI as xb,II as yb,jf as zb,DI as Ab,wI as Bb,Bf as Cb,$f as Db,kI as Eb,WI as Fb,Yf as Gb,ec as Hb,Kf as Ib,ep as Jb,GI as Kb,zI as Lb,QI as Mb,ZI as Nb,XI as Ob,eE as Pb,tE as Qb,rE as Rb,iE as Sb,aE as Tb,lE as Ub,uE as Vb,gP as Wb,mP as Xb,yP as Yb,vP as Zb,IP as _b,DP as $b,wP as ac,TP as bc,CP as cc,bP as dc};