@iaforged/context-code 2.0.1 → 2.0.3
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/dist/src/bridge/bridgeMain.js +1 -1
- package/dist/src/bridge/types.js +1 -1
- package/dist/src/cli/handlers/auth.js +1 -1
- package/dist/src/cli/handlers/mcp.js +1 -1
- package/dist/src/cli/print.js +1 -1
- package/dist/src/commands/copy/copy.js +1 -1
- package/dist/src/commands/heartbeat/heartbeat.js +1 -0
- package/dist/src/commands/heartbeat/index.js +1 -0
- package/dist/src/commands/insights.js +1 -1
- package/dist/src/commands/install-github-app/ExistingWorkflowStep.js +1 -1
- package/dist/src/commands/install-github-app/InstallAppStep.js +1 -1
- package/dist/src/commands/install-github-app/OAuthFlowStep.js +1 -1
- package/dist/src/commands/install-github-app/SuccessStep.js +1 -1
- package/dist/src/commands/install-github-app/setupGitHubActions.js +1 -1
- package/dist/src/commands/login-openai/index.js +1 -1
- package/dist/src/commands/mobile/mobile.js +1 -1
- package/dist/src/commands/remote-setup/remote-setup.js +1 -1
- package/dist/src/commands/swarm-auto/swarmAuto.js +1 -1
- package/dist/src/commands/timeline/timeline.js +1 -1
- package/dist/src/commands/webapp/webapp.js +1 -1
- package/dist/src/commands.js +1 -1
- package/dist/src/components/ApproveApiKey.js +1 -1
- package/dist/src/components/ChannelDowngradeDialog.js +1 -1
- package/dist/src/components/ClaudeCodeHint/PluginHintMenu.js +1 -1
- package/dist/src/components/ConsoleOAuthFlow.js +1 -1
- package/dist/src/components/CostThresholdDialog.js +1 -1
- package/dist/src/components/CtrlOToExpand.js +1 -1
- package/dist/src/components/CustomSelect/select.js +1 -1
- package/dist/src/components/DesktopHandoff.js +1 -1
- package/dist/src/components/DesktopUpsell/DesktopUpsellStartup.js +1 -1
- package/dist/src/components/ExportDialog.js +1 -1
- package/dist/src/components/Feedback.js +1 -1
- package/dist/src/components/FeedbackSurvey/FeedbackSurvey.js +1 -1
- package/dist/src/components/FeedbackSurvey/FeedbackSurveyView.js +1 -1
- package/dist/src/components/IdeAutoConnectDialog.js +1 -1
- package/dist/src/components/IdeOnboardingDialog.js +1 -1
- package/dist/src/components/IdleReturnDialog.js +1 -1
- package/dist/src/components/InterruptedByUser.js +1 -1
- package/dist/src/components/InvalidConfigDialog.js +1 -1
- package/dist/src/components/InvalidSettingsDialog.js +1 -1
- package/dist/src/components/LanguagePicker.js +1 -1
- package/dist/src/components/LogSelector.js +1 -1
- package/dist/src/components/LogoV2/ChannelsNotice.js +1 -1
- package/dist/src/components/LogoV2/LogoV2.js +1 -1
- package/dist/src/components/LogoV2/feedConfigs.js +1 -1
- package/dist/src/components/LspRecommendation/LspRecommendationMenu.js +1 -1
- package/dist/src/components/MCPServerApprovalDialog.js +1 -1
- package/dist/src/components/MCPServerDesktopImportDialog.js +1 -1
- package/dist/src/components/ManagedSettingsSecurityDialog/ManagedSettingsSecurityDialog.js +1 -1
- package/dist/src/components/MessageSelector.js +1 -1
- package/dist/src/components/OutputStylePicker.js +1 -1
- package/dist/src/components/PromptInput/PromptInput.js +1 -1
- package/dist/src/components/RemoteCallout.js +1 -1
- package/dist/src/components/ResumeTask.js +1 -1
- package/dist/src/components/Settings/Config.js +1 -1
- package/dist/src/components/ShowInIDEPrompt.js +1 -1
- package/dist/src/components/Stats.js +1 -1
- package/dist/src/components/TagTabs.js +1 -1
- package/dist/src/components/TeleportError.js +1 -1
- package/dist/src/components/TeleportResumeWrapper.js +1 -1
- package/dist/src/components/TextInput.js +1 -1
- package/dist/src/components/agents/new-agent-creation/wizard-steps/MethodStep.js +1 -1
- package/dist/src/components/design-system/KeyboardShortcutHint.js +1 -1
- package/dist/src/components/diff/DiffDetailView.js +1 -1
- package/dist/src/components/grove/Grove.js +1 -1
- package/dist/src/components/hooks/SelectEventMode.js +1 -1
- package/dist/src/components/hooks/SelectHookMode.js +1 -1
- package/dist/src/components/hooks/SelectMatcherMode.js +1 -1
- package/dist/src/components/hooks/ViewHookMode.js +1 -1
- package/dist/src/components/mcp/MCPAgentServerMenu.js +1 -1
- package/dist/src/components/mcp/utils/reconnectHelpers.js +1 -1
- package/dist/src/components/memory/MemoryFileSelector.js +1 -1
- package/dist/src/components/messages/AssistantTextMessage.js +1 -1
- package/dist/src/components/messages/PlanApprovalMessage.js +1 -1
- package/dist/src/components/messages/ShutdownMessage.js +1 -1
- package/dist/src/components/messages/SystemAPIErrorMessage.js +1 -1
- package/dist/src/components/messages/UserPlanMessage.js +1 -1
- package/dist/src/components/permissions/AskUserQuestionPermissionRequest/PreviewQuestionView.js +1 -1
- package/dist/src/components/permissions/ComputerUseApproval/ComputerUseApproval.js +1 -1
- package/dist/src/components/permissions/FileEditPermissionRequest/FileEditPermissionRequest.js +1 -1
- package/dist/src/components/permissions/FilePermissionDialog/FilePermissionDialog.js +1 -1
- package/dist/src/components/permissions/FilePermissionDialog/permissionOptions.js +1 -1
- package/dist/src/components/permissions/FileWritePermissionRequest/FileWritePermissionRequest.js +1 -1
- package/dist/src/components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.js +1 -1
- package/dist/src/components/permissions/PermissionRequest.js +1 -1
- package/dist/src/components/permissions/SedEditPermissionRequest/SedEditPermissionRequest.js +1 -1
- package/dist/src/components/permissions/SkillPermissionRequest/SkillPermissionRequest.js +1 -1
- package/dist/src/components/permissions/WebFetchPermissionRequest/WebFetchPermissionRequest.js +1 -1
- package/dist/src/components/permissions/rules/AddPermissionRules.js +1 -1
- package/dist/src/components/permissions/rules/AddWorkspaceDirectory.js +1 -1
- package/dist/src/components/permissions/rules/PermissionRuleList.js +1 -1
- package/dist/src/components/permissions/rules/RemoveWorkspaceDirectory.js +1 -1
- package/dist/src/components/sandbox/SandboxConfigTab.js +1 -1
- package/dist/src/components/sandbox/SandboxOverridesTab.js +1 -1
- package/dist/src/components/tasks/RemoteSessionDetailDialog.js +1 -1
- package/dist/src/constants/outputStyles.js +1 -1
- package/dist/src/entrypoints/cli.js +1 -1
- package/dist/src/hooks/notifs/useCanSwitchToExistingSubscription.js +1 -1
- package/dist/src/main.js +1 -1
- package/dist/src/projectOnboardingState.js +1 -1
- package/dist/src/screens/REPL.js +1 -1
- package/dist/src/server/channelServer.js +1 -0
- package/dist/src/server/channelServer.test.js +1 -0
- package/dist/src/services/api/errors.js +1 -1
- package/dist/src/services/api/filesApi.js +1 -1
- package/dist/src/services/api/index.js +1 -1
- package/dist/src/services/tips/tipRegistry.js +1 -1
- package/dist/src/tasks/RemoteAgentTask/RemoteAgentTask.js +1 -1
- package/dist/src/tools/AgentTool/AgentTool.js +1 -1
- package/dist/src/tools/ConfigTool/supportedSettings.js +1 -1
- package/dist/src/tools/EnterWorktreeTool/EnterWorktreeTool.js +1 -1
- package/dist/src/tools/ExitWorktreeTool/ExitWorktreeTool.js +1 -1
- package/dist/src/tools/WebFetchTool/WebFetchTool.js +1 -1
- package/dist/src/utils/computerUse/cleanup.js +1 -1
- package/dist/src/utils/computerUse/wrapper.js +1 -1
- package/dist/src/utils/fileHistory.js +1 -1
- package/dist/src/utils/heartbeat.js +1 -0
- package/dist/src/utils/model/providers.js +1 -1
- package/dist/src/utils/permissions/filesystem.js +1 -1
- package/dist/src/utils/permissions/permissions.js +1 -1
- package/dist/src/utils/processUserInput/processSlashCommand.js +1 -1
- package/dist/src/utils/releaseNoteTranslations.js +1 -1
- package/dist/src/utils/shell/shellToolUtils.js +1 -1
- package/dist/src/utils/sideQuery.js +1 -1
- package/dist/src/utils/sshMcp/common.js +1 -0
- package/dist/src/utils/sshMcp/setup.js +1 -0
- package/dist/src/utils/sshMcp/sshMcpServer.js +1 -0
- package/dist/src/utils/sshMcp/sshMcpServer.test.js +1 -0
- package/dist/src/utils/teleport.js +1 -1
- package/dist/src/webapp/server.js +1 -1
- package/dist/sshMcpServer.js +1 -0
- package/dist/sshMcpServer.test.js +1 -0
- package/dist/webapp/chunk-AMCDNAIG.js +1 -0
- package/dist/webapp/{chunk-YUEYJPXQ.js → chunk-NFYBHCXF.js} +1 -1
- package/dist/webapp/{chunk-DFKSSBHI.js → chunk-OJZNEHPP.js} +1 -1
- package/dist/webapp/chunk-VAB2VXFI.js +1 -0
- package/dist/webapp/index.html +2 -2
- package/dist/webapp/main-MTQLKGXD.js +1 -0
- package/dist/webapp/ngsw.json +14 -14
- package/dist/webapp/styles-DIKEDJBH.css +1 -0
- package/package.json +2 -1
- package/dist/webapp/chunk-4SRNXNLW.js +0 -1
- package/dist/webapp/chunk-SIHYW6PA.js +0 -1
- package/dist/webapp/main-LBNRQBXX.js +0 -1
- package/dist/webapp/styles-FUPULZDX.css +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var o=Object.defineProperty,m=Object.defineProperties,v=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,Pu=(m,v,w)=>v in m?o(m,v,{enumerable:!0,configurable:!0,writable:!0,value:w}):m[v]=w,y=(o,m)=>{for(var v in m||={})b.call(m,v)&&Pu(o,v,m[v]);if(w)for(var v of w(m))_.call(m,v)&&Pu(o,v,m[v]);return o},j=(o,w)=>m(o,v(w)),jn=(o,m,v)=>new Promise((w,b)=>{var i=o=>{try{a(v.next(o))}catch(o){b(o)}},s=o=>{try{a(v.throw(o))}catch(o){b(o)}},a=o=>o.done?w(o.value):Promise.resolve(o.value).then(i,s);a((v=v.apply(o,m)).next())});function vs(o,m){return Object.is(o,m)}var x=null,T=!1,O=1,N=Symbol("SIGNAL");function R(o){let m=x;return x=o,m}var D={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Bn(o){if(T)throw new Error("");if(null===x)return;x.consumerOnSignalRead(o);let m=x.nextProducerIndex++;if(eo(x),m<x.producerNode.length&&x.producerNode[m]!==o&&Vn(x)){Xr(x.producerNode[m],x.producerIndexOfThis[m])}x.producerNode[m]!==o&&(x.producerNode[m]=o,x.producerIndexOfThis[m]=Vn(x)?Lu(o,x,m):0),x.producerLastReadVersion[m]=o.version}function ws(o){if((!Vn(o)||o.dirty)&&(o.dirty||o.lastCleanEpoch!==O)){if(!o.producerMustRecompute(o)&&!Jr(o))return void ys(o);o.producerRecomputeValue(o),ys(o)}}function Is(o){if(void 0===o.liveConsumerNode)return;let m=T;T=!0;try{for(let m of o.liveConsumerNode)m.dirty||Kp(m)}finally{T=m}}function Cs(){return!1!==x?.consumerAllowSignalWrites}function Kp(o){o.dirty=!0,Is(o),o.consumerMarkedDirty?.(o)}function ys(o){o.dirty=!1,o.lastCleanEpoch=O}function Un(o){return o&&(o.nextProducerIndex=0),R(o)}function Kr(o,m){if(R(m),o&&void 0!==o.producerNode&&void 0!==o.producerIndexOfThis&&void 0!==o.producerLastReadVersion){if(Vn(o))for(let m=o.nextProducerIndex;m<o.producerNode.length;m++)Xr(o.producerNode[m],o.producerIndexOfThis[m]);for(;o.producerNode.length>o.nextProducerIndex;)o.producerNode.pop(),o.producerLastReadVersion.pop(),o.producerIndexOfThis.pop()}}function Jr(o){eo(o);for(let m=0;m<o.producerNode.length;m++){let v=o.producerNode[m],w=o.producerLastReadVersion[m];if(w!==v.version||(ws(v),w!==v.version))return!0}return!1}function $n(o){if(eo(o),Vn(o))for(let m=0;m<o.producerNode.length;m++)Xr(o.producerNode[m],o.producerIndexOfThis[m]);o.producerNode.length=o.producerLastReadVersion.length=o.producerIndexOfThis.length=0,o.liveConsumerNode&&(o.liveConsumerNode.length=o.liveConsumerIndexOfThis.length=0)}function Lu(o,m,v){if(ju(o),0===o.liveConsumerNode.length&&Vu(o))for(let m=0;m<o.producerNode.length;m++)o.producerIndexOfThis[m]=Lu(o.producerNode[m],o,m);return o.liveConsumerIndexOfThis.push(v),o.liveConsumerNode.push(m)-1}function Xr(o,m){if(ju(o),1===o.liveConsumerNode.length&&Vu(o))for(let m=0;m<o.producerNode.length;m++)Xr(o.producerNode[m],o.producerIndexOfThis[m]);let v=o.liveConsumerNode.length-1;if(o.liveConsumerNode[m]=o.liveConsumerNode[v],o.liveConsumerIndexOfThis[m]=o.liveConsumerIndexOfThis[v],o.liveConsumerNode.length--,o.liveConsumerIndexOfThis.length--,m<o.liveConsumerNode.length){let v=o.liveConsumerIndexOfThis[m],w=o.liveConsumerNode[m];eo(w),w.producerIndexOfThis[v]=m}}function Vn(o){return o.consumerIsAlwaysLive||(o?.liveConsumerNode?.length??0)>0}function eo(o){o.producerNode??=[],o.producerIndexOfThis??=[],o.producerLastReadVersion??=[]}function ju(o){o.liveConsumerNode??=[],o.liveConsumerIndexOfThis??=[]}function Vu(o){return void 0!==o.producerNode}var L=Symbol("UNSET"),U=Symbol("COMPUTING"),M=Symbol("ERRORED"),z=j(y({},D),{value:L,dirty:!0,error:null,equal:vs,kind:"computed",producerMustRecompute:o=>o.value===L||o.value===U,producerRecomputeValue(o){if(o.value===U)throw new Error("Detected cycle in computations.");let m=o.value;o.value=U;let v,w=Un(o),b=!1;try{v=o.computation(),R(null),b=m!==L&&m!==M&&v!==M&&o.equal(m,v)}catch(m){v=M,o.error=m}finally{Kr(o,w)}b?o.value=m:(o.value=v,o.version++)}});var Bu=function(){throw new Error};function Uu(o){Bu(o)}function Hn(o,m){Cs()||Uu(o),o.equal(o.value,m)||(o.value=m,function(o){o.version++,O++,Is(o)}(o))}var $,G=j(y({},D),{equal:vs,value:void 0,kind:"signal"});function zn(){return $}function $e(o){let m=$;return $=o,m}var W=Symbol("NotFound");function S(o){return"function"==typeof o}function Zt(o){let m=o(o=>{Error.call(o),o.stack=(new Error).stack});return m.prototype=Object.create(Error.prototype),m.prototype.constructor=m,m}var Q=Zt(o=>function(m){o(this),this.message=m?`${m.length} errors occurred during unsubscription:\n${m.map((o,m)=>`${m+1}) ${o.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=m});function qn(o,m){if(o){let v=o.indexOf(m);0<=v&&o.splice(v,1)}}var K=class e{constructor(o){this.initialTeardown=o,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let o;if(!this.closed){this.closed=!0;let{_parentage:m}=this;if(m)if(this._parentage=null,Array.isArray(m))for(let o of m)o.remove(this);else m.remove(this);let{initialTeardown:v}=this;if(S(v))try{v()}catch(m){o=m instanceof Q?m.errors:[m]}let{_finalizers:w}=this;if(w){this._finalizers=null;for(let m of w)try{$u(m)}catch(m){o=o??[],m instanceof Q?o=[...o,...m.errors]:o.push(m)}}if(o)throw new Q(o)}}add(o){var m;if(o&&o!==this)if(this.closed)$u(o);else{if(o instanceof e){if(o.closed||o._hasParent(this))return;o._addParent(this)}(this._finalizers=null!==(m=this._finalizers)&&void 0!==m?m:[]).push(o)}}_hasParent(o){let{_parentage:m}=this;return m===o||Array.isArray(m)&&m.includes(o)}_addParent(o){let{_parentage:m}=this;this._parentage=Array.isArray(m)?(m.push(o),m):m?[m,o]:o}_removeParent(o){let{_parentage:m}=this;m===o?this._parentage=null:Array.isArray(m)&&qn(m,o)}remove(o){let{_finalizers:m}=this;m&&qn(m,o),o instanceof e&&o._removeParent(this)}};K.EMPTY=(()=>{let o=new K;return o.closed=!0,o})();var J=K.EMPTY;function oo(o){return o instanceof K||o&&"closed"in o&&S(o.remove)&&S(o.add)&&S(o.unsubscribe)}function $u(o){S(o)?o():o.unsubscribe()}var X={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Y={setTimeout(o,m,...v){let{delegate:w}=Y;return w?.setTimeout?w.setTimeout(o,m,...v):setTimeout(o,m,...v)},clearTimeout(o){let{delegate:m}=Y;return(m?.clearTimeout||clearTimeout)(o)},delegate:void 0};function io(o){Y.setTimeout(()=>{let{onUnhandledError:m}=X;if(!m)throw o;m(o)})}function It(){}var ne=xs("C",void 0,void 0);function xs(o,m,v){return{kind:o,value:m,error:v}}var re=null;function Qt(o){if(X.useDeprecatedSynchronousErrorHandling){let m=!re;if(m&&(re={errorThrown:!1,error:null}),o(),m){let{errorThrown:o,error:m}=re;if(re=null,o)throw m}}else o()}var se=class extends K{constructor(o){super(),this.isStopped=!1,o?(this.destination=o,oo(o)&&o.add(this)):this.destination=he}static create(o,m,v){return new ue(o,m,v)}next(o){this.isStopped?Os(xs("N",o,void 0),this):this._next(o)}error(o){this.isStopped?Os(xs("E",void 0,o),this):(this.isStopped=!0,this._error(o))}complete(){this.isStopped?Os(ne,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(o){this.destination.next(o)}_error(o){try{this.destination.error(o)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},le=Function.prototype.bind;function As(o,m){return le.call(o,m)}var ae=class{constructor(o){this.partialObserver=o}next(o){let{partialObserver:m}=this;if(m.next)try{m.next(o)}catch(o){so(o)}}error(o){let{partialObserver:m}=this;if(m.error)try{m.error(o)}catch(o){so(o)}else so(o)}complete(){let{partialObserver:o}=this;if(o.complete)try{o.complete()}catch(o){so(o)}}},ue=class extends se{constructor(o,m,v){let w;if(super(),S(o)||!o)w={next:o??void 0,error:m??void 0,complete:v??void 0};else{let m;this&&X.useDeprecatedNextContext?(m=Object.create(o),m.unsubscribe=()=>this.unsubscribe(),w={next:o.next&&As(o.next,m),error:o.error&&As(o.error,m),complete:o.complete&&As(o.complete,m)}):w=o}this.destination=new ae(w)}};function so(o){X.useDeprecatedSynchronousErrorHandling?function(o){X.useDeprecatedSynchronousErrorHandling&&re&&(re.errorThrown=!0,re.error=o)}(o):io(o)}function Os(o,m){let{onStoppedNotification:v}=X;v&&Y.setTimeout(()=>v(o,m))}var he={closed:!0,next:It,error:function(o){throw o},complete:It},fe="function"==typeof Symbol&&Symbol.observable||"@@observable";function pe(o){return o}function Fs(o){return 0===o.length?pe:1===o.length?o[0]:function(m){return o.reduce((o,m)=>m(o),m)}}var ye=(()=>{class e{constructor(o){o&&(this._subscribe=o)}lift(o){let m=new e;return m.source=this,m.operator=o,m}subscribe(o,m,v){let w=function(o){return o&&o instanceof se||function(o){return o&&S(o.next)&&S(o.error)&&S(o.complete)}(o)&&oo(o)}(o)?o:new ue(o,m,v);return Qt(()=>{let{operator:o,source:m}=this;w.add(o?o.call(w,m):m?this._subscribe(w):this._trySubscribe(w))}),w}_trySubscribe(o){try{return this._subscribe(o)}catch(m){o.error(m)}}forEach(o,m){return new(m=Wu(m))((m,v)=>{let w=new ue({next:m=>{try{o(m)}catch(o){v(o),w.unsubscribe()}},error:v,complete:m});this.subscribe(w)})}_subscribe(o){var m;return null===(m=this.source)||void 0===m?void 0:m.subscribe(o)}[fe](){return this}pipe(...o){return Fs(o)(this)}toPromise(o){return new(o=Wu(o))((o,m)=>{let v;this.subscribe(o=>v=o,o=>m(o),()=>o(v))})}}return e.create=o=>new e(o),e})();function Wu(o){var m;return null!==(m=o??X.Promise)&&void 0!==m?m:Promise}function Ls(o){return S(o?.lift)}function P(o){return m=>{if(Ls(m))return m.lift(function(m){try{return o(m,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}function k(o,m,v,w,b){return new we(o,m,v,w,b)}var we=class extends se{constructor(o,m,v,w,b,_){super(o),this.onFinalize=b,this.shouldUnsubscribe=_,this._next=m?function(v){try{m(v)}catch(m){o.error(m)}}:super._next,this._error=w?function(m){try{w(m)}catch(m){o.error(m)}finally{this.unsubscribe()}}:super._error,this._complete=v?function(){try{v()}catch(m){o.error(m)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var o;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:m}=this;super.unsubscribe(),!m&&(null===(o=this.onFinalize)||void 0===o||o.call(this))}}};function Xt(){return P((o,m)=>{let v=null;o._refCount++;let w=k(m,void 0,void 0,void 0,()=>{if(!o||o._refCount<=0||0<--o._refCount)return void(v=null);let w=o._connection,b=v;v=null,w&&(!b||w===b)&&w.unsubscribe(),m.unsubscribe()});o.subscribe(w),w.closed||(v=o.connect())})}var be=class extends ye{constructor(o,m){super(),this.source=o,this.subjectFactory=m,this._subject=null,this._refCount=0,this._connection=null,Ls(o)&&(this.lift=o.lift)}_subscribe(o){return this.getSubject().subscribe(o)}getSubject(){let o=this._subject;return(!o||o.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:o}=this;this._subject=this._connection=null,o?.unsubscribe()}connect(){let o=this._connection;if(!o){o=this._connection=new K;let m=this.getSubject();o.add(this.source.subscribe(k(m,void 0,()=>{this._teardown(),m.complete()},o=>{this._teardown(),m.error(o)},()=>this._teardown()))),o.closed&&(this._connection=null,o=K.EMPTY)}return o}refCount(){return Xt()(this)}},Se=Zt(o=>function(){o(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),_e=(()=>{class e extends ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(o){let m=new Ie(this,this);return m.operator=o,m}_throwIfClosed(){if(this.closed)throw new Se}next(o){Qt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let m of this.currentObservers)m.next(o)}})}error(o){Qt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=o;let{observers:m}=this;for(;m.length;)m.shift().error(o)}})}complete(){Qt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:o}=this;for(;o.length;)o.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var o;return(null===(o=this.observers)||void 0===o?void 0:o.length)>0}_trySubscribe(o){return this._throwIfClosed(),super._trySubscribe(o)}_subscribe(o){return this._throwIfClosed(),this._checkFinalizedStatuses(o),this._innerSubscribe(o)}_innerSubscribe(o){let{hasError:m,isStopped:v,observers:w}=this;return m||v?J:(this.currentObservers=null,w.push(o),new K(()=>{this.currentObservers=null,qn(w,o)}))}_checkFinalizedStatuses(o){let{hasError:m,thrownError:v,isStopped:w}=this;m?o.error(v):w&&o.complete()}asObservable(){let o=new ye;return o.source=this,o}}return e.create=(o,m)=>new Ie(o,m),e})(),Ie=class extends _e{constructor(o,m){super(),this.destination=o,this.source=m}next(o){var m,v;null===(v=null===(m=this.destination)||void 0===m?void 0:m.next)||void 0===v||v.call(m,o)}error(o){var m,v;null===(v=null===(m=this.destination)||void 0===m?void 0:m.error)||void 0===v||v.call(m,o)}complete(){var o,m;null===(m=null===(o=this.destination)||void 0===o?void 0:o.complete)||void 0===m||m.call(o)}_subscribe(o){var m,v;return null!==(v=null===(m=this.source)||void 0===m?void 0:m.subscribe(o))&&void 0!==v?v:J}},Ee=class extends _e{constructor(o){super(),this._value=o}get value(){return this.getValue()}_subscribe(o){let m=super._subscribe(o);return!m.closed&&o.next(this._value),m}getValue(){let{hasError:o,thrownError:m,_value:v}=this;if(o)throw m;return this._throwIfClosed(),v}next(o){super.next(this._value=o)}},Re=new ye(o=>o.complete());function Qu(o){return o[o.length-1]}function co(o){return S(Qu(o))?o.pop():void 0}function ot(o){return function(o){return o&&S(o.schedule)}(Qu(o))?o.pop():void 0}function Ju(o,m,v,w){return new(v||(v=Promise))(function(b,_){function a(o){try{u(w.next(o))}catch(o){_(o)}}function c(o){try{u(w.throw(o))}catch(o){_(o)}}function u(o){o.done?b(o.value):function(o){return o instanceof v?o:new v(function(m){m(o)})}(o.value).then(a,c)}u((w=w.apply(o,m||[])).next())})}function Ku(o){var m="function"==typeof Symbol&&Symbol.iterator,v=m&&o[m],w=0;if(v)return v.call(o);if(o&&"number"==typeof o.length)return{next:function(){return o&&w>=o.length&&(o=void 0),{value:o&&o[w++],done:!o}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")}function St(o){return this instanceof St?(this.v=o,this):new St(o)}function Xu(o,m,v){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var w,b=v.apply(o,m||[]),_=[];return w=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(o){return function(m){return Promise.resolve(m).then(o,f)}}),w[Symbol.asyncIterator]=function(){return this},w;function a(o,m){b[o]&&(w[o]=function(m){return new Promise(function(v,w){_.push([o,m,v,w])>1||c(o,m)})},m&&(w[o]=m(w[o])))}function c(o,m){try{!function(o){o.value instanceof St?Promise.resolve(o.value.v).then(l,f):h(_[0][2],o)}(b[o](m))}catch(o){h(_[0][3],o)}}function l(o){c("next",o)}function f(o){c("throw",o)}function h(o,m){o(m),_.shift(),_.length&&c(_[0][0],_[0][1])}}function el(o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m,v=o[Symbol.asyncIterator];return v?v.call(o):(o=Ku(o),m={},r("next"),r("throw"),r("return"),m[Symbol.asyncIterator]=function(){return this},m);function r(v){m[v]=o[v]&&function(m){return new Promise(function(w,b){(function(o,m,v,w){Promise.resolve(w).then(function(m){o({value:m,done:v})},m)})(w,b,(m=o[v](m)).done,m.value)})}}}var uo=o=>o&&"number"==typeof o.length&&"function"!=typeof o;function lo(o){return S(o?.then)}function fo(o){return S(o[fe])}function ho(o){return Symbol.asyncIterator&&S(o?.[Symbol.asyncIterator])}function po(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var Oe="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function mo(o){return S(o?.[Oe])}function yo(o){return Xu(this,arguments,function*(){let m=o.getReader();try{for(;;){let{value:o,done:v}=yield St(m.read());if(v)return yield St(void 0);yield yield St(o)}}finally{m.releaseLock()}})}function vo(o){return S(o?.getReader)}function q(o){if(o instanceof ye)return o;if(null!=o){if(fo(o))return function(o){return new ye(m=>{let v=o[fe]();if(S(v.subscribe))return v.subscribe(m);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(o);if(uo(o))return function(o){return new ye(m=>{for(let v=0;v<o.length&&!m.closed;v++)m.next(o[v]);m.complete()})}(o);if(lo(o))return function(o){return new ye(m=>{o.then(o=>{m.closed||(m.next(o),m.complete())},o=>m.error(o)).then(null,io)})}(o);if(ho(o))return tl(o);if(mo(o))return function(o){return new ye(m=>{for(let v of o)if(m.next(v),m.closed)return;m.complete()})}(o);if(vo(o))return function(o){return tl(yo(o))}(o)}throw po(o)}function tl(o){return new ye(m=>{(function(o,m){var v,w,b,_;return Ju(this,void 0,void 0,function*(){try{for(v=el(o);!(w=yield v.next()).done;){let o=w.value;if(m.next(o),m.closed)return}}catch(o){b={error:o}}finally{try{w&&!w.done&&(_=v.return)&&(yield _.call(v))}finally{if(b)throw b.error}}m.complete()})})(o,m).catch(o=>m.error(o))})}function ce(o,m,v,w=0,b=!1){let _=m.schedule(function(){v(),b?o.add(this.schedule(null,w)):this.unsubscribe()},w);if(o.add(_),!b)return _}function Do(o,m=0){return P((v,w)=>{v.subscribe(k(w,v=>ce(w,o,()=>w.next(v),m),()=>ce(w,o,()=>w.complete(),m),v=>ce(w,o,()=>w.error(v),m)))})}function Eo(o,m=0){return P((v,w)=>{w.add(o.schedule(()=>v.subscribe(w),m))})}function wo(o,m){if(!o)throw new Error("Iterable cannot be null");return new ye(v=>{ce(v,m,()=>{let w=o[Symbol.asyncIterator]();ce(v,m,()=>{w.next().then(o=>{o.done?v.complete():v.next(o.value)})},0,!0)})})}function al(o,m){if(null!=o){if(fo(o))return function(o,m){return q(o).pipe(Eo(m),Do(m))}(o,m);if(uo(o))return function(o,m){return new ye(v=>{let w=0;return m.schedule(function(){w===o.length?v.complete():(v.next(o[w++]),v.closed||this.schedule())})})}(o,m);if(lo(o))return function(o,m){return q(o).pipe(Eo(m),Do(m))}(o,m);if(ho(o))return wo(o,m);if(mo(o))return function(o,m){return new ye(v=>{let w;return ce(v,m,()=>{w=o[Oe](),ce(v,m,()=>{let o,m;try{({value:o,done:m}=w.next())}catch(o){return void v.error(o)}m?v.complete():v.next(o)},0,!0)}),()=>S(w?.return)&&w.return()})}(o,m);if(vo(o))return function(o,m){return wo(yo(o),m)}(o,m)}throw po(o)}function H(o,m){return m?al(o,m):q(o)}function C(...o){return H(o,ot(o))}function tn(o,m){let v=S(o)?o:()=>o,r=o=>o.error(v());return new ye(m?o=>m.schedule(r,0,o):r)}var Ne=Zt(o=>function(){o(this),this.name="EmptyError",this.message="no elements in sequence"});function A(o,m){return P((v,w)=>{let b=0;v.subscribe(k(w,v=>{w.next(o.call(m,v,b++))}))})}var{isArray:Le}=Array;function Io(o){return A(m=>function(o,m){return Le(m)?o(...m):o(m)}(o,m))}var{isArray:Ue}=Array,{getPrototypeOf:Me,prototype:He,keys:Be}=Object;function Co(o){if(1===o.length){let m=o[0];if(Ue(m))return{args:m,keys:null};if(function(o){return o&&"object"==typeof o&&Me(o)===He}(m)){let o=Be(m);return{args:o.map(o=>m[o]),keys:o}}}return{args:o,keys:null}}function bo(o,m){return o.reduce((o,v,w)=>(o[v]=m[w],o),{})}function So(...o){let m=ot(o),v=co(o),{args:w,keys:b}=Co(o);if(0===w.length)return H([],m);let _=new ye(function(o,m,v=pe){return w=>{cl(m,()=>{let{length:b}=o,_=new Array(b),x=b,T=b;for(let O=0;O<b;O++)cl(m,()=>{let b=H(o[O],m),N=!1;b.subscribe(k(w,o=>{_[O]=o,N||(N=!0,T--),T||w.next(v(_.slice()))},()=>{--x||w.complete()}))},w)},w)}}(w,m,b?o=>bo(b,o):pe));return v?_.pipe(Io(v)):_}function cl(o,m,v){o?ce(v,o,m):m()}function Z(o,m,v=1/0){return S(m)?Z((v,w)=>A((o,b)=>m(v,o,w,b))(q(o(v,w))),v):("number"==typeof m&&(v=m),P((m,w)=>function(o,m,v,w,b,_,x,T){let O=[],N=0,D=0,L=!1,h=()=>{L&&!O.length&&!N&&m.complete()},d=o=>N<w?p(o):O.push(o),p=o=>{_&&m.next(o),N++;let T=!1;q(v(o,D++)).subscribe(k(m,o=>{b?.(o),_?d(o):m.next(o)},()=>{T=!0},void 0,()=>{if(T)try{for(N--;O.length&&N<w;){let o=O.shift();x?ce(m,x,()=>p(o)):p(o)}h()}catch(o){m.error(o)}}))};return o.subscribe(k(m,d,()=>{L=!0,h()})),()=>{T?.()}}(m,w,o,v)))}function dl(){return function(o=1/0){return Z(pe,o)}(1)}function nn(...o){return dl()(H(o,ot(o)))}function To(o){return new ye(m=>{q(o()).subscribe(m)})}function Sg(...o){let m=co(o),{args:v,keys:w}=Co(o),b=new ye(o=>{let{length:m}=v;if(!m)return void o.complete();let b=new Array(m),_=m,x=m;for(let T=0;T<m;T++){let m=!1;q(v[T]).subscribe(k(o,o=>{m||(m=!0,x--),b[T]=o},()=>_--,void 0,()=>{(!_||!m)&&(x||o.next(w?bo(w,b):b),o.complete())}))}});return m?b.pipe(Io(m)):b}var Ge=new ye(It);function ge(o,m){return P((v,w)=>{let b=0;v.subscribe(k(w,v=>o.call(m,v,b++)&&w.next(v)))})}function it(o){return P((m,v)=>{let w,b=null,_=!1;b=m.subscribe(k(v,void 0,void 0,x=>{w=q(o(x,it(o)(m))),b?(b.unsubscribe(),b=null,w.subscribe(v)):_=!0})),_&&(b.unsubscribe(),b=null,w.subscribe(v))})}function st(o,m){return S(m)?Z(o,m,1):Z(o,1)}function at(o){return P((m,v)=>{let w=!1;m.subscribe(k(v,o=>{w=!0,v.next(o)},()=>{w||v.next(o),v.complete()}))})}function ze(o){return o<=0?()=>Re:P((m,v)=>{let w=0;m.subscribe(k(v,m=>{++w<=o&&(v.next(m),o<=w&&v.complete())}))})}function Mo(o=Mg){return P((m,v)=>{let w=!1;m.subscribe(k(v,o=>{w=!0,v.next(o)},()=>w?v.complete():v.error(o())))})}function Mg(){return new Ne}function Tt(o){return P((m,v)=>{try{m.subscribe(v)}finally{v.add(o)}})}function qe(o,m){let v=arguments.length>=2;return w=>w.pipe(o?ge((m,v)=>o(m,v,w)):pe,ze(1),v?at(m):Mo(()=>new Ne))}function rn(o){return o<=0?()=>Re:P((m,v)=>{let w=[];m.subscribe(k(v,m=>{w.push(m),o<w.length&&w.shift()},()=>{for(let o of w)v.next(o);v.complete()},void 0,()=>{w=null}))})}function Us(o,m){return P(function(o,m,v,w,b){return(_,x)=>{let T=v,O=m,N=0;_.subscribe(k(x,m=>{let v=N++;O=T?o(O,m,v):(T=!0,m),w&&x.next(O)},b&&(()=>{T&&x.next(O),x.complete()})))}}(o,m,arguments.length>=2,!0))}function me(o,m){return P((v,w)=>{let b=null,_=0,x=!1,a=()=>x&&!b&&w.complete();v.subscribe(k(w,v=>{b?.unsubscribe();let x=0,T=_++;q(o(v,T)).subscribe(b=k(w,o=>w.next(m?m(v,o,T,x++):o),()=>{b=null,a()}))},()=>{x=!0,a()}))})}function ee(o,m,v){let w=S(o)||m||v?{next:o,error:m,complete:v}:o;return w?P((o,m)=>{var v;null===(v=w.subscribe)||void 0===v||v.call(w);let b=!0;o.subscribe(k(m,o=>{var v;null===(v=w.next)||void 0===v||v.call(w,o),m.next(o)},()=>{var o;b=!1,null===(o=w.complete)||void 0===o||o.call(w),m.complete()},o=>{var v;b=!1,null===(v=w.error)||void 0===v||v.call(w,o),m.error(o)},()=>{var o,m;b&&(null===(o=w.unsubscribe)||void 0===o||o.call(w)),null===(m=w.finalize)||void 0===m||m.call(w)}))}):pe}var Ze="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",We=class extends Error{code;constructor(o,m){super(Ng(o,m)),this.code=o}};function Ng(o,m){return`${function(o){return`NG0${Math.abs(o)}`}(o)}${m?": "+m:""}`}var Qe=Symbol("InputSignalNode#UNSET"),Je=j(y({},G),{transformFn:void 0,applyValueToInputSignal(o,m){Hn(o,m)}});function Kl(o,m){let v=Object.create(Je);function r(){if(Bn(v),v.value===Qe){throw new We(-950,null)}return v.value}return v.value=o,v.transformFn=m?.transform,r[N]=v,r}function oi(o){return{toString:o}.toString()}function V(o){for(let m in o)if(o[m]===V)return m;throw Error("Could not find renamed property on target object.")}function xg(o,m){for(let v in m)m.hasOwnProperty(v)&&!o.hasOwnProperty(v)&&(o[v]=m[v])}function de(o){if("string"==typeof o)return o;if(Array.isArray(o))return`[${o.map(de).join(", ")}]`;if(null==o)return""+o;let m=o.overriddenName||o.name;if(m)return`${m}`;let v=o.toString();if(null==v)return""+v;let w=v.indexOf("\n");return w>=0?v.slice(0,w):v}function ia(o,m){return o?m?`${o} ${m}`:o:m||""}var Xe=V({__forward_ref__:V});function Jl(o){return o.__forward_ref__=Jl,o.toString=function(){return de(this())},o}function ie(o){return Xl(o)?o():o}function Xl(o){return"function"==typeof o&&o.hasOwnProperty(Xe)&&o.__forward_ref__===Jl}function E(o){return{token:o.token,providedIn:o.providedIn||null,factory:o.factory,value:void 0}}function ii(o){return{providers:o.providers||[],imports:o.imports||[]}}function si(o){return hl(o,Ye)||hl(o,nt)}function hl(o,m){return o.hasOwnProperty(m)?o[m]:null}function pl(o){return o&&(o.hasOwnProperty(tt)||o.hasOwnProperty(rt))?o[tt]:null}var Ye=V({ɵprov:V}),tt=V({ɵinj:V}),nt=V({ngInjectableDef:V}),rt=V({ngInjectorDef:V}),lt=class{_desc;ngMetadataName="InjectionToken";ɵprov;constructor(o,m){this._desc=o,this.ɵprov=void 0,"number"==typeof m?this.__NG_ELEMENT_ID__=m:void 0!==m&&(this.ɵprov=E({token:this,providedIn:m.providedIn||"root",factory:m.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function rd(o){return o&&!!o.ɵproviders}var ct=V({ɵcmp:V}),ft=V({ɵdir:V}),pt=V({ɵpipe:V}),gt=V({ɵmod:V}),mt=V({ɵfac:V}),vt=V({__NG_ELEMENT_ID__:V}),yt=V({__NG_ENV_ID__:V});function ai(o){return"string"==typeof o?o:null==o?"":String(o)}function od(o,m){throw new We(-200,o)}function tc(o,m){throw new We(-201,!1)}var wt,bt,Ct=((bt=Ct||{})[bt.Default=0]="Default",bt[bt.Host=1]="Host",bt[bt.Self=2]="Self",bt[bt.SkipSelf=4]="SkipSelf",bt[bt.Optional=8]="Optional",bt);function id(){return wt}function Ce(o){let m=wt;return wt=o,m}function sd(o,m,v){let w=si(o);return w&&"root"==w.providedIn?void 0===w.value?w.value=w.factory():w.value:v&Ct.Optional?null:void 0!==m?m:void tc()}var _t={},xt=class{injector;constructor(o){this.injector=o}retrieve(o,m){let v=m;return this.injector.get(o,v.optional?W:_t,v)}},Rt="ngTempTokenPath",At=/\n/gm,Nt="__source";function qg(o,m=Ct.Default){if(void 0===zn())throw new We(-203,!1);if(null===zn())return sd(o,void 0,m);{let v,w=zn();return v=w instanceof xt?w.injector:w,v.get(o,m&Ct.Optional?null:void 0,m)}}function I(o,m=Ct.Default){return(id()||qg)(ie(o),m)}function g(o,m=Ct.Default){return I(o,ci(m))}function ci(o){return typeof o>"u"||"number"==typeof o?o:0|(o.optional&&8)|(o.host&&1)|(o.self&&2)|(o.skipSelf&&4)}function aa(o){let m=[];for(let v=0;v<o.length;v++){let w=ie(o[v]);if(Array.isArray(w)){if(0===w.length)throw new We(900,!1);let o,v=Ct.Default;for(let m=0;m<w.length;m++){let b=w[m],_=Gg(b);"number"==typeof _?-1===_?o=b.token:v|=_:o=b}m.push(I(o,v))}else m.push(I(w))}return m}function Gg(o){return o.__NG_DI_FLAG__}function Wg(o,m,v,w){let b=o[Rt];throw m[Nt]&&b.unshift(m[Nt]),o.message=function(o,m,v,w=null){o=o&&"\n"===o.charAt(0)&&"ɵ"==o.charAt(1)?o.slice(2):o;let b=de(m);if(Array.isArray(m))b=m.map(de).join(" -> ");else if("object"==typeof m){let o=[];for(let v in m)if(m.hasOwnProperty(v)){let w=m[v];o.push(v+":"+("string"==typeof w?JSON.stringify(w):de(w)))}b=`{${o.join(", ")}}`}return`${v}${w?"("+w+")":""}[${b}]: ${o.replace(At,"\n ")}`}("\n"+o.message,b,v,w),o.ngTokenPath=b,o[Rt]=null,o}function un(o,m){return o.hasOwnProperty(mt)?o[mt]:null}function nc(o,m){o.forEach(o=>Array.isArray(o)?nc(o,m):m(o))}function ad(o,m,v){m>=o.length?o.push(v):o.splice(m,0,v)}function jo(o,m){return m>=o.length-1?o.pop():o.splice(m,1)[0]}function rc(o,m,v){let w=dr(o,m);return w>=0?o[1|w]=v:(w=~w,function(o,m,v,w){let b=o.length;if(b==m)o.push(v,w);else if(1===b)o.push(w,o[0]),o[0]=v;else{for(b--,o.push(o[b-1],o[b]);b>m;){let m=b-2;o[b]=o[m],b--}o[m]=v,o[m+1]=w}}(o,w,m,v)),w}function zs(o,m){let v=dr(o,m);if(v>=0)return o[1|v]}function dr(o,m){return function(o,m,v){let w=0,b=o.length>>v;for(;b!==w;){let _=w+(b-w>>1),x=o[_<<v];if(m===x)return _<<v;x>m?b=_:w=_+1}return~(b<<v)}(o,m,1)}var jt={},Pt=[],Dt=new lt(""),Vt=new lt("",-1),Ft=new lt(""),Mt=class{get(o,m=_t){if(m===_t){let m=new Error(`NullInjectorError: No provider for ${de(o)}!`);throw m.name="NullInjectorError",m}return m}};function ld(o,m){let v=o[gt]||null;if(!v&&!0===m)throw new Error(`Type ${de(o)} does not have 'ɵmod' property.`);return v}function ln(o){return o[ct]||null}function em(o){return o[pt]||null}function fr(o){return{ɵproviders:o}}function tm(...o){return{ɵproviders:dd(!0,o),ɵfromNgModule:!0}}function dd(o,...m){let v,w=[],b=new Set,i=o=>{w.push(o)};return nc(m,o=>{let m=o;ca(m,i,[],b)&&(v||=[],v.push(m))}),void 0!==v&&fd(v,i),w}function fd(o,m){for(let v=0;v<o.length;v++){let{ngModule:w,providers:b}=o[v];oc(b,o=>{m(o,w)})}}function ca(o,m,v,w){if(!(o=ie(o)))return!1;let b=null,_=pl(o),x=!_&&ln(o);if(_||x){if(x&&!x.standalone)return!1;b=o}else{let m=o.ngModule;if(_=pl(m),!_)return!1;b=m}let T=w.has(b);if(x){if(T)return!1;if(w.add(b),x.dependencies){let o="function"==typeof x.dependencies?x.dependencies():x.dependencies;for(let b of o)ca(b,m,v,w)}}else{if(!_)return!1;{if(null!=_.imports&&!T){let o;w.add(b),nc(_.imports,b=>{ca(b,m,v,w)&&(o||=[],o.push(b))}),void 0!==o&&fd(o,m)}if(!T){let o=un(b)||(()=>new b);m({provide:b,useFactory:o,deps:Pt},b),m({provide:Ft,useValue:b,multi:!0},b),m({provide:Dt,useValue:()=>I(b),multi:!0},b)}let x=_.providers;if(null!=x&&!T){let v=o;oc(x,o=>{m(o,v)})}}}return b!==o&&void 0!==o.providers}function oc(o,m){for(let v of o)rd(v)&&(v=v.ɵproviders),Array.isArray(v)?oc(v,m):m(v)}var zt=V({provide:String,useValue:V});function hd(o){return null!==o&&"object"==typeof o&&zt in o}function dn(o){return"function"==typeof o}var $t,qt=new lt(""),Bt={},Gt={};function ic(){return void 0===$t&&($t=new Mt),$t}var Wt=class{},Kt=class extends Wt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(o,m,v,w){super(),this.parent=m,this.source=v,this.scopes=w,la(o,o=>this.processProvider(o)),this.records.set(Vt,on(void 0,this)),w.has("environment")&&this.records.set(Wt,on(void 0,this));let b=this.records.get(qt);null!=b&&"string"==typeof b.value&&this.scopes.add(b.value),this.injectorDefTypes=new Set(this.get(Ft,Pt,Ct.Self))}retrieve(o,m){let v=m;return this.get(o,v.optional?W:_t,v)}destroy(){Wn(this),this._destroyed=!0;let o=R(null);try{for(let o of this._ngOnDestroyHooks)o.ngOnDestroy();let o=this._onDestroyHooks;this._onDestroyHooks=[];for(let m of o)m()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),R(o)}}onDestroy(o){return Wn(this),this._onDestroyHooks.push(o),()=>this.removeOnDestroy(o)}runInContext(o){Wn(this);let m=$e(this),v=Ce(void 0);try{return o()}finally{$e(m),Ce(v)}}get(o,m=_t,v=Ct.Default){if(Wn(this),o.hasOwnProperty(yt))return o[yt](this);v=ci(v);let w=$e(this),b=Ce(void 0);try{if(!(v&Ct.SkipSelf)){let m=this.records.get(o);if(void 0===m){let v=function(o){return"function"==typeof o||"object"==typeof o&&o instanceof lt}(o)&&si(o);m=v&&this.injectableDefInScope(v)?on(ua(o),Bt):null,this.records.set(o,m)}if(null!=m)return this.hydrate(o,m,v)}let w=v&Ct.Self?ic():this.parent;return m=v&Ct.Optional&&m===_t?null:m,w.get(o,m)}catch(m){if("NullInjectorError"===m.name){if((m[Rt]=m[Rt]||[]).unshift(de(o)),w)throw m;return Wg(m,o,"R3InjectorError",this.source)}throw m}finally{Ce(b),$e(w)}}resolveInjectorInitializers(){let o=R(null),m=$e(this),v=Ce(void 0);try{let o=this.get(Dt,Pt,Ct.Self);for(let m of o)m()}finally{$e(m),Ce(v),R(o)}}toString(){let o=[],m=this.records;for(let v of m.keys())o.push(de(v));return`R3Injector[${o.join(", ")}]`}processProvider(o){let m=dn(o=ie(o))?o:ie(o&&o.provide),v=function(o){if(hd(o))return on(void 0,o.useValue);return on(pd(o),Bt)}(o);if(!dn(o)&&!0===o.multi){let v=this.records.get(m);v||(v=on(void 0,Bt,!0),v.factory=()=>aa(v.multi),this.records.set(m,v)),m=o,v.multi.push(o)}this.records.set(m,v)}hydrate(o,m,v){let w=R(null);try{return m.value===Gt?od(de(o)):m.value===Bt&&(m.value=Gt,m.value=m.factory(void 0,v)),"object"==typeof m.value&&m.value&&function(o){return null!==o&&"object"==typeof o&&"function"==typeof o.ngOnDestroy}(m.value)&&this._ngOnDestroyHooks.add(m.value),m.value}finally{R(w)}}injectableDefInScope(o){if(!o.providedIn)return!1;let m=ie(o.providedIn);return"string"==typeof m?"any"===m||this.scopes.has(m):this.injectorDefTypes.has(m)}removeOnDestroy(o){let m=this._onDestroyHooks.indexOf(o);-1!==m&&this._onDestroyHooks.splice(m,1)}};function ua(o){let m=si(o),v=null!==m?m.factory:un(o);if(null!==v)return v;if(o instanceof lt)throw new We(204,!1);if(o instanceof Function)return function(o){if(o.length>0)throw new We(204,!1);let m=function(o){return o&&(o[Ye]||o[nt])||null}(o);return null!==m?()=>m.factory(o):()=>new o}(o);throw new We(204,!1)}function pd(o,m,v){let w;if(dn(o)){let m=ie(o);return un(m)||ua(m)}if(hd(o))w=()=>ie(o.useValue);else if(function(o){return!(!o||!o.useFactory)}(o))w=()=>o.useFactory(...aa(o.deps||[]));else if(function(o){return!(!o||!o.useExisting)}(o))w=(m,v)=>I(ie(o.useExisting),void 0!==v&&v&Ct.Optional?Ct.Optional:void 0);else{let m=ie(o&&(o.useClass||o.provide));if(!function(o){return!!o.deps}(o))return un(m)||ua(m);w=()=>new m(...aa(o.deps))}return w}function Wn(o){if(o.destroyed)throw new We(205,!1)}function on(o,m,v=!1){return{factory:o,value:m,multi:v?[]:void 0}}function la(o,m){for(let v of o)Array.isArray(v)?la(v,m):v&&rd(v)?la(v.ɵproviders,m):m(v)}function ve(o,m){let v;o instanceof Kt?(Wn(o),v=o):v=new xt(o);let w=$e(v),b=Ce(void 0);try{return m()}finally{$e(w),Ce(b)}}function gd(){return void 0!==id()||null!=zn()}var Jt=10,Yt=11,en=14,sn=15,cn=16,hn=17,fn=18,gn=21,mn=23,vn=24,bn=26,Sn=10;function ut(o){return Array.isArray(o)&&"object"==typeof o[1]}function Ke(o){return Array.isArray(o)&&!0===o[1]}function vd(o){return!!(4&o.flags)}function Dn(o){return o.componentOffset>-1}function sc(o){return!(1&~o.flags)}function ke(o){return!!o.template}function $o(o){return!!(512&o[2])}function En(o){return!(256&~o[2])}var Cn=class{previousValue;currentValue;firstChange;constructor(o,m,v){this.previousValue=o,this.currentValue=m,this.firstChange=v}isFirstChange(){return this.firstChange}};function Dd(o,m,v,w){null!==m?m.applyValueToInputSignal(m,w):o[v]=w}var kn=(()=>{let e=()=>Ed;return e.ngInherit=!0,e})();function Ed(o){return o.type.prototype.ngOnChanges&&(o.setInput=pm),hm}function hm(){let o=Id(this),m=o?.current;if(m){let v=o.previous;if(v===jt)o.previous=m;else for(let o in m)v[o]=m[o];o.current=null,this.ngOnChanges(m)}}function pm(o,m,v,w,b){let _=this.declaredInputs[w],x=Id(o)||function(o,m){return o[Tn]=m}(o,{previous:jt,current:null}),T=x.current||(x.current={}),O=x.previous,N=O[_];T[_]=new Cn(N&&N.currentValue,v,O===jt),Dd(o,m,b,v)}var Tn="__ngSimpleChanges__";function Id(o){return o[Tn]||null}var B=function(o,m=null,v){};function Pe(o){for(;Array.isArray(o);)o=o[0];return o}function bd(o,m){return Pe(m[o])}function je(o,m){return Pe(m[o.index])}function cc(o,m){return o.data[m]}function Fe(o,m){let v=m[o];return ut(v)?v:v[0]}function uc(o){return!(128&~o[2])}function pn(o,m){return null==m?null:o[m]}function Sd(o){o[hn]=0}function Td(o){1024&o[2]||(o[2]|=1024,uc(o)&&hr(o))}function di(o){return!!(9216&o[2]||o[vn]?.dirty)}function fa(o){o[Jt].changeDetectionScheduler?.notify(8),64&o[2]&&(o[2]|=1024),di(o)&&hr(o)}function hr(o){o[Jt].changeDetectionScheduler?.notify(0);let m=Ot(o);for(;null!==m&&!(8192&m[2])&&(m[2]|=8192,uc(m));)m=Ot(m)}function Md(o,m){if(En(o))throw new We(911,!1);null===o[gn]&&(o[gn]=[]),o[gn].push(m)}function Ot(o){let m=o[3];return Ke(m)?m[3]:m}function lc(o){return o[7]??=[]}function dc(o){return o.cleanup??=[]}var Rn={lFrame:Fd(null),bindingsEnabled:!0,skipHydrationRootTNode:null},On=!1;function _d(){return Rn.bindingsEnabled}function F(){return Rn.lFrame.lView}function te(){return Rn.lFrame.tView}function Q0(o){return Rn.lFrame.contextLView=o,o[8]}function K0(o){return Rn.lFrame.contextLView=null,o}function De(){let o=Nd();for(;null!==o&&64===o.type;)o=o.parent;return o}function Nd(){return Rn.lFrame.currentTNode}function pr(o,m){let v=Rn.lFrame;v.currentTNode=o,v.isParent=m}function Rd(){return Rn.lFrame.isParent}function xd(){return On}function Ho(o){let m=On;return On=o,m}function wn(){return Rn.lFrame.bindingIndex++}function Ad(o){let m=Rn.lFrame,v=m.bindingIndex;return m.bindingIndex=m.bindingIndex+o,v}function km(o,m){let v=Rn.lFrame;v.bindingIndex=v.bindingRootIndex=o,pa(m)}function pa(o){Rn.lFrame.currentDirectiveIndex=o}function Od(){return Rn.lFrame.currentQueryIndex}function fc(o){Rn.lFrame.currentQueryIndex=o}function Lm(o){let m=o[1];return 2===m.type?m.declTNode:1===m.type?o[5]:null}function kd(o,m,v){if(v&Ct.SkipSelf){let w=m,b=o;for(;(w=w.parent,null===w&&!(v&Ct.Host))&&(w=Lm(b),!(null===w||(b=b[en],10&w.type))););if(null===w)return!1;m=w,o=b}let w=Rn.lFrame=Pd();return w.currentTNode=m,w.lView=o,!0}function hc(o){let m=Pd(),v=o[1];Rn.lFrame=m,m.currentTNode=v.firstChild,m.lView=o,m.tView=v,m.contextLView=o,m.bindingIndex=v.bindingStartIndex,m.inI18n=!1}function Pd(){let o=Rn.lFrame,m=null===o?null:o.child;return null===m?Fd(o):m}function Fd(o){let m={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:o,child:null,inI18n:!1};return null!==o&&(o.child=m),m}function Ld(){let o=Rn.lFrame;return Rn.lFrame=o.parent,o.currentTNode=null,o.lView=null,o}var An=Ld;function pc(){let o=Ld();o.isParent=!0,o.tView=null,o.selectedIndex=-1,o.contextLView=null,o.elementDepthCount=0,o.currentDirectiveIndex=-1,o.currentNamespace=null,o.bindingRootIndex=-1,o.bindingIndex=-1,o.currentQueryIndex=0}function jm(o){return(Rn.lFrame.contextLView=function(o,m){for(;o>0;)m=m[en],o--;return m}(o,Rn.lFrame.contextLView))[8]}function dt(){return Rn.lFrame.selectedIndex}function kt(o){Rn.lFrame.selectedIndex=o}function gc(){let o=Rn.lFrame;return cc(o.tView,o.selectedIndex)}function J0(){Rn.lFrame.currentNamespace="svg"}function X0(){Rn.lFrame.currentNamespace=null}var Nn=!0;function mc(){return Nn}function yc(o){Nn=o}function Bd(o,m){for(let v=m.directiveStart,w=m.directiveEnd;v<w;v++){let m=o.data[v].type.prototype,{ngAfterContentInit:w,ngAfterContentChecked:b,ngAfterViewInit:_,ngAfterViewChecked:x,ngOnDestroy:T}=m;w&&(o.contentHooks??=[]).push(-v,w),b&&((o.contentHooks??=[]).push(v,b),(o.contentCheckHooks??=[]).push(v,b)),_&&(o.viewHooks??=[]).push(-v,_),x&&((o.viewHooks??=[]).push(v,x),(o.viewCheckHooks??=[]).push(v,x)),null!=T&&(o.destroyHooks??=[]).push(v,T)}}function Ro(o,m,v){Ud(o,m,3,v)}function xo(o,m,v,w){(3&o[2])===v&&Ud(o,m,v,w)}function Zs(o,m){let v=o[2];(3&v)===m&&(v&=16383,v+=1,o[2]=v)}function Ud(o,m,v,w){let b=void 0!==w?65535&o[hn]:0,_=w??-1,x=m.length-1,T=0;for(let O=b;O<x;O++)if("number"==typeof m[O+1]){if(T=m[O],null!=w&&T>=w)break}else m[O]<0&&(o[hn]+=65536),(T<_||-1==_)&&($m(o,v,m,O),o[hn]=(4294901760&o[hn])+O+2),O++}function wl(o,m){let v=R(null);try{m.call(o)}finally{R(v)}}function $m(o,m,v,w){let b=v[w]<0,_=v[w+1],x=o[b?-v[w]:v[w]];b?o[2]>>14<o[hn]>>16&&(3&o[2])===m&&(o[2]+=16384,wl(x,_)):wl(x,_)}var Fn=-1,Qn=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(o,m,v){this.factory=o,this.canSeeViewProviders=m,this.injectImpl=v}};function Gm(o){return 3===o||4===o||6===o}function Wm(o){return 64===o.charCodeAt(0)}function er(o,m){if(null!==m&&0!==m.length)if(null===o||0===o.length)o=m.slice();else{let v=-1;for(let w=0;w<m.length;w++){let b=m[w];"number"==typeof b?v=b:0===v||Il(o,v,b,null,-1===v||2===v?m[++w]:null)}}return o}function Il(o,m,v,w,b){let _=0,x=o.length;if(-1===m)x=-1;else for(;_<o.length;){let v=o[_++];if("number"==typeof v){if(v===m){x=-1;break}if(v>m){x=_-1;break}}}for(;_<o.length;){let m=o[_];if("number"==typeof m)break;if(m===v)return void(null!==b&&(o[_+1]=b));_++,null!==b&&_++}-1!==x&&(o.splice(x,0,m),_=x+1),o.splice(_++,0,v),null!==b&&o.splice(_++,0,b)}function $d(o){return o!==Fn}function zo(o){return 32767&o}function qo(o,m){let v=function(o){return o>>16}(o),w=m;for(;v>0;)w=w[en],v--;return w}var Kn=!0;function Cl(o){let m=Kn;return Kn=o,m}var Jn=0,Xn={};function Go(o,m){let v=qd(o,m);if(-1!==v)return v;let w=m[1];w.firstCreatePass&&(o.injectorIndex=m.length,Ys(w.data,o),Ys(m,null),Ys(w.blueprint,null));let b=vc(o,m),_=o.injectorIndex;if($d(b)){let o=zo(b),v=qo(b,m),w=v[1].data;for(let b=0;b<8;b++)m[_+b]=v[o+b]|w[o+b]}return m[_+8]=b,_}function Ys(o,m){o.push(0,0,0,0,0,0,0,0,m)}function qd(o,m){return-1===o.injectorIndex||o.parent&&o.parent.injectorIndex===o.injectorIndex||null===m[o.injectorIndex+8]?-1:o.injectorIndex}function vc(o,m){if(o.parent&&-1!==o.parent.injectorIndex)return o.parent.injectorIndex;let v=0,w=null,b=m;for(;null!==b;){if(w=Qd(b),null===w)return Fn;if(v++,b=b[en],-1!==w.injectorIndex)return w.injectorIndex|v<<16}return Fn}function ma(o,m,v){!function(o,m,v){let w;"string"==typeof v?w=v.charCodeAt(0)||0:v.hasOwnProperty(vt)&&(w=v[vt]),null==w&&(w=v[vt]=Jn++);let b=255&w,_=1<<b;m.data[o+(b>>5)]|=_}(o,m,v)}function Gd(o,m,v){if(v&Ct.Optional||void 0!==o)return o;tc()}function Wd(o,m,v,w){if(v&Ct.Optional&&void 0===w&&(w=null),0===(v&(Ct.Self|Ct.Host))){let b=o[9],_=Ce(void 0);try{return b?b.get(m,w,v&Ct.Optional):sd(m,w,v&Ct.Optional)}finally{Ce(_)}}return Gd(w,0,v)}function Zd(o,m,v,w=Ct.Default,b){if(null!==o){if(2048&m[2]&&!(w&Ct.Self)){let b=function(o,m,v,w,b){let _=o,x=m;for(;null!==_&&null!==x&&2048&x[2]&&!$o(x);){let o=Yd(_,x,v,w|Ct.Self,Xn);if(o!==Xn)return o;let m=_.parent;if(!m){let o=x[20];if(o){let m=o.get(v,Xn,w);if(m!==Xn)return m}m=Qd(x),x=x[en]}_=m}return b}(o,m,v,w,Xn);if(b!==Xn)return b}let b=Yd(o,m,v,w,Xn);if(b!==Xn)return b}return Wd(m,v,w,b)}function Yd(o,m,v,w,b){let _=function(o){if("string"==typeof o)return o.charCodeAt(0)||0;let m=o.hasOwnProperty(vt)?o[vt]:void 0;return"number"==typeof m?m>=0?255&m:ey:m}(v);if("function"==typeof _){if(!kd(m,o,w))return w&Ct.Host?Gd(b,0,w):Wd(m,v,w,b);try{let o;if(o=_(w),null!=o||w&Ct.Optional)return o;tc()}finally{An()}}else if("number"==typeof _){let b=null,x=qd(o,m),T=Fn,O=w&Ct.Host?m[sn][5]:null;for((-1===x||w&Ct.SkipSelf)&&(T=-1===x?vc(o,m):m[x+8],T!==Fn&&Sl(w,!1)?(b=m[1],x=zo(T),m=qo(T,m)):x=-1);-1!==x;){let o=m[1];if(bl(_,x,o.data)){let o=Jm(x,m,v,b,w,O);if(o!==Xn)return o}T=m[x+8],T!==Fn&&Sl(w,m[1].data[x+8]===O)&&bl(_,x,m)?(b=o,x=zo(T),m=qo(T,m)):x=-1}}return b}function Jm(o,m,v,w,b,_){let x=m[1],T=x.data[o+8],O=Ao(T,x,v,null==w?Dn(T)&&Kn:w!=x&&!!(3&T.type),b&Ct.Host&&_===T);return null!==O?tr(m,x,O,T,b):Xn}function Ao(o,m,v,w,b){let _=o.providerIndexes,x=m.data,T=1048575&_,O=o.directiveStart,N=o.directiveEnd,D=_>>20,L=b?T+D:N;for(let o=w?T:T+D;o<L;o++){let m=x[o];if(o<O&&v===m||o>=O&&m.type===v)return o}if(b){let o=x[O];if(o&&ke(o)&&o.type===v)return O}return null}function tr(o,m,v,w,b){let _=o[v],x=m.data;if(_ instanceof Qn){let T=_;T.resolving&&od(function(o){return"function"==typeof o?o.name||o.toString():"object"==typeof o&&null!=o&&"function"==typeof o.type?o.type.name||o.type.toString():ai(o)}(x[v]));let O=Cl(T.canSeeViewProviders);T.resolving=!0;let N=T.injectImpl?Ce(T.injectImpl):null;kd(o,w,Ct.Default);try{_=o[v]=T.factory(void 0,b,x,o,w),m.firstCreatePass&&v>=w.directiveStart&&function(o,m,v){let{ngOnChanges:w,ngOnInit:b,ngDoCheck:_}=m.type.prototype;if(w){let w=Ed(m);(v.preOrderHooks??=[]).push(o,w),(v.preOrderCheckHooks??=[]).push(o,w)}b&&(v.preOrderHooks??=[]).push(0-o,b),_&&((v.preOrderHooks??=[]).push(o,_),(v.preOrderCheckHooks??=[]).push(o,_))}(v,x[v],m)}finally{null!==N&&Ce(N),Cl(O),T.resolving=!1,An()}}return _}function bl(o,m,v){let w=1<<o;return!!(v[m+(o>>5)]&w)}function Sl(o,m){return!(o&Ct.Self||o&Ct.Host&&m)}var Yn=class{_tNode;_lView;constructor(o,m){this._tNode=o,this._lView=m}get(o,m,v){return Zd(this._tNode,this._lView,o,ci(v),m)}};function ey(){return new Yn(De(),F())}function Dc(o){return oi(()=>{let m=o.prototype.constructor,v=m[mt]||ya(m),w=Object.prototype,b=Object.getPrototypeOf(o.prototype).constructor;for(;b&&b!==w;){let o=b[mt]||ya(b);if(o&&o!==v)return o;b=Object.getPrototypeOf(b)}return o=>new o})}function ya(o){return Xl(o)?()=>{let m=ya(ie(o));return m&&m()}:un(o)}function Qd(o){let m=o[1],v=m.type;return 2===v?m.declTNode:1===v?o[5]:null}function Tl(o,m=null,v=null,w){let b=Kd(o,m,v,w);return b.resolveInjectorInitializers(),b}function Kd(o,m=null,v=null,w,b=new Set){let _=[v||Pt,tm(o)];return w=w||("object"==typeof o?void 0:de(o)),new Kt(_,m||ic(),w||null,b)}var ir=class e{static THROW_IF_NOT_FOUND=_t;static NULL=new Mt;static create(o,m){if(Array.isArray(o))return Tl({name:""},m,o,"");{let m=o.name??"";return Tl({name:m},o.parent,o.providers,m)}}static ɵprov=E({token:e,providedIn:"any",factory:()=>I(Vt)});static __NG_ELEMENT_ID__=-1};new lt("").__NG_ELEMENT_ID__=o=>{let m=De();if(null===m)throw new We(204,!1);if(2&m.type)return m.value;if(o&Ct.Optional)return null;throw new We(204,!1)};var sr=!1,ar=class{static __NG_ELEMENT_ID__=ry;static __NG_ENV_ID__=o=>o},ur=class extends ar{_lView;constructor(o){super(),this._lView=o}onDestroy(o){let m=this._lView;return En(m)?(o(),()=>{}):(Md(m,o),()=>function(o,m){if(null===o[gn])return;let v=o[gn].indexOf(m);-1!==v&&o[gn].splice(v,1)}(m,o))}};function ry(){return new ur(F())}var cr=class{},gr=new lt("",{providedIn:"root",factory:()=>!1}),vr=new lt(""),yr=new lt(""),wr=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Ee(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let o=this.taskId++;return this.pendingTasks.add(o),o}has(o){return this.pendingTasks.has(o)}remove(o){this.pendingTasks.delete(o),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static ɵprov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),br=class extends _e{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(o=!1){super(),this.__isAsync=o,gd()&&(this.destroyRef=g(ar,{optional:!0})??void 0,this.pendingTasks=g(wr,{optional:!0})??void 0)}emit(o){let m=R(null);try{super.next(o)}finally{R(m)}}subscribe(o,m,v){let w=o,b=m||(()=>null),_=v;if(o&&"object"==typeof o){let m=o;w=m.next?.bind(m),b=m.error?.bind(m),_=m.complete?.bind(m)}this.__isAsync&&(b=this.wrapInTimeout(b),w&&(w=this.wrapInTimeout(w)),_&&(_=this.wrapInTimeout(_)));let x=super.subscribe({next:w,error:b,complete:_});return o instanceof K&&o.add(x),x}wrapInTimeout(o){return m=>{let v=this.pendingTasks?.add();setTimeout(()=>{try{o(m)}finally{void 0!==v&&this.pendingTasks?.remove(v)}})}}};function nr(...o){}function nf(o){let m,v;function r(){o=nr;try{void 0!==v&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(v),void 0!==m&&clearTimeout(m)}catch{}}return m=setTimeout(()=>{o(),r()}),"function"==typeof requestAnimationFrame&&(v=requestAnimationFrame(()=>{o(),r()})),()=>r()}function Ml(o){return queueMicrotask(()=>o()),()=>{o=nr}}var Sr="isAngularZone",Cr=Sr+"_ID",_r=0,Ir=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new br(!1);onMicrotaskEmpty=new br(!1);onStable=new br(!1);onError=new br(!1);constructor(o){let{enableLongStackTrace:m=!1,shouldCoalesceEventChangeDetection:v=!1,shouldCoalesceRunChangeDetection:w=!1,scheduleInRootZone:b=sr}=o;if(typeof Zone>"u")throw new We(908,!1);Zone.assertZonePatched();let _=this;_._nesting=0,_._outer=_._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(_._inner=_._inner.fork(new Zone.TaskTrackingZoneSpec)),m&&Zone.longStackTraceZoneSpec&&(_._inner=_._inner.fork(Zone.longStackTraceZoneSpec)),_.shouldCoalesceEventChangeDetection=!w&&v,_.shouldCoalesceRunChangeDetection=w,_.callbackScheduled=!1,_.scheduleInRootZone=b,function(o){let t=()=>{!function(o){if(o.isCheckStableRunning||o.callbackScheduled)return;function t(){nf(()=>{o.callbackScheduled=!1,Da(o),o.isCheckStableRunning=!0,wc(o),o.isCheckStableRunning=!1})}o.callbackScheduled=!0,o.scheduleInRootZone?Zone.root.run(()=>{t()}):o._outer.run(()=>{t()}),Da(o)}(o)},m=_r++;o._inner=o._inner.fork({name:"angular",properties:{[Sr]:!0,[Cr]:m,[Cr+m]:!0},onInvokeTask:(m,v,w,b,_,x)=>{if(function(o){return rf(o,"__ignore_ng_zone__")}(x))return m.invokeTask(w,b,_,x);try{return _l(o),m.invokeTask(w,b,_,x)}finally{(o.shouldCoalesceEventChangeDetection&&"eventTask"===b.type||o.shouldCoalesceRunChangeDetection)&&t(),Nl(o)}},onInvoke:(m,v,w,b,_,x,T)=>{try{return _l(o),m.invoke(w,b,_,x,T)}finally{o.shouldCoalesceRunChangeDetection&&!o.callbackScheduled&&!function(o){return rf(o,"__scheduler_tick__")}(x)&&t(),Nl(o)}},onHasTask:(m,v,w,b)=>{m.hasTask(w,b),v===w&&("microTask"==b.change?(o._hasPendingMicrotasks=b.microTask,Da(o),wc(o)):"macroTask"==b.change&&(o.hasPendingMacrotasks=b.macroTask))},onHandleError:(m,v,w,b)=>(m.handleError(w,b),o.runOutsideAngular(()=>o.onError.emit(b)),!1)})}(_)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Sr)}static assertInAngularZone(){if(!e.isInAngularZone())throw new We(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new We(909,!1)}run(o,m,v){return this._inner.run(o,m,v)}runTask(o,m,v,w){let b=this._inner,_=b.scheduleEventTask("NgZoneEvent: "+w,o,Tr,nr,nr);try{return b.runTask(_,m,v)}finally{b.cancelTask(_)}}runGuarded(o,m,v){return this._inner.runGuarded(o,m,v)}runOutsideAngular(o){return this._outer.run(o)}},Tr={};function wc(o){if(0==o._nesting&&!o.hasPendingMicrotasks&&!o.isStable)try{o._nesting++,o.onMicrotaskEmpty.emit(null)}finally{if(o._nesting--,!o.hasPendingMicrotasks)try{o.runOutsideAngular(()=>o.onStable.emit(null))}finally{o.isStable=!0}}}function Da(o){o._hasPendingMicrotasks||(o.shouldCoalesceEventChangeDetection||o.shouldCoalesceRunChangeDetection)&&!0===o.callbackScheduled?o.hasPendingMicrotasks=!0:o.hasPendingMicrotasks=!1}function _l(o){o._nesting++,o.isStable&&(o.isStable=!1,o.onUnstable.emit(null))}function Nl(o){o._nesting--,wc(o)}var Nr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new br;onMicrotaskEmpty=new br;onStable=new br;onError=new br;run(o,m,v){return o.apply(m,v)}runGuarded(o,m,v){return o.apply(m,v)}runOutsideAngular(o){return o()}runTask(o,m,v,w){return o.apply(m,v)}};function rf(o,m){return!(!Array.isArray(o)||1!==o.length)&&!0===o[0]?.data?.[m]}var jr=class{_console=console;handleError(o){this._console.error("ERROR",o)}},Pr=new lt("",{providedIn:"root",factory:()=>{let o=g(Ir),m=g(jr);return v=>o.runOutsideAngular(()=>m.handleError(v))}});function Rl(o,m){return Kl(o,m)}var Dr=(Rl.required=function(o){return Kl(Qe,o)},Rl);function fy(){return In(De(),F())}function In(o,m){return new Lr(je(o,m))}var Lr=class{nativeElement;constructor(o){this.nativeElement=o}static __NG_ELEMENT_ID__=fy};function hy(o){return o instanceof Lr?o.nativeElement:o}function oe(o,m){let v=function(o,m){let v=Object.create(G);v.value=o,void 0!==m&&(v.equal=m);let r=()=>(Bn(v),v.value);return r[N]=v,r}(o,m?.equal),w=v[N];return v.set=o=>Hn(w,o),v.update=o=>function(o,m){Cs()||Uu(o),Hn(o,m(o.value))}(w,o),v.asReadonly=gy.bind(v),v}function gy(){let o=this[N];if(void 0===o.readonlyFn){let t=()=>this();t[N]=o,o.readonlyFn=t}return o.readonlyFn}function sf(o){return function(o){return"function"==typeof o&&void 0!==o[N]}(o)&&"function"==typeof o.set}function my(){return this._results[Symbol.iterator]()}var Vr=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 _e}constructor(o=!1){this._emitDistinctChangesOnly=o}get(o){return this._results[o]}map(o){return this._results.map(o)}filter(o){return this._results.filter(o)}find(o){return this._results.find(o)}reduce(o,m){return this._results.reduce(o,m)}forEach(o){this._results.forEach(o)}some(o){return this._results.some(o)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(o,m){this.dirty=!1;let v=function(o){return o.flat(Number.POSITIVE_INFINITY)}(o);(this._changesDetected=!function(o,m,v){if(o.length!==m.length)return!1;for(let w=0;w<o.length;w++){let b=o[w],_=m[w];if(v&&(b=v(b),_=v(_)),_!==b)return!1}return!0}(this._results,v,m))&&(this._results=v,this.length=v.length,this.last=v[this.length-1],this.first=v[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(o){this._onDirty=o}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=my};function af(o){return!(128&~o.flags)}var Ur=function(o){return o[o.OnPush=0]="OnPush",o[o.Default=1]="Default",o}(Ur||{}),Fr=new Map,Mr=0;function Ia(o){Fr.delete(o[19])}var zr,Hr="__ngContext__";function mr(o,m){ut(m)?(o[Hr]=m[19],function(o){Fr.set(o[19],o)}(m)):o[Hr]=m}function lf(o){return ff(o[12])}function df(o){return ff(o[4])}function ff(o){for(;null!==o&&!Ke(o);)o=o[4];return o}var $r=new lt("",{providedIn:"root",factory:()=>Zr}),Zr="ng",Wr=new lt(""),Qr=new lt("",{providedIn:"platform",factory:()=>"unknown"}),Yr=new lt("",{providedIn:"root",factory:()=>function(){if(void 0!==zr)return zr;if(typeof document<"u")return document;throw new We(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ti=!1,ri=new lt("",{providedIn:"root",factory:()=>ti}),li=function(o){return o[o.CHANGE_DETECTION=0]="CHANGE_DETECTION",o[o.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",o}(li||{}),ui=new lt(""),fi=new Set;function hi(o){fi.has(o)||(fi.add(o),performance?.mark?.("mark_feature_usage",{detail:{feature:o}}))}var pi=class{view;node;constructor(o,m){this.view=o,this.node=m}static __NG_ELEMENT_ID__=Sy};function Sy(){return new pi(F(),De())}var Si=(()=>{class e{impl=null;execute(){this.impl?.execute()}static ɵprov=E({token:e,providedIn:"root",factory:()=>new e})}return e})();function vf(o,m){let v=o.contentQueries;if(null!==v){let w=R(null);try{for(let w=0;w<v.length;w+=2){let b=v[w],_=v[w+1];if(-1!==_){let v=o.data[_];fc(b),v.contentQueries(2,m[_],_)}}}finally{R(w)}}}function ba(o,m,v){fc(0);let w=R(null);try{m(o,v)}finally{R(w)}}function Df(o,m,v){if(vd(m)){let w=R(null);try{let w=m.directiveStart,b=m.directiveEnd;for(let m=w;m<b;m++){let w=o.data[m];if(w.contentQueries){let o=v[m];w.contentQueries(1,o,m)}}}finally{R(w)}}}var _i=function(o){return o[o.Emulated=0]="Emulated",o[o.None=2]="None",o[o.ShadowDom=3]="ShadowDom",o}(_i||{}),ki=class{changingThisBreaksApplicationSecurity;constructor(o){this.changingThisBreaksApplicationSecurity=o}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ze})`}};function Sc(o){return o instanceof ki?o.changingThisBreaksApplicationSecurity:o}function Ry(o,m){let v=function(o){return o instanceof ki&&o.getTypeName()||null}(o);if(null!=v&&v!==m){if("ResourceURL"===v&&"URL"===m)return!0;throw new Error(`Required a safe ${m}, got a ${v} (see ${Ze})`)}return v===m}var Ri=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ef(o,m,v){return o.createElement(m,v)}function Qo(o,m,v,w,b){o.insertBefore(m,v,w,b)}function wf(o,m,v){o.appendChild(m,v)}function Ol(o,m,v,w,b){null!==w?Qo(o,m,v,w,b):wf(o,m,v)}function If(o,m,v){let{mergedAttrs:w,classes:b,styles:_}=v;null!==w&&function(o,m,v){let w=0;for(;w<v.length;){let b=v[w];if("number"==typeof b){if(0!==b)break;w++;let _=v[w++],x=v[w++],T=v[w++];o.setAttribute(m,x,T,_)}else{let _=b,x=v[++w];Wm(_)?o.setProperty(m,_,x):o.setAttribute(m,_,x),w++}}}(o,m,w),null!==b&&function(o,m,v){""===v?o.removeAttribute(m,"class"):o.setAttribute(m,"class",v)}(o,m,b),null!==_&&function(o,m,v){o.setAttribute(m,"style",v)}(o,m,_)}var Oi=function(o){return o[o.NONE=0]="NONE",o[o.HTML=1]="HTML",o[o.STYLE=2]="STYLE",o[o.SCRIPT=3]="SCRIPT",o[o.URL=4]="URL",o[o.RESOURCE_URL=5]="RESOURCE_URL",o}(Oi||{});function eN(o){let m=function(){let o=F();return o&&o[Jt].sanitizer}();return m?m.sanitize(Oi.URL,o)||"":Ry(o,"URL")?Sc(o):function(o){return(o=String(o)).match(Ri)?o:"unsafe:"+o}(ai(o))}function bf(o){return o instanceof Function?o():o}function Uy(o,m,v){let w=o.length;for(;;){let b=o.indexOf(m,v);if(-1===b)return b;if(0===b||o.charCodeAt(b-1)<=32){let v=m.length;if(b+v===w||o.charCodeAt(b+v)<=32)return b}v=b+1}}var Ai="ng-template";function $y(o,m,v,w){let b=0;if(w){for(;b<m.length&&"string"==typeof m[b];b+=2)if("class"===m[b]&&-1!==Uy(m[b+1].toLowerCase(),v,0))return!0}else if(Tc(o))return!1;if(b=m.indexOf(1,b),b>-1){let o;for(;++b<m.length&&"string"==typeof(o=m[b]);)if(o.toLowerCase()===v)return!0}return!1}function Tc(o){return 4===o.type&&o.value!==Ai}function Hy(o,m,v){return m===(4!==o.type||v?o.value:Ai)}function zy(o,m,v){let w=4,b=o.attrs,_=null!==b?function(o){for(let m=0;m<o.length;m++){if(Gm(o[m]))return m}return o.length}(b):0,x=!1;for(let T=0;T<m.length;T++){let O=m[T];if("number"!=typeof O){if(!x)if(4&w){if(w=2|1&w,""!==O&&!Hy(o,O,v)||""===O&&1===m.length){if(Te(w))return!1;x=!0}}else if(8&w){if(null===b||!$y(o,b,O,v)){if(Te(w))return!1;x=!0}}else{let N=m[++T],D=qy(O,b,Tc(o),v);if(-1===D){if(Te(w))return!1;x=!0;continue}if(""!==N){let o;if(o=D>_?"":b[D+1].toLowerCase(),2&w&&N!==o){if(Te(w))return!1;x=!0}}}}else{if(!x&&!Te(w)&&!Te(O))return!1;if(x&&Te(O))continue;x=!1,w=O|1&w}}return Te(w)||x}function Te(o){return!(1&o)}function qy(o,m,v,w){if(null===m)return-1;let b=0;if(w||!v){let v=!1;for(;b<m.length;){let w=m[b];if(w===o)return b;if(3===w||6===w)v=!0;else{if(1===w||2===w){let o=m[++b];for(;"string"==typeof o;)o=m[++b];continue}if(4===w)break;if(0===w){b+=4;continue}}b+=v?1:2}return-1}return function(o,m){let v=o.indexOf(4);if(v>-1)for(v++;v<o.length;){let w=o[v];if("number"==typeof w)return-1;if(w===m)return v;v++}return-1}(m,o)}function Gy(o,m,v=!1){for(let w=0;w<m.length;w++)if(zy(o,m[w],v))return!0;return!1}function kl(o,m){return o?":not("+m.trim()+")":m}function Yy(o){let m=o[0],v=1,w=2,b="",_=!1;for(;v<o.length;){let x=o[v];if("string"==typeof x)if(2&w){let m=o[++v];b+="["+x+(m.length>0?'="'+m+'"':"")+"]"}else 8&w?b+="."+x:4&w&&(b+=" "+x);else""!==b&&!Te(x)&&(m+=kl(_,b),b=""),w=x,_=_||!Te(w);v++}return""!==b&&(m+=kl(_,b)),m}var Ni={};function Mc(o,m,v,w,b,_,x,T,O,N,D){let L=bn+w,U=L+b,M=function(o,m){let v=[];for(let w=0;w<m;w++)v.push(w<o?null:Ni);return v}(L,U),z="function"==typeof N?N():N;return M[1]={type:o,blueprint:M,template:v,queries:null,viewQuery:T,declTNode:m,data:M.slice().fill(null,L),bindingStartIndex:L,expandoStartIndex:U,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:"function"==typeof _?_():_,pipeRegistry:"function"==typeof x?x():x,firstChild:null,schemas:O,consts:z,incompleteFirstPass:!1,ssrId:D}}function _c(o,m,v,w,b,_,x,T,O,N,D){let L=m.blueprint.slice();return L[0]=b,L[2]=1228|w,(null!==N||o&&2048&o[2])&&(L[2]|=2048),Sd(L),L[3]=L[en]=o,L[8]=v,L[Jt]=x||o&&o[Jt],L[Yt]=T||o&&o[Yt],L[9]=O||o&&o[9]||null,L[5]=_,L[19]=Mr++,L[6]=D,L[20]=N,L[sn]=2==m.type?o[sn]:L,L}function ev(o,m,v){let w=je(m,o),b=function(o){let m=o.tView;return null===m||m.incompleteFirstPass?o.tView=Mc(1,null,o.template,o.decls,o.vars,o.directiveDefs,o.pipeDefs,o.viewQuery,o.schemas,o.consts,o.id):m}(v),_=o[Jt].rendererFactory,x=Nc(o,_c(o,b,null,Tf(v),w,m,null,_.createRenderer(w,v),null,null,null));return o[m.index]=x}function Tf(o){let m=16;return o.signals?m=4096:o.onPush&&(m=64),m}function Mf(o,m,v,w){if(0===v)return-1;let b=m.length;for(let b=0;b<v;b++)m.push(w),o.blueprint.push(w),o.data.push(null);return b}function Nc(o,m){return o[12]?o[13][4]=m:o[12]=m,o[13]=m,m}function tN(o=1){_f(te(),F(),dt()+o,!1)}function _f(o,m,v,w){if(!w)if(3&~m[2]){let w=o.preOrderHooks;null!==w&&xo(m,w,0,v)}else{let w=o.preOrderCheckHooks;null!==w&&Ro(m,w,v)}kt(v)}var ji=function(o){return o[o.None=0]="None",o[o.SignalBased=1]="SignalBased",o[o.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",o}(ji||{});function Sa(o,m,v,w){let b=R(null);try{let[b,_,x]=o.inputs[v],T=null;0!==(_&ji.SignalBased)&&(T=m[b][N]),null!==T&&void 0!==T.transformFn?w=T.transformFn(w):null!==x&&(w=x.call(m,w)),null!==o.setInput?o.setInput(m,T,w,v,b):Dd(m,T,b,w)}finally{R(b)}}function Nf(o,m,v,w,b){let _=dt(),x=2&w;try{kt(-1),x&&m.length>bn&&_f(o,m,bn,!1),v(w,b)}finally{kt(_)}}function Rc(o,m,v){(function(o,m,v){let w=v.directiveStart,b=v.directiveEnd;Dn(v)&&ev(m,v,o.data[w+v.componentOffset]),o.firstCreatePass||Go(v,m);let _=v.initialInputs;for(let x=w;x<b;x++){let b=o.data[x],T=tr(m,o,x,v);if(mr(T,m),null!==_&&dv(m,x-w,T,b,v,_),ke(b)){Fe(v.index,m)[8]=tr(m,o,x,v)}}})(o,m,v),!(64&~v.flags)&&function(o,m,v){let w=v.directiveStart,b=v.directiveEnd,_=v.index,x=Rn.lFrame.currentDirectiveIndex;try{kt(_);for(let v=w;v<b;v++){let w=o.data[v],b=m[v];pa(v),(null!==w.hostBindings||0!==w.hostVars||null!==w.hostAttrs)&&cv(w,b)}}finally{kt(-1),pa(x)}}(o,m,v)}function Rf(o,m,v=je){let w=m.localNames;if(null!==w){let b=m.index+1;for(let _=0;_<w.length;_+=2){let x=w[_+1],T=-1===x?v(m,o):o[x];o[b++]=T}}}function tv(o,m,v,w){let b=w.get(ri,ti)||v===_i.ShadowDom,_=o.selectRootElement(m,b);return function(o){rv(o)}(_),_}var rv=()=>null;function xf(o,m,v,w,b,_,x,T){if(T||!xc(m,o,v,w,b))if(3&m.type){let o=je(m,v);w=function(o){return"class"===o?"className":"for"===o?"htmlFor":"formaction"===o?"formAction":"innerHtml"===o?"innerHTML":"readonly"===o?"readOnly":"tabindex"===o?"tabIndex":o}(w),b=null!=x?x(b,m.value||"",w):b,_.setProperty(o,w,b)}else m.type;else Dn(m)&&function(o,m){let v=Fe(m,o);16&v[2]||(v[2]|=64)}(v,m.index)}function cv(o,m){null!==o.hostBindings&&o.hostBindings(1,m)}function Af(o,m){let v=o.directiveRegistry,w=null;if(v)for(let o=0;o<v.length;o++){let b=v[o];Gy(m,b.selectors,!1)&&(w??=[],ke(b)?w.unshift(b):w.push(b))}return w}function uv(o,m,v,w,b,_){m[1].firstUpdatePass&&function(o){if(o.toLowerCase().startsWith("on"))throw new We(306,!1)}(v);let x=je(o,m);!function(o,m,v,w,b,_,x){if(null==_)o.removeAttribute(m,b,v);else{let T=null==x?ai(_):x(_,w||"",b);o.setAttribute(m,b,T,v)}}(m[Yt],x,_,o.value,v,w,b)}function dv(o,m,v,w,b,_){let x=_[m];if(null!==x)for(let o=0;o<x.length;o+=2){Sa(w,v,x[o],x[o+1])}}function xc(o,m,v,w,b){let _=o.inputs?.[w],x=o.hostDirectiveInputs?.[w],T=!1;if(x)for(let o=0;o<x.length;o+=2){let w=x[o],_=x[o+1];Sa(m.data[w],v[w],_,b),T=!0}if(_)for(let o of _){let _=v[o];Sa(m.data[o],_,w,b),T=!0}return T}function hv(o,m){let v=Fe(m,o),w=v[1];!function(o,m){for(let v=m.length;v<o.blueprint.length;v++)m.push(o.blueprint[v])}(w,v);let b=v[0];null!==b&&null===v[6]&&(v[6]=(v[9],null)),Ac(w,v,v[8]),v[8]}function Ac(o,m,v){hc(m);try{let w=o.viewQuery;null!==w&&ba(1,w,v);let b=o.template;null!==b&&Nf(o,m,b,1,v),o.firstCreatePass&&(o.firstCreatePass=!1),m[fn]?.finishViewCreation(o),o.staticContentQueries&&vf(o,m),o.staticViewQueries&&ba(2,o.viewQuery,v);let _=o.components;null!==_&&function(o,m){for(let v=0;v<m.length;v++)hv(o,m[v])}(m,_)}catch(m){throw o.firstCreatePass&&(o.incompleteFirstPass=!0,o.firstCreatePass=!1),m}finally{m[2]&=-5,pc()}}function gi(o,m,v,w){let b=R(null);try{let b=m.tView,_=_c(o,b,v,4096&o[2]?4096:16,null,m,null,null,w?.injector??null,w?.embeddedViewInjector??null,w?.dehydratedView??null),x=o[m.index];_[cn]=x;let T=o[fn];return null!==T&&(_[fn]=T.createEmbeddedView(b)),Ac(b,_,v),_}finally{R(b)}}function rr(o,m){return!m||null===m.firstChild||af(o)}function Oc(o,m){return(void 0)(o,m)}var Pi=function(o){return o[o.Important=1]="Important",o[o.DashCase=2]="DashCase",o}(Pi||{});function Of(o){return!(32&~o.flags)}function an(o,m,v,w,b){if(null!=w){let _,x=!1;Ke(w)?_=w:ut(w)&&(x=!0,w=w[0]);let T=Pe(w);0===o&&null!==v?null==b?wf(m,v,T):Qo(m,v,T,b||null,!0):1===o&&null!==v?Qo(m,v,T,b||null,!0):2===o?function(o,m,v){o.removeChild(null,m,v)}(m,T,x):3===o&&m.destroyNode(T),null!=_&&function(o,m,v,w,b){let _=v[7],x=Pe(v);_!==x&&an(m,o,w,_,b);for(let b=Sn;b<v.length;b++){let x=v[b];yi(x[1],x,o,m,w,_)}}(m,o,_,v,b)}}function kf(o,m){m[Jt].changeDetectionScheduler?.notify(9),yi(o,m,m[Yt],2,null,null)}function kc(o,m){let v=o[9],w=v.indexOf(m);v.splice(w,1)}function mi(o,m){if(En(m))return;let v=m[Yt];v.destroyNode&&yi(o,m,v,3,null,null),function(o){let m=o[12];if(!m)return Qs(o[1],o);for(;m;){let v=null;if(ut(m))v=m[12];else{let o=m[Sn];o&&(v=o)}if(!v){for(;m&&!m[4]&&m!==o;)ut(m)&&Qs(m[1],m),m=m[3];null===m&&(m=o),ut(m)&&Qs(m[1],m),v=m&&m[4]}m=v}}(m)}function Qs(o,m){if(En(m))return;let v=R(null);try{m[2]&=-129,m[2]|=256,m[vn]&&$n(m[vn]),function(o,m){let v;if(null!=o&&null!=(v=o.destroyHooks))for(let o=0;o<v.length;o+=2){let w=m[v[o]];if(!(w instanceof Qn)){let m=v[o+1];if(Array.isArray(m))for(let o=0;o<m.length;o+=2){let v=w[m[o]],b=m[o+1];B(0,v);try{b.call(v)}finally{B(0,v)}}else{B(0,w);try{m.call(w)}finally{B(0,w)}}}}}(o,m),function(o,m){let v=o.cleanup,w=m[7];if(null!==v)for(let o=0;o<v.length-1;o+=2)if("string"==typeof v[o]){let m=v[o+3];m>=0?w[m]():w[-m].unsubscribe(),o+=2}else{let m=w[v[o+1]];v[o].call(m)}null!==w&&(m[7]=null);let b=m[gn];if(null!==b){m[gn]=null;for(let o=0;o<b.length;o++){(0,b[o])()}}let _=m[mn];if(null!==_){m[mn]=null;for(let o of _)o.destroy()}}(o,m),1===m[1].type&&m[Yt].destroy();let v=m[cn];if(null!==v&&Ke(m[3])){v!==m[3]&&kc(v,m);let w=m[fn];null!==w&&w.detachView(o)}Ia(m)}finally{R(v)}}function Iv(o,m,v){return function(o,m,v){let w=m;for(;null!==w&&168&w.type;)w=(m=w).parent;if(null===w)return v[0];if(Dn(w)){let{encapsulation:m}=o.data[w.directiveStart+w.componentOffset];if(m===_i.None||m===_i.Emulated)return null}return je(w,v)}(o,m.parent,v)}var Tv=function(o,m,v){return 40&o.type?je(o,v):null};function Pc(o,m,v,w){let b=Iv(o,w,m),_=m[Yt],x=function(o,m,v){return Tv(o,m,v)}(w.parent||m[5],w,m);if(null!=b)if(Array.isArray(v))for(let o=0;o<v.length;o++)Ol(_,b,v[o],x,!1);else Ol(_,b,v,x,!1)}function Zn(o,m){if(null!==m){let v=m.type;if(3&v)return je(m,o);if(4&v)return Ta(-1,o[m.index]);if(8&v){let v=m.child;if(null!==v)return Zn(o,v);{let v=o[m.index];return Ke(v)?Ta(-1,v):Pe(v)}}if(128&v)return Zn(o,m.next);if(32&v)return Oc(m,o)()||Pe(o[m.index]);{let v=Pf(o,m);if(null!==v){if(Array.isArray(v))return v[0];return Zn(Ot(o[sn]),v)}return Zn(o,m.next)}}return null}function Pf(o,m){if(null!==m){let v=o[sn][5],w=m.projection;return v.projection[w]}return null}function Ta(o,m){let v=Sn+o+1;if(v<m.length){let o=m[v],w=o[1].firstChild;if(null!==w)return Zn(o,w)}return m[7]}function Fc(o,m,v,w,b,_,x){for(;null!=v;){if(128===v.type){v=v.next;continue}let T=w[v.index],O=v.type;if(x&&0===m&&(T&&mr(Pe(T),w),v.flags|=2),!Of(v))if(8&O)Fc(o,m,v.child,w,b,_,!1),an(m,o,b,T,_);else if(32&O){let x,O=Oc(v,w);for(;x=O();)an(m,o,b,x,_);an(m,o,b,T,_)}else 16&O?Mv(o,m,w,v,b,_):an(m,o,b,T,_);v=x?v.projectionNext:v.next}}function yi(o,m,v,w,b,_){Fc(v,w,o.firstChild,m,b,_,!1)}function Mv(o,m,v,w,b,_){let x=v[sn],T=x[5].projection[w.projection];if(Array.isArray(T))for(let v=0;v<T.length;v++){an(m,o,b,T[v],_)}else{let v=T,O=x[3];af(w)&&(v.flags|=128),Fc(o,m,v,O,b,_,!0)}}function Ko(o,m,v,w,b=!1){for(;null!==v;){if(128===v.type){v=b?v.projectionNext:v.next;continue}let _=m[v.index];null!==_&&w.push(Pe(_)),Ke(_)&&Rv(_,w);let x=v.type;if(8&x)Ko(o,m,v.child,w);else if(32&x){let o,b=Oc(v,m);for(;o=b();)w.push(o)}else if(16&x){let o=Pf(m,v);if(Array.isArray(o))w.push(...o);else{let v=Ot(m[sn]);Ko(v[1],v,o,w,!0)}}v=b?v.projectionNext:v.next}return w}function Rv(o,m){for(let v=Sn;v<o.length;v++){let w=o[v],b=w[1].firstChild;null!==b&&Ko(w[1],w,b,m)}o[7]!==o[0]&&m.push(o[7])}function Ff(o){if(null!==o[25]){for(let m of o[25])m.impl.addSequence(m);o[25].length=0}}var Di=[];function xv(o){return o[vn]??function(o){let m=Di.pop()??Object.create(Fi);return m.lView=o,m}(o)}var Fi=j(y({},D),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:o=>{hr(o.lView)},consumerOnSignalRead(){this.lView[vn]=this}});var Mi=j(y({},D),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:o=>{let m=Ot(o.lView);for(;m&&!jf(m[1]);)m=Ot(m);m&&Td(m)},consumerOnSignalRead(){this.lView[vn]=this}});function jf(o){return 2!==o.type}function Vf(o){if(null===o[mn])return;let m=!0;for(;m;){let v=!1;for(let m of o[mn])m.dirty&&(v=!0,null===m.zone||Zone.current===m.zone?m.run():m.zone.run(()=>m.run()));m=v&&!!(8192&o[2])}}function Bf(o,m=!0,v=0){let w=o[Jt].rendererFactory;w.begin?.();try{!function(o,m){let v=xd();try{Ho(!0),Ma(o,m);let v=0;for(;di(o);){if(100===v)throw new We(103,!1);v++,Ma(o,1)}}finally{Ho(v)}}(o,v)}catch(v){throw m&&function(o,m){let v=o[9],w=v?v.get(jr,null):null;w&&w.handleError(m)}(o,v),v}finally{w.end?.()}}function Vv(o,m,v,w){if(En(m))return;let b=m[2];hc(m);let _=!0,T=null,O=null;jf(o)?(O=xv(m),T=Un(O)):null===x?(_=!1,O=function(o){let m=o[vn]??Object.create(Mi);return m.lView=o,m}(m),T=Un(O)):m[vn]&&($n(m[vn]),m[vn]=null);try{Sd(m),function(o){Rn.lFrame.bindingIndex=o}(o.bindingStartIndex),null!==v&&Nf(o,m,v,2,w);let _=!(3&~b);if(_){let v=o.preOrderCheckHooks;null!==v&&Ro(m,v,null)}else{let v=o.preOrderHooks;null!==v&&xo(m,v,0,null),Zs(m,0)}if(function(o){for(let m=lf(o);null!==m;m=df(m)){if(!(2&m[2]))continue;let o=m[9];for(let m=0;m<o.length;m++){Td(o[m])}}}(m),Vf(m),Uf(m,0),null!==o.contentQueries&&vf(o,m),_){let v=o.contentCheckHooks;null!==v&&Ro(m,v)}else{let v=o.contentHooks;null!==v&&xo(m,v,1),Zs(m,1)}!function(o,m){let v=o.hostBindingOpCodes;if(null!==v)try{for(let o=0;o<v.length;o++){let w=v[o];if(w<0)kt(~w);else{let b=w,_=v[++o],x=v[++o];km(_,b);let T=m[b];B(0,T),x(2,T),B(0,T)}}}finally{kt(-1)}}(o,m);let x=o.components;null!==x&&Hf(m,x,0);let T=o.viewQuery;if(null!==T&&ba(2,T,w),_){let v=o.viewCheckHooks;null!==v&&Ro(m,v)}else{let v=o.viewHooks;null!==v&&xo(m,v,2),Zs(m,2)}if(!0===o.firstUpdatePass&&(o.firstUpdatePass=!1),m[22]){for(let o of m[22])o();m[22]=null}Ff(m),m[2]&=-73}catch(o){throw hr(m),o}finally{null!==O&&(Kr(O,T),_&&function(o){o.lView[vn]!==o&&(o.lView=null,Di.push(o))}(O)),pc()}}function Uf(o,m){for(let v=lf(o);null!==v;v=df(v))for(let o=Sn;o<v.length;o++){$f(v[o],m)}}function Uv(o,m,v){let w=Fe(m,o);$f(w,v),w[8]}function $f(o,m){uc(o)&&Ma(o,m)}function Ma(o,m){let v=o[1],w=o[2],b=o[vn],_=!!(0===m&&16&w);if(_||=!!(64&w&&0===m),_||=!!(1024&w),_||=!(!b?.dirty||!Jr(b)),_||=!1,b&&(b.dirty=!1),o[2]&=-9217,_)Vv(v,o,v.template,o[8]);else if(8192&w){Vf(o),Uf(o,1);let m=v.components;null!==m&&Hf(o,m,1),Ff(o)}}function Hf(o,m,v){for(let w=0;w<m.length;w++)Uv(o,m[w],v)}function Lc(o,m){let v=xd()?64:1088;for(o[Jt].changeDetectionScheduler?.notify(m);o;){o[2]|=v;let m=Ot(o);if($o(o)&&!m)return o;o=m}return null}function zf(o,m,v,w){return[o,!0,0,m,null,w,null,v,null,null]}function qf(o,m){let v=Sn+m;if(v<o.length)return o[v]}function vi(o,m,v,w=!0){let b=m[1];if(function(o,m,v,w){let b=Sn+w,_=v.length;w>0&&(v[b-1][4]=m),w<_-Sn?(m[4]=v[b],ad(v,Sn+w,m)):(v.push(m),m[4]=null),m[3]=v;let x=m[cn];null!==x&&v!==x&&Wf(x,m);let T=m[fn];null!==T&&T.insertView(o),fa(m),m[2]|=128}(b,m,o,v),w){let w=Ta(v,o),_=m[Yt],x=_.parentNode(o[7]);null!==x&&function(o,m,v,w,b,_){w[0]=b,w[5]=m,yi(o,w,v,1,b,_)}(b,o[5],_,m,x,w)}let _=m[6];null!==_&&null!==_.firstChild&&(_.firstChild=null)}function Gf(o,m){let v=or(o,m);return void 0!==v&&mi(v[1],v),v}function or(o,m){if(o.length<=Sn)return;let v=Sn+m,w=o[v];if(w){let b=w[cn];null!==b&&b!==o&&kc(b,w),m>0&&(o[v-1][4]=w[4]);let _=jo(o,Sn+m);!function(o,m){kf(o,m),m[0]=null,m[5]=null}(w[1],w);let x=_[fn];null!==x&&x.detachView(_[1]),w[3]=null,w[4]=null,w[2]&=-129}return w}function Wf(o,m){let v=o[9],w=m[3];if(ut(w))o[2]|=2;else{let v=w[3][sn];m[sn]!==v&&(o[2]|=2)}null===v?o[9]=[m]:v.push(m)}var zi=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let o=this._lView,m=o[1];return Ko(m,o,m.firstChild,[])}constructor(o,m,v=!0){this._lView=o,this._cdRefInjectingView=m,this.notifyErrorHandler=v}get context(){return this._lView[8]}set context(o){this._lView[8]=o}get destroyed(){return En(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let o=this._lView[3];if(Ke(o)){let m=o[8],v=m?m.indexOf(this):-1;v>-1&&(or(o,v),jo(m,v))}this._attachedToViewContainer=!1}mi(this._lView[1],this._lView)}onDestroy(o){Md(this._lView,o)}markForCheck(){Lc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){fa(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Bf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new We(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let o=$o(this._lView),m=this._lView[cn];null!==m&&!o&&kc(m,this._lView),kf(this._lView[1],this._lView)}attachToAppRef(o){if(this._attachedToViewContainer)throw new We(902,!1);this._appRef=o;let m=$o(this._lView),v=this._lView[cn];null!==v&&!m&&Wf(v,this._lView),fa(this._lView)}},$i=class{static __NG_ELEMENT_ID__=Gv},qi=$i,Gi=class extends qi{_declarationLView;_declarationTContainer;elementRef;constructor(o,m,v){super(),this._declarationLView=o,this._declarationTContainer=m,this.elementRef=v}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(o,m){return this.createEmbeddedViewImpl(o,m)}createEmbeddedViewImpl(o,m,v){let w=gi(this._declarationLView,this._declarationTContainer,o,{embeddedViewInjector:m,dehydratedView:v});return new zi(w)}};function Gv(){return jc(De(),F())}function jc(o,m){return 4&o.type?new Gi(m,o,In(o,m)):null}function Vc(o,m,v,w,b){let _=o.data[m];if(null===_)_=function(o,m,v,w,b){let _=Nd(),x=Rd(),T=x?_:_&&_.parent,O=o.data[m]=function(o,m,v,w,b,_){let x=m?m.injectorIndex:-1,T=0;return null!==Rn.skipHydrationRootTNode&&(T|=128),{type:v,index:w,insertBeforeIndex:null,injectorIndex:x,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:T,providerIndexes:0,value:b,attrs:_,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:m,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,T,v,m,w,b);return function(o,m,v,w){null===o.firstChild&&(o.firstChild=m),null!==v&&(w?null==v.child&&null!==m.parent&&(v.child=m):null===v.next&&(v.next=m,m.prev=v))}(o,O,_,x),O}(o,m,v,w,b),Rn.lFrame.inI18n&&(_.flags|=32);else if(64&_.type){_.type=v,_.value=w,_.attrs=b;let o=function(){let o=Rn.lFrame,m=o.currentTNode;return o.isParent?m:m.parent}();_.injectorIndex=null===o?-1:o.injectorIndex}return pr(_,!0),_}new RegExp("^(\\d+)*(b|h)*(.*)");var Zi=class{},Wi=class{},Qi=class{resolveComponentFactory(o){throw Error(`No component factory found for ${de(o)}.`)}},Ki=class{static NULL=new Qi},Ji=class{},Xi=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>function(){let o=F(),m=Fe(De().index,o);return(ut(m)?m:o)[Yt]}()};var Yi=(()=>{class e{static ɵprov=E({token:e,providedIn:"root",factory:()=>null})}return e})(),es={},ts=class{injector;parentInjector;constructor(o,m){this.injector=o,this.parentInjector=m}get(o,m,v){v=ci(v);let w=this.injector.get(o,es,v);return w!==es||m===es?w:this.parentInjector.get(o,m,v)}};function Fl(o,m,v){let w=v?o.styles:null,b=v?o.classes:null,_=0;if(null!==m)for(let o=0;o<m.length;o++){let v=m[o];if("number"==typeof v)_=v;else if(1==_)b=ia(b,v);else if(2==_){w=ia(w,v+": "+m[++o]+";")}}v?o.styles=w:o.stylesWithoutHost=w,v?o.classes=b:o.classesWithoutHost=b}function Ei(o,m=Ct.Default){let v=F();return null===v?I(o,m):Zd(De(),v,ie(o),m)}function Yf(o,m,v,w,b){let _=null===w?null:{"":-1},x=b(o,v);if(null!==x){let w,b=null,T=null,O=function(o){let m=null,v=!1;for(let w=0;w<o.length;w++){let b=o[w];if(0===w&&ke(b)&&(m=b),null!==b.findHostDirectiveDefs){v=!0;break}}if(!v)return null;let w=null,b=null,_=null;for(let v of o)null!==v.findHostDirectiveDefs&&(w??=[],b??=new Map,_??=new Map,rD(v,w,_,b)),v===m&&(w??=[],w.push(v));return null!==w?(w.push(...null===m?o:o.slice(1)),[w,b,_]):null}(x);null===O?w=x:[w,b,T]=O,function(o,m,v,w,b,_,x){let T=w.length,O=!1;for(let b=0;b<T;b++){let _=w[b];!O&&ke(_)&&(O=!0,oD(o,v,b)),ma(Go(v,m),o,_.type)}!function(o,m,v){o.flags|=1,o.directiveStart=m,o.directiveEnd=m+v,o.providerIndexes=m}(v,o.data.length,T);for(let o=0;o<T;o++){let m=w[o];m.providersResolver&&m.providersResolver(m)}let N=!1,D=!1,L=Mf(o,m,T,null);T>0&&(v.directiveToIndex=new Map);for(let O=0;O<T;O++){let T=w[O];if(v.mergedAttrs=er(v.mergedAttrs,T.hostAttrs),aD(o,v,m,L,T),lD(L,T,b),null!==x&&x.has(T)){let[o,m]=x.get(T);v.directiveToIndex.set(T.type,[L,o+v.directiveStart,m+v.directiveStart])}else(null===_||!_.has(T))&&v.directiveToIndex.set(T.type,L);null!==T.contentQueries&&(v.flags|=4),(null!==T.hostBindings||null!==T.hostAttrs||0!==T.hostVars)&&(v.flags|=64);let U=T.type.prototype;!N&&(U.ngOnChanges||U.ngOnInit||U.ngDoCheck)&&((o.preOrderHooks??=[]).push(v.index),N=!0),!D&&(U.ngOnChanges||U.ngDoCheck)&&((o.preOrderCheckHooks??=[]).push(v.index),D=!0),L++}!function(o,m,v){for(let w=m.directiveStart;w<m.directiveEnd;w++){let b=o.data[w];if(null!==v&&v.has(b)){let o=v.get(b);jl(0,m,o,w),jl(1,m,o,w),Vl(m,w,!0)}else Ll(0,m,b,w),Ll(1,m,b,w),Vl(m,w,!1)}}(o,v,_)}(o,m,v,w,_,b,T)}null!==_&&null!==w&&function(o,m,v){let w=o.localNames=[];for(let o=0;o<m.length;o+=2){let b=v[m[o+1]];if(null==b)throw new We(-301,!1);w.push(m[o],b)}}(v,w,_)}function rD(o,m,v,w){let b=m.length;o.findHostDirectiveDefs(o,m,w),v.set(o,[b,m.length-1])}function oD(o,m,v){m.componentOffset=v,(o.components??=[]).push(m.index)}function Ll(o,m,v,w){let b=0===o?v.inputs:v.outputs;for(let v in b)if(b.hasOwnProperty(v)){let b;b=0===o?m.inputs??={}:m.outputs??={},b[v]??=[],b[v].push(w),Qf(m,v)}}function jl(o,m,v,w){let b=0===o?v.inputs:v.outputs;for(let v in b)if(b.hasOwnProperty(v)){let _,x=b[v];_=0===o?m.hostDirectiveInputs??={}:m.hostDirectiveOutputs??={},_[x]??=[],_[x].push(w,v),Qf(m,x)}}function Qf(o,m){"class"===m?o.flags|=8:"style"===m&&(o.flags|=16)}function Vl(o,m,v){let{attrs:w,inputs:b,hostDirectiveInputs:_}=o;if(null===w||!v&&null===b||v&&null===_||Tc(o))return o.initialInputs??=[],void o.initialInputs.push(null);let x=null,T=0;for(;T<w.length;){let o=w[T];if(0!==o)if(5!==o){if("number"==typeof o)break;if(!v&&b.hasOwnProperty(o)){let v=b[o];for(let b of v)if(b===m){x??=[],x.push(o,w[T+1]);break}}else if(v&&_.hasOwnProperty(o)){let v=_[o];for(let o=0;o<v.length;o+=2)if(v[o]===m){x??=[],x.push(v[o+1],w[T+1]);break}}T+=2}else T+=2;else T+=4}o.initialInputs??=[],o.initialInputs.push(x)}function aD(o,m,v,w,b){o.data[w]=b;let _=b.factory||(b.factory=un(b.type)),x=new Qn(_,ke(b),Ei);o.blueprint[w]=x,v[w]=x,function(o,m,v,w,b){let _=b.hostBindings;if(_){let b=o.hostBindingOpCodes;null===b&&(b=o.hostBindingOpCodes=[]);let x=~m.index;(function(o){let m=o.length;for(;m>0;){let v=o[--m];if("number"==typeof v&&v<0)return v}return 0})(b)!=x&&b.push(x),b.push(v,w,_)}}(o,m,w,Mf(o,v,b.hostVars,Ni),b)}function lD(o,m,v){if(v){if(m.exportAs)for(let w=0;w<m.exportAs.length;w++)v[m.exportAs[w]]=o;ke(m)&&(v[""]=o)}}function Kf(o,m,v,w,b,_,x,T){let O=m.consts,N=Vc(m,o,2,w,pn(O,x));return _&&Yf(m,v,N,pn(O,T),b),N.mergedAttrs=er(N.mergedAttrs,N.attrs),null!==N.attrs&&Fl(N,N.attrs,!1),null!==N.mergedAttrs&&Fl(N,N.mergedAttrs,!0),null!==m.queries&&m.queries.elementStart(m,N),N}function Jf(o,m){Bd(o,m),vd(m)&&o.queries.elementEnd(m)}var ns=class extends Ki{ngModule;constructor(o){super(),this.ngModule=o}resolveComponentFactory(o){let m=ln(o);return new is(m,this.ngModule)}};var is=class extends Wi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function(o){return Object.keys(o).map(m=>{let[v,w,b]=o[m],_={propName:v,templateName:m,isSignal:0!==(w&ji.SignalBased)};return b&&(_.transform=b),_})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function(o){return Object.keys(o).map(m=>({propName:o[m],templateName:m}))}(this.componentDef.outputs),this.cachedOutputs}constructor(o,m){super(),this.componentDef=o,this.ngModule=m,this.componentType=o.type,this.selector=function(o){return o.map(Yy).join(",")}(o.selectors),this.ngContentSelectors=o.ngContentSelectors??[],this.isBoundToModule=!!m}create(o,m,v,w){let b=R(null);try{let b=this.componentDef,_=v?["ng-version","19.2.22"]:function(o){let m=[],v=[],w=1,b=2;for(;w<o.length;){let _=o[w];if("string"==typeof _)2===b?""!==_&&m.push(_,o[++w]):8===b&&v.push(_);else{if(!Te(b))break;b=_}w++}return v.length&&m.push(1,...v),m}(this.componentDef.selectors[0]),x=Mc(0,null,null,1,0,null,null,null,null,[_],null),T=function(o,m,v){let w=m instanceof Wt?m:m?.injector;return w&&null!==o.getStandaloneInjector&&(w=o.getStandaloneInjector(w)||w),w?new ts(v,w):v}(b,w||this.ngModule,o),O=function(o){let m=o.get(Ji,null);if(null===m)throw new We(407,!1);return{rendererFactory:m,sanitizer:o.get(Yi,null),changeDetectionScheduler:o.get(cr,null)}}(T),N=O.rendererFactory.createRenderer(null,b),D=v?tv(N,v,b.encapsulation,T):function(o,m){let v=(o.selectors[0][0]||"div").toLowerCase();return Ef(m,v,"svg"===v?"svg":"math"===v?"math":null)}(b,N),L=_c(null,x,null,512|Tf(b),null,null,O,N,T,null,null);L[bn]=D,hc(L);let U=null;try{let o=Kf(bn,x,L,"#host",()=>[this.componentDef],!0,0);D&&(If(N,D,o),mr(D,L)),Rc(x,L,o),Df(x,o,L),Jf(x,o),void 0!==m&&function(o,m,v){let w=o.projection=[];for(let o=0;o<m.length;o++){let m=v[o];w.push(null!=m&&m.length?Array.from(m):null)}}(o,this.ngContentSelectors,m),U=Fe(o.index,L),L[8]=U[8],Ac(x,L,null)}catch(o){throw null!==U&&Ia(U),Ia(L),o}finally{pc()}return new ss(this.componentType,L)}finally{R(b)}}},ss=class extends Zi{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(o,m){super(),this._rootLView=m,this._tNode=cc(m[1],bn),this.location=In(this._tNode,m),this.instance=Fe(this._tNode.index,m)[8],this.hostView=this.changeDetectorRef=new zi(m,void 0,!1),this.componentType=o}setInput(o,m){let v=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(o)&&Object.is(this.previousInputValues.get(o),m))return;let w=this._rootLView;xc(v,w[1],w,o,m);this.previousInputValues.set(o,m),Lc(Fe(v.index,w),1)}get injector(){return new Yn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(o){this.hostView.onDestroy(o)}};var ls=class{static __NG_ELEMENT_ID__=vD};function vD(){return eh(De(),F())}var as=ls,us=class extends as{_lContainer;_hostTNode;_hostLView;constructor(o,m,v){super(),this._lContainer=o,this._hostTNode=m,this._hostLView=v}get element(){return In(this._hostTNode,this._hostLView)}get injector(){return new Yn(this._hostTNode,this._hostLView)}get parentInjector(){let o=vc(this._hostTNode,this._hostLView);if($d(o)){let m=qo(o,this._hostLView),v=zo(o),w=m[1].data[v+8];return new Yn(w,m)}return new Yn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(o){let m=Bl(this._lContainer);return null!==m&&m[o]||null}get length(){return this._lContainer.length-Sn}createEmbeddedView(o,m,v){let w,b;"number"==typeof v?w=v:null!=v&&(w=v.index,b=v.injector);let _=(this._lContainer,o.ssrId,null),x=o.createEmbeddedViewImpl(m||{},b,_);return this.insertImpl(x,w,rr(this._hostTNode,_)),x}createComponent(o,m,v,w,b){let _,x=o&&!function(o){return"function"==typeof o}(o);if(x)_=m;else{let o=m||{};_=o.index,v=o.injector,w=o.projectableNodes,b=o.environmentInjector||o.ngModuleRef}let T=x?o:new is(ln(o)),O=v||this.parentInjector;if(!b&&null==T.ngModule){let o=(x?O:this.parentInjector).get(Wt,null);o&&(b=o)}ln(T.componentType??{});let N=(this._lContainer,null),D=N?.firstChild??null,L=T.create(O,w,D,b);return this.insertImpl(L.hostView,_,rr(this._hostTNode,N)),L}insert(o,m){return this.insertImpl(o,m,!0)}insertImpl(o,m,v){let w=o._lView;if(function(o){return Ke(o[3])}(w)){let m=this.indexOf(o);if(-1!==m)this.detach(m);else{let m=w[3],v=new us(m,m[5],m[3]);v.detach(v.indexOf(o))}}let b=this._adjustIndex(m),_=this._lContainer;return vi(_,w,b,v),o.attachToViewContainerRef(),ad(Js(_),b,o),o}move(o,m){return this.insert(o,m)}indexOf(o){let m=Bl(this._lContainer);return null!==m?m.indexOf(o):-1}remove(o){let m=this._adjustIndex(o,-1),v=or(this._lContainer,m);v&&(jo(Js(this._lContainer),m),mi(v[1],v))}detach(o){let m=this._adjustIndex(o,-1),v=or(this._lContainer,m);return v&&null!=jo(Js(this._lContainer),m)?new zi(v):null}_adjustIndex(o,m=0){return o??this.length+m}};function Bl(o){return o[8]}function Js(o){return o[8]||(o[8]=[])}function eh(o,m){let v,w=m[o.index];return Ke(w)?v=w:(v=zf(w,m,null,o),m[o.index]=v,Nc(m,v)),wD(v,m,o,w),new us(v,o,m)}var wD=function(o,m,v,w){if(o[7])return;let b;b=8&v.type?Pe(w):function(o,m){let v=o[Yt],w=v.createComment(""),b=je(m,o),_=v.parentNode(b);return Qo(v,_,w,v.nextSibling(b),!1),w}(m,v),o[7]=b};var hs=class e{queryList;matches=null;constructor(o){this.queryList=o}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ds=class e{queries;constructor(o=[]){this.queries=o}createEmbeddedView(o){let m=o.queries;if(null!==m){let v=null!==o.contentQueries?o.contentQueries[0]:m.length,w=[];for(let o=0;o<v;o++){let v=m.getByIndex(o),b=this.queries[v.indexInDeclarationView];w.push(b.clone())}return new e(w)}return null}insertView(o){this.dirtyQueriesWithMatches(o)}detachView(o){this.dirtyQueriesWithMatches(o)}finishViewCreation(o){this.dirtyQueriesWithMatches(o)}dirtyQueriesWithMatches(o){for(let m=0;m<this.queries.length;m++)null!==Bc(o,m).matches&&this.queries[m].setDirty()}},fs=class{flags;read;predicate;constructor(o,m,v=null){this.flags=m,this.read=v,this.predicate="string"==typeof o?function(o){return o.split(",").map(o=>o.trim())}(o):o}},ps=class e{queries;constructor(o=[]){this.queries=o}elementStart(o,m){for(let v=0;v<this.queries.length;v++)this.queries[v].elementStart(o,m)}elementEnd(o){for(let m=0;m<this.queries.length;m++)this.queries[m].elementEnd(o)}embeddedTView(o){let m=null;for(let v=0;v<this.length;v++){let w=null!==m?m.length:0,b=this.getByIndex(v).embeddedTView(o,w);b&&(b.indexInDeclarationView=v,null!==m?m.push(b):m=[b])}return null!==m?new e(m):null}template(o,m){for(let v=0;v<this.queries.length;v++)this.queries[v].template(o,m)}getByIndex(o){return this.queries[o]}get length(){return this.queries.length}track(o){this.queries.push(o)}},gs=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(o,m=-1){this.metadata=o,this._declarationNodeIndex=m}elementStart(o,m){this.isApplyingToNode(m)&&this.matchTNode(o,m)}elementEnd(o){this._declarationNodeIndex===o.index&&(this._appliesToNextNode=!1)}template(o,m){this.elementStart(o,m)}embeddedTView(o,m){return this.isApplyingToNode(o)?(this.crossesNgTemplate=!0,this.addMatch(-o.index,m),new e(this.metadata)):null}isApplyingToNode(o){if(this._appliesToNextNode&&1&~this.metadata.flags){let m=this._declarationNodeIndex,v=o.parent;for(;null!==v&&8&v.type&&v.index!==m;)v=v.parent;return m===(null!==v?v.index:-1)}return this._appliesToNextNode}matchTNode(o,m){let v=this.metadata.predicate;if(Array.isArray(v))for(let w=0;w<v.length;w++){let b=v[w];this.matchTNodeWithReadOption(o,m,SD(m,b)),this.matchTNodeWithReadOption(o,m,Ao(m,o,b,!1,!1))}else v===$i?4&m.type&&this.matchTNodeWithReadOption(o,m,-1):this.matchTNodeWithReadOption(o,m,Ao(m,o,v,!1,!1))}matchTNodeWithReadOption(o,m,v){if(null!==v){let w=this.metadata.read;if(null!==w)if(w===Lr||w===ls||w===$i&&4&m.type)this.addMatch(m.index,-2);else{let v=Ao(m,o,w,!1,!1);null!==v&&this.addMatch(m.index,v)}else this.addMatch(m.index,v)}}addMatch(o,m){null===this.matches?this.matches=[o,m]:this.matches.push(o,m)}};function SD(o,m){let v=o.localNames;if(null!==v)for(let o=0;o<v.length;o+=2)if(v[o]===m)return v[o+1];return null}function MD(o,m,v,w){return-1===v?function(o,m){return 11&o.type?In(o,m):4&o.type?jc(o,m):null}(m,o):-2===v?function(o,m,v){if(v===Lr)return In(m,o);if(v===$i)return jc(m,o);if(v===ls)return eh(m,o)}(o,m,w):tr(o,o[1],v,m)}function th(o,m,v,w){let b=m[fn].queries[w];if(null===b.matches){let w=o.data,_=v.matches,x=[];for(let o=0;null!==_&&o<_.length;o+=2){let b=_[o];if(b<0)x.push(null);else{let T=w[b];x.push(MD(m,T,_[o+1],v.metadata.read))}}b.matches=x}return b.matches}function Fa(o,m,v,w){let b=o.queries.getByIndex(v),_=b.matches;if(null!==_){let x=th(o,m,b,v);for(let o=0;o<_.length;o+=2){let v=_[o];if(v>0)w.push(x[o/2]);else{let b=_[o+1],x=m[-v];for(let o=Sn;o<x.length;o++){let m=x[o];m[cn]===m[3]&&Fa(m[1],m,b,w)}if(null!==x[9]){let o=x[9];for(let m=0;m<o.length;m++){let v=o[m];Fa(v[1],v,b,w)}}}}}return w}function RD(o,m,v){let w=new Vr(!(4&~v));return function(o,m,v,w){let b=lc(m);b.push(v),o.firstCreatePass&&dc(o).push(w,b.length-1)}(o,m,w,w.destroy),(m[fn]??=new ds).queries.push(new hs(w))-1}function xD(o,m,v){let w=te();return w.firstCreatePass&&(function(o,m,v){null===o.queries&&(o.queries=new ps),o.queries.track(new gs(m,v))}(w,new fs(o,m,v),-1),!(2&~m)&&(w.staticViewQueries=!0)),RD(w,F(),m)}function Bc(o,m){return o.queries.getByIndex(m)}function kD(o,m){let v=o[1],w=Bc(v,m);return w.crossesNgTemplate?Fa(v,o,m,[]):th(v,o,w,m)}var ms=class{},bs=class{},Ss=class extends ms{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ns(this);constructor(o,m,v,w=!0){super(),this.ngModuleType=o,this._parent=m;let b=ld(o);this._bootstrapComponents=bf(b.bootstrap),this._r3Injector=Kd(o,m,[{provide:ms,useValue:this},{provide:Ki,useValue:this.componentFactoryResolver},...v],de(o),new Set(["environment"])),w&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let o=this._r3Injector;!o.destroyed&&o.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(o){this.destroyCbs.push(o)}},_s=class extends bs{moduleType;constructor(o){super(),this.moduleType=o}create(o){return new Ss(this.moduleType,o,[])}},Es=class extends ms{injector;componentFactoryResolver=new ns(this);instance=null;constructor(o){super();let m=new Kt([...o.providers,{provide:ms,useValue:this},{provide:Ki,useValue:this.componentFactoryResolver}],o.parent||ic(),o.debugName,new Set(["environment"]));this.injector=m,o.runEnvironmentInitializers&&m.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(o){this.injector.onDestroy(o)}};function wi(o,m,v=null){return new Es({providers:o,parent:m,debugName:v,runEnvironmentInitializers:!0}).injector}var ks=(()=>{class e{_injector;cachedInjectors=new Map;constructor(o){this._injector=o}getOrCreateStandaloneInjector(o){if(!o.standalone)return null;if(!this.cachedInjectors.has(o)){let m=dd(0,o.type),v=m.length>0?wi([m],this._injector,`Standalone[${o.type.name}]`):null;this.cachedInjectors.set(o,v)}return this.cachedInjectors.get(o)}ngOnDestroy(){try{for(let o of this.cachedInjectors.values())null!==o&&o.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=E({token:e,providedIn:"environment",factory:()=>new e(I(Wt))})}return e})();function nh(o){return oi(()=>{let m=rh(o),v=j(y({},m),{decls:o.decls,vars:o.vars,template:o.template,consts:o.consts||null,ngContentSelectors:o.ngContentSelectors,onPush:o.changeDetection===Ur.OnPush,directiveDefs:null,pipeDefs:null,dependencies:m.standalone&&o.dependencies||null,getStandaloneInjector:m.standalone?o=>o.get(ks).getOrCreateStandaloneInjector(v):null,getExternalStyles:null,signals:o.signals??!1,data:o.data||{},encapsulation:o.encapsulation||_i.Emulated,styles:o.styles||Pt,_:null,schemas:o.schemas||null,tView:null,id:""});m.standalone&&hi("NgStandalone"),oh(v);let w=o.dependencies;return v.directiveDefs=Ul(w,!1),v.pipeDefs=Ul(w,!0),v.id=function(o){let m=0,v="function"==typeof o.consts?"":o.consts,w=[o.selectors,o.ngContentSelectors,o.hostVars,o.hostAttrs,v,o.vars,o.decls,o.encapsulation,o.standalone,o.signals,o.exportAs,JSON.stringify(o.inputs),JSON.stringify(o.outputs),Object.getOwnPropertyNames(o.type.prototype),!!o.contentQueries,!!o.viewQuery];for(let o of w.join("|"))m=Math.imul(31,m)+o.charCodeAt(0)|0;return m+=2147483648,"c"+m}(v),v})}function FD(o){return ln(o)||function(o){return o[ft]||null}(o)}function LD(o){return null!==o}function Ii(o){return oi(()=>({type:o.type,bootstrap:o.bootstrap||Pt,declarations:o.declarations||Pt,imports:o.imports||Pt,exports:o.exports||Pt,transitiveCompileScopes:null,schemas:o.schemas||null,id:o.id||null}))}function jD(o,m){if(null==o)return jt;let v={};for(let w in o)if(o.hasOwnProperty(w)){let b,_,x,T,O=o[w];Array.isArray(O)?(x=O[0],b=O[1],_=O[2]??b,T=O[3]||null):(b=O,_=O,x=ji.None,T=null),v[b]=[w,x,T],m[b]=_}return v}function VD(o){if(null==o)return jt;let m={};for(let v in o)o.hasOwnProperty(v)&&(m[o[v]]=v);return m}function $c(o){return oi(()=>{let m=rh(o);return oh(m),m})}function rh(o){let m={};return{type:o.type,providersResolver:null,factory:null,hostBindings:o.hostBindings||null,hostVars:o.hostVars||0,hostAttrs:o.hostAttrs||null,contentQueries:o.contentQueries||null,declaredInputs:m,inputConfig:o.inputs||jt,exportAs:o.exportAs||null,standalone:o.standalone??!0,signals:!0===o.signals,selectors:o.selectors||Pt,viewQuery:o.viewQuery||null,features:o.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:jD(o.inputs,m),outputs:VD(o.outputs),debugInfo:null}}function oh(o){o.features?.forEach(m=>m(o))}function Ul(o,m){if(!o)return null;let v=m?em:FD;return()=>("function"==typeof o?o():o).map(o=>v(o)).filter(LD)}function $D(o){let m=function(o){return Object.getPrototypeOf(o.prototype).constructor}(o.type),v=!0,w=[o];for(;m;){let b;if(ke(o))b=m.ɵcmp||m.ɵdir;else{if(m.ɵcmp)throw new We(903,!1);b=m.ɵdir}if(b){if(v){w.push(b);let m=o;m.inputs=Xs(o.inputs),m.declaredInputs=Xs(o.declaredInputs),m.outputs=Xs(o.outputs);let v=b.hostBindings;v&&WD(o,v);let _=b.viewQuery,x=b.contentQueries;if(_&&qD(o,_),x&&GD(o,x),HD(o,b),xg(o.outputs,b.outputs),ke(b)&&b.data.animation){let m=o.data;m.animation=(m.animation||[]).concat(b.data.animation)}}let m=b.features;if(m)for(let w=0;w<m.length;w++){let b=m[w];b&&b.ngInherit&&b(o),b===$D&&(v=!1)}}m=Object.getPrototypeOf(m)}!function(o){let m=0,v=null;for(let w=o.length-1;w>=0;w--){let b=o[w];b.hostVars=m+=b.hostVars,b.hostAttrs=er(b.hostAttrs,v=er(v,b.hostAttrs))}}(w)}function HD(o,m){for(let v in m.inputs){if(!m.inputs.hasOwnProperty(v)||o.inputs.hasOwnProperty(v))continue;let w=m.inputs[v];void 0!==w&&(o.inputs[v]=w,o.declaredInputs[v]=m.declaredInputs[v])}}function Xs(o){return o===jt?{}:o===Pt?[]:o}function qD(o,m){let v=o.viewQuery;o.viewQuery=v?(o,w)=>{m(o,w),v(o,w)}:m}function GD(o,m){let v=o.contentQueries;o.contentQueries=v?(o,w,b)=>{m(o,w,b),v(o,w,b)}:m}function WD(o,m){let v=o.hostBindings;o.hostBindings=v?(o,w)=>{m(o,w),v(o,w)}:m}function ht(o,m,v){let w=o[m];return!Object.is(w,v)&&(o[m]=v,!0)}function Va(o,m,v,w,b,_,x,T,O,N){let D=v+bn,L=m.firstCreatePass?function(o,m,v,w,b,_,x,T,O){let N=m.consts,D=Vc(m,o,4,x||null,T||null);_d()&&Yf(m,v,D,pn(N,O),Af),D.mergedAttrs=er(D.mergedAttrs,D.attrs),Bd(m,D);let L=D.tView=Mc(2,D,w,b,_,m.directiveRegistry,m.pipeRegistry,null,m.schemas,N,null);return null!==m.queries&&(m.queries.template(m,D),L.queries=m.queries.embeddedTView(D)),D}(D,m,o,w,b,_,x,T,O):m.data[D];pr(L,!1);let U=QD(m,o,L,v);mc()&&Pc(m,o,U,L),mr(U,o);let M=zf(U,o,U,L);return o[D]=M,Nc(o,M),sc(L)&&Rc(m,o,L),null!=O&&Rf(o,L,N),L}function YD(o,m,v,w,b,_,x,T){let O=F(),N=te();return Va(O,N,o,m,v,w,b,pn(N.consts,_),x,T),YD}var QD=function(o,m,v,w){return yc(!0),m[Yt].createComment("")};var Ts=(()=>{class e{log(o){console.log(o)}warn(o){console.warn(o)}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})(),Rs=new lt(""),Ns=(()=>{class e{static ɵprov=E({token:e,providedIn:"root",factory:()=>new js})}return e})(),js=class{queuedEffectCount=0;queues=new Map;schedule(o){this.enqueue(o)}remove(o){let m=o.zone,v=this.queues.get(m);v.has(o)&&(v.delete(o),this.queuedEffectCount--)}enqueue(o){let m=o.zone;this.queues.has(m)||this.queues.set(m,new Set);let v=this.queues.get(m);v.has(o)||(this.queuedEffectCount++,v.add(o))}flush(){for(;this.queuedEffectCount>0;)for(let[o,m]of this.queues)null===o?this.flushQueue(m):o.run(()=>this.flushQueue(m))}flushQueue(o){for(let m of o)o.delete(m),this.queuedEffectCount--,m.run()}};function Ci(o){return!!o&&"function"==typeof o.then}function JD(o){return!!o&&"function"==typeof o.subscribe}var Ps=new lt("");function XD(o){return fr([{provide:Ps,multi:!0,useValue:o}])}var Ds=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((o,m)=>{this.resolve=o,this.reject=m});appInits=g(Ps,{optional:!0})??[];injector=g(ir);constructor(){}runInitializers(){if(this.initialized)return;let o=[];for(let m of this.appInits){let v=ve(this.injector,m);if(Ci(v))o.push(v);else if(JD(v)){let m=new Promise((o,m)=>{v.subscribe({complete:o,error:m})});o.push(m)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(o).then(()=>{r()}).catch(o=>{this.reject(o)}),0===o.length&&r(),this.initialized=!0}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),Vs=new lt("");function eE(){!function(o){Bu=o}(()=>{throw new We(600,!1)})}var Ms=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Pr);afterRenderManager=g(Si);zonelessEnabled=g(gr);rootEffectScheduler=g(Ns);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new _e;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=g(wr).hasPendingTasks.pipe(A(o=>!o));constructor(){g(ui,{optional:!0})}whenStable(){let o;return new Promise(m=>{o=this.isStable.subscribe({next:o=>{o&&m()}})}).finally(()=>{o.unsubscribe()})}_injector=g(Wt);_rendererFactory=null;get injector(){return this._injector}bootstrap(o,m){return this.bootstrapImpl(o,m)}bootstrapImpl(o,m,v=ir.NULL){let w,b=o instanceof Wi;if(!this._injector.get(Ds).done){throw new We(405,"")}w=b?o:this._injector.get(Ki).resolveComponentFactory(o),this.componentTypes.push(w.componentType);let _=function(o){return o.isBoundToModule}(w)?void 0:this._injector.get(ms),x=m||w.selector,T=w.create(v,[],x,_),O=T.location.nativeElement,N=T.injector.get(Rs,null);return N?.registerApplication(O),T.onDestroy(()=>{this.detachView(T.hostView),Oo(this.components,T),N?.unregisterApplication(O)}),this._loadComponent(T),T}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){null!==this.tracingSnapshot?this.tracingSnapshot.run(li.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new We(101,!1);let o=R(null);try{this._runningTick=!0,this.synchronize()}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,R(o),this.afterTick.next()}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ji,null,{optional:!0}));let o=0;for(;0!==this.dirtyFlags&&o++<10;)B(),this.synchronizeOnce(),B()}synchronizeOnce(){if(16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){let o=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:m,notifyErrorHandler:v}of this.allViews)rE(m,v,o,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:o})=>di(o))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(o){let m=o;this._views.push(m),m.attachToAppRef(this)}detachView(o){let m=o;Oo(this._views,m),m.detachFromAppRef()}_loadComponent(o){this.attachView(o.hostView),this.tick(),this.components.push(o),this._injector.get(Vs,[]).forEach(m=>m(o))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(o=>o()),this._views.slice().forEach(o=>o.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(o){return this._destroyListeners.push(o),()=>Oo(this._destroyListeners,o)}destroy(){if(this._destroyed)throw new We(406,!1);let o=this._injector;o.destroy&&!o.destroyed&&o.destroy()}get viewCount(){return this._views.length}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function Oo(o,m){let v=o.indexOf(m);v>-1&&o.splice(v,1)}function rE(o,m,v,w){(v||di(o))&&Bf(o,m,v&&!w?0:1)}function oE(o,m,v,w){let b=F();if(ht(b,wn(),m)){te();uv(gc(),b,o,m,v,w)}return oE}function _o(o,m){return o<<17|m<<2}function Lt(o){return o>>17&32767}function Ua(o){return 2|o}function yn(o){return(131068&o)>>2}function ea(o,m){return-131069&o|m<<2}function $a(o){return 1|o}function uE(o,m,v,w,b,_){let x=_?m.classBindings:m.styleBindings,T=Lt(x),O=yn(x);o[w]=v;let N,D=!1;if(Array.isArray(v)){let o=v;N=o[1],(null===N||dr(o,N)>0)&&(D=!0)}else N=v;if(b)if(0!==O){let m=Lt(o[T+1]);o[w+1]=_o(m,T),0!==m&&(o[m+1]=ea(o[m+1],w)),o[T+1]=function(o,m){return 131071&o|m<<17}(o[T+1],w)}else o[w+1]=_o(T,0),0!==T&&(o[T+1]=ea(o[T+1],w)),T=w;else o[w+1]=_o(O,0),0===T?T=w:o[O+1]=ea(o[O+1],w),O=w;D&&(o[w+1]=Ua(o[w+1])),$l(o,N,w,!0),$l(o,N,w,!1),function(o,m,v,w,b){let _=b?o.residualClasses:o.residualStyles;null!=_&&"string"==typeof m&&dr(_,m)>=0&&(v[w+1]=$a(v[w+1]))}(m,N,o,w,_),x=_o(T,O),_?m.classBindings=x:m.styleBindings=x}function $l(o,m,v,w){let b=o[v+1],_=null===m,x=w?Lt(b):yn(b),T=!1;for(;0!==x&&(!1===T||_);){let v=o[x],b=o[x+1];dE(v,m)&&(T=!0,o[x+1]=w?$a(b):Ua(b)),x=w?Lt(b):yn(b)}T&&(o[v+1]=w?Ua(b):$a(b))}function dE(o,m){return null===o||null==m||(Array.isArray(o)?o[1]:o)===m||!(!Array.isArray(o)||"string"!=typeof m)&&dr(o,m)>=0}var Hs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function fE(o){return o.substring(Hs.key,Hs.keyEnd)}function hE(o){return function(o){Hs.key=0,Hs.keyEnd=0,Hs.value=0,Hs.valueEnd=0,Hs.textEnd=o.length}(o),lh(o,dh(o,0,Hs.textEnd))}function lh(o,m){let v=Hs.textEnd;return v===m?-1:(m=Hs.keyEnd=function(o,m,v){for(;m<v&&o.charCodeAt(m)>32;)m++;return m}(o,Hs.key=m,v),dh(o,m,v))}function dh(o,m,v){for(;m<v&&o.charCodeAt(m)<=32;)m++;return m}function mE(o,m,v){let w=F();if(ht(w,wn(),m)){xf(te(),gc(),w,o,m,w[Yt],v,!1)}return mE}function Ha(o,m,v,w,b){xc(m,o,v,b?"class":"style",w)}function yE(o,m,v){return fh(o,m,v,!1),yE}function vE(o,m){return fh(o,m,null,!0),vE}function dN(o){!function(o,m,v,w){let b=te(),_=Ad(2);b.firstUpdatePass&&ph(b,null,_,w);let x=F();if(v!==Ni&&ht(x,_,v)){let T=b.data[dt()];if(mh(T,w)&&!hh(b,_)){let o=w?T.classesWithoutHost:T.stylesWithoutHost;null!==o&&(v=ia(o,v||"")),Ha(b,T,x,v,w)}else!function(o,m,v,w,b,_,x,T){b===Ni&&(b=Pt);let O=0,N=0,D=0<b.length?b[0]:null,L=0<_.length?_[0]:null;for(;null!==D||null!==L;){let U,M=O<b.length?b[O+1]:void 0,z=N<_.length?_[N+1]:void 0,$=null;D===L?(O+=2,N+=2,M!==z&&($=L,U=z)):null===L||null!==D&&D<L?(O+=2,$=D):(N+=2,$=L,U=z),null!==$&&gh(o,m,v,w,$,U,x,T),D=O<b.length?b[O]:null,L=N<_.length?_[N]:null}}(b,T,x,x[Yt],x[_+1],x[_+1]=function(o,m,v){if(null==v||""===v)return Pt;let w=[],b=Sc(v);if(Array.isArray(b))for(let m=0;m<b.length;m++)o(w,b[m],!0);else if("object"==typeof b)for(let m in b)b.hasOwnProperty(m)&&o(w,m,b[m]);else"string"==typeof b&&m(w,b);return w}(o,m,v),w,_)}}(TE,DE,o,!0)}function DE(o,m){for(let v=hE(m);v>=0;v=lh(m,v))rc(o,fE(m),!0)}function fh(o,m,v,w){let b=F(),_=te(),x=Ad(2);if(_.firstUpdatePass&&ph(_,o,x,w),m!==Ni&&ht(b,x,m)){gh(_,_.data[dt()],b,b[Yt],o,b[x+1]=function(o,m){return null==o||""===o||("string"==typeof m?o+=m:"object"==typeof o&&(o=de(Sc(o)))),o}(m,v),w,x)}}function hh(o,m){return m>=o.expandoStartIndex}function ph(o,m,v,w){let b=o.data;if(null===b[v+1]){let _=b[dt()],x=hh(o,v);mh(_,w)&&null===m&&!x&&(m=!1),m=function(o,m,v,w){let b=function(o){let m=Rn.lFrame.currentDirectiveIndex;return-1===m?null:o[m]}(o),_=w?m.residualClasses:m.residualStyles;if(null===b)0===(w?m.classBindings:m.styleBindings)&&(v=ta(null,o,m,v,w),v=lr(v,m.attrs,w),_=null);else{let x=m.directiveStylingLast;if(-1===x||o[x]!==b)if(v=ta(b,o,m,v,w),null===_){let v=function(o,m,v){let w=v?m.classBindings:m.styleBindings;if(0!==yn(w))return o[Lt(w)]}(o,m,w);void 0!==v&&Array.isArray(v)&&(v=ta(null,o,m,v[1],w),v=lr(v,m.attrs,w),function(o,m,v,w){let b=v?m.classBindings:m.styleBindings;o[Lt(b)]=w}(o,m,w,v))}else _=function(o,m,v){let w,b=m.directiveEnd;for(let _=1+m.directiveStylingLast;_<b;_++){w=lr(w,o[_].hostAttrs,v)}return lr(w,m.attrs,v)}(o,m,w)}return void 0!==_&&(w?m.residualClasses=_:m.residualStyles=_),v}(b,_,m,w),uE(b,_,m,v,x,w)}}function ta(o,m,v,w,b){let _=null,x=v.directiveEnd,T=v.directiveStylingLast;for(-1===T?T=v.directiveStart:T++;T<x&&(_=m[T],w=lr(w,_.hostAttrs,b),_!==o);)T++;return null!==o&&(v.directiveStylingLast=T),w}function lr(o,m,v){let w=v?1:2,b=-1;if(null!==m)for(let _=0;_<m.length;_++){let x=m[_];"number"==typeof x?b=x:b===w&&(Array.isArray(o)||(o=void 0===o?[]:["",o]),rc(o,x,!!v||m[++_]))}return void 0===o?null:o}function TE(o,m,v){let w=String(m);""!==w&&!w.includes(" ")&&rc(o,w,v)}function gh(o,m,v,w,b,_,x,T){if(!(3&m.type))return;let O=o.data,N=O[T+1],D=function(o){return!(1&~o)}(N)?Hl(O,m,v,b,yn(N),x):void 0;if(!ei(D)){ei(_)||function(o){return!(2&~o)}(N)&&(_=Hl(O,null,v,b,T,x)),function(o,m,v,w,b){if(m)b?o.addClass(v,w):o.removeClass(v,w);else{let m=-1===w.indexOf("-")?void 0:Pi.DashCase;null==b?o.removeStyle(v,w,m):("string"==typeof b&&b.endsWith("!important")&&(b=b.slice(0,-10),m|=Pi.Important),o.setStyle(v,w,b,m))}}(w,x,bd(dt(),v),b,_)}}function Hl(o,m,v,w,b,_){let x,T=null===m;for(;b>0;){let m=o[b],_=Array.isArray(m),O=_?m[1]:m,N=null===O,D=v[b+1];D===Ni&&(D=N?Pt:void 0);let L=N?zs(D,w):O===w?D:void 0;if(_&&!ei(L)&&(L=zs(m,w)),ei(L)&&(x=L,T))return x;let U=o[b+1];b=T?Lt(U):yn(U)}if(null!==m){let o=_?m.residualClasses:m.residualStyles;null!=o&&(x=zs(o,w))}return x}function ei(o){return void 0!==o}function mh(o,m){return!!(o.flags&(m?8:16))}var $s=class{destroy(o){}updateValue(o,m){}swap(o,m){let v=Math.min(o,m),w=Math.max(o,m),b=this.detach(w);if(w-v>1){let o=this.detach(v);this.attach(v,b),this.attach(w,o)}else this.attach(v,b)}move(o,m){this.attach(m,this.detach(o))}};function na(o,m,v,w,b){return o===v&&Object.is(m,w)?1:Object.is(b(o,m),b(v,w))?-1:0}function qa(o,m,v,w){return!(void 0===m||!m.has(w))&&(o.attach(v,m.get(w)),m.delete(w),!0)}function zl(o,m,v,w,b){if(qa(o,m,w,v(w,b)))o.updateValue(w,b);else{let m=o.create(w,b);o.attach(w,m)}}function ql(o,m,v,w){let b=new Set;for(let _=m;_<=v;_++)b.add(w(_,o.at(_)));return b}var qs=class{kvMap=new Map;_vMap=void 0;has(o){return this.kvMap.has(o)}delete(o){if(!this.has(o))return!1;let m=this.kvMap.get(o);return void 0!==this._vMap&&this._vMap.has(m)?(this.kvMap.set(o,this._vMap.get(m)),this._vMap.delete(m)):this.kvMap.delete(o),!0}get(o){return this.kvMap.get(o)}set(o,m){if(this.kvMap.has(o)){let v=this.kvMap.get(o);void 0===this._vMap&&(this._vMap=new Map);let w=this._vMap;for(;w.has(v);)v=w.get(v);w.set(v,m)}else this.kvMap.set(o,m)}forEach(o){for(let[m,v]of this.kvMap)if(o(v,m),void 0!==this._vMap){let w=this._vMap;for(;w.has(v);)v=w.get(v),o(v,m)}}};function fN(o,m){hi("NgControlFlow");let v=F(),w=wn(),b=v[w]!==Ni?v[w]:-1,_=-1!==b?ni(v,bn+b):void 0;if(ht(v,w,o)){let w=R(null);try{if(void 0!==_&&Gf(_,0),-1!==o){let w=bn+o,b=ni(v,w),_=Ya(v[1],w),x=(_.tView.ssrId,null);vi(b,gi(v,_,m,{dehydratedView:x}),0,rr(_,x))}}finally{R(w)}}else if(void 0!==_){let o=qf(_,0);void 0!==o&&(o[8]=m)}}var Bs=class{lContainer;$implicit;$index;constructor(o,m,v){this.lContainer=o,this.$implicit=m,this.$index=v}get $count(){return this.lContainer.length-Sn}};function hN(o,m){return m}var Gs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(o,m,v){this.hasEmptyBlock=o,this.trackByFn=m,this.liveCollection=v}};function pN(o,m,v,w,b,_,x,T,O,N,D,L,U){hi("NgControlFlow");let M=F(),z=te(),$=void 0!==O,G=F(),W=T?x.bind(G[sn][8]):x,Q=new Gs($,W);G[bn+o]=Q,Va(M,z,o+1,m,v,w,b,pn(z.consts,_)),$&&Va(M,z,o+2,O,N,D,L,pn(z.consts,U))}var Ws=class extends $s{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(o,m,v){super(),this.lContainer=o,this.hostLView=m,this.templateTNode=v}get length(){return this.lContainer.length-Sn}at(o){return this.getLView(o)[8].$implicit}attach(o,m){let v=m[6];this.needsIndexUpdate||=o!==this.length,vi(this.lContainer,m,o,rr(this.templateTNode,v))}detach(o){return this.needsIndexUpdate||=o!==this.length-1,function(o,m){return or(o,m)}(this.lContainer,o)}create(o,m){let v=(this.lContainer,this.templateTNode.tView.ssrId,null),w=gi(this.hostLView,this.templateTNode,new Bs(this.lContainer,m,o),{dehydratedView:v});return this.operationsCounter?.recordCreate(),w}destroy(o){mi(o[1],o),this.operationsCounter?.recordDestroy()}updateValue(o,m){this.getLView(o)[8].$implicit=m}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let o=0;o<this.length;o++)this.getLView(o)[8].$index=o}getLView(o){return function(o,m){return qf(o,m)}(this.lContainer,o)}};function gN(o){let m=R(null),v=dt();try{let m=F(),w=m[1],b=m[v],_=v+1,x=ni(m,_);if(void 0===b.liveCollection){let o=Ya(w,_);b.liveCollection=new Ws(x,m,o)}else b.liveCollection.reset();let T=b.liveCollection;if(function(o,m,v){let w,b,_=0,x=o.length-1;if(Array.isArray(m)){let T=m.length-1;for(;_<=x&&_<=T;){let O=o.at(_),N=m[_],D=na(_,O,_,N,v);if(0!==D){D<0&&o.updateValue(_,N),_++;continue}let L=o.at(x),U=m[T],M=na(x,L,T,U,v);if(0!==M){M<0&&o.updateValue(x,U),x--,T--;continue}let z=v(_,O),$=v(x,L),G=v(_,N);if(Object.is(G,$)){let m=v(T,U);Object.is(m,z)?(o.swap(_,x),o.updateValue(x,U),T--,x--):o.move(x,_),o.updateValue(_,N),_++;continue}if(w??=new qs,b??=ql(o,_,x,v),qa(o,w,_,G))o.updateValue(_,N),_++,x++;else if(b.has(G))w.set(z,o.detach(_)),x--;else{let v=o.create(_,m[_]);o.attach(_,v),_++,x++}}for(;_<=T;)zl(o,w,v,_,m[_]),_++}else if(null!=m){let T=m[Symbol.iterator](),O=T.next();for(;!O.done&&_<=x;){let m=o.at(_),N=O.value,D=na(_,m,_,N,v);if(0!==D)D<0&&o.updateValue(_,N),_++,O=T.next();else{w??=new qs,b??=ql(o,_,x,v);let D=v(_,N);if(qa(o,w,_,D))o.updateValue(_,N),_++,x++,O=T.next();else if(b.has(D)){let b=v(_,m);w.set(b,o.detach(_)),x--}else o.attach(_,o.create(_,N)),_++,x++,O=T.next()}}for(;!O.done;)zl(o,w,v,o.length,O.value),O=T.next()}for(;_<=x;)o.destroy(o.detach(x--));w?.forEach(m=>{o.destroy(m)})}(T,o,b.trackByFn),T.updateIndexes(),b.hasEmptyBlock){let o=wn(),b=0===T.length;if(ht(m,o,b)){let o=v+2,_=ni(m,o);if(b){let v=Ya(w,o),b=(v.tView.ssrId,null);vi(_,gi(m,v,void 0,{dehydratedView:b}),0,rr(v,b))}else Gf(_,0)}}}finally{R(m)}}function ni(o,m){return o[m]}function Ya(o,m){return cc(o,m)}function yh(o,m,v,w){let b=F(),_=te(),x=bn+o,T=b[Yt],O=_.firstCreatePass?Kf(x,_,b,m,Af,_d(),v,w):_.data[x],N=AE(_,b,O,T,m,o);b[x]=N;let D=sc(O);return pr(O,!0),If(T,N,O),!Of(O)&&mc()&&Pc(_,b,N,O),(0===Rn.lFrame.elementDepthCount||D)&&mr(N,b),Rn.lFrame.elementDepthCount++,D&&(Rc(_,b,O),Df(_,O,b)),null!==w&&Rf(b,O),yh}function vh(){let o=De();Rd()?Rn.lFrame.isParent=!1:(o=o.parent,pr(o,!1));let m=o;(function(o){return Rn.skipHydrationRootTNode===o})(m)&&(Rn.skipHydrationRootTNode=null),Rn.lFrame.elementDepthCount--;let v=te();return v.firstCreatePass&&Jf(v,m),null!=m.classesWithoutHost&&function(o){return!!(8&o.flags)}(m)&&Ha(v,m,F(),m.classesWithoutHost,!0),null!=m.stylesWithoutHost&&function(o){return!!(16&o.flags)}(m)&&Ha(v,m,F(),m.stylesWithoutHost,!1),vh}function zc(o,m,v,w){return yh(o,m,v,w),vh(),zc}var AE=(o,m,v,w,b,_)=>(yc(!0),Ef(w,b,Rn.lFrame.currentNamespace));function mN(){return F()}var Ks="en-US";function Gl(o,m,v){return function r(w){if(w===Function)return v;Lc(Dn(o)?Fe(o.index,m):m,5);let b=m[8],_=Wl(m,b,v,w),x=r.__ngNextListenerFn__;for(;x;)_=Wl(m,b,x,w)&&_,x=x.__ngNextListenerFn__;return _}}function Wl(o,m,v,w){let b=R(null);try{return!1!==v(w)}catch(m){return function(o,m){let v=o[9],w=v?v.get(jr,null):null;w&&w.handleError(m)}(o,m),!1}finally{R(b)}}function Zl(o,m,v,w,b,_){let x=m[v],T=m[1],O=x[T.data[v].outputs[w]],N=T.firstCreatePass?dc(T):null,D=lc(m),L=O.subscribe(_),U=D.length;D.push(_,L),N&&N.push(b,o.index,U,-(U+1))}function FE(o,m,v,w){let b=F(),_=te(),x=De();return Dh(_,b,b[Yt],x,o,m,w),FE}function Dh(o,m,v,w,b,_,x){let T=sc(w),O=o.firstCreatePass?dc(o):null,N=lc(m),D=!0;if(3&w.type||x){let L=je(w,m),U=x?x(L):L,M=N.length,z=x?o=>x(Pe(o[w.index])):w.index,$=null;if(!x&&T&&($=function(o,m,v,w){let b=o.cleanup;if(null!=b)for(let o=0;o<b.length-1;o+=2){let _=b[o];if(_===v&&b[o+1]===w){let v=m[7],w=b[o+2];return v.length>w?v[w]:null}"string"==typeof _&&(o+=2)}return null}(o,m,b,w.index)),null!==$){($.__ngLastListenerFn__||$).__ngNextListenerFn__=_,$.__ngLastListenerFn__=_,D=!1}else{_=Gl(w,m,_);let o=v.listen(U,b,_);N.push(_,o),O&&O.push(b,z,M,M+1)}}else _=Gl(w,m,_);if(D){let o=w.outputs?.[b],v=w.hostDirectiveOutputs?.[b];if(v&&v.length)for(let o=0;o<v.length;o+=2){let x=v[o],T=v[o+1];Zl(w,m,x,T,b,_)}if(o&&o.length)for(let v of o)Zl(w,m,v,b,b,_)}}function yN(o=1){return jm(o)}function vN(o,m,v){xD(o,m,v)}function DN(o){let m=F(),v=te(),w=Od();fc(w+1);let b=Bc(v,w);if(o.dirty&&function(o){return!(4&~o[2])}(m)===!(2&~b.metadata.flags)){if(null===b.matches)o.reset([]);else{let v=kD(m,w);o.reset(v,hy),o.notifyOnChanges()}return!0}return!1}function EN(){return function(o,m){return o[fn].queries[m].queryList}(F(),Od())}function wN(o){return function(o,m){return o[m]}(Rn.lFrame.contextLView,bn+o)}function IN(o,m=""){let v=F(),w=te(),b=o+bn,_=w.firstCreatePass?Vc(w,b,1,m,null):w.data[b],x=jE(w,v,_,m,o);v[b]=x,mc()&&Pc(w,v,x,_),pr(_,!1)}var jE=(o,m,v,w,b)=>(yc(!0),function(o,m){return o.createText(m)}(m[Yt],w));function VE(o){return Eh("",o,""),VE}function Eh(o,m,v){let w=F(),b=function(o,m,v,w){return ht(o,wn(),v)?m+ai(v)+w:Ni}(w,o,m,v);return b!==Ni&&function(o,m,v){let w=bd(m,o);!function(o,m,v){o.setValue(m,v)}(o[Yt],w,v)}(w,dt(),b),Eh}function UE(o,m,v){sf(m)&&(m=m());let w=F();if(ht(w,wn(),m)){xf(te(),gc(),w,o,m,w[Yt],v,!1)}return UE}function CN(o,m){let v=sf(o);return v&&o.set(m),v}function $E(o,m){let v=F(),w=te(),b=De();return Dh(w,v,v[Yt],b,o,m),$E}function Qa(o,m,v,w,b){if(o=ie(o),Array.isArray(o))for(let _=0;_<o.length;_++)Qa(o[_],m,v,w,b);else{let _=te(),x=F(),T=De(),O=dn(o)?o:ie(o.provide),N=pd(o),D=1048575&T.providerIndexes,L=T.directiveStart,U=T.providerIndexes>>20;if(dn(o)||!o.multi){let w=new Qn(N,b,Ei),M=oa(O,m,b?D:D+U,L);-1===M?(ma(Go(T,x),_,O),ra(_,o,m.length),m.push(O),T.directiveStart++,T.directiveEnd++,b&&(T.providerIndexes+=1048576),v.push(w),x.push(w)):(v[M]=w,x[M]=w)}else{let M=oa(O,m,D+U,L),z=oa(O,m,D,D+U),$=M>=0&&v[M],G=z>=0&&v[z];if(b&&!G||!b&&!$){ma(Go(T,x),_,O);let D=function(o,m,v,w,b){let _=new Qn(o,v,Ei);return _.multi=[],_.index=m,_.componentProviders=0,wh(_,b,w&&!v),_}(b?qE:zE,v.length,b,w,N);!b&&G&&(v[z].providerFactory=D),ra(_,o,m.length,0),m.push(O),T.directiveStart++,T.directiveEnd++,b&&(T.providerIndexes+=1048576),v.push(D),x.push(D)}else{ra(_,o,M>-1?M:z,wh(v[b?z:M],N,!b&&w))}!b&&w&&G&&v[z].componentProviders++}}}function ra(o,m,v,w){let b=dn(m),_=function(o){return!!o.useClass}(m);if(b||_){let x=(_?ie(m.useClass):m).prototype.ngOnDestroy;if(x){let _=o.destroyHooks||(o.destroyHooks=[]);if(!b&&m.multi){let o=_.indexOf(v);-1===o?_.push(v,[w,x]):_[o+1].push(w,x)}else _.push(v,x)}}}function wh(o,m,v){return v&&o.componentProviders++,o.multi.push(m)-1}function oa(o,m,v,w){for(let b=v;b<w;b++)if(m[b]===o)return b;return-1}function zE(o,m,v,w,b){return Ka(this.multi,[])}function qE(o,m,v,w,b){let _,x=this.multi;if(this.providerFactory){let o=this.providerFactory.componentProviders,m=tr(w,w[1],this.providerFactory.index,b);_=m.slice(0,o),Ka(x,_);for(let v=o;v<m.length;v++)_.push(m[v])}else _=[],Ka(x,_);return _}function Ka(o,m){for(let v=0;v<o.length;v++){let w=o[v];m.push(w())}return m}function bN(o,m=[]){return v=>{v.providersResolver=(v,w)=>function(o,m,v){let w=te();if(w.firstCreatePass){let b=ke(o);Qa(v,w.data,w.blueprint,b,!0),Qa(m,w.data,w.blueprint,b,!1)}}(v,w?w(o):o,m)}}var to=class{ngModuleFactory;componentFactories;constructor(o,m){this.ngModuleFactory=o,this.componentFactories=m}},no=(()=>{class e{compileModuleSync(o){return new _s(o)}compileModuleAsync(o){return Promise.resolve(this.compileModuleSync(o))}compileModuleAndAllComponentsSync(o){let m=this.compileModuleSync(o),v=bf(ld(o).declarations).reduce((o,m)=>{let v=ln(m);return v&&o.push(new is(v)),o},[]);return new to(m,v)}compileModuleAndAllComponentsAsync(o){return Promise.resolve(this.compileModuleAndAllComponentsSync(o))}clearCache(){}clearCacheFor(o){}getModuleId(o){}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),ro=(()=>{class e{zone=g(Ir);changeDetectionScheduler=g(cr);applicationRef=g(Ms);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function ZE({ngZoneFactory:o,ignoreChangesOutsideZone:m,scheduleInRootZone:v}){return o??=()=>new Ir(j(y({},function(o){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:o?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:o?.runCoalescing??!1}}()),{scheduleInRootZone:v})),[{provide:Ir,useFactory:o},{provide:Dt,multi:!0,useFactory:()=>{let o=g(ro,{optional:!0});return()=>o.initialize()}},{provide:Dt,multi:!0,useFactory:()=>{let o=g(ao);return()=>{o.initialize()}}},!0===m?{provide:vr,useValue:!0}:[],{provide:yr,useValue:v??sr}]}var ao=(()=>{class e{subscription=new K;initialized=!1;zone=g(Ir);pendingTasks=g(wr);initialize(){if(this.initialized)return;this.initialized=!0;let o=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(o=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ir.assertNotInAngularZone(),queueMicrotask(()=>{null!==o&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(o),o=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ir.assertInAngularZone(),o??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),go=(()=>{class e{appRef=g(Ms);taskService=g(wr);ngZone=g(Ir);zonelessEnabled=g(gr);tracing=g(ui,{optional:!0});disableScheduling=g(vr,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new K;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Cr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(yr,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Nr||!this.zoneIsDefined)}notify(o){if(!this.zonelessEnabled&&5===o)return;let m=!1;switch(o){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,m=!0;break;case 12:this.appRef.dirtyFlags|=16,m=!0;break;case 11:m=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(m))return;let v=this.useMicrotaskScheduler?Ml:nf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>v(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>v(()=>this.tick()))}shouldScheduleTick(o){return!(this.disableScheduling&&!o||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Cr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(m){throw this.taskService.remove(o),m}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ml(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){let o=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(o)}}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();var ko=new lt("",{providedIn:"root",factory:()=>g(ko,Ct.Optional|Ct.SkipSelf)||typeof $localize<"u"&&$localize.locale||Ks}),No=new lt(""),Po=new lt("");function Gn(o){return!o.moduleRef}function ew(o){let m=Gn(o)?o.r3Injector:o.moduleRef.injector,v=m.get(Ir);return v.run(()=>{Gn(o)?o.r3Injector.resolveInjectorInitializers():o.moduleRef.resolveInjectorInitializers();let w,b=m.get(jr,null);if(v.runOutsideAngular(()=>{w=v.onError.subscribe({next:o=>{b.handleError(o)}})}),Gn(o)){let i=()=>m.destroy(),v=o.platformInjector.get(No);v.add(i),m.onDestroy(()=>{w.unsubscribe(),v.delete(i)})}else{let i=()=>o.moduleRef.destroy(),m=o.platformInjector.get(No);m.add(i),o.moduleRef.onDestroy(()=>{Oo(o.allPlatformModules,o.moduleRef),w.unsubscribe(),m.delete(i)})}return function(o,m,v){try{let w=v();return Ci(w)?w.catch(v=>{throw m.runOutsideAngular(()=>o.handleError(v)),v}):w}catch(v){throw m.runOutsideAngular(()=>o.handleError(v)),v}}(b,v,()=>{let v=m.get(Ds);return v.runInitializers(),v.donePromise.then(()=>{if(function(o){"string"==typeof o&&o.toLowerCase().replace(/_/g,"-")}(m.get(ko,Ks)||Ks),!m.get(Po,!0))return Gn(o)?m.get(Ms):(o.allPlatformModules.push(o.moduleRef),o.moduleRef);if(Gn(o)){let v=m.get(Ms);return void 0!==o.rootComponent&&v.bootstrap(o.rootComponent),v}return function(o,m){let v=o.injector.get(Ms);if(o._bootstrapComponents.length>0)o._bootstrapComponents.forEach(o=>v.bootstrap(o));else{if(!o.instance.ngDoBootstrap)throw new We(-403,!1);o.instance.ngDoBootstrap(v)}m.push(o)}(o.moduleRef,o.allPlatformModules),o.moduleRef})})})}var Lo=null;function ow(o=[]){if(Lo)return Lo;let m=function(o=[],m){return ir.create({name:m,providers:[{provide:qt,useValue:"platform"},{provide:No,useValue:new Set([()=>Lo=null])},...o]})}(o);return Lo=m,eE(),function(o){let m=o.get(Wr,null);ve(o,()=>{m?.forEach(o=>o())})}(m),m}function SN(){return!1}var Vo=class{static __NG_ELEMENT_ID__=sw};function sw(o){return function(o,m,v){if(Dn(o)&&!v){let v=Fe(o.index,m);return new zi(v,v)}if(175&o.type){let o=m[sn];return new zi(o,m)}return null}(De(),F(),!(16&~o))}function cw(o){return"boolean"==typeof o?o:null!=o&&"false"!==o}function TN(o){return function(o){let m=R(null);try{return o()}finally{R(m)}}(o)}function Sh(o,m){return function(o,m){let v=Object.create(z);v.computation=o,void 0!==m&&(v.equal=m);let r=()=>{if(ws(v),Bn(v),v.value===M)throw v.error;return v.value};return r[N]=v,r}(o,m?.equal)}var Uo=class{[N];constructor(o){this[N]=o}destroy(){this[N].destroy()}};function uw(o,m){!m?.injector&&function(){if(!gd())throw new We(-203,!1)}();let v,w=m?.injector??g(ir),b=!0!==m?.manualCleanup?w.get(ar):null,_=w.get(pi,null,{optional:!0}),x=w.get(cr);return null===_||m?.forceRoot?v=function(o,m,v){let w=Object.create(Bo);return w.fn=o,w.scheduler=m,w.notifier=v,w.zone=typeof Zone<"u"?Zone.current:null,w.scheduler.schedule(w),w.notifier.notify(12),w}(o,w.get(Ns),x):(v=function(o,m,v){let w=Object.create(Zo);return w.view=o,w.zone=typeof Zone<"u"?Zone.current:null,w.notifier=m,w.fn=v,o[mn]??=new Set,o[mn].add(w),w.consumerMarkedDirty(w),w}(_.view,x,o),b instanceof ur&&b._lView===_.view&&(b=null)),v.injector=w,null!==b&&(v.onDestroyFn=b.onDestroy(()=>v.destroy())),new Uo(v)}var Fo=j(y({},D),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:nr,run(){if(this.dirty=!1,this.hasRun&&!Jr(this))return;this.hasRun=!0;let e=o=>(this.cleanupFns??=[]).push(o),o=Un(this),m=Ho(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ho(m),Kr(this,o)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Bo=j(y({},Fo),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){$n(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),Zo=j(y({},Fo),{consumerMarkedDirty(){this.view[2]|=8192,hr(this.view),this.notifier.notify(13)},destroy(){$n(this),this.onDestroyFn(),this.maybeCleanup(),this.view[mn]?.delete(this)}});var Wo=new lt(""),Jo=null;function et(){return Jo}var Xo=class{},Yo=(()=>{class e{historyGo(o){throw new Error("")}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:()=>g(nl),providedIn:"platform"})}return e})(),nl=(()=>{class e extends Yo{_location;_history;_doc=g(Wo);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return et().getBaseHref(this._doc)}onPopState(o){let m=et().getGlobalEventTarget(this._doc,"window");return m.addEventListener("popstate",o,!1),()=>m.removeEventListener("popstate",o)}onHashChange(o){let m=et().getGlobalEventTarget(this._doc,"window");return m.addEventListener("hashchange",o,!1),()=>m.removeEventListener("hashchange",o)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(o){this._location.pathname=o}pushState(o,m,v){this._history.pushState(o,m,v)}replaceState(o,m,v){this._history.replaceState(o,m,v)}forward(){this._history.forward()}back(){this._history.back()}historyGo(o=0){this._history.go(o)}getState(){return this._history.state}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function bi(o,m){return o?m?o.endsWith("/")?m.startsWith("/")?o+m.slice(1):o+m:m.startsWith("/")?o+m:`${o}/${m}`:o:m}function Mh(o){let m=o.search(/#|\?|$/);return"/"===o[m-1]?o.slice(0,m-1)+o.slice(m):o}function xe(o){return o&&"?"!==o[0]?`?${o}`:o}var rl=(()=>{class e{historyGo(o){throw new Error("")}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:()=>g(sl),providedIn:"root"})}return e})(),il=new lt(""),sl=(()=>{class e extends rl{_platformLocation;_baseHref;_removeListenerFns=[];constructor(o,m){super(),this._platformLocation=o,this._baseHref=m??this._platformLocation.getBaseHrefFromDOM()??g(Wo).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}getBaseHref(){return this._baseHref}prepareExternalUrl(o){return bi(this._baseHref,o)}path(o=!1){let m=this._platformLocation.pathname+xe(this._platformLocation.search),v=this._platformLocation.hash;return v&&o?`${m}${v}`:m}pushState(o,m,v,w){let b=this.prepareExternalUrl(v+xe(w));this._platformLocation.pushState(o,m,b)}replaceState(o,m,v,w){let b=this.prepareExternalUrl(v+xe(w));this._platformLocation.replaceState(o,m,b)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(o=0){this._platformLocation.historyGo?.(o)}static ɵfac=function(o){return new(o||e)(I(Yo),I(il,8))};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),ol=(()=>{class e{_subject=new _e;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(o){this._locationStrategy=o;let m=this._locationStrategy.getBaseHref();this._basePath=function(o){if(new RegExp("^(https?:)?//").test(o)){let[,m]=o.split(/\/\/[^\/]+/);return m}return o}(Mh(_h(m))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(o=!1){return this.normalize(this._locationStrategy.path(o))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(o,m=""){return this.path()==this.normalize(o+xe(m))}normalize(o){return e.stripTrailingSlash(function(o,m){if(!o||!m.startsWith(o))return m;let v=m.substring(o.length);return""===v||["/",";","?","#"].includes(v[0])?v:m}(this._basePath,_h(o)))}prepareExternalUrl(o){return o&&"/"!==o[0]&&(o="/"+o),this._locationStrategy.prepareExternalUrl(o)}go(o,m="",v=null){this._locationStrategy.pushState(v,"",o,m),this._notifyUrlChangeListeners(this.prepareExternalUrl(o+xe(m)),v)}replaceState(o,m="",v=null){this._locationStrategy.replaceState(v,"",o,m),this._notifyUrlChangeListeners(this.prepareExternalUrl(o+xe(m)),v)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(o=0){this._locationStrategy.historyGo?.(o)}onUrlChange(o){return this._urlChangeListeners.push(o),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let m=this._urlChangeListeners.indexOf(o);this._urlChangeListeners.splice(m,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(o="",m){this._urlChangeListeners.forEach(v=>v(o,m))}subscribe(o,m,v){return this._subject.subscribe({next:o,error:m??void 0,complete:v??void 0})}static normalizeQueryParams=xe;static joinWithSlash=bi;static stripTrailingSlash=Mh;static ɵfac=function(o){return new(o||e)(I(rl))};static ɵprov=E({token:e,factory:()=>new ol(I(rl)),providedIn:"root"})}return e})();function _h(o){return o.replace(/\/index.html$/,"")}var ll=(()=>{class e extends rl{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(o,m){super(),this._platformLocation=o,null!=m&&(this._baseHref=m)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}getBaseHref(){return this._baseHref}path(o=!1){let m=this._platformLocation.hash??"#";return m.length>0?m.substring(1):m}prepareExternalUrl(o){let m=bi(this._baseHref,o);return m.length>0?"#"+m:m}pushState(o,m,v,w){let b=this.prepareExternalUrl(v+xe(w))||this._platformLocation.pathname;this._platformLocation.pushState(o,m,b)}replaceState(o,m,v,w){let b=this.prepareExternalUrl(v+xe(w))||this._platformLocation.pathname;this._platformLocation.replaceState(o,m,b)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(o=0){this._platformLocation.historyGo?.(o)}static ɵfac=function(o){return new(o||e)(I(Yo),I(il,8))};static ɵprov=E({token:e,factory:e.ɵfac})}return e})();function Er(o,m){m=encodeURIComponent(m);for(let v of o.split(";")){let o=v.indexOf("="),[w,b]=-1==o?[v,""]:[v.slice(0,o),v.slice(o+1)];if(w.trim()===m)return decodeURIComponent(b)}return null}function Ti(o){return"server"===o}var ul=class{},fl=new lt(""),gl=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(o,m){this._zone=m,o.forEach(o=>{o.manager=this}),this._plugins=o.slice().reverse()}addEventListener(o,m,v,w){return this._findPluginFor(m).addEventListener(o,m,v,w)}getZone(){return this._zone}_findPluginFor(o){let m=this._eventNameToPlugin.get(o);if(m)return m;if(m=this._plugins.find(m=>m.supports(o)),!m)throw new We(5101,!1);return this._eventNameToPlugin.set(o,m),m}static ɵfac=function(o){return new(o||e)(I(fl),I(Ir))};static ɵprov=E({token:e,factory:e.ɵfac})}return e})(),ml=class{_doc;constructor(o){this._doc=o}manager},vl="ng-app-id";function Ah(o){for(let m of o)m.remove()}function Oh(o,m){let v=m.createElement("style");return v.textContent=o,v}function Kc(o,m){let v=m.createElement("link");return v.setAttribute("rel","stylesheet"),v.setAttribute("href",o),v}var yl=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(o,m,v,w={}){this.doc=o,this.appId=m,this.nonce=v,this.isServer=Ti(w),function(o,m,v,w){let b=o.head?.querySelectorAll(`style[${vl}="${m}"],link[${vl}="${m}"]`);if(b)for(let o of b)o.removeAttribute(vl),o instanceof HTMLLinkElement?w.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&v.set(o.textContent,{usage:0,elements:[o]})}(o,m,this.inline,this.external),this.hosts.add(o.head)}addStyles(o,m){for(let m of o)this.addUsage(m,this.inline,Oh);m?.forEach(o=>this.addUsage(o,this.external,Kc))}removeStyles(o,m){for(let m of o)this.removeUsage(m,this.inline);m?.forEach(o=>this.removeUsage(o,this.external))}addUsage(o,m,v){let w=m.get(o);w?w.usage++:m.set(o,{usage:1,elements:[...this.hosts].map(m=>this.addElement(m,v(o,this.doc)))})}removeUsage(o,m){let v=m.get(o);v&&(v.usage--,v.usage<=0&&(Ah(v.elements),m.delete(o)))}ngOnDestroy(){for(let[,{elements:o}]of[...this.inline,...this.external])Ah(o);this.hosts.clear()}addHost(o){this.hosts.add(o);for(let[m,{elements:v}]of this.inline)v.push(this.addElement(o,Oh(m,this.doc)));for(let[m,{elements:v}]of this.external)v.push(this.addElement(o,Kc(m,this.doc)))}removeHost(o){this.hosts.delete(o)}addElement(o,m){return this.nonce&&m.setAttribute("nonce",this.nonce),this.isServer&&m.setAttribute(vl,this.appId),o.appendChild(m)}static ɵfac=function(o){return new(o||e)(I(Wo),I($r),I(Yr,8),I(Qr))};static ɵprov=E({token:e,factory:e.ɵfac})}return e})(),xl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},El=/%COMP%/g,Al="%COMP%",Pl=`_nghost-${Al}`,Dl=`_ngcontent-${Al}`,Ql=new lt("",{providedIn:"root",factory:()=>true});function Fh(o,m){return m.map(m=>m.replace(El,o))}var Yl=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(o,m,v,w,b,_,x,T=null,O=null){this.eventManager=o,this.sharedStylesHost=m,this.appId=v,this.removeStylesOnCompDestroy=w,this.doc=b,this.platformId=_,this.ngZone=x,this.nonce=T,this.tracingService=O,this.platformIsServer=Ti(_),this.defaultRenderer=new sa(o,b,x,this.platformIsServer,this.tracingService)}createRenderer(o,m){if(!o||!m)return this.defaultRenderer;this.platformIsServer&&m.encapsulation===_i.ShadowDom&&(m=j(y({},m),{encapsulation:_i.Emulated}));let v=this.getOrCreateRenderer(o,m);return v instanceof ga?v.applyToHost(o):v instanceof da&&v.applyStyles(),v}getOrCreateRenderer(o,m){let v=this.rendererByCompId,w=v.get(m.id);if(!w){let b=this.doc,_=this.ngZone,x=this.eventManager,T=this.sharedStylesHost,O=this.removeStylesOnCompDestroy,N=this.platformIsServer,D=this.tracingService;switch(m.encapsulation){case _i.Emulated:w=new ga(x,T,m,this.appId,O,b,_,N,D);break;case _i.ShadowDom:return new ha(x,T,o,m,b,_,this.nonce,N,D);default:w=new da(x,T,m,O,b,_,N,D)}v.set(m.id,w)}return w}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(o){this.rendererByCompId.delete(o)}static ɵfac=function(o){return new(o||e)(I(gl),I(yl),I($r),I(Ql),I(Wo),I(Qr),I(Ir),I(Yr),I(ui,8))};static ɵprov=E({token:e,factory:e.ɵfac})}return e})(),sa=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(o,m,v,w,b){this.eventManager=o,this.doc=m,this.ngZone=v,this.platformIsServer=w,this.tracingService=b}destroy(){}destroyNode=null;createElement(o,m){return m?this.doc.createElementNS(xl[m]||m,o):this.doc.createElement(o)}createComment(o){return this.doc.createComment(o)}createText(o){return this.doc.createTextNode(o)}appendChild(o,m){(kh(o)?o.content:o).appendChild(m)}insertBefore(o,m,v){o&&(kh(o)?o.content:o).insertBefore(m,v)}removeChild(o,m){m.remove()}selectRootElement(o,m){let v="string"==typeof o?this.doc.querySelector(o):o;if(!v)throw new We(-5104,!1);return m||(v.textContent=""),v}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,m,v,w){if(w){m=w+":"+m;let b=xl[w];b?o.setAttributeNS(b,m,v):o.setAttribute(m,v)}else o.setAttribute(m,v)}removeAttribute(o,m,v){if(v){let w=xl[v];w?o.removeAttributeNS(w,m):o.removeAttribute(`${v}:${m}`)}else o.removeAttribute(m)}addClass(o,m){o.classList.add(m)}removeClass(o,m){o.classList.remove(m)}setStyle(o,m,v,w){w&(Pi.DashCase|Pi.Important)?o.style.setProperty(m,v,w&Pi.Important?"important":""):o.style[m]=v}removeStyle(o,m,v){v&Pi.DashCase?o.style.removeProperty(m):o.style[m]=""}setProperty(o,m,v){null!=o&&(o[m]=v)}setValue(o,m){o.nodeValue=m}listen(o,m,v,w){if("string"==typeof o&&!(o=et().getGlobalEventTarget(this.doc,o)))throw new We(5102,!1);let b=this.decoratePreventDefault(v);return this.tracingService?.wrapEventListener&&(b=this.tracingService.wrapEventListener(o,m,b)),this.eventManager.addEventListener(o,m,b,w)}decoratePreventDefault(o){return m=>{if("__ngUnwrap__"===m)return o;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>o(m)):o(m))&&m.preventDefault()}}};function kh(o){return"TEMPLATE"===o.tagName&&void 0!==o.content}var ha=class extends sa{sharedStylesHost;hostEl;shadowRoot;constructor(o,m,v,w,b,_,x,T,O){super(o,b,_,T,O),this.sharedStylesHost=m,this.hostEl=v,this.shadowRoot=v.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let N=w.styles;N=Fh(w.id,N);for(let o of N){let m=document.createElement("style");x&&m.setAttribute("nonce",x),m.textContent=o,this.shadowRoot.appendChild(m)}let D=w.getExternalStyles?.();if(D)for(let o of D){let m=Kc(o,b);x&&m.setAttribute("nonce",x),this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(o){return o===this.hostEl?this.shadowRoot:o}appendChild(o,m){return super.appendChild(this.nodeOrShadowRoot(o),m)}insertBefore(o,m,v){return super.insertBefore(this.nodeOrShadowRoot(o),m,v)}removeChild(o,m){return super.removeChild(null,m)}parentNode(o){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(o)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},da=class extends sa{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(o,m,v,w,b,_,x,T,O){super(o,b,_,x,T),this.sharedStylesHost=m,this.removeStylesOnCompDestroy=w;let N=v.styles;this.styles=O?Fh(O,N):N,this.styleUrls=v.getExternalStyles?.(O)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ga=class extends da{contentAttr;hostAttr;constructor(o,m,v,w,b,_,x,T,O){let N=w+"-"+v.id;super(o,m,v,b,_,x,T,O,N),this.contentAttr=function(o){return Dl.replace(El,o)}(N),this.hostAttr=function(o){return Pl.replace(El,o)}(N)}applyToHost(o){this.applyStyles(),this.setAttribute(o,this.hostAttr,"")}createElement(o,m){let v=super.createElement(o,m);return super.setAttribute(v,this.contentAttr,""),v}},va=class e extends Xo{supportsDOMEvents=!0;static makeCurrent(){!function(o){Jo??=o}(new e)}onAndCancel(o,m,v,w){return o.addEventListener(m,v,w),()=>{o.removeEventListener(m,v,w)}}dispatchEvent(o,m){o.dispatchEvent(m)}remove(o){o.remove()}createElement(o,m){return(m=m||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,m){return"window"===m?window:"document"===m?o:"body"===m?o.body:null}getBaseHref(o){let m=(wa=wa||document.head.querySelector("base"))?wa.getAttribute("href"):null;return null==m?null:function(o){return new URL(o,document.baseURI).pathname}(m)}resetBaseElement(){wa=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return Er(document.cookie,o)}},wa=null;var Ca=(()=>{class e{build(){return new XMLHttpRequest}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac})}return e})(),_a=(()=>{class e extends ml{constructor(o){super(o)}supports(o){return!0}addEventListener(o,m,v,w){return o.addEventListener(m,v,w),()=>this.removeEventListener(o,m,v,w)}removeEventListener(o,m,v,w){return o.removeEventListener(m,v,w)}static ɵfac=function(o){return new(o||e)(I(Wo))};static ɵprov=E({token:e,factory:e.ɵfac})}return e})(),xa=["alt","control","meta","shift"],Ea={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ka={alt:o=>o.altKey,control:o=>o.ctrlKey,meta:o=>o.metaKey,shift:o=>o.shiftKey},Ra=(()=>{class e extends ml{constructor(o){super(o)}supports(o){return null!=e.parseEventName(o)}addEventListener(o,m,v,w){let b=e.parseEventName(m),_=e.eventCallback(b.fullKey,v,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>et().onAndCancel(o,b.domEventName,_,w))}static parseEventName(o){let m=o.toLowerCase().split("."),v=m.shift();if(0===m.length||"keydown"!==v&&"keyup"!==v)return null;let w=e._normalizeKey(m.pop()),b="",_=m.indexOf("code");if(_>-1&&(m.splice(_,1),b="code."),xa.forEach(o=>{let v=m.indexOf(o);v>-1&&(m.splice(v,1),b+=o+".")}),b+=w,0!=m.length||0===w.length)return null;let x={};return x.domEventName=v,x.fullKey=b,x}static matchEventFullKeyCode(o,m){let v=Ea[o.key]||o.key,w="";return m.indexOf("code.")>-1&&(v=o.code,w="code."),!(null==v||!v)&&(v=v.toLowerCase()," "===v?v="space":"."===v&&(v="dot"),xa.forEach(m=>{if(m!==v){(0,ka[m])(o)&&(w+=m+".")}}),w+=v,w===m)}static eventCallback(o,m,v){return w=>{e.matchEventFullKeyCode(w,o)&&v.runGuarded(()=>m(w))}}static _normalizeKey(o){return"esc"===o?"escape":o}static ɵfac=function(o){return new(o||e)(I(Wo))};static ɵprov=E({token:e,factory:e.ɵfac})}return e})();function Aw(o,m,v){return function(o){let{rootComponent:m,appProviders:v,platformProviders:w,platformRef:b}=o;try{let o=b?.injector??ow(w),_=[ZE({}),{provide:cr,useExisting:go},...v||[]];return ew({r3Injector:new Es({providers:_,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:o,rootComponent:m})}catch(o){return Promise.reject(o)}}(y({rootComponent:o,platformRef:v?.platformRef},function(o){return{appProviders:[...Aa,...o?.providers??[]],platformProviders:Oa}}(m)))}var Oa=[{provide:Qr,useValue:"browser"},{provide:Wr,useValue:function(){va.makeCurrent()},multi:!0},{provide:Wo,useFactory:function(){return function(o){zr=o}(document),document}}],Aa=[{provide:qt,useValue:"root"},{provide:jr,useFactory:function(){return new jr}},{provide:fl,useClass:_a,multi:!0,deps:[Wo]},{provide:fl,useClass:Ra,multi:!0,deps:[Wo]},Yl,yl,gl,{provide:Ji,useExisting:Yl},{provide:ul,useClass:Ca},[]],Na=class{},ja=class{},Pa=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(o){o?"string"==typeof o?this.lazyInit=()=>{this.headers=new Map,o.split("\n").forEach(o=>{let m=o.indexOf(":");if(m>0){let v=o.slice(0,m),w=o.slice(m+1).trim();this.addHeaderEntry(v,w)}})}:typeof Headers<"u"&&o instanceof Headers?(this.headers=new Map,o.forEach((o,m)=>{this.addHeaderEntry(m,o)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(o).forEach(([o,m])=>{this.setHeaderEntries(o,m)})}:this.headers=new Map}has(o){return this.init(),this.headers.has(o.toLowerCase())}get(o){this.init();let m=this.headers.get(o.toLowerCase());return m&&m.length>0?m[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(o){return this.init(),this.headers.get(o.toLowerCase())||null}append(o,m){return this.clone({name:o,value:m,op:"a"})}set(o,m){return this.clone({name:o,value:m,op:"s"})}delete(o,m){return this.clone({name:o,value:m,op:"d"})}maybeSetNormalizedName(o,m){this.normalizedNames.has(m)||this.normalizedNames.set(m,o)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(o=>this.applyUpdate(o)),this.lazyUpdate=null))}copyFrom(o){o.init(),Array.from(o.headers.keys()).forEach(m=>{this.headers.set(m,o.headers.get(m)),this.normalizedNames.set(m,o.normalizedNames.get(m))})}clone(o){let m=new e;return m.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,m.lazyUpdate=(this.lazyUpdate||[]).concat([o]),m}applyUpdate(o){let m=o.name.toLowerCase();switch(o.op){case"a":case"s":let v=o.value;if("string"==typeof v&&(v=[v]),0===v.length)return;this.maybeSetNormalizedName(o.name,m);let w=("a"===o.op?this.headers.get(m):void 0)||[];w.push(...v),this.headers.set(m,w);break;case"d":let b=o.value;if(b){let o=this.headers.get(m);if(!o)return;o=o.filter(o=>-1===b.indexOf(o)),0===o.length?(this.headers.delete(m),this.normalizedNames.delete(m)):this.headers.set(m,o)}else this.headers.delete(m),this.normalizedNames.delete(m)}}addHeaderEntry(o,m){let v=o.toLowerCase();this.maybeSetNormalizedName(o,v),this.headers.has(v)?this.headers.get(v).push(m):this.headers.set(v,[m])}setHeaderEntries(o,m){let v=(Array.isArray(m)?m:[m]).map(o=>o.toString()),w=o.toLowerCase();this.headers.set(w,v),this.maybeSetNormalizedName(o,w)}forEach(o){this.init(),Array.from(this.normalizedNames.keys()).forEach(m=>o(this.normalizedNames.get(m),this.headers.get(m)))}},La=class{encodeKey(o){return Bh(o)}encodeValue(o){return Bh(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}};var za=/%(\d[a-f0-9])/gi,Ba={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Bh(o){return encodeURIComponent(o).replace(za,(o,m)=>Ba[m]??o)}function xi(o){return`${o}`}var Ga=class e{map;encoder;updates=null;cloneFrom=null;constructor(o={}){if(this.encoder=o.encoder||new La,o.fromString){if(o.fromObject)throw new We(2805,!1);this.map=function(o,m){let v=new Map;return o.length>0&&o.replace(/^\?/,"").split("&").forEach(o=>{let w=o.indexOf("="),[b,_]=-1==w?[m.decodeKey(o),""]:[m.decodeKey(o.slice(0,w)),m.decodeValue(o.slice(w+1))],x=v.get(b)||[];x.push(_),v.set(b,x)}),v}(o.fromString,this.encoder)}else o.fromObject?(this.map=new Map,Object.keys(o.fromObject).forEach(m=>{let v=o.fromObject[m],w=Array.isArray(v)?v.map(xi):[xi(v)];this.map.set(m,w)})):this.map=null}has(o){return this.init(),this.map.has(o)}get(o){this.init();let m=this.map.get(o);return m?m[0]:null}getAll(o){return this.init(),this.map.get(o)||null}keys(){return this.init(),Array.from(this.map.keys())}append(o,m){return this.clone({param:o,value:m,op:"a"})}appendAll(o){let m=[];return Object.keys(o).forEach(v=>{let w=o[v];Array.isArray(w)?w.forEach(o=>{m.push({param:v,value:o,op:"a"})}):m.push({param:v,value:w,op:"a"})}),this.clone(m)}set(o,m){return this.clone({param:o,value:m,op:"s"})}delete(o,m){return this.clone({param:o,value:m,op:"d"})}toString(){return this.init(),this.keys().map(o=>{let m=this.encoder.encodeKey(o);return this.map.get(o).map(o=>m+"="+this.encoder.encodeValue(o)).join("&")}).filter(o=>""!==o).join("&")}clone(o){let m=new e({encoder:this.encoder});return m.cloneFrom=this.cloneFrom||this,m.updates=(this.updates||[]).concat(o),m}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(o=>this.map.set(o,this.cloneFrom.map.get(o))),this.updates.forEach(o=>{switch(o.op){case"a":case"s":let m=("a"===o.op?this.map.get(o.param):void 0)||[];m.push(xi(o.value)),this.map.set(o.param,m);break;case"d":if(void 0===o.value){this.map.delete(o.param);break}{let m=this.map.get(o.param)||[],v=m.indexOf(xi(o.value));-1!==v&&m.splice(v,1),m.length>0?this.map.set(o.param,m):this.map.delete(o.param)}}}),this.cloneFrom=this.updates=null)}},Za=class{map=new Map;set(o,m){return this.map.set(o,m),this}get(o){return this.map.has(o)||this.map.set(o,o.defaultValue()),this.map.get(o)}delete(o){return this.map.delete(o),this}has(o){return this.map.has(o)}keys(){return this.map.keys()}};function Uh(o){return typeof ArrayBuffer<"u"&&o instanceof ArrayBuffer}function $h(o){return typeof Blob<"u"&&o instanceof Blob}function Hh(o){return typeof FormData<"u"&&o instanceof FormData}var Wa="Content-Type",Ja="Accept",Xa="X-Request-URL",eu="text/plain",tu="application/json",nu=`${tu}, ${eu}, */*`,su=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(o,m,v,w){let b;if(this.url=m,this.method=o.toUpperCase(),function(o){switch(o){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||w?(this.body=void 0!==v?v:null,b=w):b=v,b&&(this.reportProgress=!!b.reportProgress,this.withCredentials=!!b.withCredentials,b.responseType&&(this.responseType=b.responseType),b.headers&&(this.headers=b.headers),b.context&&(this.context=b.context),b.params&&(this.params=b.params),this.transferCache=b.transferCache),this.headers??=new Pa,this.context??=new Za,this.params){let o=this.params.toString();if(0===o.length)this.urlWithParams=m;else{let v=m.indexOf("?"),w=-1===v?"?":v<m.length-1?"&":"";this.urlWithParams=m+w+o}}else this.params=new Ga,this.urlWithParams=m}serializeBody(){return null===this.body?null:"string"==typeof this.body||Uh(this.body)||$h(this.body)||Hh(this.body)||function(o){return typeof URLSearchParams<"u"&&o instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ga?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Hh(this.body)?null:$h(this.body)?this.body.type||null:Uh(this.body)?null:"string"==typeof this.body?eu:this.body instanceof Ga?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?tu:null}clone(o={}){let m=o.method||this.method,v=o.url||this.url,w=o.responseType||this.responseType,b=o.transferCache??this.transferCache,_=void 0!==o.body?o.body:this.body,x=o.withCredentials??this.withCredentials,T=o.reportProgress??this.reportProgress,O=o.headers||this.headers,N=o.params||this.params,D=o.context??this.context;return void 0!==o.setHeaders&&(O=Object.keys(o.setHeaders).reduce((m,v)=>m.set(v,o.setHeaders[v]),O)),o.setParams&&(N=Object.keys(o.setParams).reduce((m,v)=>m.set(v,o.setParams[v]),N)),new e(m,v,_,{params:N,headers:O,context:D,reportProgress:T,responseType:w,withCredentials:x,transferCache:b})}},ou=function(o){return o[o.Sent=0]="Sent",o[o.UploadProgress=1]="UploadProgress",o[o.ResponseHeader=2]="ResponseHeader",o[o.DownloadProgress=3]="DownloadProgress",o[o.Response=4]="Response",o[o.User=5]="User",o}(ou||{}),au=class{headers;status;statusText;url;ok;type;constructor(o,m=200,v="OK"){this.headers=o.headers||new Pa,this.status=void 0!==o.status?o.status:m,this.statusText=o.statusText||v,this.url=o.url||null,this.ok=this.status>=200&&this.status<300}},cu=class e extends au{constructor(o={}){super(o)}type=ou.ResponseHeader;clone(o={}){return new e({headers:o.headers||this.headers,status:void 0!==o.status?o.status:this.status,statusText:o.statusText||this.statusText,url:o.url||this.url||void 0})}},hu=class e extends au{body;constructor(o={}){super(o),this.body=void 0!==o.body?o.body:null}type=ou.Response;clone(o={}){return new e({body:void 0!==o.body?o.body:this.body,headers:o.headers||this.headers,status:void 0!==o.status?o.status:this.status,statusText:o.statusText||this.statusText,url:o.url||this.url||void 0})}},mu=class extends au{name="HttpErrorResponse";message;error;ok=!1;constructor(o){super(o,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${o.url||"(unknown url)"}`:this.message=`Http failure response for ${o.url||"(unknown url)"}: ${o.status} ${o.statusText}`,this.error=o.error||null}};function ru(o,m){return{body:m,headers:o.headers,context:o.context,observe:o.observe,params:o.params,reportProgress:o.reportProgress,responseType:o.responseType,withCredentials:o.withCredentials,transferCache:o.transferCache}}var wu=(()=>{class e{handler;constructor(o){this.handler=o}request(o,m,v={}){let w;if(o instanceof su)w=o;else{let b,_;b=v.headers instanceof Pa?v.headers:new Pa(v.headers),v.params&&(_=v.params instanceof Ga?v.params:new Ga({fromObject:v.params})),w=new su(o,m,void 0!==v.body?v.body:null,{headers:b,context:v.context,params:_,reportProgress:v.reportProgress,responseType:v.responseType||"json",withCredentials:v.withCredentials,transferCache:v.transferCache})}let b=C(w).pipe(st(o=>this.handler.handle(o)));if(o instanceof su||"events"===v.observe)return b;let _=b.pipe(ge(o=>o instanceof hu));switch(v.observe||"body"){case"body":switch(w.responseType){case"arraybuffer":return _.pipe(A(o=>{if(null!==o.body&&!(o.body instanceof ArrayBuffer))throw new We(2806,!1);return o.body}));case"blob":return _.pipe(A(o=>{if(null!==o.body&&!(o.body instanceof Blob))throw new We(2807,!1);return o.body}));case"text":return _.pipe(A(o=>{if(null!==o.body&&"string"!=typeof o.body)throw new We(2808,!1);return o.body}));default:return _.pipe(A(o=>o.body))}case"response":return _;default:throw new We(2809,!1)}}delete(o,m={}){return this.request("DELETE",o,m)}get(o,m={}){return this.request("GET",o,m)}head(o,m={}){return this.request("HEAD",o,m)}jsonp(o,m){return this.request("JSONP",o,{params:(new Ga).append(m,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(o,m={}){return this.request("OPTIONS",o,m)}patch(o,m,v={}){return this.request("PATCH",o,ru(v,m))}post(o,m,v={}){return this.request("POST",o,ru(v,m))}put(o,m,v={}){return this.request("PUT",o,ru(v,m))}static ɵfac=function(o){return new(o||e)(I(Na))};static ɵprov=E({token:e,factory:e.ɵfac})}return e})(),bu=/^\)\]\}',?\n/;function zh(o){if(o.url)return o.url;let m=Xa.toLocaleLowerCase();return o.headers.get(m)}var Su=new lt(""),Cu=(()=>{class e{fetchImpl=g(_u,{optional:!0})?.fetch??((...o)=>globalThis.fetch(...o));ngZone=g(Ir);destroyRef=g(ar);destroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0})}handle(o){return new ye(m=>{let v=new AbortController;return this.doRequest(o,v.signal,m).then(iu,o=>m.error(new mu({error:o}))),()=>v.abort()})}doRequest(o,m,v){return jn(this,null,function*(){let w,b=this.createRequestInit(o);try{let _=this.ngZone.runOutsideAngular(()=>this.fetchImpl(o.urlWithParams,y({signal:m},b)));(function(o){o.then(iu,iu)})(_),v.next({type:ou.Sent}),w=yield _}catch(m){return void v.error(new mu({error:m,status:m.status??0,statusText:m.statusText,url:o.urlWithParams,headers:m.headers}))}let _=new Pa(w.headers),x=w.statusText,T=zh(w)??o.urlWithParams,O=w.status,N=null;if(o.reportProgress&&v.next(new cu({headers:_,status:O,statusText:x,url:T})),w.body){let m,b,_=w.headers.get("content-length"),x=[],T=w.body.getReader(),O=0,D=typeof Zone<"u"&&Zone.current,L=!1;if(yield this.ngZone.runOutsideAngular(()=>jn(this,null,function*(){for(;;){if(this.destroyed){yield T.cancel(),L=!0;break}let{done:w,value:N}=yield T.read();if(w)break;if(x.push(N),O+=N.length,o.reportProgress){b="text"===o.responseType?(b??"")+(m??=new TextDecoder).decode(N,{stream:!0}):void 0;let Ou=()=>v.next({type:ou.DownloadProgress,total:_?+_:void 0,loaded:O,partialText:b});D?D.run(Ou):Ou()}}})),L)return void v.complete();let U=this.concatChunks(x,O);try{let m=w.headers.get(Wa)??"";N=this.parseBody(o,U,m)}catch(m){return void v.error(new mu({error:m,headers:new Pa(w.headers),status:w.status,statusText:w.statusText,url:zh(w)??o.urlWithParams}))}}0===O&&(O=N?200:0),O>=200&&O<300?(v.next(new hu({body:N,headers:_,status:O,statusText:x,url:T})),v.complete()):v.error(new mu({error:N,headers:_,status:O,statusText:x,url:T}))})}parseBody(o,m,v){switch(o.responseType){case"json":let o=(new TextDecoder).decode(m).replace(bu,"");return""===o?null:JSON.parse(o);case"text":return(new TextDecoder).decode(m);case"blob":return new Blob([m],{type:v});case"arraybuffer":return m.buffer}}createRequestInit(o){let m={},v=o.withCredentials?"include":void 0;if(o.headers.forEach((o,v)=>m[o]=v.join(",")),o.headers.has(Ja)||(m[Ja]=nu),!o.headers.has(Wa)){let v=o.detectContentTypeHeader();null!==v&&(m[Wa]=v)}return{body:o.serializeBody(),method:o.method,headers:m,credentials:v}}concatChunks(o,m){let v=new Uint8Array(m),w=0;for(let m of o)v.set(m,w),w+=m.length;return v}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac})}return e})(),_u=class{};function iu(){}function Zw(o,m){return m(o)}var xu=new lt(""),Iu=new lt(""),ku=new lt("",{providedIn:"root",factory:()=>!0}),Tu=(()=>{class e extends Na{backend;injector;chain=null;pendingTasks=g(wr);contributeToStability=g(ku);constructor(o,m){super(),this.backend=o,this.injector=m}handle(o){if(null===this.chain){let o=Array.from(new Set([...this.injector.get(xu),...this.injector.get(Iu,[])]));this.chain=o.reduceRight((o,m)=>function(o,m,v){return(w,b)=>ve(v,()=>m(w,m=>o(m,b)))}(o,m,this.injector),Zw)}if(this.contributeToStability){let m=this.pendingTasks.add();return this.chain(o,o=>this.backend.handle(o)).pipe(Tt(()=>this.pendingTasks.remove(m)))}return this.chain(o,o=>this.backend.handle(o))}static ɵfac=function(o){return new(o||e)(I(ja),I(Wt))};static ɵprov=E({token:e,factory:e.ɵfac})}return e})(),Au=/^\)\]\}',?\n/,Nu=RegExp(`^${Xa}:`,"m");var Fu=(()=>{class e{xhrFactory;constructor(o){this.xhrFactory=o}handle(o){if("JSONP"===o.method)throw new We(-2800,!1);let m=this.xhrFactory;return(m.ɵloadImpl?H(m.ɵloadImpl()):C(null)).pipe(me(()=>new ye(v=>{let w=m.build();if(w.open(o.method,o.urlWithParams),o.withCredentials&&(w.withCredentials=!0),o.headers.forEach((o,m)=>w.setRequestHeader(o,m.join(","))),o.headers.has(Ja)||w.setRequestHeader(Ja,nu),!o.headers.has(Wa)){let m=o.detectContentTypeHeader();null!==m&&w.setRequestHeader(Wa,m)}if(o.responseType){let m=o.responseType.toLowerCase();w.responseType="json"!==m?m:"text"}let b=o.serializeBody(),_=null,u=()=>{if(null!==_)return _;let m=w.statusText||"OK",v=new Pa(w.getAllResponseHeaders()),b=function(o){return"responseURL"in o&&o.responseURL?o.responseURL:Nu.test(o.getAllResponseHeaders())?o.getResponseHeader(Xa):null}(w)||o.url;return _=new cu({headers:v,status:w.status,statusText:m,url:b}),_},l=()=>{let{headers:m,status:b,statusText:_,url:x}=u(),T=null;204!==b&&(T=typeof w.response>"u"?w.responseText:w.response),0===b&&(b=T?200:0);let O=b>=200&&b<300;if("json"===o.responseType&&"string"==typeof T){let o=T;T=T.replace(Au,"");try{T=""!==T?JSON.parse(T):null}catch(m){T=o,O&&(O=!1,T={error:m,text:T})}}O?(v.next(new hu({body:T,headers:m,status:b,statusText:_,url:x||void 0})),v.complete()):v.error(new mu({error:T,headers:m,status:b,statusText:_,url:x||void 0}))},f=o=>{let{url:m}=u(),b=new mu({error:o,status:w.status||0,statusText:w.statusText||"Unknown Error",url:m||void 0});v.error(b)},x=!1,d=m=>{x||(v.next(u()),x=!0);let b={type:ou.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(b.total=m.total),"text"===o.responseType&&w.responseText&&(b.partialText=w.responseText),v.next(b)},p=o=>{let m={type:ou.UploadProgress,loaded:o.loaded};o.lengthComputable&&(m.total=o.total),v.next(m)};return w.addEventListener("load",l),w.addEventListener("error",f),w.addEventListener("timeout",f),w.addEventListener("abort",f),o.reportProgress&&(w.addEventListener("progress",d),null!==b&&w.upload&&w.upload.addEventListener("progress",p)),w.send(b),v.next({type:ou.Sent}),()=>{w.removeEventListener("error",f),w.removeEventListener("abort",f),w.removeEventListener("load",l),w.removeEventListener("timeout",f),o.reportProgress&&(w.removeEventListener("progress",d),null!==b&&w.upload&&w.upload.removeEventListener("progress",p)),w.readyState!==w.DONE&&w.abort()}})))}static ɵfac=function(o){return new(o||e)(I(ul))};static ɵprov=E({token:e,factory:e.ɵfac})}return e})(),zu=new lt(""),Hu=new lt("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),qu=new lt("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"}),Gu=class{},Zu=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(o,m){this.doc=o,this.cookieName=m}getToken(){let o=this.doc.cookie||"";return o!==this.lastCookieString&&(this.parseCount++,this.lastToken=Er(o,this.cookieName),this.lastCookieString=o),this.lastToken}static ɵfac=function(o){return new(o||e)(I(Wo),I(Hu))};static ɵprov=E({token:e,factory:e.ɵfac})}return e})(),Yu=/^(?:https?:)?\/\//i;function sI(o,m){if(!g(zu)||"GET"===o.method||"HEAD"===o.method||Yu.test(o.url))return m(o);let v=g(Gu).getToken(),w=g(qu);return null!=v&&!o.headers.has(w)&&(o=o.clone({headers:o.headers.set(w,v)})),m(o)}var ec=function(o){return o[o.Interceptors=0]="Interceptors",o[o.LegacyInterceptors=1]="LegacyInterceptors",o[o.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",o[o.NoXsrfProtection=3]="NoXsrfProtection",o[o.JsonpSupport=4]="JsonpSupport",o[o.RequestsMadeViaParent=5]="RequestsMadeViaParent",o[o.Fetch=6]="Fetch",o}(ec||{});function cI(...o){let m=[wu,Fu,Tu,{provide:Na,useExisting:Tu},{provide:ja,useFactory:()=>g(Su,{optional:!0})??g(Fu)},{provide:xu,useValue:sI,multi:!0},{provide:zu,useValue:!0},{provide:Gu,useClass:Zu}];for(let v of o)m.push(...v.ɵproviders);return fr(m)}function uI(){return function(o,m){return{ɵkind:o,ɵproviders:m}}(ec.Fetch,[Cu,{provide:Su,useExisting:Cu},{provide:ja,useExisting:Cu}])}var ac=(()=>{class e{_doc;constructor(o){this._doc=o}getTitle(){return this._doc.title}setTitle(o){this._doc.title=o||""}static ɵfac=function(o){return new(o||e)(I(Wo))};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),bc="primary",Cc=Symbol("RouteTitle"),Ic=class{params;constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){let m=this.params[o];return Array.isArray(m)?m[0]:m}return null}getAll(o){if(this.has(o)){let m=this.params[o];return Array.isArray(m)?m:[m]}return[]}get keys(){return Object.keys(this.params)}};function Ht(o){return new Ic(o)}function ap(o,m,v){let w=v.path.split("/");if(w.length>o.length||"full"===v.pathMatch&&(m.hasChildren()||w.length<o.length))return null;let b={};for(let m=0;m<w.length;m++){let v=w[m],_=o[m];if(":"===v[0])b[v.substring(1)]=_;else if(v!==_.path)return null}return{consumed:o.slice(0,w.length),posParams:b}}function Ve(o,m){let v,w=o?pu(o):void 0,b=m?pu(m):void 0;if(!w||!b||w.length!=b.length)return!1;for(let b=0;b<w.length;b++)if(v=w[b],!cp(o[v],m[v]))return!1;return!0}function pu(o){return[...Object.keys(o),...Object.getOwnPropertySymbols(o)]}function cp(o,m){if(Array.isArray(o)&&Array.isArray(m)){if(o.length!==m.length)return!1;let v=[...o].sort(),w=[...m].sort();return v.every((o,m)=>w[m]===o)}return o===m}function up(o){return o.length>0?o[o.length-1]:null}function Et(o){return function(o){return!!o&&(o instanceof ye||S(o.lift)&&S(o.subscribe))}(o)?o:Ci(o)?H(Promise.resolve(o)):C(o)}var Ec={exact:function dp(o,m,v){if(!Ut(o.segments,m.segments)||!Vi(o.segments,m.segments,v)||o.numberOfChildren!==m.numberOfChildren)return!1;for(let w in m.children)if(!o.children[w]||!dp(o.children[w],m.children[w],v))return!1;return!0},subset:fp},Uc={exact:function(o,m){return Ve(o,m)},subset:function(o,m){return Object.keys(m).length<=Object.keys(o).length&&Object.keys(m).every(v=>cp(o[v],m[v]))},ignored:()=>!0};function ep(o,m,v){return Ec[v.paths](o.root,m.root,v.matrixParams)&&Uc[v.queryParams](o.queryParams,m.queryParams)&&!("exact"===v.fragment&&o.fragment!==m.fragment)}function fp(o,m,v){return hp(o,m,m.segments,v)}function hp(o,m,v,w){if(o.segments.length>v.length){let b=o.segments.slice(0,v.length);return!(!Ut(b,v)||m.hasChildren()||!Vi(b,v,w))}if(o.segments.length===v.length){if(!Ut(o.segments,v)||!Vi(o.segments,v,w))return!1;for(let v in m.children)if(!o.children[v]||!fp(o.children[v],m.children[v],w))return!1;return!0}{let b=v.slice(0,o.segments.length),_=v.slice(o.segments.length);return!!(Ut(o.segments,b)&&Vi(o.segments,b,w)&&o.children[bc])&&hp(o.children[bc],m,_,w)}}function Vi(o,m,v){return m.every((m,w)=>Uc[v](o[w].parameters,m.parameters))}var Hc=class{root;queryParams;fragment;_queryParamMap;constructor(o=new qc([],{}),m={},v=null){this.root=o,this.queryParams=m,this.fragment=v}get queryParamMap(){return this._queryParamMap??=Ht(this.queryParams),this._queryParamMap}toString(){return Qc.serialize(this)}},qc=class{segments;children;parent=null;constructor(o,m){this.segments=o,this.children=m,Object.values(m).forEach(o=>o.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Bi(this)}},Gc=class{path;parameters;_parameterMap;constructor(o,m){this.path=o,this.parameters=m}get parameterMap(){return this._parameterMap??=Ht(this.parameters),this._parameterMap}toString(){return gp(this)}};function Ut(o,m){return o.length===m.length&&o.every((o,v)=>o.path===m[v].path)}var Zc=(()=>{class e{static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:()=>new Wc,providedIn:"root"})}return e})(),Wc=class{parse(o){let m=new sh(o);return new Hc(m.parseRootSegment(),m.parseQueryParams(),m.parseFragment())}serialize(o){let m=`/${Rr(o.root,!0)}`,v=function(o){let m=Object.entries(o).map(([o,m])=>Array.isArray(m)?m.map(m=>`${Li(o)}=${Li(m)}`).join("&"):`${Li(o)}=${Li(m)}`).filter(o=>o);return m.length?`?${m.join("&")}`:""}(o.queryParams),w="string"==typeof o.fragment?`#${function(o){return encodeURI(o)}(o.fragment)}`:"";return`${m}${v}${w}`}},Qc=new Wc;function Bi(o){return o.segments.map(o=>gp(o)).join("/")}function Rr(o,m){if(!o.hasChildren())return Bi(o);if(m){let m=o.children[bc]?Rr(o.children[bc],!1):"",v=[];return Object.entries(o.children).forEach(([o,m])=>{o!==bc&&v.push(`${o}:${Rr(m,!1)}`)}),v.length>0?`${m}(${v.join("//")})`:m}{let m=function(o,m){let v=[];return Object.entries(o.children).forEach(([o,w])=>{o===bc&&(v=v.concat(m(w,o)))}),Object.entries(o.children).forEach(([o,w])=>{o!==bc&&(v=v.concat(m(w,o)))}),v}(o,(m,v)=>v===bc?[Rr(o.children[bc],!1)]:[`${v}:${Rr(m,!1)}`]);return 1===Object.keys(o.children).length&&null!=o.children[bc]?`${Bi(o)}/${m[0]}`:`${Bi(o)}/(${m.join("//")})`}}function pp(o){return encodeURIComponent(o).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Li(o){return pp(o).replace(/%3B/gi,";")}function gu(o){return pp(o).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ui(o){return decodeURIComponent(o)}function tp(o){return Ui(o.replace(/\+/g,"%20"))}function gp(o){return`${gu(o.path)}${function(o){return Object.entries(o).map(([o,m])=>`;${gu(o)}=${gu(m)}`).join("")}(o.parameters)}`}var Jc=/^[^\/()?;#]+/;function uu(o){let m=o.match(Jc);return m?m[0]:""}var Xc=/^[^\/()?;=#]+/;var Yc=/^[^=?&#]+/;var ih=/^[^&#]+/;var sh=class{url;remaining;constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new qc([],{}):new qc([],this.parseChildren())}parseQueryParams(){let o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");let o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let m={};this.peekStartsWith("/(")&&(this.capture("/"),m=this.parseParens(!0));let v={};return this.peekStartsWith("(")&&(v=this.parseParens(!1)),(o.length>0||Object.keys(m).length>0)&&(v[bc]=new qc(o,m)),v}parseSegment(){let o=uu(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new We(4009,!1);return this.capture(o),new Gc(Ui(o),this.parseMatrixParams())}parseMatrixParams(){let o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){let m=function(o){let m=o.match(Xc);return m?m[0]:""}(this.remaining);if(!m)return;this.capture(m);let v="";if(this.consumeOptional("=")){let o=uu(this.remaining);o&&(v=o,this.capture(v))}o[Ui(m)]=Ui(v)}parseQueryParam(o){let m=function(o){let m=o.match(Yc);return m?m[0]:""}(this.remaining);if(!m)return;this.capture(m);let v="";if(this.consumeOptional("=")){let o=function(o){let m=o.match(ih);return m?m[0]:""}(this.remaining);o&&(v=o,this.capture(v))}let w=tp(m),b=tp(v);if(o.hasOwnProperty(w)){let m=o[w];Array.isArray(m)||(m=[m],o[w]=m),m.push(b)}else o[w]=b}parseParens(o){let m={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let v,w=uu(this.remaining),b=this.remaining[w.length];if("/"!==b&&")"!==b&&";"!==b)throw new We(4010,!1);w.indexOf(":")>-1?(v=w.slice(0,w.indexOf(":")),this.capture(v),this.capture(":")):o&&(v=bc);let _=this.parseChildren();m[v]=1===Object.keys(_).length?_[bc]:new qc([],_),this.consumeOptional("//")}return m}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new We(4011,!1)}};function mp(o){return o.segments.length>0?new qc([],{[bc]:o}):o}function yp(o){let m={};for(let[v,w]of Object.entries(o.children)){let o=yp(w);if(v===bc&&0===o.segments.length&&o.hasChildren())for(let[v,w]of Object.entries(o.children))m[v]=w;else(o.segments.length>0||o.hasChildren())&&(m[v]=o)}return function(o){if(1===o.numberOfChildren&&o.children[bc]){let m=o.children[bc];return new qc(o.segments.concat(m.segments),m.children)}return o}(new qc(o.segments,m))}function xn(o){return o instanceof Hc}function Dp(o){let m;let v=function n(v){let w={};for(let o of v.children){let m=n(o);w[o.outlet]=m}let b=new qc(v.url,w);return v===o&&(m=b),b}(o.root),w=mp(v);return m??w}function Ep(o,m,v,w){let b=o;for(;b.parent;)b=b.parent;if(0===m.length)return lu(b,b,b,v,w);let _=function(o){if("string"==typeof o[0]&&1===o.length&&"/"===o[0])return new ah(!0,0,o);let m=0,v=!1,w=o.reduce((o,w,b)=>{if("object"==typeof w&&null!=w){if(w.outlets){let m={};return Object.entries(w.outlets).forEach(([o,v])=>{m[o]="string"==typeof v?v.split("/"):v}),[...o,{outlets:m}]}if(w.segmentPath)return[...o,w.segmentPath]}return"string"!=typeof w?[...o,w]:0===b?(w.split("/").forEach((w,b)=>{0==b&&"."===w||(0==b&&""===w?v=!0:".."===w?m++:""!=w&&o.push(w))}),o):[...o,w]},[]);return new ah(v,m,w)}(m);if(_.toRoot())return lu(b,b,new qc([],{}),v,w);let x=function(o,m,v){if(o.isAbsolute)return new uh(m,!0,0);if(!v)return new uh(m,!1,NaN);if(null===v.parent)return new uh(v,!0,0);let w=Hi(o.commands[0])?0:1,b=v.segments.length-1+w;return function(o,m,v){let w=o,b=m,_=v;for(;_>b;){if(_-=b,w=w.parent,!w)throw new We(4005,!1);b=w.segments.length}return new uh(w,!1,b-_)}(v,b,o.numberOfDoubleDots)}(_,b,o),T=x.processChildren?Ar(x.segmentGroup,x.index,_.commands):Ip(x.segmentGroup,x.index,_.commands);return lu(b,x.segmentGroup,T,v,w)}function Hi(o){return"object"==typeof o&&null!=o&&!o.outlets&&!o.segmentPath}function kr(o){return"object"==typeof o&&null!=o&&o.outlets}function lu(o,m,v,w,b){let _,x={};w&&Object.entries(w).forEach(([o,m])=>{x[o]=Array.isArray(m)?m.map(o=>`${o}`):`${m}`}),_=o===m?v:wp(o,m,v);let T=mp(yp(_));return new Hc(T,x,b)}function wp(o,m,v){let w={};return Object.entries(o.children).forEach(([o,b])=>{w[o]=b===m?v:wp(b,m,v)}),new qc(o.segments,w)}var ah=class{isAbsolute;numberOfDoubleDots;commands;constructor(o,m,v){if(this.isAbsolute=o,this.numberOfDoubleDots=m,this.commands=v,o&&v.length>0&&Hi(v[0]))throw new We(4003,!1);let w=v.find(kr);if(w&&w!==up(v))throw new We(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}};var uh=class{segmentGroup;processChildren;index;constructor(o,m,v){this.segmentGroup=o,this.processChildren=m,this.index=v}};function Ip(o,m,v){if(o??=new qc([],{}),0===o.segments.length&&o.hasChildren())return Ar(o,m,v);let w=function(o,m,v){let w=0,b=m,_={match:!1,pathIndex:0,commandIndex:0};for(;b<o.segments.length;){if(w>=v.length)return _;let m=o.segments[b],x=v[w];if(kr(x))break;let T=`${x}`,O=w<v.length-1?v[w+1]:null;if(b>0&&void 0===T)break;if(T&&O&&"object"==typeof O&&void 0===O.outlets){if(!rp(T,O,m))return _;w+=2}else{if(!rp(T,{},m))return _;w++}b++}return{match:!0,pathIndex:b,commandIndex:w}}(o,m,v),b=v.slice(w.commandIndex);if(w.match&&w.pathIndex<o.segments.length){let m=new qc(o.segments.slice(0,w.pathIndex),{});return m.children[bc]=new qc(o.segments.slice(w.pathIndex),o.children),Ar(m,0,b)}return w.match&&0===b.length?new qc(o.segments,{}):w.match&&!o.hasChildren()?yu(o,m,v):w.match?Ar(o,0,b):yu(o,m,v)}function Ar(o,m,v){if(0===v.length)return new qc(o.segments,{});{let w=function(o){return kr(o[0])?o[0].outlets:{[bc]:o}}(v),b={};if(Object.keys(w).some(o=>o!==bc)&&o.children[bc]&&1===o.numberOfChildren&&0===o.children[bc].segments.length){let w=Ar(o.children[bc],m,v);return new qc(o.segments,w.children)}return Object.entries(w).forEach(([v,w])=>{"string"==typeof w&&(w=[w]),null!==w&&(b[v]=Ip(o.children[v],m,w))}),Object.entries(o.children).forEach(([o,m])=>{void 0===w[o]&&(b[o]=m)}),new qc(o.segments,b)}}function yu(o,m,v){let w=o.segments.slice(0,m),b=0;for(;b<v.length;){let _=v[b];if(kr(_)){let o=kI(_.outlets);return new qc(w,o)}if(0===b&&Hi(v[0])){let _=o.segments[m];w.push(new Gc(_.path,np(v[0]))),b++;continue}let x=kr(_)?_.outlets[bc]:`${_}`,T=b<v.length-1?v[b+1]:null;x&&T&&Hi(T)?(w.push(new Gc(x,np(T))),b+=2):(w.push(new Gc(x,{})),b++)}return new qc(w,{})}function kI(o){let m={};return Object.entries(o).forEach(([o,v])=>{"string"==typeof v&&(v=[v]),null!==v&&(m[o]=yu(new qc([],{}),0,v))}),m}function np(o){let m={};return Object.entries(o).forEach(([o,v])=>m[o]=`${v}`),m}function rp(o,m,v){return o==v.path&&Ve(m,v.parameters)}var ch="imperative",bh=function(o){return o[o.NavigationStart=0]="NavigationStart",o[o.NavigationEnd=1]="NavigationEnd",o[o.NavigationCancel=2]="NavigationCancel",o[o.NavigationError=3]="NavigationError",o[o.RoutesRecognized=4]="RoutesRecognized",o[o.ResolveStart=5]="ResolveStart",o[o.ResolveEnd=6]="ResolveEnd",o[o.GuardsCheckStart=7]="GuardsCheckStart",o[o.GuardsCheckEnd=8]="GuardsCheckEnd",o[o.RouteConfigLoadStart=9]="RouteConfigLoadStart",o[o.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",o[o.ChildActivationStart=11]="ChildActivationStart",o[o.ChildActivationEnd=12]="ChildActivationEnd",o[o.ActivationStart=13]="ActivationStart",o[o.ActivationEnd=14]="ActivationEnd",o[o.Scroll=15]="Scroll",o[o.NavigationSkipped=16]="NavigationSkipped",o}(bh||{}),Ch=class{id;url;constructor(o,m){this.id=o,this.url=m}},xh=class extends Ch{type=bh.NavigationStart;navigationTrigger;restoredState;constructor(o,m,v="imperative",w=null){super(o,m),this.navigationTrigger=v,this.restoredState=w}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ih=class extends Ch{urlAfterRedirects;type=bh.NavigationEnd;constructor(o,m,v){super(o,m),this.urlAfterRedirects=v}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Th=function(o){return o[o.Redirect=0]="Redirect",o[o.SupersededByNewNavigation=1]="SupersededByNewNavigation",o[o.NoDataFromResolver=2]="NoDataFromResolver",o[o.GuardRejected=3]="GuardRejected",o}(Th||{}),Rh=function(o){return o[o.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",o[o.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",o}(Rh||{}),Nh=class extends Ch{reason;code;type=bh.NavigationCancel;constructor(o,m,v,w){super(o,m),this.reason=v,this.code=w}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},jh=class extends Ch{reason;code;type=bh.NavigationSkipped;constructor(o,m,v,w){super(o,m),this.reason=v,this.code=w}},Ph=class extends Ch{error;target;type=bh.NavigationError;constructor(o,m,v,w){super(o,m),this.error=v,this.target=w}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Lh=class extends Ch{urlAfterRedirects;state;type=bh.RoutesRecognized;constructor(o,m,v,w){super(o,m),this.urlAfterRedirects=v,this.state=w}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vh=class extends Ch{urlAfterRedirects;state;type=bh.GuardsCheckStart;constructor(o,m,v,w){super(o,m),this.urlAfterRedirects=v,this.state=w}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qh=class extends Ch{urlAfterRedirects;state;shouldActivate;type=bh.GuardsCheckEnd;constructor(o,m,v,w,b){super(o,m),this.urlAfterRedirects=v,this.state=w,this.shouldActivate=b}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Gh=class extends Ch{urlAfterRedirects;state;type=bh.ResolveStart;constructor(o,m,v,w){super(o,m),this.urlAfterRedirects=v,this.state=w}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Zh=class extends Ch{urlAfterRedirects;state;type=bh.ResolveEnd;constructor(o,m,v,w){super(o,m),this.urlAfterRedirects=v,this.state=w}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wh=class{route;type=bh.RouteConfigLoadStart;constructor(o){this.route=o}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qh=class{route;type=bh.RouteConfigLoadEnd;constructor(o){this.route=o}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Kh=class{snapshot;type=bh.ChildActivationStart;constructor(o){this.snapshot=o}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jh=class{snapshot;type=bh.ChildActivationEnd;constructor(o){this.snapshot=o}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xh=class{snapshot;type=bh.ActivationStart;constructor(o){this.snapshot=o}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yh=class{snapshot;type=bh.ActivationEnd;constructor(o){this.snapshot=o}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ed=class{},td=class{url;navigationBehaviorOptions;constructor(o,m){this.url=o,this.navigationBehaviorOptions=m}};function Ae(o){return o.outlet||bc}function qr(o){if(!o)return null;if(o.routeConfig?._injector)return o.routeConfig._injector;for(let m=o.parent;m;m=m.parent){let o=m.routeConfig;if(o?._loadedInjector)return o._loadedInjector;if(o?._injector)return o._injector}return null}var nd=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return qr(this.route?.snapshot)??this.rootInjector}constructor(o){this.rootInjector=o,this.children=new ud(this.rootInjector)}},ud=(()=>{class e{rootInjector;contexts=new Map;constructor(o){this.rootInjector=o}onChildOutletCreated(o,m){let v=this.getOrCreateContext(o);v.outlet=m,this.contexts.set(o,v)}onChildOutletDestroyed(o){let m=this.getContext(o);m&&(m.outlet=null,m.attachRef=null)}onOutletDeactivated(){let o=this.contexts;return this.contexts=new Map,o}onOutletReAttached(o){this.contexts=o}getOrCreateContext(o){let m=this.getContext(o);return m||(m=new nd(this.rootInjector),this.contexts.set(o,m)),m}getContext(o){return this.contexts.get(o)||null}static ɵfac=function(o){return new(o||e)(I(Wt))};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),cd=class{_root;constructor(o){this._root=o}get root(){return this._root.value}parent(o){let m=this.pathFromRoot(o);return m.length>1?m[m.length-2]:null}children(o){let m=vu(o,this._root);return m?m.children.map(o=>o.value):[]}firstChild(o){let m=vu(o,this._root);return m&&m.children.length>0?m.children[0].value:null}siblings(o){let m=Du(o,this._root);return m.length<2?[]:m[m.length-2].children.map(o=>o.value).filter(m=>m!==o)}pathFromRoot(o){return Du(o,this._root).map(o=>o.value)}};function vu(o,m){if(o===m.value)return m;for(let v of m.children){let m=vu(o,v);if(m)return m}return null}function Du(o,m){if(o===m.value)return[m];for(let v of m.children){let w=Du(o,v);if(w.length)return w.unshift(m),w}return[]}var md=class{value;children;constructor(o,m){this.value=o,this.children=m}toString(){return`TreeNode(${this.value})`}};function _n(o){let m={};return o&&o.children.forEach(o=>m[o.value.outlet]=o),m}var yd=class extends cd{snapshot;constructor(o,m){super(o),this.snapshot=m,Mu(this,o)}toString(){return this.snapshot.toString()}};function Cp(o){let m=function(o){let m={},v={},w={},b=new Cd([],m,w,"",v,bc,o,null,{});return new jd("",new md(b,[]))}(o),v=new Ee([new Gc("",{})]),w=new Ee({}),b=new Ee({}),_=new Ee({}),x=new Ee(""),T=new wd(v,w,_,x,b,bc,o,m.root);return T.snapshot=m.root,new yd(new md(T,[]),m)}var wd=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(o,m,v,w,b,_,x,T){this.urlSubject=o,this.paramsSubject=m,this.queryParamsSubject=v,this.fragmentSubject=w,this.dataSubject=b,this.outlet=_,this.component=x,this._futureSnapshot=T,this.title=this.dataSubject?.pipe(A(o=>o[Cc]))??C(void 0),this.url=o,this.params=m,this.queryParams=v,this.fragment=w,this.data=b}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(A(o=>Ht(o))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(A(o=>Ht(o))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function rs(o,m,v="emptyOnly"){let w,{routeConfig:b}=o;return w=null===m||"always"!==v&&""!==b?.path&&(m.component||m.routeConfig?.loadComponent)?{params:y({},o.params),data:y({},o.data),resolve:y(y({},o.data),o._resolvedData??{})}:{params:y(y({},m.params),o.params),data:y(y({},m.data),o.data),resolve:y(y(y(y({},o.data),m.data),b?.data),o._resolvedData)},b&&Sp(b)&&(w.resolve[Cc]=b.title),w}var Cd=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Cc]}constructor(o,m,v,w,b,_,x,T,O){this.url=o,this.params=m,this.queryParams=v,this.fragment=w,this.data=b,this.outlet=_,this.component=x,this.routeConfig=T,this._resolve=O}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ht(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ht(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(o=>o.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}},jd=class extends cd{url;constructor(o,m){super(m),this.url=o,Mu(this,m)}toString(){return bp(this._root)}};function Mu(o,m){m.value._routerState=o,m.children.forEach(m=>Mu(o,m))}function bp(o){let m=o.children.length>0?` { ${o.children.map(bp).join(", ")} } `:"";return`${o.value}${m}`}function du(o){if(o.snapshot){let m=o.snapshot,v=o._futureSnapshot;o.snapshot=v,Ve(m.queryParams,v.queryParams)||o.queryParamsSubject.next(v.queryParams),m.fragment!==v.fragment&&o.fragmentSubject.next(v.fragment),Ve(m.params,v.params)||o.paramsSubject.next(v.params),function(o,m){if(o.length!==m.length)return!1;for(let v=0;v<o.length;++v)if(!Ve(o[v],m[v]))return!1;return!0}(m.url,v.url)||o.urlSubject.next(v.url),Ve(m.data,v.data)||o.dataSubject.next(v.data)}else o.snapshot=o._futureSnapshot,o.dataSubject.next(o._futureSnapshot.data)}function Eu(o,m){let v=Ve(o.params,m.params)&&function(o,m){return Ut(o,m)&&o.every((o,v)=>Ve(o.parameters,m[v].parameters))}(o.url,m.url),w=!o.parent!=!m.parent;return v&&!w&&(!o.parent||Eu(o.parent,m.parent))}function Sp(o){return"string"==typeof o.title||null===o.title}var Vd=new lt(""),zd=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=bc;activateEvents=new br;deactivateEvents=new br;attachEvents=new br;detachEvents=new br;routerOutletData=Dr(void 0);parentContexts=g(ud);location=g(ls);changeDetector=g(Vo);inputBinder=g(Jd,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(o){if(o.name){let{firstChange:m,previousValue:v}=o.name;if(m)return;this.isTrackedInParentContexts(v)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(v)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(o){return this.parentContexts.getContext(o)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let o=this.parentContexts.getContext(this.name);o?.route&&(o.attachRef?this.attach(o.attachRef,o.route):this.activateWith(o.route,o.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new We(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new We(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new We(4012,!1);this.location.detach();let o=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(o.instance),o}attach(o,m){this.activated=o,this._activatedRoute=m,this.location.insert(o.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(o.instance)}deactivate(){if(this.activated){let o=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(o)}}activateWith(o,m){if(this.isActivated)throw new We(4013,!1);this._activatedRoute=o;let v=this.location,w=o.snapshot.component,b=this.parentContexts.getOrCreateContext(this.name).children,_=new Hd(o,b,v.injector,this.routerOutletData);this.activated=v.createComponent(w,{index:v.length,injector:_,environmentInjector:m}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(o){return new(o||e)};static ɵdir=$c({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[kn]})}return e})(),Hd=class{route;childContexts;parent;outletData;constructor(o,m,v,w){this.route=o,this.childContexts=m,this.parent=v,this.outletData=w}get(o,m){return o===wd?this.route:o===ud?this.childContexts:o===Vd?this.outletData:this.parent.get(o,m)}},Jd=new lt(""),Xd=(()=>{class e{static ɵfac=function(o){return new(o||e)};static ɵcmp=nh({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(o,m){1&o&&zc(0,"router-outlet")},dependencies:[zd],encapsulation:2})}return e})();function Ru(o){let m=o.children&&o.children.map(Ru),v=m?j(y({},o),{children:m}):y({},o);return!v.component&&!v.loadComponent&&(m||v.loadChildren)&&v.outlet&&v.outlet!==bc&&(v.component=Xd),v}function Br(o,m,v){if(v&&o.shouldReuseRoute(m.value,v.value.snapshot)){let w=v.value;w._futureSnapshot=m.value;let b=function(o,m,v){return m.children.map(m=>{for(let w of v.children)if(o.shouldReuseRoute(m.value,w.value.snapshot))return Br(o,m,w);return Br(o,m)})}(o,m,v);return new md(w,b)}{if(o.shouldAttach(m.value)){let v=o.retrieve(m.value);if(null!==v){let w=v.route;return w.value._futureSnapshot=m.value,w.children=m.children.map(m=>Br(o,m)),w}}let v=function(o){return new wd(new Ee(o.url),new Ee(o.params),new Ee(o.queryParams),new Ee(o.fragment),new Ee(o.data),o.outlet,o.component,o)}(m.value),w=m.children.map(m=>Br(o,m));return new md(v,w)}}var ef=class{redirectTo;navigationBehaviorOptions;constructor(o,m){this.redirectTo=o,this.navigationBehaviorOptions=m}},tf="ngNavigationCancelingError";function os(o,m){let{redirectTo:v,navigationBehaviorOptions:w}=xn(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,b=_p(!1,Th.Redirect);return b.url=v,b.navigationBehaviorOptions=w,b}function _p(o,m){let v=new Error(`NavigationCancelingError: ${o||""}`);return v[tf]=!0,v.cancellationCode=m,v}function Np(o){return!!o&&o[tf]}var of=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(o,m,v,w,b){this.routeReuseStrategy=o,this.futureState=m,this.currState=v,this.forwardEvent=w,this.inputBindingEnabled=b}activate(o){let m=this.futureState._root,v=this.currState?this.currState._root:null;this.deactivateChildRoutes(m,v,o),du(this.futureState.root),this.activateChildRoutes(m,v,o)}deactivateChildRoutes(o,m,v){let w=_n(m);o.children.forEach(o=>{let m=o.value.outlet;this.deactivateRoutes(o,w[m],v),delete w[m]}),Object.values(w).forEach(o=>{this.deactivateRouteAndItsChildren(o,v)})}deactivateRoutes(o,m,v){let w=o.value,b=m?m.value:null;if(w===b)if(w.component){let b=v.getContext(w.outlet);b&&this.deactivateChildRoutes(o,m,b.children)}else this.deactivateChildRoutes(o,m,v);else b&&this.deactivateRouteAndItsChildren(m,v)}deactivateRouteAndItsChildren(o,m){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,m):this.deactivateRouteAndOutlet(o,m)}detachAndStoreRouteSubtree(o,m){let v=m.getContext(o.value.outlet),w=v&&o.value.component?v.children:m,b=_n(o);for(let o of Object.values(b))this.deactivateRouteAndItsChildren(o,w);if(v&&v.outlet){let m=v.outlet.detach(),w=v.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:m,route:o,contexts:w})}}deactivateRouteAndOutlet(o,m){let v=m.getContext(o.value.outlet),w=v&&o.value.component?v.children:m,b=_n(o);for(let o of Object.values(b))this.deactivateRouteAndItsChildren(o,w);v&&(v.outlet&&(v.outlet.deactivate(),v.children.onOutletDeactivated()),v.attachRef=null,v.route=null)}activateChildRoutes(o,m,v){let w=_n(m);o.children.forEach(o=>{this.activateRoutes(o,w[o.value.outlet],v),this.forwardEvent(new Yh(o.value.snapshot))}),o.children.length&&this.forwardEvent(new Jh(o.value.snapshot))}activateRoutes(o,m,v){let w=o.value,b=m?m.value:null;if(du(w),w===b)if(w.component){let b=v.getOrCreateContext(w.outlet);this.activateChildRoutes(o,m,b.children)}else this.activateChildRoutes(o,m,v);else if(w.component){let m=v.getOrCreateContext(w.outlet);if(this.routeReuseStrategy.shouldAttach(w.snapshot)){let v=this.routeReuseStrategy.retrieve(w.snapshot);this.routeReuseStrategy.store(w.snapshot,null),m.children.onOutletReAttached(v.contexts),m.attachRef=v.componentRef,m.route=v.route.value,m.outlet&&m.outlet.attach(v.componentRef,v.route.value),du(v.route.value),this.activateChildRoutes(o,null,m.children)}else m.attachRef=null,m.route=w,m.outlet&&m.outlet.activateWith(w,m.injector),this.activateChildRoutes(o,null,m.children)}else this.activateChildRoutes(o,null,v)}},uf=class{path;route;constructor(o){this.path=o,this.route=this.path[this.path.length-1]}},cf=class{component;route;constructor(o,m){this.component=o,this.route=m}};function HI(o,m,v){let w=o._root;return xr(w,m?m._root:null,v,[w.value])}function Ln(o,m){let v=Symbol(),w=m.get(o,v);return w===v?"function"!=typeof o||function(o){return null!==si(o)}(o)?m.get(o):o:w}function xr(o,m,v,w,b={canDeactivateChecks:[],canActivateChecks:[]}){let _=_n(m);return o.children.forEach(o=>{(function(o,m,v,w,b={canDeactivateChecks:[],canActivateChecks:[]}){let _=o.value,x=m?m.value:null,T=v?v.getContext(o.value.outlet):null;if(x&&_.routeConfig===x.routeConfig){let O=function(o,m,v){if("function"==typeof v)return v(o,m);switch(v){case"pathParamsChange":return!Ut(o.url,m.url);case"pathParamsOrQueryParamsChange":return!Ut(o.url,m.url)||!Ve(o.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Eu(o,m)||!Ve(o.queryParams,m.queryParams);default:return!Eu(o,m)}}(x,_,_.routeConfig.runGuardsAndResolvers);O?b.canActivateChecks.push(new uf(w)):(_.data=x.data,_._resolvedData=x._resolvedData),_.component?xr(o,m,T?T.children:null,w,b):xr(o,m,v,w,b),O&&T&&T.outlet&&T.outlet.isActivated&&b.canDeactivateChecks.push(new cf(T.outlet.component,x))}else x&&Or(m,T,b),b.canActivateChecks.push(new uf(w)),_.component?xr(o,null,T?T.children:null,w,b):xr(o,null,v,w,b)})(o,_[o.value.outlet],v,w.concat([o.value]),b),delete _[o.value.outlet]}),Object.entries(_).forEach(([o,m])=>Or(m,v.getContext(o),b)),b}function Or(o,m,v){let w=_n(o),b=o.value;Object.entries(w).forEach(([o,w])=>{b.component?Or(w,m?m.children.getContext(o):null,v):Or(w,m,v)}),b.component&&m&&m.outlet&&m.outlet.isActivated?v.canDeactivateChecks.push(new cf(m.outlet.component,b)):v.canDeactivateChecks.push(new cf(null,b))}function Gr(o){return"function"==typeof o}function Rp(o){return o instanceof Ne||"EmptyError"===o?.name}var hf=Symbol("INITIAL_VALUE");function Pn(){return me(o=>So(o.map(o=>o.pipe(ze(1),function(...o){let m=ot(o);return P((v,w)=>{(m?nn(o,v,m):nn(o,v)).subscribe(w)})}(hf)))).pipe(A(o=>{for(let m of o)if(!0!==m){if(m===hf)return hf;if(!1===m||XI(m))return m}return!0}),ge(o=>o!==hf),ze(1)))}function XI(o){return xn(o)||o instanceof ef}function eC(o,m){return Z(v=>{let{targetSnapshot:w,currentSnapshot:b,guards:{canActivateChecks:_,canDeactivateChecks:x}}=v;return 0===x.length&&0===_.length?C(j(y({},v),{guardsResult:!0})):function(o,m,v,w){return H(o).pipe(Z(o=>function(o,m,v,w,b){let _=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!_||0===_.length)return C(!0);let x=_.map(_=>{let x=qr(m)??b,T=Ln(_,x);return Et(function(o){return o&&Gr(o.canDeactivate)}(T)?T.canDeactivate(o,m,v,w):ve(x,()=>T(o,m,v,w))).pipe(qe())});return C(x).pipe(Pn())}(o.component,o.route,v,m,w)),qe(o=>!0!==o,!0))}(x,w,b,o).pipe(Z(v=>v&&function(o){return"boolean"==typeof o}(v)?function(o,m,v,w){return H(m).pipe(st(m=>nn(function(o,m){return null!==o&&m&&m(new Kh(o)),C(!0)}(m.route.parent,w),function(o,m){return null!==o&&m&&m(new Xh(o)),C(!0)}(m.route,w),function(o,m,v){let w=m[m.length-1],b=m.slice(0,m.length-1).reverse().map(o=>function(o){let m=o.routeConfig?o.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:o,guards:m}:null}(o)).filter(o=>null!==o).map(m=>To(()=>C(m.guards.map(b=>{let _=qr(m.node)??v,x=Ln(b,_);return Et(function(o){return o&&Gr(o.canActivateChild)}(x)?x.canActivateChild(w,o):ve(_,()=>x(w,o))).pipe(qe())})).pipe(Pn())));return C(b).pipe(Pn())}(o,m.path,v),function(o,m,v){let w=m.routeConfig?m.routeConfig.canActivate:null;if(!w||0===w.length)return C(!0);let b=w.map(w=>To(()=>{let b=qr(m)??v,_=Ln(w,b);return Et(function(o){return o&&Gr(o.canActivate)}(_)?_.canActivate(m,o):ve(b,()=>_(m,o))).pipe(qe())}));return C(b).pipe(Pn())}(o,m.route,v))),qe(o=>!0!==o,!0))}(w,_,o,m):C(v)),A(o=>j(y({},v),{guardsResult:o})))})}function cC(o,m,v,w){let b=m.canLoad;return void 0===b||0===b.length?C(!0):C(b.map(w=>{let b=Ln(w,o);return Et(function(o){return o&&Gr(o.canLoad)}(b)?b.canLoad(m,v):ve(o,()=>b(m,v)))})).pipe(Pn(),xp(w))}function xp(o){return function(...o){return Fs(o)}(ee(o=>{if("boolean"!=typeof o)throw os(0,o)}),A(o=>!0===o))}function uC(o,m,v,w){let b=m.canMatch;return b&&0!==b.length?C(b.map(w=>{let b=Ln(w,o);return Et(function(o){return o&&Gr(o.canMatch)}(b)?b.canMatch(m,v):ve(o,()=>b(m,v)))})).pipe(Pn(),xp()):C(!0)}var pf=class{segmentGroup;constructor(o){this.segmentGroup=o||null}},gf=class extends Error{urlTree;constructor(o){super(),this.urlTree=o}};function Mn(o){return tn(new pf(o))}function lC(o){return tn(new We(4e3,!1))}var mf=class{urlSerializer;urlTree;constructor(o,m){this.urlSerializer=o,this.urlTree=m}lineralizeSegments(o,m){let v=[],w=m.root;for(;;){if(v=v.concat(w.segments),0===w.numberOfChildren)return C(v);if(w.numberOfChildren>1||!w.children[bc])return lC(o.redirectTo);w=w.children[bc]}}applyRedirectCommands(o,m,v,w,b){if("string"!=typeof m){let o=m,{queryParams:v,fragment:_,routeConfig:x,url:T,outlet:O,params:N,data:D,title:L}=w,U=ve(b,()=>o({params:N,data:D,queryParams:v,fragment:_,routeConfig:x,url:T,outlet:O,title:L}));if(U instanceof Hc)throw new gf(U);m=U}let _=this.applyRedirectCreateUrlTree(m,this.urlSerializer.parse(m),o,v);if("/"===m[0])throw new gf(_);return _}applyRedirectCreateUrlTree(o,m,v,w){let b=this.createSegmentGroup(o,m.root,v,w);return new Hc(b,this.createQueryParams(m.queryParams,this.urlTree.queryParams),m.fragment)}createQueryParams(o,m){let v={};return Object.entries(o).forEach(([o,w])=>{if("string"==typeof w&&":"===w[0]){let b=w.substring(1);v[o]=m[b]}else v[o]=w}),v}createSegmentGroup(o,m,v,w){let b=this.createSegments(o,m.segments,v,w),_={};return Object.entries(m.children).forEach(([m,b])=>{_[m]=this.createSegmentGroup(o,b,v,w)}),new qc(b,_)}createSegments(o,m,v,w){return m.map(m=>":"===m.path[0]?this.findPosParam(o,m,w):this.findOrReturn(m,v))}findPosParam(o,m,v){let w=v[m.path.substring(1)];if(!w)throw new We(4001,!1);return w}findOrReturn(o,m){let v=0;for(let w of m){if(w.path===o.path)return m.splice(v),w;v++}return o}},yf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function fC(o,m,v,w,b){let _=Ap(o,m,v);return _.matched?(w=function(o,m){return o.providers&&!o._injector&&(o._injector=wi(o.providers,m,`Route: ${o.path}`)),o._injector??m}(m,w),uC(w,m,v).pipe(A(o=>!0===o?_:y({},yf)))):C(_)}function Ap(o,m,v){if("**"===m.path)return function(o){return{matched:!0,parameters:o.length>0?up(o).parameters:{},consumedSegments:o,remainingSegments:[],positionalParamSegments:{}}}(v);if(""===m.path)return"full"===m.pathMatch&&(o.hasChildren()||v.length>0)?y({},yf):{matched:!0,consumedSegments:[],remainingSegments:v,parameters:{},positionalParamSegments:{}};let w=(m.matcher||ap)(v,o,m);if(!w)return y({},yf);let b={};Object.entries(w.posParams??{}).forEach(([o,m])=>{b[o]=m.path});let _=w.consumed.length>0?y(y({},b),w.consumed[w.consumed.length-1].parameters):b;return{matched:!0,consumedSegments:w.consumed,remainingSegments:v.slice(w.consumed.length),parameters:_,positionalParamSegments:w.posParams??{}}}function op(o,m,v,w){return v.length>0&&function(o,m,v){return v.some(v=>cs(o,m,v)&&Ae(v)!==bc)}(o,v,w)?{segmentGroup:new qc(m,gC(w,new qc(v,o.children))),slicedSegments:[]}:0===v.length&&function(o,m,v){return v.some(v=>cs(o,m,v))}(o,v,w)?{segmentGroup:new qc(o.segments,pC(o,v,w,o.children)),slicedSegments:v}:{segmentGroup:new qc(o.segments,o.children),slicedSegments:v}}function pC(o,m,v,w){let b={};for(let _ of v)if(cs(o,m,_)&&!w[Ae(_)]){let o=new qc([],{});b[Ae(_)]=o}return y(y({},w),b)}function gC(o,m){let v={};v[bc]=m;for(let m of o)if(""===m.path&&Ae(m)!==bc){let o=new qc([],{});v[Ae(m)]=o}return v}function cs(o,m,v){return(!(o.hasChildren()||m.length>0)||"full"!==v.pathMatch)&&""===v.path}var Sf=class{};var Cf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(o,m,v,w,b,_,x){this.injector=o,this.configLoader=m,this.rootComponentType=v,this.config=w,this.urlTree=b,this.paramsInheritanceStrategy=_,this.urlSerializer=x,this.applyRedirects=new mf(this.urlSerializer,this.urlTree)}noMatchError(o){return new We(4002,`'${o.segmentGroup}'`)}recognize(){let o=op(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(o).pipe(A(({children:o,rootSnapshot:m})=>{let v=new md(m,o),w=new jd("",v),b=function(o,m,v=null,w=null){return Ep(Dp(o),m,v,w)}(m,[],this.urlTree.queryParams,this.urlTree.fragment);return b.queryParams=this.urlTree.queryParams,w.url=this.urlSerializer.serialize(b),{state:w,tree:b}}))}match(o){let m=new Cd([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),bc,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,o,bc,m).pipe(A(o=>({children:o,rootSnapshot:m})),it(o=>{if(o instanceof gf)return this.urlTree=o.urlTree,this.match(o.urlTree.root);throw o instanceof pf?this.noMatchError(o):o}))}processSegmentGroup(o,m,v,w,b){return 0===v.segments.length&&v.hasChildren()?this.processChildren(o,m,v,b):this.processSegment(o,m,v,v.segments,w,!0,b).pipe(A(o=>o instanceof md?[o]:[]))}processChildren(o,m,v,w){let b=[];for(let o of Object.keys(v.children))"primary"===o?b.unshift(o):b.push(o);return H(b).pipe(st(b=>{let _=v.children[b],x=function(o,m){let v=o.filter(o=>Ae(o)===m);return v.push(...o.filter(o=>Ae(o)!==m)),v}(m,b);return this.processSegmentGroup(o,x,_,b,w)}),Us((o,m)=>(o.push(...m),o)),at(null),function(o,m){let v=arguments.length>=2;return w=>w.pipe(o?ge((m,v)=>o(m,v,w)):pe,rn(1),v?at(m):Mo(()=>new Ne))}(),Z(o=>{if(null===o)return Mn(v);let m=Op(o);return function(o){o.sort((o,m)=>o.value.outlet===bc?-1:m.value.outlet===bc?1:o.value.outlet.localeCompare(m.value.outlet))}(m),C(m)}))}processSegment(o,m,v,w,b,_,x){return H(m).pipe(st(T=>this.processSegmentAgainstRoute(T._injector??o,m,T,v,w,b,_,x).pipe(it(o=>{if(o instanceof pf)return C(null);throw o}))),qe(o=>!!o),it(o=>{if(Rp(o))return function(o,m,v){return 0===m.length&&!o.children[v]}(v,w,b)?C(new Sf):Mn(v);throw o}))}processSegmentAgainstRoute(o,m,v,w,b,_,x,T){return Ae(v)===_||_!==bc&&cs(w,b,v)?void 0===v.redirectTo?this.matchSegmentAgainstRoute(o,w,v,b,_,T):this.allowRedirects&&x?this.expandSegmentAgainstRouteUsingRedirect(o,w,m,v,b,_,T):Mn(w):Mn(w)}expandSegmentAgainstRouteUsingRedirect(o,m,v,w,b,_,x){let{matched:T,parameters:O,consumedSegments:N,positionalParamSegments:D,remainingSegments:L}=Ap(m,w,b);if(!T)return Mn(m);"string"==typeof w.redirectTo&&"/"===w.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));let U=new Cd(b,O,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,ip(w),Ae(w),w.component??w._loadedComponent??null,w,sp(w)),M=rs(U,x,this.paramsInheritanceStrategy);U.params=Object.freeze(M.params),U.data=Object.freeze(M.data);let z=this.applyRedirects.applyRedirectCommands(N,w.redirectTo,D,U,o);return this.applyRedirects.lineralizeSegments(w,z).pipe(Z(w=>this.processSegment(o,v,m,w.concat(L),_,!1,x)))}matchSegmentAgainstRoute(o,m,v,w,b,_){let x=fC(m,v,w,o,this.urlSerializer);return"**"===v.path&&(m.children={}),x.pipe(me(x=>x.matched?(o=v._injector??o,this.getChildConfig(o,v,w).pipe(me(({routes:w})=>{let T=v._loadedInjector??o,{parameters:O,consumedSegments:N,remainingSegments:D}=x,L=new Cd(N,O,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,ip(v),Ae(v),v.component??v._loadedComponent??null,v,sp(v)),U=rs(L,_,this.paramsInheritanceStrategy);L.params=Object.freeze(U.params),L.data=Object.freeze(U.data);let{segmentGroup:M,slicedSegments:z}=op(m,N,D,w);if(0===z.length&&M.hasChildren())return this.processChildren(T,w,M,L).pipe(A(o=>new md(L,o)));if(0===w.length&&0===z.length)return C(new md(L,[]));let $=Ae(v)===b;return this.processSegment(T,w,M,z,$?bc:b,!0,L).pipe(A(o=>new md(L,o instanceof md?[o]:[])))}))):Mn(m)))}getChildConfig(o,m,v){return m.children?C({routes:m.children,injector:o}):m.loadChildren?void 0!==m._loadedRoutes?C({routes:m._loadedRoutes,injector:m._loadedInjector}):cC(o,m,v,this.urlSerializer).pipe(Z(v=>v?this.configLoader.loadChildren(o,m).pipe(ee(o=>{m._loadedRoutes=o.routes,m._loadedInjector=o.injector})):tn(_p(!1,Th.GuardRejected)))):C({routes:[],injector:o})}};function IC(o){let m=o.value.routeConfig;return m&&""===m.path}function Op(o){let m=[],v=new Set;for(let w of o){if(!IC(w)){m.push(w);continue}let o=m.find(o=>w.value.routeConfig===o.value.routeConfig);void 0!==o?(o.children.push(...w.children),v.add(o)):m.push(w)}for(let o of v){let v=Op(o.children);m.push(new md(o.value,v))}return m.filter(o=>!v.has(o))}function ip(o){return o.data||{}}function sp(o){return o.resolve||{}}function CC(o,m,v,w,b,_){return Z(x=>function(o,m,v,w,b,_,x="emptyOnly"){return new Cf(o,m,v,w,b,x,_).recognize()}(o,m,v,w,x.extractedUrl,b,_).pipe(A(({state:o,tree:m})=>j(y({},x),{targetSnapshot:o,urlAfterRedirects:m}))))}function bC(o,m){return Z(v=>{let{targetSnapshot:w,guards:{canActivateChecks:b}}=v;if(!b.length)return C(v);let _=new Set(b.map(o=>o.route)),x=new Set;for(let o of _)if(!x.has(o))for(let m of kp(o))x.add(m);let T=0;return H(x).pipe(st(v=>_.has(v)?function(o,m,v,w){let b=o.routeConfig,_=o._resolve;return void 0!==b?.title&&!Sp(b)&&(_[Cc]=b.title),function(o,m,v,w){let b=pu(o);if(0===b.length)return C({});let _={};return H(b).pipe(Z(b=>function(o,m,v,w){let b=qr(m)??w,_=Ln(o,b),x=_.resolve?_.resolve(m,v):ve(b,()=>_(m,v));return Et(x)}(o[b],m,v,w).pipe(qe(),ee(o=>{if(o instanceof ef)throw os(new Wc,o);_[b]=o}))),rn(1),A(()=>_),it(o=>Rp(o)?Re:tn(o)))}(_,o,m,w).pipe(A(m=>(o._resolvedData=m,o.data=rs(o,o.parent,v).resolve,null)))}(v,w,o,m):(v.data=rs(v,v.parent,o).resolve,C(void 0))),ee(()=>T++),rn(1),Z(o=>T===x.size?C(v):Re))})}function kp(o){let m=o.children.map(o=>kp(o)).flat();return[o,...m]}function fu(o){return me(m=>{let v=o(m);return v?H(v).pipe(A(()=>m)):C(m)})}var Lf=(()=>{class e{buildTitle(o){let m,v=o.root;for(;void 0!==v;)m=this.getResolvedTitleForRoute(v)??m,v=v.children.find(o=>o.outlet===bc);return m}getResolvedTitleForRoute(o){return o.data[Cc]}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:()=>g(Zf),providedIn:"root"})}return e})(),Zf=(()=>{class e extends Lf{title;constructor(o){super(),this.title=o}updateTitle(o){let m=this.buildTitle(o);void 0!==m&&this.title.setTitle(m)}static ɵfac=function(o){return new(o||e)(I(ac))};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),Xf=new lt("",{providedIn:"root",factory:()=>({})}),lp=new lt(""),vp=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(no);loadComponent(o){if(this.componentLoaders.get(o))return this.componentLoaders.get(o);if(o._loadedComponent)return C(o._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(o);let m=Et(o.loadComponent()).pipe(A(jp),ee(m=>{this.onLoadEndListener&&this.onLoadEndListener(o),o._loadedComponent=m}),Tt(()=>{this.componentLoaders.delete(o)})),v=new be(m,()=>new _e).pipe(Xt());return this.componentLoaders.set(o,v),v}loadChildren(o,m){if(this.childrenLoaders.get(m))return this.childrenLoaders.get(m);if(m._loadedRoutes)return C({routes:m._loadedRoutes,injector:m._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(m);let v=function(o,m,v,w){return Et(o.loadChildren()).pipe(A(jp),Z(o=>o instanceof bs||Array.isArray(o)?C(o):H(m.compileModuleAsync(o))),A(m=>{w&&w(o);let b,_,x=!1;return Array.isArray(m)?(_=m,x=!0):(b=m.create(v).injector,_=b.get(lp,[],{optional:!0,self:!0}).flat()),{routes:_.map(Ru),injector:b}}))}(m,this.compiler,o,this.onLoadEndListener).pipe(Tt(()=>{this.childrenLoaders.delete(m)})),w=new be(v,()=>new _e).pipe(Xt());return this.childrenLoaders.set(m,w),w}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function jp(o){return function(o){return o&&"object"==typeof o&&"default"in o}(o)?o.default:o}var Tp=(()=>{class e{static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:()=>g(Pp),providedIn:"root"})}return e})(),Pp=(()=>{class e{shouldProcessUrl(o){return!0}extract(o){return o}merge(o,m){return o}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),Lp=new lt(""),Vp=new lt(""),Up=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new _e;transitionAbortSubject=new _e;configLoader=g(vp);environmentInjector=g(Wt);destroyRef=g(ar);urlSerializer=g(Zc);rootContexts=g(ud);location=g(ol);inputBindingEnabled=null!==g(Jd,{optional:!0});titleStrategy=g(Lf);options=g(Xf,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(Tp);createViewTransition=g(Lp,{optional:!0});navigationErrorHandler=g(Vp,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>C(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=o=>this.events.next(new Qh(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new Wh(o)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(o){let m=++this.navigationId;this.transitions?.next(j(y({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:m}))}setupNavigations(o){return this.transitions=new Ee(null),this.transitions.pipe(ge(o=>null!==o),me(m=>{let v=!1,w=!1;return C(m).pipe(me(v=>{if(this.navigationId>m.id)return this.cancelNavigationTransition(m,"",Th.SupersededByNewNavigation),Re;this.currentTransition=m,this.currentNavigation={id:v.id,initialUrl:v.rawUrl,extractedUrl:v.extractedUrl,targetBrowserUrl:"string"==typeof v.extras.browserUrl?this.urlSerializer.parse(v.extras.browserUrl):v.extras.browserUrl,trigger:v.source,extras:v.extras,previousNavigation:this.lastSuccessfulNavigation?j(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let w=!o.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),b=v.extras.onSameUrlNavigation??o.onSameUrlNavigation;if(!w&&"reload"!==b)return this.events.next(new jh(v.id,this.urlSerializer.serialize(v.rawUrl),"",Rh.IgnoredSameUrlNavigation)),v.resolve(!1),Re;if(this.urlHandlingStrategy.shouldProcessUrl(v.rawUrl))return C(v).pipe(me(o=>(this.events.next(new xh(o.id,this.urlSerializer.serialize(o.extractedUrl),o.source,o.restoredState)),o.id!==this.navigationId?Re:Promise.resolve(o))),CC(this.environmentInjector,this.configLoader,this.rootComponentType,o.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(o=>{m.targetSnapshot=o.targetSnapshot,m.urlAfterRedirects=o.urlAfterRedirects,this.currentNavigation=j(y({},this.currentNavigation),{finalUrl:o.urlAfterRedirects});let v=new Lh(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(v)}));if(w&&this.urlHandlingStrategy.shouldProcessUrl(v.currentRawUrl)){let{id:o,extractedUrl:w,source:b,restoredState:_,extras:x}=v,T=new xh(o,this.urlSerializer.serialize(w),b,_);this.events.next(T);let O=Cp(this.rootComponentType).snapshot;return this.currentTransition=m=j(y({},v),{targetSnapshot:O,urlAfterRedirects:w,extras:j(y({},x),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=w,C(m)}return this.events.next(new jh(v.id,this.urlSerializer.serialize(v.extractedUrl),"",Rh.IgnoredByUrlHandlingStrategy)),v.resolve(!1),Re}),ee(o=>{let m=new Vh(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(m)}),A(o=>(this.currentTransition=m=j(y({},o),{guards:HI(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),m)),eC(this.environmentInjector,o=>this.events.next(o)),ee(o=>{if(m.guardsResult=o.guardsResult,o.guardsResult&&"boolean"!=typeof o.guardsResult)throw os(this.urlSerializer,o.guardsResult);let v=new qh(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(v)}),ge(o=>!!o.guardsResult||(this.cancelNavigationTransition(o,"",Th.GuardRejected),!1)),fu(o=>{if(0!==o.guards.canActivateChecks.length)return C(o).pipe(ee(o=>{let m=new Gh(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(m)}),me(o=>{let m=!1;return C(o).pipe(bC(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(o,"",Th.NoDataFromResolver)}}))}),ee(o=>{let m=new Zh(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(m)}))}),fu(o=>{let a=o=>{let m=[];o.routeConfig?.loadComponent&&!o.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(o.routeConfig).pipe(ee(m=>{o.component=m}),A(()=>{})));for(let v of o.children)m.push(...a(v));return m};return So(a(o.targetSnapshot.root)).pipe(at(null),ze(1))}),fu(()=>this.afterPreactivation()),me(()=>{let{currentSnapshot:o,targetSnapshot:v}=m,w=this.createViewTransition?.(this.environmentInjector,o.root,v.root);return w?H(w).pipe(A(()=>m)):C(m)}),A(v=>{let w=function(o,m,v){let w=Br(o,m._root,v?v._root:void 0);return new yd(w,m)}(o.routeReuseStrategy,v.targetSnapshot,v.currentRouterState);return this.currentTransition=m=j(y({},v),{targetRouterState:w}),this.currentNavigation.targetRouterState=w,m}),ee(()=>{this.events.next(new ed)}),((o,m,v,w)=>A(b=>(new of(m,b.targetRouterState,b.currentRouterState,v,w).activate(o),b)))(this.rootContexts,o.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),ze(1),ee({next:o=>{v=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ih(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{v=!0}}),function(o){return P((m,v)=>{q(o).subscribe(k(v,()=>v.complete(),It)),!v.closed&&m.subscribe(v)})}(this.transitionAbortSubject.pipe(ee(o=>{throw o}))),Tt(()=>{!v&&!w&&this.cancelNavigationTransition(m,"",Th.SupersededByNewNavigation),this.currentTransition?.id===m.id&&(this.currentNavigation=null,this.currentTransition=null)}),it(o=>{if(this.destroyed)return m.resolve(!1),Re;if(w=!0,Np(o))this.events.next(new Nh(m.id,this.urlSerializer.serialize(m.extractedUrl),o.message,o.cancellationCode)),function(o){return Np(o)&&xn(o.url)}(o)?this.events.next(new td(o.url,o.navigationBehaviorOptions)):m.resolve(!1);else{let v=new Ph(m.id,this.urlSerializer.serialize(m.extractedUrl),o,m.targetSnapshot??void 0);try{let w=ve(this.environmentInjector,()=>this.navigationErrorHandler?.(v));if(!(w instanceof ef))throw this.events.next(v),o;{let{message:o,cancellationCode:v}=os(this.urlSerializer,w);this.events.next(new Nh(m.id,this.urlSerializer.serialize(m.extractedUrl),o,v)),this.events.next(new td(w.redirectTo,w.navigationBehaviorOptions))}}catch(o){this.options.resolveNavigationPromiseOnError?m.resolve(!1):m.reject(o)}}return Re}))}))}cancelNavigationTransition(o,m,v){let w=new Nh(o.id,this.urlSerializer.serialize(o.extractedUrl),m,v);this.events.next(w),o.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let o=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),m=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return o.toString()!==m?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();function RC(o){return o!==ch}var Fp=(()=>{class e{static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:()=>g(zp),providedIn:"root"})}return e})(),Mp=class{shouldDetach(o){return!1}store(o,m){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,m){return o.routeConfig===m.routeConfig}},zp=(()=>{class e extends Mp{static ɵfac=(()=>{let o;return function(m){return(o||(o=Dc(e)))(m||e)}})();static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),Hp=(()=>{class e{urlSerializer=g(Zc);options=g(Xf,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=g(ol);urlHandlingStrategy=g(Tp);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Hc;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:o,initialUrl:m,targetBrowserUrl:v}){let w=void 0!==o?this.urlHandlingStrategy.merge(o,m):m,b=v??w;return b instanceof Hc?this.urlSerializer.serialize(b):b}commitTransition({targetRouterState:o,finalUrl:m,initialUrl:v}){m&&o?(this.currentUrlTree=m,this.rawUrlTree=this.urlHandlingStrategy.merge(m,v),this.routerState=o):this.rawUrlTree=v}routerState=Cp(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:o}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,o??this.rawUrlTree)}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:()=>g($p),providedIn:"root"})}return e})(),$p=(()=>{class e extends Hp{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(o){return this.location.subscribe(m=>{"popstate"===m.type&&setTimeout(()=>{o(m.url,m.state,"popstate")})})}handleRouterEvent(o,m){o instanceof xh?this.updateStateMemento():o instanceof jh?this.commitTransition(m):o instanceof Lh?"eager"===this.urlUpdateStrategy&&(m.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(m),m)):o instanceof ed?(this.commitTransition(m),"deferred"===this.urlUpdateStrategy&&!m.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(m),m)):o instanceof Nh&&(o.code===Th.GuardRejected||o.code===Th.NoDataFromResolver)?this.restoreHistory(m):o instanceof Ph?this.restoreHistory(m,!0):o instanceof Ih&&(this.lastSuccessfulId=o.id,this.currentPageId=this.browserPageId)}setBrowserUrl(o,{extras:m,id:v}){let{replaceUrl:w,state:b}=m;if(this.location.isCurrentPathEqualTo(o)||w){let m=this.browserPageId,w=y(y({},b),this.generateNgRouterState(v,m));this.location.replaceState(o,"",w)}else{let m=y(y({},b),this.generateNgRouterState(v,this.browserPageId+1));this.location.go(o,"",m)}}restoreHistory(o,m=!1){if("computed"===this.canceledNavigationResolution){let m=this.browserPageId,v=this.currentPageId-m;0!==v?this.location.historyGo(v):this.getCurrentUrlTree()===o.finalUrl&&0===v&&(this.resetInternalState(o),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(m&&this.resetInternalState(o),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(o,m){return"computed"===this.canceledNavigationResolution?{navigationId:o,ɵrouterPageId:m}:{navigationId:o}}static ɵfac=(()=>{let o;return function(m){return(o||(o=Dc(e)))(m||e)}})();static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();var qp={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bp={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Gp=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(Ts);stateManager=g(Hp);options=g(Xf,{optional:!0})||{};pendingTasks=g(wr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Up);urlSerializer=g(Zc);location=g(ol);urlHandlingStrategy=g(Tp);_events=new _e;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(Fp);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(lp,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(Jd,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:o=>{this.console.warn(o)}}),this.subscribeToNavigationEvents()}eventsSubscription=new K;subscribeToNavigationEvents(){let o=this.navigationTransitions.events.subscribe(o=>{try{let m=this.navigationTransitions.currentTransition,v=this.navigationTransitions.currentNavigation;if(null!==m&&null!==v)if(this.stateManager.handleRouterEvent(o,v),o instanceof Nh&&o.code!==Th.Redirect&&o.code!==Th.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Ih)this.navigated=!0;else if(o instanceof td){let v=o.navigationBehaviorOptions,w=this.urlHandlingStrategy.merge(o.url,m.currentRawUrl),b=y({browserUrl:m.extras.browserUrl,info:m.extras.info,skipLocationChange:m.extras.skipLocationChange,replaceUrl:m.extras.replaceUrl||"eager"===this.urlUpdateStrategy||RC(m.source)},v);this.scheduleNavigation(w,ch,null,b,{resolve:m.resolve,reject:m.reject,promise:m.promise})}(function(o){return!(o instanceof ed||o instanceof td)})(o)&&this._events.next(o)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(o)}resetRootComponentType(o){this.routerState.root.component=o,this.navigationTransitions.rootComponentType=o}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ch,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((o,m,v)=>{this.navigateToSyncWithBrowser(o,v,m)})}navigateToSyncWithBrowser(o,m,v){let w={replaceUrl:!0},b=v?.navigationId?v:null;if(v){let o=y({},v);delete o.navigationId,delete o.ɵrouterPageId,0!==Object.keys(o).length&&(w.state=o)}let _=this.parseUrl(o);this.scheduleNavigation(_,m,b,w)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(o){this.config=o.map(Ru),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(o,m={}){let v,{relativeTo:w,queryParams:b,fragment:_,queryParamsHandling:x,preserveFragment:T}=m,O=T?this.currentUrlTree.fragment:_,N=null;switch(x??this.options.defaultQueryParamsHandling){case"merge":N=y(y({},this.currentUrlTree.queryParams),b);break;case"preserve":N=this.currentUrlTree.queryParams;break;default:N=b||null}null!==N&&(N=this.removeEmptyProps(N));try{v=Dp(w?w.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof o[0]||"/"!==o[0][0])&&(o=[]),v=this.currentUrlTree.root}return Ep(v,o,N,O??null)}navigateByUrl(o,m={skipLocationChange:!1}){let v=xn(o)?o:this.parseUrl(o),w=this.urlHandlingStrategy.merge(v,this.rawUrlTree);return this.scheduleNavigation(w,ch,null,m)}navigate(o,m={skipLocationChange:!1}){return function(o){for(let m=0;m<o.length;m++)if(null==o[m])throw new We(4008,!1)}(o),this.navigateByUrl(this.createUrlTree(o,m),m)}serializeUrl(o){return this.urlSerializer.serialize(o)}parseUrl(o){try{return this.urlSerializer.parse(o)}catch{return this.urlSerializer.parse("/")}}isActive(o,m){let v;if(v=!0===m?y({},qp):!1===m?y({},Bp):m,xn(o))return ep(this.currentUrlTree,o,v);let w=this.parseUrl(o);return ep(this.currentUrlTree,w,v)}removeEmptyProps(o){return Object.entries(o).reduce((o,[m,v])=>(null!=v&&(o[m]=v),o),{})}scheduleNavigation(o,m,v,w,b){if(this.disposed)return Promise.resolve(!1);let _,x,T;b?(_=b.resolve,x=b.reject,T=b.promise):T=new Promise((o,m)=>{_=o,x=m});let O=this.pendingTasks.add();return function(o,m){o.events.pipe(ge(o=>o instanceof Ih||o instanceof Nh||o instanceof Ph||o instanceof jh),A(o=>o instanceof Ih||o instanceof jh?0:o instanceof Nh&&(o.code===Th.Redirect||o.code===Th.SupersededByNewNavigation)?2:1),ge(o=>2!==o),ze(1)).subscribe(()=>{m()})}(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(O))}),this.navigationTransitions.handleNavigationRequest({source:m,restoredState:v,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:o,extras:w,resolve:_,reject:x,promise:T,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),T.catch(o=>Promise.reject(o))}static ɵfac=function(o){return new(o||e)};static ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}return e})();var Zp=new lt("");function VC(o,...m){return fr([{provide:lp,multi:!0,useValue:o},[],{provide:wd,useFactory:BC,deps:[Gp]},{provide:Vs,multi:!0,useFactory:$C},m.map(o=>o.ɵproviders)])}function BC(o){return o.routerState.root}function $C(){let o=g(ir);return m=>{let v=o.get(Ms);if(m!==v.components[0])return;let w=o.get(Gp),b=o.get(Wp);1===o.get(Qp)&&w.initialNavigation(),o.get(Jp,null,Ct.Optional)?.setUpPreloading(),o.get(Zp,null,Ct.Optional)?.init(),w.resetRootComponentType(v.componentTypes[0]),b.closed||(b.next(),b.complete(),b.unsubscribe())}}var Wp=new lt("",{factory:()=>new _e}),Qp=new lt("",{providedIn:"root",factory:()=>1}),Jp=new lt("");function GC(){return function(o,m){return{ɵkind:o,ɵproviders:m}}(6,[{provide:rl,useClass:ll}])}var Xp="cx.webapp.token",Yp="cx.webapp.clientId",eg=class e{constructor(){this.token=oe(this.loadToken()),this.clientId=oe(this.loadOrCreateClientId())}setToken(o){let m=o.trim();m&&(localStorage.setItem(Xp,m),this.token.set(m))}clearToken(){localStorage.removeItem(Xp),this.token.set(null)}hasToken(){return!!this.token()}loadToken(){try{if(typeof window<"u"&&window.location?.search){let o=new URLSearchParams(window.location.search).get("token");if(o){let m=o.trim();if(m){localStorage.setItem(Xp,m);try{let o=window.location.pathname+window.location.hash;window.history.replaceState({},document.title,o)}catch{}return m}}}return localStorage.getItem(Xp)}catch{return null}}loadOrCreateClientId(){try{let o=localStorage.getItem(Yp);if(o)return o;let m=typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():`c-${Math.random().toString(36).slice(2)}-${Date.now()}`;return localStorage.setItem(Yp,m),m}catch{return`c-ephemeral-${Math.random().toString(36).slice(2)}`}}static{this.ɵfac=function(o){return new(o||e)}}static{this.ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}},tg=class e{constructor(){this.auth=g(eg),this.ws=null,this.reconnectAttempts=0,this.reconnectTimer=null,this.explicitClose=!1,this.state=oe("idle"),this.lastError=oe(null),this.cliVersion=oe(null),this.sessionId=oe(null),this.cwd=oe(null),this.isLoading=oe(!1),this.model=oe(null),this.provider=oe(null),this.availableCommands=oe([]),this.thinkingText=oe(""),this.isThinking=oe(!1),this.chatMessages=oe([]),this.messages$=new _e,this.permissions$=new _e,this.permissionResolved$=new _e,this.errors$=new _e,this.isConnected=Sh(()=>"open"===this.state())}connect(){if(!this.auth.hasToken())return this.state.set("auth_error"),void this.lastError.set("Falta token de autenticación. Configurálo primero.");if(this.ws&&(this.ws.readyState===WebSocket.OPEN||this.ws.readyState===WebSocket.CONNECTING))return;this.explicitClose=!1,this.state.set("connecting"),this.lastError.set(null);let o,m=this.buildUrl();try{o=new WebSocket(m)}catch(o){return this.state.set("closed"),this.lastError.set(`No pude abrir el WebSocket: ${o?.message??o}`),void this.scheduleReconnect()}this.ws=o,o.addEventListener("open",()=>this.onOpen()),o.addEventListener("message",o=>this.onMessage(o.data)),o.addEventListener("close",o=>this.onClose(o.code,o.reason)),o.addEventListener("error",()=>{this.lastError.set("WebSocket error (revisá que el server esté arriba).")})}disconnect(){if(this.explicitClose=!0,this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.reconnectTimer=null,this.ws)try{this.ws.close(1e3,"client closed")}catch{}this.ws=null,this.state.set("closed")}send(o){if(this.ws&&this.ws.readyState===WebSocket.OPEN)try{this.ws.send(JSON.stringify(o))}catch(o){this.lastError.set(`Error enviando: ${o?.message??o}`)}else this.lastError.set("Socket no está conectado.")}sendPrompt(o,m="prompt",v){let w=o.trim();!w&&(!v||0===v.length)||this.send({type:"prompt",text:w,mode:m,images:v})}approve(o,m){this.send({type:"approve_permission",id:o,forever:m})}reject(o,m){this.send({type:"reject_permission",id:o,feedback:m})}abort(){this.send({type:"abort"})}buildUrl(){return`${"https:"===location.protocol?"wss:":"ws:"}//${"4200"===location.port?"localhost:9876":location.host}/ws`}onOpen(){this.reconnectAttempts=0;let o=this.auth.token();if(!o)return this.state.set("auth_error"),void this.lastError.set("No hay token al abrir socket.");this.send({type:"auth",token:o,protocolVersion:1,clientId:this.auth.clientId()})}onMessage(o){if("string"!=typeof o)return;let m;try{m=JSON.parse(o)}catch{return}switch(m.type){case"hello":this.state.set("open"),this.cliVersion.set(m.cliVersion),this.sessionId.set(m.sessionId),this.cwd.set(m.cwd),this.availableCommands.set(m.availableCommands??[]),this.chatMessages.set(m.backlog);for(let o of m.backlog)this.messages$.next(o);return;case"message":return this.chatMessages.update(o=>[...o,m]),void this.messages$.next(m);case"clear":return this.chatMessages.set([]),void this.messages$.next(m);case"permission":return void this.permissions$.next(m);case"permission_resolved":return void this.permissionResolved$.next(m);case"status":{let o=m;return this.isLoading.set(o.isLoading),o.model&&this.model.set(o.model),void(o.provider&&this.provider.set(o.provider))}case"thinking":{let o=m;return this.thinkingText.set(o.text),void this.isThinking.set(o.isStreaming)}case"error":return this.errors$.next(m),this.lastError.set(m.message),void(("auth_invalid"===m.code||"auth_required"===m.code)&&(this.state.set("auth_error"),this.explicitClose=!0,this.auth.clearToken()));default:return}}onClose(o,m){this.ws=null,"auth_error"!==this.state()&&this.state.set("closed"),this.lastError.set(m?`Conexión cerrada (${o}): ${m}`:`Conexión cerrada (${o}).`),this.explicitClose||this.scheduleReconnect()}scheduleReconnect(){if(this.explicitClose||"auth_error"===this.state())return;let o=Math.min(15e3,500*2**this.reconnectAttempts);this.reconnectAttempts+=1,this.reconnectTimer=setTimeout(()=>this.connect(),o)}static{this.ɵfac=function(o){return new(o||e)}}static{this.ɵprov=E({token:e,factory:e.ɵfac,providedIn:"root"})}};export{y as a,j as b,ye as c,_e as d,H as e,A as f,Sg as g,Ge as h,ge as i,ze as j,me as k,We as l,Ng as m,Jl as n,E as o,ii as p,lt as q,I as r,g as s,fr as t,kn as u,Q0 as v,K0 as w,J0 as x,X0 as y,Dc as z,ir as A,br as B,Ir as C,Lr as D,oe as E,eN as F,tN as G,Xi as H,Ei as I,nh as J,Ii as K,$c as L,$D as M,YD as N,Ci as O,XD as P,Ms as Q,oE as R,mE as S,yE as T,vE as U,dN as V,fN as W,hN as X,pN as Y,gN as Z,yh as _,vh as $,zc as aa,mN as ba,FE as ca,yN as da,vN as ea,DN as fa,EN as ga,wN as ha,IN as ia,VE as ja,Eh as ka,UE as la,CN as ma,$E as na,bN as oa,SN as pa,Vo as qa,cw as ra,TN as sa,Sh as ta,uw as ua,et as va,Aw as wa,cI as xa,uI as ya,zd as za,Gp as Aa,VC as Ba,GC as Ca,eg as Da,tg as Ea};
|