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