langflower 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/README.md +567 -129
  2. package/dist/{chunk-WV2YWHOC.js → chunk-26UB55E5.js} +44 -4
  3. package/dist/{chunk-AO33IM2J.js → chunk-2LE3E2QP.js} +24 -23
  4. package/dist/{chunk-NIRPHJLO.js → chunk-3Z7Q6SQ5.js} +501 -242
  5. package/dist/{chunk-CVTPGIZE.js → chunk-RZUZX6PW.js} +2 -4
  6. package/dist/index.js +43935 -44199
  7. package/docs/public/extending.md +21 -3
  8. package/docs/public/getting-started.md +2 -1
  9. package/docs/public/how-it-works.md +2 -2
  10. package/docs/public/launcher.md +13 -12
  11. package/package.json +1 -1
  12. package/ui-dist/{chunk-EZTB7Q33.js → chunk-HEF6F5HN.js} +3 -3
  13. package/ui-dist/{chunk-BKIP5WRK.js → chunk-IASSR2ON.js} +1 -1
  14. package/ui-dist/index.html +2 -2
  15. package/ui-dist/main-NBS6BFBP.js +323 -0
  16. package/ui-dist/styles-M2URERWI.css +1 -0
  17. package/vendor/node-sdk/dist/node-factory/define-llm-node/default-llm-ports.js +1 -1
  18. package/vendor/node-sdk/dist/node-factory/define-llm-node/define-llm-node.d.ts +9 -21
  19. package/vendor/node-sdk/dist/node-factory/define-llm-node/define-llm-node.js +9 -3
  20. package/vendor/node-sdk/dist/node-factory/define-llm-node/recovery-notice.d.ts +0 -1
  21. package/vendor/node-sdk/dist/node-factory/define-llm-node/recovery-notice.js +0 -9
  22. package/vendor/node-sdk/dist/node-factory/define-node/define-node.d.ts +5 -1
  23. package/vendor/node-sdk/dist/node-factory/define-node/define-node.js +6 -3
  24. package/vendor/node-sdk/dist/node-factory/define-reactive-node/capabilities.d.ts +128 -0
  25. package/vendor/node-sdk/dist/node-factory/define-reactive-node/capabilities.js +25 -0
  26. package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.d.ts +29 -17
  27. package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.js +14 -6
  28. package/vendor/node-sdk/dist/node-factory/define-reactive-node/io-helpers.d.ts +19 -5
  29. package/vendor/node-sdk/dist/node-factory/define-reactive-node/io-helpers.js +4 -3
  30. package/vendor/node-sdk/dist/node-factory/define-reactive-node/port-meta.d.ts +6 -1
  31. package/vendor/node-sdk/dist/node-factory/define-reactive-node/types.d.ts +40 -22
  32. package/vendor/node-sdk/dist/node-factory/define-reactive-node/types.js +2 -0
  33. package/vendor/node-sdk/dist/node-factory/define-reactive-node/ui-schema-inference.d.ts +1 -1
  34. package/vendor/node-sdk/dist/node-factory/define-tool-registrations/define-tool-registrations.d.ts +13 -25
  35. package/vendor/node-sdk/dist/node-factory/define-tool-registrations/define-tool-registrations.js +9 -8
  36. package/vendor/node-sdk/dist/testing/create-node-harness.d.ts +9 -2
  37. package/vendor/node-sdk/dist/testing/create-node-harness.js +6 -2
  38. package/vendor/node-sdk/package.json +5 -0
  39. package/vendor/runtime/dist/bypass-ports.d.ts +0 -6
  40. package/vendor/runtime/dist/bypass-ports.js +0 -7
  41. package/vendor/runtime/dist/runtime-editor.d.ts +1 -1
  42. package/vendor/runtime/dist/runtime-editor.js +1 -1
  43. package/vendor/runtime/dist/runtime-helpers.d.ts +0 -1
  44. package/vendor/runtime/dist/runtime-helpers.js +0 -33
  45. package/vendor/runtime/dist/runtime-runner.d.ts +4 -0
  46. package/vendor/runtime/dist/runtime-runner.js +60 -36
  47. package/vendor/runtime/dist/runtime.d.ts +0 -1
  48. package/vendor/runtime/dist/runtime.js +0 -1
  49. package/vendor/runtime/dist/types.d.ts +27 -17
  50. package/vendor/server/skeleton/instructions.md +6 -0
  51. package/vendor/server/skeleton/nodes/my-nodes/README.md +19 -1
  52. package/vendor/server/skeleton/schemas/langflower-config.schema.json +1 -1
  53. package/vendor/server/skeleton/skills/langflower-helper/SKILL.md +35 -12
  54. package/vendor/server/skeleton/skills/langflower-helper/layout.md +6 -4
  55. package/vendor/server/skeleton/skills/langflower-node-writer/SKILL.md +47 -3
  56. package/vendor/server/skeleton/skills/langflower-workflow-writer/SKILL.md +29 -17
  57. package/vendor/server/skeleton/workflows/advanced-coder.json +24 -2
  58. package/vendor/server/skeleton/workflows/kb-create.json +24 -16
  59. package/vendor/server/skeleton/workflows/kb-manual-search.json +1 -1
  60. package/vendor/server/skeleton/workflows/kb-navigate.json +24 -2
  61. package/vendor/server/skeleton/workflows/kb-rag.json +1 -0
  62. package/vendor/server/skeleton/workflows/simple-coder.json +3 -0
  63. package/vendor/server/skeleton/workflows/starter.json +2 -0
  64. package/ui-dist/main-JJURZFKA.js +0 -318
  65. package/ui-dist/styles-VA3HMZK7.css +0 -1
  66. package/vendor/node-sdk/dist/node-factory/define-llm-node/llm-inventory-wire.d.ts +0 -5
  67. package/vendor/node-sdk/dist/node-factory/define-llm-node/llm-inventory-wire.js +0 -5
  68. package/vendor/node-sdk/dist/node-factory/define-llm-node/llm.d.ts +0 -3
  69. package/vendor/node-sdk/dist/node-factory/define-llm-node/llm.js +0 -2
  70. package/vendor/node-sdk/dist/node-factory/define-mcp/define-mcp.d.ts +0 -50
  71. package/vendor/node-sdk/dist/node-factory/define-mcp/define-mcp.js +0 -60
  72. package/vendor/node-sdk/dist/node-factory/define-mcp/mcp-handle.d.ts +0 -15
  73. package/vendor/node-sdk/dist/node-factory/define-mcp/mcp-handle.js +0 -2
  74. package/vendor/node-sdk/dist/node-factory/define-mcp/mcp-server-config.d.ts +0 -17
  75. package/vendor/node-sdk/dist/node-factory/define-mcp/mcp-server-config.js +0 -2
  76. package/vendor/node-sdk/dist/node-factory/define-mcp/mcp-transport.d.ts +0 -20
  77. package/vendor/node-sdk/dist/node-factory/define-mcp/mcp-transport.js +0 -2
  78. package/vendor/node-sdk/dist/node-factory/define-mcp/mcp.d.ts +0 -3
  79. package/vendor/node-sdk/dist/node-factory/define-mcp/mcp.js +0 -2
  80. package/vendor/node-sdk/dist/node-factory/define-node/test/samples/gate-node.d.ts +0 -20
  81. package/vendor/node-sdk/dist/node-factory/define-node/test/samples/gate-node.js +0 -22
  82. package/vendor/node-sdk/dist/node-factory/define-reactive-node/chat-completion-stream.d.ts +0 -50
  83. package/vendor/node-sdk/dist/node-factory/define-reactive-node/chat-completion-stream.js +0 -2
  84. package/vendor/node-sdk/dist/node-factory/define-reactive-node/crawl-context.d.ts +0 -22
  85. package/vendor/node-sdk/dist/node-factory/define-reactive-node/crawl-context.js +0 -2
  86. package/vendor/node-sdk/dist/node-factory/define-reactive-node/create-embedding.d.ts +0 -6
  87. package/vendor/node-sdk/dist/node-factory/define-reactive-node/create-embedding.js +0 -2
  88. package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-tool-registrations.d.ts +0 -52
  89. package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-tool-registrations.js +0 -52
  90. package/vendor/node-sdk/dist/node-factory/define-reactive-node/kb-context.d.ts +0 -111
  91. package/vendor/node-sdk/dist/node-factory/define-reactive-node/kb-context.js +0 -2
  92. package/vendor/node-sdk/dist/node-factory/define-reactive-node/memory-context.d.ts +0 -12
  93. package/vendor/node-sdk/dist/node-factory/define-reactive-node/memory-context.js +0 -2
  94. package/vendor/node-sdk/dist/node-factory/define-reactive-node/project-files-context.d.ts +0 -10
  95. package/vendor/node-sdk/dist/node-factory/define-reactive-node/project-files-context.js +0 -2
  96. package/vendor/node-sdk/dist/node-factory/define-reactive-node/project-harness.d.ts +0 -56
  97. package/vendor/node-sdk/dist/node-factory/define-reactive-node/project-harness.js +0 -2
  98. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/agent-node.d.ts +0 -29
  99. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/agent-node.js +0 -60
  100. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/combine-node.d.ts +0 -29
  101. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/combine-node.js +0 -26
  102. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/constant-node.d.ts +0 -29
  103. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/constant-node.js +0 -21
  104. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/delay-node.d.ts +0 -29
  105. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/delay-node.js +0 -27
  106. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/finish-node.d.ts +0 -17
  107. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/finish-node.js +0 -21
  108. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/hitl-node.d.ts +0 -21
  109. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/hitl-node.js +0 -43
  110. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/join-node.d.ts +0 -29
  111. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/join-node.js +0 -31
  112. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/preview-node.d.ts +0 -17
  113. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/preview-node.js +0 -19
  114. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/router-node.d.ts +0 -18
  115. package/vendor/node-sdk/dist/node-factory/define-reactive-node/test/samples/router-node.js +0 -12
  116. package/vendor/node-sdk/dist/node-factory/define-reactive-node/tool-registration.d.ts +0 -36
  117. package/vendor/node-sdk/dist/node-factory/define-reactive-node/tool-registration.js +0 -2
  118. package/vendor/node-sdk/dist/node-factory/define-tool-registrations/tool-registration.d.ts +0 -46
  119. package/vendor/node-sdk/dist/node-factory/define-tool-registrations/tool-registration.js +0 -2
@@ -1,4 +1,4 @@
1
- var Ip=Object.create;var di=Object.defineProperty,Ep=Object.defineProperties,Dp=Object.getOwnPropertyDescriptor,wp=Object.getOwnPropertyDescriptors,Tp=Object.getOwnPropertyNames,ir=Object.getOwnPropertySymbols,Cp=Object.getPrototypeOf,fi=Object.prototype.hasOwnProperty,sc=Object.prototype.propertyIsEnumerable;var ic=(e,t,n)=>t in e?di(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,U=(e,t)=>{for(var n in t||={})fi.call(t,n)&&ic(e,n,t[n]);if(ir)for(var n of ir(t))sc.call(t,n)&&ic(e,n,t[n]);return e},W=(e,t)=>Ep(e,wp(t));var bp=(e,t)=>{var n={};for(var r in e)fi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ir)for(var r of ir(e))t.indexOf(r)<0&&sc.call(e,r)&&(n[r]=e[r]);return n};var LE=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var _p=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Tp(t))!fi.call(e,o)&&o!==n&&di(e,o,{get:()=>t[o],enumerable:!(r=Dp(t,o))||r.enumerable});return e};var FE=(e,t,n)=>(n=e!=null?Ip(Cp(e)):{},_p(t||!e||!e.__esModule?di(n,"default",{value:e,enumerable:!0}):n,e));var pi=(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,sr=!1,hi=1,Mp=null,V=Symbol("SIGNAL");function m(e){let t=G;return G=e,t}function ur(){return G}var et={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 Be(e){if(sr)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||Sp(o,G)))return;let i=Pt(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(){hi++}function dr(e){if(!(Pt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===hi)){if(!e.producerMustRecompute(e)&&!Ot(e)){lr(e);return}e.producerRecomputeValue(e),lr(e)}}function gi(e){if(e.consumers===void 0)return;let t=sr;sr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Np(r)}}finally{sr=t}}function mi(){return G?.consumerAllowSignalWrites!==!1}function Np(e){e.dirty=!0,gi(e),e.consumerMarkedDirty?.(e)}function lr(e){e.dirty=!1,e.lastCleanEpoch=hi}function $e(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(Pt(e))do n=yi(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Ot(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(dr(n),r!==n.version))return!0}return!1}function Ue(e){if(Pt(e)){let t=e.producers;for(;t!==void 0;)t=yi(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=Pt(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 yi(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,!Pt(t)){let i=t.producers;for(;i!==void 0;)i=yi(i)}return n}function Pt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function fr(e){Mp?.(e)}function Sp(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 pr(e,t){return Object.is(e,t)}function pn(e,t){let n=Object.create(xp);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(dr(n),Be(n),n.value===fn)throw n.error;return n.value};return r[V]=n,fr(n),r}var ar=Symbol("UNSET"),cr=Symbol("COMPUTING"),fn=Symbol("ERRORED"),xp=W(U({},et),{value:ar,dirty:!0,error:null,equal:pr,kind:"computed",producerMustRecompute(e){return e.value===ar||e.value===cr},producerRecomputeValue(e){if(e.value===cr)throw new Error("");let t=e.value;e.value=cr;let n=$e(e),r,o=!1;try{r=e.computation(),m(null),o=t!==ar&&t!==fn&&r!==fn&&e.equal(t,r)}catch(i){r=fn,e.error=i}finally{tt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Ap(){throw new Error}var dc=Ap;function fc(e){dc(e)}function vi(e){dc=e}var Rp=null;function Ii(e,t){let n=Object.create(hn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>pc(n);return r[V]=n,fr(n),[r,s=>nt(n,s),s=>Ei(n,s)]}function pc(e){return Be(e),e.value}function nt(e,t){mi()||fc(e),e.equal(e.value,t)||(e.value=t,kp(e))}function Ei(e,t){mi()||fc(e),nt(e,t(e.value))}var hn=W(U({},et),{equal:pr,value:void 0,kind:"signal"});function kp(e){e.version++,ac(),gi(e),Rp?.(e)}var Di=W(U({},et),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function wi(e){if(e.dirty=!1,e.version>0&&!Ot(e))return;e.version++;let t=$e(e);try{e.cleanup(),e.fn()}finally{tt(e,t)}}var Ti;function hr(){return Ti}function we(e){let t=Ti;return Ti=e,t}var hc=Symbol("NotFound");function Lt(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 Ft(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 gr=Ft(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
1
+ var vp=Object.create;var di=Object.defineProperty,Ip=Object.defineProperties,Ep=Object.getOwnPropertyDescriptor,Dp=Object.getOwnPropertyDescriptors,wp=Object.getOwnPropertyNames,ir=Object.getOwnPropertySymbols,Tp=Object.getPrototypeOf,fi=Object.prototype.hasOwnProperty,sc=Object.prototype.propertyIsEnumerable;var ic=(e,t,n)=>t in e?di(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,U=(e,t)=>{for(var n in t||={})fi.call(t,n)&&ic(e,n,t[n]);if(ir)for(var n of ir(t))sc.call(t,n)&&ic(e,n,t[n]);return e},W=(e,t)=>Ip(e,Dp(t));var Cp=(e,t)=>{var n={};for(var r in e)fi.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ir)for(var r of ir(e))t.indexOf(r)<0&&sc.call(e,r)&&(n[r]=e[r]);return n};var LE=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var bp=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of wp(t))!fi.call(e,o)&&o!==n&&di(e,o,{get:()=>t[o],enumerable:!(r=Ep(t,o))||r.enumerable});return e};var FE=(e,t,n)=>(n=e!=null?vp(Tp(e)):{},bp(t||!e||!e.__esModule?di(n,"default",{value:e,enumerable:!0}):n,e));var pi=(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,sr=!1,hi=1,_p=null,V=Symbol("SIGNAL");function m(e){let t=G;return G=e,t}function ur(){return G}var et={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 Be(e){if(sr)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||Np(o,G)))return;let i=Pt(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(){hi++}function dr(e){if(!(Pt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===hi)){if(!e.producerMustRecompute(e)&&!Ot(e)){lr(e);return}e.producerRecomputeValue(e),lr(e)}}function gi(e){if(e.consumers===void 0)return;let t=sr;sr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Mp(r)}}finally{sr=t}}function mi(){return G?.consumerAllowSignalWrites!==!1}function Mp(e){e.dirty=!0,gi(e),e.consumerMarkedDirty?.(e)}function lr(e){e.dirty=!1,e.lastCleanEpoch=hi}function $e(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(Pt(e))do n=yi(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Ot(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(dr(n),r!==n.version))return!0}return!1}function Ue(e){if(Pt(e)){let t=e.producers;for(;t!==void 0;)t=yi(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=Pt(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 yi(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,!Pt(t)){let i=t.producers;for(;i!==void 0;)i=yi(i)}return n}function Pt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function fr(e){_p?.(e)}function Np(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 pr(e,t){return Object.is(e,t)}function pn(e,t){let n=Object.create(Sp);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(dr(n),Be(n),n.value===fn)throw n.error;return n.value};return r[V]=n,fr(n),r}var ar=Symbol("UNSET"),cr=Symbol("COMPUTING"),fn=Symbol("ERRORED"),Sp=W(U({},et),{value:ar,dirty:!0,error:null,equal:pr,kind:"computed",producerMustRecompute(e){return e.value===ar||e.value===cr},producerRecomputeValue(e){if(e.value===cr)throw new Error("");let t=e.value;e.value=cr;let n=$e(e),r,o=!1;try{r=e.computation(),m(null),o=t!==ar&&t!==fn&&r!==fn&&e.equal(t,r)}catch(i){r=fn,e.error=i}finally{tt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function xp(){throw new Error}var dc=xp;function fc(e){dc(e)}function vi(e){dc=e}var Ap=null;function Ii(e,t){let n=Object.create(hn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>pc(n);return r[V]=n,fr(n),[r,s=>nt(n,s),s=>Ei(n,s)]}function pc(e){return Be(e),e.value}function nt(e,t){mi()||fc(e),e.equal(e.value,t)||(e.value=t,Rp(e))}function Ei(e,t){mi()||fc(e),nt(e,t(e.value))}var hn=W(U({},et),{equal:pr,value:void 0,kind:"signal"});function Rp(e){e.version++,ac(),gi(e),Ap?.(e)}var Di=W(U({},et),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function wi(e){if(e.dirty=!1,e.version>0&&!Ot(e))return;e.version++;let t=$e(e);try{e.cleanup(),e.fn()}finally{tt(e,t)}}var Ti;function hr(){return Ti}function we(e){let t=Ti;return Ti=e,t}var hc=Symbol("NotFound");function Lt(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 Ft(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 gr=Ft(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
2
  ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function rt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var H=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 gr?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 gr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new gr(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)&&rt(n,t)}remove(t){let{_finalizers:n}=this;n&&rt(n,t),t instanceof e&&t._removeParent(this)}};H.EMPTY=(()=>{let e=new H;return e.closed=!0,e})();var Ci=H.EMPTY;function mr(e){return e instanceof H||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 jt={setTimeout(e,t,...n){let{delegate:r}=jt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=jt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function yr(e){jt.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function gn(){}var yc=bi("C",void 0,void 0);function vc(e){return bi("E",void 0,e)}function Ic(e){return bi("N",e,void 0)}function bi(e,t,n){return{kind:e,value:t,error:n}}var ot=null;function Vt(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!ot;if(t&&(ot={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ot;if(ot=null,n)throw r}}else e()}function Ec(e){ue.useDeprecatedSynchronousErrorHandling&&ot&&(ot.errorThrown=!0,ot.error=e)}var it=class extends H{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,mr(t)&&t.add(this)):this.destination=Lp}static create(t,n,r){return new de(t,n,r)}next(t){this.isStopped?Mi(Ic(t),this):this._next(t)}error(t){this.isStopped?Mi(vc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Mi(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()}}},Op=Function.prototype.bind;function _i(e,t){return Op.call(e,t)}var Ni=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){vr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){vr(r)}else vr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){vr(n)}}},de=class extends it{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&&_i(t.next,i),error:t.error&&_i(t.error,i),complete:t.complete&&_i(t.complete,i)}):o=t}this.destination=new Ni(o)}};function vr(e){ue.useDeprecatedSynchronousErrorHandling?Ec(e):yr(e)}function Pp(e){throw e}function Mi(e,t){let{onStoppedNotification:n}=ue;n&&jt.setTimeout(()=>n(e,t))}var Lp={closed:!0,next:gn,error:Pp,complete:gn};var Ht=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ee(e){return e}function Fp(...e){return Si(e)}function Si(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=Vp(n)?n:new de(n,r,o);return Vt(()=>{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)}[Ht](){return this}pipe(...n){return Si(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 jp(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function Vp(e){return e&&e instanceof it||jp(e)&&mr(e)}function Hp(e){return D(e?.lift)}function T(e){return t=>{if(Hp(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 C(e,t,n,r,o){return new xi(e,t,n,r,o)}var xi=class extends it{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=Ft(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 Ir(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new wc}next(n){Vt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Vt(()=>{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(){Vt(()=>{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?Ci:(this.currentObservers=null,i.push(n),new H(()=>{this.currentObservers=null,rt(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 Ir(t,n),e})(),Ir=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:Ci}};var mn=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 yn={now(){return(yn.delegate||Date).now()},delegate:void 0};var vn=class extends te{constructor(t=1/0,n=1/0,r=yn){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 Er=class extends H{constructor(t,n){super()}schedule(t,n=0){return this}};var In={setInterval(e,t,...n){let{delegate:r}=In;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=In;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Dr=class extends Er{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 In.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&&In.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,rt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Bt=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)}};Bt.now=yn.now;var wr=class extends Bt{constructor(t,n=Bt.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 st=new wr(Dr),Tc=st;var at=new S(e=>e.complete());function Tr(e){return e&&D(e.schedule)}function Ai(e){return e[e.length-1]}function Cc(e){return D(Ai(e))?e.pop():void 0}function Te(e){return Tr(Ai(e))?e.pop():void 0}function bc(e,t){return typeof Ai(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 ct(e){return this instanceof ct?(this.v=e,this):new ct(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(_,N){i.push([f,v,_,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 ct?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 Cr=e=>e&&typeof e.length=="number"&&typeof e!="function";function br(e){return D(e?.then)}function _r(e){return D(e[Ht])}function Mr(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function Nr(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 Bp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Sr=Bp();function xr(e){return D(e?.[Sr])}function Ar(e){return Nc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ct(n.read());if(o)return yield ct(void 0);yield yield ct(r)}}finally{n.releaseLock()}})}function Rr(e){return D(e?.getReader)}function P(e){if(e instanceof S)return e;if(e!=null){if(_r(e))return $p(e);if(Cr(e))return Up(e);if(br(e))return Wp(e);if(Mr(e))return xc(e);if(xr(e))return qp(e);if(Rr(e))return Gp(e)}throw Nr(e)}function $p(e){return new S(t=>{let n=e[Ht]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Up(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Wp(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,yr)})}function qp(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=>{zp(e,t).catch(n=>t.error(n))})}function Gp(e){return xc(Ar(e))}function zp(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 kr(e,t=0){return T((n,r)=>{n.subscribe(C(r,o=>J(r,e,()=>r.next(o),t),()=>J(r,e,()=>r.complete(),t),o=>J(r,e,()=>r.error(o),t)))})}function Or(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ac(e,t){return P(e).pipe(Or(t),kr(t))}function Rc(e,t){return P(e).pipe(Or(t),kr(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[Sr](),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 Pr(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 Pr(Ar(e),t)}function Lc(e,t){if(e!=null){if(_r(e))return Ac(e,t);if(Cr(e))return kc(e,t);if(br(e))return Rc(e,t);if(Mr(e))return Pr(e,t);if(xr(e))return Oc(e,t);if(Rr(e))return Pc(e,t)}throw Nr(e)}function Ce(e,t){return t?Lc(e,t):P(e)}function Qp(...e){let t=Te(e);return Ce(e,t)}function Zp(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 Yp(e){return!!e&&(e instanceof S||D(e.lift)&&D(e.subscribe))}var lt=Ft(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Kp(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 lt)}});e.subscribe(i)})}function Fc(e){return e instanceof Date&&!isNaN(e)}function We(e,t){return T((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Jp}=Array;function Xp(e,t){return Jp(t)?e(...t):e(t)}function jc(e){return We(t=>Xp(e,t))}var{isArray:eh}=Array,{getPrototypeOf:th,prototype:nh,keys:rh}=Object;function Vc(e){if(e.length===1){let t=e[0];if(eh(t))return{args:t,keys:null};if(oh(t)){let n=rh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function oh(e){return e&&typeof e=="object"&&th(e)===nh}function Hc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ih(...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(sh(r,t,o?s=>Hc(o,s):ee));return n?i.pipe(jc(n)):i}function sh(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(C(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 _=!1;P(n(v,u++)).subscribe(C(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{_=!0},void 0,()=>{if(_)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(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ut(e,t,n=1/0){return D(t)?ut((r,o)=>We((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 Lr(e=1/0){return ut(ee,e)}function Uc(){return Lr(1)}function Fr(...e){return Uc()(Ce(e,Te(e)))}function ah(e){return new S(t=>{P(e()).subscribe(t)})}function En(e=0,t,n=Tc){let r=-1;return t!=null&&(Tr(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 ch(e=0,t=st){return e<0&&(e=0),En(e,e,t)}function lh(...e){let t=Te(e),n=bc(e,1/0),r=e;return r.length?r.length===1?P(r[0]):Lr(n)(Ce(r,t)):at}function $t(e,t){return T((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Wc(e){return T((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(C(n,l=>{r=!0,o=l,i||P(e(l)).subscribe(i=C(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function uh(e,t=st){return Wc(()=>En(e,t))}function qc(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=P(e(s,qc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Gc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(C(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 dh(e,t){return D(t)?ut(e,t,1):ut(e,1)}function zc(e,t=st){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(C(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 Qc(e){return T((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function jr(e){return e<=0?()=>at:T((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Zc(e,t=ee){return e=e??fh,T((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function fh(e,t){return e===t}function Yc(e=ph){return T((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ph(){return new lt}function hh(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function gh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$t((o,i)=>e(o,i,r)):ee,jr(1),n?Qc(t):Yc(()=>new lt))}function mh(e){return e<=0?()=>at:T((t,n)=>{let r=[];t.subscribe(C(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 Kc(e,t){return T(Gc(e,t,arguments.length>=2,!0))}function Jc(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,_)=>{l++,!d&&!u&&p();let N=c=c??t();_.add(()=>{l--,l===0&&!d&&!u&&(a=Ri(h,o))}),N.subscribe(_),!s&&l>0&&(s=new de({next:le=>N.next(le),error:le=>{d=!0,p(),a=Ri(f,n,le),N.error(le)},complete:()=>{u=!0,p(),a=Ri(f,r),N.complete()}}),P(v).subscribe(s))})(i)}}function Ri(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 Xc(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Jc({connector:()=>new vn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function yh(e){return $t((t,n)=>e<=n)}function el(...e){let t=Te(e);return T((n,r)=>{(t?Fr(e,n,t):Fr(e,n)).subscribe(r)})}function tl(e,t){return T((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function vh(e){return T((t,n)=>{P(e).subscribe(C(n,()=>n.complete(),gn)),!n.closed&&t.subscribe(n)})}function nl(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(C(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 qr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(_n(t,n)),this.code=t}};function Ih(e){return`NG0${Math.abs(e)}`}function _n(e,t){return`${Ih(e)}${t?": "+t:""}`}function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function al(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Mn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Mn).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 Gr(e,t){return e?t?`${e} ${t}`:e:t||""}var Eh=A({__forward_ref__:A});function zr(e){return e.__forward_ref__=zr,e}function B(e){return qi(e)?e():e}function qi(e){return typeof e=="function"&&e.hasOwnProperty(Eh)&&e.__forward_ref__===zr}function pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function cl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Nn(e){return wh(e,Qr)}function Dh(e){return Nn(e)!==null}function wh(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Th(e){let t=e?.[Qr]??null;return t||null}function Oi(e){return e&&e.hasOwnProperty(Hr)?e[Hr]:null}var Qr=A({\u0275prov:A}),Hr=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 Gi(e){return e&&!!e.\u0275providers}var zi=A({\u0275cmp:A}),Qi=A({\u0275dir:A}),Zi=A({\u0275pipe:A}),Yi=A({\u0275mod:A}),wn=A({\u0275fac:A}),gt=A({__NG_ELEMENT_ID__:A}),rl=A({__NG_ENV_ID__:A});function ll(e){return Yr(e,"@NgModule"),e[Yi]||null}function ze(e){return Yr(e,"@Component"),e[zi]||null}function Zr(e){return Yr(e,"@Directive"),e[Qi]||null}function ul(e){return Yr(e,"@Pipe"),e[Zi]||null}function Yr(e,t){if(e==null)throw new b(-919,!1)}function qt(e){return typeof e=="string"?e:e==null?"":String(e)}var dl=A({ngErrorCode:A}),Ch=A({ngErrorMessage:A}),bh=A({ngTokenPath:A});function Ki(e,t){return fl("",-200,t)}function Kr(e,t){throw new b(-201,!1)}function fl(e,t,n){let r=new b(t,e);return r[dl]=t,r[Ch]=e,n&&(r[bh]=n),r}function _h(e){return e[dl]}var Pi;function pl(){return Pi}function Y(e){let t=Pi;return Pi=e,t}function Ji(e,t,n){let r=Nn(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;Kr(e,"")}var Gt=globalThis;var Mh={},dt=Mh,Nh="__NG_DI_FLAG__",Li=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ft(n)||0;try{return this.injector.get(t,r&8?null:dt,r)}catch(o){if(Lt(o))return o;throw o}}};function Sh(e,t=0){let n=hr();if(n===void 0)throw new b(-203,!1);if(n===null)return Ji(e,void 0,t);{let r=xh(t),o=n.retrieve(e,r);if(Lt(o)){if(r.optional)return null;throw o}return o}}function be(e,t=0){return(pl()||Sh)(B(e),t)}function E(e,t){return be(e,ft(t))}function ft(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xh(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Fi(e){let t=[];for(let n=0;n<e.length;n++){let r=B(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=Ah(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 Ah(e){return e[Nh]}function qe(e,t){let n=e.hasOwnProperty(wn);return n?e[wn]:null}function hl(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 gl(e){return e.flat(Number.POSITIVE_INFINITY)}function Jr(e,t){e.forEach(n=>Array.isArray(n)?Jr(n,t):t(n))}function Xi(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Sn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ml(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function yl(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 Xr(e,t,n){let r=zt(e,t);return r>=0?e[r|1]=n:(r=~r,yl(e,r,t,n)),r}function eo(e,t){let n=zt(e,t);if(n>=0)return e[n|1]}function zt(e,t){return Rh(e,t,1)}function Rh(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 Qe={},z=[],mt=new x(""),xn=new x("",-1),es=new x(""),Wt=class{get(t,n=dt){if(n===dt){let o=fl("",-201);throw o.name="\u0275NotFound",o}return n}};function ts(e){return{\u0275providers:e}}function vl(...e){return{\u0275providers:ns(!0,e),\u0275fromNgModule:!0}}function ns(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Jr(t,s=>{let a=s;Br(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Il(o,i),n}function Il(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];rs(o,i=>{t(i,r)})}}function Br(e,t,n,r){if(e=B(e),!e)return!1;let o=null,i=Oi(e),s=!i&&ze(e);if(!i&&!s){let c=e.ngModule;if(i=Oi(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)Br(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Jr(i.imports,u=>{Br(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Il(l,t)}if(!a){let l=qe(o)||(()=>new o);t({provide:o,useFactory:l,deps:z},o),t({provide:es,useValue:o,multi:!0},o),t({provide:mt,useValue:()=>be(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;rs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function rs(e,t){for(let n of e)Gi(n)&&(n=n.\u0275providers),Array.isArray(n)?rs(n,t):t(n)}var kh=A({provide:String,useValue:A});function El(e){return e!==null&&typeof e=="object"&&kh in e}function Oh(e){return!!(e&&e.useExisting)}function Ph(e){return!!(e&&e.useFactory)}function pt(e){return typeof e=="function"}function Dl(e){return!!e.useClass}var os=new x(""),Vr={},ol={},ki;function Qt(){return ki===void 0&&(ki=new Wt),ki}var re=class{},ht=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,Vi(t,s=>this.processProvider(s)),this.records.set(xn,Ut(void 0,this)),o.has("environment")&&this.records.set(re,Ut(void 0,this));let i=this.records.get(os);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(es,z,{self:!0}))}retrieve(t,n){let r=ft(n)||0;try{return this.get(t,dt,r)}catch(o){if(Lt(o))return o;throw o}}destroy(){Dn(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 Dn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Dn(this);let n=we(this),r=Y(void 0),o;try{return t()}finally{we(n),Y(r)}}get(t,n=dt,r){if(Dn(this),t.hasOwnProperty(rl))return t[rl](this);let o=ft(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=Hh(t)&&Nn(t);u&&this.injectableDefInScope(u)?l=Ut(ji(t),Vr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Qt():this.parent;return n=o&8&&n===dt?null:n,c.get(t,n)}catch(c){let l=_h(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(mt,z,{self:!0});for(let s of i)s()}finally{we(n),Y(r),m(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=B(t);let n=pt(t)?t:B(t&&t.provide),r=Fh(t);if(!pt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ut(void 0,Vr,!0),o.factory=()=>Fi(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===ol)throw Ki("");return n.value===Vr&&(n.value=ol,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Vh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{m(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=B(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 ji(e){let t=Nn(e),n=t!==null?t.factory:qe(e);if(n!==null)return n;if(e instanceof x)throw new b(-204,!1);if(e instanceof Function)return Lh(e);throw new b(-204,!1)}function Lh(e){if(e.length>0)throw new b(-204,!1);let n=Th(e);return n!==null?()=>n.factory(e):()=>new e}function Fh(e){if(El(e))return Ut(void 0,e.useValue);{let t=is(e);return Ut(t,Vr)}}function is(e,t,n){let r;if(pt(e)){let o=B(e);return qe(o)||ji(o)}else if(El(e))r=()=>B(e.useValue);else if(Ph(e))r=()=>e.useFactory(...Fi(e.deps||[]));else if(Oh(e))r=(o,i)=>be(B(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=B(e&&(e.useClass||e.provide));if(jh(e))r=()=>new o(...Fi(e.deps));else return qe(o)||ji(o)}return r}function Dn(e){if(e.destroyed)throw new b(-205,!1)}function Ut(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function jh(e){return!!e.deps}function Vh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Hh(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Vi(e,t){for(let n of e)Array.isArray(n)?Vi(n,t):n&&Gi(n)?Vi(n.\u0275providers,t):t(n)}function to(e,t){let n;e instanceof ht?(Dn(e),n=e):n=new Li(e);let r,o=we(n),i=Y(void 0);try{return t()}finally{we(o),Y(i)}}function wl(){return pl()!==void 0||hr()!=null}var he=0,g=1,I=2,$=3,oe=4,Q=5,yt=6,Zt=7,j=8,Me=9,ge=10,k=11,Yt=12,ss=13,vt=14,K=15,Ze=16,It=17,Ne=18,Se=19,as=20,ke=21,no=22,Ge=23,ne=24,Et=25,xe=26,O=27,Tl=1,cs=6,Ye=7,An=8,Dt=9,L=10;function Le(e){return Array.isArray(e)&&typeof e[Tl]=="object"}function ie(e){return Array.isArray(e)&&e[Tl]===!0}function ls(e){return(e.flags&4)!==0}function Fe(e){return e.componentOffset>-1}function Kt(e){return(e.flags&1)===1}function me(e){return!!e.template}function Jt(e){return(e[I]&512)!==0}function wt(e){return(e[I]&256)===256}var us="svg",Cl="math";function se(e){for(;Array.isArray(e);)e=e[he];return e}function ds(e,t){return se(t[e])}function ye(e,t){return se(t[e.index])}function ro(e,t){return e.data[t]}function oo(e,t){return e[t]}function Rn(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 io(e){return(e[I]&128)===128}function bl(e){return ie(e[$])}function ce(e,t){return t==null?null:e[t]}function fs(e){e[It]=0}function ps(e){e[I]&1024||(e[I]|=1024,io(e)&&Tt(e))}function _l(e,t){for(;e>0;)t=t[vt],e--;return t}function kn(e){return!!(e[I]&9216||e[ne]?.dirty)}function so(e){e[ge].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),kn(e)&&Tt(e)}function Tt(e){e[ge].changeDetectionScheduler?.notify(0);let t=Oe(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!io(t)));)t=Oe(t)}function ao(e,t){if(wt(e))throw new b(911,!1);e[ke]===null&&(e[ke]=[]),e[ke].push(t)}function Ml(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[$];return ie(t)?t[$]:t}function hs(e){return e[Zt]??=[]}function gs(e){return e.cleanup??=[]}function Nl(e,t,n,r){let o=hs(t);o.push(n),e.firstCreatePass&&gs(e).push(r,o.length-1)}var w={lFrame:$l(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Hi=!1;function Sl(){return w.lFrame.elementDepthCount}function xl(){w.lFrame.elementDepthCount++}function ms(){w.lFrame.elementDepthCount--}function co(){return w.bindingsEnabled}function ys(){return w.skipHydrationRootTNode!==null}function vs(e){return w.skipHydrationRootTNode===e}function Is(){w.skipHydrationRootTNode=null}function y(){return w.lFrame.lView}function F(){return w.lFrame.tView}function Al(e){return w.lFrame.contextLView=e,e[j]}function Rl(e){return w.lFrame.contextLView=null,e}function Z(){let e=Es();for(;e!==null&&e.type===64;)e=e.parent;return e}function Es(){return w.lFrame.currentTNode}function kl(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ct(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function Ds(){return w.lFrame.isParent}function ws(){w.lFrame.isParent=!1}function Ts(){return w.lFrame.contextLView}function Cs(){return Hi}function Tn(e){let t=Hi;return Hi=e,t}function lo(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ol(){return w.lFrame.bindingIndex}function Pl(e){return w.lFrame.bindingIndex=e}function bt(){return w.lFrame.bindingIndex++}function uo(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ll(){return w.lFrame.inI18n}function Fl(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,fo(t)}function jl(){return w.lFrame.currentDirectiveIndex}function fo(e){w.lFrame.currentDirectiveIndex=e}function Vl(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Hl(){return w.lFrame.currentQueryIndex}function po(e){w.lFrame.currentQueryIndex=e}function Bh(e){let t=e[g];return t.type===2?t.declTNode:t.type===1?e[Q]:null}function bs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Bh(i),o===null||(i=i[vt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=Bl();return r.currentTNode=t,r.lView=e,!0}function ho(e){let t=Bl(),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 Bl(){let e=w.lFrame,t=e===null?null:e.child;return t===null?$l(e):t}function $l(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 Ul(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _s=Ul;function go(){let e=Ul();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 Wl(e){return(w.lFrame.contextLView=_l(e,w.lFrame.contextLView))[j]}function ve(){return w.lFrame.selectedIndex}function Ke(e){w.lFrame.selectedIndex=e}function mo(){let e=w.lFrame;return ro(e.tView,e.selectedIndex)}function ql(){w.lFrame.currentNamespace=us}function Gl(){$h()}function $h(){w.lFrame.currentNamespace=null}function Ms(){return w.lFrame.currentNamespace}var zl=!0;function yo(){return zl}function On(e){zl=e}function Bi(e,t=null,n=null,r){let o=Ns(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ns(e,t=null,n=null,r,o=new Set){let i=[n||z,vl(e)],s;return new ht(i,t||Qt(),s||null,o)}var fe=class e{static THROW_IF_NOT_FOUND=dt;static NULL=new Wt;static create(t,n){if(Array.isArray(t))return Bi({name:""},n,t,"");{let r=t.name??"";return Bi({name:r},t.parent,t.providers,r)}}static \u0275prov=pe({token:e,providedIn:"any",factory:()=>be(xn)});static __NG_ELEMENT_ID__=-1},vo=new x(""),je=(()=>{class e{static __NG_ELEMENT_ID__=Uh;static __NG_ENV_ID__=n=>n}return e})(),$r=class extends je{_lView;constructor(t){super(),this._lView=t}get destroyed(){return wt(this._lView)}onDestroy(t){let n=this._lView;return ao(n,t),()=>Ml(n,t)}};function Uh(){return new $r(y())}var Ss=!1,Ql=new x(""),_t=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new mn(!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})(),$i=class extends te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,wl()&&(this.destroyRef=E(je,{optional:!0})??void 0,this.pendingTasks=E(_t,{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 H&&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=$i;function Ur(...e){}function xs(e){let t,n;function r(){e=Ur;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 Zl(e){return queueMicrotask(()=>e()),()=>{e=Ur}}var As="isAngularZone",Cn=As+"_ID",Wh=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=Ss}=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,zh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(As)===!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,qh,Ur,Ur);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)}},qh={};function Rs(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 Gh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){xs(()=>{e.callbackScheduled=!1,Ui(e),e.isCheckStableRunning=!0,Rs(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ui(e)}function zh(e){let t=()=>{Gh(e)},n=Wh++;e._inner=e._inner.fork({name:"angular",properties:{[As]:!0,[Cn]:n,[Cn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Qh(c))return r.invokeTask(i,s,a,c);try{return il(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),sl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return il(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Zh(c)&&t(),sl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ui(e),Rs(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 Ui(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function il(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sl(e){e._nesting--,Rs(e)}var bn=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 Qh(e){return Yl(e,"__ignore_ng_zone__")}function Zh(e){return Yl(e,"__scheduler_tick__")}function Yl(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)}},Mt=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))})}}}),Kl={provide:mt,useValue:()=>{let e=E(Pe,{optional:!0})},multi:!0};function Io(e,t){let[n,r,o]=Ii(e,t?.equal),i=n,s=i[V];return i.set=r,i.update=o,i.asReadonly=Eo.bind(i),i}function Eo(){let e=this[V];if(e.readonlyFn===void 0){let t=()=>this();t[V]=e,e.readonlyFn=t}return e.readonlyFn}var Jl=new x("",{factory:()=>Yh}),Yh="ng";var Xl=new x(""),Kh=new x("",{providedIn:"platform",factory:()=>"unknown"}),Jh=new x(""),Xh=new x("",{factory:()=>E(vo).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Xt=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=eg}return e})();function eg(){return new Xt(y(),Z())}var _e=class{},en=new x("",{factory:()=>!0});var Do=new x(""),wo=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new Wi})}return e})(),Wi=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}},Wr=class{[V];constructor(t){this[V]=t}destroy(){this[V].destroy()}};function eu(e,t){let n=t?.injector??E(fe),r=t?.manualCleanup!==!0?n.get(je):null,o,i=n.get(Xt,null,{optional:!0}),s=n.get(_e);return i!==null?(o=rg(i.view,s,e),r instanceof $r&&r._lView===i.view&&(r=null)):o=og(e,n.get(wo),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Wr(o)}var tu=W(U({},Di),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Tn(!1);try{wi(this)}finally{Tn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=m(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],m(e)}}}),tg=W(U({},tu),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Ue(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),ng=W(U({},tu),{consumerMarkedDirty(){this.view[I]|=8192,Tt(this.view),this.notifier.notify(13)},destroy(){if(Ue(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Ge]?.delete(this)}});function rg(e,t,n){let r=Object.create(ng);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=nu(r,n),e[Ge]??=new Set,e[Ge].add(r),r.consumerMarkedDirty(r),r}function og(e,t,n){let r=Object.create(tg);return r.fn=nu(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 nu(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Qn(e){return{toString:e}.toString()}var Ro=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Bu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var mg=(()=>{let e=()=>$u;return e.ngInherit=!0,e})();function $u(e){return e.type.prototype.ngOnChanges&&(e.setInput=vg),yg}function yg(){let e=Uu(this),t=e?.current;if(t){let n=e.previous;if(n===Qe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function vg(e,t,n,r,o){let i=this.declaredInputs[r],s=Uu(e)||Ig(e,{previous:Qe,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ro(l&&l.currentValue,n,c===Qe),Bu(e,t,o,n)}var Us="__ngSimpleChanges__";function Uu(e){return Object.hasOwn(e,Us)&&e[Us]||null}function Ig(e,t){return e[Us]=t}var ru=[];var R=function(e,t=null,n){for(let r=0;r<ru.length;r++){let o=ru[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 Eg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=$u(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 Wu(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 Mo(e,t,n){qu(e,t,3,n)}function No(e,t,n,r){(e[I]&3)===n&&qu(e,t,n,r)}function ks(e,t){let n=e[I];(n&3)===t&&(n&=16383,n+=1,e[I]=n)}function qu(e,t,n,r){let o=r!==void 0?e[It]&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[It]+=65536),(a<i||i==-1)&&(Dg(e,n,t,c),e[It]=(e[It]&4294901760)+c+2),c++}function ou(e,t){R(M.LifecycleHookStart,e,t);let n=m(null);try{t.call(e)}finally{m(n),R(M.LifecycleHookEnd,e,t)}}function Dg(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[It]>>16&&(e[I]&3)===t&&(e[I]+=16384,ou(a,i)):ou(a,i)}var nn=-1,Nt=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 wg(e){return(e.flags&8)!==0}function Tg(e){return(e.flags&16)!==0}function Cg(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];_g(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function bg(e){return e===3||e===4||e===6}function _g(e){return e.charCodeAt(0)===64}function rn(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?iu(e,n,o,null,t[++r]):iu(e,n,o,null,null))}}return e}function iu(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 Gu(e){return e!==nn}function ko(e){return e&32767}function Mg(e){return e>>16}function Oo(e,t){let n=Mg(e),r=t;for(;n>0;)r=r[vt],n--;return r}var Ws=!0;function Po(e){let t=Ws;return Ws=e,t}var Ng=256,zu=Ng-1,Qu=5,Sg=0,Ae={};function xg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(gt)&&(r=n[gt]),r==null&&(r=n[gt]=Sg++);let o=r&zu,i=1<<o;t.data[e+(o>>Qu)]|=i}function Lo(e,t){let n=Zu(e,t);if(n!==-1)return n;let r=t[g];r.firstCreatePass&&(e.injectorIndex=t.length,Os(r.data,e),Os(t,null),Os(r.blueprint,null));let o=wa(e,t),i=e.injectorIndex;if(Gu(o)){let s=ko(o),a=Oo(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 Os(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function wa(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=ed(o),r===null)return nn;if(n++,o=o[vt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return nn}function qs(e,t,n){xg(e,t,n)}function Yu(e,t,n){if(n&8||e!==void 0)return e;Kr(t,"NodeInjector")}function Ku(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):Ji(t,r,n&8)}finally{Y(i)}}return Yu(r,t,n)}function Ju(e,t,n,r=0,o){if(e!==null){if(t[I]&2048&&!(r&2)){let s=Pg(e,t,n,r,Ae);if(s!==Ae)return s}let i=Xu(e,t,n,r,Ae);if(i!==Ae)return i}return Ku(t,n,r,o)}function Xu(e,t,n,r,o){let i=Rg(n);if(typeof i=="function"){if(!bs(t,e,r))return r&1?Yu(o,n,r):Ku(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Kr(n);else return s}finally{_s()}}else if(typeof i=="number"){let s=null,a=Zu(e,t),c=nn,l=r&1?t[K][Q]:null;for((a===-1||r&4)&&(c=a===-1?wa(e,t):t[a+8],c===nn||!au(r,!1)?a=-1:(s=t[g],a=ko(c),t=Oo(c,t)));a!==-1;){let u=t[g];if(su(i,a,u.data)){let d=Ag(a,t,n,s,r,l);if(d!==Ae)return d}c=t[a+8],c!==nn&&au(r,t[g].data[a+8]===l)&&su(i,a,t)?(s=u,a=ko(c),t=Oo(c,t)):a=-1}}return o}function Ag(e,t,n,r,o,i){let s=t[g],a=s.data[e+8],c=r==null?Fe(a)&&Ws:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=So(a,s,n,c,l);return u!==null?jn(t,s,u,a,o):Ae}function So(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 jn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Nt){let a=i;if(a.resolving)throw Ki("");let c=Po(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?Y(a.injectImpl):null,p=bs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Eg(n,s[n],t)}finally{d!==null&&Y(d),Po(c),a.resolving=!1,_s()}}return i}function Rg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(gt)?e[gt]:void 0;return typeof t=="number"?t>=0?t&zu:kg:t}function su(e,t,n){let r=1<<e;return!!(n[t+(e>>Qu)]&r)}function au(e,t){return!(e&2)&&!(e&1&&t)}var Je=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ju(this._tNode,this._lView,t,ft(r),n)}};function kg(){return new Je(Z(),y())}function Og(e){return Qn(()=>{let t=e.prototype.constructor,n=t[wn]||Gs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[wn]||Gs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Gs(e){return qi(e)?()=>{let t=Gs(B(e));return t&&t()}:qe(e)}function Pg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!Jt(s);){let a=Xu(i,s,n,r|2,Ae);if(a!==Ae)return a;let c=i.parent;if(!c){let l=s[as];if(l){let u=l.get(n,Ae,r&-5);if(u!==Ae)return u}c=ed(s),s=s[vt]}i=c}return o}function ed(e){let t=e[g],n=t.type;return n===2?t.declTNode:n===1?e[Q]:null}function At(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function Lg(){return dn(Z(),y())}function dn(e,t){return new Zn(ye(e,t))}var Zn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Lg}return e})();function Fg(e){return e instanceof Zn?e.nativeElement:e}function jg(){return this._results[Symbol.iterator]()}var Fo=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=gl(t);(this._changesDetected=!hl(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]=jg};function td(e){return(e.flags&128)===128}var Ta=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Ta||{}),nd=new Map,Vg=0;function Hg(){return Vg++}function Bg(e){nd.set(e[Se],e)}function zs(e){nd.delete(e[Se])}var cu="__ngContext__";function on(e,t){Le(t)?(e[cu]=t[Se],Bg(t)):e[cu]=t}function rd(e){return id(e[Yt])}function od(e){return id(e[oe])}function id(e){for(;e!==null&&!ie(e);)e=e[oe];return e}var Qs;function $g(e){Qs=e}function Ca(){if(Qs!==void 0)return Qs;if(typeof document<"u")return document;throw new b(210,!1)}var sd="r";var ad="di";var cd=!1,ld=new x("",{factory:()=>cd});var lu=new WeakMap;function Ug(e,t){if(e==null||typeof e!="object")return;let n=lu.get(e);n||(n=new WeakSet,lu.set(e,n)),n.add(t)}var Wg=(e,t,n,r)=>{};function qg(e,t,n,r){Wg(e,t,n,r)}function Yo(e){return(e.flags&32)===32}var Gg=()=>null;function ud(e,t,n=!1){return Gg(e,t,n)}function dd(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];po(i),a.contentQueries(2,t[s],s)}}}finally{m(r)}}}function Zs(e,t,n){po(0);let r=m(null);try{t(e,n)}finally{m(r)}}function ba(e,t,n){if(ls(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 St=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(St||{});var To;function zg(){if(To===void 0&&(To=null,Gt.trustedTypes))try{To=Gt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return To}function Ko(e){return zg()?.createHTML(e)||e}var Co;function Qg(){if(Co===void 0&&(Co=null,Gt.trustedTypes))try{Co=Gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Co}function uu(e){return Qg()?.createHTML(e)||e}var jo=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qr})`}};function Jo(e){return e instanceof jo?e.changingThisBreaksApplicationSecurity:e}function fd(e,t){let n=pd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${qr})`)}return n===t}function pd(e){return e instanceof jo&&e.getTypeName()||null}function Zg(e){let t=new Ks(e);return Yg()?new Ys(t):t}var Ys=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ko(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Ks=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=Ko(t),n}};function Yg(){try{return!!new window.DOMParser().parseFromString(Ko(""),"text/html")}catch(e){return!1}}var Kg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function hd(e){return e=String(e),e.match(Kg)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Yn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var gd=Ve("area,br,col,hr,img,wbr"),md=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yd=Ve("rp,rt"),Jg=Yn(yd,md),Xg=Yn(md,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")),em=Yn(yd,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")),du=Yn(gd,Xg,em,Jg),vd=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tm=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"),nm=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"),rm=Yn(vd,tm,nm),om=Ve("script,style,template"),Js=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=am(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=sm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=fu(t).toLowerCase();if(!du.hasOwnProperty(n))return this.sanitizedSomething=!0,!om.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(!rm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;vd[a]&&(c=hd(c)),this.buf.push(" ",s,'="',pu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=fu(t).toLowerCase();du.hasOwnProperty(n)&&!gd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(pu(t))}};function im(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function sm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Id(t);return t}function am(e){let t=e.firstChild;if(t&&im(e,t))throw Id(t);return t}function fu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Id(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var cm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lm=/([^\#-~ |!])/g;function pu(e){return e.replace(/&/g,"&amp;").replace(cm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(lm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var bo;function Ed(e,t){let n=null;try{bo=bo||Zg(e);let r=t?String(t):"";n=bo.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=bo.getInertBodyElement(r)}while(r!==i);let a=new Js().sanitizeChildren(hu(n)||n);return Ko(a)}finally{if(n){let r=hu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function hu(e){return"content"in e&&um(e)?e.content:null}function um(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var dm=/^>|^->|<!--|-->|--!>|<!-$/g,fm=/(<|>)/g,pm="\u200B$1\u200B";function hm(e){return e.replace(dm,t=>t.replace(fm,pm))}function gm(e,t){return e.createText(t)}function mm(e,t,n){e.setValue(t,n)}function ym(e,t){return e.createComment(hm(t))}function Dd(e,t,n){return e.createElement(t,n)}function Vo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function wd(e,t,n){e.appendChild(t,n)}function gu(e,t,n,r,o){r!==null?Vo(e,t,n,r,o):wd(e,t,n)}function Td(e,t,n,r){e.removeChild(null,t,n,r)}function vm(e,t,n){e.setAttribute(t,"style",n)}function Im(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Cd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Cg(e,t,r),o!==null&&Im(e,t,o),i!==null&&vm(e,t,i)}var _a=(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})(_a||{});function Em(e){let t=Dm();return t?uu(t.sanitize(_a.HTML,e)||""):fd(e,"HTML")?uu(Jo(e)):Ed(Ca(),qt(e))}function Dm(){let e=y();return e&&e[ge].sanitizer}function wm(e){return e.ownerDocument}function Tm(e){return e instanceof Function?e():e}function Cm(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 bd="ng-template";function bm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Cm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ma(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 Ma(e){return e.type===4&&e.value!==bd}function _m(e,t,n){let r=e.type===4&&!n?bd:e.value;return t===r}function Mm(e,t,n){let r=4,o=e.attrs,i=o!==null?xm(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!==""&&!_m(e,c,n)||c===""&&t.length===1){if(Ie(r))return!1;s=!0}}else if(r&8){if(o===null||!bm(e,o,c,n)){if(Ie(r))return!1;s=!0}}else{let l=t[++a],u=Nm(c,o,Ma(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 Nm(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 Am(t,e)}function _d(e,t,n=!1){for(let r=0;r<t.length;r++)if(Mm(e,t[r],n))return!0;return!1}function Sm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function xm(e){for(let t=0;t<e.length;t++){let n=e[t];if(bg(n))return t}return e.length}function Am(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 Rm(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 mu(e,t){return e?":not("+t.trim()+")":t}function km(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+=mu(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=mu(i,o)),t}function Om(e){return e.map(km).join(",")}function Pm(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={},Ho=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ho||{}),Lm;function Na(e,t){return Lm(e,t)}var oS=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Xs=new WeakMap,Pn=new WeakSet;function Fm(e,t){let n=Xs.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),Pn.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 jm(e,t){let n=Xs.get(e);n?n.includes(t)||n.push(t):Xs.set(e,[t])}var sn=new Set,Xo=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Xo||{}),Rt=new x(""),yu=new Set;function He(e){yu.has(e)||(yu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ei=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Sa=[0,1,2,3],xa=(()=>{class e{ngZone=E(q);scheduler=E(_e);errorHandler=E(Pe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(Rt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(M.AfterRenderHooksStart),this.executing=!0;for(let r of Sa)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[Et]??=[]).push(n),Tt(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(Xo.AFTER_NEXT_RENDER,n):n()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vn=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?.[Et];t&&(this.view[Et]=t.filter(n=>n!==this))}};function Vm(e,t){let n=t?.injector??E(fe);return He("NgAfterNextRender"),Bm(e,n,t,!0)}function Hm(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Bm(e,t,n,r){let o=t.get(ei);o.impl??=t.get(xa);let i=t.get(Rt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(je):null,a=t.get(Xt,null,{optional:!0}),c=new Vn(o.impl,Hm(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Aa=new x("",{factory:()=>{let e=E(re),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function Md(e,t,n){let r=e.get(Aa);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 $m(e,t){let n=e.get(Aa);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function Um(e,t){let n=e.get(Aa);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Wm(e,t){for(let[n,r]of t)Md(e,r.animateFns)}function vu(e,t,n,r){let o=e?.[xe]?.enter;t!==null&&o&&o.has(n.index)&&Wm(r,o)}function Iu(e,t,n,r){try{n.get(xn)}catch(s){return r(!1)}let o=e?.[xe];o?.enter?.has(t.index)&&$m(n,o.enter.get(t.index).animateFns);let i=qm(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];ti(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&sn.add(e[Se]),Md(n,()=>Gm(e,t,o||void 0,i,r),o||void 0)}function qm(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 Gm(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&&ti(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),Qm(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&sn.delete(e[Se]),o(!0)})}else e&&sn.delete(e[Se]),o(!1)}function ti(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&&zm(s,n)}}let r=t.child;for(;r;)ti(e,r,n),r=r.next}function zm(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;)ti(e,r,t),r=r.next}function Qm(e,t,n){t.then(()=>{e[xe]?.running===t&&(e[xe].running=void 0,sn.delete(e[Se])),n(!0)})}function tn(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?(vu(a,r,i,n),s==null?wd(t,r,u):Vo(t,r,u,s||null,!0)):e===1&&r!==null?(vu(a,r,i,n),Vo(t,r,u,s||null,!0),Fm(i,u)):e===2?(a?.[xe]?.leave?.has(i.index)&&jm(i,u),Pn.delete(u),Iu(a,i,n,d=>{if(Pn.has(u)){Pn.delete(u);return}Td(t,u,l,d)})):e===3&&(Pn.delete(u),Iu(a,i,n,()=>{t.destroyNode(u)})),c!=null&&oy(t,e,n,c,i,r,s)}}function Zm(e,t){Nd(e,t),t[he]=null,t[Q]=null}function Ym(e,t,n,r,o,i){r[he]=o,r[Q]=t,ri(e,r,n,1,o,i)}function Nd(e,t){t[ge].changeDetectionScheduler?.notify(9),ri(e,t,t[k],2,null,null)}function Km(e){let t=e[Yt];if(!t)return Ps(e[g],e);for(;t;){let n=null;if(Le(t))n=t[Yt];else{let r=t[L];r&&(n=r)}if(!n){for(;t&&!t[oe]&&t!==e;)Le(t)&&Ps(t[g],t),t=t[$];t===null&&(t=e),Le(t)&&Ps(t[g],t),n=t&&t[oe]}t=n}}function Ra(e,t){let n=e[Dt],r=n.indexOf(t);n.splice(r,1)}function ni(e,t){if(wt(t))return;let n=t[k];n.destroyNode&&ri(e,t,n,3,null,null),Km(t)}function Ps(e,t){if(wt(t))return;let n=m(null);try{t[I]&=-129,t[I]|=256,t[ne]&&Ue(t[ne]),Xm(e,t),Jm(e,t),t[g].type===1&&t[k].destroy();let r=t[Ze];if(r!==null&&ie(t[$])){r!==t[$]&&Ra(r,t);let o=t[Ne];o!==null&&o.detachView(e)}zs(t)}finally{m(n)}}function Jm(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[Ge];if(i!==null){t[Ge]=null;for(let s of i)s.destroy()}}function Xm(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 Nt)){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 Sd(e,t,n){return ey(e,t.parent,n)}function ey(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===St.None||o===St.Emulated)return null}return ye(r,n)}function xd(e,t,n){return ny(e,t,n)}function ty(e,t,n){return e.type&40?ye(e,n):null}var ny=ty,Eu;function ka(e,t,n,r){let o=Sd(e,r,t),i=t[k],s=r.parent||t[Q],a=xd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)gu(i,o,n[c],a,!1);else gu(i,o,n,a,!1);Eu!==void 0&&Eu(i,r,t,n,o)}function Ln(e,t){if(t!==null){let n=t.type;if(n&3)return ye(t,e);if(n&4)return ea(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ln(e,r);{let o=e[t.index];return ie(o)?ea(-1,o):se(o)}}else{if(n&128)return Ln(e,t.next);if(n&32)return Na(t,e)()||se(e[t.index]);{let r=Ad(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Oe(e[K]);return Ln(o,r)}else return Ln(e,t.next)}}}return null}function Ad(e,t){if(t!==null){let r=e[K][Q],o=t.projection;return r.projection[o]}return null}function ea(e,t){let n=L+e+1;if(n<t.length){let r=t[n],o=r[g].firstChild;if(o!==null)return Ln(r,o)}return t[Ye]}function Oa(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&&on(se(c),r),n.flags|=2),!Yo(n))if(l&8)Oa(e,t,n.child,r,o,i,!1),tn(t,e,a,o,c,n,i,r);else if(l&32){let u=Na(n,r),d;for(;d=u();)tn(t,e,a,o,d,n,i,r);tn(t,e,a,o,c,n,i,r)}else l&16?Rd(e,t,r,n,o,i):tn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ri(e,t,n,r,o,i){Oa(n,r,e.firstChild,t,o,i,!1)}function ry(e,t,n){let r=t[k],o=Sd(e,n,t),i=n.parent||t[Q],s=xd(i,n,t);Rd(r,0,t,n,o,s)}function Rd(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];tn(t,e,n[Me],o,u,r,i,n)}else{let l=c,u=s[$];td(r)&&(l.flags|=128),Oa(e,t,l,u,o,i,!0)}}function oy(e,t,n,r,o,i,s){let a=r[Ye],c=se(r);a!==c&&tn(t,e,n,i,a,o,s);for(let l=L;l<r.length;l++){let u=r[l];ri(u[g],u,e,t,i,a)}}function iy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ho.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ho.Important),e.setStyle(n,r,o,i))}}function Pa(e,t,n,r,o,i,s,a,c,l,u){let d=O+r,p=d+o,f=sy(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 sy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:X);return n}function ay(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Pa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function La(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),fs(d),d[$]=d[vt]=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]=Hg(),d[yt]=u,d[as]=l,d[K]=t.type==2?e[K]:d,d}function cy(e,t,n){let r=ye(t,e),o=ay(n),i=e[ge].rendererFactory,s=Fa(e,La(e,o,null,kd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function kd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Od(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 Fa(e,t){return e[Yt]?e[ss][oe]=t:e[Yt]=t,e[ss]=t,t}function ly(e=1){Pd(F(),y(),ve()+e,!1)}function Pd(e,t,n,r){if(!r)if((t[I]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Mo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&No(t,i,0,n)}Ke(n)}var oi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(oi||{});function ta(e,t,n,r){let o=m(null);try{let[i,s,a]=e.inputs[n],c=null;(s&oi.SignalBased)!==0&&(c=t[i][V]),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):Bu(t,c,i,r)}finally{m(o)}}function Ld(e,t,n,r,o){let i=ve(),s=r&2;try{Ke(-1),s&&t.length>O&&Pd(e,t,O,!1);let a=s?M.TemplateUpdateStart:M.TemplateCreateStart;R(a,o,n),n(r,o)}finally{Ke(i);let a=s?M.TemplateUpdateEnd:M.TemplateCreateEnd;R(a,o,n)}}function ii(e,t,n){my(e,t,n),(n.flags&64)===64&&yy(e,t,n)}function Kn(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 uy(e,t,n,r){let i=r.get(ld,cd)||n===St.ShadowDom||n===St.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new b(905,!1);return dy(s),s}function dy(e){fy(e)}var fy=()=>null;function py(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function hy(e,t,n,r,o,i){let s=t[g];if(Ba(e,s,t,n,r)){Fe(e)&&gy(t,e.index);return}e.type&3&&(n=py(n)),Fd(e,t,n,r,o,i)}function Fd(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 gy(e,t){let n=ae(t,e);n[I]&16||(n[I]|=64)}function my(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Fe(n)&&cy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Lo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=jn(t,e,s,n);if(on(c,t),i!==null&&Dy(t,s-r,c,a,n,i),me(a)){let l=ae(n.index,t);l[j]=jn(t,e,s,n)}}}function yy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=jl();try{Ke(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];fo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&vy(c,l)}}finally{Ke(-1),fo(s)}}function vy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function ja(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];_d(t,i.selectors,!1)&&(r??=[],me(i)?r.unshift(i):r.push(i))}return r}function Iy(e,t,n,r,o,i){let s=ye(e,t);Ey(t[k],s,i,e.value,n,r,o)}function Ey(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else{let a=s==null?qt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Dy(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];ta(r,n,c,l)}}function Va(e,t,n,r,o){let i=O+n,s=t[g],a=o(s,t,e,r,n);t[i]=a,Ct(e,!0);let c=e.type===2;return c?(Cd(t[k],a,e),(Sl()===0||Kt(e))&&on(a,t),xl()):on(a,t),yo()&&(!c||!Yo(e))&&ka(s,t,a,e),e}function Ha(e){let t=e;return Ds()?ws():(t=t.parent,Ct(t,!1)),t}function wy(e,t){let n=e[Me];if(!n)return;let r;try{r=n.get(Mt,null)}catch(o){r=null}r?.(t)}function Ba(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];ta(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ta(u,l,r,o),a=!0}return a}function Ty(e,t){let n=ae(t,e),r=n[g];Cy(r,n);let o=n[he];o!==null&&n[yt]===null&&(n[yt]=ud(o,n[Me])),R(M.ComponentStart);try{$a(r,n,n[j])}finally{R(M.ComponentEnd,n[j])}}function Cy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function $a(e,t,n){ho(t);try{let r=e.viewQuery;r!==null&&Zs(1,r,n);let o=e.template;o!==null&&Ld(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ne]?.finishViewCreation(e),e.staticContentQueries&&dd(e,t),e.staticViewQueries&&Zs(2,e.viewQuery,n);let i=e.components;i!==null&&by(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[I]&=-5,go()}}function by(e,t){for(let n=0;n<t.length;n++)Ty(e,t[n])}function Jn(e,t,n,r){let o=m(null);try{let i=t.tView,a=e[I]&4096?4096:16,c=La(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Ze]=l;let u=e[Ne];return u!==null&&(c[Ne]=u.createEmbeddedView(i)),$a(i,c,n),c}finally{m(o)}}function an(e,t){return!t||t.firstChild===null||td(e)}function Hn(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)&&jd(i,r);let s=n.type;if(s&8)Hn(e,t,n.child,r);else if(s&32){let a=Na(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ad(t,n);if(Array.isArray(a))r.push(...a);else{let c=Oe(t[K]);Hn(c[g],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function jd(e,t){for(let n=L;n<e.length;n++){let r=e[n],o=r[g].firstChild;o!==null&&Hn(r[g],r,o,t)}e[Ye]!==e[he]&&t.push(e[Ye])}function Vd(e){if(e[Et]!==null){for(let t of e[Et])t.impl.addSequence(t);e[Et].length=0}}var Hd=[];function _y(e){return e[ne]??My(e)}function My(e){let t=Hd.pop()??Object.create(Sy);return t.lView=e,t}function Ny(e){e.lView[ne]!==e&&(e.lView=null,Hd.push(e))}var Sy=W(U({},et),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Tt(e.lView)},consumerOnSignalRead(){this.lView[ne]=this}});function xy(e){let t=e[ne]??Object.create(Ay);return t.lView=e,t}var Ay=W(U({},et),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Oe(e.lView);for(;t&&!Bd(t[g]);)t=Oe(t);t&&ps(t)},consumerOnSignalRead(){this.lView[ne]=this}});function Bd(e){return e.type!==2}function $d(e){if(e[Ge]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ge])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[I]&8192)}}var Ry=100;function Ud(e,t=0){let r=e[ge].rendererFactory,o=!1;o||r.begin?.();try{ky(e,t)}finally{o||r.end?.()}}function ky(e,t){let n=Cs();try{Tn(!0),na(e,t);let r=0;for(;kn(e);){if(r===Ry)throw new b(103,!1);r++,na(e,1)}}finally{Tn(n)}}function Oy(e,t,n,r){if(wt(t))return;let o=t[I],i=!1,s=!1;ho(t);let a=!0,c=null,l=null;i||(Bd(e)?(l=_y(t),c=$e(l)):ur()===null?(a=!1,l=xy(t),c=$e(l)):t[ne]&&(Ue(t[ne]),t[ne]=null));try{fs(t),Pl(e.bindingStartIndex),n!==null&&Ld(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Mo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&No(t,f,0,null),ks(t,0)}if(s||Py(t),$d(t),Wd(t,0),e.contentQueries!==null&&dd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Mo(t,f)}else{let f=e.contentHooks;f!==null&&No(t,f,1),ks(t,1)}Fy(e,t);let d=e.components;d!==null&&Gd(t,d,0);let p=e.viewQuery;if(p!==null&&Zs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Mo(t,f)}else{let f=e.viewHooks;f!==null&&No(t,f,2),ks(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[no]){for(let f of t[no])f();t[no]=null}i||(Vd(t),t[I]&=-73)}catch(u){throw i||Tt(t),u}finally{l!==null&&(tt(l,c),a&&Ny(l)),go()}}function Wd(e,t){for(let n=rd(e);n!==null;n=od(n))for(let r=L;r<n.length;r++){let o=n[r];qd(o,t)}}function Py(e){for(let t=rd(e);t!==null;t=od(t)){if(!(t[I]&2))continue;let n=t[Dt];for(let r=0;r<n.length;r++){let o=n[r];ps(o)}}}function Ly(e,t,n){R(M.ComponentStart);let r=ae(t,e);try{qd(r,n)}finally{R(M.ComponentEnd,r[j])}}function qd(e,t){io(e)&&na(e,t)}function na(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&&Ot(i)),s||=!1,i&&(i.dirty=!1),e[I]&=-9217,s)Oy(r,e,r.template,e[j]);else if(o&8192){let a=m(null);try{$d(e),Wd(e,1);let c=r.components;c!==null&&Gd(e,c,1),Vd(e)}finally{m(a)}}}function Gd(e,t,n){for(let r=0;r<t.length;r++)Ly(e,t[r],n)}function Fy(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)Ke(~o);else{let i=o,s=n[++r],a=n[++r];Fl(s,i);let c=t[i];R(M.HostBindingsUpdateStart,c);try{a(2,c)}finally{R(M.HostBindingsUpdateEnd,c)}}}}finally{Ke(-1)}}function Ua(e,t){let n=Cs()?64:1088;for(e[ge].changeDetectionScheduler?.notify(t);e;){e[I]|=n;let r=Oe(e);if(Jt(e)&&!r)return e;e=r}return null}function zd(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 Xn(e,t,n,r=!0){let o=t[g];if(jy(o,t,e,n),r){let s=ea(n,e),a=t[k],c=a.parentNode(e[Ye]);c!==null&&Ym(o,e[Q],a,t,c,s)}let i=t[yt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Zd(e,t){let n=Bn(e,t);return n!==void 0&&ni(n[g],n),n}function Bn(e,t){if(e.length<=L)return;let n=L+t,r=e[n];if(r){let o=r[Ze];o!==null&&o!==e&&Ra(o,r),t>0&&(e[n-1][oe]=r[oe]);let i=Sn(e,L+t);Zm(r[g],r);let s=i[Ne];s!==null&&s.detachView(i[g]),r[$]=null,r[oe]=null,r[I]&=-129}return r}function jy(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],Xi(n,L+r,t)):(n.push(t),t[oe]=null),t[$]=n;let s=t[Ze];s!==null&&n!==s&&Yd(s,t);let a=t[Ne];a!==null&&a.insertView(e),so(t),t[I]|=128}function Yd(e,t){let n=e[Dt],r=t[$];if(Le(r))e[I]|=2;else{let o=r[$][K];t[K]!==o&&(e[I]|=2)}n===null?e[Dt]=[t]:n.push(t)}var Xe=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[g];return Hn(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 wt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if(ie(t)){let n=t[An],r=n?n.indexOf(this):-1;r>-1&&(Bn(t,r),Sn(n,r))}this._attachedToViewContainer=!1}ni(this._lView[g],this._lView)}onDestroy(t){ao(this._lView,t)}markForCheck(){Ua(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){so(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Ud(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Jt(this._lView),n=this._lView[Ze];n!==null&&!t&&Ra(n,this._lView),Nd(this._lView[g],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Jt(this._lView),r=this._lView[Ze];r!==null&&!n&&Yd(r,this._lView),so(this._lView)}};var $n=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Vy;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=Jn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Xe(i)}}return e})();function Vy(){return si(Z(),y())}function si(e,t){return e.type&4?new $n(t,e,dn(e,t)):null}function kt(e,t,n,r,o){let i=e.data[t];if(i===null)i=Hy(e,t,n,r,o),Ll()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=kl();i.injectorIndex=s===null?-1:s.injectorIndex}return Ct(i,!0),i}function Hy(e,t,n,r,o){let i=Es(),s=Ds(),a=s?i:i&&i.parent,c=e.data[t]=$y(e,a,n,t,r,o);return By(e,c,i,s),c}function By(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 $y(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ys()&&(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:Ms(),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 Uy(e){let t=e[cs]??[],r=e[$][k],o=[];for(let i of t)i.data[ad]!==void 0?o.push(i):Wy(i,r);e[cs]=o}function Wy(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[sd];for(;n<o;){let i=r.nextSibling;Td(t,r,!1),r=i,n++}}}var qy=()=>null,Gy=()=>null;function Bo(e,t){return qy(e,t)}function Kd(e,t,n){return Gy(e,t,n)}var Jd=class{},Un=class{},zy=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Qy()}return e})();function Qy(){let e=y(),t=Z(),n=ae(t.index,e);return(Le(n)?n:e)[k]}var Xd=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>null})}return e})();function ef(e){return e.debugInfo?.className||e.type.name||null}var xo={},$o=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,xo,r);return o!==xo||n===xo?o:this.parentInjector.get(t,n,r)}};function tf(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 nf(e,t,n,r){let o=De(e,t,n);return De(e,t+1,r)||o}function Ao(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Ug(o,i);let s=Fe(e)?ae(e.index,t):t;Ua(s,5);let a=t[j],c=Du(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Du(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Du(e,t,n,r){let o=m(null);try{return R(M.OutputStart,t,n),n(r)!==!1}catch(i){return wy(e,i),!1}finally{R(M.OutputEnd,t,n),m(o)}}function rf(e,t,n,r,o,i,s,a){let c=Kt(e),l=!1,u=null;if(!r&&c&&(u=Yy(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;qg(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!Zy(i)){let h=r?v=>r(se(v[e.index])):e.index;of(h,t,n,i,a,f,!1)}}return l}function Zy(e){return e.startsWith("animation")||e.startsWith("transition")}function Yy(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 of(e,t,n,r,o,i,s){let a=t.firstCreatePass?gs(t):null,c=hs(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function wu(e,t,n,r,o,i){let s=t[n],a=t[g],l=a.data[n].outputs[r],d=s[l].subscribe(i);of(e.index,a,t,o,i,d,!0)}var ra=Symbol("BINDING");var sf=new x("");function Uo(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=Gr(o,a);else if(i==2){let c=a,l=t[++s];r=Gr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function er(e,t=0){let n=y();if(n===null)return be(e,t);let r=Z();return Ju(r,n,B(e),t)}function Ky(){let e="invalid";throw new Error(e)}function af(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}ev(e,t,n,a,i,c,l)}i!==null&&r!==null&&Jy(n,r,i)}function Jy(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 Xy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ev(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,Xy(e,n,p)),qs(Lo(n,t),e,f.type)}sv(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=Od(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=rn(n.mergedAttrs,f.hostAttrs),nv(e,n,t,d,f),iv(d,f,o),s!==null&&s.has(f)){let[v,_]=s.get(f);n.directiveToIndex.set(f.type,[d,v+n.directiveStart,_+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++}tv(e,n,i)}function tv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Tu(0,t,o,r),Tu(1,t,o,r),bu(t,r,!1);else{let i=n.get(o);Cu(0,t,i,r),Cu(1,t,i,r),bu(t,r,!0)}}}function Tu(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),cf(t,i)}}function Cu(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),cf(t,s)}}function cf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function bu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ma(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 nv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=qe(o.type,!0)),s=new Nt(i,me(o),er,null);e.blueprint[r]=s,n[r]=s,rv(e,t,r,Od(e,n,o.hostVars,X),o)}function rv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;ov(s)!=a&&s.push(a),s.push(n,r,i)}}function ov(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function iv(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 sv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Wa(e,t,n,r,o,i,s,a){let c=t[g],l=c.consts,u=ce(l,s),d=kt(c,e,n,r,u);return i&&af(c,t,d,ce(l,a),o),d.mergedAttrs=rn(d.mergedAttrs,d.attrs),d.attrs!==null&&Uo(d,d.attrs,!1),d.mergedAttrs!==null&&Uo(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function qa(e,t){Wu(e,t),ls(t)&&e.queries.elementEnd(t)}function av(e,t,n,r,o,i){let s=t.consts,a=ce(s,o),c=kt(t,e,n,r,a);if(c.mergedAttrs=rn(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&&Uo(c,c.attrs,!1),c.mergedAttrs!==null&&Uo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var lf=typeof ShadowRoot<"u",cv=typeof Document<"u";function lv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&oi.SignalBased)!==0};return o&&(i.transform=o),i})}function uv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function dv(e,t,n){let r=t instanceof re?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new $o(n,r):n}function fv(e){let t=e.get(Un,null);if(t===null)throw new b(407,!1);let n=e.get(Xd,null),r=e.get(_e,null),o=e.get(Rt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function pv(e,t){let n=uf(e);return Dd(t,n,n==="svg"?us:n==="math"?Cl:null)}function uf(e){return(e.selectors[0][0]||"div").toLowerCase()}var cn=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=lv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=uv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Om(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=dv(c,o||this.ngModule,t),u=fv(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(ef(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=hv(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?uy(l,o,a.encapsulation,n):pv(a,l),d=n.get(sf,null),p=gv(u,()=>n.get(vo,null)??Ca());d&&d.addHost(p);let f=s?.some(_u)||i?.some(_=>typeof _!="function"&&_.bindings.some(_u)),h=La(null,c,null,512|kd(a),null,null,t,l,n,null,ud(u,n,!0));d&&lf&&p instanceof ShadowRoot&&ao(h,()=>{d.removeHost(p)}),h[O]=u,ho(h);let v=null;try{let _=Wa(O,h,2,"#host",()=>c.directiveRegistry,!0,0);Cd(l,u,_),on(u,h),ii(c,h,_),ba(c,_,h),qa(c,_),r!==void 0&&yv(_,this.ngContentSelectors,r),v=ae(_.index,h),h[j]=v[j],$a(c,h,null)}catch(_){throw v!==null&&zs(v),zs(h),_}finally{R(M.DynamicComponentEnd),go()}return new Wo(this.componentType,h,!!f)}};function hv(e,t,n,r){let o=e?["ng-version","22.0.1"]:Pm(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[ra].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[ra].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 Pa(0,null,mv(i,s),1,a,c,null,null,null,[o],null)}function gv(e,t){let n=e.getRootNode?.();return cv&&n instanceof Document?n.head:n&&lf&&n instanceof ShadowRoot?n:t().head}function mv(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 _u(e){let t=e[ra].kind;return t==="input"||t==="twoWay"}var Wo=class extends Jd{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ro(n[g],O),this.location=dn(this._tNode,n),this.instance=ae(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new Xe(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=Ba(r,o[g],o,t,n);this.previousInputValues.set(t,n);let s=ae(r.index,o);Ua(s,1)}get injector(){return new Je(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function yv(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 ai=(()=>{class e{static __NG_ELEMENT_ID__=vv}return e})();function vv(){let e=Z();return df(e,y())}var oa=class e extends ai{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return dn(this._hostTNode,this._hostLView)}get injector(){return new Je(this._hostTNode,this._hostLView)}get parentInjector(){let t=wa(this._hostTNode,this._hostLView);if(Gu(t)){let n=Oo(t,this._hostLView),r=ko(t),o=n[g].data[r+8];return new Je(o,n)}else return new Je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Mu(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=Bo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,an(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 cn(ze(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let N=this.parentInjector.get(re,null);N&&(i=N)}let p=ze(u.componentType??{}),f=Bo(this._lContainer,p?.id??null),h=f?.firstChild??null,v=u.create(d,o,h,i,s,a);return this.insertImpl(v.hostView,c,an(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(bl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],l=new e(c,c[Q],c[$]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Xn(s,o,i,r),t.attachToViewContainerRef(),Xi(Ls(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Mu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Bn(this._lContainer,n);r&&(Sn(Ls(this._lContainer),n),ni(r[g],r))}detach(t){let n=this._adjustIndex(t,-1),r=Bn(this._lContainer,n);return r&&Sn(Ls(this._lContainer),n)!=null?new Xe(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Mu(e){return e[An]}function Ls(e){return e[An]||(e[An]=[])}function df(e,t){let n,r=t[e.index];return ie(r)?n=r:(n=zd(r,t,null,e),t[e.index]=n,Fa(t,n)),Ev(n,t,e,r),new oa(n,e,t)}function Iv(e,t){let n=e[k],r=n.createComment(""),o=ye(t,e),i=n.parentNode(o);return Vo(n,i,r,n.nextSibling(o),!1),r}var Ev=Tv,Dv=()=>!1;function wv(e,t,n){return Dv(e,t,n)}function Tv(e,t,n,r){if(e[Ye])return;let o;n.type&8?o=se(r):o=Iv(t,n),e[Ye]=o}var ia=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},sa=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++)hf(t,n).matches!==null&&this.queries[n].setDirty()}},aa=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=xv(t):this.predicate=t}},ca=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)}},la=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,Cv(n,i)),this.matchTNodeWithReadOption(t,n,So(n,t,i,!1,!1))}else r===$n?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,So(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Zn||o===ai||o===$n&&n.type&4)this.addMatch(n.index,-2);else{let i=So(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 Cv(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 bv(e,t){return e.type&11?dn(e,t):e.type&4?si(e,t):null}function _v(e,t,n,r){return n===-1?bv(t,e):n===-2?Mv(e,t,r):jn(e,e[g],n,t)}function Mv(e,t,n){if(n===Zn)return dn(t,e);if(n===$n)return si(t,e);if(n===ai)return df(t,e)}function ff(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(_v(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ua(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ff(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[Ze]===p[$]&&ua(p[g],p,l,r)}if(u[Dt]!==null){let d=u[Dt];for(let p=0;p<d.length;p++){let f=d[p];ua(f[g],f,l,r)}}}}}return r}function pf(e,t){return e[Ne].queries[t].queryList}function Nv(e,t,n){let r=new Fo((n&4)===4);return Nl(e,t,r,r.destroy),(t[Ne]??=new sa).queries.push(new ia(r))-1}function Sv(e,t,n){let r=F();return r.firstCreatePass&&(Av(r,new aa(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Nv(r,y(),t)}function xv(e){return e.split(",").map(t=>t.trim())}function Av(e,t,n){e.queries===null&&(e.queries=new ca),e.queries.track(new la(t,n))}function hf(e,t){return e.queries.getByIndex(t)}function Rv(e,t){let n=e[g],r=hf(n,t);return r.crossesNgTemplate?ua(n,e,t,[]):ff(n,e,r,t)}function gf(e,t,n){let r,o=pn(()=>{r._dirtyCounter();let i=Ov(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[V],r._dirtyCounter=Io(0),r._flatValue=void 0,o}function mf(e){return gf(!0,!1,e)}function yf(e){return gf(!0,!0,e)}function kv(e,t){let n=e[V];n._lView=y(),n._queryIndex=t,n._queryList=pf(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Ov(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=pf(n,r),i=Rv(n,r);return o.reset(i,Fg),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 vf(e){return!!e&&typeof e.subscribe=="function"}var ln=class{},If=class{};function Pv(e,t){return new Wn(e,t??null,[])}var Wn=class extends ln{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ll(t);this._bootstrapComponents=Tm(i.bootstrap),this._r3Injector=Ns(t,n,[{provide:ln,useValue:this},...r],Mn(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)}},qo=class extends If{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Wn(this.moduleType,t,[])}};var qn=class extends ln{injector;instance=null;constructor(t){super();let n=new ht([...t.providers,{provide:ln,useValue:this}],t.parent||Qt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ef(e,t,n=null){return new qn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Lv=(()=>{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=ns(!1,n.type),o=r.length>0?Ef([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 Fv(e){return Qn(()=>{let t=Df(e),n=W(U({},t),{type:e.type,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Ta.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Lv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||St.Emulated,styles:e.styles||z,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&He("NgStandalone"),wf(n);let r=e.dependencies;return n.directiveDefs=Nu(r,jv),n.pipeDefs=Nu(r,ul),n.id=Wv(n),n})}function jv(e){return ze(e)||Zr(e)}function Vv(e){return Qn(()=>({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 Hv(e,t){if(e==null)return Qe;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=oi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Bv(e){if(e==null)return Qe;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function $v(e){return Qn(()=>{let t=Df(e);return wf(t),t})}function Uv(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 Df(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||Qe,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:Hv(e.inputs,t),outputs:Bv(e.outputs),debugInfo:null}}function wf(e){e.features?.forEach(t=>t(e))}function Nu(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 Wv(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 Tf=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(Tf,{optional:!0})??[];injector=E(fe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=to(this.injector,o);if(Ga(i))n.push(i);else if(vf(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=At({token:e,factory:e.\u0275fac})}return e})();function qv(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Gv,n.hostDirectives=r?e.map(da):[e]):r?n.hostDirectives.unshift(...e.map(da)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Gv(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,Cf(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)=>{zv(s.declaredInputs,i.inputs)}),[t,r,o]}function Cf(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)Su(da(s),t,n,r)}else Su(o,t,n,r)}function Su(e,t,n,r){let o=Zr(e.directive);if(Cf(o,t,n,r),n.has(o)){let i=n.get(o);xu(i,e.inputs,"input"),xu(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function xu(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 da(e){return typeof e=="function"?{directive:B(e),inputs:{},outputs:{}}:{directive:B(e.directive),inputs:Au(e.inputs),outputs:Au(e.outputs)}}function Au(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 zv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Qv(e){return Object.getPrototypeOf(e.prototype).constructor}function bf(e){let t=Qv(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=Fs(e.inputs),s.declaredInputs=Fs(e.declaredInputs),s.outputs=Fs(e.outputs);let a=o.hostBindings;a&&Xv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Kv(e,c),l&&Jv(e,l),Zv(e,o),al(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===bf&&(n=!1)}}t=Object.getPrototypeOf(t)}Yv(r)}function Zv(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 Yv(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=rn(o.hostAttrs,n=rn(n,o.hostAttrs))}}function Fs(e){return e===Qe?{}:e===z?[]:e}function Kv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Jv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Xv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function _f(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=rn(e.mergedAttrs,e.attrs);let u=e.tView=Pa(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),Ct(e,!1);let c=tI(n,t,e,r);yo()&&ka(n,t,c,e),on(c,t);let l=zd(c,t,c,e);t[r+O]=l,Fa(t,l),wv(l,e,t)}function eI(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;return t.firstCreatePass?(p=kt(t,d,4,s||null,a||null),co()&&af(t,e,p,ce(t.consts,l),ja),Wu(t,p)):p=t.data[d],_f(p,e,t,n,r,o,i,c),Kt(p)&&ii(t,e,p),l!=null&&Kn(e,p,u),p}function Gn(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;if(t.firstCreatePass){if(p=kt(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 _f(p,e,t,n,r,o,i,c),l!=null&&Kn(e,p,u),p}function Mf(e,t,n,r,o,i,s,a){let c=y(),l=F(),u=ce(l.consts,i);return eI(c,l,e,t,n,r,o,u,void 0,s,a),Mf}var tI=nI;function nI(e,t,n,r){return On(!0),t[k].createComment("")}var rI=(()=>{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 Nf=new x("");var Sf=new x("");function xf(){vi(()=>{let e="";throw new b(600,e)})}var oI=10;var tr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(Mt);afterRenderManager=E(ei);zonelessEnabled=E(en);rootEffectScheduler=E(wo);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(_t);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(We(n=>!n))}constructor(){E(Rt,{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=ze(n),c=this._injector.get(ln),l=new cn(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=iI(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),v=h.location.nativeElement,_=h.injector.get(Nf,null);return _?.registerApplication(v),h.onDestroy(()=>{this.detachView(h.hostView),Fn(this.components,h),_?.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(Xo.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(Un,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<oI;){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&&!kn(o))continue;let i=r&&!this.zonelessEnabled?0:1;Ud(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})=>kn(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;Fn(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(Sf,[]).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),()=>Fn(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=At({token:e,factory:e.\u0275fac})}return e})();function iI(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Fn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Af(e,t,n,r){let o=y(),i=bt();if(De(o,i,t)){let s=F(),a=mo();Iy(a,o,e,t,n,r)}return Af}var fa=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 js(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function sI(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=js(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=js(a,f,l,h,n);if(v!==0){v<0&&e.updateValue(a,h),a--,l--;continue}let _=n(s,u),N=n(a,f),le=n(s,d);if(Object.is(le,N)){let ui=n(l,h);Object.is(ui,_)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Go,i??=ku(e,s,a,n),pa(e,o,s,le))e.updateValue(s,d),s++,a++;else if(i.has(le))o.set(_,e.detach(s)),a--;else{let ui=e.create(s,t[s]);e.attach(s,ui),s++,a++}}for(;s<=l;)Ru(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=js(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Go,i??=ku(e,s,a,n);let h=n(s,p);if(pa(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;)Ru(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 pa(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ru(e,t,n,r,o){if(pa(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ku(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 Go=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 aI(e,t,n,r,o,i,s,a){He("NgControlFlow");let c=y(),l=F(),u=ce(l.consts,i);return Gn(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 Gn(c,l,e,t,n,r,o,u,512,s,a),Qa}function cI(e,t){He("NgControlFlow");let n=y(),r=bt(),o=n[r]!==X?n[r]:-1,i=o!==-1?zo(n,O+o):void 0,s=0;if(De(n,r,e)){let a=m(null);try{if(i!==void 0&&Zd(i,s),e!==-1){let c=O+e,l=zo(n,c),u=ya(n[g],c),d=Kd(l,u,n),p=Jn(n,u,t,{dehydratedView:d});Xn(l,p,s,an(u,d))}}finally{m(a)}}else if(i!==void 0){let a=Qd(i,s);a!==void 0&&(a[j]=t)}}var ha=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 lI(e){return e}function uI(e,t){return t}var ga=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function dI(e,t,n,r,o,i,s,a,c,l,u,d,p){He("NgControlFlow");let f=y(),h=F(),v=c!==void 0,_=y(),N=a?s.bind(_[K][j]):s,le=new ga(v,N);_[O+e]=le,Gn(f,h,e+1,t,n,r,o,ce(h.consts,i),256),v&&Gn(f,h,e+2,c,l,u,d,ce(h.consts,p),512)}var ma=class extends fa{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[yt];this.needsIndexUpdate||=t!==this.length,Xn(this.lContainer,n,t,an(this.templateTNode,r)),pI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,hI(this.lContainer,t),gI(this.lContainer,t)}create(t,n){let r=Bo(this.lContainer,this.templateTNode.tView.ssrId);return Jn(this.hostLView,this.templateTNode,new ha(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ni(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 mI(this.lContainer,t)}};function fI(e){let t=m(null),n=ve();try{let r=y(),o=r[g],i=r[n],s=n+1,a=zo(r,s);if(i.liveCollection===void 0){let l=ya(o,s);i.liveCollection=new ma(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(sI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=bt(),u=c.length===0;if(De(r,l,u)){let d=n+2,p=zo(r,d);if(u){let f=ya(o,d),h=Kd(p,f,r),v=Jn(r,f,void 0,{dehydratedView:h});Xn(p,v,0,an(f,h))}else o.firstUpdatePass&&Uy(p),Zd(p,0)}}}finally{m(t)}}function zo(e,t){return e[t]}function pI(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];Um(i,o),sn.delete(r[Se]),o.detachedLeaveAnimationFns=void 0}}function hI(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 gI(e,t){return Bn(e,t)}function mI(e,t){return Qd(e,t)}function ya(e,t){return ro(e,t)}function Rf(e,t,n){let r=y(),o=bt();if(De(r,o,t)){let i=F(),s=mo();hy(s,r,e,t,r[k],n)}return Rf}function va(e,t,n,r,o){Ba(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?Wa(s,o,2,t,ja,co(),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(ef(l),()=>(Ou(e,t,o,a,r),Qo))}}return Ou(e,t,o,a,r),Qo}function Ou(e,t,n,r,o){if(Va(r,n,e,t,Pf),Kt(r)){let i=n[g];ii(i,n,r),ba(i,r,n)}o!=null&&Kn(n,r)}function Za(){let e=F(),t=Z(),n=Ha(t);return e.firstCreatePass&&qa(e,n),vs(n)&&Is(),ms(),n.classesWithoutHost!=null&&wg(n)&&va(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Tg(n)&&va(e,n,y(),n.stylesWithoutHost,!1),Za}function kf(e,t,n,r){return Qo(e,t,n,r),Za(),kf}function Ya(e,t,n,r){let o=y(),i=o[g],s=e+O,a=i.firstCreatePass?av(s,i,2,t,n,r):i.data[s];return Va(a,o,e,t,Pf),r!=null&&Kn(o,a),Ya}function Ka(){let e=Z(),t=Ha(e);return vs(t)&&Is(),ms(),Ka}function Of(e,t,n,r){return Ya(e,t,n,r),Ka(),Of}var Pf=(e,t,n,r,o)=>(On(!0),Dd(t[k],r,Ms()));function Ja(e,t,n){let r=y(),o=r[g],i=e+O,s=o.firstCreatePass?Wa(i,r,8,"ng-container",ja,co(),t,n):o.data[i];if(Va(s,r,e,"ng-container",yI),Kt(s)){let a=r[g];ii(a,r,s),ba(a,s,r)}return n!=null&&Kn(r,s),Ja}function Xa(){let e=F(),t=Z(),n=Ha(t);return e.firstCreatePass&&qa(e,n),Xa}function Lf(e,t,n){return Ja(e,t,n),Xa(),Lf}var yI=(e,t,n,r,o)=>(On(!0),ym(t[k],""));function vI(){return y()}function Ff(e,t,n){let r=y(),o=bt();if(De(r,o,t)){let i=F(),s=mo();Fd(s,r,e,t,r[k],n)}return Ff}var nr="en-US";var II=nr;function jf(e){typeof e=="string"&&(II=e.toLowerCase().replace(/_/g,"-"))}function Vf(e,t,n){let r=y(),o=F(),i=Z();return EI(o,r,r[k],i,e,t,n),Vf}function Hf(e,t,n){let r=y(),o=F(),i=Z();return(i.type&3||n)&&rf(i,o,r,n,r[k],e,t,Ao(i,r,t)),Hf}function EI(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ao(r,t,i),rf(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??=Ao(r,t,i),wu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Ao(r,t,i),wu(r,t,d,o,o,c)}}function DI(e=1){return Wl(e)}function wI(e,t){let n=null,r=Sm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?_d(e,i,!0):Rm(r,i))return o}return n}function TI(e){let t=y()[K][Q];if(!t.projection){let n=e?e.length:1,r=t.projection=ml(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?wI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function CI(e,t=0,n,r,o,i){let s=y(),a=F(),c=r?e+1:null;c!==null&&Gn(s,a,c,r,o,i,null,n);let l=kt(a,O+e,16,null,n||null);l.projection===null&&(l.projection=t),ws();let d=!s[yt]||ys();s[K][Q].projection[l.projection]===null&&c!==null?bI(s,a,c):d&&!Yo(l)&&ry(a,s,l)}function bI(e,t,n){let r=O+n,o=t.data[r],i=e[r],s=Bo(i,o.tView.ssrId),a=Jn(e,o,void 0,{dehydratedView:s});Xn(i,a,0,an(o,s))}function Bf(e,t,n,r){return kv(e,Sv(t,n,r)),Bf}function _I(e=1){po(Hl()+e)}function MI(e){let t=Ts();return oo(t,O+e)}function _o(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function NI(e){return(e&2)==2}function SI(e,t){return e&131071|t<<17}function Ia(e){return e|2}function un(e){return(e&131068)>>2}function Vs(e,t){return e&-131069|t<<2}function xI(e){return(e&1)===1}function Ea(e){return e|1}function AI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=un(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||zt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=xt(e[a+1]);e[r+1]=_o(p,a),p!==0&&(e[p+1]=Vs(e[p+1],r)),e[a+1]=SI(e[a+1],r)}else e[r+1]=_o(a,0),a!==0&&(e[a+1]=Vs(e[a+1],r)),a=r;else e[r+1]=_o(c,0),a===0?a=r:e[c+1]=Vs(e[c+1],r),c=r;l&&(e[r+1]=Ia(e[r+1])),Pu(e,u,r,!0),Pu(e,u,r,!1),RI(t,u,e,r,i),s=_o(a,c),i?t.classBindings=s:t.styleBindings=s}function RI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&zt(i,t)>=0&&(n[r+1]=Ea(n[r+1]))}function Pu(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):un(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];kI(c,t)&&(a=!0,e[s+1]=r?Ea(l):Ia(l)),s=r?xt(l):un(l)}a&&(e[n+1]=r?Ia(o):Ea(o))}function kI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?zt(e,t)>=0:!1}var Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function OI(e){return e.substring(Ee.key,Ee.keyEnd)}function PI(e){return LI(e),$f(e,Uf(e,0,Ee.textEnd))}function $f(e,t){let n=Ee.textEnd;return n===t?-1:(t=Ee.keyEnd=FI(e,Ee.key=t,n),Uf(e,t,n))}function LI(e){Ee.key=0,Ee.keyEnd=0,Ee.value=0,Ee.valueEnd=0,Ee.textEnd=e.length}function Uf(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function FI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Wf(e,t,n){return Gf(e,t,n,!1),Wf}function qf(e,t){return Gf(e,t,null,!0),qf}function jI(e){HI(GI,VI,e,!0)}function VI(e,t){for(let n=PI(t);n>=0;n=$f(t,n))Xr(e,OI(t),!0)}function Gf(e,t,n,r){let o=y(),i=F(),s=uo(2);if(i.firstUpdatePass&&Qf(i,e,s,r),t!==X&&De(o,s,t)){let a=i.data[ve()];Zf(i,a,o,o[k],e,o[s+1]=QI(t,n),r,s)}}function HI(e,t,n,r){let o=F(),i=uo(2);o.firstUpdatePass&&Qf(o,null,i,r);let s=y();if(n!==X&&De(s,i,n)){let a=o.data[ve()];if(Yf(a,r)&&!zf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Gr(c,n||"")),va(o,a,s,n,r)}else zI(o,a,s,s[k],s[i+1],s[i+1]=qI(e,t,n),r,i)}}function zf(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=zf(e,n);Yf(i,r)&&t===null&&!s&&(t=!1),t=BI(o,i,t,r),AI(o,i,t,n,s,r)}}function BI(e,t,n,r){let o=Vl(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Hs(null,e,t,n,r),n=zn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Hs(o,e,t,n,r),i===null){let c=$I(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Hs(null,e,t,c[1],r),c=zn(c,t.attrs,r),UI(e,t,r,c))}else i=WI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function $I(e,t,n){let r=n?t.classBindings:t.styleBindings;if(un(r)!==0)return e[xt(r)]}function UI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function WI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=zn(r,s,n)}return zn(r,t.attrs,n)}function Hs(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=zn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function zn(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]),Xr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function qI(e,t,n){if(n==null||n==="")return z;let r=[],o=Jo(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 GI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Xr(e,r,n)}function zI(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&&Zf(e,t,n,r,h,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Zf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=xI(l)?Lu(c,t,n,o,un(l),s):void 0;if(!Zo(u)){Zo(i)||NI(l)&&(i=Lu(c,null,n,o,a,s));let d=ds(ve(),n);iy(r,s,d,o,i)}}function Lu(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?eo(p,r):u===r?p:void 0;if(l&&!Zo(f)&&(f=eo(c,r)),Zo(f)&&(a=f,s))return a;let h=e[o+1];o=s?xt(h):un(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=eo(c,r))}return a}function Zo(e){return e!==void 0}function QI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Mn(Jo(e)))),e}function Yf(e,t){return(e.flags&(t?8:16))!==0}function ZI(e,t=""){let n=y(),r=F(),o=e+O,i=r.firstCreatePass?kt(r,o,1,t,null):r.data[o],s=YI(r,n,i,t);n[o]=s,yo()&&ka(r,n,s,i),Ct(i,!1)}var YI=(e,t,n,r)=>(On(!0),gm(t[k],r));function Kf(e,t,n,r=""){return De(e,bt(),n)?t+qt(n)+r:X}function Jf(e,t,n,r,o,i=""){let s=Ol(),a=nf(e,s,n,o);return uo(2),a?t+qt(n)+r+qt(o)+i:X}function Xf(e){return ec("",e),Xf}function ec(e,t,n){let r=y(),o=Kf(r,e,t,n);return o!==X&&tp(r,ve(),o),ec}function ep(e,t,n,r,o){let i=y(),s=Jf(i,e,t,n,r,o);return s!==X&&tp(i,ve(),s),ep}function tp(e,t,n){let r=ds(t,e);mm(e[k],r,n)}var np={};function rp(e){He("NgLet");let t=F(),n=y(),r=e+O,o=kt(t,r,128,null,null);return Ct(o,!1),Rn(t,n,r,np),rp}function KI(e){let t=F(),n=y(),r=ve();return Rn(t,n,r,e),e}function JI(e){let t=Ts(),n=oo(t,O+e);if(n===np)throw new b(314,!1);return n}function XI(e,t,n=""){return Kf(y(),e,t,n)}function eE(e,t,n,r,o=""){return Jf(y(),e,t,n,r,o)}function Fu(e,t,n){let r=F();r.firstCreatePass&&op(t,r.data,r.blueprint,me(e),n)}function op(e,t,n,r,o){if(e=B(e),Array.isArray(e))for(let i=0;i<e.length;i++)op(e[i],t,n,r,o);else{let i=F(),s=y(),a=Z(),c=pt(e)?e:B(e.provide),l=is(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(pt(e)||!e.multi){let f=new Nt(l,o,er,null),h=$s(c,t,o?u:u+p,d);h===-1?(qs(Lo(a,s),i,c),Bs(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=$s(c,t,u+p,d),h=$s(c,t,u,u+p),v=f>=0&&n[f],_=h>=0&&n[h];if(o&&!_||!o&&!v){qs(Lo(a,s),i,c);let N=rE(o?nE:tE,n.length,o,r,l,e);!o&&_&&(n[h].providerFactory=N),Bs(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=ip(n[o?h:f],l,!o&&r);Bs(i,e,f>-1?f:h,N)}!o&&r&&_&&n[h].componentProviders++}}}function Bs(e,t,n,r){let o=pt(t),i=Dl(t);if(o||i){let c=(i?B(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 ip(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function $s(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function tE(e,t,n,r,o){return Da(this.multi,[])}function nE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=jn(r,r[g],this.providerFactory.index,o);s=c.slice(0,a),Da(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Da(i,s);return s}function Da(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function rE(e,t,n,r,o,i){let s=new Nt(e,n,er,null);return s.multi=[],s.index=t,s.componentProviders=0,ip(s,o,r&&!n),s}function oE(e,t){return n=>{n.providersResolver=(r,o)=>Fu(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Fu(r,o?o(t):t,!0))}}function iE(e,t,n){return ap(y(),lo(),e,t,n)}function sE(e,t,n,r){return aE(y(),lo(),e,t,n,r)}function sp(e,t){let n=e[t];return n===X?void 0:n}function ap(e,t,n,r,o,i){let s=t+n;return De(e,s,o)?tf(e,s+1,i?r.call(i,o):r(o)):sp(e,s+1)}function aE(e,t,n,r,o,i,s){let a=t+n;return nf(e,a,o,i)?tf(e,a+2,s?r.call(s,o,i):r(o,i)):sp(e,a+2)}function cE(e,t){let n=F(),r,o=e+O;n.firstCreatePass?(r=lE(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=qe(r.type,!0)),s,a=Y(er);try{let c=Po(!1),l=i();return Po(c),Rn(n,y(),o,l),l}finally{Y(a)}}function lE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function uE(e,t,n){let r=e+O,o=y(),i=oo(o,r);return dE(o,r)?ap(o,lo(),t,i.transform,n,i):i.transform(n)}function dE(e,t){return e[g].data[t].pure}function fE(e,t){return si(e,t)}var cp=(()=>{class e{applicationErrorHandler=E(Mt);appRef=E(tr);taskService=E(_t);ngZone=E(q);zonelessEnabled=E(en);tracing=E(Rt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new H;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Cn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(Do,{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?Zl:xs;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(Cn+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=At({token:e,factory:e.\u0275fac})}return e})();function lp(){return[{provide:_e,useExisting:cp},{provide:q,useClass:bn},{provide:en,useValue:!0}]}var pE=(()=>{class e{compileModuleSync(n){return new qo(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=At({token:e,factory:e.\u0275fac})}return e})();function hE(){return typeof $localize<"u"&&$localize.locale||nr}var tc=new x("",{factory:()=>E(tc,{optional:!0,skipSelf:!0})||hE()});var rr=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(_n(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 gE(e,t){return pn(e,t?.equal)}function mE(e){return gc(e)}var li=Symbol("InputSignalNode#UNSET"),hp=W(U({},hn),{transformFn:void 0,applyValueToInputSignal(e,t){nt(e,t)}});function gp(e,t){let n=Object.create(hp);n.value=e,n.transformFn=t?.transform;function r(){if(Be(n),n.value===li){let o=null;throw new b(-950,o)}return n.value}return r[V]=n,r}function kP(e){return yE(e)?e.default:e}function yE(e){return e&&typeof e=="object"&&"default"in e}function OP(e){return new rr}function up(e,t){return gp(e,t)}function vE(e){return gp(li,e)}var PP=(up.required=vE,up);function mp(e,t){let n=Object.create(hp),r=new rr;n.value=e;function o(){return Be(n),dp(n.value),n.value}return o[V]=n,o.asReadonly=Eo.bind(o),o.set=i=>{n.equal(n.value,i)||(nt(n,i),r.emit(i))},o.update=i=>{dp(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function dp(e){if(e===li)throw new b(952,!1)}function fp(e,t){return mp(e,t)}function IE(e){return mp(li,e)}var LP=(fp.required=IE,fp);function pp(e,t){return mf(t)}function EE(e,t){return yf(t)}var FP=(pp.required=EE,pp);var DE=1e4;var jP=DE-1e3;var VP=(()=>{class e{static __NG_ELEMENT_ID__=wE}return e})();function wE(e){return TE(Z(),y(),(e&16)===16)}function TE(e,t,n){if(Fe(e)&&!n){let r=ae(e.index,t);return new Xe(r,r)}else if(e.type&175){let r=t[K];return new Xe(r,t)}return null}var CE=(()=>{class e{zone=E(q);changeDetectionScheduler=E(_e);applicationRef=E(tr);applicationErrorHandler=E(Mt);_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=At({token:e,factory:e.\u0275fac})}return e})(),bE=new x("",{factory:()=>!1});function _E({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new q(W(U({},yp()),{scheduleInRootZone:t})),[{provide:en,useValue:!1},{provide:q,useFactory:e},{provide:mt,multi:!0,useFactory:()=>{let n=E(CE,{optional:!0});return()=>n.initialize()}},{provide:mt,multi:!0,useFactory:()=>{let n=E(ME);return()=>{n.initialize()}}},{provide:Do,useValue:t??Ss}]}function HP(e){let t=e?.scheduleInRootZone,n=_E({ngZoneFactory:()=>{let r=yp(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&He("NgZone_CoalesceEvent"),new q(r)},scheduleInRootZone:t});return ts([{provide:bE,useValue:!0},n])}function yp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ME=(()=>{class e{subscription=new H;initialized=!1;zone=E(q);pendingTasks=E(_t);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{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=At({token:e,factory:e.\u0275fac})}return e})();var rc=new x(""),NE=new x("");function or(e){return!e.moduleRef}function SE(e){let t=or(e)?e.r3Injector:e.moduleRef.injector,n=t.get(q);return n.run(()=>{or(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Mt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),or(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(()=>{Fn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return AE(r,n,()=>{let i=t.get(_t),s=i.add(),a=t.get(za);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(tc,nr);if(jf(c||nr),!t.get(NE,!0))return or(e)?t.get(tr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(or(e)){let u=t.get(tr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return xE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var xE;function AE(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 ci=null;function RE(e=[],t){return fe.create({name:t,providers:[{provide:os,useValue:"platform"},{provide:rc,useValue:new Set([()=>ci=null])},...e]})}function kE(e=[]){if(ci)return ci;let t=RE(e);return ci=t,xf(),OE(t),t}function OE(e){let t=e.get(Xl,null);to(e,()=>{t?.forEach(n=>n())})}function BP(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(M.BootstrapApplicationStart);try{let i=o?.injector??kE(r),s=[lp(),Kl,...n||[]],a=new qn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return SE({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(M.BootstrapApplicationEnd)}}var nc=Symbol("NOT_SET"),vp=new Set,PE=W(U({},hn),{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&&!Ot(this))return this.signal;try{for(let o of this.cleanup??vp)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=$e(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 Vn{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 Sa){let c=n[a];if(c===void 0)continue;let l=Object.create(PE);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Be(l),l.value),l.signal[V]=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??vp)n()}finally{Ue(t)}}};function $P(e,t){let n=t?.injector??E(fe),r=n.get(_e),o=n.get(ei),i=n.get(Rt,null,{optional:!0});o.impl??=n.get(xa);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Xt,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 UP(e,t){let n=ze(e),r=t.elementInjector||Qt();return new cn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}export{U as a,W as b,bp as c,LE as d,FE as e,pi as f,H as g,Fp as h,S as i,te as j,mn as k,vn as l,at as m,Ce as n,Qp as o,Zp as p,Yp as q,lt as r,Kp as s,We as t,ih as u,ut as v,Fr as w,ah as x,En as y,ch as z,lh as A,$t as B,uh as C,qc as D,dh as E,zc as F,jr as G,Zc as H,hh as I,gh as J,mh as K,Kc as L,Xc as M,yh as N,el as O,tl as P,vh as Q,nl as R,b as S,_n as T,pe as U,cl as V,Dh as W,x as X,be as Y,E as Z,ts as _,os as $,re as aa,to as ba,Al as ca,Rl as da,ql as ea,Gl as fa,fe as ga,vo as ha,je as ia,_t as ja,Re as ka,q as la,Pe as ma,Mt as na,Io as oa,Jl as pa,Xl as qa,Kh as ra,Jh as sa,Xh as ta,_e as ua,eu as va,mg as wa,Og as xa,At as ya,Zn as za,$g as Aa,St as Ba,Em as Ca,wm as Da,Ho as Ea,sn as Fa,Rt as Ga,He as Ha,Vm as Ia,ly as Ja,Un as Ka,zy as La,sf as Ma,er as Na,Ky as Oa,ai as Pa,Ga as Qa,vf as Ra,ln as Sa,If as Ta,Pv as Ua,Ef as Va,Fv as Wa,Vv as Xa,$v as Ya,Uv as Za,qv as _a,bf as $a,Mf as ab,rI as bb,Sf as cb,tr as db,Af as eb,aI as fb,cI as gb,lI as hb,uI as ib,dI as jb,fI as kb,Rf as lb,Qo as mb,Za as nb,kf as ob,Ya as pb,Ka as qb,Of as rb,Lf as sb,vI as tb,Ff as ub,Vf as vb,Hf as wb,DI as xb,TI as yb,CI as zb,Bf as Ab,_I as Bb,MI as Cb,Wf as Db,qf as Eb,jI as Fb,ZI as Gb,Xf as Hb,ec as Ib,ep as Jb,rp as Kb,KI as Lb,JI as Mb,XI as Nb,eE as Ob,oE as Pb,iE as Qb,sE as Rb,cE as Sb,uE as Tb,fE as Ub,pE as Vb,gE as Wb,mE as Xb,kP as Yb,OP as Zb,PP as _b,LP as $b,FP as ac,VP as bc,HP as cc,BP as dc,$P as ec,UP as fc};
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function rt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var H=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 gr?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 gr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new gr(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)&&rt(n,t)}remove(t){let{_finalizers:n}=this;n&&rt(n,t),t instanceof e&&t._removeParent(this)}};H.EMPTY=(()=>{let e=new H;return e.closed=!0,e})();var Ci=H.EMPTY;function mr(e){return e instanceof H||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 jt={setTimeout(e,t,...n){let{delegate:r}=jt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=jt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function yr(e){jt.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function gn(){}var yc=bi("C",void 0,void 0);function vc(e){return bi("E",void 0,e)}function Ic(e){return bi("N",e,void 0)}function bi(e,t,n){return{kind:e,value:t,error:n}}var ot=null;function Vt(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!ot;if(t&&(ot={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ot;if(ot=null,n)throw r}}else e()}function Ec(e){ue.useDeprecatedSynchronousErrorHandling&&ot&&(ot.errorThrown=!0,ot.error=e)}var it=class extends H{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,mr(t)&&t.add(this)):this.destination=Pp}static create(t,n,r){return new de(t,n,r)}next(t){this.isStopped?Mi(Ic(t),this):this._next(t)}error(t){this.isStopped?Mi(vc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Mi(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()}}},kp=Function.prototype.bind;function _i(e,t){return kp.call(e,t)}var Ni=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){vr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){vr(r)}else vr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){vr(n)}}},de=class extends it{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&&_i(t.next,i),error:t.error&&_i(t.error,i),complete:t.complete&&_i(t.complete,i)}):o=t}this.destination=new Ni(o)}};function vr(e){ue.useDeprecatedSynchronousErrorHandling?Ec(e):yr(e)}function Op(e){throw e}function Mi(e,t){let{onStoppedNotification:n}=ue;n&&jt.setTimeout(()=>n(e,t))}var Pp={closed:!0,next:gn,error:Op,complete:gn};var Ht=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ee(e){return e}function Lp(...e){return Si(e)}function Si(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=jp(n)?n:new de(n,r,o);return Vt(()=>{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)}[Ht](){return this}pipe(...n){return Si(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 Fp(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function jp(e){return e&&e instanceof it||Fp(e)&&mr(e)}function Vp(e){return D(e?.lift)}function T(e){return t=>{if(Vp(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 C(e,t,n,r,o){return new xi(e,t,n,r,o)}var xi=class extends it{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=Ft(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 Ir(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new wc}next(n){Vt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Vt(()=>{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(){Vt(()=>{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?Ci:(this.currentObservers=null,i.push(n),new H(()=>{this.currentObservers=null,rt(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 Ir(t,n),e})(),Ir=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:Ci}};var mn=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 yn={now(){return(yn.delegate||Date).now()},delegate:void 0};var vn=class extends te{constructor(t=1/0,n=1/0,r=yn){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 Er=class extends H{constructor(t,n){super()}schedule(t,n=0){return this}};var In={setInterval(e,t,...n){let{delegate:r}=In;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=In;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Dr=class extends Er{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 In.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&&In.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,rt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Bt=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)}};Bt.now=yn.now;var wr=class extends Bt{constructor(t,n=Bt.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 st=new wr(Dr),Tc=st;var at=new S(e=>e.complete());function Tr(e){return e&&D(e.schedule)}function Ai(e){return e[e.length-1]}function Cc(e){return D(Ai(e))?e.pop():void 0}function Te(e){return Tr(Ai(e))?e.pop():void 0}function bc(e,t){return typeof Ai(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 ct(e){return this instanceof ct?(this.v=e,this):new ct(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(_,N){i.push([f,v,_,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 ct?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 Cr=e=>e&&typeof e.length=="number"&&typeof e!="function";function br(e){return D(e?.then)}function _r(e){return D(e[Ht])}function Mr(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function Nr(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 Hp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Sr=Hp();function xr(e){return D(e?.[Sr])}function Ar(e){return Nc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ct(n.read());if(o)return yield ct(void 0);yield yield ct(r)}}finally{n.releaseLock()}})}function Rr(e){return D(e?.getReader)}function P(e){if(e instanceof S)return e;if(e!=null){if(_r(e))return Bp(e);if(Cr(e))return $p(e);if(br(e))return Up(e);if(Mr(e))return xc(e);if(xr(e))return Wp(e);if(Rr(e))return qp(e)}throw Nr(e)}function Bp(e){return new S(t=>{let n=e[Ht]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function $p(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Up(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,yr)})}function Wp(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=>{Gp(e,t).catch(n=>t.error(n))})}function qp(e){return xc(Ar(e))}function Gp(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 kr(e,t=0){return T((n,r)=>{n.subscribe(C(r,o=>J(r,e,()=>r.next(o),t),()=>J(r,e,()=>r.complete(),t),o=>J(r,e,()=>r.error(o),t)))})}function Or(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ac(e,t){return P(e).pipe(Or(t),kr(t))}function Rc(e,t){return P(e).pipe(Or(t),kr(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[Sr](),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 Pr(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 Pr(Ar(e),t)}function Lc(e,t){if(e!=null){if(_r(e))return Ac(e,t);if(Cr(e))return kc(e,t);if(br(e))return Rc(e,t);if(Mr(e))return Pr(e,t);if(xr(e))return Oc(e,t);if(Rr(e))return Pc(e,t)}throw Nr(e)}function Ce(e,t){return t?Lc(e,t):P(e)}function zp(...e){let t=Te(e);return Ce(e,t)}function Qp(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 Zp(e){return!!e&&(e instanceof S||D(e.lift)&&D(e.subscribe))}var lt=Ft(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Yp(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 lt)}});e.subscribe(i)})}function Fc(e){return e instanceof Date&&!isNaN(e)}function We(e,t){return T((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Kp}=Array;function Jp(e,t){return Kp(t)?e(...t):e(t)}function jc(e){return We(t=>Jp(e,t))}var{isArray:Xp}=Array,{getPrototypeOf:eh,prototype:th,keys:nh}=Object;function Vc(e){if(e.length===1){let t=e[0];if(Xp(t))return{args:t,keys:null};if(rh(t)){let n=nh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function rh(e){return e&&typeof e=="object"&&eh(e)===th}function Hc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function oh(...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(ih(r,t,o?s=>Hc(o,s):ee));return n?i.pipe(jc(n)):i}function ih(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(C(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 _=!1;P(n(v,u++)).subscribe(C(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{_=!0},void 0,()=>{if(_)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(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ut(e,t,n=1/0){return D(t)?ut((r,o)=>We((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 Lr(e=1/0){return ut(ee,e)}function Uc(){return Lr(1)}function Fr(...e){return Uc()(Ce(e,Te(e)))}function sh(e){return new S(t=>{P(e()).subscribe(t)})}function En(e=0,t,n=Tc){let r=-1;return t!=null&&(Tr(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 ah(e=0,t=st){return e<0&&(e=0),En(e,e,t)}function ch(...e){let t=Te(e),n=bc(e,1/0),r=e;return r.length?r.length===1?P(r[0]):Lr(n)(Ce(r,t)):at}function $t(e,t){return T((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Wc(e){return T((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(C(n,l=>{r=!0,o=l,i||P(e(l)).subscribe(i=C(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function lh(e,t=st){return Wc(()=>En(e,t))}function qc(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=P(e(s,qc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Gc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(C(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 uh(e,t){return D(t)?ut(e,t,1):ut(e,1)}function zc(e,t=st){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(C(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 Qc(e){return T((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function jr(e){return e<=0?()=>at:T((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Zc(e,t=ee){return e=e??dh,T((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function dh(e,t){return e===t}function Yc(e=fh){return T((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function fh(){return new lt}function ph(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function hh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$t((o,i)=>e(o,i,r)):ee,jr(1),n?Qc(t):Yc(()=>new lt))}function gh(e){return e<=0?()=>at:T((t,n)=>{let r=[];t.subscribe(C(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 Kc(e,t){return T(Gc(e,t,arguments.length>=2,!0))}function Jc(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,_)=>{l++,!d&&!u&&p();let N=c=c??t();_.add(()=>{l--,l===0&&!d&&!u&&(a=Ri(h,o))}),N.subscribe(_),!s&&l>0&&(s=new de({next:le=>N.next(le),error:le=>{d=!0,p(),a=Ri(f,n,le),N.error(le)},complete:()=>{u=!0,p(),a=Ri(f,r),N.complete()}}),P(v).subscribe(s))})(i)}}function Ri(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 Xc(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Jc({connector:()=>new vn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function mh(e){return $t((t,n)=>e<=n)}function el(...e){let t=Te(e);return T((n,r)=>{(t?Fr(e,n,t):Fr(e,n)).subscribe(r)})}function tl(e,t){return T((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function yh(e){return T((t,n)=>{P(e).subscribe(C(n,()=>n.complete(),gn)),!n.closed&&t.subscribe(n)})}function vh(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(C(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 qr="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(_n(t,n)),this.code=t}};function Ih(e){return`NG0${Math.abs(e)}`}function _n(e,t){return`${Ih(e)}${t?": "+t:""}`}function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function sl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Mn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Mn).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 Gr(e,t){return e?t?`${e} ${t}`:e:t||""}var Eh=A({__forward_ref__:A});function zr(e){return e.__forward_ref__=zr,e}function B(e){return qi(e)?e():e}function qi(e){return typeof e=="function"&&e.hasOwnProperty(Eh)&&e.__forward_ref__===zr}function pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function al(e){return{providers:e.providers||[],imports:e.imports||[]}}function Nn(e){return wh(e,Qr)}function Dh(e){return Nn(e)!==null}function wh(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Th(e){let t=e?.[Qr]??null;return t||null}function Oi(e){return e&&e.hasOwnProperty(Hr)?e[Hr]:null}var Qr=A({\u0275prov:A}),Hr=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 Gi(e){return e&&!!e.\u0275providers}var zi=A({\u0275cmp:A}),Qi=A({\u0275dir:A}),Zi=A({\u0275pipe:A}),Yi=A({\u0275mod:A}),wn=A({\u0275fac:A}),gt=A({__NG_ELEMENT_ID__:A}),nl=A({__NG_ENV_ID__:A});function cl(e){return Yr(e,"@NgModule"),e[Yi]||null}function ze(e){return Yr(e,"@Component"),e[zi]||null}function Zr(e){return Yr(e,"@Directive"),e[Qi]||null}function ll(e){return Yr(e,"@Pipe"),e[Zi]||null}function Yr(e,t){if(e==null)throw new b(-919,!1)}function qt(e){return typeof e=="string"?e:e==null?"":String(e)}var ul=A({ngErrorCode:A}),Ch=A({ngErrorMessage:A}),bh=A({ngTokenPath:A});function Ki(e,t){return dl("",-200,t)}function Kr(e,t){throw new b(-201,!1)}function dl(e,t,n){let r=new b(t,e);return r[ul]=t,r[Ch]=e,n&&(r[bh]=n),r}function _h(e){return e[ul]}var Pi;function fl(){return Pi}function Y(e){let t=Pi;return Pi=e,t}function Ji(e,t,n){let r=Nn(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;Kr(e,"")}var Gt=globalThis;var Mh={},dt=Mh,Nh="__NG_DI_FLAG__",Li=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ft(n)||0;try{return this.injector.get(t,r&8?null:dt,r)}catch(o){if(Lt(o))return o;throw o}}};function Sh(e,t=0){let n=hr();if(n===void 0)throw new b(-203,!1);if(n===null)return Ji(e,void 0,t);{let r=xh(t),o=n.retrieve(e,r);if(Lt(o)){if(r.optional)return null;throw o}return o}}function be(e,t=0){return(fl()||Sh)(B(e),t)}function E(e,t){return be(e,ft(t))}function ft(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xh(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Fi(e){let t=[];for(let n=0;n<e.length;n++){let r=B(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=Ah(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 Ah(e){return e[Nh]}function qe(e,t){let n=e.hasOwnProperty(wn);return n?e[wn]:null}function pl(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 hl(e){return e.flat(Number.POSITIVE_INFINITY)}function Jr(e,t){e.forEach(n=>Array.isArray(n)?Jr(n,t):t(n))}function Xi(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Sn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function gl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function ml(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 Xr(e,t,n){let r=zt(e,t);return r>=0?e[r|1]=n:(r=~r,ml(e,r,t,n)),r}function eo(e,t){let n=zt(e,t);if(n>=0)return e[n|1]}function zt(e,t){return Rh(e,t,1)}function Rh(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 Qe={},z=[],mt=new x(""),xn=new x("",-1),es=new x(""),Wt=class{get(t,n=dt){if(n===dt){let o=dl("",-201);throw o.name="\u0275NotFound",o}return n}};function ts(e){return{\u0275providers:e}}function yl(...e){return{\u0275providers:ns(!0,e),\u0275fromNgModule:!0}}function ns(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Jr(t,s=>{let a=s;Br(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&vl(o,i),n}function vl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];rs(o,i=>{t(i,r)})}}function Br(e,t,n,r){if(e=B(e),!e)return!1;let o=null,i=Oi(e),s=!i&&ze(e);if(!i&&!s){let c=e.ngModule;if(i=Oi(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)Br(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Jr(i.imports,u=>{Br(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&vl(l,t)}if(!a){let l=qe(o)||(()=>new o);t({provide:o,useFactory:l,deps:z},o),t({provide:es,useValue:o,multi:!0},o),t({provide:mt,useValue:()=>be(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;rs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function rs(e,t){for(let n of e)Gi(n)&&(n=n.\u0275providers),Array.isArray(n)?rs(n,t):t(n)}var kh=A({provide:String,useValue:A});function Il(e){return e!==null&&typeof e=="object"&&kh in e}function Oh(e){return!!(e&&e.useExisting)}function Ph(e){return!!(e&&e.useFactory)}function pt(e){return typeof e=="function"}function El(e){return!!e.useClass}var os=new x(""),Vr={},rl={},ki;function Qt(){return ki===void 0&&(ki=new Wt),ki}var re=class{},ht=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,Vi(t,s=>this.processProvider(s)),this.records.set(xn,Ut(void 0,this)),o.has("environment")&&this.records.set(re,Ut(void 0,this));let i=this.records.get(os);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(es,z,{self:!0}))}retrieve(t,n){let r=ft(n)||0;try{return this.get(t,dt,r)}catch(o){if(Lt(o))return o;throw o}}destroy(){Dn(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 Dn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Dn(this);let n=we(this),r=Y(void 0),o;try{return t()}finally{we(n),Y(r)}}get(t,n=dt,r){if(Dn(this),t.hasOwnProperty(nl))return t[nl](this);let o=ft(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=Hh(t)&&Nn(t);u&&this.injectableDefInScope(u)?l=Ut(ji(t),Vr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?Qt():this.parent;return n=o&8&&n===dt?null:n,c.get(t,n)}catch(c){let l=_h(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(mt,z,{self:!0});for(let s of i)s()}finally{we(n),Y(r),m(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=B(t);let n=pt(t)?t:B(t&&t.provide),r=Fh(t);if(!pt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ut(void 0,Vr,!0),o.factory=()=>Fi(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===rl)throw Ki("");return n.value===Vr&&(n.value=rl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Vh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{m(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=B(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 ji(e){let t=Nn(e),n=t!==null?t.factory:qe(e);if(n!==null)return n;if(e instanceof x)throw new b(-204,!1);if(e instanceof Function)return Lh(e);throw new b(-204,!1)}function Lh(e){if(e.length>0)throw new b(-204,!1);let n=Th(e);return n!==null?()=>n.factory(e):()=>new e}function Fh(e){if(Il(e))return Ut(void 0,e.useValue);{let t=is(e);return Ut(t,Vr)}}function is(e,t,n){let r;if(pt(e)){let o=B(e);return qe(o)||ji(o)}else if(Il(e))r=()=>B(e.useValue);else if(Ph(e))r=()=>e.useFactory(...Fi(e.deps||[]));else if(Oh(e))r=(o,i)=>be(B(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=B(e&&(e.useClass||e.provide));if(jh(e))r=()=>new o(...Fi(e.deps));else return qe(o)||ji(o)}return r}function Dn(e){if(e.destroyed)throw new b(-205,!1)}function Ut(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function jh(e){return!!e.deps}function Vh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Hh(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Vi(e,t){for(let n of e)Array.isArray(n)?Vi(n,t):n&&Gi(n)?Vi(n.\u0275providers,t):t(n)}function to(e,t){let n;e instanceof ht?(Dn(e),n=e):n=new Li(e);let r,o=we(n),i=Y(void 0);try{return t()}finally{we(o),Y(i)}}function Dl(){return fl()!==void 0||hr()!=null}var he=0,g=1,I=2,$=3,oe=4,Q=5,yt=6,Zt=7,j=8,Me=9,ge=10,k=11,Yt=12,ss=13,vt=14,K=15,Ze=16,It=17,Ne=18,Se=19,as=20,ke=21,no=22,Ge=23,ne=24,Et=25,xe=26,O=27,wl=1,cs=6,Ye=7,An=8,Dt=9,L=10;function Le(e){return Array.isArray(e)&&typeof e[wl]=="object"}function ie(e){return Array.isArray(e)&&e[wl]===!0}function ls(e){return(e.flags&4)!==0}function Fe(e){return e.componentOffset>-1}function Kt(e){return(e.flags&1)===1}function me(e){return!!e.template}function Jt(e){return(e[I]&512)!==0}function wt(e){return(e[I]&256)===256}var us="svg",Tl="math";function se(e){for(;Array.isArray(e);)e=e[he];return e}function ds(e,t){return se(t[e])}function ye(e,t){return se(t[e.index])}function ro(e,t){return e.data[t]}function oo(e,t){return e[t]}function Rn(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 io(e){return(e[I]&128)===128}function Cl(e){return ie(e[$])}function ce(e,t){return t==null?null:e[t]}function fs(e){e[It]=0}function ps(e){e[I]&1024||(e[I]|=1024,io(e)&&Tt(e))}function bl(e,t){for(;e>0;)t=t[vt],e--;return t}function kn(e){return!!(e[I]&9216||e[ne]?.dirty)}function so(e){e[ge].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),kn(e)&&Tt(e)}function Tt(e){e[ge].changeDetectionScheduler?.notify(0);let t=Oe(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!io(t)));)t=Oe(t)}function ao(e,t){if(wt(e))throw new b(911,!1);e[ke]===null&&(e[ke]=[]),e[ke].push(t)}function _l(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[$];return ie(t)?t[$]:t}function hs(e){return e[Zt]??=[]}function gs(e){return e.cleanup??=[]}function Ml(e,t,n,r){let o=hs(t);o.push(n),e.firstCreatePass&&gs(e).push(r,o.length-1)}var w={lFrame:Bl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Hi=!1;function Nl(){return w.lFrame.elementDepthCount}function Sl(){w.lFrame.elementDepthCount++}function ms(){w.lFrame.elementDepthCount--}function co(){return w.bindingsEnabled}function ys(){return w.skipHydrationRootTNode!==null}function vs(e){return w.skipHydrationRootTNode===e}function Is(){w.skipHydrationRootTNode=null}function y(){return w.lFrame.lView}function F(){return w.lFrame.tView}function xl(e){return w.lFrame.contextLView=e,e[j]}function Al(e){return w.lFrame.contextLView=null,e}function Z(){let e=Es();for(;e!==null&&e.type===64;)e=e.parent;return e}function Es(){return w.lFrame.currentTNode}function Rl(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ct(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function Ds(){return w.lFrame.isParent}function ws(){w.lFrame.isParent=!1}function Ts(){return w.lFrame.contextLView}function Cs(){return Hi}function Tn(e){let t=Hi;return Hi=e,t}function lo(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function kl(){return w.lFrame.bindingIndex}function Ol(e){return w.lFrame.bindingIndex=e}function bt(){return w.lFrame.bindingIndex++}function uo(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Pl(){return w.lFrame.inI18n}function Ll(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,fo(t)}function Fl(){return w.lFrame.currentDirectiveIndex}function fo(e){w.lFrame.currentDirectiveIndex=e}function jl(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Vl(){return w.lFrame.currentQueryIndex}function po(e){w.lFrame.currentQueryIndex=e}function Bh(e){let t=e[g];return t.type===2?t.declTNode:t.type===1?e[Q]:null}function bs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Bh(i),o===null||(i=i[vt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=Hl();return r.currentTNode=t,r.lView=e,!0}function ho(e){let t=Hl(),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 Hl(){let e=w.lFrame,t=e===null?null:e.child;return t===null?Bl(e):t}function Bl(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 $l(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _s=$l;function go(){let e=$l();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 Ul(e){return(w.lFrame.contextLView=bl(e,w.lFrame.contextLView))[j]}function ve(){return w.lFrame.selectedIndex}function Ke(e){w.lFrame.selectedIndex=e}function mo(){let e=w.lFrame;return ro(e.tView,e.selectedIndex)}function Wl(){w.lFrame.currentNamespace=us}function ql(){$h()}function $h(){w.lFrame.currentNamespace=null}function Ms(){return w.lFrame.currentNamespace}var Gl=!0;function yo(){return Gl}function On(e){Gl=e}function Bi(e,t=null,n=null,r){let o=Ns(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ns(e,t=null,n=null,r,o=new Set){let i=[n||z,yl(e)],s;return new ht(i,t||Qt(),s||null,o)}var fe=class e{static THROW_IF_NOT_FOUND=dt;static NULL=new Wt;static create(t,n){if(Array.isArray(t))return Bi({name:""},n,t,"");{let r=t.name??"";return Bi({name:r},t.parent,t.providers,r)}}static \u0275prov=pe({token:e,providedIn:"any",factory:()=>be(xn)});static __NG_ELEMENT_ID__=-1},vo=new x(""),je=(()=>{class e{static __NG_ELEMENT_ID__=Uh;static __NG_ENV_ID__=n=>n}return e})(),$r=class extends je{_lView;constructor(t){super(),this._lView=t}get destroyed(){return wt(this._lView)}onDestroy(t){let n=this._lView;return ao(n,t),()=>_l(n,t)}};function Uh(){return new $r(y())}var Ss=!1,zl=new x(""),_t=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new mn(!1);debugTaskTracker=E(zl,{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})(),$i=class extends te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Dl()&&(this.destroyRef=E(je,{optional:!0})??void 0,this.pendingTasks=E(_t,{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 H&&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=$i;function Ur(...e){}function xs(e){let t,n;function r(){e=Ur;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 Ql(e){return queueMicrotask(()=>e()),()=>{e=Ur}}var As="isAngularZone",Cn=As+"_ID",Wh=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=Ss}=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,zh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(As)===!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,qh,Ur,Ur);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)}},qh={};function Rs(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 Gh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){xs(()=>{e.callbackScheduled=!1,Ui(e),e.isCheckStableRunning=!0,Rs(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ui(e)}function zh(e){let t=()=>{Gh(e)},n=Wh++;e._inner=e._inner.fork({name:"angular",properties:{[As]:!0,[Cn]:n,[Cn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Qh(c))return r.invokeTask(i,s,a,c);try{return ol(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),il(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return ol(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Zh(c)&&t(),il(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ui(e),Rs(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 Ui(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ol(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function il(e){e._nesting--,Rs(e)}var bn=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 Qh(e){return Zl(e,"__ignore_ng_zone__")}function Zh(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)}},Mt=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))})}}}),Yl={provide:mt,useValue:()=>{let e=E(Pe,{optional:!0})},multi:!0};function Io(e,t){let[n,r,o]=Ii(e,t?.equal),i=n,s=i[V];return i.set=r,i.update=o,i.asReadonly=Eo.bind(i),i}function Eo(){let e=this[V];if(e.readonlyFn===void 0){let t=()=>this();t[V]=e,e.readonlyFn=t}return e.readonlyFn}var Kl=new x("",{factory:()=>Yh}),Yh="ng";var Jl=new x(""),Kh=new x("",{providedIn:"platform",factory:()=>"unknown"}),Jh=new x(""),Xh=new x("",{factory:()=>E(vo).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Xt=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=eg}return e})();function eg(){return new Xt(y(),Z())}var _e=class{},en=new x("",{factory:()=>!0});var Do=new x(""),wo=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new Wi})}return e})(),Wi=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}},Wr=class{[V];constructor(t){this[V]=t}destroy(){this[V].destroy()}};function Xl(e,t){let n=t?.injector??E(fe),r=t?.manualCleanup!==!0?n.get(je):null,o,i=n.get(Xt,null,{optional:!0}),s=n.get(_e);return i!==null?(o=rg(i.view,s,e),r instanceof $r&&r._lView===i.view&&(r=null)):o=og(e,n.get(wo),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Wr(o)}var eu=W(U({},Di),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Tn(!1);try{wi(this)}finally{Tn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=m(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],m(e)}}}),tg=W(U({},eu),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Ue(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),ng=W(U({},eu),{consumerMarkedDirty(){this.view[I]|=8192,Tt(this.view),this.notifier.notify(13)},destroy(){if(Ue(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Ge]?.delete(this)}});function rg(e,t,n){let r=Object.create(ng);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=tu(r,n),e[Ge]??=new Set,e[Ge].add(r),r.consumerMarkedDirty(r),r}function og(e,t,n){let r=Object.create(tg);return r.fn=tu(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 tu(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Qn(e){return{toString:e}.toString()}var Ro=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Hu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var mg=(()=>{let e=()=>Bu;return e.ngInherit=!0,e})();function Bu(e){return e.type.prototype.ngOnChanges&&(e.setInput=vg),yg}function yg(){let e=$u(this),t=e?.current;if(t){let n=e.previous;if(n===Qe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function vg(e,t,n,r,o){let i=this.declaredInputs[r],s=$u(e)||Ig(e,{previous:Qe,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ro(l&&l.currentValue,n,c===Qe),Hu(e,t,o,n)}var Us="__ngSimpleChanges__";function $u(e){return Object.hasOwn(e,Us)&&e[Us]||null}function Ig(e,t){return e[Us]=t}var nu=[];var R=function(e,t=null,n){for(let r=0;r<nu.length;r++){let o=nu[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 Eg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Bu(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 Uu(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 Mo(e,t,n){Wu(e,t,3,n)}function No(e,t,n,r){(e[I]&3)===n&&Wu(e,t,n,r)}function ks(e,t){let n=e[I];(n&3)===t&&(n&=16383,n+=1,e[I]=n)}function Wu(e,t,n,r){let o=r!==void 0?e[It]&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[It]+=65536),(a<i||i==-1)&&(Dg(e,n,t,c),e[It]=(e[It]&4294901760)+c+2),c++}function ru(e,t){R(M.LifecycleHookStart,e,t);let n=m(null);try{t.call(e)}finally{m(n),R(M.LifecycleHookEnd,e,t)}}function Dg(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[It]>>16&&(e[I]&3)===t&&(e[I]+=16384,ru(a,i)):ru(a,i)}var nn=-1,Nt=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 wg(e){return(e.flags&8)!==0}function Tg(e){return(e.flags&16)!==0}function Cg(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];_g(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function bg(e){return e===3||e===4||e===6}function _g(e){return e.charCodeAt(0)===64}function rn(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?ou(e,n,o,null,t[++r]):ou(e,n,o,null,null))}}return e}function ou(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 qu(e){return e!==nn}function ko(e){return e&32767}function Mg(e){return e>>16}function Oo(e,t){let n=Mg(e),r=t;for(;n>0;)r=r[vt],n--;return r}var Ws=!0;function Po(e){let t=Ws;return Ws=e,t}var Ng=256,Gu=Ng-1,zu=5,Sg=0,Ae={};function xg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(gt)&&(r=n[gt]),r==null&&(r=n[gt]=Sg++);let o=r&Gu,i=1<<o;t.data[e+(o>>zu)]|=i}function Lo(e,t){let n=Qu(e,t);if(n!==-1)return n;let r=t[g];r.firstCreatePass&&(e.injectorIndex=t.length,Os(r.data,e),Os(t,null),Os(r.blueprint,null));let o=wa(e,t),i=e.injectorIndex;if(qu(o)){let s=ko(o),a=Oo(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 Os(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function wa(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=Xu(o),r===null)return nn;if(n++,o=o[vt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return nn}function qs(e,t,n){xg(e,t,n)}function Zu(e,t,n){if(n&8||e!==void 0)return e;Kr(t,"NodeInjector")}function Yu(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):Ji(t,r,n&8)}finally{Y(i)}}return Zu(r,t,n)}function Ku(e,t,n,r=0,o){if(e!==null){if(t[I]&2048&&!(r&2)){let s=Pg(e,t,n,r,Ae);if(s!==Ae)return s}let i=Ju(e,t,n,r,Ae);if(i!==Ae)return i}return Yu(t,n,r,o)}function Ju(e,t,n,r,o){let i=Rg(n);if(typeof i=="function"){if(!bs(t,e,r))return r&1?Zu(o,n,r):Yu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Kr(n);else return s}finally{_s()}}else if(typeof i=="number"){let s=null,a=Qu(e,t),c=nn,l=r&1?t[K][Q]:null;for((a===-1||r&4)&&(c=a===-1?wa(e,t):t[a+8],c===nn||!su(r,!1)?a=-1:(s=t[g],a=ko(c),t=Oo(c,t)));a!==-1;){let u=t[g];if(iu(i,a,u.data)){let d=Ag(a,t,n,s,r,l);if(d!==Ae)return d}c=t[a+8],c!==nn&&su(r,t[g].data[a+8]===l)&&iu(i,a,t)?(s=u,a=ko(c),t=Oo(c,t)):a=-1}}return o}function Ag(e,t,n,r,o,i){let s=t[g],a=s.data[e+8],c=r==null?Fe(a)&&Ws:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=So(a,s,n,c,l);return u!==null?jn(t,s,u,a,o):Ae}function So(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 jn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Nt){let a=i;if(a.resolving)throw Ki("");let c=Po(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?Y(a.injectImpl):null,p=bs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Eg(n,s[n],t)}finally{d!==null&&Y(d),Po(c),a.resolving=!1,_s()}}return i}function Rg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(gt)?e[gt]:void 0;return typeof t=="number"?t>=0?t&Gu:kg:t}function iu(e,t,n){let r=1<<e;return!!(n[t+(e>>zu)]&r)}function su(e,t){return!(e&2)&&!(e&1&&t)}var Je=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Ku(this._tNode,this._lView,t,ft(r),n)}};function kg(){return new Je(Z(),y())}function Og(e){return Qn(()=>{let t=e.prototype.constructor,n=t[wn]||Gs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[wn]||Gs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Gs(e){return qi(e)?()=>{let t=Gs(B(e));return t&&t()}:qe(e)}function Pg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!Jt(s);){let a=Ju(i,s,n,r|2,Ae);if(a!==Ae)return a;let c=i.parent;if(!c){let l=s[as];if(l){let u=l.get(n,Ae,r&-5);if(u!==Ae)return u}c=Xu(s),s=s[vt]}i=c}return o}function Xu(e){let t=e[g],n=t.type;return n===2?t.declTNode:n===1?e[Q]:null}function At(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function Lg(){return dn(Z(),y())}function dn(e,t){return new Zn(ye(e,t))}var Zn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Lg}return e})();function Fg(e){return e instanceof Zn?e.nativeElement:e}function jg(){return this._results[Symbol.iterator]()}var Fo=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=hl(t);(this._changesDetected=!pl(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]=jg};function ed(e){return(e.flags&128)===128}var Ta=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Ta||{}),td=new Map,Vg=0;function Hg(){return Vg++}function Bg(e){td.set(e[Se],e)}function zs(e){td.delete(e[Se])}var au="__ngContext__";function on(e,t){Le(t)?(e[au]=t[Se],Bg(t)):e[au]=t}function nd(e){return od(e[Yt])}function rd(e){return od(e[oe])}function od(e){for(;e!==null&&!ie(e);)e=e[oe];return e}var Qs;function $g(e){Qs=e}function Ca(){if(Qs!==void 0)return Qs;if(typeof document<"u")return document;throw new b(210,!1)}var id="r";var sd="di";var ad=!1,cd=new x("",{factory:()=>ad});var cu=new WeakMap;function Ug(e,t){if(e==null||typeof e!="object")return;let n=cu.get(e);n||(n=new WeakSet,cu.set(e,n)),n.add(t)}var Wg=(e,t,n,r)=>{};function qg(e,t,n,r){Wg(e,t,n,r)}function Yo(e){return(e.flags&32)===32}var Gg=()=>null;function ld(e,t,n=!1){return Gg(e,t,n)}function ud(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];po(i),a.contentQueries(2,t[s],s)}}}finally{m(r)}}}function Zs(e,t,n){po(0);let r=m(null);try{t(e,n)}finally{m(r)}}function ba(e,t,n){if(ls(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 St=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(St||{});var To;function zg(){if(To===void 0&&(To=null,Gt.trustedTypes))try{To=Gt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return To}function Ko(e){return zg()?.createHTML(e)||e}var Co;function Qg(){if(Co===void 0&&(Co=null,Gt.trustedTypes))try{Co=Gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Co}function lu(e){return Qg()?.createHTML(e)||e}var jo=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qr})`}};function Jo(e){return e instanceof jo?e.changingThisBreaksApplicationSecurity:e}function dd(e,t){let n=fd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${qr})`)}return n===t}function fd(e){return e instanceof jo&&e.getTypeName()||null}function Zg(e){let t=new Ks(e);return Yg()?new Ys(t):t}var Ys=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Ko(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Ks=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=Ko(t),n}};function Yg(){try{return!!new window.DOMParser().parseFromString(Ko(""),"text/html")}catch(e){return!1}}var Kg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pd(e){return e=String(e),e.match(Kg)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Yn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var hd=Ve("area,br,col,hr,img,wbr"),gd=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),md=Ve("rp,rt"),Jg=Yn(md,gd),Xg=Yn(gd,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")),em=Yn(md,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")),uu=Yn(hd,Xg,em,Jg),yd=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tm=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"),nm=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"),rm=Yn(yd,tm,nm),om=Ve("script,style,template"),Js=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=am(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=sm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=du(t).toLowerCase();if(!uu.hasOwnProperty(n))return this.sanitizedSomething=!0,!om.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(!rm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;yd[a]&&(c=pd(c)),this.buf.push(" ",s,'="',fu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=du(t).toLowerCase();uu.hasOwnProperty(n)&&!hd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(fu(t))}};function im(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function sm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw vd(t);return t}function am(e){let t=e.firstChild;if(t&&im(e,t))throw vd(t);return t}function du(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function vd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var cm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lm=/([^\#-~ |!])/g;function fu(e){return e.replace(/&/g,"&amp;").replace(cm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(lm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var bo;function Id(e,t){let n=null;try{bo=bo||Zg(e);let r=t?String(t):"";n=bo.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=bo.getInertBodyElement(r)}while(r!==i);let a=new Js().sanitizeChildren(pu(n)||n);return Ko(a)}finally{if(n){let r=pu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function pu(e){return"content"in e&&um(e)?e.content:null}function um(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var dm=/^>|^->|<!--|-->|--!>|<!-$/g,fm=/(<|>)/g,pm="\u200B$1\u200B";function hm(e){return e.replace(dm,t=>t.replace(fm,pm))}function gm(e,t){return e.createText(t)}function mm(e,t,n){e.setValue(t,n)}function ym(e,t){return e.createComment(hm(t))}function Ed(e,t,n){return e.createElement(t,n)}function Vo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Dd(e,t,n){e.appendChild(t,n)}function hu(e,t,n,r,o){r!==null?Vo(e,t,n,r,o):Dd(e,t,n)}function wd(e,t,n,r){e.removeChild(null,t,n,r)}function vm(e,t,n){e.setAttribute(t,"style",n)}function Im(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Td(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Cg(e,t,r),o!==null&&Im(e,t,o),i!==null&&vm(e,t,i)}var _a=(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})(_a||{});function Em(e){let t=Dm();return t?lu(t.sanitize(_a.HTML,e)||""):dd(e,"HTML")?lu(Jo(e)):Id(Ca(),qt(e))}function Dm(){let e=y();return e&&e[ge].sanitizer}function wm(e){return e.ownerDocument}function Tm(e){return e instanceof Function?e():e}function Cm(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 Cd="ng-template";function bm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Cm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ma(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 Ma(e){return e.type===4&&e.value!==Cd}function _m(e,t,n){let r=e.type===4&&!n?Cd:e.value;return t===r}function Mm(e,t,n){let r=4,o=e.attrs,i=o!==null?xm(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!==""&&!_m(e,c,n)||c===""&&t.length===1){if(Ie(r))return!1;s=!0}}else if(r&8){if(o===null||!bm(e,o,c,n)){if(Ie(r))return!1;s=!0}}else{let l=t[++a],u=Nm(c,o,Ma(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 Nm(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 Am(t,e)}function bd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Mm(e,t[r],n))return!0;return!1}function Sm(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function xm(e){for(let t=0;t<e.length;t++){let n=e[t];if(bg(n))return t}return e.length}function Am(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 Rm(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 gu(e,t){return e?":not("+t.trim()+")":t}function km(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+=gu(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=gu(i,o)),t}function Om(e){return e.map(km).join(",")}function Pm(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={},Ho=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ho||{}),Lm;function Na(e,t){return Lm(e,t)}var rS=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Xs=new WeakMap,Pn=new WeakSet;function Fm(e,t){let n=Xs.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),Pn.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 jm(e,t){let n=Xs.get(e);n?n.includes(t)||n.push(t):Xs.set(e,[t])}var sn=new Set,Xo=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Xo||{}),Rt=new x(""),mu=new Set;function He(e){mu.has(e)||(mu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ei=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Sa=[0,1,2,3],xa=(()=>{class e{ngZone=E(q);scheduler=E(_e);errorHandler=E(Pe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(Rt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(M.AfterRenderHooksStart),this.executing=!0;for(let r of Sa)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[Et]??=[]).push(n),Tt(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(Xo.AFTER_NEXT_RENDER,n):n()}static \u0275prov=pe({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vn=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?.[Et];t&&(this.view[Et]=t.filter(n=>n!==this))}};function Vm(e,t){let n=t?.injector??E(fe);return He("NgAfterNextRender"),Bm(e,n,t,!0)}function Hm(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Bm(e,t,n,r){let o=t.get(ei);o.impl??=t.get(xa);let i=t.get(Rt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(je):null,a=t.get(Xt,null,{optional:!0}),c=new Vn(o.impl,Hm(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Aa=new x("",{factory:()=>{let e=E(re),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function _d(e,t,n){let r=e.get(Aa);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 $m(e,t){let n=e.get(Aa);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function Um(e,t){let n=e.get(Aa);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Wm(e,t){for(let[n,r]of t)_d(e,r.animateFns)}function yu(e,t,n,r){let o=e?.[xe]?.enter;t!==null&&o&&o.has(n.index)&&Wm(r,o)}function vu(e,t,n,r){try{n.get(xn)}catch(s){return r(!1)}let o=e?.[xe];o?.enter?.has(t.index)&&$m(n,o.enter.get(t.index).animateFns);let i=qm(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];ti(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&sn.add(e[Se]),_d(n,()=>Gm(e,t,o||void 0,i,r),o||void 0)}function qm(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 Gm(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&&ti(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),Qm(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&sn.delete(e[Se]),o(!0)})}else e&&sn.delete(e[Se]),o(!1)}function ti(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&&zm(s,n)}}let r=t.child;for(;r;)ti(e,r,n),r=r.next}function zm(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;)ti(e,r,t),r=r.next}function Qm(e,t,n){t.then(()=>{e[xe]?.running===t&&(e[xe].running=void 0,sn.delete(e[Se])),n(!0)})}function tn(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?(yu(a,r,i,n),s==null?Dd(t,r,u):Vo(t,r,u,s||null,!0)):e===1&&r!==null?(yu(a,r,i,n),Vo(t,r,u,s||null,!0),Fm(i,u)):e===2?(a?.[xe]?.leave?.has(i.index)&&jm(i,u),Pn.delete(u),vu(a,i,n,d=>{if(Pn.has(u)){Pn.delete(u);return}wd(t,u,l,d)})):e===3&&(Pn.delete(u),vu(a,i,n,()=>{t.destroyNode(u)})),c!=null&&oy(t,e,n,c,i,r,s)}}function Zm(e,t){Md(e,t),t[he]=null,t[Q]=null}function Ym(e,t,n,r,o,i){r[he]=o,r[Q]=t,ri(e,r,n,1,o,i)}function Md(e,t){t[ge].changeDetectionScheduler?.notify(9),ri(e,t,t[k],2,null,null)}function Km(e){let t=e[Yt];if(!t)return Ps(e[g],e);for(;t;){let n=null;if(Le(t))n=t[Yt];else{let r=t[L];r&&(n=r)}if(!n){for(;t&&!t[oe]&&t!==e;)Le(t)&&Ps(t[g],t),t=t[$];t===null&&(t=e),Le(t)&&Ps(t[g],t),n=t&&t[oe]}t=n}}function Ra(e,t){let n=e[Dt],r=n.indexOf(t);n.splice(r,1)}function ni(e,t){if(wt(t))return;let n=t[k];n.destroyNode&&ri(e,t,n,3,null,null),Km(t)}function Ps(e,t){if(wt(t))return;let n=m(null);try{t[I]&=-129,t[I]|=256,t[ne]&&Ue(t[ne]),Xm(e,t),Jm(e,t),t[g].type===1&&t[k].destroy();let r=t[Ze];if(r!==null&&ie(t[$])){r!==t[$]&&Ra(r,t);let o=t[Ne];o!==null&&o.detachView(e)}zs(t)}finally{m(n)}}function Jm(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[Ge];if(i!==null){t[Ge]=null;for(let s of i)s.destroy()}}function Xm(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 Nt)){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 Nd(e,t,n){return ey(e,t.parent,n)}function ey(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===St.None||o===St.Emulated)return null}return ye(r,n)}function Sd(e,t,n){return ny(e,t,n)}function ty(e,t,n){return e.type&40?ye(e,n):null}var ny=ty,Iu;function ka(e,t,n,r){let o=Nd(e,r,t),i=t[k],s=r.parent||t[Q],a=Sd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)hu(i,o,n[c],a,!1);else hu(i,o,n,a,!1);Iu!==void 0&&Iu(i,r,t,n,o)}function Ln(e,t){if(t!==null){let n=t.type;if(n&3)return ye(t,e);if(n&4)return ea(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ln(e,r);{let o=e[t.index];return ie(o)?ea(-1,o):se(o)}}else{if(n&128)return Ln(e,t.next);if(n&32)return Na(t,e)()||se(e[t.index]);{let r=xd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Oe(e[K]);return Ln(o,r)}else return Ln(e,t.next)}}}return null}function xd(e,t){if(t!==null){let r=e[K][Q],o=t.projection;return r.projection[o]}return null}function ea(e,t){let n=L+e+1;if(n<t.length){let r=t[n],o=r[g].firstChild;if(o!==null)return Ln(r,o)}return t[Ye]}function Oa(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&&on(se(c),r),n.flags|=2),!Yo(n))if(l&8)Oa(e,t,n.child,r,o,i,!1),tn(t,e,a,o,c,n,i,r);else if(l&32){let u=Na(n,r),d;for(;d=u();)tn(t,e,a,o,d,n,i,r);tn(t,e,a,o,c,n,i,r)}else l&16?Ad(e,t,r,n,o,i):tn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ri(e,t,n,r,o,i){Oa(n,r,e.firstChild,t,o,i,!1)}function ry(e,t,n){let r=t[k],o=Nd(e,n,t),i=n.parent||t[Q],s=Sd(i,n,t);Ad(r,0,t,n,o,s)}function Ad(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];tn(t,e,n[Me],o,u,r,i,n)}else{let l=c,u=s[$];ed(r)&&(l.flags|=128),Oa(e,t,l,u,o,i,!0)}}function oy(e,t,n,r,o,i,s){let a=r[Ye],c=se(r);a!==c&&tn(t,e,n,i,a,o,s);for(let l=L;l<r.length;l++){let u=r[l];ri(u[g],u,e,t,i,a)}}function iy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ho.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ho.Important),e.setStyle(n,r,o,i))}}function Pa(e,t,n,r,o,i,s,a,c,l,u){let d=O+r,p=d+o,f=sy(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 sy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:X);return n}function ay(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Pa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function La(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),fs(d),d[$]=d[vt]=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]=Hg(),d[yt]=u,d[as]=l,d[K]=t.type==2?e[K]:d,d}function cy(e,t,n){let r=ye(t,e),o=ay(n),i=e[ge].rendererFactory,s=Fa(e,La(e,o,null,Rd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Rd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function kd(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 Fa(e,t){return e[Yt]?e[ss][oe]=t:e[Yt]=t,e[ss]=t,t}function ly(e=1){Od(F(),y(),ve()+e,!1)}function Od(e,t,n,r){if(!r)if((t[I]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Mo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&No(t,i,0,n)}Ke(n)}var oi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(oi||{});function ta(e,t,n,r){let o=m(null);try{let[i,s,a]=e.inputs[n],c=null;(s&oi.SignalBased)!==0&&(c=t[i][V]),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):Hu(t,c,i,r)}finally{m(o)}}function Pd(e,t,n,r,o){let i=ve(),s=r&2;try{Ke(-1),s&&t.length>O&&Od(e,t,O,!1);let a=s?M.TemplateUpdateStart:M.TemplateCreateStart;R(a,o,n),n(r,o)}finally{Ke(i);let a=s?M.TemplateUpdateEnd:M.TemplateCreateEnd;R(a,o,n)}}function ii(e,t,n){my(e,t,n),(n.flags&64)===64&&yy(e,t,n)}function Kn(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 uy(e,t,n,r){let i=r.get(cd,ad)||n===St.ShadowDom||n===St.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new b(905,!1);return dy(s),s}function dy(e){fy(e)}var fy=()=>null;function py(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function hy(e,t,n,r,o,i){let s=t[g];if(Ba(e,s,t,n,r)){Fe(e)&&gy(t,e.index);return}e.type&3&&(n=py(n)),Ld(e,t,n,r,o,i)}function Ld(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 gy(e,t){let n=ae(t,e);n[I]&16||(n[I]|=64)}function my(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Fe(n)&&cy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Lo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=jn(t,e,s,n);if(on(c,t),i!==null&&Dy(t,s-r,c,a,n,i),me(a)){let l=ae(n.index,t);l[j]=jn(t,e,s,n)}}}function yy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Fl();try{Ke(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];fo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&vy(c,l)}}finally{Ke(-1),fo(s)}}function vy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function ja(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];bd(t,i.selectors,!1)&&(r??=[],me(i)?r.unshift(i):r.push(i))}return r}function Iy(e,t,n,r,o,i){let s=ye(e,t);Ey(t[k],s,i,e.value,n,r,o)}function Ey(e,t,n,r,o,i,s){if(i==null)s?.(i,r||"",o),e.removeAttribute(t,o,n);else{let a=s==null?qt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Dy(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];ta(r,n,c,l)}}function Va(e,t,n,r,o){let i=O+n,s=t[g],a=o(s,t,e,r,n);t[i]=a,Ct(e,!0);let c=e.type===2;return c?(Td(t[k],a,e),(Nl()===0||Kt(e))&&on(a,t),Sl()):on(a,t),yo()&&(!c||!Yo(e))&&ka(s,t,a,e),e}function Ha(e){let t=e;return Ds()?ws():(t=t.parent,Ct(t,!1)),t}function wy(e,t){let n=e[Me];if(!n)return;let r;try{r=n.get(Mt,null)}catch(o){r=null}r?.(t)}function Ba(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];ta(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ta(u,l,r,o),a=!0}return a}function Ty(e,t){let n=ae(t,e),r=n[g];Cy(r,n);let o=n[he];o!==null&&n[yt]===null&&(n[yt]=ld(o,n[Me])),R(M.ComponentStart);try{$a(r,n,n[j])}finally{R(M.ComponentEnd,n[j])}}function Cy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function $a(e,t,n){ho(t);try{let r=e.viewQuery;r!==null&&Zs(1,r,n);let o=e.template;o!==null&&Pd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ne]?.finishViewCreation(e),e.staticContentQueries&&ud(e,t),e.staticViewQueries&&Zs(2,e.viewQuery,n);let i=e.components;i!==null&&by(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[I]&=-5,go()}}function by(e,t){for(let n=0;n<t.length;n++)Ty(e,t[n])}function Jn(e,t,n,r){let o=m(null);try{let i=t.tView,a=e[I]&4096?4096:16,c=La(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Ze]=l;let u=e[Ne];return u!==null&&(c[Ne]=u.createEmbeddedView(i)),$a(i,c,n),c}finally{m(o)}}function an(e,t){return!t||t.firstChild===null||ed(e)}function Hn(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)&&Fd(i,r);let s=n.type;if(s&8)Hn(e,t,n.child,r);else if(s&32){let a=Na(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=xd(t,n);if(Array.isArray(a))r.push(...a);else{let c=Oe(t[K]);Hn(c[g],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Fd(e,t){for(let n=L;n<e.length;n++){let r=e[n],o=r[g].firstChild;o!==null&&Hn(r[g],r,o,t)}e[Ye]!==e[he]&&t.push(e[Ye])}function jd(e){if(e[Et]!==null){for(let t of e[Et])t.impl.addSequence(t);e[Et].length=0}}var Vd=[];function _y(e){return e[ne]??My(e)}function My(e){let t=Vd.pop()??Object.create(Sy);return t.lView=e,t}function Ny(e){e.lView[ne]!==e&&(e.lView=null,Vd.push(e))}var Sy=W(U({},et),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Tt(e.lView)},consumerOnSignalRead(){this.lView[ne]=this}});function xy(e){let t=e[ne]??Object.create(Ay);return t.lView=e,t}var Ay=W(U({},et),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Oe(e.lView);for(;t&&!Hd(t[g]);)t=Oe(t);t&&ps(t)},consumerOnSignalRead(){this.lView[ne]=this}});function Hd(e){return e.type!==2}function Bd(e){if(e[Ge]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ge])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[I]&8192)}}var Ry=100;function $d(e,t=0){let r=e[ge].rendererFactory,o=!1;o||r.begin?.();try{ky(e,t)}finally{o||r.end?.()}}function ky(e,t){let n=Cs();try{Tn(!0),na(e,t);let r=0;for(;kn(e);){if(r===Ry)throw new b(103,!1);r++,na(e,1)}}finally{Tn(n)}}function Oy(e,t,n,r){if(wt(t))return;let o=t[I],i=!1,s=!1;ho(t);let a=!0,c=null,l=null;i||(Hd(e)?(l=_y(t),c=$e(l)):ur()===null?(a=!1,l=xy(t),c=$e(l)):t[ne]&&(Ue(t[ne]),t[ne]=null));try{fs(t),Ol(e.bindingStartIndex),n!==null&&Pd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Mo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&No(t,f,0,null),ks(t,0)}if(s||Py(t),Bd(t),Ud(t,0),e.contentQueries!==null&&ud(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Mo(t,f)}else{let f=e.contentHooks;f!==null&&No(t,f,1),ks(t,1)}Fy(e,t);let d=e.components;d!==null&&qd(t,d,0);let p=e.viewQuery;if(p!==null&&Zs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Mo(t,f)}else{let f=e.viewHooks;f!==null&&No(t,f,2),ks(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[no]){for(let f of t[no])f();t[no]=null}i||(jd(t),t[I]&=-73)}catch(u){throw i||Tt(t),u}finally{l!==null&&(tt(l,c),a&&Ny(l)),go()}}function Ud(e,t){for(let n=nd(e);n!==null;n=rd(n))for(let r=L;r<n.length;r++){let o=n[r];Wd(o,t)}}function Py(e){for(let t=nd(e);t!==null;t=rd(t)){if(!(t[I]&2))continue;let n=t[Dt];for(let r=0;r<n.length;r++){let o=n[r];ps(o)}}}function Ly(e,t,n){R(M.ComponentStart);let r=ae(t,e);try{Wd(r,n)}finally{R(M.ComponentEnd,r[j])}}function Wd(e,t){io(e)&&na(e,t)}function na(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&&Ot(i)),s||=!1,i&&(i.dirty=!1),e[I]&=-9217,s)Oy(r,e,r.template,e[j]);else if(o&8192){let a=m(null);try{Bd(e),Ud(e,1);let c=r.components;c!==null&&qd(e,c,1),jd(e)}finally{m(a)}}}function qd(e,t,n){for(let r=0;r<t.length;r++)Ly(e,t[r],n)}function Fy(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)Ke(~o);else{let i=o,s=n[++r],a=n[++r];Ll(s,i);let c=t[i];R(M.HostBindingsUpdateStart,c);try{a(2,c)}finally{R(M.HostBindingsUpdateEnd,c)}}}}finally{Ke(-1)}}function Ua(e,t){let n=Cs()?64:1088;for(e[ge].changeDetectionScheduler?.notify(t);e;){e[I]|=n;let r=Oe(e);if(Jt(e)&&!r)return e;e=r}return null}function Gd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function zd(e,t){let n=L+t;if(n<e.length)return e[n]}function Xn(e,t,n,r=!0){let o=t[g];if(jy(o,t,e,n),r){let s=ea(n,e),a=t[k],c=a.parentNode(e[Ye]);c!==null&&Ym(o,e[Q],a,t,c,s)}let i=t[yt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Qd(e,t){let n=Bn(e,t);return n!==void 0&&ni(n[g],n),n}function Bn(e,t){if(e.length<=L)return;let n=L+t,r=e[n];if(r){let o=r[Ze];o!==null&&o!==e&&Ra(o,r),t>0&&(e[n-1][oe]=r[oe]);let i=Sn(e,L+t);Zm(r[g],r);let s=i[Ne];s!==null&&s.detachView(i[g]),r[$]=null,r[oe]=null,r[I]&=-129}return r}function jy(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],Xi(n,L+r,t)):(n.push(t),t[oe]=null),t[$]=n;let s=t[Ze];s!==null&&n!==s&&Zd(s,t);let a=t[Ne];a!==null&&a.insertView(e),so(t),t[I]|=128}function Zd(e,t){let n=e[Dt],r=t[$];if(Le(r))e[I]|=2;else{let o=r[$][K];t[K]!==o&&(e[I]|=2)}n===null?e[Dt]=[t]:n.push(t)}var Xe=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[g];return Hn(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 wt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if(ie(t)){let n=t[An],r=n?n.indexOf(this):-1;r>-1&&(Bn(t,r),Sn(n,r))}this._attachedToViewContainer=!1}ni(this._lView[g],this._lView)}onDestroy(t){ao(this._lView,t)}markForCheck(){Ua(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){so(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,$d(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Jt(this._lView),n=this._lView[Ze];n!==null&&!t&&Ra(n,this._lView),Md(this._lView[g],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Jt(this._lView),r=this._lView[Ze];r!==null&&!n&&Zd(r,this._lView),so(this._lView)}};var $n=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Vy;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=Jn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Xe(i)}}return e})();function Vy(){return si(Z(),y())}function si(e,t){return e.type&4?new $n(t,e,dn(e,t)):null}function kt(e,t,n,r,o){let i=e.data[t];if(i===null)i=Hy(e,t,n,r,o),Pl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Rl();i.injectorIndex=s===null?-1:s.injectorIndex}return Ct(i,!0),i}function Hy(e,t,n,r,o){let i=Es(),s=Ds(),a=s?i:i&&i.parent,c=e.data[t]=$y(e,a,n,t,r,o);return By(e,c,i,s),c}function By(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 $y(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ys()&&(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:Ms(),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 Uy(e){let t=e[cs]??[],r=e[$][k],o=[];for(let i of t)i.data[sd]!==void 0?o.push(i):Wy(i,r);e[cs]=o}function Wy(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[id];for(;n<o;){let i=r.nextSibling;wd(t,r,!1),r=i,n++}}}var qy=()=>null,Gy=()=>null;function Bo(e,t){return qy(e,t)}function Yd(e,t,n){return Gy(e,t,n)}var Kd=class{},Un=class{},zy=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Qy()}return e})();function Qy(){let e=y(),t=Z(),n=ae(t.index,e);return(Le(n)?n:e)[k]}var Jd=(()=>{class e{static \u0275prov=pe({token:e,providedIn:"root",factory:()=>null})}return e})();function Xd(e){return e.debugInfo?.className||e.type.name||null}var xo={},$o=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,xo,r);return o!==xo||n===xo?o:this.parentInjector.get(t,n,r)}};function ef(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 tf(e,t,n,r){let o=De(e,t,n);return De(e,t+1,r)||o}function Ao(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Ug(o,i);let s=Fe(e)?ae(e.index,t):t;Ua(s,5);let a=t[j],c=Eu(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Eu(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Eu(e,t,n,r){let o=m(null);try{return R(M.OutputStart,t,n),n(r)!==!1}catch(i){return wy(e,i),!1}finally{R(M.OutputEnd,t,n),m(o)}}function nf(e,t,n,r,o,i,s,a){let c=Kt(e),l=!1,u=null;if(!r&&c&&(u=Yy(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;qg(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!Zy(i)){let h=r?v=>r(se(v[e.index])):e.index;rf(h,t,n,i,a,f,!1)}}return l}function Zy(e){return e.startsWith("animation")||e.startsWith("transition")}function Yy(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 rf(e,t,n,r,o,i,s){let a=t.firstCreatePass?gs(t):null,c=hs(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Du(e,t,n,r,o,i){let s=t[n],a=t[g],l=a.data[n].outputs[r],d=s[l].subscribe(i);rf(e.index,a,t,o,i,d,!0)}var ra=Symbol("BINDING");var of=new x("");function Uo(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=Gr(o,a);else if(i==2){let c=a,l=t[++s];r=Gr(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function er(e,t=0){let n=y();if(n===null)return be(e,t);let r=Z();return Ku(r,n,B(e),t)}function Ky(){let e="invalid";throw new Error(e)}function sf(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}ev(e,t,n,a,i,c,l)}i!==null&&r!==null&&Jy(n,r,i)}function Jy(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 Xy(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ev(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,Xy(e,n,p)),qs(Lo(n,t),e,f.type)}sv(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=kd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=rn(n.mergedAttrs,f.hostAttrs),nv(e,n,t,d,f),iv(d,f,o),s!==null&&s.has(f)){let[v,_]=s.get(f);n.directiveToIndex.set(f.type,[d,v+n.directiveStart,_+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++}tv(e,n,i)}function tv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))wu(0,t,o,r),wu(1,t,o,r),Cu(t,r,!1);else{let i=n.get(o);Tu(0,t,i,r),Tu(1,t,i,r),Cu(t,r,!0)}}}function wu(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),af(t,i)}}function Tu(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),af(t,s)}}function af(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Cu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ma(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 nv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=qe(o.type,!0)),s=new Nt(i,me(o),er,null);e.blueprint[r]=s,n[r]=s,rv(e,t,r,kd(e,n,o.hostVars,X),o)}function rv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;ov(s)!=a&&s.push(a),s.push(n,r,i)}}function ov(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function iv(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 sv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Wa(e,t,n,r,o,i,s,a){let c=t[g],l=c.consts,u=ce(l,s),d=kt(c,e,n,r,u);return i&&sf(c,t,d,ce(l,a),o),d.mergedAttrs=rn(d.mergedAttrs,d.attrs),d.attrs!==null&&Uo(d,d.attrs,!1),d.mergedAttrs!==null&&Uo(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function qa(e,t){Uu(e,t),ls(t)&&e.queries.elementEnd(t)}function av(e,t,n,r,o,i){let s=t.consts,a=ce(s,o),c=kt(t,e,n,r,a);if(c.mergedAttrs=rn(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&&Uo(c,c.attrs,!1),c.mergedAttrs!==null&&Uo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var cf=typeof ShadowRoot<"u",cv=typeof Document<"u";function lv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&oi.SignalBased)!==0};return o&&(i.transform=o),i})}function uv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function dv(e,t,n){let r=t instanceof re?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new $o(n,r):n}function fv(e){let t=e.get(Un,null);if(t===null)throw new b(407,!1);let n=e.get(Jd,null),r=e.get(_e,null),o=e.get(Rt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function pv(e,t){let n=lf(e);return Ed(t,n,n==="svg"?us:n==="math"?Tl:null)}function lf(e){return(e.selectors[0][0]||"div").toLowerCase()}var cn=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=lv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=uv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Om(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=dv(c,o||this.ngModule,t),u=fv(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Xd(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=hv(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?uy(l,o,a.encapsulation,n):pv(a,l),d=n.get(of,null),p=gv(u,()=>n.get(vo,null)??Ca());d&&d.addHost(p);let f=s?.some(bu)||i?.some(_=>typeof _!="function"&&_.bindings.some(bu)),h=La(null,c,null,512|Rd(a),null,null,t,l,n,null,ld(u,n,!0));d&&cf&&p instanceof ShadowRoot&&ao(h,()=>{d.removeHost(p)}),h[O]=u,ho(h);let v=null;try{let _=Wa(O,h,2,"#host",()=>c.directiveRegistry,!0,0);Td(l,u,_),on(u,h),ii(c,h,_),ba(c,_,h),qa(c,_),r!==void 0&&yv(_,this.ngContentSelectors,r),v=ae(_.index,h),h[j]=v[j],$a(c,h,null)}catch(_){throw v!==null&&zs(v),zs(h),_}finally{R(M.DynamicComponentEnd),go()}return new Wo(this.componentType,h,!!f)}};function hv(e,t,n,r){let o=e?["ng-version","22.0.1"]:Pm(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[ra].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[ra].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 Pa(0,null,mv(i,s),1,a,c,null,null,null,[o],null)}function gv(e,t){let n=e.getRootNode?.();return cv&&n instanceof Document?n.head:n&&cf&&n instanceof ShadowRoot?n:t().head}function mv(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 bu(e){let t=e[ra].kind;return t==="input"||t==="twoWay"}var Wo=class extends Kd{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ro(n[g],O),this.location=dn(this._tNode,n),this.instance=ae(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new Xe(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=Ba(r,o[g],o,t,n);this.previousInputValues.set(t,n);let s=ae(r.index,o);Ua(s,1)}get injector(){return new Je(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function yv(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 ai=(()=>{class e{static __NG_ELEMENT_ID__=vv}return e})();function vv(){let e=Z();return uf(e,y())}var oa=class e extends ai{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return dn(this._hostTNode,this._hostLView)}get injector(){return new Je(this._hostTNode,this._hostLView)}get parentInjector(){let t=wa(this._hostTNode,this._hostLView);if(qu(t)){let n=Oo(t,this._hostLView),r=ko(t),o=n[g].data[r+8];return new Je(o,n)}else return new Je(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=_u(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=Bo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,an(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 cn(ze(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let N=this.parentInjector.get(re,null);N&&(i=N)}let p=ze(u.componentType??{}),f=Bo(this._lContainer,p?.id??null),h=f?.firstChild??null,v=u.create(d,o,h,i,s,a);return this.insertImpl(v.hostView,c,an(this._hostTNode,f)),v}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Cl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],l=new e(c,c[Q],c[$]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Xn(s,o,i,r),t.attachToViewContainerRef(),Xi(Ls(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=_u(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Bn(this._lContainer,n);r&&(Sn(Ls(this._lContainer),n),ni(r[g],r))}detach(t){let n=this._adjustIndex(t,-1),r=Bn(this._lContainer,n);return r&&Sn(Ls(this._lContainer),n)!=null?new Xe(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function _u(e){return e[An]}function Ls(e){return e[An]||(e[An]=[])}function uf(e,t){let n,r=t[e.index];return ie(r)?n=r:(n=Gd(r,t,null,e),t[e.index]=n,Fa(t,n)),Ev(n,t,e,r),new oa(n,e,t)}function Iv(e,t){let n=e[k],r=n.createComment(""),o=ye(t,e),i=n.parentNode(o);return Vo(n,i,r,n.nextSibling(o),!1),r}var Ev=Tv,Dv=()=>!1;function wv(e,t,n){return Dv(e,t,n)}function Tv(e,t,n,r){if(e[Ye])return;let o;n.type&8?o=se(r):o=Iv(t,n),e[Ye]=o}var ia=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},sa=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++)pf(t,n).matches!==null&&this.queries[n].setDirty()}},aa=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=xv(t):this.predicate=t}},ca=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)}},la=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,Cv(n,i)),this.matchTNodeWithReadOption(t,n,So(n,t,i,!1,!1))}else r===$n?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,So(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Zn||o===ai||o===$n&&n.type&4)this.addMatch(n.index,-2);else{let i=So(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 Cv(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 bv(e,t){return e.type&11?dn(e,t):e.type&4?si(e,t):null}function _v(e,t,n,r){return n===-1?bv(t,e):n===-2?Mv(e,t,r):jn(e,e[g],n,t)}function Mv(e,t,n){if(n===Zn)return dn(t,e);if(n===$n)return si(t,e);if(n===ai)return uf(t,e)}function df(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(_v(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ua(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=df(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[Ze]===p[$]&&ua(p[g],p,l,r)}if(u[Dt]!==null){let d=u[Dt];for(let p=0;p<d.length;p++){let f=d[p];ua(f[g],f,l,r)}}}}}return r}function ff(e,t){return e[Ne].queries[t].queryList}function Nv(e,t,n){let r=new Fo((n&4)===4);return Ml(e,t,r,r.destroy),(t[Ne]??=new sa).queries.push(new ia(r))-1}function Sv(e,t,n){let r=F();return r.firstCreatePass&&(Av(r,new aa(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Nv(r,y(),t)}function xv(e){return e.split(",").map(t=>t.trim())}function Av(e,t,n){e.queries===null&&(e.queries=new ca),e.queries.track(new la(t,n))}function pf(e,t){return e.queries.getByIndex(t)}function Rv(e,t){let n=e[g],r=pf(n,t);return r.crossesNgTemplate?ua(n,e,t,[]):df(n,e,r,t)}function hf(e,t,n){let r,o=pn(()=>{r._dirtyCounter();let i=Ov(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[V],r._dirtyCounter=Io(0),r._flatValue=void 0,o}function gf(e){return hf(!0,!1,e)}function mf(e){return hf(!0,!0,e)}function kv(e,t){let n=e[V];n._lView=y(),n._queryIndex=t,n._queryList=ff(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Ov(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=ff(n,r),i=Rv(n,r);return o.reset(i,Fg),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 yf(e){return!!e&&typeof e.subscribe=="function"}var ln=class{},vf=class{};function Pv(e,t){return new Wn(e,t??null,[])}var Wn=class extends ln{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=cl(t);this._bootstrapComponents=Tm(i.bootstrap),this._r3Injector=Ns(t,n,[{provide:ln,useValue:this},...r],Mn(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)}},qo=class extends vf{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Wn(this.moduleType,t,[])}};var qn=class extends ln{injector;instance=null;constructor(t){super();let n=new ht([...t.providers,{provide:ln,useValue:this}],t.parent||Qt(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function If(e,t,n=null){return new qn({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Lv=(()=>{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=ns(!1,n.type),o=r.length>0?If([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 Fv(e){return Qn(()=>{let t=Ef(e),n=W(U({},t),{type:e.type,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Ta.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Lv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||St.Emulated,styles:e.styles||z,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&He("NgStandalone"),Df(n);let r=e.dependencies;return n.directiveDefs=Mu(r,jv),n.pipeDefs=Mu(r,ll),n.id=Wv(n),n})}function jv(e){return ze(e)||Zr(e)}function Vv(e){return Qn(()=>({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 Hv(e,t){if(e==null)return Qe;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=oi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Bv(e){if(e==null)return Qe;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function $v(e){return Qn(()=>{let t=Ef(e);return Df(t),t})}function Uv(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 Ef(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||Qe,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:Hv(e.inputs,t),outputs:Bv(e.outputs),debugInfo:null}}function Df(e){e.features?.forEach(t=>t(e))}function Mu(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 Wv(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 wf=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(wf,{optional:!0})??[];injector=E(fe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=to(this.injector,o);if(Ga(i))n.push(i);else if(yf(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=At({token:e,factory:e.\u0275fac})}return e})();function qv(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Gv,n.hostDirectives=r?e.map(da):[e]):r?n.hostDirectives.unshift(...e.map(da)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Gv(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,Tf(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)=>{zv(s.declaredInputs,i.inputs)}),[t,r,o]}function Tf(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)Nu(da(s),t,n,r)}else Nu(o,t,n,r)}function Nu(e,t,n,r){let o=Zr(e.directive);if(Tf(o,t,n,r),n.has(o)){let i=n.get(o);Su(i,e.inputs,"input"),Su(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function Su(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 da(e){return typeof e=="function"?{directive:B(e),inputs:{},outputs:{}}:{directive:B(e.directive),inputs:xu(e.inputs),outputs:xu(e.outputs)}}function xu(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 zv(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Qv(e){return Object.getPrototypeOf(e.prototype).constructor}function Cf(e){let t=Qv(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=Fs(e.inputs),s.declaredInputs=Fs(e.declaredInputs),s.outputs=Fs(e.outputs);let a=o.hostBindings;a&&Xv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Kv(e,c),l&&Jv(e,l),Zv(e,o),sl(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===Cf&&(n=!1)}}t=Object.getPrototypeOf(t)}Yv(r)}function Zv(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 Yv(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=rn(o.hostAttrs,n=rn(n,o.hostAttrs))}}function Fs(e){return e===Qe?{}:e===z?[]:e}function Kv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Jv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Xv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function bf(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=rn(e.mergedAttrs,e.attrs);let u=e.tView=Pa(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),Ct(e,!1);let c=tI(n,t,e,r);yo()&&ka(n,t,c,e),on(c,t);let l=Gd(c,t,c,e);t[r+O]=l,Fa(t,l),wv(l,e,t)}function eI(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;return t.firstCreatePass?(p=kt(t,d,4,s||null,a||null),co()&&sf(t,e,p,ce(t.consts,l),ja),Uu(t,p)):p=t.data[d],bf(p,e,t,n,r,o,i,c),Kt(p)&&ii(t,e,p),l!=null&&Kn(e,p,u),p}function Gn(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;if(t.firstCreatePass){if(p=kt(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 bf(p,e,t,n,r,o,i,c),l!=null&&Kn(e,p,u),p}function _f(e,t,n,r,o,i,s,a){let c=y(),l=F(),u=ce(l.consts,i);return eI(c,l,e,t,n,r,o,u,void 0,s,a),_f}var tI=nI;function nI(e,t,n,r){return On(!0),t[k].createComment("")}var rI=(()=>{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 Mf=new x("");var Nf=new x("");function Sf(){vi(()=>{let e="";throw new b(600,e)})}var oI=10;var tr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(Mt);afterRenderManager=E(ei);zonelessEnabled=E(en);rootEffectScheduler=E(wo);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(_t);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(We(n=>!n))}constructor(){E(Rt,{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=ze(n),c=this._injector.get(ln),l=new cn(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=iI(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),v=h.location.nativeElement,_=h.injector.get(Mf,null);return _?.registerApplication(v),h.onDestroy(()=>{this.detachView(h.hostView),Fn(this.components,h),_?.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(Xo.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(Un,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<oI;){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&&!kn(o))continue;let i=r&&!this.zonelessEnabled?0:1;$d(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})=>kn(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;Fn(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(Nf,[]).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),()=>Fn(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=At({token:e,factory:e.\u0275fac})}return e})();function iI(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Fn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function xf(e,t,n,r){let o=y(),i=bt();if(De(o,i,t)){let s=F(),a=mo();Iy(a,o,e,t,n,r)}return xf}var fa=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 js(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function sI(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=js(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=js(a,f,l,h,n);if(v!==0){v<0&&e.updateValue(a,h),a--,l--;continue}let _=n(s,u),N=n(a,f),le=n(s,d);if(Object.is(le,N)){let ui=n(l,h);Object.is(ui,_)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Go,i??=Ru(e,s,a,n),pa(e,o,s,le))e.updateValue(s,d),s++,a++;else if(i.has(le))o.set(_,e.detach(s)),a--;else{let ui=e.create(s,t[s]);e.attach(s,ui),s++,a++}}for(;s<=l;)Au(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=js(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Go,i??=Ru(e,s,a,n);let h=n(s,p);if(pa(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;)Au(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 pa(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Au(e,t,n,r,o){if(pa(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ru(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 Go=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 aI(e,t,n,r,o,i,s,a){He("NgControlFlow");let c=y(),l=F(),u=ce(l.consts,i);return Gn(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 Gn(c,l,e,t,n,r,o,u,512,s,a),Qa}function cI(e,t){He("NgControlFlow");let n=y(),r=bt(),o=n[r]!==X?n[r]:-1,i=o!==-1?zo(n,O+o):void 0,s=0;if(De(n,r,e)){let a=m(null);try{if(i!==void 0&&Qd(i,s),e!==-1){let c=O+e,l=zo(n,c),u=ya(n[g],c),d=Yd(l,u,n),p=Jn(n,u,t,{dehydratedView:d});Xn(l,p,s,an(u,d))}}finally{m(a)}}else if(i!==void 0){let a=zd(i,s);a!==void 0&&(a[j]=t)}}var ha=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 lI(e){return e}function uI(e,t){return t}var ga=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function dI(e,t,n,r,o,i,s,a,c,l,u,d,p){He("NgControlFlow");let f=y(),h=F(),v=c!==void 0,_=y(),N=a?s.bind(_[K][j]):s,le=new ga(v,N);_[O+e]=le,Gn(f,h,e+1,t,n,r,o,ce(h.consts,i),256),v&&Gn(f,h,e+2,c,l,u,d,ce(h.consts,p),512)}var ma=class extends fa{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[yt];this.needsIndexUpdate||=t!==this.length,Xn(this.lContainer,n,t,an(this.templateTNode,r)),pI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,hI(this.lContainer,t),gI(this.lContainer,t)}create(t,n){let r=Bo(this.lContainer,this.templateTNode.tView.ssrId);return Jn(this.hostLView,this.templateTNode,new ha(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ni(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 mI(this.lContainer,t)}};function fI(e){let t=m(null),n=ve();try{let r=y(),o=r[g],i=r[n],s=n+1,a=zo(r,s);if(i.liveCollection===void 0){let l=ya(o,s);i.liveCollection=new ma(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(sI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=bt(),u=c.length===0;if(De(r,l,u)){let d=n+2,p=zo(r,d);if(u){let f=ya(o,d),h=Yd(p,f,r),v=Jn(r,f,void 0,{dehydratedView:h});Xn(p,v,0,an(f,h))}else o.firstUpdatePass&&Uy(p),Qd(p,0)}}}finally{m(t)}}function zo(e,t){return e[t]}function pI(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];Um(i,o),sn.delete(r[Se]),o.detachedLeaveAnimationFns=void 0}}function hI(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 gI(e,t){return Bn(e,t)}function mI(e,t){return zd(e,t)}function ya(e,t){return ro(e,t)}function Af(e,t,n){let r=y(),o=bt();if(De(r,o,t)){let i=F(),s=mo();hy(s,r,e,t,r[k],n)}return Af}function va(e,t,n,r,o){Ba(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?Wa(s,o,2,t,ja,co(),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(Xd(l),()=>(ku(e,t,o,a,r),Qo))}}return ku(e,t,o,a,r),Qo}function ku(e,t,n,r,o){if(Va(r,n,e,t,Of),Kt(r)){let i=n[g];ii(i,n,r),ba(i,r,n)}o!=null&&Kn(n,r)}function Za(){let e=F(),t=Z(),n=Ha(t);return e.firstCreatePass&&qa(e,n),vs(n)&&Is(),ms(),n.classesWithoutHost!=null&&wg(n)&&va(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Tg(n)&&va(e,n,y(),n.stylesWithoutHost,!1),Za}function Rf(e,t,n,r){return Qo(e,t,n,r),Za(),Rf}function Ya(e,t,n,r){let o=y(),i=o[g],s=e+O,a=i.firstCreatePass?av(s,i,2,t,n,r):i.data[s];return Va(a,o,e,t,Of),r!=null&&Kn(o,a),Ya}function Ka(){let e=Z(),t=Ha(e);return vs(t)&&Is(),ms(),Ka}function kf(e,t,n,r){return Ya(e,t,n,r),Ka(),kf}var Of=(e,t,n,r,o)=>(On(!0),Ed(t[k],r,Ms()));function Ja(e,t,n){let r=y(),o=r[g],i=e+O,s=o.firstCreatePass?Wa(i,r,8,"ng-container",ja,co(),t,n):o.data[i];if(Va(s,r,e,"ng-container",yI),Kt(s)){let a=r[g];ii(a,r,s),ba(a,s,r)}return n!=null&&Kn(r,s),Ja}function Xa(){let e=F(),t=Z(),n=Ha(t);return e.firstCreatePass&&qa(e,n),Xa}function Pf(e,t,n){return Ja(e,t,n),Xa(),Pf}var yI=(e,t,n,r,o)=>(On(!0),ym(t[k],""));function vI(){return y()}function Lf(e,t,n){let r=y(),o=bt();if(De(r,o,t)){let i=F(),s=mo();Ld(s,r,e,t,r[k],n)}return Lf}var nr="en-US";var II=nr;function Ff(e){typeof e=="string"&&(II=e.toLowerCase().replace(/_/g,"-"))}function jf(e,t,n){let r=y(),o=F(),i=Z();return EI(o,r,r[k],i,e,t,n),jf}function Vf(e,t,n){let r=y(),o=F(),i=Z();return(i.type&3||n)&&nf(i,o,r,n,r[k],e,t,Ao(i,r,t)),Vf}function EI(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ao(r,t,i),nf(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??=Ao(r,t,i),Du(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Ao(r,t,i),Du(r,t,d,o,o,c)}}function DI(e=1){return Ul(e)}function wI(e,t){let n=null,r=Sm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?bd(e,i,!0):Rm(r,i))return o}return n}function TI(e){let t=y()[K][Q];if(!t.projection){let n=e?e.length:1,r=t.projection=gl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?wI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function CI(e,t=0,n,r,o,i){let s=y(),a=F(),c=r?e+1:null;c!==null&&Gn(s,a,c,r,o,i,null,n);let l=kt(a,O+e,16,null,n||null);l.projection===null&&(l.projection=t),ws();let d=!s[yt]||ys();s[K][Q].projection[l.projection]===null&&c!==null?bI(s,a,c):d&&!Yo(l)&&ry(a,s,l)}function bI(e,t,n){let r=O+n,o=t.data[r],i=e[r],s=Bo(i,o.tView.ssrId),a=Jn(e,o,void 0,{dehydratedView:s});Xn(i,a,0,an(o,s))}function Hf(e,t,n,r){return kv(e,Sv(t,n,r)),Hf}function _I(e=1){po(Vl()+e)}function MI(e){let t=Ts();return oo(t,O+e)}function _o(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function NI(e){return(e&2)==2}function SI(e,t){return e&131071|t<<17}function Ia(e){return e|2}function un(e){return(e&131068)>>2}function Vs(e,t){return e&-131069|t<<2}function xI(e){return(e&1)===1}function Ea(e){return e|1}function AI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=un(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||zt(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=xt(e[a+1]);e[r+1]=_o(p,a),p!==0&&(e[p+1]=Vs(e[p+1],r)),e[a+1]=SI(e[a+1],r)}else e[r+1]=_o(a,0),a!==0&&(e[a+1]=Vs(e[a+1],r)),a=r;else e[r+1]=_o(c,0),a===0?a=r:e[c+1]=Vs(e[c+1],r),c=r;l&&(e[r+1]=Ia(e[r+1])),Ou(e,u,r,!0),Ou(e,u,r,!1),RI(t,u,e,r,i),s=_o(a,c),i?t.classBindings=s:t.styleBindings=s}function RI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&zt(i,t)>=0&&(n[r+1]=Ea(n[r+1]))}function Ou(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):un(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];kI(c,t)&&(a=!0,e[s+1]=r?Ea(l):Ia(l)),s=r?xt(l):un(l)}a&&(e[n+1]=r?Ia(o):Ea(o))}function kI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?zt(e,t)>=0:!1}var Ee={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function OI(e){return e.substring(Ee.key,Ee.keyEnd)}function PI(e){return LI(e),Bf(e,$f(e,0,Ee.textEnd))}function Bf(e,t){let n=Ee.textEnd;return n===t?-1:(t=Ee.keyEnd=FI(e,Ee.key=t,n),$f(e,t,n))}function LI(e){Ee.key=0,Ee.keyEnd=0,Ee.value=0,Ee.valueEnd=0,Ee.textEnd=e.length}function $f(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function FI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Uf(e,t,n){return qf(e,t,n,!1),Uf}function Wf(e,t){return qf(e,t,null,!0),Wf}function jI(e){HI(GI,VI,e,!0)}function VI(e,t){for(let n=PI(t);n>=0;n=Bf(t,n))Xr(e,OI(t),!0)}function qf(e,t,n,r){let o=y(),i=F(),s=uo(2);if(i.firstUpdatePass&&zf(i,e,s,r),t!==X&&De(o,s,t)){let a=i.data[ve()];Qf(i,a,o,o[k],e,o[s+1]=QI(t,n),r,s)}}function HI(e,t,n,r){let o=F(),i=uo(2);o.firstUpdatePass&&zf(o,null,i,r);let s=y();if(n!==X&&De(s,i,n)){let a=o.data[ve()];if(Zf(a,r)&&!Gf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Gr(c,n||"")),va(o,a,s,n,r)}else zI(o,a,s,s[k],s[i+1],s[i+1]=qI(e,t,n),r,i)}}function Gf(e,t){return t>=e.expandoStartIndex}function zf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ve()],s=Gf(e,n);Zf(i,r)&&t===null&&!s&&(t=!1),t=BI(o,i,t,r),AI(o,i,t,n,s,r)}}function BI(e,t,n,r){let o=jl(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Hs(null,e,t,n,r),n=zn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Hs(o,e,t,n,r),i===null){let c=$I(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Hs(null,e,t,c[1],r),c=zn(c,t.attrs,r),UI(e,t,r,c))}else i=WI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function $I(e,t,n){let r=n?t.classBindings:t.styleBindings;if(un(r)!==0)return e[xt(r)]}function UI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function WI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=zn(r,s,n)}return zn(r,t.attrs,n)}function Hs(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=zn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function zn(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]),Xr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function qI(e,t,n){if(n==null||n==="")return z;let r=[],o=Jo(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 GI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Xr(e,r,n)}function zI(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&&Qf(e,t,n,r,h,v,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Qf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=xI(l)?Pu(c,t,n,o,un(l),s):void 0;if(!Zo(u)){Zo(i)||NI(l)&&(i=Pu(c,null,n,o,a,s));let d=ds(ve(),n);iy(r,s,d,o,i)}}function Pu(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?eo(p,r):u===r?p:void 0;if(l&&!Zo(f)&&(f=eo(c,r)),Zo(f)&&(a=f,s))return a;let h=e[o+1];o=s?xt(h):un(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=eo(c,r))}return a}function Zo(e){return e!==void 0}function QI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Mn(Jo(e)))),e}function Zf(e,t){return(e.flags&(t?8:16))!==0}function ZI(e,t=""){let n=y(),r=F(),o=e+O,i=r.firstCreatePass?kt(r,o,1,t,null):r.data[o],s=YI(r,n,i,t);n[o]=s,yo()&&ka(r,n,s,i),Ct(i,!1)}var YI=(e,t,n,r)=>(On(!0),gm(t[k],r));function Yf(e,t,n,r=""){return De(e,bt(),n)?t+qt(n)+r:X}function Kf(e,t,n,r,o,i=""){let s=kl(),a=tf(e,s,n,o);return uo(2),a?t+qt(n)+r+qt(o)+i:X}function Jf(e){return ec("",e),Jf}function ec(e,t,n){let r=y(),o=Yf(r,e,t,n);return o!==X&&ep(r,ve(),o),ec}function Xf(e,t,n,r,o){let i=y(),s=Kf(i,e,t,n,r,o);return s!==X&&ep(i,ve(),s),Xf}function ep(e,t,n){let r=ds(t,e);mm(e[k],r,n)}var tp={};function np(e){He("NgLet");let t=F(),n=y(),r=e+O,o=kt(t,r,128,null,null);return Ct(o,!1),Rn(t,n,r,tp),np}function KI(e){let t=F(),n=y(),r=ve();return Rn(t,n,r,e),e}function JI(e){let t=Ts(),n=oo(t,O+e);if(n===tp)throw new b(314,!1);return n}function XI(e,t,n=""){return Yf(y(),e,t,n)}function eE(e,t,n,r,o=""){return Kf(y(),e,t,n,r,o)}function Lu(e,t,n){let r=F();r.firstCreatePass&&rp(t,r.data,r.blueprint,me(e),n)}function rp(e,t,n,r,o){if(e=B(e),Array.isArray(e))for(let i=0;i<e.length;i++)rp(e[i],t,n,r,o);else{let i=F(),s=y(),a=Z(),c=pt(e)?e:B(e.provide),l=is(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(pt(e)||!e.multi){let f=new Nt(l,o,er,null),h=$s(c,t,o?u:u+p,d);h===-1?(qs(Lo(a,s),i,c),Bs(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=$s(c,t,u+p,d),h=$s(c,t,u,u+p),v=f>=0&&n[f],_=h>=0&&n[h];if(o&&!_||!o&&!v){qs(Lo(a,s),i,c);let N=rE(o?nE:tE,n.length,o,r,l,e);!o&&_&&(n[h].providerFactory=N),Bs(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=op(n[o?h:f],l,!o&&r);Bs(i,e,f>-1?f:h,N)}!o&&r&&_&&n[h].componentProviders++}}}function Bs(e,t,n,r){let o=pt(t),i=El(t);if(o||i){let c=(i?B(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 op(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function $s(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function tE(e,t,n,r,o){return Da(this.multi,[])}function nE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=jn(r,r[g],this.providerFactory.index,o);s=c.slice(0,a),Da(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Da(i,s);return s}function Da(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function rE(e,t,n,r,o,i){let s=new Nt(e,n,er,null);return s.multi=[],s.index=t,s.componentProviders=0,op(s,o,r&&!n),s}function oE(e,t){return n=>{n.providersResolver=(r,o)=>Lu(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Lu(r,o?o(t):t,!0))}}function iE(e,t,n){return sp(y(),lo(),e,t,n)}function sE(e,t,n,r){return aE(y(),lo(),e,t,n,r)}function ip(e,t){let n=e[t];return n===X?void 0:n}function sp(e,t,n,r,o,i){let s=t+n;return De(e,s,o)?ef(e,s+1,i?r.call(i,o):r(o)):ip(e,s+1)}function aE(e,t,n,r,o,i,s){let a=t+n;return tf(e,a,o,i)?ef(e,a+2,s?r.call(s,o,i):r(o,i)):ip(e,a+2)}function cE(e,t){let n=F(),r,o=e+O;n.firstCreatePass?(r=lE(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=qe(r.type,!0)),s,a=Y(er);try{let c=Po(!1),l=i();return Po(c),Rn(n,y(),o,l),l}finally{Y(a)}}function lE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function uE(e,t,n){let r=e+O,o=y(),i=oo(o,r);return dE(o,r)?sp(o,lo(),t,i.transform,n,i):i.transform(n)}function dE(e,t){return e[g].data[t].pure}function fE(e,t){return si(e,t)}var ap=(()=>{class e{applicationErrorHandler=E(Mt);appRef=E(tr);taskService=E(_t);ngZone=E(q);zonelessEnabled=E(en);tracing=E(Rt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new H;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Cn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(Do,{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?Ql:xs;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(Cn+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=At({token:e,factory:e.\u0275fac})}return e})();function cp(){return[{provide:_e,useExisting:ap},{provide:q,useClass:bn},{provide:en,useValue:!0}]}var pE=(()=>{class e{compileModuleSync(n){return new qo(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=At({token:e,factory:e.\u0275fac})}return e})();function hE(){return typeof $localize<"u"&&$localize.locale||nr}var tc=new x("",{factory:()=>E(tc,{optional:!0,skipSelf:!0})||hE()});var rr=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(_n(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 gE(e,t){return pn(e,t?.equal)}function mE(e){return gc(e)}var li=Symbol("InputSignalNode#UNSET"),pp=W(U({},hn),{transformFn:void 0,applyValueToInputSignal(e,t){nt(e,t)}});function hp(e,t){let n=Object.create(pp);n.value=e,n.transformFn=t?.transform;function r(){if(Be(n),n.value===li){let o=null;throw new b(-950,o)}return n.value}return r[V]=n,r}function RP(e){return yE(e)?e.default:e}function yE(e){return e&&typeof e=="object"&&"default"in e}function kP(e){return new rr}function lp(e,t){return hp(e,t)}function vE(e){return hp(li,e)}var OP=(lp.required=vE,lp);function gp(e,t){let n=Object.create(pp),r=new rr;n.value=e;function o(){return Be(n),up(n.value),n.value}return o[V]=n,o.asReadonly=Eo.bind(o),o.set=i=>{n.equal(n.value,i)||(nt(n,i),r.emit(i))},o.update=i=>{up(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function up(e){if(e===li)throw new b(952,!1)}function dp(e,t){return gp(e,t)}function IE(e){return gp(li,e)}var PP=(dp.required=IE,dp);function fp(e,t){return gf(t)}function EE(e,t){return mf(t)}var LP=(fp.required=EE,fp);var DE=1e4;var FP=DE-1e3;var jP=(()=>{class e{static __NG_ELEMENT_ID__=wE}return e})();function wE(e){return TE(Z(),y(),(e&16)===16)}function TE(e,t,n){if(Fe(e)&&!n){let r=ae(e.index,t);return new Xe(r,r)}else if(e.type&175){let r=t[K];return new Xe(r,t)}return null}var CE=(()=>{class e{zone=E(q);changeDetectionScheduler=E(_e);applicationRef=E(tr);applicationErrorHandler=E(Mt);_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=At({token:e,factory:e.\u0275fac})}return e})(),bE=new x("",{factory:()=>!1});function _E({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new q(W(U({},mp()),{scheduleInRootZone:t})),[{provide:en,useValue:!1},{provide:q,useFactory:e},{provide:mt,multi:!0,useFactory:()=>{let n=E(CE,{optional:!0});return()=>n.initialize()}},{provide:mt,multi:!0,useFactory:()=>{let n=E(ME);return()=>{n.initialize()}}},{provide:Do,useValue:t??Ss}]}function VP(e){let t=e?.scheduleInRootZone,n=_E({ngZoneFactory:()=>{let r=mp(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&He("NgZone_CoalesceEvent"),new q(r)},scheduleInRootZone:t});return ts([{provide:bE,useValue:!0},n])}function mp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ME=(()=>{class e{subscription=new H;initialized=!1;zone=E(q);pendingTasks=E(_t);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{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=At({token:e,factory:e.\u0275fac})}return e})();var rc=new x(""),NE=new x("");function or(e){return!e.moduleRef}function SE(e){let t=or(e)?e.r3Injector:e.moduleRef.injector,n=t.get(q);return n.run(()=>{or(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Mt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),or(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(()=>{Fn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return AE(r,n,()=>{let i=t.get(_t),s=i.add(),a=t.get(za);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(tc,nr);if(Ff(c||nr),!t.get(NE,!0))return or(e)?t.get(tr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(or(e)){let u=t.get(tr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return xE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var xE;function AE(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 ci=null;function RE(e=[],t){return fe.create({name:t,providers:[{provide:os,useValue:"platform"},{provide:rc,useValue:new Set([()=>ci=null])},...e]})}function kE(e=[]){if(ci)return ci;let t=RE(e);return ci=t,Sf(),OE(t),t}function OE(e){let t=e.get(Jl,null);to(e,()=>{t?.forEach(n=>n())})}function HP(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(M.BootstrapApplicationStart);try{let i=o?.injector??kE(r),s=[cp(),Yl,...n||[]],a=new qn({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return SE({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(M.BootstrapApplicationEnd)}}var nc=Symbol("NOT_SET"),yp=new Set,PE=W(U({},hn),{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&&!Ot(this))return this.signal;try{for(let o of this.cleanup??yp)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=$e(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 Vn{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 Sa){let c=n[a];if(c===void 0)continue;let l=Object.create(PE);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Be(l),l.value),l.signal[V]=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??yp)n()}finally{Ue(t)}}};function BP(e,t){let n=t?.injector??E(fe),r=n.get(_e),o=n.get(ei),i=n.get(Rt,null,{optional:!0});o.impl??=n.get(xa);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Xt,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 $P(e,t){let n=ze(e),r=t.elementInjector||Qt();return new cn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}export{U as a,W as b,Cp as c,LE as d,FE as e,pi as f,H as g,Lp as h,S as i,te as j,mn as k,vn as l,at as m,Ce as n,zp as o,Qp as p,Zp as q,lt as r,Yp as s,We as t,oh as u,ut as v,Fr as w,sh as x,En as y,ah as z,ch as A,$t as B,lh as C,qc as D,uh as E,zc as F,jr as G,Zc as H,ph as I,hh as J,gh as K,Kc as L,Xc as M,mh as N,el as O,tl as P,yh as Q,vh as R,b as S,_n as T,pe as U,al as V,Dh as W,x as X,be as Y,E as Z,ts as _,os as $,re as aa,to as ba,xl as ca,Al as da,Wl as ea,ql as fa,fe as ga,vo as ha,je as ia,_t as ja,Re as ka,q as la,Pe as ma,Mt as na,Io as oa,Kl as pa,Jl as qa,Kh as ra,Jh as sa,Xh as ta,_e as ua,Xl as va,mg as wa,Og as xa,At as ya,Zn as za,$g as Aa,St as Ba,Em as Ca,wm as Da,Ho as Ea,sn as Fa,Rt as Ga,He as Ha,Vm as Ia,ly as Ja,Un as Ka,zy as La,of as Ma,er as Na,Ky as Oa,ai as Pa,Ga as Qa,yf as Ra,ln as Sa,vf as Ta,Pv as Ua,If as Va,Fv as Wa,Vv as Xa,$v as Ya,Uv as Za,qv as _a,Cf as $a,_f as ab,rI as bb,Nf as cb,tr as db,xf as eb,aI as fb,cI as gb,lI as hb,uI as ib,dI as jb,fI as kb,Af as lb,Qo as mb,Za as nb,Rf as ob,Ya as pb,Ka as qb,kf as rb,Pf as sb,vI as tb,Lf as ub,jf as vb,Vf as wb,DI as xb,TI as yb,CI as zb,Hf as Ab,_I as Bb,MI as Cb,Uf as Db,Wf as Eb,jI as Fb,ZI as Gb,Jf as Hb,ec as Ib,Xf as Jb,np as Kb,KI as Lb,JI as Mb,XI as Nb,eE as Ob,oE as Pb,iE as Qb,sE as Rb,cE as Sb,uE as Tb,fE as Ub,pE as Vb,gE as Wb,mE as Xb,RP as Yb,kP as Zb,OP as _b,PP as $b,LP as ac,jP as bc,VP as cc,HP as dc,BP as ec,$P as fc};